index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
listlengths 768
768
|
|---|---|---|---|---|---|---|
708,617
|
more_executors._impl.futures.apply
|
f_apply
|
Call a function, where the function, its arguments and return value
are all provided by futures.
Signature: :code:`Future<fn<A[,B[,...]]⟶R>>, Future<A>[, Future<B>[, ...]] ⟶ Future<R>`
Arguments:
future_fn (:class:`~concurrent.futures.Future` of :class:`callable`)
A future returning a function to be applied.
future_args (~concurrent.futures.Future)
Futures holding positional arguments for the function.
future_kwargs (~concurrent.futures.Future)
Futures holding keyword arguments for the function.
Returns:
~concurrent.futures.Future:
A future holding the returned value of the applied function.
.. versionadded:: 1.19.0
|
# -*- coding: utf-8 -*-
from .base import wrap
from .check import ensure_futures
from ..metrics import track_future
# for wrapping arguments.
# This value means an argument came from *args rather than **kwargs
ARGS = object()
@ensure_futures
def f_apply(future_fn, *future_args, **future_kwargs):
"""Call a function, where the function, its arguments and return value
are all provided by futures.
Signature: :code:`Future<fn<A[,B[,...]]⟶R>>, Future<A>[, Future<B>[, ...]] ⟶ Future<R>`
Arguments:
future_fn (:class:`~concurrent.futures.Future` of :class:`callable`)
A future returning a function to be applied.
future_args (~concurrent.futures.Future)
Futures holding positional arguments for the function.
future_kwargs (~concurrent.futures.Future)
Futures holding keyword arguments for the function.
Returns:
~concurrent.futures.Future:
A future holding the returned value of the applied function.
.. versionadded:: 1.19.0
"""
wrapped_args = _wrap_args(*future_args, **future_kwargs)
return track_future(_wrapped_f_apply(future_fn, wrapped_args), type="apply")
|
(future_fn, *future_args, **future_kwargs)
|
[
-0.008129343390464783,
-0.0641414076089859,
-0.0599963404238224,
0.0728960856795311,
0.01464175060391426,
0.03514377400279045,
-0.0161693524569273,
-0.01595495268702507,
0.006704474799335003,
0.0017598688136786222,
0.03437550738453865,
0.05574406683444977,
0.004120504949241877,
-0.021511493250727654,
0.024423763155937195,
0.011997480876743793,
0.03614430874586105,
0.018956556916236877,
0.04791845753788948,
-0.00792387593537569,
0.01945682428777218,
-0.007307475432753563,
-0.011872414499521255,
0.009478278458118439,
0.023726962506771088,
0.04148644953966141,
0.025745898485183716,
-0.009674811735749245,
-0.014695351012051105,
-0.006968008354306221,
0.002161869313567877,
0.005994273815304041,
-0.025013362988829613,
-0.006391807459294796,
0.025424297899007797,
-0.03283897414803505,
-0.03837764635682106,
0.04938352480530739,
-0.06682141125202179,
-0.08461663126945496,
-0.016544552519917488,
-0.05499366670846939,
-0.01123814657330513,
-0.030033903196454048,
-0.012542415410280228,
0.017848821356892586,
-0.01776842214167118,
0.05610140040516853,
0.022279759868979454,
-0.06507048010826111,
0.040485914796590805,
-0.026514165103435516,
0.02292296104133129,
0.021511493250727654,
0.027586165815591812,
0.10219745337963104,
0.03628724440932274,
-0.00007788759103277698,
0.002876536687836051,
-0.02077895775437355,
0.029908835887908936,
0.043451786041259766,
-0.015383218415081501,
0.014195083640515804,
-0.017902420833706856,
0.012149347923696041,
-0.013551883399486542,
0.03146323934197426,
-0.03744857758283615,
0.02351256087422371,
-0.02356616221368313,
-0.003135603852570057,
0.019939223304390907,
-0.028211500495672226,
-0.009183477610349655,
-0.036876846104860306,
-0.0420939177274704,
0.0020267523359507322,
0.012453082017600536,
0.024262962862849236,
-0.05513659864664078,
-0.02597816474735737,
-0.02851523458957672,
-0.052099261432886124,
-0.020636023953557014,
-0.026299765333533287,
-0.0110237468034029,
-0.02292296104133129,
-0.07411102205514908,
-0.012980149127542973,
-0.07396809011697769,
-0.0054716733284294605,
-0.0025259030517190695,
-0.00899587757885456,
-0.0066062081605196,
-0.026228297501802444,
-0.0019977190531790257,
-0.02610323205590248,
-0.016303353011608124,
0.008736810646951199,
-0.0032026038970798254,
0.05860273540019989,
0.026728564873337746,
-0.03266030550003052,
0.04441658779978752,
-0.039342448115348816,
-0.056601669639348984,
-0.053314197808504105,
-0.0010022094938904047,
0.01913522370159626,
-0.01940322294831276,
-0.03880644589662552,
-0.001032917876727879,
0.0024678362533450127,
-0.0038257045671343803,
-0.014954417943954468,
-0.055243801325559616,
-0.006164007354527712,
-0.007057341746985912,
-0.01098801288753748,
0.029033368453383446,
0.014114683493971825,
0.02329816110432148,
-0.0513131283223629,
-0.02928350120782852,
0.06021073833107948,
-0.010014278814196587,
0.05306406319141388,
0.0055699399672448635,
-0.022994427010416985,
0.04445232078433037,
-0.011122013442218304,
0.040986184030771255,
0.08097182959318161,
0.049740858376026154,
0.026121098548173904,
0.030837902799248695,
0.020296556875109673,
-0.04938352480530739,
0.05449339747428894,
0.005395739804953337,
-0.035393908619880676,
0.03448270633816719,
0.005815607029944658,
0.036984045058488846,
0.006655341479927301,
-0.017857754603028297,
-0.020028557628393173,
-0.009451477788388729,
-0.016901886090636253,
0.057209134101867676,
0.04988379403948784,
0.021404292434453964,
0.027425365522503853,
-0.04352325201034546,
0.029533635824918747,
0.07475422322750092,
-0.013703749515116215,
0.021958159282803535,
-0.0579952709376812,
-0.03919951245188713,
0.007606742437928915,
0.014704284258186817,
-0.026138965040445328,
0.03098083660006523,
0.02921203523874283,
0.03251737356185913,
-0.015427885577082634,
-0.04073604941368103,
0.07325342297554016,
-0.020242957398295403,
0.03691257908940315,
0.06356967985630035,
0.010353745892643929,
-0.06356967985630035,
0.051241662353277206,
-0.03296403959393501,
0.0030887036118656397,
0.007084141951054335,
-0.027621900662779808,
-0.06903688609600067,
-0.06892967969179153,
-0.05763793736696243,
-0.06599954515695572,
0.004716805648058653,
0.04938352480530739,
-0.013462549075484276,
0.019885623827576637,
-0.0011155513348057866,
-0.03584057465195656,
-0.02422722987830639,
-0.030069636180996895,
0.08840437233448029,
-0.005543139763176441,
0.007990876212716103,
-0.04073604941368103,
-0.07271742075681686,
0.024423763155937195,
0.06478460878133774,
-0.03199923783540726,
-0.015928152948617935,
-0.018938688561320305,
0.093407042324543,
0.0037274376954883337,
-0.006499007809907198,
0.003685004310682416,
-0.02279789373278618,
0.0446309857070446,
-0.04470245540142059,
-0.006257807370275259,
-0.023887762799859047,
-0.025620831176638603,
-0.06317660957574844,
0.07325342297554016,
0.011926013976335526,
0.0041942051611840725,
0.0652134120464325,
0.011702680960297585,
0.07661236077547073,
0.029301367700099945,
0.06657128036022186,
0.010380545631051064,
0.02401282824575901,
0.005185806192457676,
0.04631045460700989,
0.024048563092947006,
0.07157395035028458,
0.04330885037779808,
0.03326777368783951,
-0.04999099299311638,
-0.0543861985206604,
0.014543483965098858,
0.005574406590312719,
-0.011738413944840431,
-0.02319096028804779,
-0.07682675868272781,
0.03190990537405014,
0.0289976354688406,
0.005096472799777985,
-0.020868292078375816,
0.01573161967098713,
0.02170802652835846,
0.026174698024988174,
0.017455754801630974,
-0.00337903737090528,
-0.06371261179447174,
0.026800032705068588,
0.04891899228096008,
0.006673207972198725,
0.01433801744133234,
-0.03005176968872547,
-0.010344812646508217,
-0.03458990901708603,
-0.011595480144023895,
-0.029569368809461594,
-0.056387268006801605,
0.03190990537405014,
-0.02987310290336609,
0.053421396762132645,
0.02011789008975029,
0.09269237518310547,
-0.013632282614707947,
-0.04177231714129448,
0.020493092015385628,
-0.05159899592399597,
-0.048990458250045776,
-0.021993892267346382,
-0.04277285188436508,
0.02247629314661026,
0.03548324108123779,
0.010880813002586365,
-0.043666183948516846,
0.023655494675040245,
-0.015910286456346512,
-0.05888860300183296,
-0.02987310290336609,
0.008651943877339363,
0.00001784924097592011,
-0.01650881953537464,
0.008308010175824165,
0.026353364810347557,
-0.023762695491313934,
-0.08461663126945496,
-0.02796136774122715,
-0.023494694381952286,
0.029480034485459328,
-0.0014237517025321722,
0.026192564517259598,
0.039163779467344284,
0.00036905877641402185,
0.025960298255085945,
-0.00012381056149024516,
0.04020004719495773,
-0.05452913045883179,
0.009183477610349655,
0.027782700955867767,
-0.02445949614048004,
-0.07264595478773117,
0.027675500139594078,
-0.035393908619880676,
0.01820615492761135,
-0.0036515044048428535,
0.011693747714161873,
-0.025513630360364914,
0.05685180053114891,
-0.027228832244873047,
0.027228832244873047,
0.005382339935749769,
-0.07561182230710983,
0.015508285723626614,
0.01529388502240181,
0.025031229481101036,
-0.007941742427647114,
-0.08425930142402649,
0.0109076127409935,
0.019528290256857872,
-0.002646503271535039,
-0.008969077840447426,
0.030016036704182625,
0.0009095260757021606,
-0.03262457251548767,
-0.01085401326417923,
0.022351227700710297,
0.03673391044139862,
-0.009116477333009243,
-0.01645522005856037,
0.006686607841402292,
-0.0006510174716822803,
0.01164908055216074,
0.03291044011712074,
-0.04452378675341606,
-0.0038949379231780767,
0.021904559805989265,
0.04105764999985695,
-0.0641414076089859,
0.027621900662779808,
0.005695006810128689,
0.023012293502688408,
0.05417179688811302,
0.02115415781736374,
0.00039697549073025584,
0.025906696915626526,
-0.0336429737508297,
0.03676964342594147,
-0.05888860300183296,
-0.030837902799248695,
0.0549222007393837,
0.04627472162246704,
0.07239582389593124,
-0.04795419052243233,
0.03398244082927704,
-0.03762724623084068,
-0.027675500139594078,
0.07711262255907059,
0.06700008362531662,
0.09304971247911453,
-0.013766283169388771,
-0.059460338205099106,
-0.0038569713942706585,
-0.0676790177822113,
0.05009819194674492,
-0.05599420145153999,
0.019653357565402985,
0.005449339747428894,
0.006472207605838776,
0.013623349368572235,
0.022726427763700485,
0.0006633008015342057,
-0.0029055702034384012,
0.0034616708289831877,
0.06185447424650192,
-0.03766297921538353,
0.024745363742113113,
0.030016036704182625,
0.007700542453676462,
0.03455417603254318,
-0.021940292790532112,
0.011068413034081459,
-0.08061449974775314,
0.012756815180182457,
-0.016106819733977318,
-0.02697869949042797,
-0.023548295721411705,
-0.05778086930513382,
0.022404827177524567,
0.03819897770881653,
0.002387436106801033,
-0.06374834477901459,
0.030569903552532196,
0.02138642594218254,
-0.008450943045318127,
-0.03580484166741371,
-0.006976941600441933,
0.0007654759101569653,
-0.026496298611164093,
-0.03185630589723587,
0.021833091974258423,
0.04320165142416954,
0.020814690738916397,
-0.08425930142402649,
-0.004401905462145805,
-0.016598153859376907,
0.04566725343465805,
0.03323204070329666,
-0.005936207249760628,
0.04659632220864296,
0.010309078730642796,
-0.018509889021515846,
0.028693901374936104,
0.062033142894506454,
-0.019117357209324837,
-0.0924065113067627,
-0.024745363742113113,
-0.03891364857554436,
-0.055243801325559616,
0.05027686059474945,
-0.043773386627435684,
-0.07446835935115814,
-0.002385202795267105,
-0.011943881399929523,
0.02872963435947895,
-0.015258152037858963,
-0.013560816645622253,
0.07582622766494751,
0.036590978503227234,
-0.009183477610349655,
0.008517943322658539,
0.017143087461590767,
0.0215472262352705,
-0.0197426900267601,
-0.017259221524000168,
-0.03923524543642998,
-0.050455525517463684,
0.01881362311542034,
-0.025174163281917572,
-0.002420936245471239,
-0.04359471797943115,
0.0584598034620285,
0.05878140404820442,
0.046846456825733185,
-0.05374299734830856,
0.0065124076791107655,
0.019724823534488678,
-0.05220646411180496,
-0.007941742427647114,
-0.048275791108608246,
-0.014463083818554878,
0.03816324472427368,
0.0015879019629210234,
-0.010594946332275867,
-0.001163568114861846,
0.04631045460700989,
-0.02746110036969185,
0.01408788375556469,
0.016964420676231384,
0.023101627826690674,
-0.04041444882750511,
-0.04949072748422623,
-0.0348757766187191,
0.025531496852636337,
0.0503125935792923,
-0.03291044011712074,
0.020082157105207443,
-0.02576376497745514,
-0.01688401959836483,
-0.018268689513206482,
0.07178835570812225,
-0.028372300788760185,
-0.0331069715321064,
-0.04452378675341606,
0.06635688245296478,
-0.01422188337892294,
0.0210469588637352,
-0.012372681871056557,
0.02878323383629322,
0.027228832244873047,
-0.013685883022844791,
-0.006865275092422962,
-0.000057647986977826804,
-0.024155762046575546,
-0.002760403323918581,
-0.023762695491313934,
0.06135420873761177,
0.048990458250045776,
-0.03158830478787422,
-0.028604567050933838,
0.04527418687939644,
-0.05620859935879707,
0.09533664584159851,
0.0075576091185212135,
-0.049204859882593155,
0.0003204837266821414,
0.1170625388622284,
-0.026674965396523476,
-0.016356952488422394,
-0.038842178881168365,
0.03973551467061043,
0.03103443793952465,
-0.0023762695491313934,
-0.008647477254271507,
0.005342139862477779,
0.012542415410280228,
-0.01945682428777218,
0.044488053768873215,
0.03755578026175499,
-0.0440949872136116,
0.007852409034967422,
-0.05356433242559433,
-0.025638697668910027,
-0.010684279724955559,
-0.04470245540142059,
-0.020600290969014168,
0.006123807281255722,
-0.018902955576777458,
-0.036590978503227234,
-0.023101627826690674,
-0.0215472262352705,
-0.012068947777152061,
-0.03199923783540726,
-0.06046087294816971,
-0.00638734083622694,
0.050133928656578064,
0.08804704248905182,
0.027175232768058777,
0.01886722259223461,
0.0002176106791011989,
0.04227258265018463,
-0.005945140495896339,
-0.006905475165694952,
0.009263877756893635,
-0.04112911596894264,
-0.017196686938405037,
-0.007504009176045656,
-0.027068031951785088,
0.02478109672665596,
0.03146323934197426,
-0.030284035950899124,
-0.019653357565402985,
-0.03980698063969612,
-0.026460565626621246,
0.0010357096325606108,
0.03350004181265831,
-0.019778423011302948,
0.014078950509428978,
-0.030141102150082588,
-0.04248698428273201,
0.019581889733672142,
-0.029194168746471405,
0.06031793728470802,
-0.04505978897213936,
-0.02822936698794365,
0.027586165815591812,
0.07157395035028458,
-0.00027135031996294856,
-0.050133928656578064,
-0.04148644953966141,
0.017571887001395226,
0.003530904185026884,
-0.0471680574119091,
-0.02499549649655819,
0.01313201617449522,
-0.012542415410280228,
0.027764832600951195,
-0.048776060342788696,
-0.05838833749294281,
-0.006650874856859446,
0.04041444882750511,
0.026246163994073868,
-0.026728564873337746,
-0.08969077467918396,
0.011854548007249832,
0.03744857758283615,
0.03705551102757454,
-0.047561123967170715,
-0.06557074189186096,
0.0054002064280211926,
0.03416110947728157,
-0.09991052001714706,
0.05267099663615227,
-0.05760220065712929,
-0.020493092015385628,
-0.05570833384990692,
-0.01677682064473629,
-0.07168114930391312,
-0.03132030367851257,
0.03852057829499245,
-0.028050700202584267,
0.061318472027778625,
0.009027143940329552,
0.04534565284848213,
-0.035393908619880676,
-0.0039552380330860615,
-0.013632282614707947,
0.005087539553642273,
0.03217790648341179,
-0.009496144950389862,
-0.05774513632059097,
-0.000526229792740196,
0.04795419052243233,
-0.03142750263214111,
-0.01886722259223461,
0.0074995425529778,
-0.046024587005376816,
-0.027068031951785088,
-0.016928687691688538,
0.030945103615522385,
-0.06138994172215462,
-0.010970146395266056,
0.018938688561320305,
-0.003432637546211481,
0.015937086194753647,
0.00773180928081274,
0.04938352480530739,
-0.02138642594218254,
0.06885821372270584,
0.0187421552836895,
-0.049776591360569,
0.022654959931969643,
-0.002137302653864026,
0.03262457251548767,
-0.009263877756893635,
0.008683210238814354,
-0.0698230192065239,
-0.017009086906909943,
-0.00671787466853857,
-0.015088418498635292,
-0.033357106149196625,
-0.0477040559053421,
-0.05345712974667549,
0.012042148038744926,
-0.032428037375211716,
0.026013897731900215,
0.06796488165855408,
-0.022512026131153107,
0.06328380852937698,
-0.025942431762814522,
0.041808050125837326,
0.03691257908940315,
-0.0135965496301651,
-0.0641414076089859,
0.027068031951785088,
0.00010789804946398363,
-0.017169887199997902,
-0.037698712199926376,
0.021243492141366005,
-0.057209134101867676,
-0.041700851172208786,
-0.029748035594820976,
0.02889043465256691,
0.004281305242329836,
-0.015597619116306305,
0.033410705626010895,
0.023316027596592903,
0.009862411767244339,
0.032034970819950104,
0.017571887001395226,
-0.014945484697818756,
-0.012980149127542973,
0.03623364493250847,
0.034018173813819885,
0.004721272271126509,
0.04606032371520996,
0.004980339203029871,
0.05502939969301224,
-0.032428037375211716,
-0.027443233877420425,
-0.004064671695232391,
-0.011407880112528801,
-0.0003464462351985276,
0.017571887001395226,
0.06993021816015244,
0.0006314757629297674,
0.014070017263293266,
0.009469344280660152,
0.013024815358221531,
0.039556846022605896,
-0.03458990901708603,
0.051777660846710205,
-0.005851340480148792,
0.0009508428047411144,
0.007218142040073872,
0.033464305102825165,
-0.042951516807079315,
0.03923524543642998,
-0.019331756979227066,
0.0077898758463561535,
0.03132030367851257,
-0.011220280081033707,
-0.02329816110432148,
-0.03998564928770065,
0.03980698063969612,
-0.01589241996407509,
-0.015883484855294228,
0.007767542731016874,
-0.03074857033789158,
0.01908162236213684,
-0.08447369933128357,
-0.031766969710588455,
0.0697515532374382,
-0.009192410856485367,
-0.0026174697559326887,
0.03532244265079498,
-0.0034661374520510435,
-0.03137390315532684,
0.03941391408443451,
0.03235657140612602,
-0.0358763113617897,
0.016080019995570183,
0.031498972326517105,
-0.017786288633942604,
0.005060739349573851,
0.010541345924139023,
0.0072226086631417274,
0.05138459429144859,
0.0023941362742334604,
0.020207224413752556,
-0.01863495633006096,
0.00896014366298914,
0.02422722987830639,
0.009674811735749245,
0.005194739438593388,
0.018885089084506035,
0.0564587339758873,
-0.04116484895348549,
-0.014373750425875187,
-0.01036267913877964,
0.026800032705068588,
0.03098083660006523,
0.05327846482396126,
-0.01742895506322384,
0.05127739533782005,
0.007276208605617285,
0.006226541008800268,
0.02615683153271675,
0.013283882290124893,
-0.025084830820560455,
0.04430938512086868,
-0.0069903419353067875,
-0.05695900321006775,
-0.034679241478443146,
0.0034907041117548943,
-0.022172559052705765,
-0.009272811003029346,
0.03151683881878853,
0.10555639117956161,
-0.0002800044894684106,
-0.044166453182697296,
-0.0003397462423890829,
0.03773444518446922,
-0.018232954666018486,
0.02992670238018036,
0.02356616221368313,
-0.046846456825733185,
0.04420218616724014,
0.05642300099134445,
-0.0026532032061368227,
0.020403757691383362,
-0.0026197030674666166,
-0.02067175880074501,
-0.03239230439066887,
-0.02395922876894474,
-0.015820952132344246,
0.001992135774344206,
-0.005712873302400112,
0.0040602050721645355,
-0.013819883577525616,
0.016526686027646065,
0.06485607475042343
] |
708,618
|
more_executors._impl.futures.map
|
f_flat_map
|
Map the output value of a future using the given future-returning functions.
Like :meth:`f_map`, except that the mapping functions must return a future,
and that future will be flattened into the output value (avoiding a nested future).
Signature: :code:`Future<A>, fn<A⟶Future<B>> ⟶ Future<B>`
Arguments:
future (~concurrent.futures.Future)
Any future.
fn (callable)
Any future-returning callable to be applied on successful futures.
This function is provided the result of the input future.
error_fn (callable)
Any future-returning callable to be applied on unsuccessful futures.
This function is provided the exception of the input future.
Returns:
:class:`~concurrent.futures.Future`
A future which is:
- equivalent to that returned by :obj:`fn` if input future succeeded
- or equivalent to that returned by :obj:`error_fn` if input future failed
- or resolved with an exception if any of :obj:`future`, :obj:`fn` or
:obj:`error_fn` failed
.. versionadded:: 1.19.0
.. versionchanged:: 2.2.0
Introduced ``error_fn``.
|
def f_map(future, fn=None, error_fn=None):
"""Map the output value of a future using the given functions.
Signature: :code:`Future<A>, fn<A⟶B> ⟶ Future<B>`
Arguments:
future (~concurrent.futures.Future)
Any future.
fn (callable)
Any callable to be applied on successful futures.
This function is provided the result of the input future.
error_fn (callable)
Any callable to be applied on unsuccessful futures.
This function is provided the exception of the input future.
Returns:
:class:`~concurrent.futures.Future`
A future resolved with:
- the returned value of :code:`fn(future.result())`
- or the returned value of :code:`error_fn(future.exception())`
- or with the exception raised by :obj:`future`, :obj:`fn` or :obj:`error_fn`.
.. versionadded:: 1.19.0
.. versionchanged:: 2.2.0
Introduced ``error_fn``.
"""
return wrap(future).with_map(fn=fn, error_fn=error_fn)()
|
(future, fn=None, error_fn=None)
|
[
-0.008032310754060745,
-0.006086020264774561,
-0.0033695984166115522,
0.03611891716718674,
-0.027609964832663536,
0.04289783537387848,
0.011324675753712654,
-0.032040975987911224,
0.03061104752123356,
0.01098925992846489,
-0.014749441295862198,
0.033788666129112244,
0.003685153555124998,
0.018006497994065285,
0.09956534951925278,
0.05603198707103729,
-0.04010859504342079,
0.011704224161803722,
0.020477978512644768,
0.042297620326280594,
0.03911999985575676,
-0.03128187730908394,
0.003519652644172311,
-0.0153761375695467,
0.025350326672196388,
0.02120176889002323,
0.022049134597182274,
-0.01860671490430832,
0.022861192002892494,
-0.00045650667743757367,
0.06263437122106552,
-0.03370039910078049,
-0.03142310678958893,
-0.0466756708920002,
-0.023655597120523453,
0.057444263249635696,
-0.05684404447674751,
0.04321559891104698,
0.0031776174437254667,
-0.025279711931943893,
0.021254729479551315,
-0.009488718584179878,
-0.08593689650297165,
0.016726624220609665,
0.011977852322161198,
0.029445922002196312,
-0.021501878276467323,
0.034900832921266556,
0.028510289266705513,
-0.03837855905294418,
0.024608882144093513,
0.006474395748227835,
0.03763711452484131,
0.015817472711205482,
0.051759857684373856,
0.055396463721990585,
-0.038943465799093246,
-0.029357654973864555,
-0.015437924303114414,
-0.00853984709829092,
0.0020886214915663004,
0.02563278004527092,
-0.041626788675785065,
-0.013593140989542007,
0.024661842733621597,
0.02252577617764473,
-0.01464352011680603,
-0.008102924562990665,
-0.025438593700528145,
0.03174086660146713,
-0.009691732935607433,
0.03189975023269653,
-0.009462238289415836,
-0.056738123297691345,
-0.001329523976892233,
0.02524440549314022,
-0.031140651553869247,
0.054054804146289825,
0.021290035918354988,
0.04455725848674774,
-0.042968448251485825,
-0.02443234808743,
-0.011827798560261726,
-0.04875877499580383,
-0.06062187999486923,
-0.040002673864364624,
-0.026338918134570122,
-0.036083612591028214,
-0.06411726027727127,
-0.045016247779130936,
-0.060268811881542206,
-0.05892714858055115,
-0.011589476838707924,
-0.022190362215042114,
-0.0771101862192154,
-0.020195523276925087,
0.019877761602401733,
-0.011845451779663563,
-0.02983429655432701,
-0.0006719336961396039,
0.044980939477682114,
0.019365813583135605,
-0.017803484573960304,
-0.0028135154861956835,
0.03979083150625229,
-0.003411525394767523,
-0.01860671490430832,
-0.020319098606705666,
0.0077984025701880455,
0.0407441183924675,
-0.00930335745215416,
-0.0009538368904031813,
0.0026789079420268536,
0.030310939997434616,
0.0057770851999521255,
0.01045965775847435,
0.011095181107521057,
-0.045687075704336166,
-0.024661842733621597,
-0.032182201743125916,
0.00403601536527276,
-0.012966444715857506,
-0.03458306938409805,
-0.05416072532534599,
-0.043109677731990814,
0.025315018370747566,
0.03954368457198143,
0.011766010895371437,
0.03347090259194374,
0.024661842733621597,
0.018112419173121452,
-0.0043493639677762985,
0.033259063959121704,
0.0429331436753273,
0.008005830459296703,
-0.006871597841382027,
-0.08134700357913971,
0.012189693748950958,
-0.020989928394556046,
0.015340831130743027,
0.00296577624976635,
-0.049712058156728745,
0.043392132967710495,
0.02376151643693447,
0.046605054289102554,
-0.05317213013768196,
-0.024079278111457825,
0.011986679397523403,
-0.006214007269591093,
-0.038272637873888016,
0.037319350987672806,
0.045545849949121475,
-0.008857608772814274,
0.041485559195280075,
-0.03219985589385033,
0.054443180561065674,
0.1431340128183365,
-0.04275660961866379,
0.038943465799093246,
-0.020477978512644768,
0.041626788675785065,
0.016541264951229095,
0.03320610150694847,
-0.061328016221523285,
0.03172321245074272,
-0.005675578024238348,
0.05818570777773857,
-0.004402324091643095,
0.005649097729474306,
0.013072364963591099,
-0.06750671565532684,
0.01820068620145321,
0.09780000150203705,
0.0037822474259883165,
-0.004744359292089939,
0.023991011083126068,
-0.01518195029348135,
0.04007328674197197,
0.022967113181948662,
0.026691986247897148,
-0.01776817813515663,
0.00350641249679029,
-0.024220505729317665,
-0.006893664598464966,
-0.012834044173359871,
0.03618953377008438,
-0.055396463721990585,
0.04519278183579445,
-0.002716421615332365,
-0.03615422546863556,
0.04328621178865433,
-0.024202853441238403,
0.015976354479789734,
-0.007432094309478998,
-0.034071121364831924,
-0.036789748817682266,
-0.067753866314888,
-0.046357907354831696,
0.08572505414485931,
-0.00482821324840188,
-0.05154801532626152,
0.006708303466439247,
0.006567075848579407,
0.045545849949121475,
-0.04335682466626167,
-0.0012544968631118536,
-0.0005798048223368824,
0.03336498141288757,
0.020301444455981255,
-0.007882256992161274,
0.038519784808158875,
-0.02023083157837391,
-0.06828346848487854,
0.03324140980839729,
-0.00006233867316041142,
-0.010168375447392464,
0.014519946649670601,
0.010106588713824749,
0.004064702428877354,
0.04455725848674774,
-0.0043626041151583195,
0.004859106615185738,
0.03458306938409805,
0.019224585965275764,
-0.007396787405014038,
0.06521177291870117,
-0.01820068620145321,
0.018889170140028,
0.013301859609782696,
-0.00868107471615076,
-0.0016936259344220161,
0.05306621268391609,
-0.007123159244656563,
-0.04409826919436455,
0.03640137240290642,
-0.03423000127077103,
0.02766292542219162,
-0.03048747405409813,
-0.027874765917658806,
-0.024626534432172775,
0.029781335964798927,
0.01787409745156765,
0.027045054361224174,
0.03901408240199089,
-0.0001460545463487506,
0.01718561351299286,
-0.009435757994651794,
0.03553635627031326,
-0.03253527358174324,
0.03280007466673851,
-0.01031843014061451,
0.009453412145376205,
-0.019736535847187042,
0.005856525618582964,
-0.01383146271109581,
-0.036789748817682266,
0.005353402812033892,
-0.04886469617486,
0.005044467747211456,
0.06348173320293427,
0.0902443379163742,
-0.018924476578831673,
-0.04762895405292511,
-0.03749588504433632,
0.00455899816006422,
-0.07043718546628952,
-0.05882123112678528,
-0.0005216036806814373,
0.03156433254480362,
0.034618377685546875,
0.04709935188293457,
-0.0160822756588459,
-0.009312184527516365,
-0.04639321565628052,
-0.002859855769202113,
-0.03604830428957939,
-0.005785911809653044,
-0.01590573973953724,
0.04882938787341118,
0.01700025238096714,
-0.04505155235528946,
-0.019224585965275764,
-0.10782714933156967,
-0.017309188842773438,
-0.01835956797003746,
0.06101025640964508,
0.01120110135525465,
0.0485469326376915,
0.06676527112722397,
-0.02227862924337387,
0.05772671848535538,
-0.0029613629449158907,
-0.06718895584344864,
-0.032323431223630905,
-0.05320743843913078,
-0.0072599733248353004,
-0.026886174455285072,
-0.05006512627005577,
0.0006437985575757921,
-0.02875743806362152,
-0.017503375187516212,
-0.025156138464808464,
0.06422317773103714,
0.05236007273197174,
0.015958700329065323,
-0.02618003636598587,
0.007913149893283844,
-0.006893664598464966,
-0.02766292542219162,
0.02390274405479431,
0.0259152352809906,
0.011324675753712654,
-0.03890816122293472,
-0.03876693174242973,
-0.0034004920162260532,
0.03760180622339249,
-0.014140397310256958,
0.007577734999358654,
0.03507736697793007,
-0.028104260563850403,
-0.04024982079863548,
-0.016400037333369255,
0.02971072308719158,
0.014625866897404194,
0.009771173819899559,
-0.014740614220499992,
-0.012525108642876148,
-0.04102657362818718,
0.012295613996684551,
0.0418386310338974,
-0.007162879221141338,
-0.01728270761668682,
0.0012125700013712049,
0.047840796411037445,
-0.08925574272871017,
0.04844101145863533,
-0.010539097711443901,
-0.030010830610990524,
0.008270632475614548,
0.06277559697628021,
-0.021519530564546585,
0.040285129100084305,
-0.03710750862956047,
0.016770759597420692,
-0.021537184715270996,
0.022366896271705627,
-0.005159215070307255,
0.05938613787293434,
-0.02360263653099537,
-0.10457891970872879,
0.02441469393670559,
0.01504072267562151,
-0.043533358722925186,
0.026127075776457787,
-0.02362028881907463,
0.0740031823515892,
0.009603465907275677,
-0.025879928842186928,
-0.042968448251485825,
0.00546815013512969,
0.03943776339292526,
-0.06383480131626129,
-0.019365813583135605,
-0.041344333440065384,
-0.01776817813515663,
0.050806570798158646,
0.028104260563850403,
0.01728270761668682,
0.012242653407156467,
0.03735465928912163,
0.09497545659542084,
0.03564227372407913,
-0.018553754314780235,
0.047982022166252136,
-0.002433966612443328,
0.012277960777282715,
0.014458158984780312,
0.01957765407860279,
-0.0777457058429718,
0.029322346672415733,
-0.05437256395816803,
-0.0607278011739254,
-0.017512202262878418,
-0.00816471129655838,
0.016708971932530403,
0.02035440504550934,
0.09681141376495361,
-0.05507870391011238,
-0.031246570870280266,
0.02037205919623375,
-0.052289459854364395,
0.026656679809093475,
0.020813394337892532,
0.002707594772800803,
0.0021824052091687918,
-0.023955704644322395,
-0.015402617864310741,
-0.003347531659528613,
0.0707196444272995,
-0.06683588773012161,
-0.011183448135852814,
0.015835126861929893,
0.04247415438294411,
0.0399673655629158,
0.00887526199221611,
0.030293285846710205,
-0.03239404410123825,
-0.050524115562438965,
0.008892915211617947,
-0.002139375079423189,
-0.020160216838121414,
-0.039861444383859634,
-0.023938050493597984,
-0.06976635754108429,
-0.028015993535518646,
0.11284072697162628,
-0.025968195870518684,
-0.05518462136387825,
-0.013072364963591099,
-0.057444263249635696,
0.03982613980770111,
-0.02792772650718689,
-0.029516534879803658,
-0.0013173872139304876,
0.01336364634335041,
-0.04536931589245796,
0.041379641741514206,
0.04762895405292511,
0.018571408465504646,
0.05571422725915909,
0.03322375565767288,
-0.08078209310770035,
-0.022225668653845787,
0.0037116336170583963,
0.006805397570133209,
-0.037036895751953125,
-0.022066786885261536,
0.022349242120981216,
0.05246599391102791,
0.048370398581027985,
0.020319098606705666,
0.00785136315971613,
0.00887526199221611,
-0.03504205867648125,
0.015349657274782658,
-0.01572038047015667,
-0.007957283407449722,
0.0008859815425239503,
0.06973104923963547,
0.031352490186691284,
-0.008919395506381989,
-0.006218420807272196,
-0.04709935188293457,
0.04233292490243912,
0.09758815914392471,
0.026480145752429962,
-0.017318015918135643,
-0.11149906367063522,
-0.05426664277911186,
0.0800759568810463,
0.0007375823915936053,
-0.025544513016939163,
0.01471413392573595,
0.02118411660194397,
-0.01915397122502327,
0.007568908389657736,
0.08494830876588821,
-0.018288953229784966,
0.009365145117044449,
0.005212175194174051,
0.026744946837425232,
-0.028104260563850403,
0.018942130729556084,
-0.030310939997434616,
0.019136318936944008,
0.03424765542149544,
-0.007229079492390156,
0.01354900747537613,
0.029234079644083977,
0.0018767802976071835,
0.006381715182214975,
0.004739946220070124,
0.007312933448702097,
0.00923274364322424,
-0.01395503617823124,
0.011298195458948612,
0.0688483789563179,
-0.01996602863073349,
0.04628729447722435,
0.03103473037481308,
-0.032447006553411484,
-0.06231660768389702,
0.06764794141054153,
-0.06101025640964508,
-0.059703901410102844,
-0.000887636560946703,
0.04967675358057022,
0.044062960892915726,
0.02766292542219162,
-0.04879407957196236,
0.025014910846948624,
0.006077193189412355,
-0.07492116093635559,
0.02279057912528515,
-0.00970938615500927,
0.026903826743364334,
-0.00519893504679203,
-0.04819386452436447,
-0.009197437204420567,
0.03170556202530861,
-0.0049341339617967606,
-0.0021051715593785048,
-0.026144729927182198,
-0.00806320458650589,
-0.07079025357961655,
0.01862436905503273,
-0.011951372027397156,
-0.01343426015228033,
-0.03601299598813057,
-0.010450830683112144,
0.007176119368523359,
0.01651478372514248,
0.009029729291796684,
0.02268465794622898,
-0.02335548773407936,
-0.007974937558174133,
0.05158332362771034,
-0.012013159692287445,
0.023955704644322395,
-0.04483971372246742,
-0.07343827188014984,
-0.014414025470614433,
0.02467949502170086,
-0.03133483976125717,
-0.013601968064904213,
-0.020071949809789658,
0.013707888312637806,
-0.01489949505776167,
-0.009206264279782772,
-0.058468159288167953,
-0.018677329644560814,
0.043498050421476364,
-0.017415108159184456,
0.04113249108195305,
0.036789748817682266,
-0.03767241910099983,
-0.003985262010246515,
-0.06722426414489746,
0.06609444320201874,
-0.03626014664769173,
-0.012463321909308434,
0.0006211800500750542,
0.0707196444272995,
-0.013116498477756977,
-0.02360263653099537,
0.0028046886436641216,
-0.016850199550390244,
0.03320610150694847,
-0.031917400658130646,
-0.049994513392448425,
0.0029238492716103792,
0.05730303376913071,
0.005807978566735983,
-0.0388728529214859,
-0.019118664786219597,
0.018677329644560814,
0.007220252882689238,
0.028298448771238327,
-0.009568159468472004,
-0.10775654017925262,
0.021219423040747643,
0.033806320279836655,
-0.015614459291100502,
-0.04342743754386902,
-0.03795487433671951,
-0.006183113902807236,
0.02374386414885521,
-0.06867184489965439,
0.05514931678771973,
-0.011827798560261726,
-0.08770224452018738,
-0.015596805140376091,
0.027963032945990562,
0.02994021773338318,
0.03128187730908394,
-0.010194855742156506,
-0.030452167615294456,
0.025844622403383255,
0.0019529106793925166,
-0.008442752994596958,
-0.03806079551577568,
-0.037848953157663345,
-0.016929639503359795,
0.0040713222697377205,
0.02711566910147667,
-0.05532585084438324,
-0.030310939997434616,
0.004678159020841122,
0.03064635396003723,
0.017088521271944046,
-0.002577400766313076,
-0.00486352015286684,
-0.024326426908373833,
-0.04356866702437401,
0.03241169825196266,
0.04236823320388794,
-0.04197985678911209,
-0.035289205610752106,
0.0198248028755188,
0.04678158834576607,
-0.0018039599526673555,
0.03654260188341141,
0.03844917193055153,
-0.03802548721432686,
0.07043718546628952,
-0.03763711452484131,
-0.013151805847883224,
-0.0048988270573318005,
-0.038519784808158875,
0.005273962393403053,
0.007701308932155371,
0.03546573966741562,
-0.04787610098719597,
-0.00984178762882948,
0.04565177112817764,
-0.01086568646132946,
-0.00903855636715889,
-0.03626014664769173,
-0.01586160622537136,
0.026391878724098206,
-0.10987494885921478,
0.019242238253355026,
0.037178125232458115,
-0.00807203073054552,
0.022772924974560738,
-0.022702312096953392,
0.06492931395769119,
0.0380961038172245,
0.025156138464808464,
0.0008230911917053163,
-0.02845732867717743,
-0.01489949505776167,
-0.01685902662575245,
-0.04861754551529884,
0.08862022310495377,
-0.05617321655154228,
-0.007061372045427561,
-0.003126863855868578,
0.03714281693100929,
-0.04003797844052315,
0.004589891992509365,
0.008614873513579369,
-0.018712636083364487,
0.034194692969322205,
0.057126499712467194,
-0.02845732867717743,
0.005048880819231272,
-0.012578069232404232,
0.012939964421093464,
0.06944859772920609,
-0.03521859273314476,
-0.005172455217689276,
0.0013659341493621469,
-0.004903240129351616,
-0.05709119513630867,
-0.030840542167425156,
-0.01624998264014721,
-0.01287817768752575,
-0.05285437032580376,
0.004554585088044405,
0.06521177291870117,
-0.00697751808911562,
-0.006703889928758144,
0.00043085403740406036,
0.05285437032580376,
0.027715886011719704,
-0.004762012977153063,
0.0643291026353836,
-0.02538563311100006,
0.003076110268011689,
0.03038155287504196,
0.07315581291913986,
-0.01864202320575714,
0.011024567298591137,
-0.05730303376913071,
-0.008839955553412437,
0.011501209810376167,
0.037848953157663345,
-0.030028484761714935,
0.01586160622537136,
0.061328016221523285,
-0.01832425966858864,
-0.03671913594007492,
-0.0075821480713784695,
-0.057691410183906555,
0.09772939234972,
-0.012348574586212635,
-0.004903240129351616,
0.04166209697723389,
0.055678918957710266,
-0.034900832921266556,
0.007520361337810755,
-0.027768846601247787,
-0.05077126622200012,
-0.03009909763932228,
-0.01276343036442995,
-0.0359070785343647,
0.007008411921560764,
0.013725541532039642,
-0.015261390246450901,
-0.012119079940021038,
-0.0035836463794112206,
0.03158198669552803,
0.05225415155291557,
-0.0316879078745842,
-0.014493466354906559,
0.0012633235892280936,
0.0357481949031353,
0.008332419209182262,
0.00047140175593085587,
-0.006761263590306044,
-0.04826447740197182,
0.057126499712467194,
-0.01006245519965887,
-0.0051018414087593555,
-0.010186029598116875,
0.0033409115858376026,
0.03382397070527077,
0.009638773277401924,
0.02386743761599064,
0.03181147947907448,
0.04342743754386902,
-0.016885505989193916,
-0.040955957025289536,
-0.08198253065347672,
-0.020548593252897263,
0.020831048488616943,
0.02549155242741108,
-0.05440787225961685,
-0.03834325075149536,
0.01045965775847435,
-0.002321426058188081,
0.019365813583135605,
0.030257979407906532,
0.028316102921962738,
-0.026939135044813156,
-0.01789175160229206,
0.027203936129808426,
-0.020548593252897263,
0.033417943865060806,
-0.004784079734236002,
-0.0009234950412064791,
-0.05236007273197174,
0.04914715141057968,
0.043250903487205505,
0.0030871436465531588,
0.004554585088044405,
-0.009170956909656525,
-0.002681114710867405,
0.0011651264503598213,
-0.042191699147224426,
0.021078195422887802,
-0.015888087451457977,
-0.015632111579179764,
0.02077808789908886,
0.01903039775788784,
-0.02563278004527092,
0.008252978324890137
] |
708,619
|
more_executors._impl.futures.map
|
f_map
|
Map the output value of a future using the given functions.
Signature: :code:`Future<A>, fn<A⟶B> ⟶ Future<B>`
Arguments:
future (~concurrent.futures.Future)
Any future.
fn (callable)
Any callable to be applied on successful futures.
This function is provided the result of the input future.
error_fn (callable)
Any callable to be applied on unsuccessful futures.
This function is provided the exception of the input future.
Returns:
:class:`~concurrent.futures.Future`
A future resolved with:
- the returned value of :code:`fn(future.result())`
- or the returned value of :code:`error_fn(future.exception())`
- or with the exception raised by :obj:`future`, :obj:`fn` or :obj:`error_fn`.
.. versionadded:: 1.19.0
.. versionchanged:: 2.2.0
Introduced ``error_fn``.
|
def f_map(future, fn=None, error_fn=None):
"""Map the output value of a future using the given functions.
Signature: :code:`Future<A>, fn<A⟶B> ⟶ Future<B>`
Arguments:
future (~concurrent.futures.Future)
Any future.
fn (callable)
Any callable to be applied on successful futures.
This function is provided the result of the input future.
error_fn (callable)
Any callable to be applied on unsuccessful futures.
This function is provided the exception of the input future.
Returns:
:class:`~concurrent.futures.Future`
A future resolved with:
- the returned value of :code:`fn(future.result())`
- or the returned value of :code:`error_fn(future.exception())`
- or with the exception raised by :obj:`future`, :obj:`fn` or :obj:`error_fn`.
.. versionadded:: 1.19.0
.. versionchanged:: 2.2.0
Introduced ``error_fn``.
"""
return wrap(future).with_map(fn=fn, error_fn=error_fn)()
|
(future, fn=None, error_fn=None)
|
[
-0.008032310754060745,
-0.006086020264774561,
-0.0033695984166115522,
0.03611891716718674,
-0.027609964832663536,
0.04289783537387848,
0.011324675753712654,
-0.032040975987911224,
0.03061104752123356,
0.01098925992846489,
-0.014749441295862198,
0.033788666129112244,
0.003685153555124998,
0.018006497994065285,
0.09956534951925278,
0.05603198707103729,
-0.04010859504342079,
0.011704224161803722,
0.020477978512644768,
0.042297620326280594,
0.03911999985575676,
-0.03128187730908394,
0.003519652644172311,
-0.0153761375695467,
0.025350326672196388,
0.02120176889002323,
0.022049134597182274,
-0.01860671490430832,
0.022861192002892494,
-0.00045650667743757367,
0.06263437122106552,
-0.03370039910078049,
-0.03142310678958893,
-0.0466756708920002,
-0.023655597120523453,
0.057444263249635696,
-0.05684404447674751,
0.04321559891104698,
0.0031776174437254667,
-0.025279711931943893,
0.021254729479551315,
-0.009488718584179878,
-0.08593689650297165,
0.016726624220609665,
0.011977852322161198,
0.029445922002196312,
-0.021501878276467323,
0.034900832921266556,
0.028510289266705513,
-0.03837855905294418,
0.024608882144093513,
0.006474395748227835,
0.03763711452484131,
0.015817472711205482,
0.051759857684373856,
0.055396463721990585,
-0.038943465799093246,
-0.029357654973864555,
-0.015437924303114414,
-0.00853984709829092,
0.0020886214915663004,
0.02563278004527092,
-0.041626788675785065,
-0.013593140989542007,
0.024661842733621597,
0.02252577617764473,
-0.01464352011680603,
-0.008102924562990665,
-0.025438593700528145,
0.03174086660146713,
-0.009691732935607433,
0.03189975023269653,
-0.009462238289415836,
-0.056738123297691345,
-0.001329523976892233,
0.02524440549314022,
-0.031140651553869247,
0.054054804146289825,
0.021290035918354988,
0.04455725848674774,
-0.042968448251485825,
-0.02443234808743,
-0.011827798560261726,
-0.04875877499580383,
-0.06062187999486923,
-0.040002673864364624,
-0.026338918134570122,
-0.036083612591028214,
-0.06411726027727127,
-0.045016247779130936,
-0.060268811881542206,
-0.05892714858055115,
-0.011589476838707924,
-0.022190362215042114,
-0.0771101862192154,
-0.020195523276925087,
0.019877761602401733,
-0.011845451779663563,
-0.02983429655432701,
-0.0006719336961396039,
0.044980939477682114,
0.019365813583135605,
-0.017803484573960304,
-0.0028135154861956835,
0.03979083150625229,
-0.003411525394767523,
-0.01860671490430832,
-0.020319098606705666,
0.0077984025701880455,
0.0407441183924675,
-0.00930335745215416,
-0.0009538368904031813,
0.0026789079420268536,
0.030310939997434616,
0.0057770851999521255,
0.01045965775847435,
0.011095181107521057,
-0.045687075704336166,
-0.024661842733621597,
-0.032182201743125916,
0.00403601536527276,
-0.012966444715857506,
-0.03458306938409805,
-0.05416072532534599,
-0.043109677731990814,
0.025315018370747566,
0.03954368457198143,
0.011766010895371437,
0.03347090259194374,
0.024661842733621597,
0.018112419173121452,
-0.0043493639677762985,
0.033259063959121704,
0.0429331436753273,
0.008005830459296703,
-0.006871597841382027,
-0.08134700357913971,
0.012189693748950958,
-0.020989928394556046,
0.015340831130743027,
0.00296577624976635,
-0.049712058156728745,
0.043392132967710495,
0.02376151643693447,
0.046605054289102554,
-0.05317213013768196,
-0.024079278111457825,
0.011986679397523403,
-0.006214007269591093,
-0.038272637873888016,
0.037319350987672806,
0.045545849949121475,
-0.008857608772814274,
0.041485559195280075,
-0.03219985589385033,
0.054443180561065674,
0.1431340128183365,
-0.04275660961866379,
0.038943465799093246,
-0.020477978512644768,
0.041626788675785065,
0.016541264951229095,
0.03320610150694847,
-0.061328016221523285,
0.03172321245074272,
-0.005675578024238348,
0.05818570777773857,
-0.004402324091643095,
0.005649097729474306,
0.013072364963591099,
-0.06750671565532684,
0.01820068620145321,
0.09780000150203705,
0.0037822474259883165,
-0.004744359292089939,
0.023991011083126068,
-0.01518195029348135,
0.04007328674197197,
0.022967113181948662,
0.026691986247897148,
-0.01776817813515663,
0.00350641249679029,
-0.024220505729317665,
-0.006893664598464966,
-0.012834044173359871,
0.03618953377008438,
-0.055396463721990585,
0.04519278183579445,
-0.002716421615332365,
-0.03615422546863556,
0.04328621178865433,
-0.024202853441238403,
0.015976354479789734,
-0.007432094309478998,
-0.034071121364831924,
-0.036789748817682266,
-0.067753866314888,
-0.046357907354831696,
0.08572505414485931,
-0.00482821324840188,
-0.05154801532626152,
0.006708303466439247,
0.006567075848579407,
0.045545849949121475,
-0.04335682466626167,
-0.0012544968631118536,
-0.0005798048223368824,
0.03336498141288757,
0.020301444455981255,
-0.007882256992161274,
0.038519784808158875,
-0.02023083157837391,
-0.06828346848487854,
0.03324140980839729,
-0.00006233867316041142,
-0.010168375447392464,
0.014519946649670601,
0.010106588713824749,
0.004064702428877354,
0.04455725848674774,
-0.0043626041151583195,
0.004859106615185738,
0.03458306938409805,
0.019224585965275764,
-0.007396787405014038,
0.06521177291870117,
-0.01820068620145321,
0.018889170140028,
0.013301859609782696,
-0.00868107471615076,
-0.0016936259344220161,
0.05306621268391609,
-0.007123159244656563,
-0.04409826919436455,
0.03640137240290642,
-0.03423000127077103,
0.02766292542219162,
-0.03048747405409813,
-0.027874765917658806,
-0.024626534432172775,
0.029781335964798927,
0.01787409745156765,
0.027045054361224174,
0.03901408240199089,
-0.0001460545463487506,
0.01718561351299286,
-0.009435757994651794,
0.03553635627031326,
-0.03253527358174324,
0.03280007466673851,
-0.01031843014061451,
0.009453412145376205,
-0.019736535847187042,
0.005856525618582964,
-0.01383146271109581,
-0.036789748817682266,
0.005353402812033892,
-0.04886469617486,
0.005044467747211456,
0.06348173320293427,
0.0902443379163742,
-0.018924476578831673,
-0.04762895405292511,
-0.03749588504433632,
0.00455899816006422,
-0.07043718546628952,
-0.05882123112678528,
-0.0005216036806814373,
0.03156433254480362,
0.034618377685546875,
0.04709935188293457,
-0.0160822756588459,
-0.009312184527516365,
-0.04639321565628052,
-0.002859855769202113,
-0.03604830428957939,
-0.005785911809653044,
-0.01590573973953724,
0.04882938787341118,
0.01700025238096714,
-0.04505155235528946,
-0.019224585965275764,
-0.10782714933156967,
-0.017309188842773438,
-0.01835956797003746,
0.06101025640964508,
0.01120110135525465,
0.0485469326376915,
0.06676527112722397,
-0.02227862924337387,
0.05772671848535538,
-0.0029613629449158907,
-0.06718895584344864,
-0.032323431223630905,
-0.05320743843913078,
-0.0072599733248353004,
-0.026886174455285072,
-0.05006512627005577,
0.0006437985575757921,
-0.02875743806362152,
-0.017503375187516212,
-0.025156138464808464,
0.06422317773103714,
0.05236007273197174,
0.015958700329065323,
-0.02618003636598587,
0.007913149893283844,
-0.006893664598464966,
-0.02766292542219162,
0.02390274405479431,
0.0259152352809906,
0.011324675753712654,
-0.03890816122293472,
-0.03876693174242973,
-0.0034004920162260532,
0.03760180622339249,
-0.014140397310256958,
0.007577734999358654,
0.03507736697793007,
-0.028104260563850403,
-0.04024982079863548,
-0.016400037333369255,
0.02971072308719158,
0.014625866897404194,
0.009771173819899559,
-0.014740614220499992,
-0.012525108642876148,
-0.04102657362818718,
0.012295613996684551,
0.0418386310338974,
-0.007162879221141338,
-0.01728270761668682,
0.0012125700013712049,
0.047840796411037445,
-0.08925574272871017,
0.04844101145863533,
-0.010539097711443901,
-0.030010830610990524,
0.008270632475614548,
0.06277559697628021,
-0.021519530564546585,
0.040285129100084305,
-0.03710750862956047,
0.016770759597420692,
-0.021537184715270996,
0.022366896271705627,
-0.005159215070307255,
0.05938613787293434,
-0.02360263653099537,
-0.10457891970872879,
0.02441469393670559,
0.01504072267562151,
-0.043533358722925186,
0.026127075776457787,
-0.02362028881907463,
0.0740031823515892,
0.009603465907275677,
-0.025879928842186928,
-0.042968448251485825,
0.00546815013512969,
0.03943776339292526,
-0.06383480131626129,
-0.019365813583135605,
-0.041344333440065384,
-0.01776817813515663,
0.050806570798158646,
0.028104260563850403,
0.01728270761668682,
0.012242653407156467,
0.03735465928912163,
0.09497545659542084,
0.03564227372407913,
-0.018553754314780235,
0.047982022166252136,
-0.002433966612443328,
0.012277960777282715,
0.014458158984780312,
0.01957765407860279,
-0.0777457058429718,
0.029322346672415733,
-0.05437256395816803,
-0.0607278011739254,
-0.017512202262878418,
-0.00816471129655838,
0.016708971932530403,
0.02035440504550934,
0.09681141376495361,
-0.05507870391011238,
-0.031246570870280266,
0.02037205919623375,
-0.052289459854364395,
0.026656679809093475,
0.020813394337892532,
0.002707594772800803,
0.0021824052091687918,
-0.023955704644322395,
-0.015402617864310741,
-0.003347531659528613,
0.0707196444272995,
-0.06683588773012161,
-0.011183448135852814,
0.015835126861929893,
0.04247415438294411,
0.0399673655629158,
0.00887526199221611,
0.030293285846710205,
-0.03239404410123825,
-0.050524115562438965,
0.008892915211617947,
-0.002139375079423189,
-0.020160216838121414,
-0.039861444383859634,
-0.023938050493597984,
-0.06976635754108429,
-0.028015993535518646,
0.11284072697162628,
-0.025968195870518684,
-0.05518462136387825,
-0.013072364963591099,
-0.057444263249635696,
0.03982613980770111,
-0.02792772650718689,
-0.029516534879803658,
-0.0013173872139304876,
0.01336364634335041,
-0.04536931589245796,
0.041379641741514206,
0.04762895405292511,
0.018571408465504646,
0.05571422725915909,
0.03322375565767288,
-0.08078209310770035,
-0.022225668653845787,
0.0037116336170583963,
0.006805397570133209,
-0.037036895751953125,
-0.022066786885261536,
0.022349242120981216,
0.05246599391102791,
0.048370398581027985,
0.020319098606705666,
0.00785136315971613,
0.00887526199221611,
-0.03504205867648125,
0.015349657274782658,
-0.01572038047015667,
-0.007957283407449722,
0.0008859815425239503,
0.06973104923963547,
0.031352490186691284,
-0.008919395506381989,
-0.006218420807272196,
-0.04709935188293457,
0.04233292490243912,
0.09758815914392471,
0.026480145752429962,
-0.017318015918135643,
-0.11149906367063522,
-0.05426664277911186,
0.0800759568810463,
0.0007375823915936053,
-0.025544513016939163,
0.01471413392573595,
0.02118411660194397,
-0.01915397122502327,
0.007568908389657736,
0.08494830876588821,
-0.018288953229784966,
0.009365145117044449,
0.005212175194174051,
0.026744946837425232,
-0.028104260563850403,
0.018942130729556084,
-0.030310939997434616,
0.019136318936944008,
0.03424765542149544,
-0.007229079492390156,
0.01354900747537613,
0.029234079644083977,
0.0018767802976071835,
0.006381715182214975,
0.004739946220070124,
0.007312933448702097,
0.00923274364322424,
-0.01395503617823124,
0.011298195458948612,
0.0688483789563179,
-0.01996602863073349,
0.04628729447722435,
0.03103473037481308,
-0.032447006553411484,
-0.06231660768389702,
0.06764794141054153,
-0.06101025640964508,
-0.059703901410102844,
-0.000887636560946703,
0.04967675358057022,
0.044062960892915726,
0.02766292542219162,
-0.04879407957196236,
0.025014910846948624,
0.006077193189412355,
-0.07492116093635559,
0.02279057912528515,
-0.00970938615500927,
0.026903826743364334,
-0.00519893504679203,
-0.04819386452436447,
-0.009197437204420567,
0.03170556202530861,
-0.0049341339617967606,
-0.0021051715593785048,
-0.026144729927182198,
-0.00806320458650589,
-0.07079025357961655,
0.01862436905503273,
-0.011951372027397156,
-0.01343426015228033,
-0.03601299598813057,
-0.010450830683112144,
0.007176119368523359,
0.01651478372514248,
0.009029729291796684,
0.02268465794622898,
-0.02335548773407936,
-0.007974937558174133,
0.05158332362771034,
-0.012013159692287445,
0.023955704644322395,
-0.04483971372246742,
-0.07343827188014984,
-0.014414025470614433,
0.02467949502170086,
-0.03133483976125717,
-0.013601968064904213,
-0.020071949809789658,
0.013707888312637806,
-0.01489949505776167,
-0.009206264279782772,
-0.058468159288167953,
-0.018677329644560814,
0.043498050421476364,
-0.017415108159184456,
0.04113249108195305,
0.036789748817682266,
-0.03767241910099983,
-0.003985262010246515,
-0.06722426414489746,
0.06609444320201874,
-0.03626014664769173,
-0.012463321909308434,
0.0006211800500750542,
0.0707196444272995,
-0.013116498477756977,
-0.02360263653099537,
0.0028046886436641216,
-0.016850199550390244,
0.03320610150694847,
-0.031917400658130646,
-0.049994513392448425,
0.0029238492716103792,
0.05730303376913071,
0.005807978566735983,
-0.0388728529214859,
-0.019118664786219597,
0.018677329644560814,
0.007220252882689238,
0.028298448771238327,
-0.009568159468472004,
-0.10775654017925262,
0.021219423040747643,
0.033806320279836655,
-0.015614459291100502,
-0.04342743754386902,
-0.03795487433671951,
-0.006183113902807236,
0.02374386414885521,
-0.06867184489965439,
0.05514931678771973,
-0.011827798560261726,
-0.08770224452018738,
-0.015596805140376091,
0.027963032945990562,
0.02994021773338318,
0.03128187730908394,
-0.010194855742156506,
-0.030452167615294456,
0.025844622403383255,
0.0019529106793925166,
-0.008442752994596958,
-0.03806079551577568,
-0.037848953157663345,
-0.016929639503359795,
0.0040713222697377205,
0.02711566910147667,
-0.05532585084438324,
-0.030310939997434616,
0.004678159020841122,
0.03064635396003723,
0.017088521271944046,
-0.002577400766313076,
-0.00486352015286684,
-0.024326426908373833,
-0.04356866702437401,
0.03241169825196266,
0.04236823320388794,
-0.04197985678911209,
-0.035289205610752106,
0.0198248028755188,
0.04678158834576607,
-0.0018039599526673555,
0.03654260188341141,
0.03844917193055153,
-0.03802548721432686,
0.07043718546628952,
-0.03763711452484131,
-0.013151805847883224,
-0.0048988270573318005,
-0.038519784808158875,
0.005273962393403053,
0.007701308932155371,
0.03546573966741562,
-0.04787610098719597,
-0.00984178762882948,
0.04565177112817764,
-0.01086568646132946,
-0.00903855636715889,
-0.03626014664769173,
-0.01586160622537136,
0.026391878724098206,
-0.10987494885921478,
0.019242238253355026,
0.037178125232458115,
-0.00807203073054552,
0.022772924974560738,
-0.022702312096953392,
0.06492931395769119,
0.0380961038172245,
0.025156138464808464,
0.0008230911917053163,
-0.02845732867717743,
-0.01489949505776167,
-0.01685902662575245,
-0.04861754551529884,
0.08862022310495377,
-0.05617321655154228,
-0.007061372045427561,
-0.003126863855868578,
0.03714281693100929,
-0.04003797844052315,
0.004589891992509365,
0.008614873513579369,
-0.018712636083364487,
0.034194692969322205,
0.057126499712467194,
-0.02845732867717743,
0.005048880819231272,
-0.012578069232404232,
0.012939964421093464,
0.06944859772920609,
-0.03521859273314476,
-0.005172455217689276,
0.0013659341493621469,
-0.004903240129351616,
-0.05709119513630867,
-0.030840542167425156,
-0.01624998264014721,
-0.01287817768752575,
-0.05285437032580376,
0.004554585088044405,
0.06521177291870117,
-0.00697751808911562,
-0.006703889928758144,
0.00043085403740406036,
0.05285437032580376,
0.027715886011719704,
-0.004762012977153063,
0.0643291026353836,
-0.02538563311100006,
0.003076110268011689,
0.03038155287504196,
0.07315581291913986,
-0.01864202320575714,
0.011024567298591137,
-0.05730303376913071,
-0.008839955553412437,
0.011501209810376167,
0.037848953157663345,
-0.030028484761714935,
0.01586160622537136,
0.061328016221523285,
-0.01832425966858864,
-0.03671913594007492,
-0.0075821480713784695,
-0.057691410183906555,
0.09772939234972,
-0.012348574586212635,
-0.004903240129351616,
0.04166209697723389,
0.055678918957710266,
-0.034900832921266556,
0.007520361337810755,
-0.027768846601247787,
-0.05077126622200012,
-0.03009909763932228,
-0.01276343036442995,
-0.0359070785343647,
0.007008411921560764,
0.013725541532039642,
-0.015261390246450901,
-0.012119079940021038,
-0.0035836463794112206,
0.03158198669552803,
0.05225415155291557,
-0.0316879078745842,
-0.014493466354906559,
0.0012633235892280936,
0.0357481949031353,
0.008332419209182262,
0.00047140175593085587,
-0.006761263590306044,
-0.04826447740197182,
0.057126499712467194,
-0.01006245519965887,
-0.0051018414087593555,
-0.010186029598116875,
0.0033409115858376026,
0.03382397070527077,
0.009638773277401924,
0.02386743761599064,
0.03181147947907448,
0.04342743754386902,
-0.016885505989193916,
-0.040955957025289536,
-0.08198253065347672,
-0.020548593252897263,
0.020831048488616943,
0.02549155242741108,
-0.05440787225961685,
-0.03834325075149536,
0.01045965775847435,
-0.002321426058188081,
0.019365813583135605,
0.030257979407906532,
0.028316102921962738,
-0.026939135044813156,
-0.01789175160229206,
0.027203936129808426,
-0.020548593252897263,
0.033417943865060806,
-0.004784079734236002,
-0.0009234950412064791,
-0.05236007273197174,
0.04914715141057968,
0.043250903487205505,
0.0030871436465531588,
0.004554585088044405,
-0.009170956909656525,
-0.002681114710867405,
0.0011651264503598213,
-0.042191699147224426,
0.021078195422887802,
-0.015888087451457977,
-0.015632111579179764,
0.02077808789908886,
0.01903039775788784,
-0.02563278004527092,
0.008252978324890137
] |
708,620
|
more_executors._impl.futures.nocancel
|
f_nocancel
|
Wrap a future to block cancellation.
Signature: :code:`Future<X> ⟶ Future<X>`
Arguments:
future (~concurrent.futures.Future)
Any future.
Returns:
:class:`~concurrent.futures.Future`
A wrapped version of :obj:`future` which cannot be cancelled.
.. versionadded:: 1.19.0
|
def f_nocancel(future):
"""Wrap a future to block cancellation.
Signature: :code:`Future<X> ⟶ Future<X>`
Arguments:
future (~concurrent.futures.Future)
Any future.
Returns:
:class:`~concurrent.futures.Future`
A wrapped version of :obj:`future` which cannot be cancelled.
.. versionadded:: 1.19.0
"""
return track_future(NoCancelFuture(future, lambda x: x), type="nocancel")
|
(future)
|
[
-0.024439839646220207,
-0.027685755863785744,
0.02693936973810196,
0.03516698628664017,
-0.008448929525911808,
0.010596961714327335,
0.0045130387879908085,
-0.01259311381727457,
0.026765791699290276,
-0.014163997955620289,
-0.007177467457950115,
-0.000986684812232852,
-0.03926343470811844,
-0.07331951707601547,
0.009182297624647617,
0.07033397257328033,
0.004552093800157309,
-0.010527530685067177,
-0.0053028203547000885,
-0.002575469668954611,
-0.0007539812359027565,
0.025637531653046608,
-0.04145052284002304,
-0.052247099578380585,
0.0370069183409214,
0.03558357432484627,
-0.010223768651485443,
0.03600016236305237,
-0.06825102865695953,
-0.025915255770087242,
0.10463306307792664,
0.00585393188521266,
-0.02279084548354149,
-0.0021339296363294125,
0.03296253830194473,
0.00555450888350606,
-0.07331951707601547,
0.06800802052021027,
-0.05533679574728012,
-0.05408703163266182,
0.024734923616051674,
-0.059398531913757324,
-0.07998493313789368,
0.0010680496925488114,
-0.01911098323762417,
-0.0372152104973793,
-0.0171235091984272,
0.0038100460078567266,
0.008344781585037708,
-0.02082940936088562,
0.023745525628328323,
0.0735972449183464,
-0.041381094604730606,
-0.00731632998213172,
-0.03902042657136917,
0.030133211985230446,
0.006665410939604044,
0.03436852619051933,
-0.02621033973991871,
-0.0008120214915834367,
-0.05207352340221405,
0.08262332528829575,
0.017757071182131767,
0.03421230614185333,
0.008249313570559025,
0.0367986224591732,
0.027008799836039543,
0.005923363380134106,
-0.015188110992312431,
-0.015205468982458115,
-0.04617185518145561,
0.005337535869330168,
0.02187087945640087,
0.030011707916855812,
0.027373315766453743,
-0.08248446136713028,
-0.035409994423389435,
0.05905137583613396,
-0.029907559975981712,
0.0339866541326046,
-0.05061546340584755,
-0.02933475188910961,
-0.0321640782058239,
0.026609569787979126,
-0.0191804151982069,
-0.004968681838363409,
0.02456134557723999,
-0.0015600359765812755,
-0.039506446570158005,
0.03537527844309807,
-0.04946984723210335,
-0.009598885662853718,
-0.017948007211089134,
-0.04617185518145561,
-0.015500552020967007,
0.04481794685125351,
0.031209398061037064,
-0.04238784685730934,
-0.051170915365219116,
-0.035826582461595535,
0.07137544453144073,
0.045928847044706345,
0.032094646245241165,
-0.028310637921094894,
0.028848731890320778,
-0.020117737352848053,
-0.004608506802469492,
-0.028067629784345627,
0.027234451845288277,
0.02388438954949379,
-0.00042282615322619677,
0.014849632978439331,
-0.011022228747606277,
0.025168869644403458,
-0.04599827900528908,
-0.03093167208135128,
-0.04797707125544548,
0.003007245948538184,
0.005354893859475851,
-0.044991523027420044,
0.0377359464764595,
0.016073361039161682,
-0.040131326764822006,
-0.07706881314516068,
0.008375158533453941,
0.029247961938381195,
-0.025845825672149658,
0.019926801323890686,
0.030549800023436546,
0.01015433669090271,
-0.011733900755643845,
0.009416628628969193,
0.050546031445264816,
-0.014623980969190598,
-0.009052113629877567,
0.006318253930658102,
0.024960575625300407,
0.008175543509423733,
-0.018989477306604385,
-0.020534325391054153,
-0.02320743352174759,
-0.07491644471883774,
0.0370069183409214,
0.02497793361544609,
0.05436475947499275,
0.006808612961322069,
-0.04040905460715294,
-0.03532320633530617,
-0.015865067020058632,
-0.016073361039161682,
0.035722438246011734,
0.0338304303586483,
0.027737829834222794,
0.03600016236305237,
0.006318253930658102,
0.08401194959878922,
0.01994415931403637,
-0.03707634657621384,
-0.0014114094665274024,
-0.0058799684047698975,
0.05735030770301819,
0.07665222883224487,
0.06144675612449646,
-0.02036074735224247,
0.005229049362242222,
0.0025646209251135588,
0.03985360264778137,
-0.004677938297390938,
0.024387765675783157,
0.05377459153532982,
-0.029543045908212662,
0.0060101523995399475,
0.028275923803448677,
0.04082564264535904,
-0.07630506902933121,
0.017340483143925667,
-0.030758094042539597,
0.010432062670588493,
-0.04513038694858551,
0.004751708824187517,
-0.010102263651788235,
-0.036139026284217834,
-0.03902042657136917,
-0.03912457451224327,
0.04648429900407791,
-0.04936569929122925,
-0.011117696762084961,
-0.007442174479365349,
0.019978875294327736,
-0.028779299929738045,
0.02119392342865467,
-0.0331534780561924,
0.03532320633530617,
0.024422481656074524,
-0.000229313358431682,
-0.02994227595627308,
-0.019666433334350586,
0.014754164963960648,
0.038881562650203705,
-0.015734883025288582,
0.04322102293372154,
0.05616997182369232,
0.031105250120162964,
-0.036277886480093,
0.0036711832508444786,
0.005224710330367088,
-0.015474515035748482,
-0.04599827900528908,
-0.005966757889837027,
0.019597003236413002,
-0.007850083522498608,
0.016299013048410416,
-0.034680966287851334,
0.030445653945207596,
0.007134072482585907,
0.013747409917414188,
0.023641379550099373,
0.002768575679510832,
-0.03025471605360508,
0.04054791480302811,
-0.04231841489672661,
-0.016073361039161682,
-0.0335700660943985,
-0.018590247258543968,
0.02586318366229534,
0.06585565209388733,
0.027442745864391327,
0.00414418475702405,
0.040999218821525574,
-0.06425872445106506,
-0.027269167825579643,
0.018416669219732285,
-0.0342470183968544,
-0.03501076623797417,
0.014702090993523598,
-0.009086829610168934,
-0.014198713935911655,
0.017496703192591667,
-0.040339622646570206,
0.009052113629877567,
0.03547942638397217,
-0.028484217822551727,
0.04273500293493271,
0.012055020779371262,
0.03337912634015083,
0.012141809798777103,
0.00581487687304616,
0.0344032421708107,
0.04967813938856125,
0.016351087018847466,
-0.03714577853679657,
-0.0003428173658903688,
-0.053913455456495285,
-0.02529037371277809,
0.013591189868748188,
-0.0968567505478859,
-0.01233274582773447,
-0.04492209106683731,
0.04401948302984238,
0.043602894991636276,
-0.018746469169855118,
-0.019718507304787636,
-0.0087440125644207,
0.0180868711322546,
-0.027737829834222794,
-0.05839177593588829,
-0.05870421975851059,
-0.029004951938986778,
0.024578703567385674,
0.004942645318806171,
0.04009661450982094,
-0.061932776123285294,
0.006747860461473465,
-0.06030113995075226,
-0.00602317089214921,
-0.02294706553220749,
-0.0036907109897583723,
0.03558357432484627,
0.009920005686581135,
0.048463091254234314,
0.028275923803448677,
0.03558357432484627,
0.003673352999612689,
-0.014459081925451756,
-0.021124493330717087,
0.04259614273905754,
-0.025012649595737457,
-0.00925172958523035,
0.008001964539289474,
-0.0001261833676835522,
0.061064884066581726,
0.035930730402469635,
0.02605411969125271,
-0.025706961750984192,
0.019197771325707436,
0.007802349515259266,
0.028466859832406044,
-0.06731370836496353,
0.027651039883494377,
-0.010475456714630127,
0.06377270817756653,
0.0313309021294117,
0.006613337434828281,
0.002166475635021925,
0.048567239195108414,
-0.02051696740090847,
0.037492938339710236,
0.04436664283275604,
-0.04749105125665665,
0.014684733003377914,
-0.015986571088433266,
0.006487492937594652,
0.018694395199418068,
-0.07776312530040741,
-0.017114831134676933,
0.05849592387676239,
0.0371110625565052,
-0.05026830732822418,
0.018173659220337868,
-0.04901854321360588,
-0.005285462364554405,
-0.061064884066581726,
0.0345073863863945,
0.015300936996936798,
-0.0344032421708107,
-0.03968002274632454,
-0.016351087018847466,
0.024578703567385674,
-0.0673484206199646,
0.055510375648736954,
0.042144838720560074,
0.006261840928345919,
-0.03797895461320877,
-0.005463380366563797,
-0.12094943225383759,
0.031209398061037064,
0.009138903580605984,
-0.00965963862836361,
0.00861382856965065,
0.014068529941141605,
0.014771522954106331,
0.01912834122776985,
-0.039194006472826004,
0.016134113073349,
-0.11608923971652985,
0.0183993112295866,
0.026800505816936493,
0.035201702266931534,
0.064224012196064,
-0.062453512102365494,
0.055406227707862854,
0.033656854182481766,
-0.018694395199418068,
0.00952945463359356,
0.002419249154627323,
0.058114051818847656,
-0.0021404386498034,
0.015726203098893166,
-0.01879854127764702,
-0.029907559975981712,
0.0046605803072452545,
-0.010093584656715393,
0.0011184958275407553,
0.01871175318956375,
-0.056447699666023254,
0.029195887967944145,
0.02673107571899891,
-0.006700126454234123,
-0.056135259568691254,
0.02565488964319229,
-0.020291315391659737,
-0.0025841486640274525,
0.03134826198220253,
-0.012523681856691837,
0.02294706553220749,
0.014754164963960648,
-0.011742579750716686,
-0.0344553142786026,
-0.06366856396198273,
-0.02683522179722786,
-0.015031890012323856,
-0.017843861132860184,
-0.0357571542263031,
-0.04658844694495201,
0.012454250827431679,
-0.022704055532813072,
-0.04408891499042511,
-0.006287877913564444,
-0.017843861132860184,
0.016750317066907883,
-0.020499609410762787,
-0.05537151172757149,
0.038048386573791504,
-0.016299013048410416,
-0.006452777422964573,
-0.02351987361907959,
-0.009598885662853718,
0.025255657732486725,
0.06394628435373306,
-0.042040690779685974,
0.036555614322423935,
0.08498398959636688,
-0.013955703936517239,
-0.04891439527273178,
0.02150636538863182,
0.04894911125302315,
-0.04724804311990738,
-0.06457117199897766,
0.011699184775352478,
-0.051691651344299316,
-0.005793179385364056,
-0.03801367059350014,
-0.0030701681971549988,
-0.010718466714024544,
0.037180494517087936,
0.04450550302863121,
-0.03954116255044937,
-0.023138001561164856,
-0.012697260826826096,
-0.0166548490524292,
-0.003159126965329051,
-0.04131166264414787,
0.020968271419405937,
-0.028432143852114677,
-0.008553076535463333,
0.05741973966360092,
0.011872762814164162,
0.0022868956439197063,
-0.013434968888759613,
0.018416669219732285,
-0.03895099461078644,
0.011942194774746895,
0.04710917919874191,
-0.005736766383051872,
-0.04037433862686157,
0.007333687972277403,
-0.029612476006150246,
-0.06227993220090866,
0.0018279976211488247,
0.05335800349712372,
-0.003946739248931408,
0.013478363864123821,
-0.009972079657018185,
0.010779219679534435,
0.04030490666627884,
0.007906496524810791,
-0.03704163432121277,
0.04599827900528908,
0.0765133649110794,
-0.009928684681653976,
-0.017002005130052567,
0.00952945463359356,
0.04526925086975098,
0.037492938339710236,
-0.0027859334368258715,
-0.015344331040978432,
-0.06800802052021027,
-0.07817971706390381,
-0.018729111179709435,
0.025047363713383675,
-0.013009701855480671,
0.007290292996913195,
0.01952757127583027,
-0.038881562650203705,
0.03704163432121277,
-0.012567076832056046,
0.07408326864242554,
-0.05092790722846985,
-0.020343389362096786,
-0.021541081368923187,
-0.000838058243971318,
-0.0324765220284462,
0.016984647139906883,
-0.008717975579202175,
0.03181692212820053,
0.005671674385666847,
0.008001964539289474,
0.025411879643797874,
0.060544148087501526,
0.00610128091648221,
-0.0191804151982069,
-0.03490661829710007,
-0.0062661804258823395,
-0.008214598521590233,
-0.020239243283867836,
0.008965324610471725,
0.039923034608364105,
-0.016637491062283516,
0.09095508605241776,
0.006708805449306965,
-0.04363761097192764,
-0.0370069183409214,
0.019249845296144485,
-0.047074463218450546,
0.08894157409667969,
-0.029543045908212662,
-0.017002005130052567,
0.06189806014299393,
-0.001769414870068431,
0.015057926997542381,
0.009781143628060818,
0.0032025217078626156,
-0.04936569929122925,
0.0051552788354456425,
0.02539452165365219,
-0.02688729576766491,
-0.02414475753903389,
0.010084905661642551,
-0.011378064751625061,
-0.010926760733127594,
0.011699184775352478,
0.040027182549238205,
0.05922495201230049,
-0.01116109173744917,
0.000838058243971318,
-0.027998197823762894,
-0.0729723647236824,
-0.05439947545528412,
0.03464625030755997,
0.0168891791254282,
0.031678058207035065,
-0.020499609410762787,
-0.025516025722026825,
0.020135095342993736,
-0.0329451821744442,
-0.0054763988591730595,
0.027373315766453743,
-0.026505423709750175,
-0.03035886399447918,
-0.017948007211089134,
-0.0060752443969249725,
-0.043602894991636276,
0.01709747314453125,
0.02824120782315731,
-0.04197125881910324,
-0.011273917742073536,
-0.042144838720560074,
0.047074463218450546,
-0.05426061153411865,
-0.05492020770907402,
-0.025325089693069458,
0.028779299929738045,
0.04693560302257538,
0.05853063985705376,
0.05478134751319885,
0.031938426196575165,
-0.037527650594711304,
-0.008227616548538208,
0.008757030591368675,
0.004604167304933071,
0.032094646245241165,
0.032355014234781265,
0.06533491611480713,
-0.06877176463603973,
-0.005133581347763538,
0.04148523882031441,
0.05870421975851059,
0.04068677872419357,
0.025880541652441025,
-0.010805255733430386,
0.0041919187642633915,
-0.01926720328629017,
0.014719448983669281,
-0.08463682979345322,
-0.041415806859731674,
0.007121054455637932,
0.0336221382021904,
-0.005454701371490955,
0.029057025909423828,
-0.057072579860687256,
0.026383917778730392,
-0.04148523882031441,
0.03874270245432854,
-0.011100339703261852,
-0.014363612979650497,
0.04342931881546974,
0.011803331784904003,
-0.05186522752046585,
-0.010249804705381393,
-0.01963171735405922,
-0.037944238632917404,
-0.08901100605726242,
-0.033813074231147766,
-0.0767216607928276,
0.0018659678753465414,
0.01191615778952837,
-0.010952797718346119,
-0.01668088510632515,
0.01717558316886425,
0.03131354600191116,
0.054538335651159286,
0.031261470168828964,
0.06627223640680313,
-0.0014428704744204879,
0.017340483143925667,
0.017375199124217033,
-0.04818536713719368,
0.0094600236043334,
0.04058263078331947,
0.0357571542263031,
0.011829368770122528,
-0.012575755827128887,
-0.035253774374723434,
-0.0007480144849978387,
-0.0338304303586483,
0.049504563212394714,
-0.07824914902448654,
-0.07491644471883774,
-0.016611453145742416,
-0.0025342446751892567,
0.04249199479818344,
0.04467908293008804,
0.0085617545992136,
-0.007546321488916874,
0.0029247961938381195,
0.004690956324338913,
0.0038729682564735413,
-0.02218332141637802,
-0.06516133248806,
0.0091215455904603,
0.00527244433760643,
0.03558357432484627,
-0.0053679123520851135,
-0.032823678106069565,
-0.05269840359687805,
-0.02529037371277809,
0.0031764849554747343,
-0.04113808274269104,
-0.08338706940412521,
0.0684940367937088,
-0.07533302903175354,
-0.02414475753903389,
-0.02594997175037861,
0.09012190997600555,
-0.03870798647403717,
-0.018746469169855118,
0.0382566824555397,
0.0042288037948310375,
0.041381094604730606,
0.045512259006500244,
-0.043602894991636276,
-0.0001874104345915839,
-0.022461045533418655,
-0.016168829053640366,
-0.030029064044356346,
-0.0659945085644722,
-0.015040569007396698,
-0.044991523027420044,
-0.025411879643797874,
-0.007160109467804432,
-0.010605640709400177,
0.014033814892172813,
-0.018000081181526184,
-0.0376317985355854,
-0.011117696762084961,
0.004287386778742075,
-0.012488966807723045,
0.038152534514665604,
0.08616432547569275,
0.0032524254638701677,
0.014285502955317497,
-0.029386823996901512,
-0.03724992647767067,
0.09220485389232635,
-0.05092790722846985,
0.013087811879813671,
-0.02192295342683792,
-0.04860195517539978,
-0.022044457495212555,
-0.0017401236109435558,
0.04280443489551544,
0.039714738726615906,
-0.029057025909423828,
0.06550849229097366,
0.04228369891643524,
-0.0001227931643370539,
-0.059815119951963425,
0.056551847606897354,
-0.0028163096867501736,
-0.002690465422347188,
0.034941334277391434,
0.05363572761416435,
0.03384779021143913,
-0.0012931592063978314,
-0.004003152251243591,
-0.01994415931403637,
0.032094646245241165,
-0.01380816288292408,
0.008448929525911808,
-0.06005812808871269,
-0.01396438293159008,
0.034680966287851334,
-0.054225895553827286,
0.07991550117731094,
-0.0018486101180315018,
0.027807261794805527,
0.009225692600011826,
-0.015986571088433266,
0.053809307515621185,
0.05849592387676239,
0.061585620045661926,
-0.010918081738054752,
0.011976909823715687,
0.009095508605241776,
-0.03957587853074074,
0.0186596792191267,
0.03714577853679657,
-0.05814876779913902,
0.012627828866243362,
-0.008231956511735916,
0.014537191949784756,
0.035097554326057434,
0.018329879269003868,
0.04853252321481705,
-0.003757972503080964,
0.05891251191496849,
-0.019978875294327736,
-0.009798501618206501,
0.06141204014420509,
-0.042665574699640274,
0.0706811249256134,
0.040235474705696106,
0.002170814899727702,
0.05512850359082222,
-0.024630775675177574,
0.006990870460867882,
-0.07331951707601547,
0.04999058321118355,
0.04148523882031441,
0.007789331022650003,
0.06564735621213913,
0.01860760524868965,
-0.020135095342993736,
-0.015014532022178173,
0.02916117198765278,
-0.01834723725914955,
0.021593153476715088,
0.08658090978860855,
-0.04690088704228401,
-0.014389649964869022,
-0.0361737422645092,
-0.008192900568246841,
0.023120643571019173,
0.011898799799382687,
0.056968435645103455,
0.017080115154385567,
-0.04721332713961601,
0.0023259506560862064,
-0.0036451464984565973,
0.036972202360630035,
-0.009512096643447876,
-0.030584516003727913,
-0.03870798647403717,
0.04506095498800278,
0.02636655978858471,
-0.006083923391997814,
0.0027967821806669235,
0.05321913957595825,
0.003204691456630826,
0.0183993112295866,
-0.04502623900771141,
0.001310516963712871,
-0.02020452730357647,
0.046866171061992645,
-0.040999218821525574,
-0.019093625247478485,
-0.012645186856389046,
0.03134826198220253
] |
708,621
|
more_executors._impl.futures.bool
|
f_or
|
Boolean ``OR`` over a number of futures.
Signature: :code:`Future<A>[, Future<B>[, ...]] ⟶ Future<A|B|...>`
Arguments:
f (~concurrent.futures.Future)
Any future
fs (~concurrent.futures.Future)
Any futures
Returns:
:class:`~concurrent.futures.Future`
A future resolved from the inputs using ``OR`` semantics:
- Resolved with the earliest true value returned by an input
future, if any.
- Otherwise, resolved with the latest false value or exception
returned by the input futures.
.. note::
This function is tested with up to 100,000 input futures.
Exceeding this limit may result in performance issues.
.. versionadded:: 1.19.0
|
# -*- coding: utf-8 -*-
from threading import Lock
import logging
from concurrent.futures import Future
from .base import chain_cancel, weak_callback
from ..common import copy_future_exception, try_set_result
from .check import ensure_futures
from ..logwrap import LogWrapper
from ..metrics import track_future
LOG = LogWrapper(logging.getLogger("more_executors.futures"))
class BoolOperation(object):
def __init__(self, fs):
self.fs = {}
for f in fs:
self.fs[f] = True
self.done = False
self.lock = Lock()
self.out = Future()
for f in fs:
chain_cancel(self.out, f)
f.add_done_callback(weak_callback(self.handle_done))
def get_state_update(self, f):
raise NotImplementedError() # pragma: no cover
def handle_done(self, f):
set_result = False
set_exception = False
cancel_futures = set()
with self.lock:
if self.done:
return
del self.fs[f]
(set_result, set_exception, cancel_futures) = self.get_state_update(f)
if set_result:
try_set_result(self.out, f.result())
if set_exception:
copy_future_exception(f, self.out)
for to_cancel in cancel_futures:
to_cancel.cancel()
|
(f, *fs)
|
[
0.0010551890591159463,
-0.0788189098238945,
-0.06704136729240417,
0.06458771973848343,
0.0024796058423817158,
0.026537209749221802,
-0.02187526598572731,
-0.04288231581449509,
-0.04427901282906532,
-0.07489306479692459,
0.047978367656469345,
0.04469424486160278,
-0.00827164389193058,
-0.03404916450381279,
-0.007606326602399349,
0.03176537901163101,
0.022045135498046875,
0.003977750428020954,
0.029217353090643883,
-0.0010492908768355846,
-0.016194114461541176,
0.036710433661937714,
0.024310046806931496,
-0.00509133143350482,
0.022516991943120956,
-0.013608341105282307,
0.016279049217700958,
-0.02504614181816578,
-0.027613041922450066,
0.013882017694413662,
0.012466448359191418,
0.0085170092061162,
-0.03289783373475075,
-0.014835167676210403,
0.051904212683439255,
0.021762020885944366,
0.011098064482212067,
0.11694490909576416,
-0.004475558642297983,
-0.04148562252521515,
-0.02840576134622097,
-0.09376732259988785,
-0.04190085455775261,
-0.04627968370914459,
-0.014806856401264668,
0.004810576792806387,
-0.06621090322732925,
0.025367004796862602,
0.05522608384490013,
-0.053414154797792435,
0.058094970881938934,
-0.027499796822667122,
-0.016996270045638084,
0.07017450034618378,
0.027952779084444046,
0.05975590646266937,
0.053489651530981064,
0.0044779181480407715,
-0.010541274212300777,
-0.009380507282912731,
-0.00909267459064722,
0.04450550302863121,
0.023441830649971962,
0.03899421915411949,
0.010805513709783554,
0.01818534918129444,
-0.0287454966455698,
-0.00019921190687455237,
-0.05009228363633156,
0.04884658381342888,
-0.012362640351057053,
0.010380842722952366,
0.041523370891809464,
-0.011135812848806381,
-0.011381178162992,
-0.04242933541536331,
-0.011994591914117336,
-0.0546221062541008,
-0.03189750015735626,
0.016297923400998116,
-0.03074616938829422,
-0.015429707244038582,
0.0048459661193192005,
-0.04065515473484993,
0.021271290257573128,
-0.01654328778386116,
0.05798172578215599,
-0.01979909837245941,
-0.04586445167660713,
-0.03757864981889725,
-0.027480922639369965,
0.03280346468091011,
-0.000572715827729553,
-0.029217353090643883,
0.023894812911748886,
-0.01744925230741501,
-0.038692232221364975,
-0.028632251545786858,
-0.07727121561765671,
-0.045222725719213486,
0.021063674241304398,
0.024781903252005577,
0.044958487153053284,
-0.026310717687010765,
0.05628304183483124,
-0.011409489437937737,
-0.0322561077773571,
-0.004024935886263847,
-0.019855720922350883,
-0.0829712450504303,
0.0062285056337714195,
-0.012994927354156971,
-0.014099071733653545,
-0.001623186282813549,
0.02317759022116661,
-0.03774851933121681,
-0.046883661299943924,
-0.04276907071471214,
-0.05077175796031952,
-0.026291843503713608,
0.018817637115716934,
0.01390089187771082,
0.010777202434837818,
-0.021063674241304398,
0.0063842181116342545,
0.06768309324979782,
0.03535148873925209,
0.08848252892494202,
-0.006261535454541445,
-0.03152001276612282,
0.008148961700499058,
-0.00970136933028698,
0.023479579016566277,
0.07379835844039917,
0.008450949564576149,
-0.0022460368927568197,
-0.04046641290187836,
0.04469424486160278,
-0.06315327435731888,
-0.02057294361293316,
0.0032982768025249243,
-0.057415496557950974,
-0.017458690330386162,
0.03788064047694206,
0.03940945491194725,
-0.004402420949190855,
-0.03550248220562935,
-0.025631245225667953,
0.024932896718382835,
-0.030934911221265793,
0.02923622727394104,
0.0015665635000914335,
-0.050998248159885406,
0.028934240341186523,
-0.03776739165186882,
0.014457683078944683,
0.029273975640535355,
-0.015307024121284485,
0.0022012104745954275,
-0.03550248220562935,
0.022101758047938347,
-0.006421966943889856,
-0.009918423369526863,
-0.033388566225767136,
-0.028500132262706757,
0.0478651225566864,
0.011013130657374859,
0.008927525021135807,
-0.04035316780209541,
0.05688701942563057,
0.00016382266767323017,
0.05137573555111885,
0.05035652592778206,
0.056434035301208496,
-0.0964852124452591,
0.06103935465216637,
-0.008573632687330246,
-0.005638685077428818,
-0.03565347567200661,
-0.07606326788663864,
-0.0525459386408329,
-0.04107039049267769,
-0.05711350962519646,
-0.054169125854969025,
0.018713828176259995,
0.021724272519350052,
0.013570592738687992,
0.0056198108941316605,
0.07021224498748779,
0.006539931055158377,
-0.08463218063116074,
-0.05318766459822655,
0.04669491946697235,
0.012060651555657387,
0.017307696864008904,
-0.05077175796031952,
-0.036012087017297745,
0.013749898411333561,
0.07500630617141724,
-0.004635990131646395,
-0.02951934188604355,
0.02372494339942932,
0.10811176151037216,
-0.01213614922016859,
-0.015552389435470104,
0.034917380660772324,
0.002592851407825947,
0.015882689505815506,
0.01609974354505539,
0.024593159556388855,
-0.018761014565825462,
-0.01815703697502613,
-0.09308784455060959,
0.1430668830871582,
0.03618195652961731,
0.001177871716208756,
0.04960155487060547,
0.04333529993891716,
0.027462048456072807,
0.050998248159885406,
0.013721587136387825,
0.0166470967233181,
0.041938602924346924,
0.04242933541536331,
0.03061404824256897,
0.04609094187617302,
0.04333529993891716,
0.004996960051357746,
0.06402149051427841,
-0.04197635501623154,
-0.03293558210134506,
0.028915366157889366,
0.006813607644289732,
-0.049299564212560654,
0.01732657104730606,
-0.01648666523396969,
0.009493752382695675,
-0.017024582251906395,
0.012881682254374027,
0.01961035653948784,
-0.028669999912381172,
-0.010390279814600945,
0.026537209749221802,
-0.030557425692677498,
-0.016920773312449455,
-0.03067067265510559,
0.017666306346654892,
0.02923622727394104,
-0.0042372713796794415,
-0.010947070084512234,
0.005766086280345917,
0.0043646725825965405,
-0.004949774593114853,
-0.08629311621189117,
-0.0033053546212613583,
-0.07006125152111053,
0.004996960051357746,
-0.02723555639386177,
0.06013339012861252,
0.03261471912264824,
0.0657956674695015,
-0.010503525845706463,
-0.01675090566277504,
0.008913368918001652,
-0.06609765440225601,
-0.07017450034618378,
0.02146003395318985,
-0.06390824168920517,
0.01860058307647705,
0.012589131481945515,
0.12313567101955414,
-0.035879965871572495,
-0.0379750095307827,
-0.010984819382429123,
-0.06719236075878143,
-0.00694572739303112,
0.028707748278975487,
-0.0035648758057504892,
-0.029821330681443214,
-0.030444180592894554,
0.05096049979329109,
0.005851020570844412,
-0.04748763516545296,
-0.03019881434738636,
-0.017704054713249207,
0.017005708068609238,
-0.00938994437456131,
-0.006030325777828693,
0.039522700011730194,
0.0009171710698865354,
0.021365661174058914,
0.026574958115816116,
0.052508190274238586,
-0.041712112724781036,
0.018761014565825462,
0.029877953231334686,
-0.03465314209461212,
-0.06960827112197876,
-0.010607333853840828,
-0.002885402413085103,
-0.0004529822326730937,
-0.006110541522502899,
-0.03219948709011078,
-0.0345965176820755,
0.017458690330386162,
-0.037314411252737045,
0.043448545038700104,
-0.03652169182896614,
-0.04556246101856232,
0.025555746629834175,
0.04899757727980614,
-0.0011908478336408734,
0.018449589610099792,
-0.06594666093587875,
0.050469771027565,
-0.004180648364126682,
-0.010579022578895092,
-0.06447447091341019,
-0.007969656027853489,
-0.006766422186046839,
-0.04752538725733757,
0.01901581697165966,
0.03561572730541229,
-0.00866328552365303,
-0.023479579016566277,
-0.051413483917713165,
-0.012560819275677204,
-0.014485994353890419,
-0.021478908136487007,
0.030028946697711945,
-0.052508190274238586,
-0.027952779084444046,
0.01929892972111702,
0.04575120657682419,
-0.047978367656469345,
0.019723601639270782,
0.03829587250947952,
-0.010201537050306797,
0.03129352256655693,
-0.013674400746822357,
0.054018132388591766,
0.021233541890978813,
-0.01679809018969536,
0.018610019236803055,
-0.07209967076778412,
-0.004499151837080717,
0.02923622727394104,
0.07625200599431992,
0.07406259328126907,
-0.04163661599159241,
0.02923622727394104,
-0.007563859689980745,
-0.010805513709783554,
0.06368175148963928,
0.04979029670357704,
0.023762693628668785,
0.0166470967233181,
-0.040013428777456284,
0.014004700817167759,
-0.05590555816888809,
0.06073736771941185,
-0.026933567598462105,
0.011513298377394676,
0.03906971588730812,
0.004949774593114853,
-0.030972659587860107,
0.014231191948056221,
-0.01441049762070179,
-0.033199820667505264,
-0.060775116086006165,
0.009347476996481419,
-0.0010551890591159463,
0.058094970881938934,
-0.013495096005499363,
0.023422956466674805,
0.027348801493644714,
-0.003446911694481969,
-0.033331941813230515,
-0.05439561605453491,
0.02710343711078167,
0.023970309644937515,
-0.037522029131650925,
-0.048657841980457306,
-0.04235383868217468,
-0.015042784623801708,
0.009880675002932549,
-0.0200255885720253,
-0.04122138395905495,
0.04767638072371483,
0.03933395817875862,
0.014401059597730637,
0.0044519659131765366,
-0.042957816272974014,
0.03884322568774223,
0.0021103781182318926,
0.0019428690429776907,
0.021648775786161423,
0.039937932044267654,
0.0182042233645916,
-0.05269693210721016,
0.02174314670264721,
0.03474751114845276,
0.044543251395225525,
0.024026932194828987,
0.004107510671019554,
-0.012843933887779713,
-0.003767773974686861,
-0.03906971588730812,
0.014504868537187576,
0.041712112724781036,
-0.017958857119083405,
-0.05975590646266937,
0.001914557651616633,
-0.022177254781126976,
-0.0962587222456932,
0.040277671068906784,
-0.03269021585583687,
-0.02970808371901512,
0.0403154194355011,
0.019893469288945198,
0.029972324147820473,
0.03310545161366463,
-0.0009065542835742235,
0.023762693628668785,
-0.04182535782456398,
-0.007620482239872217,
0.030916037037968636,
0.05620754510164261,
-0.03170875459909439,
0.025065016001462936,
-0.02296997420489788,
-0.02408355474472046,
-0.024536537006497383,
-0.009757991880178452,
-0.018213659524917603,
-0.0019452283158898354,
-0.005737775005400181,
0.012230520136654377,
0.019553732126951218,
0.08825603872537613,
-0.050998248159885406,
0.03550248220562935,
-0.03123690001666546,
-0.0016904259100556374,
0.011032004840672016,
-0.03082166612148285,
-0.0136555265635252,
0.05673602595925331,
-0.022177254781126976,
0.004036732483655214,
-0.011711478233337402,
0.04846910014748573,
-0.03891872242093086,
0.020950427278876305,
0.027707412838935852,
0.012409825809299946,
-0.03982468694448471,
-0.008455668576061726,
-0.06341750919818878,
0.006270972546190023,
0.07345861941576004,
-0.006865512114018202,
-0.015637323260307312,
-0.0038126003928482533,
-0.01464642584323883,
-0.0665883868932724,
0.05398038402199745,
0.009229512885212898,
0.03135014325380325,
0.011220747604966164,
0.01724163629114628,
-0.011843597516417503,
0.021988512948155403,
0.0023038391955196857,
-0.0008157219272106886,
-0.015222090296447277,
-0.027707412838935852,
0.007856410928070545,
-0.005110205616801977,
-0.024026932194828987,
-0.002590492134913802,
-0.02868887409567833,
0.03027431294322014,
-0.029179604724049568,
-0.015590138733386993,
-0.0405796580016613,
0.07610101252794266,
-0.02619747258722782,
0.06447447091341019,
0.0008711650152690709,
-0.014438808895647526,
-0.06621090322732925,
0.03410578519105911,
-0.010881010442972183,
0.015826066955924034,
-0.03767302259802818,
-0.01880819909274578,
0.06205856427550316,
0.037446532398462296,
-0.004053247161209583,
0.05545257404446602,
0.009673058055341244,
-0.05167772248387337,
0.05564131587743759,
0.04182535782456398,
-0.026442836970090866,
0.030179940164089203,
-0.04492073878645897,
-0.0356346033513546,
-0.01204177737236023,
-0.008125368505716324,
-0.047563135623931885,
-0.006200194358825684,
-0.021913016214966774,
0.008351859636604786,
-0.0364084467291832,
-0.002857091138139367,
-0.01560901291668415,
0.010730016976594925,
-0.021913016214966774,
0.0026022884994745255,
0.019383864477276802,
0.03418128564953804,
0.049148570746183395,
-0.06594666093587875,
0.0013471503043547273,
-0.018694953992962837,
-0.008181991055607796,
0.0032086241990327835,
-0.006907979026436806,
-0.04620418697595596,
-0.03431340306997299,
-0.033331941813230515,
-0.03444552421569824,
0.024102428928017616,
-0.012900556437671185,
0.006119978614151478,
0.025989854708313942,
-0.06511619687080383,
-0.057943977415561676,
0.02619747258722782,
0.0647764578461647,
0.002273168647661805,
0.0064974636770784855,
-0.0017812582664191723,
0.01485404185950756,
0.030802791938185692,
0.026574958115816116,
0.08146130293607712,
-0.04386378079652786,
-0.004687894135713577,
0.07009900361299515,
0.05239494517445564,
-0.03274684026837349,
-0.019176248461008072,
-0.04163661599159241,
0.0767427384853363,
0.028632251545786858,
0.0020230847876518965,
0.01778898946940899,
0.014920102432370186,
-0.008771812543272972,
-0.030519677326083183,
-0.049488309770822525,
-0.0009737938526086509,
0.013740461319684982,
0.053074419498443604,
-0.015524078160524368,
0.044052522629499435,
-0.03423790633678436,
0.03629520162940025,
0.02312096767127514,
-0.018657205626368523,
-0.06741885840892792,
-0.004272660706192255,
0.004161774180829525,
0.016212988644838333,
-0.06013339012861252,
0.02970808371901512,
-0.02414017729461193,
-0.01932724192738533,
-0.05715125799179077,
-0.01911962404847145,
-0.04616643860936165,
0.02195076458156109,
0.07904540002346039,
-0.02910410799086094,
0.05990689992904663,
0.043977025896310806,
0.047147899866104126,
-0.004996960051357746,
0.05130023881793022,
-0.0031543606892228127,
-0.029670335352420807,
0.03431340306997299,
0.012768436223268509,
-0.008351859636604786,
0.010777202434837818,
0.00478698406368494,
0.012551382184028625,
-0.033199820667505264,
-0.04382603242993355,
-0.039522700011730194,
-0.054018132388591766,
-0.02910410799086094,
-0.00557262497022748,
-0.06896654516458511,
0.01906300149857998,
0.009663620963692665,
-0.0007649973267689347,
0.049563806504011154,
0.008653848432004452,
0.07957387715578079,
0.002998647978529334,
-0.014108508825302124,
0.028443509712815285,
-0.054018132388591766,
-0.0014497790252789855,
-0.020119961351156235,
-0.015344773419201374,
0.006700362078845501,
0.02181864343583584,
-0.047147899866104126,
-0.024328920990228653,
-0.045524712651968,
-0.026291843503713608,
-0.00496864877641201,
-0.0043387203477323055,
-0.04424126446247101,
0.010512962937355042,
-0.04624193534255028,
0.01578831858932972,
0.06473871320486069,
0.015193779021501541,
0.03412466123700142,
-0.02876437082886696,
0.04850684851408005,
0.03982468694448471,
0.006563523784279823,
-0.06028438359498978,
0.018506212159991264,
0.010711141861975193,
-0.016769779846072197,
-0.043788280338048935,
-0.006926853209733963,
-0.07708247750997543,
-0.012315453961491585,
-0.009432410821318626,
0.06149233877658844,
0.0028594504110515118,
-0.02702794037759304,
0.07394935190677643,
0.037937261164188385,
0.0025291508063673973,
0.05111149325966835,
-0.008064026944339275,
-0.029670335352420807,
-0.005096049979329109,
0.05579230934381485,
0.02346070483326912,
-0.02408355474472046,
-0.020063338801264763,
-0.0032487318385392427,
0.05013003200292587,
-0.034841883927583694,
-0.002998647978529334,
-0.023139841854572296,
-0.0003155540325678885,
-0.014401059597730637,
-0.029821330681443214,
0.044731996953487396,
0.001933431951329112,
-0.0027462048456072807,
0.0002646819921210408,
0.0016338031273335218,
0.031123653054237366,
-0.01106975320726633,
0.00610582297667861,
-0.017656870186328888,
-0.02447991445660591,
0.003546001622453332,
0.03727666288614273,
-0.02257361449301243,
0.03108590468764305,
-0.003104815725237131,
0.027462048456072807,
0.007025943137705326,
-0.02468753233551979,
-0.0018425995949655771,
-0.04624193534255028,
-0.024310046806931496,
0.012938304804265499,
0.03238822892308235,
0.03659718856215477,
-0.05771748721599579,
0.014438808895647526,
-0.03431340306997299,
-0.02283785492181778,
0.024781903252005577,
0.003078863490372896,
0.008351859636604786,
-0.02289447747170925,
-0.005756649188697338,
-0.027046814560890198,
0.001958204433321953,
0.06379500031471252,
-0.03706904500722885,
-0.0273110531270504,
0.04937506467103958,
-0.03061404824256897,
0.011400052346289158,
0.03591771423816681,
-0.0372011661529541,
0.001025108271278441,
-0.019591480493545532,
0.032369356602430344,
-0.02882099524140358,
-0.022479243576526642,
0.033803798258304596,
0.007025943137705326,
0.01607143133878708,
0.0239325612783432,
0.024234550073742867,
0.01722276210784912,
-0.0647764578461647,
-0.005582062061876059,
0.021762020885944366,
-0.015363647602498531,
0.04918631911277771,
0.01875157654285431,
0.046732667833566666,
0.058698948472738266,
-0.04352404177188873,
0.007955500856041908,
-0.01778898946940899,
-0.03652169182896614,
0.08984147757291794,
-0.02544250153005123,
-0.05752874165773392,
0.015665635466575623,
0.03555910661816597,
-0.06103935465216637,
0.014608676545321941,
0.012239957228302956,
0.028103772550821304,
-0.03357730805873871,
-0.009965608827769756,
-0.011985154822468758,
-0.0034374746028333902,
-0.024177925661206245,
-0.0033832110930234194,
-0.003935283049941063,
-0.01461811363697052,
0.04367503523826599,
0.07957387715578079,
0.0044920737855136395,
-0.0036380134988576174,
0.027896154671907425,
-0.012070088647305965,
-0.0317276306450367,
-0.041712112724781036,
-0.0063700624741613865,
-0.031387895345687866,
0.0070165060460567474,
-0.007931907661259174,
-0.011664292775094509,
-0.03420015797019005,
0.02936834841966629
] |
708,622
|
more_executors._impl.futures.proxy
|
f_proxy
|
Proxy calls on a future through to the future's result.
The value returned by this function is a future resolved with the
same result (or exception) as the input future ``f``. It will also
proxy most attribute lookups and method calls through to the
underlying result, awaiting the result when needed.
Note that since the returned value is intended to remain usable as
a ``Future``, this proxy is relatively conservative and avoids
proxying functionality which would clash with the ``Future``
interface.
Functionality which is not proxied includes:
- conversion to boolean (``__bool__``)
- conversion to string (``__str__``, ``__repr__``)
- methods relating to object identity (``__eq__``, ``__hash__``)
Signature: :code:`Future<X> ⟶ Future<X>`
Arguments:
f (~concurrent.futures.Future)
Any future.
timeout (float)
Timeout applied when awaiting the future's result
during proxied calls.
Returns:
:class:`~concurrent.futures.Future`
a Future which proxies calls through to the
future's result as needed.
.. versionadded:: 2.3.0
|
def __len__(self):
return len(self.__result)
|
(f, **kwargs)
|
[
-0.012200823985040188,
-0.03620576113462448,
-0.003388218116015196,
0.040739577263593674,
0.04886806383728981,
0.03191483020782471,
-0.013026625849306583,
-0.046568769961595535,
0.05641362816095352,
-0.018815338611602783,
0.018086688593029976,
-0.006327102892100811,
0.028125854209065437,
-0.013309989124536514,
0.009504822082817554,
0.032190095633268356,
0.008840941824018955,
0.0033740499056875706,
0.011285964399576187,
0.0587129220366478,
-0.04585631564259529,
0.04537054896354675,
0.05732039362192154,
0.02252335287630558,
-0.0276400875300169,
0.03332354873418808,
0.06781294196844101,
-0.050843510776758194,
0.07798164337873459,
0.03801928833127022,
-0.08808557689189911,
0.01954398676753044,
0.021066054701805115,
0.03178529068827629,
0.016346028074622154,
0.005039822775870562,
0.006889781914651394,
0.00859805941581726,
0.01870199292898178,
0.03837551921606064,
-0.0434274859726429,
-0.044042788445949554,
-0.009091921150684357,
-0.005869673099368811,
0.023511076346039772,
-0.05887484550476074,
-0.001676904852502048,
0.017779037356376648,
-0.04511147364974022,
-0.06353820115327835,
0.018248610198497772,
0.062210436910390854,
-0.016378412023186684,
0.020013561472296715,
-0.021519435569643974,
0.058777689933776855,
0.03465130925178528,
0.05570117384195328,
-0.050390131771564484,
0.0371125265955925,
-0.047766994684934616,
0.0013125803088769317,
0.029129769653081894,
-0.03581715002655983,
0.012071286328136921,
0.007181241177022457,
-0.045694392174482346,
0.06101221591234207,
0.045338165014982224,
0.035655226558446884,
0.017066581174731255,
0.04624492675065994,
-0.02754293382167816,
0.04640685021877289,
-0.002837683307006955,
0.01138311717659235,
-0.0027466020546853542,
0.007760112639516592,
0.05657555162906647,
-0.05644601583480835,
0.016459371894598007,
0.023252001032233238,
0.019171565771102905,
0.01082448661327362,
0.013544776476919651,
-0.013779563829302788,
-0.022960541769862175,
-0.014127695932984352,
-0.05764423683285713,
0.04964528977870941,
-0.03152621537446976,
0.09851334989070892,
0.01624077744781971,
0.018540071323513985,
-0.017487578094005585,
0.002750650281086564,
-0.0350075401365757,
-0.058389078825712204,
0.022863388061523438,
-0.067359559237957,
-0.03335593640804291,
0.09611690789461136,
0.052430346608161926,
-0.007727728225290775,
0.015301629900932312,
0.013811947777867317,
-0.017147541046142578,
-0.056640319526195526,
-0.00924574676901102,
0.033971238881349564,
0.044917166233062744,
0.042876947671175,
-0.014038638211786747,
0.004971005953848362,
0.012476091273128986,
-0.02661997824907303,
0.008128484711050987,
-0.031412869691848755,
-0.030392762273550034,
0.0350075401365757,
0.0618218258023262,
0.036011457443237305,
-0.006136844400316477,
-0.05356380343437195,
0.048285145312547684,
0.0510702021420002,
-0.011690769344568253,
0.0020594457164406776,
0.004578344989567995,
-0.02195662446320057,
0.056607935577631,
0.026182789355516434,
-0.007124568801373243,
0.04015665873885155,
0.046601153910160065,
0.013909101486206055,
0.048997603356838226,
-0.013739082962274551,
-0.032497748732566833,
0.034295082092285156,
-0.012508475221693516,
0.023932073265314102,
0.06761863082647324,
0.02262050472199917,
-0.00435975007712841,
0.023980651050806046,
0.031380485743284225,
0.03006891719996929,
0.0005975934327580035,
-0.009019056335091591,
0.014492020010948181,
-0.027445781975984573,
0.04601823538541794,
-0.025097912177443504,
-0.04877091199159622,
0.0255351010710001,
0.01450821291655302,
-0.05968445539474487,
-0.0073917401023209095,
-0.13329419493675232,
-0.04605061933398247,
-0.04436663165688515,
-0.03924989700317383,
-0.03230344131588936,
-0.005375810898840427,
0.021794702857732773,
0.029728882014751434,
-0.011091657914221287,
-0.0573851615190506,
0.06852539628744125,
0.00818111002445221,
-0.016095047816634178,
-0.021875664591789246,
0.01157742366194725,
-0.008808557875454426,
0.06029975786805153,
-0.024919798597693443,
0.042876947671175,
-0.005655126180499792,
-0.033874087035655975,
-0.03193102031946182,
-0.05676985904574394,
-0.0371125265955925,
-0.04329794645309448,
0.05353141948580742,
0.0309109129011631,
0.01309949066489935,
0.030441338196396828,
0.00721767358481884,
0.026441864669322968,
-0.06761863082647324,
-0.05298088490962982,
0.0008273202693089843,
-0.022992925718426704,
-0.016758928075432777,
-0.04086911678314209,
-0.018815338611602783,
0.045759160071611404,
-0.022296661511063576,
0.014532500877976418,
-0.09533968567848206,
-0.03669152781367302,
-0.03167194500565529,
-0.026393288746476173,
0.011804115027189255,
-0.01326141320168972,
-0.046083007007837296,
0.030878528952598572,
0.018329571932554245,
-0.06029975786805153,
-0.019932599738240242,
-0.04592108353972435,
0.021341321989893913,
0.052041735500097275,
0.046925000846385956,
-0.06645279377698898,
0.01858864724636078,
-0.04031858220696449,
0.01764949969947338,
-0.010273952037096024,
0.09754182398319244,
-0.027931546792387962,
0.0037302784621715546,
-0.03954135626554489,
-0.0297450739890337,
-0.016726544126868248,
-0.011366925202310085,
0.018961068242788315,
0.0045095281675457954,
-0.05676985904574394,
0.004074362572282553,
0.036497220396995544,
0.03886128216981888,
0.03364739567041397,
0.01687227375805378,
0.018637223169207573,
0.017341848462820053,
0.04122534394264221,
-0.0227662343531847,
-0.020774593576788902,
-0.037663061171770096,
-0.013512392528355122,
0.01647556573152542,
0.006659043021500111,
-0.05336949601769447,
-0.009253842756152153,
-0.0003324461285956204,
0.07681580632925034,
0.027413396164774895,
-0.0015281389933079481,
-0.03546092286705971,
-0.07416028529405594,
-0.04935383051633835,
-0.0552801750600338,
0.06884924322366714,
-0.06609656661748886,
-0.019058221951127052,
-0.007513181306421757,
0.0342303141951561,
-0.025939906015992165,
0.06609656661748886,
-0.038148827850818634,
0.005974922329187393,
0.02066124975681305,
-0.06282573938369751,
0.022410007193684578,
0.02887069433927536,
0.03251393884420395,
-0.03620576113462448,
0.05851861461997032,
0.01024156715720892,
-0.026879053562879562,
-0.04682784527540207,
-0.035687610507011414,
-0.06457450240850449,
0.032254863530397415,
0.0025948002003133297,
0.033096861094236374,
-0.036432452499866486,
0.009213362820446491,
0.03465130925178528,
0.001243763486854732,
-0.036076225340366364,
-0.05780616030097008,
-0.04180826246738434,
0.03170432895421982,
0.009828666225075722,
-0.004991245921701193,
-0.049094755202531815,
-0.022231891751289368,
0.01335046999156475,
-0.0011698865564540029,
0.010905447416007519,
-0.0012255472829565406,
0.05955491587519646,
-0.00977199338376522,
-0.02048313431441784,
0.022863388061523438,
0.023494884371757507,
0.0357847660779953,
-0.09935534745454788,
-0.03361501172184944,
-0.06884924322366714,
-0.01415198389440775,
-0.015884550288319588,
-0.009002864360809326,
0.0650278776884079,
0.010006780736148357,
0.03798690438270569,
0.045305781066417694,
0.0005108133773319423,
0.07072753459215164,
0.001220487174578011,
0.012087478302419186,
0.09585782885551453,
0.024110188707709312,
0.007986803539097309,
0.02213473990559578,
-0.0231548473238945,
0.07461366057395935,
-0.032044366002082825,
0.010192991234362125,
0.026879053562879562,
-0.010808294638991356,
0.004562152549624443,
-0.024644531309604645,
0.018361955881118774,
0.018507685512304306,
0.022393815219402313,
-0.019624948501586914,
-0.029874611645936966,
-0.06321435421705246,
0.023883497342467308,
0.021827086806297302,
-0.027688665315508842,
-0.02069363370537758,
0.054535333067178726,
-0.013973869383335114,
-0.019025836139917374,
0.0065618897788226604,
0.03659437596797943,
-0.05022820830345154,
-0.018653415143489838,
0.00829850323498249,
0.036076225340366364,
-0.020013561472296715,
-0.006027547176927328,
-0.0005368726560845971,
0.05469725653529167,
-0.035525690764188766,
-0.014330098405480385,
-0.019884023815393448,
0.02883831039071083,
0.04038335010409355,
0.05068159103393555,
-0.0031412870157510042,
0.021616589277982712,
0.06039690971374512,
0.02676570974290371,
0.06820154935121536,
0.011779826134443283,
-0.009933915920555592,
-0.022992925718426704,
-0.01071923691779375,
0.01139931008219719,
-0.023624422028660774,
-0.04031858220696449,
-0.048608988523483276,
-0.036464836448431015,
-0.03280540183186531,
-0.04750791937112808,
-0.0489652156829834,
-0.03759829327464104,
-0.06162751838564873,
0.05233319476246834,
0.019349681213498116,
-0.05693177878856659,
0.034327466040849686,
-0.05855099856853485,
-0.03403600677847862,
-0.007161001209169626,
-0.006995031144469976,
-0.028757350519299507,
-0.023915881291031837,
-0.011609808541834354,
0.03970327973365784,
-0.07176383584737778,
-0.015423071570694447,
-0.02020786702632904,
0.06318196654319763,
-0.026992399245500565,
0.007780352607369423,
-0.058810073882341385,
-0.05362857133150101,
-0.0512968935072422,
0.034748464822769165,
0.020968900993466377,
-0.023203425109386444,
-0.026830477640032768,
-0.029761265963315964,
0.046504002064466476,
-0.006691427435725927,
0.028854502364993095,
0.08251545578241348,
-0.024045418947935104,
-0.01464584656059742,
0.021810894832015038,
-0.01618410460650921,
-0.05304565280675888,
-0.04381609708070755,
0.0003137238963972777,
-0.027413396164774895,
-0.023268193006515503,
-0.049936749041080475,
-0.04252072051167488,
-0.03332354873418808,
0.031412869691848755,
0.0015989799285307527,
0.08815034478902817,
0.05764423683285713,
0.018183842301368713,
0.015236862003803253,
0.032853975892066956,
0.08905711024999619,
-0.038602206856012344,
0.032675862312316895,
-0.01708277314901352,
0.013139971531927586,
0.00952101405709982,
-0.041063424199819565,
-0.017552345991134644,
0.010460162535309792,
0.008140629157423973,
-0.019835446029901505,
-0.021244168281555176,
-0.02844969742000103,
-0.0297450739890337,
-0.04562962427735329,
0.00308663840405643,
0.05003390088677406,
0.03876413032412529,
0.03361501172184944,
0.018621031194925308,
0.05103781819343567,
0.06421826779842377,
-0.06033214181661606,
-0.0022061874624341726,
-0.03154240921139717,
-0.018054304644465446,
-0.0336797796189785,
-0.008031331934034824,
-0.007893698289990425,
0.032497748732566833,
-0.03908797353506088,
-0.0060194507241249084,
0.01771426759660244,
-0.08776172995567322,
-0.016232682392001152,
-0.03928228095173836,
-0.036076225340366364,
-0.025178873911499977,
0.04637446627020836,
-0.01849149353802204,
0.011115945875644684,
-0.052851345390081406,
-0.015601186081767082,
-0.016103144735097885,
0.009108113124966621,
-0.022005202248692513,
0.024822644889354706,
0.018880106508731842,
-0.02992318756878376,
-0.04083673283457756,
-0.06748909503221512,
0.04384848102927208,
0.02721909061074257,
-0.0017821541987359524,
0.03125094994902611,
0.0015676075126975775,
-0.0284173134714365,
-0.042876947671175,
0.01473490335047245,
0.029129769653081894,
-0.012306072749197483,
-0.02472549118101597,
-0.022960541769862175,
-0.04038335010409355,
-0.015285437926650047,
0.028822118416428566,
-0.004347606096416712,
0.002017953200265765,
0.013374757952988148,
-0.015358302742242813,
-0.02571321651339531,
0.05168550834059715,
0.003784927073866129,
0.032578710466623306,
0.0004083470848854631,
-0.03416554629802704,
-0.01624077744781971,
-0.02402922697365284,
0.002778986468911171,
0.013730986975133419,
-0.010095837526023388,
-0.014864441007375717,
-0.002993533154949546,
0.04734599590301514,
-0.02901642583310604,
0.0033760739024728537,
-0.029728882014751434,
-0.05489156395196915,
0.005966826342046261,
-0.003307257080450654,
0.006642850581556559,
0.04203495383262634,
0.01171505730599165,
0.003450962947681546,
-0.01816765032708645,
-0.03992996737360954,
0.03714491054415703,
0.018507685512304306,
0.02862781286239624,
-0.03834313154220581,
-0.01870199292898178,
-0.044852398335933685,
0.04417232424020767,
-0.03410077467560768,
-0.04313602298498154,
0.017406616359949112,
0.04967767372727394,
-0.0019207998411729932,
-0.03588191792368889,
0.00420187646523118,
0.0248712208122015,
0.01596551015973091,
0.0447552464902401,
-0.040674809366464615,
-0.0284173134714365,
0.005278657656162977,
0.08406990766525269,
0.033582624047994614,
-0.0267009399831295,
-0.0030097253620624542,
-0.04815560579299927,
-0.046925000846385956,
0.05048728361725807,
0.014216752722859383,
-0.0027810106985270977,
0.04125772789120674,
-0.024952182546257973,
-0.0420997254550457,
0.00416544359177351,
0.05132927745580673,
0.0016293402295559645,
0.06936739385128021,
0.031979598104953766,
0.027202898636460304,
-0.04057765752077103,
0.019284911453723907,
0.021584205329418182,
0.035590458661317825,
-0.03274063020944595,
-0.021163206547498703,
-0.013803851790726185,
-0.054211489856243134,
0.011512654833495617,
0.004768603481352329,
0.03293493762612343,
-0.01680750586092472,
-0.0009862062288448215,
-0.028109662234783173,
0.015560705214738846,
-0.053304728120565414,
0.0028903079219162464,
0.057903312146663666,
0.00643640011548996,
-0.0342303141951561,
0.008646635338664055,
0.030230840668082237,
-0.07176383584737778,
-0.012565148063004017,
-0.0031979598570615053,
0.023252001032233238,
-0.013552872464060783,
-0.018831530585885048,
0.00015256089682225138,
-0.06833109259605408,
-0.01431390643119812,
-0.017552345991134644,
0.0038031432777643204,
-0.04417232424020767,
0.016111239790916443,
-0.03918512910604477,
-0.012718974612653255,
0.04300648719072342,
0.019657332450151443,
-0.02129274420440197,
-0.013973869383335114,
-0.007885602302849293,
-0.0018752593314275146,
0.04844706505537033,
0.014500115998089314,
-0.017827613279223442,
0.04368656128644943,
0.011229291558265686,
-0.017827613279223442,
-0.03277301415801048,
0.12247781455516815,
0.030862335115671158,
0.03448938950896263,
0.0068250130861997604,
-0.04524100944399834,
0.04326556250452995,
-0.06852539628744125,
-0.03361501172184944,
-0.019058221951127052,
-0.018718184903264046,
0.05602501705288887,
0.029631728306412697,
0.08743789047002792,
-0.003973161336034536,
0.06651756167411804,
0.013544776476919651,
0.039411816745996475,
-0.07292967289686203,
-0.019349681213498116,
-0.011553135700523853,
0.0240939948707819,
0.017908575013279915,
-0.023041503503918648,
-0.022507160902023315,
-0.012832319363951683,
0.08173823356628418,
-0.030004149302840233,
-0.0005485108122229576,
-0.03753352165222168,
-0.015018266625702381,
0.01792476698756218,
0.014467732049524784,
0.007294586859643459,
0.007581998128443956,
0.013196644373238087,
-0.03672391176223755,
-0.00653355335816741,
-0.01753615401685238,
-0.008338984102010727,
0.003307257080450654,
0.012378937564790249,
0.03010130301117897,
-0.025421755388379097,
-0.01004726067185402,
0.016216490417718887,
0.030473724007606506,
-0.003667533630505204,
-0.002568488009274006,
-0.05100543424487114,
0.03549330681562424,
0.0004809589881915599,
-0.025567486882209778,
-0.023770151659846306,
-0.035201847553253174,
-0.03584953397512436,
-0.022458583116531372,
-0.06930261850357056,
0.07331828773021698,
-0.00485766027122736,
0.00954530294984579,
0.011585520580410957,
0.002831611316651106,
-0.01957637071609497,
0.010557315312325954,
0.06794247776269913,
0.010022972710430622,
0.013811947777867317,
-0.04090150073170662,
0.022863388061523438,
-0.02318723313510418,
-0.02090413123369217,
0.043589405715465546,
-0.019624948501586914,
-0.004493335727602243,
0.01807049661874771,
-0.04834991320967674,
-0.012330361641943455,
0.002171779051423073,
0.0037707588635385036,
-0.043589405715465546,
-0.001284244004637003,
0.06606417894363403,
-0.09100016951560974,
-0.0240939948707819,
-0.07435458898544312,
0.008646635338664055,
0.00387196009978652,
-0.02270146645605564,
0.023834921419620514,
-0.019770678132772446,
-0.0003253620525356382,
0.027445781975984573,
-0.01662939041852951,
0.026603786274790764,
0.01852387934923172,
-0.001352048828266561,
-0.03338832035660744,
-0.021308936178684235,
0.035169459879398346,
-0.042876947671175,
-0.0022466678638011217,
-0.020952709019184113,
-0.02294434979557991,
0.011431694030761719,
0.11224433779716492,
0.0044164229184389114,
-0.09171263128519058,
-0.011698865331709385,
0.011966036632657051,
0.04465809091925621,
0.06975600123405457,
0.011852691881358624,
0.04754030331969261,
0.003653365420177579,
0.005254369229078293,
0.047831762582063675,
0.033582624047994614,
-0.03756590560078621,
0.007699391804635525,
0.009431957267224789,
-0.000534848659299314,
0.003475251141935587,
0.00859805941581726,
-0.011569327674806118,
-0.033517856150865555,
-0.017066581174731255,
-0.009512918069958687,
-0.012978048995137215,
-0.008002995513379574,
0.016005991026759148,
0.000651736103463918,
0.027348628267645836,
0.022652890533208847,
0.05903676524758339,
0.005711799021810293,
0.0386669784784317,
-0.015147804282605648,
0.039768047630786896,
-0.033550240099430084,
0.03152621537446976,
0.059231072664260864,
-0.009861051104962826,
-0.053758107125759125,
0.038990821689367294,
0.03115379624068737,
0.04038335010409355,
-0.022992925718426704,
0.04158157482743263,
0.02760770358145237,
0.00871950015425682,
-0.004440711345523596,
-0.01876676082611084,
0.014913017861545086,
-0.04339509829878807,
-0.01904202811419964,
-0.02691143937408924,
0.07072753459215164,
-0.06101221591234207,
0.05398479849100113,
0.027591511607170105,
0.021794702857732773
] |
708,623
|
more_executors._impl.futures.base
|
f_return
|
Return a future which provides the value `x`.
Signature: :code:`A ⟶ Future<A>`
Arguments:
x
A value to be returned
Returns:
:class:`~concurrent.futures.Future` of :obj:`x`
A future immediately resolved with the value :obj:`x`.
.. versionadded:: 1.19.0
.. versionchanged:: 2.1.0
value now defaults to :code:`None`
|
def f_return(x=None):
"""Return a future which provides the value `x`.
Signature: :code:`A ⟶ Future<A>`
Arguments:
x
A value to be returned
Returns:
:class:`~concurrent.futures.Future` of :obj:`x`
A future immediately resolved with the value :obj:`x`.
.. versionadded:: 1.19.0
.. versionchanged:: 2.1.0
value now defaults to :code:`None`
"""
future = Future()
track_future(future, type="return", executor="none")
future.set_result(x)
return future
|
(x=None)
|
[
0.004726979415863752,
-0.05803316831588745,
-0.003908596932888031,
0.07014960050582886,
0.043262992054224014,
0.020217331126332283,
-0.02735799551010132,
0.008877817541360855,
0.04741819575428963,
-0.04542788863182068,
0.042529720813035965,
0.05213208124041557,
-0.01934438943862915,
0.006075674667954445,
0.08750367909669876,
0.05059570446610451,
-0.024372534826397896,
0.03074500896036625,
-0.002662472426891327,
0.033957432955503464,
0.035895366221666336,
0.01437735091894865,
-0.004244679119437933,
-0.0430884063243866,
0.008598476648330688,
-0.014185303822159767,
0.04595165327191353,
-0.00037127305404283106,
-0.03833960369229317,
0.028248395770788193,
0.05181782320141792,
-0.03383522108197212,
-0.10098190605640411,
-0.006376839708536863,
0.01943168416619301,
0.06431835144758224,
-0.07605068385601044,
0.07133679836988449,
0.005084885749965906,
-0.04155202955007553,
-0.016804128885269165,
-0.07367628812789917,
-0.029627643525600433,
0.005936003755778074,
-0.028510278090834618,
-0.01679539866745472,
0.00004705701576313004,
0.005988380406051874,
-0.0016716835089027882,
-0.0026057311333715916,
0.08149784058332443,
0.047383278608322144,
-0.010929230600595474,
-0.0031425904016941786,
0.05492549389600754,
0.03315432742238045,
0.03414948284626007,
0.028615031391382217,
0.0022718310356140137,
0.004369073547422886,
0.041482191532850266,
0.04319315776228905,
0.0053685917519032955,
0.04336774721741676,
0.01484000962227583,
0.06271213293075562,
0.03193220868706703,
-0.027654794976115227,
-0.03572077676653862,
0.034516118466854095,
0.0315830335021019,
0.03467324748635292,
-0.005866168532520533,
-0.03135606646537781,
0.07458414137363434,
0.0018680953653529286,
-0.031548116356134415,
0.019518977031111717,
-0.025612110272049904,
0.02746274694800377,
-0.05695072188973427,
0.018261941149830818,
-0.04671984165906906,
-0.027550041675567627,
-0.0412028506398201,
-0.008013605140149593,
0.002490066457539797,
-0.03844435513019562,
-0.03875861316919327,
0.03126877546310425,
-0.018855541944503784,
-0.02135215513408184,
-0.005853074602782726,
0.003517955308780074,
-0.005713403690606356,
-0.08757352083921432,
0.010475301183760166,
-0.0017360629281029105,
0.014944762922823429,
-0.00941031239926815,
-0.01964118890464306,
0.07493332028388977,
-0.00023596707615070045,
-0.004731344524770975,
0.05513500049710274,
0.0028370607178658247,
-0.0061716982163488865,
-0.013294902630150318,
0.046230994164943695,
-0.00929682981222868,
0.0011162742739543319,
-0.05017669126391411,
-0.006581980735063553,
0.03233376145362854,
-0.03256072849035263,
-0.04340266436338425,
-0.051747988909482956,
0.03215917572379112,
-0.010370547883212566,
-0.014525750651955605,
-0.029854608699679375,
0.006765298545360565,
-0.045497722923755646,
-0.042424969375133514,
-0.01808735355734825,
0.03980614244937897,
0.007983052171766758,
0.006769663188606501,
-0.014115468598902225,
-0.005329309497028589,
0.006228439509868622,
0.037571411579847336,
-0.0008429343579337001,
0.008965112268924713,
-0.017677070572972298,
0.01612323336303234,
0.019082507118582726,
0.04713885486125946,
0.006368109956383705,
0.028684865683317184,
-0.025402605533599854,
-0.020793473348021507,
0.03380030393600464,
0.016620811074972153,
0.06934649497270584,
-0.004923391621559858,
0.017301704734563828,
0.004089732188731432,
-0.03247343376278877,
-0.00745055777952075,
0.030570419505238533,
0.012526714242994785,
0.014386080205440521,
-0.01742391660809517,
-0.017930224537849426,
0.025070887058973312,
0.03308449313044548,
-0.011906925588846207,
0.0186111181974411,
0.0004231039492879063,
0.025769241154193878,
0.02906895987689495,
0.047173772007226944,
-0.04801179841160774,
0.03949188441038132,
0.03551127016544342,
0.04619607701897621,
0.048360973596572876,
0.016935070976614952,
0.03352096304297447,
-0.04996718466281891,
0.05349387228488922,
-0.012823514640331268,
-0.012369584292173386,
-0.03729207068681717,
0.03998073190450668,
-0.029767313972115517,
0.020758554339408875,
0.03774600103497505,
0.044135935604572296,
0.015346315689384937,
-0.08757352083921432,
0.005717768333852291,
-0.06473735719919205,
0.016201799735426903,
0.011732337065041065,
-0.0025228017475456,
0.04319315776228905,
0.024232862517237663,
0.012387043796479702,
0.014063091948628426,
-0.02831823006272316,
0.05178290605545044,
-0.035755693912506104,
-0.016358928754925728,
-0.03299719840288162,
-0.06578489392995834,
-0.005089250393211842,
0.06131542846560478,
-0.05974413454532623,
0.009960265830159187,
-0.03331145644187927,
0.0301164910197258,
-0.019396765157580376,
-0.04109809920191765,
-0.010824478231370449,
-0.006459768861532211,
-0.008292946964502335,
-0.04609132558107376,
0.012465608306229115,
-0.02927846647799015,
-0.0001898648333735764,
-0.0752824991941452,
0.020566508173942566,
-0.045497722923755646,
-0.04375183954834938,
-0.039247460663318634,
-0.0027323076501488686,
0.038304682821035385,
0.0416218638420105,
-0.01204659603536129,
-0.021823544055223465,
0.03231630474328995,
0.04734836146235466,
0.05516991764307022,
0.005573733244091272,
-0.030168866738677025,
-0.0212299432605505,
-0.0028981666546314955,
-0.11704403162002563,
-0.01272749062627554,
0.02114264853298664,
-0.012430690228939056,
-0.09700129181146622,
0.0386887788772583,
-0.025193098932504654,
0.08338339626789093,
0.0598139688372612,
-0.04780229181051254,
0.01694379933178425,
0.007446193136274815,
0.028196018189191818,
0.0727684274315834,
0.0361747071146965,
0.005630474537611008,
0.014979681000113487,
0.005717768333852291,
0.03315432742238045,
-0.011610125191509724,
0.019868154078722,
-0.04483428969979286,
0.005351133178919554,
-0.007712440565228462,
-0.01691761054098606,
0.005569368600845337,
-0.017458835616707802,
-0.010134853422641754,
-0.02777700684964657,
0.01685650460422039,
0.07053369283676147,
0.06791486591100693,
-0.030378373339772224,
-0.011435536667704582,
0.030273620039224625,
-0.04947833716869354,
-0.055763520300388336,
-0.06522620469331741,
-0.06798470765352249,
0.05527467280626297,
0.008729417808353901,
0.02653742954134941,
-0.023010745644569397,
0.004216308705508709,
-0.09190330654382706,
-0.027323076501488686,
-0.0629565566778183,
-0.030518043786287308,
-0.000643794541247189,
-0.0378507561981678,
0.030797384679317474,
-0.057649072259664536,
0.0018539100419729948,
-0.011828361079096794,
0.003611796535551548,
-0.07996146380901337,
0.03360825777053833,
-0.02674693614244461,
-0.0013716097455471754,
-0.015398692339658737,
0.008973841555416584,
0.018419072031974792,
0.0313735269010067,
-0.022679027169942856,
-0.03444628044962883,
0.03373046964406967,
0.03500496596097946,
-0.039736308157444,
-0.008288581855595112,
0.004853556398302317,
-0.003679449437186122,
0.04417085275053978,
0.025647029280662537,
0.009427770972251892,
0.02262664958834648,
0.014761445112526417,
-0.005010685883462429,
0.03336383402347565,
-0.009602359496057034,
-0.04881490394473076,
0.011583937332034111,
0.007088287267833948,
0.015101892873644829,
0.004897203296422958,
-0.08352306485176086,
0.004905932582914829,
-0.02505342848598957,
0.006625628098845482,
-0.03404472768306732,
0.032805152237415314,
-0.05111946910619736,
0.017284246161580086,
-0.030378373339772224,
0.05503024905920029,
0.0386887788772583,
-0.007005357649177313,
-0.019361848011612892,
-0.07472381740808487,
0.05216699838638306,
-0.04354233667254448,
0.0186111181974411,
-0.024442369118332863,
-0.05317961052060127,
-0.036104872822761536,
0.02863248996436596,
-0.10321663320064545,
0.006403027568012476,
0.0320020467042923,
0.01600102335214615,
0.06047740578651428,
0.027550041675567627,
0.008223111741244793,
-0.011924384161829948,
-0.02526293508708477,
0.01278859656304121,
0.01643749326467514,
0.021701332181692123,
0.06784503161907196,
0.013652808964252472,
0.06599439680576324,
-0.061036087572574615,
0.012648926116526127,
-0.00024810642935335636,
-0.02451220527291298,
-0.0003322634438518435,
0.0361747071146965,
0.051922574639320374,
0.023377379402518272,
-0.000055820531997596845,
-0.0197634007781744,
-0.0070751928724348545,
0.004403991159051657,
-0.023831309750676155,
-0.0310592669993639,
0.009043676778674126,
-0.053214531391859055,
0.00678712222725153,
-0.035755693912506104,
0.04986243322491646,
-0.027008818462491035,
0.03484783321619034,
0.01295445580035448,
0.02060142531991005,
0.009087324142456055,
0.023639263585209846,
0.05220191553235054,
0.003960973117500544,
-0.0024922487791627645,
-0.006346286740154028,
-0.013024291023612022,
-0.02926100790500641,
-0.0069748046807944775,
-0.052900269627571106,
-0.05740464851260185,
-0.0384792722761631,
0.016655728220939636,
0.0418313704431057,
0.04504379630088806,
-0.05516991764307022,
0.0008729417459107935,
0.010265795513987541,
-0.024669334292411804,
-0.04092350974678993,
0.03854910656809807,
0.03023870289325714,
-0.02674693614244461,
-0.05115438625216484,
0.032194092869758606,
0.011741066351532936,
0.018017517402768135,
-0.02578669972717762,
0.016184339299798012,
0.07102254033088684,
0.023307545110583305,
-0.01067607756704092,
-0.038304682821035385,
0.030779926106333733,
-0.0035834258887916803,
-0.10028354823589325,
0.022993285208940506,
-0.015966104343533516,
-0.08694499731063843,
-0.06854338943958282,
-0.04609132558107376,
-0.03331145644187927,
0.015032056719064713,
0.06885764747858047,
0.022975826635956764,
0.029400678351521492,
0.013513138517737389,
-0.026293005794286728,
-0.05370337516069412,
-0.020461754873394966,
-0.04706902056932449,
0.034393906593322754,
-0.02812618389725685,
0.03160049021244049,
0.03128623217344284,
0.06704192608594894,
-0.0439264290034771,
0.029034042730927467,
-0.013181420974433422,
-0.060651995241642,
0.015189186669886112,
0.01141807809472084,
0.005674121435731649,
-0.022783780470490456,
0.01964118890464306,
-0.03456849232316017,
-0.012352125719189644,
0.06746093928813934,
-0.01300683245062828,
0.009646006859838963,
-0.010257065296173096,
-0.0013650626642629504,
0.04720868915319443,
-0.03256072849035263,
-0.0386887788772583,
0.031443361192941666,
0.06585472822189331,
-0.010431653819978237,
-0.012360855005681515,
0.004534932319074869,
0.024878840893507004,
0.03172270208597183,
0.032281387597322464,
-0.022033050656318665,
-0.0824057012796402,
-0.058591850101947784,
-0.0023132956121116877,
0.009366665035486221,
0.0572998970746994,
-0.0002606549533084035,
0.05534450709819794,
-0.029086420312523842,
-0.04235513508319855,
-0.0150058688595891,
0.0214394498616457,
-0.05010685697197914,
-0.03531922399997711,
-0.0288594551384449,
0.0037885671481490135,
-0.017537400126457214,
-0.07039402425289154,
-0.0646326094865799,
0.062083616852760315,
-0.038095179945230484,
-0.033433668315410614,
0.025280393660068512,
0.015538363717496395,
-0.03844435513019562,
-0.02884199656546116,
0.0050412388518452644,
0.02175370790064335,
0.061769358813762665,
-0.026799311861395836,
0.008249299600720406,
0.09469672292470932,
-0.022050509229302406,
0.07493332028388977,
-0.02473916858434677,
-0.03538905829191208,
0.004129014443606138,
0.046440500766038895,
-0.045392971485853195,
-0.03289244696497917,
-0.028999125584959984,
0.022888533771038055,
0.018104812130331993,
-0.014237680472433567,
-0.02292345091700554,
0.022486979141831398,
0.013443303294479847,
-0.05433189496397972,
0.045183464884757996,
-0.007411275524646044,
-0.004678967874497175,
-0.016262905672192574,
-0.05042111501097679,
-0.011775984428822994,
-0.006407392676919699,
-0.02674693614244461,
0.013198879547417164,
-0.0315830335021019,
-0.06487703323364258,
-0.04151710867881775,
0.001977213192731142,
-0.015285209752619267,
-0.026135876774787903,
-0.01606212742626667,
0.004696426447480917,
-0.0197634007781744,
0.07070828229188919,
0.0629565566778183,
0.035668399184942245,
-0.01700490526854992,
0.07151138782501221,
0.018733330070972443,
-0.022975826635956764,
-0.015442339703440666,
0.03315432742238045,
-0.03231630474328995,
-0.06554047018289566,
-0.0407838374376297,
-0.0006099680322222412,
0.007197404745966196,
-0.013967067934572697,
-0.0733969435095787,
0.037361908704042435,
-0.02823093719780445,
-0.07039402425289154,
0.02177116833627224,
0.05276060104370117,
-0.018436530604958534,
0.06215345486998558,
-0.003797296667471528,
-0.06009330973029137,
-0.013897232711315155,
0.0212299432605505,
0.04483428969979286,
-0.028056347742676735,
-0.02185846120119095,
-0.022067967802286148,
0.08966857939958572,
-0.03559856489300728,
-0.008768700063228607,
-0.023394839838147163,
0.029627643525600433,
0.05188765749335289,
-0.011086360551416874,
-0.00930555909872055,
0.04626591503620148,
0.030395831912755966,
0.026694558560848236,
-0.036628637462854385,
-0.055623847991228104,
0.009689653292298317,
0.04734836146235466,
-0.036104872822761536,
0.017877846956253052,
-0.08917973190546036,
0.028475360944867134,
0.04996718466281891,
0.0403648279607296,
0.02377893403172493,
-0.06910207122564316,
-0.001892101252451539,
0.02831823006272316,
-0.06606423109769821,
-0.018680954352021217,
0.01204659603536129,
-0.05010685697197914,
-0.07283826172351837,
0.0021823544520884752,
-0.03348604589700699,
-0.0384792722761631,
-0.005979651119560003,
0.006560157518833876,
0.015389963053166866,
-0.0101435836404562,
0.024669334292411804,
0.008327864110469818,
-0.00233730161562562,
-0.006896239705383778,
0.027445288375020027,
0.0604424886405468,
-0.053843047469854355,
-0.03315432742238045,
0.04368200525641441,
0.0583474263548851,
-0.028702324256300926,
0.022120343521237373,
-0.02524547651410103,
-0.021317237988114357,
-0.013216338120400906,
0.010815748013556004,
0.027550041675567627,
-0.02767225354909897,
-0.039456967264413834,
0.027811923995614052,
-0.06225820630788803,
0.03645404800772667,
-0.028667407110333443,
-0.0004149201267864555,
0.013766291551291943,
0.0012002949370071292,
0.03559856489300728,
-0.0017415188485756516,
0.0012701302766799927,
-0.06934649497270584,
0.007040275260806084,
-0.02461695671081543,
0.0026188252959400415,
-0.020845849066972733,
0.014665421098470688,
0.037780918180942535,
-0.02397098019719124,
0.003133860882371664,
-0.02641521766781807,
0.0018571836408227682,
0.04144727438688278,
-0.0765395313501358,
0.0032953552436083555,
-0.007900122553110123,
0.004548026714473963,
0.04008548706769943,
-0.0008112902287393808,
0.03495258837938309,
0.01721441186964512,
-0.006036392413079739,
-0.03970139101147652,
-0.010501489043235779,
0.06355015933513641,
-0.01727551780641079,
-0.011487913317978382,
-0.004229402635246515,
-0.011767255142331123,
-0.014517021365463734,
-0.0212299432605505,
0.0322115495800972,
-0.04979259893298149,
-0.004731344524770975,
0.0055213565938174725,
-0.004661508835852146,
-0.015939917415380478,
0.03135606646537781,
-0.0189253780990839,
0.012509255670011044,
-0.019780859351158142,
0.021160108968615532,
0.03718731924891472,
0.03327653929591179,
-0.017842929810285568,
-0.013434574007987976,
0.03076246753334999,
-0.04424068704247475,
-0.02060142531991005,
-0.044554948806762695,
-0.031652867794036865,
-0.050560787320137024,
-0.008581017144024372,
0.06054724007844925,
-0.031198939308524132,
0.01367899775505066,
0.03624454140663147,
0.04008548706769943,
-0.06641341000795364,
-0.042634475976228714,
0.07207006961107254,
-0.01574786938726902,
0.04797687754034996,
0.07961228489875793,
0.04071400314569473,
0.0020677808206528425,
0.033433668315410614,
-0.012168807908892632,
-0.01347822044044733,
0.009104782715439796,
-0.011810901574790478,
-0.010632430203258991,
-0.010161042213439941,
-0.004369073547422886,
-0.04514854773879051,
-0.015389963053166866,
0.01838415302336216,
-0.037152402102947235,
0.08862105011940002,
-0.007485475391149521,
0.025751782581210136,
0.021736249327659607,
0.05461123585700989,
0.022486979141831398,
-0.0030967609491199255,
0.0009253182797692716,
0.019623730331659317,
-0.001859365962445736,
-0.0041944850236177444,
-0.014988410286605358,
0.023377379402518272,
-0.029191171750426292,
-0.014150385744869709,
0.002250007353723049,
0.005403509363532066,
-0.02746274694800377,
0.05908069759607315,
0.015128080733120441,
0.018785705789923668,
-0.07416512817144394,
0.014866198413074017,
-0.0002210997772635892,
0.04630083218216896,
0.008249299600720406,
-0.008581017144024372,
0.04986243322491646,
-0.023517051711678505,
-0.029243549332022667,
0.026170793920755386,
-0.015416151843965054,
0.0009924257174134254,
0.003308449173346162,
0.05244633927941322,
0.04986243322491646,
0.07961228489875793,
0.035354141145944595,
0.006459768861532211,
-0.00023678544675931334,
-0.03498750552535057,
0.029435595497488976,
0.04616115987300873,
-0.0587664395570755,
-0.023098038509488106,
0.00442363228648901,
0.002518436871469021,
0.004235949832946062,
-0.026275547221302986,
0.06344540417194366,
0.009061135351657867,
-0.042005956172943115,
0.002900348976254463,
-0.004582944326102734,
0.047313444316387177,
-0.0009711477323435247,
-0.02026970684528351,
0.0006307004368864,
0.0313735269010067,
0.03970139101147652,
0.0023744015488773584,
-0.04239005222916603,
0.04787212610244751,
0.007908852770924568,
0.04605640843510628,
-0.05565876513719559,
0.006992263253778219,
-0.010222148150205612,
0.016245445236563683,
-0.052376504987478256,
0.018453989177942276,
-0.009855512529611588,
0.06466752290725708
] |
708,624
|
more_executors._impl.futures.base
|
f_return_cancelled
|
Returns:
:class:`~concurrent.futures.Future`
A future which is cancelled.
.. versionadded:: 1.19.0
|
def f_return_cancelled():
"""
Returns:
:class:`~concurrent.futures.Future`
A future which is cancelled.
.. versionadded:: 1.19.0
"""
f = Future()
track_future(f, type="return_cancelled", executor="none")
f.cancel()
f.set_running_or_notify_cancel()
return f
|
()
|
[
-0.017992312088608742,
-0.02310296893119812,
-0.010781385935842991,
0.04589089751243591,
-0.015069437213242054,
-0.020740166306495667,
-0.030121371150016785,
-0.005911384709179401,
0.07574974000453949,
-0.04074523597955704,
-0.005780118051916361,
0.011586489155888557,
-0.047361087054014206,
-0.012802896089851856,
0.058492518961429596,
0.042425453662872314,
-0.024573158472776413,
-0.014526867307722569,
-0.014141817577183247,
0.004325243644416332,
-0.005364439450204372,
0.029806330800056458,
-0.03456694260239601,
-0.07799002528190613,
0.04162035137414932,
0.00793727021664381,
-0.014474360272288322,
0.010632616467773914,
-0.06696360558271408,
-0.01905995048582554,
0.07855010032653809,
0.021755296736955643,
-0.07911016792058945,
0.008125419728457928,
0.025623293593525887,
0.031241515651345253,
-0.0598226897418499,
0.029176250100135803,
0.011210191063582897,
-0.0337093323469162,
-0.023960579186677933,
-0.06773370504379272,
-0.04683602228760719,
0.007919767871499062,
0.005648850928992033,
-0.04183037579059601,
-0.022052835673093796,
-0.020040076225996017,
0.011393964290618896,
0.014990677125751972,
0.0515616275370121,
0.05992770195007324,
-0.023348001763224602,
0.011840271763503551,
0.011507729068398476,
0.02207033708691597,
-0.0037717348895967007,
0.02854616940021515,
0.011603991501033306,
-0.030086368322372437,
-0.050966549664735794,
0.02756604366004467,
0.01963752508163452,
0.049426354467868805,
0.04445571452379227,
0.030838964506983757,
0.06325313448905945,
0.02672593481838703,
-0.010737630538642406,
0.01197153888642788,
-0.00260564754717052,
0.017922304570674896,
0.03973010554909706,
-0.024380633607506752,
0.03724478930234909,
-0.07602977007627487,
-0.0006596160237677395,
0.02606084942817688,
-0.04389564320445061,
0.026130858808755875,
-0.05250674858689308,
0.01470188982784748,
-0.0048043676652014256,
0.027356017380952835,
-0.014316840097308159,
-0.015209455043077469,
0.01668839529156685,
-0.01835986040532589,
-0.09668242931365967,
0.04123530164361,
0.009066165424883366,
-0.0096262376755476,
-0.024100597947835922,
-0.04260047525167465,
-0.0264809038490057,
-0.02630588226020336,
0.01223407220095396,
-0.013091682456433773,
-0.012461601756513119,
-0.05856252834200859,
0.05250674858689308,
0.06367318332195282,
0.02522074244916439,
-0.008711745031177998,
0.06258804351091385,
0.02700597234070301,
-0.019620021805167198,
-0.0168546661734581,
0.029228758066892624,
-0.0015970802633091807,
-0.00037274323403835297,
-0.007399076130241156,
0.02081017568707466,
0.023890571668744087,
-0.036089640110731125,
-0.06482833623886108,
-0.06979896873235703,
0.03825991973280907,
0.012312832288444042,
-0.017764784395694733,
0.0033998119179159403,
0.012995420955121517,
-0.028756195679306984,
-0.0798102617263794,
0.006550217047333717,
0.08730122447013855,
-0.035424552857875824,
0.01638210564851761,
-0.013625501655042171,
-0.0027697309851646423,
-0.009372455067932606,
0.0023102969862520695,
0.07224928587675095,
-0.022700417786836624,
0.0071846735663712025,
0.015209455043077469,
0.04505079239606857,
0.04788615554571152,
-0.019234972074627876,
0.025273248553276062,
-0.005718860309571028,
-0.023733051493763924,
0.04165535420179367,
0.018149832263588905,
0.048341214656829834,
0.020932691171765327,
-0.004099902231246233,
-0.007228428963571787,
-0.035477060824632645,
-0.041725363582372665,
0.029928846284747124,
0.006677108351141214,
0.020267605781555176,
0.016058314591646194,
0.011341458186507225,
0.03393686190247536,
0.02399558387696743,
0.00788038782775402,
0.007823505438864231,
-0.002292794641107321,
0.035564571619033813,
0.05695232003927231,
0.02173779346048832,
-0.0756797268986702,
-0.0031219637021422386,
0.024100597947835922,
0.06643854081630707,
0.029386278241872787,
-0.031679071485996246,
0.03531954064965248,
-0.02977132610976696,
0.030453914776444435,
0.028808703646063805,
0.0453658327460289,
-0.0728093609213829,
0.04659098759293556,
-0.022665413096547127,
0.03629966452717781,
0.00645832996815443,
0.018517380580306053,
-0.01995256543159485,
-0.05019645392894745,
-0.028703689575195312,
-0.014036804437637329,
0.05856252834200859,
-0.02145775780081749,
0.020442627370357513,
0.035564571619033813,
0.05075652524828911,
-0.023593032732605934,
0.024590661749243736,
-0.04260047525167465,
0.04253046587109566,
0.00001119528678827919,
-0.030628936365246773,
-0.04904130473732948,
-0.04606592282652855,
0.001996350474655628,
0.0405702143907547,
-0.04141032323241234,
0.04288051277399063,
0.03516202047467232,
0.03987012431025505,
-0.029806330800056458,
-0.011236444115638733,
0.042810503393411636,
-0.019830049946904182,
-0.03339429199695587,
-0.005412570666521788,
0.031031489372253418,
-0.020390121266245842,
-0.0030388280283659697,
-0.036369673907756805,
0.018429869785904884,
-0.005679480265825987,
0.003625153563916683,
0.004502453841269016,
-0.0009484031470492482,
-0.016670893877744675,
0.0329742394387722,
-0.04589089751243591,
0.010623865760862827,
0.024153104051947594,
-0.01679340936243534,
-0.01855238527059555,
0.04004514589905739,
-0.0261133573949337,
-0.015445735305547714,
0.008519220165908337,
-0.09745252877473831,
-0.028476160019636154,
-0.003366995370015502,
-0.042985524982213974,
-0.09136174619197845,
0.027251003310084343,
0.023032961413264275,
0.04617093503475189,
0.005942014046013355,
-0.029876340180635452,
0.028948720544576645,
0.018184836953878403,
-0.024293122813105583,
0.06090782955288887,
0.03047141619026661,
0.038960009813308716,
0.03461945056915283,
0.026935962960124016,
0.039240043610334396,
0.05996270850300789,
0.010755132883787155,
-0.03255418315529823,
0.017414739355444908,
-0.048901285976171494,
0.0013564244145527482,
0.018989941105246544,
-0.05600719898939133,
-0.02940377965569496,
-0.05716234818100929,
0.04578588530421257,
0.06965895742177963,
0.01244409941136837,
-0.01844737119972706,
0.016802160069346428,
-0.00011547382746357471,
-0.01690717414021492,
-0.05555213987827301,
-0.058107469230890274,
-0.033271778374910355,
0.08240059018135071,
0.008611107245087624,
-0.013678008690476418,
-0.03752482309937477,
-0.0077316188253462315,
-0.07238930463790894,
-0.03804989159107208,
-0.034829478710889816,
-0.029333770275115967,
0.042950522154569626,
-0.036229658871889114,
0.01223407220095396,
-0.016775906085968018,
0.021965323016047478,
0.007105913478881121,
-0.04704604670405388,
-0.03808489441871643,
0.04183037579059601,
-0.014640632085502148,
0.005640100222080946,
0.02935127355158329,
0.015410730615258217,
0.023190481588244438,
0.022227857261896133,
0.021825306117534637,
-0.04823619872331619,
0.037734851241111755,
-0.018202340230345726,
-0.01488566305488348,
-0.09192181378602982,
-0.022227857261896133,
-0.0004244295705575496,
0.05789744108915329,
0.017475996166467667,
0.0036120268050581217,
0.033131759613752365,
-0.0051237838342785835,
0.02798609808087349,
0.017169706523418427,
0.018569886684417725,
-0.023733051493763924,
-0.0031810340005904436,
0.019147461280226707,
0.007744745351374149,
0.0016605259152129292,
-0.061677929013967514,
-0.0030716448090970516,
0.01768602430820465,
0.0019558763597160578,
-0.05555213987827301,
0.010851395316421986,
-0.023488018661737442,
0.023067966103553772,
-0.055027075111866,
0.04841122403740883,
0.02000507153570652,
-0.013004171662032604,
-0.03409438207745552,
-0.0501614473760128,
0.03573959320783615,
-0.04606592282652855,
0.029508793726563454,
0.03290423005819321,
-0.024765683338046074,
-0.03811990097165108,
-0.00109881313983351,
-0.04526081681251526,
-0.028003599494695663,
0.04837621748447418,
-0.028913715854287148,
0.024398136883974075,
-0.040605220943689346,
0.036789730191230774,
-0.018202340230345726,
0.0049968925304710865,
0.018202340230345726,
-0.08828134834766388,
0.04550584778189659,
0.03558207303285599,
0.02742602489888668,
0.08856138586997986,
-0.056882310658693314,
0.05859753116965294,
0.019987570121884346,
0.010361331515014172,
0.04039519280195236,
-0.00793727021664381,
0.04683602228760719,
0.002367179375141859,
0.046275947242975235,
-0.017283471301198006,
-0.009337450377643108,
0.015515744686126709,
-0.036089640110731125,
0.023540526628494263,
0.027723563835024834,
-0.035669583827257156,
0.02854616940021515,
-0.018709905445575714,
-0.00441494258120656,
-0.06419825553894043,
0.029701318591833115,
-0.030733950436115265,
0.025990841910243034,
0.029386278241872787,
-0.013599247671663761,
0.04662599414587021,
0.004913756623864174,
-0.0031329027842730284,
-0.01559450477361679,
-0.03804989159107208,
0.01559450477361679,
-0.006812750827521086,
-0.027828577905893326,
-0.08093040436506271,
-0.031259018927812576,
0.009967531077563763,
0.01844737119972706,
-0.019480004906654358,
-0.023418011143803596,
-0.016530875116586685,
-0.0004897895269095898,
-0.052296724170446396,
-0.06307810544967651,
0.02212284319102764,
0.011210191063582897,
-0.023593032732605934,
-0.0426354818046093,
-0.02221035584807396,
0.01629459485411644,
0.060837820172309875,
-0.04029018059372902,
0.03066394105553627,
0.09010158479213715,
0.039940133690834045,
-0.025885827839374542,
0.009153676219284534,
0.036229658871889114,
-0.024398136883974075,
-0.07301938533782959,
0.004716856405138969,
-0.02940377965569496,
-0.04911131411790848,
-0.003323239739984274,
0.018517380580306053,
-0.0219828262925148,
-0.02193031832575798,
0.06755868345499039,
-0.05677729845046997,
-0.03460194915533066,
0.01905995048582554,
-0.011752760969102383,
-0.039800114929676056,
-0.02089768648147583,
0.0014176822733134031,
0.0004558789078146219,
-0.03419939801096916,
0.06286808103322983,
0.05485204979777336,
0.053136829286813736,
-0.05887756869196892,
0.018184836953878403,
-0.026463402435183525,
-0.023418011143803596,
0.02793359011411667,
0.01354674156755209,
-0.011455222964286804,
0.023207983002066612,
-0.03316676244139671,
-0.04361560568213463,
-0.023750552907586098,
0.09976282715797424,
-0.012995420955121517,
0.00716279586777091,
0.00045669934479519725,
0.02522074244916439,
0.05859753116965294,
-0.04893628880381584,
-0.03903001546859741,
0.03587961196899414,
0.060137730091810226,
-0.019269976764917374,
0.024013087153434753,
0.02793359011411667,
0.005937638226896524,
0.04207540675997734,
0.010291323065757751,
0.055027075111866,
-0.06325313448905945,
-0.06377819925546646,
-0.04904130473732948,
-0.0023321746848523617,
0.0030782080721110106,
0.04977639764547348,
0.025938333943486214,
-0.04253046587109566,
0.013607999309897423,
0.009433712810277939,
0.035984624177217484,
-0.03976511210203171,
-0.04781614616513252,
-0.007171547040343285,
0.046941034495830536,
-0.038960009813308716,
-0.02483569271862507,
-0.055342115461826324,
0.015034432522952557,
0.026078352704644203,
-0.04960137605667114,
0.04466574266552925,
0.04582089185714722,
0.0015609818510711193,
-0.025045718997716904,
-0.027723563835024834,
-0.019374990835785866,
0.009424961172044277,
-0.012242823839187622,
0.004537458065897226,
0.0756097212433815,
-0.00951247289776802,
0.06573844701051712,
-0.0011792141012847424,
-0.053556885570287704,
-0.026183364912867546,
0.017764784395694733,
-0.07102412730455399,
0.0391700342297554,
-0.05065150931477547,
0.004202727694064379,
0.07060407847166061,
-0.01724846661090851,
-0.0019843175541609526,
0.04659098759293556,
-0.020967695862054825,
-0.08156048506498337,
0.03174908086657524,
-0.006628977134823799,
-0.06346315890550613,
-0.007801627740263939,
-0.03467195853590965,
-0.004349309019744396,
-0.022595403715968132,
-0.016810910776257515,
0.011927783489227295,
0.03563458099961281,
-0.06286808103322983,
-0.026935962960124016,
-0.002345301443710923,
-0.05887756869196892,
-0.04988141357898712,
0.0033188641536980867,
0.02865118347108364,
0.02394307777285576,
-0.007136542350053787,
0.006143289618194103,
0.056567270308732986,
-0.06080281734466553,
0.003246667329221964,
0.019742537289857864,
-0.02343551255762577,
-0.045330826193094254,
-0.02592083252966404,
-0.022560400888323784,
-0.032046619802713394,
0.0220178309828043,
0.013415474444627762,
-0.01891993172466755,
-0.015813283622264862,
-0.08569101244211197,
0.028213627636432648,
-0.013818026520311832,
-0.02558828890323639,
-0.013940542005002499,
0.06409323960542679,
0.0626230463385582,
0.09052163362503052,
0.03460194915533066,
-0.012452851049602032,
-0.007613478694111109,
0.001462531741708517,
0.01612832397222519,
0.030768955126404762,
0.01919996738433838,
0.0023124846629798412,
0.09563229233026505,
-0.08632109314203262,
0.009958780370652676,
0.014666885137557983,
0.06367318332195282,
0.017370982095599174,
-0.011700253933668137,
-0.013529239222407341,
0.013651754707098007,
-0.004279300104826689,
0.041445326060056686,
-0.08128044754266739,
-0.01634710095822811,
0.04452572390437126,
0.06979896873235703,
-0.0016025498043745756,
-0.01699468493461609,
-0.062202997505664825,
0.01559450477361679,
-0.03292173147201538,
0.014876912347972393,
0.021667785942554474,
-0.005609470885246992,
0.034024372696876526,
0.03727979212999344,
-0.05621722713112831,
-0.018762411549687386,
-0.01727472059428692,
-0.023680543527007103,
-0.0810704231262207,
-0.004478388000279665,
-0.050546497106552124,
-0.010527603328227997,
-0.007215302437543869,
-0.024310624226927757,
-0.012645375914871693,
0.0250807236880064,
0.034444428980350494,
0.030348900705575943,
0.07883013039827347,
0.003572646761313081,
-0.012094054371118546,
0.06199296936392784,
-0.007425329647958279,
-0.028476160019636154,
0.037734851241111755,
0.015717020258307457,
0.05751239135861397,
0.014938170090317726,
-0.06185295060276985,
-0.004115216434001923,
0.017834791913628578,
-0.019042447209358215,
0.0035420178901404142,
-0.03349930793046951,
-0.07995028048753738,
0.01727472059428692,
-0.034706961363554,
0.006257054395973682,
-0.017335979267954826,
0.01755475625395775,
-0.021352745592594147,
0.05240173637866974,
-0.010956408455967903,
-0.00951247289776802,
-0.0163558516651392,
-0.04183037579059601,
0.010142553597688675,
-0.00972250010818243,
-0.015069437213242054,
-0.019234972074627876,
-0.019077451899647713,
-0.01556825079023838,
-0.05737237632274628,
0.025850823149085045,
-0.0014286211226135492,
-0.03889000043272972,
0.06521338224411011,
-0.03461945056915283,
0.0223503727465868,
-0.027215998619794846,
0.02817862294614315,
-0.02343551255762577,
0.008996156044304371,
0.01786104589700699,
0.0054957065731287,
0.012794144451618195,
-0.009888770990073681,
-0.015008179470896721,
0.043545596301555634,
-0.040080152451992035,
0.020652655512094498,
-0.047361087054014206,
-0.06563343852758408,
-0.03626466169953346,
-0.07399950921535492,
0.04400065541267395,
-0.04480575770139694,
-0.016303345561027527,
0.04823619872331619,
0.011603991501033306,
-0.054116956889629364,
-0.030681444332003593,
-0.03945007175207138,
0.009407458826899529,
0.024678172543644905,
0.04193539172410965,
0.01615457609295845,
0.0326416976749897,
-0.007919767871499062,
-0.024380633607506752,
0.049006298184394836,
-0.06493334472179413,
-0.014780649915337563,
-0.015183201991021633,
-0.00035742876934818923,
-0.011323955841362476,
-0.035477060824632645,
0.0315740592777729,
-0.0021002700086683035,
-0.039555083960294724,
0.06377819925546646,
-0.002203095704317093,
0.027688559144735336,
-0.052856795489788055,
0.05261176452040672,
0.0016102070221677423,
0.014036804437637329,
0.03794487938284874,
0.07504964619874954,
0.0066639818251132965,
0.0020269793458282948,
0.05212169885635376,
-0.0050975303165614605,
0.034724462777376175,
-0.047641124576330185,
0.024363132193684578,
-0.01916496269404888,
-0.03412938863039017,
0.022280363366007805,
-0.04004514589905739,
0.03407688066363335,
0.0009172272984869778,
0.07011400908231735,
0.021772798150777817,
-0.01874491013586521,
0.02014509029686451,
0.09318197518587112,
0.033026743680238724,
-0.003572646761313081,
0.01846487447619438,
-0.016565879806876183,
-0.025815818458795547,
-0.003892062697559595,
0.04358060285449028,
-0.012269076891243458,
-0.026830948889255524,
-0.01573452167212963,
0.01760726422071457,
0.04813118651509285,
0.0043077412992715836,
0.06573844701051712,
-0.01891993172466755,
0.027215998619794846,
-0.06706862151622772,
-0.03241416811943054,
0.04690602794289589,
-0.007324691396206617,
0.054957065731287,
0.012479104101657867,
-0.002294982550665736,
0.06797873973846436,
-0.005040647927671671,
0.01754600554704666,
-0.035984624177217484,
0.011026417836546898,
-0.02028510719537735,
0.025343257933855057,
0.03822491317987442,
0.03797988221049309,
-0.022472888231277466,
-0.017257219180464745,
-0.012102806009352207,
-0.01439560018479824,
0.032431669533252716,
0.05667228624224663,
-0.06398822367191315,
-0.023470517247915268,
-0.015174450352787971,
-0.007762247696518898,
0.021965323016047478,
0.022455386817455292,
0.05779242888092995,
0.038154903799295425,
-0.03920504078269005,
-0.014850659295916557,
0.01702093705534935,
0.010790136642754078,
-0.004032080993056297,
-0.0024350006133317947,
-0.027513537555933,
0.00279379659332335,
-0.013179194182157516,
0.008107917383313179,
-0.040500205010175705,
0.06398822367191315,
-0.015156948007643223,
0.04382563382387161,
-0.052296724170446396,
0.013993049040436745,
-0.016425861045718193,
0.04085025191307068,
-0.034444428980350494,
-0.0033035497181117535,
0.007477836217731237,
0.049006298184394836
] |
708,625
|
more_executors._impl.futures.base
|
f_return_error
|
Return a future which returns/raises the exception `x`.
Arguments:
x (Exception)
An exception to be returned/raised.
traceback (traceback)
An optional traceback associated with the exception.
This argument should only be provided on Python 2.x.
It will be used in the value returned from
:meth:`concurrent.futures.Future.exception_info`,
which only exists on Python 2.
Returns:
:class:`~concurrent.futures.Future` of :obj:`x`
A future immediately resolved with the exception :obj:`x`.
.. versionadded:: 1.19.0
|
def f_return_error(x, traceback=None):
"""Return a future which returns/raises the exception `x`.
Arguments:
x (Exception)
An exception to be returned/raised.
traceback (traceback)
An optional traceback associated with the exception.
This argument should only be provided on Python 2.x.
It will be used in the value returned from
:meth:`concurrent.futures.Future.exception_info`,
which only exists on Python 2.
Returns:
:class:`~concurrent.futures.Future` of :obj:`x`
A future immediately resolved with the exception :obj:`x`.
.. versionadded:: 1.19.0
"""
f = Future()
track_future(f, type="return_error", executor="none")
copy_exception(f, x, traceback)
return f
|
(x, traceback=None)
|
[
-0.012458009645342827,
-0.024436522275209427,
-0.0146157406270504,
0.0819760113954544,
0.023317700251936913,
-0.044042572379112244,
-0.03789792209863663,
0.024898258969187737,
0.08886653929948807,
-0.04713265597820282,
0.07128503173589706,
0.06023887172341347,
-0.035251814872026443,
0.009270250797271729,
0.07068122178316116,
0.05771707743406296,
-0.027277979999780655,
0.03221501037478447,
0.025768455117940903,
-0.0068061756901443005,
0.008812953718006611,
0.023619605228304863,
-0.03196638077497482,
-0.08304155617952347,
0.025377755984663963,
0.0350564643740654,
0.028716467320919037,
0.04322565346956253,
-0.00225429586134851,
-0.0373651497066021,
0.0601678341627121,
-0.04361635074019432,
-0.11188233643770218,
-0.0006071392563171685,
-0.030794281512498856,
0.029941843822598457,
-0.09398116171360016,
0.037684813141822815,
0.006166847888380289,
-0.03956727683544159,
-0.009794143959879875,
-0.04919271171092987,
-0.04507260024547577,
-0.011907476931810379,
0.02342425473034382,
-0.029888566583395004,
-0.012102827429771423,
0.02386823110282421,
-0.05377455800771713,
-0.01078865397721529,
0.029249239712953568,
0.05441388487815857,
0.05079102888703346,
-0.004972548224031925,
0.05924436077475548,
0.03459472954273224,
0.025377755984663963,
0.019037757068872452,
0.009026063606142998,
-0.015823358669877052,
0.01827411539852619,
0.0934128686785698,
0.011951874941587448,
0.05714878812432289,
0.006997085642069578,
0.029018370434641838,
0.010548906400799751,
-0.05412973836064339,
-0.09923785924911499,
0.02564414218068123,
0.02502257376909256,
0.05647394061088562,
-0.005540839396417141,
-0.0321972519159317,
0.06997086107730865,
-0.013647869229316711,
-0.020316410809755325,
0.013905376195907593,
-0.028716467320919037,
0.023157868534326553,
-0.049476854503154755,
0.06030990555882454,
-0.04606710746884346,
-0.00884403195232153,
0.02173713967204094,
-0.029018370434641838,
0.006979326717555523,
-0.03910554200410843,
-0.02518240548670292,
-0.02440100535750389,
-0.0060869320295751095,
-0.060629572719335556,
-0.028716467320919037,
0.0007370027014985681,
-0.03597993776202202,
-0.07892144471406937,
0.028982853516936302,
-0.034932151436805725,
0.01347027812153101,
-0.042586322873830795,
0.0283790435642004,
0.05959954485297203,
-0.016684675589203835,
-0.01674683205783367,
0.03351142257452011,
-0.0013896496966481209,
0.02104453556239605,
-0.03258794918656349,
0.03938968479633331,
-0.012475768104195595,
-0.010353555902838707,
-0.023069072514772415,
0.016684675589203835,
0.057432934641838074,
-0.022003525868058205,
-0.05594116821885109,
0.025928286835551262,
0.033795569092035294,
-0.0005410976009443402,
-0.031646717339754105,
0.03429282456636429,
0.0051812175661325455,
-0.05881814286112785,
0.00390256242826581,
-0.05871158838272095,
0.06329343467950821,
-0.009509998373687267,
0.009669831022620201,
-0.0016649157041683793,
-0.007449943106621504,
-0.01614302210509777,
0.022074563428759575,
-0.017927812412381172,
-0.0006815054803155363,
-0.04041971266269684,
0.015707924962043762,
-0.0169510617852211,
0.05196312814950943,
0.009438962675631046,
-0.023299939930438995,
-0.003829306224361062,
-0.01545041799545288,
0.02768643945455551,
0.045960552990436554,
0.02710038796067238,
-0.03200190141797066,
-0.05341937765479088,
0.016080865636467934,
0.0008679760503582656,
-0.0068683321587741375,
0.008448892273008823,
0.03006615862250328,
0.001072205719538033,
-0.012333695776760578,
-0.0362640842795372,
0.040277641266584396,
0.04010004922747612,
-0.006366637535393238,
0.04176940768957138,
0.055550467222929,
0.0026971634943038225,
0.01836291141808033,
0.035997696220874786,
-0.02768643945455551,
0.00986518058925867,
-0.026745205745100975,
0.0788504108786583,
0.0001835569564718753,
-0.019854675978422165,
-0.005598556715995073,
-0.028823021799325943,
0.06066508963704109,
-0.019552771002054214,
-0.0013319326099008322,
-0.07757175713777542,
0.01010492816567421,
-0.041130077093839645,
0.057575006037950516,
0.011658850125968456,
0.03273002430796623,
0.041662849485874176,
-0.08204704523086548,
0.00847553089261055,
-0.030119435861706734,
0.003636175999417901,
0.05334834009408951,
-0.024756187573075294,
0.060416463762521744,
0.04794957488775253,
-0.021239884197711945,
0.04937030002474785,
-0.02869870699942112,
0.044113606214523315,
0.0024707349948585033,
-0.005713990889489651,
-0.002721582306548953,
-0.050542403012514114,
-0.004759439267218113,
0.06535349041223526,
-0.0022998035419732332,
-0.0035296212881803513,
0.0385727658867836,
-0.0053632487542927265,
-0.015157393179833889,
-0.015645768493413925,
-0.016400529071688652,
-0.027988342568278313,
-0.06126889958977699,
-0.028254730626940727,
0.008879550732672215,
-0.04532122611999512,
-0.008249102160334587,
-0.039602793753147125,
0.06986430287361145,
-0.013665628619492054,
-0.014331595040857792,
-0.05334834009408951,
-0.009811903350055218,
0.08403606712818146,
0.03319175913929939,
0.011010643094778061,
-0.017430556938052177,
0.03251691535115242,
0.03376005217432976,
0.045711927115917206,
-0.0016449367394670844,
-0.04489500820636749,
-0.038466211408376694,
-0.0052256155759096146,
-0.08140771836042404,
0.035322852432727814,
0.024347728118300438,
-0.03850173205137253,
-0.08552782982587814,
0.01725296676158905,
0.007405545096844435,
0.06030990555882454,
-0.00537656806409359,
-0.018504982814192772,
0.011419101618230343,
0.009314648807048798,
0.001774800126440823,
0.05420077592134476,
0.032712265849113464,
0.042124588042497635,
-0.002212118124589324,
-0.00952775776386261,
0.0309896320104599,
-0.04841130971908569,
-0.011871959082782269,
-0.02839680202305317,
0.059492990374565125,
-0.02273164875805378,
-0.04077489674091339,
0.0012253780150786042,
-0.03365349769592285,
-0.00901718344539404,
-0.008812953718006611,
-0.006157968193292618,
0.07501444220542908,
0.0708232969045639,
-0.022376466542482376,
0.03448817506432533,
-0.01669355481863022,
-0.06212133541703224,
-0.08382295817136765,
-0.07160469889640808,
-0.016018709167838097,
0.08304155617952347,
0.015565851703286171,
-0.05050688236951828,
0.02539551444351673,
-0.015361622907221317,
-0.05327730253338814,
-0.06805287301540375,
-0.022589577361941338,
-0.0584629625082016,
0.00844001304358244,
-0.03281882032752037,
0.03935416787862778,
-0.06563764065504074,
-0.0019202028634026647,
0.0035096423234790564,
-0.0026683048345148563,
-0.058427441865205765,
0.036619268357753754,
0.01380770094692707,
-0.017057616263628006,
-0.014420390129089355,
0.024525318294763565,
0.027650920674204826,
-0.012822071090340614,
0.008519928902387619,
-0.034399379044771194,
0.005580797325819731,
0.016453806310892105,
-0.0012908646604046226,
-0.041201114654541016,
0.04393601790070534,
-0.000685390317812562,
0.035997696220874786,
0.06165960058569908,
0.025111369788646698,
0.04201803356409073,
0.023370977491140366,
-0.0660993754863739,
-0.006015895400196314,
-0.015397140756249428,
-0.05594116821885109,
0.007294551003724337,
0.003880363656207919,
0.026194674894213676,
-0.024969296529889107,
-0.06716492027044296,
0.010113808326423168,
0.0218969713896513,
0.027988342568278313,
-0.04255080595612526,
0.024596355855464935,
-0.027579883113503456,
0.04713265597820282,
-0.03376005217432976,
0.06403931975364685,
-0.016924424096941948,
-0.043261170387268066,
-0.03587338328361511,
-0.03448817506432533,
0.01868257485330105,
-0.050009630620479584,
0.0216483436524868,
-0.023051314055919647,
-0.05182105675339699,
-0.03772033005952835,
-0.016471566632390022,
-0.03313848376274109,
0.020476244390010834,
0.04691954702138901,
0.0002440489042783156,
0.04002901539206505,
0.015512574464082718,
-0.008351217024028301,
0.02196800895035267,
-0.039602793753147125,
0.006992646027356386,
-0.033848848193883896,
-0.004195587709546089,
0.031256016343832016,
0.029107166454195976,
0.023122349753975868,
-0.021026775240898132,
0.01905551552772522,
0.002703823149204254,
-0.038608286529779434,
0.03368901461362839,
0.020565038546919823,
0.04535674303770065,
-0.03045685775578022,
-0.011774283833801746,
0.025981564074754715,
-0.005851623602211475,
0.0051190610975027084,
-0.024081341922283173,
-0.02248302288353443,
-0.016045348718762398,
-0.03629960119724274,
0.006157968193292618,
-0.03459472954273224,
0.04468189924955368,
-0.053135231137275696,
0.058427441865205765,
0.005589677020907402,
0.03931865096092224,
-0.021328680217266083,
0.022607335820794106,
0.04368738830089569,
0.004499712027609348,
-0.041804924607276917,
-0.0033120722509920597,
0.0008380076033063233,
0.03203741833567619,
-0.01944621652364731,
-0.06219237297773361,
-0.03526957333087921,
-0.06443002074956894,
0.03567803278565407,
0.05476906895637512,
0.05974161624908447,
-0.05412973836064339,
0.02930251695215702,
0.044042572379112244,
-0.04276391491293907,
-0.026496578007936478,
0.04990307241678238,
0.03603321686387062,
-0.011783163994550705,
-0.033848848193883896,
0.02464963309466839,
-0.007760727312415838,
0.023761676624417305,
0.017350642010569572,
-0.006011455785483122,
0.1069808229804039,
0.025839492678642273,
-0.005256693810224533,
-0.01743943803012371,
0.06400380283594131,
-0.029213720932602882,
-0.08048424869775772,
0.0102470014244318,
-0.028592152521014214,
-0.07409097254276276,
-0.033102963119745255,
-0.008067071437835693,
-0.03892794996500015,
0.0068061756901443005,
0.1028607115149498,
0.026443300768733025,
-0.004701721947640181,
-0.004102352540940046,
-0.006606385577470064,
-0.01545041799545288,
-0.05171450227499008,
-0.04539226368069649,
-0.0018269675783813,
-0.028503356501460075,
0.026034843176603317,
-0.026674170047044754,
0.05647394061088562,
-0.03764929622411728,
0.017892293632030487,
-0.003358690068125725,
-0.03878587856888771,
0.03803999349474907,
0.03606873378157616,
-0.0028170375153422356,
-0.027881788089871407,
-0.009705348871648312,
0.010087169706821442,
-0.008311259560286999,
0.07064570486545563,
0.020849185064435005,
-0.026958314701914787,
0.019481733441352844,
-0.002057835925370455,
0.04699058085680008,
-0.010238122195005417,
-0.018647056072950363,
0.05182105675339699,
0.05402318388223648,
-0.0008446672582067549,
0.010690978728234768,
0.022287672385573387,
0.030510134994983673,
0.0198901928961277,
0.019463974982500076,
-0.0497254841029644,
-0.04997410997748375,
-0.05341937765479088,
-0.0029768692329525948,
0.03612201288342476,
0.03949623927474022,
0.015317224897444248,
0.07000637799501419,
-0.0567580871284008,
-0.06535349041223526,
-0.03420402854681015,
0.06311584264039993,
-0.04123663157224655,
0.015219549648463726,
-0.021009016782045364,
0.04081041365861893,
0.004171168897300959,
-0.0204940028488636,
-0.054840102791786194,
0.04084593430161476,
-0.008657561615109444,
-0.010335796512663364,
0.023299939930438995,
0.03665478527545929,
-0.028361285105347633,
0.019091034308075905,
-0.05562150478363037,
0.027135906741023064,
0.043048061430454254,
-0.017173049971461296,
-0.004328780807554722,
0.03889243304729462,
-0.021790416911244392,
0.039993494749069214,
0.013701146468520164,
-0.042586322873830795,
0.008653122000396252,
0.03931865096092224,
-0.0064776320941746235,
-0.0032055177725851536,
-0.065495565533638,
-0.031415849924087524,
0.039993494749069214,
-0.002672744682058692,
-0.03665478527545929,
0.013292687013745308,
-0.029959604144096375,
-0.010184844955801964,
-0.0011204882757738233,
0.011738765984773636,
0.01808764412999153,
-0.026567615568637848,
-0.04873097315430641,
0.03750722110271454,
-0.06894083321094513,
-0.027455570176243782,
0.013337085023522377,
-0.0456053726375103,
0.0001271579385502264,
-0.028130415827035904,
-0.020689353346824646,
-0.03473680093884468,
0.00784064270555973,
-0.00734338816255331,
0.023921508342027664,
0.002899173181504011,
0.05640290677547455,
0.06030990555882454,
-0.0029635499231517315,
-0.014331595040857792,
0.037081003189086914,
0.0714271068572998,
-0.002071155235171318,
0.002111113164573908,
0.0432966873049736,
-0.03732962906360626,
-0.026905037462711334,
-0.019037757068872452,
-0.054449405521154404,
0.028823021799325943,
-0.02608812041580677,
-0.07750071585178375,
0.08318363130092621,
-0.016507085412740707,
-0.044113606214523315,
-0.007560937199741602,
0.05455595999956131,
-0.007432183716446161,
0.016888905316591263,
-0.04777198284864426,
-0.07451719045639038,
-0.052602458745241165,
0.02539551444351673,
-0.030048398301005363,
-0.03383108600974083,
0.024827223271131516,
0.000518621236551553,
0.08737477660179138,
-0.035464923828840256,
0.004539670422673225,
-0.003620636649429798,
0.025058092549443245,
0.06830150634050369,
-0.010966245085000992,
-0.013541314750909805,
0.0147666921839118,
0.047416798770427704,
0.07806900888681412,
-0.04155629500746727,
-0.035926662385463715,
0.025306718423962593,
0.01646268740296364,
0.005762828513979912,
-0.0363173633813858,
-0.08815617859363556,
-0.011277029290795326,
0.06286721676588058,
0.012200502678751945,
0.017803499475121498,
-0.075937919318676,
-0.0038892431184649467,
0.021772658452391624,
-0.03106066770851612,
0.015432658605277538,
0.014606860466301441,
-0.038750357925891876,
-0.10435248166322708,
-0.02448980137705803,
0.006015895400196314,
-0.006038094405084848,
0.02303355373442173,
0.024756187573075294,
-0.011721006594598293,
-0.06680973619222641,
0.015326104126870632,
0.028254730626940727,
-0.043509796261787415,
0.015255067497491837,
-0.00474611995741725,
0.06563764065504074,
-0.019002238288521767,
0.009554396383464336,
0.0033675695303827524,
0.018309634178876877,
0.0009478920255787671,
0.03518078103661537,
-0.03697444871068001,
0.005074663087725639,
-0.03059893101453781,
-0.023157868534326553,
-0.029657699167728424,
0.010548906400799751,
-0.04116559773683548,
0.011836441233754158,
-0.04237321391701698,
0.042586322873830795,
-0.008706399239599705,
-0.015370502136647701,
0.013630109839141369,
-0.044575344771146774,
0.018718091771006584,
-0.025306718423962593,
0.015716804191470146,
-0.011756525374948978,
-0.017927812412381172,
-0.003287653671577573,
0.02180817537009716,
-0.02363736368715763,
0.0070015257224440575,
0.04865993559360504,
-0.002546211238950491,
-0.002965769963338971,
-0.024472041055560112,
-0.02855663374066353,
0.027420051395893097,
-0.0292314812541008,
0.020014507696032524,
0.017767980694770813,
-0.04642229154706001,
0.00470616202801466,
0.03786240518093109,
0.023442013189196587,
0.030652208253741264,
-0.021293161436915398,
0.009208094328641891,
-0.024773946031928062,
0.021257644519209862,
-0.033102963119745255,
0.012564564123749733,
0.02118660695850849,
-0.009980615228414536,
0.04507260024547577,
-0.0643945038318634,
0.030403580516576767,
-0.0321972519159317,
0.014606860466301441,
0.02242974564433098,
-0.041804924607276917,
-0.029870808124542236,
-0.016569241881370544,
-0.03429282456636429,
-0.005691791884601116,
-0.03970935195684433,
0.012733275070786476,
0.04766542837023735,
0.045960552990436554,
-0.02999512106180191,
0.002825916977599263,
0.022749409079551697,
-0.007481021340936422,
-0.017306244000792503,
0.003323171753436327,
-0.0020089983008801937,
-0.014606860466301441,
-0.011578934267163277,
0.03793343901634216,
-0.03320951759815216,
-0.03246363624930382,
0.01201403234153986,
0.05103965848684311,
-0.029941843822598457,
-0.05050688236951828,
0.019925711676478386,
-0.03180655092000961,
0.024667391553521156,
0.07387786358594894,
0.0841781422495842,
-0.02333545871078968,
0.03383108600974083,
-0.0020267574582248926,
-0.022909240797162056,
0.027331257238984108,
0.05476906895637512,
0.004803836811333895,
-0.0020089983008801937,
0.006126889958977699,
-0.018931202590465546,
-0.03899898752570152,
-0.007942757569253445,
-0.033102963119745255,
0.09469152987003326,
0.018860165029764175,
-0.025217924267053604,
0.035322852432727814,
0.03290761262178421,
-0.003147800685837865,
0.0006304481066763401,
-0.011108317412436008,
0.04745231941342354,
0.02141747623682022,
-0.009199214167892933,
0.02134643867611885,
0.02532447874546051,
-0.016196299344301224,
-0.025271201506257057,
0.00941232405602932,
-0.038821395486593246,
-0.0072545926086604595,
0.03924761340022087,
0.0051235007122159,
-0.00103502266574651,
-0.00474611995741725,
-0.018123162910342216,
-0.0003088418743573129,
0.015370502136647701,
0.026762966066598892,
-0.008244662545621395,
0.05270901322364807,
-0.017563750967383385,
-0.01549481600522995,
-0.005256693810224533,
-0.0339554026722908,
0.011543415486812592,
0.010939606465399265,
0.03260571137070656,
0.07529859244823456,
0.07309646159410477,
0.009252491407096386,
0.021381957456469536,
0.011454620398581028,
-0.002176599809899926,
-0.0067262593656778336,
0.06343550980091095,
-0.04070385918021202,
0.017119772732257843,
0.010318038053810596,
-0.02710038796067238,
-0.018052127212285995,
-0.019801396876573563,
0.048162683844566345,
0.05711326748132706,
-0.059883687645196915,
0.028503356501460075,
0.006641903892159462,
0.027579883113503456,
0.0027526607736945152,
-0.024472041055560112,
-0.027420051395893097,
-0.02610587887465954,
0.015716804191470146,
-0.02969321794807911,
-0.0345592126250267,
0.018877925351262093,
-0.00019063285435549915,
0.030794281512498856,
-0.011623331345617771,
-0.013079578056931496,
0.020636076107621193,
-0.004772758577018976,
-0.020103301852941513,
0.04727472737431526,
-0.038466211408376694,
0.026230191811919212
] |
708,626
|
more_executors._impl.futures.sequence
|
f_sequence
|
Transform a list of futures into a future containing a list.
Signature: :code:`list<Future<X>> ⟶ Future<list<X>>`
Arguments:
futures (iterable of :class:`~concurrent.futures.Future`)
A list or other iterable of futures.
Returns:
:class:`~concurrent.futures.Future` of :class:`list`
A future resolved with either:
- a list holding the output value of each input future
- or an exception, if any input future raised an exception
.. note::
This function is tested with up to 100,000 input futures.
Exceeding this limit may result in performance issues.
.. versionadded:: 1.19.0
|
def f_sequence(futures):
"""Transform a list of futures into a future containing a list.
Signature: :code:`list<Future<X>> ⟶ Future<list<X>>`
Arguments:
futures (iterable of :class:`~concurrent.futures.Future`)
A list or other iterable of futures.
Returns:
:class:`~concurrent.futures.Future` of :class:`list`
A future resolved with either:
- a list holding the output value of each input future
- or an exception, if any input future raised an exception
.. note::
This function is tested with up to 100,000 input futures.
Exceeding this limit may result in performance issues.
.. versionadded:: 1.19.0
"""
return track_future(f_traverse(lambda x: x, futures), type="sequence")
|
(futures)
|
[
-0.051565758883953094,
-0.013184426352381706,
-0.05888156220316887,
0.020473593845963478,
-0.03464352339506149,
0.05334143713116646,
0.00970409344881773,
-0.005224939435720444,
0.0029276530258357525,
0.05760307237505913,
-0.005038492847234011,
0.011959207244217396,
-0.01100033987313509,
-0.00889171939343214,
0.07386830449104309,
0.010503149591386318,
0.01578579843044281,
-0.013433022424578667,
0.018271751701831818,
0.028393128886818886,
0.009348956868052483,
0.0004866473900619894,
-0.039384592324495316,
-0.028517426922917366,
0.006023995578289032,
0.014596092514693737,
0.033578116446733475,
-0.029121158644557,
-0.06360486894845963,
0.0022096121683716774,
0.060089025646448135,
0.00905597023665905,
-0.029582835733890533,
-0.07422343641519547,
-0.013699374161660671,
0.07084964960813522,
-0.05561431124806404,
0.020668920129537582,
0.004317122977226973,
-0.001359505346044898,
0.03856777772307396,
-0.03736031427979469,
-0.0332229807972908,
-0.045848067849874496,
0.0014072266640141606,
0.004159531090408564,
-0.02887256257236004,
0.05696382746100426,
-0.013566197827458382,
-0.022089464589953423,
0.06275254487991333,
-0.0005290972767397761,
0.0041151391342282295,
0.0038376892916858196,
0.03517622873187065,
0.060479674488306046,
0.03464352339506149,
0.026226799935102463,
0.0473751537501812,
-0.032548222690820694,
0.02858845330774784,
0.006419084500521421,
0.009091483429074287,
0.003913155756890774,
0.045492932200431824,
0.04424995556473732,
0.020544622093439102,
-0.04116027057170868,
-0.04993213340640068,
-0.04126681014895439,
-0.01784558780491352,
0.03949113190174103,
-0.09595777094364166,
-0.01728624850511551,
0.025516526773571968,
0.030097782611846924,
-0.0015537203289568424,
0.060870323330163956,
-0.004357075784355402,
0.015226459130644798,
-0.01442740298807621,
-0.0031651502940803766,
-0.051956407725811005,
-0.0001611984771443531,
-0.011390989646315575,
-0.06538055092096329,
0.027594072744250298,
0.021414704620838165,
-0.07195056974887848,
-0.01099146157503128,
-0.050891000777482986,
-0.032015517354011536,
-0.03368465602397919,
-0.019372673705220222,
-0.05327041074633598,
-0.00126961141359061,
-0.054016198962926865,
-0.059059128165245056,
-0.04155091941356659,
0.021414704620838165,
0.011408746242523193,
0.058277830481529236,
-0.02031378261744976,
0.006290347781032324,
-0.026173528283834457,
0.004687796346843243,
-0.06616184860467911,
-0.02690155804157257,
0.04488920047879219,
-0.01163958478718996,
0.024752983823418617,
0.05287976190447807,
0.0709206759929657,
-0.005069567356258631,
-0.02379411645233631,
-0.013672739267349243,
0.011728368699550629,
0.00357355666346848,
-0.0337911993265152,
-0.04968353733420372,
0.054016198962926865,
-0.018413806334137917,
-0.0440368726849556,
-0.008319062180817127,
-0.011337718926370144,
0.09332975745201111,
0.01390357781201601,
-0.005295966751873493,
0.0193016454577446,
-0.02446887642145157,
0.03107440657913685,
0.011204543523490429,
0.014232078567147255,
0.04971905052661896,
0.048866722732782364,
-0.005167230032384396,
-0.03530052676796913,
-0.0074667357839643955,
-0.04478266090154648,
-0.02601371705532074,
-0.11854442209005356,
-0.07351316511631012,
0.03411082178354263,
0.041337840259075165,
0.005992921069264412,
0.004432542249560356,
0.03597528487443924,
0.0004777690046466887,
-0.03457249701023102,
0.030772540718317032,
0.040023837238550186,
0.04581255465745926,
-0.03618836775422096,
-0.021947409957647324,
-0.04140886664390564,
0.03464352339506149,
-0.009544282220304012,
0.017499329522252083,
0.011985842138528824,
0.00883844867348671,
-0.005056249909102917,
0.06161610782146454,
0.0033404987771064043,
-0.026475394144654274,
-0.01029006764292717,
0.03451922535896301,
-0.014063389040529728,
-0.003065268276259303,
-0.07344213873147964,
0.04943494126200676,
0.02084648795425892,
0.041728489100933075,
0.024220280349254608,
-0.036294907331466675,
-0.08018972724676132,
0.021663300693035126,
-0.02148573286831379,
0.024095982313156128,
0.018218480050563812,
-0.008709711953997612,
-0.08224951475858688,
-0.04424995556473732,
-0.015253094024956226,
-0.07351316511631012,
0.014258713461458683,
0.06598428636789322,
-0.05916567146778107,
0.037324801087379456,
0.051814354956150055,
-0.033311765640974045,
-0.020899757742881775,
-0.006055070087313652,
0.028943590819835663,
-0.04073410853743553,
-0.0564311221241951,
-0.038319181650877,
-0.11087348312139511,
-0.042225681245326996,
0.045492932200431824,
-0.010733988136053085,
-0.031216461211442947,
-0.007857386022806168,
0.07386830449104309,
-0.038638804107904434,
-0.005637785419821739,
0.02393617108464241,
-0.011976963840425014,
-0.012509668245911598,
0.02564082480967045,
0.008811813779175282,
-0.0011464236304163933,
-0.007324681617319584,
-0.07798787951469421,
0.006001799833029509,
-0.009997080080211163,
0.02521466091275215,
-0.023101601749658585,
-0.045457419008016586,
0.0757860392332077,
0.0004980228841304779,
0.05113959312438965,
0.0008290207479149103,
-0.05295078828930855,
0.0029076766222715378,
0.005398068577051163,
0.046664878726005554,
-0.00822139997035265,
0.014303105883300304,
0.014161051250994205,
-0.061509568244218826,
-0.01248303335160017,
0.022977303713560104,
-0.0353182815015316,
-0.03672106936573982,
0.07713555544614792,
-0.03917150944471359,
0.02406046912074089,
-0.0014161050785332918,
0.0007507798727601767,
0.018120817840099335,
-0.028393128886818886,
0.055046092718839645,
0.02768285758793354,
-0.024095982313156128,
0.01862688735127449,
0.06353384256362915,
-0.024681957438588142,
-0.0022207102738320827,
-0.0061571719124913216,
0.03453698381781578,
-0.027487533167004585,
0.032690275460481644,
-0.019496969878673553,
-0.023474493995308876,
0.009073726832866669,
-0.04009486362338066,
0.0014527285238727927,
-0.05877501890063286,
0.0377509631216526,
0.03466128185391426,
0.07706452906131744,
-0.07614117115736008,
-0.007511128205806017,
0.021947409957647324,
-0.043149031698703766,
-0.0561470128595829,
-0.04989662021398544,
-0.05295078828930855,
0.0401303768157959,
0.02794920839369297,
0.06957115978002548,
0.0025059289764612913,
-0.02922769822180271,
-0.05508160591125488,
0.02885480597615242,
-0.03173140808939934,
0.014755903743207455,
0.013930212706327438,
-0.019834348931908607,
0.027878182008862495,
0.022870764136314392,
0.014054509811103344,
-0.03700517863035202,
-0.02498382329940796,
0.02910340204834938,
0.03728928789496422,
-0.019053051248192787,
0.032921113073825836,
0.026333339512348175,
0.048476073890924454,
0.0877896398305893,
0.044178929179906845,
0.017588114365935326,
-0.09198024123907089,
-0.010662960819900036,
-0.014693754725158215,
-0.009464376606047153,
-0.011408746242523193,
-0.02212497778236866,
-0.006840808782726526,
0.025161391124129295,
0.0034758944530040026,
0.02031378261744976,
0.0038865203969180584,
-0.006063948385417461,
-0.05469095706939697,
0.0023816314060240984,
-0.028393128886818886,
-0.035389311611652374,
0.019603511318564415,
0.004033014178276062,
0.026954827830195427,
-0.04371725022792816,
-0.054797496646642685,
-0.006121658254414797,
0.000988831976428628,
-0.027079125866293907,
-0.02017172984778881,
0.022693194448947906,
-0.052986301481723785,
-0.03134075924754143,
0.012625087052583694,
0.036170609295368195,
0.022977303713560104,
-0.04048551246523857,
0.059201184660196304,
-0.043042492121458054,
0.004772141110152006,
-0.0245931725949049,
0.025711851194500923,
0.006734267808496952,
-0.035762201994657516,
-0.007191505748778582,
0.07113375514745712,
-0.04396584630012512,
0.004432542249560356,
0.08402519673109055,
0.015670379623770714,
0.05010969936847687,
-0.04009486362338066,
-0.039029452949762344,
-0.006898518186062574,
0.007071647327393293,
0.030701514333486557,
0.0019876521546393633,
0.02018948644399643,
0.043042492121458054,
0.06374692916870117,
0.01889324001967907,
-0.036046311259269714,
0.02755855955183506,
-0.06470579653978348,
0.005198304075747728,
0.03569117560982704,
0.0035713370889425278,
0.07713555544614792,
0.0024593172129243612,
-0.0016147593269124627,
0.010272311046719551,
0.0044547379948198795,
0.030701514333486557,
-0.032548222690820694,
-0.014223200269043446,
-0.06417308747768402,
-0.009215781465172768,
0.0026701793540269136,
0.00717818783596158,
-0.017366154119372368,
0.008185886777937412,
0.0416574627161026,
0.07088515907526016,
0.04801439866423607,
0.019354915246367455,
0.04733964055776596,
-0.016203083097934723,
0.004590133670717478,
-0.003566897939890623,
0.026546422392129898,
-0.04424995556473732,
-0.01734839752316475,
-0.07777480036020279,
-0.06509644538164139,
-0.01022791862487793,
0.0012307685101404786,
0.026830529794096947,
0.026937071233987808,
0.007768601644784212,
-0.05319938436150551,
-0.004945269785821438,
0.04464060440659523,
-0.05781615152955055,
-0.06868331879377365,
0.007164870388805866,
-0.009233538061380386,
-0.046274229884147644,
-0.05760307237505913,
0.061900217086076736,
0.059449780732393265,
0.07045900076627731,
-0.052453599870204926,
-0.010387729853391647,
0.012340978719294071,
-0.0028144533280283213,
0.024380091577768326,
-0.032157570123672485,
0.01981659233570099,
0.005398068577051163,
-0.07401035726070404,
0.0009899417636916041,
0.005051810760051012,
-0.020935270935297012,
-0.0003900947922375053,
0.011488651856780052,
-0.040059350430965424,
0.022480113431811333,
0.02976040355861187,
-0.05060689151287079,
0.004736627452075481,
0.02018948644399643,
-0.0012429762864485383,
0.023776359856128693,
0.01786334440112114,
-0.02185862511396408,
0.020136214792728424,
-0.015111040323972702,
0.01839604787528515,
0.028570696711540222,
0.05667971819639206,
0.017632506787776947,
0.004004159476608038,
-0.003109660232439637,
-0.015324121341109276,
-0.06683661043643951,
-0.048085425049066544,
-0.006321422290056944,
-0.00208420492708683,
0.0003121313056908548,
0.007786358240991831,
-0.0056466637179255486,
0.023367954418063164,
-0.01029894594103098,
0.016931112855672836,
0.021006299182772636,
-0.013610590249300003,
0.08324389904737473,
-0.0037533442955464125,
-0.03599303960800171,
-0.000409793748985976,
0.03945561870932579,
0.011435382068157196,
-0.06289459764957428,
0.009295687079429626,
-0.022196004167199135,
0.011550800874829292,
0.022551141679286957,
0.022355815395712852,
0.02045583724975586,
-0.012625087052583694,
-0.06246843561530113,
-0.014187686145305634,
0.05050034821033478,
-0.022053949534893036,
0.11492203176021576,
-0.027984723448753357,
-0.024628687649965286,
-0.017712412402033806,
0.03400427848100662,
-0.005082885269075632,
-0.027487533167004585,
-0.026866044849157333,
0.010947069153189659,
0.010441000573337078,
0.00589081970974803,
-0.08345697820186615,
0.026723990216851234,
0.024735227227211,
0.0013650542823597789,
-0.023208143189549446,
0.020668920129537582,
-0.03988178074359894,
-0.03387998044490814,
-0.06058621406555176,
0.04517330974340439,
0.009810633957386017,
-0.04563498497009277,
-0.0018411586061120033,
0.017765682190656662,
-0.043042492121458054,
0.053909655660390854,
0.003831030335277319,
0.0046434043906629086,
-0.0835990309715271,
0.019479213282465935,
-0.01850258931517601,
0.04517330974340439,
-0.025818392634391785,
0.005371433217078447,
0.02574736624956131,
0.00957091711461544,
0.014134415425360203,
0.04673590883612633,
0.033720169216394424,
-0.01836053468286991,
0.02446887642145157,
0.0013639444950968027,
-0.00822139997035265,
0.05810026079416275,
-0.06768893450498581,
-0.04272286966443062,
-0.023705333471298218,
-0.026883801445364952,
0.013415264897048473,
-0.048085425049066544,
-0.04829850792884827,
-0.04726861044764519,
-0.006179367657750845,
-0.008612049743533134,
-0.03377344086766243,
0.04435649514198303,
0.029849186539649963,
-0.015874583274126053,
-0.00908704474568367,
-0.010369973257184029,
0.06761790812015533,
-0.020935270935297012,
-0.010503149591386318,
0.004692235495895147,
0.003011997789144516,
-0.004665600135922432,
0.030222080647945404,
-0.010654082521796227,
0.0034070867113769054,
0.02017172984778881,
0.012722750194370747,
-0.019639024510979652,
0.042900439351797104,
-0.0190175361931324,
0.01300685852766037,
0.04350417107343674,
0.007630986627191305,
0.014755903743207455,
0.08949428796768188,
-0.028393128886818886,
0.07628323137760162,
-0.02588941901922226,
-0.07234121859073639,
-0.017561478540301323,
-0.024273550137877464,
0.0350341722369194,
0.020082945004105568,
-0.03247719258069992,
0.0008623147732578218,
0.04900877922773361,
-0.0008356795879080892,
-0.0036001920234411955,
-0.07464960217475891,
0.032814573496580124,
0.03391549363732338,
-0.08374108374118805,
-0.019834348931908607,
0.0367920957505703,
0.020011918619275093,
-0.054016198962926865,
-0.017357274889945984,
-0.026297826319932938,
0.01035221666097641,
0.043291088193655014,
0.008332380093634129,
0.06534504145383835,
-0.056360095739364624,
0.041977085173130035,
0.02628006972372532,
0.03739582747220993,
-0.015031134709715843,
-0.011675098910927773,
-0.035904258489608765,
0.01029894594103098,
-0.034465957432985306,
-0.01852034591138363,
-0.047552719712257385,
0.021396948024630547,
-0.06534504145383835,
-0.040805134922266006,
-0.027398748323321342,
0.03615285083651543,
0.0264043677598238,
-0.012376491911709309,
0.02134367823600769,
-0.03107440657913685,
0.017383910715579987,
0.005349237006157637,
0.041337840259075165,
0.004545741714537144,
0.03917150944471359,
0.04140886664390564,
-0.046025633811950684,
-0.008296866901218891,
-0.009863904677331448,
-0.03439492732286453,
-0.018555859103798866,
0.008057150058448315,
0.019195104017853737,
0.01860913075506687,
0.015412905253469944,
0.005806474946439266,
-0.04609666392207146,
-0.01611430011689663,
-0.04925737529993057,
0.051814354956150055,
0.02603147365152836,
0.03208654373884201,
0.05483300983905792,
0.04361071065068245,
-0.05153024569153786,
0.009739606641232967,
-0.0025214662309736013,
-0.03315195441246033,
0.029263213276863098,
-0.016860084608197212,
0.024113738909363747,
0.051814354956150055,
0.024681957438588142,
-0.01370825245976448,
-0.032423924654722214,
-0.032654762268066406,
0.006490111816674471,
-0.038638804107904434,
-0.023012816905975342,
-0.0023461177479475737,
0.0264043677598238,
0.03206878900527954,
0.03764442354440689,
0.03311643749475479,
0.001477144076488912,
0.012847047299146652,
-0.028517426922917366,
0.0007885130471549928,
0.0234034676104784,
0.03208654373884201,
-0.08004767447710037,
-0.016664760187268257,
0.0004527985001914203,
-0.04865364357829094,
-0.041870541870594025,
0.03411082178354263,
-0.07479165494441986,
-0.044569578021764755,
-0.027096882462501526,
0.043433140963315964,
0.00879849586635828,
-0.00585974520072341,
0.05991145595908165,
-0.028055749833583832,
0.02430906519293785,
0.020029675215482712,
-0.01015689130872488,
-0.021059568971395493,
0.003706732764840126,
0.04488920047879219,
0.04979007691144943,
0.0064368415623903275,
0.028943590819835663,
0.01597224548459053,
0.04968353733420372,
-0.03973972797393799,
-0.03814161568880081,
0.002761183073744178,
0.010121378116309643,
-0.04219016432762146,
0.04258081689476967,
0.0190175361931324,
-0.038887400180101395,
0.009934931993484497,
0.03981075435876846,
0.06790202111005783,
0.0709206759929657,
-0.016016637906432152,
0.04325557500123978,
0.042616330087184906,
-0.028801536187529564,
0.04179951548576355,
0.0021363655105233192,
-0.016931112855672836,
-0.027132395654916763,
-0.041089244186878204,
-0.019958646968007088,
0.04748169332742691,
0.04098270460963249,
-0.007231458555907011,
-0.012092383578419685,
0.05206294730305672,
0.009899417869746685,
-0.009277929551899433,
-0.01994089037179947,
-0.035389311611652374,
0.07621220499277115,
0.021130597218871117,
0.021787598729133606,
0.016602611169219017,
0.03302765637636185,
0.023066088557243347,
0.018271751701831818,
0.0008950539049692452,
0.009455498307943344,
-0.03286784514784813,
0.0038953989278525114,
0.017685776576399803,
0.0038066147826611996,
-0.006117219105362892,
0.011435382068157196,
0.024788498878479004,
0.040805134922266006,
0.010165770538151264,
0.018591374158859253,
0.00004754800465889275,
-0.0419415719807148,
0.03581547364592552,
0.05334143713116646,
-0.010041472502052784,
0.05604047328233719,
0.0010004849173128605,
0.0049497089348733425,
0.0735841915011406,
-0.03963318467140198,
-0.05135267600417137,
-0.006228198762983084,
0.04421444237232208,
0.03476782143115997,
-0.014525065198540688,
0.017712412402033806,
0.05153024569153786,
0.08572985231876373,
0.009739606641232967,
-0.0326014906167984,
-0.015812434256076813,
-0.08487752079963684,
0.010263432748615742,
0.01383255049586296,
-0.05728344991803169,
-0.047943368554115295,
-0.013868063688278198,
-0.0603376179933548,
0.0314117856323719,
0.045741528272628784,
-0.0059396508149802685,
-0.03906496986746788,
-0.026954827830195427,
-0.007759723346680403,
-0.02494831010699272,
-0.032530464231967926,
0.004585694521665573,
0.003189565846696496,
-0.02990245819091797,
-0.032672520726919174,
0.029920214787125587,
0.02990245819091797,
-0.01029894594103098,
-0.005544561892747879,
-0.061935730278491974,
-0.016726909205317497,
-0.04787234216928482,
0.05216949060559273,
-0.02343898080289364,
0.040449999272823334,
-0.0022928472608327866,
-0.034341659396886826,
-0.006370253395289183,
-0.0071604312397539616
] |
708,627
|
more_executors._impl.futures.timeout
|
f_timeout
|
Wrap a future to cancel it after a timeout is reached.
Signature: :code:`Future<X>, float ⟶ Future<X>`
Arguments:
future (~concurrent.futures.Future)
Any future.
timeout (float)
A timeout to apply to the future, in seconds.
Returns:
:class:`~concurrent.futures.Future`
A wrapped version of :obj:`future` which may be cancelled if the
future has not completed within :obj:`timeout` seconds.
Note: only a single attempt is made to cancel the future, and there
is no guarantee that the cancel will succeed.
.. versionadded:: 1.19.0
|
def f_timeout(future, timeout):
"""Wrap a future to cancel it after a timeout is reached.
Signature: :code:`Future<X>, float ⟶ Future<X>`
Arguments:
future (~concurrent.futures.Future)
Any future.
timeout (float)
A timeout to apply to the future, in seconds.
Returns:
:class:`~concurrent.futures.Future`
A wrapped version of :obj:`future` which may be cancelled if the
future has not completed within :obj:`timeout` seconds.
Note: only a single attempt is made to cancel the future, and there
is no guarantee that the cancel will succeed.
.. versionadded:: 1.19.0
"""
return timeout_executor().submit_timeout(timeout, lambda: future)
|
(future, timeout)
|
[
0.008643495850265026,
-0.01447221264243126,
0.02768751047551632,
-0.003275057300925255,
-0.0031754777301102877,
0.012011493556201458,
0.005642835050821304,
-0.02958173304796219,
0.007156442850828171,
-0.016552316024899483,
-0.0014427955029532313,
-0.010011053644120693,
-0.053179848939180374,
-0.029440108686685562,
0.06114620342850685,
0.05392337590456009,
0.02535071410238743,
-0.008913466706871986,
0.0008464252459816635,
0.007342324126511812,
0.02621816098690033,
0.020871851593255997,
-0.007727364543825388,
-0.07888462394475937,
0.04340778663754463,
0.047090012580156326,
-0.003994242288172245,
0.027669807896018028,
-0.04128342494368553,
-0.03067931905388832,
0.012825831770896912,
-0.009825171902775764,
-0.03430843725800514,
0.0314936600625515,
-0.00949766580015421,
0.025740180164575577,
-0.07810568809509277,
0.009506517089903355,
0.013392328284680843,
-0.029263079166412354,
-0.05434824526309967,
0.0017360015772283077,
-0.09354271739721298,
0.0024585057981312275,
-0.005886251572519541,
-0.0013786220224574208,
-0.026359785348176956,
-0.013002862222492695,
0.016950633376836777,
-0.005735775921493769,
0.004113737493753433,
0.02368663065135479,
-0.013622467406094074,
-0.009382596239447594,
-0.026111943647265434,
-0.003217522520571947,
-0.026572221890091896,
0.019791968166828156,
0.03402518853545189,
-0.02242971584200859,
-0.05523339658975601,
0.011701690964400768,
-0.019207768142223358,
0.029988901689648628,
-0.014613836072385311,
0.0318831242620945,
0.017933150753378868,
0.04053989797830582,
0.011152897961437702,
-0.02729804441332817,
0.026607627049088478,
0.04216857627034187,
0.0037331227213144302,
-0.020464681088924408,
0.05162198469042778,
-0.031847719103097916,
-0.04719623178243637,
0.038592565804719925,
-0.03547683730721474,
0.03745957463979721,
-0.051940638571977615,
-0.022783776745200157,
0.03069702349603176,
-0.00445894617587328,
-0.02202254720032215,
0.015065263025462627,
0.005483508110046387,
-0.016702791675925255,
-0.046027831733226776,
-0.010188083164393902,
-0.04988708719611168,
-0.010524440556764603,
-0.007258235011249781,
-0.04500105604529381,
-0.03873419016599655,
-0.011338778771460056,
0.04567377269268036,
-0.018712082877755165,
-0.019597234204411507,
-0.03216637298464775,
0.049143560230731964,
0.049143560230731964,
0.06826281547546387,
-0.033706534653902054,
0.07251153886318207,
-0.0056915185414254665,
-0.0419207327067852,
-0.03002430871129036,
0.05006411671638489,
0.01819869689643383,
0.0340074859559536,
0.001425092457793653,
0.06114620342850685,
0.020199136808514595,
0.0007828050875104964,
-0.01903073862195015,
-0.03492804244160652,
0.022358903661370277,
0.020393870770931244,
-0.04468240216374397,
0.060367271304130554,
0.00963043887168169,
0.009506517089903355,
-0.0529320053756237,
-0.01640184037387371,
0.06401409208774567,
-0.07152017205953598,
0.04287669435143471,
-0.009373744949698448,
-0.027793729677796364,
-0.0012856812682002783,
-0.005850845482200384,
0.07279478758573532,
0.01552554126828909,
0.01878289505839348,
-0.01564946211874485,
-0.008276158012449741,
0.06270407140254974,
-0.01968574896454811,
-0.00032612268114462495,
-0.05303822457790375,
-0.0013974314788356423,
0.020181434229016304,
-0.021827813237905502,
0.05852615833282471,
-0.024642592296004295,
-0.06571358442306519,
-0.01988048292696476,
-0.05626017227768898,
-0.030077418312430382,
-0.006541262846440077,
0.012816980481147766,
0.03572467714548111,
-0.012675357051193714,
0.031847719103097916,
0.06681116670370102,
0.048506252467632294,
-0.04068152233958244,
0.022341201081871986,
-0.02899753302335739,
0.04542592912912369,
0.039831776171922684,
0.028431037440896034,
-0.03492804244160652,
-0.024253126233816147,
-0.011294521391391754,
0.029139157384634018,
0.004299619235098362,
0.006213757209479809,
0.09587951004505157,
-0.014144706539809704,
0.005899528972804546,
0.03567156940698624,
0.005518914200365543,
-0.0832749679684639,
0.04779813438653946,
-0.004423540085554123,
0.021013475954532623,
0.025881804525852203,
-0.038840409368276596,
-0.0247311070561409,
-0.044328343123197556,
0.007510502822697163,
-0.04082314670085907,
0.008200920186936855,
-0.013259556144475937,
-0.017481723800301552,
0.07116610556840897,
0.004562951158732176,
-0.04524889960885048,
0.04900193586945534,
-0.034839529544115067,
0.06408490240573883,
-0.025757882744073868,
-0.012454069219529629,
-0.058667782694101334,
-0.019420204684138298,
-0.0009133647545240819,
0.10381045937538147,
0.050843048840761185,
-0.000993581605143845,
0.054277434945106506,
0.06135863810777664,
-0.027846837416291237,
0.002239431021735072,
-0.01447221264243126,
0.009913686662912369,
-0.043443191796541214,
-0.05668504536151886,
-0.0032794829457998276,
-0.00020565920567605644,
-0.016100889071822166,
-0.031830016523599625,
0.016525762155652046,
0.003164413385093212,
0.05473771318793297,
-0.04563836380839348,
0.007784899324178696,
0.01618940383195877,
0.053817156702280045,
-0.012321296148002148,
-0.011940681375563145,
-0.05314444378018379,
-0.015888452529907227,
0.03547683730721474,
0.07098907977342606,
0.014843975193798542,
0.009050664491951466,
0.09694169461727142,
-0.06610304862260818,
-0.016950633376836777,
0.039831776171922684,
-0.02287229150533676,
-0.02708560787141323,
0.014640390872955322,
-0.041354235261678696,
-0.003874746849760413,
0.0022947529796510935,
-0.03510507196187973,
-0.014888233505189419,
0.049391403794288635,
-0.060190241783857346,
-0.002551446668803692,
0.037742823362350464,
0.01291434746235609,
-0.007563611958175898,
-0.02287229150533676,
0.009842874482274055,
0.07074123620986938,
0.027864541858434677,
-0.0875236913561821,
0.002215089276432991,
-0.03482182323932648,
-0.005594152025878429,
0.005120596382766962,
-0.037778228521347046,
-0.05264875665307045,
-0.0537109375,
0.009347190149128437,
0.06026105210185051,
0.008519574999809265,
-0.021633081138134003,
-0.012427514418959618,
-0.010515589267015457,
-0.005589725915342569,
-0.06564276665449142,
-0.07120151817798615,
-0.048577066510915756,
0.04988708719611168,
-0.055127181112766266,
-0.005554319825023413,
-0.04383265599608421,
-0.02218187414109707,
-0.048577066510915756,
-0.001537949196062982,
-0.003693290986120701,
-0.021296722814440727,
0.0008956617675721645,
-0.010612955316901207,
0.009099348448216915,
0.00794865284115076,
0.033104632049798965,
-0.033954378217458725,
-0.02724493481218815,
-0.07626457512378693,
0.06443896144628525,
-0.08398308604955673,
0.07134313881397247,
-0.003958836197853088,
0.030289852991700172,
0.01279042661190033,
0.017437467351555824,
-0.007811454124748707,
-0.02412920631468296,
-0.025244494900107384,
0.009904835373163223,
-0.02604113146662712,
-0.029741059988737106,
0.0036534590180963278,
-0.04234560579061508,
0.03468019887804985,
0.01779152639210224,
0.028377927839756012,
-0.011011273600161076,
0.008090276271104813,
0.027315746992826462,
-0.001575568108819425,
0.016162849962711334,
-0.045390523970127106,
0.028448740020394325,
0.019154658541083336,
-0.01586189866065979,
-0.031175004318356514,
-0.07088285684585571,
0.02559855580329895,
0.04871869087219238,
-0.040256649255752563,
-0.09495895355939865,
0.02768751047551632,
-0.04468240216374397,
0.0037685285788029432,
-0.03528210148215294,
0.031599875539541245,
-0.009347190149128437,
-0.039654746651649475,
-0.07491914927959442,
-0.020624009892344475,
0.04372644051909447,
-0.02368663065135479,
0.005695944186300039,
0.0010903949150815606,
-0.0024009710177779198,
0.017862338572740555,
-0.050630614161491394,
-0.08490364253520966,
0.009878280572593212,
0.037672009319067,
0.07343209534883499,
0.0215445663779974,
0.053215254098176956,
0.012312444858253002,
0.01206460315734148,
0.005837568081915379,
0.0504181794822216,
-0.05817209929227829,
-0.0022947529796510935,
-0.02873198874294758,
0.048541657626628876,
0.08185872435569763,
-0.06518249213695526,
0.060615114867687225,
-0.0423102006316185,
0.02936929650604725,
0.017065703868865967,
-0.0023102429695427418,
0.05820750445127487,
0.04971005767583847,
0.021916327998042107,
-0.03193623200058937,
-0.026961687952280045,
-0.018535053357481956,
0.01947331242263317,
0.0014527534367516637,
-0.012524881400167942,
-0.020181434229016304,
0.08547013998031616,
0.04567377269268036,
0.001976098632439971,
-0.044753216207027435,
0.048577066510915756,
-0.004224381409585476,
-0.00908164493739605,
0.06213757395744324,
0.0034122555516660213,
0.059552934020757675,
-0.018446538597345352,
-0.06475761532783508,
0.027563590556383133,
-0.03834472596645355,
0.006731570232659578,
0.01469349954277277,
-0.028183195739984512,
-0.02729804441332817,
-0.053817156702280045,
-0.019296282902359962,
-0.005430398974567652,
-0.023810550570487976,
-0.026696141809225082,
-0.009329487569630146,
0.024607187137007713,
-0.07449427247047424,
-0.028006164357066154,
-0.01288779266178608,
-0.002932061441242695,
-0.021721595898270607,
-0.014339439570903778,
-0.025722475722432137,
0.0167116429656744,
0.042841289192438126,
-0.03912365809082985,
0.03742416575551033,
0.050843048840761185,
0.028891315683722496,
-0.0050011007115244865,
0.0314936600625515,
0.06323515623807907,
-0.031847719103097916,
-0.06946662068367004,
-0.010232340544462204,
-0.030342962592840195,
0.013064823113381863,
-0.024607187137007713,
0.0312989242374897,
0.0037596772890537977,
-0.010090717114508152,
0.060615114867687225,
-0.019119253382086754,
-0.029280781745910645,
0.0049258628860116005,
-0.06454518437385559,
0.013781795278191566,
-0.06171270087361336,
-0.037530384957790375,
0.023598115891218185,
-0.010312004946172237,
0.07120151817798615,
0.013454289175570011,
0.039406903088092804,
-0.014357143081724644,
-0.029086049646139145,
-0.03685767203569412,
-0.00921441800892353,
0.023828255012631416,
0.05017033591866493,
0.029935793951153755,
0.03791985288262367,
-0.019915888085961342,
-0.021491456776857376,
0.014773163944482803,
0.04053989797830582,
0.002856823615729809,
-0.0047267042100429535,
0.005465805064886808,
0.008037167601287365,
0.029935793951153755,
-0.04843544214963913,
0.008616941049695015,
0.0537109375,
0.048329222947359085,
-0.0023633521050214767,
0.036716047674417496,
0.01731354556977749,
0.027368856593966484,
0.04245182126760483,
0.05856156349182129,
0.02434164099395275,
-0.075344018638134,
-0.01626906730234623,
-0.018340321257710457,
0.007165294140577316,
-0.02414690889418125,
0.021934032440185547,
0.08532851934432983,
-0.041956137865781784,
-0.045957017689943314,
-0.005452527664601803,
0.04871869087219238,
-0.048541657626628876,
0.02111969329416752,
0.012675357051193714,
0.0051294476725161076,
0.0067138671875,
-0.02942240610718727,
-0.0152157386764884,
0.054277434945106506,
0.0002904400462284684,
0.013233001343905926,
0.0643327459692955,
0.015835344791412354,
0.030997974798083305,
0.014197815209627151,
-0.03961934149265289,
0.006169499829411507,
-0.0061208163388073444,
-0.030289852991700172,
0.04124801978468895,
0.033706534653902054,
0.0037109937984496355,
0.05247172713279724,
0.015198036096990108,
-0.02685546875,
-0.021863220259547234,
0.05098467320203781,
-0.008200920186936855,
0.07562726736068726,
-0.02343878708779812,
-0.0066297780722379684,
0.085399329662323,
-0.031387440860271454,
0.02032305859029293,
0.015507838688790798,
-0.005116170272231102,
-0.048577066510915756,
0.009143605828285217,
0.033529505133628845,
-0.0397963710129261,
-0.016764752566814423,
-0.02365122362971306,
0.007258235011249781,
-0.006474876776337624,
0.0029519773088395596,
-0.0012890006182715297,
0.033086929470300674,
-0.05810128524899483,
-0.037317950278520584,
-0.02117280289530754,
-0.05735775828361511,
-0.04022124409675598,
0.0537109375,
-0.0004088289279025048,
0.02494354359805584,
0.004540822468698025,
-0.00866562407463789,
0.04000880569219589,
0.008147811517119408,
-0.016136296093463898,
0.0782473161816597,
-0.00028822716558352113,
-0.009772062301635742,
-0.021934032440185547,
-0.04075233265757561,
-0.01986278034746647,
-0.00862579233944416,
0.014569578692317009,
0.010745728388428688,
0.01501215435564518,
-0.08306252956390381,
0.039477717131376266,
-0.02664303407073021,
-0.05098467320203781,
-0.07134313881397247,
0.06617385894060135,
0.047054607421159744,
0.05948211997747421,
0.020765632390975952,
0.0013553868047893047,
-0.01469349954277277,
-0.023792847990989685,
0.023314867168664932,
0.016224810853600502,
-0.0051294476725161076,
0.009179011918604374,
0.04836462810635567,
-0.043655626475811005,
-0.04036286845803261,
0.037353355437517166,
0.0330338217318058,
-0.011444997042417526,
0.01343658659607172,
-0.02051779069006443,
0.008439910598099232,
-0.008997555822134018,
0.03537061810493469,
-0.06118160858750343,
-0.01066606491804123,
-0.010913906618952751,
0.03682226687669754,
-0.015808789059519768,
-0.011692839674651623,
-0.06139404699206352,
0.009285230189561844,
0.004388133995234966,
0.018304914236068726,
-0.022695261985063553,
-0.054702308028936386,
-0.012498326599597931,
0.030785538256168365,
-0.07205125689506531,
0.028484147042036057,
0.009648141451179981,
-0.0550563670694828,
0.0006931835669092834,
-0.009426853619515896,
-0.056153953075408936,
-0.020411573350429535,
-0.011188304051756859,
-0.006678461097180843,
0.012932050041854382,
-0.000328058929881081,
0.03738876059651375,
0.018464241176843643,
0.04992249235510826,
0.0074662454426288605,
-0.007019244134426117,
0.03421992063522339,
-0.022482825443148613,
-0.04687757417559624,
0.009701251052320004,
0.03411370515823364,
0.02981187216937542,
0.03112189471721649,
-0.02365122362971306,
-0.0314936600625515,
0.037105511873960495,
-0.030785538256168365,
0.03912365809082985,
-0.07098907977342606,
-0.04624026641249657,
0.005603003315627575,
-0.02795305661857128,
0.012498326599597931,
0.03915906324982643,
0.000705354381352663,
-0.0336180217564106,
0.007244957610964775,
0.01490593608468771,
-0.026766953989863396,
-0.022376608103513718,
-0.08320415765047073,
-0.041991543024778366,
-0.06397868692874908,
0.045815397053956985,
-0.03253813460469246,
-0.026165051385760307,
-0.006687312852591276,
-0.0575701966881752,
-0.027793729677796364,
-0.026342082768678665,
-0.10140285640954971,
0.03301611915230751,
-0.060615114867687225,
-0.014543024823069572,
0.012763871811330318,
0.045355115085840225,
-0.05863237753510475,
-0.0126045448705554,
0.026696141809225082,
0.003932281397283077,
-0.007545908913016319,
-0.014870529994368553,
0.017180772498250008,
-0.019915888085961342,
-0.05162198469042778,
-0.005394992884248495,
0.014525321312248707,
-0.051728200167417526,
0.0019860565662384033,
-0.009851725772023201,
-0.0152157386764884,
-0.03802606835961342,
0.004390346817672253,
0.047267042100429535,
-0.017481723800301552,
-0.020376166328787804,
0.009453408420085907,
-0.06872308999300003,
0.008842654526233673,
0.039017438888549805,
0.06171270087361336,
0.03855716064572334,
0.0701393336057663,
-0.0025757881812751293,
-0.019721155986189842,
0.049603838473558426,
-0.07498995959758759,
-0.05208226293325424,
-0.0014737757155671716,
-0.04117720574140549,
-0.05091386288404465,
0.012259336188435555,
0.06277488172054291,
-0.003987603355199099,
-0.030537696555256844,
0.03898203372955322,
0.025102870538830757,
0.03492804244160652,
-0.07421102374792099,
0.053640127182006836,
-0.012002642266452312,
0.028271710500121117,
0.05905724689364433,
0.03466249629855156,
0.02411150187253952,
-0.014065043069422245,
0.0005487933522090316,
0.026501409709453583,
0.047514885663986206,
-0.01618940383195877,
-0.0245363749563694,
-0.013463140465319157,
-0.006054430268704891,
-0.02768751047551632,
-0.03997340053319931,
0.031139597296714783,
-0.016180552542209625,
0.025244494900107384,
-0.004005306400358677,
-0.011188304051756859,
0.04188532754778862,
0.045815397053956985,
0.06217297911643982,
0.002531530801206827,
-0.019190065562725067,
-0.013303813524544239,
0.013560507446527481,
0.007913246750831604,
0.026271270588040352,
0.013507397845387459,
0.024801919236779213,
-0.014551876112818718,
0.022535935044288635,
-0.009541923180222511,
0.0515865758061409,
0.05941130965948105,
-0.01878289505839348,
0.055941518396139145,
-0.032254889607429504,
0.01625136472284794,
0.04206235706806183,
-0.025244494900107384,
0.06192513555288315,
0.031245816498994827,
0.033529505133628845,
0.027368856593966484,
-0.04801056906580925,
0.012746168300509453,
-0.05077223852276802,
0.07506076991558075,
0.06224378943443298,
0.0025536594912409782,
0.05133873596787453,
0.05473771318793297,
0.0065766689367592335,
-0.04043367877602577,
-0.0575701966881752,
0.012533732689917088,
0.009816320613026619,
0.027014795690774918,
-0.04213316738605499,
-0.027970759198069572,
-0.01966804638504982,
0.019402502104640007,
0.04379725083708763,
0.002044697990640998,
0.08270847052335739,
0.007904394529759884,
-0.06157107651233673,
0.003171052085235715,
-0.004394772928208113,
-0.002217302331700921,
-0.004408049862831831,
0.006085410248488188,
-0.00435272790491581,
0.02050008811056614,
0.04362022131681442,
-0.001573355169966817,
-0.009683547541499138,
0.03179461136460304,
-0.0044368174858391285,
0.0583491288125515,
-0.039442311972379684,
-0.017109960317611694,
-0.002261559711769223,
0.03347639739513397,
-0.02264215238392353,
-0.01986278034746647,
0.0007662085117772222,
0.022889994084835052
] |
708,628
|
more_executors._impl.futures.sequence
|
f_traverse
|
Traverse over an iterable calling a future-returning function,
and return a future holding the returned values as a list.
Signature: :code:`fn<A⟶Future<B>>, iterable<A> ⟶ Future<list<B>>`
Arguments:
fn (callable)
A unary function returning a future.
xs (iterable)
An iterable to be traversed.
Returns:
:class:`~concurrent.futures.Future` of :class:`list`
A future resolved with either:
- a list holding the resolved output values of :obj:`fn`
- or an exception, if :obj:`fn` or any future produced by :obj:`fn` failed
.. versionadded:: 1.19.0
|
def f_traverse(fn, xs):
"""Traverse over an iterable calling a future-returning function,
and return a future holding the returned values as a list.
Signature: :code:`fn<A⟶Future<B>>, iterable<A> ⟶ Future<list<B>>`
Arguments:
fn (callable)
A unary function returning a future.
xs (iterable)
An iterable to be traversed.
Returns:
:class:`~concurrent.futures.Future` of :class:`list`
A future resolved with either:
- a list holding the resolved output values of :obj:`fn`
- or an exception, if :obj:`fn` or any future produced by :obj:`fn` failed
.. versionadded:: 1.19.0
"""
try:
futures = [fn(x) for x in xs]
except Exception:
future = Future()
copy_exception(future)
return future
zipped = f_zip(*futures)
return track_future(f_map(zipped, list), type="traverse")
|
(fn, xs)
|
[
-0.04225151985883713,
-0.01565665565431118,
-0.09722854197025299,
0.01851631887257099,
-0.022662829607725143,
0.06455688923597336,
-0.0017336707096546888,
0.008150039240717888,
0.05537022650241852,
0.008002588525414467,
0.036532193422317505,
0.013744255527853966,
-0.01372638251632452,
-0.019338471814990044,
0.029329419136047363,
0.021894294768571854,
-0.014816628769040108,
0.06212617829442024,
-0.021661946550011635,
0.05154542624950409,
0.0025178438518196344,
0.0067961676977574825,
0.01293103862553835,
-0.038105010986328125,
0.01594262197613716,
0.014700455591082573,
0.029669003561139107,
-0.00872197188436985,
-0.018132051452994347,
0.009070493280887604,
0.05361868068575859,
0.003199248109012842,
-0.08507497608661652,
-0.06058910861611366,
-0.0000710028616595082,
0.07535211741924286,
-0.05998143181204796,
0.0205538272857666,
-0.016353698447346687,
-0.04032124951481819,
0.0034137226175516844,
-0.05386890098452568,
-0.040928926318883896,
-0.04664825275540352,
-0.005965078249573708,
0.0027189140673726797,
-0.023931805044412613,
0.028417902067303658,
0.05558469891548157,
-0.003882886143401265,
0.03156353160738945,
0.026022933423519135,
0.04282345250248909,
-0.040928926318883896,
0.05494127422571182,
0.05969546362757683,
-0.0030830742325633764,
-0.022662829607725143,
0.026773594319820404,
-0.005393145605921745,
0.027863841503858566,
-0.021375980228185654,
-0.023788820952177048,
0.05762220919132233,
0.0010628786403685808,
-0.0007506615365855396,
0.014262569136917591,
-0.06241214647889137,
-0.10208997130393982,
-0.0007813805714249611,
-0.019284851849079132,
0.028131935745477676,
-0.007738963235169649,
-0.05486978590488434,
0.01307402178645134,
0.022698575630784035,
-0.023413490504026413,
0.047041457146406174,
-0.006876595783978701,
0.0053752725943923,
-0.0755665972828865,
-0.02100064978003502,
-0.0205538272857666,
-0.03104521706700325,
-0.010571816936135292,
-0.015299197286367416,
0.011081194505095482,
-0.016014112159609795,
-0.06505733728408813,
0.03004433400928974,
-0.058909058570861816,
-0.03978506103157997,
-0.04032124951481819,
-0.010402023792266846,
-0.08464602380990982,
-0.01257358118891716,
0.01525451522320509,
-0.019856784492731094,
-0.0639849603176117,
0.033475931733846664,
0.045003946870565414,
0.013208068907260895,
-0.024575229734182358,
-0.010804164223372936,
-0.004135340917855501,
-0.030616266652941704,
-0.0610538050532341,
-0.014575344510376453,
0.027845969423651695,
0.008453878574073315,
-0.007251926697790623,
0.009276031516492367,
0.04178682714700699,
0.010822037234902382,
0.002033041790127754,
-0.007546829525381327,
0.026380391791462898,
-0.006367218215018511,
-0.015004293993115425,
-0.07159881293773651,
0.054226361215114594,
0.010982893407344818,
-0.020142750814557076,
0.008047270588576794,
-0.03892716392874718,
0.02309177815914154,
0.052439071238040924,
0.02798895165324211,
-0.005035687703639269,
0.03417297452688217,
0.03392275422811508,
0.03594239056110382,
0.007475337944924831,
0.046862728893756866,
0.08128592371940613,
-0.0022028342355042696,
-0.056013647466897964,
-0.015754956752061844,
-0.0656292662024498,
-0.03710412606596947,
-0.05687154829502106,
-0.09272457659244537,
0.01976742036640644,
0.03942760452628136,
0.020911285653710365,
-0.02050020918250084,
-0.0031813750974833965,
-0.012537835165858269,
0.009427951648831367,
0.0061438074335455894,
-0.010518197901546955,
0.05097349360585213,
-0.020947031676769257,
0.013958729803562164,
-0.03159927576780319,
0.02645188197493553,
0.025736967101693153,
-0.0038851203862577677,
0.011778237298130989,
0.009146453812718391,
-0.018373334780335426,
0.04764913395047188,
-0.005352931562811136,
-0.029651131480932236,
0.012010584585368633,
0.028310663998126984,
0.007417250890284777,
0.015781765803694725,
-0.04621930420398712,
0.03999953716993332,
0.00622423505410552,
0.034727033227682114,
0.04797084629535675,
-0.026094425469636917,
-0.05722900480031967,
0.007645130157470703,
-0.028525138273835182,
0.021107887849211693,
0.010875656269490719,
-0.009249222464859486,
-0.04700570926070213,
-0.017613736912608147,
-0.003840438090264797,
-0.04439627006649971,
0.01168887224048376,
0.06695186346769333,
-0.01103651151061058,
0.03615686297416687,
0.02284155786037445,
0.010848846286535263,
-0.05383315682411194,
-0.0253437627106905,
0.04661250859498978,
-0.007448528427630663,
-0.03442319482564926,
-0.02309177815914154,
-0.05840861797332764,
-0.0015515906270593405,
0.038426723331213,
-0.017506498843431473,
-0.008748781867325306,
-0.026237407699227333,
0.0523318350315094,
-0.019052505493164062,
-0.0440388098359108,
0.05154542624950409,
-0.006983833387494087,
-0.028131935745477676,
0.0003127756353933364,
0.009133048355579376,
-0.021447472274303436,
-0.03283250704407692,
-0.05415486916899681,
0.022680701687932014,
0.0022709746845066547,
0.018605682998895645,
-0.04493245482444763,
-0.006304663140326738,
0.08571840077638626,
-0.016005177050828934,
0.020661065354943275,
0.005214416887611151,
-0.028578756377100945,
-0.055548954755067825,
0.046326540410518646,
-0.0023703924380242825,
-0.023913931101560593,
0.025308018550276756,
0.013851492665708065,
-0.05597790330648422,
-0.013654890470206738,
0.0041174679063260555,
0.036281973123550415,
-0.03538832813501358,
0.05930226296186447,
-0.05486978590488434,
0.026076551526784897,
-0.024503737688064575,
0.016764774918556213,
0.02184067666530609,
-0.010956084355711937,
0.005245694424957037,
0.02278793975710869,
-0.0282391719520092,
0.015272388234734535,
0.0523318350315094,
0.01244847010821104,
0.014405552297830582,
0.02157258242368698,
0.028596630319952965,
-0.02850726619362831,
0.01973167434334755,
-0.009043684229254723,
-0.03417297452688217,
-0.0047720628790557384,
-0.026291027665138245,
0.03896290808916092,
-0.027041688561439514,
0.028632376343011856,
0.044467758387327194,
0.044217538088560104,
-0.0246109738945961,
-0.007609384600073099,
0.0036013880744576454,
-0.03079499676823616,
-0.015174087136983871,
0.01397660281509161,
-0.058909058570861816,
0.004340879153460264,
0.059909939765930176,
-0.0015359518583863974,
-0.02023211494088173,
0.0246109738945961,
-0.025200780481100082,
-0.0030897764954715967,
-0.047613389790058136,
-0.03285037726163864,
0.0003155682934448123,
-0.019606564193964005,
0.020661065354943275,
-0.013127640821039677,
-0.015147277154028416,
-0.10151803493499756,
-0.00072887894930318,
-0.05672856420278549,
-0.01553154457360506,
0.035066619515419006,
0.023753076791763306,
0.03075925074517727,
0.006876595783978701,
0.07814028859138489,
0.01664859987795353,
0.015576226636767387,
-0.08593287318944931,
-0.02747063711285591,
-0.012627199292182922,
-0.03594239056110382,
-0.05208161100745201,
0.033493801951408386,
0.009758600033819675,
0.04875725507736206,
-0.052153103053569794,
0.00011847773566842079,
-0.03508448973298073,
0.03172438591718674,
0.020732557401061058,
0.016809456050395966,
0.02972262166440487,
-0.08664778620004654,
-0.008654949255287647,
-0.024235643446445465,
0.005746135488152504,
-0.058623090386390686,
-0.060696348547935486,
-0.03304697945713997,
-0.008726440370082855,
-0.05329696834087372,
0.0015057913260534406,
0.03735434636473656,
0.005004410166293383,
-0.041715335100889206,
0.05404762923717499,
0.054297853261232376,
0.030151572078466415,
0.010419896803796291,
0.019409961998462677,
-0.012251868844032288,
0.011563762091100216,
0.010035630315542221,
0.06158999353647232,
0.020947031676769257,
-0.027345526963472366,
-0.005616556853055954,
0.04085743427276611,
-0.033172089606523514,
0.07181328535079956,
0.034780651330947876,
0.044253285974264145,
0.04368135333061218,
0.004331942647695541,
-0.039892297238111496,
0.0010410960530862212,
-0.02437862753868103,
0.030151572078466415,
-0.0253437627106905,
0.0070597929880023,
0.0544050894677639,
0.0477563738822937,
0.052689291536808014,
-0.006058910861611366,
0.05133095011115074,
-0.015343879349529743,
0.020214242860674858,
0.05894480273127556,
-0.006331472657620907,
0.07778283208608627,
0.004870363511145115,
-0.03996378928422928,
-0.000876330304890871,
0.006416368763893843,
0.00046692934120073915,
-0.041143402457237244,
0.006612970493733883,
-0.03174225986003876,
0.031223945319652557,
-0.0585516020655632,
0.021876422688364983,
0.014021284878253937,
-0.028828978538513184,
0.05633535981178284,
0.05161691829562187,
0.033976372331380844,
-0.016586044803261757,
0.03545982018113136,
-0.024521609768271446,
-0.0091107077896595,
0.05158117040991783,
0.002906579291447997,
-0.010339468717575073,
0.027381272986531258,
-0.05007984861731529,
-0.050151340663433075,
0.0481853224337101,
0.0008160092984326184,
0.07134859263896942,
0.020321480929851532,
0.050687525421381,
-0.018552063032984734,
0.024271389469504356,
0.035245347768068314,
-0.04343113303184509,
-0.032671649008989334,
-0.010169676505029202,
-0.012752309441566467,
-0.0036550068762153387,
-0.08171486854553223,
0.09079430252313614,
0.03410148248076439,
0.052474815398454666,
-0.0639849603176117,
-0.0058489046059548855,
0.008762186393141747,
-0.0142268231138587,
0.049114711582660675,
0.01974954828619957,
0.026237407699227333,
-0.03356529399752617,
-0.05769370123744011,
0.0010137282079085708,
0.039105892181396484,
0.004159916192293167,
-0.03917738422751427,
0.013127640821039677,
-0.0456831157207489,
-0.001215356751345098,
0.08135741204023361,
-0.05983844771981239,
0.03917738422751427,
-0.0012053032405674458,
-0.021876422688364983,
0.038569703698158264,
-0.01720266044139862,
0.003605856327340007,
0.04439627006649971,
0.046326540410518646,
-0.03742583841085434,
0.05125945806503296,
0.016291143372654915,
0.03444106504321098,
0.036299847066402435,
0.024271389469504356,
-0.0650215893983841,
-0.0498296283185482,
-0.010035630315542221,
0.04328814893960953,
-0.01568346470594406,
-0.025486746802926064,
0.032671649008989334,
0.01588900201022625,
0.02589782327413559,
-0.04132213070988655,
0.05983844771981239,
0.01867717318236828,
-0.04907896742224693,
0.02820342592895031,
0.014718327671289444,
0.000003774427113967249,
0.012028457596898079,
0.030133698135614395,
-0.0039365049451589584,
-0.023770948871970177,
0.011233113706111908,
0.030080080032348633,
0.04493245482444763,
0.013225940987467766,
0.016586044803261757,
-0.014253633096814156,
-0.01876653917133808,
-0.07463720440864563,
0.014200014062225819,
0.0897219255566597,
-0.02975836768746376,
0.09851539134979248,
-0.05844436213374138,
-0.03547769412398338,
-0.009642425924539566,
0.019838912412524223,
0.028114061802625656,
0.006009760778397322,
-0.08371663838624954,
0.03651432320475578,
-0.013413607142865658,
-0.040642961859703064,
-0.05608513951301575,
0.052403323352336884,
0.05408337712287903,
-0.024521609768271446,
-0.014852374792098999,
-0.0006998354801908135,
-0.0554417185485363,
-0.029329419136047363,
-0.08614734560251236,
0.09065131843090057,
0.00797131098806858,
-0.01618390530347824,
-0.06759528815746307,
0.06484285742044449,
-0.0016889884136617184,
0.028650248423218727,
-0.030169444158673286,
0.0033846793230623007,
-0.06780976057052612,
0.05136669799685478,
-0.010008820332586765,
0.04175107926130295,
-0.0415366068482399,
0.005728262476623058,
0.013574463315308094,
0.012368042953312397,
-0.02050020918250084,
0.04772062599658966,
0.007497678976505995,
0.02230537123978138,
0.04772062599658966,
-0.01398553978651762,
0.04364560544490814,
0.05022283270955086,
-0.00037644783151336014,
-0.008936447091400623,
-0.020482337102293968,
0.01792651228606701,
0.04639803245663643,
-0.05490553006529808,
-0.034512557089328766,
-0.07188478112220764,
-0.016791583970189095,
-0.04293069243431091,
0.015620909631252289,
0.013288496993482113,
0.0001618334645172581,
0.027005942538380623,
0.0013851493131369352,
0.038069263100624084,
0.02975836768746376,
-0.002676465781405568,
0.02434288151562214,
-0.0012901995796710253,
0.011322477832436562,
-0.01230548694729805,
0.024825450032949448,
-0.043216656893491745,
0.006662121042609215,
0.006769358646124601,
-0.040893182158470154,
-0.016237523406744003,
-0.023038160055875778,
0.008990065194666386,
0.026040805503726006,
-0.002980305114760995,
0.004325240384787321,
0.0461120642721653,
0.06505733728408813,
-0.0637347400188446,
0.024003297090530396,
0.005294844973832369,
-0.03299336135387421,
-0.047112949192523956,
-0.0639849603176117,
0.0043721566908061504,
0.007895350456237793,
-0.027345526963472366,
-0.017542244866490364,
0.035799406468868256,
0.008596861734986305,
-0.008418132551014423,
-0.006872127763926983,
-0.03485214337706566,
-0.004130872432142496,
-0.08686226606369019,
-0.013208068907260895,
0.02157258242368698,
0.04232301190495491,
-0.05365442857146263,
-0.018784411251544952,
0.00769874919205904,
-0.006965960375964642,
0.05969546362757683,
0.015549417585134506,
0.05490553006529808,
-0.07031196355819702,
0.0558706670999527,
0.06898937374353409,
0.007122348062694073,
-0.029079198837280273,
-0.006635311990976334,
0.010687990114092827,
0.04593333601951599,
-0.09622766077518463,
0.04210853949189186,
-0.07985609024763107,
-0.013994475826621056,
-0.07084815204143524,
0.02389605902135372,
-0.022448355332016945,
0.025969315320253372,
0.030616266652941704,
-0.003496384946629405,
0.05594215914607048,
-0.01740819774568081,
0.013672763481736183,
-0.021965786814689636,
-0.012493153102695942,
-0.012662945315241814,
0.03742583841085434,
0.006313599646091461,
-0.06158999353647232,
0.006058910861611366,
0.0379977710545063,
-0.045540135353803635,
-0.04200129956007004,
-0.02770298533141613,
0.019695928320288658,
0.025308018550276756,
-0.0014063733397051692,
0.004521842114627361,
-0.02822129987180233,
-0.00949050672352314,
-0.04032124951481819,
0.06695186346769333,
0.04847128689289093,
0.04307367280125618,
0.04750615358352661,
0.08192934840917587,
-0.04461074247956276,
0.05290376394987106,
0.0220194049179554,
0.006335940677672625,
0.018552063032984734,
-0.02847152017056942,
0.017068613320589066,
-0.008847082033753395,
-0.04804233834147453,
-0.009025811217725277,
-0.0018129816744476557,
-0.026487627997994423,
-0.012645072303712368,
0.0075959800742566586,
-0.04832830652594566,
0.01998189464211464,
0.03201035410165787,
-0.016005177050828934,
0.013735318556427956,
0.03867694362998009,
-0.013494035229086876,
0.0046826982870697975,
-0.04518267512321472,
0.004061615094542503,
-0.0064253052696585655,
-0.03415510058403015,
-0.0789266973733902,
-0.0487929992377758,
0.03163502365350723,
-0.031688641756772995,
-0.060946568846702576,
0.04100041836500168,
-0.07077665627002716,
-0.020714683458209038,
0.0012533366680145264,
0.06262662261724472,
0.026326771825551987,
0.0005213858094066381,
0.06402070820331573,
-0.045003946870565414,
0.050115592777729034,
-0.006872127763926983,
0.03377977013587952,
0.011081194505095482,
-0.030723504722118378,
0.047613389790058136,
0.06455688923597336,
-0.00640743225812912,
0.01130460575222969,
0.01590687595307827,
0.02076830342411995,
-0.004059380851686001,
-0.016067732125520706,
-0.010223295539617538,
0.008905169554054737,
-0.04539715126156807,
0.0060142287984490395,
0.04439627006649971,
-0.017247343435883522,
0.006961492355912924,
0.014700455591082573,
0.04639803245663643,
0.021644074469804764,
-0.01923123374581337,
0.029114944860339165,
0.014396616257727146,
0.00974072702229023,
0.0025669944006949663,
0.05211735889315605,
-0.02389605902135372,
0.015299197286367416,
-0.05004410445690155,
-0.029114944860339165,
0.059087786823511124,
0.029543893411755562,
0.019928276538848877,
-0.0146379005163908,
0.08536094427108765,
-0.013565526343882084,
-0.010634372010827065,
-0.0002738183247856796,
-0.06741655617952347,
0.04478947073221207,
0.01793544925749302,
-0.00628679059445858,
0.06391347199678421,
0.015209832228720188,
0.007582575082778931,
0.01874866522848606,
0.0018453763332217932,
0.00042950798524543643,
0.008511966094374657,
-0.006443178281188011,
-0.032975487411022186,
0.0010181964607909322,
-0.006242108065634966,
0.006318068131804466,
-0.0011109120678156614,
-0.030062207952141762,
-0.010553943924605846,
-0.000026983880161424167,
0.0001365600764984265,
-0.017256278544664383,
0.028560884296894073,
0.018087368458509445,
0.007019578944891691,
0.028918342664837837,
0.01488812081515789,
-0.02591569535434246,
0.02643400989472866,
-0.019892530515789986,
-0.04085743427276611,
-0.03363678604364395,
0.017604799941182137,
0.046326540410518646,
-0.03597813472151756,
0.06259087473154068,
0.02337774448096752,
0.03713987395167351,
0.005665707401931286,
-0.07528062909841537,
-0.04060721397399902,
-0.0789266973733902,
0.002587101422250271,
0.037568822503089905,
-0.05290376394987106,
-0.0031970138661563396,
-0.011116939596831799,
-0.054011885076761246,
-0.0038560768589377403,
0.02441437356173992,
-0.00948156975209713,
-0.01191228348761797,
-0.018623555079102516,
-0.021715566515922546,
0.003967782482504845,
-0.013538717292249203,
0.007149157579988241,
-0.009561997838318348,
-0.04439627006649971,
-0.0517241545021534,
0.020339353010058403,
0.02051808126270771,
-0.029347291216254234,
-0.05540597066283226,
-0.08178636431694031,
-0.0010243402794003487,
-0.05361868068575859,
0.011438651941716671,
-0.053261224180459976,
0.03199248015880585,
0.01844482682645321,
-0.008605798706412315,
-0.0040772538632154465,
0.019678056240081787
] |
708,629
|
more_executors._impl.futures.zip
|
f_zip
|
Create a new future holding the return values of any number of input futures.
Signature: :code:`Future<A>[, Future<B>[, ...]] ⟶ Future<A[, B[, ...]]>`
Arguments:
fs (~concurrent.futures.Future)
Any number of futures.
Returns:
:class:`~concurrent.futures.Future` of :class:`tuple`
A future holding the returned values of all input futures as a tuple.
The returned tuple has the same length and order as the input futures.
Alternatively, a future raising an exception or a cancelled future,
if any input futures raised an exception or was cancelled.
.. note::
This function is tested with up to 100,000 input futures.
Exceeding this limit may result in performance issues.
.. versionadded:: 1.19.0
|
# -*- coding: utf-8 -*-
from concurrent.futures import Future
from threading import Lock
from functools import partial
from collections import namedtuple
from more_executors._impl.common import (
copy_future_exception,
try_set_result,
)
from .base import f_return, chain_cancel, weak_callback
from .check import ensure_futures
from ..metrics import track_future
# For small-ish tuples, we make f_zip return namedtuple instances
# which can be traced back to here rather than bare tuples. The point
# is to improve debuggability of code where the future returned by
# f_zip ends up being logged with repr(), as in that case only the
# result's type will be logged. Seeing e.g. 'ZipTuple3' in a crash log
# rather than 'tuple' could be potentially very helpful.
TUPLE_CLASSES = []
for i in range(0, 20):
TUPLE_CLASSES.append(
namedtuple("ZipTuple%s" % i, ["f%s" % idx for idx in range(0, i)])
)
def maketuple(value):
vlen = len(value)
if vlen < len(TUPLE_CLASSES):
return TUPLE_CLASSES[vlen](*value)
return tuple(value)
|
(*fs)
|
[
0.02901836670935154,
-0.021961838006973267,
-0.0484929159283638,
0.0664013922214508,
0.01512639969587326,
-0.0029755341820418835,
-0.017493929713964462,
-0.01794532686471939,
-0.06308501213788986,
-0.03898594528436661,
0.045029137283563614,
0.060947783291339874,
-0.04149165749549866,
-0.017853204160928726,
-0.006531435530632734,
0.03360603377223015,
0.0027521387673914433,
0.008548903279006481,
0.009506969712674618,
0.03987031430006027,
0.005946462042629719,
0.021722320467233658,
-0.010179459117352962,
0.003977358806878328,
0.02087480016052723,
-0.0018286177655681968,
0.005601005628705025,
-0.019548246636986732,
0.012611474841833115,
-0.0008717025630176067,
0.019750913605093956,
-0.03122929111123085,
-0.04786648601293564,
-0.02393324300646782,
0.021077468991279602,
0.017493929713964462,
-0.016913563013076782,
0.09595406800508499,
0.016913563013076782,
-0.08062499761581421,
0.035724833607673645,
-0.09536448866128922,
-0.03592750430107117,
-0.03460094705224037,
-0.0041984510608017445,
0.005932644009590149,
-0.04388682544231415,
-0.04679787531495094,
0.04204438999295235,
-0.05339379608631134,
0.05943698436021805,
-0.003007776802405715,
0.04186014458537102,
0.03968607261776924,
0.02284620702266693,
0.08062499761581421,
0.03513525426387787,
0.02039576694369316,
-0.006480768788605928,
-0.012196926400065422,
-0.018663877621293068,
0.06341664493083954,
0.027949754148721695,
0.026917990297079086,
-0.0374198742210865,
0.013154992833733559,
-0.023546332493424416,
-0.02756284363567829,
-0.07266567647457123,
0.038838550448417664,
0.0316346250474453,
0.020893223583698273,
-0.05018795654177666,
-0.018350662663578987,
0.019069213420152664,
0.020801102742552757,
0.01138625480234623,
-0.017457081004977226,
0.002390560694038868,
-0.009087815880775452,
-0.0590316504240036,
-0.047055814415216446,
-0.03203996270895004,
-0.007028893567621708,
0.02363845333456993,
-0.008622600696980953,
0.027415448799729347,
-0.003148262621834874,
-0.0711548775434494,
-0.03552216663956642,
-0.08666819334030151,
0.03379027545452118,
-0.003256505588069558,
0.008355447091162205,
-0.002223589923232794,
-0.06828068196773529,
0.0053062159568071365,
-0.06135312095284462,
-0.04267081990838051,
0.0011261890176683664,
0.03745672479271889,
-0.025554588064551353,
-0.0017595264362171292,
-0.04451325535774231,
-0.000014879829905112274,
-0.03012382984161377,
-0.010778251104056835,
-0.00014912216283846647,
-0.03802787885069847,
-0.05534677952528,
-0.012040319852530956,
-0.04746115207672119,
0.002448136918246746,
0.01414069626480341,
0.00008010278543224558,
0.0052417307160794735,
-0.011920561082661152,
0.0006028220523148775,
0.00015099339361768216,
-0.026678472757339478,
0.08445727080106735,
0.016148950904607773,
-0.023804273456335068,
-0.008885147981345654,
-0.02627313695847988,
0.06702782213687897,
0.05523623153567314,
0.021022194996476173,
-0.011975834146142006,
0.010667704977095127,
0.03091607615351677,
0.006964408326894045,
-0.01686750166118145,
0.07472920417785645,
0.013247114606201649,
0.03614859655499458,
-0.02393324300646782,
0.00830017402768135,
-0.055199384689331055,
0.005872764624655247,
-0.029902735725045204,
-0.0627165213227272,
0.03139511123299599,
0.03942812979221344,
-0.007434229366481304,
-0.01940085180103779,
-0.014564456418156624,
0.014932943508028984,
0.0231962688267231,
-0.04893510043621063,
0.039944011718034744,
0.016885926946997643,
-0.05320955067873001,
0.009506969712674618,
-0.01976933889091015,
0.016121314838528633,
0.038064729422330856,
0.04458695277571678,
0.0104097630828619,
-0.07351319491863251,
-0.036701325327157974,
-0.015200097113847733,
0.009534606710076332,
-0.030823955312371254,
-0.015236945822834969,
0.020543161779642105,
0.05737345665693283,
0.015577796846628189,
-0.03091607615351677,
0.04591350629925728,
-0.0019299517152830958,
0.07310786098241806,
0.06441156566143036,
0.0034799010027199984,
-0.07553987950086594,
0.03410349041223526,
-0.02901836670935154,
-0.0022592872846871614,
0.01274044532328844,
-0.05542047694325447,
-0.05608375370502472,
-0.0550888366997242,
-0.07413962483406067,
0.005200275685638189,
0.047719091176986694,
0.019750913605093956,
0.021832866594195366,
0.011404679156839848,
0.06116887554526329,
-0.031874142587184906,
-0.08342549949884415,
-0.04941413551568985,
0.036646053194999695,
0.007784292101860046,
-0.006743316072970629,
-0.004864030983299017,
-0.0285946074873209,
0.013016810640692711,
0.03858061134815216,
-0.014066998846828938,
-0.06791219115257263,
-0.01341293379664421,
0.08202525228261948,
-0.016480591148138046,
0.014868458732962608,
-0.0065728905610740185,
0.012289048172533512,
-0.01246408000588417,
-0.003631901927292347,
0.024541247636079788,
0.05136711522936821,
-0.009308908134698868,
-0.03159777820110321,
0.08622600883245468,
0.027286477386951447,
-0.024135911837220192,
0.01892181858420372,
0.03423245996236801,
0.11415733397006989,
0.03839636594057083,
0.031745173037052155,
-0.015117187984287739,
0.02008255198597908,
0.022238202393054962,
0.07034420967102051,
0.021574925631284714,
0.04219178482890129,
0.005693127401173115,
-0.000353805284248665,
-0.032611116766929626,
-0.005987917073071003,
-0.0450659841299057,
0.007664533797651529,
-0.04602405056357384,
0.005472035147249699,
-0.06396938115358353,
-0.0053522768430411816,
-0.05040904879570007,
0.018350662663578987,
-0.0007836110889911652,
0.012482504360377789,
0.016195012256503105,
0.03905964270234108,
-0.0043803914450109005,
0.004295179154723883,
-0.053614888340234756,
0.009060178883373737,
0.014011725783348083,
0.012731232680380344,
-0.003431537188589573,
0.004184633027762175,
0.025370344519615173,
-0.026217864826321602,
-0.05840522050857544,
0.015605432912707329,
-0.07402908056974411,
0.04845606908202171,
-0.030768681317567825,
0.05302530899643898,
0.014914519153535366,
0.05516253411769867,
-0.058552615344524384,
-0.020911648869514465,
-0.015301431529223919,
-0.005163426976650953,
-0.053541190922260284,
-0.009354968555271626,
-0.06312185525894165,
0.010759826749563217,
0.05803673341870308,
0.05394652858376503,
0.0042099663987755775,
-0.013127356767654419,
0.0166003480553627,
-0.07553987950086594,
-0.016351619735360146,
0.02817084640264511,
-0.0016754652606323361,
-0.0384700633585453,
-0.05339379608631134,
0.011496800929307938,
-0.00765532162040472,
-0.04491858929395676,
-0.034324582666158676,
-0.023859545588493347,
0.032113660126924515,
-0.0012206138344481587,
-0.015504099428653717,
0.03651708364486694,
-0.001609828439541161,
0.047792788594961166,
0.038064729422330856,
0.025867801159620285,
-0.08386769145727158,
0.01789926551282406,
0.04440270736813545,
-0.005186457186937332,
-0.053725432604551315,
0.015264582820236683,
-0.02271723560988903,
0.006020159926265478,
-0.04635569080710411,
0.009424060583114624,
0.006729497574269772,
0.03655393049120903,
-0.0024965007323771715,
0.011459952220320702,
-0.006089251022785902,
-0.09418532997369766,
0.030400194227695465,
0.04226548224687576,
0.029736917465925217,
0.0020831043366342783,
-0.054278165102005005,
0.02828139252960682,
0.03332966938614845,
0.005214093718677759,
-0.0009045209153555334,
-0.028447212651371956,
0.023306814953684807,
-0.046871572732925415,
0.010446611791849136,
0.04219178482890129,
-0.021409107372164726,
-0.002904139691963792,
0.0007957020425237715,
-0.04642938822507858,
-0.038838550448417664,
0.02069055661559105,
0.03471149504184723,
-0.09005827456712723,
0.019198182970285416,
0.025020280852913857,
0.05479404702782631,
-0.03939128294587135,
0.10914590954780579,
0.03275851160287857,
-0.015900222584605217,
0.05022480711340904,
-0.019253456965088844,
0.03386397287249565,
0.006245858035981655,
-0.033587608486413956,
0.03614859655499458,
-0.06735946238040924,
-0.020524736493825912,
0.04775594174861908,
0.0661434531211853,
0.05199354514479637,
-0.014822397381067276,
0.022146081551909447,
-0.037327755242586136,
-0.03507998213171959,
0.08910020440816879,
0.06441156566143036,
0.04775594174861908,
-0.01971406489610672,
-0.036332838237285614,
0.007959323935210705,
0.010437400080263615,
0.0275444183498621,
-0.05726291239261627,
0.02485446259379387,
0.017512354999780655,
0.01825854182243347,
-0.058994799852371216,
0.03017910197377205,
0.022514568641781807,
-0.02785763330757618,
-0.028299817815423012,
0.017991388216614723,
-0.009216786362230778,
0.02791290543973446,
0.012565413489937782,
-0.045397624373435974,
0.002950200578197837,
-0.014334152452647686,
0.011920561082661152,
-0.10796675086021423,
-0.024099063128232956,
0.004094813950359821,
-0.058147281408309937,
-0.000994915491901338,
-0.012519353069365025,
-0.007876413874328136,
0.01718071661889553,
0.006688042543828487,
-0.03360603377223015,
0.019732490181922913,
0.08821583539247513,
0.001840132987126708,
-0.002528743352741003,
-0.035724833607673645,
-0.0053338524885475636,
0.03990716487169266,
-0.005085123237222433,
-0.0017629809444770217,
0.03233475238084793,
-0.018276965245604515,
-0.027452297508716583,
0.02443070150911808,
-0.020414190366864204,
0.0166003480553627,
0.027710238471627235,
0.021280135959386826,
-0.000275789643637836,
0.012132441624999046,
-0.07251828163862228,
0.029184186831116676,
0.006342586129903793,
-0.01601998135447502,
-0.05545732378959656,
-0.0003054413537029177,
-0.07553987950086594,
-0.04602405056357384,
0.04930358752608299,
-0.036038048565387726,
-0.02535191923379898,
0.0030423225834965706,
-0.002977837109938264,
0.057520851492881775,
0.007940899580717087,
0.00666040601208806,
0.013053659349679947,
-0.01873757503926754,
-0.01221535075455904,
0.011248071677982807,
0.04193384572863579,
-0.020856374874711037,
0.016692470759153366,
-0.0055595505982637405,
-0.014776336960494518,
0.009253635071218014,
0.022919904440641403,
0.00967278890311718,
0.030787106603384018,
0.012233775109052658,
0.02632841095328331,
0.05339379608631134,
0.03710666298866272,
-0.017493929713964462,
0.06006341427564621,
-0.016121314838528633,
-0.032482147216796875,
0.009728061966598034,
-0.0295158252120018,
-0.025757255032658577,
0.007157864049077034,
-0.007351319771260023,
0.02583095245063305,
0.012482504360377789,
0.036959268152713776,
0.010722978040575981,
0.02772866189479828,
0.012537777423858643,
0.004193845205008984,
-0.02479918859899044,
-0.027599692344665527,
-0.08571012318134308,
0.007646109443157911,
0.08755256235599518,
-0.03203996270895004,
0.034987859427928925,
-0.00442875549197197,
-0.003413112834095955,
-0.03710666298866272,
0.056968122720718384,
-0.02221977896988392,
0.0006696103373542428,
-0.03485888987779617,
0.053172703832387924,
0.005145002622157335,
-0.018332239240407944,
0.013376085087656975,
0.006904528941959143,
0.025886226445436478,
0.02056158520281315,
0.00918454397469759,
0.03736460208892822,
-0.05096178129315376,
-0.00045398774091154337,
-0.035614289343357086,
0.06478004902601242,
0.008816055953502655,
-0.04591350629925728,
-0.021519653499126434,
0.09344835579395294,
-0.02056158520281315,
0.045471321791410446,
0.020156249403953552,
-0.05265682190656662,
-0.015854161232709885,
0.06415361911058426,
0.022809358313679695,
0.0434814915060997,
-0.023048873990774155,
0.0026461987290531397,
0.03697768971323967,
0.024357004091143608,
-0.04491858929395676,
0.042891912162303925,
-0.019087636843323708,
0.023785848170518875,
-0.01512639969587326,
0.0411231704056263,
0.007729019038379192,
0.04536077380180359,
-0.03987031430006027,
-0.032113660126924515,
-0.01386433094739914,
-0.018848121166229248,
-0.02712065912783146,
-0.03386397287249565,
-0.021814443171024323,
-0.013845906592905521,
-0.002252378035336733,
0.025886226445436478,
-0.027820784598588943,
-0.005168032832443714,
-0.03404821828007698,
0.010879584588110447,
0.0711548775434494,
0.022606689482927322,
0.039464980363845825,
-0.04904564842581749,
-0.025794103741645813,
0.023712150752544403,
-0.01365245133638382,
-0.0044080279767513275,
0.04027565196156502,
-0.055678416043519974,
0.0036365080159157515,
0.000938490848056972,
-0.08541533350944519,
0.03935443237423897,
-0.0004243360599502921,
-0.06116887554526329,
0.04543447121977806,
-0.04027565196156502,
-0.06098463386297226,
0.005918825510889292,
0.04753484949469566,
-0.06872286647558212,
-0.06676988303661346,
-0.014122271910309792,
-0.01586337387561798,
0.006319555453956127,
0.042339179664850235,
0.0209484975785017,
-0.01625949703156948,
-0.005273973103612661,
0.019990431144833565,
0.06234803423285484,
-0.011837651021778584,
-0.06783849745988846,
-0.05545732378959656,
0.00001971982237591874,
-0.003037716494873166,
-0.011165162548422813,
0.02675217017531395,
0.03747515007853508,
0.020100977271795273,
-0.023841122165322304,
-0.048345521092414856,
-0.007273016031831503,
0.014177544973790646,
0.059916019439697266,
-0.0001453077420592308,
-0.00012278108624741435,
-0.03887540102005005,
-0.010686129331588745,
0.03651708364486694,
0.030768681317567825,
-0.03292433172464371,
-0.00046780603588558733,
-0.02584937773644924,
0.026917990297079086,
-0.07203924655914307,
0.058921102434396744,
-0.05486774444580078,
0.008783813565969467,
0.007881020195782185,
0.035982776433229446,
-0.08040390908718109,
0.036830294877290726,
0.061205726116895676,
-0.02498343214392662,
0.02785763330757618,
0.042707666754722595,
0.04727690666913986,
-0.03202153742313385,
0.023785848170518875,
-0.0339929461479187,
-0.00820805225521326,
0.057336609810590744,
-0.011699468828737736,
-0.02056158520281315,
0.027876056730747223,
-0.02032206952571869,
-0.0026208653580397367,
-0.022606689482927322,
-0.02284620702266693,
-0.04945098236203194,
-0.036959268152713776,
0.019308729097247124,
-0.026254713535308838,
-0.055383626371622086,
-0.020100977271795273,
0.0036457201931625605,
0.0316346250474453,
0.06039505451917648,
-0.0016432226402685046,
0.07203924655914307,
-0.02245929464697838,
0.00013947815750725567,
0.022735660895705223,
-0.08158306777477264,
0.006218221504241228,
-0.0214828047901392,
0.045581866055727005,
-0.035172104835510254,
0.017586052417755127,
-0.0434814915060997,
-0.029460551217198372,
-0.006950589828193188,
0.017226776108145714,
0.000043613916204776615,
0.01432493980973959,
0.017724234610795975,
0.03054758906364441,
-0.03489573672413826,
0.037014540284872055,
0.11342035979032516,
-0.04182329773902893,
0.03194784000515938,
-0.03404821828007698,
0.04370258376002312,
0.02363845333456993,
-0.004486331716179848,
-0.06161106005311012,
0.011533649638295174,
-0.012224563397467136,
-0.017226776108145714,
-0.0651116892695427,
0.025388767942786217,
-0.0674700066447258,
0.03760411962866783,
-0.029184186831116676,
0.018599390983581543,
0.026807444170117378,
-0.017963752150535583,
0.03898594528436661,
0.006089251022785902,
0.02363845333456993,
-0.014564456418156624,
0.03491416200995445,
-0.08755256235599518,
-0.0018907999619841576,
0.007512533105909824,
0.02535191923379898,
-0.008636418730020523,
-0.011367830447852612,
-0.04414476826786995,
0.05368858575820923,
-0.026475805789232254,
0.0026853505987674,
-0.04355518892407417,
0.009308908134698868,
0.012298260815441608,
-0.012233775109052658,
0.04488174244761467,
0.0021222559735178947,
0.039575524628162384,
-0.008074475452303886,
-0.007240773644298315,
-0.008447568863630295,
-0.04219178482890129,
0.02301202528178692,
-0.06422732025384903,
0.0013553419848904014,
0.053614888340234756,
0.009129270911216736,
-0.021022194996476173,
0.004329724702984095,
-0.015743615105748177,
0.03170832246541977,
-0.01771502196788788,
0.0077244131825864315,
0.013127356767654419,
-0.0413811132311821,
0.05302530899643898,
0.008166597224771976,
-0.009728061966598034,
-0.0010778250871226192,
-0.08548903465270996,
-0.0382121242582798,
-0.029184186831116676,
-0.03264796733856201,
0.08106718212366104,
-0.04989316686987877,
-0.0055503384210169315,
-0.01729126274585724,
0.024965008720755577,
-0.019935157150030136,
0.025573011487722397,
0.0416390523314476,
-0.03439828008413315,
0.003293354297056794,
0.0032795360311865807,
-0.004553120117634535,
-0.004583059810101986,
-0.0013726148754358292,
-0.006471556611359119,
0.013348449021577835,
-0.028447212651371956,
0.01652665063738823,
-0.026217864826321602,
0.026309985667467117,
0.010971706360578537,
0.030234375968575478,
-0.024357004091143608,
0.03152408078312874,
0.02303045056760311,
-0.001609828439541161,
-0.056783877313137054,
-0.005780642852187157,
0.010326853953301907,
-0.005490459501743317,
0.011810014955699444,
0.05888425558805466,
0.027949754148721695,
0.05136711522936821,
-0.03152408078312874,
0.04292875900864601,
0.039280734956264496,
-0.015273794531822205,
0.02076425403356552,
0.005826703738421202,
-0.06138996779918671,
0.0066373758018016815,
0.02619943954050541,
-0.0540202260017395,
-0.006844650022685528,
0.056599635630846024,
0.03887540102005005,
-0.008756177499890327,
-0.002749835839495063,
0.01683986559510231,
-0.0313582606613636,
-0.03747515007853508,
0.013615602627396584,
0.010179459117352962,
-0.03745672479271889,
0.02374899946153164,
0.040312498807907104,
-0.01702410914003849,
0.056304845958948135,
-0.01065849233418703,
-0.055383626371622086,
-0.03642496094107628,
-0.03292433172464371,
0.005683915223926306,
-0.04922989010810852,
-0.00502063799649477,
0.006112281698733568,
-0.024209609255194664,
-0.022569840773940086,
0.043370943516492844
] |
708,638
|
cyvcf2.cyvcf2
|
VCF
|
VCF(fname, mode=u'r', gts012=False, lazy=False, strict_gt=False, samples=None, threads=None)
VCF class holds methods to iterate over and query a VCF.
Parameters
----------
fname: str
path to file
gts012: bool
if True, then gt_types will be 0=HOM_REF, 1=HET, 2=HOM_ALT, 3=UNKNOWN. If False, 3, 2 are flipped.
lazy: bool
if True, then don't unpack (parse) the underlying record until needed.
strict_gt: bool
if True, then any '.' present in a genotype will classify the corresponding element in the gt_types array as UNKNOWN.
samples: list
list of samples to extract from full set in file.
threads: int
the number of threads to use including this reader.
Returns
-------
VCF object for iterating and querying.
|
from cyvcf2.cyvcf2 import VCF
| null |
[
0.03722011297941208,
-0.08872149884700775,
-0.0016082621878013015,
0.008430947549641132,
-0.05842003598809242,
-0.03492622822523117,
0.0029506003484129906,
0.04395376890897751,
0.06911249458789825,
0.004240909591317177,
-0.025639699772000313,
-0.03006097488105297,
-0.06970446556806564,
0.027730092406272888,
0.0005636432906612754,
0.023697298020124435,
0.009749005548655987,
0.02978348918259144,
0.013633808121085167,
-0.00897204503417015,
-0.0358881801366806,
-0.008606688119471073,
-0.05512720346450806,
0.00011973806249443442,
0.048504538834095,
0.06670761853456497,
0.006803029682487249,
-0.02978348918259144,
0.03363129496574402,
-0.07518018782138824,
-0.05309230461716652,
-0.0031078422907739878,
-0.020940937101840973,
0.043583787977695465,
-0.02824806608259678,
-0.009795253165066242,
0.0884995087981224,
-0.052722323685884476,
-0.03200337663292885,
0.05483121797442436,
0.0100357411429286,
-0.01211688481271267,
-0.004412026144564152,
-0.008195084519684315,
0.02014547772705555,
0.010303976945579052,
-0.04395376890897751,
-0.005632963962852955,
0.013041838072240353,
0.018314070999622345,
-0.01922052539885044,
-0.034796733409166336,
0.015011988580226898,
-0.03030146285891533,
0.03579568490386009,
0.01160816103219986,
0.009952494874596596,
0.08035992085933685,
-0.013374821282923222,
0.0637107640504837,
-0.019923489540815353,
-0.0032812710851430893,
0.005096491426229477,
-0.04040195047855377,
-0.01740761660039425,
0.04839354380965233,
0.04480472579598427,
0.007011144421994686,
-0.012579361908137798,
0.010960693471133709,
-0.056311141699552536,
0.0004379074671305716,
-0.012560863047838211,
-0.025732195004820824,
0.05786506459116936,
0.0063868011347949505,
-0.07377425581216812,
0.033168818801641464,
-0.00810721330344677,
-0.02408577874302864,
0.03851504623889923,
-0.03259534761309624,
0.006729033775627613,
-0.03252134844660759,
0.012190881185233593,
0.014272025786340237,
-0.017213376238942146,
-0.027804089710116386,
0.019756997004151344,
0.09323526918888092,
-0.013356322422623634,
-0.03662814199924469,
-0.050502438098192215,
0.0556451752781868,
-0.003473198739811778,
0.009351275861263275,
0.04376877844333649,
-0.0389220267534256,
-0.05250033736228943,
0.0183603186160326,
0.006705909501761198,
0.03636915609240532,
-0.032151367515325546,
-0.009591762907803059,
-0.031984876841306686,
-0.035629190504550934,
-0.041363902390003204,
0.06833553314208984,
0.055201198905706406,
-0.010932945646345615,
-0.022753845900297165,
0.013781800866127014,
0.0063220541924238205,
-0.023974783718585968,
-0.03387178108096123,
-0.06926048547029495,
0.0694824755191803,
0.029986977577209473,
-0.05157538130879402,
0.02902502752840519,
0.012190881185233593,
-0.027119623497128487,
-0.003993484657257795,
0.006812279112637043,
0.016177428886294365,
0.03472273796796799,
-0.03374228626489639,
-0.002225668402388692,
0.048023562878370285,
-0.00516123790293932,
0.061342887580394745,
-0.05065042898058891,
-0.03424176201224327,
-0.08368975669145584,
0.04791256785392761,
-0.03518521413207054,
0.05028044804930687,
-0.03688712790608406,
0.01971999928355217,
0.05864202603697777,
-0.0060954405926167965,
0.020977934822440147,
0.005521969869732857,
-0.060824912041425705,
-0.04236285015940666,
0.03870003670454025,
-0.01639016903936863,
-0.06733658164739609,
-0.08768554776906967,
0.024825740605592728,
-0.023697298020124435,
0.035814180970191956,
0.0006347490125335753,
0.015844445675611496,
0.03224386274814606,
-0.028211068361997604,
0.03396427631378174,
-0.07673410326242447,
0.025732195004820824,
0.0007312910165637732,
-0.034371256828308105,
0.048097558319568634,
-0.03159639611840248,
0.0278225876390934,
-0.006123189348727465,
-0.0348152332007885,
-0.03611016646027565,
-0.05283331871032715,
-0.07425523549318314,
0.029395008459687233,
-0.010470468550920486,
-0.016621407121419907,
-0.05627414584159851,
-0.004176163114607334,
0.06289681047201157,
-0.018221575766801834,
-0.010692457668483257,
0.01835106872022152,
0.0483565479516983,
-0.03455624729394913,
0.002156296744942665,
0.05745808407664299,
-0.014364521019160748,
0.07011144608259201,
0.0374051034450531,
0.019664501771330833,
0.060417935252189636,
0.03910701721906662,
0.04228885471820831,
-0.1029287800192833,
0.07902798801660538,
0.0017181002767756581,
0.04876352474093437,
-0.026527654379606247,
0.02108892984688282,
-0.05719909816980362,
0.0088749248534441,
0.03209587186574936,
-0.03775658458471298,
-0.0075522419065237045,
-0.00459239212796092,
-0.010294727981090546,
-0.009536266326904297,
-0.00939752347767353,
0.015428217127919197,
0.051353394985198975,
0.03899602219462395,
-0.008652935735881329,
-0.06060292571783066,
-0.012644108384847641,
0.01011898647993803,
-0.011728405021131039,
0.03962498903274536,
-0.041030917316675186,
-0.0007856320007704198,
-0.039994969964027405,
-0.015076735056936741,
0.0004538050852715969,
-0.019941987469792366,
0.0229573342949152,
0.07436622679233551,
0.01455876138061285,
-0.0049854968674480915,
0.015428217127919197,
-0.019276021048426628,
0.021495908498764038,
-0.004634014796465635,
0.04791256785392761,
-0.000786788179539144,
-0.10144884884357452,
0.034630242735147476,
0.02073744684457779,
-0.021662401035428047,
0.0024973733816295862,
-0.060750916600227356,
-0.011894896626472473,
0.0228093434125185,
0.058790016919374466,
-0.037109117954969406,
-0.0221248771995306,
0.056311141699552536,
0.004726510029286146,
0.02142191305756569,
0.022420862689614296,
0.0009862312581390142,
-0.029302513226866722,
0.015095233917236328,
-0.010905196890234947,
0.024270769208669662,
0.052463337779045105,
-0.008204333484172821,
-0.08738956600427628,
-0.027341613546013832,
0.030800936743617058,
0.0005960166454315186,
-0.10722056031227112,
-0.03285433351993561,
-0.004529957659542561,
0.07902798801660538,
-0.016538159921765327,
-0.057754069566726685,
0.02723061852157116,
0.01434602215886116,
0.04876352474093437,
-0.023419812321662903,
0.0324658527970314,
-0.007917597889900208,
-0.023160824552178383,
0.004573892802000046,
-0.0035402579233050346,
0.11454618722200394,
0.018906040117144585,
0.01569645293056965,
-0.003679000772535801,
-0.03951399400830269,
-0.050909414887428284,
-0.02928401343524456,
0.04121590778231621,
0.0037021245807409286,
0.02543620951473713,
0.06001095473766327,
-0.019941987469792366,
-0.05039144307374954,
0.024881238117814064,
-0.017611106857657433,
-0.055460184812545776,
-0.0431768074631691,
-0.0077002341859042645,
-0.03644315153360367,
-0.005272232461720705,
-0.014420018531382084,
0.014863995835185051,
0.04328780248761177,
0.00006095296339481138,
0.014956491068005562,
0.03414926677942276,
-0.01336557138711214,
-0.04720960557460785,
0.020200975239276886,
-0.017231876030564308,
-0.030689943581819534,
-0.0006908242939971387,
-0.022069379687309265,
0.05105740949511528,
-0.009832250885665417,
0.012708854861557484,
0.007912973873317242,
-0.021051932126283646,
-0.02423376962542534,
0.010137485340237617,
-0.040179960429668427,
0.029912982136011124,
-0.020367465913295746,
-0.026416659355163574,
0.020459961146116257,
0.05901200696825981,
-0.013532062992453575,
0.020940937101840973,
0.029136020690202713,
-0.008898048661649227,
-0.03346480056643486,
-0.009295778349041939,
-0.006562542170286179,
0.03775658458471298,
-0.016612157225608826,
-0.004157664254307747,
0.044175758957862854,
-0.00811183825135231,
0.012893845327198505,
0.007797354366630316,
-0.0624898299574852,
0.046580635011196136,
0.06729958206415176,
0.06215684488415718,
0.0401429645717144,
-0.00638217618688941,
0.019091030582785606,
-0.046987615525722504,
-0.016417916864156723,
-0.03353879973292351,
0.05164938047528267,
0.023068329319357872,
-0.0431768074631691,
-0.03031996078789234,
-0.04535969719290733,
0.01955350860953331,
-0.013929793611168861,
-0.03157789632678032,
0.008777804672718048,
-0.02586168795824051,
-0.005757832899689674,
-0.03947699815034866,
0.030116472393274307,
0.08472570031881332,
-0.002319319872185588,
0.04376877844333649,
-0.00939752347767353,
-0.045544687658548355,
0.027101125568151474,
-0.02014547772705555,
0.026842137798666954,
0.018758047372102737,
-0.011043939739465714,
-0.039994969964027405,
-0.03833005577325821,
-0.023068329319357872,
-0.007450496777892113,
-0.005059493239969015,
-0.016408666968345642,
0.05620014667510986,
0.018758047372102737,
-0.011561913415789604,
0.011164183728396893,
0.007145262323319912,
-0.005642213858664036,
-0.04380577802658081,
-0.0570141077041626,
0.00989699736237526,
-0.022087879478931427,
0.05738408863544464,
-0.0026985504664480686,
0.04140089824795723,
-0.03372379019856453,
-0.0649317055940628,
0.013421068899333477,
-0.04428675398230553,
-0.06241583451628685,
0.05460922792553902,
0.04369478300213814,
0.03568468987941742,
0.005295356269925833,
0.00237019220367074,
-0.007159136701375246,
-0.043324802070856094,
0.01328232605010271,
-0.019350018352270126,
-0.025584202259778976,
-0.017056135460734367,
0.07777005434036255,
-0.009961744770407677,
0.006779905874282122,
0.024899736046791077,
-0.021569905802607536,
0.037257108837366104,
-0.008930421434342861,
-0.009591762907803059,
0.038552042096853256,
-0.020385965704917908,
0.01922052539885044,
-0.0428808256983757,
0.016168178990483284,
0.027360111474990845,
-0.052130356431007385,
-0.03144840523600578,
-0.03962498903274536,
0.05719909816980362,
-0.015206228010356426,
-0.029764989390969276,
0.006562542170286179,
-0.008861050009727478,
0.03327981010079384,
0.011358424089848995,
0.016621407121419907,
0.007390374783426523,
0.020533958449959755,
0.003378391033038497,
0.010664708912372589,
0.04010596498847008,
0.07299729436635971,
-0.0360361710190773,
-0.051094409078359604,
0.05164938047528267,
-0.04373178258538246,
-0.012431369163095951,
-0.03046795353293419,
0.03089343197643757,
-0.012200131081044674,
-0.031115422025322914,
0.04010596498847008,
0.03980997949838638,
0.00036188788362778723,
-0.004893001634627581,
-0.03396427631378174,
-0.06330379098653793,
-0.006271181628108025,
-0.003974985796958208,
-0.03729410842061043,
-0.014595759101212025,
0.023160824552178383,
-0.06182386353611946,
0.010636960156261921,
-0.015844445675611496,
-0.017962587997317314,
-0.0064422981813549995,
0.027434108778834343,
0.0032512100879102945,
-0.03218836709856987,
0.003900989657267928,
-0.02824806608259678,
-0.024955233559012413,
-0.056644126772880554,
0.013458067551255226,
0.03074543923139572,
-0.006183311343193054,
0.007843602448701859,
0.028118573129177094,
0.03792307525873184,
0.024141274392604828,
0.0019655253272503614,
-0.036924127489328384,
0.019424013793468475,
-0.034796733409166336,
-0.014364521019160748,
-0.0038963647093623877,
0.0443977490067482,
0.07658611238002777,
-0.034371256828308105,
-0.02697163075208664,
-0.017481612041592598,
-0.008699183352291584,
-0.016852645203471184,
-0.05727309361100197,
-0.03681313246488571,
0.013865046203136444,
0.024196771904826164,
-0.017019135877490044,
0.03115241974592209,
0.005887326318770647,
-0.025917185470461845,
-0.09101538360118866,
-0.0013007152592763305,
0.05982596427202225,
-0.05335129424929619,
-0.016186678782105446,
0.07051841914653778,
0.03929200768470764,
0.01340257003903389,
0.05645913630723953,
0.00982300192117691,
-0.013226828537881374,
-0.01067395880818367,
0.03503722324967384,
-0.06149087846279144,
-0.07806603610515594,
-0.02271684817969799,
0.0035286960192024708,
0.02271684817969799,
-0.033335309475660324,
0.012283376418054104,
-0.0007503681699745357,
0.005688461475074291,
-0.0176758524030447,
0.004365778528153896,
0.007478245534002781,
0.042547840625047684,
0.028322063386440277,
-0.09286528825759888,
0.035314708948135376,
-0.05150138586759567,
0.02963549643754959,
-0.009850749745965004,
-0.04258484020829201,
0.023752795532345772,
-0.05172337591648102,
0.03144840523600578,
0.036480147391557693,
-0.04676562547683716,
0.010701706632971764,
0.026934633031487465,
0.019830994307994843,
0.00012327890726737678,
-0.0250847265124321,
0.024566752836108208,
0.006511669605970383,
-0.0012047513155266643,
-0.005147363990545273,
-0.03509271889925003,
0.004966998007148504,
-0.051279399544000626,
-0.07658611238002777,
-0.01550221350044012,
-0.03561069443821907,
-0.009739755652844906,
0.026768142357468605,
0.0050918664783239365,
-0.010738705284893513,
-0.009527016431093216,
-0.06533868610858917,
0.01759260706603527,
0.0263056643307209,
0.020126977935433388,
-0.00014156117686070502,
0.0008544254233129323,
-0.018804294988512993,
0.015779700130224228,
0.03492622822523117,
-0.047764576971530914,
-0.023197822272777557,
0.01622367650270462,
-0.04199286922812462,
0.02647215686738491,
0.012385121546685696,
0.040512945502996445,
0.01920202560722828,
-0.03712761774659157,
0.03278033807873726,
-0.015668705105781555,
0.04735759645700455,
-0.017379868775606155,
-0.05094641447067261,
0.05394326150417328,
-0.007080515846610069,
0.036073170602321625,
0.05608915537595749,
-0.03450074791908264,
0.04831954836845398,
0.05708810314536095,
0.009221781976521015,
0.02723061852157116,
-0.02552870474755764,
-0.06123189255595207,
-0.036406151950359344,
0.048541538417339325,
-0.050761424005031586,
-0.02347530797123909,
-0.00695564690977335,
-0.00029078213265165687,
-0.008898048661649227,
0.03712761774659157,
0.023068329319357872,
-0.010498217307031155,
-0.036332156509160995,
0.0028858536388725042,
-0.034352757036685944,
-0.04820855334401131,
-0.010803451761603355,
-0.07122138887643814,
0.05283331871032715,
0.02552870474755764,
0.009369774721562862,
-0.040586940944194794,
-0.00823670718818903,
0.015085984952747822,
-0.03233635798096657,
-0.005008620675653219,
0.010942194610834122,
0.0020718949381262064,
-0.049466490745544434,
0.015520712360739708,
0.0375530943274498,
0.012024389579892159,
-0.004215473774820566,
-0.027693094685673714,
0.01105318870395422,
-0.018036585301160812,
0.01663990505039692,
0.010313226841390133,
-0.008343076333403587,
-0.019442513585090637,
0.054683227092027664,
-0.03620266169309616,
0.010488967411220074,
-0.015548461116850376,
-0.0020163976587355137,
0.009277279488742352,
0.05952997878193855,
-0.029265515506267548,
-0.044360749423503876,
-0.005642213858664036,
0.07281230390071869,
0.03688712790608406,
-0.016427166759967804,
0.04202986881136894,
-0.01434602215886116,
0.002388691296800971,
-0.0200714822858572,
0.000018589389583212323,
-0.0049947467632591724,
-0.007330253254622221,
0.08428172022104263,
-0.0002456906659062952,
0.0043542166240513325,
0.0005780956707894802,
0.02304982952773571,
-0.02673114277422428,
-0.01853605918586254,
-0.04091992229223251,
-0.03609167039394379,
0.05483121797442436,
-0.006585665978491306,
0.008814802393317223,
0.021236922591924667,
-0.02304982952773571,
0.029339510947465897,
-0.03183688595890999,
-0.03851504623889923,
0.03509271889925003,
0.02937650866806507,
0.03766408935189247,
-0.02116292528808117,
-0.01233887393027544,
-0.01160816103219986,
0.07440322637557983,
0.010803451761603355,
0.014965740963816643,
-0.06197185441851616,
0.09027542173862457,
-0.04128990322351456,
-0.08509568125009537,
0.03766408935189247,
0.049466490745544434,
0.005304605700075626,
-0.05394326150417328,
0.010377973318099976,
-0.03263234347105026,
-0.0354996994137764,
-0.01887829229235649,
0.034297261387109756,
0.0709993988275528,
0.05779106914997101,
0.05087241902947426,
0.0720723420381546,
0.05287031829357147,
-0.005887326318770647,
0.04646964371204376,
-0.0050502438098192215,
-0.02519572153687477,
0.05719909816980362,
-0.004640952218323946,
-0.05368427559733391,
-0.043509792536497116,
0.0512423999607563,
-0.02245786041021347,
-0.005188986659049988,
-0.010932945646345615,
0.06696660071611404,
0.010932945646345615,
-0.06485770642757416,
-0.008463320322334766,
0.026324164122343063,
0.02663864754140377,
-0.0029390384443104267,
-0.022568855434656143,
-0.00037460599560290575,
-0.021495908498764038,
-0.0062665571458637714,
0.03729410842061043,
-0.031096922233700752,
-0.028044577687978745,
-0.008343076333403587,
0.04228885471820831,
0.007727982942014933,
-0.020274970680475235,
0.0028812286909669638,
0.009804502129554749,
0.07181335240602493,
-0.09190333634614944,
0.04621065407991409,
0.023271819576621056,
0.002858104882761836,
0.035481199622154236,
0.01446626614779234,
0.006567166652530432,
0.03988397493958473,
0.0367206372320652,
-0.00012667520786635578,
-0.05819804593920708,
0.06012194976210594,
-0.02517722174525261,
0.023789793252944946,
0.04243684560060501,
-0.028914032503962517,
-0.08294978737831116,
0.009240280836820602,
-0.03749759867787361,
-0.02406727895140648,
-0.048874519765377045,
0.04650663956999779,
-0.023956283926963806,
-0.02184739150106907,
-0.006187935825437307,
-0.03943999856710434,
0.0015400468837469816,
-0.02297583408653736,
-0.01118268258869648,
0.05797605961561203,
0.06530168652534485,
-0.0160386860370636,
-0.021292420104146004,
0.01741686649620533,
-0.005341603886336088,
0.07395924627780914,
0.04269583523273468,
-0.027008630335330963,
0.004576205275952816,
-0.011034689843654633,
-0.010821950621902943,
-0.01498423982411623,
-0.06715159118175507,
-0.019017035141587257,
0.009369774721562862,
-0.03910701721906662,
0.03903301805257797,
0.008999793790280819,
0.07166536152362823,
0.014096284285187721,
-0.002150515792891383,
0.022420862689614296
] |
708,641
|
cyvcf2.cyvcf2
|
Variant
|
Variant(*args, **kwargs)
Variant represents a single VCF Record.
It is created internally by iterating over a VCF.
Attributes
----------
INFO: `INFO`
a dictionary-like field that provides access to the VCF INFO field.
POS: the 1-based variant start.
|
from cyvcf2.cyvcf2 import Variant
| null |
[
0.051297202706336975,
-0.09454778581857681,
-0.02133791148662567,
-0.004589087795466185,
-0.03504231199622154,
-0.026025786995887756,
-0.00882344227284193,
0.041634075343608856,
0.0855671837925911,
-0.011755608953535557,
-0.036281634122133255,
0.012312406674027443,
-0.0665283054113388,
0.037718530744314194,
-0.027588412165641785,
0.01900295540690422,
-0.012222600169479847,
0.045405928045511246,
0.018248584121465683,
0.015006586909294128,
-0.03629959747195244,
0.025055881589651108,
-0.05729624629020691,
0.010785703547298908,
0.0478486493229866,
0.060026347637176514,
0.047309815883636475,
-0.02333160489797592,
0.016946397721767426,
-0.07012054324150085,
-0.04325058311223984,
-0.013605613261461258,
0.0013414775021374226,
0.0737127885222435,
-0.017287660390138626,
0.006057416554540396,
0.05661372095346451,
-0.045405928045511246,
-0.059738967567682266,
0.06031372770667076,
-0.021607330068945885,
-0.01342600118368864,
0.0226131584495306,
0.008351960219442844,
0.0017949979519471526,
0.012204638682305813,
-0.05373992770910263,
-0.001316780922934413,
-0.004777680616825819,
0.013354156166315079,
0.03277919813990593,
-0.026277244091033936,
-0.0003334048669785261,
-0.021230144426226616,
-0.0142701780423522,
0.03270735591650009,
0.007153050042688847,
0.08671669661998749,
-0.007813123986124992,
0.08154387027025223,
-0.017233775928616524,
-0.004254560451954603,
-0.002512323670089245,
-0.07795163244009018,
0.018383294343948364,
0.029546182602643967,
0.032886967062950134,
0.011252694763243198,
0.0047282874584198,
0.012824300676584244,
-0.0338389091193676,
-0.00683872913941741,
-0.011252694763243198,
-0.01670392043888569,
0.0644807294011116,
0.014898819848895073,
-0.09138661623001099,
0.054135072976350784,
-0.0004714816459454596,
-0.05499720945954323,
0.02760637179017067,
-0.035473380237817764,
0.018625769764184952,
-0.007350623141974211,
-0.01805999130010605,
0.02302626520395279,
-0.005334477871656418,
-0.022954421117901802,
0.014449790120124817,
0.07137782871723175,
-0.016982318833470345,
-0.008154387585818768,
-0.06595354527235031,
0.08959048986434937,
-0.008410334587097168,
0.008536063134670258,
0.07536521553993225,
-0.06365451216697693,
-0.042891357094049454,
-0.003518151119351387,
-0.015509501099586487,
0.031019002199172974,
-0.03506027162075043,
-0.03832921385765076,
-0.03549134358763695,
-0.03576076030731201,
-0.009663128294050694,
0.07989144325256348,
0.07651473581790924,
0.015473578125238419,
-0.018733536824584007,
0.031827256083488464,
-0.024463161826133728,
-0.01620100811123848,
-0.03761076554656029,
-0.07331763952970505,
0.057439934462308884,
0.024786463007330894,
-0.06850403547286987,
0.03468308597803116,
0.012114833109080791,
-0.0048989187926054,
-0.019739365205168724,
0.056470029056072235,
0.027085497975349426,
0.03753891959786415,
-0.03083938919007778,
-0.012222600169479847,
0.015276005491614342,
0.006677078083157539,
0.06480403244495392,
-0.041705917567014694,
-0.014342022128403187,
-0.0888720452785492,
0.044220488518476486,
-0.009250020608305931,
0.010929393582046032,
-0.02286461368203163,
0.03717969357967377,
0.05417099595069885,
-0.00196675187908113,
0.022577235475182533,
0.019308295100927353,
-0.09059631824493408,
-0.020637424662709236,
0.026654427871108055,
-0.0074583906680345535,
-0.06433703750371933,
-0.1130119040608406,
0.012500998564064503,
-0.03692823648452759,
0.036066100001335144,
0.013982797972857952,
0.010767742991447449,
-0.0019633842166513205,
-0.05345254763960838,
0.015006586909294128,
-0.0643729567527771,
0.030695699155330658,
-0.006376227829605341,
-0.012186678126454353,
0.03218647837638855,
-0.026780156418681145,
0.029168996959924698,
-0.031162690371274948,
-0.03338988125324249,
-0.06351082026958466,
-0.03340784087777138,
-0.06681568175554276,
0.015518481843173504,
-0.02383451908826828,
-0.03180929645895958,
-0.060960330069065094,
-0.024373356252908707,
0.04928554594516754,
0.0012561618350446224,
0.0017276434227824211,
0.024570928886532784,
0.05607488378882408,
-0.021571407094597816,
-0.012653669342398643,
0.03710785135626793,
-0.021822864189743996,
0.08154387027025223,
0.058337993919849396,
0.008715675212442875,
0.07259919494390488,
0.021140338853001595,
0.06498364359140396,
-0.09562546014785767,
0.08082542568445206,
0.006596252787858248,
0.03175541013479233,
-0.03685639426112175,
0.02408597618341446,
-0.042819514870643616,
0.0385088250041008,
-0.0076739247888326645,
-0.08298076689243317,
0.010282790288329124,
-0.007027321495115757,
-0.0598108135163784,
-0.01268061064183712,
-0.012581824325025082,
-0.0050515891052782536,
0.025810252875089645,
0.05801469460129738,
-0.02065538614988327,
-0.03074958361685276,
-0.024409277364611626,
-0.020709270611405373,
-0.0017815270693972707,
0.06365451216697693,
-0.029653949663043022,
0.013641535304486752,
-0.0689351037144661,
-0.024499084800481796,
-0.019703442230820656,
0.011971143074333668,
0.022595196962356567,
0.07295841723680496,
-0.021104415878653526,
-0.027875790372490883,
0.009717011824250221,
-0.03689231723546982,
0.028235014528036118,
-0.025433067232370377,
0.04360980540513992,
-0.018221642822027206,
-0.07259919494390488,
0.03455735743045807,
0.015365811064839363,
-0.001974609913304448,
0.02052965760231018,
-0.07008462399244308,
0.03299473598599434,
-0.009708031080663204,
0.0424962118268013,
-0.019236451014876366,
-0.008621378801763058,
0.03367726132273674,
0.02685200236737728,
0.007328171748667955,
0.040556401014328,
-0.00693302508443594,
-0.020960725843906403,
0.008688732981681824,
0.021266067400574684,
0.012743474915623665,
0.010157061740756035,
0.040269020944833755,
-0.07364094257354736,
-0.010273809544742107,
0.032976772636175156,
0.01916460692882538,
-0.07414385676383972,
0.0006797193782404065,
-0.01916460692882538,
0.06074479594826698,
-0.0565059520304203,
-0.06828850507736206,
0.019451985135674477,
0.01903887838125229,
0.04644767567515373,
-0.04713020101189613,
0.03926319628953934,
0.007629022002220154,
0.0029680891893804073,
-0.0028131736908107996,
0.014629402197897434,
0.09806817770004272,
0.039047662168741226,
-0.027660256251692772,
-0.0042006769217550755,
-0.011333520524203777,
-0.014835955575108528,
-0.025217533111572266,
0.03184521570801735,
-0.0006741064717061818,
0.04228067770600319,
0.0411311611533165,
0.02264907956123352,
-0.019883055239915848,
0.017242757603526115,
0.0023484276607632637,
-0.050578754395246506,
-0.00903448648750782,
-0.024714618921279907,
-0.03613794595003128,
0.007153050042688847,
-0.015042509883642197,
0.0169194545596838,
0.026780156418681145,
0.008172348141670227,
0.01869761385023594,
0.03184521570801735,
-0.04982438310980797,
0.00570268277078867,
0.027426760643720627,
-0.03396463766694069,
-0.009106331504881382,
0.005895765498280525,
-0.007004870101809502,
0.04418456554412842,
-0.06149916723370552,
0.013327213935554028,
0.02794763632118702,
-0.03540153428912163,
-0.03579668328166008,
-0.005015666596591473,
-0.047094281762838364,
0.05808653682470322,
0.0032397524919360876,
-0.008814461529254913,
0.00417822552844882,
0.045190393924713135,
-0.026564622297883034,
0.014413867145776749,
0.029151035472750664,
0.019056838005781174,
-0.046627290546894073,
0.005078530870378017,
0.014009740203619003,
0.019559752196073532,
0.007507783826440573,
-0.01056118868291378,
-0.003136475570499897,
0.009851721115410328,
-0.0004018819599878043,
-0.0007987123681232333,
-0.0849924236536026,
0.04102339223027229,
0.06792927533388138,
0.052734099328517914,
0.046375833451747894,
-0.020296161994338036,
0.010713858529925346,
-0.021427717059850693,
-0.018967032432556152,
-0.025343261659145355,
0.04551369324326515,
0.0012842261930927634,
-0.04461563378572464,
-0.012429154478013515,
-0.013749302364885807,
0.03312046080827713,
-0.0017601981526240706,
-0.05794284865260124,
-0.007323681376874447,
-0.03811367601156235,
-0.02408597618341446,
-0.015599306672811508,
0.032815121114254,
0.07500599324703217,
-0.000543045811355114,
-0.00447458541020751,
-0.01448571216315031,
-0.0517282709479332,
0.006519917398691177,
-0.006717490963637829,
0.00818581972271204,
0.021355872973799706,
-0.011854395270347595,
-0.006879141554236412,
-0.026816079393029213,
-0.05499720945954323,
-0.016856590285897255,
-0.011396384797990322,
-0.0004712009977083653,
0.051979728043079376,
0.010381576605141163,
-0.03579668328166008,
0.004205167293548584,
0.013901973143219948,
0.0063807182013988495,
-0.019649557769298553,
-0.056721486151218414,
0.005267123691737652,
0.0048854476772248745,
0.02501995861530304,
0.005931688006967306,
0.035940371453762054,
-0.028181131929159164,
-0.04982438310980797,
0.025648601353168488,
-0.05399138480424881,
-0.022289855405688286,
0.0517282709479332,
-0.011755608953535557,
0.0226131584495306,
-0.012815319932997227,
0.034970466047525406,
-0.006201106123626232,
-0.03685639426112175,
0.03583260625600815,
-0.027516566216945648,
-0.043573882430791855,
-0.005096491891890764,
0.061391398310661316,
0.016694940626621246,
-0.014467750675976276,
-0.006825258024036884,
-0.05111759155988693,
0.039802029728889465,
-0.026869963854551315,
-0.052267108112573624,
0.046375833451747894,
-0.014045662246644497,
0.01912868395447731,
-0.07723318040370941,
0.006412150338292122,
0.020332084968686104,
-0.05862537398934364,
-0.044507868587970734,
-0.05348847061395645,
0.08010697364807129,
0.02442723885178566,
-0.012608766555786133,
-0.015123334713280201,
-0.003347519552335143,
0.039119504392147064,
0.019757326692342758,
-0.005895765498280525,
0.013794206082820892,
0.045872919261455536,
-0.003001766512170434,
0.004997705575078726,
0.044220488518476486,
0.0691506415605545,
-0.04483116790652275,
-0.011944201774895191,
0.04465155676007271,
-0.01752115599811077,
-0.02875589020550251,
0.010650995187461376,
0.01465634349733591,
-0.021912669762969017,
-0.0464835986495018,
0.009420651942491531,
0.03664086014032364,
0.017287660390138626,
0.01068691723048687,
-0.05603896081447601,
-0.01984713226556778,
0.01755707897245884,
-0.016515327617526054,
-0.02405005320906639,
-0.027678217738866806,
0.044507868587970734,
-0.07069530338048935,
-0.025774329900741577,
-0.03299473598599434,
0.031324341893196106,
-0.03274327889084816,
0.033820949494838715,
-0.01903887838125229,
-0.0258641354739666,
-0.0005753198638558388,
-0.011953182518482208,
-0.0705156922340393,
-0.024157820269465446,
-0.003953710198402405,
0.017036203294992447,
-0.01709008775651455,
0.0066591170616447926,
0.061355479061603546,
0.01166580244898796,
0.029456377029418945,
-0.013012893497943878,
-0.025433067232370377,
0.016892513260245323,
-0.0025437558069825172,
0.00019602972315624356,
-0.00078187370672822,
0.036155905574560165,
0.04971661791205406,
-0.03168356791138649,
-0.003899826668202877,
-0.04278359189629555,
-0.009609244763851166,
-0.007153050042688847,
-0.039981644600629807,
-0.036155905574560165,
0.03385687246918678,
0.022164126858115196,
0.027426760643720627,
0.03750299662351608,
0.005761056672781706,
-0.006497466005384922,
-0.05564381554722786,
0.0024808915331959724,
0.04874671250581741,
-0.0644807294011116,
0.009779876098036766,
0.049177780747413635,
0.0324738584458828,
0.004925860557705164,
0.019398102536797523,
0.010004390962421894,
0.003233016934245825,
0.011818473227322102,
0.0431787371635437,
-0.05118943378329277,
-0.07658658176660538,
0.0075616673566401005,
-0.005563483573496342,
0.0004122657992411405,
-0.0037067437078803778,
-0.026564622297883034,
0.015958530828356743,
-0.022074321284890175,
0.0003819562552962452,
0.010085216723382473,
-0.02112237736582756,
0.045441851019859314,
0.03527580574154854,
-0.09533807635307312,
0.04019717872142792,
-0.044687479734420776,
0.044507868587970734,
-0.03333599865436554,
-0.03994572162628174,
0.019362179562449455,
-0.03134230151772499,
0.016227949410676956,
0.015446636825799942,
-0.08427397906780243,
0.001429038355126977,
0.037467073649168015,
0.017754651606082916,
0.00984274037182331,
-0.03211463615298271,
-0.016659017652273178,
0.025810252875089645,
0.010489343665540218,
-0.003760627470910549,
-0.008926719427108765,
0.0035383575595915318,
-0.00967210903763771,
-0.062109846621751785,
-0.016102220863103867,
-0.03464716672897339,
-0.03753891959786415,
0.020942766219377518,
0.004683384206146002,
0.0002963598817586899,
-0.002840115688741207,
-0.04673505574464798,
0.009824778884649277,
0.04019717872142792,
0.013857070356607437,
0.0007481964421458542,
0.002826644806191325,
-0.0008974989759735763,
0.0322403647005558,
-0.0046250103041529655,
-0.03134230151772499,
-0.037934064865112305,
0.008926719427108765,
-0.05215933918952942,
0.06595354527235031,
0.022361701354384422,
0.008679752238094807,
0.029653949663043022,
-0.017323583364486694,
0.03750299662351608,
-0.025648601353168488,
0.05140496790409088,
0.022792769595980644,
-0.0485311783850193,
0.06728267669677734,
-0.03536561504006386,
0.023726752027869225,
0.07392831891775131,
-0.03576076030731201,
0.03549134358763695,
0.08283708244562149,
0.0094565749168396,
0.019918976351618767,
-0.0023080147802829742,
-0.03141414746642113,
-0.01866169273853302,
0.0020430870354175568,
-0.02760637179017067,
0.006434601731598377,
0.0011944201542064548,
0.0005747585673816502,
0.0074494099244475365,
0.05302147939801216,
0.007471861317753792,
0.009977449662983418,
-0.011710706166923046,
-0.01322842761874199,
-0.028091324493288994,
-0.05330885574221611,
-0.010444440878927708,
-0.039083581417798996,
0.021607330068945885,
0.02773210033774376,
0.0072248950600624084,
-0.05478167533874512,
0.0006376227829605341,
0.02349325641989708,
-0.02433743327856064,
0.016389599069952965,
-0.006160693243145943,
0.003439570777118206,
-0.05478167533874512,
0.00583290122449398,
0.036658819764852524,
0.013767263852059841,
-0.018859265372157097,
-0.06433703750371933,
-0.03563503175973892,
-0.0235830619931221,
0.01934421807527542,
-0.012402212247252464,
-0.0021968798246234655,
-0.015832802280783653,
0.042136989533901215,
-0.049429237842559814,
0.0129320677369833,
-0.025846173986792564,
0.018553925678133965,
-0.0008756087627261877,
0.06462441384792328,
-0.038185521960258484,
-0.01537479180842638,
-0.02897142432630062,
0.0038257366977632046,
0.04655544459819794,
-0.05212341621518135,
0.0844176635146141,
-0.004764209501445293,
-0.018131837248802185,
-0.03876028209924698,
0.014342022128403187,
-0.007548196706920862,
0.00896713137626648,
0.07809532433748245,
0.002250763587653637,
-0.0007251836941577494,
-0.0043578376062214375,
0.04364572837948799,
-0.012402212247252464,
-0.006699529476463795,
-0.04299912601709366,
-0.021768981590867043,
0.002250763587653637,
-0.008913247846066952,
0.028719967231154442,
0.04199329763650894,
-0.06063703075051308,
0.020350046455860138,
-0.0020206356421113014,
-0.025415105745196342,
0.05025545135140419,
0.044040873646736145,
0.02501995861530304,
0.013048815540969372,
-0.017844457179307938,
0.016946397721767426,
0.03868843615055084,
-0.013533768244087696,
0.069725401699543,
-0.060888487845659256,
0.0658457800745964,
-0.01746727153658867,
-0.027678217738866806,
0.04371757432818413,
0.03532969206571579,
0.0010838464368134737,
-0.05664964020252228,
-0.0063807182013988495,
-0.03604814037680626,
-0.021284028887748718,
0.006802806630730629,
0.010785703547298908,
0.08046620339155197,
0.039981644600629807,
-0.0073057203553617,
0.043358348309993744,
0.04274766892194748,
-0.010408518835902214,
0.024283548817038536,
0.000689822540152818,
-0.042639899998903275,
0.07241957634687424,
0.0007190094911493361,
-0.05966712534427643,
-0.048243798315525055,
0.020673347637057304,
-0.062073927372694016,
0.0011427816934883595,
-0.007566157728433609,
0.03504231199622154,
0.0355452261865139,
-0.07026423513889313,
-0.03707192838191986,
0.02825297601521015,
0.047273892909288406,
-0.039119504392147064,
-0.028594238683581352,
0.01314760185778141,
-0.0019274618243798614,
-0.03283308446407318,
0.01671290211379528,
-0.018625769764184952,
0.006196615751832724,
-0.005127924028784037,
0.05779916048049927,
0.009725992567837238,
-0.036964159458875656,
-0.006663606967777014,
0.004925860557705164,
0.082262322306633,
-0.08175940811634064,
0.07493414729833603,
0.0009025505860336125,
0.007952324114739895,
-0.009573322720825672,
-0.00006689847214147449,
0.026151515543460846,
0.029168996959924698,
0.04641175642609596,
0.03270735591650009,
-0.01887722685933113,
0.06293606013059616,
-0.009824778884649277,
0.05262633040547371,
-0.004281502217054367,
-0.04299912601709366,
-0.09109923243522644,
-0.009869682602584362,
-0.04827972128987312,
-0.005814940202981234,
-0.045154470950365067,
0.04960884898900986,
0.0015749732265248895,
-0.018805382773280144,
0.0009878663113340735,
-0.008931209333240986,
0.022074321284890175,
-0.039119504392147064,
-0.021086454391479492,
0.03969426453113556,
0.06663607060909271,
-0.0159495510160923,
-0.013901973143219948,
-0.008675262331962585,
-0.002476401161402464,
0.07058753818273544,
0.040771935135126114,
0.017997127026319504,
0.01705416478216648,
-0.02685200236737728,
0.005644308868795633,
-0.023601023480296135,
-0.055787503719329834,
-0.041418541222810745,
-0.0229005366563797,
-0.03592241182923317,
0.046806901693344116,
0.020547619089484215,
0.029869483783841133,
0.006825258024036884,
-0.00025664878194220364,
-0.007242856081575155
] |
708,642
|
cyvcf2.cyvcf2
|
Writer
|
Writer(fname, VCF tmpl, mode=None)
Writer class makes a VCF Writer.
Parameters
----------
fname: str
path to file
tmpl: VCF
a template to use to create the output header.
mode: str
| Mode to use for writing the file. If ``None`` (default) is given, the mode is
inferred from the filename extension. If stdout (``"-"``) is provided for ``fname``
and ``mode`` is left at default, uncompressed VCF will be produced.
| Valid values are:
| - ``"wbu"``: uncompressed BCF
| - ``"wb"``: compressed BCF
| - ``"wz"``: compressed VCF
| - ``"w"``: uncompressed VCF
| Compression level can also be indicated by adding a single integer to one of
the compressed modes (e.g. ``"wz4"`` for VCF with compressions level 4).
Note
----
File extensions ``.bcf`` and ``.bcf.gz`` will both return compressed BCF. If you
want uncompressed BCF you must explicitly provide the appropriate ``mode``.
Returns
-------
VCF object for iterating and querying.
|
from cyvcf2.cyvcf2 import Writer
| null |
[
0.009026356972754002,
-0.05443698167800903,
-0.02297290973365307,
-0.0025073213037103415,
-0.03731074184179306,
-0.051666561514139175,
-0.044758494943380356,
0.07584478706121445,
0.036681100726127625,
-0.008239305578172207,
-0.006210960913449526,
-0.01615479588508606,
-0.058862458914518356,
0.03606944903731346,
-0.011405501514673233,
0.014148937538266182,
0.02004058100283146,
0.01915908232331276,
0.01035310048609972,
0.022289300337433815,
-0.039685387164354324,
-0.018691349774599075,
-0.02452002838253975,
-0.003166195936501026,
0.013807132840156555,
0.06735362112522125,
-0.012313983403146267,
-0.03900177776813507,
0.028153957799077034,
-0.05137872323393822,
-0.07469344139099121,
-0.05925823375582695,
-0.002583777764812112,
0.03254345804452896,
0.003474270459264517,
0.019231041893363,
0.05105490982532501,
-0.03795837238430977,
-0.030438655987381935,
0.018385523930191994,
0.053789351135492325,
0.007159920409321785,
0.009525571949779987,
-0.019338980317115784,
0.011396505869925022,
0.020886098966002464,
-0.029557159170508385,
0.0024803366977721453,
0.016397656872868538,
-0.02818993665277958,
-0.03434243053197861,
-0.012143081054091454,
0.008329253643751144,
-0.018853258341550827,
0.033730778843164444,
-0.015147369354963303,
0.03560171276330948,
0.08455182611942291,
0.03268737345933914,
0.020814139395952225,
-0.04544210806488991,
0.0006869835779070854,
0.044686537235975266,
-0.02070620097219944,
-0.004672837443649769,
0.05558832734823227,
0.0016876633744686842,
-0.0005183296743780375,
-0.012170065194368362,
0.06505093723535538,
-0.004965170752257109,
-0.05353749543428421,
-0.015219327993690968,
0.007663633208721876,
0.046521492302417755,
0.01989666372537613,
-0.11549419164657593,
0.001309878658503294,
-0.010524003766477108,
-0.036825016140937805,
0.04501035436987877,
-0.02092207781970501,
-0.006854094564914703,
-0.007182407658547163,
0.04537014663219452,
0.004166875500231981,
0.015354251489043236,
-0.04080075025558472,
-0.02849576249718666,
0.07098755240440369,
-0.037778474390506744,
-0.019285012036561966,
-0.014463759027421474,
0.008999371901154518,
0.010568978264927864,
-0.020814139395952225,
0.027938080951571465,
-0.02718251198530197,
-0.045801904052495956,
0.0357816107571125,
-0.035205937922000885,
0.022864971309900284,
-0.026768747717142105,
-0.018619390204548836,
-0.03585357218980789,
-0.028837569057941437,
-0.028153957799077034,
0.09059637784957886,
0.019950632005929947,
-0.013375379145145416,
-0.023224767297506332,
0.00728584872558713,
-0.003114475402981043,
-0.08491161465644836,
0.0165865495800972,
-0.03817424923181534,
0.021317852661013603,
0.0037351218052208424,
-0.04947181046009064,
0.0009135419386439025,
0.03218366205692291,
-0.023908376693725586,
-0.016667502000927925,
0.009170275181531906,
-0.01772889867424965,
-0.008234808221459389,
-0.022343268617987633,
0.015039430931210518,
0.08627884089946747,
-0.011576403863728046,
0.01230498868972063,
-0.027056584134697914,
-0.001041156705468893,
-0.08894132077693939,
0.05602008104324341,
-0.019626816734671593,
0.0021621431224048138,
-0.03964940831065178,
-0.008990377187728882,
0.05832276865839958,
0.03099633753299713,
-0.025599412620067596,
0.006372868549078703,
-0.053357597440481186,
-0.016433635726571083,
0.011432485654950142,
-0.01808869279921055,
-0.05454492196440697,
-0.06695784628391266,
0.015714045614004135,
-0.03412655368447304,
0.02041836641728878,
-0.03355088457465172,
0.010640936903655529,
0.02754230611026287,
-0.00816284865140915,
0.030636543408036232,
-0.031607989221811295,
0.027128541842103004,
-0.017737893387675285,
-0.014220897108316422,
0.029197363182902336,
-0.03416253253817558,
0.0581788495182991,
-0.008297772146761417,
0.013159501366317272,
-0.042923543602228165,
-0.015030435286462307,
-0.03759857639670372,
0.005869155749678612,
0.0051630581729114056,
-0.011270578019320965,
-0.06652609258890152,
-0.007632151246070862,
0.019860683009028435,
-0.009867377579212189,
0.020076559856534004,
0.04529818892478943,
0.03603346645832062,
-0.011720322072505951,
-0.0044592092745006084,
0.033083148300647736,
-0.025617403909564018,
0.10772261768579483,
0.03716682270169258,
-0.025527454912662506,
0.059438131749629974,
0.03261541575193405,
0.027128541842103004,
-0.10095847398042679,
0.0712394043803215,
0.015929922461509705,
0.035062022507190704,
-0.027110552415251732,
0.012053132057189941,
-0.054508939385414124,
0.027002613991498947,
0.01734211854636669,
-0.034774184226989746,
0.01691935956478119,
-0.01648760586977005,
0.0014448018046095967,
-0.02099403738975525,
-0.020022591575980186,
0.040656834840774536,
0.05875452235341072,
0.04436272382736206,
-0.0215157400816679,
-0.10822633653879166,
0.013348394073545933,
0.0437510721385479,
-0.030078861862421036,
0.04346323385834694,
-0.032723356038331985,
0.033658821135759354,
-0.03921765461564064,
-0.031032318249344826,
0.020688211545348167,
-0.043139420449733734,
0.01634368672966957,
0.03488212451338768,
0.05065913498401642,
-0.011135654523968697,
0.01215207576751709,
-0.019374961033463478,
0.0029053445905447006,
0.01248488575220108,
0.0154262101277709,
-0.004771781153976917,
-0.10822633653879166,
0.056128017604351044,
0.026696788147091866,
-0.03635728359222412,
0.029701076447963715,
-0.08412006497383118,
-0.06717372685670853,
-0.04519025236368179,
0.030276749283075333,
-0.03549377620220184,
-0.001986742950975895,
0.04209601506590843,
0.007897499948740005,
0.0324535071849823,
0.027560295537114143,
0.02642694115638733,
-0.020886098966002464,
0.019410939887166023,
-0.012313983403146267,
0.043715089559555054,
0.07026796042919159,
0.031086286529898643,
-0.09390649199485779,
-0.04465055838227272,
0.007321828044950962,
-0.00019409252854529768,
-0.059618029743433,
-0.050551194697618484,
-0.04403890669345856,
0.05440100282430649,
-0.0447944775223732,
-0.050479236990213394,
0.04357117414474487,
0.006255935411900282,
0.004558152984827757,
0.00887344405055046,
0.005644283723086119,
-0.0036789036821573973,
-0.033155109733343124,
0.004524421878159046,
0.02196548506617546,
0.07584478706121445,
0.07929881662130356,
-0.022361258044838905,
-0.015570128336548805,
-0.06364773213863373,
-0.053789351135492325,
0.003687898628413677,
0.03538583591580391,
0.003321357537060976,
0.045514065772295,
0.06692186743021011,
-0.002604016335681081,
-0.034108564257621765,
0.018196631222963333,
-0.001678668544627726,
-0.051666561514139175,
-0.025671372190117836,
0.013591255992650986,
-0.033227067440748215,
-0.03221964091062546,
-0.024412089958786964,
0.03626733645796776,
0.006121012382209301,
0.008225812576711178,
0.013645225204527378,
-0.004193860571831465,
-0.03187783434987068,
-0.07534106820821762,
0.03295722231268883,
-0.0354577973484993,
-0.049363873898983,
-0.010712895542383194,
-0.004744796548038721,
0.03678903728723526,
-0.04026105999946594,
0.03157201036810875,
-0.0068361046724021435,
-0.04202405363321304,
-0.01820562593638897,
0.03121221624314785,
-0.026175085455179214,
0.019338980317115784,
-0.01134253665804863,
-0.002439859788864851,
0.04515426978468895,
0.05468883737921715,
-0.018241606652736664,
0.03144608065485954,
0.034036606550216675,
0.043211378157138824,
-0.052386149764060974,
-0.014220897108316422,
0.02056228369474411,
-0.02284698188304901,
-0.01035310048609972,
-0.030312728136777878,
0.02540152706205845,
0.024286162108182907,
0.0227570328861475,
-0.019356969743967056,
-0.09959125518798828,
0.03853404521942139,
0.08160150051116943,
0.04360715299844742,
0.052386149764060974,
0.01310553215444088,
-0.0064763096161186695,
-0.08066603541374207,
-0.001309878658503294,
-0.036681100726127625,
0.03194979578256607,
0.015255307778716087,
-0.04778077453374863,
-0.012493881396949291,
-0.05091099068522453,
0.011684342287480831,
-0.03223763033747673,
-0.017387092113494873,
-0.010119234211742878,
0.03166195750236511,
0.00965150073170662,
0.05530048906803131,
0.05224223434925079,
0.1036929190158844,
0.0027501829899847507,
0.020760171115398407,
-0.0044187321327626705,
-0.047924693673849106,
-0.019554857164621353,
-0.006876581814140081,
0.007411776576191187,
0.05263800546526909,
0.004153383430093527,
-0.01627172902226448,
-0.04587386175990105,
-0.043715089559555054,
0.029341282323002815,
-0.026462921872735023,
0.0016055851010605693,
0.04846438392996788,
0.03626733645796776,
-0.01627172902226448,
0.010488023981451988,
0.017566990107297897,
-0.022199351340532303,
0.004560401663184166,
-0.0659504234790802,
0.023962346836924553,
-0.029844993725419044,
0.014148937538266182,
0.003993724472820759,
0.022954920306801796,
-0.013636230491101742,
-0.04403890669345856,
0.0366990901529789,
-0.07706809043884277,
-0.03394665569067001,
0.056883588433265686,
0.01409496832638979,
0.03795837238430977,
0.01197217870503664,
0.011486454866826534,
-0.04141240194439888,
-0.052386149764060974,
0.010640936903655529,
-0.0055948118679225445,
-0.056883588433265686,
0.021677648648619652,
0.05270996689796448,
0.012053132057189941,
0.0034270472824573517,
-0.0021621431224048138,
-0.02056228369474411,
0.062028657644987106,
-0.03266938403248787,
-0.037130843847990036,
0.06501495838165283,
-0.024843843653798103,
0.046305615454912186,
-0.03214768320322037,
0.004225342534482479,
0.028909526765346527,
-0.03376676142215729,
-0.013564270921051502,
-0.015552137978374958,
0.039757344871759415,
0.012233030050992966,
-0.049975525587797165,
-0.00800543837249279,
-0.014508732594549656,
0.016307707875967026,
0.04875222221016884,
0.07498127222061157,
0.04162827879190445,
0.04519025236368179,
-0.05292584374547005,
-0.037922393530607224,
0.010290136560797691,
0.05587616190314293,
-0.037418678402900696,
-0.02988097444176674,
-0.004256824497133493,
-0.05655977129936218,
-0.000523951428476721,
-0.0013256196398288012,
0.05321367830038071,
-0.014346824958920479,
-0.02907143533229828,
0.04317539930343628,
0.05573224276304245,
0.014967471361160278,
-0.010595962405204773,
-0.042779624462127686,
-0.05623595789074898,
-0.009786423295736313,
-0.0011884478153660893,
-0.030006902292370796,
-0.00965150073170662,
0.005716242827475071,
-0.032255619764328,
0.053717393428087234,
-0.0026669802609831095,
-0.005154063459485769,
-0.02085012011229992,
0.021173935383558273,
-0.024951782077550888,
0.009161279536783695,
-0.053861308842897415,
-0.009453613311052322,
-0.01605585217475891,
0.006710176356136799,
0.01366321463137865,
0.06443928182125092,
0.006660704966634512,
-0.017926786094903946,
0.007299340795725584,
0.00874301791191101,
0.008796987123787403,
0.027128541842103004,
-0.020310427993535995,
0.03362284228205681,
0.0009022983722388744,
-0.04414684697985649,
0.0031819369178265333,
0.03614140674471855,
0.05853864550590515,
-0.04357117414474487,
-0.026534879580140114,
-0.03268737345933914,
0.014202907681465149,
-0.053645431995391846,
-0.03310113772749901,
-0.025059720501303673,
0.026283023878932,
0.013672209344804287,
-0.004083673004060984,
0.031823866069316864,
-0.030960358679294586,
0.0159659031778574,
-0.054005227982997894,
0.006417843047529459,
0.07418972998857498,
-0.043715089559555054,
-0.04670139029622078,
0.03252546861767769,
0.06476309895515442,
0.005010145250707865,
0.044398702681064606,
-0.02863968163728714,
-0.03767053410410881,
0.012008157558739185,
0.00521253002807498,
-0.05799895152449608,
-0.08570316433906555,
-0.00040786134195514023,
-0.02556343376636505,
0.0285677220672369,
-0.043427255004644394,
-0.0011462843976914883,
0.00943562388420105,
0.01839451864361763,
-0.009606526233255863,
-0.06015772372484207,
0.018835267052054405,
0.014859532937407494,
0.01098274253308773,
-0.10045476257801056,
0.007699612993746996,
-0.06465516239404678,
0.006867587100714445,
-0.004690827336162329,
-0.02189352549612522,
0.027938080951571465,
-0.0666700080037117,
0.021641667932271957,
0.0354577973484993,
-0.0365012027323246,
0.04141240194439888,
0.023512601852416992,
0.04781675338745117,
-0.022900952026247978,
-0.016577554866671562,
0.008405710570514202,
-0.021191924810409546,
0.0057971966452896595,
-0.014005020260810852,
0.005756719969213009,
0.024412089958786964,
-0.023404663428664207,
-0.07181508094072342,
0.00005442601832328364,
-0.06004978343844414,
-0.03398263826966286,
-0.04979562759399414,
-0.0016584299737587571,
0.007699612993746996,
-0.004020709078758955,
-0.05616399645805359,
0.020328417420387268,
0.015570128336548805,
0.021101975813508034,
-0.015282291918992996,
0.01226900890469551,
0.007506222929805517,
0.020328417420387268,
0.06731764227151871,
-0.02466394565999508,
-0.015642087906599045,
0.03678903728723526,
0.0014256876893341541,
0.030222779139876366,
0.027578286826610565,
0.01910511404275894,
0.03723878040909767,
-0.011756300926208496,
0.046593450009822845,
-0.0011704580392688513,
0.027056584134697914,
-0.04752891883254051,
-0.05022738128900528,
0.057171422988176346,
0.030654532834887505,
0.032039742916822433,
0.013033573515713215,
-0.04641355201601982,
0.038821879774332047,
0.054077185690402985,
0.054005227982997894,
0.030654532834887505,
-0.026750758290290833,
-0.03214768320322037,
0.015543143264949322,
0.039613429456949234,
-0.07375797629356384,
0.016829410567879677,
-0.02541951648890972,
-0.030816441401839256,
-0.015911933034658432,
0.049759648740291595,
0.045514065772295,
-0.0023454136680811644,
-0.010344105772674084,
-0.021461771801114082,
-0.08721430599689484,
0.0033888190519064665,
0.014220897108316422,
-0.05339357629418373,
0.027920091524720192,
0.03128417581319809,
0.005041627213358879,
-0.049759648740291595,
0.018619390204548836,
-0.02549147419631481,
-0.007380294613540173,
0.023512601852416992,
-0.015830978751182556,
0.014994456432759762,
-0.03907373547554016,
0.0022498429752886295,
0.055696263909339905,
0.0037980859633535147,
-0.00024637524620629847,
-0.02313481830060482,
-0.03979332745075226,
-0.015642087906599045,
0.002817644504830241,
0.01715322583913803,
-0.03189582750201225,
-0.023854408413171768,
0.041304465383291245,
0.009930341504514217,
0.017378097400069237,
-0.0201125405728817,
-0.00014145845489110798,
-0.00006510742969112471,
0.04177219793200493,
-0.019123103469610214,
-0.03333500400185585,
0.03716682270169258,
0.05137872323393822,
0.015543143264949322,
0.00006559934263350442,
0.06951238960027695,
-0.02070620097219944,
-0.0035799602046608925,
0.008347244001924992,
-0.007951469160616398,
-0.02034640684723854,
0.026714777573943138,
0.059438131749629974,
0.011603388004004955,
0.020670222118496895,
0.031104275956749916,
-0.011000731959939003,
-0.04932789131999016,
-0.013483317568898201,
-0.0005557145923376083,
-0.018817277625203133,
-0.008792489767074585,
-0.051234807819128036,
-0.006723668891936541,
0.016694488003849983,
-0.01468863058835268,
0.009062336757779121,
0.004562650341540575,
-0.039253633469343185,
0.0319318063557148,
0.03824620693922043,
0.043067459017038345,
0.007641145959496498,
0.01755799539387226,
-0.033604852855205536,
0.0917477235198021,
-0.02225331962108612,
0.02394435741007328,
-0.03671707957983017,
0.04774479568004608,
-0.020670222118496895,
-0.07336220145225525,
0.02216337062418461,
0.048356447368860245,
-0.0004623927816282958,
-0.031086286529898643,
-0.041304465383291245,
-0.029701076447963715,
-0.05799895152449608,
0.0047358013689517975,
0.00822131521999836,
0.054508939385414124,
0.03590754047036171,
0.023998325690627098,
0.05976194888353348,
0.05940215289592743,
-0.021155945956707,
0.051810476928949356,
0.027488337829709053,
-0.02827988564968109,
0.05627193674445152,
-0.01582198403775692,
-0.0641874298453331,
-0.0324535071849823,
0.03687898814678192,
-0.025239618495106697,
-0.026768747717142105,
0.002622005995362997,
0.05940215289592743,
0.018817277625203133,
-0.0645831972360611,
-0.0238004382699728,
-0.0016595544293522835,
0.01684739999473095,
0.00035417318576946855,
0.004274814389646053,
0.002817644504830241,
-0.012475891038775444,
-0.03200376406311989,
0.04220395162701607,
-0.017333123832941055,
0.028207927942276,
-0.032579436898231506,
0.04202405363321304,
0.044830456376075745,
0.018313564360141754,
0.010730885900557041,
-0.00936366431415081,
0.007479238323867321,
-0.09779227524995804,
0.0875021442770958,
0.046809326857328415,
-0.009489593096077442,
0.023116828873753548,
0.021173935383558273,
-0.016406651586294174,
0.00013302576553542167,
0.01091078296303749,
0.008711536414921284,
-0.0797305703163147,
0.023170797154307365,
-0.004173622000962496,
0.005032632499933243,
0.030132830142974854,
-0.02827988564968109,
-0.07764375954866409,
0.03158999979496002,
-0.026319002732634544,
-0.011720322072505951,
-0.05832276865839958,
0.03889383748173714,
0.029269322752952576,
-0.004391747526824474,
-0.018853258341550827,
0.00453341705724597,
0.027290450409054756,
-0.022271309047937393,
-0.008369730785489082,
0.03972136601805687,
0.07606066018342972,
0.008405710570514202,
-0.024142242968082428,
0.01453571766614914,
0.028405815362930298,
0.04443468153476715,
0.022235330194234848,
-0.00559930969029665,
0.03839012607932091,
-0.01288965530693531,
0.009543562307953835,
-0.018745318055152893,
-0.0701960027217865,
-0.010416065342724323,
0.021839555352926254,
-0.024502038955688477,
0.024052295833826065,
-0.007191402371972799,
0.06990816444158554,
0.054976675659418106,
-0.0018304570112377405,
0.028477773070335388
] |
708,644
|
builtins
|
Jieba
| null |
from builtins import Jieba
| null |
[
0.0016352697275578976,
-0.05498940870165825,
-0.0026586458552628756,
0.04550612345337868,
-0.010796617716550827,
0.017184190452098846,
-0.03325972333550453,
0.04253833368420601,
0.011819994077086449,
-0.026368990540504456,
0.020962152630090714,
0.06198247894644737,
-0.024799814447760582,
0.039297640323638916,
-0.07381952553987503,
-0.03288448601961136,
0.04973607882857323,
0.09776652604341507,
-0.020723365247249603,
0.029814356938004494,
-0.09353657066822052,
-0.052942655980587006,
0.05751373618841171,
0.06191425397992134,
0.010395795106887817,
0.05188516899943352,
0.03957054018974304,
-0.015342112630605698,
0.01468544639647007,
-0.04687062278389931,
-0.03912707790732384,
-0.08036913722753525,
0.016894234344363213,
0.0001575039786985144,
0.05021365359425545,
-0.03885417804121971,
0.01613522879779339,
0.05004309117794037,
-0.043288808315992355,
-0.047109413892030716,
0.032202232629060745,
-0.0061615766026079655,
-0.022156091406941414,
-0.04175374284386635,
-0.0018804535502567887,
-0.002799360081553459,
0.0035157231613993645,
0.008711488917469978,
0.011504452675580978,
-0.011905275285243988,
0.004451686050742865,
-0.05266975611448288,
0.04148084297776222,
-0.01674925535917282,
-0.037626128643751144,
0.08603181689977646,
0.002001979388296604,
0.05601278319954872,
-0.05089590325951576,
0.03759201616048813,
-0.07525225728750229,
-0.009508869610726833,
0.04809867590665817,
-0.0015670446446165442,
0.028501024469733238,
0.04301590844988823,
-0.04141261801123619,
-0.002743927063420415,
-0.024288125336170197,
0.015171550214290619,
-0.019614707678556442,
-0.025345614179968834,
0.009423588402569294,
0.0005724509828723967,
0.03141764551401138,
-0.008297874592244625,
-0.12048547714948654,
-0.00215335376560688,
-0.03544292598962784,
-0.02050163410604,
0.05918525159358978,
-0.022360768169164658,
-0.030343100428581238,
0.012340210378170013,
0.015265359543263912,
-0.03561348840594292,
-0.011555621400475502,
0.02497037686407566,
0.01619492657482624,
-0.01216964703053236,
-0.08159718662500381,
-0.051441702991724014,
-0.016877178102731705,
0.0440392829477787,
-0.005475061945617199,
0.04059391841292381,
0.012715447694063187,
-0.03477773070335388,
0.005833243485540152,
-0.03421487286686897,
0.04629071056842804,
0.010881898924708366,
-0.0024091978557407856,
-0.05563754588365555,
-0.018693670630455017,
0.030837733298540115,
0.005858827847987413,
0.029319724068045616,
0.0020009134896099567,
-0.031247083097696304,
-0.06324464082717896,
0.032031670212745667,
-0.016493411734700203,
-0.04182196781039238,
-0.026914790272712708,
-0.027221804484725,
0.033225610852241516,
0.007897051982581615,
0.07757190614938736,
0.057343173772096634,
0.0029400743078440428,
0.03612517565488815,
-0.019358864054083824,
0.02696595899760723,
0.10950124263763428,
0.042811233550310135,
0.023418255150318146,
0.02392994426190853,
0.04059391841292381,
-0.03464128077030182,
0.017448561266064644,
0.01770440675318241,
-0.03223634511232376,
-0.00886073149740696,
-0.00040108879329636693,
0.018625443801283836,
-0.030360156670212746,
0.007671056315302849,
0.012630166485905647,
0.06392689049243927,
-0.027955222874879837,
-0.01969998888671398,
0.05307910591363907,
-0.024936264380812645,
-0.04953140392899513,
-0.04079859331250191,
0.009884106926620007,
0.007385364267975092,
-0.02203669771552086,
0.01548709161579609,
0.009525925852358341,
0.02568673901259899,
0.015981722623109818,
0.013943498954176903,
-0.029029767960309982,
-0.0010798749281093478,
0.050554778426885605,
-0.012758088298141956,
0.011879690922796726,
-0.02154206670820713,
0.03433426842093468,
0.01969998888671398,
-0.05969693884253502,
0.015461507253348827,
-0.02561851404607296,
0.012647222727537155,
0.003803547704592347,
0.021644404157996178,
-0.005351404193788767,
0.03151998296380043,
-0.033515565097332,
-0.044960323721170425,
-0.027426479384303093,
0.05976516380906105,
0.03489712253212929,
0.022599555552005768,
-0.04953140392899513,
0.08473554253578186,
0.031792882829904556,
0.03441954776644707,
-0.03748967871069908,
0.022804230451583862,
-0.10424791276454926,
0.00914215948432684,
0.05338611826300621,
0.016416657716035843,
0.06392689049243927,
-0.006570927333086729,
0.05396603047847748,
-0.05219218134880066,
0.013244192115962505,
0.012246400117874146,
0.02497037686407566,
0.006344931665807962,
-0.03544292598962784,
-0.0023516330402344465,
0.00978176947683096,
-0.015248303301632404,
-0.044721536338329315,
0.009705016389489174,
-0.06406334042549133,
0.02872275561094284,
0.0113338902592659,
0.042640671133995056,
0.036193400621414185,
-0.01212700642645359,
-0.007325666956603527,
-0.0044602141715586185,
-0.018301375210285187,
-0.05232863128185272,
0.03293565288186073,
-0.029780244454741478,
-0.016800424084067345,
0.027255916967988014,
0.01922241412103176,
-0.024782758206129074,
-0.0058886767365038395,
-0.007219065446406603,
0.0435958206653595,
0.02561851404607296,
0.02097920887172222,
0.055330533534288406,
0.015308000147342682,
-0.0018207565881311893,
0.03112768940627575,
0.006238330155611038,
0.018557218834757805,
0.05563754588365555,
0.0250556580722332,
-0.03290154039859772,
0.02193436026573181,
-0.04356170818209648,
0.022770117968320847,
-0.0018037003464996815,
0.019051851704716682,
0.005436685401946306,
-0.026454271748661995,
0.03830837830901146,
-0.027665266767144203,
0.024919208139181137,
0.015427394770085812,
0.03772846609354019,
0.013457395136356354,
0.05659269914031029,
0.012877481989562511,
-0.03134942054748535,
0.047348201274871826,
0.025823188945651054,
-0.04093504324555397,
-0.010771033354103565,
0.018130812793970108,
-0.01946120150387287,
0.019665876403450966,
-0.03830837830901146,
0.00630655512213707,
-0.0027247387915849686,
0.047109413892030716,
-0.016953930258750916,
0.026471327990293503,
-0.030752452090382576,
-0.027886997908353806,
-0.03974110633134842,
0.012476660311222076,
0.054375384002923965,
-0.07661675661802292,
0.024868039414286613,
-0.002206654753535986,
0.04666594788432121,
0.026590721681714058,
-0.010429907590150833,
0.08357571065425873,
-0.01173471286892891,
-0.0022045227233320475,
0.016621332615613937,
-0.05744551122188568,
-0.012459604069590569,
-0.011947915889322758,
0.07156810164451599,
-0.008519605733454227,
-0.00989263504743576,
-0.01376440841704607,
0.010472548194229603,
-0.01835254393517971,
0.002464630641043186,
-0.035238251090049744,
-0.023657044395804405,
0.003223634557798505,
-0.025720851495862007,
-0.017115965485572815,
-0.02984846942126751,
0.031161801889538765,
0.006106143817305565,
0.011095101945102215,
-0.00352211925201118,
0.06495026499032974,
0.038342490792274475,
-0.047518763691186905,
-0.015683239325881004,
0.0952422022819519,
-0.000009594150469638407,
-0.006549607031047344,
-0.03551115095615387,
-0.019512370228767395,
-0.015691766515374184,
-0.07149987667798996,
-0.025328557938337326,
0.037455566227436066,
0.007342723198235035,
-0.06993070244789124,
0.05915113911032677,
-0.02201964147388935,
-0.022480161860585213,
-0.015418866649270058,
-0.005777810700237751,
-0.020928040146827698,
-0.027153579518198967,
0.01891540177166462,
0.02865453064441681,
-0.009568566456437111,
0.044550973922014236,
-0.0023857455234974623,
-0.03615928813815117,
0.045915473252534866,
0.004050863441079855,
-0.025243276730179787,
-0.049667853862047195,
0.014344321563839912,
0.011794409714639187,
0.013517091982066631,
-0.03520413860678673,
-0.07572983205318451,
0.0022962000221014023,
0.050145428627729416,
0.010464020073413849,
-0.008071878924965858,
0.02427106909453869,
0.04335703328251839,
-0.008110255002975464,
-0.024458687752485275,
-0.04247010871767998,
-0.022855399176478386,
-0.004519911017268896,
-0.026351934298872948,
0.05393191799521446,
-0.0017098909011110663,
-0.015495619736611843,
-0.025754963979125023,
-0.01101834885776043,
0.05304499343037605,
-0.03581816330552101,
0.026198428124189377,
-0.013662070967257023,
0.0035477038472890854,
0.003357952693477273,
0.020075228065252304,
0.012425491586327553,
-0.041139718145132065,
-0.06556429713964462,
-0.017857912927865982,
0.02297479286789894,
0.020007003098726273,
-0.07450177520513535,
-0.006481382064521313,
0.006660472601652145,
-0.02657366544008255,
-0.04038924351334572,
0.005978222005069256,
-0.0043131038546562195,
0.04843980073928833,
-0.02490215189754963,
0.01891540177166462,
0.01763618178665638,
-0.0488150380551815,
-0.022156091406941414,
-0.0665876716375351,
0.011214496567845345,
0.026283709332346916,
0.017124492675065994,
-0.09203562140464783,
0.007338459137827158,
0.04103738069534302,
0.01460016518831253,
-0.03864950314164162,
-0.015214190818369389,
-0.008826619014143944,
0.000036511075450107455,
-0.0041574654169380665,
-0.00018708594143390656,
-0.04062803089618683,
0.044892098754644394,
-0.017013628035783768,
-0.039058852940797806,
0.026710115373134613,
-0.004076448269188404,
-0.01005467027425766,
-0.01005467027425766,
-0.023025961592793465,
-0.008575038984417915,
0.021115660667419434,
0.0811196118593216,
0.019410032778978348,
0.009466229006648064,
0.02225842885673046,
0.06491615623235703,
-0.005969693884253502,
0.009073934517800808,
0.06958957016468048,
0.02537972666323185,
0.013107742182910442,
-0.004617984406650066,
0.0006689255242235959,
-0.03390786051750183,
-0.07620740681886673,
-0.05338611826300621,
-0.02520916424691677,
0.008118783123791218,
0.0021874664817005396,
-0.10288340598344803,
-0.04622248560190201,
-0.00877545028924942,
-0.007513286080211401,
-0.03097418323159218,
0.017602069303393364,
0.00984999444335699,
-0.026044921949505806,
-0.0008570774807594717,
-0.001187542686238885,
-0.0009945936035364866,
-0.025038601830601692,
0.021354448050260544,
-0.0626988410949707,
-0.02449280023574829,
0.01980232633650303,
-0.08951129764318466,
0.031144745647907257,
-0.03223634511232376,
-0.05495529621839523,
-0.019853495061397552,
0.07572983205318451,
-0.024117562919855118,
0.04925850033760071,
0.06174369156360626,
0.013747352175414562,
-0.01932475157082081,
0.04530144855380058,
0.010301985777914524,
-0.019597651436924934,
0.12348738312721252,
-0.02114977315068245,
-0.0024219900369644165,
0.011478868313133717,
-0.002673570066690445,
0.02824517898261547,
-0.03980933129787445,
0.08296168595552444,
-0.025482064113020897,
-0.012553413398563862,
-0.003296123817563057,
0.028927430510520935,
-0.01906890794634819,
-0.007479173596948385,
-0.0071337842382490635,
0.03800136595964432,
-0.025089770555496216,
-0.017115965485572815,
0.05928758904337883,
-0.005172313190996647,
0.01621198281645775,
0.0072744982317090034,
0.01715007796883583,
-0.001045762444846332,
0.01495834719389677,
-0.00566694512963295,
-0.058468885719776154,
0.02735825441777706,
0.04700707644224167,
-0.04908793792128563,
0.0005447345320135355,
0.0629035159945488,
-0.022633668035268784,
-0.06276706606149673,
-0.06689468026161194,
0.01612670160830021,
0.0029528664890676737,
-0.01180293783545494,
-0.02522622048854828,
0.024441631510853767,
-0.08910194784402847,
0.04008223116397858,
-0.07252325117588043,
-0.011547093279659748,
0.1264892816543579,
0.004353612195700407,
0.019921721890568733,
0.07013537734746933,
0.038820065557956696,
-0.00045572215458378196,
0.012536357156932354,
-0.050384216010570526,
0.00644726911559701,
0.019171245396137238,
0.026710115373134613,
-0.06907788664102554,
-0.01709038019180298,
0.03445366024971008,
-0.04291357100009918,
0.04247010871767998,
-0.05232863128185272,
-0.03677331283688545,
-0.04540378600358963,
-0.020058171823620796,
0.029660850763320923,
-0.014395490288734436,
-0.007999389432370663,
0.028057560324668884,
-0.050554778426885605,
-0.03837660327553749,
0.016936874017119408,
-0.03639807552099228,
0.019358864054083824,
0.00925302505493164,
-0.0750475823879242,
-0.007295818533748388,
-0.03336206078529358,
-0.01535916980355978,
-0.002558440202847123,
0.01519713457673788,
0.036261625587940216,
-0.026778340339660645,
0.09237674623727798,
-0.02162734791636467,
-0.02776760421693325,
-0.01715007796883583,
0.03151998296380043,
-0.0531473308801651,
0.05434127151966095,
-0.016331376507878304,
0.02403228171169758,
0.08371216058731079,
-0.0019294903613626957,
-0.020774533972144127,
0.013414754532277584,
0.0019636028446257114,
-0.009065406396985054,
0.031144745647907257,
0.0386153906583786,
-0.09633380174636841,
0.031724657863378525,
-0.026710115373134613,
0.03225340321660042,
-0.014097005128860474,
0.0007035710732452571,
-0.0233159177005291,
0.028705699369311333,
0.03837660327553749,
-0.042640671133995056,
0.007108199875801802,
-0.017363280057907104,
0.014813369140028954,
0.02440751902759075,
0.014659862034022808,
0.016467826440930367,
0.009645319543778896,
0.007095407694578171,
-0.0657348558306694,
0.022087866440415382,
-0.009329779073596,
0.022394880652427673,
0.008114519529044628,
-0.02225842885673046,
0.021525010466575623,
-0.01883012056350708,
0.07661675661802292,
-0.030308987945318222,
-0.03216812014579773,
0.04045746847987175,
0.006067767273634672,
-0.018949514254927635,
0.0494631789624691,
-0.025192108005285263,
-0.022446049377322197,
0.015171550214290619,
-0.0011694204295054078,
-0.04236777126789093,
0.06303996592760086,
-0.02265072427690029,
-0.0122549282386899,
0.04884915053844452,
0.004443157929927111,
-0.043698158115148544,
0.03238985314965248,
0.029234442859888077,
0.011751769110560417,
-0.04550612345337868,
-0.0032939917873591185,
-0.020450465381145477,
-0.04782577604055405,
0.0013421151088550687,
0.026829509064555168,
-0.050384216010570526,
0.016962459310889244,
-0.04318647086620331,
-0.03158820793032646,
-0.045676685869693756,
0.05580810829997063,
0.056217458099126816,
-0.005440949462354183,
-0.0322192907333374,
-0.0026373255532234907,
0.008071878924965858,
-0.0033217081800103188,
-0.0280916728079319,
-0.03401019796729088,
-0.02601080946624279,
-0.0537954680621624,
0.037319116294384,
0.03182699531316757,
-0.02075747773051262,
-0.027000071480870247,
0.020467521622776985,
-0.06437035650014877,
0.0033600847236812115,
0.0038675088435411453,
-0.018403712660074234,
0.024782758206129074,
0.00035658260458149016,
0.008191272616386414,
0.024373406544327736,
0.06604187190532684,
0.01874483935534954,
-0.003161805681884289,
0.014796312898397446,
0.08214298635721207,
-0.050315991044044495,
-0.035477038472890854,
0.0174656193703413,
0.009594150818884373,
0.002748191123828292,
-0.021286223083734512,
0.07388775050640106,
-0.034197818487882614,
-0.03169054538011551,
-0.008963068947196007,
0.026778340339660645,
-0.015256831422448158,
0.02497037686407566,
-0.01900068297982216,
-0.001992385368794203,
-0.03837660327553749,
-0.040730368345975876,
-0.015256831422448158,
0.03199755772948265,
-0.019614707678556442,
0.06621243059635162,
-0.06184602901339531,
0.01802847534418106,
0.020058171823620796,
0.01563206873834133,
0.03933175280690193,
-0.03269686549901962,
0.015862328931689262,
-0.03227045759558678,
-0.03397608548402786,
0.006933372933417559,
0.06208481639623642,
-0.011947915889322758,
0.01620345376431942,
-0.04646127298474312,
0.03772846609354019,
0.003496534889563918,
0.0052661229856312275,
-0.027648210525512695,
0.014497827738523483,
-0.09537865221500397,
-0.04925850033760071,
0.02768232300877571,
0.019103020429611206,
0.06570074707269669,
0.039706990122795105,
-0.027631154283881187,
-0.020075228065252304,
-0.02321358025074005,
0.015290943905711174,
-0.0007419476751238108,
-0.010702808387577534,
0.03095712698996067,
-0.013218607753515244,
0.04103738069534302,
0.014156702905893326,
-0.05324966832995415,
-0.02967790700495243,
0.05952637642621994,
-0.018062587827444077,
0.027477648109197617,
0.03779669106006622,
0.021814966574311256,
0.010591942816972733,
-0.01020817644894123,
-0.05362490564584732,
-0.03065011277794838,
0.06392689049243927,
0.006472853943705559,
-0.015623541548848152,
-0.008506814017891884,
0.03544292598962784,
0.041549067944288254,
-0.02275306172668934,
-0.0016448638634756207,
-0.016501938924193382,
0.000500494847074151,
0.029405005276203156,
0.03646630048751831,
-0.014421074651181698,
0.011120686307549477,
0.021030377596616745,
0.003839792450889945,
-0.032441020011901855,
0.09142159670591354,
0.014711030758917332,
0.023827606812119484,
0.01666397415101528,
0.004417573567479849,
0.015299472026526928,
0.031178858131170273,
0.01740592159330845,
0.0013676994713023305,
-0.06460914015769958,
-0.014327265322208405,
-0.05028187856078148,
0.016058476641774178,
-0.030701283365488052,
-0.0055731358006596565,
-0.08876081556081772,
0.06215304136276245,
-0.017840856686234474,
-0.06375633180141449,
-0.01208436582237482,
0.011939387768507004,
0.005031599197536707,
-0.020126396790146828,
-0.02058691531419754,
-0.07702610641717911,
-0.013056573458015919,
0.024765701964497566,
-0.015094797126948833,
-0.0040060910396277905,
0.04212898388504982,
-0.022053753957152367,
0.004656360950320959,
0.056456245481967926,
0.02937089279294014,
0.04731408879160881,
0.0058929407969117165,
-0.003185258014127612,
0.05679737403988838,
-0.03841071575880051,
-0.01876189559698105,
0.01692834682762623,
-0.06495026499032974,
-0.03902474045753479,
-0.08132428675889969,
-0.0077563379891216755,
-0.013030989095568657,
-0.005556079093366861,
0.016544580459594727,
-0.0226677805185318,
0.012237871997058392,
-0.014114061370491982
] |
708,646
|
wom_connector.instrument
|
Instrument
| null |
class Instrument:
def __init__(self, domain: str, instrument_id: int, instrument_privk: bytes, instrument_privk_password: str=None):
"""
Create an instance of an WOM Instrument able to generate vouchers.
Keys should be loaded using:
privk = open("keys/instrument1.pem", "rb")
and provided as:
privk.read()
:rtype: Instrument
:param domain: str: Domain of the Registry (e.g., wom.social).
:param instrument_id: int: Unique instrument ID, assigned by the WOM platform.
:param instrument_privk: bytes: Instrument private key in bytes format.
:param instrument_privk_password: bytes: Optional password for Instrument private key (Default value = None).
"""
self.__registry_proxy = RegistryProxy(domain)
self.ID = instrument_id
self.__instrument_privk = self.__load_private_key(instrument_privk, instrument_privk_password, "Instrument Private Key")
self.__logger = WOMLogger("Instrument")
@staticmethod
def __load_private_key(private_key_str, password, tag):
private_key = load_pem_private_key(private_key_str, password, default_backend())
if not isinstance(private_key, RSAPrivateKey):
raise TypeError("{0} is not a private RSA key" % tag)
return private_key
@staticmethod
def __generate_nonce(nonce=None):
return base64.b64encode(uuid.uuid4().bytes).decode('utf-8') if nonce is None else nonce
def request_vouchers(self, vouchers: list, nonce: str = None, password: str = None) -> (str, str):
"""
Obtains vouchers from WOM Registry through Registry remote API.
It returns a list containing the OTC representing the vouchers and the associated password.
:param vouchers: list: A list of Voucher items or a list of properly structure dictionaries
:param nonce: str: Communication nonce. If None, a proper nonce will be generated. (Default value = None)
:param password: str: Voucher OTC password. If None, a secure password will be generated by the Registry. (Default value = None)
:returns: OTC, password): (str, str)
:rtype: list(str, str)
"""
# call to voucher/create API
response_data = self.__voucher_create(vouchers, nonce, password)
# call to voucher/verify API
self.__voucher_verify(response_data['otc'])
return response_data['otc'], response_data['password']
def __voucher_create(self, vouchers, nonce=None, password=None):
# check arguments
if vouchers is None \
or not isinstance(vouchers, list) \
or len(vouchers) == 0:
raise ValueError("Voucher list is not valid or empty")
if not isinstance(vouchers[0], Voucher) \
and not isinstance(vouchers[0], dict):
raise ValueError("Vouchers has to be instances of Voucher or dictionaries")
# generate a valid nonce if there is no one
effective_nonce = self.__generate_nonce(nonce)
payload = json.dumps({'sourceId': self.ID,
'nonce': effective_nonce,
'password': password,
'vouchers': vouchers}, cls=VoucherEncoder if isinstance(vouchers[0], Voucher) else None)
self.__logger.debug(payload)
# encrypt inner payload
vouchers_create_payload = Crypto.encrypt(payload,
public_key=self.__registry_proxy.PublicKey)
# make registry request
json_response = self.__registry_proxy.voucher_create(source_id=self.ID,
nonce=effective_nonce,
payload=vouchers_create_payload.decode('utf-8'))
# decode registry response
response = Crypto.decrypt(json_response['payload'], private_key=self.__instrument_privk)
return json.loads(response.decode('utf-8'))
def __voucher_verify(self, otc):
encrypted_otc = Crypto.encrypt(json.dumps({'otc': otc}), public_key=self.__registry_proxy.PublicKey)
self.__registry_proxy.voucher_verify(encrypted_otc.decode('utf-8'))
|
(domain: str, instrument_id: int, instrument_privk: bytes, instrument_privk_password: str = None)
|
[
0.03685005009174347,
-0.07246911525726318,
-0.0426475815474987,
0.052693985402584076,
0.008532494306564331,
-0.058054711669683456,
-0.06361398845911026,
-0.011019276455044746,
-0.023865172639489174,
0.005559274926781654,
0.011416368186473846,
0.027836082503199577,
0.02998037450015545,
0.008383585140109062,
-0.04491099715232849,
-0.018444878980517387,
0.009118203073740005,
-0.03196582943201065,
0.004859401844441891,
-0.04177397862076759,
-0.007038439158350229,
0.02650582790374756,
0.04622139781713486,
0.08513632416725159,
-0.03289899602532387,
0.06909384578466415,
-0.003164319321513176,
0.02043033577501774,
0.012131132185459137,
-0.016072260215878487,
-0.03190626576542854,
-0.02904721163213253,
0.03685005009174347,
0.04141659662127495,
0.0056784022599458694,
-0.03841856122016907,
-0.006447765976190567,
0.02074800804257393,
-0.14406463503837585,
0.06405078619718552,
-0.007485166657716036,
0.03291884809732437,
0.08009326457977295,
-0.042806416749954224,
-0.007763130124658346,
0.04292554408311844,
-0.02928546629846096,
0.07195290178060532,
0.020569317042827606,
-0.02976197563111782,
0.011555349454283714,
0.03228350356221199,
-0.01957658864557743,
-0.012925313785672188,
0.016906151548027992,
0.008899803273379803,
0.03416968509554863,
0.08458039909601212,
0.050152599811553955,
0.017501788213849068,
-0.03738612309098244,
0.008661548607051373,
0.04939812794327736,
0.02557266503572464,
-0.016370078548789024,
0.031112084165215492,
-0.050390854477882385,
0.02676393650472164,
0.02430197224020958,
0.056148674339056015,
0.0947459265589714,
-0.031211357563734055,
-0.035221975296735764,
0.0025339373387396336,
0.056863438338041306,
0.016926007345318794,
-0.022515062242746353,
0.0026307282969355583,
-0.006035784259438515,
-0.022455498576164246,
0.04955696314573288,
-0.03778321295976639,
-0.015992842614650726,
-0.0048370654694736,
0.024897608906030655,
0.07032482326030731,
0.032164376229047775,
-0.04018561542034149,
-0.009922312572598457,
-0.0028317556716501713,
-0.06520235538482666,
0.023944590240716934,
-0.04324321821331978,
0.006105274893343449,
0.031131939962506294,
-0.04197252541780472,
-0.04121805354952812,
-0.00483458349481225,
-0.0201126616448164,
0.03021862916648388,
-0.018484588712453842,
0.024401245638728142,
-0.08227726817131042,
0.03289899602532387,
-0.008800530806183815,
-0.03663165122270584,
-0.06119173392653465,
0.04133718088269234,
0.03577790409326553,
0.020092807710170746,
-0.07465311884880066,
-0.006115202326327562,
-0.007941821590065956,
-0.029583284631371498,
-0.01526815164834261,
0.01211127731949091,
-0.011565277352929115,
0.0024148100055754185,
-0.0076986029744148254,
-0.01338196825236082,
0.07219115644693375,
-0.04451390728354454,
0.016916079446673393,
0.03986794129014015,
0.0004634797223843634,
-0.0030948284547775984,
-0.0009958299342542887,
0.04705528914928436,
0.037525106221437454,
-0.043838851153850555,
0.0028119010385125875,
0.01338196825236082,
0.00958974938839674,
0.05122474581003189,
0.03297841176390648,
-0.04808772727847099,
0.02201869897544384,
-0.027796374633908272,
-0.02146277204155922,
0.015129169449210167,
-0.009604640305042267,
0.0028739464469254017,
-0.006422948092222214,
0.005881911143660545,
-0.04252845421433449,
-0.007639039307832718,
-0.05178067460656166,
-0.0033380468375980854,
-0.02265404537320137,
-0.05650605633854866,
-0.014553387649357319,
0.004405228886753321,
-0.0036929468624293804,
-0.008492785505950451,
0.0008928344468586147,
-0.006532147992402315,
-0.013739350251853466,
-0.004047846887260675,
0.01176382228732109,
-0.017144406214356422,
-0.03450721129775047,
-0.005167147610336542,
0.014811496250331402,
-0.02178044430911541,
0.003390164813026786,
0.040622416883707047,
-0.03450721129775047,
-0.04000692442059517,
-0.013113932684063911,
0.07060278952121735,
-0.0363338328897953,
-0.008358767256140709,
-0.07425602525472641,
0.016459424048662186,
-0.005703220143914223,
0.04165485128760338,
0.022932007908821106,
-0.03363361209630966,
-0.05114533007144928,
0.005896802060306072,
-0.03998706862330437,
-0.033117394894361496,
-0.017710261046886444,
0.011813458986580372,
0.0016131824813783169,
-0.03806117922067642,
0.07056307792663574,
0.03536095842719078,
0.06091376766562462,
-0.015764515846967697,
-0.006229366175830364,
0.027955209836363792,
0.042726997286081314,
0.005221747327595949,
0.0030278193298727274,
0.011426295153796673,
0.005683365743607283,
0.004412674345076084,
-0.0710395872592926,
0.03101281262934208,
-0.01870298944413662,
0.007549693807959557,
0.007653930224478245,
-0.05162183940410614,
-0.00876578502357006,
-0.023229826241731644,
-0.02320997230708599,
0.016399860382080078,
-0.004214128945022821,
-0.03307768702507019,
0.058690059930086136,
0.015000115148723125,
-0.03361376002430916,
0.02533441036939621,
0.024401245638728142,
-0.024579936638474464,
0.057578202337026596,
-0.00852256640791893,
-0.010165531188249588,
-0.02342837303876877,
0.06015929579734802,
0.006869675125926733,
-0.07270736992359161,
-0.07231028378009796,
-0.02344822697341442,
0.02825302816927433,
-0.0043407017365098,
-0.006343529559671879,
0.00481721106916666,
-0.03101281262934208,
0.05706198513507843,
-0.003968428820371628,
0.003457173937931657,
0.0355197936296463,
-0.04693616181612015,
-0.056466348469257355,
-0.013937896117568016,
0.007460348308086395,
0.035480085760354996,
0.017551423981785774,
0.057816457003355026,
0.013123859651386738,
0.07763130217790604,
0.028947938233613968,
-0.008815421722829342,
-0.005005829036235809,
0.008855130523443222,
0.008557312190532684,
0.021184807643294334,
-0.02406371757388115,
0.0012036822736263275,
-0.04483158141374588,
-0.01078102272003889,
0.00037382400478236377,
-0.013630150817334652,
-0.07775042951107025,
0.023726191371679306,
0.021184807643294334,
0.057260531932115555,
-0.04133718088269234,
0.00041322287870571017,
-0.017650697380304337,
-0.0449904166162014,
0.03182685002684593,
-0.04435507208108902,
-0.020489899441599846,
0.010423640720546246,
0.0028168647550046444,
0.009579821489751339,
0.009033821523189545,
0.004650929011404514,
0.017610987648367882,
-0.012974950484931469,
0.0074653117917478085,
-0.0355197936296463,
-0.005792565643787384,
0.019993534311652184,
-0.008597020991146564,
-0.02960313856601715,
-0.019675862044095993,
-0.023726191371679306,
0.004638520069420338,
0.08767770230770111,
0.0015474142273887992,
0.009495439939200878,
-0.06683042645454407,
0.012409095652401447,
0.00025128418928943574,
0.007519911974668503,
-0.040145907551050186,
-0.02589033730328083,
0.05456031113862991,
-0.004139674361795187,
-0.037227287888526917,
0.03301812335848808,
-0.003752510529011488,
-0.0717543512582779,
0.0027597828302532434,
0.024659354239702225,
-0.024282118305563927,
-0.04796859994530678,
0.0623432956635952,
0.042726997286081314,
-0.03810088708996773,
-0.010592403821647167,
0.02108553610742092,
0.0860099270939827,
-0.03951055929064751,
-0.028213320299983025,
0.008944476023316383,
-0.007375966291874647,
0.03694932162761688,
0.056307513266801834,
-0.009013966657221317,
0.031191503629088402,
-0.02257462590932846,
0.022197389975190163,
0.030576011165976524,
0.048246562480926514,
0.07370010018348694,
0.0378626324236393,
0.0647258460521698,
0.007132748141884804,
-0.002926064655184746,
0.08489806950092316,
-0.028511138632893562,
0.012329677119851112,
0.021522335708141327,
0.0015474142273887992,
-0.020549463108181953,
-0.11817429959774017,
-0.018494516611099243,
0.007728384807705879,
0.03148932009935379,
0.04058270528912544,
0.0004203581192996353,
-0.01815698854625225,
-0.0505099818110466,
-0.025671936571598053,
-0.00978333130478859,
0.01345145981758833,
-0.06694955378770828,
-0.03512270376086235,
-0.022197389975190163,
-0.010403785854578018,
-0.06190649792551994,
0.05833267793059349,
-0.020648734644055367,
-0.013550732284784317,
0.03953041508793831,
-0.0402650348842144,
0.015208587981760502,
0.08465981483459473,
0.07385893911123276,
0.05348816514015198,
-0.06770402938127518,
-0.034447647631168365,
-0.017094770446419716,
-0.019517024978995323,
0.005206856410950422,
-0.02809419296681881,
0.023626917973160744,
-0.03700888529419899,
0.016399860382080078,
-0.05384554713964462,
-0.05944453179836273,
0.014295278117060661,
-0.054957401007413864,
0.03139004856348038,
-0.025433681905269623,
-0.02650582790374756,
0.003484474029392004,
-0.08104628324508667,
0.002185241784900427,
0.05531478300690651,
-0.01815698854625225,
0.010622185654938221,
-0.007748239208012819,
-0.08041094243526459,
0.010790949687361717,
0.015675170347094536,
0.04292554408311844,
0.013610295951366425,
0.02509615570306778,
0.06675101071596146,
-0.03615514189004898,
0.00500831101089716,
0.01956666260957718,
0.024877754971385002,
0.01625095121562481,
-0.00919265765696764,
0.006288929842412472,
-0.010661895386874676,
0.05074823647737503,
-0.03559921309351921,
-0.028511138632893562,
-0.027836082503199577,
0.0046534109860658646,
-0.05193950980901718,
-0.043044671416282654,
0.002953364746645093,
-0.009495439939200878,
0.005251529160887003,
-0.0019320962019264698,
-0.012806186452507973,
-0.023706335574388504,
0.043759435415267944,
-0.06480526179075241,
0.015466696582734585,
0.004174419678747654,
-0.05876947566866875,
-0.005584092810750008,
0.01791873387992382,
-0.044871289283037186,
-0.03363361209630966,
-0.03587717562913895,
-0.0021058234851807356,
0.05360729247331619,
0.0037723651621490717,
0.0678628608584404,
0.01760106161236763,
0.013798913918435574,
-0.0027200737968087196,
0.04606256261467934,
-0.039570122957229614,
0.0201225895434618,
0.006735656876116991,
-0.001396023202687502,
-0.017978297546505928,
0.012012004852294922,
0.03013921156525612,
0.06825995445251465,
-0.032243795692920685,
-0.05324991047382355,
0.016161605715751648,
-0.01468244194984436,
-0.01712455227971077,
-0.030258338898420334,
0.01120789535343647,
0.06635391712188721,
-0.03363361209630966,
-0.009177766740322113,
0.033574048429727554,
-0.00040050357347354293,
0.022435644641518593,
-0.016796952113509178,
-0.09323698282241821,
0.01910007931292057,
0.04868336394429207,
-0.005906729493290186,
0.04371972754597664,
-0.01727346144616604,
0.013153641484677792,
0.006785293575376272,
-0.02984139323234558,
-0.0055989837273955345,
0.03653237596154213,
-0.0017794643063098192,
0.024103427305817604,
-0.020569317042827606,
0.02960313856601715,
-0.0161913875490427,
0.026346992701292038,
0.011068913154304028,
-0.057578202337026596,
0.09617545455694199,
-0.007088075391948223,
-0.006949093658477068,
0.04673761874437332,
0.042965251952409744,
0.028133900836110115,
0.021998845040798187,
-0.016141751781105995,
-0.005886875092983246,
0.025274846702814102,
0.018832042813301086,
0.023785755038261414,
-0.02976197563111782,
-0.05305136740207672,
-0.08847188949584961,
-0.03214452043175697,
-0.01396767795085907,
0.07207202911376953,
-0.0024011600762605667,
-0.04506983608007431,
-0.06885559111833572,
0.049596674740314484,
-0.034685902297496796,
0.0024098462890833616,
0.015039823949337006,
-0.04324321821331978,
0.049437835812568665,
-0.01911000721156597,
0.02461964637041092,
0.003953537903726101,
0.010562621988356113,
-0.006462656892836094,
0.03748539462685585,
-0.017660625278949738,
-0.050629109144210815,
0.0017955960938706994,
0.025830773636698723,
0.034527067095041275,
-0.02960313856601715,
0.01358051411807537,
-0.00712282070890069,
-0.06004016846418381,
0.032859284430742264,
0.0030327830463647842,
0.017074914649128914,
-0.04721412807703018,
-0.025155719369649887,
0.002804455580189824,
-0.025612372905015945,
-0.049676090478897095,
0.019278770312666893,
-0.028511138632893562,
0.045586053282022476,
-0.04598314315080643,
-0.03361376002430916,
0.0576179139316082,
0.04169456288218498,
0.06087405979633331,
-0.02414313703775406,
0.027498556300997734,
0.023150408640503883,
-0.05321020260453224,
-0.02960313856601715,
-0.000881045765709132,
0.03913332521915436,
-0.03742583096027374,
-0.004603774286806583,
-0.027677247300744057,
-0.061032894998788834,
-0.003469583112746477,
-0.0006533389096148312,
-0.014861132949590683,
-0.042965251952409744,
0.013501095585525036,
-0.02456008270382881,
-0.005613874644041061,
0.006705875042825937,
-0.07385893911123276,
-0.07874315977096558,
-0.04765092581510544,
-0.022932007908821106,
0.009376312606036663,
0.02132379077374935,
-0.042726997286081314,
-0.04169456288218498,
0.04784947261214256,
-0.01377905998378992,
0.06059609726071358,
0.004804801661521196,
0.016072260215878487,
0.012577859684824944,
0.02652568370103836,
-0.027895646169781685,
0.017898879945278168,
0.02668451890349388,
0.02257462590932846,
0.002263419097289443,
-0.06563915312290192,
-0.011475931853055954,
-0.018841970711946487,
0.0007612979970872402,
0.03250190243124962,
0.016439570114016533,
-0.03931201621890068,
0.0027448919136077166,
0.003020373871549964,
-0.02857070229947567,
0.04086067155003548,
0.04606256261467934,
-0.07560613751411438,
0.01704513281583786,
-0.03270044922828674,
-0.0025326963514089584,
0.03416968509554863,
-0.051582127809524536,
0.045347798615694046,
0.04006648808717728,
0.0050753201358020306,
-0.14025256037712097,
0.03732655942440033,
0.021204663440585136,
0.02968255616724491,
0.038160450756549835,
0.02785593830049038,
0.02644626423716545,
-0.030178921297192574,
0.0020040690433233976,
-0.06615537405014038,
-0.007460348308086395,
0.028769247233867645,
0.04884219914674759,
-0.006735656876116991,
0.016042478382587433,
0.02098626270890236,
-0.004216610919684172,
-0.0025227691512554884,
0.01792866177856922,
0.014732078649103642,
-0.07723420858383179,
-0.00852753035724163,
0.0010715253883972764,
-0.0662745013833046,
-0.0315687395632267,
0.032799720764160156,
0.006447765976190567,
0.039907652884721756,
-0.007475239224731922,
0.02549324557185173,
-0.001265107304789126,
0.03031790256500244,
0.019546806812286377,
-0.07548701018095016,
0.013123859651386738,
0.01719404198229313,
0.03369317576289177,
0.0003052637621294707,
0.028669973835349083,
-0.024182844907045364,
-0.005187002010643482,
-0.08791595697402954,
-0.04256816208362579,
0.018127206712961197,
0.009341566823422909,
0.016141751781105995,
-0.009455731138586998,
0.012031858786940575,
0.025453537702560425,
0.0726676657795906,
-0.003283446654677391,
0.0056784022599458694,
0.0023167780600488186,
0.03218423202633858,
-0.015079532749950886,
-0.011585131287574768,
0.028511138632893562,
0.002995555754750967,
0.02676393650472164,
-0.029146483168005943,
0.01806764304637909,
-0.07076162844896317,
0.022872444242239,
-0.01358051411807537,
-0.03889507055282593,
0.019616298377513885,
-0.011505713686347008,
-0.01783931627869606,
0.026942627504467964,
-0.0019395416602492332,
-0.03023848496377468,
-0.05035114660859108,
0.03496386855840683,
-0.007068220991641283,
0.032561466097831726,
0.03683019429445267,
0.04459332674741745,
-0.019080225378274918,
0.045109543949365616,
0.021840007975697517,
-0.03148932009935379,
-0.014672514982521534,
-0.005891838576644659,
0.034288812428712845,
-0.04145630821585655,
-0.011386586353182793,
0.029960520565509796,
0.07139696925878525,
-0.021820154041051865,
0.04145630821585655,
0.03000023029744625,
-0.007673784624785185,
-0.0033703104127198458,
-0.00660660257562995,
-0.0020723189227283,
0.014910769648849964,
0.03611543029546738,
0.008408403024077415,
0.026704374700784683,
0.018990879878401756,
-0.00390886515378952,
-0.01554611511528492,
0.009217476472258568,
0.01534756924957037,
0.023487936705350876,
-0.05595013126730919,
-0.0717940628528595,
0.0005701979389414191,
-0.08068890124559402,
0.006998729892075062,
-0.012002076953649521,
-0.02700219117105007,
-0.028193464502692223,
-0.023070991039276123,
-0.014493823982775211,
-0.009480549022555351,
0.007460348308086395,
0.015456769615411758,
-0.01310400478541851,
0.030873829498887062,
0.051899801939725876,
-0.010949785821139812,
-0.031112084165215492,
-0.009232367388904095,
-0.05253514647483826,
0.07707537710666656,
-0.026247719302773476,
0.08180075883865356,
0.07008656859397888,
0.10912062227725983,
-0.07346184551715851,
0.02690291963517666,
0.05515594780445099,
-0.06603624671697617,
0.04765092581510544,
0.005886875092983246,
-0.0027200737968087196,
-0.00963442213833332,
-0.00022491485287901014,
0.0323629230260849,
-0.03281957656145096,
0.033832158893346786,
0.036730922758579254,
0.06409049779176712,
0.0062541840597987175,
0.026783792302012444,
0.013570587150752544,
-0.015804223716259003,
0.010572549887001514,
-0.04820685461163521,
-0.03180699422955513,
0.0060010384768247604,
-0.08767770230770111,
-0.040145907551050186,
-0.009614567272365093,
-0.005087729077786207,
0.06770402938127518,
-0.024004153907299042,
0.029186192899942398,
-0.013074222952127457,
0.027041900902986526,
-0.01302458718419075,
0.03142975643277168,
0.0584120936691761,
0.0008127957698889077,
0.030198775231838226,
-0.03198568522930145,
0.051740966737270355,
0.015000115148723125,
-0.032084956765174866,
-0.0007129025179892778,
0.02116495370864868,
-0.012428950518369675,
0.0031221285462379456,
0.05170125514268875,
0.005261456593871117,
0.00074516620952636,
-0.02360706403851509,
-0.035460229963064194,
-0.04141659662127495,
-0.00876082107424736,
-0.000299059203825891,
0.0481671467423439,
0.008269421756267548,
0.018524298444390297
] |
708,647
|
wom_connector.instrument
|
__generate_nonce
| null |
@staticmethod
def __generate_nonce(nonce=None):
return base64.b64encode(uuid.uuid4().bytes).decode('utf-8') if nonce is None else nonce
|
(nonce=None)
|
[
-0.048430185765028,
-0.012463650666177273,
0.011146064847707748,
0.03131937235593796,
0.009303225204348564,
-0.026672212406992912,
-0.006619088817387819,
0.05038875713944435,
0.020493801683187485,
-0.01860645040869713,
0.058044999837875366,
0.08518014848232269,
-0.025336820632219315,
0.008101372979581356,
0.009276516735553741,
-0.04006173461675644,
0.005283697508275509,
0.037390951067209244,
0.010968012735247612,
-0.024215092882514,
-0.0033473805524408817,
0.023769961670041084,
-0.01427088025957346,
0.047290652990341187,
0.01706629805266857,
0.05117218941450119,
0.009846284054219723,
0.002486053155735135,
-0.005920234136283398,
0.02934299409389496,
0.03406137600541115,
-0.0549468956887722,
0.07161257416009903,
0.09543595463037491,
0.05565910413861275,
-0.059113312512636185,
-0.040239784866571426,
0.07029499113559723,
-0.16138647496700287,
-0.027046121656894684,
0.023004338145256042,
-0.007580570410937071,
0.005768889561295509,
-0.045759402215480804,
-0.013247080147266388,
-0.024553392082452774,
0.019158411771059036,
0.056869857013225555,
-0.12071935832500458,
0.00552851939573884,
0.057938169687986374,
0.0130957355722785,
0.03413259610533714,
0.009926407597959042,
-0.00794557761400938,
0.06968960911035538,
0.031212542206048965,
0.024393144994974136,
-0.03756900504231453,
0.06377828121185303,
-0.036999236792325974,
0.028969084843993187,
-0.008666688576340675,
-0.02695709653198719,
0.003180456580594182,
0.026084640994668007,
-0.06263874471187592,
0.00235473969951272,
0.03810315951704979,
0.05957625061273575,
0.04636478051543236,
0.014956380240619183,
-0.02592439390718937,
-0.0021878157276660204,
0.057119131088256836,
0.009258711710572243,
-0.048501405864953995,
0.019176216796040535,
-0.014626984484493732,
0.02763369306921959,
0.02223871275782585,
-0.09778624027967453,
0.009151880629360676,
0.013754528947174549,
0.025746341794729233,
0.026013419032096863,
-0.009623718447983265,
-0.02044038660824299,
-0.030162034556269646,
0.014324295334517956,
-0.02918274700641632,
-0.05209805816411972,
-0.04964093863964081,
0.007166598923504353,
-0.016434213146567345,
-0.030820827931165695,
0.033171117305755615,
-0.013353911228477955,
0.003240549238398671,
-0.012000715360045433,
0.02394801378250122,
0.0029489886946976185,
-0.0655231922864914,
-0.001794988289475441,
0.004075168631970882,
-0.02266603894531727,
-0.023075558245182037,
0.012401332147419453,
0.012009617872536182,
-0.027580277994275093,
-0.02555048279464245,
-0.03320672735571861,
0.002146641258150339,
-0.025568289682269096,
0.0078431973233819,
-0.08425427973270416,
0.02920055203139782,
0.04202030599117279,
0.037782665342092514,
-0.003193810349330306,
0.013042320497334003,
-0.02526560053229332,
-0.004150840919464827,
-0.011315214447677135,
0.03076741099357605,
-0.014110633172094822,
0.00006986460357438773,
0.0027375519275665283,
-0.0064321341924369335,
-0.03131937235593796,
0.013193664140999317,
0.08589235693216324,
0.02328922227025032,
-0.011333019472658634,
-0.04828774183988571,
-0.015267971903085709,
0.036571912467479706,
0.07118525356054306,
-0.02984154038131237,
0.07090036571025848,
0.032547932118177414,
0.0014088376192376018,
0.028612980619072914,
-0.004353375174105167,
0.011769247241318226,
0.052382942289114,
-0.035040661692619324,
-0.018677670508623123,
-0.013816846534609795,
-0.03537896275520325,
0.08275864273309708,
0.04113004729151726,
0.029040304943919182,
0.08297230303287506,
-0.03222743794322014,
-0.03571726009249687,
0.026779044419527054,
-0.050068266689777374,
-0.0002656871802173555,
-0.05722596123814583,
0.00928541924804449,
0.018517423421144485,
-0.012152059003710747,
-0.09123392403125763,
0.037889499217271805,
0.04821652173995972,
0.04294617846608162,
0.008110275492072105,
0.04369399696588516,
-0.02369874157011509,
-0.03402576595544815,
0.021936025470495224,
-0.04750431329011917,
0.03634044528007507,
-0.009076208807528019,
0.022577011957764626,
-0.042590074241161346,
-0.02369874157011509,
-0.044299375265836716,
0.05092291533946991,
-0.04123687744140625,
-0.03835243359208107,
0.01648763008415699,
-0.01780521497130394,
0.08218887448310852,
-0.007362456526607275,
0.07122085988521576,
0.02328922227025032,
0.07278771698474884,
-0.06445487588644028,
0.008061311207711697,
0.04408571124076843,
-0.038174379616975784,
0.04739748314023018,
0.03411479294300079,
-0.0016914954176172614,
0.008737909607589245,
-0.03963441029191017,
-0.05565910413861275,
0.007473738864064217,
-0.00022646007710136473,
0.013647696934640408,
-0.02590658888220787,
-0.051635123789310455,
0.030696190893650055,
-0.055160555988550186,
0.0008986069587990642,
-0.002793193096294999,
-0.04230519011616707,
-0.03390112891793251,
0.04607989639043808,
-0.04504719376564026,
0.004651612602174282,
0.10369757562875748,
-0.018944749608635902,
-0.01601579040288925,
0.013968191109597683,
0.010870084166526794,
-0.00847973395138979,
0.02328922227025032,
0.07018815726041794,
0.00732684601098299,
0.005256989970803261,
-0.011929494328796864,
0.000809580902568996,
0.014324295334517956,
0.029610073193907738,
-0.010905694216489792,
-0.05512494593858719,
-0.055694714188575745,
0.006823848467320204,
0.024428755044937134,
0.01640750654041767,
0.06438365578651428,
-0.002118820557370782,
-0.03167547658085823,
0.027295393869280815,
-0.05722596123814583,
0.018268151208758354,
0.023235805332660675,
-0.04380083084106445,
-0.009828479029238224,
0.08461038023233414,
0.05152829363942146,
0.0628524124622345,
0.056300088763237,
-0.028061019256711006,
0.06883496046066284,
-0.009970920160412788,
-0.006089383736252785,
-0.0392426922917366,
-0.013816846534609795,
-0.061214327812194824,
-0.04333789274096489,
0.005239184480160475,
0.01204522792249918,
0.0314083993434906,
0.02644074521958828,
0.031746700406074524,
0.05409224331378937,
0.004887531511485577,
-0.048109691590070724,
-0.052667826414108276,
0.011617902666330338,
-0.032654765993356705,
-0.07164818793535233,
-0.045616962015628815,
0.04305300861597061,
-0.03721290081739426,
-0.017155325040221214,
0.08753043413162231,
0.019194021821022034,
-0.011769247241318226,
-0.022042855620384216,
-0.02825687639415264,
-0.08810020238161087,
0.02996617741882801,
0.024161677807569504,
-0.005016619339585304,
-0.027509057894349098,
-0.01104813627898693,
-0.019656958058476448,
0.055552270263433456,
-0.05473323166370392,
-0.020903322845697403,
0.012819754891097546,
0.02184699848294258,
-0.029503241181373596,
0.007918869145214558,
-0.01833937130868435,
-0.03208499774336815,
0.011359727010130882,
-0.016532141715288162,
-0.010852278210222721,
-0.023894598707556725,
-0.026743432506918907,
-0.047183819115161896,
0.0006242953822948039,
0.055587880313396454,
-0.00015579562750644982,
-0.03650069236755371,
0.04554574191570282,
-0.019300853833556175,
-0.03967002034187317,
0.022185297682881355,
-0.008328389376401901,
0.01681702584028244,
0.038281213492155075,
-0.0013999349903315306,
0.04045344889163971,
-0.03863731771707535,
-0.011938396841287613,
0.004558135289698839,
0.0038681828882545233,
0.06139238178730011,
0.04305300861597061,
0.06402755528688431,
-0.03885097801685333,
0.014956380240619183,
0.06773103773593903,
0.008181496523320675,
0.02263042889535427,
0.03249451890587807,
0.019959645345807076,
-0.05184878781437874,
-0.06064456328749657,
-0.08525136858224869,
0.005711022764444351,
-0.03895781189203262,
0.05783133953809738,
-0.08781532198190689,
-0.014983088709414005,
0.0020386972464621067,
0.016745805740356445,
-0.049676548689603806,
0.018784502521157265,
0.0458306223154068,
-0.040275394916534424,
-0.0013008934911340475,
-0.01695946790277958,
-0.016532141715288162,
-0.005795597564429045,
-0.009178588166832924,
0.04853701591491699,
-0.013914776034653187,
-0.038174379616975784,
-0.001337616820819676,
0.0067392741329967976,
0.026387328281998634,
-0.032013777643442154,
-0.015036503784358501,
0.023912403732538223,
0.046649664640426636,
0.045225247740745544,
0.0707935318350792,
-0.020244529470801353,
0.010255804285407066,
0.032672569155693054,
-0.017155325040221214,
0.03913586214184761,
-0.04002612456679344,
-0.04782480746507645,
0.05590837448835373,
0.004362277686595917,
0.006320851389318705,
0.006668053101748228,
0.00549736013635993,
-0.0056932177394628525,
0.015446024015545845,
-0.020582828670740128,
-0.041699815541505814,
-0.01001543365418911,
-0.039456356316804886,
-0.04960532858967781,
0.025586094707250595,
-0.025728536769747734,
-0.04212713986635208,
-0.017547039315104485,
-0.02708173170685768,
-0.047860417515039444,
-0.025336820632219315,
-0.02004867233335972,
0.019817205145955086,
0.021134790033102036,
-0.016193842515349388,
0.013834652490913868,
0.02133064717054367,
0.04372960701584816,
-0.029253968968987465,
0.01001543365418911,
-0.026013419032096863,
-0.025319015607237816,
0.068015918135643,
0.0008463041158393025,
-0.018784502521157265,
0.007438128814101219,
-0.03634044528007507,
-0.008208204060792923,
-0.03845926374197006,
0.002194492844864726,
0.014431126415729523,
0.02825687639415264,
0.015606271103024483,
0.024321923032402992,
-0.008519795723259449,
0.02907591685652733,
0.009908602572977543,
-0.03564603999257088,
0.004932044539600611,
-0.04419254511594772,
-0.08753043413162231,
-0.015962375327944756,
-0.0039972709491848946,
-0.03569945693016052,
0.056869857013225555,
-0.025443652644753456,
-0.028434928506612778,
0.022042855620384216,
0.010834473185241222,
0.017101909965276718,
-0.019211826846003532,
-0.00880022719502449,
-0.0029912760946899652,
0.06780225783586502,
-0.007206660695374012,
0.005849013105034828,
0.03634044528007507,
-0.004442401230335236,
-0.006182861048728228,
-0.007464836351573467,
-0.009142978116869926,
-0.002448217011988163,
-0.0021477541886270046,
-0.03270817920565605,
0.06872813403606415,
-0.0064143287017941475,
-0.006387620698660612,
-0.014235269278287888,
-0.010371537879109383,
0.07492434233427048,
0.003743546549230814,
0.005354918539524078,
-0.010959110222756863,
0.009917505085468292,
0.0353967659175396,
-0.004030655603855848,
-0.07670486718416214,
0.03838804364204407,
0.06360022723674774,
-0.01578432321548462,
0.009614815935492516,
0.03582409396767616,
-0.034079182893037796,
-0.025105353444814682,
-0.009650426916778088,
-0.036856796592473984,
-0.04501158371567726,
-0.02631610818207264,
-0.04305300861597061,
-0.05523177608847618,
-0.034631144255399704,
0.04376521706581116,
0.027295393869280815,
0.005733279045671225,
0.014626984484493732,
0.0179921705275774,
0.01061190851032734,
-0.01990623027086258,
-0.004055137746036053,
0.018624255433678627,
0.036856796592473984,
-0.021152595058083534,
-0.02384118363261223,
-0.035147495567798615,
0.02188260853290558,
0.010576297529041767,
0.019799400120973587,
-0.007424774579703808,
-0.030945463106036186,
-0.01362098939716816,
-0.018374981358647346,
0.016532141715288162,
0.02396581880748272,
0.019817205145955086,
-0.015383705496788025,
-0.0017560393316671252,
0.000963150872848928,
0.015517245046794415,
0.06794469803571701,
0.016950564458966255,
-0.01636299304664135,
0.04394327104091644,
-0.04034661874175072,
0.026921484619379044,
0.0379607193171978,
0.005613094195723534,
0.00928541924804449,
0.019176216796040535,
-0.06032406911253929,
-0.01910499669611454,
-0.0051189991645514965,
0.046257950365543365,
0.02540804259479046,
-0.005978100933134556,
0.016576655209064484,
-0.059113312512636185,
-0.08916851878166199,
0.0034386322367936373,
0.005519616883248091,
-0.0075983754359185696,
0.015143335796892643,
-0.015757614746689796,
0.036465082317590714,
-0.017716189846396446,
0.006365364417433739,
0.030286671593785286,
-0.030607163906097412,
-0.07812928408384323,
-0.022203102707862854,
-0.00792332086712122,
-0.009516887366771698,
0.05184878781437874,
0.01524126436561346,
-0.017716189846396446,
-0.010968012735247612,
0.019087189808487892,
-0.01663007028400898,
0.0064454879611730576,
-0.010807765647768974,
0.06100066751241684,
-0.05377174913883209,
-0.004095199517905712,
-0.005902428645640612,
-0.008466379716992378,
-0.05434151738882065,
-0.01459137350320816,
-0.06890618056058884,
-0.013816846534609795,
0.04148615151643753,
-0.039456356316804886,
-0.031194737181067467,
-0.047183819115161896,
-0.01938987895846367,
-0.011181674897670746,
-0.06751737743616104,
0.05220489203929901,
0.0030691740103065968,
0.08546502888202667,
-0.002639623126015067,
0.0030602712649852037,
-0.004589294083416462,
-0.020333556458353996,
0.04376521706581116,
-0.014110633172094822,
-0.014466737397015095,
-0.03525432571768761,
-0.0049676550552248955,
-0.016870440915226936,
-0.028434928506612778,
0.05131462961435318,
0.01040714792907238,
0.0005647591897286475,
0.0016981724184006453,
-0.034470897167921066,
-0.046008676290512085,
0.010754349641501904,
-0.03281501308083534,
-0.049783382564783096,
0.010442758910357952,
0.008257168345153332,
-0.05338003486394882,
-0.018677670508623123,
0.036714352667331696,
0.020885517820715904,
-0.09123392403125763,
0.042340800166130066,
-0.025425847619771957,
-0.03753339499235153,
0.04778919741511345,
-0.02528340555727482,
-0.0028844447806477547,
0.006298594642430544,
0.048893120139837265,
-0.06851446628570557,
0.048252131789922714,
-0.00038448136183433235,
0.003247226122766733,
-0.0011055925861001015,
0.044833533465862274,
0.004150840919464827,
-0.03853048384189606,
0.01257048174738884,
0.013407327234745026,
-0.01465369202196598,
0.015330290421843529,
0.06477537006139755,
0.04344472661614418,
-0.03575287014245987,
0.008221558295190334,
-0.03707045689225197,
0.07257405668497086,
0.07741707563400269,
-0.0029289578087627888,
0.039705630391836166,
0.07798684388399124,
0.00338521646335721,
-0.07225356251001358,
-0.02528340555727482,
-0.030126424506306648,
-0.005110096652060747,
0.005421687848865986,
0.008804678916931152,
0.017360085621476173,
-0.03774705529212952,
0.04212713986635208,
0.025568289682269096,
-0.0681227520108223,
-0.04048905894160271,
-0.05580154433846474,
0.0023525140713900328,
-0.028328096494078636,
0.036465082317590714,
-0.06164165586233139,
-0.009196393191814423,
-0.011404240503907204,
-0.0366075225174427,
-0.004048460628837347,
-0.019710373133420944,
-0.03299306333065033,
-0.018099000677466393,
-0.03010861948132515,
-0.018170222640037537,
0.01663007028400898,
-0.038922201842069626,
0.034613337367773056,
0.014902965165674686,
-0.005123450420796871,
0.04280373826622963,
-0.008177044801414013,
0.012160961516201496,
-0.03967002034187317,
0.023912403732538223,
-0.054662011563777924,
-0.017315572127699852,
-0.04244763404130936,
0.017627162858843803,
-0.015980180352926254,
-0.04956971853971481,
-0.016719097271561623,
-0.04358716681599617,
-0.026280498132109642,
-0.007838745601475239,
0.0405958890914917,
-0.012143156491219997,
-0.004989911336451769,
0.01636299304664135,
0.007580570410937071,
0.04490475356578827,
0.07097158581018448,
-0.03457772731781006,
0.011279603466391563,
-0.002579530468210578,
-0.024891691282391548,
0.0294498261064291,
-0.05537422001361847,
-0.02996617741882801,
0.010914596728980541,
-0.1034839078783989,
0.002937860554084182,
-0.022719454020261765,
0.0026129153557121754,
0.01741350069642067,
0.01963915303349495,
-0.03575287014245987,
-0.011226188391447067,
-0.012009617872536182,
-0.02200724557042122,
0.03703484684228897,
0.007148793898522854,
0.031052295118570328,
0.048358965665102005,
0.0024971815291792154,
0.006325302645564079,
-0.05252538621425629,
0.0002807103446684778,
-0.025301210582256317,
0.05601520836353302,
0.03103449009358883,
-0.033972349017858505,
-0.05537422001361847,
-0.008991633541882038,
-0.06096505746245384,
-0.03379429876804352,
0.04853701591491699,
-0.0010009869001805782,
0.017101909965276718,
0.010113362222909927,
0.07998102903366089,
0.0030513687524944544,
0.009632620960474014,
-0.04675649479031563,
-0.02761588804423809,
0.023324832320213318,
0.011012525297701359,
-0.015330290421843529,
0.01047836896032095,
0.03359844163060188,
-0.03309989348053932,
0.028969084843993187,
0.011956201866269112,
0.03963441029191017,
0.01039824541658163,
0.047183819115161896,
0.01792985200881958,
-0.05946941673755646,
0.012659507803618908,
-0.04465547949075699,
0.04907117411494255,
-0.009392251260578632,
-0.004794054199010134,
-0.019532321020960808,
-0.02369874157011509,
0.022274324670433998,
-0.00650780601426959,
-0.026511965319514275,
0.025372430682182312,
-0.02186480350792408,
-0.00024050950014498085,
0.04647161066532135,
0.009962017647922039,
0.05665619298815727,
-0.0002432915789540857,
0.004081845749169588,
0.03521871566772461,
0.013362813740968704,
-0.0359843410551548,
-0.009632620960474014,
-0.015356997959315777,
-0.0825449749827385,
0.043907660990953445,
-0.04526085779070854,
0.03359844163060188,
0.013336106203496456,
0.07520923018455505,
0.06392072141170502,
0.05829427391290665,
0.02188260853290558,
-0.02880883775651455,
0.010202388279139996,
0.009926407597959042,
0.04739748314023018,
0.027295393869280815,
-0.041023217141628265,
-0.016140427440404892,
0.03838804364204407,
-0.0028265779837965965,
0.009205296635627747,
0.04009734466671944,
-0.015081017278134823,
-0.027509057894349098,
-0.04590184614062309,
0.0033206725493073463,
-0.048252131789922714,
0.002040922874584794,
-0.0008769068517722189,
0.033438194543123245,
0.060252849012613297,
0.009668231941759586
] |
708,648
|
wom_connector.instrument
|
__load_private_key
| null |
@staticmethod
def __load_private_key(private_key_str, password, tag):
private_key = load_pem_private_key(private_key_str, password, default_backend())
if not isinstance(private_key, RSAPrivateKey):
raise TypeError("{0} is not a private RSA key" % tag)
return private_key
|
(private_key_str, password, tag)
|
[
0.022753344848752022,
0.009680714458227158,
-0.040372978895902634,
0.07278870791196823,
-0.019746456295251846,
-0.04326985776424408,
0.041986431926488876,
0.0551874041557312,
0.058084286749362946,
-0.031022289767861366,
0.03784279152750969,
0.03971293196082115,
0.006197123788297176,
-0.01357683539390564,
-0.057864271104335785,
0.025008512660861015,
-0.017674637958407402,
0.02810707315802574,
-0.06699494272470474,
-0.03353413939476013,
-0.03798947110772133,
0.025045180693268776,
0.03749443218111992,
0.06351135671138763,
-0.04433327168226242,
0.04792686924338341,
0.05870766565203667,
-0.0037563189398497343,
0.03270908072590828,
-0.004420951008796692,
-0.008713559247553349,
-0.018481364473700523,
0.03160899877548218,
0.11536184698343277,
-0.007136776577681303,
0.008136017248034477,
0.028877131640911102,
0.04466329514980316,
-0.07293538004159927,
-0.00131322187371552,
-0.02159826084971428,
0.07524555176496506,
0.09174676984548569,
-0.057570915669202805,
0.025650225579738617,
-0.015144450590014458,
-0.011477513238787651,
0.01613452471792698,
-0.035990990698337555,
-0.00339420884847641,
0.04477330297231674,
-0.0023628827184438705,
-0.02152492105960846,
-0.025246862322092056,
-0.024146782234311104,
0.0073430417105555534,
0.01343932468444109,
0.057754263281822205,
-0.02264333702623844,
0.014255218207836151,
-0.041069697588682175,
-0.04932030662894249,
-0.0013109301216900349,
0.053170591592788696,
-0.020773200318217278,
-0.007035935763269663,
-0.006041279062628746,
-0.03773278370499611,
0.017940489575266838,
0.00817727018147707,
0.014420230872929096,
0.01661122590303421,
-0.06017443910241127,
0.013714345172047615,
0.02819874696433544,
-0.020608186721801758,
-0.06094449758529663,
-0.05042038857936859,
-0.04356321319937706,
-0.002267771400511265,
0.015144450590014458,
-0.02124990150332451,
-0.01050577498972416,
0.03996961563825607,
-0.0022070377599447966,
0.023138374090194702,
0.1009141132235527,
-0.03773278370499611,
0.020113151520490646,
-0.01342099066823721,
-0.05588412284851074,
-0.0049778674729168415,
-0.02808873914182186,
0.03993294760584831,
0.05504072830080986,
-0.04484664276242256,
0.0040175882168114185,
0.03806280717253685,
-0.006550066638737917,
-0.0742921456694603,
0.009781555272638798,
-0.052107177674770355,
0.02128657139837742,
0.020479844883084297,
-0.00930943712592125,
-0.012944288551807404,
0.02269834093749523,
0.028565440326929092,
-0.015776997432112694,
0.008901489898562431,
-0.03245239332318306,
-0.03349747136235237,
-0.030142223462462425,
0.07091856747865677,
-0.0429765060544014,
0.0211215578019619,
0.05416066199541092,
0.0001738930441206321,
0.025045180693268776,
-0.01090913824737072,
-0.007063437718898058,
0.017500458285212517,
-0.05540742352604866,
0.01322847604751587,
0.01122082769870758,
0.02288168855011463,
0.017995495349168777,
0.013026794418692589,
0.04924696683883667,
-0.03996961563825607,
0.036192670464515686,
0.05933104455471039,
-0.019233085215091705,
0.0270436629652977,
-0.023010030388832092,
-0.07183530181646347,
0.06651823967695236,
0.036669373512268066,
0.014704418368637562,
0.05045705661177635,
0.03258073702454567,
0.028400428593158722,
0.007521804887801409,
0.0055370754562318325,
-0.007118442095816135,
-0.026530291885137558,
0.006110034417361021,
-0.020113151520490646,
0.035624295473098755,
-0.00339420884847641,
-0.014466067776083946,
-0.023120040073990822,
-0.023651745170354843,
0.05067707225680351,
0.05577411502599716,
-0.02750203013420105,
0.026090258732438087,
-0.024513475596904755,
-0.003792988136410713,
-0.07344875484704971,
-0.011440844275057316,
0.016272034496068954,
-0.031095627695322037,
-0.0735587626695633,
0.014576075598597527,
0.009708216413855553,
0.06424473971128464,
-0.0025828988291323185,
0.014163545332849026,
0.03740276023745537,
-0.0998140349984169,
-0.02790539152920246,
-0.041399721056222916,
0.019599780440330505,
0.05405065417289734,
0.01111998688429594,
0.04774352163076401,
-0.0018162798369303346,
-0.031187301501631737,
-0.020479844883084297,
0.024550145491957664,
0.036357682198286057,
0.008058094419538975,
0.03901621326804161,
0.02742869034409523,
0.11030147224664688,
0.021029885858297348,
0.04440661147236824,
-0.010579113848507404,
-0.056874196976423264,
-0.041436389088630676,
0.024678487330675125,
-0.030417244881391525,
0.006779250223189592,
0.002336526522412896,
0.014456899836659431,
0.035349275916814804,
0.041949763894081116,
-0.09292019158601761,
0.09446030110120773,
0.025283532217144966,
0.013356818817555904,
-0.03784279152750969,
-0.013145970180630684,
-0.0060733649879693985,
-0.035092588514089584,
-0.06057780236005783,
0.07366877049207687,
-0.012229235842823982,
-0.025631891563534737,
-0.0030618926975876093,
-0.04954032227396965,
0.018829721957445145,
0.057130880653858185,
0.05060373246669769,
0.011780035682022572,
-0.03776945546269417,
0.019123077392578125,
0.00013142246461939067,
0.0029289661906659603,
0.13120301067829132,
0.053903978317976,
-0.00006252414459595457,
-0.0431598499417305,
0.02645695209503174,
0.012403415516018867,
0.000006445788130804431,
0.00285333557985723,
-0.02774037979543209,
0.029867203906178474,
0.0750255361199379,
-0.06402472406625748,
-0.023010030388832092,
-0.004086343105882406,
0.030160559341311455,
-0.024183450266718864,
0.016748735681176186,
-0.0030848109163343906,
0.03952958434820175,
0.037237748503685,
0.00285333557985723,
0.013723512180149555,
-0.029628852382302284,
0.019709788262844086,
-0.026273604482412338,
0.012861782684922218,
-0.009515701793134212,
0.019123077392578125,
-0.01045993808656931,
-0.014576075598597527,
0.01716126687824726,
0.008942742832005024,
-0.008731894195079803,
0.018022997304797173,
0.010734958574175835,
-0.029152151197195053,
0.020351501181721687,
-0.06255795061588287,
0.05284056439995766,
-0.010019905865192413,
0.023523403331637383,
-0.0006514543201774359,
-0.05291390419006348,
0.03758610785007477,
0.018050499260425568,
-0.022753344848752022,
0.011514183133840561,
0.02770371176302433,
0.045873384922742844,
-0.004950365051627159,
0.06541816145181656,
-0.00349963316693902,
-0.017023755237460136,
0.017912987619638443,
0.03472589701414108,
0.0035133841447532177,
0.05108043551445007,
0.0325990729033947,
0.06640823185443878,
-0.009300269186496735,
0.004707430489361286,
-0.007549306843429804,
0.035349275916814804,
0.01378768403083086,
0.006660074926912785,
-0.01604285091161728,
-0.010386600159108639,
-0.012201733887195587,
0.026255270466208458,
-0.00797558855265379,
0.012128395028412342,
-0.0004294327227398753,
-0.008452290669083595,
0.002750203013420105,
-0.00173491972964257,
0.003396500600501895,
-0.06292464584112167,
-0.023578407242894173,
0.04994368553161621,
-0.01367767620831728,
-0.046570103615522385,
0.013475994579494,
0.019178081303834915,
-0.00008515602530678734,
0.035514287650585175,
0.0019812919199466705,
0.04235312342643738,
-0.045800045132637024,
-0.057644251734018326,
0.028602110221982002,
-0.015593650750815868,
0.04044631868600845,
0.023596741259098053,
0.015492809936404228,
0.0164828822016716,
0.005596662871539593,
0.03206736594438553,
0.024733491241931915,
-0.014255218207836151,
0.04477330297231674,
-0.012834280729293823,
-0.03155399486422539,
-0.012275072745978832,
-0.030417244881391525,
0.07436548918485641,
0.009891563095152378,
-0.02117656171321869,
0.015575315803289413,
0.01618952862918377,
0.02708033099770546,
-0.06145786866545677,
0.01050577498972416,
0.03853951022028923,
0.0029335496947169304,
0.004899945110082626,
0.006256711669266224,
-0.012412582524120808,
-0.06057780236005783,
-0.0431598499417305,
-0.05071374028921127,
0.017601298168301582,
-0.13560333847999573,
-0.0010530985891819,
-0.012641766108572483,
0.004297192208468914,
-0.006110034417361021,
-0.0024133031256496906,
-0.02264333702623844,
0.023303385823965073,
0.004340737126767635,
0.0025233111809939146,
0.03263574093580246,
0.031095627695322037,
0.025356870144605637,
0.0036783963441848755,
-0.031297311186790466,
-0.00827811099588871,
0.06769166141748428,
0.029152151197195053,
-0.016693731769919395,
0.007604311220347881,
-0.008516461588442326,
-0.05489404872059822,
-0.02702532708644867,
-0.015492809936404228,
0.02282668463885784,
-0.03824615478515625,
0.0015928258653730154,
0.02306503616273403,
0.00916275940835476,
0.00017417951312381774,
-0.002178389811888337,
-0.07993923127651215,
0.012082558125257492,
0.002619568258523941,
-0.009061918593943119,
-0.020406505092978477,
0.014704418368637562,
-0.030857276171445847,
-0.008617302402853966,
-0.05093375965952873,
-0.014346892014145851,
0.03467089310288429,
0.05441734939813614,
0.005101626273244619,
-0.012201733887195587,
-0.04007962346076965,
-0.013723512180149555,
0.051483798772096634,
0.0070771886967122555,
0.0033735823817551136,
0.020791534334421158,
0.07568558305501938,
0.007521804887801409,
-0.0041986433789134026,
-0.0026104010175913572,
-0.03274574875831604,
-0.031297311186790466,
-0.004187183920294046,
0.025595221668481827,
-0.030820608139038086,
0.004785353317856789,
-0.03754943609237671,
0.014530238695442677,
0.02183661051094532,
0.06413473188877106,
0.009974068962037563,
-0.020553182810544968,
-0.0562874861061573,
-0.03320411592721939,
-0.011129154823720455,
-0.030912280082702637,
0.0011636796407401562,
-0.04976033791899681,
0.019379762932658195,
0.04613007232546806,
0.015676157549023628,
0.019544774666428566,
-0.031223971396684647,
0.004849524702876806,
0.00025740181445144117,
-0.03448754549026489,
-0.02684198133647442,
-0.012843447737395763,
-0.04895361140370369,
0.046936795115470886,
-0.012174231931567192,
-0.02135990932583809,
-0.002832709113135934,
0.007640980649739504,
-0.035055920481681824,
0.030985619872808456,
0.006197123788297176,
-0.02227664366364479,
0.01403520256280899,
-0.04510332643985748,
-0.025796903297305107,
0.01332931686192751,
0.025301866233348846,
-0.005674585234373808,
0.0013143678661435843,
0.006385054439306259,
0.040776342153549194,
0.017445454373955727,
0.02841876447200775,
-0.03127897530794144,
-0.035092588514089584,
0.113675057888031,
0.03839283436536789,
-0.00684800511226058,
0.004347612615674734,
-0.03404751047492027,
0.030398909002542496,
-0.057607583701610565,
0.025870243087410927,
-0.029940541833639145,
0.041326381266117096,
0.012540925294160843,
0.01694124937057495,
-0.018976399675011635,
-0.02209329605102539,
0.04880693554878235,
0.0029312579426914454,
0.003119188593700528,
-0.013861022889614105,
0.03338746353983879,
0.0041986433789134026,
-0.014154377393424511,
0.006210874766111374,
0.026035254821181297,
0.005587495397776365,
-0.05577411502599716,
0.03245239332318306,
-0.024678487330675125,
0.016895413398742676,
0.03683438524603844,
0.08133266866207123,
0.047486837953329086,
-0.07597894221544266,
-0.041619736701250076,
-0.024220120161771774,
-0.03417585417628288,
0.0015309463487938046,
0.047376830130815506,
-0.005436234641820192,
-0.046936795115470886,
-0.036669373512268066,
0.04330652952194214,
-0.03415752202272415,
0.0018804512219503522,
-0.04910029098391533,
0.06956180185079575,
-0.009259016253054142,
0.020223159343004227,
0.03153565898537636,
-0.030105555430054665,
0.020974881947040558,
0.057864271104335785,
-0.026108592748641968,
-0.052473872900009155,
-0.02829042077064514,
0.011450011283159256,
0.09644044935703278,
-0.021029885858297348,
0.04304984211921692,
0.0021245316602289677,
-0.03146232292056084,
0.02189161628484726,
0.03982293978333473,
0.006357552483677864,
-0.024366797879338264,
0.03177401050925255,
0.020516514778137207,
-0.010139081627130508,
0.01091830525547266,
0.02752036415040493,
-0.012412582524120808,
0.02763037197291851,
-0.04745016619563103,
0.017967993393540382,
0.03457921743392944,
0.007943502627313137,
0.02746536023914814,
-0.02183661051094532,
0.051557138562202454,
-0.018224678933620453,
-0.03258073702454567,
-0.010368265211582184,
-0.011807537637650967,
0.013613504357635975,
0.007379711139947176,
0.035110924392938614,
0.023431729525327682,
-0.07707902044057846,
-0.03897954151034355,
-0.029867203906178474,
-0.058010946959257126,
-0.02724534459412098,
-0.02183661051094532,
-0.02783205360174179,
0.006082531996071339,
0.01563948765397072,
-0.004134471528232098,
-0.02711700089275837,
-0.003916747402399778,
0.09849393367767334,
-0.06259462237358093,
0.020351501181721687,
-0.05038371682167053,
-0.014356059022247791,
0.019966473802924156,
0.02198328822851181,
-0.019013069570064545,
-0.0431598499417305,
0.020736530423164368,
-0.019288089126348495,
-0.04304984211921692,
-0.05005369335412979,
-0.02746536023914814,
0.017207102850079536,
0.004049673676490784,
-0.014869430102407932,
-0.04910029098391533,
0.030417244881391525,
-0.030307237058877945,
-0.04502999037504196,
-0.07605227828025818,
-0.01640954427421093,
-0.025100184604525566,
0.011945048347115517,
-0.0026654049288481474,
-0.04466329514980316,
0.019343094900250435,
0.013760182075202465,
-0.023120040073990822,
0.03905288130044937,
0.029262159019708633,
0.02785038761794567,
-0.018022997304797173,
0.011605856008827686,
0.03289242833852768,
0.04998035356402397,
0.07597894221544266,
-0.00272728456184268,
-0.026090258732438087,
-0.011284999549388885,
-0.004173432942479849,
0.011798370629549026,
-0.036247674375772476,
-0.03784279152750969,
-0.023871760815382004,
-0.028712118044495583,
-0.0067838337272405624,
-0.0557374469935894,
-0.0063438015058636665,
-0.020754864439368248,
0.05493072047829628,
0.023560071364045143,
0.0032269046641886234,
-0.05694753676652908,
0.01130333449691534,
-0.030362240970134735,
0.025760233402252197,
0.007141360081732273,
0.014392728917300701,
0.009552371688187122,
-0.01631787046790123,
0.014970270916819572,
0.011679194867610931,
0.017582964152097702,
-0.025723565369844437,
-0.008369783870875835,
0.020186489447951317,
-0.008360616862773895,
0.03670604154467583,
0.015300295315682888,
-0.004794520325958729,
-0.02783205360174179,
0.013200974091887474,
-0.02286335453391075,
-0.058377642184495926,
0.05104376748204231,
0.035660963505506516,
0.05966106802225113,
-0.05995442345738411,
-0.022936692461371422,
-0.008809817023575306,
-0.016198694705963135,
0.03802613914012909,
-0.019654784351587296,
-0.025595221668481827,
0.03912622109055519,
0.04286649823188782,
-0.017656302079558372,
-0.001283428049646318,
-0.025778569281101227,
0.08800649642944336,
-0.012311741709709167,
0.009332355111837387,
0.052437201142311096,
-0.04565336927771568,
-0.07278870791196823,
-0.09820058196783066,
0.03201236203312874,
-0.02799706533551216,
0.004762434866279364,
0.024990176782011986,
0.0027731212321668863,
0.04851358011364937,
-0.03967626020312309,
-0.001426667789928615,
-0.007054270710796118,
0.016666229814291,
-0.009735718369483948,
-0.04506665840744972,
-0.029738860204815865,
0.09915398061275482,
0.02733701653778553,
-0.016217030584812164,
-0.025961915031075478,
-0.03228738158941269,
-0.03798947110772133,
-0.06563817709684372,
0.04778019338846207,
0.01141334231942892,
-0.0424264632165432,
-0.017757143825292587,
-0.012385080568492413,
0.0009161613415926695,
-0.02733701653778553,
0.03745776414871216,
-0.004404908511787653,
0.023505067452788353,
0.000756878755055368,
-0.02178160659968853,
0.00688925851136446,
-0.018884727731347084,
-0.11426176130771637,
0.02157992497086525,
0.0442599318921566,
-0.0012375912629067898,
0.03720107674598694,
-0.03938290476799011,
0.0017314819851890206,
-0.0448099747300148,
0.10194085538387299,
0.07920584082603455,
0.04231645539402962,
-0.002210475504398346,
-0.10201419144868851,
0.0342491939663887,
-0.029738860204815865,
0.00808559637516737,
-0.029885537922382355,
-0.051923830062150955,
-0.03971293196082115,
-0.02785038761794567,
0.014319390058517456,
0.02700699307024479,
-0.0008153205853886902,
-0.03170067071914673,
-0.0029152152128517628,
-0.002617276506498456,
0.012623431161046028,
-0.007957253605127335,
-0.0537206307053566,
-0.11140155047178268,
0.004294900223612785,
0.014961103908717632,
-0.018921395763754845,
-0.007031352259218693,
-0.02101154997944832,
0.035110924392938614,
-0.15137116611003876,
0.004780769348144531,
-0.005335393827408552,
-0.017674637958407402,
0.0024889337364584208,
-0.030710600316524506,
0.005592079367488623,
-0.02268000692129135,
-0.057607583701610565,
-0.0012330076424404979,
-0.01363183930516243,
-0.0049549490213394165,
0.02225830964744091,
-0.04836690053343773,
-0.023138374090194702,
-0.03291076049208641,
0.030728934332728386,
0.017802979797124863,
0.006215458735823631,
-0.046936795115470886,
0.03146232292056084,
-0.02838209457695484,
-0.08903323858976364,
-0.05977107584476471,
-0.02183661051094532,
0.05911102890968323,
0.035055920481681824,
0.005156630650162697,
0.03831949457526207,
0.03426752984523773,
0.03258073702454567,
-0.004173432942479849,
-0.0024797662626951933,
-0.00854396354407072,
0.00468680402263999,
0.023725083097815514,
-0.013136802241206169,
0.02242332138121128,
0.07436548918485641,
-0.024366797879338264,
0.00570667115971446,
-0.005074124317616224,
-0.042793158441782,
-0.04576337710022926,
0.028987139463424683,
-0.0027708294801414013,
-0.0014885473065078259,
-0.029628852382302284,
-0.012834280729293823,
-0.00566083425655961,
-0.026035254821181297,
-0.02179994247853756,
0.01697791926562786,
-0.052253857254981995,
-0.011743366718292236
] |
708,649
|
wom_connector.instrument
|
__voucher_create
| null |
def __voucher_create(self, vouchers, nonce=None, password=None):
# check arguments
if vouchers is None \
or not isinstance(vouchers, list) \
or len(vouchers) == 0:
raise ValueError("Voucher list is not valid or empty")
if not isinstance(vouchers[0], Voucher) \
and not isinstance(vouchers[0], dict):
raise ValueError("Vouchers has to be instances of Voucher or dictionaries")
# generate a valid nonce if there is no one
effective_nonce = self.__generate_nonce(nonce)
payload = json.dumps({'sourceId': self.ID,
'nonce': effective_nonce,
'password': password,
'vouchers': vouchers}, cls=VoucherEncoder if isinstance(vouchers[0], Voucher) else None)
self.__logger.debug(payload)
# encrypt inner payload
vouchers_create_payload = Crypto.encrypt(payload,
public_key=self.__registry_proxy.PublicKey)
# make registry request
json_response = self.__registry_proxy.voucher_create(source_id=self.ID,
nonce=effective_nonce,
payload=vouchers_create_payload.decode('utf-8'))
# decode registry response
response = Crypto.decrypt(json_response['payload'], private_key=self.__instrument_privk)
return json.loads(response.decode('utf-8'))
|
(self, vouchers, nonce=None, password=None)
|
[
-0.037224020808935165,
-0.046866275370121,
0.0009365204023197293,
-0.006691799499094486,
-0.02259962260723114,
-0.026596706360578537,
-0.050768639892339706,
0.004454095847904682,
-0.006317664869129658,
0.030404353514313698,
0.026066286489367485,
0.058118727058172226,
-0.018555181100964546,
-0.017295436933636665,
-0.028775211423635483,
-0.04493403434753418,
0.013071030378341675,
-0.0489121749997139,
-0.0032464461401104927,
-0.0029646612238138914,
0.015533688478171825,
-0.010276861488819122,
0.059823643416166306,
0.06679485738277435,
0.002176137175410986,
0.04239560291171074,
-0.003971036057919264,
0.039895057678222656,
-0.02047794871032238,
0.052776653319597244,
-0.0014835146721452475,
-0.008088883943855762,
0.014075037091970444,
0.0756225436925888,
0.01109143253415823,
0.009935877285897732,
-0.059255339205265045,
0.031275756657123566,
-0.03902365639805794,
0.027202898636460304,
0.014311831444501877,
0.025895794853568077,
0.020231682807207108,
-0.02062949538230896,
0.005754095036536455,
-0.010276861488819122,
-0.007738429121673107,
0.007127500604838133,
0.001130691496655345,
-0.004752456210553646,
-0.0006961744511500001,
0.022239696234464645,
-0.014501266181468964,
-0.0530797503888607,
0.03036646731197834,
0.017304908484220505,
0.06876498460769653,
0.099946029484272,
0.0014006367418915033,
0.04266081377863884,
-0.02008013427257538,
0.0324881412088871,
0.05611071363091469,
-0.0018079224973917007,
-0.02883204072713852,
0.05239778384566307,
-0.00420782994478941,
0.0020234049297869205,
0.030139144510030746,
0.04493403434753418,
0.06539303809404373,
-0.0292487982660532,
-0.036769378930330276,
-0.0030901620630174875,
0.066037118434906,
0.06668119877576828,
-0.013288881629705429,
0.04394897446036339,
-0.0067675733007490635,
0.010977771133184433,
0.0262746661901474,
-0.09615731984376907,
-0.05213257297873497,
-0.0031730399932712317,
0.014842250384390354,
0.07441015541553497,
-0.04156208783388138,
-0.007051726337522268,
-0.016319844871759415,
0.01822366937994957,
-0.035102348774671555,
0.009073947556316853,
-0.060126740485429764,
0.0006671671872027218,
-0.007818939164280891,
-0.028206905350089073,
0.0076437112875282764,
0.0007139340159483254,
0.045691777020692825,
0.0732356607913971,
0.036788322031497955,
0.01795846037566662,
-0.05152638256549835,
0.023338420316576958,
-0.02360362932085991,
-0.006914385594427586,
-0.03841746225953102,
0.055011991411447525,
0.02314898557960987,
-0.02117885835468769,
-0.02318687178194523,
0.010068482719361782,
0.026312552392482758,
-0.03557593747973442,
-0.08054786175489426,
-0.02653987519443035,
-0.0046814181841909885,
-0.010740977711975574,
-0.015779955312609673,
-0.008088883943855762,
0.0828210785984993,
-0.041334766894578934,
0.04974569007754326,
0.029873935505747795,
-0.04432784393429756,
0.011053545400500298,
-0.011470302939414978,
0.03317010775208473,
0.04345644265413284,
-0.004996354226022959,
0.01667977124452591,
0.025952626019716263,
-0.008666661567986012,
0.010475767776370049,
0.007766844239085913,
-0.046070646494627,
0.02896464616060257,
-0.012010193429887295,
0.028320565819740295,
-0.026369383558630943,
0.01214279793202877,
0.0146243991330266,
-0.026236778125166893,
0.042168281972408295,
-0.047548241913318634,
-0.023092154413461685,
-0.001520217745564878,
0.018763558939099312,
-0.0036726754624396563,
0.010153728537261486,
-0.022997437044978142,
0.053761716932058334,
0.026198891922831535,
0.015259007923305035,
0.024550804868340492,
0.014482323080301285,
-0.00945755373686552,
-0.05213257297873497,
0.06035406515002251,
0.023073211312294006,
0.01376246940344572,
0.01151766162365675,
0.00926338229328394,
-0.0028959910850971937,
0.009964292868971825,
0.030404353514313698,
-0.0434943288564682,
-0.020553722977638245,
-0.022523848339915276,
0.05103385075926781,
-0.00636028777807951,
-0.020856818184256554,
-0.08168447017669678,
0.014700173400342464,
-0.034704532474279404,
-0.02428559586405754,
0.017333323135972023,
-0.026956632733345032,
-0.025516925379633904,
-0.014785419218242168,
-0.025346433743834496,
-0.042319830507040024,
0.05554240942001343,
0.028642605990171432,
0.019454997032880783,
-0.05944477394223213,
0.09365677833557129,
0.045009810477495193,
0.04792711138725281,
-0.01906665600836277,
-0.0007311015506274998,
0.035102348774671555,
0.020572666078805923,
0.006800724659115076,
-0.00656866654753685,
-0.009069211781024933,
-0.02258067950606346,
-0.013089974410831928,
-0.10479556769132614,
0.02176610752940178,
-0.0007257736870087683,
0.0026023664977401495,
-0.00013031071284785867,
-0.037527117878198624,
0.019720207899808884,
0.022845888510346413,
-0.03731874004006386,
-0.008586151525378227,
0.014936967752873898,
-0.10434092581272125,
0.08706443011760712,
0.0002851888129953295,
-0.06372600793838501,
0.04720725864171982,
-0.028491057455539703,
-0.03616318479180336,
0.05880069360136986,
-0.068348228931427,
-0.036238957196474075,
-0.018602538853883743,
0.06906808167695999,
0.03898577019572258,
-0.0530797503888607,
-0.024058273062109947,
-0.034552983939647675,
0.01836574450135231,
-0.05114751309156418,
-0.017058642581105232,
-0.014880137518048286,
-0.03695881366729736,
-0.011820757761597633,
-0.008339885622262955,
-0.014851721934974194,
0.0052331481128931046,
-0.05198102444410324,
-0.06895442306995392,
0.023508911952376366,
-0.014160282909870148,
0.042281944304704666,
0.04675261303782463,
0.0791839212179184,
0.02244807407259941,
0.07342509180307388,
0.0011277316370978951,
0.05239778384566307,
0.010021123103797436,
0.00861930288374424,
0.0067675733007490635,
-0.005900907330214977,
0.0022755905520170927,
-0.007236425764858723,
-0.044706713408231735,
-0.02176610752940178,
-0.00797995924949646,
0.019606545567512512,
-0.031976666301488876,
0.07084877789020538,
0.03447721153497696,
0.05004878714680672,
-0.05027610808610916,
-0.010987243615090847,
-0.012426950968801975,
-0.06202109158039093,
0.019682319834828377,
-0.010627316311001778,
-0.07103820890188217,
-0.01455809734761715,
0.001149635063484311,
0.0037531855050474405,
0.014662286266684532,
-0.027373390272259712,
0.05054131895303726,
0.025611642748117447,
-0.018574124202132225,
-0.016698714345693588,
-0.03981928527355194,
0.03536755591630936,
0.010352634824812412,
0.02725972980260849,
-0.029438234865665436,
-0.043001797050237656,
0.006289249751716852,
0.0613391250371933,
0.001489434507675469,
0.026085231453180313,
-0.053761716932058334,
0.013194163329899311,
-0.06198320537805557,
-0.005479414016008377,
-0.02968450076878071,
-0.0026047343853861094,
0.09115622937679291,
-0.03317010775208473,
-0.03360581025481224,
0.008444075472652912,
0.00032026393455453217,
-0.03606846556067467,
-0.013885602355003357,
-0.012445894069969654,
-0.027619656175374985,
-0.03951618820428848,
0.012540612369775772,
0.05167793110013008,
-0.028718380257487297,
-0.027373390272259712,
-0.002037612721323967,
0.04519924521446228,
-0.020136965438723564,
-0.060808707028627396,
-0.008851360529661179,
-0.015003269538283348,
0.03640944883227348,
0.03917520493268967,
-0.023641515523195267,
0.03928886726498604,
-0.01291948277503252,
0.028642605990171432,
-0.0015474490355700254,
0.014899080619215965,
0.020004360005259514,
0.047245144844055176,
0.04716937243938446,
-0.03138941526412964,
-0.04209250584244728,
0.03220398724079132,
0.013052087277173996,
-0.005943530239164829,
0.003315116511657834,
-0.009386515244841576,
0.03699669986963272,
-0.07842618227005005,
-0.02347102388739586,
0.033132221549749374,
0.08047208189964294,
0.00047566002467647195,
0.025251716375350952,
0.0006109286332502961,
-0.01849834993481636,
-0.04334278032183647,
-0.0019890698604285717,
0.007406917400658131,
-0.06433220207691193,
-0.003291437169536948,
-0.022258639335632324,
-0.004849541932344437,
-0.03853112459182739,
0.04122110456228256,
-0.026369383558630943,
-0.014169755391776562,
0.012521668337285519,
-0.09221706539392471,
0.031446248292922974,
0.08895878493785858,
0.050200335681438446,
0.010977771133184433,
-0.07550888508558273,
-0.003518759272992611,
-0.0056593772023916245,
-0.03400362282991409,
-0.030006539076566696,
-0.02034534327685833,
0.03515917807817459,
-0.022258639335632324,
0.01560946274548769,
-0.031427305191755295,
-0.010343163274228573,
0.0200611911714077,
-0.05789140611886978,
-0.03671254590153694,
-0.01951182819902897,
0.009689612314105034,
0.011621851474046707,
-0.08327572792768478,
0.055315084755420685,
0.0616043359041214,
-0.04432784393429756,
-0.00322987069375813,
-0.04209250584244728,
-0.04095589742064476,
0.005583603400737047,
-0.0027657542377710342,
0.007700541988015175,
0.008159922435879707,
0.000008047297342272941,
0.06800724565982819,
0.01087358221411705,
-0.021538784727454185,
0.03671254590153694,
0.018043706193566322,
0.0011135239619761705,
-0.029286686331033707,
-0.014217114076018333,
-0.00257631903514266,
0.0556560680270195,
-0.015552632510662079,
-0.01992858573794365,
0.015865201130509377,
0.0049584670923650265,
-0.021671390160918236,
-0.004278867971152067,
0.010977771133184433,
0.013876130804419518,
0.011801814660429955,
-0.03951618820428848,
-0.048116546124219894,
-0.032260820269584656,
0.03209032863378525,
-0.10343163460493088,
0.049518369138240814,
-0.032147157937288284,
0.01781638339161873,
0.029135137796401978,
0.022542791441082954,
-0.050086673349142075,
-0.023130040615797043,
0.0068528191186487675,
-0.046676840633153915,
0.02415299229323864,
-0.002335973083972931,
0.01151766162365675,
0.010958828032016754,
0.01893405057489872,
-0.015448442660272121,
0.03485608100891113,
-0.04807865992188454,
0.02104625292122364,
0.01539161242544651,
0.007297992240637541,
0.02403932996094227,
-0.033681582659482956,
0.011072489432990551,
0.03813331201672554,
0.009088154882192612,
-0.03154096379876137,
-0.014595984481275082,
-0.004563021007925272,
0.0014148443005979061,
-0.045691777020692825,
0.012635329738259315,
0.11381268501281738,
-0.04262292757630348,
-0.04307756945490837,
0.02091364935040474,
0.00442094448953867,
-0.020970480516552925,
-0.02216392196714878,
-0.08426079154014587,
-0.007681598421186209,
0.04220616817474365,
-0.038209084421396255,
0.09411142021417618,
-0.023944612592458725,
0.038644786924123764,
0.0466010645031929,
-0.03726191073656082,
0.039364639669656754,
-0.02879415452480316,
-0.03536755591630936,
0.028206905350089073,
0.02470235340297222,
0.030745336785912514,
-0.03826591745018959,
0.051905252039432526,
0.024664467200636864,
-0.060391951352357864,
0.03830380365252495,
-0.05948266014456749,
-0.022542791441082954,
0.0895649716258049,
0.05004878714680672,
0.005739887244999409,
-0.001234880881384015,
-0.025649528950452805,
0.020837875083088875,
-0.005408375523984432,
0.03771655261516571,
0.05603494122624397,
-0.055466633290052414,
-0.04053913801908493,
-0.06308192759752274,
-0.03307539224624634,
-0.02854788862168789,
0.03442038223147392,
0.012853180058300495,
-0.04535079374909401,
-0.030688507482409477,
0.0189056359231472,
0.03542438894510269,
0.01778796873986721,
0.07516789436340332,
-0.008529321290552616,
0.0018635690212249756,
-0.03542438894510269,
0.034534040838479996,
0.018583595752716064,
0.000570673611946404,
0.03434460610151291,
0.011328226886689663,
-0.04220616817474365,
-0.030688507482409477,
0.009774858132004738,
0.03839851915836334,
0.021671390160918236,
-0.024190878495573997,
-0.033984679728746414,
-0.029135137796401978,
-0.011583964340388775,
0.037375569343566895,
0.0002681692421901971,
0.003431145567446947,
-0.04773767665028572,
-0.05576973035931587,
-0.0017072849441319704,
-0.009144986048340797,
-0.025668473914265633,
0.02119780145585537,
-0.005346809513866901,
0.015363196842372417,
-0.058990128338336945,
-0.03997083380818367,
0.030404353514313698,
0.06300615519285202,
0.03883422166109085,
-0.038512181490659714,
0.0015450810315087438,
0.03150307759642601,
-0.010504183359444141,
-0.020515834912657738,
0.02216392196714878,
0.0424334891140461,
-0.05880069360136986,
-0.006701271049678326,
-0.001022950280457735,
-0.06149067357182503,
-0.06262728571891785,
-0.03137047216296196,
-0.0005842892569489777,
0.020231682807207108,
0.008960286155343056,
-0.04220616817474365,
0.01413186825811863,
-0.019587602466344833,
-0.05042765662074089,
-0.03502657264471054,
-0.02318687178194523,
-0.032980673015117645,
0.00012794278154615313,
-0.02061055228114128,
-0.013213107362389565,
-0.03688303753733635,
0.057398874312639236,
-0.005010561551898718,
0.028699437156319618,
0.014065565541386604,
0.02216392196714878,
0.02347102388739586,
0.007875769399106503,
-0.03351109102368355,
0.023414194583892822,
0.027316559106111526,
0.02981710433959961,
-0.008117299526929855,
-0.01795846037566662,
0.011953363195061684,
-0.04095589742064476,
0.03769760951399803,
-0.01271110400557518,
-0.01695445366203785,
0.006691799499094486,
0.015997804701328278,
0.0028675757348537445,
-0.0193508081138134,
0.01612093858420849,
0.06971216201782227,
-0.030896885320544243,
-0.015751538798213005,
-0.005957738030701876,
-0.03464770317077637,
0.0055741313844919205,
-0.060126740485429764,
-0.0025692153722047806,
0.02246701717376709,
-0.02809324488043785,
-0.13389281928539276,
0.02993076667189598,
0.05357228219509125,
-0.03951618820428848,
0.02347102388739586,
0.06918174773454666,
0.04610853269696236,
0.004977410659193993,
0.024247709661722183,
-0.04769979044795036,
0.029210912063717842,
0.045275017619132996,
0.007316935807466507,
-0.034534040838479996,
0.03210927173495293,
0.0030475391540676355,
-0.024550804868340492,
-0.020231682807207108,
0.012190156616270542,
-0.046563178300857544,
-0.05194313824176788,
-0.006275041960179806,
-0.049518369138240814,
-0.05004878714680672,
-0.00026106543373316526,
0.06156644970178604,
0.001805554493330419,
0.06690852344036102,
-0.021254632622003555,
0.017608003690838814,
0.014700173400342464,
0.018043706193566322,
0.03235553577542305,
-0.04319123178720474,
-0.012038609012961388,
-0.0034287776798009872,
0.056148599833250046,
-0.04152420163154602,
0.023224757984280586,
0.01441602036356926,
0.020875761285424232,
-0.0590280182659626,
-0.06099814176559448,
0.027202898636460304,
0.04815443605184555,
0.005185789428651333,
-0.02513805404305458,
-0.0005842892569489777,
0.019322393462061882,
0.05398903787136078,
0.002395171672105789,
0.006080870982259512,
0.018744615837931633,
0.04777556285262108,
0.006104550324380398,
0.022088147699832916,
0.03235553577542305,
0.00032026393455453217,
0.03629579022526741,
-0.03025280497968197,
0.026085231453180313,
-0.03584114462137222,
0.0007654367364011705,
-0.018877221271395683,
-0.027297616004943848,
0.01695445366203785,
0.0045488132163882256,
-0.002056556288152933,
-0.005398903973400593,
-0.04644951596856117,
-0.03981928527355194,
-0.03913731873035431,
0.09774857759475708,
-0.01065573189407587,
0.003303276840597391,
-0.002325317356735468,
0.055011991411447525,
0.003281965386122465,
0.03472347557544708,
0.02305426634848118,
0.015562104061245918,
-0.03485608100891113,
0.013288881629705429,
-0.0019606545101851225,
-0.0714549645781517,
-0.0621347539126873,
0.055580295622348785,
0.03760289400815964,
-0.05042765662074089,
-0.014236057177186012,
0.016177767887711525,
0.03743240237236023,
-0.016300901770591736,
-0.03726191073656082,
0.054746780544519424,
-0.012332233600318432,
0.030840054154396057,
-0.012237515300512314,
0.009372307918965816,
0.06058138608932495,
0.007122764363884926,
0.00025529356207698584,
0.018252084031701088,
-0.019606545567512512,
0.041903071105480194,
-0.02305426634848118,
-0.026805084198713303,
0.018119478598237038,
-0.06573402136564255,
-0.02008013427257538,
0.013506731949746609,
-0.04792711138725281,
0.0063650235533714294,
-0.018034232780337334,
0.009945349767804146,
-0.023963555693626404,
0.03267757594585419,
-0.0025289603509008884,
0.006549722980707884,
0.006758101750165224,
0.07948701828718185,
-0.04307756945490837,
-0.056868456304073334,
0.02782803401350975,
-0.04463094100356102,
0.0647110715508461,
-0.03974350914359093,
0.053913265466690063,
0.05110962316393852,
0.10964510589838028,
-0.003201455343514681,
-0.03273440897464752,
0.05508776381611824,
-0.021860824897885323,
0.039478302001953125,
0.015770481899380684,
-0.034818194806575775,
0.013232050463557243,
-0.021292518824338913,
-0.0067296866327524185,
-0.026198891922831535,
0.04504769667983055,
0.0039757718332111835,
0.0579671785235405,
-0.028491057455539703,
0.028169019147753716,
0.002037612721323967,
0.02403932996094227,
-0.023414194583892822,
0.0019038240425288677,
-0.08213911205530167,
0.0122943464666605,
-0.07463748008012772,
-0.01865937002003193,
0.009954821318387985,
-0.003966300282627344,
0.056300148367881775,
-0.05664113163948059,
0.02474024146795273,
0.01540108397603035,
-0.008567208424210548,
0.002132330322638154,
0.028225848451256752,
0.03351109102368355,
-0.014311831444501877,
-0.02121674455702305,
0.01823314093053341,
0.026217835023999214,
0.04622219502925873,
-0.013715110719203949,
-0.013629864901304245,
0.026198891922831535,
-0.02347102388739586,
0.029078306630253792,
0.01539161242544651,
-0.01764589175581932,
-0.017058642581105232,
-0.012559555470943451,
-0.04493403434753418,
-0.07467536628246307,
-0.04637374356389046,
0.01626301370561123,
-0.00505318446084857,
0.05167793110013008,
0.03347320482134819
] |
708,650
|
wom_connector.instrument
|
__voucher_verify
| null |
def __voucher_verify(self, otc):
encrypted_otc = Crypto.encrypt(json.dumps({'otc': otc}), public_key=self.__registry_proxy.PublicKey)
self.__registry_proxy.voucher_verify(encrypted_otc.decode('utf-8'))
|
(self, otc)
|
[
0.016845542937517166,
-0.05413171276450157,
-0.018369173631072044,
0.08210489898920059,
0.005439706612378359,
-0.08840485662221909,
-0.044613298028707504,
0.005315590649843216,
-0.0038604368455708027,
-0.054542578756809235,
0.025062881410121918,
0.030438389629125595,
0.03519759699702263,
-0.06416371464729309,
-0.04872196540236473,
-0.01766727678477764,
-0.05235128849744797,
-0.05728169158101082,
0.07018975913524628,
-0.02662075124680996,
-0.005140115972608328,
0.030421270057559013,
-0.0018328515579923987,
0.026569392532110214,
-0.047215454280376434,
0.0269117821007967,
0.017444724217057228,
0.018557488918304443,
-0.03126012161374092,
0.009501297026872635,
-0.03646443784236908,
-0.031294360756874084,
0.056186046451330185,
0.053481172770261765,
-0.011213242076337337,
-0.041155166923999786,
0.04642795771360397,
-0.015065119601786137,
-0.007579638157039881,
0.023299576714634895,
-0.02905171364545822,
0.06642348319292068,
0.006501112598925829,
0.017222169786691666,
-0.00013842683983966708,
0.020868614315986633,
-0.0476263202726841,
0.10299063473939896,
0.002561498200520873,
-0.014363221824169159,
0.006590989883989096,
-0.04351765289902687,
-0.00852120853960514,
-0.03268103674054146,
0.04088125750422478,
-0.005717897787690163,
0.016614429652690887,
0.0834059789776802,
0.013224777765572071,
0.05245400592684746,
-0.053583890199661255,
0.0035201876889914274,
0.039991043508052826,
-0.018386293202638626,
0.025234075263142586,
0.059370264410972595,
-0.00959545373916626,
-0.005542423110455275,
0.012017856352031231,
0.016058048233389854,
-0.00931298267096281,
0.00016825213970150799,
0.0007120622904039919,
-0.012993665412068367,
-0.0015963891055434942,
-0.02391587756574154,
0.016528833657503128,
0.062451768666505814,
-0.05933602899312973,
0.04118940606713295,
0.03793670982122421,
-0.0435861311852932,
0.05450833961367607,
0.00931298267096281,
-0.006385556422173977,
0.027339767664670944,
0.05848005414009094,
-0.03175658732652664,
-0.012916628271341324,
0.06984737515449524,
0.01394379511475563,
0.004256324376910925,
-0.04019647836685181,
-0.06361588835716248,
0.02787047065794468,
0.002602156950160861,
0.03958017751574516,
-0.011367317289113998,
-0.032766636461019516,
0.029359864071011543,
0.027836231514811516,
0.03745736554265022,
-0.035163357853889465,
0.04892740026116371,
0.03920355066657066,
0.013113501481711864,
-0.053686607629060745,
0.010254552587866783,
0.027733515948057175,
0.008050423115491867,
-0.05505616217851639,
-0.03466689586639404,
0.019516177475452423,
-0.02025231346487999,
0.008003344759345055,
-0.039032354950904846,
0.00029103070846758783,
-0.02886340022087097,
-0.07532560080289841,
-0.02114252559840679,
0.0607740618288517,
-0.03756008297204971,
0.047694798558950424,
-0.01331893540918827,
0.024925924837589264,
0.014114989899098873,
0.008118901401758194,
0.06570446491241455,
0.003081501694396138,
0.01956753619015217,
0.03286935016512871,
-0.028195740655064583,
-0.015844054520130157,
0.007121692877262831,
-0.016614429652690887,
0.02304278500378132,
0.061527319252491,
-0.022820232436060905,
0.006809263024479151,
0.0036657031159847975,
-0.0010432166745886207,
0.008850757963955402,
-0.03708073869347572,
-0.028675084933638573,
-0.018386293202638626,
0.0008618574938736856,
-0.09621132910251617,
-0.019841447472572327,
0.0018221518257632852,
-0.015202075242996216,
0.011298839934170246,
-0.01167546771466732,
-0.01958465576171875,
0.03899811580777168,
-0.0439627580344677,
0.029103072360157967,
0.010785255581140518,
-0.05700778216123581,
-0.013113501481711864,
0.03173946589231491,
-0.017239289358258247,
0.03673834726214409,
0.007087453734129667,
-0.0017825631657615304,
0.0022982866503298283,
0.011196122504770756,
-0.010870853438973427,
-0.03995680436491966,
-0.04382580146193504,
0.004160027485340834,
-0.055809419602155685,
-0.024035712704062462,
-0.07512016594409943,
0.013866757974028587,
0.07881796360015869,
0.020817255601286888,
0.01766727678477764,
-0.03848453238606453,
-0.023607727140188217,
0.005953290034085512,
-0.08422771096229553,
0.040367674082517624,
-0.00042878882959485054,
0.057350169867277145,
0.015946771949529648,
-0.020029760897159576,
0.06135612353682518,
0.0351291187107563,
0.03067806176841259,
-0.04437362402677536,
0.01693969964981079,
0.013909555971622467,
0.023984355852007866,
-0.0011726826196536422,
0.0069547779858112335,
-0.024806087836623192,
0.007759392727166414,
0.05354965105652809,
-0.08751464635133743,
-0.00540118757635355,
0.005452546291053295,
-0.08730921149253845,
-0.018283577635884285,
-0.009133229032158852,
-0.006483993027359247,
0.014157788828015327,
0.027647918090224266,
0.021176764741539955,
0.032561201602220535,
-0.05259096249938011,
0.01104204822331667,
-0.013550047762691975,
-0.08402228355407715,
0.03745736554265022,
-0.019139548763632774,
0.015518785454332829,
-0.00025144199025817215,
0.003963153809309006,
-0.04601709172129631,
0.05248824506998062,
0.002251208294183016,
0.03326309844851494,
-0.021878661587834358,
-0.0725180059671402,
0.05615180730819702,
0.024549296125769615,
-0.015809815376996994,
0.051358360797166824,
0.016905460506677628,
-0.05834309756755829,
0.026569392532110214,
0.010305911302566528,
-0.008611084893345833,
0.05313878506422043,
-0.030986212193965912,
-0.0380394272506237,
0.028692204505205154,
0.009672491811215878,
-0.0183178149163723,
0.05940450355410576,
0.029976163059473038,
0.004059450700879097,
0.04851653426885605,
0.01619500294327736,
-0.003779119346290827,
0.014876805245876312,
0.018061023205518723,
0.015253433026373386,
0.01708521507680416,
-0.02528543397784233,
-0.010203194804489613,
-0.0603974349796772,
0.0005159910651855171,
-0.04553774744272232,
-0.02169034816324711,
-0.02429250441491604,
-0.012685514986515045,
0.018865637481212616,
0.07614733278751373,
-0.015022320672869682,
0.009843685664236546,
0.03434162586927414,
0.009937843307852745,
0.01606660708785057,
-0.041908424347639084,
-0.042969830334186554,
0.014003713615238667,
0.021176764741539955,
0.016434675082564354,
0.0023218258284032345,
0.013079262338578701,
-0.009081870317459106,
-0.010845174081623554,
0.04351765289902687,
-0.026586512103676796,
0.01879716105759144,
0.05094749480485916,
0.014731289818882942,
0.0044082594104111195,
0.02008111961185932,
-0.001105274772271514,
0.0055809421464800835,
0.020697420462965965,
0.004934682510793209,
-0.019173787906765938,
-0.08258424699306488,
-0.010862293653190136,
-0.08929507434368134,
-0.027254169806838036,
-0.03127724304795265,
-0.05317302420735359,
0.022649036720395088,
0.03571118041872978,
-0.023847399279475212,
0.007973385974764824,
0.006620948668569326,
0.007237249054014683,
-0.03759432211518288,
-0.015595822595059872,
0.04235352948307991,
-0.04642795771360397,
0.019550416618585587,
-0.005452546291053295,
-0.05372084677219391,
0.010691098868846893,
0.033057667315006256,
0.0732712596654892,
-0.004239204805344343,
-0.014928163960576057,
0.06731369346380234,
-0.01881428062915802,
0.03615628555417061,
0.046154048293828964,
-0.03752584382891655,
0.011341637931764126,
0.03937474265694618,
0.017264969646930695,
-0.032937828451395035,
0.03011311963200569,
0.05354965105652809,
0.03048974834382534,
0.005974689498543739,
-0.009706730023026466,
0.01625492237508297,
0.036430198699235916,
-0.07895492017269135,
0.006488272920250893,
0.015022320672869682,
0.0034046315122395754,
-0.03369108587503433,
-0.05954146012663841,
-0.06563598662614822,
0.061801228672266006,
0.009612573310732841,
0.036122046411037445,
0.0417029894888401,
-0.0351291187107563,
-0.03944322094321251,
-0.033245980739593506,
0.010126156732439995,
0.021673228591680527,
-0.03923778980970383,
0.015749897807836533,
-0.03203049674630165,
-0.003597225295379758,
-0.0018863498698920012,
-0.026689229533076286,
-0.03800518810749054,
-0.03232152760028839,
0.04454481974244118,
-0.08539183437824249,
0.0073998840525746346,
0.07039519399404526,
0.02056046389043331,
-0.01677706465125084,
0.026175644248723984,
0.06046590954065323,
0.00403805123642087,
-0.0032633959781378508,
0.013858198188245296,
0.004354760982096195,
0.0040979692712426186,
-0.010382948443293571,
-0.01452585682272911,
-0.03944322094321251,
-0.02799030765891075,
0.028384054079651833,
-0.021365078166127205,
0.001206921529956162,
-0.004412539303302765,
-0.029959043487906456,
0.01335317362099886,
-0.029599536210298538,
-0.009663932025432587,
0.060739822685718536,
-0.029359864071011543,
-0.03394787758588791,
-0.03134572133421898,
-0.027956068515777588,
0.026466675102710724,
0.025490866973996162,
0.06532783806324005,
-0.016391877084970474,
-0.002550798701122403,
-0.030078880488872528,
-0.015535904094576836,
-0.06940226256847382,
0.04950946196913719,
0.026192763820290565,
0.007014696020632982,
-0.016537392511963844,
-0.012608477845788002,
0.0027540922164916992,
0.00733568612486124,
-0.0027369726449251175,
-0.0018285716651007533,
0.018180860206484795,
-0.045469269156455994,
-0.03483808785676956,
-0.033810921013355255,
0.02420690841972828,
0.03567694127559662,
-0.02769927680492401,
-0.04033343493938446,
-0.050296954810619354,
0.03958017751574516,
-0.016263481229543686,
-0.03463265672326088,
-0.007874948903918266,
0.003147839568555355,
-0.041052449494600296,
0.04430514574050903,
0.05402899533510208,
-0.07388756424188614,
-0.08107773214578629,
-0.03117452561855316,
-0.013250457122921944,
0.02237512543797493,
-0.02924002707004547,
0.02894899621605873,
0.03838181495666504,
0.015082239173352718,
-0.00882507860660553,
0.028897637501358986,
0.010725338011980057,
-0.008944914676249027,
0.05033119395375252,
-0.018112381920218468,
-0.009150347672402859,
-0.03331445902585983,
0.015082239173352718,
0.0424562469124794,
-0.016511714085936546,
-0.025148477405309677,
0.005259952042251825,
0.04957794025540352,
-0.029873447492718697,
-0.054165951907634735,
-0.023710444569587708,
0.10812646895647049,
-0.017264969646930695,
0.006894859950989485,
0.015167836099863052,
-0.010648299939930439,
0.04314102232456207,
0.03591661527752876,
-0.04588013514876366,
-0.04214809462428093,
0.02941122278571129,
-0.010194635018706322,
0.02905171364545822,
0.0018585306825116277,
-0.03981985151767731,
-0.008593966253101826,
-0.059678416699171066,
0.02141643688082695,
-0.010151836089789867,
0.017282089218497276,
-0.03981985151767731,
0.025199836120009422,
-0.07573646306991577,
0.009775208309292793,
0.009903604164719582,
-0.008910675533115864,
0.020303672179579735,
0.023778920993208885,
-0.041052449494600296,
0.026894662529230118,
0.05043391138315201,
0.06204090267419815,
-0.04314102232456207,
-0.03185930475592613,
0.013952354900538921,
0.05806918814778328,
0.02614140696823597,
0.04382580146193504,
0.01747896336019039,
0.0031264403369277716,
-0.05769256129860878,
0.008936354890465736,
-0.04362037032842636,
0.021365078166127205,
0.03153403475880623,
-0.004789167083799839,
0.00037555801100097597,
-0.045571986585855484,
0.022049857303500175,
0.0027519522700458765,
-0.015107918530702591,
-0.02045774832367897,
-0.020389270037412643,
0.026158524677157402,
-0.03581389784812927,
0.02757943980395794,
0.05930178984999657,
-0.025507986545562744,
-0.019772969186306,
0.04920130968093872,
-0.04252472519874573,
-0.03605356812477112,
-0.014654252678155899,
0.08840485662221909,
0.03656715527176857,
-0.04351765289902687,
-0.01123892143368721,
-0.06080830097198486,
-0.00989504437893629,
-0.01095645036548376,
0.02855524979531765,
0.018369173631072044,
-0.05276215821504593,
-0.0179411880671978,
0.05481649190187454,
-0.03048974834382534,
-0.002452361863106489,
0.02932562492787838,
-0.018865637481212616,
-0.02526831440627575,
-0.01612652651965618,
-0.015364710241556168,
0.013259016908705235,
-0.015107918530702591,
0.04074430093169212,
-0.07416147738695145,
0.06940226256847382,
-0.003603645134717226,
-0.0760788545012474,
-0.01871156319975853,
-0.0005649419617839158,
-0.016665788367390633,
-0.032064735889434814,
-0.02141643688082695,
0.0010132576571777463,
-0.08662443608045578,
-0.050605107098817825,
0.016391877084970474,
-0.03684106469154358,
0.000794984633103013,
-0.03288647159934044,
-0.004720689263194799,
-0.02757943980395794,
-0.0033083343878388405,
-0.016263481229543686,
0.00673222541809082,
-0.03124300390481949,
0.048961639404296875,
0.022803112864494324,
-0.015347590669989586,
-0.08094077557325363,
0.023128382861614227,
0.01889987662434578,
-0.004510975908488035,
0.07628428936004639,
0.015484546311199665,
-0.002016885671764612,
0.009561214596033096,
0.017718635499477386,
-0.02566206082701683,
0.02199849858880043,
0.001992276404052973,
0.04916707053780556,
0.030643822625279427,
0.0003225947148166597,
0.0039032355416566133,
-0.00696761766448617,
0.008893555961549282,
0.03331445902585983,
-0.02026943303644657,
-0.005799214821308851,
0.06008928269147873,
0.016280600801110268,
-0.016845542937517166,
-0.006770743988454342,
0.07868100702762604,
-0.019173787906765938,
-0.016657229512929916,
-0.01949905790388584,
0.02169034816324711,
0.01948193833231926,
-0.03656715527176857,
-0.04129212349653244,
-0.039785612374544144,
0.02574765868484974,
-0.04632524400949478,
0.04899587854743004,
0.009972081519663334,
0.016100846230983734,
0.03862148895859718,
0.009578334167599678,
0.013395972549915314,
-0.05871972814202309,
0.02535391040146351,
-0.06327350437641144,
-0.038553010672330856,
0.028794921934604645,
-0.019225146621465683,
-0.00636415695771575,
0.02932562492787838,
0.021724587306380272,
0.01596389152109623,
0.050023045390844345,
-0.02064606174826622,
0.018677324056625366,
-0.02275175414979458,
-0.008345733396708965,
-0.0005702918278984725,
-0.05070782080292702,
-0.06275992095470428,
0.05440562590956688,
0.004374020267277956,
0.028983235359191895,
-0.0044382186606526375,
0.03865572810173035,
-0.015176395885646343,
0.04858500882983208,
0.013190539553761482,
-0.05587789788842201,
0.024275384843349457,
-0.006710825953632593,
0.10299063473939896,
0.002056474331766367,
0.048858921974897385,
-0.008324334397912025,
0.04389427974820137,
-0.07155931740999222,
-0.0358823761343956,
-0.004044470842927694,
0.030352791771292686,
0.009586893953382969,
-0.03492368757724762,
-0.021193884313106537,
0.021775946021080017,
0.021553391590714455,
0.03492368757724762,
0.006436914671212435,
-0.0663207620382309,
-0.012351686134934425,
-0.005486784968525171,
-0.002381744096055627,
0.0765581950545311,
-0.042216572910547256,
0.02499440312385559,
-0.02576477825641632,
0.04920130968093872,
-0.008358573541045189,
0.038450293242931366,
-0.02133083902299404,
-0.03136283904314041,
0.04060734435915947,
-0.01862596534192562,
0.010228874161839485,
0.06686858832836151,
0.015313351526856422,
-0.02151915431022644,
-0.04755784198641777,
0.026175644248723984,
0.044236667454242706,
0.048961639404296875,
0.02169034816324711,
-0.0012251109583303332,
-0.033126141875982285,
-0.00080514932051301,
-0.014260505326092243,
-0.03581389784812927,
0.07457233965396881,
0.009047631174325943,
0.03762856125831604,
-0.021467795595526695,
-0.0574871264398098,
0.029171548783779144,
0.02487456612288952,
0.02239224500954151,
-0.009980641305446625,
0.03964865580201149,
-0.004767768085002899,
-0.04735241085290909,
-0.03394787758588791,
0.03636172041296959,
0.0596441775560379,
-0.0004328012000769377,
0.03427314758300781,
0.006775023881345987,
0.00852120853960514,
-0.016246361657977104,
0.013550047762691975,
0.012668396346271038,
-0.046838827431201935,
0.03557422384619713,
-0.029462579637765884,
-0.07238104939460754,
-0.03790247067809105,
-0.07957122474908829,
-0.027665037661790848,
0.011735385283827782,
-0.0006719385855831206,
0.027630798518657684,
-0.026124287396669388,
0.061219166964292526,
-0.002454501809552312,
0.03934050351381302,
0.0030194437131285667,
-0.028623726218938828,
0.011615549214184284,
0.03762856125831604,
-0.01804390363395214,
-0.05248824506998062,
0.0047078500501811504,
-0.08251576870679855,
0.019139548763632774,
-0.04841381683945656,
-0.010408627800643444,
0.02208409644663334,
0.05433714762330055,
-0.08066686987876892,
0.020509105175733566,
0.04646219685673714,
-0.08854181319475174,
0.01558726280927658,
0.03451281785964966,
-0.08422771096229553,
-0.012651276774704456,
-0.006770743988454342,
-0.000694942835252732,
0.029753610491752625,
0.06430067121982574,
0.009920723736286163,
0.01881428062915802,
-0.00035977602237835526,
0.02258056029677391,
0.003096481319516897,
0.03567694127559662,
-0.05081053823232651,
-0.014508737251162529,
-0.015570143237709999,
-0.058993637561798096,
0.0026556553784757853,
-0.0914863646030426,
-0.04005952179431915,
-0.028589488938450813,
0.06440338492393494,
0.012283207848668098,
0.029787849634885788,
0.01937922276556492,
-0.042969830334186554,
0.06163003295660019,
0.05546703189611435,
-0.0012112014228478074,
-0.0315169133245945,
0.03067806176841259,
-0.002799030626192689,
0.05615180730819702,
0.04930402711033821,
-0.023984355852007866,
-0.00960401352494955,
0.07813318818807602,
0.08765160292387009,
-0.03387939929962158,
0.059575699269771576,
-0.032475605607032776,
0.04187418520450592,
-0.008692402392625809,
-0.015133596956729889,
-0.054850731045007706,
-0.03300630673766136,
-0.002152771223336458,
-0.01919090747833252,
-0.00027926109032705426,
0.0217930655926466
] |
708,651
|
wom_connector.instrument
|
__init__
|
Create an instance of an WOM Instrument able to generate vouchers.
Keys should be loaded using:
privk = open("keys/instrument1.pem", "rb")
and provided as:
privk.read()
:rtype: Instrument
:param domain: str: Domain of the Registry (e.g., wom.social).
:param instrument_id: int: Unique instrument ID, assigned by the WOM platform.
:param instrument_privk: bytes: Instrument private key in bytes format.
:param instrument_privk_password: bytes: Optional password for Instrument private key (Default value = None).
|
def __init__(self, domain: str, instrument_id: int, instrument_privk: bytes, instrument_privk_password: str=None):
"""
Create an instance of an WOM Instrument able to generate vouchers.
Keys should be loaded using:
privk = open("keys/instrument1.pem", "rb")
and provided as:
privk.read()
:rtype: Instrument
:param domain: str: Domain of the Registry (e.g., wom.social).
:param instrument_id: int: Unique instrument ID, assigned by the WOM platform.
:param instrument_privk: bytes: Instrument private key in bytes format.
:param instrument_privk_password: bytes: Optional password for Instrument private key (Default value = None).
"""
self.__registry_proxy = RegistryProxy(domain)
self.ID = instrument_id
self.__instrument_privk = self.__load_private_key(instrument_privk, instrument_privk_password, "Instrument Private Key")
self.__logger = WOMLogger("Instrument")
|
(self, domain: str, instrument_id: int, instrument_privk: bytes, instrument_privk_password: Optional[str] = None)
|
[
0.04126088693737984,
-0.0664602518081665,
-0.019857240840792656,
0.04481058940291405,
0.001058210851624608,
-0.0625590980052948,
-0.0550730936229229,
0.007182873785495758,
-0.050679899752140045,
0.042701855301856995,
-0.01216915063560009,
0.05598687753081322,
0.03180673345923424,
0.030769938603043556,
-0.051171936094760895,
-0.005175183992832899,
-0.0011169698555022478,
-0.017071956768631935,
-0.01285448856651783,
-0.06554646790027618,
-0.02071830816566944,
0.03310711681842804,
0.034881968051195145,
0.06870957463979721,
-0.039573900401592255,
0.07556295394897461,
-0.03718400374054909,
0.021913256496191025,
-0.00962988380342722,
-0.05145310238003731,
-0.04646243155002594,
-0.03960904851555824,
0.037324585020542145,
0.0436507873237133,
0.06438666582107544,
-0.0211752001196146,
-0.00990226212888956,
-0.0029258679132908583,
-0.14733019471168518,
0.04351020231842995,
0.013697981834411621,
0.018592001870274544,
0.10107862949371338,
-0.043088458478450775,
0.002266888739541173,
0.0645272508263588,
-0.001343219424597919,
0.04477544501423836,
0.022950051352381706,
-0.015253173187375069,
-0.006400885060429573,
0.08680953830480576,
0.009963766671717167,
-0.02391655370593071,
-0.016764432191848755,
0.024970920756459236,
0.04554864764213562,
0.07507091760635376,
0.04294787347316742,
0.011035705916583538,
-0.047130197286605835,
-0.014049437828361988,
0.06642510741949081,
0.011554103344678879,
-0.002359145786613226,
0.029082952067255974,
-0.046286702156066895,
0.0236178170889616,
0.021140053868293762,
0.03337071090936661,
0.11647238582372665,
-0.041823215782642365,
-0.05591658875346184,
0.014348175376653671,
0.058271341025829315,
-0.011448666453361511,
-0.06881500780582428,
-0.01785394549369812,
0.010728182271122932,
-0.006031856872141361,
0.024777621030807495,
-0.029539844021201134,
-0.04038224741816521,
0.013205944560468197,
0.012836916372179985,
0.05089077353477478,
0.03342342749238014,
-0.050715044140815735,
0.005614503286778927,
-0.012590897269546986,
-0.06407035887241364,
0.03725429251790047,
-0.03173644095659256,
-0.0041867149993777275,
0.034161485731601715,
-0.03474138677120209,
-0.023512380197644234,
0.013970360159873962,
0.007507970556616783,
0.030295472592115402,
-0.03382760286331177,
-0.00709501001983881,
-0.09749378263950348,
0.015534337610006332,
-0.01918947696685791,
-0.016272393986582756,
-0.021755101159214973,
0.009093914180994034,
-0.004850087221711874,
0.029012659564614296,
-0.03837895393371582,
-0.0034969833213835955,
-0.025076357647776604,
-0.01961122266948223,
-0.020226269960403442,
0.026236161589622498,
0.02899508737027645,
-0.012221869081258774,
0.019101612269878387,
-0.019101612269878387,
0.017484916374087334,
-0.02978586219251156,
-0.0371488593518734,
0.04558379203081131,
0.01846899278461933,
-0.009673815220594406,
-0.00649314234033227,
0.02048986218869686,
0.027097227051854134,
-0.03185945004224777,
0.025726551190018654,
-0.024461310356855392,
-0.00003940146780223586,
0.03426692262291908,
0.03707856684923172,
-0.05092591792345047,
0.05422959849238396,
-0.02586713247001171,
-0.03707856684923172,
0.05841192230582237,
-0.0241098552942276,
0.0076309796422719955,
0.01337288599461317,
0.04973096773028374,
-0.04836029186844826,
0.02433830127120018,
-0.07131034135818481,
-0.00877321045845747,
-0.014242738485336304,
-0.048500873148441315,
-0.015420114621520042,
-0.014866571873426437,
-0.01241516973823309,
-0.02700936421751976,
-0.012318518944084644,
-0.022686459124088287,
-0.0005996711552143097,
0.020612871274352074,
0.013531040400266647,
-0.028784213587641716,
-0.021842965856194496,
0.01671171374619007,
0.003745198715478182,
-0.02345966175198555,
-0.031261976808309555,
0.04094457998871803,
-0.009260855615139008,
-0.02678091637790203,
0.0030181249603629112,
0.049836404621601105,
-0.03366944566369057,
-0.03330041840672493,
-0.043088458478450775,
0.01880287565290928,
-0.0327380895614624,
0.03612963482737541,
-0.002120814984664321,
0.004239433445036411,
-0.05946628749370575,
0.01624603569507599,
-0.0025853952392935753,
-0.012090072967112064,
-0.04568922892212868,
0.004727078136056662,
0.0035980266984552145,
-0.02620101533830166,
0.05229659378528595,
0.04611097648739815,
0.059642016887664795,
-0.02101704478263855,
0.01929491199553013,
0.02391655370593071,
0.03619992733001709,
0.011299298144876957,
0.01746734417974949,
0.0011817695340141654,
0.014040651731193066,
-0.00552224600687623,
-0.09721262007951736,
0.09074583649635315,
0.0021548622753471136,
0.03358158469200134,
-0.008957725018262863,
-0.038660116493701935,
0.007872605696320534,
-0.02440859191119671,
-0.006554646883159876,
0.011053279042243958,
-0.019980251789093018,
-0.021878112107515335,
0.06870957463979721,
0.0015442080330103636,
-0.025656258687376976,
0.026148296892642975,
0.026025287806987762,
0.015235600993037224,
0.007297097239643335,
0.01747613027691841,
0.015191668644547462,
-0.01785394549369812,
0.03743002191185951,
0.04242069274187088,
-0.04976611211895943,
-0.06740918755531311,
-0.024232864379882812,
0.023055488243699074,
0.0361647829413414,
-0.0371488593518734,
-0.029662853106856346,
-0.012248228304088116,
0.06312143057584763,
-0.007780348416417837,
-0.010420658625662327,
0.01158046256750822,
-0.011132356710731983,
-0.0436507873237133,
-0.039538756012916565,
0.014471184462308884,
0.0051971497014164925,
0.005535425618290901,
0.04526748135685921,
0.040030792355537415,
0.058763377368450165,
0.04642728716135025,
-0.0029522271361202,
-0.015973657369613647,
-0.011554103344678879,
0.00021210894919931889,
0.0387655533850193,
-0.018873166292905807,
0.019171902909874916,
-0.038203224539756775,
-0.028503049165010452,
0.0118089085444808,
0.008988477289676666,
-0.0397496297955513,
0.0015903366729617119,
-0.03523342311382294,
0.03245692700147629,
-0.04249098151922226,
-0.019242193549871445,
0.0013893479481339455,
-0.02082374505698681,
0.016658995300531387,
-0.02483033947646618,
-0.003945089410990477,
0.009647455997765064,
0.006216370966285467,
0.05134766548871994,
0.007525543216615915,
0.02841518633067608,
0.020577725023031235,
-0.02056015282869339,
0.009392650797963142,
-0.025269657373428345,
-0.006001104600727558,
0.03238663449883461,
-0.00758265471085906,
-0.022106558084487915,
0.00951566081494093,
0.0017770474078133702,
0.04765738174319267,
0.06368375569581985,
0.024654610082507133,
0.004393195267766714,
-0.03287867084145546,
0.006282269023358822,
0.03170129656791687,
0.008799569681286812,
-0.04168263450264931,
-0.03059421107172966,
0.0765470340847969,
-0.0007221314590424299,
-0.057392701506614685,
0.019365204498171806,
-0.008289959281682968,
-0.05482707545161247,
0.01896102912724018,
0.023969272151589394,
0.0072707380168139935,
-0.047165341675281525,
0.046216413378715515,
-0.014383320696651936,
-0.004555743187665939,
-0.033019255846738815,
0.03537400811910629,
0.05370241776108742,
-0.02808130346238613,
-0.0252520851790905,
-0.004744650796055794,
0.006045036483556032,
0.05619775131344795,
0.05584629625082016,
0.02407470904290676,
0.042209818959236145,
-0.006334987469017506,
0.01396157406270504,
0.005842949263751507,
0.05229659378528595,
0.08624720573425293,
0.025849560275673866,
0.05243717506527901,
0.018627146258950233,
-0.026025287806987762,
0.05183970183134079,
-0.0075431158766150475,
0.0014497543452307582,
0.030998384580016136,
-0.005223508924245834,
-0.04635699465870857,
-0.12568052113056183,
-0.007613406982272863,
0.0065897926688194275,
-0.0228094682097435,
0.024672184139490128,
-0.032175760716199875,
-0.01464691199362278,
-0.04189350828528404,
-0.03456565737724304,
-0.006945641245692968,
0.033282846212387085,
-0.06554646790027618,
-0.0521208681166172,
-0.0015398148680105805,
0.006269089411944151,
-0.07521150261163712,
0.030506346374750137,
-0.0540890172123909,
-0.017300402745604515,
0.022950051352381706,
-0.013671623542904854,
0.028485476970672607,
0.05194513872265816,
0.0573575533926487,
0.06554646790027618,
-0.04547835513949394,
-0.03837895393371582,
0.012257014401257038,
-0.04010108485817909,
-0.0005063157295808196,
-0.025269657373428345,
0.007973648607730865,
-0.029082952067255974,
-0.004485452082008123,
-0.05837677791714668,
-0.05222630128264427,
0.028696350753307343,
-0.04143661633133888,
0.003455247962847352,
0.0037144464440643787,
-0.0221592765301466,
-0.017985740676522255,
-0.07703907042741776,
0.039538756012916565,
0.03590118885040283,
-0.0010120823280885816,
0.01529710553586483,
-0.004133996553719044,
-0.06301598995923996,
-0.013416817411780357,
-0.029733143746852875,
0.04498631879687309,
0.04277214780449867,
0.03261508047580719,
0.04027681425213814,
-0.023969272151589394,
0.0012213082518428564,
0.027149945497512817,
0.020437143743038177,
0.01165075320750475,
0.003420102410018444,
-0.004162552300840616,
-0.020015396177768707,
0.06888529658317566,
-0.02173752896487713,
-0.024654610082507133,
-0.04143661633133888,
0.002359145786613226,
-0.05623289570212364,
-0.03424935042858124,
-0.01591215282678604,
-0.041717778891325,
-0.022141702473163605,
0.022756749764084816,
-0.013285022228956223,
-0.04379136860370636,
0.030928093940019608,
-0.05394843593239784,
0.03676225617527962,
-0.014014292508363724,
-0.02948712557554245,
-0.004643607418984175,
-0.019013747572898865,
-0.060134053230285645,
-0.008017580956220627,
-0.04614612087607384,
0.024514028802514076,
0.016184531152248383,
-0.014919290319085121,
0.04097972437739372,
0.010842405259609222,
0.005632075946778059,
0.02518179453909397,
0.03323012590408325,
-0.01552555151283741,
0.017994526773691177,
-0.00031054398277774453,
-0.01899617537856102,
0.000013711573956243228,
0.0035716677084565163,
-0.01736190728843212,
0.0759144127368927,
-0.024426164105534554,
-0.03693798556923866,
0.04157719761133194,
0.002148272469639778,
-0.024654610082507133,
0.014497543685138226,
-0.0010021976195275784,
0.05008242279291153,
-0.04684903100132942,
-0.04864145442843437,
0.01838112808763981,
0.002097750548273325,
-0.0010680955601856112,
-0.033282846212387085,
-0.06607365608215332,
0.001581550226546824,
0.04663815721869469,
0.018135109916329384,
0.04112030565738678,
-0.02147393673658371,
0.019980251789093018,
-0.032825954258441925,
0.024584319442510605,
-0.02620101533830166,
0.03447779640555382,
-0.005781444720923901,
0.056935809552669525,
-0.0387655533850193,
0.020015396177768707,
-0.027290528640151024,
0.010482163168489933,
-0.04161234200000763,
-0.05261290445923805,
0.12026810646057129,
-0.009752892889082432,
0.002908295253291726,
0.06684685498476028,
0.038203224539756775,
0.050223007798194885,
0.05134766548871994,
0.02098190039396286,
-0.00648435577750206,
0.03296653553843498,
0.002045032335445285,
-0.016729285940527916,
0.014725989662110806,
-0.01609666645526886,
-0.07436800748109818,
-0.03827351704239845,
-0.003371777245774865,
0.06740918755531311,
0.047095052897930145,
-0.06804180890321732,
-0.04786825180053711,
0.026306452229619026,
-0.059712305665016174,
0.009419010020792484,
0.03365187346935272,
-0.0058517358265817165,
0.11021647602319717,
-0.02678091637790203,
-0.0030378943774849176,
0.03314226493239403,
0.02010326087474823,
0.00913784559816122,
0.048079125583171844,
-0.009568379260599613,
-0.04245583713054657,
0.009937407448887825,
-0.02391655370593071,
0.02941683493554592,
-0.05676008015871048,
0.012634828686714172,
-0.024935774505138397,
-0.06136414781212807,
0.023547526448965073,
0.030260328203439713,
0.02483033947646618,
-0.013662836514413357,
-0.019593650475144386,
-0.045372918248176575,
-0.012520605698227882,
-0.029012659564614296,
0.014629339799284935,
-0.02338937111198902,
0.056970953941345215,
-0.06821753084659576,
-0.005377270746976137,
0.08132682740688324,
0.022247139364480972,
0.04417796805500984,
-0.029627706855535507,
0.015147736296057701,
-0.0407337062060833,
-0.06473812460899353,
-0.009322360157966614,
0.014805067330598831,
0.05215601250529289,
-0.02150908298790455,
0.0029566201847046614,
-0.04435369744896889,
-0.03630536422133446,
0.028292175382375717,
0.03792205825448036,
-0.019962677732110023,
-0.03981991857290268,
0.006216370966285467,
-0.021350927650928497,
-0.010324008762836456,
-0.012177936732769012,
-0.05317523330450058,
-0.08695011585950851,
-0.01648326776921749,
-0.011343229562044144,
-0.009190564043819904,
0.02056015282869339,
-0.04168263450264931,
-0.031683724373579025,
0.044916026294231415,
-0.020735880360007286,
0.030769938603043556,
0.0025151041336357594,
0.029891299083828926,
0.023828690871596336,
0.04930922016501427,
-0.058798521757125854,
-0.009243282489478588,
0.062348224222660065,
0.005346518475562334,
-0.015613415278494358,
0.005135645158588886,
0.00004245611125952564,
-0.029311398044228554,
-0.005438775289803743,
0.031718868762254715,
-0.023371797055006027,
-0.045302629470825195,
-0.00831631850451231,
0.01602637581527233,
-0.0324217788875103,
0.040909431874752045,
0.0540890172123909,
-0.10044601559638977,
0.026007715612649918,
0.0019582665991038084,
0.032210905104875565,
0.03405604884028435,
-0.05454590916633606,
0.032896243035793304,
0.07261072844266891,
-0.019540932029485703,
-0.10543668270111084,
0.004309724550694227,
-0.024092281237244606,
0.029381688684225082,
0.018556855618953705,
-0.004810548387467861,
0.007116976194083691,
-0.012441528029739857,
-0.020648017525672913,
-0.10290620476007462,
-0.00951566081494093,
0.026113150641322136,
0.004959917161613703,
0.004850087221711874,
-0.025761695578694344,
0.02147393673658371,
-0.0025963783264160156,
-0.002835807390511036,
0.022264713421463966,
0.03323012590408325,
-0.028731495141983032,
-0.005447561852633953,
0.004184518475085497,
-0.06083696708083153,
-0.01880287565290928,
-0.0033542043529450893,
-0.0163690447807312,
0.031525567173957825,
-0.0004615600628312677,
0.0016024179058149457,
0.018363555893301964,
0.023477233946323395,
0.00017806168762035668,
-0.07760139554738998,
0.005456348415464163,
0.01689622737467289,
0.026183443143963814,
0.0192246213555336,
0.002928064437583089,
-0.024900630116462708,
-0.012503033503890038,
-0.06758490949869156,
-0.051136791706085205,
0.045372918248176575,
0.005724333226680756,
0.0482197105884552,
0.0008330596028827131,
0.014813853427767754,
0.026605188846588135,
0.05138280987739563,
-0.046286702156066895,
0.007551902439445257,
0.02082374505698681,
0.025603540241718292,
-0.0010774311376735568,
0.009568379260599613,
0.04340476915240288,
0.002629327354952693,
0.03655138239264488,
0.003626582445576787,
-0.008382216095924377,
-0.05089077353477478,
0.02219442091882229,
-0.013680409640073776,
-0.031947314739227295,
-0.022756749764084816,
-0.02723781019449234,
0.006813845597207546,
-0.030646929517388344,
0.0051400382071733475,
-0.0023833082523196936,
-0.01663263700902462,
0.016992878168821335,
-0.009700174443423748,
0.034583233296871185,
0.03381003066897392,
0.023143351078033447,
-0.018662292510271072,
0.034653522074222565,
0.004364639520645142,
-0.02658761665225029,
0.035760607570409775,
-0.0023042308166623116,
0.03890613466501236,
-0.021878112107515335,
-0.015736425295472145,
-0.011562889441847801,
0.0958067998290062,
-0.00614168681204319,
0.032140616327524185,
0.036024197936058044,
-0.01747613027691841,
-0.01869743876159191,
-0.012221869081258774,
-0.04414282366633415,
0.019470641389489174,
0.020735880360007286,
0.004305331036448479,
-0.011202647350728512,
0.030875375494360924,
-0.052050575613975525,
-0.024619465693831444,
0.020349279046058655,
0.04055797681212425,
0.0009637571638450027,
-0.06199676916003227,
-0.09327631443738937,
-0.010613959282636642,
-0.04477544501423836,
0.019857240840792656,
0.004351459909230471,
-0.015745211392641068,
-0.05732240900397301,
-0.013267449103295803,
-0.03967933729290962,
0.0185744296759367,
-0.019576076418161392,
0.0120549276471138,
0.006154866423457861,
0.02548053115606308,
0.03662167489528656,
0.0005760577041655779,
-0.01964636892080307,
0.0028863290790468454,
-0.03496983274817467,
0.09144874662160873,
-0.026236161589622498,
0.06266453117132187,
0.06719831377267838,
0.0765470340847969,
-0.07816372811794281,
0.07106432318687439,
0.015499192290008068,
-0.07373538613319397,
0.04955524206161499,
-0.013003857806324959,
-0.014717203564941883,
-0.00005803822568850592,
-0.01337288599461317,
-0.0033344351686537266,
-0.05855250358581543,
0.014497543685138226,
0.03440750390291214,
0.028257030993700027,
0.022335004061460495,
0.020911607891321182,
0.011272938922047615,
-0.04108516126871109,
-0.001062604016624391,
-0.03834380581974983,
0.019435495138168335,
0.002372325398027897,
-0.04459971562027931,
-0.05412416160106659,
-0.03321255370974541,
0.02319606952369213,
0.053350962698459625,
-0.009831970557570457,
0.062313079833984375,
-0.000197693778318353,
0.03788691386580467,
-0.025357522070407867,
0.01712467521429062,
0.03619992733001709,
0.005878095049411058,
0.07116976380348206,
-0.015666132792830467,
0.045794665813446045,
0.01470841746777296,
-0.008254813961684704,
-0.004542563576251268,
0.01712467521429062,
-0.04973096773028374,
0.016386616975069046,
0.04786825180053711,
0.017599139362573624,
-0.02063044346868992,
-0.03453051298856735,
-0.034460220485925674,
-0.025884704664349556,
-0.01616695709526539,
-0.0327380895614624,
0.07197810709476471,
0.010886337608098984,
-0.005711153615266085
] |
708,652
|
wom_connector.instrument
|
request_vouchers
|
Obtains vouchers from WOM Registry through Registry remote API.
It returns a list containing the OTC representing the vouchers and the associated password.
:param vouchers: list: A list of Voucher items or a list of properly structure dictionaries
:param nonce: str: Communication nonce. If None, a proper nonce will be generated. (Default value = None)
:param password: str: Voucher OTC password. If None, a secure password will be generated by the Registry. (Default value = None)
:returns: OTC, password): (str, str)
:rtype: list(str, str)
|
def request_vouchers(self, vouchers: list, nonce: str = None, password: str = None) -> (str, str):
"""
Obtains vouchers from WOM Registry through Registry remote API.
It returns a list containing the OTC representing the vouchers and the associated password.
:param vouchers: list: A list of Voucher items or a list of properly structure dictionaries
:param nonce: str: Communication nonce. If None, a proper nonce will be generated. (Default value = None)
:param password: str: Voucher OTC password. If None, a secure password will be generated by the Registry. (Default value = None)
:returns: OTC, password): (str, str)
:rtype: list(str, str)
"""
# call to voucher/create API
response_data = self.__voucher_create(vouchers, nonce, password)
# call to voucher/verify API
self.__voucher_verify(response_data['otc'])
return response_data['otc'], response_data['password']
|
(self, vouchers: list, nonce: Optional[str] = None, password: Optional[str] = None) -> (<class 'str'>, <class 'str'>)
|
[
-0.011266464367508888,
-0.036631446331739426,
-0.05258271470665932,
0.0037650458980351686,
-0.018262788653373718,
0.0009037653799168766,
-0.039631132036447525,
-0.04068984463810921,
0.008010923862457275,
0.031037917360663414,
0.014486714266240597,
0.0018317929934710264,
-0.01879214495420456,
0.010419494472444057,
-0.003489339491352439,
-0.05649995058774948,
0.012536918744444847,
-0.04813612252473831,
0.009969541803002357,
-0.008125617168843746,
0.012519273906946182,
0.022074151784181595,
0.07396870106458664,
0.06189938262104988,
-0.01946266181766987,
0.05914672836661339,
0.01241340208798647,
0.011028253473341465,
-0.015368974767625332,
0.011628190986812115,
-0.011531142517924309,
-0.008875538595020771,
0.011989917606115341,
0.03649028763175011,
-0.0026203130837529898,
0.00794475432485342,
0.015201345086097717,
0.03391408547759056,
-0.062216997146606445,
0.050959356129169464,
-0.03232601657509804,
-0.00023765886726323515,
0.05021825432777405,
-0.05374729633331299,
-0.0005368002457544208,
0.016136540099978447,
-0.029802752658724785,
0.02359163947403431,
0.005439134780317545,
-0.010551833547651768,
0.030102720484137535,
0.03412582725286484,
-0.013110388070344925,
-0.10022477060556412,
0.030173301696777344,
0.04213675111532211,
0.014054406434297562,
0.11194118857383728,
0.042066171765327454,
0.04478353261947632,
-0.018403949216008186,
-0.0019001681357622147,
0.023097574710845947,
0.023715157061815262,
-0.02108602039515972,
0.03034975379705429,
0.0012175191659480333,
-0.008963764645159245,
-0.005919966381043196,
0.050253547728061676,
0.03530805557966232,
-0.007000735495239496,
-0.06998088955879211,
-0.04351307824254036,
0.04068984463810921,
0.052018068730831146,
-0.016771769151091576,
0.028038231655955315,
-0.046265728771686554,
-0.022338829934597015,
0.04174855723977089,
-0.05653524026274681,
-0.00979308970272541,
-0.005447957199066877,
0.009325491264462471,
0.060487765818834305,
-0.029943915084004402,
-0.020380211994051933,
-0.033702343702316284,
0.03502573445439339,
-0.04347778856754303,
-0.004768616985529661,
-0.06800462305545807,
-0.0007240048726089299,
-0.03342001885175705,
-0.03814893588423729,
-0.03604915738105774,
0.006131709087640047,
-0.038325387984514236,
0.05653524026274681,
0.0074065751396119595,
0.02719126269221306,
-0.04428946599364281,
0.04213675111532211,
-0.013772083446383476,
-0.05406491085886955,
-0.08032097667455673,
0.02768532745540142,
0.08377943933010101,
-0.012307531200349331,
-0.07019262760877609,
-0.023979835212230682,
0.03068501316010952,
-0.02029198594391346,
-0.04947715625166893,
0.01209578849375248,
-0.007724188733845949,
-0.004027518443763256,
0.020080244168639183,
-0.02025669626891613,
0.07601554691791534,
0.0073933410458266735,
0.07146308571100235,
0.02622077614068985,
-0.02036256715655327,
0.006250814069062471,
-0.015466023236513138,
0.056923434138298035,
0.015466023236513138,
0.0016387985087931156,
0.026044324040412903,
0.016710009425878525,
0.007940342649817467,
0.025462031364440918,
0.035960931330919266,
-0.039666421711444855,
0.024562126025557518,
-0.011672304011881351,
0.024879740551114082,
-0.007777124643325806,
-0.023115219548344612,
-0.004998004529625177,
-0.019250920042395592,
0.0190215315669775,
-0.031902533024549484,
-0.01237811241298914,
-0.0031651088502258062,
0.0024990022648125887,
0.00889759510755539,
-0.0008739891345612705,
-0.025832582265138626,
0.0788387805223465,
0.028726395219564438,
-0.03237895295023918,
-0.004186325240880251,
0.006647831294685602,
0.0018262788653373718,
-0.0722394734621048,
0.0361197367310524,
-0.025109127163887024,
-0.013825018890202045,
-0.00025557976914569736,
-0.017415817826986313,
-0.034496378153562546,
0.03068501316010952,
0.03931351751089096,
-0.044360049068927765,
-0.028497006744146347,
-0.012775128707289696,
0.03691377118229866,
-0.005134754814207554,
0.02149186097085476,
-0.0752391591668129,
-0.018650982528924942,
-0.010190105997025967,
-0.03230837360024452,
-0.02618548646569252,
-0.03380821272730827,
-0.04711269959807396,
-0.020539019256830215,
-0.042666107416152954,
-0.024032769724726677,
0.012898645363748074,
0.03045562468469143,
0.01599537953734398,
-0.051629871129989624,
0.08265014737844467,
0.031973112374544144,
0.007018380798399448,
-0.020944859832525253,
-0.03709022328257561,
0.0043098414316773415,
0.010066590271890163,
0.0208213422447443,
-0.024632707238197327,
-0.008306480944156647,
-0.006219935137778521,
0.0008596523548476398,
-0.08617918938398361,
-0.01267808023840189,
-0.012289886362850666,
0.005408255383372307,
-0.014274971559643745,
-0.014354375191032887,
0.014963134191930294,
0.006184644531458616,
-0.0034628717694431543,
-0.04538346827030182,
0.036631446331739426,
-0.037901900708675385,
0.09514295309782028,
0.02765003778040409,
-0.053359102457761765,
0.013604453764855862,
-0.025267934426665306,
0.010534187778830528,
0.032537758350372314,
-0.03518453985452652,
-0.02824997529387474,
-0.025938453152775764,
0.05727633833885193,
0.006661065388470888,
-0.022074151784181595,
-0.05321794003248215,
-0.03747841715812683,
0.026767777279019356,
-0.02232118509709835,
-0.005311206914484501,
-0.02495032176375389,
-0.03860770910978317,
0.022744670510292053,
-0.010137170553207397,
0.02701481059193611,
0.020644890144467354,
-0.08413234353065491,
-0.06606364995241165,
-0.011628190986812115,
0.011857578530907631,
0.05942905321717262,
0.043089594691991806,
0.05321794003248215,
0.016851171851158142,
0.07665077596902847,
0.0083991177380085,
0.04354836791753769,
0.000843109970446676,
-0.006515492219477892,
0.016648251563310623,
0.004702447447925806,
0.00789622962474823,
-0.007433042861521244,
-0.06500493735074997,
0.004561285953968763,
-0.012051675468683243,
0.013383888639509678,
-0.0404428131878376,
0.007415397558361292,
0.04813612252473831,
0.028108812868595123,
-0.033737633377313614,
0.0016410041134804487,
0.02385631762444973,
-0.0716395378112793,
0.01605713739991188,
-0.024862095713615417,
-0.037831321358680725,
0.02089192345738411,
0.02468564361333847,
-0.03941939026117325,
0.01999201811850071,
0.004848020151257515,
0.021809473633766174,
0.004027518443763256,
-0.011028253473341465,
-0.03121436946094036,
-0.015563071705400944,
0.05413549020886421,
0.00012213790614623576,
-0.017398172989487648,
-0.026326647028326988,
-0.04114862158894539,
0.008822603151202202,
0.04358365759253502,
0.01547484565526247,
-0.0009743461851030588,
-0.06998088955879211,
0.025567904114723206,
-0.00982837937772274,
-0.025409096851944923,
-0.02212708815932274,
0.029996849596500397,
0.05307677760720253,
0.023115219548344612,
-0.05777040496468544,
0.011337044648826122,
-0.007040437310934067,
-0.009484298527240753,
-0.013904422521591187,
0.027932360768318176,
0.007102195173501968,
-0.024597417563199997,
0.030473271384835243,
0.05247684195637703,
-0.030773239210247993,
0.04305430129170418,
-0.00943136215209961,
0.07947400957345963,
-0.007040437310934067,
-0.04425417631864548,
0.0010107394773513079,
-0.02272702567279339,
0.010172461159527302,
0.003650351893156767,
-0.050959356129169464,
0.009740153327584267,
-0.02329167164862156,
-0.001516384887509048,
0.006969856563955545,
0.012616322375833988,
0.02228589542210102,
0.035996221005916595,
0.05755866318941116,
0.05191219598054886,
-0.006983090192079544,
0.018545111641287804,
0.009096103720366955,
0.005677345208823681,
0.031920175999403,
-0.001263837912119925,
0.04005461558699608,
-0.07467450946569443,
-0.029061654582619667,
-0.016912929713726044,
0.04601869732141495,
0.013269194401800632,
0.03465518355369568,
0.01719525270164013,
-0.02659132517874241,
-0.0076624308712780476,
0.019162693992257118,
0.005694990046322346,
-0.05939376354217529,
-0.025532612577080727,
-0.043266043066978455,
-0.036031510680913925,
-0.017777545377612114,
0.07785064727067947,
0.019197983667254448,
0.0014921227702870965,
0.005328852217644453,
-0.05282974615693092,
0.03008507564663887,
0.06962798535823822,
0.05473542958498001,
0.034866925328969955,
-0.019039176404476166,
-0.011901691555976868,
-0.005805272608995438,
0.006484613288193941,
0.009722508490085602,
-0.03541392832994461,
0.03447873145341873,
-0.011548787355422974,
0.02629135735332966,
-0.05837034061551094,
-0.05067703127861023,
0.01412498764693737,
-0.06627539545297623,
0.009810734540224075,
-0.02119189314544201,
-0.024579772725701332,
0.037301965057849884,
-0.06077009066939354,
-0.002072208793833852,
0.06073479726910591,
-0.02922046184539795,
-0.009898960590362549,
-0.054841298609972,
-0.03934881091117859,
0.014072051271796227,
-0.0007317246054299176,
-0.0027879425324499607,
0.058052726089954376,
-0.007463922258466482,
0.06249931827187538,
-0.009987186640501022,
-0.04601869732141495,
0.053288523107767105,
0.02595609799027443,
0.041995588690042496,
-0.02092721499502659,
0.009519588202238083,
-0.006696355529129505,
0.08137968927621841,
-0.05081819370388985,
-0.025409096851944923,
0.03174372389912605,
-0.036066800355911255,
-0.043089594691991806,
-0.06338158249855042,
0.03064972348511219,
0.03499044477939606,
-0.049865350127220154,
-0.01217519212514162,
-0.03559038043022156,
-0.004415712784975767,
-0.002399747958406806,
-0.12019914388656616,
0.026467809453606606,
-0.05582943186163902,
-0.04785379767417908,
-0.004998004529625177,
0.05646465718746185,
-0.03394937515258789,
-0.029643945395946503,
0.013030984438955784,
-0.07361579686403275,
0.06976914405822754,
0.055652979761362076,
0.059887830168008804,
0.028744040057063103,
-0.046689216047525406,
-0.008650561794638634,
0.07171011716127396,
-0.02775590866804123,
0.0033349439036101103,
0.04591282457113266,
-0.028867557644844055,
0.018598046153783798,
-0.03945467993617058,
0.022180024534463882,
0.04827728495001793,
-0.02798529714345932,
-0.06641655415296555,
-0.0009555981960147619,
-0.0029643946327269077,
-0.005315618123859167,
-0.031531982123851776,
0.0032467178534716368,
0.07700368016958237,
-0.052723877131938934,
0.0026688373181968927,
0.024809159338474274,
-0.013930889777839184,
0.0314437560737133,
-0.014080874621868134,
-0.07707425951957703,
0.015183699317276478,
0.02914988063275814,
-0.06909862905740738,
0.02795000560581684,
-0.009210797026753426,
0.015377797186374664,
0.026097260415554047,
-0.013904422521591187,
0.056958723813295364,
-0.030402690172195435,
0.0064581455662846565,
-0.011716417036950588,
-0.004909778479486704,
0.06182880327105522,
-0.03477869927883148,
0.059287890791893005,
0.00924608763307333,
-0.05325322970747948,
0.06179350987076759,
-0.04337191581726074,
-0.01736288331449032,
0.08773196488618851,
0.008218254894018173,
-0.001660855021327734,
-0.030861465260386467,
-0.025144418701529503,
0.004883310757577419,
0.02412099577486515,
0.05057115852832794,
0.008324125781655312,
-0.04746560379862785,
-0.030543850734829903,
-0.0868849903345108,
-0.08137968927621841,
-0.05117109790444374,
0.07700368016958237,
-0.014813150279223919,
-0.045559920370578766,
-0.06341686844825745,
0.009801912121474743,
-0.00324892345815897,
-0.025232644751667976,
0.002902636304497719,
0.004320869687944651,
0.056994013488292694,
-0.022462347522377968,
-0.01635710522532463,
0.03334943950176239,
0.026926584541797638,
0.01588950864970684,
0.034761056303977966,
-0.03716080263257027,
-0.004435563459992409,
0.018509820103645325,
0.03878416121006012,
0.03571389615535736,
-0.015218989923596382,
-0.010851801373064518,
-0.018103981390595436,
-0.0018737002974376082,
0.04121920093894005,
0.032961245626211166,
-0.014142632484436035,
-0.04213675111532211,
-0.05286503583192825,
0.022144732996821404,
-0.0009787575108930469,
-0.04153681546449661,
-0.00021822156850248575,
-0.0362432524561882,
0.05907614901661873,
-0.047430314123630524,
-0.014513181522488594,
0.01905682310461998,
0.0686398521065712,
0.05113580822944641,
-0.022338829934597015,
0.003945908974856138,
0.012783952057361603,
-0.05219452083110809,
-0.0043164584785699844,
-0.008138851262629032,
0.03172608092427254,
-0.027261843904852867,
0.023538704961538315,
-0.02142127975821495,
-0.0596407949924469,
-0.030526205897331238,
-0.019780276343226433,
-0.011875223368406296,
-0.0000617582190898247,
0.020803697407245636,
0.003440815256908536,
0.01462787576019764,
0.00414662342518568,
-0.0071198404766619205,
-0.05222981050610542,
-0.045030564069747925,
-0.019533243030309677,
0.014283793978393078,
-0.013622098602354527,
0.008138851262629032,
-0.044360049068927765,
0.03361411765217781,
-0.023644575849175453,
0.05709988623857498,
-0.008019746281206608,
-0.05494717136025429,
0.019533243030309677,
-0.0036437350790947676,
-0.05547652766108513,
-0.003136435290798545,
-0.026132550090551376,
0.03057914227247238,
-0.007499212399125099,
-0.03188488632440567,
0.0051612225361168385,
-0.037301965057849884,
0.007000735495239496,
0.019215628504753113,
-0.03617267310619354,
0.0063655078411102295,
-0.002529881428927183,
0.007975633256137371,
-0.017230544239282608,
0.015218989923596382,
0.05480600893497467,
-0.04425417631864548,
0.0036547633353620768,
-0.014927844516932964,
-0.067192941904068,
0.041395653039216995,
-0.045559920370578766,
0.019533243030309677,
-0.005430311895906925,
0.023397542536258698,
-0.12464573234319687,
0.0578409843146801,
0.06087595969438553,
0.011884045787155628,
0.015051360242068768,
0.052018068730831146,
0.04248965531587601,
0.005395021755248308,
-0.002043535467237234,
-0.04213675111532211,
0.030932046473026276,
0.003041592426598072,
-0.006100830156356096,
-0.03597857430577278,
0.04654805362224579,
-0.009007877670228481,
-0.004062808584421873,
0.005694990046322346,
0.039560552686452866,
0.004210587125271559,
-0.08236782252788544,
-0.019339146092534065,
-0.033367086201906204,
-0.05575885251164436,
-0.0057391030713915825,
0.05794685706496239,
0.02622077614068985,
0.07093372941017151,
-0.022532928735017776,
0.008632916957139969,
0.03860770910978317,
0.015968911349773407,
0.0949312075972557,
-0.042666107416152954,
-0.0035422751680016518,
-0.0018703917739912868,
0.028038231655955315,
-0.011098834685981274,
0.016904106363654137,
0.01327801775187254,
-0.011548787355422974,
-0.06729881465435028,
-0.04965360835194588,
0.010666526854038239,
0.05067703127861023,
0.00982837937772274,
0.010895914398133755,
0.009228442795574665,
0.015836572274565697,
0.07679193466901779,
0.014363197609782219,
-0.01372797042131424,
0.008690264075994492,
0.029432203620672226,
-0.05681756138801575,
-0.02089192345738411,
0.029643945395946503,
0.024544481188058853,
0.09006112813949585,
-0.025779645889997482,
0.010216574184596539,
-0.05702930688858032,
0.04820670187473297,
-0.03301418200135231,
-0.018968597054481506,
0.04997122287750244,
0.011204705573618412,
-0.017839303240180016,
0.014777859672904015,
0.0007576410425826907,
-0.01534250658005476,
-0.06842810660600662,
0.06295809149742126,
-0.008019746281206608,
0.0015627035172656178,
0.01404558401554823,
0.026944229379296303,
-0.023909253999590874,
0.024226868525147438,
0.05191219598054886,
-0.02318580076098442,
-0.0664871335029602,
-0.002232118509709835,
0.015986556187272072,
-0.05967608466744423,
-0.04100745916366577,
0.04001932591199875,
0.07785064727067947,
-0.005602352786809206,
0.030208593234419823,
0.023468123748898506,
0.009210797026753426,
0.008465287275612354,
-0.047994960099458694,
0.031937822699546814,
-0.006934565957635641,
0.04210146144032478,
0.01738934963941574,
0.019815566018223763,
0.030067430809140205,
0.003043798031285405,
-0.00013998989015817642,
-0.015845395624637604,
0.0021758745424449444,
0.07216889411211014,
-0.06666358560323715,
-0.0162600576877594,
0.01237811241298914,
-0.0700867548584938,
-0.0059287892654538155,
0.031143788248300552,
-0.020080244168639183,
0.031867243349552155,
0.0010283846640959382,
0.0010515439789742231,
0.00043396177352406085,
0.04330133646726608,
0.013066275045275688,
-0.0002542012371122837,
0.024579772725701332,
0.09069635719060898,
-0.05346497520804405,
-0.053641427308321,
0.03474340960383415,
-0.05219452083110809,
0.0018406155286356807,
-0.008994643576443195,
0.07015734165906906,
0.01299569383263588,
0.0848381519317627,
-0.025144418701529503,
-0.0018075307598337531,
0.043865982443094254,
-0.027526522055268288,
0.02389160916209221,
0.03257305175065994,
0.0014182333834469318,
-0.0011182649759575725,
-0.00892847403883934,
0.02378573827445507,
-0.00831530336290598,
0.04665392264723778,
0.02892049215734005,
0.03631383553147316,
0.010472429916262627,
0.022462347522377968,
0.0320436954498291,
0.018439240753650665,
-0.03214956447482109,
0.00033498319680802524,
-0.07305115461349487,
0.03257305175065994,
-0.06726352125406265,
-0.022180024534463882,
0.0065066698007285595,
-0.011875223368406296,
0.05477071925997734,
-0.04605398699641228,
0.02182712033390999,
-0.012475160881876945,
-0.0014788887929171324,
-0.02802058681845665,
0.013780905865132809,
0.04248965531587601,
-0.035466864705085754,
0.011090012267231941,
0.008099149912595749,
0.035802122205495834,
0.019074467942118645,
-0.005968491081148386,
-0.05374729633331299,
0.03758428990840912,
-0.005050939973443747,
-0.0017424641409888864,
0.01942737214267254,
-0.016886461526155472,
0.029538074508309364,
-0.008866716176271439,
-0.0023556349333375692,
-0.0980367660522461,
-0.009210797026753426,
0.012519273906946182,
0.0013520638458430767,
0.021015441045165062,
0.017636382952332497
] |
708,653
|
wom_connector.pointofsale
|
POS
|
Create an instance of a WOM PointOfSale able to generate payment instance.
Keys should be loaded using:
privk = open("keys/pos1.pem", "rb")
and provided as:
privk.read()
:rtype: POS
:param domain: str: Domain of the Registry (e.g., wom.social).
:param pos_id: str: Unique instrument ID, assigned by the WOM platform.
:param pos_privk: bytes: POS private key in bytes format.
:param pos_privk_password: bytes: Optional password for POS private key (Default value = None)
|
class POS:
"""
Create an instance of a WOM PointOfSale able to generate payment instance.
Keys should be loaded using:
privk = open("keys/pos1.pem", "rb")
and provided as:
privk.read()
:rtype: POS
:param domain: str: Domain of the Registry (e.g., wom.social).
:param pos_id: str: Unique instrument ID, assigned by the WOM platform.
:param pos_privk: bytes: POS private key in bytes format.
:param pos_privk_password: bytes: Optional password for POS private key (Default value = None)
"""
def __init__(self, domain: str, pos_id: str, pos_privk: bytes, pos_privk_password: str=None):
self.__registry_proxy = RegistryProxy(domain)
self.ID = pos_id
self.__pos_privk = self.__load_private_key(pos_privk, pos_privk_password,
"POS Private Key")
self.__logger = WOMLogger("POS")
@classmethod
def __load_private_key(cls, private_key_str, password, tag):
private_key = load_pem_private_key(private_key_str, password, default_backend())
if not isinstance(private_key, RSAPrivateKey):
raise TypeError("{0} is not a private RSA key" % tag)
return private_key
@staticmethod
def __generate_nonce(nonce=None):
return base64.b64encode(uuid.uuid4().bytes).decode('utf-8') if nonce is None else nonce
def request_payment(self, amount: int,
pocket_ack_url: str,
filter: Filter = None,
pos_ack_url: str = None,
persistent: bool = False,
nonce=None,
password=None) -> (str, str):
"""
Obtains payment requests from WOM Registry through Registry remote API.
It returns a list containing the OTC representing the payment request and the associated password.
:param amount: int: the number of voucher needed as a payment
:param pocket_ack_url: str: the URL to be called for voucher spending notification, on pocket side
:param filter: Filter: filter to be applied on vouchers to be valid for the payment (Default value = None)
:param pos_ack_url: str: the URL to be called for voucher spending notification, on pos side (Default value = None)
:param persistent: bool: is this payment persistent? (Default value = False)
:param nonce: str: Communication nonce. If None, a proper nonce will be generated. (Default value = None)
:param password: str: Payment OTC password. If None, a secure password will be generated by the Registry. (Default value = None)
:returns: OTC, password): (str, str)
:rtype: list(str, str)
"""
# call to payment/register API
response_data = self.__payment_register(amount, pocket_ack_url, filter, pos_ack_url, persistent, nonce, password)
# call to payment/verify API
self.__payment_verify(response_data['otc'])
return response_data['otc'], response_data['password']
def __payment_register(self, amount,
pocket_ack_url: str,
filter: Filter = None,
pos_ack_url: str = None,
persistent: bool = False,
nonce=None,
password=None):
# check arguments
if amount < 1:
raise ValueError("Amount has to be a positive, non-zero, integer")
if len(pocket_ack_url) < 5:
raise ValueError("PocketAckUrl has to be a valid URL")
if pos_ack_url is not None and len(pos_ack_url) < 5:
raise ValueError("PosAckUrl has to be a valid URL or None")
# generate a valid nonce if there is no one
effective_nonce = self.__generate_nonce(nonce)
payload = json.dumps({'posId': self.ID,
'nonce': effective_nonce,
'password': password,
'amount': amount,
'simpleFilter': filter,
'pocketAckUrl': pocket_ack_url,
'posAckUrl': pos_ack_url,
'persistent': persistent
}, cls=FilterEncoder if filter is not None else None)
self.__logger.debug(payload)
# encrypt inner payload
payment_register_payload = Crypto.encrypt(payload,
public_key=self.__registry_proxy.PublicKey)
# make registry request
json_response = self.__registry_proxy.payment_register(source_id=self.ID,
nonce=effective_nonce,
payload=payment_register_payload.decode('utf-8'))
# decode registry response
response = Crypto.decrypt(json_response['payload'], private_key=self.__pos_privk)
return json.loads(response.decode('utf-8'))
def __payment_verify(self, otc):
encrypted_otc = Crypto.encrypt(json.dumps({'otc': otc}), public_key=self.__registry_proxy.PublicKey)
self.__registry_proxy.payment_verify(encrypted_otc.decode('utf-8'))
|
(domain: str, pos_id: str, pos_privk: bytes, pos_privk_password: str = None)
|
[
0.029026316478848457,
-0.07119961827993393,
-0.05908221751451492,
0.026808753609657288,
0.022848820313811302,
-0.044747255742549896,
-0.06549730896949768,
-0.014622056856751442,
0.011117515154182911,
-0.02918471395969391,
0.030471693724393845,
0.012236196547746658,
0.046766821295022964,
0.018116699531674385,
-0.03864895552396774,
0.010325528681278229,
0.04157930985093117,
-0.026571158319711685,
-0.010394827462732792,
-0.022769620642066002,
0.009637489914894104,
0.04890518635511398,
0.03259025886654854,
0.07143720984458923,
-0.031204281374812126,
0.03344164416193962,
0.003380793845281005,
0.020334262400865555,
-0.021225247532129288,
-0.01836419478058815,
-0.0078654196113348,
-0.020373860374093056,
0.04629163071513176,
0.019809570163488388,
-0.018869085237383842,
-0.029897503554821014,
0.020908452570438385,
0.02639296092092991,
-0.10723501443862915,
0.039381545037031174,
-0.010226530022919178,
0.0037644123658537865,
0.03522361442446709,
-0.03811436519026756,
-0.005999300163239241,
0.05179593712091446,
-0.060388997197151184,
0.12703469395637512,
0.025917768478393555,
0.004234654363244772,
0.024967385455965996,
0.011196713894605637,
-0.0254029780626297,
-0.021938035264611244,
0.010087932460010052,
0.024115998297929764,
0.02031446248292923,
0.07947587966918945,
0.04605403542518616,
0.0253237783908844,
-0.013414276763796806,
0.045697640627622604,
0.01682971976697445,
0.02019566483795643,
0.008078265935182571,
0.01794840209186077,
-0.026412760838866234,
-0.03247145935893059,
0.027264146134257317,
0.05765664204955101,
0.06775446981191635,
-0.03496621921658516,
-0.028254130855202675,
0.012384694069623947,
0.05888422206044197,
0.005147914402186871,
0.027917535975575447,
-0.03003610111773014,
-0.006598240230232477,
0.009825586341321468,
-0.004892993718385696,
-0.025422777980566025,
0.014750754460692406,
0.015097249299287796,
0.04161890596151352,
0.0904448926448822,
0.05642906203866005,
-0.010424526408314705,
-0.006192347034811974,
0.012503491714596748,
-0.06636849790811539,
0.008192113600671291,
-0.0314616784453392,
0.0017349461559206247,
0.0511227510869503,
-0.04712321609258652,
-0.018116699531674385,
0.0008520045666955411,
-0.027481943368911743,
0.020868852734565735,
-0.042490094900131226,
0.04324248060584068,
-0.12006520479917526,
0.024670390412211418,
0.039203349500894547,
-0.04502445086836815,
-0.0507267564535141,
0.05302351713180542,
0.04751921072602272,
0.007281329017132521,
-0.04648962616920471,
-0.005949800834059715,
0.03546120971441269,
-0.013443976640701294,
0.0007901305798441172,
0.002838777843862772,
-0.00263583124615252,
0.020908452570438385,
-0.01920568011701107,
-0.006142847705632448,
0.04759840667247772,
-0.01836419478058815,
0.01877998746931553,
0.02441299334168434,
0.04304448515176773,
0.010741321370005608,
0.045539241284132004,
0.018730487674474716,
0.051320746541023254,
-0.03817376494407654,
-0.0041678305715322495,
0.017413809895515442,
0.007127881515771151,
0.014948751777410507,
-0.030214296653866768,
-0.027184948325157166,
0.02314581535756588,
-0.03692638501524925,
-0.060468193143606186,
0.010573023930191994,
0.005697355140000582,
-0.0029922251123934984,
-0.002690280321985483,
-0.01920568011701107,
-0.04217329993844032,
-0.004123281221836805,
-0.037203580141067505,
0.0009998833993449807,
-0.025719773024320602,
-0.055874671787023544,
-0.007954517379403114,
-0.012780687771737576,
-0.022789420560002327,
0.004492050502449274,
0.004789045546203852,
-0.017661307007074356,
0.025165380910038948,
0.006271545775234699,
-0.04304448515176773,
0.0069744340144097805,
-0.018948284909129143,
-0.0008086927700787783,
0.013305379077792168,
-0.0281155314296484,
0.002107427455484867,
0.02613556571304798,
0.004578673746436834,
-0.04712321609258652,
0.008355461061000824,
0.019651172682642937,
-0.027481943368911743,
-0.012097598984837532,
-0.03140227869153023,
-0.016206029802560806,
-0.03308524936437607,
0.05524108186364174,
0.03324364870786667,
-0.04708361625671387,
-0.07052642852067947,
-0.021740037947893143,
-0.02827392891049385,
-0.023581407964229584,
-0.03676798939704895,
-0.008890052326023579,
0.016859419643878937,
0.005647856276482344,
0.05448869243264198,
0.043400876224040985,
0.04403446614742279,
0.010097832418978214,
-0.018621589988470078,
0.043480075895786285,
0.04969717189669609,
0.005598356947302818,
-0.013622173108160496,
0.03615419939160347,
0.009300895035266876,
0.019274979829788208,
-0.038510359823703766,
0.054765887558460236,
-0.009543441236019135,
-0.007667422294616699,
-0.00010479903721716255,
-0.05290472134947777,
-0.015414043329656124,
-0.022136032581329346,
-0.03259025886654854,
0.01913638226687908,
0.0022311753127723932,
-0.06522011756896973,
0.041024915874004364,
-0.0025343578308820724,
-0.019769970327615738,
0.018383994698524475,
0.005321161355823278,
-0.015582340769469738,
0.013364777900278568,
-0.019403677433729172,
-0.004415326751768589,
-0.010454226285219193,
0.0673188790678978,
0.002085152780637145,
-0.04835079610347748,
-0.08735615015029907,
0.018839387223124504,
0.04526204615831375,
-0.011137315072119236,
-0.018651289865374565,
-0.014077565632760525,
-0.03439202904701233,
0.05353831127285957,
0.0011403373209759593,
0.0018772563198581338,
0.045816436409950256,
0.02379920333623886,
-0.08672256022691727,
-0.006910085212439299,
-0.008454459719359875,
-0.00946919247508049,
0.043480075895786285,
0.02142324298620224,
-0.02724434621632099,
0.0453016459941864,
0.039005350321531296,
-0.041104115545749664,
0.05337991192936897,
0.028669923543930054,
-0.008538607507944107,
0.04783600568771362,
-0.019760072231292725,
0.00745952595025301,
-0.052350327372550964,
-0.003893110202625394,
-0.004863294307142496,
-0.032926853746175766,
-0.07741671055555344,
0.02490798570215702,
0.03750057518482208,
0.04712321609258652,
-0.016077332198619843,
0.00502169132232666,
-0.000036486308090388775,
-0.05512228235602379,
-0.00404655747115612,
-0.015572440810501575,
-0.01218669768422842,
0.017879102379083633,
-0.010949217714369297,
0.01065222267061472,
-0.011820402927696705,
0.054765887558460236,
0.00679128710180521,
-0.03152107447385788,
0.012364894151687622,
-0.021185647696256638,
-0.03213486447930336,
0.016889119520783424,
0.005266712512820959,
-0.024571390822529793,
-0.03167947381734848,
0.020552057772874832,
-0.01054332498461008,
0.08078265935182571,
0.001728758797980845,
-0.026036566123366356,
-0.021680640056729317,
0.004759345669299364,
0.027481943368911743,
0.019542274996638298,
-0.03692638501524925,
-0.05868622288107872,
0.054963886737823486,
0.007172430865466595,
-0.02080945298075676,
0.0451432503759861,
0.042450495064258575,
-0.05741904303431511,
-0.012137197889387608,
0.017968202009797096,
-0.016285229474306107,
-0.013434076681733131,
0.05349871143698692,
0.03542160987854004,
-0.048073600977659225,
0.019037382677197456,
0.015612040646374226,
0.08759374171495438,
-0.023997200652956963,
-0.03468902409076691,
0.025541575625538826,
-0.01606743223965168,
0.039539940655231476,
0.05726064741611481,
-0.0023747230879962444,
0.009855286218225956,
-0.03367923945188522,
0.05314231663942337,
-0.006900185253471136,
0.08082225918769836,
0.08569297194480896,
0.00921674631536007,
0.032847654074430466,
-0.0013686522142961621,
0.010889818891882896,
0.06589330732822418,
-0.007197180297225714,
-0.020868852734565735,
0.02781853638589382,
0.022749820724129677,
-0.02548217587172985,
-0.10731421411037445,
-0.024808987975120544,
-0.014325061812996864,
0.028412526473402977,
0.0126618891954422,
-0.003945084288716316,
-0.01816619746387005,
-0.07836709916591644,
-0.03201606869697571,
-0.030194498598575592,
0.0068902852945029736,
-0.034035634249448776,
-0.059399012476205826,
-0.001892106025479734,
-0.006984333973377943,
-0.07836709916591644,
0.043559275567531586,
-0.014285461977124214,
0.014176564291119576,
0.00420000497251749,
-0.017780104652047157,
0.006835836451500654,
0.07907988131046295,
0.08173304051160812,
0.07211039960384369,
-0.04419286549091339,
-0.02987770363688469,
0.02195783518254757,
0.004704896826297045,
0.0002649752714205533,
0.004578673746436834,
-0.003390693571418524,
-0.014315161854028702,
0.02548217587172985,
-0.05714184790849686,
-0.04894478619098663,
0.007984217256307602,
-0.02158164046704769,
0.05076635628938675,
-0.012681689113378525,
0.008167363703250885,
-0.017730604857206345,
-0.06430932879447937,
0.005246912594884634,
-0.003489691996946931,
0.02080945298075676,
0.006979383993893862,
0.011384810321033001,
-0.08252502977848053,
-0.027521541342139244,
0.0253237783908844,
0.011523407883942127,
-0.005321161355823278,
0.035520609468221664,
0.06898204982280731,
-0.03730257973074913,
0.016324829310178757,
0.02766014076769352,
0.018235497176647186,
-0.006929884664714336,
-0.02326461300253868,
0.019542274996638298,
-0.00199481681920588,
0.0283927284181118,
-0.027561141178011894,
-0.02524458058178425,
-0.010929417796432972,
0.002744729397818446,
-0.08672256022691727,
-0.05159794166684151,
0.03561960905790329,
-0.05555787682533264,
-0.0031209231819957495,
-0.0003121541813015938,
-0.013948868028819561,
-0.04039132967591286,
0.025145580992102623,
-0.012562891468405724,
-0.016077332198619843,
0.047994401305913925,
-0.060468193143606186,
-0.006707138381898403,
0.03627299517393112,
-0.05231073126196861,
-0.058171432465314865,
-0.05436989665031433,
-0.008414859883487225,
0.07642672955989838,
0.016196129843592644,
0.029046116396784782,
0.025957368314266205,
-0.00797431729733944,
0.012236196547746658,
0.031738873571157455,
-0.028709521517157555,
0.029105516150593758,
0.00010534043394727632,
0.0067368377931416035,
-0.025581173598766327,
0.037243179976940155,
0.012820286676287651,
0.040114134550094604,
-0.06929884850978851,
-0.04395527020096779,
0.04058932512998581,
-0.00809311494231224,
-0.008989050053060055,
-0.02769973874092102,
-0.01245399285107851,
0.0734567791223526,
-0.01384986937046051,
0.012463892810046673,
0.026848353445529938,
0.01054332498461008,
0.046766821295022964,
-0.022591425105929375,
-0.06102258339524269,
-0.03643139451742172,
0.038431160151958466,
0.009919635020196438,
0.005246912594884634,
0.004494525026530027,
0.05337991192936897,
0.0031456726137548685,
-0.01813649758696556,
-0.030669689178466797,
0.031243879348039627,
-0.0018401319393888116,
-0.013434076681733131,
-0.032154664397239685,
0.036094799637794495,
-0.010102782398462296,
0.018680989742279053,
0.04819239675998688,
-0.03144187852740288,
0.06993243843317032,
-0.01147390902042389,
-0.0019700671546161175,
0.019274979829788208,
0.03898555040359497,
-0.011444210074841976,
0.000625855231191963,
-0.03575820475816727,
-0.030788488686084747,
-0.009607790037989616,
-0.006919984705746174,
0.008721754886209965,
-0.030808286741375923,
-0.06347774714231491,
-0.0627649575471878,
-0.039044950157403946,
-0.06862565875053406,
0.06423012912273407,
0.0033832688350230455,
-0.05563707277178764,
-0.07171440869569778,
0.06403213739395142,
-0.04205450043082237,
-0.01004338264465332,
0.011652106419205666,
-0.022710222750902176,
0.027481943368911743,
0.003940134309232235,
0.026729555800557137,
-0.009508791379630566,
0.012424292974174023,
-0.021759837865829468,
0.018918585032224655,
-0.004912793170660734,
-0.07373397052288055,
-0.02043326012790203,
0.04997436702251434,
0.044549260288476944,
-0.012948984280228615,
0.03783717006444931,
-0.05880502238869667,
-0.05765664204955101,
0.029719306156039238,
-0.012028300203382969,
0.023403210565447807,
-0.05322151631116867,
-0.008756404742598534,
0.00015514898404944688,
-0.056825052946805954,
-0.04961797595024109,
0.034075234085321426,
0.03944094479084015,
0.05444909259676933,
-0.05302351713180542,
-0.06898204982280731,
0.07317958027124405,
0.03967854008078575,
0.04882598668336868,
-0.011493708938360214,
0.010978917591273785,
0.06082458794116974,
-0.055993467569351196,
-0.03639179468154907,
0.0008247800287790596,
0.010068132542073727,
0.0010852694977074862,
0.0020430784206837416,
-0.042252495884895325,
-0.05302351713180542,
0.021225247532129288,
-0.010721521452069283,
-0.023363610729575157,
-0.048152800649404526,
0.015483342111110687,
0.012097598984837532,
-0.024927785620093346,
-0.001968829659745097,
-0.07801070064306259,
-0.055874671787023544,
-0.05951780825853348,
0.02368040569126606,
0.02728394605219364,
0.013087581843137741,
-0.05535987764596939,
-0.027759138494729996,
0.0565478578209877,
-0.034451425075531006,
0.04312368109822273,
0.011830302886664867,
0.05757744237780571,
0.04601443558931351,
0.03340204432606697,
-0.020225362852215767,
0.013325178064405918,
0.0002754938614089042,
0.016235729679465294,
-0.010533425025641918,
-0.09971114248037338,
-0.004029233008623123,
-0.041222915053367615,
-0.01599813438951969,
-0.007360527757555246,
0.0026506809517741203,
-0.04652922600507736,
0.03763917461037636,
0.0338178388774395,
0.003898060182109475,
0.004222279880195856,
0.023819003254175186,
-0.03247145935893059,
-0.05413230136036873,
-0.015315045602619648,
0.005717155057936907,
0.008177263662219048,
-0.013978567905724049,
0.06296294927597046,
0.034827619791030884,
-0.0025615824852138758,
-0.1233915463089943,
0.029659906402230263,
0.050093166530132294,
0.03041229397058487,
0.017918702214956284,
0.058171432465314865,
-0.020136265084147453,
-0.0254029780626297,
0.006286395248025656,
-0.014750754460692406,
-0.026610758155584335,
-0.015968434512615204,
0.04823199659585953,
-0.010028533637523651,
0.01054332498461008,
0.030729088932275772,
0.012335195206105709,
0.0033783188555389643,
0.03866875544190407,
0.04074772074818611,
-0.07991147041320801,
0.027481943368911743,
-0.016433726996183395,
-0.06712087988853455,
-0.012939084321260452,
0.051281146705150604,
-0.0013340028235688806,
0.05175633728504181,
-0.02257162518799305,
0.022393427789211273,
-0.021205447614192963,
-0.02655135840177536,
-0.007523874752223492,
-0.05979500710964203,
0.017344512045383453,
0.014226063154637814,
0.008890052326023579,
-0.004398001823574305,
0.03261005878448486,
-0.04435126110911369,
0.010013683699071407,
-0.08680175244808197,
-0.02219543047249317,
-0.02207663282752037,
-0.03856975957751274,
0.019037382677197456,
0.0038856854662299156,
0.018770087510347366,
0.03128347918391228,
0.05520148202776909,
-0.050370361655950546,
-0.008162414655089378,
0.008706904947757721,
-0.0018710688455030322,
-0.02823433093726635,
-0.024195197969675064,
0.028135331347584724,
-0.0063853939063847065,
0.026274163275957108,
-0.04977637156844139,
-0.013958767987787724,
-0.07084321975708008,
0.01881958730518818,
-0.025838570669293404,
-0.045658040791749954,
0.039579540491104126,
-0.015621939674019814,
-0.01564173959195614,
0.05413230136036873,
-0.00020217319251969457,
-0.0022410752717405558,
-0.03363963961601257,
-0.019542274996638298,
-0.016611924394965172,
0.059359412640333176,
0.044628456234931946,
0.014790354296565056,
-0.013899369165301323,
-0.0009045974584296346,
0.042331695556640625,
-0.00200842902995646,
-0.03160027414560318,
0.010053282603621483,
0.051399946212768555,
-0.036055199801921844,
-0.013463775627315044,
0.01648322492837906,
0.041262514889240265,
-0.015315045602619648,
0.04862799122929573,
0.03973793983459473,
0.0224132277071476,
0.006222046446055174,
0.0056033069267869,
0.006217096466571093,
0.03914394974708557,
0.052627526223659515,
0.017413809895515442,
0.029521308839321136,
0.02199743315577507,
-0.024967385455965996,
-0.004845969378948212,
0.0449848510324955,
0.037401579320430756,
0.02983810380101204,
-0.07013043016195297,
-0.07420916855335236,
0.013978567905724049,
-0.05880502238869667,
0.031738873571157455,
-0.017730604857206345,
-0.01652282476425171,
0.018997784703969955,
-0.04157930985093117,
0.000611624214798212,
-0.003992108628153801,
-0.006132948212325573,
0.0009274908225052059,
-0.018948284909129143,
0.040114134550094604,
0.033540643751621246,
-0.0010450513800606132,
0.007682272233068943,
-0.014067665673792362,
-0.05219193175435066,
0.04744001105427742,
-0.003242196049541235,
0.035520609468221664,
0.05393430218100548,
0.09495922178030014,
-0.08371300995349884,
-0.003734712954610586,
0.045499641448259354,
-0.0618937686085701,
0.06553690880537033,
-0.027877936139702797,
0.0024044224992394447,
-0.058171432465314865,
0.001007926999591291,
0.04704401642084122,
-0.025185180827975273,
0.0567062571644783,
0.011929301545023918,
0.032689254730939865,
-0.028174931183457375,
0.018146397545933723,
0.0018141447799280286,
-0.037243179976940155,
0.03528301417827606,
-0.04846959188580513,
-0.010097832418978214,
-0.0032124966382980347,
-0.08933611214160919,
0.008236663416028023,
0.005207313224673271,
-0.025462375953793526,
0.051281146705150604,
-0.019601674750447273,
0.03997553512454033,
-0.013533075340092182,
0.013394476845860481,
0.005791403818875551,
0.03817376494407654,
0.014849753119051456,
-0.03209526464343071,
-0.0127212880179286,
0.002554157515987754,
0.050370361655950546,
0.012374794110655785,
-0.004316328093409538,
0.0030293494928628206,
-0.026788953691720963,
-0.0071080815978348255,
-0.0032694207038730383,
0.06652688980102539,
-0.02215583063662052,
-0.024670390412211418,
-0.06074538826942444,
-0.0156516395509243,
-0.035025618970394135,
0.013315278105437756,
0.061458177864551544,
0.05211273208260536,
-0.02146284282207489,
-0.0011991175124421716
] |
708,655
|
wom_connector.pointofsale
|
__payment_register
| null |
def __payment_register(self, amount,
pocket_ack_url: str,
filter: Filter = None,
pos_ack_url: str = None,
persistent: bool = False,
nonce=None,
password=None):
# check arguments
if amount < 1:
raise ValueError("Amount has to be a positive, non-zero, integer")
if len(pocket_ack_url) < 5:
raise ValueError("PocketAckUrl has to be a valid URL")
if pos_ack_url is not None and len(pos_ack_url) < 5:
raise ValueError("PosAckUrl has to be a valid URL or None")
# generate a valid nonce if there is no one
effective_nonce = self.__generate_nonce(nonce)
payload = json.dumps({'posId': self.ID,
'nonce': effective_nonce,
'password': password,
'amount': amount,
'simpleFilter': filter,
'pocketAckUrl': pocket_ack_url,
'posAckUrl': pos_ack_url,
'persistent': persistent
}, cls=FilterEncoder if filter is not None else None)
self.__logger.debug(payload)
# encrypt inner payload
payment_register_payload = Crypto.encrypt(payload,
public_key=self.__registry_proxy.PublicKey)
# make registry request
json_response = self.__registry_proxy.payment_register(source_id=self.ID,
nonce=effective_nonce,
payload=payment_register_payload.decode('utf-8'))
# decode registry response
response = Crypto.decrypt(json_response['payload'], private_key=self.__pos_privk)
return json.loads(response.decode('utf-8'))
|
(self, amount, pocket_ack_url: str, filter: Optional[wom_connector.filter.Filter] = None, pos_ack_url: Optional[str] = None, persistent: bool = False, nonce=None, password=None)
|
[
-0.023370124399662018,
-0.04858668893575668,
-0.0013474931474775076,
0.023388227447867393,
0.0333264134824276,
0.05832574889063835,
-0.05170029029250145,
-0.02574153058230877,
0.026302704587578773,
-0.07295244187116623,
0.07038190960884094,
0.009191464632749557,
0.019532427191734314,
0.03189632669091225,
-0.0062996153719723225,
-0.03466598689556122,
0.0751609280705452,
0.0021224997472018003,
-0.006064284592866898,
0.022356392815709114,
0.006521368864923716,
0.0005000772071070969,
0.030466243624687195,
0.04912975803017616,
-0.03491941839456558,
0.021179741248488426,
-0.0039893039502203465,
0.023333920165896416,
-0.07175768911838531,
0.01815664954483509,
0.026827672496438026,
-0.01736919768154621,
0.054813895374536514,
0.007666341960430145,
-0.05571901053190231,
0.0357702299952507,
-0.03394189104437828,
0.028094835579395294,
-0.030828289687633514,
-0.02295377105474472,
0.05260540917515755,
0.004869529977440834,
-0.02000308781862259,
0.006951299495995045,
0.035806432366371155,
0.0564069002866745,
-0.05434323102235794,
0.09992492944002151,
0.025397587567567825,
0.03227647766470909,
0.005960196256637573,
0.024691594764590263,
-0.06277892738580704,
-0.022211574018001556,
0.014789613895118237,
-0.013232812285423279,
0.05850677192211151,
0.07545056194067001,
0.044676583260297775,
0.03631329908967018,
0.02061856910586357,
0.05579141899943352,
0.0033059404231607914,
0.004328722599893808,
-0.024764005094766617,
0.015739986672997475,
0.009901981800794601,
-0.04442314803600311,
0.009377013891935349,
-0.0006675238837487996,
0.07501611113548279,
-0.02179522067308426,
0.022229677066206932,
0.005064130295068026,
0.06719589978456497,
0.014273697510361671,
0.04721090942621231,
-0.014509027823805809,
-0.0488763265311718,
0.044640377163887024,
0.03772528097033501,
-0.04210605099797249,
-0.005159167572855949,
0.006326769012957811,
-0.01214667223393917,
0.06259790062904358,
-0.005643405485898256,
-0.027823301032185555,
0.002434764988720417,
0.041273340582847595,
-0.031009312719106674,
-0.03169720247387886,
0.05039692297577858,
0.008060067892074585,
0.062163446098566055,
-0.03515474870800972,
0.006684290245175362,
0.007743277121335268,
0.05466907471418381,
0.008548831567168236,
-0.054234620183706284,
0.021759016439318657,
-0.08117090165615082,
-0.026375113055109978,
0.02215726673603058,
-0.010553665459156036,
-0.004466752987354994,
0.053293295204639435,
0.003959887661039829,
-0.029180975630879402,
0.038992445915937424,
-0.011178196407854557,
0.00042597076389938593,
0.010309284552931786,
-0.0034122916404157877,
-0.005960196256637573,
0.01748686283826828,
0.0016043201321735978,
0.00040136289317160845,
-0.03390568867325783,
0.009585190564393997,
0.023116691038012505,
0.020093601197004318,
-0.010725637897849083,
0.046341996639966965,
0.0555017814040184,
0.05209854245185852,
0.011739369481801987,
0.025234665721654892,
-0.013965957798063755,
-0.02574153058230877,
0.05336570739746094,
0.021089229732751846,
-0.0192427895963192,
-0.038449376821517944,
-0.022211574018001556,
0.008648394607007504,
-0.05865158885717392,
-0.040440633893013,
0.010879508219659328,
-0.013938804157078266,
0.009123580530285835,
-0.01946001872420311,
0.021197842434048653,
0.012925072573125362,
-0.06788378208875656,
0.012019955553114414,
0.009883878752589226,
0.01685328036546707,
-0.03500993177294731,
-0.016038674861192703,
0.027606071904301643,
0.04438694566488266,
0.0043015689589083195,
0.03401430323719978,
0.023750273510813713,
0.0488763265311718,
0.003901054849848151,
-0.03462978079915047,
0.03173340857028961,
-0.022881360724568367,
0.0061140661127865314,
-0.03649432212114334,
0.006521368864923716,
-0.028058631345629692,
0.0008185653132386506,
0.012391053140163422,
0.0005187452770769596,
-0.005267781671136618,
0.007616560906171799,
0.022971872240304947,
-0.05807231366634369,
-0.013522449880838394,
0.007933352142572403,
-0.02735264040529728,
0.012662588618695736,
0.028710315003991127,
0.00040079717291519046,
-0.04206984490156174,
-0.04659543186426163,
0.031552381813526154,
0.010798047296702862,
-0.018862640485167503,
0.005127488635480404,
0.013305221684277058,
-0.04362664744257927,
0.03401430323719978,
0.026737160980701447,
0.0734231024980545,
0.04554549604654312,
0.07443683594465256,
0.06878890097141266,
0.03616848215460777,
-0.02137886732816696,
-0.03567971661686897,
-0.028239654377102852,
-0.005417126230895519,
0.01706145890057087,
-0.036186583340168,
0.0479712076485157,
-0.0037290826439857483,
-0.022881360724568367,
-0.022845156490802765,
-0.061584170907735825,
-0.0036385708954185247,
-0.013975008390843868,
-0.062344469130039215,
0.016979997977614403,
-0.01383018959313631,
-0.12468893826007843,
0.008684598840773106,
-0.04818843677639961,
-0.00900139007717371,
0.031986840069293976,
-0.04402489587664604,
0.005163693334907293,
0.003219954203814268,
-0.054053597152233124,
0.03497372567653656,
-0.04456796869635582,
0.04000617563724518,
0.033344514667987823,
-0.04199743643403053,
-0.03653052821755409,
0.008603137917816639,
0.030230911448597908,
0.0010233480716124177,
-0.007915249094367027,
-0.021541787311434746,
-0.011648857966065407,
0.017170071601867676,
0.021903835237026215,
0.043155986815690994,
-0.02780519798398018,
-0.01249061618000269,
-0.06143935024738312,
0.04243189096450806,
-0.0028986376710236073,
0.023261509835720062,
0.04865909740328789,
0.047464340925216675,
-0.051664087921381,
0.021053025498986244,
0.007177578750997782,
-0.01982206478714943,
0.02550620026886463,
-0.0011387504637241364,
-0.0032561589032411575,
0.03801491856575012,
-0.01708861067891121,
-0.054994918406009674,
-0.028583599254488945,
-0.015930062159895897,
-0.029072362929582596,
-0.03403240442276001,
-0.051229629665613174,
-0.005163693334907293,
0.051084812730550766,
-0.004328722599893808,
-0.01888074353337288,
-0.029470613226294518,
-0.0008168682106770575,
-0.019532427191734314,
-0.08855666220188141,
-0.07400237768888474,
-0.0103364372625947,
0.014590487815439701,
-0.018754027783870697,
0.030792085453867912,
-0.010607972741127014,
-0.006462536286562681,
0.023333920165896416,
0.014309901744127274,
-0.03363415226340294,
-0.030683470889925957,
-0.046160973608493805,
0.02528897300362587,
0.01439136266708374,
0.035353876650333405,
-0.035227157175540924,
-0.001029570703394711,
-0.05655171722173691,
0.09094616770744324,
-0.04196123033761978,
-0.012409156188368797,
0.0032538960222154856,
0.01288886833935976,
0.0939873605966568,
-0.0018430447671562433,
-0.03497372567653656,
-0.06455295532941818,
0.03772528097033501,
-0.011721267364919186,
0.01946001872420311,
-0.015649475157260895,
0.03017660602927208,
-0.040549248456954956,
0.009191464632749557,
0.001057290006428957,
-0.0070689646527171135,
0.004824274219572544,
0.03296436741948128,
-0.014699102379381657,
0.007747802883386612,
-0.0008609927026554942,
-0.025126051157712936,
0.029651638120412827,
0.007041811477392912,
-0.08138813078403473,
0.017323942855000496,
-0.009856726042926311,
0.05206233635544777,
0.037146005779504776,
-0.0019742867443710566,
0.0216504018753767,
0.0021926462650299072,
0.057855088263750076,
-0.0192427895963192,
0.05300366133451462,
0.03473839536309242,
0.07338690012693405,
-0.03906485438346863,
-0.07262659817934036,
0.0103364372625947,
0.0012456674594432116,
0.039788950234651566,
-0.02461918629705906,
0.04083888605237007,
-0.00767991878092289,
-0.03227647766470909,
-0.07295244187116623,
0.0034122916404157877,
0.013368580490350723,
0.0023555674124509096,
-0.03312728554010391,
-0.003439445048570633,
-0.03276523947715759,
-0.09558036923408508,
-0.06925956159830093,
-0.025270869955420494,
-0.03138946369290352,
-0.015396042726933956,
-0.0771883875131607,
-0.006661661900579929,
-0.025270869955420494,
-0.05923086404800415,
-0.02999558113515377,
-0.05789129063487053,
0.03363415226340294,
-0.020274624228477478,
-0.007200206629931927,
0.02061856910586357,
0.028818929567933083,
0.04507483169436455,
0.05528455600142479,
0.0011630755616351962,
-0.022754644975066185,
0.017767449840903282,
-0.03434014320373535,
-0.02367786504328251,
0.04319218918681145,
-0.02999558113515377,
0.03555300086736679,
-0.017106713727116585,
-0.013178505934774876,
-0.029398204758763313,
0.00767991878092289,
0.02635701186954975,
0.001103677204810083,
-0.014653846621513367,
0.031244643032550812,
0.001080483547411859,
-0.051772698760032654,
0.040875088423490524,
-0.034593578428030014,
-0.0017434818437322974,
0.005190846975892782,
0.016445977613329887,
-0.05521214380860329,
-0.05300366133451462,
0.03841317072510719,
0.00809174682945013,
-0.05242438614368439,
-0.019405711442232132,
0.01708861067891121,
-0.039752744138240814,
0.015649475157260895,
0.05380016192793846,
-0.005629828665405512,
-0.021505583077669144,
0.00966665055602789,
-0.00013060557830613106,
0.00878868717700243,
0.011467834003269672,
-0.045617904514074326,
-0.013594859279692173,
-0.009720957837998867,
0.0055890982039272785,
-0.09825951606035233,
0.02927148900926113,
0.024764005094766617,
-0.10760032385587692,
0.012662588618695736,
-0.04902114346623421,
-0.0058153774589300156,
-0.01107863336801529,
-0.001307894242927432,
0.0216504018753767,
-0.03314539045095444,
0.02878272533416748,
0.0024234510492533445,
-0.0667252317070961,
0.01724248193204403,
-0.04250429943203926,
-0.055755216628313065,
-0.05702237784862518,
-0.015531810000538826,
-0.0058425310999155045,
-0.030864493921399117,
0.014545232057571411,
0.027551766484975815,
-0.011259657330811024,
-0.024148525670170784,
0.04290255159139633,
-0.030249014496803284,
0.061946216970682144,
0.002513962797820568,
0.045400675386190414,
-0.03021281026303768,
0.03794251009821892,
0.00029699155129492283,
0.0038761640898883343,
-0.004473541397601366,
-0.03510044142603874,
0.008720804005861282,
0.014328003861010075,
0.03401430323719978,
-0.0338875837624073,
-0.003720031352713704,
0.0685354694724083,
0.02650183066725731,
0.005720340181142092,
0.015685679391026497,
0.0010923632653430104,
0.04286634922027588,
-0.03138946369290352,
-0.021867629140615463,
-0.009195989929139614,
0.026755262166261673,
0.013866394758224487,
0.0413457490503788,
-0.04304737225174904,
0.07653670758008957,
0.022808952257037163,
0.014165082946419716,
-0.02259172312915325,
0.019514326006174088,
-0.03772528097033501,
-0.006607355084270239,
0.008770585060119629,
0.03555300086736679,
0.00037590647116303444,
-0.0046568275429308414,
0.04905734956264496,
-0.02811293862760067,
0.08689124137163162,
-0.005408074706792831,
-0.02613978274166584,
0.0014730781549587846,
0.0070282346569001675,
-0.03743564337491989,
0.03986135870218277,
-0.05115722119808197,
0.005847056861966848,
-0.06440813839435577,
-0.0244381632655859,
-0.002036513527855277,
0.010345488786697388,
-0.06089628115296364,
0.0015997944865375757,
-0.040295813232660294,
-0.03075588122010231,
0.027497459203004837,
0.0545242577791214,
-0.02474590204656124,
-0.0216504018753767,
0.08189500123262405,
-0.0040300339460372925,
0.007001081015914679,
0.03401430323719978,
-0.026429420337080956,
-0.02474590204656124,
0.03949931263923645,
0.04424212500452995,
0.008711752481758595,
0.007675393484532833,
-0.025524303317070007,
0.010282130911946297,
-0.012789305299520493,
-0.03815973922610283,
-0.052532996982336044,
0.0067748017609119415,
0.010399796068668365,
0.040440633893013,
-0.021487480029463768,
-0.035842638462781906,
0.004394343588501215,
0.022356392815709114,
-0.014101725071668625,
0.03685636818408966,
-0.05025210231542587,
0.022971872240304947,
-0.059122249484062195,
-0.030683470889925957,
-0.03352553769946098,
0.02295377105474472,
0.08623956143856049,
0.007793058641254902,
-0.06668902933597565,
-0.07001986354589462,
0.04348182678222656,
0.037906304001808167,
0.04348182678222656,
0.005245153792202473,
0.020817693322896957,
0.021813323721289635,
-0.00614121975377202,
-0.00936796236783266,
-0.04666784033179283,
-0.015169763006269932,
0.014165082946419716,
0.010001543909311295,
-0.03211355581879616,
-0.0277508907020092,
-0.0013452303828671575,
-0.05398118495941162,
-0.0075034210458397865,
0.002207354409620166,
0.002165492856875062,
0.0029122144915163517,
-0.057855088263750076,
0.04587133601307869,
-0.04478519409894943,
-0.02613978274166584,
-0.028438780456781387,
0.04764536768198013,
0.016219699755311012,
0.008372333832085133,
-0.03721841797232628,
-0.0004893289296887815,
-0.004982669837772846,
-0.028710315003991127,
-0.00538092153146863,
-0.00828634761273861,
0.12439929693937302,
0.05865158885717392,
0.04496622085571289,
0.002638416364789009,
-0.012110467068850994,
0.011992801912128925,
0.03560730814933777,
0.024220934137701988,
-0.06810101121664047,
0.014626692980527878,
-0.05209854245185852,
-0.04442314803600311,
-0.025216562673449516,
-0.03870280832052231,
-0.02461918629705906,
0.0315161794424057,
0.0249269250780344,
-0.0013927490217611194,
0.0009916690178215504,
0.049346987158060074,
-0.024945028126239777,
-0.07588502019643784,
0.06169278547167778,
-0.007408383768051863,
-0.007698021363466978,
0.03146187216043472,
0.009811469353735447,
0.04112852364778519,
-0.03539007902145386,
-0.04949180409312248,
0.016744667664170265,
0.07248178124427795,
0.03090069815516472,
0.04123713821172714,
0.013422886840999126,
-0.038630399852991104,
0.013522449880838394,
-0.0451834462583065,
0.01918848417699337,
-0.004733762703835964,
-0.009865776635706425,
-0.016491234302520752,
-0.036186583340168,
-0.05485009774565697,
0.037327032536268234,
0.008449268527328968,
0.020546158775687218,
0.00231936271302402,
-0.02201244793832302,
-0.09753542393445969,
0.01390259899199009,
-0.00941321812570095,
-0.041092317551374435,
0.007838314399123192,
0.02389509230852127,
-0.04178020730614662,
0.028945645317435265,
-0.01091571245342493,
-0.017649784684181213,
-0.04435073956847191,
-0.0234968401491642,
-0.0003317820082884282,
-0.016554592177271843,
-0.009883878752589226,
-0.0015522758476436138,
0.05289504677057266,
-0.020781489089131355,
0.0769711583852768,
-0.02717161551117897,
0.03251180797815323,
-0.02865600772202015,
-0.03287385404109955,
-0.04938318952918053,
0.003959887661039829,
0.021940039470791817,
-0.032982468605041504,
0.006331294309347868,
0.08247427642345428,
0.025850145146250725,
-0.03707359731197357,
-0.04721090942621231,
-0.0545966662466526,
-0.044133510440588,
0.018238110467791557,
-0.021107330918312073,
0.01364916656166315,
-0.0536191388964653,
0.014690050855278969,
-0.02671905793249607,
-0.02789570949971676,
-0.0202203169465065,
-0.006168373394757509,
-0.03146187216043472,
-0.05604485422372818,
-0.02210296131670475,
-0.07001986354589462,
0.02012980543076992,
0.05771026760339737,
-0.012382002547383308,
0.0395355150103569,
0.00837685912847519,
0.04645061120390892,
0.009404166601598263,
0.07298864424228668,
0.0060280803591012955,
0.03982515260577202,
0.023080486804246902,
-0.013259965926408768,
0.055936239659786224,
0.047283317893743515,
-0.009218618273735046,
0.04004238173365593,
0.05981013923883438,
-0.10484877228736877,
-0.05662412941455841,
0.013495296239852905,
-0.03120843879878521,
-0.013477194122970104,
0.019405711442232132,
0.06788378208875656,
0.07233696430921555,
0.0027040373533964157,
-0.01214667223393917,
0.0545966662466526,
0.002971047069877386,
0.06440813839435577,
-0.029253385961055756,
-0.044097308069467545,
0.06839065253734589,
0.02291756682097912,
-0.011974699795246124,
0.04583513364195824,
0.01906176656484604,
-0.02802242711186409,
-0.01663605310022831,
-0.011974699795246124,
0.029705943539738655,
-0.010354540310800076,
-0.009245771914720535,
-0.03870280832052231,
0.01681707613170147,
0.08138813078403473,
-0.01973155327141285,
0.016038674861192703,
0.011784625239670277,
-0.018500594422221184,
0.028927544131875038,
0.015468452125787735,
0.04007858783006668,
-0.004887632559984922,
-0.012581128627061844,
0.012716895900666714,
-0.02923528291285038,
0.003871638560667634,
0.06310476362705231,
0.028728418052196503,
-0.020690977573394775,
0.013522449880838394,
0.033833280205726624,
-0.023641658946871758,
-0.06882510334253311,
-0.01815664954483509,
0.019116073846817017,
0.08573269844055176,
-0.005163693334907293,
0.035842638462781906,
-0.0356978215277195,
-0.020690977573394775,
0.025994963943958282,
-0.006376550067216158,
0.016491234302520752,
-0.0050867581740021706,
0.07161286473274231,
-0.02668285369873047,
0.026284601539373398,
-0.054270822554826736,
-0.016292108222842216,
0.05437943711876869,
-0.050867583602666855,
0.01077994517982006,
0.02192193642258644,
-0.05224335938692093,
-0.00008032914774958044,
0.021541787311434746,
0.057094790041446686,
0.028637906536459923,
0.016563642770051956,
0.025126051157712936,
0.005100334994494915,
0.00013463616778608412,
0.07878139615058899,
0.02313479408621788,
0.023569250479340553,
-0.054234620183706284,
-0.04648681730031967,
0.03895623981952667,
-0.012155722826719284,
0.03747184947133064,
-0.022247780114412308,
0.019496222957968712,
-0.02613978274166584,
0.013640115037560463,
-0.0033806124702095985,
0.08175017684698105,
-0.03236698731780052,
-0.0375804640352726,
-0.057420630007982254,
0.007648239843547344,
-0.002162098651751876,
-0.04938318952918053,
0.0460885651409626,
0.03350743651390076,
-0.006209103390574455,
-0.023297715932130814
] |
708,656
|
wom_connector.pointofsale
|
__payment_verify
| null |
def __payment_verify(self, otc):
encrypted_otc = Crypto.encrypt(json.dumps({'otc': otc}), public_key=self.__registry_proxy.PublicKey)
self.__registry_proxy.payment_verify(encrypted_otc.decode('utf-8'))
|
(self, otc)
|
[
-0.007281668018549681,
-0.04718382656574249,
0.008682654239237309,
0.08253710716962814,
-0.0081507982686162,
-0.0701184868812561,
-0.0444510392844677,
0.012366728857159615,
-0.013923379592597485,
-0.06575985997915268,
0.03746340423822403,
0.052926138043403625,
0.0695304200053215,
-0.056627508252859116,
-0.04071507602930069,
-0.012920204550027847,
-0.03225727006793022,
-0.04635361209511757,
0.061228279024362564,
-0.03450576588511467,
-0.005439631175249815,
0.04012700915336609,
-0.02518315613269806,
0.045385029166936874,
-0.060467250645160675,
0.01185649260878563,
0.024024317041039467,
0.016388077288866043,
-0.06140124052762985,
0.024958306923508644,
-0.031444352120161057,
-0.015333013609051704,
0.05641995742917061,
0.051750004291534424,
-0.002806296106427908,
-0.03033740073442459,
0.03217079117894173,
0.0007172486511990428,
-0.05060845986008644,
0.023643800988793373,
-0.023453544825315475,
0.05078142136335373,
0.008626441471278667,
0.017002088949084282,
0.001981487264856696,
0.03364096209406853,
-0.05022794380784035,
0.13719286024570465,
0.005430982913821936,
-0.018160929903388023,
0.0199770238250494,
-0.047010865062475204,
-0.036494821310043335,
-0.021585563197731972,
0.03981567919254303,
0.022087151184678078,
0.02307302877306938,
0.059291113168001175,
0.03063143603503704,
0.05479412153363228,
-0.055589742958545685,
0.006040671374648809,
0.04178743436932564,
-0.020374834537506104,
0.018748998641967773,
0.05624699592590332,
0.0024365915451198816,
-0.01628430001437664,
0.001542598009109497,
0.013196942396461964,
0.006849265191704035,
-0.003999728709459305,
0.002691709203645587,
-0.015393550507724285,
0.007722719572484493,
-0.037359628826379776,
0.011527867056429386,
0.03213619813323021,
-0.08398997783660889,
0.05403308942914009,
0.006360649596899748,
-0.028209978714585304,
0.04126855358481407,
0.01612863503396511,
-0.0047391378320753574,
0.027794871479272842,
0.07278209179639816,
-0.03433280438184738,
-0.051715411245822906,
0.06593282520771027,
-0.0040256730280816555,
-0.014329838566482067,
-0.023799465969204903,
-0.05430983006954193,
0.034868985414505005,
0.0005380716174840927,
0.02725869044661522,
-0.00837132427841425,
-0.033243149518966675,
0.02440483123064041,
0.030856285244226456,
0.008907503448426723,
-0.08938636630773544,
0.04275601729750633,
0.08807186037302017,
-0.004518612287938595,
-0.03196323662996292,
0.01911221630871296,
0.020392131060361862,
-0.004605093039572239,
-0.035128429532051086,
-0.03684074431657791,
0.01192567776888609,
-0.022692514583468437,
0.040957219898700714,
-0.030752507969737053,
0.02604796178638935,
-0.020305650308728218,
-0.08841778337955475,
-0.018437668681144714,
0.021810412406921387,
-0.021239640191197395,
0.03957353159785271,
-0.010420914739370346,
0.05126571282744408,
0.0004334840923547745,
0.021793115884065628,
0.04324030876159668,
0.025356117635965347,
0.0019847301300615072,
0.03239563852548599,
-0.016777239739894867,
-0.013932027854025364,
0.0063217333517968655,
-0.05949866771697998,
0.044174302369356155,
0.06320003420114517,
-0.022571442648768425,
-0.0011826225090771914,
0.00939179491251707,
-0.0015285449335351586,
-0.009564756415784359,
-0.04189121350646019,
-0.038881685584783554,
-0.014874666929244995,
-0.011320313438773155,
-0.09187701344490051,
-0.016379429027438164,
-0.00857455376535654,
0.0012680221116170287,
0.008548608981072903,
-0.016950201243162155,
-0.014044452458620071,
0.046249836683273315,
-0.0364256352186203,
0.015281125903129578,
0.03805147111415863,
-0.001357745728455484,
-0.05430983006954193,
0.05178459361195564,
-0.006101207807660103,
0.05140408128499985,
0.002226875862106681,
-0.008492397144436836,
-0.002596580656245351,
0.015800008550286293,
0.005167216993868351,
-0.048048634082078934,
-0.042133357375860214,
-0.03718666732311249,
-0.06780080497264862,
-0.03981567919254303,
-0.042410094290971756,
0.0029079108498990536,
0.0689423531293869,
0.038847096264362335,
0.03505924344062805,
-0.0352495014667511,
-0.045246660709381104,
0.012141878716647625,
-0.06548312306404114,
0.042133357375860214,
-0.019890543073415756,
0.0323091596364975,
0.028953712433576584,
-0.004453751724213362,
0.04068048298358917,
0.04119936749339104,
0.02857319638133049,
-0.031738389283418655,
0.031617313623428345,
0.03393499553203583,
0.02637658827006817,
-0.006044995505362749,
0.0076621831394732,
-0.025857705622911453,
0.006239576730877161,
0.051438674330711365,
-0.04766811802983284,
0.027898648753762245,
0.004453751724213362,
-0.09706585109233856,
-0.023436248302459717,
-0.011666235513985157,
0.004890479147434235,
0.007614618632942438,
0.008609145879745483,
0.04763352498412132,
0.028209978714585304,
-0.05406768247485161,
0.008756162598729134,
-0.03587216138839722,
-0.07119084894657135,
0.04324030876159668,
-0.03372744098305702,
0.0309427659958601,
-0.014926554635167122,
0.011268424801528454,
-0.03127139061689377,
0.028088904917240143,
-0.001449631410650909,
0.04483155161142349,
-0.00447104824706912,
-0.07098329067230225,
0.08191443979740143,
0.03327774256467819,
-0.01205539796501398,
0.05178459361195564,
-0.014459559693932533,
-0.06281952559947968,
0.044935330748558044,
0.004086209461092949,
-0.027120321989059448,
0.04957069084048271,
0.029645556584000587,
-0.05918733775615692,
0.03272426500916481,
-0.0006545502110384405,
-0.03770555183291435,
0.06821591407060623,
0.02072075568139553,
-0.015454086475074291,
0.037082888185977936,
-0.006265521049499512,
-0.02959366887807846,
0.03492087498307228,
0.019596507772803307,
-0.01013552863150835,
0.023418951779603958,
-0.023211399093270302,
-0.006412537768483162,
-0.045385029166936874,
0.011891085654497147,
-0.047010865062475204,
-0.04784107953310013,
-0.003524085273966193,
0.011190592311322689,
-0.004496992100030184,
0.08315976709127426,
-0.003387878183275461,
0.023574616760015488,
0.04614605754613876,
-0.005936894565820694,
0.003787851193919778,
-0.03479980304837227,
-0.036494821310043335,
0.023142213001847267,
0.0028581845108419657,
0.019025735557079315,
-0.014978443272411823,
0.005733665078878403,
-0.028988303616642952,
-0.02530422993004322,
0.03874331712722778,
-0.018870070576667786,
0.008846967481076717,
0.053202878683805466,
0.02398972399532795,
0.004925071261823177,
0.012643466703593731,
0.03168649971485138,
-0.010239304974675179,
0.028452124446630478,
-0.012228359468281269,
-0.037982288748025894,
-0.053514208644628525,
-0.001727450406178832,
-0.03850117325782776,
-0.01762475073337555,
-0.024076204746961594,
-0.05302991718053818,
0.03037199378013611,
0.05282236263155937,
-0.0263419970870018,
-0.0003999728651251644,
0.00799945741891861,
-0.012141878716647625,
-0.04282520338892937,
-0.013378552161157131,
0.05538218840956688,
-0.045073699206113815,
0.028313754126429558,
-0.006991958245635033,
-0.05372175946831703,
0.01611998677253723,
0.024768048897385597,
0.06887316703796387,
0.00463103735819459,
-0.01688101701438427,
0.07195187360048294,
-0.014044452458620071,
0.042998164892196655,
0.047771893441677094,
-0.03656400740146637,
0.012608874589204788,
0.02874615788459778,
0.019579213112592697,
-0.04535043612122536,
0.048187002539634705,
0.06486046314239502,
0.021723931655287743,
0.006347677670419216,
-0.02087642252445221,
0.03601052984595299,
0.026774398982524872,
-0.0554167814552784,
-0.009677181020379066,
0.032776154577732086,
0.002099317032843828,
-0.05316828563809395,
-0.06420321017503738,
-0.06825050711631775,
0.046837903559207916,
-0.002170663559809327,
0.02577122487127781,
0.03946975618600845,
-0.04071507602930069,
-0.05496708303689957,
-0.043136533349752426,
0.01185649260878563,
0.017546918243169785,
-0.02784675918519497,
0.0007956217159517109,
-0.020392131060361862,
-0.017711231485009193,
-0.00836700014770031,
-0.03476521000266075,
-0.03223997354507446,
-0.01881818287074566,
0.025044787675142288,
-0.08184526115655899,
0.018731702119112015,
0.0773482695221901,
0.03080439753830433,
-0.005642860662192106,
0.029109377413988113,
0.03908924013376236,
0.02827916294336319,
-0.006304437294602394,
0.0060709393583238125,
0.016215115785598755,
0.004890479147434235,
0.0012604549992829561,
-0.019475435838103294,
-0.02499289996922016,
-0.029109377413988113,
0.03154813125729561,
0.0024430775083601475,
0.00447104824706912,
-0.01525518111884594,
-0.012556985951960087,
0.004644009284675121,
-0.007203835528343916,
-0.0027738658245652914,
0.029974183067679405,
-0.011354905553162098,
-0.007826495915651321,
-0.024318350479006767,
-0.016984794288873672,
0.025944186374545097,
-0.0017566375900059938,
0.04957069084048271,
-0.01729612424969673,
-0.003390040248632431,
-0.03390040248632431,
-0.018576037138700485,
-0.06434158235788345,
0.033675555139780045,
0.018904663622379303,
-0.01999431848526001,
-0.019596507772803307,
-0.001987973228096962,
-0.018679814413189888,
-0.013352607376873493,
0.0041229636408388615,
-0.009452331811189651,
0.018731702119112015,
-0.02829645946621895,
-0.048948030918836594,
-0.04763352498412132,
0.015782713890075684,
-0.004125125706195831,
-0.029939590021967888,
-0.03415984660387039,
-0.04109559208154678,
0.04130314290523529,
-0.008648062124848366,
0.002038780599832535,
-0.006369297858327627,
0.01065441220998764,
-0.022104445844888687,
0.03180757164955139,
0.041683658957481384,
-0.06925368309020996,
-0.06230063736438751,
-0.03652941435575485,
-0.01687236875295639,
0.03313937410712242,
-0.021274233236908913,
0.021568266674876213,
0.04555799067020416,
0.02130882441997528,
-0.012271599844098091,
0.011303016915917397,
0.030302809551358223,
-0.00514992093667388,
0.04324030876159668,
-0.00710438285022974,
-0.00836700014770031,
-0.02575392834842205,
0.012712650932371616,
0.04946691542863846,
-0.04126855358481407,
-0.020374834537506104,
0.020098095759749413,
0.03594134375452995,
-0.015384902246296406,
-0.046837903559207916,
-0.009158297441899776,
0.08336731791496277,
-0.031202208250761032,
0.02059968374669552,
-0.010369026102125645,
-0.018282003700733185,
0.0423063188791275,
0.035163018852472305,
0.006096883676946163,
-0.07340475171804428,
0.01866251789033413,
0.010057696141302586,
-0.014416319318115711,
-0.010023104026913643,
-0.028815342113375664,
-0.026757104322314262,
-0.04372460022568703,
-0.008245927281677723,
0.030129848048090935,
0.02737976424396038,
-0.05164622515439987,
0.02440483123064041,
-0.06700518727302551,
-0.0039824326522648335,
0.016318893060088158,
-0.006598471198230982,
0.024975603446364403,
0.03867413476109505,
-0.019008440896868706,
0.04081885144114494,
0.037255849689245224,
0.06918449699878693,
-0.04555799067020416,
-0.030752507969737053,
0.0029143968131393194,
0.05534759536385536,
0.016327541321516037,
0.023055734112858772,
0.010161472484469414,
0.012721299193799496,
-0.06669385731220245,
0.010161472484469414,
-0.055451374500989914,
0.02144719287753105,
0.024802641943097115,
-0.0018571713007986546,
0.0015274639008566737,
-0.06053643301129341,
0.023799465969204903,
-0.01029984187334776,
-0.007333556655794382,
-0.008656710386276245,
-0.01139814592897892,
0.016950201243162155,
-0.01301533356308937,
0.027051137760281563,
0.04310194030404091,
-0.026618734002113342,
-0.035284094512462616,
0.03926220163702965,
-0.021222343668341637,
-0.05154244974255562,
-0.020911013707518578,
0.09671992808580399,
0.0773482695221901,
-0.008526989258825779,
0.010896557942032814,
-0.052614808082580566,
-0.04175284504890442,
-0.01524653285741806,
0.01495249941945076,
0.03479980304837227,
-0.050712235271930695,
0.014658465050160885,
0.026463069021701813,
-0.04109559208154678,
-0.009936623275279999,
0.01776311919093132,
0.008838319219648838,
-0.014511448331177235,
-0.023021141067147255,
-0.019475435838103294,
0.04265224188566208,
-0.015782713890075684,
0.042859796434640884,
-0.0462152436375618,
0.07375067472457886,
0.011441386304795742,
-0.0773482695221901,
-0.007740015629678965,
0.005374770611524582,
-0.041233960539102554,
0.012081342749297619,
-0.013888787478208542,
-0.003965136595070362,
-0.06825050711631775,
-0.05015875771641731,
0.0034224705304950476,
-0.03479980304837227,
-0.00977231003344059,
-0.03492087498307228,
0.0018647384131327271,
-0.03770555183291435,
0.001635564723983407,
-0.03255130350589752,
0.014130933210253716,
-0.05043549835681915,
0.066970594227314,
0.02916126511991024,
0.0027868379838764668,
-0.07672560960054398,
0.039020054042339325,
0.02028835378587246,
-0.019510027021169662,
0.054240643978118896,
0.022709811106324196,
0.022450368851423264,
0.02085912600159645,
0.022917363792657852,
-0.016094043850898743,
0.022536849603056908,
-0.010420914739370346,
0.046699535101652145,
0.018454963341355324,
-0.0317210927605629,
0.01838577911257744,
-0.0124359130859375,
-0.008799402974545956,
0.03874331712722778,
-0.009383147582411766,
-0.010014455765485764,
0.0701184868812561,
0.03360636904835701,
0.0020885069388896227,
-0.012764539569616318,
0.07202105969190598,
-0.008098909631371498,
-0.029991479590535164,
0.003199782921001315,
0.051438674330711365,
-0.0015263829845935106,
-0.013188294135034084,
-0.021706635132431984,
-0.03032010607421398,
0.007714071311056614,
-0.02371298521757126,
0.029714740812778473,
-0.007973513565957546,
0.012842372059822083,
0.023436248302459717,
0.009071816690266132,
-0.027742981910705566,
-0.06973797082901001,
0.010343082249164581,
-0.05088519677519798,
-0.02943800389766693,
0.00813782587647438,
-0.022969253361225128,
-0.027621909976005554,
0.03429821506142616,
0.023782171308994293,
0.021343417465686798,
0.0556243360042572,
-0.02146448940038681,
0.04711464047431946,
-0.02397242747247219,
0.026981953531503677,
0.006265521049499512,
-0.044796962291002274,
-0.06911531090736389,
0.05002038925886154,
-0.008038373664021492,
0.035906754434108734,
0.01937165856361389,
0.049951206892728806,
-0.040057823061943054,
0.03462684154510498,
-0.009806902147829533,
-0.05704261735081673,
0.013620697893202305,
-0.027587316930294037,
0.07139839977025986,
0.03032010607421398,
0.04808322340250015,
-0.017815006896853447,
0.06946123391389847,
-0.07928543537855148,
-0.022415775805711746,
-0.017114514485001564,
0.0007696775137446821,
-0.0009139920584857464,
-0.04002323001623154,
-0.004955339711159468,
0.029403410851955414,
-0.004213768057525158,
0.004704545717686415,
0.006680627819150686,
-0.07568784058094025,
-0.01819552294909954,
0.00798648502677679,
-0.0007869736291468143,
0.05119652673602104,
-0.06786999106407166,
0.006317409221082926,
-0.05859926715493202,
0.015289773233234882,
-0.007882708683609962,
0.013127758167684078,
-0.043759193271398544,
-0.03770555183291435,
0.02590959332883358,
-0.03253401070833206,
0.008968040347099304,
0.07395822554826736,
0.010325785726308823,
0.00813782587647438,
-0.020167279988527298,
-0.010948446579277515,
0.06147042289376259,
0.08364405483007431,
0.03957353159785271,
-0.0008588606724515557,
-0.03787851333618164,
-0.010611171834170818,
-0.0015134108252823353,
-0.011899732984602451,
0.09222293645143509,
0.008916151709854603,
0.040196191519498825,
-0.013637993484735489,
-0.05818416178226471,
0.0061357999220490456,
0.014243357814848423,
0.03210160508751869,
0.014399022795259953,
0.05510545149445534,
0.02072075568139553,
-0.03549164533615112,
-0.0358375683426857,
0.00940909143537283,
0.0671781450510025,
-0.002036618534475565,
0.059740811586380005,
-0.018627924844622612,
-0.001994459191337228,
-0.034868985414505005,
0.024698864668607712,
0.01050739549100399,
-0.017987968400120735,
0.030164441093802452,
-0.057215578854084015,
-0.07004930078983307,
-0.033831220120191574,
-0.05493248999118805,
-0.0015080057783052325,
0.004228902515023947,
0.009876086376607418,
0.051023565232753754,
-0.04766811802983284,
0.06866560876369476,
0.015661640092730522,
0.024906419217586517,
0.0012604549992829561,
-0.01731342077255249,
0.028469420969486237,
0.000571312615647912,
0.006693599745631218,
-0.03853576257824898,
0.008609145879745483,
-0.07347393780946732,
0.024906419217586517,
-0.0573885403573513,
-0.04631901904940605,
0.016396725550293922,
0.03787851333618164,
-0.07568784058094025,
0.016932904720306396,
0.014753594063222408,
-0.08267547190189362,
0.014589280821383,
0.01940625160932541,
-0.07215943187475204,
-0.03483439236879349,
-0.0039694602601230145,
0.008241603150963783,
0.027310580015182495,
0.05389472097158432,
0.017365308478474617,
0.011597051285207272,
0.005949866492301226,
0.01790148764848709,
0.005002903752028942,
0.012686707079410553,
-0.02265792153775692,
-0.007925949059426785,
-0.00814215000718832,
-0.07243616878986359,
0.008812375366687775,
-0.062127675861120224,
-0.05178459361195564,
-0.01793608069419861,
0.0738198533654213,
0.008315111510455608,
0.022744402289390564,
0.05074682831764221,
-0.03182486817240715,
0.07195187360048294,
0.04880966246128082,
-0.04874047636985779,
-0.04929395392537117,
0.027604613453149796,
-0.006308761425316334,
0.04279061034321785,
0.035630013793706894,
-0.02827916294336319,
-0.03452306240797043,
0.05565892532467842,
0.09056250751018524,
-0.05624699592590332,
0.0693228617310524,
-0.040784262120723724,
0.014027156867086887,
-0.03756717965006828,
0.002460373565554619,
-0.0313405767083168,
-0.030562251806259155,
0.012470505200326443,
-0.0040127006359398365,
-0.010170120745897293,
-0.003225727006793022
] |
708,657
|
wom_connector.pointofsale
|
__init__
| null |
def __init__(self, domain: str, pos_id: str, pos_privk: bytes, pos_privk_password: str=None):
self.__registry_proxy = RegistryProxy(domain)
self.ID = pos_id
self.__pos_privk = self.__load_private_key(pos_privk, pos_privk_password,
"POS Private Key")
self.__logger = WOMLogger("POS")
|
(self, domain: str, pos_id: str, pos_privk: bytes, pos_privk_password: Optional[str] = None)
|
[
0.012364378198981285,
-0.034789785742759705,
-0.03969131410121918,
0.04035467654466629,
0.007716219872236252,
-0.010530912317335606,
-0.014299191534519196,
0.030109381303191185,
0.04359779506921768,
0.025152573361992836,
0.0005104797892272472,
0.03781178221106529,
0.004456980619579554,
0.03753538057208061,
-0.04787281155586243,
-0.0036116514820605516,
0.0036093483213335276,
0.02729008160531521,
-0.07702399790287018,
-0.0679948702454567,
-0.015183677896857262,
0.049604929983615875,
0.048757296055555344,
0.057049352675676346,
-0.015976030379533768,
0.04709888622164726,
-0.007554985582828522,
0.02565009705722332,
-0.01093630213290453,
-0.05550150200724602,
0.03458709269762039,
-0.004673495423048735,
0.030551623553037643,
0.06873194128274918,
-0.011240344494581223,
-0.03246800974011421,
0.021301373839378357,
-0.0004220887494739145,
-0.06165605038404465,
-0.005523431580513716,
-0.007909701205790043,
0.018905891105532646,
0.059076301753520966,
-0.04061265289783478,
0.017827922478318214,
0.07285954058170319,
0.02242540754377842,
0.06582050770521164,
0.0005571225774474442,
0.02336517535150051,
-0.057786423712968826,
0.05321658030152321,
0.006467804778367281,
-0.039949290454387665,
-0.005961067974567413,
0.03403428941965103,
0.0636092945933342,
0.0961141586303711,
-0.034329116344451904,
0.013018529862165451,
-0.03943333774805069,
0.014299191534519196,
-0.0018092808313667774,
-0.004355633165687323,
0.03689043968915939,
0.018998024985194206,
-0.029722418636083603,
-0.025852791965007782,
0.009199576452374458,
0.04227106645703316,
0.08712188154459,
-0.025115719065070152,
-0.06301963329315186,
-0.0030266009271144867,
0.058154962956905365,
0.03263385221362114,
-0.03237587586045265,
-0.0047264727763831615,
0.008199923671782017,
0.05476443096995354,
-0.007670152932405472,
-0.04116545617580414,
-0.010134737007319927,
0.03913851082324982,
-0.007633299101144075,
0.04503508284687996,
0.06898991763591766,
-0.014861209318041801,
0.06125066429376602,
0.03327878937125206,
-0.048757296055555344,
0.03206261992454529,
-0.06869509071111679,
-0.02924332208931446,
-0.007564198691397905,
-0.026258181780576706,
0.021448787301778793,
0.04127601906657219,
0.012788195163011551,
0.035084616392850876,
-0.0490889772772789,
0.013083023950457573,
-0.09147060662508011,
0.009581932798027992,
-0.03281811997294426,
-0.0010002293856814504,
-0.010770460590720177,
0.001289875595830381,
-0.02922489494085312,
0.008287450298666954,
0.00723712332546711,
0.07562356442213058,
0.04669349640607834,
0.06703667342662811,
-0.03858570754528046,
-0.0043279933743178844,
-0.00939305778592825,
-0.023844271898269653,
0.00033398563391529024,
0.005362196825444698,
-0.004005524329841137,
0.01698950305581093,
-0.04835190623998642,
0.07234359532594681,
-0.007402964401990175,
0.012613140046596527,
0.009867548011243343,
0.01903487741947174,
0.02253596857190132,
-0.05535408854484558,
0.06147178262472153,
-0.010632259771227837,
0.015156038105487823,
0.012281457893550396,
0.02590807154774666,
-0.08137272298336029,
0.044813960790634155,
0.013165944255888462,
-0.062098294496536255,
0.0318046472966671,
-0.000015151718798733782,
0.022296421229839325,
0.012134043499827385,
-0.007066675461828709,
-0.03373945876955986,
0.012880329042673111,
-0.03584011271595955,
-0.03154667094349861,
-0.001460323459468782,
-0.0382540225982666,
-0.0011320961639285088,
-0.011830001138150692,
-0.006186795886605978,
0.010742820799350739,
0.0007578018703497946,
-0.033407777547836304,
0.018334660679101944,
-0.057602155953645706,
0.030920159071683884,
0.007034428417682648,
-0.0035863148514181376,
-0.030293649062514305,
0.03913851082324982,
-0.0801934078335762,
-0.03088330663740635,
0.0046136085875332355,
-0.013083023950457573,
-0.10731764882802963,
0.042418479919433594,
0.04658293351531029,
-0.008960028178989887,
-0.033592045307159424,
-0.028653664514422417,
-0.022388555109500885,
-0.02207529917359352,
-0.0018968080403283238,
0.003733729012310505,
-0.026239754632115364,
-0.022388555109500885,
0.012972462922334671,
-0.01080731488764286,
0.01475986186414957,
0.0027916592080146074,
0.027068959549069405,
0.017781855538487434,
0.046103838831186295,
0.04396633058786392,
0.08859602361917496,
0.035029336810112,
0.0045445081777870655,
-0.03657718747854233,
0.01874004863202572,
-0.00038062845123931766,
-0.021669909358024597,
-0.00932395737618208,
0.06139807775616646,
0.017956910654902458,
-0.02253596857190132,
-0.06932159513235092,
0.07149595767259598,
0.047393713146448135,
0.019458694383502007,
-0.017597587779164314,
-0.025779085233807564,
-0.033868446946144104,
0.025207852944731712,
-0.01300931628793478,
0.028192995116114616,
0.03285497426986694,
-0.051079072058200836,
0.05929742380976677,
-0.046103838831186295,
-0.04713573679327965,
0.02161462977528572,
0.0034273837227374315,
-0.010558553040027618,
-0.058044400066137314,
0.007458244916051626,
0.049789197742938995,
0.007435211446136236,
0.09825166314840317,
0.03972816839814186,
-0.0417182594537735,
-0.07378087937831879,
-0.01756073534488678,
0.03466079756617546,
0.025852791965007782,
-0.022112151607871056,
-0.028930066153407097,
-0.02822984755039215,
0.04404003545641899,
-0.022112151607871056,
-0.03862255811691284,
0.0263871680945158,
0.049494367092847824,
-0.08557403087615967,
-0.004088444635272026,
0.02152249589562416,
-0.00970170646905899,
0.010254510678350925,
0.014870422892272472,
0.01099158264696598,
0.029280174523591995,
0.018307019025087357,
-0.040686361491680145,
0.04168140888214111,
-0.03991243615746498,
0.033223509788513184,
0.034623946994543076,
-0.008614526130259037,
0.003683055518195033,
-0.037553805857896805,
-0.02832198143005371,
0.02179889753460884,
0.0033375530038028955,
-0.0037153023295104504,
-0.010291364043951035,
-0.010604619979858398,
0.013248864561319351,
-0.02133822627365589,
-0.039838727563619614,
0.015367945656180382,
-0.065894216299057,
-0.0040239510126411915,
0.04901527240872383,
-0.004468497354537249,
0.047393713146448135,
-0.03781178221106529,
0.08424729853868484,
-0.028801077976822853,
0.08011969923973083,
0.04182882234454155,
-0.021098678931593895,
0.02343888208270073,
-0.015865469351410866,
-0.03613494336605072,
0.007587232161313295,
-0.018307019025087357,
0.012769768014550209,
-0.011470679193735123,
0.0573810376226902,
0.017440959811210632,
0.04120231047272682,
0.02225956693291664,
-0.010328218340873718,
-0.020269474014639854,
-0.011756294406950474,
0.028100861236453056,
-0.01070596743375063,
-0.039027947932481766,
-0.053179726004600525,
0.07057461887598038,
-0.009273284114897251,
0.00572612602263689,
0.04551418125629425,
0.014234698377549648,
-0.06169290468096733,
0.0300725270062685,
0.007338470779359341,
0.00022097757027950138,
-0.049420662224292755,
-0.006988361477851868,
-0.033960580825805664,
-0.0031740153208374977,
0.04658293351531029,
0.0285799577832222,
0.04164455458521843,
0.018583420664072037,
-0.0033283396624028683,
0.027179520577192307,
0.031122853979468346,
0.034421250224113464,
-0.010291364043951035,
0.03375788778066635,
0.03407113999128342,
-0.0018231009598821402,
0.03115970827639103,
-0.03491877391934395,
0.041791968047618866,
0.06335131824016571,
0.00744442455470562,
0.017155345529317856,
-0.007218696642667055,
-0.027548056095838547,
0.04577215388417244,
0.02354944311082363,
0.00956350564956665,
0.015377159230411053,
0.020840704441070557,
0.004325689747929573,
-0.08815377950668335,
0.04311869665980339,
0.00221236702054739,
-0.016832876950502396,
0.025539536029100418,
-0.0571599155664444,
-0.019532401114702225,
-0.022867651656270027,
-0.012935609556734562,
-0.04754112660884857,
-0.01442817971110344,
-0.051889851689338684,
-0.06950586289167404,
0.012981676496565342,
0.05196356028318405,
-0.07344920188188553,
-0.013949083164334297,
-0.06563623994588852,
0.0033744066022336483,
-0.05627542734146118,
-0.02096969075500965,
-0.03510304167866707,
0.024968305602669716,
0.010927088558673859,
0.05332713946700096,
-0.0250051598995924,
-0.00009227792907040566,
0.0030266009271144867,
-0.0012921788729727268,
-0.010337430983781815,
0.025226280093193054,
-0.02124609239399433,
-0.02784288488328457,
-0.02345730923116207,
-0.07938262820243835,
-0.029538150876760483,
0.020103631541132927,
-0.08623739331960678,
0.042344771325588226,
0.05413791909813881,
0.017680509015917778,
-0.04496137797832489,
-0.08837490528821945,
0.020914411172270775,
0.01314751710742712,
0.02297821268439293,
-0.006988361477851868,
-0.013027743436396122,
-0.026589863002300262,
-0.07989858090877533,
-0.022314846515655518,
-0.008499358780682087,
0.08409988880157471,
0.0254658292979002,
0.021651482209563255,
0.004371756687760353,
0.005560284946113825,
0.054101064801216125,
0.059260569512844086,
0.021006545051932335,
-0.012124829925596714,
0.04566159471869469,
0.058154962956905365,
0.012576286680996418,
-0.014142564497888088,
0.02316248044371605,
-0.000638603582046926,
-0.014778289012610912,
-0.04584586247801781,
-0.013359425589442253,
0.006062414962798357,
-0.01135090459138155,
-0.0021996984723955393,
0.02756648324429989,
0.03832773119211197,
-0.03311294689774513,
0.0011459162924438715,
-0.01439132634550333,
0.0012161683989688754,
0.03799604997038841,
-0.03279969468712807,
-0.00024199562903959304,
0.02574223093688488,
-0.04230791702866554,
-0.02078542299568653,
-0.05012087896466255,
-0.010217657312750816,
0.015156038105487823,
0.0018219492631033063,
-0.015156038105487823,
-0.030754318460822105,
0.004841640125960112,
0.0061591556295752525,
-0.0038535031490027905,
-0.046288106590509415,
0.05421162769198418,
-0.0002345097454963252,
-0.024562915787100792,
0.05130019411444664,
-0.0042266459204256535,
-0.04116545617580414,
0.06622589379549026,
-0.02719794772565365,
-0.013571334071457386,
0.07429683208465576,
0.0008988820482045412,
-0.010199230164289474,
0.01815960556268692,
-0.017256692051887512,
0.038290876895189285,
-0.04345037788152695,
-0.03115970827639103,
0.06965328007936478,
0.016574900597333908,
0.07208561897277832,
-0.00033369770972058177,
-0.02336517535150051,
0.043892621994018555,
0.05535408854484558,
0.0022043052595108747,
-0.004666585475206375,
0.008983061648905277,
0.048499319702386856,
-0.018122751265764236,
-0.0038281665183603764,
-0.024599770084023476,
-0.03705628216266632,
0.005928820930421352,
0.02023261971771717,
-0.0250051598995924,
-0.018472861498594284,
-0.01931127905845642,
-0.02124609239399433,
-0.003775189397856593,
-0.06412523984909058,
0.08336281776428223,
-0.006771846674382687,
0.005141075234860182,
0.050342001020908356,
-0.007693186402320862,
0.007527345325797796,
0.02060115523636341,
0.010171590372920036,
-0.009987322613596916,
-0.007974195294082165,
0.013368639163672924,
0.053732529282569885,
-0.0016411363612860441,
-0.060071349143981934,
-0.03558214008808136,
-0.022204287350177765,
-0.03777492791414261,
0.03189678117632866,
0.024655049666762352,
-0.05771271884441376,
-0.045919571071863174,
-0.010834954679012299,
0.008370370604097843,
0.04061265289783478,
0.043818917125463486,
0.018224099650979042,
0.07337549328804016,
-0.053179726004600525,
0.0003092246188316494,
0.0398755818605423,
-0.013506839983165264,
0.008586886338889599,
0.045551035553216934,
-0.0026972219347953796,
-0.06681555509567261,
-0.05343770235776901,
0.026073914021253586,
0.02620290033519268,
-0.030920159071683884,
0.030864879488945007,
-0.04956807568669319,
-0.09147060662508011,
0.035158321261405945,
0.00638949079439044,
0.010908662341535091,
-0.028192995116114616,
-0.07131168991327286,
-0.01885060966014862,
-0.06611533463001251,
-0.008342730812728405,
0.05657025799155235,
-0.036005955189466476,
0.05789698660373688,
-0.09729347378015518,
-0.02260967530310154,
0.05130019411444664,
0.03814346343278885,
0.05516982078552246,
-0.03385002166032791,
0.00013258654507808387,
0.017910843715071678,
-0.039396483451128006,
0.00719105638563633,
0.013912228867411613,
0.039580751210451126,
-0.030385782942175865,
-0.04201309010386467,
-0.01099158264696598,
-0.04872044175863266,
0.023273039609193802,
0.06021876260638237,
-0.04588271677494049,
-0.014050430618226528,
-0.02399168536067009,
0.01130483765155077,
0.00372221227735281,
-0.010834954679012299,
-0.027050532400608063,
-0.08336281776428223,
-0.007656333036720753,
0.0217804703861475,
-0.024157525971531868,
0.030035674571990967,
-0.05572262406349182,
0.003904176875948906,
0.06898991763591766,
-0.04149714112281799,
0.0012979372404515743,
-0.05885517969727516,
0.015699628740549088,
0.034716080874204636,
0.0040907482616603374,
-0.06265109777450562,
-0.03200734034180641,
0.013912228867411613,
0.020638009533286095,
-0.002637334866449237,
-0.03854885324835777,
0.03233902156352997,
-0.04551418125629425,
-0.04551418125629425,
-0.04485081508755684,
-0.07145910710096359,
-0.03473450616002083,
0.02242540754377842,
0.012180110439658165,
-0.004526081029325724,
0.014216271229088306,
0.06740520894527435,
-0.03569269925355911,
-0.03604280948638916,
0.023936405777931213,
0.0030289043206721544,
0.010374285280704498,
-0.0017136918613687158,
0.026497729122638702,
0.0656730905175209,
-0.004947593901306391,
-0.05074739083647728,
-0.008923174813389778,
0.025871219113469124,
0.007974195294082165,
0.030183088034391403,
0.049604929983615875,
-0.04938380792737007,
0.021909458562731743,
-0.0018058257410302758,
-0.05063682794570923,
-0.0286905188113451,
-0.027916593477129936,
-0.023881124332547188,
0.027363788336515427,
-0.02970399148762226,
0.03873312100768089,
-0.03263385221362114,
-0.019090158864855766,
0.04824134707450867,
0.0021755134221166372,
-0.04326611012220383,
-0.008637559600174427,
-0.050342001020908356,
-0.051852997392416,
0.05587003752589226,
0.009015308693051338,
-0.021467214450240135,
0.005200962536036968,
-0.03611651435494423,
0.02539212256669998,
0.015349519439041615,
-0.006209829356521368,
0.0012829655315726995,
0.012023482471704483,
0.0003921452153008431,
-0.007872847840189934,
-0.003323732875287533,
-0.019200719892978668,
-0.008752726949751377,
-0.006983754690736532,
0.0127329146489501,
-0.05030514672398567,
-0.034144848585128784,
0.030680611729621887,
-0.020545875653624535,
0.046472374349832535,
0.02380741760134697,
0.0006817913963459432,
0.05472757667303085,
-0.01590232364833355,
-0.030219942331314087,
-0.015377159230411053,
0.016611754894256592,
0.0028699731919914484,
-0.006108481902629137,
-0.008190710097551346,
0.07193820178508759,
-0.019440267235040665,
0.019182292744517326,
-0.015183677896857262,
0.00356097798794508,
-0.03200734034180641,
0.03062533214688301,
-0.016353778541088104,
0.015367945656180382,
0.018546568229794502,
-0.022296421229839325,
0.013313358649611473,
-0.019974645227193832,
-0.0005795802571810782,
0.019163865596055984,
-0.04835190623998642,
-0.008517784997820854,
-0.017505453899502754,
0.0300725270062685,
0.025318413972854614,
0.020840704441070557,
-0.0147506482899189,
-0.023420454934239388,
0.022204287350177765,
-0.019513973966240883,
0.00901070237159729,
0.006076235324144363,
0.02021419256925583,
-0.024526063352823257,
-0.018002977594733238,
0.013783241622149944,
0.05148446187376976,
-0.01112978346645832,
-0.014861209318041801,
0.022112151607871056,
-0.0005651843384839594,
-0.05037885531783104,
0.012309098616242409,
-0.018887463957071304,
0.06242997571825981,
0.04650922864675522,
-0.025576390326023102,
0.0004540477239061147,
0.04300813749432564,
-0.07182764261960983,
-0.039212215691804886,
0.07967745512723923,
0.05303231254220009,
0.03602438047528267,
-0.0338868722319603,
-0.08048823475837708,
0.0004350450763013214,
0.0023252309765666723,
0.013073810376226902,
-0.03648504987359047,
-0.0191270112991333,
-0.029372308403253555,
-0.0015052387025207281,
-0.0626879557967186,
0.026442449539899826,
0.00230450090020895,
-0.0472462996840477,
-0.005767586641013622,
0.009429912082850933,
0.0419393815100193,
-0.012603926472365856,
-0.03521360456943512,
-0.06150863692164421,
0.007554985582828522,
0.019735096022486687,
0.013949083164334297,
0.024931451305747032,
0.013709534890949726,
0.0571599155664444,
-0.09360811114311218,
0.005108828656375408,
0.05620172247290611,
-0.016141870990395546,
0.030735891312360764,
-0.05579633265733719,
-0.01852814108133316,
-0.004984447732567787,
-0.02426808699965477,
-0.0008706660009920597,
-0.009429912082850933,
0.08520549535751343,
-0.010162376798689365,
-0.011986629106104374,
-0.013727961108088493,
0.016234004870057106,
-0.002750199055299163,
-0.021393507719039917,
0.033407777547836304,
-0.07355976104736328,
-0.009756986983120441,
-0.050968512892723083,
-0.09920985996723175,
-0.02491302601993084,
-0.0185557808727026,
-0.005997921340167522,
0.05771271884441376,
-0.022830797359347343,
0.015063904225826263,
0.03639291599392891,
0.04477711021900177,
-0.01245651300996542,
0.02776917815208435,
0.002658064942806959,
-0.01984565705060959,
0.004599788226187229,
0.049236394464969635,
0.011618093587458134,
0.06184031814336777,
-0.00020643767493311316,
-0.0060439882799983025,
-0.024323368445038795,
-0.04883100464940071,
-0.010070242919027805,
0.05601745471358299,
0.018076684325933456,
-0.01940341293811798,
-0.051889851689338684,
-0.07894038408994675,
-0.02096969075500965,
-0.019827229902148247,
0.035545285791158676,
0.017938483506441116,
0.016759168356657028,
0.0013094539754092693
] |
708,658
|
wom_connector.pointofsale
|
request_payment
|
Obtains payment requests from WOM Registry through Registry remote API.
It returns a list containing the OTC representing the payment request and the associated password.
:param amount: int: the number of voucher needed as a payment
:param pocket_ack_url: str: the URL to be called for voucher spending notification, on pocket side
:param filter: Filter: filter to be applied on vouchers to be valid for the payment (Default value = None)
:param pos_ack_url: str: the URL to be called for voucher spending notification, on pos side (Default value = None)
:param persistent: bool: is this payment persistent? (Default value = False)
:param nonce: str: Communication nonce. If None, a proper nonce will be generated. (Default value = None)
:param password: str: Payment OTC password. If None, a secure password will be generated by the Registry. (Default value = None)
:returns: OTC, password): (str, str)
:rtype: list(str, str)
|
def request_payment(self, amount: int,
pocket_ack_url: str,
filter: Filter = None,
pos_ack_url: str = None,
persistent: bool = False,
nonce=None,
password=None) -> (str, str):
"""
Obtains payment requests from WOM Registry through Registry remote API.
It returns a list containing the OTC representing the payment request and the associated password.
:param amount: int: the number of voucher needed as a payment
:param pocket_ack_url: str: the URL to be called for voucher spending notification, on pocket side
:param filter: Filter: filter to be applied on vouchers to be valid for the payment (Default value = None)
:param pos_ack_url: str: the URL to be called for voucher spending notification, on pos side (Default value = None)
:param persistent: bool: is this payment persistent? (Default value = False)
:param nonce: str: Communication nonce. If None, a proper nonce will be generated. (Default value = None)
:param password: str: Payment OTC password. If None, a secure password will be generated by the Registry. (Default value = None)
:returns: OTC, password): (str, str)
:rtype: list(str, str)
"""
# call to payment/register API
response_data = self.__payment_register(amount, pocket_ack_url, filter, pos_ack_url, persistent, nonce, password)
# call to payment/verify API
self.__payment_verify(response_data['otc'])
return response_data['otc'], response_data['password']
|
(self, amount: int, pocket_ack_url: str, filter: Optional[wom_connector.filter.Filter] = None, pos_ack_url: Optional[str] = None, persistent: bool = False, nonce=None, password=None) -> (<class 'str'>, <class 'str'>)
|
[
0.00032844694214873016,
-0.06447789818048477,
-0.04671245068311691,
0.013011440634727478,
0.011576964519917965,
0.01062984112650156,
-0.049765314906835556,
-0.04792623966932297,
-0.0014264308847486973,
-0.04807336628437042,
0.06565490365028381,
-0.0004002857313025743,
0.03483204171061516,
0.012285007163882256,
0.00033476873068138957,
-0.03470330685377121,
0.06190319359302521,
-0.0400182269513607,
0.02723667025566101,
0.017563145607709885,
0.04796302318572998,
0.0474848635494709,
-0.005889630876481533,
0.08753987401723862,
-0.03222055733203888,
0.06683190912008286,
0.00007571808237116784,
0.029756199568510056,
-0.047815896570682526,
-0.02617000788450241,
0.013664311729371548,
0.003597686532884836,
0.045388318598270416,
0.01851026900112629,
-0.0725698173046112,
0.05002278462052345,
0.018317166715860367,
0.015209132805466652,
-0.053737711161375046,
0.004528717137873173,
-0.020928649231791496,
0.006496524903923273,
0.024238981306552887,
-0.031227458268404007,
-0.01110800076276064,
0.03304814174771309,
-0.06925948709249496,
0.09482260048389435,
0.019328655675053596,
0.032606761902570724,
0.04443200305104256,
0.058482520282268524,
-0.0573422946035862,
-0.06344801932573318,
0.015420626848936081,
0.011843630112707615,
0.009958580136299133,
0.07198131084442139,
0.06848707795143127,
0.04759520664811134,
0.024073464795947075,
0.06252847611904144,
0.01211029477417469,
0.02699759043753147,
-0.030344704166054726,
0.020652789622545242,
0.025360815227031708,
-0.05300208181142807,
-0.008671228773891926,
0.02352174185216427,
0.03928259760141373,
0.0029034363105893135,
-0.020395318046212196,
-0.013765460811555386,
0.045388318598270416,
-0.00558158615604043,
0.04914002865552902,
-0.023999901488423347,
-0.06995833665132523,
0.004705728031694889,
0.026022881269454956,
-0.02427576296031475,
0.009857431054115295,
0.009553983807563782,
-0.014878099784255028,
0.06664800643920898,
0.027935517951846123,
-0.029756199568510056,
-0.021645888686180115,
0.03696536645293236,
-0.08378816395998001,
-0.030105624347925186,
-0.008009162731468678,
0.014390746131539345,
0.05417908728122711,
-0.03898834437131882,
-0.008478126488626003,
0.012478109449148178,
-0.007245947141200304,
0.00953559298068285,
-0.04590326175093651,
0.038694094866514206,
-0.07260660082101822,
-0.00812410470098257,
0.05892389640212059,
-0.06370548903942108,
-0.041011326014995575,
0.05506184324622154,
0.0813605859875679,
-0.028119424358010292,
-0.018574636429548264,
-0.03137458488345146,
-0.009719500318169594,
-0.013048222288489342,
-0.017140159383416176,
0.02699759043753147,
-0.0015609131660312414,
0.0070436494424939156,
-0.03233090043067932,
-0.021425198763608932,
0.013351669535040855,
-0.007825255393981934,
0.06289629638195038,
-0.015328672714531422,
0.04719061031937599,
0.03891478478908539,
0.04685957729816437,
0.028524020686745644,
0.04009179025888443,
0.025857364758849144,
-0.03832627832889557,
0.027383795008063316,
0.002244818489998579,
0.016901079565286636,
-0.05311242491006851,
0.006018366198986769,
0.030767690390348434,
-0.030363094061613083,
0.0015195340383797884,
0.02445966936647892,
-0.03510790318250656,
-0.025415988638997078,
-0.021590715274214745,
-0.000052657829655800015,
-0.0010994208278134465,
-0.03902512788772583,
0.017673490568995476,
0.0026528628077358007,
0.008105713874101639,
-0.01818843185901642,
-0.03286423161625862,
0.0626756027340889,
0.03777455911040306,
-0.02830333262681961,
0.03091481514275074,
0.03398606926202774,
0.044983722269535065,
-0.0165424607694149,
-0.026666557416319847,
-0.00785743910819292,
-0.015503385104238987,
0.019641298800706863,
-0.006882730405777693,
-0.026390695944428444,
0.0212045107036829,
0.016560852527618408,
-0.010381566360592842,
0.0021367729641497135,
-0.004645958077162504,
-0.010905702598392963,
-0.028744710609316826,
-0.01237696036696434,
-0.021884968504309654,
-0.03109872341156006,
-0.04608716815710068,
0.03209182247519493,
0.00805513933300972,
-0.02960907481610775,
-0.06212388351559639,
-0.048698652535676956,
0.00023074618366081268,
-0.0074850269593298435,
-0.03150331974029541,
0.008041346445679665,
-0.0029999876860529184,
-0.05487793684005737,
0.053149208426475525,
0.015273500233888626,
0.018574636429548264,
0.03229412063956261,
0.03014240600168705,
0.049066465348005295,
0.051972199231386185,
0.00169194710906595,
-0.03497916832566261,
-0.004919520113617182,
0.018767738714814186,
0.03435388207435608,
-0.032073430716991425,
0.031172286719083786,
0.016744758933782578,
-0.020873477682471275,
-0.018078086897730827,
-0.03172400966286659,
-0.023411398753523827,
-0.02061600796878338,
-0.03876765817403793,
0.009324099868535995,
-0.010813748463988304,
-0.0714663714170456,
0.03593548387289047,
-0.008873526938259602,
-0.008965480141341686,
0.011852825060486794,
-0.04068029299378395,
0.05230323225259781,
-0.008239046670496464,
-0.03564123436808586,
-0.0006448249332606792,
-0.02979298122227192,
0.03144814819097519,
-0.000887352682184428,
-0.02896539866924286,
-0.04564578831195831,
0.04075385630130768,
0.043622810393571854,
-0.0029310225509107113,
0.0027838966343551874,
-0.0368182398378849,
-0.045094069093465805,
0.032588373869657516,
0.0016022922936826944,
0.042556148022413254,
0.006680432241410017,
-0.02107577584683895,
-0.07915370166301727,
0.019567735493183136,
0.002233324106782675,
0.0074022687040269375,
0.05594459921121597,
0.0560181625187397,
-0.034261927008628845,
0.055760692805051804,
0.04553544521331787,
-0.015852808952331543,
0.019291875883936882,
0.003668950404971838,
0.006776983849704266,
0.05565034598112106,
-0.013388451188802719,
-0.02411024644970894,
-0.07238590717315674,
0.0010706852190196514,
-0.041894081979990005,
-0.02576541155576706,
-0.03753547742962837,
-0.006082733627408743,
0.049360718578100204,
0.016257405281066895,
-0.025489550083875656,
-0.0015367752639576793,
0.03742513433098793,
-0.07871232181787491,
-0.07635831087827682,
-0.0453515388071537,
-0.006133308168500662,
0.03286423161625862,
0.011190759018063545,
0.026022881269454956,
-0.017370043322443962,
-0.007678129710257053,
0.0041011325083673,
-0.004510326310992241,
-0.015098788775503635,
-0.03604583069682121,
-0.03152171149849892,
0.038473404943943024,
0.024496451020240784,
0.001950566773302853,
-0.008009162731468678,
-0.0027815978974103928,
-0.031006770208477974,
0.09533753991127014,
-0.008418356068432331,
-0.04435843974351883,
-0.014418331906199455,
0.010648231953382492,
0.046050384640693665,
-0.00035804451908916235,
-0.020634397864341736,
-0.03851018846035004,
0.08327322453260422,
-0.0059631941840052605,
-0.025857364758849144,
0.01821601763367653,
0.04174695536494255,
-0.023025192320346832,
-0.008395368233323097,
0.023558523505926132,
0.015245914459228516,
0.004618371836841106,
0.042261894792318344,
0.016478093340992928,
-0.030988378450274467,
0.02000911347568035,
-0.010740186087787151,
0.097103051841259,
-0.029351603239774704,
-0.07643187046051025,
0.00531492056325078,
-0.013259715400636196,
0.04472625255584717,
0.08879043906927109,
-0.04866186901926994,
-0.009034445509314537,
-0.03211021423339844,
0.06113078445196152,
-0.02072635106742382,
0.045461881905794144,
0.05885033309459686,
0.05108944699168205,
0.017278090119361877,
-0.014813732355833054,
0.03405962884426117,
0.009691914543509483,
0.02480909414589405,
-0.024294152855873108,
0.05156760662794113,
0.014639020897448063,
-0.02030336484313011,
-0.07301119714975357,
0.0010247085010632873,
-0.020101066678762436,
0.00953559298068285,
-0.026372306048870087,
0.014841318130493164,
-0.019218312576413155,
-0.09798580408096313,
-0.04594004154205322,
-0.012781556695699692,
-0.00550802331417799,
-0.04060672968626022,
-0.05892389640212059,
-0.025655066594481468,
-0.03109872341156006,
-0.04292396083474159,
0.0336182527244091,
-0.016229819506406784,
0.041415922343730927,
-0.027861954644322395,
-0.01368270255625248,
0.0063539971597492695,
0.03404124081134796,
0.08658355474472046,
0.0520089827477932,
0.0021045890171080828,
-0.035567671060562134,
0.020689571276307106,
-0.016901079565286636,
0.023668868467211723,
0.022399907931685448,
0.014022931456565857,
0.024202199652791023,
0.02771482989192009,
-0.01821601763367653,
-0.05535609647631645,
0.013222934678196907,
-0.0034781466238200665,
-0.0035310201346874237,
0.006174687296152115,
0.010547082871198654,
0.011190759018063545,
-0.05057450383901596,
0.05116301029920578,
-0.015199937857687473,
0.0037930880207568407,
-0.019567735493183136,
-0.020229801535606384,
-0.06885489076375961,
0.0035655025858432055,
0.037222836166620255,
0.0014103390276432037,
-0.022547034546732903,
0.003956305794417858,
0.031889524310827255,
-0.04211477190256119,
-0.0064459508284926414,
0.0360090471804142,
-0.0011988456826657057,
-0.012275812216103077,
0.005843654274940491,
-0.019218312576413155,
-0.01089650671929121,
0.05590781569480896,
-0.04689636081457138,
-0.03913547098636627,
0.017452802509069443,
-0.016257405281066895,
-0.09798580408096313,
-0.05704804137349129,
0.04009179025888443,
-0.06565490365028381,
-0.05292851850390434,
-0.04516763240098953,
-0.04513084888458252,
-0.01811486855149269,
-0.006551697384566069,
-0.017461998388171196,
-0.029701028019189835,
-0.011825239285826683,
-0.022988412529230118,
-0.04079063609242439,
0.02629874274134636,
-0.0474848635494709,
-0.05855608358979225,
-0.04329177737236023,
-0.02718149870634079,
0.06572846323251724,
0.024183809757232666,
0.05774689093232155,
0.05679057165980339,
-0.04958140477538109,
0.002855160739272833,
0.03245963901281357,
-0.020689571276307106,
0.041783735156059265,
0.01598154380917549,
0.020119458436965942,
-0.029278041794896126,
0.009894212707877159,
0.02830333262681961,
0.04902968555688858,
-0.04991243779659271,
-0.044910162687301636,
0.005664344411343336,
0.021057385951280594,
0.0017425216501578689,
-0.012128685601055622,
-0.005935607943683863,
0.07540199160575867,
-0.03604583069682121,
0.01984359696507454,
0.009218352846801281,
-0.017903374508023262,
0.05473081022500992,
-0.028910227119922638,
-0.049066465348005295,
-0.02670333907008171,
0.029572293162345886,
-0.023999901488423347,
0.0254711601883173,
-0.01018846407532692,
0.06804569810628891,
0.023080365732312202,
0.02523208037018776,
-0.015604534186422825,
-0.01851026900112629,
0.007549394387751818,
-0.018611418083310127,
0.00345745705999434,
0.04899290204048157,
0.00015028673806227744,
0.030657345429062843,
0.016257405281066895,
-0.011595354415476322,
0.06955374032258987,
-0.021333245560526848,
-0.044211313128471375,
0.016257405281066895,
-0.0075677852146327496,
-0.059659525752067566,
-0.006551697384566069,
-0.03554927930235863,
0.015328672714531422,
-0.017517169937491417,
-0.02131485566496849,
-0.016983838751912117,
-0.008110311813652515,
-0.05535609647631645,
-0.03518146649003029,
-0.05774689093232155,
-0.08702493458986282,
0.059659525752067566,
0.019347047433257103,
-0.04196764528751373,
-0.08209621906280518,
0.047999802976846695,
-0.004409177228808403,
-0.05002278462052345,
-0.020064285025000572,
-0.02184818685054779,
0.03554927930235863,
0.02102060429751873,
0.023282663896679878,
0.017351653426885605,
0.02427576296031475,
-0.014418331906199455,
0.01531028188765049,
-0.04112166911363602,
-0.02576541155576706,
-0.007770082913339138,
0.014078103005886078,
0.024183809757232666,
0.028101034462451935,
-0.006078136153519154,
-0.03003206104040146,
0.005636758636683226,
0.025324033573269844,
0.010905702598392963,
0.017563145607709885,
-0.05428943410515785,
0.028873445466160774,
-0.0373515710234642,
-0.037222836166620255,
-0.05999055877327919,
-0.004186189733445644,
0.04531475529074669,
0.046344637870788574,
-0.05020669102668762,
-0.0671997219324112,
0.06311698257923126,
0.0370757095515728,
0.05274461209774017,
0.009765476919710636,
0.02392633818089962,
0.02576541155576706,
-0.05535609647631645,
-0.026022881269454956,
-0.029535511508584023,
-0.03968719393014908,
0.016358554363250732,
0.0270711537450552,
-0.014160861261188984,
-0.04376993700861931,
-0.013655116781592369,
-0.053627368062734604,
-0.018436705693602562,
-0.023815995082259178,
-0.01616545021533966,
0.024386107921600342,
-0.037517089396715164,
0.04465268924832344,
-0.058666426688432693,
-0.00900226179510355,
-0.0568273551762104,
0.03216538578271866,
0.027255060151219368,
0.016634413972496986,
-0.02830333262681961,
-0.022933239117264748,
-0.013655116781592369,
-0.02854241244494915,
0.021811405196785927,
0.0034689512103796005,
0.07025258243083954,
0.053333114832639694,
0.060726188123226166,
-0.01989876851439476,
-0.00038476852932944894,
-0.034850433468818665,
0.027622874826192856,
-0.021388418972492218,
-0.08930537849664688,
0.006629857700318098,
-0.06995833665132523,
-0.025213690474629402,
0.015852808952331543,
-0.010758576914668083,
-0.012717189267277718,
-0.0009643638622947037,
0.03233090043067932,
0.024937829002738,
-0.013222934678196907,
0.07540199160575867,
-0.03428031876683235,
-0.05487793684005737,
0.028027471154928207,
-0.03606421872973442,
-0.002450564643368125,
0.02008267678320408,
0.047227393835783005,
0.008197668008506298,
0.003639065660536289,
-0.08680424094200134,
0.01648728922009468,
0.05263426899909973,
0.02528725191950798,
0.013866609893739223,
0.05182507634162903,
-0.00892410147935152,
0.022933239117264748,
-0.03584353253245354,
0.00912180170416832,
0.0009982717456296086,
-0.03806880861520767,
0.019880378618836403,
-0.04376993700861931,
-0.003167803166434169,
0.012809143401682377,
0.033673424273729324,
0.017857398837804794,
0.02480909414589405,
0.03569640591740608,
-0.07768244296312332,
0.008970078080892563,
-0.0023149331100285053,
-0.044615909457206726,
-0.025691848248243332,
0.05774689093232155,
-0.0006965488428249955,
0.070399709045887,
-0.023815995082259178,
0.0008310310658998787,
-0.01329649705439806,
-0.028119424358010292,
0.030804472044110298,
-0.0381423719227314,
0.01211029477417469,
0.018583832308650017,
0.016919471323490143,
-0.01835394836962223,
0.0706939622759819,
-0.03409641236066818,
0.01888727955520153,
-0.054510120302438736,
-0.026740120723843575,
-0.034188367426395416,
-0.035972267389297485,
0.0064873299561440945,
-0.011889606714248657,
0.011393057182431221,
0.045572228729724884,
0.06039515510201454,
-0.005843654274940491,
-0.02320910058915615,
-0.0286711473017931,
-0.008579275570809841,
-0.02854241244494915,
-0.053553804755210876,
0.026096444576978683,
-0.006772385910153389,
0.06466180086135864,
-0.04038603976368904,
-0.030638955533504486,
-0.05778367072343826,
-0.003859754418954253,
-0.04822049289941788,
-0.042261894792318344,
0.008335597813129425,
-0.04211477190256119,
-0.006073538213968277,
0.053443457931280136,
0.007462038192898035,
-0.002349415561184287,
-0.035861920565366745,
0.0003479870792943984,
0.014151666313409805,
0.08018358051776886,
0.02184818685054779,
0.026427477598190308,
-0.0071769822388887405,
0.0010045935632660985,
0.07805025577545166,
0.030841253697872162,
-0.021774623543024063,
0.013370060361921787,
0.05958596244454384,
-0.1018846407532692,
-0.033489517867565155,
0.004988485481590033,
0.02896539866924286,
0.010491911321878433,
0.04914002865552902,
0.07268016040325165,
0.061020441353321075,
0.017535559833049774,
0.0050896345637738705,
0.03214699402451515,
0.028027471154928207,
0.06094687804579735,
0.01009650994092226,
-0.0048643480986356735,
0.04325499385595322,
0.011328688822686672,
0.018105672672390938,
0.017940156161785126,
0.012864314951002598,
0.009383869357407093,
-0.0747031420469284,
-0.04097454622387886,
0.029461948201060295,
-0.05524574965238571,
0.005802275147289038,
-0.00497469212859869,
0.006165491882711649,
0.0762847438454628,
-0.0421515516936779,
0.01258845441043377,
0.019917160272598267,
0.011457424610853195,
0.037038929760456085,
-0.01782061718404293,
0.0560181625187397,
0.04472625255584717,
-0.029774591326713562,
-0.01702062040567398,
0.006078136153519154,
-0.05491471663117409,
0.02221600152552128,
0.0046068779192864895,
0.01045512966811657,
0.0286711473017931,
0.05057450383901596,
-0.033967677503824234,
-0.012680407613515854,
0.03409641236066818,
-0.049875658005476,
0.05822505056858063,
-0.006832155864685774,
0.03635847195982933,
-0.04851474240422249,
-0.01581602729856968,
0.045388318598270416,
-0.0011953974608331919,
0.015475798398256302,
0.04980209469795227,
0.07124568521976471,
0.006390778347849846,
0.02008267678320408,
-0.020855087786912918,
-0.018924061208963394,
0.01074938103556633,
-0.03358147293329239,
-0.06451468169689178,
0.03214699402451515,
-0.06550777703523636,
-0.012542477808892727,
0.015668900683522224,
0.044211313128471375,
0.03558606281876564,
-0.027089543640613556,
0.04623429477214813,
-0.02859758399426937,
0.002459760056808591,
-0.006951695773750544,
0.03225734084844589,
0.012579258531332016,
-0.06087331473827362,
-0.01702062040567398,
0.035144682973623276,
0.033250439912080765,
0.007020660676062107,
0.008652837947010994,
-0.016183841973543167,
-0.0052643464878201485,
0.024147028103470802,
-0.0038643518928438425,
0.05914458632469177,
-0.040238916873931885,
0.007498819846659899,
-0.0626756027340889,
0.039466504007577896,
-0.029241260141134262,
-0.010059729218482971,
0.03512629121541977,
0.012818338349461555,
-0.007898817770183086,
-0.020707961171865463
] |
708,659
|
wom_connector.voucher
|
Voucher
| null |
class Voucher:
def to_JSON(self):
return self.__dict__
@staticmethod
def create(aim: str, latitude: float, longitude: float, timestamp: datetime, count: int = 1) -> 'Voucher':
voucher = Voucher()
voucher.Aim = aim
voucher.Latitude = latitude
voucher.Longitude = longitude
voucher.Timestamp = timestamp.isoformat()
voucher.Count = count
voucher.CreationMode = 'Standard'
return voucher
@staticmethod
def createWithoutLocation(aim: str, timestamp: datetime, count: int = 1) -> 'Voucher':
voucher = Voucher()
voucher.Aim = aim
voucher.Latitude = 0.0
voucher.Longitude = 0.0
voucher.Timestamp = timestamp.isoformat()
voucher.Count = count
voucher.CreationMode = 'SetLocationOnRedeem'
return voucher
|
()
|
[
0.009466796182096004,
-0.08471854031085968,
-0.03248410299420357,
-0.016854608431458473,
-0.017513573169708252,
-0.08954475075006485,
-0.06084736809134483,
0.00309295067563653,
-0.01864587515592575,
-0.009309016168117523,
-0.012130492366850376,
0.0013956562615931034,
-0.013838227838277817,
-0.006093089934438467,
-0.028920132666826248,
-0.0031834421679377556,
0.0023852612357586622,
-0.025337601080536842,
0.021253885701298714,
-0.01650192402303219,
0.059251006692647934,
-0.0067798965610563755,
-0.00016053527360782027,
0.08932200074195862,
0.0058239358477294445,
0.05672652646899223,
-0.004881896544247866,
0.05832288786768913,
0.044252630323171616,
-0.0015499558066949248,
0.005531578790396452,
-0.004580258391797543,
0.04206227511167526,
0.06983154267072678,
-0.03151886165142059,
-0.0285860113799572,
-0.03860967606306076,
0.017838412895798683,
-0.07536312192678452,
0.046034615486860275,
0.03578820079565048,
0.06752981245517731,
-0.02234906330704689,
-0.03185298293828964,
0.024854980409145355,
0.0003042484459001571,
-0.04239639639854431,
0.027305210009217262,
0.03606663644313812,
-0.030108124017715454,
0.0013515707105398178,
0.0409485325217247,
0.0007013085996732116,
0.0043876743875443935,
-0.02052995376288891,
-0.014422941952943802,
0.04080003499984741,
0.08568378537893295,
-0.0064736176282167435,
0.0027634690050035715,
-0.044920872896909714,
0.04057728499174118,
0.015397464856505394,
-0.024910666048526764,
-0.012585270218551159,
0.010292820632457733,
-0.06585919857025146,
0.027063898742198944,
0.065822072327137,
0.06025337055325508,
0.08293655514717102,
0.003953779581934214,
0.007800825405865908,
0.03445171192288399,
0.045292120426893234,
0.037458810955286026,
-0.019527586176991463,
-0.00787507463246584,
0.030702117830514908,
-0.022831683978438377,
0.026172906160354614,
-0.06522808223962784,
-0.046034615486860275,
-0.00808390136808157,
0.005536219570785761,
0.06292635202407837,
0.009267251007258892,
-0.07313563674688339,
-0.008886722847819328,
0.04410413280129433,
-0.0787043422460556,
-0.0037240704987198114,
-0.07781334966421127,
-0.006190542131662369,
0.004290222190320492,
-0.03983479365706444,
0.008779989555478096,
-0.05275418609380722,
-0.014274443499743938,
0.05988212302327156,
-0.0065432265400886536,
0.020307205617427826,
-0.07131653279066086,
0.00977307464927435,
0.0033760264050215483,
-0.0590282566845417,
-0.00018301312229596078,
-0.0011746484087780118,
0.02763933129608631,
0.02919856831431389,
-0.024056799709796906,
0.05204881355166435,
-0.043361637741327286,
-0.011128125712275505,
-0.02277599647641182,
-0.009313656948506832,
-0.010060790926218033,
0.030423684045672417,
-0.027305210009217262,
-0.04143115505576134,
0.06827230751514435,
-0.032688289880752563,
-0.0014432222815230489,
0.039612043648958206,
0.021198198199272156,
0.004970067646354437,
0.0023098518140614033,
0.022107752040028572,
0.06890342384576797,
0.03595526143908501,
0.0032298481091856956,
-0.0007233513751998544,
0.006663881707936525,
-0.0005075641092844307,
0.02843751199543476,
0.014042413793504238,
0.03205716982483864,
0.008144228719174862,
-0.010190727189183235,
0.07064828276634216,
0.01770847663283348,
-0.03096199221909046,
0.009262610226869583,
-0.007536312099546194,
-0.01682676561176777,
0.017652789130806923,
-0.04117128252983093,
0.020121581852436066,
-0.0686064288020134,
-0.022460436448454857,
0.027398021891713142,
0.048002224415540695,
0.02689683809876442,
0.0212724469602108,
0.02366698905825615,
-0.0676783099770546,
0.010079353116452694,
-0.03400621563196182,
0.04343588650226593,
0.003051185514777899,
-0.022107752040028572,
0.020158706232905388,
0.01738363690674305,
-0.03068355657160282,
-0.001230915542691946,
0.02750939503312111,
0.012000556103885174,
-0.020882638171315193,
-0.008803192526102066,
0.018757250159978867,
-0.022757435217499733,
-0.024168172851204872,
-0.049932707101106644,
0.03400621563196182,
-0.018989278003573418,
0.024762168526649475,
0.004863334354013205,
-0.003956099972128868,
0.044586751610040665,
-0.028270451352000237,
-0.021049698814749718,
-0.06300059705972672,
0.010218570940196514,
0.012362522073090076,
0.0393521711230278,
-0.0441412553191185,
0.04614599049091339,
0.013977445662021637,
0.00887744128704071,
0.025894470512866974,
0.0009339179960079491,
0.04232214763760567,
0.01054341159760952,
0.004206691402941942,
0.0017320987535640597,
0.024149611592292786,
-0.010348507203161716,
-0.0005545500316657126,
-0.11894750595092773,
0.03771868348121643,
-0.01696598343551159,
0.03214998170733452,
0.0006525824428535998,
-0.045292120426893234,
-0.007072253618389368,
0.030386557802557945,
0.003986263647675514,
-0.01515615452080965,
-0.03721750155091286,
-0.06697294116020203,
0.02797345444560051,
0.012780174612998962,
-0.03998329117894173,
0.009587450884282589,
0.003269293112680316,
-0.05501879006624222,
0.07781334966421127,
0.004997911397367716,
0.004951505456119776,
0.006937676575034857,
0.05913963168859482,
-0.044438254088163376,
-0.07191052287817001,
-0.022571811452507973,
0.01497053075581789,
0.045477744191884995,
-0.036753442138433456,
-0.03799711912870407,
-0.059622250497341156,
-0.08449579775333405,
-0.0457376167178154,
-0.02680402621626854,
-0.012455333024263382,
0.019620398059487343,
-0.08976750075817108,
-0.04484662413597107,
-0.0038493662141263485,
-0.02708246186375618,
-0.001049352576956153,
-0.01841384544968605,
0.08813401311635971,
-0.004881896544247866,
0.036809131503105164,
0.03595526143908501,
-0.006158058065921068,
-0.006807739846408367,
0.01860875077545643,
0.03983479365706444,
-0.004239175468683243,
-0.04607174172997475,
-0.01527681015431881,
-0.03120330162346363,
-0.007619842421263456,
0.04518074914813042,
0.0020325768273323774,
-0.07677385956048965,
-0.016511205583810806,
0.0640772134065628,
0.03827555477619171,
-0.019379088655114174,
-0.029903937131166458,
-0.04651723802089691,
-0.03554689139127731,
0.014534316025674343,
-0.0400204174220562,
-0.03990904241800308,
-0.0009037541458383203,
0.015731588006019592,
-0.0022924495860934258,
0.026024406775832176,
0.016139958053827286,
0.012269710190594196,
0.012780174612998962,
-0.03274397552013397,
-0.011787088587880135,
-0.002452549757435918,
-0.031184740364551544,
-0.02234906330704689,
-0.04970996081829071,
-0.06392871588468552,
-0.037365999072790146,
-0.02713814750313759,
0.10669635981321335,
0.01584296114742756,
-0.0017320987535640597,
-0.03927792236208916,
0.03898092359304428,
0.028270451352000237,
-0.010264976881444454,
-0.028103390708565712,
-0.03486008197069168,
0.050155457109212875,
-0.03181586042046547,
0.004666109569370747,
0.022980183362960815,
-0.017495010048151016,
-0.03599238768219948,
-0.006399368401616812,
0.04343588650226593,
-0.04503224790096283,
-0.010441319085657597,
0.032966725528240204,
0.060513243079185486,
-0.014330130070447922,
-0.010561974719166756,
0.010348507203161716,
0.009151236154139042,
-0.03458165004849434,
0.0065246643498539925,
-0.00016445077199023217,
-0.023555615916848183,
0.032966725528240204,
0.04863334447145462,
0.032725412398576736,
0.024335233494639397,
-0.010998189449310303,
-0.037792935967445374,
-0.0043876743875443935,
0.024854980409145355,
0.07996658235788345,
0.002872522920370102,
0.020548515021800995,
-0.029625503346323967,
-0.0002498665708117187,
0.021476633846759796,
-0.04989558458328247,
0.004065153654664755,
0.015870805829763412,
0.005842498037964106,
0.01588008552789688,
-0.07610561698675156,
-0.014023851603269577,
0.011295187287032604,
0.041579652577638626,
-0.00529490876942873,
0.012789455242455006,
-0.013652605004608631,
-0.048150721937417984,
-0.03161167353391647,
0.027954891324043274,
0.0181818176060915,
-0.03463733568787575,
-0.02351849153637886,
0.012622394599020481,
-0.03831268101930618,
-0.027305210009217262,
0.045143622905015945,
-0.03565826639533043,
0.014367255382239819,
0.02483641728758812,
-0.06738131493330002,
-0.03239129111170769,
0.06218385696411133,
0.05501879006624222,
0.03391340374946594,
-0.06734418869018555,
0.03283678740262985,
-0.04881896823644638,
-0.007471343968063593,
-0.0195461492985487,
-0.005888903979212046,
-0.009313656948506832,
-0.008566522039473057,
-0.0033156988210976124,
-0.012149054557085037,
-0.013708291575312614,
0.05579840764403343,
-0.08887650817632675,
0.006580351386219263,
-0.01497053075581789,
-0.015128310769796371,
-0.009415749460458755,
-0.04217364639043808,
0.02277599647641182,
0.05112069845199585,
0.01626061461865902,
0.04451250284910202,
0.02624715492129326,
-0.06808668375015259,
0.014209475368261337,
-0.0006810060585848987,
-0.008371617645025253,
-0.007350688800215721,
0.04792797565460205,
0.08137731999158859,
-0.027583643794059753,
0.04829922318458557,
0.04273051768541336,
-0.007387813180685043,
0.002090584021061659,
-0.039240796118974686,
-0.043510135263204575,
-0.02708246186375618,
-0.004176527727395296,
-0.02010301873087883,
-0.04544062167406082,
-0.028734510764479637,
0.027954891324043274,
0.009183719754219055,
0.03946354612708092,
0.010515568777918816,
-0.05487029254436493,
0.06734418869018555,
-0.02862313576042652,
-0.025151977315545082,
-0.01798691228032112,
0.01611211523413658,
-0.07172489911317825,
0.014525034464895725,
-0.011861338280141354,
0.023184368386864662,
-0.021420946344733238,
0.0034641975071281195,
-0.04198802262544632,
0.004652187693864107,
-0.019750334322452545,
0.0017135364469140768,
0.024817856028676033,
-0.021476633846759796,
0.039055172353982925,
0.009174439124763012,
0.05286555737257004,
-0.000026230189178022556,
0.05197456479072571,
-0.012483176775276661,
-0.015768712386488914,
0.020400017499923706,
0.00787507463246584,
0.002205438679084182,
0.018859341740608215,
0.0338391549885273,
-0.0062647913582623005,
-0.063149094581604,
-0.059993498027324677,
0.012056242674589157,
0.033245161175727844,
0.04213652387261391,
-0.06559932976961136,
-0.026971086859703064,
0.1148637905716896,
0.004812288098037243,
-0.010376350954174995,
0.009313656948506832,
0.009406467899680138,
-0.025337601080536842,
-0.0562439039349556,
-0.06552507728338242,
-0.02628428116440773,
0.0958559513092041,
-0.030794929713010788,
0.0844215452671051,
0.05446191877126694,
0.03695762902498245,
0.023110119625926018,
-0.03248410299420357,
-0.02886444702744484,
-0.02843751199543476,
-0.08835676312446594,
0.01718873158097267,
0.01440437976270914,
0.02108682319521904,
0.006232307292521,
-0.028270451352000237,
0.007930762134492397,
-0.03380202874541283,
0.03246553987264633,
-0.02385261282324791,
-0.01667826622724533,
-0.03096199221909046,
-0.011258061975240707,
0.025745972990989685,
-0.0015719985822215676,
-0.03946354612708092,
-0.008798551745712757,
-0.01835815981030464,
0.016798922792077065,
0.028326138854026794,
-0.02689683809876442,
-0.03426608815789223,
-0.0402802899479866,
-0.002369019202888012,
-0.0009994662832468748,
-0.013819665648043156,
0.025616036728024483,
-0.003554688999429345,
-0.0010766159975901246,
0.03012668527662754,
0.0031207941938191652,
-0.02201494202017784,
0.011100281961262226,
-0.03142604976892471,
0.014163069427013397,
0.00545732956379652,
0.027212398126721382,
-0.0018875584937632084,
0.04232214763760567,
0.0007163904956541955,
0.030535057187080383,
-0.043547261506319046,
-0.049041714519262314,
0.028103390708565712,
0.0176156647503376,
-0.008691818453371525,
-0.0010099075734615326,
-0.01431156788021326,
-0.030535057187080383,
-0.02253468707203865,
0.025467537343502045,
-0.02886444702744484,
-0.013884633779525757,
-0.03302241116762161,
0.0022866488434374332,
0.03820130601525307,
0.018191097304224968,
-0.021773630753159523,
0.0450693741440773,
-0.05167756974697113,
-0.03953779488801956,
-0.02984825149178505,
-0.022293375805020332,
0.012910110875964165,
0.059251006692647934,
0.072318896651268,
-0.0402802899479866,
-0.01803331822156906,
0.06801243126392365,
0.015759430825710297,
-0.005958512891083956,
0.02535616233944893,
0.049041714519262314,
-0.0450693741440773,
-0.025931596755981445,
-0.01234395895153284,
0.02277599647641182,
0.013773259706795216,
0.027657894417643547,
-0.011777807958424091,
0.002884124405682087,
0.022738872095942497,
-0.030256621539592743,
0.028511762619018555,
0.01803331822156906,
-0.05327393114566803,
-0.08657477796077728,
-0.011174531653523445,
-0.041579652577638626,
0.03823843225836754,
0.005893544293940067,
-0.022943058982491493,
-0.04699985682964325,
0.047668103128671646,
-0.001664810348302126,
0.05505591630935669,
0.0074295783415436745,
0.016316302120685577,
0.03435890004038811,
-0.027472270652651787,
-0.030349433422088623,
0.03489720821380615,
-0.004113879520446062,
-0.010060790926218033,
0.012835861183702946,
-0.03660494461655617,
0.030813492834568024,
-0.1124878078699112,
0.037365999072790146,
0.03517564386129379,
0.06790105998516083,
-0.0005380179500207305,
0.0038076010532677174,
-0.0008237040601670742,
-0.00890528503805399,
0.039240796118974686,
0.007605921011418104,
-0.02459510788321495,
0.0026497747749090195,
-0.015174716711044312,
-0.03599238768219948,
0.009522482752799988,
-0.048744719475507736,
0.020214393734931946,
0.030627869069576263,
-0.05965937674045563,
-0.12614969909191132,
-0.0176156647503376,
-0.0003396329120732844,
-0.024817856028676033,
-0.005582625046372414,
0.09593019634485245,
0.019193464890122414,
-0.0016172443283721805,
0.012028399854898453,
-0.019416213035583496,
0.006659241393208504,
0.023314304649829865,
0.04042878746986389,
0.005146410316228867,
-0.01930483803153038,
-0.01864587515592575,
-0.03491577133536339,
-0.004779804032295942,
0.026154344901442528,
-0.06003062427043915,
-0.015536682680249214,
0.05576128512620926,
0.0006084968918003142,
-0.09088124334812164,
0.004051231779158115,
-0.020325766876339912,
-0.005884263198822737,
0.02815907634794712,
-0.02357417717576027,
0.046405863016843796,
0.05546428635716438,
0.05802588909864426,
-0.004517610650509596,
-0.07480625063180923,
0.000026900897864834405,
-0.0028748430777341127,
0.022311938926577568,
-0.059993498027324677,
0.014348692260682583,
-0.00048378112842328846,
0.032873913645744324,
-0.06715856492519379,
-0.050675202161073685,
0.0507865771651268,
-0.020158706232905388,
-0.012891548685729504,
-0.04811359941959381,
0.020585641264915466,
-0.0142930056899786,
0.04447537660598755,
-0.031091928482055664,
0.013717573136091232,
0.01082184724509716,
-0.006798458751291037,
0.028697384521365166,
0.03781149536371231,
0.034321777522563934,
-0.011490091681480408,
0.029068632051348686,
-0.013624761253595352,
0.03328228369355202,
-0.03008956089615822,
0.0046197036281228065,
-0.008575803600251675,
-0.03641932085156441,
0.02277599647641182,
-0.01673395372927189,
-0.06326047331094742,
0.022126315161585808,
-0.009225485846400261,
-0.021420946344733238,
-0.049858458340168,
0.06170123443007469,
-0.04629448801279068,
-0.031555987894535065,
0.05787739157676697,
0.032539792358875275,
-0.04313889145851135,
0.03229847922921181,
-0.008942409418523312,
-0.021959254518151283,
-0.019806021824479103,
0.019007841125130653,
-0.014209475368261337,
-0.06370596587657928,
0.010487725026905537,
0.03389484062790871,
0.050526704639196396,
0.03927792236208916,
0.052976932376623154,
0.03406190127134323,
-0.02056707814335823,
0.0192120261490345,
-0.008232399821281433,
0.04878184199333191,
0.0008585084578953683,
-0.006891270633786917,
0.008288087323307991,
0.01415378786623478,
0.013337044976651669,
0.03307810053229332,
0.006928395014256239,
0.03279966488480568,
0.007420297246426344,
-0.0266555268317461,
0.008227759040892124,
-0.020511390641331673,
0.03365353122353554,
-0.0717991515994072,
-0.05438767001032829,
0.027119586244225502,
0.012919392436742783,
-0.04811359941959381,
-0.040317412465810776,
0.019750334322452545,
-0.005638312082737684,
0.018942873924970627,
0.027769267559051514,
-0.020492829382419586,
0.030813492834568024,
0.063557468354702,
-0.01316998340189457,
-0.013996007852256298,
0.0017344191437587142,
-0.026544153690338135,
0.07387813180685043,
-0.028270451352000237,
0.050341080874204636,
0.08048632740974426,
0.07469487935304642,
-0.03506426885724068,
-0.011870619840919971,
0.09600444883108139,
0.0160193033516407,
0.045514870434999466,
-0.0004394054994918406,
-0.00899809692054987,
0.02151375822722912,
-0.027026774361729622,
0.004197410307824612,
-0.02890157140791416,
0.02843751199543476,
-0.00451064994558692,
0.022460436448454857,
-0.037885747849941254,
-0.011035313829779625,
-0.018859341740608215,
-0.003512923838570714,
-0.015193278901278973,
-0.03938929736614227,
-0.0787043422460556,
0.04930158704519272,
-0.04117128252983093,
-0.024854980409145355,
0.014255881309509277,
0.002995498478412628,
0.09875167161226273,
-0.019286276772618294,
0.03365353122353554,
-0.009782356210052967,
0.01930483803153038,
-0.024910666048526764,
0.03805280849337578,
0.06868067383766174,
0.02244187518954277,
-0.042841892689466476,
-0.013615479692816734,
0.060698866844177246,
0.03313378617167473,
-0.0028098749462515116,
0.01873868703842163,
0.05899113044142723,
-0.019137777388095856,
-0.0037542341742664576,
0.043176013976335526,
0.01878509297966957,
-0.015991460531949997,
-0.02567172236740589,
-0.015128310769796371,
-0.04410413280129433,
0.016139958053827286,
0.01804259978234768,
0.05616965517401695,
0.027472270652651787,
0.04484662413597107
] |
708,660
|
wom_connector.voucher
|
create
| null |
@staticmethod
def create(aim: str, latitude: float, longitude: float, timestamp: datetime, count: int = 1) -> 'Voucher':
voucher = Voucher()
voucher.Aim = aim
voucher.Latitude = latitude
voucher.Longitude = longitude
voucher.Timestamp = timestamp.isoformat()
voucher.Count = count
voucher.CreationMode = 'Standard'
return voucher
|
(aim: str, latitude: float, longitude: float, timestamp: datetime.datetime, count: int = 1) -> wom_connector.voucher.Voucher
|
[
-0.003470676951110363,
-0.0374552384018898,
-0.02950415015220642,
-0.004849439021199942,
-0.038288380950689316,
-0.07911241799592972,
-0.0540456622838974,
0.00381027371622622,
-0.022567324340343475,
-0.005931620020419359,
-0.03886796161532402,
0.0233280211687088,
-0.029341144487261772,
-0.028018981218338013,
-0.03231148421764374,
-0.0021632302086800337,
-0.006248577032238245,
-0.04060669615864754,
-0.028906460851430893,
-0.006434223148971796,
0.04390304535627365,
-0.0029726021457463503,
-0.026443254202604294,
0.05871851369738579,
0.04404794052243233,
0.054190557450056076,
0.004254013299942017,
0.06679638475179672,
0.02950415015220642,
0.019560763612389565,
0.03021051175892353,
-0.005175451748073101,
0.05611041188240051,
0.08092360198497772,
-0.00851708184927702,
-0.012379427440464497,
-0.04589534550905228,
-0.0006288196891546249,
-0.06465918570756912,
0.03973732888698578,
0.03966487944126129,
0.03535426780581474,
-0.01191757619380951,
-0.009114772081375122,
0.011057264171540737,
-0.01829293556511402,
0.005668998695909977,
-0.03629608079791069,
-0.011636842973530293,
0.006194241810590029,
-0.024233611300587654,
0.0540456622838974,
-0.005854644812643528,
-0.03615118935704231,
-0.06893357634544373,
0.0004912830772809684,
0.058682288974523544,
0.09794870764017105,
-0.03283672407269478,
0.012252644635736942,
-0.01351141557097435,
0.04705450311303139,
0.030699530616402626,
-0.021263273432850838,
-0.015023753046989441,
0.0326918289065361,
-0.04162095487117767,
0.021607398986816406,
0.060529693961143494,
0.049517709761857986,
0.08816833049058914,
0.010332792066037655,
0.012614880688488483,
0.018211431801319122,
0.03542671352624893,
0.038288380950689316,
-0.01355669554322958,
0.028743455186486244,
0.027185838669538498,
-0.014643404632806778,
0.01608329452574253,
-0.03781747445464134,
-0.004668320994824171,
0.03142400458455086,
0.024577736854553223,
0.0791848674416542,
-0.005524104461073875,
-0.05169112607836723,
-0.0233280211687088,
0.050821758806705475,
-0.048358552157878876,
-0.021064043045043945,
-0.055241044610738754,
0.015512771904468536,
0.011446668766438961,
-0.04828610643744469,
0.02294767275452614,
-0.027674857527017593,
0.005963315721601248,
0.07990933954715729,
0.01206247042864561,
0.0026828129775822163,
-0.06545610725879669,
-0.020701806992292404,
0.0034389812499284744,
-0.04187452048063278,
0.020520688965916634,
-0.019560763612389565,
0.030953096225857735,
0.030083728954195976,
-0.0069685219787061214,
0.06378982216119766,
-0.026443254202604294,
0.007534516043961048,
-0.07056364417076111,
-0.006370831746608019,
0.03158700838685036,
0.024088717997074127,
-0.03341630473732948,
-0.028671007603406906,
0.053284965455532074,
-0.040244460105895996,
-0.023382356390357018,
0.009128356352448463,
0.025193538516759872,
0.01206247042864561,
0.00004506729601416737,
0.00313560850918293,
0.043939270079135895,
0.013611030764877796,
0.01571200229227543,
-0.017613742500543594,
0.038288380950689316,
-0.010758419521152973,
-0.006597229745239019,
-0.02392571046948433,
0.086574487388134,
0.0073171742260456085,
-0.0390128567814827,
0.05393699184060097,
-0.003764993976801634,
0.0001054871900123544,
0.03345252573490143,
0.0010872751008719206,
-0.01580256037414074,
0.01524109486490488,
-0.038723066449165344,
-0.011093487963080406,
-0.04882945865392685,
0.013194459490478039,
0.03566217049956322,
0.007267366629093885,
0.017160946503281593,
0.04908302426338196,
0.004795103799551725,
-0.07940220832824707,
0.041548509150743484,
-0.05893585458397865,
0.0395924337208271,
0.01943398080766201,
-0.006121794227510691,
0.03374231606721878,
0.00012423575390130281,
-0.010948593728244305,
-0.012786943465471268,
0.019886774942278862,
0.007602435536682606,
0.04335968941450119,
0.001711566816084087,
-0.020122230052947998,
-0.025048643350601196,
-0.028761565685272217,
-0.05995011702179909,
0.008077871054410934,
-0.04629380628466606,
0.011184046976268291,
0.009015156887471676,
-0.006651564966887236,
0.050568193197250366,
-0.016309691593050957,
-0.02798275835812092,
-0.04904680326581001,
0.04372192919254303,
0.008440107107162476,
0.01311295572668314,
-0.04343213886022568,
0.04107760265469551,
0.035444825887680054,
0.018474053591489792,
0.003257863223552704,
0.034937694668769836,
0.023038232699036598,
-0.003601987613365054,
0.01086709089577198,
0.014561900869011879,
0.017287729308009148,
-0.0035159566905349493,
-0.0026148937176913023,
-0.1234501451253891,
0.07867773622274399,
0.013801204971969128,
0.07204881310462952,
-0.0046592652797698975,
-0.054081887006759644,
0.057994041591882706,
0.02483130246400833,
0.010785587131977081,
-0.006108210422098637,
-0.05734201520681381,
-0.07925731688737869,
0.034050218760967255,
0.01231603603810072,
-0.046837158501148224,
0.026352694258093834,
-0.018301991745829582,
-0.03370609134435654,
0.04104137793183327,
0.007059080991894007,
0.017025109380483627,
0.009617375209927559,
0.057088449597358704,
-0.02401627041399479,
-0.06980294734239578,
-0.05853739380836487,
0.03799859434366226,
0.04133116826415062,
-0.017794860526919365,
-0.036513425409793854,
-0.06147150695323944,
-0.09367431700229645,
-0.04415661096572876,
-0.0026941329706460238,
-0.01696171797811985,
0.028381217271089554,
-0.06574589759111404,
-0.06777442246675491,
-0.008652920834720135,
-0.007629603147506714,
-0.046148911118507385,
-0.03472035378217697,
0.08121339231729507,
0.019669434055685997,
0.032909173518419266,
0.07440334558486938,
-0.020448241382837296,
-0.024070605635643005,
-0.029341144487261772,
0.05009728670120239,
-0.005026029422879219,
-0.0466560423374176,
-0.04249032214283943,
-0.02606290578842163,
-0.01475207507610321,
0.03406832739710808,
0.020647471770644188,
-0.021172715350985527,
0.00010605317947920412,
0.025918010622262955,
0.027258286252617836,
-0.009336641989648342,
-0.058247603476047516,
-0.02984827570617199,
-0.02093726024031639,
0.037563908845186234,
-0.012017191387712955,
-0.03904907777905464,
-0.030264846980571747,
0.03814348950982094,
0.007222087122499943,
0.008530666120350361,
0.04567800462245941,
0.049227919429540634,
0.020991597324609756,
-0.04785142093896866,
-0.0055376882664859295,
-0.061688851565122604,
-0.002777900081127882,
0.001608555787242949,
-0.039519984275102615,
-0.04227298125624657,
-0.022983895614743233,
0.014063826762139797,
0.08389393985271454,
0.018926849588751793,
-0.011093487963080406,
-0.0262440238147974,
0.03966487944126129,
0.03410455211997032,
-0.03462979570031166,
-0.028906460851430893,
-0.09678955376148224,
0.07081720978021622,
-0.011383277364075184,
-0.0027665800880640745,
0.010749363340437412,
0.021842852234840393,
-0.02091914974153042,
0.007149640005081892,
0.021752292290329933,
-0.034503012895584106,
0.005881812889128923,
0.02577311545610428,
0.030337294563651085,
-0.011962855234742165,
-0.01457095704972744,
0.01811181753873825,
-0.005392793565988541,
-0.025591997429728508,
-0.008390299044549465,
-0.013973266817629337,
-0.028381217271089554,
0.04908302426338196,
0.04973505064845085,
0.03879551216959953,
0.02207830548286438,
0.003149192314594984,
-0.023454803973436356,
-0.026606259867548943,
0.02030334807932377,
0.05502369999885559,
0.04343213886022568,
-0.012750719673931599,
0.011980967596173286,
-0.02622591145336628,
0.00699568958953023,
-0.02941359207034111,
-0.024921860545873642,
0.022549211978912354,
-0.007077192887663841,
0.02066558413207531,
-0.08563267439603806,
0.04118627309799194,
0.017160946503281593,
0.030156176537275314,
-0.03276427835226059,
0.018256712704896927,
-0.026533812284469604,
-0.04241787642240524,
-0.02048446610569954,
0.009635486640036106,
-0.007756385952234268,
-0.014480398036539555,
-0.046402476727962494,
0.033687978982925415,
0.00028978908085264266,
-0.02772919274866581,
0.01267827209085226,
-0.07570739835500717,
0.02490375004708767,
0.0021496464032679796,
-0.058066487312316895,
-0.046764712780714035,
0.04390304535627365,
0.05053197219967842,
0.06980294734239578,
-0.031315334141254425,
0.026099128648638725,
-0.02314690314233303,
-0.02950415015220642,
-0.002687340835109353,
-0.0515824556350708,
-0.032546937465667725,
0.028453664854168892,
-0.01792164333164692,
-0.03370609134435654,
0.009218915365636349,
0.02091914974153042,
-0.04046180099248886,
-0.042091865092515945,
0.012859390117228031,
-0.014589069411158562,
-0.03461168333888054,
-0.039882224053144455,
0.058863408863544464,
0.05625530704855919,
0.007534516043961048,
0.019470203667879105,
-0.005021501332521439,
-0.07809815555810928,
0.021390056237578392,
-0.031387779861688614,
-0.005918036215007305,
0.010785587131977081,
0.031242884695529938,
0.07226615399122238,
-0.01634591445326805,
0.030590860173106194,
0.05545838549733162,
0.006628925446420908,
0.02146250382065773,
-0.04230920597910881,
-0.051618680357933044,
0.00005645793135045096,
-0.03624174743890762,
-0.01355669554322958,
-0.03164134547114372,
-0.00852613802999258,
0.013103899545967579,
0.02383515238761902,
0.014933194033801556,
-0.015567107126116753,
-0.04582289978861809,
0.02490375004708767,
-0.028562337160110474,
-0.03821593523025513,
-0.020901037380099297,
0.013629143126308918,
-0.07371509820222855,
-0.0005526934401132166,
-0.029830163344740868,
0.018564613536000252,
-0.03309028968214989,
0.0012859390117228031,
-0.029920723289251328,
0.0157301127910614,
0.0076612988486886024,
-0.011030096560716629,
0.008838566951453686,
-0.059587880969047546,
0.006465918850153685,
0.002743940334767103,
0.018138986080884933,
-0.021571174263954163,
0.062123533338308334,
-0.011962855234742165,
0.007928447797894478,
0.01351141557097435,
0.01041429489850998,
0.025736892595887184,
-0.003884984878823161,
-0.014770187437534332,
-0.003402757691219449,
-0.05212581157684326,
-0.016019903123378754,
0.008254460990428925,
0.024251723662018776,
0.0038329134695231915,
-0.040932707488536835,
-0.02816387638449669,
0.0896172747015953,
0.03894040733575821,
-0.025121090933680534,
0.03577084094285965,
0.0045619141310453415,
-0.03064519539475441,
-0.0653836578130722,
-0.07686655223369598,
-0.0448448620736599,
0.08302456885576248,
-0.026714930310845375,
0.10019457340240479,
0.05734201520681381,
0.07215747982263565,
0.01598367840051651,
-0.008064286783337593,
-0.039882224053144455,
-0.07788081467151642,
-0.10859845578670502,
0.017459793016314507,
-0.003506900742650032,
-0.022585436701774597,
0.012605825439095497,
-0.036078739911317825,
0.0033235184382647276,
0.00347746885381639,
0.0040570469573140144,
-0.02834499441087246,
-0.02225942350924015,
0.004337780177593231,
-0.015222982503473759,
0.018854402005672455,
-0.03214847669005394,
-0.020538801327347755,
0.004355892073363066,
0.008458218537271023,
-0.01373781356960535,
0.010043002665042877,
-0.0030767449643462896,
-0.009318530559539795,
-0.01812087371945381,
-0.007371509913355112,
0.004491730593144894,
-0.01748695969581604,
0.07056364417076111,
-0.008191069588065147,
0.019560763612389565,
0.0065519497729837894,
0.006425167433917522,
-0.028598560020327568,
0.01515053492039442,
-0.018392549827694893,
0.018428774550557137,
0.021969635039567947,
0.014371727593243122,
0.003823857521638274,
0.04169340431690216,
0.015132423490285873,
0.030409742146730423,
-0.07125189155340195,
-0.03497391939163208,
-0.01060446910560131,
-0.0025605582632124424,
-0.015259206295013428,
-0.03526370972394943,
0.02216886542737484,
-0.04104137793183327,
-0.016834935173392296,
-0.007534516043961048,
0.005311290267854929,
-0.01183607243001461,
-0.038288380950689316,
-0.033180851489305496,
-0.0040095034055411816,
0.03385098651051521,
-0.006090098526328802,
0.028562337160110474,
-0.053647205233573914,
-0.0754900574684143,
-0.049843721091747284,
-0.018301991745829582,
0.03348875045776367,
0.0524880476295948,
0.0262440238147974,
-0.07357019931077957,
0.011129711754620075,
0.012008135206997395,
0.03763635829091072,
-0.02242243103682995,
0.02260354906320572,
0.05755935609340668,
-0.03636853024363518,
-0.044373951852321625,
-0.0037966896779835224,
0.01766807772219181,
0.016979828476905823,
0.023165015503764153,
-0.049517709761857986,
-0.017640911042690277,
0.03260127082467079,
-0.04814121127128601,
0.004926414228975773,
-0.0014772451249882579,
-0.04748918488621712,
-0.06502142548561096,
0.0017376025207340717,
-0.0022786930203437805,
0.02207830548286438,
-0.021390056237578392,
-0.009553983807563782,
-0.04593157023191452,
0.08193786442279816,
-0.023798927664756775,
0.022802777588367462,
-0.01081275474280119,
0.012361315079033375,
0.07070853561162949,
-0.015177703462541103,
-0.049952391535043716,
0.024179276078939438,
-0.0009321926045231521,
-0.008770647458732128,
-0.02294767275452614,
-0.005288650747388601,
0.06255821883678436,
-0.11330752819776535,
0.028997020795941353,
0.0259542353451252,
0.03100743144750595,
0.017197171226143837,
0.00593614811077714,
0.0233280211687088,
-0.021752292290329933,
0.060891930013895035,
0.0390128567814827,
-0.027222061529755592,
-0.00045364443212747574,
-0.022730331867933273,
-0.025139203295111656,
-0.00017984469013754278,
-0.03894040733575821,
0.02376270480453968,
0.02791031077504158,
-0.0841112807393074,
-0.08201030641794205,
-0.016563257202506065,
0.0257912278175354,
-0.014860746450722218,
-0.02941359207034111,
0.0823000967502594,
0.005383737850934267,
-0.0026284775231033564,
0.017378289252519608,
0.0048584952019155025,
0.027095278725028038,
-0.000948606466408819,
0.02551955170929432,
0.0326918289065361,
-0.030790090560913086,
-0.0191804151982069,
-0.047923870384693146,
0.00049666000995785,
0.05263294279575348,
-0.08331435918807983,
0.03966487944126129,
0.02765674516558647,
-0.02262165956199169,
-0.0823000967502594,
-0.0030903287697583437,
0.0009644542587921023,
-0.0007069268613122404,
0.04890190809965134,
-0.027439404278993607,
0.013103899545967579,
0.044373951852321625,
0.060022562742233276,
0.009037797339260578,
-0.06244954839348793,
0.00543354544788599,
0.00812767818570137,
0.020701806992292404,
-0.059298090636730194,
0.0011297246674075723,
-0.0004479844938032329,
0.01685304567217827,
-0.06781064718961716,
-0.0337604284286499,
0.050024840980768204,
-0.04549688473343849,
0.0013425385113805532,
-0.05060441792011261,
0.025193538516759872,
-0.017966922372579575,
0.014779242686927319,
-0.008987989276647568,
0.022549211978912354,
0.04162095487117767,
-0.002673757029697299,
0.03533615544438362,
0.04335968941450119,
0.08389393985271454,
-0.036169297993183136,
0.07440334558486938,
-0.0043762680143117905,
0.021589286625385284,
0.0052162036299705505,
-0.029178138822317123,
-0.006900602485984564,
-0.058066487312316895,
0.010369015857577324,
0.001870045205578208,
-0.03665832057595253,
0.012605825439095497,
0.01337557751685381,
-0.001223679631948471,
-0.03832460567355156,
0.06183374673128128,
-0.057414460927248,
-0.0022990687284618616,
0.0325288251042366,
-0.001973056234419346,
-0.02577311545610428,
0.021353833377361298,
0.0033597422298043966,
-0.006040290929377079,
-0.04930036887526512,
0.0014421534724533558,
-0.0034480371978133917,
-0.0635724812746048,
-0.03886796161532402,
0.05810271203517914,
0.03280050307512283,
0.0448448620736599,
0.050749313086271286,
0.040389351546764374,
0.028489889577031136,
0.005419961176812649,
-0.012451875023543835,
0.035191260278224945,
0.011971911415457726,
0.028761565685272217,
0.03843327611684799,
-0.0010397315490990877,
0.041729629039764404,
-0.023038232699036598,
0.007914864458143711,
0.03886796161532402,
-0.011347053572535515,
-0.018437830731272697,
0.002501694718375802,
-0.01019695308059454,
0.022802777588367462,
-0.05879095941781998,
-0.03814348950982094,
0.032293371856212616,
0.014987529255449772,
-0.01792164333164692,
-0.04169340431690216,
0.04220053553581238,
0.00029063806869089603,
0.027874087914824486,
0.00046326633309945464,
0.012596769258379936,
0.0010363355977460742,
0.08882035315036774,
-0.05574817582964897,
-0.009653599001467228,
0.01183607243001461,
-0.04002711549401283,
0.04118627309799194,
-0.027222061529755592,
0.05676243454217911,
0.056653764098882675,
0.07059986144304276,
0.007194919511675835,
0.022458653897047043,
0.08997950702905655,
-0.023038232699036598,
0.06226842850446701,
-0.0025243344716727734,
-0.02048446610569954,
0.02957659773528576,
-0.03366987034678459,
0.012089638039469719,
-0.030627083033323288,
0.0019787161145359278,
-0.018175208941102028,
0.007593379355967045,
-0.021860964596271515,
0.011600619181990623,
-0.00829974003136158,
0.003205791814252734,
-0.004840383306145668,
-0.038904182612895966,
-0.05288650840520859,
0.036350417882204056,
-0.004534746520221233,
-0.021136490628123283,
0.006859851069748402,
0.018564613536000252,
0.05433545261621475,
-0.010921426117420197,
0.054009441286325455,
-0.010061115026473999,
0.002737148432061076,
-0.05810271203517914,
0.0383608303964138,
0.035118814557790756,
-0.02693227306008339,
-0.03923019766807556,
-0.005465241149067879,
0.0660356879234314,
0.029268696904182434,
-0.009572095237672329,
0.0038736648857593536,
0.051183994859457016,
-0.03937509283423424,
0.02622591145336628,
0.047199398279190063,
0.0060946266166865826,
-0.025048643350601196,
0.009735101833939552,
-0.019723769277334213,
-0.027149613946676254,
0.025139203295111656,
-0.03886796161532402,
0.025990458205342293,
0.03602440655231476,
0.046148911118507385
] |
708,661
|
wom_connector.voucher
|
createWithoutLocation
| null |
@staticmethod
def createWithoutLocation(aim: str, timestamp: datetime, count: int = 1) -> 'Voucher':
voucher = Voucher()
voucher.Aim = aim
voucher.Latitude = 0.0
voucher.Longitude = 0.0
voucher.Timestamp = timestamp.isoformat()
voucher.Count = count
voucher.CreationMode = 'SetLocationOnRedeem'
return voucher
|
(aim: str, timestamp: datetime.datetime, count: int = 1) -> wom_connector.voucher.Voucher
|
[
0.0030032433569431305,
-0.021840127184987068,
-0.025760149583220482,
-0.014000081457197666,
-0.043066058307886124,
-0.08808309584856033,
-0.0668029710650444,
0.023411748930811882,
-0.019419467076659203,
-0.005487128626555204,
-0.056578394025564194,
0.03184792771935463,
-0.04982222616672516,
-0.014903312548995018,
-0.03392535820603371,
0.01776655577123165,
-0.00014359962369780988,
-0.01445169746875763,
-0.016420740634202957,
-0.030493080615997314,
0.05321837589144707,
0.005672290921211243,
-0.028180809691548347,
0.06517715752124786,
0.014921377412974834,
0.0621061697602272,
-0.020286569371819496,
0.05654226616024971,
0.027313707396388054,
-0.00976392813026905,
0.03229954466223717,
-0.024351108819246292,
0.05368805304169655,
0.06741716712713242,
0.001459847204387188,
-0.011669745668768883,
-0.06384037435054779,
0.011832326650619507,
-0.06969331204891205,
0.03399761766195297,
0.06904298067092896,
0.036382146179676056,
-0.018371719866991043,
-0.008842632174491882,
0.014334277249872684,
-0.010531674139201641,
0.02138851210474968,
-0.036833763122558594,
-0.014180728234350681,
0.007149073760956526,
-0.003786796238273382,
0.08656566590070724,
0.006841975264251232,
-0.008725211955606937,
-0.07124686986207962,
0.0017206552438437939,
0.048738349229097366,
0.09538120031356812,
-0.028722748160362244,
0.017694296315312386,
-0.03818861022591591,
0.056831300258636475,
0.01363878883421421,
-0.021713674068450928,
-0.00602455111220479,
0.008743276819586754,
-0.03293180465698242,
0.013476207852363586,
0.06611651182174683,
0.06365972757339478,
0.08577082306146622,
0.003554214257746935,
0.004940674174576998,
0.031089212745428085,
0.0621061697602272,
0.007000040728598833,
-0.013963952660560608,
0.046606723219156265,
0.04042862355709076,
-0.0218762569129467,
-0.005970357451587915,
-0.028289197012782097,
-0.01381040271371603,
0.03829699754714966,
0.01464137528091669,
0.0928521528840065,
0.02798209898173809,
-0.05206223949790001,
-0.016077512875199318,
0.034864719957113266,
-0.03663505241274834,
-0.016980744898319244,
-0.057987432926893234,
-0.013169108889997005,
0.0277472585439682,
-0.032967932522296906,
0.026518864557147026,
-0.026880156248807907,
0.0013661369448527694,
0.06362359970808029,
0.02243625931441784,
-0.00910908542573452,
-0.06138358265161514,
-0.020142052322626114,
-0.0008021820685826242,
-0.03668924421072006,
0.01810978353023529,
-0.03491891175508499,
0.055639032274484634,
0.030131788924336433,
-0.0076052057556807995,
0.039922814816236496,
-0.03358213230967522,
-0.007835529744625092,
-0.06795910745859146,
-0.0024996919091790915,
0.02538079395890236,
0.022038837894797325,
-0.007984562776982784,
-0.03804409131407738,
0.06770619750022888,
-0.034376975148916245,
-0.05715646222233772,
-0.010793611407279968,
0.049316417425870895,
0.0008665373316034675,
-0.015120088122785091,
0.017188487574458122,
0.05639774724841118,
0.008666502311825752,
0.008580694906413555,
-0.012916204519569874,
0.02409820444881916,
-0.012798784300684929,
-0.04021184891462326,
0.005943260621279478,
0.08931148797273636,
0.011136839166283607,
-0.04187379404902458,
0.04429445043206215,
-0.006683909799903631,
-0.00993554200977087,
0.047546084970235825,
0.00846327468752861,
0.0021180768962949514,
0.028126616030931473,
-0.0439692884683609,
0.010341995395720005,
-0.04946093261241913,
0.007212300319224596,
0.030764050781726837,
0.02913823351264,
0.0008744405931793153,
0.041657015681266785,
0.02021431177854538,
-0.0740649476647377,
0.019076239317655563,
-0.04028410464525223,
0.034846656024456024,
-0.003080017864704132,
0.000792585255112499,
0.01775752194225788,
0.02160528674721718,
-0.023646589368581772,
-0.015020732767879963,
0.012012973427772522,
0.012744590640068054,
0.06243133172392845,
0.006801330018788576,
-0.009244569577276707,
-0.03894732519984245,
-0.016149772331118584,
-0.0458841398358345,
0.006805846001952887,
-0.02975243143737316,
0.041440241038799286,
-0.005238740239292383,
-0.020160118117928505,
0.03425052389502525,
-0.024585949257016182,
-0.01522847544401884,
-0.027566611766815186,
0.010920063592493534,
0.0030619532335549593,
0.036616988480091095,
-0.0731978490948677,
0.027078866958618164,
0.016032351180911064,
-0.0005978260887786746,
0.01585170440375805,
0.014885247685015202,
0.05029190704226494,
0.020954960957169533,
0.033672455698251724,
0.031902119517326355,
0.03269696608185768,
-0.0022163032554090023,
0.0030438886024057865,
-0.1018122062087059,
0.07551011443138123,
0.012780719436705112,
0.0738481730222702,
0.0014011372113600373,
-0.05560290440917015,
0.03912796825170517,
0.03432277962565422,
0.0066297161392867565,
-0.026518864557147026,
-0.08288048207759857,
-0.04487251862883568,
0.029662108048796654,
0.015002667903900146,
-0.01658332161605358,
0.014722666703164577,
-0.028054356575012207,
-0.023538202047348022,
0.045306071639060974,
0.03428665176033974,
0.02021431177854538,
0.03432277962565422,
0.03511762246489525,
-0.04928028583526611,
-0.05455515533685684,
-0.07016298919916153,
0.046715110540390015,
0.0533628910779953,
-0.025886602699756622,
-0.05827646702528,
-0.06907910853624344,
-0.07666625082492828,
-0.0338350348174572,
-0.0012171039124950767,
-0.009447797201573849,
0.01422588899731636,
-0.03854990378022194,
-0.05950486287474632,
-0.02702467329800129,
-0.03235373646020889,
-0.03307632356882095,
-0.037538282573223114,
0.059540990740060806,
0.003170341020449996,
0.04115120694041252,
0.0721500962972641,
0.0022919487673789263,
-0.002714209258556366,
-0.025597568601369858,
0.0627564936876297,
-0.004954222589731216,
-0.0467512384057045,
-0.02642854116857052,
-0.03193825110793114,
-0.027693064883351326,
0.042487990111112595,
0.02973436750471592,
-0.029680173844099045,
0.011606519110500813,
0.015336863696575165,
0.015255573205649853,
-0.0004933899617753923,
-0.06633328646421432,
-0.04219895601272583,
-0.043318960815668106,
0.007474237121641636,
-0.025200147181749344,
-0.029427267611026764,
-0.026374347507953644,
0.04263250529766083,
-0.003712279722094536,
0.02975243143737316,
0.03199244290590286,
0.025362728163599968,
0.01753171533346176,
-0.050833843648433685,
-0.009971670806407928,
-0.016727838665246964,
-0.0016133964527398348,
-0.010974257253110409,
-0.03246212378144264,
-0.0420544371008873,
-0.02599499002099037,
0.03381697088479996,
0.10072832554578781,
0.034376975148916245,
-0.026970479637384415,
-0.024044010788202286,
0.025832409039139748,
0.00829166080802679,
-0.028054356575012207,
-0.02738596685230732,
-0.08121854066848755,
0.07290881127119064,
0.002171141793951392,
0.006720039062201977,
0.02281561680138111,
0.014731698669493198,
-0.014487826265394688,
0.00015679527132306248,
0.0178749430924654,
-0.016773000359535217,
0.01644783839583397,
0.020413022488355637,
0.004346799571067095,
0.007343268487602472,
0.005776162724941969,
0.02303239144384861,
-0.007221332285553217,
-0.0008891180623322725,
0.006498747505247593,
-0.019708501175045967,
-0.03313051536679268,
0.042849283665418625,
0.03656279295682907,
0.01716138981282711,
0.02960791438817978,
0.010911031626164913,
-0.007374881766736507,
-0.026356281712651253,
0.03224534913897514,
0.07088557630777359,
0.04104281961917877,
-0.01596912555396557,
0.0006350843468680978,
-0.013069753535091877,
-0.025434987619519234,
-0.04512542486190796,
-0.03659892454743385,
0.012645235285162926,
-0.03630989044904709,
0.022056901827454567,
-0.08671018481254578,
0.008386500179767609,
-0.011489098891615868,
-0.0060516479425132275,
-0.04288541153073311,
0.012356201186776161,
-0.0359666608273983,
-0.05180933326482773,
-0.015074926428496838,
0.025127887725830078,
-0.0056542265228927135,
-0.007492301519960165,
-0.052242886275053024,
0.046606723219156265,
0.014650408178567886,
-0.03275115787982941,
0.02221948467195034,
-0.060733258724212646,
0.04469187185168266,
0.01680009812116623,
-0.04136798158288002,
-0.022598842158913612,
0.024423368275165558,
0.058240339159965515,
0.09010633081197739,
-0.027927905321121216,
0.025416921824216843,
-0.0012972656404599547,
-0.02975243143737316,
-0.0008253274136222899,
-0.06633328646421432,
-0.03538859263062477,
0.028524037450551987,
-0.02010592445731163,
-0.028361456468701363,
-0.014939442276954651,
0.049894485622644424,
-0.052604176104068756,
-0.038838934153318405,
-0.004669704474508762,
-0.03764666989445686,
-0.051050618290901184,
-0.02467627264559269,
0.04136798158288002,
0.05791517719626427,
-0.010314898565411568,
0.008400049060583115,
-0.012744590640068054,
-0.07287268340587616,
0.025362728163599968,
-0.026536928489804268,
-0.0007615367067046463,
-0.009447797201573849,
0.047076404094696045,
0.0648881196975708,
0.005898098926991224,
0.02928275056183338,
0.06167261675000191,
-0.010432318784296513,
0.00970070157200098,
-0.019184628501534462,
-0.06499651074409485,
-0.00455454271286726,
-0.035551175475120544,
-0.008034240454435349,
-0.027584677562117577,
-0.03453955426812172,
0.004832286387681961,
0.014189760200679302,
0.007560044061392546,
0.015616864897310734,
-0.02857823111116886,
0.0110465157777071,
-0.025109823793172836,
-0.017775587737560272,
-0.013729112222790718,
-0.00962844304740429,
-0.0749320462346077,
-0.0039313132874667645,
-0.036382146179676056,
0.017893007025122643,
-0.03880280628800392,
0.010667159222066402,
-0.027349837124347687,
0.0373576357960701,
-0.013078785501420498,
-0.007501333951950073,
0.008973600342869759,
-0.03694215044379234,
0.0007954078610055149,
0.0010528287384659052,
0.0014090404147282243,
-0.010071026161313057,
0.05050868168473244,
0.014072339981794357,
0.010667159222066402,
-0.01069425605237484,
-0.013557498343288898,
0.0026803382206708193,
0.009583281353116035,
-0.00969166960567236,
-0.024152398109436035,
-0.05686742812395096,
-0.009375538676977158,
0.0032064702827483416,
0.02044915221631527,
0.02032269909977913,
-0.04454735666513443,
-0.0531461164355278,
0.10766514390707016,
0.02055753953754902,
-0.029210492968559265,
0.03833312541246414,
0.024893049150705338,
-0.011660712771117687,
-0.04422219470143318,
-0.07182493805885315,
-0.03667118027806282,
0.08967278152704239,
-0.012880074791610241,
0.09747669845819473,
0.05361579731106758,
0.05993841215968132,
0.019365273416042328,
-0.03275115787982941,
-0.026374347507953644,
-0.07323397696018219,
-0.07709980756044388,
-0.001768074813298881,
-0.0035767951048910618,
-0.02137044630944729,
0.027114996686577797,
-0.05737323686480522,
-0.009167795069515705,
0.014406535774469376,
0.028289197012782097,
-0.029535656794905663,
-0.03645440563559532,
-0.006864556111395359,
-0.0039087324403226376,
0.0026442089583724737,
-0.049316417425870895,
-0.018425913527607918,
-0.001176458434201777,
-0.0049948678351938725,
-0.028235003352165222,
0.00015425492892973125,
-0.0042022825218737125,
0.016149772331118584,
-0.004285831470042467,
-0.008752308785915375,
0.005450999364256859,
-0.024893049150705338,
0.06102229282259941,
-0.007758754771202803,
0.0244414322078228,
-0.011588454246520996,
-0.015418154187500477,
-0.02034076303243637,
0.02433304488658905,
-0.03421439230442047,
-0.0010121832601726055,
0.014840086922049522,
0.0034751815255731344,
0.007943917065858841,
0.02622983045876026,
0.019329145550727844,
0.03128792345523834,
-0.04516155272722244,
-0.04617317393422127,
-0.017305906862020493,
0.007460688706487417,
-0.030149852856993675,
-0.046028655022382736,
0.01657428964972496,
-0.04234347119927406,
-0.015074926428496838,
0.0051709976978600025,
0.011660712771117687,
-0.010197478346526623,
-0.014767828397452831,
-0.00150500878226012,
0.010992322117090225,
0.03329309821128845,
-0.015490412712097168,
0.024965306743979454,
-0.05560290440917015,
-0.07970111072063446,
-0.0021903354208916426,
-0.022273678332567215,
0.03952539339661598,
0.05842098593711853,
0.022707229480147362,
-0.07135525345802307,
0.01322330255061388,
0.0019498501205816865,
0.0320105105638504,
-0.007772303186357021,
0.023556265980005264,
0.04805189371109009,
-0.03981442376971245,
-0.03350987285375595,
0.00869359914213419,
0.0482325404882431,
0.03173954039812088,
0.02762080542743206,
-0.04082604497671127,
-0.02760274149477482,
0.003913248423486948,
-0.04111507907509804,
0.01398201659321785,
-0.0029535656794905663,
-0.019834954291582108,
-0.06477972865104675,
-0.01714332588016987,
0.005080674774944782,
-0.006453585810959339,
0.0011149258352816105,
-0.02633821777999401,
-0.04082604497671127,
0.07507656514644623,
-0.02668144553899765,
0.037682801485061646,
-0.015607832930982113,
0.034376975148916245,
0.05267643555998802,
-0.014424600638449192,
-0.014668472111225128,
0.03347374498844147,
0.017920104786753654,
-0.022056901827454567,
-0.02398981712758541,
0.008648437447845936,
0.02866855449974537,
-0.10015025734901428,
0.0334014855325222,
0.01539105735719204,
0.011669745668768883,
0.004601962398737669,
0.015291702002286911,
-0.004985835403203964,
-0.03352793678641319,
0.05050868168473244,
0.020413022488355637,
-0.049208030104637146,
0.006625199690461159,
-0.018895594403147697,
-0.041440241038799286,
0.012780719436705112,
-0.02384530007839203,
0.026952415704727173,
0.016384610906243324,
-0.07594367116689682,
-0.10997741669416428,
-0.012536847032606602,
0.007844561710953712,
0.0021429157350212336,
-0.0340518094599247,
0.07623270153999329,
-0.004326476715505123,
0.006074228789657354,
0.018516236916184425,
0.019545920193195343,
0.013656853698194027,
-0.008264563977718353,
0.04057313874363899,
0.044511228799819946,
-0.04476413130760193,
-0.010071026161313057,
-0.016077512875199318,
0.01321427058428526,
0.06860943138599396,
-0.0681036189198494,
0.056000325828790665,
0.048377055674791336,
-0.018001394346356392,
-0.08945600688457489,
-0.005121320020407438,
-0.012762654572725296,
-0.010323931463062763,
0.040247976779937744,
-0.014262018725275993,
0.02151496335864067,
0.05488032102584839,
0.05993841215968132,
-0.010766514576971531,
-0.056000325828790665,
0.0003466149209998548,
-0.008801986463367939,
0.007903272286057472,
-0.06792297959327698,
-0.005731001030653715,
-0.021587222814559937,
0.01010715588927269,
-0.08374758809804916,
-0.0437525138258934,
0.04783511906862259,
-0.02984275482594967,
-0.005202610976994038,
-0.006941330619156361,
0.026844026520848274,
-0.023357555270195007,
-0.005514225456863642,
-0.0207020565867424,
0.002225335454568267,
0.028885329142212868,
-0.011714907363057137,
0.02680789865553379,
0.05332676321268082,
0.08642114698886871,
-0.025525309145450592,
0.06709200143814087,
0.00018967852520290762,
0.011742004193365574,
-0.05007512867450714,
-0.03858603164553642,
0.0028655005153268576,
-0.05842098593711853,
-0.01727881096303463,
0.000491696409881115,
-0.03645440563559532,
0.0009946832433342934,
0.02984275482594967,
-0.01310588326305151,
-0.04722091928124428,
0.06738103926181793,
-0.05184546485543251,
0.009393603540956974,
0.04779898747801781,
-0.014478794299066067,
-0.02290594018995762,
0.011895553208887577,
0.0009297634824179113,
0.043680254369974136,
-0.03517181798815727,
0.009258118458092213,
0.014966539107263088,
-0.0725836455821991,
-0.021442705765366554,
0.033672455698251724,
0.032733093947172165,
0.0411873385310173,
0.04266863688826561,
0.041078947484493256,
0.007031654007732868,
-0.018191073089838028,
-0.018073653802275658,
0.053290631622076035,
-0.0007756496779620647,
0.000351131078787148,
0.048738349229097366,
0.002635176759213209,
0.02375497668981552,
-0.04443896934390068,
0.015607832930982113,
0.04386090114712715,
-0.003969700541347265,
-0.02279755286872387,
0.007663915399461985,
-0.03388923034071922,
0.027693064883351326,
-0.07847271859645844,
-0.020358828827738762,
0.05715646222233772,
0.012473621405661106,
-0.021207865327596664,
-0.039886683225631714,
0.042487990111112595,
0.007085847668349743,
0.03305825591087341,
0.020015601068735123,
0.028650488704442978,
-0.005703904200345278,
0.08042369782924652,
-0.04993061348795891,
-0.005252288654446602,
0.021803997457027435,
-0.0355331115424633,
0.023682719096541405,
-0.019961407408118248,
0.04949706420302391,
0.0458841398358345,
0.06300939619541168,
0.0026916286442428827,
0.02866855449974537,
0.0742817223072052,
-0.03537052869796753,
0.038730546832084656,
-0.006860040128231049,
-0.009339408949017525,
0.019473662599921227,
-0.015192346647381783,
-0.009944573976099491,
-0.018308494240045547,
0.007916820235550404,
-0.013376852497458458,
-0.02854210138320923,
-0.041801534593105316,
0.02538079395890236,
-0.0030032433569431305,
0.004358089994639158,
-0.019094305112957954,
-0.015833640471100807,
-0.053073856979608536,
0.06662232428789139,
0.00048209959641098976,
-0.02352013625204563,
0.04104281961917877,
0.024152398109436035,
0.05513322353363037,
-0.02913823351264,
0.06669458001852036,
-0.02232787199318409,
0.01575234904885292,
-0.05245966091752052,
0.04443896934390068,
0.025669826194643974,
-0.003012275556102395,
-0.042596377432346344,
0.004281315486878157,
0.07139138132333755,
0.005342611577361822,
-0.004355832003057003,
0.018254300579428673,
0.038730546832084656,
-0.050364162772893906,
0.02375497668981552,
0.06170874834060669,
0.001893398119136691,
0.0005487128510139883,
-0.005003900267183781,
-0.02913823351264,
-0.019112369045615196,
0.0320105105638504,
-0.04274089261889458,
0.03630989044904709,
0.03468407317996025,
0.04891899600625038
] |
708,662
|
wom_connector.voucher
|
to_JSON
| null |
def to_JSON(self):
return self.__dict__
|
(self)
|
[
-0.020476097241044044,
-0.05065586045384407,
0.038000378757715225,
-0.04213970527052879,
-0.00204103603027761,
-0.0013465535594150424,
-0.019068047404289246,
0.01881358027458191,
0.023835059255361557,
-0.01981448382139206,
0.021799324080348015,
-0.038237880915403366,
-0.005479518789798021,
0.02225736528635025,
-0.0033547210041433573,
0.01249432098120451,
-0.0017006866401061416,
-0.04655046388506889,
0.01752428151667118,
0.05265766754746437,
0.00676881754770875,
-0.06314170360565186,
0.03813609480857849,
0.02631186880171299,
-0.02261361852288246,
-0.00016288527694996446,
-0.009109912440180779,
0.003297465853393078,
0.04213970527052879,
0.007727309130132198,
-0.09120091050863266,
-0.03983253985643387,
0.03694858402013779,
0.05662734806537628,
-0.010280459187924862,
0.03016280010342598,
-0.04095219448208809,
0.019763588905334473,
-0.06422742456197739,
-0.009822418913245201,
-0.02907707542181015,
0.022189507260918617,
-0.09927599132061005,
-0.013647903688251972,
0.07681505382061005,
-0.017575174570083618,
0.03043423220515251,
0.050520144402980804,
0.04319150000810623,
-0.05018085613846779,
0.04828083887696266,
-0.004031178541481495,
-0.01530193816870451,
0.03589678555727005,
-0.03949325159192085,
-0.04183434695005417,
0.03521820902824402,
0.0013635180657729506,
-0.021867182105779648,
0.03420034050941467,
-0.05703449621796608,
0.008393163792788982,
0.034471772611141205,
-0.047466542571783066,
0.005814566742628813,
-0.014538537710905075,
-0.06521136313676834,
0.00712931202724576,
0.0029624179005622864,
0.028737787157297134,
0.020866278558969498,
-0.04655046388506889,
0.03789859265089035,
0.06711138039827347,
-0.015649709850549698,
0.006675512995570898,
-0.001597839524038136,
-0.040409330278635025,
-0.026922589167952538,
-0.03766109049320221,
-0.018389469012618065,
0.017982322722673416,
-0.038441453129053116,
0.017744818702340126,
0.0031744735315442085,
-0.005916353780776262,
-0.003984526265412569,
-0.013189863413572311,
-0.06945247948169708,
-0.014131390489637852,
-0.009695186279714108,
0.04953620955348015,
-0.04027361422777176,
0.07464359700679779,
-0.010908144526183605,
-0.058052364736795425,
-0.03004404902458191,
0.005784878972917795,
0.0172443687915802,
0.0107300179079175,
-0.03316551074385643,
0.04431115463376045,
-0.06527922302484512,
0.03565928339958191,
0.000780364905949682,
-0.028025278821587563,
0.0050893365405499935,
-0.01969573274254799,
-0.006908774375915527,
-0.00145894312299788,
-0.01273182313889265,
0.09696882218122482,
0.002313527511432767,
-0.028856538236141205,
0.06012202799320221,
-0.012409498915076256,
0.0027355183847248554,
0.025327930226922035,
0.0409182645380497,
-0.02558239735662937,
-0.007180205546319485,
0.039527177810668945,
0.027363665401935577,
0.04213970527052879,
0.0011196540435776114,
0.0469236820936203,
-0.03440391272306442,
0.0050214785151183605,
0.048789773136377335,
-0.01796535775065422,
0.017507316544651985,
-0.020968066528439522,
-0.01996716298162937,
-0.01297780778259039,
0.04929870367050171,
-0.013529152609407902,
0.043530791997909546,
-0.008019945584237576,
0.006510109640657902,
0.07240429520606995,
0.035116422921419144,
0.019644837826490402,
0.027923492714762688,
-0.004389552865177393,
-0.0014186524786055088,
-0.029229754582047462,
0.02281719073653221,
0.04112183675169945,
-0.06890961527824402,
-0.07491502910852432,
0.06035953015089035,
0.0035710176452994347,
0.06721317023038864,
-0.02298683673143387,
-0.03112977370619774,
-0.009008125402033329,
-0.029789581894874573,
-0.03647357597947121,
0.010950555093586445,
-0.046346891671419144,
-0.03221549838781357,
-0.014682735316455364,
0.010433139279484749,
-0.047670118510723114,
0.003458628198131919,
0.027041340246796608,
0.06086846441030502,
-0.04186827316880226,
-0.022749334573745728,
-0.02181628905236721,
-0.047670118510723114,
-0.028415462002158165,
-0.015853282064199448,
0.034590523689985275,
-0.02366541512310505,
0.04427722841501236,
0.043496862053871155,
0.08692586421966553,
0.00748132448643446,
0.03633786365389824,
0.03531999513506889,
-0.0477379746735096,
-0.032741397619247437,
0.04420936852693558,
0.06639887392520905,
-0.07844363898038864,
0.025497576221823692,
0.00527594517916441,
0.01993323490023613,
0.020357346162199974,
0.05767914652824402,
0.038203950971364975,
-0.013249238952994347,
-0.02213861420750618,
-0.012986290268599987,
-0.04146112874150276,
-0.0007596894865855575,
-0.01908501237630844,
-0.06500779092311859,
0.045464739203453064,
-0.0333012230694294,
-0.027601167559623718,
-0.0212564617395401,
-0.002890318864956498,
-0.023393983021378517,
0.008838481269776821,
-0.010959037579596043,
-0.05750950053334236,
0.050791576504707336,
-0.039289675652980804,
-0.002525583142414689,
-0.025175251066684723,
-0.028805643320083618,
-0.015785425901412964,
0.05489697679877281,
-0.07165785878896713,
0.016345251351594925,
-0.015505511313676834,
-0.014275589026510715,
0.020323416218161583,
0.015938105061650276,
-0.01568363793194294,
-0.0328771136701107,
-0.03185924515128136,
-0.06253097951412201,
0.003291104221716523,
-0.02313951589167118,
-0.04906120151281357,
-0.027770811691880226,
-0.06236133724451065,
-0.023563627153635025,
-0.06945247948169708,
-0.011417077854275703,
-0.0041287243366241455,
-0.0018289802828803658,
0.06762031465768814,
-0.011417077854275703,
-0.019356442615389824,
-0.004033299162983894,
-0.001643431605771184,
0.05425232648849487,
-0.017592139542102814,
0.020543955266475677,
0.022359151393175125,
0.014776039868593216,
0.03360658511519432,
0.0661613717675209,
0.05754343047738075,
0.026091331616044044,
-0.023495769128203392,
0.052759453654289246,
-0.05873094126582146,
-0.002247790340334177,
0.04495580494403839,
0.0086221843957901,
-0.0709792748093605,
0.0024874131195247173,
0.048789773136377335,
0.015590334311127663,
0.01552247628569603,
0.03219853341579437,
-0.016065338626503944,
-0.025243109092116356,
0.029552079737186432,
0.005046925041824579,
0.005653404630720615,
-0.028585106134414673,
0.032826218754053116,
-0.04200398921966553,
0.04227542132139206,
0.07593289762735367,
-0.037118226289749146,
-0.027923492714762688,
-0.03116370365023613,
-0.022766297683119774,
-0.04644867777824402,
-0.03481106087565422,
-0.04688975214958191,
-0.06144525483250618,
-0.012095656245946884,
-0.010484033264219761,
-0.03413248434662819,
0.03240210935473442,
-0.010942073538899422,
-0.0014854500768706203,
-0.030654769390821457,
0.0008757899631746113,
0.05486304685473442,
-0.009220181033015251,
-0.006357429549098015,
0.03589678555727005,
0.004141447599977255,
-0.05194516107439995,
-0.025887757539749146,
0.05415054038167,
-0.008787587285041809,
-0.03945932164788246,
-0.013351025991141796,
0.06290420144796371,
0.04529509320855141,
0.013351025991141796,
0.021001994609832764,
-0.008711247704923153,
0.051436226814985275,
-0.043496862053871155,
0.028941359370946884,
-0.0030960130970925093,
0.013987192884087563,
-0.013283167965710163,
0.018745722249150276,
-0.01628587581217289,
0.004474374931305647,
0.04224149137735367,
0.089029461145401,
-0.043734364211559296,
-0.02442881464958191,
-0.021069852635264397,
-0.00525473989546299,
0.04716118425130844,
0.08129366487264633,
-0.0661613717675209,
0.006030863616615534,
0.041936133056879044,
-0.02013680711388588,
0.06931675970554352,
-0.04054504632949829,
0.005102059803903103,
0.04515937715768814,
0.04824690893292427,
0.01653186045587063,
-0.0042814044281840324,
-0.060223814100027084,
0.05370946228504181,
0.04553259536623955,
-0.03742358833551407,
0.023597557097673416,
0.039527177810668945,
-0.021001994609832764,
-0.04156291484832764,
-0.0029242478776723146,
0.006001175846904516,
-0.015556405298411846,
0.0034225787967443466,
-0.0070529719814658165,
-0.08244725316762924,
0.011459489353001118,
0.007375296670943499,
0.015344349667429924,
-0.0037449034862220287,
-0.06500779092311859,
-0.03257175162434578,
0.02354666404426098,
0.05370946228504181,
0.07532218098640442,
-0.06833282113075256,
-0.06989355385303497,
0.011654580011963844,
-0.002805496798828244,
-0.031418170779943466,
0.008223519660532475,
0.024530600756406784,
0.011035378091037273,
0.007036007475107908,
-0.028483320027589798,
0.02916189841926098,
0.021799324080348015,
0.010034474544227123,
-0.024615423753857613,
0.05482911691069603,
-0.04607545956969261,
-0.017320707440376282,
0.01920376345515251,
-0.02992529794573784,
-0.016676058992743492,
-0.01351218856871128,
0.04838262498378754,
-0.023885952308773994,
0.027974385768175125,
-0.05842558294534683,
-0.018779652193188667,
0.004949379712343216,
-0.02134128473699093,
-0.013613974675536156,
0.03185924515128136,
0.04431115463376045,
-0.0077909259125590324,
0.07464359700679779,
-0.052996955811977386,
-0.026803838089108467,
-0.006573726423084736,
-0.07511860877275467,
-0.03397980332374573,
-0.07050427049398422,
0.046584393829107285,
-0.022528795525431633,
-0.0409182645380497,
0.0016603959957137704,
0.01096752006560564,
-0.015022024512290955,
0.01896625943481922,
0.01321530994027853,
-0.04780583456158638,
0.06629709154367447,
-0.02366541512310505,
-0.01481845136731863,
-0.058934517204761505,
0.025616327300667763,
0.012104138731956482,
0.021527893841266632,
-0.01436041109263897,
-0.02651544287800789,
-0.014233177527785301,
-0.05859522521495819,
-0.043496862053871155,
0.05330231785774231,
0.029653867706656456,
-0.003604946658015251,
0.0011737282620742917,
-0.004957861732691526,
0.03498070687055588,
-0.00934741459786892,
0.06989355385303497,
0.005292909685522318,
0.030977094545960426,
-0.008193831890821457,
-0.013249238952994347,
-0.005793361458927393,
0.051402296870946884,
-0.005678851157426834,
0.04997728392481804,
0.03092620149254799,
0.007663692347705364,
0.012205924838781357,
-0.061309538781642914,
0.03396283835172653,
0.022749334573745728,
0.04872191324830055,
-0.06609351187944412,
-0.020476097241044044,
0.08896160125732422,
0.032385144382715225,
0.02034038119018078,
-0.014547020196914673,
-0.01050947979092598,
0.04342900216579437,
-0.03918788954615593,
-0.04512545093894005,
0.045498669147491455,
0.047704048454761505,
-0.026685087010264397,
0.04366650804877281,
0.015335867181420326,
0.06510958075523376,
-0.11488328874111176,
-0.017795713618397713,
0.000295552599709481,
0.007222616579383612,
-0.07769720256328583,
0.018423397094011307,
-0.006289571523666382,
-0.0066415839828550816,
-0.006259883753955364,
-0.005212328862398863,
0.008350753225386143,
-0.021680573001503944,
-0.02722794935107231,
-0.02622704766690731,
0.018915366381406784,
-0.07905435562133789,
0.02281719073653221,
0.08529727905988693,
0.04783976078033447,
-0.0713864266872406,
-0.07532218098640442,
-0.025124358013272285,
0.07477931678295135,
0.007184446789324284,
0.0004946198896504939,
-0.03874681517481804,
-0.03833966702222824,
-0.050520144402980804,
-0.052521951496601105,
-0.020628776401281357,
0.01981448382139206,
0.01592114008963108,
0.02045913226902485,
0.026566335931420326,
-0.002423796569928527,
-0.009457683190703392,
-0.013613974675536156,
-0.028347603976726532,
0.030909236520528793,
-0.04200398921966553,
0.012333158403635025,
0.030705662444233894,
0.05258981138467789,
0.017422495409846306,
0.008677318692207336,
-0.03616821765899658,
0.020306453108787537,
0.013546116650104523,
0.011357702314853668,
-0.027652060613036156,
0.03837359696626663,
-0.04994335398077965,
-0.03204585611820221,
0.024208277463912964,
0.00652707414701581,
-0.010212602093815804,
-0.007854542694985867,
-0.003725818358361721,
0.04563438147306442,
0.01692204363644123,
-0.010577337816357613,
-0.024276135489344597,
0.03277532756328583,
-0.015429171733558178,
0.01421621348708868,
-0.038848601281642914,
-0.031587813049554825,
-0.02975565381348133,
0.0497397817671299,
0.018338575959205627,
0.014394340105354786,
-0.06721317023038864,
0.06076667830348015,
-0.015437654219567776,
0.026176152750849724,
-0.011238951236009598,
0.05221659317612648,
0.03878074511885643,
-0.025158286094665527,
-0.021426105871796608,
0.033148545771837234,
-0.05309874191880226,
0.013486741110682487,
0.01857607811689377,
0.040646832436323166,
-0.06531315296888351,
-0.014199248515069485,
0.023360054939985275,
0.013011736795306206,
0.0016095025930553675,
-0.03440391272306442,
0.022868085652589798,
0.01760910451412201,
-0.0041605327278375626,
0.005661886651068926,
-0.01721043884754181,
-0.002232946455478668,
0.0004113880277145654,
-0.0121295852586627,
0.019118940457701683,
-0.028262780979275703,
0.006272607017308474,
0.00356465601362288,
0.0266681220382452,
-0.02298683673143387,
0.008965713903307915,
-0.00888089183717966,
0.013138970360159874,
0.03545571118593216,
-0.01627739518880844,
-0.01530193816870451,
-0.05961309373378754,
0.07511860877275467,
0.02090020850300789,
0.1163083016872406,
-0.05577912554144859,
0.0032020409125834703,
0.01084876898676157,
0.00807932112365961,
0.048111192882061005,
0.011374667286872864,
0.04729690030217171,
0.01784660667181015,
0.016302840784192085,
0.058934517204761505,
0.017795713618397713,
-0.022766297683119774,
0.026159189641475677,
0.014631842263042927,
-0.004253836814314127,
-0.01600596308708191,
-0.029586009681224823,
0.015505511313676834,
-0.06422742456197739,
0.036032501608133316,
0.061343468725681305,
-0.017100170254707336,
-0.006730647291988134,
-0.0046525015495717525,
-0.008736694231629372,
0.010780910961329937,
0.062429193407297134,
-0.03377623111009598,
-0.019984127953648567,
-0.022070756182074547,
-0.012299229390919209,
-0.032469965517520905,
0.012706376612186432,
0.011501899920403957,
-0.012994772754609585,
0.001962575362995267,
0.023919880390167236,
0.009143841452896595,
-0.03786466270685196,
0.04118969663977623,
-0.015938105061650276,
0.014207731001079082,
-0.05679699406027794,
-0.025260072201490402,
-0.0172443687915802,
-0.08604371547698975,
-0.017676962539553642,
-0.022715404629707336,
-0.007604316808283329,
-0.010492514818906784,
-0.041970059275627136,
-0.014436750672757626,
0.06823103874921799,
-0.0025361860170960426,
0.004219908267259598,
0.03793251886963844,
-0.003791555529460311,
-0.06388814002275467,
0.011315291747450829,
0.017575174570083618,
-0.021952005103230476,
-0.016947491094470024,
0.012850574217736721,
-0.03255479037761688,
0.016133196651935577,
-0.03705037012696266,
-0.010865733027458191,
-0.006773058325052261,
-0.02984047494828701,
-0.009143841452896595,
0.03416641056537628,
0.02787259966135025,
0.03180835396051407,
0.005025719758123159,
-0.056695207953453064,
0.004162652883678675,
-0.06745067238807678,
-0.030824413523077965,
-0.002353818155825138,
-0.012808163650333881,
0.0084228515625,
-0.06721317023038864,
-0.04950227960944176,
-0.010882697999477386,
-0.015488547272980213,
-0.01295236125588417,
-0.034912846982479095,
0.01179029606282711,
-0.024327028542757034,
0.051673728972673416,
-0.01036528218537569,
0.013342543505132198,
-0.06677209585905075,
0.03918788954615593,
-0.08807944506406784,
-0.05527019500732422,
0.05615234375,
0.03596464544534683,
-0.061580970883369446,
0.008787587285041809,
0.030977094545960426,
0.015853282064199448,
0.001343372743576765,
0.06466849893331528,
0.01599748060107231,
0.01628587581217289,
-0.07796863466501236,
0.014063533395528793,
0.00233685364946723,
0.020662706345319748,
0.03472623974084854,
-0.010636713355779648,
-0.045668311417102814,
0.051877301186323166,
-0.03484499081969261,
0.10036171227693558,
-0.008359234780073166,
0.015022024512290955,
-0.007574629038572311,
0.013953263871371746,
0.02257968857884407,
-0.026091331616044044,
-0.005271704401820898,
-0.03837359696626663,
-0.06629709154367447,
0.02498864196240902,
0.06303991377353668,
0.013842995278537273,
0.017023829743266106,
-0.040375400334596634,
0.026294905692338943,
0.00852463860064745,
0.04468437284231186,
-0.024377921596169472,
0.047941550612449646,
0.004741564858704805,
0.08529727905988693,
-0.004351382609456778,
0.005661886651068926,
-0.01781267672777176,
0.025209179148077965,
-0.040205758064985275,
-0.020951101556420326,
0.09690096229314804,
0.005271704401820898,
-0.004894244950264692,
-0.030298516154289246,
0.0333012230694294,
0.03857716917991638,
0.03136727586388588,
-0.005929077044129372,
0.025972580537199974,
-0.02992529794573784,
0.014945684932172298,
0.00017481340910308063,
0.011374667286872864,
0.041732557117938995,
0.05323445796966553,
-0.006357429549098015,
-0.003927271347492933,
-0.04719511419534683,
-0.03813609480857849,
-0.02454756572842598,
-0.020543955266475677,
-0.04268256947398186,
-0.030111907050013542,
-0.00006560472684213892,
-0.03148602694272995,
0.005895148031413555,
0.003231728682294488,
-0.006853639613837004,
0.03309765085577965,
0.002540427027270198,
0.04831476882100105,
0.011764849536120892,
0.03036637417972088,
0.02313951589167118,
-0.020560918375849724,
0.04512545093894005,
0.005513447802513838,
-0.016141679137945175,
-0.023410947993397713,
0.004037540405988693,
0.05530412122607231,
-0.025361860170960426,
0.007315921131521463,
0.03698251023888588,
0.00840164627879858,
-0.01793142780661583,
0.06670423597097397,
0.041257552802562714,
-0.014004156924784184,
-0.06521136313676834,
-0.030994059517979622,
-0.020917173475027084,
0.003074807347729802,
-0.005407419987022877,
0.0709792748093605,
0.03257175162434578,
-0.03145210072398186
] |
708,671
|
pathvalidate._base
|
AbstractSanitizer
| null |
class AbstractSanitizer(BaseFile, metaclass=abc.ABCMeta):
def __init__(
self,
validator: AbstractValidator,
max_len: int,
fs_encoding: Optional[str],
validate_after_sanitize: bool,
null_value_handler: Optional[ValidationErrorHandler] = None,
reserved_name_handler: Optional[ValidationErrorHandler] = None,
additional_reserved_names: Optional[Sequence[str]] = None,
platform_max_len: Optional[int] = None,
platform: Optional[PlatformType] = None,
) -> None:
super().__init__(
max_len=max_len,
fs_encoding=fs_encoding,
additional_reserved_names=additional_reserved_names,
platform_max_len=platform_max_len,
platform=platform,
)
if null_value_handler is None:
null_value_handler = NullValueHandler.return_null_string
self._null_value_handler = null_value_handler
if reserved_name_handler is None:
reserved_name_handler = ReservedNameHandler.add_trailing_underscore
self._reserved_name_handler = reserved_name_handler
self._validate_after_sanitize = validate_after_sanitize
self._validator = validator
@abc.abstractmethod
def sanitize(self, value: PathType, replacement_text: str = "") -> PathType: # pragma: no cover
pass
|
(validator: pathvalidate._base.AbstractValidator, max_len: int, fs_encoding: Optional[str], validate_after_sanitize: bool, null_value_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, reserved_name_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, additional_reserved_names: Optional[Sequence[str]] = None, platform_max_len: Optional[int] = None, platform: Optional[~PlatformType] = None) -> None
|
[
0.04138661548495293,
-0.020398184657096863,
0.012021909467875957,
0.03801874443888664,
-0.012481953017413616,
-0.03676881268620491,
0.019252413883805275,
-0.04447672516107559,
0.015849823132157326,
-0.01091085933148861,
0.0554136224091053,
0.02786305360496044,
0.012863876298069954,
0.04642106220126152,
-0.02560623176395893,
0.024755584076046944,
0.031526047736406326,
0.0561080276966095,
0.025658313184976578,
-0.003587042447179556,
-0.03074483945965767,
-0.006484018638730049,
-0.010190412402153015,
-0.04343511536717415,
0.014157208614051342,
0.06628108024597168,
0.01928713545203209,
-0.014330809935927391,
0.03227253258228302,
-0.045657213777303696,
0.024026457220315933,
0.0013540922664105892,
0.0455530546605587,
0.06652412563562393,
0.05301792174577713,
-0.08548141270875931,
-0.024061178788542747,
0.027515849098563194,
-0.0777040645480156,
-0.013688484206795692,
-0.04211574047803879,
0.06360761821269989,
0.02154395543038845,
-0.02959906868636608,
-0.019165614619851112,
0.01661367155611515,
-0.02980739064514637,
0.04721962660551071,
-0.05628162994980812,
0.024529902264475822,
-0.013740564696490765,
0.03393910825252533,
-0.021648116409778595,
-0.00512992637231946,
0.04374759644269943,
0.04447672516107559,
0.02704712562263012,
0.06718380749225616,
0.05982310324907303,
-0.05836484953761101,
0.03189060837030411,
0.01770736090838909,
0.05468449741601944,
-0.055066417902708054,
-0.013844725675880909,
-0.005012745503336191,
-0.03930339589715004,
-0.01624910719692707,
0.007260886020958424,
0.033973827958106995,
-0.01770736090838909,
-0.05228879302740097,
-0.023089010268449783,
0.031526047736406326,
0.08457868546247482,
0.016231747344136238,
-0.05666355416178703,
0.004457220435142517,
0.04583081603050232,
-0.04610857740044594,
0.05350400507450104,
-0.009773768484592438,
0.017811521887779236,
-0.05874677374958992,
-0.000047401368647115305,
-0.0468377061188221,
0.019912101328372955,
-0.01987737976014614,
0.03555360436439514,
0.042671266943216324,
-0.04527528956532478,
0.007542988285422325,
-0.02051970548927784,
0.027081845328211784,
0.013757924549281597,
0.033175259828567505,
0.021283553913235664,
-0.06510058790445328,
-0.019530177116394043,
-0.018228165805339813,
0.004166437778621912,
0.11027172207832336,
0.025658313184976578,
-0.029529627412557602,
0.04037972539663315,
0.018453847616910934,
-0.0013790475204586983,
0.004956325050443411,
-0.022064760327339172,
-0.00578527245670557,
-0.031144121661782265,
-0.029616428539156914,
-0.024911826476454735,
0.001793521223589778,
-0.02421741932630539,
-0.040657490491867065,
-0.08610638231039047,
-0.02959906868636608,
0.01421796903014183,
-0.025502070784568787,
0.012681595049798489,
0.023661894723773003,
-0.053851209580898285,
0.012968037277460098,
0.03649105131626129,
0.03590080514550209,
-0.029130343347787857,
0.011440344154834747,
0.05596914887428284,
0.013888126239180565,
-0.03378286585211754,
0.037602100521326065,
0.034564074128866196,
0.026491601020097733,
0.022082120180130005,
0.001563499215990305,
-0.030050432309508324,
0.023470932617783546,
-0.03232461214065552,
0.05687187612056732,
0.032376695424318314,
-0.015971343964338303,
0.045587774366140366,
-0.07610692828893661,
0.006926702801138163,
-0.006362497806549072,
0.025727752596139908,
-0.03864371031522751,
-0.025797193869948387,
0.033470384776592255,
0.015684902667999268,
0.013775285333395004,
-0.001829326618462801,
0.045657213777303696,
0.025189587846398354,
0.005624691024422646,
0.0022589904256165028,
-0.021005790680646896,
-0.012317031621932983,
-0.022099480032920837,
-0.04527528956532478,
-0.08395372331142426,
0.0034264610148966312,
-0.061628557741642,
0.013619043864309788,
0.03930339589715004,
0.037254899740219116,
-0.04780987277626991,
0.024616703391075134,
0.03916451707482338,
-0.011483743786811829,
-0.008029072545468807,
-0.06617692112922668,
0.08166217803955078,
0.04076164960861206,
0.03972003981471062,
0.01711711473762989,
0.02270708605647087,
-0.006267016753554344,
0.018367046490311623,
0.007143704686313868,
-0.02567567303776741,
-0.030849000439047813,
0.012829156592488289,
0.05996198579668999,
0.015329019166529179,
-0.03465087339282036,
0.02038082480430603,
0.023679254576563835,
0.018176084384322166,
0.02213420160114765,
-0.010494215413928032,
0.02387021668255329,
-0.028331777080893517,
0.02275916561484337,
-0.03728961944580078,
-0.006436278577893972,
-0.029043544083833694,
-0.014408931136131287,
0.03090107999742031,
-0.032376695424318314,
0.02022458426654339,
0.022064760327339172,
-0.008107193745672703,
-0.03923395648598671,
0.029703229665756226,
0.027793612331151962,
0.00825041439384222,
-0.09332820773124695,
0.04628217965364456,
-0.027064485475420952,
-0.030710117891430855,
-0.037740983068943024,
0.01951281726360321,
0.04944172874093056,
-0.06569083780050278,
0.05069166049361229,
0.043851759284734726,
-0.015780383720993996,
0.04770571365952492,
0.09263379871845245,
0.045934975147247314,
0.004175117705017328,
0.005629030987620354,
0.03517168015241623,
-0.022446684539318085,
0.02428686060011387,
-0.014756133779883385,
0.02546735107898712,
0.008428356610238552,
0.023366771638393402,
-0.05069166049361229,
0.016084186732769012,
0.07930120080709457,
0.022950127720832825,
-0.037532661110162735,
0.0455530546605587,
-0.03487655520439148,
-0.025189587846398354,
-0.011796226724982262,
-0.043990638107061386,
-0.019530177116394043,
-0.033331502228975296,
-0.0017696510767564178,
-0.009305044077336788,
-0.05221935361623764,
-0.03576192259788513,
0.05881621316075325,
0.01899201236665249,
-0.024061178788542747,
0.04631689935922623,
0.019044091925024986,
-0.078884556889534,
0.022151561453938484,
0.00182173156645149,
0.04284486919641495,
-0.07464867830276489,
-0.028088735416531563,
0.056385792791843414,
-0.014756133779883385,
0.0103292940184474,
-0.02597079612314701,
-0.008940480649471283,
0.022377243265509605,
-0.04881676286458969,
-0.04090053215622902,
0.0009005581960082054,
-0.0009835613891482353,
-0.024113258346915245,
0.003411270910874009,
-0.06628108024597168,
0.04676826298236847,
-0.0430879108607769,
0.024182699620723724,
-0.0683295801281929,
0.02268972620368004,
-0.00580263277515769,
0.019634338095784187,
0.04465032368898392,
-0.01987737976014614,
0.048122357577085495,
0.005902453325688839,
0.015502620488405228,
-0.020050982013344765,
0.06207992136478424,
-0.0096869682893157,
-0.037324339151382446,
-0.07409315556287766,
-0.02263764478266239,
0.031803809106349945,
-0.04982365295290947,
-0.017655279487371445,
-0.02284596674144268,
-0.010390054434537888,
0.006666300352662802,
-0.054580334573984146,
-0.053712327033281326,
-0.08666190505027771,
0.018037203699350357,
-0.13325656950473785,
-0.048851482570171356,
-0.015858503058552742,
-0.016231747344136238,
0.037254899740219116,
-0.027724171057343483,
0.00044783781049773097,
-0.02843593806028366,
-0.02661312185227871,
-0.0025042027700692415,
0.029338665306568146,
0.016943514347076416,
0.011067100800573826,
-0.04142133519053459,
0.024408381432294846,
0.08902288973331451,
0.043990638107061386,
0.015493940562009811,
0.027515849098563194,
-0.005850373301655054,
0.06485754996538162,
-0.011449024081230164,
0.027151286602020264,
0.004433350171893835,
-0.06062167137861252,
-0.0012846516910940409,
-0.03989364206790924,
0.03965060040354729,
-0.016657071188092232,
-0.0035045817494392395,
0.002078878926113248,
-0.04635161906480789,
0.032602377235889435,
0.0419074185192585,
-0.03242877498269081,
0.006718380842357874,
0.011770186945796013,
0.002870935946702957,
-0.0554136224091053,
0.020502345636487007,
-0.042462944984436035,
0.04902508482336998,
0.010693857446312904,
0.01921769417822361,
-0.015988705679774284,
-0.045934975147247314,
-0.029321305453777313,
-0.02097107097506523,
-0.019096173346042633,
0.02836649678647518,
-0.017351478338241577,
0.02546735107898712,
-0.02104051038622856,
-0.025120148435235023,
-0.03478975594043732,
0.0014940585242584348,
-0.05513586103916168,
-0.019998900592327118,
0.036004967987537384,
-0.03683825582265854,
-0.059788383543491364,
0.05673299357295036,
-0.014400250278413296,
-0.04621274024248123,
-0.028956742957234383,
0.04197686165571213,
-0.020415544509887695,
0.02633535861968994,
-0.007595068775117397,
0.0163445882499218,
0.011813587509095669,
0.0034264610148966312,
-0.005806972738355398,
0.01773340068757534,
-0.13367320597171783,
0.02291540801525116,
-0.010572335682809353,
0.016830673441290855,
0.008332875557243824,
-0.07860679179430008,
0.052983202040195465,
0.07569028437137604,
0.0751347616314888,
-0.013697164133191109,
-0.021144671365618706,
-0.016231747344136238,
-0.05683715641498566,
0.01367112435400486,
0.05579554662108421,
-0.000012325033821980469,
0.021127311512827873,
0.020415544509887695,
-0.03958115726709366,
0.001275971531867981,
-0.00808115303516388,
0.02154395543038845,
-0.005733191967010498,
-0.03374814614653587,
0.04503224790096283,
-0.027394328266382217,
0.05010141432285309,
-0.01052025519311428,
-0.04221990332007408,
0.025120148435235023,
0.03421686962246895,
0.010485535487532616,
-0.011735466308891773,
0.0682254210114479,
0.0332273431122303,
0.006996143609285355,
0.08027336746454239,
0.026283279061317444,
0.007026523817330599,
0.008367596194148064,
-0.034928638488054276,
0.005498829763382673,
-0.01207398995757103,
-0.013098238967359066,
-0.028192896395921707,
-0.03189060837030411,
-0.014860294759273529,
-0.03878259286284447,
0.022602925077080727,
-0.041525498032569885,
0.027498489245772362,
0.01624910719692707,
0.013471482321619987,
0.000006738928277627565,
-0.0008598702843300998,
-0.026595761999487877,
0.004908584523946047,
0.019304495304822922,
0.03652577102184296,
-0.1338120996952057,
0.0019812278915196657,
-0.0038452749140560627,
-0.016231747344136238,
-0.022307801991701126,
-0.004904244560748339,
0.03031083568930626,
-0.01207398995757103,
-0.049788933247327805,
0.030849000439047813,
0.04381703585386276,
0.06426730006933212,
0.05013613402843475,
-0.03256765380501747,
-0.06576027721166611,
0.0807594507932663,
-0.05437201261520386,
-0.05579554662108421,
-0.016058145090937614,
0.03284541890025139,
-0.005789612419903278,
-0.014929735101759434,
-0.062184084206819534,
-0.00580263277515769,
0.02959906868636608,
-0.060378625988960266,
-0.011032380163669586,
0.01928713545203209,
0.013410721905529499,
0.047254350036382675,
0.0455530546605587,
-0.057323239743709564,
-0.003689033444970846,
0.022446684539318085,
-0.01127542182803154,
0.014591212384402752,
0.0025671334005892277,
0.0020018431823700666,
-0.02227308228611946,
-0.03350510448217392,
0.0010052616707980633,
0.032307252287864685,
-0.011804906651377678,
0.03032819554209709,
0.007447507698088884,
-0.020328745245933533,
-0.017446957528591156,
0.004238048568367958,
0.04027556627988815,
-0.014469691552221775,
-0.006353817414492369,
0.06579499691724777,
0.02814081497490406,
-0.0682254210114479,
0.045796096324920654,
-0.0190788134932518,
0.002571473363786936,
0.044407282024621964,
-0.004112187307327986,
0.02857481874525547,
0.007512608077377081,
0.01273367553949356,
0.009287684224545956,
0.004264088813215494,
-0.025918714702129364,
0.05055277794599533,
0.023314692080020905,
-0.06228824332356453,
0.00967828743159771,
-0.04780987277626991,
0.013028798624873161,
0.0008533602231182158,
0.0388520322740078,
0.005216727498918772,
-0.037671539932489395,
0.005416369065642357,
0.010433454997837543,
-0.02211683988571167,
-0.009218243882060051,
-0.004739323165267706,
0.027359608560800552,
-0.0003024464822374284,
0.0369771346449852,
-0.023384131491184235,
-0.05416369065642357,
-0.011995868757367134,
-0.02647423930466175,
0.004583081696182489,
-0.0461432971060276,
-0.028557458892464638,
-0.01218683086335659,
-0.06437146663665771,
0.013948886655271053,
-0.017247317358851433,
0.008736499585211277,
0.01841912791132927,
0.07187104970216751,
-0.025727752596139908,
0.03895619511604309,
-0.025241669267416,
0.04083108901977539,
-0.022741805762052536,
0.05492753908038139,
0.08582861721515656,
0.011683385819196701,
-0.0016047295648604631,
-0.04583081603050232,
0.0003463893954176456,
-0.007916231639683247,
0.054059531539678574,
-0.026213837787508965,
-0.0020137783139944077,
0.009322404861450195,
-0.04794875532388687,
-0.007321646437048912,
-0.023193171247839928,
-0.03031083568930626,
-0.024963906034827232,
-0.06076055020093918,
-0.007035203743726015,
0.04371287673711777,
0.012872557155787945,
0.013132959604263306,
-0.07985672354698181,
0.04277542978525162,
0.011709426529705524,
-0.01624910719692707,
0.04294902831315994,
-0.012290991842746735,
0.0003347255405969918,
0.024634063243865967,
0.010572335682809353,
-0.023679254576563835,
0.019634338095784187,
-0.014313450083136559,
0.0246514230966568,
-0.052115194499492645,
-0.021266192197799683,
-0.007751310244202614,
0.06652412563562393,
0.04336567223072052,
0.008267775177955627,
-0.05444145202636719,
0.04774043336510658,
0.0013475822051987052,
0.01595398411154747,
-0.008827639743685722,
-0.030519157648086548,
0.045934975147247314,
0.01668311096727848,
-0.031595487147569656,
-0.03031083568930626,
-0.004899904597550631,
-0.07548196613788605,
0.023800775408744812,
0.07457923889160156,
-0.053642887622117996,
0.01650082878768444,
-0.04194214195013046,
0.0018336665816605091,
0.0029099963139742613,
-0.02510278858244419,
0.006479678675532341,
-0.0037714941427111626,
-0.012542713433504105,
-0.06513530761003494,
0.00578527245670557,
-0.023800775408744812,
-0.07298210263252258,
0.0006211681175045669,
0.006575159728527069,
0.07055167853832245,
0.047323789447546005,
0.0069223628379404545,
0.006740081124007702,
0.00572885200381279,
-0.022446684539318085,
0.019130893051624298,
0.02312372997403145,
0.023366771638393402,
0.046594664454460144,
-0.01709107495844364,
0.032463494688272476,
0.028956742957234383,
-0.054649773985147476,
-0.008949161507189274,
0.016518190503120422,
-0.041803259402513504,
0.0017696510767564178,
0.043990638107061386,
-0.016396669670939445,
0.008233054541051388,
-0.03003307245671749,
0.02138771489262581,
-0.009192203171551228,
0.02472086437046528,
-0.06201048195362091,
-0.08360651880502701,
0.001811966416426003,
-0.042983751744031906,
0.03117884323000908,
-0.010355333797633648,
-0.019269775599241257,
0.027793612331151962,
-0.013870765455067158,
0.025050707161426544,
0.0030597278382629156,
0.051316626369953156,
0.03624800965189934,
-0.05714963749051094,
-0.00971300806850195,
0.053191523998975754,
-0.08409260213375092,
-0.001861876924522221,
-0.023661894723773003,
-0.04784459248185158,
0.015537341125309467,
-0.010641776956617832,
0.009322404861450195,
0.10173052549362183,
0.00021089878282509744,
-0.050518058240413666,
0.08298154920339584,
0.010424774140119553,
0.03142188489437103,
-0.04787931591272354,
0.010980299673974514,
0.004969344940036535,
-0.03850482776761055,
0.01986001990735531,
0.043122630566358566,
0.01508597657084465,
0.018297605216503143,
-0.02045026607811451,
0.024026457220315933,
0.0037888544611632824,
0.013619043864309788,
0.004140397533774376,
0.021300913766026497,
0.003419951070100069,
-0.020328745245933533,
-0.025797193869948387,
-0.03418214991688728,
-0.006774801295250654,
0.023019568994641304,
-0.043330952525138855,
0.026647841557860374,
0.024634063243865967,
0.02117939293384552,
0.008805939927697182,
-0.029755309224128723,
-0.01395756658166647,
-0.011518464423716068,
0.01200454868376255,
-0.008879720233380795,
0.0064145782962441444,
0.012803115881979465,
-0.03798402473330498,
-0.0200162623077631,
-0.020068341866135597,
-0.007690549828112125,
-0.020103061571717262,
-0.0070699239149689674,
-0.028765780851244926,
0.05596914887428284,
-0.04076164960861206,
0.04662938416004181,
0.00576791213825345,
0.013584323227405548,
-0.03937283903360367,
0.002119024284183979,
-0.0713849663734436,
-0.006748761050403118,
-0.021300913766026497,
-0.049650050699710846,
0.012238911353051662,
0.03947699815034866,
-0.004813103470951319,
0.0664546862244606,
0.018002483993768692,
0.05155966803431511,
-0.033036381006240845,
0.003374380525201559,
-0.03909507393836975,
-0.01871424913406372,
0.028175534680485725,
0.057635724544525146,
-0.034702956676483154,
0.025328470394015312,
-0.0051646470092237,
0.020832188427448273,
0.014877654612064362,
-0.03308846056461334,
0.061316076666116714,
-0.05503169819712639,
-0.01523353811353445,
0.08409260213375092,
0.011396943591535091,
0.006336457561701536,
0.030501795932650566,
-0.0856897383928299,
-0.018627449870109558,
-0.002597513608634472,
-0.043990638107061386,
-0.04513641074299812,
-0.028331777080893517,
-0.03794930502772331,
0.016665751114487648,
0.052184633910655975,
-0.00008205386984627694,
-0.050448618829250336,
-0.01482557412236929,
0.04635161906480789,
0.02081482857465744,
0.018731610849499702,
0.0345119945704937,
0.005707151722162962,
0.03024139441549778,
0.009556766599416733,
0.0081722941249609,
-0.05596914887428284,
0.03947699815034866,
0.05173327028751373,
-0.039338115602731705,
0.047983475029468536,
0.026074957102537155,
-0.006592519581317902,
0.026422159746289253,
-0.01592794433236122,
-0.009834528900682926,
-0.005251447670161724,
0.02472086437046528,
0.036456331610679626,
0.02291540801525116,
-0.0045396811328828335,
0.020832188427448273
] |
708,672
|
pathvalidate._base
|
__init__
| null |
def __init__(
self,
validator: AbstractValidator,
max_len: int,
fs_encoding: Optional[str],
validate_after_sanitize: bool,
null_value_handler: Optional[ValidationErrorHandler] = None,
reserved_name_handler: Optional[ValidationErrorHandler] = None,
additional_reserved_names: Optional[Sequence[str]] = None,
platform_max_len: Optional[int] = None,
platform: Optional[PlatformType] = None,
) -> None:
super().__init__(
max_len=max_len,
fs_encoding=fs_encoding,
additional_reserved_names=additional_reserved_names,
platform_max_len=platform_max_len,
platform=platform,
)
if null_value_handler is None:
null_value_handler = NullValueHandler.return_null_string
self._null_value_handler = null_value_handler
if reserved_name_handler is None:
reserved_name_handler = ReservedNameHandler.add_trailing_underscore
self._reserved_name_handler = reserved_name_handler
self._validate_after_sanitize = validate_after_sanitize
self._validator = validator
|
(self, validator: pathvalidate._base.AbstractValidator, max_len: int, fs_encoding: Optional[str], validate_after_sanitize: bool, null_value_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, reserved_name_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, additional_reserved_names: Optional[Sequence[str]] = None, platform_max_len: Optional[int] = None, platform: Optional[~PlatformType] = None) -> NoneType
|
[
0.03280308470129967,
-0.01193323079496622,
0.0027129037771373987,
0.029185879975557327,
-0.02145499177277088,
-0.004415118135511875,
0.03450530022382736,
-0.03932823985815048,
0.018210144713521004,
-0.03441664204001427,
0.029256805777549744,
0.03521455451846123,
0.03220021724700928,
0.005062314216047525,
0.002954494208097458,
0.05365521088242531,
0.020373376086354256,
0.01707533560693264,
0.06603172421455383,
0.04170424863696098,
-0.0034930852707475424,
0.011800245381891727,
-0.00983205996453762,
0.019540000706911087,
0.0014905455755069852,
0.10624653846025467,
-0.010567912831902504,
-0.0029899568762630224,
0.04464766010642052,
-0.03461168706417084,
0.003255927935242653,
0.003683697897940874,
0.06425858289003372,
0.07518112659454346,
0.025426823645830154,
-0.055534739047288895,
-0.034647151827812195,
0.00954835768789053,
-0.09830287098884583,
0.015346525236964226,
-0.022022396326065063,
0.0013885900843888521,
0.000772424042224884,
-0.018724355846643448,
0.024788493290543556,
0.0054435390047729015,
0.013688638806343079,
0.052130308002233505,
-0.07674148678779602,
0.006627109833061695,
-0.017757995054125786,
0.043477386236190796,
0.030462540686130524,
-0.020940780639648438,
-0.011729319579899311,
0.07284057885408401,
0.043087296187877655,
0.07142207026481628,
0.020373376086354256,
-0.0015038441633805633,
-0.05400983616709709,
0.00952176097780466,
-0.005647450219839811,
-0.04517960175871849,
-0.016366079449653625,
-0.023015353828668594,
-0.013227622956037521,
-0.036012470722198486,
-0.008404682390391827,
0.019167641177773476,
0.020603884011507034,
-0.00984092615544796,
-0.05418715253472328,
0.013803892768919468,
0.03851259499788284,
0.011747051030397415,
-0.07929480820894241,
-0.003453189739957452,
0.015967123210430145,
-0.02750139869749546,
0.09887027740478516,
0.022855771705508232,
-0.000884907552972436,
-0.04074675217270851,
0.043051835149526596,
-0.03978925570845604,
-0.01567455567419529,
0.0225011445581913,
0.035445064306259155,
0.05702417716383934,
-0.0686914324760437,
0.0030963453464210033,
-0.02532043680548668,
0.0278914887458086,
-0.011073257774114609,
-0.010071434080600739,
0.022589800879359245,
0.003606123151257634,
0.03477127104997635,
-0.00024075913825072348,
-0.006764528341591358,
0.0566340833902359,
-0.013112368993461132,
0.010310808196663857,
0.0317569337785244,
-0.001583635457791388,
-0.012234664522111416,
-0.02170323021709919,
-0.008852400816977024,
0.010780690237879753,
0.02191600762307644,
-0.01849384792149067,
0.0028170759323984385,
0.05968388542532921,
-0.04439942166209221,
0.011791379190981388,
-0.02471756935119629,
-0.006737931165844202,
0.028441162779927254,
-0.033476877957582474,
0.0057361070066690445,
0.017944173887372017,
-0.0674147754907608,
-0.02168549969792366,
0.03851259499788284,
-0.005461270455271006,
-0.008821370080113411,
-0.002030245028436184,
0.0695425420999527,
0.04032119736075401,
0.03159734979271889,
0.034026551991701126,
0.026260200887918472,
0.0023050818126648664,
0.032235682010650635,
-0.05479001998901367,
0.030639855191111565,
0.047094590961933136,
-0.08170627802610397,
0.057378802448511124,
0.009193729609251022,
0.04223619028925896,
0.027660980820655823,
-0.08489793539047241,
0.001216817181557417,
-0.012819800525903702,
0.009011982940137386,
-0.02750139869749546,
0.00673349853605032,
0.028246115893125534,
0.005412509199231863,
0.009663611650466919,
0.006906379479914904,
0.04436395689845085,
0.008462309837341309,
-0.006844319403171539,
0.010053702630102634,
-0.09099753201007843,
0.04191702604293823,
0.010479256510734558,
-0.011622930876910686,
-0.043087296187877655,
-0.018351996317505836,
-0.11184965819120407,
-0.01133036334067583,
0.04716551676392555,
0.030391616746783257,
-0.06950707733631134,
0.03558691591024399,
0.06191804260015488,
-0.03172146901488304,
-0.03353007510304451,
-0.036491215229034424,
0.06493237614631653,
-0.0061660935170948505,
0.06145702674984932,
0.02468210645020008,
0.01689802296459675,
-0.025639601051807404,
-0.020142868161201477,
0.004095952957868576,
0.020621616393327713,
0.02849435620009899,
-0.034842196851968765,
0.05046355724334717,
0.032874010503292084,
-0.05003800615668297,
0.06549978256225586,
-0.0025267242453992367,
0.0038344147615134716,
0.0469527430832386,
-0.02028471976518631,
0.0038344147615134716,
0.0011503244750201702,
-0.022164247930049896,
-0.024362940341234207,
0.0211003627628088,
-0.015213539823889732,
0.014912105165421963,
-0.021437259390950203,
-0.004681088961660862,
0.06372664123773575,
-0.011215109378099442,
-0.025781452655792236,
-0.05869092792272568,
0.012757740914821625,
-0.0032093829941004515,
0.03879629820585251,
-0.04461219534277916,
-0.060570456087589264,
-0.013271951116621494,
-0.03904453665018082,
-0.0478038489818573,
0.045498766005039215,
0.00507561257109046,
-0.09362178295850754,
-0.004011728800833225,
-0.0025799183640629053,
0.004525939468294382,
0.03477127104997635,
0.12135368585586548,
0.03299812972545624,
0.031845591962337494,
-0.04039212316274643,
0.02971782349050045,
0.014796851202845573,
0.008324891328811646,
-0.058761853724718094,
0.021756425499916077,
0.04645626246929169,
-0.07120929658412933,
-0.011374691501259804,
0.008550966158509254,
0.05950657278299332,
-0.00708812614902854,
-0.01125057227909565,
0.05347789451479912,
-0.02085212431848049,
-0.03271443024277687,
-0.00436857296153903,
0.0008793665328994393,
-0.039257314056158066,
0.00008997299300972372,
0.007983561605215073,
0.029788749292492867,
0.00633010920137167,
-0.0413496196269989,
0.09887027740478516,
0.0077308895997703075,
-0.036845844238996506,
-0.0510309636592865,
0.008324891328811646,
-0.034806735813617706,
0.014415626414120197,
-0.0021986933425068855,
0.0176604725420475,
-0.0465271882712841,
-0.04032119736075401,
0.05518011003732681,
0.0006300187087617815,
0.02592330425977707,
0.020621616393327713,
-0.022607531398534775,
0.08425959944725037,
-0.03321090713143349,
-0.06649274379014969,
0.02071027271449566,
-0.006644841283559799,
0.017740262672305107,
0.027465935796499252,
0.01195982750505209,
0.012208067812025547,
-0.025426823645830154,
0.022554337978363037,
-0.007801814936101437,
-0.051314666867256165,
-0.046881817281246185,
-0.010426062159240246,
0.0393991656601429,
-0.01667637936770916,
0.06344293802976608,
0.001060559181496501,
0.01670297607779503,
0.0069906036369502544,
0.0598611980676651,
-0.018990326672792435,
-0.04312276095151901,
-0.07645779103040695,
-0.08433052897453308,
-0.01828107051551342,
-0.05666954815387726,
-0.021596843376755714,
0.03620751574635506,
0.016153303906321526,
0.006498557515442371,
-0.09255789965391159,
0.010080299340188503,
-0.029044030234217644,
0.03918638825416565,
-0.10383506864309311,
-0.015461779199540615,
-0.010523584671318531,
-0.009113938547670841,
0.014433357864618301,
-0.0458533950150013,
-0.019947823137044907,
-0.015204673632979393,
0.004654491785913706,
0.009566089138388634,
0.0236891470849514,
0.007048230618238449,
0.059187404811382294,
-0.04663357511162758,
-0.0006045298650860786,
0.08972087502479553,
0.04514414072036743,
0.03755510225892067,
0.0002533650549594313,
0.025568675249814987,
0.051740217953920364,
0.03310452029109001,
-0.01849384792149067,
0.00023840418725740165,
-0.061953503638505936,
-0.0458533950150013,
-0.024416135624051094,
0.04276813194155693,
-0.01516034547239542,
-0.011489945463836193,
-0.020373376086354256,
-0.026348857209086418,
-0.03173920139670372,
0.04315822198987007,
-0.027572324499487877,
-0.01684482768177986,
-0.0192740298807621,
0.01989462785422802,
0.01828107051551342,
-0.006214854773133993,
-0.021525917574763298,
0.03092355839908123,
-0.002752799540758133,
-0.005394777748733759,
-0.014185118488967419,
-0.04216526448726654,
-0.0594356469810009,
0.0018529311055317521,
-0.08071332424879074,
0.00983205996453762,
-0.028848985210061073,
0.017518620938062668,
-0.005292822141200304,
-0.026366587728261948,
-0.026880798861384392,
0.04961245134472847,
-0.06557071208953857,
-0.04404479265213013,
0.0025998661294579506,
0.009539492428302765,
-0.015204673632979393,
0.0220755897462368,
-0.03290947526693344,
-0.030976751819252968,
-0.04099499061703682,
0.006516288500279188,
-0.007948098704218864,
0.024646643549203873,
-0.012030753307044506,
0.019433612003922462,
0.013298548758029938,
0.019805971533060074,
-0.023582758381962776,
0.03993110731244087,
-0.0723441019654274,
0.020940780639648438,
0.02267845720052719,
-0.027182232588529587,
0.02487715147435665,
-0.08773496001958847,
-0.03620751574635506,
0.02170323021709919,
0.04574700817465782,
-0.006197123322635889,
0.0012810934567824006,
-0.0016434789868071675,
-0.0402502715587616,
-0.021986933425068855,
0.0426262803375721,
-0.00037014292320236564,
0.05386798828840256,
0.0009375476511195302,
-0.002008080715313554,
0.03113633394241333,
0.009770000353455544,
-0.0017653822433203459,
0.016525663435459137,
-0.021632306277751923,
0.03783880174160004,
0.031863320618867874,
-0.00006192136788740754,
-0.00753584410995245,
-0.018156951293349266,
0.011897767893970013,
0.034682612866163254,
0.013183293864130974,
0.03571103513240814,
0.040072958916425705,
0.08128073066473007,
0.011374691501259804,
0.09021735191345215,
0.03010791353881359,
-0.020018748939037323,
-0.008887862786650658,
-0.07518112659454346,
-0.032643504440784454,
-0.01989462785422802,
0.02390192449092865,
0.014929836615920067,
0.014725926332175732,
-0.05000254139304161,
-0.057520654052495956,
0.03819343075156212,
-0.007837277837097645,
0.03819343075156212,
0.025444556027650833,
0.014522015117108822,
-0.011773647740483284,
-0.010284210555255413,
-0.01705760508775711,
-0.03420386463403702,
0.00773532222956419,
0.03399109095335007,
-0.06780486553907394,
-0.03776787593960762,
-0.008559832349419594,
0.009982776828110218,
-0.04159785807132721,
-0.00943310372531414,
0.0012955002021044493,
-0.016951216384768486,
0.004426200408488512,
-0.02709357626736164,
0.054329004138708115,
0.06922337412834167,
0.01828107051551342,
-0.007837277837097645,
-0.01506282202899456,
0.0635138675570488,
-0.03255484625697136,
-0.058123521506786346,
0.005607554689049721,
0.014326969161629677,
-0.022607531398534775,
-0.04000203311443329,
-0.018742088228464127,
-0.022962160408496857,
-0.028973104432225227,
-0.05305234342813492,
-0.03861898556351662,
-0.03954101726412773,
0.017740262672305107,
0.0341329425573349,
0.013670907355844975,
-0.029079493135213852,
-0.07702518999576569,
0.08638737350702286,
0.009867522865533829,
0.015373121947050095,
-0.0061572277918457985,
0.03237753361463547,
-0.04145600646734238,
0.015186942182481289,
0.025550944730639458,
0.014052133075892925,
-0.004818507470190525,
-0.0010688707698136568,
0.02349410206079483,
-0.06677644699811935,
-0.047307368367910385,
-0.012358784675598145,
0.02751912921667099,
0.04145600646734238,
0.04503775015473366,
0.040285736322402954,
0.017988502979278564,
-0.04521506279706955,
0.011720454320311546,
-0.03076397441327572,
-0.031632814556360245,
0.09142308682203293,
-0.022199710831046104,
0.07064189016819,
0.02512538991868496,
0.005199732258915901,
0.029646897688508034,
-0.0011536490637809038,
0.03156188875436783,
0.004685522057116032,
0.025249511003494263,
-0.0220755897462368,
0.005217463709414005,
-0.04014388471841812,
-0.00777965085580945,
-0.0006516288849525154,
0.03510816767811775,
-0.0654643177986145,
-0.08518163859844208,
0.0008538776310160756,
0.005266224965453148,
-0.0417751744389534,
-0.020196061581373215,
0.025639601051807404,
0.008063353598117828,
0.02150818519294262,
0.0026242469903081656,
-0.0113569600507617,
-0.04805208742618561,
-0.00914940144866705,
0.008001293055713177,
0.05021531879901886,
-0.028831252828240395,
0.04560515657067299,
0.028246115893125534,
-0.08844421058893204,
-0.008475608192384243,
0.03321090713143349,
-0.022447949275374413,
0.007983561605215073,
0.06287553906440735,
-0.01768706925213337,
-0.02127767726778984,
-0.042448967695236206,
0.012846398167312145,
0.02189827710390091,
-0.0311186034232378,
0.0699680969119072,
-0.03551599010825157,
0.05078272521495819,
-0.027412740513682365,
0.00556765915825963,
0.014389029704034328,
0.07567760348320007,
-0.02569279633462429,
-0.006064137909561396,
-0.021153558045625687,
-0.044080253690481186,
-0.007837277837097645,
0.03590608015656471,
-0.03457622602581978,
-0.03450530022382736,
-0.061598874628543854,
0.025816915556788445,
0.031615082174539566,
-0.020798929035663605,
-0.024823956191539764,
-0.04539237916469574,
0.021809618920087814,
0.0365976057946682,
0.03996657207608223,
0.01831653341650963,
0.0017099716933444142,
0.03358326852321625,
-0.03095902130007744,
-0.021579110994935036,
-0.014105327427387238,
-0.0028325908351689577,
-0.006844319403171539,
-0.03170374035835266,
-0.029203612357378006,
0.03851259499788284,
-0.033015862107276917,
0.044257570058107376,
0.003280308563262224,
0.01357338484376669,
-0.04333553463220596,
-0.006631542928516865,
0.005656315945088863,
0.010825018398463726,
-0.010346271097660065,
-0.02493034489452839,
0.021969201043248177,
0.01646360382437706,
-0.05319419503211975,
-0.06149248778820038,
-0.02670348435640335,
-0.03533867746591568,
0.0014185118488967419,
0.04085313901305199,
-0.0939054861664772,
-0.012828666716814041,
-0.02312174253165722,
0.011082123965024948,
-0.05138559266924858,
0.007642232347279787,
-0.005044582765549421,
0.006077436730265617,
-0.031437769532203674,
-0.04893865808844566,
0.018547041341662407,
-0.002888001501560211,
-0.05046355724334717,
0.06042860448360443,
-0.028565282002091408,
0.054116226732730865,
0.08652922511100769,
-0.00995618011802435,
-0.016383811831474304,
0.02551548182964325,
-0.005332718137651682,
0.004297647625207901,
-0.03094128891825676,
-0.010426062159240246,
0.013334010727703571,
-0.03695223480463028,
0.020621616393327713,
-0.013502459041774273,
-0.030870363116264343,
-0.004443931393325329,
0.014965299516916275,
-0.043477386236190796,
0.02026698738336563,
0.045285988599061966,
-0.0009264655527658761,
0.00657391594722867,
-0.07333706319332123,
-0.00943310372531414,
-0.01745656132698059,
0.018848475068807602,
-0.07074827700853348,
-0.05397437512874603,
-0.011720454320311546,
-0.009335581213235855,
0.039860181510448456,
-0.06344293802976608,
0.0051421052776277065,
0.04039212316274643,
0.00943310372531414,
0.02672121673822403,
0.04982522875070572,
0.006183824967592955,
-0.0022485628724098206,
-0.014397894963622093,
-0.010993466712534428,
0.03551599010825157,
-0.03255484625697136,
0.05166929215192795,
-0.035640109330415726,
-0.002761665266007185,
0.028033340349793434,
-0.01487664319574833,
-0.008887862786650658,
0.10929633677005768,
-0.020834391936659813,
-0.007979129441082478,
0.060996007174253464,
-0.007917068898677826,
0.04163332283496857,
-0.017607277259230614,
0.05549927428364754,
-0.00467665633186698,
-0.0389736108481884,
0.005403643473982811,
0.09872842580080032,
-0.01610010862350464,
0.020958513021469116,
0.007167917676270008,
0.02170323021709919,
-0.021525917574763298,
-0.013404936529695988,
-0.01406099833548069,
-0.001293283887207508,
-0.018245607614517212,
-0.0004809641686733812,
0.008559832349419594,
-0.013892550021409988,
0.008852400816977024,
-0.015727749094367027,
-0.019628657028079033,
0.045463304966688156,
0.02367141656577587,
0.012216933071613312,
0.022572070360183716,
-0.06401034444570541,
-0.04021481052041054,
-0.027465935796499252,
-0.01785551756620407,
-0.0048318058252334595,
0.043087296187877655,
0.04340646043419838,
-0.033423684537410736,
0.0027949116192758083,
-0.03759056329727173,
-0.004455013666301966,
-0.004556969273835421,
-0.06440043449401855,
-0.021525917574763298,
-0.0031340245623141527,
-0.07369168847799301,
0.028068803250789642,
0.02510765939950943,
0.02769644372165203,
-0.014123057946562767,
-0.025621870532631874,
-0.022536607459187508,
-0.010018239729106426,
0.005527763161808252,
-0.026366587728261948,
-0.015736615285277367,
0.054931871592998505,
-0.00914940144866705,
0.07957851141691208,
0.03335275873541832,
0.03996657207608223,
-0.06471960246562958,
-0.03911546245217323,
-0.002367141656577587,
0.0065694828517735004,
0.03551599010825157,
0.012837531976401806,
-0.02973555400967598,
0.04961245134472847,
0.014566343277692795,
0.005017985589802265,
-0.01709306798875332,
-0.020213793963193893,
0.026792142540216446,
-0.06847865879535675,
0.0019692934583872557,
0.058371759951114655,
-0.016924619674682617,
0.009814328514039516,
0.024948077276349068,
-0.08326664566993713,
-0.01125057227909565,
0.005740540102124214,
-0.05968388542532921,
0.01831653341650963,
0.0025976498145610094,
-0.009193729609251022,
0.018006235361099243,
0.030427079647779465,
0.012961652129888535,
0.02149045467376709,
0.00935331266373396,
0.06106693297624588,
0.07872740924358368,
0.03232433646917343,
-0.02290896512567997,
0.012083947658538818,
-0.0005036825314164162,
-0.02993059903383255,
-0.004787477198988199,
-0.051704756915569305,
0.01766933873295784,
-0.005979913752526045,
-0.053903449326753616,
-0.007704292424023151,
0.04773292317986488,
-0.04383201524615288,
0.016410408541560173,
-0.04383201524615288,
0.02251887507736683,
-0.0022485628724098206,
-0.006077436730265617,
0.05184660851955414,
0.037874266505241394,
0.040285736322402954,
0.007261007558554411
] |
708,673
|
pathvalidate._base
|
_get_default_max_path_len
| null |
def _get_default_max_path_len(self) -> int:
if self._is_linux():
return 4096
if self._is_windows():
return 260
if self._is_posix() or self._is_macos():
return 1024
return 260 # universal
|
(self) -> int
|
[
0.017617281526327133,
0.010974420234560966,
0.02566404826939106,
0.022068684920668602,
-0.023900607600808144,
0.014929319731891155,
0.029944242909550667,
-0.00701523944735527,
0.001141741988249123,
-0.029687432572245598,
0.0544440783560276,
0.006069316528737545,
-0.03780268132686615,
0.020134037360548973,
0.03208434209227562,
0.04002838209271431,
0.025287391617894173,
-0.040815938264131546,
0.048314839601516724,
0.021418094635009766,
0.0558137409389019,
-0.005144794471561909,
-0.011642130091786385,
-0.08512451499700546,
-0.0628332644701004,
0.0767010897397995,
0.004969306290149689,
0.04033655673265457,
0.05451256409287453,
-0.022770637646317482,
-0.05269775912165642,
0.014287291094660759,
0.02218853123486042,
0.03680967539548874,
0.026691295206546783,
-0.013551097363233566,
0.008063887245953083,
0.023763641715049744,
-0.06286749988794327,
-0.0896444022655487,
-0.03109133616089821,
0.0021764792036265135,
-0.010015656240284443,
-0.016307542100548744,
-0.004622610751539469,
-0.00954483449459076,
-0.019637534394860268,
-0.022342616692185402,
-0.021983081474900246,
-0.00003260304583818652,
0.002927653258666396,
0.004252373706549406,
-0.055437084287405014,
0.028540339320898056,
-0.016341784968972206,
0.057833995670080185,
-0.024294385686516762,
0.031433749943971634,
-0.03472094237804413,
-0.02177763171494007,
0.010349511168897152,
-0.010717608034610748,
0.04297315701842308,
-0.07019519805908203,
0.00442572170868516,
-0.013028913177549839,
-0.010580642148852348,
0.001080749207176268,
-0.017617281526327133,
0.05512890964746475,
0.004314436577260494,
0.01926087774336338,
-0.06944188475608826,
-0.004965025931596756,
0.0658465176820755,
0.01953480951488018,
-0.003201585728675127,
-0.009724603034555912,
0.02539011649787426,
-0.006831191014498472,
0.03210146352648735,
-0.04057624936103821,
0.029670311138033867,
-0.04574672505259514,
0.0725921094417572,
0.007323413621634245,
0.025150425732135773,
0.01659003645181656,
0.039549000561237335,
-0.004472803790122271,
-0.0028955519665032625,
0.050711750984191895,
0.02720491960644722,
-0.006852591875940561,
-0.00261305901221931,
-0.03427579998970032,
-0.007284891791641712,
0.0037665716372430325,
0.06303871423006058,
-0.06629166007041931,
-0.010923057794570923,
0.035508498549461365,
0.011282593943178654,
-0.02931077405810356,
0.023626675829291344,
0.031022852286696434,
0.03989141806960106,
0.016007928177714348,
0.01087169535458088,
-0.032580845057964325,
-0.03167344257235527,
-0.02944774180650711,
0.027016591280698776,
0.05091720074415207,
-0.0284547358751297,
0.0463288314640522,
-0.0038008131086826324,
-0.044856444001197815,
0.054341353476047516,
-0.00694675650447607,
-0.054204389452934265,
0.039822932332754135,
-0.05478649586439133,
-0.057970959693193436,
0.04783545807003975,
0.05776550993323326,
-0.01409040205180645,
0.006433133035898209,
-0.018918462097644806,
0.0783446878194809,
0.026400242000818253,
0.05533435940742493,
0.012181434780359268,
0.0285917017608881,
0.021127041429281235,
0.006711345631629229,
-0.039549000561237335,
0.11635281890630722,
-0.018661649897694588,
0.021452337503433228,
-0.040678974241018295,
-0.008834321983158588,
0.03335127979516983,
-0.022685032337903976,
-0.02484225109219551,
0.0552658773958683,
0.07731743901968002,
0.004395760130137205,
0.0008801150834187865,
0.02763293869793415,
0.009861568920314312,
-0.013311406597495079,
-0.019637534394860268,
0.016709880903363228,
0.027136435732245445,
-0.001886495971120894,
-0.02299320697784424,
-0.010409434325993061,
0.045849449932575226,
-0.044411301612854004,
0.014895078726112843,
-0.04869149625301361,
-0.01094017829746008,
-0.07464659959077835,
0.0027864070143550634,
-0.03530304878950119,
-0.0026708415243774652,
-0.01213863305747509,
0.02862594462931156,
0.05173899605870247,
0.00021133462723810226,
0.03294038027524948,
0.02218853123486042,
-0.021366732195019722,
0.014544102363288403,
0.05913517251610756,
-0.014800913631916046,
-0.046945177018642426,
0.02049357257783413,
0.01840483769774437,
0.0019464186625555158,
-0.04259650036692619,
0.007961162365972996,
0.020990075543522835,
0.05040357634425163,
0.06735314428806305,
-0.008877124637365341,
0.037460267543792725,
-0.02621191367506981,
0.013191561214625835,
-0.08902805298566818,
0.013397010043263435,
0.03377929702401161,
-0.0016339643625542521,
-0.01396199595183134,
-0.003638165770098567,
0.09217827767133713,
-0.007824196480214596,
-0.013148758560419083,
-0.02691386640071869,
-0.043452538549900055,
0.04030231386423111,
-0.0038093735929578543,
-0.04783545807003975,
0.025612685829401016,
-0.009330824948847294,
0.007516022305935621,
0.005149074364453554,
-0.07683806121349335,
0.0384875126183033,
-0.032580845057964325,
-0.027872629463672638,
0.0018073123646900058,
0.009322264231741428,
-0.021452337503433228,
-0.03014969266951084,
-0.04560975730419159,
0.08067311346530914,
-0.02456831932067871,
0.05235534533858299,
0.028369132429361343,
-0.0015002082800492644,
0.04841756448149681,
-0.003032518085092306,
0.02944774180650711,
-0.044993408024311066,
0.02121264673769474,
0.007331973873078823,
0.07033216208219528,
0.01142812054604292,
-0.006942476145923138,
-0.04362374544143677,
0.012155753560364246,
0.06793525069952011,
0.036090604960918427,
-0.027513092383742332,
0.023113053292036057,
-0.05485497787594795,
0.002371228067204356,
-0.04259650036692619,
-0.029601827263832092,
-0.012746420688927174,
0.02104143798351288,
0.04215135797858238,
0.008894245140254498,
0.0181480273604393,
-0.037871163338422775,
0.01471531018614769,
0.035063356161117554,
-0.05869003385305405,
-0.0038500353693962097,
0.010041337460279465,
-0.08430271595716476,
-0.045541275292634964,
0.03413883596658707,
0.07546839863061905,
-0.07135941088199615,
-0.004143228754401207,
-0.057457335293293,
0.036912400275468826,
0.05283472687005997,
0.018370596691966057,
-0.07293452322483063,
-0.02778702601790428,
-0.013234362937510014,
0.005722620524466038,
0.02355819381773472,
-0.006433133035898209,
-0.008329259231686592,
-0.004673972725868225,
0.07827620208263397,
0.010957298800349236,
-0.0457809641957283,
-0.054341353476047516,
-0.018867099657654762,
-0.05149930715560913,
-0.013200121000409126,
-0.004956465680152178,
0.01938072219491005,
-0.020887350663542747,
-0.03951476141810417,
-0.030629074200987816,
0.00825649593025446,
-0.01382503006607294,
-0.009270901791751385,
0.043589506298303604,
-0.006809790153056383,
-0.07711198925971985,
-0.07683806121349335,
0.02355819381773472,
0.006839751731604338,
-0.029636070132255554,
-0.015528547577559948,
0.04187742620706558,
0.046363070607185364,
-0.043315574526786804,
0.04160349443554878,
-0.03364233300089836,
0.05208141356706619,
-0.030046967789530754,
-0.08396030217409134,
-0.010726168751716614,
-0.025475719943642616,
-0.007481780834496021,
-0.020014191046357155,
0.02470528520643711,
0.0017955417279154062,
-0.06245660409331322,
0.07361935079097748,
0.035234563052654266,
-0.03811085596680641,
-0.03276917338371277,
0.02903684228658676,
0.009912931360304356,
0.08313850313425064,
0.061737529933452606,
0.017360471189022064,
0.01599936932325363,
-0.027564454823732376,
0.02765006013214588,
0.009288023225963116,
0.06868857145309448,
-0.039685968309640884,
-0.037323299795389175,
-0.029327895492315292,
0.0020502132829278708,
0.0476984940469265,
0.04112411290407181,
0.004823779687285423,
0.0021197665482759476,
-0.041226837784051895,
0.01953480951488018,
0.006728466600179672,
-0.03288901969790459,
-0.025595566257834435,
0.031211180612444878,
0.01067480631172657,
0.00878296047449112,
-0.04739031940698624,
-0.021931719034910202,
0.048349082469940186,
-0.044445544481277466,
0.013431251980364323,
0.0005430497112683952,
0.05221837759017944,
-0.0009298723307438195,
0.09026075154542923,
0.00522611802443862,
-0.012249917723238468,
-0.06844887882471085,
-0.009288023225963116,
0.015956567600369453,
-0.04293891414999962,
-0.04324708878993988,
-0.049718745052814484,
-0.03011545166373253,
-0.017120780423283577,
0.003939919639378786,
0.045404307544231415,
0.06512744724750519,
-0.009168177843093872,
-0.005619896110147238,
-0.03210146352648735,
0.032563723623752594,
-0.007554544135928154,
0.012130072340369225,
0.011154187843203545,
0.01431297231465578,
0.05122537165880203,
0.0035140400286763906,
-0.0075117419473826885,
-0.05584798380732536,
0.03725481778383255,
-0.04102138802409172,
0.05639584735035896,
0.029071083292365074,
-0.0468766950070858,
-0.031690564006567,
-0.06410019844770432,
0.022102925926446915,
-0.04269922524690628,
0.00041892408626154065,
0.022924724966287613,
-0.04030231386423111,
-0.031159820035099983,
-0.016906769946217537,
-0.0382135808467865,
-0.061463598161935806,
0.0184219591319561,
0.009758844040334225,
0.008740157820284367,
0.029345016926527023,
0.04033655673265457,
0.036912400275468826,
-0.0021507979836314917,
0.03249524161219597,
0.008842882700264454,
0.013277164660394192,
0.06725042313337326,
0.06149784103035927,
0.026263276115059853,
0.02901972085237503,
-0.004104706924408674,
0.06892825663089752,
-0.03694664314389229,
0.03961748257279396,
0.08327547460794449,
0.063381128013134,
-0.036775436252355576,
0.013850710354745388,
0.0067584277130663395,
-0.006279046181589365,
-0.038008131086826324,
-0.01758304052054882,
-0.002283483976498246,
-0.03127966448664665,
-0.018319234251976013,
-0.010332390666007996,
0.08622024953365326,
-0.040268074721097946,
-0.030885886400938034,
0.02439711056649685,
-0.00872303731739521,
0.05009540170431137,
0.03025241754949093,
0.03324855491518974,
-0.028112320229411125,
-0.001995640806853771,
-0.002113346243277192,
-0.008110969327390194,
-0.01184757985174656,
0.037734199315309525,
-0.0024418511893600225,
-0.013191561214625835,
-0.005508610978722572,
0.0009336175280623138,
0.022428222000598907,
0.0008587141055613756,
-0.031039973720908165,
-0.04965026304125786,
0.02456831932067871,
-0.045130375772714615,
-0.009741723537445068,
0.03516608104109764,
0.06865432858467102,
-0.033128708600997925,
-0.020442210137844086,
-0.020151156932115555,
0.012463927268981934,
-0.005821065045893192,
-0.050437815487384796,
-0.056704021990299225,
0.020835988223552704,
0.024893613532185555,
-0.028643064200878143,
-0.03441276773810387,
-0.06136087328195572,
0.017805611714720726,
-0.051978688687086105,
-0.04376071318984032,
0.00854754913598299,
0.06505896151065826,
0.09272614121437073,
-0.031194061040878296,
-0.05927214026451111,
0.01604217104613781,
-0.015853842720389366,
0.009775965474545956,
-0.007075162138789892,
-0.013277164660394192,
-0.008033925667405128,
0.018730133771896362,
-0.043589506298303604,
0.004001982044428587,
0.045849449932575226,
-0.03246099874377251,
-0.006107838358730078,
0.02261655032634735,
0.0037922526244074106,
-0.02052781544625759,
0.03167344257235527,
-0.018045302480459213,
0.04338405653834343,
-0.007661548908799887,
-0.026314638555049896,
-0.04506189376115799,
-0.09854720532894135,
0.02093871310353279,
-0.03458397462964058,
0.0003563262289389968,
0.020014191046357155,
0.05622464045882225,
-0.05300593376159668,
0.013311406597495079,
0.02527027018368244,
-0.0023284261114895344,
0.051122646778821945,
-0.014860836789011955,
-0.01602504961192608,
0.00480665871873498,
-0.026057826355099678,
-0.027444610372185707,
0.0003795997763518244,
0.0058296252973377705,
-0.04872573912143707,
0.05947759002447128,
-0.048588771373033524,
-0.042733464390039444,
-0.005183315835893154,
-0.0020491434261202812,
-0.0050078281201422215,
0.00477241724729538,
-0.012224236503243446,
0.011659250594675541,
-0.013722305186092854,
0.01563127152621746,
0.055882226675748825,
-0.007165046408772469,
0.06368929892778397,
-0.041774701327085495,
-0.03554273769259453,
-0.012318400666117668,
-0.014621146023273468,
-0.07998828589916229,
-0.0072806114330887794,
-0.010563520714640617,
0.03944627568125725,
-0.00927946250885725,
0.03011545166373253,
0.09190434217453003,
-0.012112951837480068,
0.02299320697784424,
0.02093871310353279,
0.054067421704530716,
0.030474988743662834,
0.0577312707901001,
-0.06300447136163712,
-0.030098330229520798,
-0.05701219663023949,
0.0012487468775361776,
-0.03222130611538887,
-0.076427161693573,
0.0006152780260890722,
0.007785674650222063,
-0.0022107206750661135,
0.004686813335865736,
0.010263907723128796,
0.0237122792750597,
0.06125814840197563,
-0.05314290151000023,
0.005611335393041372,
0.04622610658407211,
0.030355142429471016,
-0.00801252480596304,
-0.010203984566032887,
-0.015716874971985817,
0.06543561816215515,
-0.047938182950019836,
0.020322365686297417,
0.00670278538018465,
-0.04560975730419159,
-0.05673826485872269,
0.008885684423148632,
-0.02648584544658661,
-0.004203151445835829,
-0.020681902766227722,
-0.04598641395568848,
-0.015237494371831417,
-0.018456200137734413,
0.027016591280698776,
-0.05482073500752449,
0.05817640945315361,
0.03239251673221588,
-0.03336840122938156,
-0.00016492126451339573,
-0.0185589250177145,
-0.025047700852155685,
0.00519187655299902,
0.0016189836896955967,
0.005037789233028889,
-0.0073747760616242886,
0.04167197644710541,
0.02162354439496994,
0.03526880592107773,
-0.00022337267000693828,
-0.025835257023572922,
-0.006719905883073807,
-0.007807075511664152,
-0.07026368379592896,
-0.010777531191706657,
-0.013970556668937206,
0.0013386309146881104,
-0.013499734923243523,
-0.03122830204665661,
-0.035645462572574615,
0.015177571214735508,
-0.05095143988728523,
-0.045404307544231415,
0.013011792674660683,
0.03948051854968071,
-0.007866998203098774,
0.01672700233757496,
-0.030081210657954216,
0.12374899536371231,
0.040233831852674484,
-0.018353475257754326,
0.021315371617674828,
0.027804145589470863,
-0.04180894419550896,
0.007323413621634245,
-0.009553395211696625,
-0.019363602623343468,
0.027598697692155838,
-0.018199387937784195,
-0.06406595557928085,
0.026434483006596565,
0.03698088601231575,
-0.03109133616089821,
0.02903684228658676,
-0.030800282955169678,
-0.0772489607334137,
0.006552978418767452,
0.016889648512005806,
-0.03540577366948128,
-0.0003469632938504219,
0.025424357503652573,
-0.043178606778383255,
0.017009494826197624,
-0.04204863682389259,
0.0015868822811171412,
-0.012968990951776505,
-0.05776550993323326,
0.022685032337903976,
0.008894245140254498,
0.008971288800239563,
0.022393979132175446,
-0.02162354439496994,
0.024345748126506805,
0.03944627568125725,
0.02232549712061882,
-0.016504431143403053,
0.0015002082800492644,
-0.012797783128917217,
-0.007545983884483576,
-0.007075162138789892,
-0.006518736947327852,
0.009930051863193512,
0.07539991289377213,
-0.04098714515566826,
-0.0015183991054072976,
-0.03237539529800415,
-0.011633569374680519,
0.03413883596658707,
-0.023386985063552856,
0.019055427983403206,
-0.0184219591319561,
0.04893118888139725,
-0.007263490930199623,
-0.03348824381828308,
-0.09341097623109818,
-0.03567970544099808,
-0.04328133165836334,
0.0002840979432221502,
0.016752682626247406,
0.0001865897502284497,
-0.045267339795827866,
0.02398621290922165,
-0.03206722065806389,
0.004130388144403696,
-0.05358804017305374,
0.078618623316288,
-0.012874826788902283,
0.009510593488812447,
-0.024482715874910355,
0.011188429780304432,
-0.0009384327568113804,
-0.00008486823935527354,
0.08526148647069931,
0.03127966448664665,
-0.014398575760424137,
0.018610287457704544,
0.0360221192240715,
-0.08745294064283371,
-0.0019068268593400717,
0.07163333892822266,
0.021418094635009766,
-0.005744021385908127,
0.03944627568125725,
0.014955000951886177,
0.04328133165836334,
0.0030517790000885725,
-0.053485315293073654,
0.030920127406716347,
0.049889951944351196,
-0.03571394830942154,
-0.04043928161263466,
0.03205009922385216,
0.046534277498722076,
-0.002696522744372487,
-0.04756152629852295,
0.00036033891956321895,
0.05006115883588791,
-0.04334981366991997,
-0.06317567825317383,
-0.009031211026012897,
-0.017634402960538864,
-0.039138101041316986,
0.010905936360359192,
-0.03319719061255455,
0.01843908056616783,
0.033385518938302994,
0.008312138728797436,
0.06389474868774414,
-0.08758991211652756,
-0.03263220563530922,
0.016521552577614784,
-0.0037451705429702997,
0.01464682724326849,
-0.018079543486237526,
-0.05136233940720558,
0.01039231289178133,
-0.011479482986032963,
0.039275068789720535,
0.013953435234725475,
-0.06252508610486984,
-0.0362960547208786,
-0.0058296252973377705,
-0.024106057360768318,
0.03038938343524933,
0.004652571864426136,
-0.033830661326646805,
-0.029927123337984085,
-0.0019325079629197717,
0.0027200637850910425,
-0.0003004161699209362,
-0.012292719446122646,
0.035508498549461365,
-0.04530158266425133,
-0.038419030606746674,
0.04252801835536957,
-0.0020063414704054594,
0.03348824381828308,
-0.024157419800758362,
0.041500769555568695,
0.017086537554860115,
-0.030492108315229416,
-0.009133935905992985,
0.0797143504023552,
0.02258230932056904,
0.016307542100548744,
0.01396199595183134,
-0.030474988743662834,
0.00812808983027935,
-0.0544440783560276,
0.00029827607795596123,
-0.015014924108982086,
-0.03595363721251488,
-0.018901340663433075,
-0.0000594545817875769,
0.06098421663045883,
-0.0281808041036129,
-0.008260776288807392,
-0.013277164660394192,
0.04180894419550896,
0.040542006492614746,
-0.004417160991579294,
-0.017822731286287308,
0.0017056576907634735
] |
708,674
|
pathvalidate._base
|
_is_linux
| null |
def _is_linux(self, include_universal: bool = False) -> bool:
if include_universal:
return self.platform in (Platform.UNIVERSAL, Platform.LINUX)
return self.platform == Platform.LINUX
|
(self, include_universal: bool = False) -> bool
|
[
0.09446960687637329,
-0.030785733833909035,
-0.025071846321225166,
0.02713230811059475,
0.012873562052845955,
-0.01730615273118019,
0.017098376527428627,
0.017955459654331207,
-0.07985591143369675,
0.012648469768464565,
0.011886618100106716,
0.0037399991415441036,
0.035564620047807693,
-0.024136846885085106,
0.015141801908612251,
0.03795406594872475,
-0.0030582284089177847,
0.0029197100084275007,
0.03992795571684837,
-0.05291406065225601,
-0.006605600472539663,
0.04737332463264465,
0.01812860742211342,
-0.02837897464632988,
0.009930044412612915,
0.07389961183071136,
0.03656888008117676,
0.0048784478567540646,
-0.05332961678504944,
-0.0052810171619057655,
-0.020743142813444138,
-0.009289395995438099,
0.07154479622840881,
-0.034491103142499924,
0.015869025141000748,
0.028482863679528236,
-0.026941845193505287,
0.0348547138273716,
-0.09038331359624863,
-0.036672770977020264,
-0.018024718388915062,
-0.01503791380673647,
0.018180551007390022,
-0.0067397900857031345,
-0.04907017573714256,
0.0015713190659880638,
0.0025669208262115717,
0.00593032268807292,
-0.0060731698758900166,
0.021747402846813202,
0.013652728870511055,
-0.00709474366158247,
-0.03587628901004791,
0.06285276263952255,
-0.08491183072328568,
0.04311387985944748,
0.01658758893609047,
0.01909823715686798,
-0.0697094276547432,
0.014492496848106384,
-0.025071846321225166,
0.05135573074221611,
-0.02216295897960663,
-0.012163654901087284,
0.05222146958112717,
-0.037469249218702316,
-0.047061655670404434,
-0.028309715911746025,
-0.023167217150330544,
0.062437210232019424,
-0.04266369342803955,
0.00760553078725934,
-0.022301476448774338,
0.022682402282953262,
0.03239601105451584,
-0.03892369568347931,
0.023946383967995644,
0.032049715518951416,
0.038992952555418015,
-0.010968932881951332,
-0.007306850049644709,
0.02186860702931881,
0.028482863679528236,
0.01750527322292328,
-0.018838513642549515,
0.012622497044503689,
0.011072821915149689,
0.0682549849152565,
0.03398897498846054,
-0.04844684153795242,
0.0016990158474072814,
0.0790247991681099,
0.03816184401512146,
0.03753850981593132,
0.04020499065518379,
-0.0026556591037660837,
0.008453956805169582,
0.03168610483407974,
-0.0013505552196875215,
-0.05630776658654213,
-0.006497382652014494,
0.021833976730704308,
0.020119810476899147,
-0.04079369455575943,
0.05727739632129669,
0.04564184322953224,
-0.016544301062822342,
0.02701110579073429,
-0.04003184288740158,
0.017531245946884155,
-0.015141801908612251,
-0.025643235072493553,
-0.024275364354252815,
0.016033515334129333,
-0.0776396095752716,
-0.025054531171917915,
0.014717589132487774,
0.021366477012634277,
0.0003627993864938617,
0.0006103470805101097,
-0.0867818295955658,
0.07930183410644531,
-0.009808840230107307,
-0.04238665848970413,
0.0387851782143116,
-0.006683517247438431,
0.024136846885085106,
0.001298610819503665,
-0.05866257846355438,
0.07867850363254547,
0.007259234320372343,
-0.0011514349607750773,
0.045503322035074234,
0.008008100092411041,
-0.05751980096101761,
-0.06115591153502464,
-0.0017704394413158298,
0.06614258140325546,
0.03417943790555,
-0.01474356185644865,
-0.04515702649950981,
-0.0356685109436512,
0.016795367002487183,
-0.031253233551979065,
-0.056099988520145416,
0.04837758094072342,
-0.036845918744802475,
-0.016552958637475967,
-0.003144802525639534,
0.007770021446049213,
0.01925406977534294,
-0.0433909147977829,
-0.04176332429051399,
0.05866257846355438,
-0.03355610370635986,
0.014778191223740578,
0.022872865200042725,
-0.03236138075590134,
-0.0011871467577293515,
0.00662724394351244,
-0.001388431410305202,
0.008168262429535389,
-0.006726804189383984,
-0.04699239879846573,
-0.01878657005727291,
-0.030785733833909035,
-0.01761781983077526,
-0.02669943869113922,
0.10478923469781876,
0.0325864739716053,
-0.020552679896354675,
0.005579697899520397,
0.034110177308321,
0.01799008809030056,
0.01511583011597395,
0.03944313898682594,
0.012198284268379211,
-0.008531873114407063,
-0.009090275503695011,
-0.0009712526807561517,
0.021522309631109238,
-0.05571906268596649,
-0.038542769849300385,
-0.0465422123670578,
0.002031243871897459,
0.03982406482100487,
-0.04370258376002312,
-0.023374995216727257,
0.04920869320631027,
0.06693905591964722,
-0.03206703066825867,
0.030058512464165688,
-0.013410321436822414,
-0.02543545700609684,
0.020881662145256996,
0.016544301062822342,
0.008337081409990788,
0.01937527395784855,
-0.0024478815030306578,
-0.0030820362735539675,
0.014232774265110493,
0.006960554048418999,
-0.04068980738520622,
0.05145961791276932,
-0.024275364354252815,
0.005969281308352947,
-0.026786012575030327,
0.05485332012176514,
0.008778609335422516,
-0.04775425046682358,
-0.05319109931588173,
-0.0635453537106514,
-0.0465075820684433,
0.12148071080446243,
0.06375313550233841,
0.0683242455124855,
-0.06437646597623825,
0.02031027339398861,
-0.06174461543560028,
-0.016933884471654892,
0.002921874402090907,
0.007800322491675615,
0.057173505425453186,
0.021504994481801987,
0.030924253165721893,
0.013393006287515163,
-0.0026361800264567137,
0.047234803438186646,
0.04266369342803955,
0.03625721484422684,
0.030023882165551186,
-0.022301476448774338,
-0.008860854431986809,
0.05229073017835617,
0.04068980738520622,
-0.01674342155456543,
0.002298541134223342,
0.05256776511669159,
0.04539943486452103,
-0.004231306724250317,
-0.0016362495953217149,
-0.0032270478550344706,
0.0011308735702186823,
-0.03643036261200905,
0.014224117621779442,
-0.07320702075958252,
-0.038681287318468094,
0.04837758094072342,
0.00042475396185182035,
0.009566432796418667,
-0.00011558989353943616,
-0.0018093977123498917,
-0.0011000315425917506,
-0.04169406369328499,
0.000008919494575820863,
-0.021158698946237564,
-0.02886378951370716,
-0.043841101229190826,
-0.006350207142531872,
0.02153962478041649,
0.02372129075229168,
0.06628109514713287,
-0.00435683922842145,
0.05461091548204422,
-0.040724433958530426,
-0.03315786272287369,
0.039789434522390366,
0.04238665848970413,
-0.01418948732316494,
-0.013730645179748535,
0.040101103484630585,
-0.0318073071539402,
-0.05758906155824661,
0.008073030970990658,
0.01890777423977852,
-0.029591012746095657,
0.04605739563703537,
0.0026145365554839373,
0.011029534973204136,
-0.03501054644584656,
0.010899673216044903,
0.050628505647182465,
-0.004432591609656811,
0.03352147340774536,
-0.022526569664478302,
-0.009367312304675579,
-0.026335828006267548,
-0.05914739519357681,
-0.029521752148866653,
-0.020431477576494217,
-0.05305258184671402,
0.03739999234676361,
0.04671536013484001,
0.012111710384488106,
0.028015363961458206,
0.048031285405159,
0.0325864739716053,
-0.0039282976649701595,
0.02153962478041649,
-0.0668005421757698,
-0.036084067076444626,
0.06454961746931076,
0.018526848405599594,
-0.012163654901087284,
-0.03199777007102966,
0.0027898489497601986,
0.050178322941064835,
-0.043841101229190826,
-0.021193329244852066,
0.03208434581756592,
-0.008432312868535519,
0.01607680134475231,
0.04138239845633507,
0.03646499291062355,
-0.03024897538125515,
0.03071647509932518,
0.028292400762438774,
-0.006540670059621334,
-0.019963977858424187,
0.028915734961628914,
-0.006181387696415186,
0.02063925378024578,
0.030837679281830788,
0.03670739755034447,
0.020656568929553032,
-0.022266846150159836,
0.04913943260908127,
-0.07694701850414276,
-0.0036404388956725597,
0.030491381883621216,
-0.00938462745398283,
0.002776862820610404,
0.05052461847662926,
-0.0062809474766254425,
0.0433909147977829,
0.0017325632506981492,
-0.027253512293100357,
-0.0019890388939529657,
-0.04487999156117439,
-0.05540739372372627,
-0.08975998312234879,
0.04332165792584419,
-0.0019619844388216734,
-0.00016259690164588392,
0.013124627061188221,
0.017548561096191406,
0.0032032399903982878,
0.05229073017835617,
0.02231879159808159,
-0.05987461656332016,
-0.0020766952075064182,
0.0449838787317276,
-0.02001592144370079,
0.006302591413259506,
-0.0006260386435315013,
-0.052983321249485016,
-0.030491381883621216,
0.05689647048711777,
0.04238665848970413,
0.06614258140325546,
0.07410739362239838,
-0.022059069946408272,
0.02806730940937996,
0.020396847277879715,
-0.06098276376724243,
-0.007138030603528023,
-0.013211200945079327,
0.020518051460385323,
0.03284619748592377,
-0.026179993525147438,
0.00046046575880609453,
-0.045503322035074234,
0.026457030326128006,
-0.02344425395131111,
-0.00017964116705115885,
0.020189069211483,
0.021833976730704308,
-0.045226287096738815,
-0.023028697818517685,
0.02683795616030693,
0.0002140002470696345,
0.05222146958112717,
0.008466942235827446,
-0.04671536013484001,
0.005605670157819986,
0.012319488450884819,
0.056099988520145416,
-0.06621183454990387,
-0.02095092087984085,
-0.08601997792720795,
-0.03146101161837578,
0.02775564230978489,
-0.037607770413160324,
0.05509572848677635,
-0.04889702796936035,
-0.06174461543560028,
-0.02185129188001156,
0.025937587022781372,
0.03376388177275658,
0.0039282976649701595,
0.005532082170248032,
0.00570523040369153,
-0.021158698946237564,
0.00690860953181982,
-0.027357401326298714,
0.03540878742933273,
-0.017098376527428627,
-0.0008922538254410028,
-0.006938910577446222,
0.017141662538051605,
-0.01342763565480709,
-0.01257055252790451,
-0.09820960462093353,
-0.014379950240254402,
-0.013713330030441284,
0.054507024586200714,
0.04557258263230324,
0.02375592105090618,
0.052498508244752884,
-0.046749990433454514,
-0.007068771403282881,
-0.02761712297797203,
-0.05751980096101761,
0.018561476841568947,
0.03196313977241516,
0.005380577407777309,
-0.008445299230515957,
0.011133423075079918,
-0.004315716680139303,
-0.010501433163881302,
0.00033682718640193343,
0.009973331354558468,
-0.04051665589213371,
-0.006216017063707113,
0.04564184322953224,
-0.060290172696113586,
-0.01970425434410572,
0.0004834619758184999,
-0.019963977858424187,
-0.08034072071313858,
-0.007505970541387796,
-0.037780918180942535,
-0.041486285626888275,
0.0021156533621251583,
0.028448235243558884,
0.013540182262659073,
-0.009661664254963398,
0.0006731132743880153,
-0.004523494280874729,
-0.0387505479156971,
-0.05381443351507187,
0.028950363397598267,
-0.038404252380132675,
0.00783495232462883,
0.03767702728509903,
-0.07964812964200974,
-0.0232711061835289,
-0.03135712444782257,
0.008765622973442078,
-0.01666550524532795,
-0.0651036873459816,
0.007358794566243887,
0.04837758094072342,
0.009540461003780365,
0.049381840974092484,
-0.026006845757365227,
0.02713230811059475,
-0.02498527243733406,
0.0061727301217615604,
0.040724433958530426,
0.020691199228167534,
0.03087230771780014,
0.05772757902741432,
0.0017834255704656243,
0.023167217150330544,
-0.04467221349477768,
-0.024708235636353493,
0.02235342189669609,
-0.07722405344247818,
-0.027253512293100357,
-0.04214425012469292,
-0.01921943947672844,
-0.005207429174333811,
0.02915814146399498,
-0.028292400762438774,
-0.07556183636188507,
0.002109160413965583,
-0.048481471836566925,
0.020725829526782036,
-0.03677665814757347,
0.020396847277879715,
-0.024777494370937347,
0.03476814180612564,
-0.03999721258878708,
0.017176292836666107,
-0.0026513305492699146,
0.002733575878664851,
0.02204175479710102,
0.01024171058088541,
-0.029521752148866653,
-0.02110675536096096,
0.052983321249485016,
-0.026491660624742508,
0.008570831269025803,
0.021349161863327026,
-0.002220624592155218,
0.042594436556100845,
-0.008986386470496655,
-0.035910919308662415,
0.03996258229017258,
-0.015141801908612251,
-0.040551286190748215,
0.05232536047697067,
-0.0054758088663220406,
0.043667953461408615,
0.04162480682134628,
0.022093698382377625,
-0.010813099332153797,
0.02375592105090618,
-0.011237312108278275,
0.02978147566318512,
-0.09204553812742233,
0.007839281111955643,
-0.018855828791856766,
-0.024154162034392357,
0.026786012575030327,
-0.02062194049358368,
0.04837758094072342,
0.007081757765263319,
0.011626895517110825,
0.009358655661344528,
0.03376388177275658,
-0.041036102920770645,
-0.016864625737071037,
0.012700414285063744,
0.03785017505288124,
-0.03428332507610321,
0.032326750457286835,
-0.010882358998060226,
-0.03774628788232803,
-0.015444811433553696,
-0.0744536891579628,
0.05076702684164047,
0.05336424708366394,
-0.025504715740680695,
-0.01155763678252697,
0.024881383404135704,
-0.06783942878246307,
0.055580541491508484,
-0.019600365310907364,
-0.012622497044503689,
0.06628109514713287,
0.005527753382921219,
0.038057953119277954,
0.05848943069577217,
-0.04356406629085541,
0.05166739597916603,
0.0040343510918319225,
-0.04294073209166527,
0.0034218395594507456,
-0.06067109853029251,
-0.03378119692206383,
0.009263424202799797,
-0.016804024577140808,
-0.06544998288154602,
-0.026647493243217468,
-0.06084424629807472,
0.018249811604619026,
0.040862955152988434,
-0.009601063095033169,
-0.009497174061834812,
-0.018076661974191666,
0.04100147262215614,
-0.0263704564422369,
0.01070055365562439,
0.01373930275440216,
0.020518051460385323,
0.04903554543852806,
-0.03133980929851532,
0.008687706664204597,
-0.08726664632558823,
-0.002069119829684496,
-0.026335828006267548,
0.017392728477716446,
-0.05648091435432434,
-0.05170202627778053,
0.03009314090013504,
-0.018388329073786736,
0.002263911534100771,
-0.04484536126255989,
0.002672974020242691,
-0.003136145183816552,
0.09253034740686417,
-0.0026145365554839373,
-0.03054332733154297,
-0.039789434522390366,
-0.010155136696994305,
-0.020258327946066856,
0.0027379044331610203,
0.005540739744901657,
0.06004776433110237,
-0.014561755582690239,
0.03594554588198662,
-0.029850734397768974,
0.06288739293813705,
0.01812860742211342,
-0.03191119804978371,
-0.06783942878246307,
-0.061017394065856934,
-0.015176432207226753,
-0.010934303514659405,
0.02929666079580784,
-0.024240735918283463,
0.0021513651590794325,
0.11774071305990219,
0.040862955152988434,
0.013713330030441284,
-0.015548700466752052,
0.06593479961156845,
-0.09592404961585999,
0.03054332733154297,
0.013055367395281792,
0.00030111538944765925,
-0.03708832338452339,
-0.05145961791276932,
-0.01635383814573288,
-0.01814592257142067,
-0.022301476448774338,
-0.025158420205116272,
0.05308721214532852,
0.01894240267574787,
-0.04401424899697304,
0.06562313437461853,
-0.05474943295121193,
-0.03170341998338699,
-0.0005291838897392154,
0.02529693953692913,
-0.04907017573714256,
0.07362257689237595,
0.054680172353982925,
-0.03275962173938751,
-0.04979739710688591,
0.024742864072322845,
-0.00504726730287075,
0.03241332620382309,
-0.011600923724472523,
-0.009947358630597591,
0.04619591683149338,
0.010648609139025211,
-0.054229989647865295,
-0.026006845757365227,
0.02031027339398861,
0.03159952908754349,
-0.006410808768123388,
0.03688054904341698,
-0.020396847277879715,
-0.018267124891281128,
0.016752079129219055,
0.0016936049796640873,
-0.020829716697335243,
0.014016339555382729,
-0.005237730219960213,
0.04113999009132385,
0.06302591413259506,
0.0012585703516378999,
-0.049554988741874695,
-0.003220554906874895,
-0.04311387985944748,
0.006527683697640896,
-0.03708832338452339,
0.0790247991681099,
0.01785157062113285,
-0.012232913635671139,
-0.02742666006088257,
0.014154857955873013,
0.03102814219892025,
-0.016630876809358597,
-0.0002962455910164863,
-0.0033114575780928135,
-0.03365999087691307,
0.024881383404135704,
0.048308324068784714,
-0.08290331810712814,
-0.02127990312874317,
0.014691617339849472,
0.0016578931827098131,
0.037019066512584686,
0.04113999009132385,
-0.03677665814757347,
-0.10160331428050995,
0.012700414285063744,
-0.025331567972898483,
0.03319249302148819,
0.062021654099226,
-0.008531873114407063,
0.00023834919556975365,
0.02465629018843174,
0.02794610522687435,
-0.017003145068883896,
0.0371922142803669,
0.01163555309176445,
0.012371432036161423,
-0.03322712332010269,
-0.003988899756222963,
-0.023617401719093323,
0.024621661752462387,
-0.04920869320631027,
0.019444532692432404,
0.03798869624733925,
-0.04269832372665405,
0.003547371830791235,
0.0010253614746034145,
0.026924531906843185,
-0.03133980929851532,
0.06565776467323303,
-0.040101103484630585,
-0.04311387985944748,
0.015202403999865055,
0.04990128427743912,
-0.06392627954483032,
-0.016362495720386505,
0.037122953683137894,
0.0620909109711647,
-0.025175735354423523,
0.0016351675149053335,
-0.026024160906672478,
-0.012068423442542553,
-0.05904350429773331,
0.02081240341067314,
0.036361102014780045,
-0.04276758432388306,
-0.0224919393658638,
-0.021176014095544815,
0.013548839837312698,
-0.05492258071899414,
0.018873143941164017,
-0.0159036535769701,
0.015245690941810608,
-0.03694980591535568,
0.005337290465831757,
0.025383513420820236,
-0.03475082665681839,
0.0014068284071981907,
-0.0012672276934608817,
-0.00697353994473815,
-0.011064164340496063,
-0.03135712444782257,
0.002045311965048313,
0.025054531171917915,
0.04571110010147095,
0.04249054566025734,
-0.03315786272287369,
-0.02592027187347412,
-0.01599888503551483,
0.028153883293271065,
0.02654360607266426,
-0.037122953683137894,
0.025037216022610664,
0.03301934525370598,
-0.006068841088563204,
-0.021210644394159317,
0.06787405908107758,
-0.02668212354183197,
0.026941845193505287,
0.03130517899990082,
-0.020137125626206398,
-0.0357377715408802,
0.015488098375499249
] |
708,675
|
pathvalidate._base
|
_is_macos
| null |
def _is_macos(self, include_universal: bool = False) -> bool:
if include_universal:
return self.platform in (Platform.UNIVERSAL, Platform.MACOS)
return self.platform == Platform.MACOS
|
(self, include_universal: bool = False) -> bool
|
[
0.055471599102020264,
-0.014649923890829086,
-0.01225171610713005,
0.00019794993568211794,
0.028535202145576477,
-0.009653656743466854,
-0.0031997831538319588,
0.04813794791698456,
-0.06464735418558121,
0.034669749438762665,
0.035417016595602036,
0.006764511112123728,
0.022105222567915916,
-0.0018779446836560965,
0.038753654807806015,
0.026467181742191315,
0.04584400728344917,
0.011973662301898003,
0.04796416312456131,
-0.00949725229293108,
0.01871645078063011,
0.027562016621232033,
0.00951462984085083,
-0.03798900917172432,
-0.005786980502307415,
0.03515634313225746,
0.01354640070348978,
-0.004118661861866713,
-0.013259658589959145,
-0.0015358090167865157,
-0.056861862540245056,
0.027388231828808784,
0.05116177350282669,
-0.013346550054848194,
0.03604263439774513,
0.047060489654541016,
-0.013007672503590584,
0.05091847851872444,
-0.03067273460328579,
-0.026814747601747513,
-0.055193543434143066,
-0.029664792120456696,
0.053768523037433624,
0.014667302370071411,
-0.06124120205640793,
0.0024199311155825853,
-0.07173770666122437,
0.035764582455158234,
0.007390130776911974,
0.030933409929275513,
0.016926484182476997,
-0.012573214247822762,
0.0143979387357831,
0.051891665905714035,
-0.06781020760536194,
0.034704506397247314,
0.027996473014354706,
-0.0047877272590994835,
-0.09134045243263245,
0.04497509449720383,
-0.05164836719632149,
0.03284502401947975,
0.022418033331632614,
-0.06892241537570953,
0.05825212970376015,
-0.04594827815890312,
0.008159121498465538,
-0.022991517558693886,
0.0035734171979129314,
0.025163806974887848,
-0.04080429673194885,
0.017630305141210556,
0.02233114093542099,
0.018525289371609688,
0.04657389968633652,
-0.08974164724349976,
-0.010861449874937534,
0.014901909977197647,
-0.0021288441494107246,
-0.024798862636089325,
-0.028639471158385277,
-0.0102792764082551,
-0.023530244827270508,
0.02996022440493107,
-0.006173648405820131,
0.04567022621631622,
0.03639020398259163,
0.0820951834321022,
0.01557097490876913,
0.00937560386955738,
0.043828122317790985,
0.06979133188724518,
0.008033128455281258,
0.032862402498722076,
-0.0034756639506667852,
-0.010965719819068909,
-0.00015979907766450197,
0.017456522211432457,
0.01019238494336605,
-0.02777055650949478,
-0.046956222504377365,
0.0009449461358599365,
0.025685157626867294,
-0.03910122066736221,
0.03084651753306389,
0.043932393193244934,
-0.022000953555107117,
0.009453806094825268,
-0.010435680858790874,
0.003069445723667741,
-0.0575917549431324,
-0.020367391407489777,
-0.03202824294567108,
-0.017334874719381332,
-0.02858733758330345,
-0.06402172893285751,
0.0009943657787516713,
-0.04421044513583183,
-0.0007054511806927621,
-0.0026501938700675964,
-0.07375358790159225,
0.07145965099334717,
0.02811812236905098,
-0.05123128741979599,
0.015579664148390293,
-0.02464245818555355,
0.035382259637117386,
0.028448309749364853,
-0.027735799551010132,
0.0827903151512146,
-0.023061031475663185,
-0.024764105677604675,
0.0649949163198471,
-0.01889023371040821,
-0.03234105557203293,
-0.003121580695733428,
-0.007881068624556065,
0.021166794002056122,
-0.0019637502264231443,
0.012607971206307411,
-0.05293436348438263,
0.008141743019223213,
-0.0037298218812793493,
-0.03778046742081642,
-0.062075357884168625,
0.06322232633829117,
-0.04570498317480087,
-0.005217840429395437,
-0.012234337627887726,
0.015631798654794693,
0.012199580669403076,
-0.006373499054461718,
-0.04820746183395386,
-0.014163331128656864,
-0.008215600624680519,
-0.001931165810674429,
0.042055536061525345,
-0.008537099696695805,
0.005000611767172813,
0.027388231828808784,
-0.0034604580141603947,
0.026293398812413216,
-0.015275543555617332,
-0.0246077012270689,
-0.025407103821635246,
-0.018977126106619835,
-0.01977652870118618,
-0.025354968383908272,
0.06829679757356644,
0.030151385813951492,
-0.021670766174793243,
0.02399946004152298,
0.03774571046233177,
-0.010687666945159435,
-0.007507434114813805,
0.011382799595594406,
-0.015527528710663319,
-0.011139503680169582,
-0.0030303446110337973,
-0.032045621424913406,
0.0037624062970280647,
-0.05762650817632675,
-0.07250235229730606,
-0.018021317198872566,
0.06071985140442848,
0.050292856991291046,
-0.0576612651348114,
0.018490532413125038,
0.08849040418863297,
0.025441860780119896,
-0.005834770854562521,
0.02008933760225773,
-0.008267736062407494,
0.013833142817020416,
0.007941892370581627,
-0.07465726137161255,
0.033852968364953995,
-0.02321743592619896,
-0.023460732772946358,
-0.07987076044082642,
-0.005839115474373102,
0.007129455916583538,
-0.04080429673194885,
0.028743742033839226,
-0.02375616319477558,
-0.05661856755614281,
-0.03348802402615547,
0.029126064851880074,
-0.01600543223321438,
-0.03131573274731636,
-0.011834636330604553,
-0.09210509806871414,
0.004996267147362232,
0.049562968313694,
0.05074469372630119,
0.03823230415582657,
0.0017693302361294627,
0.0038167135789990425,
-0.047199517488479614,
0.01803869567811489,
0.0414646714925766,
0.035660311579704285,
0.04410617798566818,
0.025546129792928696,
-0.01562310941517353,
-0.02570253610610962,
-0.019533231854438782,
0.05568013712763786,
0.029838575050234795,
-0.035382259637117386,
-0.016248729079961777,
-0.03256697207689285,
-0.03910122066736221,
0.07347553968429565,
0.015814270824193954,
-0.01715240254998207,
0.03527798876166344,
0.030811762437224388,
0.06249243766069412,
-0.0029217300470918417,
0.007177246268838644,
0.0016596296336501837,
0.04973675310611725,
0.0006728668231517076,
0.024364404380321503,
-0.03192397579550743,
0.007833277806639671,
0.04007440805435181,
0.025007402524352074,
0.05296912044286728,
0.034356940537691116,
-0.024294892325997353,
0.005847804713994265,
-0.04577449709177017,
0.008415451273322105,
0.016631051898002625,
-0.07013890147209167,
-0.03444382920861244,
-0.002291765995323658,
0.03837133198976517,
-0.0023460732772946358,
0.07980124652385712,
0.08814284205436707,
0.046851951628923416,
-0.06996511667966843,
-0.03312307968735695,
0.01763899438083172,
0.05967715010046959,
-0.06774069368839264,
-0.019828664138913155,
0.04657389968633652,
-0.002285249065607786,
-0.030863896012306213,
-0.013702805154025555,
0.016179217025637627,
-0.04674768075346947,
-0.015249475836753845,
-0.01397216971963644,
-0.011938906274735928,
-0.017586860805749893,
0.003755889367312193,
0.004844206850975752,
0.01637037843465805,
0.014980112202465534,
-0.028674228116869926,
-0.025980588048696518,
-0.00889335572719574,
-0.05588867887854576,
-0.01842101849615574,
-0.045565955340862274,
-0.019828664138913155,
0.013007672503590584,
0.04240310192108154,
0.022000953555107117,
-0.005908628925681114,
0.025824183598160744,
0.008602268062531948,
0.003145475871860981,
0.002535062376409769,
-0.04473179578781128,
-0.007424887269735336,
0.0834159404039383,
-0.017778022214770317,
-0.021879304200410843,
-0.027422988787293434,
0.016848281025886536,
0.010218452662229538,
0.024155864492058754,
0.01988079771399498,
0.0165789183229208,
0.02134057693183422,
-0.01611839234828949,
0.023443354293704033,
0.023599758744239807,
-0.07486580312252045,
0.055193543434143066,
-0.021775035187602043,
-0.050431884825229645,
0.014597789384424686,
0.02556350827217102,
0.001334872213192284,
-0.006251850631088018,
-0.011321975849568844,
0.01803869567811489,
0.0036038290709257126,
-0.05568013712763786,
0.03227154165506363,
-0.05317765846848488,
-0.03268862143158913,
0.05112701654434204,
-0.0030281723011285067,
0.023269571363925934,
0.03135048970580101,
0.008502342738211155,
0.04664340987801552,
-0.021670766174793243,
-0.0415341854095459,
0.015892473980784416,
-0.02161863073706627,
0.02172289974987507,
-0.10475651174783707,
0.06099790334701538,
0.0008765190141275525,
-0.03171543404459953,
0.0029803819488734007,
-0.017760643735527992,
-0.02457294426858425,
0.08487571775913239,
0.02222687192261219,
-0.0408390536904335,
-0.021879304200410843,
0.08000978827476501,
0.0008678298909217119,
0.0006326794973574579,
-0.011156881228089333,
-0.056861862540245056,
-0.04806843400001526,
-0.015405881218612194,
0.010122871957719326,
0.0246772151440382,
0.025094294920563698,
0.0019355104304850101,
0.05755699798464775,
-0.01199973002076149,
-0.05748748406767845,
-0.03930975869297981,
-0.016631051898002625,
0.02549399621784687,
0.0036494473461061716,
-0.03757192939519882,
-0.02777055650949478,
-0.015562285669147968,
0.04156894236803055,
-0.032219406217336655,
0.005947730038315058,
0.03195872902870178,
0.007689906749874353,
0.001983300782740116,
-0.04327201843261719,
0.022956760600209236,
0.025546129792928696,
0.026223884895443916,
-0.04594827815890312,
0.002843527588993311,
0.019376827403903008,
0.015136516653001308,
-0.010548640042543411,
-0.03854511305689812,
-0.007568258326500654,
-0.03958781436085701,
-0.024329647421836853,
0.039066463708877563,
-0.024937888607382774,
0.02154911682009697,
0.000996538088656962,
-0.05488073453307152,
-0.026675721630454063,
0.02406897395849228,
0.02662358619272709,
0.0575917549431324,
0.07111208885908127,
0.016074946150183678,
0.025754669681191444,
0.021166794002056122,
-0.03397461771965027,
0.07674266397953033,
-0.015631798654794693,
-0.08619646728038788,
0.003464802633970976,
0.006655896548181772,
0.03590361028909683,
-0.055402085185050964,
-0.06968706101179123,
0.014302357099950314,
-0.0205585528165102,
0.028900146484375,
0.02382567711174488,
-0.06607237458229065,
0.08035735040903091,
-0.02499002404510975,
-0.01082669384777546,
-0.004487951286137104,
-0.036981064826250076,
0.052134960889816284,
0.05939909815788269,
-0.03979635238647461,
-0.008741294965147972,
0.008415451273322105,
0.030238276347517967,
-0.050292856991291046,
0.007112077437341213,
0.018733829259872437,
0.0011795534519478679,
0.005891250446438789,
-0.0019105290994048119,
-0.005365556571632624,
-0.016422512009739876,
-0.053977061063051224,
-0.03917073458433151,
-0.0009639536729082465,
-0.04834648594260216,
-0.024294892325997353,
-0.04650438576936722,
0.02989071048796177,
0.011495758779346943,
0.030116628855466843,
0.029317226260900497,
-0.027318719774484634,
-0.012486322782933712,
0.019967690110206604,
-0.023773541674017906,
0.022956760600209236,
-0.07173770666122437,
-0.017830155789852142,
0.07486580312252045,
-0.035590801388025284,
-0.018733829259872437,
-0.0052221850492060184,
0.006421289406716824,
-0.025094294920563698,
0.0022037881426513195,
0.05442889779806137,
0.023547623306512833,
0.005813048221170902,
0.010583397001028061,
-0.019324691966176033,
0.011113435961306095,
-0.008710882626473904,
-0.017126334831118584,
0.01749996840953827,
0.00846758671104908,
0.0418122373521328,
0.011209016665816307,
-0.0006310502649284899,
0.03529536724090576,
-0.016874348744750023,
-0.022105222567915916,
0.03154165297746658,
-0.07757682353258133,
-0.018664315342903137,
-0.042333588004112244,
0.022626573219895363,
-0.060198500752449036,
-0.03407888486981392,
-0.01807345263659954,
-0.03632069006562233,
0.038962192833423615,
-0.06881814450025558,
0.0411171056330204,
-0.011669541709125042,
0.0058173928409814835,
-0.000008040018656174652,
-0.017239293083548546,
-0.031159328296780586,
0.07576947659254074,
0.016161838546395302,
0.0007646461017429829,
0.038962192833423615,
-0.0005691400147043169,
-0.01587509550154209,
-0.01075717993080616,
0.06648945063352585,
-0.010183695703744888,
0.043932393193244934,
-0.03917073458433151,
-0.007537846453487873,
0.008623991161584854,
-0.021062524989247322,
-0.0288306325674057,
-0.02474672719836235,
0.0014554343651980162,
-0.016074946150183678,
0.00677320035174489,
-0.026328155770897865,
0.04792940616607666,
0.025980588048696518,
-0.021062524989247322,
-0.06144974008202553,
0.055402085185050964,
-0.018368884921073914,
0.004640011582523584,
-0.06172779202461243,
0.0036907207686454058,
-0.057105161249637604,
-0.04313299059867859,
0.06749739497900009,
-0.009436427615582943,
0.06273573637008667,
0.03583409637212753,
-0.030551087111234665,
-0.03788473829627037,
0.014528275467455387,
-0.04080429673194885,
0.009001970291137695,
-0.0010258639231324196,
0.015588353388011456,
-0.017560793086886406,
0.030829140916466713,
0.031263597309589386,
-0.019081395119428635,
-0.0007434662547893822,
-0.010088114999234676,
0.028170257806777954,
0.03192397579550743,
-0.04779038205742836,
0.006082411855459213,
0.05164836719632149,
-0.10037717968225479,
0.06089363247156143,
0.024486053735017776,
-0.04514887556433678,
0.06669799238443375,
0.03816279023885727,
0.04351531341671944,
0.057070404291152954,
0.0336444266140461,
0.055228300392627716,
-0.00011533502402016893,
0.005130948964506388,
-0.014606477692723274,
-0.05262155458331108,
-0.05404657498002052,
0.02631077729165554,
-0.048728808760643005,
-0.07910611480474472,
-0.0044488501735031605,
-0.04785989224910736,
-0.013494265265762806,
0.018612181767821312,
-0.013807075098156929,
0.012486322782933712,
-0.03499993681907654,
0.0411171056330204,
-0.04504460468888283,
-0.001423936104401946,
-0.004444505553692579,
0.006873125676065683,
0.05901677533984184,
-0.015310300514101982,
0.025650400668382645,
-0.09064532071352005,
0.018612181767821312,
0.0328797809779644,
-0.013138010166585445,
-0.014893220737576485,
-0.050431884825229645,
-0.00468780193477869,
-0.053386200219392776,
-0.00915837474167347,
-0.06600286066532135,
-0.025354968383908272,
-0.02499002404510975,
0.04831172898411751,
0.005587129853665829,
-0.07417067140340805,
-0.04080429673194885,
-0.01388527825474739,
-0.012886024080216885,
0.02172289974987507,
-0.0018953230464830995,
0.06607237458229065,
-0.0003005906182806939,
0.007972304709255695,
-0.05825212970376015,
0.06287476420402527,
0.024277513846755028,
-0.055124033242464066,
-0.0001877673203125596,
-0.026606207713484764,
-0.04650438576936722,
-0.02577204816043377,
0.045357417315244675,
-0.040282946079969406,
0.004196864552795887,
0.06888765841722488,
0.05324717238545418,
-0.01998506858944893,
-0.018768586218357086,
0.012095310725271702,
-0.03206299990415573,
0.008576201274991035,
-0.038753654807806015,
-0.0048355176113545895,
-0.06284000724554062,
-0.011678230948746204,
-0.004896341823041439,
-0.041986022144556046,
0.0012056209379807115,
-0.04483606666326523,
-0.005782635882496834,
0.05595819279551506,
-0.013164077885448933,
0.047060489654541016,
-0.03993538022041321,
-0.02658882923424244,
0.0021310164593160152,
-0.03366180509328842,
-0.031037678942084312,
0.0582868866622448,
0.05140507221221924,
-0.03446120768785477,
-0.028135500848293304,
0.02392994612455368,
0.03515634313225746,
0.005417691543698311,
0.0016009777318686247,
-0.026988530531525612,
0.022557059302926064,
0.027318719774484634,
-0.013529022224247456,
-0.021931439638137817,
0.008915077894926071,
-0.010409614071249962,
0.010783247649669647,
0.03440907225012779,
-0.025650400668382645,
-0.02332170493900776,
0.02797909639775753,
-0.0163356214761734,
-0.015258165076375008,
0.017725886777043343,
0.005239563528448343,
-0.0144500732421875,
0.022713463753461838,
0.06113693118095398,
-0.05495024845004082,
0.009740548208355904,
-0.04994529113173485,
0.009679724462330341,
-0.025911075994372368,
0.07973173260688782,
0.050362370908260345,
-0.022383276373147964,
-0.0573832131922245,
0.06732361018657684,
0.03809327632188797,
-0.013033740222454071,
0.016031499952077866,
0.01984604075551033,
-0.043828122317790985,
0.04448850080370903,
0.016926484182476997,
-0.06071985140442848,
-0.0021006043534725904,
0.012503701262176037,
-0.026293398812413216,
0.07771585136651993,
0.046956222504377365,
-0.05150933936238289,
-0.0987783744931221,
0.006960017140954733,
0.0030824795830994844,
0.025824183598160744,
0.08049637824296951,
0.014189398847520351,
0.013867899775505066,
-0.020645445212721825,
0.0994039922952652,
-0.01871645078063011,
0.018160345032811165,
0.012842578813433647,
0.062214385718107224,
0.005791325122117996,
0.016248729079961777,
-0.01878596469759941,
0.048659294843673706,
-0.03074224852025509,
0.030950788408517838,
0.008641369640827179,
-0.02712755836546421,
0.012025797739624977,
0.021566495299339294,
0.031611163169145584,
-0.01956798881292343,
0.022244250401854515,
-0.03201086446642876,
-0.028309283778071404,
0.016413822770118713,
0.015362435020506382,
-0.037189606577157974,
0.003327948274090886,
0.04344579949975014,
0.03593836724758148,
0.002185323741286993,
-0.008180844597518444,
-0.017795400694012642,
-0.01572738029062748,
-0.05411608889698982,
0.014467451721429825,
0.03774571046233177,
-0.021392712369561195,
-0.005135293584316969,
0.0208018496632576,
0.04177748039364815,
-0.07917562872171402,
0.00290217949077487,
-0.005426380317658186,
-0.012634038925170898,
-0.05098799243569374,
0.022105222567915916,
-0.005708778277039528,
-0.02321743592619896,
0.029247712343931198,
0.06847058236598969,
-0.03930975869297981,
0.02201833203434944,
-0.02655407413840294,
-0.02236589789390564,
0.03486090898513794,
0.05578440800309181,
0.025945832952857018,
-0.04400190711021423,
-0.028900146484375,
-0.022748220711946487,
0.025789426639676094,
0.05926007032394409,
-0.023269571363925934,
-0.022730842232704163,
0.01126984041184187,
0.02648456022143364,
-0.052169717848300934,
0.07994027435779572,
-0.031228842213749886,
0.052204474806785583,
0.03152427449822426,
-0.01118294894695282,
-0.03590361028909683,
0.023877812549471855
] |
708,676
|
pathvalidate._base
|
_is_posix
| null |
def _is_posix(self) -> bool:
return self.platform == Platform.POSIX
|
(self) -> bool
|
[
0.0834425762295723,
0.011933565139770508,
-0.01689678616821766,
0.038362085819244385,
0.04121740907430649,
0.005681250244379044,
-0.00786473136395216,
0.07739601284265518,
-0.007092115469276905,
-0.022372284904122353,
0.041083041578531265,
-0.001824466628022492,
0.03705199807882309,
-0.0238503348082304,
0.029275445267558098,
0.011572451330721378,
0.006302702706307173,
0.023867130279541016,
0.001958834705874324,
-0.037320733070373535,
0.002154088346287608,
0.03164368495345116,
0.0019283918663859367,
-0.08740643411874771,
-0.00018843023281078786,
0.08270355314016342,
0.02600022405385971,
0.031542908400297165,
-0.010119596496224403,
-0.009170621633529663,
-0.029896898195147514,
0.03424706310033798,
0.04333370551466942,
-0.007860532961785793,
0.04437505826354027,
0.05915554612874985,
-0.050018519163131714,
0.005861807614564896,
-0.036279380321502686,
-0.03775743022561073,
-0.019449779763817787,
-0.010774640366435051,
-0.025479547679424286,
0.007965507917106152,
-0.05032084509730339,
-0.008675139397382736,
-0.018660366535186768,
0.05922273173928261,
0.01810609921813011,
0.03073669783771038,
0.011186142452061176,
0.023111309856176376,
-0.017165523022413254,
0.02047433704137802,
-0.08512218296527863,
0.0327858105301857,
0.03748869523406029,
0.006164135877043009,
-0.08451752364635468,
-0.03295377269387245,
0.022859370335936546,
0.05139579251408577,
-0.01832444779574871,
-0.049514636397361755,
0.01201754529029131,
-0.04178847372531891,
0.012865743599832058,
-0.07410399615764618,
-0.0030232819262892008,
0.05492295324802399,
-0.011698421090841293,
0.021280545741319656,
-0.04645776376128197,
0.011723615229129791,
0.042695458978414536,
-0.018559591844677925,
-0.009011059068143368,
0.06244756653904915,
0.005517489276826382,
-0.002073257463052869,
-0.031123006716370583,
0.021616464480757713,
0.01418423093855381,
0.02514362707734108,
0.015805045142769814,
0.01633412018418312,
0.032517075538635254,
0.08518936485052109,
-0.04696164280176163,
-0.019466575235128403,
0.03102223016321659,
0.0530753917992115,
0.01219390332698822,
-0.036245789378881454,
0.036884039640426636,
-0.028603605926036835,
0.03344085440039635,
0.011690023355185986,
-0.034700557589530945,
-0.10259003192186356,
-0.0344318225979805,
0.04256109148263931,
-0.00977527815848589,
-0.061708539724349976,
0.02843564562499523,
0.0535120889544487,
0.000043170995922992006,
0.018156487494707108,
-0.07114789634943008,
-0.02255704253911972,
-0.025697896257042885,
0.00164285977371037,
-0.007994900457561016,
-0.006290105637162924,
-0.019466575235128403,
-0.05277306213974953,
-0.02428703010082245,
-0.0019409889355301857,
0.014780488796532154,
-0.03352483734488487,
-0.05623304098844528,
0.07087916135787964,
0.0034851720556616783,
-0.04088148847222328,
0.01768619939684868,
-0.009867656044661999,
0.027528660371899605,
0.04222517088055611,
0.01825726218521595,
0.06446308642625809,
-0.05253791809082031,
0.04081430286169052,
0.03987372666597366,
0.01183278951793909,
-0.04303137958049774,
-0.041620511561632156,
-0.016308926045894623,
0.059021178632974625,
-0.003936565015465021,
-0.02972893789410591,
0.01955055631697178,
-0.04020964726805687,
-0.0018475610995665193,
-0.03742150962352753,
-0.06849412620067596,
0.06960266828536987,
-0.030216021463274956,
-0.0020050236489623785,
-0.030048063024878502,
0.030854269862174988,
0.014998837374150753,
-0.010808232240378857,
0.009632511995732784,
0.011857982724905014,
0.0016155662015080452,
0.008502979762852192,
0.010589884594082832,
-0.05233636870980263,
0.010816630907356739,
0.01583023928105831,
-0.06748636811971664,
-0.0040247440338134766,
-0.002519401488825679,
-0.04340089112520218,
0.011614440940320492,
0.014906458556652069,
-0.05032084509730339,
-0.09446076303720474,
0.08922040462493896,
0.005114384926855564,
0.00968290027230978,
0.06849412620067596,
0.0369512215256691,
-0.011480072513222694,
0.05331053584814072,
0.007889925502240658,
0.020205600187182426,
0.024992462247610092,
-0.023766353726387024,
-0.002345142886042595,
0.036884039640426636,
-0.047969404608011246,
-0.010850222781300545,
-0.022909758612513542,
0.0014644021866843104,
0.0849878117442131,
-0.04034401476383209,
-0.006961946375668049,
0.03916829451918602,
0.045382820069789886,
-0.05331053584814072,
0.06338813900947571,
-0.0035460577346384525,
0.007663179654628038,
-0.0076463837176561356,
0.0032185353338718414,
0.023044126108288765,
0.004984215833246708,
-0.01031275000423193,
-0.0011064371792599559,
0.026336144655942917,
0.03762306272983551,
-0.038328494876623154,
0.013890299946069717,
-0.03775743022561073,
-0.025815468281507492,
-0.03092145547270775,
0.0038231918588280678,
-0.0539487861096859,
0.0057064443826675415,
-0.04555077850818634,
-0.09620754420757294,
-0.028771566227078438,
0.08720488846302032,
0.04296419396996498,
0.04256109148263931,
0.0022842574398964643,
0.02255704253911972,
-0.04356884956359863,
0.01407505664974451,
0.04759989306330681,
0.030535146594047546,
0.028486033901572227,
-0.007365050259977579,
0.019097063690423965,
-0.004698683973401785,
-0.011295316740870476,
0.052672289311885834,
0.027747008949518204,
-0.01771979033946991,
-0.0036678286269307137,
-0.06137262284755707,
-0.03869800642132759,
0.06704967468976974,
0.04037760943174362,
-0.07826940715312958,
0.04706241935491562,
0.039940912276506424,
0.017165523022413254,
0.007608592510223389,
-0.004572713747620583,
-0.013680350035429,
0.033340081572532654,
-0.032046787440776825,
0.029073894023895264,
-0.01540194172412157,
0.02524440363049507,
0.04931308701634407,
0.043669626116752625,
0.0036678286269307137,
0.018979491665959358,
0.00048445991706103086,
-0.0663442388176918,
-0.05048880726099014,
-0.031862031668424606,
-0.008460990153253078,
-0.07867251336574554,
0.011320510879158974,
-0.007873130030930042,
0.027965357527136803,
0.003031679894775152,
0.035170845687389374,
0.002571888966485858,
0.005924792494624853,
-0.01810609921813011,
-0.022372284904122353,
0.022725000977516174,
0.033592019230127335,
-0.01639290526509285,
-0.026806432753801346,
0.07611951977014542,
-0.06395920366048813,
-0.06214523687958717,
-0.012109923176467419,
0.013084092177450657,
-0.007079518400132656,
0.00427248515188694,
0.007188692223280668,
0.02116297371685505,
-0.0014098151586949825,
0.03164368495345116,
0.015620289370417595,
0.028066132217645645,
0.025815468281507492,
-0.013294042088091373,
-0.0201216209679842,
-0.029292242601513863,
-0.024690134450793266,
-0.05082472786307335,
0.006865369156002998,
-0.08350976556539536,
0.025731487199664116,
-0.0006167285027913749,
-0.017316685989499092,
0.02148209698498249,
0.023934314027428627,
0.040982265025377274,
-0.055326055735349655,
0.025160422548651695,
-0.07370088994503021,
0.02349761873483658,
0.08371131122112274,
-0.022792186588048935,
0.024690134450793266,
-0.012454241514205933,
0.031761255115270615,
0.0219859778881073,
-0.0035754507407546043,
0.017635811120271683,
0.02403509058058262,
0.0018874516244977713,
0.007394443266093731,
0.024992462247610092,
0.008385407738387585,
0.04447583481669426,
0.06768792122602463,
-0.022120345383882523,
-0.020356765016913414,
-0.005861807614564896,
0.03449900448322296,
-0.03285299614071846,
0.00628590676933527,
0.04225876182317734,
0.02378315106034279,
-0.013915494084358215,
-0.009708093479275703,
0.023178493604063988,
-0.02704157680273056,
-0.029292242601513863,
0.07820222526788712,
-0.025916242972016335,
0.0033508040942251682,
0.02865399420261383,
-0.007591796573251486,
0.02574828267097473,
0.0014623026363551617,
-0.03829490393400192,
-0.019500168040394783,
-0.010455516166985035,
-0.035271622240543365,
-0.055863529443740845,
0.02704157680273056,
0.016686836257576942,
-0.0369512215256691,
0.025697896257042885,
0.004062534775584936,
0.02040715143084526,
0.05179889500141144,
0.044643793255090714,
-0.01785415969789028,
-0.033121731132268906,
0.06822539120912552,
-0.04454302042722702,
-0.009531735442578793,
-0.054284702986478806,
-0.06607550382614136,
-0.024690134450793266,
0.049984924495220184,
0.03503647819161415,
0.04961541295051575,
0.04064634442329407,
-0.018693959340453148,
0.047398339956998825,
-0.0014287106459960341,
-0.07040887326002121,
-0.03411269560456276,
0.003728714305907488,
0.0069871400482952595,
0.005500693339854479,
0.0063572898507118225,
-0.01165643148124218,
-0.039940912276506424,
0.0020081729162484407,
-0.07981464266777039,
-0.002210774924606085,
0.013403216376900673,
0.01793813891708851,
0.005819817539304495,
-0.019600944593548775,
-0.022153938189148903,
0.01807250641286373,
-0.011765604838728905,
0.008876691572368145,
-0.0010696959216147661,
-0.043266523629426956,
-0.0009148576646111906,
0.016938775777816772,
-0.04974978044629097,
-0.013713941909372807,
-0.0331721194088459,
-0.03580909222364426,
0.031072618439793587,
-0.002045963890850544,
0.0033235105220228434,
-0.04027683287858963,
-0.009598920121788979,
-0.004117121919989586,
0.01163963507860899,
0.016283731907606125,
0.06775510311126709,
0.02600022405385971,
0.033121731132268906,
0.012958121486008167,
0.0008434746414422989,
-0.023464025929570198,
0.026588084176182747,
0.023010533303022385,
-0.04007527977228165,
-0.0041066245175898075,
0.05784545838832855,
-0.0058660064823925495,
-0.034801334142684937,
-0.05495654419064522,
-0.030971841886639595,
0.011270122602581978,
0.06395920366048813,
-0.011270122602581978,
0.006936752237379551,
0.08196453005075455,
-0.015233981423079967,
-0.03490211069583893,
-0.046256210654973984,
-0.040008097887039185,
0.06664656847715378,
0.016090577468276024,
-0.022573838010430336,
-0.01332763396203518,
0.004005848430097103,
-0.007537209428846836,
-0.000908559188246727,
0.013109286315739155,
0.03102223016321659,
-0.018727552145719528,
0.027696620672941208,
0.04759989306330681,
-0.0448453463613987,
0.004052037373185158,
-0.022859370335936546,
-0.05727439373731613,
-0.034196674823760986,
0.001555730472318828,
0.008481984958052635,
-0.015964606776833534,
0.021616464480757713,
0.06473182141780853,
0.013445205986499786,
0.026487307623028755,
-0.02783098816871643,
0.007188692223280668,
-0.0015788249438628554,
-0.026067407801747322,
0.012689385563135147,
-0.004240992479026318,
-0.013134479522705078,
-0.0024459189735352993,
-0.06577317416667938,
-0.008393806405365467,
-0.0023997300304472446,
-0.008104074746370316,
-0.0219859778881073,
-0.04749911651015282,
0.06191009283065796,
0.015024031512439251,
-0.0037707043811678886,
-0.002565590664744377,
-0.009918044321238995,
-0.0019252427155151963,
0.012370261363685131,
0.003233232069760561,
0.031123006716370583,
-0.0031891423277556896,
0.0035796496085822582,
-0.015746260061860085,
-0.02672245167195797,
-0.04679368436336517,
-0.005916394758969545,
-0.02191879414021969,
0.03171086683869362,
-0.03026640973985195,
0.03092145547270775,
-0.060062531381845474,
-0.0418892502784729,
-0.026168184354901314,
0.04729756340384483,
-0.01728309504687786,
-0.10850222408771515,
0.02338004671037197,
-0.032399505376815796,
-0.016695234924554825,
-0.03557394817471504,
0.08606275916099548,
-0.031072618439793587,
0.04041120037436485,
-0.010959397070109844,
0.04931308701634407,
0.006768791936337948,
-0.009246204048395157,
0.01936580054461956,
0.003193341428413987,
-0.04225876182317734,
-0.008020094595849514,
0.04971618950366974,
0.007793348748236895,
0.03276901692152023,
0.017921343445777893,
0.001981929177418351,
0.012345067225396633,
-0.031223783269524574,
-0.02542915940284729,
-0.022355489432811737,
-0.007923517376184464,
0.005223559215664864,
0.038429271429777145,
-0.007184493355453014,
0.0219859778881073,
0.05408315360546112,
0.03132455796003342,
-0.039369847625494,
0.020172007381916046,
-0.01284054946154356,
0.027091965079307556,
-0.09042971581220627,
0.006164135877043009,
-0.06107029318809509,
-0.04020964726805687,
0.030300002545118332,
-0.0026180781424045563,
0.08391286432743073,
0.00013062833750154823,
0.02438780665397644,
0.025865856558084488,
0.00022871441615279764,
-0.010959397070109844,
-0.032802607864141464,
0.013403216376900673,
0.07551486045122147,
-0.0472639724612236,
-0.01901308260858059,
-0.03916829451918602,
0.009750084020197392,
-0.001356277847662568,
-0.04084789752960205,
0.014696508646011353,
-0.001769879600033164,
-0.020138416439294815,
-0.008301427587866783,
0.0015945711638778448,
-0.08821264654397964,
0.04592029005289078,
-0.002746147569268942,
0.04340089112520218,
0.027394292876124382,
0.008876691572368145,
0.04071353003382683,
0.060062531381845474,
-0.014217822812497616,
0.07249157875776291,
-0.03145892545580864,
-0.060062531381845474,
0.0080872792750597,
-0.06328736990690231,
-0.04434146732091904,
0.016098976135253906,
0.00009237805352313444,
-0.06560521572828293,
-0.013730738312005997,
-0.049514636397361755,
0.01825726218521595,
0.027528660371899605,
-0.0135963698849082,
0.008725527673959732,
-0.012437445111572742,
0.05556119978427887,
-0.036245789378881454,
0.025580324232578278,
-0.0022170732263475657,
0.015049224719405174,
0.04565155506134033,
-0.06738559156656265,
0.009892850182950497,
-0.04151973873376846,
-0.013294042088091373,
-0.04618902876973152,
-0.0298801027238369,
-0.031979601830244064,
-0.025916242972016335,
-0.012051137164235115,
0.001133730635046959,
0.016308926045894623,
-0.05613226443529129,
-0.05210122466087341,
-0.0034851720556616783,
0.11616120487451553,
-0.058987587690353394,
-0.03209717571735382,
-0.00666381698101759,
-0.009514939971268177,
-0.029359426349401474,
0.022372284904122353,
-0.0174342580139637,
0.054855767637491226,
0.0277973972260952,
0.030887862667441368,
-0.020205600187182426,
0.08196453005075455,
-0.02811652049422264,
-0.030535146594047546,
-0.01572946272790432,
-0.04007527977228165,
-0.009523337706923485,
-0.013831513933837414,
0.009481348097324371,
-0.02811652049422264,
-0.038496457040309906,
0.10487429052591324,
0.051026277244091034,
0.014612528495490551,
0.0041633108630776405,
0.04303137958049774,
-0.06610909849405289,
0.00727267237380147,
0.043669626116752625,
0.024656543508172035,
-0.03654811903834343,
-0.009792073629796505,
0.002571888966485858,
-0.021650057286024094,
-0.04360244423151016,
-0.049984924495220184,
-0.04810377210378647,
0.020575111731886864,
-0.02259063348174095,
0.030467962846159935,
-0.05979379639029503,
-0.04037760943174362,
-0.012932928279042244,
-0.03654811903834343,
-0.035204436630010605,
0.06399279832839966,
0.07141663879156113,
-0.023044126108288765,
-0.04941386356949806,
0.016317324712872505,
-0.03446541354060173,
-0.005744235590100288,
-0.042157985270023346,
0.002727252198383212,
0.014805682934820652,
0.028637196868658066,
-0.005983578506857157,
-0.0116228386759758,
0.01332763396203518,
-0.012689385563135147,
-0.03051835112273693,
0.04239312931895256,
-0.02306092157959938,
-0.05771109089255333,
-0.01658605970442295,
0.002966595347970724,
-0.03977295383810997,
0.02628575637936592,
-0.028469236567616463,
-0.042090799659490585,
0.078739695250988,
0.02410227432847023,
-0.02596663124859333,
-0.0277973972260952,
-0.011446480639278889,
0.011790798977017403,
0.017316685989499092,
0.07155100256204605,
0.021717241033911705,
-0.018425222486257553,
0.005937389563769102,
0.038462862372398376,
0.00450133066624403,
-0.00911183562129736,
0.0034179880749434233,
0.01165643148124218,
0.031727664172649384,
0.061674948781728745,
0.022607428953051567,
-0.05408315360546112,
-0.006936752237379551,
0.023480821400880814,
0.018408427014946938,
0.08948913961648941,
0.019634535536170006,
-0.021616464480757713,
-0.05297461524605751,
0.03325609862804413,
0.013781126588582993,
0.021213360130786896,
0.0849878117442131,
-0.02492527849972248,
-0.019281819462776184,
-0.0031387542840093374,
0.06483259797096252,
-0.02492527849972248,
0.01314287818968296,
0.00007617253140779212,
0.036884039640426636,
0.0027671426068991423,
-0.021028604358434677,
-0.04303137958049774,
0.03554035723209381,
-0.07450710237026215,
0.01585543341934681,
0.05072395130991936,
-0.009674501605331898,
-0.03327289596199989,
0.008502979762852192,
0.052235592156648636,
-0.07208847254514694,
0.022792186588048935,
-0.043199338018894196,
0.021566076204180717,
0.007579199504107237,
0.048406101763248444,
-0.044207099825143814,
-0.03250027820467949,
0.04981696605682373,
0.035775501281023026,
-0.01154725719243288,
-0.0044173505157232285,
-0.0381605364382267,
-0.029779326170682907,
-0.030031265690922737,
-0.0022569638676941395,
0.024790911003947258,
-0.045214857906103134,
-0.0017058447701856494,
-0.030904658138751984,
-0.009640909731388092,
-0.013092489913105965,
-0.01032954640686512,
0.012345067225396633,
0.024219846352934837,
-0.06866209208965302,
0.025160422548651695,
0.016670040786266327,
-0.017098337411880493,
-0.03604423627257347,
-0.046256210654973984,
0.02069268375635147,
0.03906751796603203,
-0.031727664172649384,
-0.015805045142769814,
0.025194015353918076,
0.019852884113788605,
0.04175488278269768,
-0.02148209698498249,
-0.043770402669906616,
-0.02141491323709488,
-0.0033445055596530437,
0.011387694627046585,
-0.06311940401792526,
0.028502829372882843,
0.01540194172412157,
0.034700557589530945,
-0.07040887326002121,
0.08619712293148041,
-0.02912428230047226,
0.06869567930698395,
0.006982941180467606,
-0.009388969279825687,
-0.017619013786315918,
0.015326359309256077
] |
708,677
|
pathvalidate._base
|
_is_universal
| null |
def _is_universal(self) -> bool:
return self.platform == Platform.UNIVERSAL
|
(self) -> bool
|
[
0.04940597712993622,
-0.018401382490992546,
-0.03057059831917286,
0.0024043316952884197,
0.021474067121744156,
-0.025900814682245255,
0.02321004495024681,
0.01652652397751808,
-0.040031686425209045,
0.008315341547131538,
-0.0066922008991241455,
0.0060412087477743626,
-0.014825264923274517,
0.0007573210750706494,
0.008571398444473743,
0.02062343619763851,
0.011257827281951904,
0.01979016698896885,
0.02237677574157715,
-0.04423275589942932,
0.006262545939534903,
0.04319116845726967,
0.01965128816664219,
-0.010337757878005505,
0.0025475500151515007,
0.06409236043691635,
0.0025866094511002302,
-0.02544945850968361,
-0.02477242797613144,
-0.019147854298353195,
-0.05207938328385353,
0.04888518154621124,
0.07839683443307877,
-0.01732507534325123,
0.04496186971664429,
0.044128600507974625,
-0.06169671192765236,
0.04284397512674332,
-0.045760419219732285,
-0.05523886904120445,
-0.0586761049926281,
-0.007833607494831085,
-0.010936670936644077,
0.018193064257502556,
-0.0256577767431736,
-0.003973223268985748,
0.016908440738916397,
0.001806503627449274,
0.019911684095859528,
0.03494526818394661,
0.022342056035995483,
0.02286284975707531,
-0.016188008710741997,
0.06176615133881569,
-0.10797792673110962,
0.050273966044187546,
-0.004109931644052267,
0.010563435032963753,
-0.11756052821874619,
0.013557999394834042,
-0.05485695227980614,
0.0372888408601284,
0.0025475500151515007,
-0.04485771059989929,
0.03322664648294449,
-0.0023999917320907116,
-0.004509206861257553,
0.006219146307557821,
0.0027406776789575815,
0.08006337285041809,
-0.06252998113632202,
-0.000657502212561667,
-0.043989721685647964,
0.017637550830841064,
0.040517762303352356,
-0.07395272701978683,
-0.003209392074495554,
0.007738128770142794,
0.010459276847541332,
-0.009356928989291191,
-0.015658535063266754,
0.00820684339851141,
0.009504487738013268,
0.0047088442370295525,
-0.021456707268953323,
0.021387267857789993,
0.0076643493957817554,
0.06690464913845062,
-0.0033352505415678024,
-0.0216303039342165,
0.012603211216628551,
0.06423123925924301,
0.01979016698896885,
0.0476352758705616,
0.052183542400598526,
0.015502296388149261,
-0.012577171437442303,
0.006878818850964308,
0.0053207771852612495,
-0.08117440342903137,
-0.039892807602882385,
-0.006080267950892448,
-0.033209286630153656,
-0.08117440342903137,
0.0366986058652401,
0.0549958311021328,
0.010216238908469677,
0.04628121480345726,
-0.03315720707178116,
0.01992904394865036,
-0.029372772201895714,
-0.04645480960607529,
-0.05030868574976921,
0.03234129771590233,
-0.06197446957230568,
-0.0622522234916687,
0.006596722174435854,
0.016118569299578667,
0.01788058876991272,
0.014851304702460766,
-0.08450748026371002,
0.08471579849720001,
-0.0019106623949483037,
-0.07631365954875946,
0.05454447492957115,
-0.008653857745230198,
0.008975014090538025,
0.03133442997932434,
-0.007460372056812048,
0.06964749842882156,
-0.026126490905880928,
0.006132347509264946,
0.0366986058652401,
0.003409029683098197,
-0.053676486015319824,
-0.03331344574689865,
-0.0018368832534179091,
0.02933805249631405,
0.010763072408735752,
0.025015464052557945,
-0.04662840813398361,
-0.010198879055678844,
0.010493995621800423,
-0.01347988098859787,
-0.015415498055517673,
0.03596949577331543,
-0.05444031581282616,
-0.023175327107310295,
-0.029511651024222374,
0.022845489904284477,
0.026126490905880928,
-0.014217671938240528,
-0.03596949577331543,
0.053468167781829834,
-0.05044756457209587,
-0.015962330624461174,
0.04579513892531395,
-0.04294813424348831,
0.011240467429161072,
-0.008315341547131538,
-0.028174947947263718,
-0.0046003456227481365,
-0.016118569299578667,
-0.013601399026811123,
-0.026942402124404907,
-0.01966864801943302,
-0.03161218762397766,
-0.035934776067733765,
0.08242430537939072,
0.046177055686712265,
-0.02853950299322605,
0.0021070451475679874,
0.00945240817964077,
0.0014799225609749556,
0.01862706057727337,
0.02156086452305317,
0.015198500826954842,
-0.022203177213668823,
-0.010763072408735752,
0.0056419335305690765,
0.03635140880942345,
-0.06256470084190369,
-0.0959649458527565,
-0.02840062417089939,
0.07200843095779419,
0.04586457833647728,
-0.027202798053622246,
-0.04110799357295036,
0.06190503016114235,
0.03405991941690445,
-0.00663578137755394,
0.021387267857789993,
-0.004912822041660547,
0.022099018096923828,
0.05884970352053642,
-0.03596949577331543,
0.04777415469288826,
-0.02048455737531185,
-0.010337757878005505,
-0.0570790059864521,
0.006844099145382643,
-0.018592340871691704,
-0.009921122342348099,
0.0351535864174366,
-0.0380873903632164,
-0.013280242681503296,
-0.02777567133307457,
0.009981881827116013,
0.024928664788603783,
-0.045413222163915634,
-0.06874478608369827,
-0.07360552996397018,
0.007751148194074631,
0.06787680089473724,
0.043503645807504654,
0.009226731024682522,
-0.02423427440226078,
-0.019061055034399033,
-0.05037812516093254,
0.03850402683019638,
0.006666161119937897,
0.023834997788071632,
0.056211017072200775,
-0.010693633928894997,
-0.02251565456390381,
-0.008710277266800404,
-0.04142047092318535,
0.04687144607305527,
0.019616568461060524,
0.01739451475441456,
-0.022619813680648804,
-0.03305304795503616,
-0.03992752730846405,
0.061523113399744034,
0.004535246640443802,
-0.01081515196710825,
0.019686007872223854,
0.04701032489538193,
0.05336400866508484,
-0.010337757878005505,
0.04079551622271538,
-0.021960141137242317,
0.006423124112188816,
-0.012620571069419384,
0.010181520134210587,
-0.05093363672494888,
0.0005224213236942887,
0.02956373058259487,
0.03708052262663841,
-0.0019084924133494496,
0.006015168968588114,
-0.03937201574444771,
-0.014608267694711685,
-0.02886933833360672,
0.01848818175494671,
-0.040587201714515686,
-0.01671748235821724,
0.009678085334599018,
-0.009799604304134846,
0.026126490905880928,
-0.02477242797613144,
0.0782579556107521,
0.05357232689857483,
0.09658990055322647,
-0.0886043906211853,
-0.04273981600999832,
0.017194876447319984,
0.0490240603685379,
-0.052322421222925186,
-0.03801795095205307,
0.10714465379714966,
0.0002014007477555424,
-0.026057051494717598,
0.010198879055678844,
0.0009206116083078086,
-0.04447579383850098,
0.005746092181652784,
0.02511962316930294,
-0.018818017095327377,
-0.02728959731757641,
0.03426823392510414,
0.03317456692457199,
0.034164074808359146,
0.023574601858854294,
-0.0190436951816082,
-0.057981714606285095,
-0.011509544216096401,
-0.04819079115986824,
-0.0049649011343717575,
-0.0476352758705616,
-0.05023924633860588,
0.045968737453222275,
0.03182050585746765,
0.020293600857257843,
0.003786605317145586,
0.02914709597826004,
0.014695066027343273,
-0.010641554370522499,
0.04367724433541298,
-0.06902254372835159,
0.0037779253907501698,
0.031212911009788513,
-0.0409691147506237,
0.0035630979109555483,
-0.005537774413824081,
0.012273374944925308,
0.0212310291826725,
0.01992904394865036,
-0.014721105806529522,
0.02933805249631405,
-0.01699524000287056,
-0.015137741342186928,
0.051489152014255524,
0.02465090900659561,
-0.05680124834179878,
0.03912897780537605,
0.018870096653699875,
-0.03050115890800953,
0.005364176817238331,
0.04746168106794357,
-0.010120760649442673,
0.021543504670262337,
0.01834930293262005,
0.03801795095205307,
-0.03154274821281433,
-0.033070407807826996,
0.06607137620449066,
-0.0727028176188469,
-0.033886320888996124,
0.015589095652103424,
-0.02593553438782692,
-0.018731217831373215,
0.059960730373859406,
-0.010138120502233505,
0.05277377739548683,
-0.0071218558587133884,
-0.01508566178381443,
-0.0016773901879787445,
-0.0023565921001136303,
-0.031785786151885986,
-0.06614081561565399,
0.07443880289793015,
0.015936290845274925,
-0.00424881000071764,
0.007681709248572588,
0.03138650953769684,
-0.029112376272678375,
0.049996208399534225,
0.06110647693276405,
-0.04558682069182396,
-0.051697470247745514,
0.01992904394865036,
-0.021786542609333992,
0.003265811363235116,
-0.021196309477090836,
-0.046315934509038925,
-0.025084903463721275,
0.015337378717958927,
0.009573927149176598,
0.050690602511167526,
0.051975224167108536,
-0.023800278082489967,
0.02060607634484768,
-0.0016274807276204228,
-0.06843230873346329,
-0.02949429117143154,
0.004847722593694925,
0.0491282194852829,
0.010580794885754585,
-0.032931532710790634,
-0.025136983022093773,
-0.02873046137392521,
0.041594069451093674,
-0.041524630039930344,
-0.022984368726611137,
0.021474067121744156,
0.01112762838602066,
-0.003016264410689473,
-0.03057059831917286,
-0.005281717516481876,
0.02921653538942337,
0.05003092810511589,
-0.038469307124614716,
-0.025814015418291092,
0.03433767333626747,
-0.023661401122808456,
0.015337378717958927,
-0.024182194843888283,
-0.06631441414356232,
-0.04100383445620537,
0.0006130177644081414,
-0.0012151856208220124,
-0.045552100986242294,
0.00791606679558754,
-0.0048216828145086765,
-0.020224161446094513,
-0.03694164380431175,
0.013801037333905697,
0.035587579011917114,
0.0675296038389206,
0.01883537694811821,
-0.011171028017997742,
0.035049427300691605,
0.027879830449819565,
-0.011631062254309654,
0.022567734122276306,
0.03801795095205307,
-0.040587201714515686,
0.016865041106939316,
-0.016613323241472244,
0.008614798076450825,
-0.015189820900559425,
-0.09582606703042984,
-0.00826326198875904,
-0.02451203018426895,
0.028817258775234222,
0.048364389687776566,
-0.020762315019965172,
0.07402216643095016,
-0.015884213149547577,
0.01564117521047592,
0.026508407667279243,
-0.0230711679905653,
0.026230650022625923,
0.03753187507390976,
-0.00745603209361434,
0.014530148357152939,
0.022359415888786316,
0.020831754431128502,
0.00429003918543458,
-0.02333156391978264,
-0.015866853296756744,
-0.03905953839421272,
-0.021265748888254166,
0.008610458113253117,
-0.000585350557230413,
-0.01255981158465147,
-0.009912443347275257,
-0.045968737453222275,
-0.010086040943861008,
-0.01129254698753357,
-0.027758311480283737,
-0.06475203484296799,
0.02237677574157715,
0.051975224167108536,
-0.0061844270676374435,
-0.03999696671962738,
0.008736317045986652,
0.003072683699429035,
0.012716049328446388,
-0.06641857326030731,
-0.0022480934858322144,
-0.04020528495311737,
-0.0117091815918684,
0.0212310291826725,
-0.028556862846016884,
-0.02853950299322605,
0.016005730256438255,
0.005212278570979834,
-0.0702030137181282,
-0.008541018702089787,
0.013505920767784119,
0.005598533898591995,
0.011752581223845482,
0.03801795095205307,
0.0238176379352808,
-0.016057809814810753,
-0.038191549479961395,
-0.02362668141722679,
0.010450596921145916,
0.017385834828019142,
0.04402444139122963,
0.0608634427189827,
0.0022480934858322144,
0.0029923946131020784,
-0.01669144257903099,
-0.0491282194852829,
0.030900435522198677,
-0.050621163100004196,
-0.002630008850246668,
-0.055655501782894135,
0.03655972704291344,
-0.019564488902688026,
0.018193064257502556,
-0.02867838181555271,
-0.09242355078458786,
0.01030303817242384,
-0.04253149777650833,
0.033209286630153656,
0.0014452029718086123,
0.021925421431660652,
-0.017793789505958557,
0.02333156391978264,
-0.007529811002314091,
0.028209665790200233,
0.02081439457833767,
-0.011544263921678066,
0.030605318024754524,
0.023800278082489967,
0.026057051494717598,
0.018123626708984375,
0.053884804248809814,
-0.013280242681503296,
0.018870096653699875,
0.006019508931785822,
-0.001607951009646058,
0.0034741288982331753,
0.0027102979365736246,
-0.006297265645116568,
0.020849114283919334,
0.017047317698597908,
-0.006110647693276405,
0.025032823905348778,
-0.022897569462656975,
0.07923010736703873,
0.059682976454496384,
0.029181815683841705,
-0.060655124485492706,
0.04103855416178703,
-0.012603211216628551,
0.028990857303142548,
-0.07068908214569092,
0.03829570859670639,
-0.019755447283387184,
-0.016240088269114494,
0.04267037659883499,
-0.005919690243899822,
0.058190032839775085,
0.005728732328861952,
0.005090760067105293,
-0.0017370644491165876,
0.018870096653699875,
-0.0337127223610878,
0.0016708802431821823,
0.030483799055218697,
0.012663970701396465,
-0.011882779188454151,
0.0044875070452690125,
0.015658535063266754,
-0.014278431423008442,
-0.0024520710576325655,
-0.07610534131526947,
0.04489243030548096,
0.008931614458560944,
-0.0032354318536818027,
-0.05541246384382248,
0.002779737114906311,
-0.0622522234916687,
0.017845869064331055,
-0.008684237487614155,
-0.034771669656038284,
0.03694164380431175,
0.029233895242214203,
0.0176028311252594,
0.07527206838130951,
-0.010198879055678844,
0.053537607192993164,
0.05999545007944107,
-0.016908440738916397,
0.026716724038124084,
-0.03902481868863106,
-0.05624573677778244,
-0.008571398444473743,
-0.01755075342953205,
-0.07554982602596283,
-0.018661780282855034,
-0.07659141719341278,
0.033209286630153656,
0.018106266856193542,
-0.007360552903264761,
0.004878102336078882,
-0.034094635397195816,
0.05822475254535675,
-0.03044907934963703,
0.027150718495249748,
0.0036607468500733376,
0.017585473135113716,
0.03539662063121796,
-0.015884213149547577,
-0.008432520553469658,
-0.062078624963760376,
0.010164160281419754,
0.028782539069652557,
-0.048086632043123245,
-0.024824507534503937,
-0.08700729161500931,
0.02921653538942337,
-0.013497240841388702,
-0.014000674709677696,
-0.0856185108423233,
0.0018260334618389606,
-0.029980365186929703,
0.07659141719341278,
-0.007981165312230587,
-0.025987612083554268,
-0.052530739456415176,
-0.012073737569153309,
-0.04718392342329025,
0.06440483778715134,
-0.003415539627894759,
0.009061813354492188,
0.018870096653699875,
-0.021595584228634834,
-0.041802387684583664,
0.06641857326030731,
-0.03708052262663841,
-0.04735752195119858,
0.0006200701463967562,
-0.027011841535568237,
-0.047600556164979935,
0.034841109067201614,
0.029181815683841705,
-0.03642084822058678,
0.007434332277625799,
0.09485392272472382,
0.030119244009256363,
-0.01727299578487873,
-0.006848439108580351,
0.03603893518447876,
-0.039962247014045715,
0.0026994480285793543,
0.023973876610398293,
-0.001580826356075704,
-0.06898782402276993,
-0.04746168106794357,
0.02546681836247444,
-0.029789408668875694,
0.015840813517570496,
-0.03140386939048767,
0.005359836854040623,
0.053676486015319824,
-0.02866102196276188,
0.021265748888254166,
-0.04819079115986824,
-0.026161210611462593,
-0.008237223140895367,
-0.022619813680648804,
-0.010242278687655926,
0.0571831651031971,
0.0733972117304802,
-0.024060675874352455,
-0.016049129888415337,
0.048225510865449905,
0.011926178820431232,
-0.0013649138854816556,
-0.020866474136710167,
-0.02362668141722679,
0.021474067121744156,
-0.023244764655828476,
-0.005646273493766785,
-0.043711964040994644,
0.023713480681180954,
0.033400245010852814,
-0.0037215061020106077,
0.015276619233191013,
0.01834930293262005,
-0.0049215019680559635,
0.015780054032802582,
-0.009409008547663689,
-0.011249147355556488,
-0.014391269534826279,
0.003782265353947878,
0.02183862216770649,
0.032514896243810654,
0.07582758367061615,
0.02190806157886982,
-0.006596722174435854,
-0.05843307077884674,
-0.022012220695614815,
-0.08291038125753403,
0.044198036193847656,
0.048017192631959915,
0.041767667979002,
-0.04586457833647728,
0.030761556699872017,
0.029060296714305878,
-0.04940597712993622,
-0.0075558507815003395,
0.015780054032802582,
-0.01494678296148777,
0.019095774739980698,
0.0077771879732608795,
-0.06107175722718239,
-0.016465766355395317,
0.016769561916589737,
-0.011891459114849567,
0.004153330810368061,
0.005763452034443617,
-0.04638537019491196,
-0.08048000931739807,
0.03926785662770271,
-0.0666268914937973,
0.00699599739164114,
0.07395272701978683,
0.040309444069862366,
-0.01652652397751808,
-0.010285678319633007,
0.0908958837389946,
-0.006158387288451195,
0.0528084971010685,
0.015389458276331425,
0.024963384494185448,
-0.01965128816664219,
0.009487127885222435,
-0.004118611570447683,
0.08186879009008408,
-0.04444107413291931,
0.029233895242214203,
0.0402747243642807,
-0.01972072757780552,
0.020310960710048676,
0.013531960546970367,
0.04232317954301834,
-0.022810770198702812,
0.021265748888254166,
-0.06555058807134628,
-0.03694164380431175,
0.057634517550468445,
0.02859158255159855,
-0.03126499056816101,
-0.020640796050429344,
0.04333004727959633,
-0.021786542609333992,
-0.025952894240617752,
0.016639363020658493,
0.02265453152358532,
-0.000933631497900933,
-0.04430219531059265,
0.0186444204300642,
0.048572707921266556,
-0.05534302443265915,
-0.018887456506490707,
-0.03964977338910103,
0.04940597712993622,
-0.028435343876481056,
0.013019845820963383,
0.02388707734644413,
0.02395651675760746,
-0.07002941519021988,
-0.03680276498198509,
0.03057059831917286,
-0.05364176630973816,
-0.0023001728113740683,
0.004138140939176083,
-0.06353685259819031,
0.037983231246471405,
-0.006353685166686773,
-0.03992752730846405,
0.033278726041316986,
0.04919765889644623,
0.06322437524795532,
-0.024598829448223114,
-0.021578224375844002,
-0.052183542400598526,
0.009773564524948597,
0.025987612083554268,
-0.025206422433257103,
-0.004298719111829996,
0.01197825837880373,
0.027480555698275566,
-0.029459571465849876,
0.017724350094795227,
-0.013193444348871708,
0.07152235507965088,
-0.0008625648333691061,
0.03201146051287651,
-0.022671891376376152,
0.011379345320165157
] |
708,678
|
pathvalidate._base
|
_is_windows
| null |
def _is_windows(self, include_universal: bool = False) -> bool:
if include_universal:
return self.platform in (Platform.UNIVERSAL, Platform.WINDOWS)
return self.platform == Platform.WINDOWS
|
(self, include_universal: bool = False) -> bool
|
[
0.04305405169725418,
-0.0442500002682209,
-0.027780115604400635,
0.018981371074914932,
0.02397017367184162,
-0.025251543149352074,
-0.01548749953508377,
0.025490732863545418,
-0.03331563621759415,
0.016606563702225685,
0.0029364742804318666,
-0.03340106084942818,
0.018895946443080902,
-0.036459267139434814,
0.005911389831453562,
0.01571814715862274,
0.0023043316323310137,
-0.007765105925500393,
0.029591118916869164,
-0.03350356966257095,
0.006223190110176802,
0.049477990716695786,
0.007043267134577036,
-0.0012226412072777748,
0.02759218029677868,
0.0674855187535286,
0.017315588891506195,
-0.0018302244134247303,
-0.05016138777136803,
-0.0032205116003751755,
-0.02861727774143219,
0.038475289940834045,
0.08952509611845016,
-0.06714382022619247,
0.02019440196454525,
0.01409507729113102,
-0.03871447965502739,
0.009994691237807274,
-0.0846729725599289,
-0.07783899456262589,
-0.05057142674922943,
0.007337982300668955,
0.03490453585982323,
0.012796621769666672,
-0.03751853108406067,
-0.00017151680367533118,
0.018793435767292976,
-0.022910907864570618,
-0.006449565757066011,
0.04291737452149391,
0.023748070001602173,
0.023320944979786873,
-0.004685545340180397,
0.06051486358046532,
-0.10394478589296341,
0.010455984622240067,
-0.012813705950975418,
-0.02935192920267582,
-0.10695173591375351,
-0.025285713374614716,
-0.06577702611684799,
0.03939787670969963,
0.00784198846668005,
0.0031030524987727404,
0.04776949808001518,
-0.03341814503073692,
-0.010020318441092968,
-0.0036134652327746153,
0.016008591279387474,
0.042438995093107224,
-0.03885115683078766,
-0.0007447967072948813,
-0.021168243139982224,
-0.02217625454068184,
-0.008798745460808277,
-0.04882876202464104,
0.023491794243454933,
0.04759864881634712,
0.05091312527656555,
-0.020741119980812073,
-0.01291621569544077,
0.017059314996004105,
-0.0038868242409080267,
0.026310810819268227,
0.018417567014694214,
0.04086717963218689,
-0.02883938141167164,
0.09547065198421478,
0.030223261564970016,
-0.019579343497753143,
-0.0024879947304725647,
0.0696040540933609,
0.030223261564970016,
0.016555309295654297,
0.05094729736447334,
0.01699097454547882,
0.022740056738257408,
0.023474710062146187,
0.0015803570859134197,
-0.05135733634233475,
-0.06294092535972595,
-0.028429342433810234,
0.016640733927488327,
-0.022193338721990585,
0.043634939938783646,
0.00823921337723732,
0.0029685087502002716,
0.01642717234790325,
-0.040491312742233276,
0.012104681693017483,
-0.0063854968175292015,
-0.037279341369867325,
-0.057302895933389664,
0.007739478722214699,
-0.008345994167029858,
-0.05754208564758301,
-0.036766793578863144,
0.010891650803387165,
0.029249420389533043,
-0.011455453932285309,
-0.06690463423728943,
0.0691598430275917,
0.000582489708904177,
-0.04288320243358612,
0.05368088558316231,
0.006483735516667366,
0.03956872597336769,
0.023355115205049515,
-0.03673262521624565,
0.07982084900140762,
-0.011071042157709599,
-0.013155405409634113,
0.028514767065644264,
-0.016008591279387474,
-0.04008127376437187,
0.009072104468941689,
-0.02397017367184162,
0.047666989266872406,
0.02875395677983761,
0.03432364761829376,
-0.03080414980649948,
0.006868146825581789,
0.009089188650250435,
0.008597997017204762,
-0.03956872597336769,
0.03765521198511124,
-0.05176737532019615,
-0.020245656371116638,
-0.021851640194654465,
-0.02217625454068184,
0.018725097179412842,
-0.05791795253753662,
-0.039090346544981,
0.025900771841406822,
-0.06731466948986053,
-0.005381756462156773,
0.04636853188276291,
-0.027950964868068695,
0.050810616463422775,
-0.023269690573215485,
-0.014547827653586864,
0.01151525042951107,
0.013198117725551128,
-0.018297972157597542,
-0.02096322365105152,
0.019323069602251053,
-0.032290540635585785,
-0.05142567679286003,
0.07531042397022247,
0.026191215962171555,
0.018878860399127007,
0.017768340185284615,
0.06813474744558334,
0.003280308796092868,
-0.029915733262896538,
0.011062500067055225,
0.0005814219475723803,
-0.024807335808873177,
-0.0009273919858969748,
0.03577587008476257,
0.021424517035484314,
-0.06109575182199478,
-0.054808493703603745,
-0.011301688849925995,
0.016153812408447266,
0.008384435437619686,
-0.0328543446958065,
-0.03321312740445137,
0.06464941799640656,
0.019903957843780518,
-0.006364140659570694,
0.03205135092139244,
0.02217625454068184,
-0.003141493769362569,
-0.00506995664909482,
-0.005804609041661024,
0.02092905342578888,
-0.02935192920267582,
-0.006923672743141651,
-0.05402258783578873,
-0.019733108580112457,
0.0032867155969142914,
0.0021345498971641064,
0.049170464277267456,
-0.005522707477211952,
-0.02379932440817356,
-0.009473600424826145,
-0.0064153955318033695,
0.028087643906474113,
-0.028514767065644264,
-0.03956872597336769,
-0.0910969078540802,
-0.015333735384047031,
0.10606332123279572,
0.03690347447991371,
0.08494633436203003,
-0.0610274113714695,
0.018964285030961037,
-0.028941892087459564,
-0.00020435191981960088,
-0.0005339044146239758,
0.02513195015490055,
0.05245077237486839,
-0.0037309241015464067,
0.016973890364170074,
-0.008281925693154335,
0.002436739858239889,
0.04418165981769562,
0.013411679305136204,
0.020177315920591354,
-0.011481081135571003,
-0.007393508683890104,
-0.01622215285897255,
0.064444400370121,
0.012369497679173946,
-0.031145848333835602,
-0.02776303142309189,
0.036459267139434814,
0.12827374041080475,
-0.03704015538096428,
0.0438399612903595,
-0.0007704240852035582,
0.02432895638048649,
-0.027011293917894363,
0.0038056708872318268,
-0.05685868486762047,
-0.02646457403898239,
0.047837838530540466,
0.045138414949178696,
-0.0073038125410676,
-0.011865491978824139,
0.010148455388844013,
-0.00798293948173523,
-0.04742779955267906,
-0.01769999973475933,
-0.004907649476081133,
-0.04507007822394371,
-0.047291118651628494,
-0.0032461390364915133,
0.02050193026661873,
-0.02960820496082306,
0.08371621370315552,
0.05600443854928017,
0.08392123132944107,
-0.05986563488841057,
-0.044284168630838394,
-0.00033021988929249346,
0.054637644439935684,
-0.02470482513308525,
-0.016153812408447266,
0.036595944315195084,
0.023833494633436203,
-0.03536583110690117,
0.0010208252351731062,
0.015342277474701405,
-0.06041235476732254,
0.011327316053211689,
0.006667398381978273,
-0.05518436059355736,
-0.012369497679173946,
-0.0061249518766999245,
0.04688107967376709,
-0.025712838396430016,
0.014470946043729782,
0.001174589735455811,
-0.030172007158398628,
-0.0255590733140707,
-0.06864729523658752,
-0.04619768261909485,
-0.03950038552284241,
-0.05696119740605354,
0.031607143580913544,
0.03905617818236351,
-0.016410086303949356,
-0.03721100464463234,
0.028771042823791504,
-0.013736293651163578,
-0.05720038712024689,
0.03704015538096428,
-0.01469304971396923,
-0.003976520150899887,
0.07107336074113846,
-0.016837209463119507,
0.0015440515708178282,
-0.03316187113523483,
0.03312770277261734,
0.031009169295430183,
0.005411655176430941,
-0.014880984090268612,
0.03473368659615517,
-0.0420972965657711,
0.016973890364170074,
0.0313679538667202,
0.013146862387657166,
-0.024738995358347893,
0.020467760041356087,
0.01624777913093567,
-0.02912982553243637,
-0.03919285535812378,
0.05723455548286438,
0.003199155442416668,
0.020211486145853996,
0.03364025056362152,
0.025080693885684013,
-0.0011361485812813044,
-0.06499111652374268,
0.06413687020540237,
-0.0850830078125,
-0.028002219274640083,
0.014923696406185627,
-0.0236284751445055,
-0.014838271774351597,
0.0420972965657711,
-0.004903378430753946,
0.06943320482969284,
0.010686631314456463,
0.009849469177424908,
0.020143145695328712,
0.022979246452450752,
-0.0009893248789012432,
-0.056824516505002975,
0.06851061433553696,
-0.017366843298077583,
-0.0016519003547728062,
-0.021373262628912926,
0.0060907816514372826,
-0.00036919492413289845,
0.07729227840900421,
0.014539285562932491,
-0.037484362721443176,
-0.022825483232736588,
0.01963059790432453,
-0.020177315920591354,
-0.010430357418954372,
0.0009620958007872105,
-0.012292616069316864,
-0.029334845021367073,
0.010695173405110836,
0.03249555826187134,
0.04073050245642662,
0.03498996049165726,
-0.0018910894868895411,
0.04004710540175438,
0.0142830116674304,
-0.07073166221380234,
-0.008051279000937939,
0.03840694949030876,
0.0195451732724905,
-0.058157142251729965,
-0.013787548057734966,
-0.02067277953028679,
-0.03389652445912361,
0.0816660225391388,
-0.030616216361522675,
-0.009072104468941689,
0.028378088027238846,
0.03577587008476257,
-0.017238706350326538,
-0.038133591413497925,
0.00002083895742543973,
0.03034285642206669,
0.0846729725599289,
0.007449034601449966,
-0.00960173737257719,
0.031948842108249664,
0.005843050312250853,
0.023987257853150368,
-0.07052663713693619,
-0.055150192230939865,
-0.06297509372234344,
-0.022535039111971855,
0.01172881294041872,
-0.03295685350894928,
0.04107220098376274,
-0.027865540236234665,
-0.05337335914373398,
-0.00841006264090538,
0.017990443855524063,
0.05077644810080528,
0.03789440169930458,
0.02183455601334572,
-0.03106042370200157,
-0.003724517300724983,
0.029881563037633896,
-0.008328909054398537,
0.05918223783373833,
-0.04387412965297699,
-0.0373818539083004,
0.0017971222987398505,
-0.040457140654325485,
-0.02444855123758316,
-0.058669690042734146,
-0.08310116082429886,
0.00761561281979084,
-0.01574377343058586,
0.01699097454547882,
0.0031777992844581604,
0.007017639931291342,
0.017204536125063896,
-0.02277422696352005,
0.00906356144696474,
-0.013257915154099464,
-0.03210260719060898,
0.05060559883713722,
0.047632817178964615,
-0.007675410248339176,
0.026755018159747124,
-0.023235520347952843,
0.04421582818031311,
-0.011267519555985928,
-0.023833494633436203,
-0.03926119580864906,
-0.019664768129587173,
-0.010977075435221195,
0.03085540421307087,
-0.0416872575879097,
-0.007722393609583378,
0.017631659284234047,
-0.05245077237486839,
-0.015137258917093277,
-0.029437355697155,
-0.04117470979690552,
-0.06950154155492783,
0.0030774250626564026,
-0.01450511533766985,
-0.009396717883646488,
-0.00008602534944657236,
-0.012702654115855694,
-0.007735207211226225,
0.018981371074914932,
-0.015009121038019657,
0.029539864510297775,
-0.06160829961299896,
-0.014599082991480827,
0.05166486278176308,
-0.0412430502474308,
-0.04284903407096863,
0.016094015911221504,
-0.020091891288757324,
-0.03446032851934433,
-0.03088957443833351,
0.032717663794755936,
0.016145270317792892,
-0.00348105700686574,
0.02079237438738346,
-0.011780067346990108,
-0.00045969171333126724,
-0.02050193026661873,
0.014539285562932491,
0.03205135092139244,
0.04141389951109886,
0.07893243432044983,
0.04773532599210739,
0.028241408988833427,
0.04872625321149826,
-0.027472587302327156,
-0.06051486358046532,
0.06656293570995331,
-0.03922702744603157,
0.0001169918105006218,
-0.03201718255877495,
0.0147186778485775,
0.007543001789599657,
0.018725097179412842,
-0.01347147673368454,
-0.06007065623998642,
0.0013422357151284814,
-0.06075405329465866,
0.0345970056951046,
-0.008773117326200008,
0.07695057988166809,
0.017025144770741463,
0.010438899509608746,
-0.004937548190355301,
0.021458687260746956,
0.022398358210921288,
-0.003679669462144375,
0.042473167181015015,
0.0373818539083004,
0.010233880020678043,
-0.011575047858059406,
0.06376100331544876,
-0.021219497546553612,
0.0328543446958065,
0.014838271774351597,
0.007367881014943123,
0.023491794243454933,
-0.002029904630035162,
-0.008179415948688984,
-0.02200540527701378,
-0.013198117725551128,
-0.0485554039478302,
0.0627359077334404,
-0.02784845605492592,
0.0652986466884613,
0.006069425493478775,
-0.026327895000576973,
-0.036971814930438995,
0.04592432454228401,
-0.0011254705023020506,
0.041994787752628326,
-0.05436428636312485,
0.04018378257751465,
-0.03423822298645973,
-0.009695704095065594,
0.034477412700653076,
-0.009533397853374481,
0.04421582818031311,
0.02677210420370102,
0.02819015458226204,
0.005526978522539139,
0.044455017894506454,
-0.03854363039135933,
-0.00841006264090538,
0.020211486145853996,
-0.01441969070583582,
-0.054808493703603745,
0.02221042476594448,
0.0015664756065234542,
0.021800385788083076,
-0.01662364788353443,
-0.06376100331544876,
0.04100386053323746,
0.015521669760346413,
0.021937064826488495,
-0.02109990268945694,
0.0438399612903595,
-0.07312355190515518,
-0.011318773962557316,
0.005172465927898884,
-0.005556877236813307,
0.013095607981085777,
0.002573419362306595,
0.0678955614566803,
0.046471040695905685,
-0.0033614623825997114,
0.02509777992963791,
0.01920347474515438,
-0.04643687233328819,
0.009781129658222198,
-0.016094015911221504,
-0.03557084873318672,
0.0038398406468331814,
-0.011959459632635117,
-0.10039111971855164,
-0.08726987987756729,
-0.06304343789815903,
0.01072080060839653,
0.00809826236218214,
0.020091891288757324,
-0.004183675162494183,
0.027011293917894363,
0.04828204587101936,
-0.008747490122914314,
-0.012335328385233879,
0.002930067479610443,
0.018793435767292976,
0.03656177595257759,
-0.014411148615181446,
0.007175675593316555,
-0.08576640486717224,
-0.0009823841974139214,
0.00004257887849234976,
-0.009217326529324055,
-0.013949855230748653,
-0.06505946069955826,
0.013078522868454456,
-0.022722972556948662,
-0.015342277474701405,
-0.06997992098331451,
0.024004343897104263,
-0.004354524426162243,
0.07763397693634033,
0.01037910208106041,
0.029078571125864983,
-0.04527509585022926,
-0.03364025056362152,
-0.011976543813943863,
0.05545772239565849,
-0.02087779901921749,
0.03446032851934433,
-0.0020854307804256678,
-0.005796066485345364,
-0.014035279862582684,
0.07380694895982742,
-0.02848059870302677,
-0.03717683255672455,
-0.06881814450025558,
-0.05439845472574234,
-0.01804169826209545,
0.009012307040393353,
-0.007893242873251438,
-0.023218436166644096,
-0.020467760041356087,
0.11501582711935043,
0.050468917936086655,
-0.04042297229170799,
-0.03704015538096428,
0.03837278112769127,
-0.06625540554523468,
0.06734883785247803,
-0.0206215251237154,
-0.00404913118109107,
-0.08521968871355057,
-0.006936486344784498,
0.027950964868068695,
-0.014086534269154072,
0.011147924698889256,
-0.013779005967080593,
0.016469884663820267,
0.03275183215737343,
-0.018554246053099632,
0.06799806654453278,
-0.03381109982728958,
-0.0264304056763649,
0.01738392747938633,
-0.01531665027141571,
-0.020467760041356087,
0.05720038712024689,
0.01741809770464897,
-0.035980887711048126,
0.003865468082949519,
0.035468339920043945,
-0.01809295266866684,
0.031555887311697006,
0.0015814249636605382,
-0.0070945220068097115,
-0.004224251955747604,
0.019921042025089264,
-0.01942557841539383,
-0.05556023120880127,
0.048623744398355484,
0.02096322365105152,
-0.012984556145966053,
0.04968301206827164,
-0.009362548589706421,
-0.04360077157616615,
0.0030923744197934866,
0.016230694949626923,
0.00798293948173523,
-0.013087065890431404,
0.024738995358347893,
-0.002117465017363429,
0.00958465225994587,
0.04882876202464104,
-0.0006203969242051244,
0.001594238681718707,
-0.06622123718261719,
0.0003352919884491712,
-0.07893243432044983,
0.0013262185966596007,
0.041653089225292206,
-0.012096138671040535,
-0.026908783242106438,
0.0008537131943739951,
0.06587953865528107,
-0.05292914807796478,
-0.0009257902856916189,
-0.03153880313038826,
-0.04688107967376709,
-0.030359942466020584,
0.019921042025089264,
-0.035639189183712006,
-0.010250965133309364,
0.01766582950949669,
-0.0071671330370008945,
0.0001236656098626554,
0.024892760440707207,
-0.018195463344454765,
-0.03497287631034851,
0.028771042823791504,
-0.021509941667318344,
0.012830791063606739,
0.06174498051404953,
-0.007103064563125372,
-0.026925869286060333,
0.018639670684933662,
0.05907972902059555,
-0.013198117725551128,
0.008175144903361797,
-0.0009145782678388059,
0.03403320536017418,
-0.02058735489845276,
-0.02033108100295067,
-0.021646620705723763,
0.0412430502474308,
-0.021322008222341537,
0.01048161182552576,
0.04151640832424164,
-0.005304874386638403,
0.0004951963783241808,
0.014453860931098461,
0.021766215562820435,
-0.011549420654773712,
0.007406322285532951,
-0.04237065464258194,
-0.014684507623314857,
0.051323164254426956,
0.07271350920200348,
-0.07599382102489471,
0.016410086303949356,
0.07250849157571793,
-0.000009435092579224147,
-0.03984208405017853,
0.001111589022912085,
0.01020825281739235,
-0.022654632106423378,
-0.05043474957346916,
0.013497103936970234,
0.010584121569991112,
-0.046812739223241806,
-0.04882876202464104,
-0.021646620705723763,
0.07633551955223083,
-0.0056508444249629974,
0.033588994294404984,
0.01467596460133791,
0.014547827653586864,
-0.055150192230939865,
-0.011762982234358788,
0.03724517300724983,
-0.03936370462179184,
-0.009490685537457466,
-0.018400482833385468,
-0.039637066423892975,
0.004565950483083725,
0.02711380273103714,
-0.026105791330337524,
0.03724517300724983,
0.013616698794066906,
0.06844227761030197,
-0.04958049952983856,
-0.0016209338791668415,
-0.05074227601289749,
0.05477432534098625,
0.06396602094173431,
-0.05043474957346916,
0.015444787219166756,
0.010857480578124523,
0.029334845021367073,
-0.05251911282539368,
0.05562857165932655,
-0.0021537705324590206,
0.06926235556602478,
-0.017084941267967224,
0.0039551639929413795,
0.005279247183352709,
0.02345762588083744
] |
708,679
|
pathvalidate._base
|
sanitize
| null |
@abc.abstractmethod
def sanitize(self, value: PathType, replacement_text: str = "") -> PathType: # pragma: no cover
pass
|
(self, value: ~PathType, replacement_text: str = '') -> ~PathType
|
[
0.02698153629899025,
-0.030843429267406464,
0.029360737651586533,
0.03142961114645004,
-0.0426187589764595,
-0.05344585329294205,
0.017042331397533417,
-0.01220634300261736,
0.057928409427404404,
-0.022929994389414787,
0.06375572830438614,
0.01579238846898079,
0.031946826726198196,
0.06254889070987701,
-0.055480245500802994,
0.022188648581504822,
0.0200335755944252,
0.08261694759130478,
0.02758495695888996,
-0.031067557632923126,
-0.0364811047911644,
-0.014792433008551598,
0.03384329378604889,
-0.02158522792160511,
-0.002889955183491111,
0.07351391017436981,
0.04985981062054634,
-0.003006329294294119,
0.03806724026799202,
-0.03765346482396126,
0.017576789483428,
0.006633319891989231,
0.03020552732050419,
0.08158250898122787,
0.04634272679686546,
-0.0521700493991375,
-0.022602424025535583,
0.06382469087839127,
-0.06537634879350662,
-0.025550566613674164,
-0.053721703588962555,
0.07006578892469406,
0.015938932076096535,
-0.05948006361722946,
-0.011818429455161095,
0.01526654977351427,
-0.016611315310001373,
0.029602106660604477,
-0.03796379640698433,
0.04358423128724098,
-0.025981580838561058,
0.016137199476361275,
-0.01961980015039444,
0.003999818582087755,
0.022067965939641,
0.03256748989224434,
0.02610226534307003,
0.06323851644992828,
0.031343407928943634,
-0.022688627243041992,
0.008215145207941532,
0.003808017121627927,
0.0324123241007328,
-0.07247947156429291,
0.01559412106871605,
-0.00981852039694786,
-0.03473980352282524,
-0.007874643430113792,
0.029309015721082687,
0.05327344685792923,
-0.03227439895272255,
-0.033912256360054016,
-0.02156798727810383,
0.04565310478210449,
0.09640942513942719,
0.0037282793782651424,
-0.027412550523877144,
0.04486003518104553,
0.06251440942287445,
-0.04713579639792442,
0.02491266466677189,
-0.005973867140710354,
-0.0008016878273338079,
-0.03158477693796158,
-0.04051540419459343,
-0.025878136977553368,
-0.0005228749942034483,
-0.03337779641151428,
0.031067557632923126,
0.04013611003756523,
-0.02618846856057644,
-0.02708498015999794,
-0.05527335777878761,
0.01515448559075594,
0.011456376872956753,
0.05910076946020126,
0.031067557632923126,
-0.09461639821529388,
-0.027222903445363045,
-0.01274942234158516,
0.019792206585407257,
0.09282337874174118,
0.03961889445781708,
-0.03403294086456299,
0.027722882106900215,
-0.0408257357776165,
0.008232385851442814,
-0.015283790417015553,
-0.02355065755546093,
0.012602876871824265,
-0.06627285480499268,
-0.02051631174981594,
-0.03627421706914902,
-0.03651558607816696,
-0.04020507261157036,
-0.000687468855176121,
-0.08544440567493439,
-0.06327299773693085,
0.03236060217022896,
-0.018119867891073227,
0.006697972305119038,
0.009008212015032768,
-0.0572732649743557,
0.011896012350916862,
0.0739966481924057,
0.06323851644992828,
-0.04503244161605835,
0.030240008607506752,
0.004198085516691208,
-0.01736990176141262,
-0.04206705838441849,
0.05220453068614006,
-0.0049006398767232895,
0.022240370512008667,
0.03561907634139061,
0.03682591766119003,
-0.05261830613017082,
0.014645887538790703,
0.0033274353481829166,
0.03641214221715927,
0.0030365001875907183,
-0.024895424023270607,
0.0689968690276146,
-0.03937752544879913,
0.020930085331201553,
0.017404383048415184,
0.03382605314254761,
-0.030395174399018288,
-0.050480470061302185,
0.05110113322734833,
0.0016022981144487858,
0.053135521709918976,
0.02472301758825779,
-0.008111701346933842,
0.0014956218656152487,
0.0033834674395620823,
0.017309559509158134,
0.0024136838037520647,
0.009982306510210037,
-0.036446623504161835,
-0.024429926648736,
-0.08978903293609619,
0.024309242144227028,
-0.03492945060133934,
0.0013803254114463925,
0.030653782188892365,
0.01628374494612217,
-0.030843429267406464,
0.03139512985944748,
0.009146137163043022,
-0.004943741485476494,
-0.01874052919447422,
-0.0678589940071106,
0.046756502240896225,
0.07110022753477097,
0.03641214221715927,
0.005732498597353697,
0.04379111900925636,
0.003607595106586814,
0.03806724026799202,
0.04206705838441849,
-0.038894787430763245,
-0.06054897978901863,
0.06144548952579498,
0.07247947156429291,
0.007827231660485268,
-0.033912256360054016,
0.014775192365050316,
0.00534889567643404,
0.0394120067358017,
-0.012240824289619923,
0.014059707522392273,
0.01903362013399601,
-0.037825871258974075,
0.01815434917807579,
-0.07130711525678635,
0.022430017590522766,
-0.022602424025535583,
-0.0426187589764595,
0.0765482559800148,
-0.018585365265607834,
-0.021033529192209244,
0.017706094309687614,
0.02677464857697487,
0.0015344131970778108,
0.028412505984306335,
0.03917063772678375,
-0.008327208459377289,
-0.10827095806598663,
0.014887256547808647,
-0.026809129863977432,
0.0005018630181439221,
-0.024774739518761635,
0.0008550258935429156,
0.03346399962902069,
-0.040101632475852966,
0.01980944722890854,
0.03551563248038292,
-0.008262556977570057,
0.0685141384601593,
0.05927317589521408,
0.050652876496315,
0.02275758981704712,
-0.0193267110735178,
0.04868744686245918,
-0.02827458083629608,
0.00955991167575121,
-0.028912482783198357,
0.01266321912407875,
-0.041067104786634445,
0.02108525112271309,
-0.0689968690276146,
0.01610271818935871,
0.05927317589521408,
0.01982668787240982,
-0.04510140419006348,
0.022326573729515076,
-0.042342908680438995,
-0.03334331512451172,
-0.007663445547223091,
-0.04130847379565239,
-0.014344177208840847,
-0.03917063772678375,
0.05272174999117851,
-0.030102083459496498,
-0.05041150748729706,
-0.04565310478210449,
0.0572732649743557,
0.01696474850177765,
-0.018395718187093735,
0.0394120067358017,
-0.018999138846993446,
-0.06613493710756302,
0.009146137163043022,
0.013456286862492561,
0.02865387313067913,
-0.06561771780252457,
-0.013361463323235512,
0.03637766093015671,
-0.011663264594972134,
-0.02156798727810383,
-0.024860942736268044,
-0.01437003817409277,
0.029257293790578842,
-0.03236060217022896,
-0.028136655688285828,
-0.007128986995667219,
0.019016379490494728,
-0.036860398948192596,
0.03403294086456299,
-0.06399709731340408,
0.03734313324093819,
-0.02542988210916519,
0.025171272456645966,
-0.04003266990184784,
0.05858355015516281,
-0.0020559413824230433,
0.023412732407450676,
-0.0013663173886016011,
-0.025860896334052086,
0.031464092433452606,
-0.016628555953502655,
0.01698198914527893,
-0.009585772641003132,
0.000964395934715867,
-0.022016244009137154,
-0.003073136555030942,
-0.02786080539226532,
-0.026429835706949234,
0.028964204713702202,
0.002045165980234742,
0.0036205255892127752,
-0.053135521709918976,
0.0324123241007328,
0.030498618260025978,
-0.008947870694100857,
-0.04741164296865463,
-0.07516900449991226,
0.015180346556007862,
-0.104340098798275,
-0.047549568116664886,
-0.019550837576389313,
-0.0306193009018898,
0.023205844685435295,
0.010568486526608467,
-0.0180509053170681,
-0.023085160180926323,
-0.0010559866204857826,
-0.006504015531390905,
0.06113516166806221,
-0.027929767966270447,
0.0035623384173959494,
-0.07358287274837494,
0.029860716313123703,
0.07613448053598404,
0.022223129868507385,
0.016550973057746887,
0.021516265347599983,
-0.005271312780678272,
0.06399709731340408,
-0.03875686228275299,
0.012525293976068497,
-0.03237784281373024,
-0.03896375000476837,
-0.02099904790520668,
-0.027326347306370735,
0.007516900543123484,
0.017223358154296875,
0.004745474550873041,
0.03011932410299778,
-0.044135931879282,
0.0773068442940712,
0.047239236533641815,
-0.041273992508649826,
-0.0329812653362751,
-0.025722971186041832,
0.01137879490852356,
-0.03937752544879913,
0.004198085516691208,
-0.0015020871069282293,
0.040963660925626755,
0.01874052919447422,
0.019550837576389313,
0.007568622473627329,
0.00902545265853405,
0.020585274323821068,
-0.029412459582090378,
0.0004514881584327668,
0.06434191018342972,
-0.01559412106871605,
0.012878726236522198,
-0.04248083382844925,
-0.024498889222741127,
-0.032619211822748184,
-0.0017014314653351903,
-0.01640442945063114,
-0.01310285460203886,
0.02698153629899025,
-0.059307657182216644,
-0.06172133982181549,
0.08661676198244095,
-0.03589492291212082,
-0.02874007634818554,
-0.010301257483661175,
0.04334286227822304,
-0.009421986527740955,
0.01991289108991623,
-0.0006944728083908558,
0.023912709206342697,
-0.010861576534807682,
0.008253936655819416,
-0.013835580088198185,
-0.02072319947183132,
-0.12213239818811417,
-0.007361735217273235,
0.015007940120995045,
0.027809083461761475,
0.013120095245540142,
-0.06996234506368637,
0.08923733234405518,
0.08358241617679596,
0.030050361528992653,
-0.011689125560224056,
-0.008965111337602139,
-0.0065643577836453915,
-0.04358423128724098,
0.0361018106341362,
0.05554920807480812,
-0.02934349700808525,
-0.004771335516124964,
0.0022542080841958523,
-0.0539630725979805,
-0.01559412106871605,
-0.02786080539226532,
0.0014363572699949145,
-0.025929858908057213,
-0.004741164389997721,
0.01718887686729431,
-0.06034209206700325,
0.06006624177098274,
0.011577061377465725,
-0.023498935624957085,
0.02384374663233757,
0.031171001493930817,
0.013456286862492561,
0.00023153584334068,
0.0671004056930542,
0.01718025654554367,
-0.020636996254324913,
0.04079125449061394,
0.04230842739343643,
-0.0035644934978336096,
-0.02805045247077942,
-0.01893017627298832,
0.04879089072346687,
-0.029688309878110886,
0.0033532963134348392,
-0.033998459577560425,
-0.03170545771718025,
-0.011680505238473415,
-0.011896012350916862,
-0.007473799400031567,
-0.016913026571273804,
0.06913479417562485,
0.030274489894509315,
0.019188785925507545,
0.041273992508649826,
0.0003273019683547318,
0.008620298467576504,
0.011197768151760101,
0.008715122006833553,
0.014654507860541344,
-0.126821830868721,
0.007930674590170383,
0.0037541401106864214,
-0.0015969104133546352,
0.008275486528873444,
-0.04151536151766777,
0.010956400074064732,
0.005835942458361387,
-0.048032306134700775,
0.0207921601831913,
0.026843611150979996,
0.03744657710194588,
0.07916882634162903,
-0.0539630725979805,
-0.051066651940345764,
0.05085976421833038,
-0.022033484652638435,
-0.03755002096295357,
-0.01472347043454647,
0.041067104786634445,
0.0200335755944252,
-0.010077129118144512,
-0.052135568112134933,
-0.01746472530066967,
0.019292229786515236,
-0.019361190497875214,
-0.0007171010947786272,
0.03199854865670204,
0.02542988210916519,
0.07303117215633392,
-0.0069910623133182526,
-0.0722036212682724,
0.024378204718232155,
0.06172133982181549,
-0.028498707339167595,
-0.011223629117012024,
-0.0029653827659785748,
-0.02255070209503174,
0.012232203967869282,
-0.05410099774599075,
0.0040924870409071445,
0.018568124622106552,
-0.015585500746965408,
0.04992877319455147,
-0.012947688810527325,
0.02579193376004696,
-0.0033554513938724995,
-0.005909214727580547,
0.002622725907713175,
-0.023723062127828598,
-0.009111655876040459,
0.06203167140483856,
0.021861078217625618,
-0.04561862349510193,
0.037825871258974075,
-0.00013166159624233842,
0.019361190497875214,
0.015094143338501453,
-0.012327027507126331,
0.027240144088864326,
-0.024188559502363205,
0.008305657655000687,
0.015913071110844612,
-0.016025135293602943,
-0.03917063772678375,
0.01230978686362505,
-0.008702191524207592,
-0.035188060253858566,
0.00586180342361331,
-0.03872238099575043,
-0.0009951057145372033,
0.013818339444696903,
0.05599746108055115,
-0.006771245039999485,
0.0038812896236777306,
0.027791844680905342,
-0.009896103292703629,
-0.024171318858861923,
-0.01777505688369274,
0.012327027507126331,
0.05051495134830475,
-0.015387233346700668,
0.04210153967142105,
-0.010146091692149639,
-0.05416996031999588,
-0.022688627243041992,
-0.011473617516458035,
-0.02255070209503174,
-0.0627557784318924,
-0.040756773203611374,
-0.018775010481476784,
-0.059997279196977615,
0.030377933755517006,
-0.04620480164885521,
0.00006411347567336634,
0.023326529189944267,
0.05406651645898819,
-0.01402522623538971,
0.015818249434232712,
0.019257748499512672,
0.046170320361852646,
0.014007985591888428,
0.04092917963862419,
0.08689261227846146,
-0.023860987275838852,
-0.0313778892159462,
-0.021068010479211807,
0.0344984345138073,
-0.0059005944058299065,
0.034481193870306015,
-0.01775781624019146,
-0.023671340197324753,
0.005051495041698217,
-0.03906719386577606,
-0.0271711815148592,
-0.028326302766799927,
-0.010896057821810246,
0.005538542289286852,
-0.06251440942287445,
-0.03637766093015671,
0.009844381362199783,
0.05044598877429962,
0.028481468558311462,
-0.0484805628657341,
0.015361372381448746,
0.005723878275603056,
-0.032739896327257156,
0.040480922907590866,
-0.030395174399018288,
-0.024671295657753944,
0.06947960704565048,
0.0214990247040987,
-0.011430516839027405,
0.04406696930527687,
-0.01836123690009117,
0.026119505986571312,
-0.005409237463027239,
-0.04503244161605835,
-0.013154576532542706,
-0.0139390230178833,
0.041273992508649826,
-0.0045472076162695885,
-0.059514544904232025,
0.05527335777878761,
0.005090286489576101,
-0.027826324105262756,
-0.0317571796476841,
-0.04799782484769821,
0.0034524297807365656,
0.020137017592787743,
0.008594438433647156,
-0.0341191440820694,
0.02208520658314228,
-0.06506601721048355,
0.026947055011987686,
0.0561353862285614,
-0.035860445350408554,
-0.021757634356617928,
-0.05565264821052551,
-0.009103035554289818,
0.03630869835615158,
-0.054411325603723526,
-0.0127580426633358,
-0.004680822137743235,
-0.011059843935072422,
-0.06585908681154251,
-0.008172043599188328,
-0.03060206212103367,
-0.042722202837467194,
0.013042512349784374,
0.03917063772678375,
0.07841023802757263,
0.02110249176621437,
0.0193267110735178,
0.0011324917431920767,
0.02698153629899025,
-0.04323941841721535,
-0.010085749439895153,
0.03637766093015671,
0.04061884805560112,
0.07261739671230316,
-0.011361554265022278,
0.005629055202007294,
0.012689080089330673,
-0.023723062127828598,
-0.007715167477726936,
-0.0019341795705258846,
-0.008223765529692173,
-0.055100951343774796,
0.002120593562722206,
-0.04054988548159599,
0.009534050710499287,
-0.036239735782146454,
0.04765301197767258,
-0.0023684271145612,
-0.008624608628451824,
-0.029257293790578842,
-0.06896238774061203,
0.022585183382034302,
-0.042446352541446686,
-0.009870242327451706,
0.03022276796400547,
-0.03013656474649906,
-0.010809854604303837,
-0.010525384917855263,
0.014835534617304802,
-0.006952270865440369,
0.04658409580588341,
0.029188333079218864,
-0.029964158311486244,
-0.035274263471364975,
0.048894334584474564,
-0.0682382881641388,
0.00991334393620491,
-0.04720475524663925,
-0.057238783687353134,
-0.008663400076329708,
-0.001621693721972406,
-0.022636905312538147,
0.06406605988740921,
-0.006878998596221209,
-0.023723062127828598,
0.07096230238676071,
0.0627557784318924,
0.004698062781244516,
-0.0291538517922163,
-0.019585318863391876,
-0.01480967365205288,
-0.04603239521384239,
0.007210880052298307,
-0.0011605077888816595,
0.05241141840815544,
0.007253981661051512,
-0.013120095245540142,
0.0018005649326369166,
-0.04475659132003784,
0.016852684319019318,
-0.013551109470427036,
0.022929994389414787,
0.00610317150130868,
-0.010827095247805119,
-0.032033029943704605,
-0.036860398948192596,
-0.0024029084015637636,
0.023412732407450676,
-0.012533914297819138,
0.031464092433452606,
0.028119415044784546,
0.0033576064743101597,
-0.036067329347133636,
-0.05379066616296768,
0.014154531061649323,
0.009516810066998005,
0.025395400822162628,
-0.035377707332372665,
0.02874007634818554,
0.0308089479804039,
-0.043825600296258926,
-0.0007219500257633626,
-0.0612386018037796,
-0.029808994382619858,
-0.0037476748693734407,
0.03937752544879913,
-0.004066626075655222,
0.0040623159147799015,
-0.042032577097415924,
0.07972052693367004,
0.03187786415219307,
0.02629191242158413,
0.0008787317201495171,
-0.017516447231173515,
-0.03011932410299778,
0.03306746855378151,
-0.039584413170814514,
-0.03187786415219307,
0.020964566618204117,
0.003208906389772892,
-0.0022197270300239325,
0.0299124363809824,
0.020481830462813377,
0.02510230988264084,
-0.04779093712568283,
0.00009448656055610627,
-0.040860217064619064,
0.0028231479227542877,
0.00040299896500073373,
0.03992922604084015,
0.006667801178991795,
0.007150537800043821,
-0.035481151193380356,
0.0394120067358017,
0.0025947100948542356,
-0.010042647831141949,
0.049308110028505325,
-0.08220317214727402,
-0.016016514971852303,
0.088271863758564,
0.03501565381884575,
0.00971507653594017,
0.053721703588962555,
-0.04289460927248001,
-0.00012088622315786779,
0.01618892140686512,
-0.047825418412685394,
-0.056376755237579346,
-0.02963658794760704,
-0.018016424030065536,
0.006004038266837597,
0.02932625636458397,
-0.004029989708214998,
-0.028084933757781982,
-0.030084842815995216,
0.02679188922047615,
-0.008922009728848934,
0.012878726236522198,
0.078065425157547,
-0.009051313623785973,
0.03620525449514389,
0.021223176270723343,
0.024447167292237282,
-0.031843382865190506,
0.05061839520931244,
0.08185835927724838,
-0.03717073053121567,
0.04730819910764694,
0.018102627247571945,
0.0039631822146475315,
0.042032577097415924,
-0.036446623504161835,
0.013370083644986153,
0.004594619385898113,
0.027895286679267883,
0.008081530220806599,
0.019378431141376495,
-0.004521346651017666,
0.034981172531843185
] |
708,680
|
pathvalidate._base
|
AbstractValidator
| null |
class AbstractValidator(BaseFile, metaclass=abc.ABCMeta):
def __init__(
self,
max_len: int,
fs_encoding: Optional[str],
check_reserved: bool,
additional_reserved_names: Optional[Sequence[str]] = None,
platform_max_len: Optional[int] = None,
platform: Optional[PlatformType] = None,
) -> None:
self._check_reserved = check_reserved
super().__init__(
max_len,
fs_encoding,
additional_reserved_names=additional_reserved_names,
platform_max_len=platform_max_len,
platform=platform,
)
@abc.abstractproperty
def min_len(self) -> int: # pragma: no cover
pass
@abc.abstractmethod
def validate(self, value: PathType) -> None: # pragma: no cover
pass
def is_valid(self, value: PathType) -> bool:
try:
self.validate(value)
except (TypeError, ValidationError):
return False
return True
def _is_reserved_keyword(self, value: str) -> bool:
return value in self.reserved_keywords
|
(max_len: int, fs_encoding: Optional[str], check_reserved: bool, additional_reserved_names: Optional[Sequence[str]] = None, platform_max_len: Optional[int] = None, platform: Optional[~PlatformType] = None) -> None
|
[
0.05870629474520683,
-0.030667202547192574,
-0.025730617344379425,
0.06392700225114822,
-0.027204489335417747,
-0.04176563769578934,
0.023173537105321884,
-0.03828516975045204,
-0.021486574783921242,
-0.03123544156551361,
0.087722048163414,
0.02933538891375065,
0.031093381345272064,
0.039315104484558105,
-0.027470851317048073,
-0.0014039523666724563,
0.027985818684101105,
0.04982754588127136,
0.013442426919937134,
0.009491384029388428,
-0.042546968907117844,
0.023706262931227684,
0.0002443043631501496,
-0.03231864795088768,
0.028536301106214523,
0.1255810409784317,
0.019835127517580986,
-0.0024283381644636393,
0.07273472100496292,
-0.046169500797986984,
-0.04673773795366287,
0.013415791094303131,
0.058812838047742844,
0.0898529514670372,
0.014161606319248676,
-0.05931004881858826,
-0.0038156427908688784,
0.02887369506061077,
-0.10526645928621292,
0.018485557287931442,
-0.036651480942964554,
0.05895489826798439,
0.03672251105308533,
-0.030063446611166,
-0.0012641119537875056,
-0.01750001683831215,
-0.03563930094242096,
0.06453075259923935,
-0.05767636001110077,
0.034520577639341354,
0.004195209126919508,
-0.008084101602435112,
-0.011941918171942234,
-0.0410553403198719,
0.016443444415926933,
0.07380016893148422,
0.028536301106214523,
0.05508376285433769,
0.010867590084671974,
0.00645041186362505,
-0.023351112380623817,
0.002914449665695429,
0.06556069105863571,
-0.0770675465464592,
-0.02782600186765194,
-0.03123544156551361,
-0.03357943147420883,
-0.052917350083589554,
0.004019854124635458,
0.06321670114994049,
-0.0048034037463366985,
-0.0270624291151762,
0.006379381753504276,
0.022090328857302666,
0.05806702375411987,
0.01541350968182087,
-0.08367333561182022,
0.004228504840284586,
0.04361242055892944,
-0.04975651577115059,
0.03553275763988495,
-0.030738232657313347,
0.016993926838040352,
-0.06485038995742798,
0.03304670751094818,
-0.01780189387500286,
-0.0033406296279281378,
-0.013078398071229458,
0.07294780761003494,
0.043292783200740814,
-0.06016241014003754,
0.024665167555212975,
-0.024114685133099556,
0.04204975813627243,
0.008084101602435112,
-0.014055061154067516,
0.019408946856856346,
-0.009997472167015076,
-0.04141049087047577,
-0.011577890254557133,
-0.025446496903896332,
0.07472355663776398,
0.006725653074681759,
-0.020776275545358658,
0.02876714989542961,
0.00604198919609189,
-0.032034531235694885,
-0.01615932397544384,
-0.005580294411629438,
-0.0021808429155498743,
-0.03757486864924431,
-0.03134198859333992,
-0.0037401732988655567,
0.06144094839692116,
-0.0445358082652092,
0.009606807492673397,
-0.04290211945772171,
-0.02814563736319542,
-0.00500317569822073,
-0.026352129876613617,
0.01096525602042675,
0.05202947556972504,
-0.03736177831888199,
0.01385972835123539,
0.06314566731452942,
0.027666185051202774,
0.011364799924194813,
0.002397262491285801,
0.05938107892870903,
0.010450288653373718,
0.0018745260313153267,
0.053236983716487885,
0.042760059237480164,
-0.014277029782533646,
0.004998736083507538,
0.008554675616323948,
0.021237969398498535,
0.017251411452889442,
-0.07735166698694229,
0.028074607253074646,
0.04389654099941254,
0.02173518016934395,
0.04354139044880867,
-0.07188235968351364,
-0.03436076268553734,
-0.008337145671248436,
-0.0016425687354058027,
-0.07536283135414124,
-0.00045337117626331747,
0.04410962760448456,
0.011391435749828815,
-0.025624072179198265,
-0.029601752758026123,
0.015324722044169903,
0.022640811279416084,
-0.018663132563233376,
-0.0081329345703125,
-0.04464235529303551,
-0.015963992103934288,
-0.011790979653596878,
-0.027257762849330902,
-0.062009189277887344,
-0.024647409096360207,
-0.06818880140781403,
0.010840953327715397,
0.0305961724370718,
0.0006037550047039986,
-0.07550489157438278,
0.011302648112177849,
0.03141301870346069,
-0.024008139967918396,
-0.0009528008522465825,
-0.023830564692616463,
0.04815834015607834,
-0.013149428181350231,
0.02791479043662548,
0.01145358756184578,
0.014090576209127903,
-0.004099762532860041,
0.028003577142953873,
0.04322175309062004,
-0.011604526080191135,
-0.05316595360636711,
0.00639713928103447,
0.077848881483078,
0.042760059237480164,
-0.03938613459467888,
0.0434703603386879,
0.03295791894197464,
0.004106421954929829,
-0.009553534910082817,
-0.02910454198718071,
0.02558855712413788,
-0.0037801277358084917,
0.004446033854037523,
-0.04197872802615166,
0.033526159822940826,
0.013655517250299454,
-0.0008717822493053973,
0.04805179312825203,
-0.01375318318605423,
0.04126843065023422,
0.005686839111149311,
-0.01129376981407404,
-0.05337904393672943,
0.018272466957569122,
0.03167938068509102,
-0.012430249713361263,
-0.06328772753477097,
0.0083992974832654,
-0.041872184723615646,
-0.041232913732528687,
-0.0456012599170208,
0.05629127472639084,
0.060411013662815094,
-0.08083213865756989,
0.027595154941082,
0.02844751439988613,
-0.018254710361361504,
0.05689502879977226,
0.14035527408123016,
0.08289200812578201,
0.016558868810534477,
-0.011311527341604233,
0.0530594103038311,
-0.01562660001218319,
0.04474889859557152,
-0.02191275544464588,
-0.023617474362254143,
0.038143109530210495,
-0.01839677058160305,
-0.056113697588443756,
0.027648426592350006,
0.06250640004873276,
0.005571415647864342,
0.022924931719899178,
0.060197923332452774,
-0.00417301245033741,
-0.03690008446574211,
0.014330302365124226,
-0.02654746174812317,
-0.015804175287485123,
-0.014001788571476936,
0.00978438276797533,
-0.002552640624344349,
-0.04741252586245537,
-0.02684933878481388,
0.06257742643356323,
0.014880784787237644,
-0.0035670376382768154,
0.008572433143854141,
0.000673120201099664,
-0.05202947556972504,
0.015875205397605896,
0.0047234948724508286,
0.0689346119761467,
-0.07458149641752243,
-0.06563171744346619,
0.0821106806397438,
-0.003538181772455573,
0.017251411452889442,
0.05220704898238182,
-0.0015870765782892704,
0.06445972621440887,
-0.01780189387500286,
-0.019817369058728218,
0.05820908397436142,
-0.010441409423947334,
-0.04364793375134468,
0.005251780617982149,
-0.04265351593494415,
0.07099448144435883,
-0.030010174959897995,
0.034396275877952576,
-0.02855405956506729,
-0.034396275877952576,
-0.016265869140625,
-0.012430249713361263,
0.0194622203707695,
-0.028838180005550385,
0.012004069983959198,
0.0021286802366375923,
0.016070537269115448,
-0.0017524432623758912,
0.01818368025124073,
-0.005584733560681343,
-0.038143109530210495,
-0.08274994790554047,
-0.0629325807094574,
0.001089311670511961,
-0.05213601887226105,
-0.044038597494363785,
-0.017127107828855515,
-0.004159694071859121,
0.04290211945772171,
-0.036971114575862885,
-0.0176953487098217,
-0.04677325487136841,
0.01690514013171196,
-0.11897524446249008,
-0.011773222126066685,
0.0023084748536348343,
-0.013948515988886356,
-0.005931004881858826,
-0.053343530744314194,
-0.02384832128882408,
-0.014552270993590355,
-0.00606862548738718,
-0.00007366587669821456,
0.014898542314767838,
0.003578136209398508,
0.027985818684101105,
-0.041872184723615646,
-0.013708789832890034,
0.07649930566549301,
0.03583463281393051,
0.018911737948656082,
0.022019298747181892,
0.004581435117870569,
0.06918321549892426,
0.005469310097396374,
0.04290211945772171,
-0.02267632633447647,
-0.0735870823264122,
-0.021131424233317375,
-0.02589043416082859,
0.033561673015356064,
-0.020616456866264343,
-0.020705245435237885,
-0.010272713378071785,
-0.04013194888830185,
0.033739250153303146,
0.03817862272262573,
-0.023617474362254143,
-0.0360654816031456,
0.012448007240891457,
0.02161087654531002,
-0.031714893877506256,
0.027754971757531166,
-0.004656904377043247,
0.0547996424138546,
-0.022924931719899178,
-0.0047012981958687305,
-0.03682905435562134,
-0.06449523568153381,
-0.04677325487136841,
-0.004683540668338537,
-0.04034503921866417,
0.03927958756685257,
0.005771187599748373,
0.022818386554718018,
-0.0019888400565832853,
-0.02997465990483761,
-0.06474384665489197,
0.033863551914691925,
-0.07294780761003494,
-0.03423646092414856,
0.021468816325068474,
-0.006849955301731825,
-0.03810759261250496,
0.054835159331560135,
-0.01956876553595066,
-0.06087270751595497,
-0.015173783525824547,
-0.0009222801309078932,
-0.020847303792834282,
0.03141301870346069,
0.0022995963227003813,
0.025517527014017105,
-0.0010948608396574855,
0.007848815061151981,
-0.017402349039912224,
0.003919967915862799,
-0.11087782680988312,
0.05714363232254982,
-0.004732373636215925,
0.005638006143271923,
0.006667941343039274,
-0.05994931980967522,
0.03977679833769798,
0.04581435024738312,
0.042546968907117844,
0.0049587818793952465,
-0.027044672518968582,
-0.010823195800185204,
-0.0385337732732296,
0.006521441973745823,
0.05746326968073845,
-0.020367851480841637,
0.06023344025015831,
0.04236939549446106,
-0.009313808754086494,
-0.02642315998673439,
-0.02343989908695221,
0.020190278068184853,
-0.008337145671248436,
-0.0297260545194149,
0.04180115461349487,
-0.019657552242279053,
0.020367851480841637,
-0.010441409423947334,
-0.03668699413537979,
-0.022623054683208466,
0.034520577639341354,
0.03647390380501747,
0.02965502440929413,
0.07017763704061508,
0.008013071492314339,
-0.012048463337123394,
0.04567229002714157,
0.022303419187664986,
-0.003009896259754896,
0.007888768799602985,
-0.026582976803183556,
-0.012971853837370872,
-0.0038933318573981524,
0.008159571327269077,
-0.035799119621515274,
0.011373678222298622,
-0.01958652213215828,
-0.02953072264790535,
0.053556617349386215,
0.009091840125620365,
0.02470068261027336,
0.0069431825540959835,
0.030986836180090904,
-0.023706262931227684,
0.006570274941623211,
-0.0305961724370718,
0.0038533774204552174,
0.00673897098749876,
0.03736177831888199,
-0.11286666989326477,
-0.011009649373590946,
-0.026796067133545876,
-0.05032475292682648,
-0.05153226479887962,
-0.03789450600743294,
0.018574343994259834,
-0.011462465859949589,
-0.015386873856186867,
-0.00671233469620347,
0.05817357078194618,
0.09375959634780884,
0.06389148533344269,
-0.02565958723425865,
-0.01662989892065525,
0.07287678122520447,
-0.01988839916884899,
-0.0385337732732296,
-0.04265351593494415,
0.04954342544078827,
-0.0028056849259883165,
-0.035159848630428314,
-0.03690008446574211,
0.0048788730055093765,
-0.0008107408648356795,
-0.06879255175590515,
-0.025712858885526657,
-0.021326757967472076,
0.050857480615377426,
0.0579959936439991,
0.006215124856680632,
-0.06733644008636475,
-0.01641680859029293,
0.04620501399040222,
-0.02365298941731453,
0.02169966511428356,
0.022303419187664986,
0.018911737948656082,
-0.043861024081707,
-0.029495207592844963,
-0.009997472167015076,
-0.002008817158639431,
-0.01905379630625248,
0.047021858394145966,
0.04652464762330055,
0.002670284127816558,
-0.028802664950489998,
-0.03881789371371269,
0.04062915965914726,
-0.00878108385950327,
-0.016194839030504227,
0.04400308430194855,
0.02889145165681839,
-0.03693559765815735,
0.020030459389090538,
-0.014339180663228035,
-0.04407411441206932,
0.00973111018538475,
-0.016976170241832733,
0.018663132563233376,
-0.0005665752105414867,
0.051106084138154984,
0.05188741534948349,
-0.006286154966801405,
0.0038800137117505074,
0.046808768063783646,
0.008865431882441044,
-0.04641810432076454,
0.005691278725862503,
-0.02288941666483879,
0.014578906819224358,
0.0304008387029171,
0.030241021886467934,
-0.025393225252628326,
-0.04751906916499138,
-0.028056848794221878,
0.029388662427663803,
-0.037290748208761215,
-0.033099979162216187,
0.016194839030504227,
0.02182396687567234,
0.025606313720345497,
0.022871660068631172,
-0.01267885509878397,
-0.05181638523936272,
0.005260659381747246,
-0.011524617671966553,
0.026778308674693108,
-0.03317100927233696,
-0.02267632633447647,
0.008732250891625881,
-0.07227302342653275,
-0.010246077552437782,
0.006610229145735502,
-0.02097160741686821,
-0.023724019527435303,
0.0746525302529335,
-0.012155008502304554,
0.024452077224850655,
-0.021220212802290916,
0.022303419187664986,
0.009944199584424496,
0.010325985960662365,
0.048193853348493576,
0.008048586547374725,
0.0395992249250412,
-0.04322175309062004,
0.006561396177858114,
0.024238986894488335,
0.07657033950090408,
-0.004417178221046925,
-0.010565712116658688,
-0.009109597653150558,
-0.018556587398052216,
0.018165921792387962,
-0.04844246059656143,
0.006197367329150438,
-0.016363535076379776,
-0.024096926674246788,
0.015599963255226612,
0.012226038612425327,
-0.019870642572641373,
0.025428740307688713,
-0.029779326170682907,
0.06279052048921585,
0.004450473468750715,
0.02043888159096241,
0.0069920155219733715,
-0.008865431882441044,
0.033206526190042496,
-0.024256745353341103,
-0.009979714639484882,
-0.021060394123196602,
0.000777445558924228,
0.0011830934090539813,
-0.002887813374400139,
-0.017082715407013893,
0.008088541217148304,
-0.02535771019756794,
0.049259305000305176,
0.019870642572641373,
-0.013646638952195644,
0.0031674939673393965,
0.02963726781308651,
-0.0020043777767568827,
0.04197872802615166,
-0.038782380521297455,
-0.059984833002090454,
0.05316595360636711,
-0.002319573424756527,
-0.013548972085118294,
-0.036758024245500565,
-0.014765361323952675,
-0.033330827951431274,
0.017517773434519768,
0.05671745538711548,
-0.0671943798661232,
-0.013140549883246422,
-0.03267379850149155,
0.01978185400366783,
0.017917316406965256,
-0.03469815477728844,
-0.0466667078435421,
0.011577890254557133,
0.0025193453766405582,
-0.05522582307457924,
-0.002916669240221381,
-0.013327003456652164,
-0.0757179781794548,
0.009873169474303722,
-0.006179609801620245,
0.030542898923158646,
0.03135974332690239,
0.03347288817167282,
-0.009145112708210945,
0.04631156101822853,
-0.016976170241832733,
0.01525369193404913,
0.007160711567848921,
-0.010583469644188881,
0.014934057369828224,
-0.03626081347465515,
-0.011950797401368618,
0.011204982176423073,
-0.047128405421972275,
0.017748620361089706,
0.026068009436130524,
-0.03244295343756676,
-0.009162870235741138,
0.015955112874507904,
0.014534513466060162,
0.017198137938976288,
-0.049578938633203506,
0.05433794856071472,
-0.009855411946773529,
0.03414767235517502,
-0.053982798010110855,
-0.07458149641752243,
-0.0032052285969257355,
-0.020669730380177498,
0.014756482094526291,
-0.02557079866528511,
-0.007928723469376564,
-0.005677960347384214,
-0.020243549719452858,
0.0167985949665308,
0.01656774803996086,
0.016443444415926933,
-0.000006594032583961962,
-0.022498752921819687,
-0.025180134922266006,
0.030773747712373734,
-0.0675850436091423,
0.029921386390924454,
-0.012776521034538746,
-0.015271449461579323,
0.08502291142940521,
-0.022019298747181892,
0.010663378983736038,
0.10491130501031876,
-0.01780189387500286,
-0.04378999397158623,
0.07330296188592911,
0.0073560443706810474,
0.03178592398762703,
-0.03263828530907631,
0.024878257885575294,
-0.0014949594624340534,
-0.044251687824726105,
0.0005546443862840533,
0.07756476104259491,
-0.029175572097301483,
0.008203964680433273,
0.0010554613545536995,
0.0569305457174778,
-0.051425717771053314,
-0.0010421432089060545,
0.022125843912363052,
0.012217159382998943,
0.003966581542044878,
0.009287171997129917,
-0.024345532059669495,
0.004550359211862087,
0.02322680875658989,
0.010725529864430428,
-0.058031510561704636,
0.04098431020975113,
0.031164411455392838,
0.0037357339169830084,
0.0374683253467083,
-0.04915275797247887,
0.002058760030195117,
-0.008425933308899403,
0.0047723278403282166,
-0.008563553914427757,
0.03629633039236069,
0.019977187737822533,
-0.04716391861438751,
-0.011657798662781715,
0.009491384029388428,
0.026565220206975937,
0.01101852860301733,
-0.0245941374450922,
-0.008692296221852303,
0.03661596402525902,
-0.011258254759013653,
0.023724019527435303,
-0.010068502277135849,
-0.011222739703953266,
-0.048087310045957565,
-0.005784505512565374,
-0.0048034037463366985,
-0.014205999672412872,
-0.0009183957008644938,
-0.0789143294095993,
-0.0006847736076451838,
0.025020316243171692,
-0.015333601273596287,
0.05767636001110077,
0.00846144836395979,
0.03285137563943863,
-0.07017763704061508,
-0.0068366373889148235,
-0.031945742666721344,
0.03283361718058586,
0.026405401527881622,
0.0541248582303524,
-0.04194321483373642,
0.011675556190311909,
0.015431267209351063,
-0.007560255471616983,
0.016993926838040352,
-0.03714868798851967,
0.021344514563679695,
-0.07969565689563751,
-0.024238986894488335,
0.04485544562339783,
0.044464778155088425,
0.01129376981407404,
0.024238986894488335,
-0.10199908167123795,
-0.003083145944401622,
0.006610229145735502,
-0.05806702375411987,
-0.04652464762330055,
-0.03366822004318237,
-0.012598945759236813,
0.04687979817390442,
0.04215630516409874,
0.004550359211862087,
-0.034929003566503525,
-0.004525942727923393,
0.026263341307640076,
0.042866602540016174,
0.023475414142012596,
0.059025928378105164,
-0.004554798826575279,
0.022871660068631172,
-0.01937343180179596,
-0.022445479407906532,
-0.03297567740082741,
0.042298365384340286,
-0.005047569517046213,
-0.02352868765592575,
0.02310250699520111,
-0.005158553831279278,
-0.0022884977515786886,
0.008616826497018337,
-0.02333335392177105,
-0.02129124291241169,
-0.012439128942787647,
0.022924931719899178,
0.029992416501045227,
0.019444461911916733,
0.00015204859664663672,
0.024540863931179047
] |
708,681
|
pathvalidate._base
|
__init__
| null |
def __init__(
self,
max_len: int,
fs_encoding: Optional[str],
check_reserved: bool,
additional_reserved_names: Optional[Sequence[str]] = None,
platform_max_len: Optional[int] = None,
platform: Optional[PlatformType] = None,
) -> None:
self._check_reserved = check_reserved
super().__init__(
max_len,
fs_encoding,
additional_reserved_names=additional_reserved_names,
platform_max_len=platform_max_len,
platform=platform,
)
|
(self, max_len: int, fs_encoding: Optional[str], check_reserved: bool, additional_reserved_names: Optional[Sequence[str]] = None, platform_max_len: Optional[int] = None, platform: Optional[~PlatformType] = None) -> NoneType
|
[
0.01394466869533062,
-0.0011107040336355567,
-0.02409721538424492,
0.033284492790699005,
-0.0174696184694767,
-0.002538136439397931,
0.0034969402477145195,
0.0018971385434269905,
0.017116261646151543,
-0.06119106709957123,
0.036542270332574844,
0.04788416624069214,
0.012875979766249657,
0.013660259544849396,
0.03668016567826271,
0.06129448860883713,
-0.006265620701014996,
0.028113417327404022,
0.05157286673784256,
0.021287595853209496,
-0.01658191718161106,
0.06877531111240387,
-0.002488580299541354,
0.02778591588139534,
0.01763336919248104,
0.10721364617347717,
-0.005412392783910036,
0.002324829576537013,
0.024614322930574417,
-0.051124706864356995,
-0.026493147015571594,
0.03445660322904587,
0.01735757850110531,
0.07074031978845596,
0.03183659166097641,
-0.052021026611328125,
-0.012979401275515556,
0.022752733901143074,
-0.07991036027669907,
-0.015073686838150024,
-0.0201499592512846,
-0.027958285063505173,
0.0015233128797262907,
-0.03331896662712097,
-0.010721364058554173,
0.020873909816145897,
0.033181071281433105,
0.00944583211094141,
-0.026958543807268143,
0.06994742155075073,
-0.02240799553692341,
0.016142375767230988,
0.02130483277142048,
-0.015513228252530098,
-0.034129101783037186,
0.09245884418487549,
0.0195294301956892,
0.03288804367184639,
-0.01384124718606472,
0.008777901530265808,
-0.049814701080322266,
0.031009219586849213,
0.011281563900411129,
-0.04398861899971962,
-0.021615097299218178,
-0.003059553448110819,
-0.024666033685207367,
-0.03214685618877411,
-0.008459018543362617,
0.062328703701496124,
0.05264155566692352,
0.008329741656780243,
-0.049125224351882935,
0.03368094190955162,
0.04984917491674423,
0.039438072592020035,
-0.10604153573513031,
-0.010324914939701557,
-0.017374815419316292,
-0.03888649120926857,
0.0787382498383522,
0.02437300607562065,
-0.015564939007163048,
-0.008588295429944992,
0.023493923246860504,
-0.015745926648378372,
-0.005856243893504143,
0.020925620570778847,
0.07322243601083755,
0.0022666549775749445,
-0.05308971554040909,
0.07735929638147354,
-0.010531757958233356,
0.0706024244427681,
0.018564162775874138,
-0.06994742155075073,
-0.0017527793534100056,
0.016082046553492546,
0.002378694945946336,
-0.011462552472949028,
-0.004559165332466364,
0.002751443302258849,
-0.018805479630827904,
-0.022976815700531006,
0.015926914289593697,
0.010643797926604748,
-0.0172627754509449,
-0.027872100472450256,
-0.012065844610333443,
-0.01852968893945217,
0.000321037630783394,
-0.0011451778700575233,
-0.009756096638739109,
0.04336808994412422,
-0.0714297965168953,
0.045022834092378616,
0.016435403376817703,
-0.023183658719062805,
0.03416357561945915,
-0.03578384593129158,
0.018391793593764305,
0.015013357624411583,
-0.03819701448082924,
-0.023063000291585922,
0.04316124692559242,
0.005446866620332003,
-0.012660518288612366,
-0.00970438588410616,
0.041127290576696396,
0.0029690596275031567,
0.036749113351106644,
0.030354216694831848,
-0.0050676544196903706,
-0.029182106256484985,
0.01584072969853878,
-0.07260190695524216,
0.018029818311333656,
0.04747048020362854,
-0.07680771499872208,
-0.011652158573269844,
0.003221149556338787,
0.015797637403011322,
0.04709126800298691,
-0.05674394220113754,
-0.056226834654808044,
0.03199172392487526,
0.036335427314043045,
-0.09645780920982361,
-0.018598636612296104,
0.02078772522509098,
0.003998965490609407,
0.0062096007168293,
-0.0493665412068367,
0.031388431787490845,
-0.013496508821845055,
0.022752733901143074,
0.004964232910424471,
-0.06708609312772751,
0.020770488306879997,
0.060329221189022064,
-0.0200465377420187,
-0.05653709918260574,
-0.032922517508268356,
-0.06477634608745575,
-0.005653709638863802,
0.01257433369755745,
-0.026217356324195862,
-0.08335774391889572,
0.03909333422780037,
0.0293717123568058,
0.02809618040919304,
0.0016062655486166477,
-0.009351029060781002,
0.012970782816410065,
-0.012617425993084908,
0.05477893352508545,
0.005864862352609634,
-0.04150650277733803,
-0.02873394638299942,
-0.03685253486037254,
0.017754027619957924,
-0.012729465961456299,
0.009583727456629276,
-0.052331291139125824,
0.06994742155075073,
0.03750753775238991,
-0.02632077783346176,
0.07432559877634048,
0.05529604107141495,
-0.009351029060781002,
0.02083943597972393,
-0.011031628586351871,
-0.012436438351869583,
0.0035163317807018757,
-0.0071964142844080925,
-0.05708868056535721,
0.04088597372174263,
-0.00800224021077156,
0.009635438211262226,
-0.012979401275515556,
-0.010462810285389423,
0.10397310554981232,
-0.008894250728189945,
-0.0597776398062706,
-0.04964233189821243,
0.032129619270563126,
0.010902351699769497,
0.021873651072382927,
-0.03478410467505455,
-0.014961646869778633,
0.018615873530507088,
-0.04795311391353607,
0.0019132981542497873,
0.041644398123025894,
0.022183915600180626,
-0.06460397690534592,
-0.014125656336545944,
0.010695508681237698,
0.012401964515447617,
0.015280529856681824,
0.09576833248138428,
0.04295440390706062,
-0.012358872219920158,
-0.01889166422188282,
-0.0010988536523655057,
-0.0029970696195960045,
0.023976556956768036,
-0.03430147096514702,
0.010885114781558514,
0.0501939132809639,
-0.042437296360731125,
-0.024803929030895233,
-0.039748337119817734,
0.0488494336605072,
-0.006937860511243343,
0.03361199423670769,
0.05098681151866913,
-0.014927173033356667,
-0.05795052647590637,
-0.06346634030342102,
0.006153580732643604,
-0.02809618040919304,
-0.0049987067468464375,
0.014547960832715034,
0.057916052639484406,
-0.02688959613442421,
-0.04640179127454758,
0.0899767205119133,
0.014961646869778633,
-0.006325949914753437,
-0.037542011588811874,
-0.0031888303346931934,
-0.0388520173728466,
0.0016396620776504278,
0.003927863202989101,
0.008989053778350353,
-0.05808842182159424,
-0.06625872105360031,
0.035232264548540115,
-0.008799447678029537,
-0.02437300607562065,
0.02373524010181427,
-0.018460741266608238,
0.059329479932785034,
0.005127983633428812,
-0.008062569424510002,
0.026510383933782578,
-0.016461258754134178,
-0.015616649761795998,
-0.02778591588139534,
0.008833921514451504,
0.021029042080044746,
-0.01978798396885395,
0.02532103657722473,
-0.014323880895972252,
-0.06236317753791809,
-0.024907350540161133,
-0.0204602237790823,
0.010557613335549831,
0.019770747050642967,
0.07032663375139236,
-0.01735757850110531,
0.017926396802067757,
0.04340256378054619,
0.0349392369389534,
0.0003256161871831864,
-0.03950702026486397,
-0.08659828454256058,
-0.07308454066514969,
-0.05484788119792938,
-0.06360423564910889,
0.0292682908475399,
0.018219424411654472,
0.031543564051389694,
0.06532792747020721,
-0.04640179127454758,
0.0027169694658368826,
0.015185726806521416,
0.045436520129442215,
-0.07501507550477982,
-0.019339824095368385,
-0.0029776780866086483,
-0.000019660861653392203,
0.004585020709782839,
-0.039231229573488235,
-0.04347151145339012,
-0.0061966730281710625,
-0.028182365000247955,
0.006369042210280895,
0.021218648180365562,
0.042127031832933426,
0.04664310812950134,
0.039127808064222336,
-0.004636731464415789,
0.027854863554239273,
0.06336291879415512,
0.019219165667891502,
0.01868482120335102,
0.006618977524340153,
0.056123413145542145,
0.05598551779985428,
-0.037542011588811874,
-0.02725157141685486,
-0.03152632713317871,
-0.018081529065966606,
-0.006899077445268631,
0.054123930633068085,
-0.03678358718752861,
0.006502628326416016,
-0.004516073036938906,
-0.04340256378054619,
0.003076790366321802,
0.01257433369755745,
-0.057916052639484406,
-0.03767990693449974,
0.004371713846921921,
-0.010109453462064266,
-0.011833146214485168,
0.0011602601734921336,
-0.029595792293548584,
0.021115226671099663,
-0.021011805161833763,
-0.01029044110327959,
0.011746961623430252,
-0.015461517497897148,
-0.07205032557249069,
0.024459190666675568,
-0.08384037762880325,
-0.017667843028903008,
-0.012022752314805984,
-0.003649917896836996,
-0.02783762663602829,
-0.02757907286286354,
-0.022752733901143074,
0.07715245336294174,
-0.06394897401332855,
-0.043023351579904556,
0.03588726744055748,
0.005477031227201223,
0.007640264928340912,
0.02042574994266033,
-0.026562094688415527,
-0.00668361596763134,
-0.020063774660229683,
-0.034749630838632584,
-0.05339998006820679,
0.014246314764022827,
0.004977160599082708,
-0.017702316865324974,
0.01060070563107729,
0.016771523281931877,
-0.05488235503435135,
0.009997413493692875,
-0.060432642698287964,
0.03266396373510361,
-0.009937084279954433,
-0.05777815729379654,
0.0014748340472579002,
-0.07742824405431747,
-0.01129018235951662,
-0.011462552472949028,
0.034646209329366684,
-0.0070068081840872765,
-0.016918037086725235,
-0.019115744158625603,
-0.011048865504562855,
-0.013306902721524239,
-0.010143927298486233,
0.06949926167726517,
0.06622424721717834,
0.00048236444126814604,
0.03771438077092171,
0.04336808994412422,
0.037542011588811874,
-0.014608290046453476,
0.04240282252430916,
-0.037645433098077774,
0.015444280579686165,
0.018702058121562004,
0.017926396802067757,
-0.028544340282678604,
-0.02752736210823059,
-0.031285010278224945,
0.041644398123025894,
0.0123157799243927,
0.02199430949985981,
0.07577349990606308,
0.024062741547822952,
-0.010885114781558514,
0.09211410582065582,
0.009980176575481892,
-0.00030083811725489795,
-0.02814789116382599,
-0.03200896084308624,
-0.04426440969109535,
-0.007252434268593788,
0.005800223909318447,
-0.029182106256484985,
0.05515814572572708,
-0.040506761521101,
-0.05588209629058838,
0.03519779071211815,
0.00839438010007143,
0.04585020989179611,
0.02742394059896469,
0.031974487006664276,
-0.027389466762542725,
-0.010436954908072948,
0.009859518148005009,
-0.06374213099479675,
-0.021425491198897362,
0.0712229534983635,
-0.04329914227128029,
-0.0019176073838025331,
0.00010207488958258182,
0.014298025518655777,
-0.0398862324655056,
-0.015125397592782974,
-0.0297853983938694,
-0.015702834352850914,
0.012962164357304573,
-0.04950443655252457,
0.04098939523100853,
0.0599844828248024,
0.013556838035583496,
-0.006274239160120487,
-0.044333357363939285,
0.0808066800236702,
-0.015228819102048874,
-0.018167713657021523,
-0.018219424411654472,
0.005270188208669424,
-0.06546582281589508,
-0.05405498296022415,
0.002078126184642315,
-0.04729811102151871,
0.0009981254115700722,
-0.004100232385098934,
-0.03361199423670769,
-0.04974575340747833,
-0.005360682029277086,
0.06291475892066956,
0.0069335512816905975,
-0.020236143842339516,
-0.02135654352605343,
0.08377142995595932,
-0.001704300520941615,
0.0070283543318510056,
0.006257002241909504,
0.002395931864157319,
-0.010842022486031055,
0.025303799659013748,
0.02878565713763237,
-0.00042930705239996314,
0.03361199423670769,
-0.015806255862116814,
-0.011100576259195805,
-0.05005601793527603,
-0.03488752618432045,
-0.023752477020025253,
0.03185382857918739,
0.023924846202135086,
0.03083685040473938,
0.001149487099610269,
0.010143927298486233,
-0.06157027930021286,
0.006929242052137852,
-0.031871065497398376,
-0.022183915600180626,
0.05495130270719528,
-0.011643540114164352,
0.056226834654808044,
-0.03271567448973656,
0.06329397112131119,
0.06639661639928818,
0.04595363140106201,
0.02468327060341835,
0.026855122298002243,
-0.009402739815413952,
-0.013694733381271362,
-0.010850640945136547,
-0.04488493874669075,
-0.011867620050907135,
-0.026338014751672745,
0.004761699121445417,
-0.036645691841840744,
-0.07735929638147354,
-0.01889166422188282,
0.048711538314819336,
0.0049254498444497585,
-0.011505644768476486,
-0.014875462278723717,
0.050124965608119965,
-0.00649831909686327,
0.0038093593902885914,
0.054434195160865784,
-0.08073773235082626,
0.007730758748948574,
0.02168404497206211,
0.07804877310991287,
-0.01054899487644434,
0.026958543807268143,
0.04726363718509674,
-0.10555890202522278,
0.004035593941807747,
-0.023442212492227554,
0.015237437561154366,
-0.016745667904615402,
0.06715504080057144,
0.030405927449464798,
-0.04047228768467903,
-0.024510901421308517,
-0.00781694334000349,
0.01426355168223381,
0.0146858561784029,
0.06405239552259445,
-0.03678358718752861,
0.06722398847341537,
0.025010772049427032,
-0.04026544466614723,
0.016504351049661636,
0.04167887195944786,
0.012281306087970734,
-0.015702834352850914,
-0.06663793325424194,
-0.024821165949106216,
0.031440142542123795,
0.01107472088187933,
0.03266396373510361,
-0.022856157273054123,
-0.06284581124782562,
-0.018753768876194954,
-0.008640006184577942,
0.006084633059799671,
0.025338273495435715,
-0.07363612204790115,
0.05319313704967499,
0.004516073036938906,
0.019219165667891502,
0.015358095988631248,
0.014384210109710693,
0.056226834654808044,
-0.009954321198165417,
-0.025045245885849,
-0.03657674416899681,
-0.006399206817150116,
-0.01830560900270939,
-0.04026544466614723,
-0.006588812917470932,
0.040506761521101,
-0.02837197110056877,
0.048022061586380005,
0.0007336464477702975,
0.0409204475581646,
-0.030233558267354965,
-0.03295699134469032,
-0.0038847709074616432,
0.08108247071504593,
-0.019064033403992653,
-0.05339998006820679,
-0.02068430371582508,
0.03221580386161804,
-0.04350598528981209,
-0.028009995818138123,
-0.025062482804059982,
-0.019822457805275917,
0.029716450721025467,
-0.0007724295137450099,
-0.04736705869436264,
-0.007963457144796848,
-0.004298456944525242,
-0.032026197761297226,
0.017822975292801857,
-0.03671463951468468,
-0.04126518592238426,
0.01909850724041462,
-0.02368352934718132,
-0.05398603528738022,
-0.005761440843343735,
0.011135050095617771,
-0.040541235357522964,
0.05336550623178482,
-0.02647591009736061,
0.04295440390706062,
0.08797723799943924,
0.005955356173217297,
-0.02042574994266033,
0.05939842760562897,
-0.05736447125673294,
0.010954062454402447,
-0.012953545898199081,
0.03888649120926857,
-0.01909850724041462,
-0.030543822795152664,
0.0026049294974654913,
0.007623028010129929,
-0.0048306467942893505,
-0.005804533138871193,
0.045608893036842346,
-0.03719727322459221,
-0.01399637944996357,
0.03471515700221062,
-0.010514521040022373,
0.016288889572024345,
-0.07784193009138107,
0.019598377868533134,
-0.02499353513121605,
0.0009544944623485208,
-0.06970610469579697,
-0.03461173549294472,
0.008510729297995567,
-0.03516331687569618,
0.031336721032857895,
-0.013151770457625389,
-0.011160905472934246,
-0.0014392829034477472,
-0.018460741266608238,
0.00011890781752299517,
0.04209255799651146,
0.045126255601644516,
-0.0027363609988242388,
0.010402481071650982,
-0.016857707872986794,
0.0030423165298998356,
-0.0498836487531662,
0.0007271826034411788,
-0.008799447678029537,
-0.008118589408695698,
0.010083598084747791,
-0.040437813848257065,
-0.004255364648997784,
0.06370765715837479,
0.006812892854213715,
-0.007864344865083694,
0.03168145939707756,
-0.02468327060341835,
-0.0027212786953896284,
0.0066232867538928986,
0.05140049755573273,
-0.028009995818138123,
-0.009997413493692875,
-0.022339047864079475,
0.07970351725816727,
0.01060070563107729,
0.012746702879667282,
-0.03416357561945915,
0.05398603528738022,
-0.047332584857940674,
-0.021080752834677696,
0.0023442211095243692,
0.013125915080308914,
-0.012195121496915817,
0.0402999185025692,
-0.02304576337337494,
-0.012022752314805984,
0.008032404817640781,
-0.013410324230790138,
0.0022235626820474863,
0.11086787283420563,
0.041230712085962296,
0.013306902721524239,
0.02694130688905716,
-0.02663104236125946,
-0.039644915610551834,
-0.00047455396270379424,
0.020270617678761482,
-0.05877789855003357,
0.06277686357498169,
0.001921916613355279,
-0.0350426584482193,
0.03063000738620758,
-0.011479789391160011,
0.015909677371382713,
0.01504783146083355,
-0.062225282192230225,
0.011479789391160011,
0.00037867360515519977,
-0.051021285355091095,
0.03695595636963844,
0.00917865987867117,
0.03445660322904587,
0.019167454913258553,
-0.033491335809230804,
-0.013746444135904312,
-0.043333616107702255,
0.004653968382626772,
-0.06736188381910324,
0.003481857944279909,
-0.004895285237580538,
0.000430115032941103,
0.06650003790855408,
0.034646209329366684,
0.04247177019715309,
-0.05705420672893524,
-0.031216062605381012,
-0.005304662045091391,
0.038334909826517105,
0.014332499355077744,
-0.0019962508231401443,
0.003968800883740187,
0.022287337109446526,
0.0592605322599411,
0.056812889873981476,
0.03261225298047066,
-0.014004997909069061,
-0.010195638053119183,
-0.055606305599212646,
0.025062482804059982,
0.03785227611660957,
-0.008019477128982544,
0.04750495404005051,
0.0486425906419754,
-0.08666723221540451,
-0.0068861497566103935,
-0.02068430371582508,
-0.05109023302793503,
0.011247090063989162,
0.019064033403992653,
-0.01784021221101284,
0.04950443655252457,
0.0294751338660717,
0.027803152799606323,
-0.01547013595700264,
0.02547616884112358,
-0.005265878979116678,
0.05664052069187164,
0.010006031952798367,
0.01431526243686676,
0.0017387743573635817,
0.040437813848257065,
-0.024183399975299835,
-0.0040700677782297134,
-0.03130224719643593,
0.01889166422188282,
-0.026182882487773895,
-0.017504092305898666,
-0.012152029201388359,
0.018822716549038887,
-0.009351029060781002,
-0.025820907205343246,
-0.07880719751119614,
-0.01863311044871807,
-0.005843316204845905,
0.032077908515930176,
0.03547358140349388,
0.04491941258311272,
0.012445056810975075,
0.008575367741286755
] |
708,686
|
pathvalidate._base
|
_is_reserved_keyword
| null |
def _is_reserved_keyword(self, value: str) -> bool:
return value in self.reserved_keywords
|
(self, value: str) -> bool
|
[
0.05587562173604965,
-0.022065963596105576,
-0.022218259051442146,
0.01623642072081566,
0.013833531178534031,
0.02577182650566101,
0.04839620739221573,
-0.01687098667025566,
0.04572257027029991,
-0.0614936426281929,
-0.023267406970262527,
0.022658225148916245,
0.026279479265213013,
-0.051611341536045074,
0.016811760142445564,
-0.05323582887649536,
0.016964055597782135,
0.03820931538939476,
-0.015618775971233845,
-0.0478547103703022,
-0.0666716992855072,
0.021372171118855476,
0.028986958786845207,
-0.008042062632739544,
0.04220284894108772,
0.0680592805147171,
0.005579947493970394,
0.01674407348036766,
0.011456025764346123,
0.021118344739079475,
-0.03162675350904465,
-0.024451930075883865,
0.026042575016617775,
0.03587411344051361,
0.08237508684396744,
-0.018833909183740616,
-0.017497090622782707,
-0.0020644536707550287,
0.028327010571956635,
-0.06958223879337311,
-0.03347122296690941,
0.046940937638282776,
-0.04717784374952316,
0.012750538997352123,
-0.015754150226712227,
-0.014941906556487083,
0.004932690411806107,
0.049919165670871735,
0.010609937831759453,
0.03408040478825569,
0.04704246670007706,
-0.02243824116885662,
0.004471572581678629,
-0.03919077664613724,
-0.039529211819171906,
-0.030408386141061783,
0.009027753956615925,
0.061764393001794815,
-0.024891896173357964,
0.04930998384952545,
-0.016507167369127274,
0.07723087072372437,
-0.009459258988499641,
-0.05326967313885689,
0.02049224078655243,
0.0023203950840979815,
0.009873841889202595,
-0.03729553893208504,
0.002087721135467291,
0.03905539959669113,
-0.014814993366599083,
-0.07113904505968094,
-0.017835525795817375,
-0.0004137897049076855,
-0.038683123886585236,
-0.03198210895061493,
-0.08934684842824936,
0.005956456530839205,
-0.026127183809876442,
-0.05729704722762108,
-0.007318657357245684,
-0.048430051654577255,
0.05641711875796318,
-0.006053756456822157,
-0.03475727513432503,
0.032202091068029404,
-0.05628174543380737,
0.05079909786581993,
0.060715243220329285,
0.012945139780640602,
0.02274283394217491,
0.030154559761285782,
0.007720549125224352,
0.04057835787534714,
-0.00453925970941782,
-0.023707373067736626,
0.054691098630428314,
-0.01209059078246355,
-0.005706860683858395,
-0.017268646508455276,
0.036584824323654175,
0.020526083186268806,
0.05597715079784393,
-0.03729553893208504,
0.0021268525160849094,
-0.014814993366599083,
-0.025687217712402344,
-0.002650369191542268,
0.01846162974834442,
-0.02423194795846939,
-0.012606704607605934,
-0.06525027006864548,
0.0243673212826252,
0.021524466574192047,
-0.01861392706632614,
0.00038682064041495323,
0.04338736832141876,
-0.013198966160416603,
-0.030916038900613785,
-0.014408870600163937,
0.0059099216014146805,
0.016380254179239273,
0.007724779192358255,
-0.004236783366650343,
0.06393037736415863,
0.01649024710059166,
-0.00818166695535183,
0.061561331152915955,
0.0075386399403214455,
0.050325289368629456,
0.00969616323709488,
0.06057986989617348,
-0.009036215022206306,
-0.07648631185293198,
-0.008482027798891068,
0.008740084245800972,
0.0335896760225296,
0.011726773343980312,
-0.008177435956895351,
-0.022099805995821953,
0.012403643690049648,
0.06345656514167786,
0.019121577963232994,
-0.03770166262984276,
-0.025957966223359108,
0.0169217512011528,
-0.06345656514167786,
0.010339190252125263,
0.028783898800611496,
-0.039326149970293045,
0.01623642072081566,
0.011515251360833645,
-0.03929230570793152,
0.018969282507896423,
-0.015551089309155941,
0.01514496747404337,
0.010212277062237263,
-0.04298124834895134,
-0.006607943680137396,
0.03059452585875988,
0.0779077410697937,
-0.04443651810288429,
-0.07729855924844742,
-0.0040083397179841995,
-0.011769077740609646,
0.030814507976174355,
-0.00329551100730896,
-0.015407253988087177,
0.021304484456777573,
-0.0009322827099822462,
0.005334582179784775,
0.07594481855630875,
0.01241210475564003,
0.0732373371720314,
0.015077279880642891,
0.03570489585399628,
-0.06169670447707176,
0.01979844830930233,
0.004518107511103153,
-0.0046957856975495815,
0.004797316621989012,
0.0022950125858187675,
-0.07113904505968094,
-0.0040273768827319145,
0.03177904710173607,
-0.03935999423265457,
0.005334582179784775,
-0.00816897489130497,
0.019815370440483093,
0.044199611991643906,
-0.005063834134489298,
-0.021778292953968048,
0.02526417374610901,
0.008773927576839924,
-0.03607717156410217,
-0.011176816187798977,
0.07201897352933884,
-0.018241647630929947,
0.0293592382222414,
0.01315666176378727,
0.010652242228388786,
-0.03685557469725609,
-0.035840269178152084,
0.04362427443265915,
0.03348814696073532,
-0.013664313592016697,
0.03069605678319931,
-0.06778853386640549,
-0.0038539287634193897,
-0.046297911554574966,
-0.03496033698320389,
-0.033403538167476654,
0.04707631096243858,
0.06758547574281693,
0.03020532615482807,
0.01656639389693737,
-0.0006255760090425611,
-0.0024748060386627913,
-0.03485880792140961,
0.0013696042587980628,
0.05218667909502983,
0.052355896681547165,
0.07547100633382797,
-0.012674391269683838,
0.05905691161751747,
-0.01776783913373947,
0.04328583925962448,
0.04528260603547096,
-0.022522849962115288,
0.013486635871231556,
0.013351261615753174,
0.020323023200035095,
-0.02044147439301014,
0.034994181245565414,
-0.00013491130084730685,
-0.034148093312978745,
0.006235665176063776,
-0.012877452187240124,
0.005216129589825869,
-0.0036318309139460325,
0.032202091068029404,
-0.006629095878452063,
0.004826929420232773,
0.022624380886554718,
-0.008782388642430305,
-0.00292323250323534,
0.0037249005399644375,
0.06413343548774719,
0.015390332788228989,
0.025281095877289772,
0.020661458373069763,
0.005512260366231203,
0.018393943086266518,
-0.018918517976999283,
-0.02292897179722786,
0.027227098122239113,
-0.00829588808119297,
0.03556952252984047,
0.02189674600958824,
-0.012606704607605934,
-0.07614787667989731,
0.1013951301574707,
-0.001877256785519421,
0.08467644453048706,
0.01785244792699814,
0.06095214560627937,
0.09158051759004593,
0.050562191754579544,
-0.0703267976641655,
-0.040713731199502945,
0.024654991924762726,
0.00868085864931345,
-0.022556694224476814,
-0.02154138870537281,
0.013698157854378223,
-0.0036720200441777706,
0.04013839364051819,
-0.022725911810994148,
-0.011997521854937077,
-0.0007022526697255671,
0.052355896681547165,
0.01856316067278385,
0.0005021000979468226,
0.05042681843042374,
0.0008111864444799721,
0.006354117300361395,
0.061019834131002426,
-0.004317161627113819,
0.005313429981470108,
-0.011777538806200027,
-0.08115671575069427,
-0.05073140934109688,
0.07946453988552094,
-0.009188510477542877,
0.026837896555662155,
0.04612869396805763,
0.05279586464166641,
-0.012750538997352123,
-0.00014991614443715662,
0.004150059539824724,
0.06152748689055443,
0.03149138018488884,
-0.048633113503456116,
-0.016676384955644608,
-0.0019438861636444926,
0.03452037274837494,
0.018123194575309753,
0.04159366339445114,
-0.040713731199502945,
-0.025687217712402344,
-0.07635094225406647,
0.049479201436042786,
-0.044402673840522766,
-0.03402964025735855,
-0.0279039666056633,
0.01820780336856842,
-0.014095818623900414,
0.009273119270801544,
-0.030408386141061783,
0.05739858001470566,
0.02800549753010273,
-0.0530327670276165,
-0.034604981541633606,
-0.053303517401218414,
-0.04125522822141647,
-0.025281095877289772,
0.03264205902814865,
-0.038581591099500656,
0.007458261679857969,
-0.03208364173769951,
0.0035429915878921747,
-0.07858461141586304,
0.03716016560792923,
0.003064952092245221,
-0.0025742214638739824,
-0.04051067307591438,
-0.03665251284837723,
0.012868992052972317,
0.04108601063489914,
0.02259053848683834,
-0.0506298802793026,
0.012361339293420315,
0.0015737228095531464,
0.005089216399937868,
0.024587303400039673,
-0.03259129077196121,
-0.03638176620006561,
-0.0006588906981050968,
0.05983531102538109,
-0.02731170691549778,
0.010212277062237263,
-0.021304484456777573,
0.030509917065501213,
-0.017750917002558708,
0.07668937742710114,
0.002883043373003602,
0.0014288303209468722,
0.03682173043489456,
-0.024215025827288628,
0.015830298885703087,
0.08603018522262573,
-0.04227053374052048,
0.026939427480101585,
0.023910434916615486,
-0.07066523283720016,
-0.017200959846377373,
-0.010897607542574406,
-0.0028090106789022684,
-0.008448184467852116,
-0.03580642491579056,
0.006633326411247253,
-0.0023246256168931723,
-0.0243673212826252,
-0.01378276664763689,
0.003113602288067341,
-0.0539126992225647,
0.027582453563809395,
-0.027294784784317017,
0.018173960968852043,
0.02264130301773548,
0.006337195634841919,
0.00547418650239706,
0.054352663457393646,
-0.008321271277964115,
0.02770090661942959,
-0.00571955181658268,
0.012860530987381935,
-0.010677624493837357,
-0.02746400237083435,
-0.0015419945120811462,
0.03142369166016579,
-0.00310937175527215,
-0.03641560673713684,
0.04809161648154259,
-0.037633974105119705,
-0.0013653738424181938,
-0.053506575524806976,
-0.05854925885796547,
0.005178055725991726,
0.08108903467655182,
-0.0065317959524691105,
-0.01935848407447338,
-0.04054451733827591,
0.04294740408658981,
0.03103449195623398,
-0.01489960215985775,
0.0038348918315023184,
0.015161888673901558,
-0.012953600846230984,
0.03617870435118675,
-0.02805626392364502,
-0.1190614402294159,
-0.025162644684314728,
-0.051272906363010406,
-0.04054451733827591,
0.009459258988499641,
0.0031284086871892214,
0.0034181936644017696,
0.020982971414923668,
-0.009222354739904404,
0.013943523168563843,
-0.026888662949204445,
0.04189825430512428,
0.06887152791023254,
-0.005630712490528822,
-0.011142972856760025,
-0.008714701980352402,
-0.0563155859708786,
0.07242509722709656,
-0.0651487410068512,
-0.07019142061471939,
-0.04687324911355972,
0.0042304378002882,
-0.0016847718507051468,
-0.018140116706490517,
-0.02387659065425396,
-0.03492649272084236,
-0.03864927962422371,
-0.00566032575443387,
-0.011252964846789837,
-0.03979995846748352,
-0.00677716126665473,
-0.04876848682761192,
0.048633113503456116,
0.03638176620006561,
-0.007255200762301683,
0.015559550374746323,
0.09313731640577316,
0.10823152214288712,
0.0048650032840669155,
-0.0473470576107502,
0.048836175352334976,
-0.06393037736415863,
-0.032066717743873596,
0.03919077664613724,
0.008498948998749256,
-0.02641485258936882,
-0.018935440108180046,
-0.002842854242771864,
-0.010330729186534882,
0.007796696852892637,
0.051915932446718216,
-0.10829920321702957,
0.02446885220706463,
-0.014273497276008129,
0.12874068319797516,
-0.08887303620576859,
0.013402027077972889,
0.04328583925962448,
0.036787886172533035,
-0.043658118695020676,
-0.004437729250639677,
0.0689392164349556,
-0.047380901873111725,
-0.0005959629197604954,
0.015728767961263657,
-0.03443576395511627,
0.05516490712761879,
0.01564415916800499,
0.02000151015818119,
-0.017327873036265373,
-0.031762126833200455,
-0.0497499480843544,
-0.03587411344051361,
0.01984921470284462,
0.002633447526022792,
-0.02467191219329834,
-0.011252964846789837,
-0.011354494839906693,
-0.010440720245242119,
0.01166754774749279,
-0.01643948070704937,
0.04348890110850334,
0.013021287508308887,
0.06254278868436813,
-0.006396421696990728,
0.000775227730628103,
0.0516451857984066,
-0.02297973819077015,
0.049513041973114014,
0.016803298145532608,
0.04331968352198601,
-0.051408279687166214,
-0.009247737005352974,
0.04809161648154259,
-0.09401725232601166,
0.0036614439450204372,
0.0022104037925601006,
0.004712707828730345,
-0.010136129334568977,
0.00690407445654273,
-0.009264659136533737,
0.04013839364051819,
-0.007640170399099588,
0.014730384573340416,
0.015813376754522324,
-0.03607717156410217,
-0.005960686597973108,
-0.0003804749867413193,
0.021964432671666145,
-0.0016340066213160753,
0.00659102201461792,
-0.019121577963232994,
-0.06613020598888397,
-0.03895387053489685,
-0.022556694224476814,
-0.03238823264837265,
-0.026448696851730347,
0.0042135161347687244,
0.004319277126342058,
0.003064952092245221,
0.003716439474374056,
0.0020358981564641,
0.02541646920144558,
0.03372504934668541,
0.030019186437129974,
0.011049902997910976,
0.03600948676466942,
-0.007255200762301683,
0.006557178683578968,
0.019138500094413757,
-0.011244503781199455,
0.03512955456972122,
-0.024011963978409767,
0.0005785123794339597,
0.07871998846530914,
0.003828546265140176,
-0.02561953105032444,
-0.03590795397758484,
0.006607943680137396,
-0.021659841760993004,
-0.001683714217506349,
0.01116835605353117,
-0.09042983502149582,
0.05452188104391098,
-0.039224617183208466,
-0.005478417035192251,
0.03716016560792923,
-0.015077279880642891,
0.07256046682596207,
0.022116728127002716,
0.004645020700991154,
0.03705863654613495,
-0.013994287699460983,
-0.06558870524168015,
-0.04142444580793381,
-0.06745009869337082,
-0.05692477151751518,
0.028377776965498924,
-0.009687702171504498,
-0.044402673840522766,
-0.07743393629789352,
0.045993320643901825,
0.03018840402364731,
-0.014620392583310604,
0.020932206884026527,
0.02526417374610901,
0.020086118951439857,
-0.05831235274672508,
-0.03739706799387932,
-0.02831009030342102,
0.029562298208475113,
0.009086980484426022,
-0.012048286385834217,
0.025145722553133965,
-0.014501940459012985,
0.04284587502479553,
0.03123755194246769,
-0.03638176620006561,
-0.03018840402364731,
-0.0007334521505981684,
0.02705788053572178,
0.0025213409680873156,
-0.06775469332933426,
-0.008625862188637257,
0.013825071044266224,
0.04463957995176315,
-0.010483024641871452,
0.020272258669137955,
0.029325393959879875,
-0.042812030762434006,
0.024502694606781006,
0.02721017599105835,
-0.01392660103738308,
0.04433498904109001,
0.05079909786581993,
0.014239653944969177,
0.039766114205121994,
-0.03760012984275818,
-0.08027678728103638,
-0.014341183938086033,
0.03162675350904465,
-0.02587335743010044,
-0.007915149442851543,
0.004763472825288773,
0.05868463218212128,
0.040273766964673996,
-0.02751476690173149,
0.02864852361381054,
-0.03145753592252731,
0.0017831295263022184,
-0.03489265218377113,
0.023639686405658722,
-0.06396421790122986,
-0.005351503845304251,
-0.025484157726168633,
0.006303352303802967,
-0.013317418284714222,
-0.01856316067278385,
-0.09963527321815491,
-0.02905464731156826,
0.0035387612879276276,
-0.0030797587241977453,
-0.019375404343008995,
-0.003303971840068698,
0.020966049283742905,
-0.01693021133542061,
-0.013342800550162792,
0.008414341136813164,
-0.001651985920034349,
-0.04321815073490143,
0.02521340921521187,
-0.05208515003323555,
0.06826234608888626,
-0.04541797935962677,
0.042608968913555145,
-0.0029295780695974827,
-0.008773927576839924,
0.013072052970528603,
0.0024663452059030533,
0.007657092530280352,
0.02895311638712883,
0.042710497975349426,
-0.008266275748610497,
0.015914907678961754,
0.01910465769469738,
-0.036043331027030945,
0.005609560292214155,
0.021507546305656433,
-0.07723087072372437,
0.030374543741345406,
-0.04413192719221115,
-0.03628023341298103,
-0.031508300453424454,
0.017733994871377945,
0.0255687665194273,
-0.011684468947350979,
-0.04541797935962677,
0.024587303400039673,
0.026448696851730347,
-0.0005285403458401561,
-0.011346033774316311,
-0.003856044029816985,
-0.06057986989617348,
-0.006117213051766157,
-0.0035810654517263174,
-0.011016059666872025,
-0.03665251284837723,
0.05282970517873764,
-0.012445948086678982,
-0.0464671291410923,
-0.01193829532712698,
0.018715456128120422,
-0.000553129764739424,
-0.0080801360309124,
0.03969842940568924,
-0.05949687585234642,
0.012158278375864029,
0.015686463564634323,
-0.06846540421247482,
-0.016524089500308037,
-0.04606100544333458,
-0.028970038518309593,
0.0680592805147171,
-0.016786377876996994,
0.013131278567016125,
0.043150465935468674,
0.04159366339445114,
0.019883057102560997,
-0.015703385695815086,
-0.06687475740909576,
0.03861543536186218,
0.0003392282233107835,
0.006806774530559778,
-0.014391949400305748,
0.015652619302272797,
-0.01268285233527422,
-0.035298772156238556,
0.024587303400039673,
0.00733980955556035,
0.0000360578706022352,
-0.043895021080970764,
-0.017429403960704803,
-0.04362427443265915,
0.012048286385834217,
-0.10917913913726807,
0.0028047801461070776,
-0.03556952252984047,
0.0862332433462143,
0.01582183688879013,
0.029782282188534737,
0.009721546433866024,
-0.04866695776581764,
0.0015716076595708728,
-0.04744859039783478,
-0.034249622374773026,
-0.06183207780122757,
-0.030712978914380074,
0.0017196729313582182,
0.01556801050901413,
-0.014941906556487083,
0.04392886534333229,
-0.07344040274620056,
0.0703267976641655,
0.014544244855642319,
-0.023656608536839485,
-0.056789398193359375,
0.0029380391351878643,
-0.018495474010705948,
0.0371263213455677,
0.020272258669137955,
0.021558310836553574,
-0.0010750599903985858,
-0.059666093438863754,
-0.04782086983323097,
0.011083747260272503,
-0.007403266150504351,
0.003557798219844699,
0.007758622989058495,
0.03621254861354828,
0.021372171118855476,
0.04067989066243172,
-0.0260764192789793,
-0.019933823496103287,
0.015779532492160797,
-0.0027117105200886726,
-0.009112362749874592,
0.010313807055354118,
0.007982836104929447,
0.012598243542015553,
-0.06623173505067825,
-0.001453155418857932,
-0.0028640064410865307,
0.047583963721990585,
-0.01618565432727337,
-0.013325879350304604,
0.0071832831017673016,
0.03184673562645912
] |
708,689
|
pathvalidate._base
|
is_valid
| null |
def is_valid(self, value: PathType) -> bool:
try:
self.validate(value)
except (TypeError, ValidationError):
return False
return True
|
(self, value: ~PathType) -> bool
|
[
0.09868364781141281,
0.003775410121306777,
0.0014716967707499862,
0.011004229076206684,
-0.01060658972710371,
-0.00374731607735157,
0.03672110289335251,
-0.021956592798233032,
-0.014271784573793411,
0.018481573089957237,
0.08990100771188736,
0.02852628193795681,
0.09979011863470078,
0.002926104934886098,
0.0214725099503994,
-0.015931496396660805,
-0.005787377245724201,
0.025690941140055656,
0.026036715134978294,
0.01677864044904709,
-0.03274471312761307,
-0.016043871641159058,
-0.0017137379618361592,
-0.011678487062454224,
-0.0064400238916277885,
0.08506018668413162,
0.028180507943034172,
-0.0006737172952853143,
0.033280663192272186,
0.010909141041338444,
0.016320491209626198,
0.012888692319393158,
0.04871943220496178,
0.028630012646317482,
0.022993911057710648,
-0.005882464814931154,
-0.040040526539087296,
-0.007274201605468988,
-0.06203169375658035,
-0.0436711423099041,
-0.0192249845713377,
0.10048166662454605,
-0.057190872728824615,
0.037516381591558456,
0.007308778818696737,
-0.050690338015556335,
-0.04640275239944458,
0.06452126055955887,
-0.04740549251437187,
0.025932982563972473,
0.02472277730703354,
-0.03034158982336521,
0.0010648730676621199,
-0.04090495780110359,
-0.013562950305640697,
0.000018369195458944887,
0.04342910274863243,
0.07786810398101807,
0.014868243597447872,
-0.019605334848165512,
-0.013649393804371357,
-0.007654552347958088,
0.025379745289683342,
-0.08374624699354172,
0.022492541000247,
-0.0027661847416311502,
0.0090678995475173,
-0.05117442086338997,
-0.010805409401655197,
0.06701082736253738,
-0.018291397020220757,
0.009093833155930042,
-0.04194227606058121,
0.006478923372924328,
-0.016994748264551163,
-0.0042465259321033955,
-0.027316074818372726,
0.07482530176639557,
0.019709067419171333,
-0.032813869416713715,
-0.014072965830564499,
-0.021541664376854897,
0.0009411511709913611,
-0.0547013059258461,
-0.024757353588938713,
0.04266840219497681,
-0.028733745217323303,
-0.006500534247606993,
-0.007045126985758543,
0.0973697081208229,
-0.0162513367831707,
-0.0247400663793087,
-0.05829734727740288,
-0.0665958970785141,
0.013511084020137787,
0.0355454757809639,
0.06244662404060364,
-0.06528196483850479,
-0.04733633995056152,
-0.019432447850704193,
0.014678068459033966,
0.02420411817729473,
0.044189803302288055,
0.016571175307035446,
0.04972217231988907,
0.038588277995586395,
-0.010329971089959145,
-0.018844634294509888,
-0.023270530626177788,
-0.0038207927718758583,
-0.002649486530572176,
-0.0016705163288861513,
0.04087037965655327,
0.030756518244743347,
-0.025033973157405853,
-0.03547631949186325,
0.007952781394124031,
-0.028595436364412308,
-0.05473588407039642,
-0.010796764865517616,
0.0258292518556118,
0.04813161492347717,
-0.007075382396578789,
-0.019000232219696045,
0.07205911725759506,
0.07510191947221756,
-0.03803504258394241,
0.00769777363166213,
0.015749964863061905,
0.015144862234592438,
-0.04014425724744797,
0.029822930693626404,
0.016277268528938293,
0.039591021835803986,
-0.030739229172468185,
0.032087743282318115,
-0.01905209757387638,
-0.016372356563806534,
-0.025414323434233665,
0.045538317412137985,
-0.01659710891544819,
0.03502681478857994,
0.05228089541196823,
-0.06548942625522614,
0.017383743077516556,
0.036064136773347855,
-0.028145931661128998,
0.04764753580093384,
-0.008678904734551907,
0.033989496529102325,
0.014678068459033966,
0.019467025995254517,
0.041561927646398544,
0.02852628193795681,
-0.04989505931735039,
-0.0664575919508934,
0.003827276173979044,
-0.010874563828110695,
0.04578036069869995,
-0.0399022176861763,
-0.04253009334206581,
-0.0025435935240238905,
0.005973230581730604,
-0.05473588407039642,
-0.00812566839158535,
0.05743291229009628,
-0.013476506806910038,
-0.0002694599097594619,
0.01677864044904709,
0.015853697434067726,
0.024498024955391884,
0.011263558641076088,
0.006197982933372259,
0.04304875060915947,
0.04059376195073128,
-0.014548403210937977,
0.020556211471557617,
0.014107543043792248,
0.009102476760745049,
-0.0031854347325861454,
-0.0002693248388823122,
-0.008609750308096409,
-0.0012653134763240814,
0.05055202916264534,
0.057363759726285934,
0.009491471573710442,
-0.019069386646151543,
-0.05449384078383446,
0.02131691202521324,
0.023754611611366272,
-0.04384402930736542,
0.04052460938692093,
0.06860138475894928,
-0.0011864339467138052,
-0.02057350054383278,
-0.028854764997959137,
0.05656848102807999,
-0.009232142008841038,
0.008972812443971634,
0.018550727516412735,
0.0488923154771328,
-0.06676878780126572,
0.009093833155930042,
0.018446994945406914,
-0.034629177302122116,
-0.005152019206434488,
-0.02899307571351528,
0.022544406354427338,
0.015335037373006344,
0.002385834464803338,
-0.08243230730295181,
-0.05473588407039642,
0.016804572194814682,
0.06666505336761475,
0.03755095973610878,
-0.05117442086338997,
-0.011306780390441418,
-0.024601755663752556,
0.008493051864206791,
0.02843983843922615,
0.09453436732292175,
0.07074517756700516,
0.08761890232563019,
-0.042391784489154816,
0.04159650579094887,
-0.01065845601260662,
0.009932332672178745,
0.00453394977375865,
-0.05653390288352966,
-0.009647069498896599,
-0.010502858087420464,
-0.04958386346697807,
-0.02510312758386135,
0.023132219910621643,
-0.0435328334569931,
0.01932871714234352,
0.06822103261947632,
0.03186299279332161,
-0.01669219695031643,
0.006353580858558416,
0.037689268589019775,
-0.037862155586481094,
-0.0255353432148695,
-0.057709529995918274,
-0.026849281042814255,
0.030462611466646194,
-0.0019482153002172709,
0.0014868243597447872,
-0.032277919352054596,
-0.03490579500794411,
-0.025397034361958504,
0.051762234419584274,
-0.008021935820579529,
0.0010232722852379084,
-0.017997490242123604,
0.034162383526563644,
-0.045642051845788956,
-0.06676878780126572,
0.09335874021053314,
-0.004121183417737484,
-0.02555263228714466,
0.010191662237048149,
0.006293070502579212,
0.08665074408054352,
-0.022717293351888657,
-0.0321396104991436,
0.058262769132852554,
0.038415390998125076,
-0.00911112129688263,
-0.005947297438979149,
0.028854764997959137,
0.03637533262372017,
-0.03079109452664852,
0.023408839479088783,
0.031015846878290176,
0.01696017012000084,
0.04826992377638817,
-0.017271365970373154,
0.010079286061227322,
-0.01804935559630394,
-0.010520147159695625,
-0.014193985611200333,
0.04045545309782028,
-0.04477761685848236,
-0.028301529586315155,
-0.0027402518317103386,
0.02076367475092411,
0.018083933740854263,
-0.036790259182453156,
0.002297230064868927,
-0.01689101569354534,
-0.04488134756684303,
0.0021146186627447605,
0.004127666354179382,
0.01687372848391533,
0.028958497568964958,
0.042115163058042526,
-0.09121494740247726,
-0.030981270596385002,
-0.05100153386592865,
-0.00852762907743454,
-0.013537016697227955,
-0.004391318652778864,
0.0002273188001709059,
0.05235004797577858,
0.02104029431939125,
-0.013718548230826855,
0.03440442308783531,
-0.004555560648441315,
0.020158572122454643,
-0.04501966014504433,
0.020780963823199272,
-0.0825706198811531,
-0.0011496955994516611,
0.07043398171663284,
0.005389738362282515,
-0.0020227725617587566,
-0.041838545352220535,
-0.05124357342720032,
0.04667937010526657,
-0.036409907042980194,
0.048339080065488815,
-0.01905209757387638,
-0.012784960679709911,
-0.050966955721378326,
-0.005783054977655411,
0.05974959209561348,
-0.00016451235569547862,
-0.05570404604077339,
0.025137705728411674,
0.00902467779815197,
-0.01723678968846798,
0.07205911725759506,
0.008795603178441525,
0.05037914216518402,
-0.02852628193795681,
-0.018844634294509888,
-0.0015819119289517403,
0.009180275723338127,
0.02914867363870144,
0.033090487122535706,
0.001956859603524208,
0.037412650883197784,
-0.07344220578670502,
0.01237003318965435,
-0.005242784507572651,
-0.026572663336992264,
0.038588277995586395,
0.03255453705787659,
0.0258292518556118,
-0.08616665750741959,
0.03713603317737579,
-0.02264813892543316,
-0.05145103856921196,
-0.0351824127137661,
0.00457717152312398,
0.0247400663793087,
0.00645731296390295,
-0.019294138997793198,
-0.012465120293200016,
0.12703703343868256,
-0.03139619901776314,
-0.013571594841778278,
-0.018014779314398766,
-0.003913719207048416,
-0.00023096562654245645,
0.001585153630003333,
-0.02264813892543316,
0.037516381591558456,
0.01822224259376526,
0.04415522515773773,
0.019467025995254517,
0.020089417695999146,
-0.042115163058042526,
0.024480735883116722,
0.0101570850238204,
0.028664590790867805,
-0.004689547698944807,
0.002882883185520768,
0.06825561076402664,
0.057467490434646606,
0.04692140966653824,
0.06438295543193817,
-0.015378259122371674,
0.05331821367144585,
-0.02148979902267456,
0.011747641488909721,
-0.015335037373006344,
-0.10262545943260193,
-0.033712878823280334,
-0.0027186409570276737,
-0.023356974124908447,
-0.021714551374316216,
-0.027558116242289543,
-0.02987479604780674,
-0.007274201605468988,
0.03530343249440193,
0.01634642295539379,
-0.040213413536548615,
0.020608076825737953,
0.018360551446676254,
0.0029088163282722235,
-0.03499223664402962,
0.06853222846984863,
0.037689268589019775,
-0.012076125480234623,
-0.0028785611502826214,
0.03115415759384632,
-0.028042199090123177,
-0.011626620776951313,
0.022786447778344154,
-0.07973527908325195,
0.007511920761317015,
0.007827438414096832,
0.005951619707047939,
0.029096806421875954,
-0.017401032149791718,
-0.009733512997627258,
0.00483217928558588,
-0.010217594914138317,
0.007632941473275423,
0.044189803302288055,
-0.008739415556192398,
0.03713603317737579,
0.044362690299749374,
-0.0055194031447172165,
0.0008936073863878846,
0.0036479062400758266,
0.04059376195073128,
0.00778853939846158,
-0.02754082717001438,
-0.01950160227715969,
-0.028405260294675827,
-0.030013104900717735,
-0.013303619809448719,
-0.024480735883116722,
-0.017807314172387123,
-0.01706390269100666,
-0.020988427102565765,
-0.033972207456827164,
-0.01894836686551571,
0.009102476760745049,
0.01905209757387638,
0.03575294092297554,
0.0870656669139862,
-0.014539758674800396,
0.010857275687158108,
0.005739833693951368,
0.04453557729721069,
-0.004702514037489891,
-0.05857396498322487,
-0.006388158071786165,
0.014289073646068573,
-0.03042803332209587,
-0.03620244562625885,
0.06452126055955887,
-0.045814935117959976,
-0.028145931661128998,
-0.018931077793240547,
0.014747222885489464,
-0.0003746775910258293,
0.04342910274863243,
-0.0635530948638916,
-0.06656132638454437,
-0.025690941140055656,
0.06400260329246521,
-0.016130315139889717,
0.057260025292634964,
0.05162392556667328,
0.040662918239831924,
-0.07351136207580566,
-0.03260640427470207,
-0.005584235768765211,
0.012335455976426601,
0.016476089134812355,
0.05577320232987404,
0.047440070658922195,
0.05027541145682335,
-0.03277929127216339,
-0.03130975365638733,
-0.006880884990096092,
-0.020469767972826958,
-0.017357809469103813,
0.06189338490366936,
-0.011566109955310822,
-0.00961249228566885,
-0.027731003239750862,
0.05037914216518402,
-0.017807314172387123,
-0.012387321330606937,
-0.0026386810932308435,
-0.0827089250087738,
-0.04460472986102104,
0.03466375544667244,
0.020608076825737953,
-0.006807407829910517,
-0.021956592798233032,
0.005182274617254734,
-0.005796021781861782,
0.030479898676276207,
-0.010269461199641228,
0.08941692858934402,
0.0225616954267025,
0.03366101160645485,
0.03366101160645485,
0.01543876901268959,
0.007192080374807119,
-0.01616489328444004,
-0.018568016588687897,
-0.007702095899730921,
-0.054666727781295776,
0.03827708214521408,
0.024065807461738586,
0.06839392334222794,
0.042737554758787155,
0.05169307813048363,
0.016113026067614555,
-0.053214479237794876,
0.0030384811107069254,
-0.026036715134978294,
0.00811702385544777,
0.024221405386924744,
0.03232978656888008,
-0.03125789016485214,
-0.017547985538840294,
0.0035139191895723343,
-0.07551684975624084,
-0.026831993833184242,
0.03644448518753052,
-0.010079286061227322,
0.07842133939266205,
0.05909262225031853,
0.06417548656463623,
0.027834735810756683,
0.028664590790867805,
-0.0003922363684978336,
-0.01787647046148777,
-0.027212344110012054,
-0.08374624699354172,
-0.0015084351180121303,
-0.012257657013833523,
0.004961844068020582,
-0.00372354406863451,
-0.02797304466366768,
-0.008601105771958828,
-0.026780126616358757,
0.04501966014504433,
-0.07869795709848404,
0.0180666446685791,
-0.019536180421710014,
0.006063995882868767,
0.014193985611200333,
0.026745550334453583,
-0.0019449737155809999,
0.03302133083343506,
0.03834623843431473,
0.016899660229682922,
0.018291397020220757,
0.0018671747529879212,
0.011808151379227638,
-0.0012599107576534152,
-0.04792415350675583,
-0.008549240417778492,
-0.022336943075060844,
-0.04515796899795532,
-0.06306901574134827,
-0.030393455177545547,
-0.048961471766233444,
0.03175925835967064,
0.000006259539986785967,
-0.03355728089809418,
-0.038138773292303085,
0.03817335143685341,
-0.03637533262372017,
0.03535529971122742,
0.000800680834800005,
-0.05418264493346214,
0.01579318754374981,
-0.06286155432462692,
-0.03609871119260788,
0.020366035401821136,
-0.028664590790867805,
0.012084770016372204,
-0.02852628193795681,
0.03433527052402496,
-0.03851912543177605,
-0.0144014498218894,
0.02185286022722721,
-0.04311790689826012,
-0.058262769132852554,
-0.024255983531475067,
0.03793130815029144,
-0.021610818803310394,
-0.021818282082676888,
0.030013104900717735,
-0.012923269532620907,
-0.009102476760745049,
-0.04847738891839981,
-0.01218850165605545,
0.028595436364412308,
-0.04087037965655327,
0.00347718084231019,
0.015101640485227108,
0.0004327566421125084,
-0.01169577520340681,
0.00753785390406847,
0.029131384566426277,
0.044915925711393356,
-0.0033410326577723026,
-0.0660080835223198,
0.03392034024000168,
0.013519728556275368,
-0.006504856515675783,
-0.007032160647213459,
0.01668355241417885,
-0.013156666420400143,
0.009543337859213352,
0.016406934708356857,
-0.03094669245183468,
0.017452897503972054,
0.007918204180896282,
-0.02871645614504814,
0.02411767467856407,
-0.012110702693462372,
-0.034075938165187836,
-0.02382376790046692,
0.0005148777854628861,
-0.0010772993555292487,
-0.054562997072935104,
-0.09965180605649948,
0.061409302055835724,
-0.022821025922894478,
-0.04723260551691055,
-0.014591624960303307,
0.0022864246275275946,
-0.05968043953180313,
-0.02835339494049549,
-0.0014544081641361117,
0.0354071669280529,
0.015542501583695412,
-0.0976463258266449,
-0.044466421008110046,
-0.07122925668954849,
0.010183017700910568,
-0.039210669696331024,
0.03239893913269043,
-0.015283171087503433,
-0.05003336817026138,
0.07316558808088303,
0.03934897854924202,
-0.004559882916510105,
0.07122925668954849,
-0.008091090247035027,
-0.04429353401064873,
0.0634147897362709,
0.05134730786085129,
0.039487287402153015,
-0.011030161753296852,
-0.04954928532242775,
-0.01760849542915821,
-0.039314400404691696,
-0.0236508809030056,
0.014825021848082542,
-0.00724826892837882,
0.005644746124744415,
0.021195892244577408,
0.00811702385544777,
-0.04837365821003914,
-0.008320165798068047,
0.029909374192357063,
-0.056810520589351654,
0.0026667751371860504,
-0.03644448518753052,
0.0022561694495379925,
-0.007075382396578789,
0.015092995949089527,
-0.07959696650505066,
-0.04197685420513153,
-0.009318585507571697,
0.010667100548744202,
-0.05891973897814751,
0.027731003239750862,
-0.03149992972612381,
0.04667937010526657,
-0.005610168445855379,
-0.029408002272248268,
-0.005709578283131123,
0.022717293351888657,
0.03277929127216339,
-0.029771065339446068,
-0.034248825162649155,
-0.04370572045445442,
-0.046264439821243286,
0.01932871714234352,
-0.04612613096833229,
-0.031361620873212814,
0.0122230788692832,
0.06483245640993118,
0.034162383526563644,
0.03475019708275795,
-0.018982943147420883,
-0.006561044603586197,
0.02384105511009693,
0.030756518244743347,
0.01502384152263403,
-0.03521699085831642,
-0.040317144244909286,
-0.012741738930344582,
-0.013286331668496132,
0.012015615589916706,
0.015101640485227108,
0.003913719207048416,
-0.0004694950475823134,
-0.07973527908325195,
-0.02003755234181881,
-0.032087743282318115,
0.0009162987116724253,
0.0034490867983549833,
0.05930008739233017,
-0.04349825531244278,
0.003827276173979044,
-0.006401124410331249,
-0.025863828137516975,
-0.021420644596219063,
-0.020642654970288277,
-0.030393455177545547,
-0.04253009334206581,
-0.026157734915614128,
0.04522712156176567,
-0.014617557637393475,
-0.02951173484325409,
0.03246809542179108,
-0.031914856284856796,
0.0399022176861763,
-0.0003257830976508558,
-0.02257898449897766,
-0.06372598558664322,
0.006146117113530636,
-0.024930240586400032,
0.01543876901268959,
0.07932034879922867,
-0.01489417627453804,
0.020089417695999146,
-0.07413375377655029,
-0.013571594841778278,
0.042288050055503845,
-0.00017113066860474646,
0.008147278800606728,
-0.011652553454041481,
-0.007053771521896124,
0.042391784489154816,
-0.04384402930736542,
-0.018844634294509888,
0.032087743282318115,
0.07316558808088303,
-0.028111353516578674,
-0.016113026067614555,
0.011972393840551376,
-0.0288720540702343,
0.013044290244579315,
-0.048166193068027496,
0.04450099915266037,
0.0016975298058241606,
-0.011531532742083073,
0.002831017365679145,
0.005350838880985975,
-0.019190408289432526,
0.005528047680854797
] |
708,690
|
pathvalidate._base
|
validate
| null |
@abc.abstractmethod
def validate(self, value: PathType) -> None: # pragma: no cover
pass
|
(self, value: ~PathType) -> NoneType
|
[
0.043323058634996414,
-0.019345412030816078,
-0.005477867554873228,
0.04518928378820419,
-0.03745778277516365,
-0.04655562341213226,
0.025460628792643547,
-0.015571306459605694,
0.0016589815495535731,
-0.022561315447092056,
0.09344450384378433,
0.016621058806777,
0.07284938544034958,
0.035758186131715775,
-0.025743894279003143,
0.000153218861669302,
0.03829091787338257,
0.05725308880209923,
0.015004774555563927,
-0.007394079584628344,
-0.030576081946492195,
-0.013563449494540691,
0.030576081946492195,
-0.0023723540361970663,
-0.0018308158032596111,
0.11930503696203232,
0.057086460292339325,
-0.0021661529317498207,
0.06581772118806839,
-0.017429199069738388,
-0.02792670950293541,
0.004898838233202696,
0.0293930284678936,
0.08591295778751373,
0.015021436847746372,
-0.02081173099577427,
-0.01616283319890499,
0.08437998592853546,
-0.11957164108753204,
-0.0013246858725324273,
-0.05118785798549652,
0.07164967060089111,
0.021228298544883728,
-0.040490396320819855,
0.015787921845912933,
-0.023527752608060837,
-0.0587860569357872,
0.03739113360643387,
-0.04775534197688103,
0.022044772282242775,
-0.008393842726945877,
-0.021161647513508797,
-0.015987874940037727,
-0.015446336939930916,
0.011905509978532791,
0.06018572673201561,
0.03259227052330971,
0.0587860569357872,
0.012472041882574558,
0.019695328548550606,
-0.04368963837623596,
-0.015163070522248745,
0.05298743396997452,
-0.06515121459960938,
0.0029347206000238657,
-0.019328748807311058,
-0.030509430915117264,
-0.04012381657958031,
0.02709357440471649,
0.06568442285060883,
-0.015962880104780197,
0.014338266104459763,
-0.0022807091008871794,
0.040523722767829895,
0.06825047731399536,
-0.00168709980789572,
-0.03499170020222664,
0.03592481464147568,
0.07484891265630722,
-0.03559155762195587,
-0.009864327497780323,
-0.031059300526976585,
-0.019328748807311058,
-0.04652230069041252,
-0.034391842782497406,
0.012347071431577206,
0.001767289126291871,
-0.03942398354411125,
0.023061197251081467,
0.06945019215345383,
-0.054787006229162216,
-0.025343989953398705,
-0.06791722774505615,
0.008014765568077564,
0.01984529383480549,
0.0151880644261837,
0.027176886796951294,
-0.06008574739098549,
-0.05292078107595444,
-0.01253036130219698,
-0.00827303808182478,
0.04835519939661026,
0.01614616997539997,
0.0007373251137323678,
0.016696039587259293,
-0.017195921391248703,
-0.0020651351660490036,
-0.034891724586486816,
-0.03022616356611252,
0.020078571513295174,
-0.047522060573101044,
-0.013888373039662838,
-0.01757916435599327,
-0.003078436478972435,
-0.04492267966270447,
0.024960746988654137,
-0.031142612919211388,
-0.04985484108328819,
-0.013896703720092773,
-0.007252446375787258,
0.027143562212586403,
0.035791512578725815,
-0.03935733065009117,
0.006944186519831419,
0.10284227877855301,
0.056619904935359955,
-0.03545825555920601,
0.021078333258628845,
-0.0041927555575966835,
-0.004253157880157232,
-0.00046941990149207413,
0.06695079058408737,
0.006090222392231226,
0.021694853901863098,
-0.0010862007038667798,
0.06438472867012024,
-0.006548447068780661,
0.00944775901734829,
-0.023494428023695946,
0.015346360392868519,
0.017895756289362907,
-0.001148685929365456,
0.07331594824790955,
-0.06008574739098549,
0.027160225436091423,
0.028693195432424545,
-0.010139262303709984,
-0.027343515306711197,
-0.022877907380461693,
0.08484654128551483,
0.01350513007491827,
0.020611777901649475,
0.016904324293136597,
-0.0379909910261631,
0.0036887084133923054,
-0.03839089348912239,
0.012155449949204922,
-0.0031409217044711113,
0.03419189155101776,
-0.06651755422353745,
-0.05318738520145416,
-0.0541204959154129,
0.027393503114581108,
-0.06885033845901489,
0.016454430297017097,
0.055253561586141586,
-0.02416093647480011,
-0.02039516344666481,
0.004961323458701372,
0.014021674171090126,
-0.03370867297053337,
-0.01844562590122223,
-0.03502502664923668,
0.0015527567593380809,
0.024010971188545227,
-0.01281362771987915,
0.017762454226613045,
0.04968821629881859,
0.008414670825004578,
0.03895742818713188,
0.04632234573364258,
-0.02702692337334156,
-0.07758159935474396,
0.05148778855800629,
0.08477989584207535,
0.05582009255886078,
-0.03549158200621605,
0.0005967334727756679,
0.004657228942960501,
0.037691060453653336,
-0.06468465924263,
0.022411352023482323,
0.026660343632102013,
-0.02457750402390957,
0.011438953690230846,
-0.07304934412240982,
0.040490396320819855,
0.03319212794303894,
-0.03702455386519432,
0.08298031985759735,
0.021028345450758934,
-0.010897415690124035,
-0.01141395978629589,
0.02899312414228916,
-0.028576556593179703,
0.02471080608665943,
0.02647705376148224,
-0.009764350950717926,
-0.05068797990679741,
-0.021078333258628845,
-0.052354250103235245,
-0.024527516216039658,
-0.030076200142502785,
0.030526094138622284,
0.036724623292684555,
-0.06031902879476547,
0.00041005900129675865,
0.015304703265428543,
0.016354454681277275,
0.0657510757446289,
0.10617481917142868,
0.07471561431884766,
0.03975723683834076,
-0.026310427114367485,
0.07431570440530777,
-0.03269224613904953,
0.031059300526976585,
-0.04868845269083977,
-0.04222331941127777,
-0.030426116660237312,
-0.0232111606746912,
-0.050021469593048096,
0.04362298548221588,
0.03605811297893524,
-0.01652108132839203,
0.022378025576472282,
0.04109025374054909,
-0.009747687727212906,
-0.048088595271110535,
0.020545126870274544,
-0.027793407440185547,
-0.004615571815520525,
-0.030576081946492195,
0.022444676607847214,
-0.030059536918997765,
-0.036724623292684555,
-0.013755070976912975,
0.04875510185956955,
-0.002401513746008277,
-0.009889321401715279,
-0.004798861686140299,
-0.023394450545310974,
-0.04488935321569443,
-0.017312560230493546,
-0.0006133961724117398,
0.02472746931016445,
-0.07264943420886993,
-0.03762441128492355,
0.0785147100687027,
0.0029388864059001207,
0.002847241470590234,
0.012288752011954784,
-0.0037324479781091213,
0.04272320121526718,
-0.03415856510400772,
-0.02709357440471649,
0.037657734006643295,
0.014229957945644855,
-0.03449181839823723,
0.04558918625116348,
-0.029992885887622833,
0.0408569760620594,
-0.02609381079673767,
0.03022616356611252,
0.0026202118024230003,
0.005540352780371904,
-0.005019642878323793,
0.001423620735295117,
-0.02897646091878414,
-0.03169248253107071,
0.013855047523975372,
-0.022094760090112686,
0.019745316356420517,
0.001004449324682355,
-0.06551779061555862,
-0.011872184462845325,
-0.0016027449164539576,
-0.05965251848101616,
-0.05205431953072548,
0.0029138922691345215,
0.02561059221625328,
-0.02217807248234749,
-0.045789141207933426,
0.038190942257642746,
0.05368726700544357,
-0.0016798098804429173,
0.0068567069247365,
-0.072049580514431,
0.01702929474413395,
-0.07818146049976349,
-0.011180681176483631,
-0.0016693957149982452,
-0.03235899284482002,
-0.013438479043543339,
-0.0006321417167782784,
-0.03652467206120491,
-0.008506315760314465,
0.02934304066002369,
-0.023411113768815994,
0.04792196676135063,
-0.035724859684705734,
0.03302549943327904,
-0.08591295778751373,
-0.004007382784038782,
0.07724834233522415,
0.017362548038363457,
0.009831001982092857,
0.008052256889641285,
-0.0006784849101677537,
0.07184962928295135,
-0.048088595271110535,
0.06335163861513138,
-0.029559655115008354,
-0.046688925474882126,
-0.05838615074753761,
-0.00723994942381978,
0.01889551803469658,
0.017229247838258743,
-0.01947871409356594,
0.02696027234196663,
-0.045289259403944016,
0.05911931023001671,
0.05911931023001671,
-0.023311138153076172,
-0.035691533237695694,
-0.022361362352967262,
0.012963592074811459,
-0.02369438111782074,
0.01162224356085062,
0.036291394382715225,
0.05358729138970375,
-0.01709594577550888,
0.018328987061977386,
-0.024760793894529343,
-0.008081416599452496,
0.004365631379187107,
-0.02556060440838337,
0.016821010038256645,
0.06798387318849564,
0.010239237919449806,
-0.009314457885921001,
-0.010880752466619015,
-0.041956715285778046,
-0.03792433813214302,
-0.003205489832907915,
-0.009689368307590485,
-0.015754597261548042,
0.004723879508674145,
-0.011288989335298538,
-0.04079032689332962,
0.08731262385845184,
-0.04025711864233017,
-0.043356385082006454,
-0.014671520330011845,
0.019795304164290428,
-0.011205676011741161,
0.022544652223587036,
-0.014571543782949448,
0.052320923656225204,
-0.027310188859701157,
-0.005027974024415016,
-0.016287803649902344,
-0.017729127779603004,
-0.08251376450061798,
0.00448227021843195,
0.044322822242975235,
0.05588674545288086,
0.01372174546122551,
-0.047522060573101044,
0.08384677767753601,
0.0539538711309433,
0.001359052723273635,
0.0003590294218156487,
-0.022011445835232735,
0.003438767744228244,
-0.04655562341213226,
0.029526330530643463,
0.059019334614276886,
-0.07158302515745163,
0.016787685453891754,
0.03539160639047623,
-0.04512263089418411,
-0.04132353141903877,
-0.066484235227108,
0.0060443999245762825,
-0.03029281459748745,
0.013380159623920918,
0.02409428544342518,
-0.05868608132004738,
0.030426116660237312,
0.029176414012908936,
-0.014829816296696663,
0.0009216563776135445,
0.03699122741818428,
0.029293052852153778,
0.014329934492707253,
0.05268750339746475,
0.009772682562470436,
-0.039557285606861115,
-0.006356825586408377,
0.030909335240721703,
-0.009631048887968063,
-0.021628202870488167,
-0.005369559861719608,
0.020211873576045036,
-0.02422758750617504,
0.033392079174518585,
-0.012347071431577206,
-0.0015746265416964889,
-0.007635688874870539,
0.02472746931016445,
0.02036183699965477,
0.005773630458861589,
0.06221857666969299,
0.04209001734852791,
0.02552727982401848,
0.008772918954491615,
0.04452277347445488,
-0.011372302658855915,
0.015887899324297905,
0.01746252551674843,
0.02707691118121147,
-0.12283753603696823,
-0.026660343632102013,
-0.017679139971733093,
-0.0264437273144722,
-0.02754346653819084,
-0.04792196676135063,
0.01162224356085062,
0.0064692990854382515,
-0.0308260228484869,
0.019545365124940872,
0.027310188859701157,
0.05362061411142349,
0.10477515310049057,
-0.05115453526377678,
-0.005127950571477413,
0.03702455386519432,
0.013921698555350304,
-0.06078558415174484,
-0.025443965569138527,
0.02979293465614319,
0.035258304327726364,
-0.013405153527855873,
-0.057619668543338776,
-0.014721508137881756,
-0.022144747897982597,
-0.025960508733987808,
-0.0008768753614276648,
-0.007706505712121725,
0.045255932956933975,
0.06531783938407898,
-0.03989053890109062,
-0.10497510433197021,
-0.005827784538269043,
0.05838615074753761,
-0.022428013384342194,
0.018612252548336983,
0.020961694419384003,
0.0033637855667620897,
-0.008148067630827427,
-0.05532021448016167,
-0.019595352932810783,
0.002524401294067502,
-0.012005485594272614,
0.05961919203400612,
0.03649134561419487,
0.021211635321378708,
-0.02222806215286255,
-0.021994782611727715,
0.008722931146621704,
-0.005902766715735197,
-0.011022386141121387,
0.06528451293706894,
0.018812205642461777,
-0.03370867297053337,
-0.0010565202683210373,
0.014988112263381481,
-0.02282791957259178,
-0.011055711656808853,
-0.01851227693259716,
0.002895146608352661,
-0.023827681317925453,
0.03224235400557518,
0.056586578488349915,
-0.024877432733774185,
-0.011788870207965374,
0.004153181798756123,
-0.0011861770180985332,
-0.01303024310618639,
-0.006852541584521532,
0.006498458795249462,
0.03922402858734131,
0.04305645450949669,
0.02519402466714382,
0.00010804729390656576,
-0.0007966860430315137,
-0.01996193267405033,
-0.011513935402035713,
-0.027360176667571068,
-0.04842184856534004,
0.055120259523391724,
0.03354204446077347,
0.04009049013257027,
0.03130923956632614,
0.007602363359183073,
-0.019212109968066216,
-0.029709620401263237,
-0.01562129519879818,
-0.0013528041308745742,
-0.02361106686294079,
-0.04512263089418411,
0.03565821051597595,
-0.05295410752296448,
0.012280420400202274,
-0.00570281408727169,
-0.04135685786604881,
-0.013796728104352951,
0.04685555398464203,
-0.001219502417370677,
0.03665797412395477,
0.026143798604607582,
0.04082364961504936,
0.043289732187986374,
0.01657940074801445,
0.04885508120059967,
-0.026293763890862465,
-0.013113556429743767,
-0.05435377359390259,
0.04842184856534004,
0.019045483320951462,
0.02552727982401848,
-0.014054999686777592,
-0.009222812950611115,
-0.010939071886241436,
-0.023311138153076172,
0.001036733272485435,
-0.04978819191455841,
0.004203169606626034,
-0.00012562124175019562,
-0.006565109360963106,
-0.006694245617836714,
0.014788159169256687,
0.03615809231996536,
0.03792433813214302,
-0.0011080704862251878,
0.04275652766227722,
0.012472041882574558,
-0.0032638092525303364,
0.007656517438590527,
-0.017262572422623634,
-0.013621768914163113,
-0.0030263655353337526,
0.009331120178103447,
-0.03274223580956459,
0.017395874485373497,
0.02086171880364418,
-0.011788870207965374,
0.02316117286682129,
-0.016362786293029785,
-0.03334209322929382,
-0.01139729656279087,
0.021028345450758934,
-0.05505361035466194,
-0.0010809935629367828,
0.05082127824425697,
-0.035758186131715775,
-0.030626069754362106,
-0.04735543578863144,
-0.06795055419206619,
0.013871709816157818,
-0.019178785383701324,
0.037191178649663925,
-0.0379909910261631,
0.010614149272441864,
-0.04182341322302818,
0.004051122348755598,
0.02850990556180477,
-0.05921928957104683,
-0.03852419555187225,
-0.054253797978162766,
-0.016879329457879066,
0.02512737363576889,
-0.04455609992146492,
-0.03252561762928963,
0.011497273109853268,
-0.022877907380461693,
-0.07184962928295135,
-0.017745791003108025,
-0.010514172725379467,
-0.036757949739694595,
0.027143562212586403,
0.035791512578725815,
0.03549158200621605,
0.015554644167423248,
0.02512737363576889,
-0.006094387732446194,
0.053287360817193985,
-0.046688925474882126,
-0.010997391305863857,
0.023361125960946083,
-0.001815194496884942,
0.05362061411142349,
-0.029493004083633423,
-0.008831238374114037,
-0.0068025533109903336,
-0.030509430915117264,
0.03792433813214302,
-0.013680088333785534,
0.01942872442305088,
-0.035358279943466187,
-0.0014840230578556657,
0.0027097740676254034,
0.030192838981747627,
-0.04075700044631958,
0.07078321278095245,
0.002068259520456195,
-0.0017037625657394528,
-0.012705319561064243,
-0.07044995576143265,
0.020761743187904358,
-0.015379685908555984,
-0.024294238537549973,
-0.020728416740894318,
0.007339925970882177,
-0.05835282802581787,
-0.004386459477245808,
0.010989060625433922,
0.012746976688504219,
0.03972391039133072,
-0.052354250103235245,
-0.022028109058737755,
-0.03359203413128853,
0.020695092156529427,
-0.04012381657958031,
0.041956715285778046,
-0.04209001734852791,
-0.047122158110141754,
0.0691835880279541,
0.005407050717622042,
-0.008872895501554012,
0.07144971936941147,
-0.04062369838356972,
-0.019612014293670654,
0.08871228992938995,
0.05152111500501633,
0.015096419490873814,
-0.02462749183177948,
-0.017712466418743134,
-0.016004538163542747,
-0.07584867626428604,
-0.011047380045056343,
0.024494189769029617,
0.014546549879014492,
-0.015887899324297905,
0.007006671745330095,
0.018362311646342278,
-0.09870991855859756,
0.017245909199118614,
-0.009264469146728516,
-0.0033596197608858347,
0.013671757653355598,
0.006481796037405729,
-0.003915737848728895,
-0.017279235646128654,
0.0226779542863369,
-0.012555355206131935,
-0.043356385082006454,
0.016421105712652206,
0.00903119146823883,
-0.01567128300666809,
-0.0036116433329880238,
-0.07084986567497253,
0.01602953113615513,
0.012938598170876503,
-0.006144376005977392,
0.007627357728779316,
0.026826970279216766,
0.03639136999845505,
-0.05838615074753761,
-0.004611406475305557,
-0.05718643590807915,
-0.00018029578495770693,
0.003384613897651434,
0.012988585978746414,
0.004823856055736542,
-0.021045008674263954,
-0.004257323686033487,
0.05168773978948593,
0.03300883620977402,
-0.004553086590021849,
-0.02651037834584713,
-0.002299454528838396,
0.02982625924050808,
0.03419189155101776,
-0.008181393146514893,
-0.05295410752296448,
0.003292968962341547,
-0.005040470976382494,
-0.028226638212800026,
0.009647712111473083,
0.0027201881166547537,
0.014563213102519512,
-0.08931215107440948,
-0.02651037834584713,
-0.030192838981747627,
0.03852419555187225,
0.0204284880310297,
0.02032851241528988,
-0.016237815842032433,
-0.018745554611086845,
-0.03162583336234093,
0.02274460531771183,
-0.02091170661151409,
-0.022594641894102097,
0.014938123524188995,
-0.07438235729932785,
-0.02031184919178486,
0.08444663882255554,
0.046289023011922836,
0.0002775383472908288,
0.0264437273144722,
-0.0465889498591423,
0.02985958382487297,
0.020028583705425262,
-0.04682222753763199,
-0.0641847774386406,
-0.03032614104449749,
0.0019401648314669728,
0.030142851173877716,
0.05405384674668312,
0.0029472175519913435,
-0.009980966337025166,
-0.03509167581796646,
0.03224235400557518,
0.012980254366993904,
0.01471317745745182,
0.0817139521241188,
-0.011747214011847973,
-0.023594403639435768,
0.006406813859939575,
-0.008997865952551365,
0.00724828103557229,
0.047655362635850906,
0.04042374715209007,
-0.015296371653676033,
0.03079269640147686,
-0.007519050035625696,
-0.007381582632660866,
0.0330754891037941,
-0.05262085422873497,
0.012705319561064243,
-0.007927286438643932,
0.011363971047103405,
0.01702929474413395,
0.022561315447092056,
-0.007394079584628344,
0.04502265527844429
] |
708,691
|
pathvalidate.error
|
ErrorReason
|
Validation error reasons.
|
class ErrorReason(enum.Enum):
"""
Validation error reasons.
"""
NULL_NAME = (_to_error_code(1001), "NULL_NAME", "the value must not be an empty")
RESERVED_NAME = (
_to_error_code(1002),
"RESERVED_NAME",
"found a reserved name by a platform",
)
INVALID_CHARACTER = (
_to_error_code(1100),
"INVALID_CHARACTER",
"invalid characters found",
)
INVALID_LENGTH = (
_to_error_code(1101),
"INVALID_LENGTH",
"found an invalid string length",
)
FOUND_ABS_PATH = (
_to_error_code(1200),
"FOUND_ABS_PATH",
"found an absolute path where must be a relative path",
)
MALFORMED_ABS_PATH = (
_to_error_code(1201),
"MALFORMED_ABS_PATH",
"found a malformed absolute path",
)
INVALID_AFTER_SANITIZE = (
_to_error_code(2000),
"INVALID_AFTER_SANITIZE",
"found invalid value after sanitizing",
)
@property
def code(self) -> str:
"""str: Error code."""
return self.__code
@property
def name(self) -> str:
"""str: Error reason name."""
return self.__name
@property
def description(self) -> str:
"""str: Error reason description."""
return self.__description
def __init__(self, code: str, name: str, description: str) -> None:
self.__name = name
self.__code = code
self.__description = description
def __str__(self) -> str:
return f"[{self.__code}] {self.__description}"
|
(value, names=None, *, module=None, qualname=None, type=None, start=1)
|
[
0.05004320293664932,
-0.03440244495868683,
-0.03494364768266678,
-0.03052382729947567,
-0.002861608751118183,
-0.10304497927427292,
0.024209797382354736,
-0.03882226720452309,
0.08031446486711502,
-0.09164363890886307,
0.01043619029223919,
0.039363469928503036,
0.06350110471248627,
-0.013232403434813023,
-0.012375500053167343,
0.027294650673866272,
0.010697771795094013,
0.03169643133878708,
-0.0036846876610070467,
0.025580843910574913,
0.013530065305531025,
0.05101736634969711,
-0.031155230477452278,
-0.014856011606752872,
0.011284074746072292,
0.08630377799272537,
0.0033802613615989685,
-0.03745121881365776,
0.02424587681889534,
-0.0790877416729927,
-0.03095678985118866,
0.0007830525282770395,
-0.05289353430271149,
0.014035187661647797,
-0.051991529762744904,
-0.028106454759836197,
-0.02336191199719906,
-0.005118874832987785,
-0.06746992468833923,
-0.0017171907238662243,
-0.05743963643908501,
0.03965211287140846,
-0.03481736779212952,
-0.008456290699541569,
-0.003603507298976183,
-0.07519108057022095,
-0.027529172599315643,
-0.0011883907718583941,
-0.08190199732780457,
0.0011286329245194793,
0.02448039874434471,
0.022044986486434937,
-0.013530065305531025,
-0.04459509626030922,
-0.0011196129489690065,
0.015794096514582634,
-0.017047882080078125,
0.016876501962542534,
-0.010409129783511162,
-0.001196283265016973,
-0.021846545860171318,
0.037054337561130524,
-0.012240199372172356,
-0.014828951098024845,
-0.02881001867353916,
-0.035557013005018234,
0.018924051895737648,
-0.02835901640355587,
-0.01632627844810486,
0.025562802329659462,
0.05282137542963028,
0.0008614141261205077,
-0.023073270916938782,
0.013503004796802998,
0.06404230743646622,
-0.023650553077459335,
-0.040987078100442886,
-0.00792410783469677,
0.0054616364650428295,
-0.015406234189867973,
0.049538079649209976,
0.036765698343515396,
-0.014305789023637772,
-0.05372337996959686,
0.047445427626371384,
-0.04813095182180405,
-0.015261913649737835,
-0.05747571587562561,
0.019555455073714256,
-0.017462804913520813,
-0.03018106520175934,
-0.030451666563749313,
-0.054372821003198624,
-0.01563173532485962,
0.018653450533747673,
0.001785968546755612,
0.007730177138000727,
-0.03846146538853645,
-0.018761690706014633,
-0.028106454759836197,
0.019411133602261543,
0.03986859321594238,
0.042610686272382736,
-0.01098641287535429,
0.0574035570025444,
0.007942148484289646,
-0.005587916821241379,
-0.03429420664906502,
0.03828106448054314,
-0.009498105384409428,
-0.04813095182180405,
-0.03918306902050972,
-0.01039109006524086,
-0.02231558784842491,
0.022441867738962173,
0.04015723243355751,
0.02381291426718235,
-0.025256121531128883,
-0.02467883937060833,
-0.007004063576459885,
0.025851445272564888,
0.05715099349617958,
-0.032959237694740295,
-0.02197282575070858,
0.04466725513339043,
0.03108306974172592,
-0.021485744044184685,
-0.02935122139751911,
0.03373496234416962,
0.024967480450868607,
-0.024119596928358078,
0.019537413492798805,
0.015424273908138275,
-0.024841200560331345,
0.007639976684004068,
0.06544943898916245,
-0.005335355643182993,
0.028918258845806122,
0.002287708455696702,
0.07071714103221893,
0.04935767874121666,
0.04780622944235802,
-0.0015582125633955002,
-0.02381291426718235,
0.0017566534224897623,
0.001817538752220571,
0.012808461673557758,
0.024336077272892,
0.01673218049108982,
0.04427037388086319,
-0.00006923588080098853,
-0.03654921427369118,
-0.05235233157873154,
0.034691087901592255,
0.024859240278601646,
-0.03442048653960228,
0.006503451149910688,
-0.07151090353727341,
-0.008284909650683403,
0.005840477999299765,
0.005863028112798929,
-0.0584137998521328,
0.015388194471597672,
-0.03041558712720871,
0.011166813783347607,
0.049862802028656006,
0.02401135489344597,
-0.03364476189017296,
-0.010400109924376011,
-0.01640745811164379,
-0.026591088622808456,
-0.02045745775103569,
0.042827166616916656,
0.05155856907367706,
-0.035232290625572205,
0.04510021582245827,
0.001044069998897612,
0.029170820489525795,
0.010300889611244202,
-0.0584498830139637,
0.022441867738962173,
0.02835901640355587,
-0.05964052677154541,
-0.003779398277401924,
0.017399663105607033,
-0.012591980397701263,
-0.04524453729391098,
0.030271265655755997,
0.031028948724269867,
-0.017976947128772736,
0.00023043392866384238,
0.0024557069409638643,
0.04307972639799118,
0.06761424243450165,
-0.028395097702741623,
-0.033608682453632355,
0.010869151912629604,
-0.01980801485478878,
0.07735589146614075,
-0.02337995171546936,
-0.013584185391664505,
0.1136525496840477,
-0.010535410605370998,
0.037306901067495346,
-0.020493539050221443,
-0.01077895238995552,
0.008221769705414772,
-0.04773407056927681,
-0.039904672652482986,
-0.03763161972165108,
-0.04910511523485184,
0.002203145530074835,
-0.0007576836505904794,
0.06642360240221024,
0.020367257297039032,
-0.0379202626645565,
0.02803429588675499,
0.026681289076805115,
-0.0034005562774837017,
0.04809487238526344,
0.04578574001789093,
-0.032309796661138535,
0.06054253131151199,
-0.03559309244155884,
0.04556925967335701,
0.01662394031882286,
0.006823662668466568,
-0.01320534385740757,
-0.005723217502236366,
0.06285165995359421,
-0.017462804913520813,
-0.027962135151028633,
-0.03039754554629326,
-0.02285679057240486,
-0.016804341226816177,
0.08074742555618286,
0.03961602970957756,
-0.03853362426161766,
-0.023325832560658455,
0.007288195192813873,
-0.05033184215426445,
-0.026356566697359085,
-0.009885967709124088,
0.07320667058229446,
0.0703202560544014,
-0.043151888996362686,
0.03429420664906502,
0.03083050809800625,
-0.0476258285343647,
-0.023235632106661797,
-0.05487794429063797,
0.008817092515528202,
0.00006881306762807071,
-0.01721024326980114,
0.0038425384555011988,
-0.022550107911229134,
-0.05134208872914314,
-0.017616145312786102,
0.06833584606647491,
0.028503337875008583,
0.010670711286365986,
-0.04412605240941048,
0.0015153673011809587,
0.01601959764957428,
-0.010553451254963875,
-0.04275500774383545,
0.003788418136537075,
0.037595540285110474,
0.0465434230864048,
0.0015187498647719622,
0.11422982811927795,
0.01905033178627491,
-0.05426458269357681,
0.02229754813015461,
-0.015776056796312332,
0.057836517691612244,
-0.015460354276001453,
0.05285745486617088,
0.00904710404574871,
-0.026374606415629387,
0.003339671064168215,
-0.01805812679231167,
-0.00847433041781187,
0.021305343136191368,
0.03485344722867012,
0.030920708552002907,
-0.005993818864226341,
-0.0693100169301033,
-0.01606469787657261,
0.05098128691315651,
0.013088082894682884,
-0.023524273186922073,
0.014251668937504292,
-0.024841200560331345,
0.051991529762744904,
0.031678393483161926,
0.0692739337682724,
-0.02922494150698185,
0.015252893790602684,
-0.02242382802069187,
-0.011238974519073963,
0.0659906342625618,
0.07374787330627441,
-0.029928503558039665,
-0.08255143463611603,
-0.05249665305018425,
0.020295098423957825,
-0.05163072794675827,
-0.0012571685947477818,
-0.0007943275850266218,
-0.013385744765400887,
0.014017147943377495,
0.015243873000144958,
0.014747771434485912,
0.04993496090173721,
0.0552387461066246,
0.03911091014742851,
-0.04250244423747063,
-0.011861356906592846,
0.032309796661138535,
-0.0028773939702659845,
-0.007734687067568302,
0.01805812679231167,
-0.059460125863552094,
-0.05473362281918526,
-0.04145611822605133,
-0.0023677614517509937,
0.024967480450868607,
0.02866569720208645,
-0.06198573857545853,
-0.003515562042593956,
-0.0930146872997284,
-0.0015097297728061676,
-0.04243028536438942,
0.0009487958159297705,
-0.004794152919203043,
0.06479999423027039,
-0.016741201281547546,
0.01982605643570423,
-0.001909994171001017,
0.047156788408756256,
-0.04502805694937706,
-0.036206454038619995,
0.006539531517773867,
0.018175387755036354,
-0.03635077551007271,
-0.003982349298894405,
0.0390026681125164,
0.02164810337126255,
0.03802850469946861,
0.008194709196686745,
0.034673046320676804,
-0.03505188971757889,
-0.01850912906229496,
0.03505188971757889,
-0.03214743360877037,
-0.028196655213832855,
-0.05473362281918526,
0.03532249107956886,
0.029802223667502403,
0.07872693985700607,
-0.046074382960796356,
0.005714197643101215,
-0.019212692975997925,
-0.04567750170826912,
-0.042141642421483994,
0.012204119004309177,
-0.016218038275837898,
0.022568149492144585,
0.0070626940578222275,
0.024642758071422577,
-0.010174608789384365,
0.027457011863589287,
-0.041528280824422836,
0.018491089344024658,
0.005393986124545336,
0.04358484968543053,
0.024642758071422577,
-0.029603783041238785,
0.032003115862607956,
0.025941645726561546,
-0.029459461569786072,
-0.042141642421483994,
0.028413137421011925,
-0.013530065305531025,
-0.01494621206074953,
0.04470333456993103,
0.008262359537184238,
-0.024318037554621696,
0.05015144124627113,
-0.034889526665210724,
-0.03831714391708374,
0.055383067578077316,
0.02015077695250511,
0.0011872631730511785,
0.005218095146119595,
-0.06678440421819687,
0.0035584070719778538,
-0.023091310635209084,
-0.005344375967979431,
-0.028719818219542503,
0.017832625657320023,
-0.0029450440779328346,
0.03573741391301155,
0.01714710332453251,
0.01959153451025486,
-0.011491535231471062,
0.07353139668703079,
-0.05642939358949661,
0.054589301347732544,
-0.024299997836351395,
-0.014819931238889694,
0.006205789744853973,
-0.0508730448782444,
-0.023001110181212425,
0.005010634195059538,
-0.003339671064168215,
-0.012961802072823048,
0.0014386969851329923,
-0.0003058358561247587,
-0.0022843258921056986,
-0.06891313195228577,
0.05188329145312309,
0.07086145877838135,
-0.00363733246922493,
0.04297148808836937,
0.011509575881063938,
0.017201222479343414,
-0.00995812751352787,
-0.001593165216036141,
0.01640745811164379,
0.053759459406137466,
-0.04971848055720329,
-0.10275633633136749,
-0.008424720726907253,
-0.03972427174448967,
-0.058594200760126114,
-0.005741257686167955,
-0.027348771691322327,
0.007707627024501562,
-0.0025233570486307144,
0.01649765856564045,
0.03364476189017296,
0.12606412172317505,
0.04012115299701691,
-0.04578574001789093,
-0.01883385144174099,
0.008190199732780457,
-0.008492371067404747,
-0.022135186940431595,
-0.028629617765545845,
0.021846545860171318,
-0.014657570980489254,
-0.03799242153763771,
0.013773606158792973,
0.009380845353007317,
-0.09243740886449814,
-0.010102448984980583,
-0.0335545614361763,
-0.03312160074710846,
0.056248992681503296,
0.04917727783322334,
-0.03954387083649635,
-0.023632513359189034,
-0.04055411368608475,
0.02567104436457157,
0.08089175075292587,
-0.030595988035202026,
0.009232014417648315,
0.04921335726976395,
-0.07988150417804718,
0.004302560817450285,
0.05610467121005058,
0.018491089344024658,
-0.0031254449859261513,
0.0195013340562582,
-0.002347466303035617,
-0.02974810265004635,
-0.029044540598988533,
0.003251725574955344,
0.07342315465211868,
-0.0019742620643228292,
0.03420400619506836,
0.03640489652752876,
0.019862135872244835,
-0.024732958525419235,
-0.018653450533747673,
0.030902668833732605,
-0.013890867121517658,
0.00032866784022189677,
-0.007540756370872259,
-0.023542312905192375,
-0.008451780304312706,
0.0014398244675248861,
-0.004119904711842537,
-0.024859240278601646,
-0.03205723315477371,
0.02240578830242157,
-0.010327950119972229,
-0.017652224749326706,
0.06909353286027908,
-0.06588239967823029,
-0.03481736779212952,
-0.026807568967342377,
0.04885255545377731,
-0.013061023317277431,
0.005393986124545336,
-0.008510410785675049,
0.05693451315164566,
-0.03128151223063469,
-0.03712650015950203,
0.045064136385917664,
0.09056123346090317,
-0.03261647745966911,
-0.012979842722415924,
-0.006336580496281385,
0.007712136954069138,
0.0009352657361887395,
0.020060576498508453,
0.04232204332947731,
-0.04892471432685852,
-0.038605786859989166,
-0.008496880531311035,
0.001937054330483079,
-0.03126347064971924,
0.019681734964251518,
-0.01926681213080883,
-0.053759459406137466,
0.01792282611131668,
0.005344375967979431,
0.009804787114262581,
0.0034005562774837017,
0.05747571587562561,
0.0221712663769722,
0.010219709016382694,
-0.002003577072173357,
0.0033081008587032557,
0.003641842631623149,
-0.0362425334751606,
0.06811936944723129,
0.02348819375038147,
0.06530511379241943,
-0.03193095326423645,
-0.009222994558513165,
-0.0027398380916565657,
-0.019537413492798805,
-0.012808461673557758,
-0.0003193659067619592,
-0.027547212317585945,
-0.04188908264040947,
0.027889974415302277,
0.0205656997859478,
-0.0025346321053802967,
-0.03465500846505165,
-0.034691087901592255,
0.012456679716706276,
0.06732560694217682,
0.02706013061106205,
0.04015723243355751,
-0.0004391633556224406,
-0.029585743322968483,
-0.019212692975997925,
-0.0050602443516254425,
-0.06487215310335159,
-0.01896013133227825,
0.004785133060067892,
-0.025851445272564888,
0.016218038275837898,
-0.022784629836678505,
0.0151536725461483,
-0.00043719023233279586,
0.021846545860171318,
0.05390378087759018,
-0.008244319818913937,
0.0077888076193630695,
-0.01251080073416233,
0.014585410244762897,
0.03709041699767113,
0.037523381412029266,
0.05311001464724541,
-0.0053849657997488976,
-0.01694866083562374,
-0.03660333529114723,
-0.051666807383298874,
-0.0023361912462860346,
0.0390026681125164,
-0.010616591200232506,
-0.0013597715878859162,
-0.009042593650519848,
0.02043941803276539,
-0.03564721345901489,
-0.019014252349734306,
-0.0024173716083168983,
-0.02844921685755253,
0.024751000106334686,
0.05361513793468475,
0.00904710404574871,
-0.043909572064876556,
-0.03205723315477371,
0.05715099349617958,
-0.006868762895464897,
0.011942537501454353,
0.005281235557049513,
0.04170868173241615,
0.05650155246257782,
-0.00010450565605424345,
0.030451666563749313,
-0.009462025947868824,
-0.01389988698065281,
0.025075720623135567,
0.005587916821241379,
-0.026699328795075417,
-0.035430729389190674,
-0.03357260301709175,
0.027763694524765015,
-0.03875010833144188,
0.01980801485478878,
0.007409965619444847,
0.007152894511818886,
-0.0021490254439413548,
-0.030704228207468987,
-0.020403338596224785,
-0.02511180005967617,
0.02099866047501564,
-0.021287303417921066,
0.011906457133591175,
-0.0422138050198555,
0.03618841618299484,
-0.10780756175518036,
-0.09395277500152588,
0.019447213038802147,
0.07930422574281693,
-0.026753447949886322,
-0.10528194904327393,
-0.03310355916619301,
0.03573741391301155,
0.011942537501454353,
-0.0026654228568077087,
-0.0034140865318477154,
0.03525032848119736,
-0.029585743322968483,
0.012005677446722984,
-0.06562983244657516,
0.04257460683584213,
-0.07378395646810532,
0.08298440277576447,
-0.04784230887889862,
-0.09857103228569031,
0.02446235716342926,
-0.03615233302116394,
0.011347214691340923,
0.09719999134540558,
0.011275053955614567,
-0.02696993015706539,
0.03128151223063469,
0.034600887447595596,
-0.020493539050221443,
0.007157404441386461,
0.040734514594078064,
-0.0022042731288820505,
-0.013033962808549404,
-0.03745121881365776,
0.06368150562047958,
-0.011807236820459366,
0.004983574151992798,
0.02790801413357258,
0.036747656762599945,
-0.022008905187249184,
0.08745834231376648,
-0.03083050809800625,
-0.005637526977807283,
0.0008811454754322767,
0.030451666563749313,
0.02608596533536911,
-0.04603830352425575,
0.06645967811346054,
-0.007982738316059113,
-0.0031750553753226995,
0.03391536325216293,
-0.02686168998479843,
0.003529092064127326,
0.027655452489852905,
-0.06411446630954742,
-0.02866569720208645,
0.02790801413357258,
-0.0007210397161543369,
0.00107000267598778,
0.023867035284638405,
0.010481290519237518,
-0.04062627628445625,
-0.06638751924037933,
-0.032634519040584564,
-0.008050388656556606,
0.035340528935194016,
-0.06642360240221024,
-0.013475945219397545,
-0.003060049843043089,
-0.03474520891904831,
-0.022243427112698555,
0.034582845866680145,
0.008690811693668365,
-0.02567104436457157,
0.007455065846443176,
-0.04632694274187088,
0.009042593650519848,
0.013935967348515987,
-0.01638941839337349,
-0.026789529249072075,
0.04813095182180405,
-0.010733852162957191,
0.03961602970957756,
0.03009086474776268,
-0.032634519040584564,
-0.0714026615023613,
0.0033329061698168516,
-0.05173896998167038,
0.03341023996472359,
0.00028455417486838996,
-0.012303339317440987,
-0.0056826272048056126,
0.02458863891661167,
0.037306901067495346,
0.016614919528365135,
0.02069197967648506,
-0.04665166512131691,
0.01504543237388134,
-0.049826718866825104,
-0.027042090892791748,
-0.0010491438442841172,
0.001116794184781611,
0.007049163803458214,
0.022243427112698555,
-0.05101736634969711,
0.031876832246780396,
0.024227837100625038,
-0.0028525886591523886,
0.017670264467597008,
0.01883385144174099,
0.018256567418575287,
0.07205210626125336,
0.04210556298494339,
0.06995945423841476,
-0.0465795062482357,
-0.03885834664106369,
-0.030108904466032982,
0.0725211501121521,
-0.01499131228774786,
-0.0005468401359394193,
0.04040979593992233,
-0.006115589290857315,
0.01093229278922081,
-0.06577415764331818,
-0.019338972866535187,
0.017760464921593666,
0.017868706956505775,
-0.04354877024888992,
0.0011252504773437977,
0.0009566883672960103,
-0.02844921685755253,
0.021377503871917725,
-0.01935701258480549,
0.027096210047602654,
0.018671490252017975,
0.000852957833558321,
0.0021253477316349745,
0.009922048076987267,
-0.057764358818531036,
-0.017065921798348427
] |
708,692
|
pathvalidate._filename
|
FileNameSanitizer
| null |
class FileNameSanitizer(AbstractSanitizer):
def __init__(
self,
max_len: int = _DEFAULT_MAX_FILENAME_LEN,
fs_encoding: Optional[str] = None,
platform: Optional[PlatformType] = None,
null_value_handler: Optional[ValidationErrorHandler] = None,
reserved_name_handler: Optional[ValidationErrorHandler] = None,
additional_reserved_names: Optional[Sequence[str]] = None,
validate_after_sanitize: bool = False,
validator: Optional[AbstractValidator] = None,
) -> None:
if validator:
fname_validator = validator
else:
fname_validator = FileNameValidator(
min_len=DEFAULT_MIN_LEN,
max_len=max_len,
fs_encoding=fs_encoding,
check_reserved=True,
additional_reserved_names=additional_reserved_names,
platform=platform,
)
super().__init__(
max_len=max_len,
fs_encoding=fs_encoding,
null_value_handler=null_value_handler,
reserved_name_handler=reserved_name_handler,
additional_reserved_names=additional_reserved_names,
platform_max_len=_DEFAULT_MAX_FILENAME_LEN,
platform=platform,
validate_after_sanitize=validate_after_sanitize,
validator=fname_validator,
)
self._sanitize_regexp = self._get_sanitize_regexp()
def sanitize(self, value: PathType, replacement_text: str = "") -> PathType:
try:
validate_pathtype(value, allow_whitespaces=not self._is_windows(include_universal=True))
except ValidationError as e:
if e.reason == ErrorReason.NULL_NAME:
if isinstance(value, PurePath):
raise
return self._null_value_handler(e)
raise
sanitized_filename = self._sanitize_regexp.sub(replacement_text, str(value))
sanitized_filename = sanitized_filename[: self.max_len]
try:
self._validator.validate(sanitized_filename)
except ValidationError as e:
if e.reason == ErrorReason.RESERVED_NAME:
replacement_word = self._reserved_name_handler(e)
if e.reserved_name != replacement_word:
sanitized_filename = re.sub(
re.escape(e.reserved_name), replacement_word, sanitized_filename
)
elif e.reason == ErrorReason.INVALID_CHARACTER and self._is_windows(
include_universal=True
):
# Do not start a file or directory name with a space
sanitized_filename = sanitized_filename.lstrip(" ")
# Do not end a file or directory name with a space or a period
sanitized_filename = sanitized_filename.rstrip(" ")
if sanitized_filename not in (".", ".."):
sanitized_filename = sanitized_filename.rstrip(" .")
elif e.reason == ErrorReason.NULL_NAME:
sanitized_filename = self._null_value_handler(e)
if self._validate_after_sanitize:
try:
self._validator.validate(sanitized_filename)
except ValidationError as e:
raise ValidationError(
description=str(e),
reason=ErrorReason.INVALID_AFTER_SANITIZE,
platform=self.platform,
)
if isinstance(value, PurePath):
return Path(sanitized_filename)
return sanitized_filename
def _get_sanitize_regexp(self) -> Pattern[str]:
if self._is_windows(include_universal=True):
return _RE_INVALID_WIN_FILENAME
return _RE_INVALID_FILENAME
|
(max_len: int = 255, fs_encoding: Optional[str] = None, platform: Optional[~PlatformType] = None, null_value_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, reserved_name_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, additional_reserved_names: Optional[Sequence[str]] = None, validate_after_sanitize: bool = False, validator: Optional[pathvalidate._base.AbstractValidator] = None) -> None
|
[
0.02069981023669243,
0.024669889360666275,
-0.001973498845472932,
0.03669092059135437,
-0.021586153656244278,
-0.0466068871319294,
0.05720607563853264,
-0.037318747490644455,
0.0583140067756176,
-0.002141996519640088,
0.0627087950706482,
0.04254448041319847,
0.02064441330730915,
0.03456738963723183,
-0.005087241530418396,
0.02952631190419197,
0.05388228967785835,
0.07050122320652008,
-0.0033122466411441565,
0.037134092301130295,
-0.022066256031394005,
-0.0007051507709547877,
-0.026608765125274658,
-0.0332009457051754,
-0.000702265533618629,
0.045277372002601624,
-0.004884121008217335,
0.015197095461189747,
0.005659671500325203,
-0.04682847484946251,
0.03157598152756691,
0.020589016377925873,
0.0332009457051754,
0.01780072972178459,
0.043061513453722,
-0.07821980118751526,
-0.01373832207173109,
0.008554136380553246,
-0.05709528550505638,
-0.09638983756303787,
-0.0600866936147213,
0.05631973221898079,
0.012731952592730522,
0.002774439286440611,
-0.018613209947943687,
-0.015280189923942089,
-0.03190835937857628,
0.04605292156338692,
-0.05934807285666466,
0.05100167170166969,
-0.012685788795351982,
0.041547343134880066,
-0.0372818186879158,
-0.0159449465572834,
0.030338793992996216,
0.0202197078615427,
0.028381451964378357,
0.027772091329097748,
0.007141526788473129,
-0.06791605800390244,
0.03307168558239937,
-0.020718276500701904,
0.03870365768671036,
-0.04664381965994835,
-0.024189786985516548,
-0.01953648403286934,
0.021586153656244278,
-0.03133593127131462,
-0.011734816245734692,
0.031649842858314514,
-0.008152511902153492,
-0.003568455344066024,
-0.030098741874098778,
-0.008415644988417625,
0.06337355077266693,
0.021586153656244278,
-0.04730857536196709,
-0.004325540270656347,
0.03436427190899849,
-0.015474077314138412,
0.06736209243535995,
-0.02631331793963909,
0.006522933021187782,
-0.07123984396457672,
0.042249031364917755,
-0.003321479307487607,
-0.009915966540575027,
-0.028104471042752266,
0.02967403642833233,
0.030671173706650734,
0.0010583031689748168,
0.004586365073919296,
-0.0018176962621510029,
0.02455909736454487,
0.003503825981169939,
-0.011227015405893326,
0.020312035456299782,
-0.008817269466817379,
0.013987605459988117,
-0.025833215564489365,
-0.01901945099234581,
0.048564229160547256,
0.015197095461189747,
0.013904510997235775,
0.06558940559625626,
0.04749323055148125,
-0.006809148006141186,
-0.004210130777209997,
-0.01845625415444374,
-0.039368417114019394,
-0.006933790165930986,
-0.04734550788998604,
-0.00113101105671376,
0.009842104278504848,
0.014606200158596039,
-0.03803890198469162,
-0.044944994151592255,
-0.026054801419377327,
0.017449883744120598,
-0.02710733376443386,
0.013858347199857235,
0.03929455578327179,
-0.08929909020662308,
-0.01999812200665474,
0.021327637135982513,
-0.014476940967142582,
-0.0037877329159528017,
0.00986056961119175,
0.049413640052080154,
0.044206373393535614,
-0.05776004120707512,
0.06961488723754883,
0.007118444889783859,
0.017985383048653603,
0.003780808299779892,
-0.0013272068463265896,
-0.00830023642629385,
0.042433686554431915,
-0.02437444217503071,
0.05598735436797142,
0.04343082383275032,
0.020773671567440033,
0.0376695916056633,
-0.05262663587927818,
0.012196453288197517,
-0.013479804620146751,
0.06064065545797348,
-0.01335054636001587,
0.004759479314088821,
0.011845609173178673,
-0.0013041249476373196,
0.00048039117245934904,
-0.00006109478999860585,
0.06030827760696411,
0.07142449915409088,
-0.044760338962078094,
0.00929737277328968,
-0.05111246556043625,
-0.010460698045790195,
-0.0036423171404749155,
-0.019554950296878815,
-0.07304946333169937,
-0.0015845695743337274,
-0.059680450707674026,
0.0331270806491375,
0.04738243669271469,
0.03622928261756897,
-0.013756787404417992,
0.023838942870497704,
0.034622788429260254,
0.012150290422141552,
0.060936104506254196,
0.0011073520872741938,
0.07485908269882202,
0.027310455217957497,
0.02060748264193535,
0.022897202521562576,
0.002862150315195322,
0.01981346681714058,
-0.02250942774116993,
0.019370295107364655,
-0.0309296902269125,
0.01990579441189766,
-0.0008061339030973613,
0.0354352667927742,
0.03403189033269882,
-0.07046429812908173,
0.02998794987797737,
0.03460432216525078,
0.0020819834899157286,
-0.05255277454853058,
0.01953648403286934,
0.02603633515536785,
0.00981440581381321,
0.010885404422879219,
-0.013212055899202824,
0.017357558012008667,
-0.02431904524564743,
-0.01929643377661705,
-0.06089917570352554,
-0.02729198895394802,
0.0403655543923378,
0.0197580698877573,
-0.04147348180413246,
-0.0476040244102478,
-0.001218722085468471,
0.017791496589779854,
0.01747758314013481,
-0.06525702774524689,
0.04679154232144356,
-0.016258860006928444,
-0.056762903928756714,
-0.028289124369621277,
0.03576764836907387,
0.002125839004293084,
-0.04730857536196709,
0.002407437888905406,
0.06839615851640701,
-0.001986193936318159,
0.05366070196032524,
0.021087585017085075,
0.05092781037092209,
0.0011038898956030607,
-0.007187690585851669,
0.0547686330974102,
-0.024115925654768944,
0.015141698531806469,
0.04431716725230217,
0.06924557685852051,
0.01724676415324211,
0.0038061984814703465,
-0.05905262380838394,
-0.001840778160840273,
0.03785424679517746,
-0.014993974938988686,
-0.020533621311187744,
0.0682484358549118,
-0.04948750510811806,
0.006786066107451916,
-0.036432404071092606,
-0.03995931148529053,
-0.035693783313035965,
-0.006541398353874683,
-0.018013082444667816,
-0.004387861117720604,
-0.04594213142991066,
-0.015123233199119568,
0.07352956384420395,
0.017219066619873047,
-0.019518019631505013,
0.030375724658370018,
0.08353786170482635,
-0.04985681176185608,
0.021050654351711273,
0.003919299691915512,
0.04741936922073364,
-0.05846172943711281,
-0.03259158506989479,
0.04705005884170532,
0.031926825642585754,
-0.018779398873448372,
0.0035476814955472946,
-0.013045866042375565,
-0.006850695237517357,
-0.05214653164148331,
-0.060936104506254196,
-0.0036469334736466408,
0.02882462367415428,
-0.015427913516759872,
-0.012205686420202255,
-0.02878769300878048,
0.01702517829835415,
-0.0412888266146183,
-0.012159522622823715,
-0.04195358604192734,
0.007178457919508219,
-0.03246232494711876,
0.0159080158919096,
0.07386194169521332,
-0.002642872743308544,
0.026147129014134407,
-0.0029106223955750465,
-0.0025159225333482027,
0.0016030350234359503,
0.062007103115320206,
0.027587436139583588,
-0.018585512414574623,
-0.11766207963228226,
-0.03687557578086853,
0.014135329984128475,
-0.034345805644989014,
-0.03622928261756897,
0.02762436680495739,
-0.02269408293068409,
-0.04069793224334717,
-0.05812935158610344,
-0.02766129933297634,
-0.10421920567750931,
0.005156487226486206,
-0.09077633172273636,
-0.03212994709610939,
0.06876546889543533,
0.0010536868358030915,
0.009897500276565552,
-0.03292396292090416,
-0.0056689041666686535,
-0.04812105745077133,
-0.05155563727021217,
0.003480744082480669,
0.017052875831723213,
0.006846079137176275,
-0.028307590633630753,
-0.0233034435659647,
0.008466425351798534,
0.11190084367990494,
0.078884556889534,
0.051961880177259445,
0.0145785016939044,
-0.008854201063513756,
0.03475204482674599,
0.0355091318488121,
0.0331270806491375,
-0.008101732470095158,
-0.039405349642038345,
-0.0286953654140234,
-0.04291379079222679,
0.03763266280293465,
-0.0013029709225520492,
-0.021881600841879845,
-0.00395392207428813,
-0.025740887969732285,
-0.0031599062494933605,
0.004874888341873884,
-0.016120370477437973,
0.0219923947006464,
0.031557515263557434,
0.01748681627213955,
-0.01999812200665474,
0.04450182244181633,
-0.012408806942403316,
0.017551444470882416,
-0.0051241726614534855,
-0.02836298756301403,
-0.03074503503739834,
-0.05148177593946457,
-0.04911819472908974,
0.014033769257366657,
0.01580645702779293,
0.01845625415444374,
-0.049819882959127426,
0.009052705019712448,
-0.008743408136069775,
-0.07474828511476517,
-0.0628565177321434,
-0.011642489582300186,
-0.04176893085241318,
-0.03225920349359512,
0.04365241155028343,
-0.007690874859690666,
0.0010392606491222978,
0.05358684062957764,
-0.01860397681593895,
-0.0354352667927742,
-0.04705005884170532,
0.03914682939648628,
-0.015778757631778717,
0.055876560509204865,
0.016258860006928444,
-0.0350474938750267,
-0.009011157788336277,
0.013212055899202824,
0.016425050795078278,
0.034013424068689346,
-0.13561053574085236,
0.017403721809387207,
-0.024189786985516548,
0.03157598152756691,
-0.03855593502521515,
-0.047640953212976456,
0.043061513453722,
0.06189630925655365,
0.07260629534721375,
-0.011817911639809608,
-0.01525249145925045,
-0.034530460834503174,
-0.013655227608978748,
0.008563369512557983,
-0.01804077997803688,
0.010229879058897495,
0.011134687811136246,
0.04572054371237755,
-0.021309170871973038,
0.08294696360826492,
0.04025476053357124,
0.028621504083275795,
0.01785612478852272,
-0.050484638661146164,
0.023728150874376297,
0.0022181665990501642,
0.05458397790789604,
-0.0466068871319294,
0.022380169481039047,
-0.0186409093439579,
0.051961880177259445,
-0.013876812532544136,
0.0003545950457919389,
0.06787912547588348,
0.04874888435006142,
-0.013073564507067204,
0.051592569798231125,
-0.0059689683839678764,
-0.0368201807141304,
0.005816628225147724,
-0.037318747490644455,
0.03310861811041832,
0.03770652413368225,
-0.05687369778752327,
-0.07792435586452484,
0.028344521299004555,
0.0022262451238930225,
-0.06311503052711487,
-0.0016745887696743011,
-0.04025476053357124,
0.059311140328645706,
0.04553588852286339,
0.012233384884893894,
-0.03078196570277214,
-0.006776833441108465,
0.020441293716430664,
-0.022989530116319656,
-0.030098741874098778,
0.010931568220257759,
-0.09831024706363678,
-0.021050654351711273,
-0.025186924263834953,
-0.04051327705383301,
-0.011725584045052528,
0.001321436371654272,
0.011116222478449345,
-0.028806159272789955,
-0.06920864433050156,
0.025168457999825478,
0.027919815853238106,
0.06721436977386475,
0.0024189786054193974,
-0.028030607849359512,
-0.01854858174920082,
0.05757538601756096,
-0.0710182636976242,
-0.029840225353837013,
-0.015270956791937351,
0.02609173208475113,
-0.005558111239224672,
-0.0340503565967083,
-0.011060826480388641,
-0.011033128015697002,
-0.03929455578327179,
-0.03611849248409271,
-0.025980940088629723,
-0.017320625483989716,
-0.024946872144937515,
0.09727618098258972,
0.07297560572624207,
-0.035084422677755356,
-0.019554950296878815,
0.00041172263445332646,
0.03357025235891342,
0.014984741806983948,
0.019148709252476692,
0.007178457919508219,
-0.003919299691915512,
-0.04095644876360893,
0.011319343000650406,
0.04985681176185608,
0.007436974439769983,
0.019647277891635895,
-0.03225920349359512,
0.029360122978687286,
0.006818380672484636,
0.009315838105976582,
0.04686540365219116,
-0.0025343880988657475,
0.006716820877045393,
0.04343082383275032,
0.050004538148641586,
-0.018022315576672554,
0.012002565898001194,
0.009555889293551445,
-0.028122935444116592,
0.030985085293650627,
0.027458177879452705,
0.04863809049129486,
-0.01935182884335518,
0.04623757675290108,
-0.019056381657719612,
0.01264885812997818,
0.00024134968407452106,
0.08132199943065643,
0.022897202521562576,
-0.022915668785572052,
0.022287841886281967,
-0.06750981509685516,
-0.0018742468673735857,
0.009061937220394611,
0.02079213783144951,
0.05270049721002579,
-0.02640564553439617,
-0.021789273247122765,
-0.009731311351060867,
-0.042618341743946075,
-0.047640953212976456,
-0.012159522622823715,
0.03436427190899849,
-0.007820133119821548,
0.01938876137137413,
-0.008134046569466591,
-0.019056381657719612,
0.006786066107451916,
0.03525061160326004,
0.025888612493872643,
-0.07585621625185013,
-0.04069793224334717,
-0.008988075889647007,
-0.06067758798599243,
0.009592819958925247,
0.0004809682141058147,
0.006421372760087252,
0.007935542613267899,
0.055876560509204865,
0.010248345322906971,
0.022029325366020203,
-0.0005144369206391275,
0.05358684062957764,
-0.02269408293068409,
0.04860116168856621,
0.0314282588660717,
-0.024540631100535393,
-0.015326353721320629,
-0.058203212916851044,
0.026387179270386696,
-0.005895106587558985,
0.07807207852602005,
-0.02138303406536579,
0.008743408136069775,
0.006642958614975214,
-0.04291379079222679,
0.013295150361955166,
0.0002038416569121182,
-0.01350750308483839,
-0.034198079258203506,
-0.0336625799536705,
-0.003928532358258963,
0.023691218346357346,
0.024023598060011864,
-0.026147129014134407,
-0.054805561900138855,
0.030191069468855858,
-0.0015834154328331351,
-0.02980329468846321,
0.024263648316264153,
-0.03995931148529053,
-0.005364223849028349,
0.025334646925330162,
-0.041731998324394226,
-0.06950408965349197,
0.012851978652179241,
-0.035176750272512436,
0.008411029353737831,
-0.03700483590364456,
-0.0013952982844784856,
-0.018197737634181976,
0.08516282588243484,
0.06437068432569504,
-0.01901945099234581,
-0.05883103981614113,
0.04967215657234192,
0.03929455578327179,
0.0001827794621931389,
0.0030814281199127436,
0.01688668690621853,
0.06344740837812424,
0.0022100878413766623,
-0.02891695126891136,
-0.028104471042752266,
-0.0395161397755146,
-0.06750981509685516,
-0.006135157775133848,
0.054842494428157806,
-0.07190460711717606,
-0.005913571920245886,
-0.03323787450790405,
0.004311691038310528,
0.013793718069791794,
-0.022564824670553207,
0.012491901405155659,
0.015104767866432667,
-0.008004788309335709,
-0.023266512900590897,
0.029323192313313484,
-0.0050272285006940365,
-0.03078196570277214,
0.009638983756303787,
0.02640564553439617,
0.06466612964868546,
0.06666040420532227,
-0.007797051686793566,
-0.00048298787442035973,
0.017791496589779854,
-0.03580457717180252,
0.02394973486661911,
-0.005161103326827288,
0.03321940824389458,
0.024189786985516548,
0.0014172260416671634,
0.0412888266146183,
0.08368558436632156,
-0.03233306482434273,
-0.0519988089799881,
-0.002303569344803691,
-0.005045694299042225,
-0.020939862355589867,
0.003778500249609351,
0.007575465831905603,
-0.029083140194416046,
0.010571490973234177,
-0.043726272881031036,
-0.010774611495435238,
0.022195514291524887,
-0.07445283979177475,
-0.050484638661146164,
-0.017966918647289276,
-0.03995931148529053,
-0.002843684982508421,
-0.01710827276110649,
0.03584150969982147,
-0.0034876686986535788,
-0.033828772604465485,
0.020478224381804466,
-0.012861210852861404,
0.0010156017960980535,
0.03384723514318466,
-0.09978748857975006,
-0.02701500616967678,
0.048527296632528305,
-0.09025929868221283,
0.010497628711163998,
-0.022343238815665245,
-0.04184279218316078,
0.042950719594955444,
-0.017376022413372993,
0.025537768378853798,
0.04948750510811806,
0.0070215011946856976,
-0.051075536757707596,
0.07600393891334534,
0.02520538866519928,
0.01646198146045208,
-0.08036179840564728,
0.034622788429260254,
-0.005525796674191952,
0.008507972583174706,
-0.01664663664996624,
0.006910708267241716,
0.02827065996825695,
-0.015030905604362488,
-0.023100323975086212,
0.04339389130473137,
-0.02254635840654373,
-0.00799555517733097,
-0.0009169268305413425,
-0.011393205262720585,
-0.03279470279812813,
-0.04158427566289902,
-0.035878438502550125,
0.0018396240193396807,
0.019277967512607574,
0.006065912079066038,
0.0037854246329516172,
0.035084422677755356,
0.028750762343406677,
0.015963412821292877,
-0.0031575981993228197,
-0.020293569192290306,
-0.018520882353186607,
0.030763499438762665,
-0.009348152205348015,
0.007086130324751139,
0.019739605486392975,
0.037965040653944016,
0.004498654045164585,
-0.018964054062962532,
0.0016191923059523106,
0.003743877401575446,
0.01155939418822527,
-0.08804343640804291,
-0.01539098285138607,
0.08590143918991089,
-0.0020969868637621403,
-0.016378886997699738,
-0.007386194542050362,
-0.010940800420939922,
0.016212696209549904,
0.004819491878151894,
-0.09254901856184006,
-0.0287322960793972,
0.012861210852861404,
-0.06289344280958176,
0.003903142176568508,
0.028381451964378357,
0.019222570583224297,
0.04265527427196503,
-0.009006541222333908,
0.011005429551005363,
-0.03672785311937332,
-0.014153795316815376,
-0.0671774372458458,
-0.039368417114019394,
-0.01869630441069603,
0.09638983756303787,
-0.05270049721002579,
0.03395802900195122,
0.0024005132727324963,
-0.0005574268870986998,
0.02250942774116993,
-0.04265527427196503,
0.04184279218316078,
-0.03329327329993248,
-0.007612396962940693,
0.044797271490097046,
0.01448617409914732,
0.0016884378856047988,
0.0309296902269125,
-0.05092781037092209,
0.029230864718556404,
0.012667323462665081,
-0.037078697234392166,
-0.003817739197984338,
-0.014283053576946259,
-0.037448007613420486,
0.04682847484946251,
-0.007049199193716049,
0.01655430905520916,
-0.06355820596218109,
-0.00800017174333334,
0.030911223962903023,
0.03488130494952202,
0.034198079258203506,
0.005271896254271269,
0.025371577590703964,
0.00902038998901844,
-0.008540287613868713,
-0.010239112190902233,
-0.07083360850811005,
0.00013250429765321314,
0.016572773456573486,
-0.023691218346357346,
0.0012279548682272434,
0.02766129933297634,
-0.0005216500139795244,
0.009408165700733662,
-0.024909941479563713,
0.039220694452524185,
0.010303741320967674,
0.02079213783144951,
0.002414362272247672,
0.01188254076987505,
-0.011402437463402748,
-0.008157128468155861
] |
708,693
|
pathvalidate._filename
|
__init__
| null |
def __init__(
self,
max_len: int = _DEFAULT_MAX_FILENAME_LEN,
fs_encoding: Optional[str] = None,
platform: Optional[PlatformType] = None,
null_value_handler: Optional[ValidationErrorHandler] = None,
reserved_name_handler: Optional[ValidationErrorHandler] = None,
additional_reserved_names: Optional[Sequence[str]] = None,
validate_after_sanitize: bool = False,
validator: Optional[AbstractValidator] = None,
) -> None:
if validator:
fname_validator = validator
else:
fname_validator = FileNameValidator(
min_len=DEFAULT_MIN_LEN,
max_len=max_len,
fs_encoding=fs_encoding,
check_reserved=True,
additional_reserved_names=additional_reserved_names,
platform=platform,
)
super().__init__(
max_len=max_len,
fs_encoding=fs_encoding,
null_value_handler=null_value_handler,
reserved_name_handler=reserved_name_handler,
additional_reserved_names=additional_reserved_names,
platform_max_len=_DEFAULT_MAX_FILENAME_LEN,
platform=platform,
validate_after_sanitize=validate_after_sanitize,
validator=fname_validator,
)
self._sanitize_regexp = self._get_sanitize_regexp()
|
(self, max_len: int = 255, fs_encoding: Optional[str] = None, platform: Optional[~PlatformType] = None, null_value_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, reserved_name_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, additional_reserved_names: Optional[Sequence[str]] = None, validate_after_sanitize: bool = False, validator: Optional[pathvalidate._base.AbstractValidator] = None) -> NoneType
|
[
0.023481475189328194,
0.0029662447050213814,
-0.0204997006803751,
0.030421201139688492,
-0.043910183012485504,
-0.02362346462905407,
0.042845264077186584,
0.0029418400954455137,
0.024315662682056427,
-0.015964917838573456,
0.033136747777462006,
0.03210732340812683,
0.015263847075402737,
0.02479487657546997,
0.00530241196975112,
0.05342346429824829,
0.022168075665831566,
0.0306696817278862,
0.004386137239634991,
0.05090315267443657,
-0.01395932026207447,
0.01221107691526413,
-0.021262893453240395,
0.004627962596714497,
0.01458052359521389,
0.09129910171031952,
-0.0252208448946476,
0.0023228556383401155,
0.03837260231375694,
-0.037662655115127563,
0.010587074793875217,
0.014731386676430702,
0.04887980595231056,
0.05260702595114708,
0.04259677976369858,
-0.0610198900103569,
-0.021458128467202187,
0.018245620653033257,
-0.08824633061885834,
-0.040892910212278366,
-0.010072363540530205,
0.017313817515969276,
0.006247527897357941,
0.0010732392547652125,
0.00033334200270473957,
0.027670159935951233,
-0.0017804123926907778,
0.022008337080478668,
-0.05026420205831528,
0.0451170913875103,
-0.023836448788642883,
0.05473686382174492,
-0.0006178751937113702,
-0.016630493104457855,
-0.011864978820085526,
0.08505157381296158,
0.045259080827236176,
0.035887788981199265,
-0.006189844571053982,
-0.013205002062022686,
-0.028735078871250153,
-0.013852828182280064,
0.05750565603375435,
-0.06616699695587158,
-0.028752828016877174,
-0.016870100051164627,
0.016825728118419647,
-0.0527845099568367,
-0.01136801578104496,
0.06144585832953453,
0.017562298104166985,
-0.0074899340979754925,
-0.03531983122229576,
0.0015940513694658875,
0.05860607326030731,
0.029445024207234383,
-0.09250601381063461,
0.007654109038412571,
0.0018547348445281386,
-0.03136188164353371,
0.08178582042455673,
-0.0032524417620152235,
-0.01575193554162979,
-0.04490410536527634,
0.03894055634737015,
-0.0346631295979023,
-0.004667897243052721,
-0.008128886111080647,
0.04767289757728577,
0.058464083820581436,
-0.05860607326030731,
0.01395932026207447,
-0.010729064233601093,
0.010010243393480778,
-0.004035601392388344,
-0.04781488701701164,
0.01684347726404667,
0.018316615372896194,
0.02309100516140461,
-0.009504406712949276,
-0.026179272681474686,
0.022895770147442818,
-0.0045525310561060905,
-0.0021908499766141176,
0.0401119701564312,
0.02417367324233055,
-0.008235377259552479,
-0.028149373829364777,
-0.016515126451849937,
-0.014092435128986835,
0.004645711276680231,
-0.029178794473409653,
0.009744013659656048,
0.06187182664871216,
-0.034893862903118134,
-0.007303573191165924,
-0.02103216014802456,
-0.0010954249883070588,
0.03862108290195465,
-0.049092791974544525,
0.02291351929306984,
0.024848122149705887,
-0.09129910171031952,
-0.01030309684574604,
0.05001572147011757,
-0.034112922847270966,
-0.001031086198054254,
-0.017801905050873756,
0.0831347182393074,
0.02711995132267475,
0.023161999881267548,
0.04795687645673752,
0.015538950450718403,
-0.016053661704063416,
0.024013934656977654,
-0.05636974051594734,
0.02790089137852192,
0.06300774216651917,
-0.07426039129495621,
0.04351971298456192,
0.03666872903704643,
-0.0015829585026949644,
0.038124118000268936,
-0.0654570534825325,
-0.023836448788642883,
0.006043418310582638,
0.044016674160957336,
-0.05250053480267525,
-0.0045880284160375595,
0.04202882573008537,
-0.002877501305192709,
0.0008935340447351336,
-0.014234424568712711,
0.058464083820581436,
0.04270327463746071,
-0.03505359962582588,
0.01021435298025608,
-0.05289100483059883,
0.007197081111371517,
0.033030252903699875,
-0.00626083929091692,
-0.0325687900185585,
-0.00882995780557394,
-0.09307396411895752,
0.013586598448455334,
0.03805312514305115,
0.012060213834047318,
-0.0560147687792778,
0.0337756983935833,
0.02559356577694416,
-0.007015157490968704,
0.001253499067388475,
-0.015237223356962204,
0.07355044037103653,
0.007676295004785061,
0.04252578690648079,
0.040786419063806534,
-0.0035408574622124434,
-0.015982666984200478,
-0.003878081915900111,
0.006176533177495003,
0.005985734984278679,
0.028060629963874817,
-0.009167182259261608,
0.06524407118558884,
0.04912828654050827,
-0.04895080253481865,
0.07230803370475769,
0.02887706831097603,
-0.015796305611729622,
0.003833710215985775,
-0.025114351883530617,
-0.006722304504364729,
0.012503930367529392,
-0.007197081111371517,
-0.0409994013607502,
0.011563251726329327,
-0.00363181927241385,
0.002053298056125641,
-0.0346631295979023,
0.004042257089167833,
0.06950374692678452,
-0.0004966850974597037,
-0.04994472488760948,
-0.06180083006620407,
0.031077900901436806,
0.02165336348116398,
0.03505359962582588,
-0.06439213454723358,
0.015361464582383633,
-0.009029630571603775,
-0.06055842339992523,
-0.05384943261742592,
0.05839308723807335,
0.006908665411174297,
-0.06737390905618668,
-0.01770428754389286,
0.038479093462228775,
-0.006003483664244413,
0.04540107026696205,
0.0890272706747055,
0.06730291247367859,
0.008892077952623367,
-0.013355866074562073,
0.03940202295780182,
0.004417197313159704,
0.03162810951471329,
-0.02747492305934429,
0.031095650047063828,
0.05686670169234276,
-0.05448838323354721,
-0.04135437682271004,
-0.019310541450977325,
0.037840139120817184,
-0.014314292930066586,
0.0029174357187002897,
0.05473686382174492,
-0.0061543476767838,
-0.049802735447883606,
-0.03162810951471329,
0.007063966244459152,
-0.05129362270236015,
0.002234112471342087,
0.0006783315329812467,
0.03514234349131584,
-0.036420248448848724,
-0.02603728324174881,
0.09051816165447235,
0.0074455626308918,
-0.030154971405863762,
0.01899106428027153,
0.05494984611868858,
-0.07184657454490662,
0.026516497135162354,
-0.011705240234732628,
0.0234459787607193,
-0.05573078989982605,
-0.06354019790887833,
0.05154210701584816,
0.00570619385689497,
0.010107860900461674,
0.0007676294771954417,
0.021990587934851646,
0.05881905555725098,
-0.029640261083841324,
-0.052465036511421204,
0.011039665900170803,
-0.02156461961567402,
0.004898630082607269,
0.004796575289219618,
-0.008985258638858795,
0.005497646983712912,
-0.031592611223459244,
0.008994133211672306,
-0.02122739516198635,
-0.049696244299411774,
-0.04717593640089035,
-0.024919116869568825,
0.06290124356746674,
0.0010294221574440598,
0.055340319871902466,
-0.013205002062022686,
0.02443990297615528,
0.01256605051457882,
0.06737390905618668,
-0.006677933037281036,
-0.06123287230730057,
-0.10606598854064941,
-0.07582227140665054,
-0.016515126451849937,
-0.055056340992450714,
0.011314770206809044,
-0.00016445241635665298,
0.005320160649716854,
0.023215245455503464,
-0.0872524082660675,
-0.014048063196241856,
-0.06524407118558884,
0.05672471225261688,
-0.09399689733982086,
-0.035799045115709305,
-0.00876339990645647,
0.0014121276326477528,
-0.003032802138477564,
-0.06055842339992523,
-0.009850505739450455,
-0.032959260046482086,
-0.028735078871250153,
0.013675341382622719,
0.02532733604311943,
0.03926003351807594,
0.03897605463862419,
-0.015077485702931881,
-0.0046368371695280075,
0.0920090451836586,
0.07589326798915863,
0.02736843191087246,
-0.0016861226176843047,
0.016337640583515167,
0.0272796880453825,
0.04238379746675491,
-0.010365216992795467,
-0.01963001675903797,
-0.051932577043771744,
-0.02539833076298237,
-0.02932078391313553,
0.0427742674946785,
-0.005080553703010082,
-0.022984514012932777,
0.007898152805864811,
-0.029285287484526634,
-0.003245786065235734,
0.026179272681474686,
-0.024759378284215927,
-0.024102678522467613,
0.007991333492100239,
0.007396753411740065,
0.006646872963756323,
0.027244191616773605,
-0.017819654196500778,
0.03150387108325958,
-0.02051744982600212,
-0.01421667542308569,
-0.014962119050323963,
-0.040253959596157074,
-0.0636821910738945,
0.04671446979045868,
-0.06684144586324692,
0.033917687833309174,
-0.03542632237076759,
0.004131000488996506,
-0.017269445583224297,
-0.07067515701055527,
-0.05661822110414505,
0.019647765904664993,
-0.07404740154743195,
-0.04958975315093994,
0.014820130541920662,
0.007662983611226082,
-0.010001368820667267,
0.013400237075984478,
-0.022682785987854004,
-0.050335194915533066,
-0.03929553180932999,
0.01826336979866028,
-0.01631101779639721,
0.041851337999105453,
0.016923345625400543,
-0.02809612639248371,
0.0016883411444723606,
0.032852768898010254,
-0.0007349054212681949,
0.021635614335536957,
-0.10464609414339066,
0.026161523535847664,
-0.007924776524305344,
-0.006624686997383833,
-0.0012967614457011223,
-0.07674520462751389,
-0.01733156479895115,
0.006433888804167509,
0.053991422057151794,
-0.011217152699828148,
-0.000027732279704650864,
-0.04064442962408066,
-0.018085883930325508,
-0.013764085248112679,
0.02380095236003399,
0.02754591777920723,
0.0610198900103569,
0.027155447751283646,
0.011039665900170803,
0.05054818093776703,
0.036597736179828644,
0.03929553180932999,
0.017012089490890503,
-0.031983084976673126,
0.02862858586013317,
0.019931744784116745,
0.02756366692483425,
-0.0337756983935833,
-0.009300297126173973,
-0.026711732149124146,
0.05200356990098953,
-0.007458874024450779,
0.031184393912553787,
0.058464083820581436,
0.0551273338496685,
0.003815961768850684,
0.07681619375944138,
0.043200235813856125,
-0.02649874798953533,
-0.006908665411174297,
-0.060416433960199356,
-0.018565097823739052,
0.023303989320993423,
-0.02593079023063183,
-0.03113114833831787,
0.030350206419825554,
-0.04760190472006798,
-0.07802310585975647,
0.052642520517110825,
-0.007006282918155193,
0.03405967727303505,
0.023960689082741737,
0.028238115832209587,
-0.016612743958830833,
-0.025078855454921722,
0.0035985405556857586,
-0.05945800617337227,
-0.031681355088949203,
0.05402691662311554,
-0.06471160799264908,
-0.012637045234441757,
-0.0015885049942880869,
-0.015565574169158936,
-0.05214555934071541,
-0.010551577433943748,
-0.012432935647666454,
-0.01586730033159256,
-0.032941509038209915,
-0.03996998071670532,
0.04362620413303375,
0.08178582042455673,
-0.026516497135162354,
-0.012867777608335018,
-0.010711316019296646,
0.07497033476829529,
-0.03207182511687279,
-0.016497379168868065,
-0.027261940762400627,
0.030563190579414368,
-0.02916104719042778,
-0.05207456648349762,
-0.015192852355539799,
-0.023499224334955215,
-0.03457438573241234,
-0.021972838789224625,
-0.015654318034648895,
-0.037840139120817184,
-0.0023672273382544518,
0.08441261947154999,
0.06396616995334625,
-0.06169433891773224,
-0.04671446979045868,
0.048915304243564606,
0.03601202741265297,
0.023055508732795715,
0.026960212737321854,
0.005830434616655111,
-0.018405359238386154,
0.007889279164373875,
0.0037937758024781942,
0.025025609880685806,
-0.0006417249678634107,
0.011518879793584347,
0.0030860481783747673,
-0.02417367324233055,
-0.012450683861970901,
-0.017473554238677025,
0.04348421469330788,
0.01114615797996521,
0.009020755998790264,
0.054559376090765,
0.040431443601846695,
-0.03805312514305115,
0.009557653218507767,
-0.0427742674946785,
-0.01943478174507618,
0.05580178275704384,
0.00515154842287302,
0.0563342422246933,
-0.01617790199816227,
0.03940202295780182,
0.030350206419825554,
0.031592611223459244,
0.0513291209936142,
0.06187182664871216,
-0.0005923614953644574,
-0.017029838636517525,
0.012406312860548496,
-0.04753090813755989,
0.0018647185061126947,
-0.0005707303062081337,
-0.005275788716971874,
-0.01546795666217804,
-0.07866205275058746,
-0.041318878531455994,
0.001337805180810392,
-0.06055842339992523,
-0.019505776464939117,
0.010533829219639301,
0.011705240234732628,
0.0026955774519592524,
-0.002660080324858427,
0.014465156942605972,
-0.051932577043771744,
0.0036007591988891363,
0.008612536825239658,
0.0625462755560875,
-0.03716569021344185,
-0.018085883930325508,
0.014775758609175682,
-0.10599499195814133,
-0.011376890353858471,
0.012237700633704662,
-0.001802598126232624,
0.013054138980805874,
0.06978772580623627,
-0.0025380582083016634,
-0.024013934656977654,
-0.048098865896463394,
0.014598271809518337,
-0.00429961271584034,
-0.016426384449005127,
0.0577896349132061,
-0.019559022039175034,
0.04536557197570801,
-0.020020486786961555,
0.00142100197263062,
0.0127524109557271,
0.08987920731306076,
-0.018006013706326485,
0.0036983767058700323,
-0.011714114807546139,
-0.040537938475608826,
-0.008026830852031708,
0.019470278173685074,
0.007245889864861965,
-0.03326098620891571,
-0.018795829266309738,
-0.0035541688557714224,
-0.00876339990645647,
0.000990597065538168,
-0.013604346662759781,
-0.04518808424472809,
0.04635949805378914,
0.0023672273382544518,
0.0030483321752399206,
0.0016084722010418773,
-0.00005768314076703973,
0.037946633994579315,
-0.02685372158885002,
-0.02220357209444046,
-0.02630351297557354,
0.0038980492390692234,
0.0010266490280628204,
-0.032054077833890915,
-0.02452864684164524,
0.04028945416212082,
-0.02827361412346363,
0.07653221487998962,
0.017890648916363716,
0.0032413487788289785,
-0.04075092077255249,
0.0029063429683446884,
0.014358664862811565,
0.03439690172672272,
-0.011013043113052845,
-0.029817746952176094,
0.023960689082741737,
0.005031744949519634,
-0.03844359517097473,
-0.033828943967819214,
-0.044194161891937256,
-0.04895080253481865,
-0.019913995638489723,
0.043271228671073914,
-0.06783537566661835,
-0.005790499970316887,
-0.019328288733959198,
0.011767360381782055,
-0.017384812235832214,
-0.034024178981781006,
-0.02869958057999611,
0.013302619569003582,
-0.007605300284922123,
-0.03837260231375694,
0.02362346462905407,
-0.005116051062941551,
-0.055872779339551926,
0.010382965207099915,
-0.03235580399632454,
0.06858082115650177,
0.056227751076221466,
-0.011749612167477608,
-0.006691244430840015,
0.03702370077371597,
-0.03104240447282791,
0.03219606727361679,
-0.022345561534166336,
0.00315260561183095,
0.025007860735058784,
-0.03253329172730446,
0.015024240128695965,
0.04117688909173012,
-0.007676295004785061,
-0.030900415033102036,
0.01814800314605236,
-0.022753780707716942,
-0.014358664862811565,
0.022860271856188774,
0.006771113257855177,
0.018760332837700844,
-0.0610198900103569,
-0.02426241710782051,
-0.020659439265727997,
0.013817330822348595,
-0.05352995544672012,
-0.04880881309509277,
-0.019239546731114388,
-0.053103987127542496,
0.02220357209444046,
-0.0368817113339901,
0.020641690120100975,
0.02898355945944786,
-0.005289100576192141,
0.01810363121330738,
0.04415866360068321,
0.011270398274064064,
0.026818223297595978,
-0.05526932328939438,
-0.017225073650479317,
0.020357711240649223,
-0.06385967135429382,
0.016470754519104958,
-0.012051339261233807,
-0.009513281285762787,
0.052039068192243576,
-0.020890170708298683,
0.012974269688129425,
0.07269850373268127,
-0.006012358237057924,
-0.013835079967975616,
0.06485360115766525,
-0.019381536170840263,
0.029924238100647926,
-0.03620726242661476,
0.056121259927749634,
0.006651309784501791,
-0.028752828016877174,
-0.02807837910950184,
0.07553829252719879,
0.01418117806315422,
0.005275788716971874,
-0.029462773352861404,
0.04415866360068321,
-0.044975101947784424,
-0.044726621359586716,
0.004716705996543169,
-0.011021916754543781,
0.007063966244459152,
0.01167861744761467,
-0.013355866074562073,
-0.006309648044407368,
0.016736986115574837,
-0.009548778645694256,
0.017713161185383797,
0.06730291247367859,
0.04028945416212082,
0.009158307686448097,
0.041602857410907745,
-0.03851458802819252,
-0.04717593640089035,
0.01810363121330738,
0.007769475225359201,
-0.01845860481262207,
0.055411312729120255,
0.056653719395399094,
-0.017828527837991714,
0.010622572153806686,
-0.010471709072589874,
-0.005874806083738804,
-0.00038048686110414565,
-0.08086288720369339,
0.01051608007401228,
0.030012981966137886,
-0.048205357044935226,
0.01163424551486969,
0.01458052359521389,
0.015592196956276894,
0.021103154867887497,
-0.021866347640752792,
-0.05171959102153778,
-0.0374496690928936,
-0.020215721800923347,
-0.055943772196769714,
0.013000892475247383,
0.01684347726404667,
-0.009389040991663933,
0.06552805006504059,
0.03342072293162346,
0.024546395987272263,
-0.05938701331615448,
-0.029267538338899612,
-0.015210600569844246,
-0.00876339990645647,
0.007121649570763111,
0.038479093462228775,
-0.04575604200363159,
0.04238379746675491,
0.023605715483427048,
0.022682785987854004,
0.022505300119519234,
-0.013018641620874405,
0.001240187557414174,
-0.08547753840684891,
0.01797051727771759,
0.05494984611868858,
-0.0015541169559583068,
0.020623940974473953,
0.025167597457766533,
-0.09683668613433838,
-0.007383442018181086,
0.0031126709654927254,
-0.06875830143690109,
0.025629064068198204,
-0.0018414233345538378,
-0.015814054757356644,
0.06293674558401108,
0.010640321299433708,
0.01721620000898838,
-0.01844085566699505,
0.03512459620833397,
0.028664084151387215,
0.06123287230730057,
0.03911804407835007,
-0.009699641726911068,
0.004796575289219618,
0.027261940762400627,
-0.04714043810963631,
-0.005315723363310099,
-0.03950851410627365,
0.021866347640752792,
-0.009309171698987484,
-0.051932577043771744,
-0.005147111136466265,
0.03968600183725357,
-0.02593079023063183,
0.009788385592401028,
-0.05555330216884613,
0.010595949366688728,
0.014731386676430702,
0.011527754366397858,
0.03574579954147339,
0.05143561214208603,
0.01863609254360199,
0.0007310229120776057
] |
708,695
|
pathvalidate._filename
|
_get_sanitize_regexp
| null |
def _get_sanitize_regexp(self) -> Pattern[str]:
if self._is_windows(include_universal=True):
return _RE_INVALID_WIN_FILENAME
return _RE_INVALID_FILENAME
|
(self) -> Pattern[str]
|
[
0.03886771202087402,
-0.008914299309253693,
0.06407365947961807,
0.055466752499341965,
0.003710022196173668,
-0.06386873871088028,
0.0634930357336998,
-0.028706775978207588,
0.021739277988672256,
0.02144896611571312,
0.025547495111823082,
0.051299914717674255,
-0.009102148935198784,
0.019348470494151115,
0.012082120403647423,
0.02119280770421028,
0.028143228963017464,
0.0590188093483448,
0.004126279149204493,
0.022388212382793427,
-0.05597906932234764,
0.035554733127355576,
-0.02383977361023426,
-0.025667034089565277,
-0.021295271813869476,
0.06263917684555054,
-0.0142167704179883,
-0.008888683281838894,
-0.04491304233670235,
-0.051094990223646164,
0.0028134691528975964,
0.01596718467772007,
0.037740617990493774,
0.026350123807787895,
0.046723224222660065,
-0.046928152441978455,
-0.04446903616189957,
0.005336625501513481,
-0.0721340999007225,
-0.10902085900306702,
-0.0011655190028250217,
0.053929805755615234,
0.01037440076470375,
0.002653370378538966,
0.004333340097218752,
0.008290981873869896,
-0.004023815970867872,
-0.010015779174864292,
-0.03678429499268532,
0.036408595740795135,
0.0028881817124783993,
0.05201715603470802,
-0.04074620455503464,
-0.0025338297709822655,
0.01279082428663969,
-0.0011836636113002896,
-0.006429566536098719,
0.01878492161631584,
-0.007782934699207544,
-0.03869694098830223,
-0.03350546956062317,
-0.014268002472817898,
-0.005917250644415617,
-0.027169829234480858,
0.02009986713528633,
0.012799362652003765,
0.00023374419833999127,
-0.01583910547196865,
0.003859447780996561,
0.03698921948671341,
-0.041497603058815,
-0.03265161067247391,
-0.07261226326227188,
-0.04334193840622902,
0.06250256299972534,
-0.02319084107875824,
-0.020902495831251144,
-0.014908397570252419,
0.009042378515005112,
0.008871606551110744,
0.06089730188250542,
0.06383458524942398,
0.06895774602890015,
-0.04238561540842056,
0.07315873354673386,
-0.05147068575024605,
-0.021039113402366638,
0.014105768874287605,
-0.024386243894696236,
-0.019092312082648277,
-0.006758302915841341,
-0.009042378515005112,
0.0008020948152989149,
0.011629574932157993,
0.0219100508838892,
0.008628256618976593,
0.030534038320183754,
0.027050288394093513,
0.05990682542324066,
-0.058096643537282944,
-0.00710838520899415,
0.05099252611398697,
-0.04129267483949661,
-0.01609526388347149,
0.057652633637189865,
0.05430550128221512,
0.020458487793803215,
0.032275911420583725,
-0.05539844557642937,
-0.008273904211819172,
0.009793775156140327,
0.0046279216185212135,
-0.001380051369778812,
-0.004344013519585133,
0.03135374188423157,
-0.019382623955607414,
-0.06410782039165497,
-0.024386243894696236,
0.021295271813869476,
0.0018315298948436975,
-0.04200991615653038,
0.0678989589214325,
-0.10150688886642456,
-0.00871364213526249,
0.028775084763765335,
-0.0004728250205516815,
-0.021705124527215958,
-0.004474226851016283,
0.049592193216085434,
0.036442749202251434,
-0.05847233906388283,
0.07363689690828323,
-0.004559612832963467,
-0.03038034215569496,
-0.03538396209478378,
0.013448297046124935,
0.0009040244040079415,
0.013157984241843224,
0.003923487383872271,
0.03145620599389076,
-0.0018357991939410567,
0.026811206713318825,
-0.020509719848632812,
-0.06369796395301819,
-0.03897017613053322,
-0.011501495726406574,
0.0207488015294075,
0.0460059829056263,
0.01552317664027214,
0.008184249512851238,
0.015659794211387634,
-0.009161919355392456,
0.028262769803404808,
0.05010451003909111,
0.0502752847969532,
-0.00405583530664444,
0.04265885055065155,
-0.011680806055665016,
-0.0030269341077655554,
-0.05157314985990524,
0.013482451438903809,
0.0027878533583134413,
-0.026384277269244194,
-0.04460565373301506,
0.03299315273761749,
0.03739907220005989,
0.05556921660900116,
-0.033812861889600754,
0.01600133813917637,
-0.0025060793850570917,
-0.012978673912584782,
0.020424334332346916,
0.0003813019138760865,
0.05987267196178436,
0.02933863364160061,
0.0939246118068695,
0.004448611289262772,
0.07247564941644669,
0.001543352147564292,
0.07063131034374237,
0.043239474296569824,
0.01770905777812004,
0.008577024564146996,
0.025513339787721634,
0.047372158616781235,
0.0002662976330611855,
-0.036852601915597916,
-0.0317465178668499,
0.020714646205306053,
-0.0005518071120604873,
0.006408220157027245,
0.030465729534626007,
0.052187930792570114,
0.013952074572443962,
-0.010604942217469215,
-0.01945093274116516,
-0.00268112076446414,
0.011228260584175587,
-0.005234162323176861,
-0.059599436819553375,
-0.01650511659681797,
0.03038034215569496,
-0.02496686950325966,
0.02957771345973015,
-0.03126835823059082,
-0.039516646414995193,
-0.016359958797693253,
0.0006761504919268191,
-0.04200991615653038,
0.06619123369455338,
-0.023686079308390617,
-0.05334917828440666,
-0.009990163147449493,
0.07595939189195633,
0.006561914924532175,
-0.021329425275325775,
-0.03352254629135132,
0.056593846529722214,
-0.049114033579826355,
0.05375903099775314,
-0.042761314660310745,
0.005306740757077932,
0.04644998908042908,
-0.0262476596981287,
0.012722515501081944,
-0.016718581318855286,
0.00020586034224834293,
0.04542535915970802,
0.027904149144887924,
0.007304773200303316,
0.022388212382793427,
-0.06513244658708572,
0.020492643117904663,
0.06509829312562943,
-0.0034517294261604548,
-0.044947195798158646,
0.004674884025007486,
-0.0038765249773859978,
0.10123365372419357,
-0.020185252651572227,
-0.039311718195676804,
-0.002341711428016424,
0.0372283011674881,
0.03647690266370773,
0.03900432959198952,
0.0025103488005697727,
-0.022234518080949783,
0.06878697127103806,
0.029355710372328758,
0.004794424399733543,
0.013636145740747452,
0.03558889031410217,
-0.0262476596981287,
-0.005831864662468433,
-0.0030845697037875652,
0.033539626747369766,
-0.050241127610206604,
-0.019536320120096207,
0.0050206976011395454,
0.029868027195334435,
0.013046982698142529,
0.06424443423748016,
0.01921185292303562,
-0.0019948307890444994,
-0.06161454692482948,
-0.04200991615653038,
-0.013525144197046757,
0.05406642332673073,
-0.015813488513231277,
0.006480798125267029,
-0.08026284724473953,
-0.0012968000955879688,
-0.039687417447566986,
-0.02643550932407379,
-0.049148187041282654,
-0.02319084107875824,
-0.03106343001127243,
0.03430809825658798,
0.041429292410612106,
-0.045630283653736115,
-0.01772613637149334,
0.042146533727645874,
0.03767230734229088,
0.021363580599427223,
0.03767230734229088,
0.014396081678569317,
-0.0011281627230346203,
-0.09481262415647507,
-0.05126576125621796,
0.0065064141526818275,
-0.05191469565033913,
-0.04084866866469383,
0.032480839639902115,
-0.01653927005827427,
-0.04399087280035019,
-0.016146494075655937,
0.04054127633571625,
-0.1029413715004921,
0.0008474561618641019,
-0.03412025049328804,
-0.01465223915874958,
0.03821877762675285,
0.03801385313272476,
0.0393458753824234,
-0.11305107921361923,
0.028928780928254128,
-0.04218069091439247,
-0.03128543496131897,
-0.003377016633749008,
-0.00039757860940881073,
-0.02710152044892311,
0.011629574932157993,
-0.011996734887361526,
0.006971767637878656,
0.02295175939798355,
0.030670655891299248,
0.011245337314903736,
0.021585583686828613,
-0.012739593163132668,
0.03787723556160927,
0.034461792558431625,
0.010673251003026962,
0.0590188093483448,
-0.05488612875342369,
-0.02339576743543148,
-0.020014481619000435,
-0.0015700352378189564,
-0.04754292964935303,
-0.01676127314567566,
0.013960612937808037,
-0.019297238439321518,
-0.015360943041741848,
0.014396081678569317,
0.01028901431709528,
0.04747462272644043,
0.015010860748589039,
0.03917510062456131,
-0.02669166773557663,
-0.023242071270942688,
-0.035793814808130264,
-0.00006897588900756091,
0.04009727016091347,
-0.03517903760075569,
-0.02233698032796383,
-0.058916348963975906,
-0.010809868574142456,
-0.010536633431911469,
0.015531715005636215,
-0.009025301784276962,
-0.09098733216524124,
0.02868969924747944,
0.0064978753216564655,
-0.12213615328073502,
-0.008286712691187859,
-0.02380562014877796,
0.006339911371469498,
-0.042146533727645874,
0.057174474000930786,
0.010758637450635433,
0.040370505303144455,
0.0218588188290596,
0.022166209295392036,
-0.0196729376912117,
-0.05533013492822647,
0.029799718409776688,
0.01706012524664402,
0.054647047072649,
0.025069333612918854,
-0.022388212382793427,
-0.02819446101784706,
-0.0013149445876479149,
0.05669631063938141,
0.03215637058019638,
-0.12322909384965897,
-0.01924600638449192,
-0.02672582119703293,
0.03569135069847107,
-0.031012199819087982,
-0.008081786334514618,
0.016829581931233406,
0.026367200538516045,
0.08374659717082977,
-0.017879830673336983,
-0.0590188093483448,
-0.04286377876996994,
-0.05235870182514191,
-0.03280530497431755,
0.003641713410615921,
-0.017000354826450348,
-0.011416109278798103,
-0.0054775127209723,
-0.006771110463887453,
0.0590529665350914,
0.04177083820104599,
0.009042378515005112,
0.004576690029352903,
0.004495573695749044,
0.033146850764751434,
0.01082694623619318,
0.03521319106221199,
-0.0635271891951561,
0.04074620455503464,
-0.0393800288438797,
0.0022627292200922966,
-0.007189502008259296,
-0.000650534697342664,
0.03760400041937828,
0.06106807664036751,
0.011621035635471344,
-0.01840922422707081,
0.009255843237042427,
-0.02602565661072731,
-0.015019399113953114,
-0.056354768574237823,
0.017111357301473618,
-0.012065043672919273,
-0.029048321768641472,
-0.059838514775037766,
0.0037078876048326492,
-0.011373416520655155,
-0.026606280356645584,
0.007291965186595917,
-0.0219100508838892,
0.06800141930580139,
0.04945557564496994,
0.012158967554569244,
0.003293765475973487,
-0.009742544032633305,
0.05099252611398697,
0.020902495831251144,
-0.043444402515888214,
-0.007394428364932537,
-0.042727161198854446,
-0.023088376969099045,
-0.006707071326673031,
-0.03432517498731613,
0.03000464476644993,
0.027852917090058327,
-0.02428378164768219,
0.0002169338404200971,
-0.011074565351009369,
-0.005054851993918419,
0.005810517817735672,
0.06800141930580139,
0.027630914002656937,
-0.03893602266907692,
0.02387392893433571,
0.022473597899079323,
-0.08169733732938766,
-0.02734060026705265,
-0.016897890716791153,
0.034256868064403534,
-0.04440072551369667,
-0.031848981976509094,
0.01181742362678051,
0.004521189257502556,
-0.02254190668463707,
-0.026367200538516045,
-0.044503189623355865,
-0.042078226804733276,
0.01950216479599476,
0.08135578781366348,
0.05498858913779259,
-0.019587550312280655,
-0.04795278236269951,
-0.023754388093948364,
0.050002049654722214,
-0.02056095190346241,
0.01881907694041729,
0.0006403950974345207,
-0.02235405705869198,
0.010502479039132595,
0.008303789421916008,
0.0009605926461517811,
-0.04634752497076988,
0.035315655171871185,
-0.0787600576877594,
0.04026804119348526,
0.03287361562252045,
0.020902495831251144,
-0.002525291172787547,
-0.02056095190346241,
0.023669002577662468,
0.03256622329354286,
0.023993469774723053,
-0.0295264832675457,
-0.04392256215214729,
-0.035964589565992355,
-0.0339323990046978,
0.00755666196346283,
0.08217549324035645,
0.04665491729974747,
-0.027852917090058327,
0.033129774034023285,
-0.0027110057417303324,
0.01235535554587841,
0.0026106773875653744,
0.05584245175123215,
0.07350027561187744,
-0.005050582345575094,
0.041873298585414886,
-0.028928780928254128,
-0.00898260809481144,
0.013345833867788315,
0.00424581952393055,
-0.026350123807787895,
-0.006327103357762098,
-0.002035388955846429,
0.003163551678881049,
-0.011996734887361526,
-0.0010385073255747557,
0.00929853692650795,
-0.001239164499565959,
0.008786220103502274,
0.01728212833404541,
-0.029202016070485115,
0.014814472757279873,
-0.015659794211387634,
0.009255843237042427,
0.01834091544151306,
-0.04966050386428833,
-0.022695600986480713,
-0.004764539189636707,
-0.0896894633769989,
-0.016718581318855286,
-0.0027088711503893137,
-0.03372747451066971,
0.05191469565033913,
0.023549461737275124,
0.00011353671288816258,
0.05994097888469696,
-0.015156016685068607,
0.02672582119703293,
-0.016735658049583435,
0.01737605407834053,
-0.0038893327582627535,
-0.03842370584607124,
-0.030482806265354156,
-0.06844542920589447,
0.013542220927774906,
-0.02057802863419056,
0.011954041197896004,
0.02426670491695404,
0.0006516019930131733,
0.002815603744238615,
-0.028040766716003418,
0.009845007210969925,
-0.013072597794234753,
-0.05737939849495888,
-0.03610120713710785,
0.013286063447594643,
-0.002247786847874522,
-0.019826631993055344,
0.02643550932407379,
0.00486273318529129,
-0.02607688680291176,
0.03852616623044014,
0.019792476668953896,
-0.03521319106221199,
-0.006775380112230778,
-0.05707200989127159,
-0.04084866866469383,
0.019331393763422966,
0.009682773612439632,
-0.10191674530506134,
-0.03756984323263168,
-0.08593247830867767,
0.03702337294816971,
-0.04832848161458969,
0.02252482995390892,
-0.00380394677631557,
0.05580829828977585,
0.09781821072101593,
-0.027016133069992065,
-0.06673770397901535,
0.01972416788339615,
0.06502998620271683,
0.016581963747739792,
-0.016180649399757385,
0.004109201952815056,
0.039482492953538895,
0.00038637168472632766,
-0.017162587493658066,
-0.05143653228878975,
-0.051983002573251724,
-0.09686189144849777,
0.007680471520870924,
0.06540568172931671,
-0.044093336910009384,
-0.03634028509259224,
0.011877194046974182,
0.005925789009779692,
0.03309561684727669,
-0.03328346833586693,
-0.017674904316663742,
-0.017572440207004547,
-0.0020994285587221384,
-0.00885452888906002,
0.015070631168782711,
0.03258330002427101,
0.0306023471057415,
0.03545227274298668,
0.07466153055429459,
0.012312662787735462,
0.08272197097539902,
-0.04245392605662346,
0.011501495726406574,
-0.03657936677336693,
-0.021397734060883522,
0.003293765475973487,
-0.011245337314903736,
0.013439757749438286,
-0.01213335245847702,
-0.0481918640434742,
0.06147792935371399,
0.06277579814195633,
-0.04067789390683174,
-0.02209790050983429,
0.007134001236408949,
0.00815863348543644,
0.026640435680747032,
0.017555363476276398,
0.023703156039118767,
-0.06079484149813652,
0.06714756041765213,
0.02033894695341587,
-0.01793106272816658,
0.016308728605508804,
-0.061819471418857574,
-0.0240617785602808,
-0.014037460088729858,
-0.004162568133324385,
0.00788966752588749,
-0.02995341271162033,
0.03347131609916687,
0.03135374188423157,
-0.02798953466117382,
0.02233698032796383,
0.013806917704641819,
0.008068977855145931,
0.009230228140950203,
-0.08354167640209198,
-0.00497800437733531,
0.02383977361023426,
-0.03893602266907692,
0.020270638167858124,
-0.03842370584607124,
-0.008273904211819172,
0.006976037286221981,
-0.027443064376711845,
-0.005024966783821583,
0.048670027405023575,
0.009230228140950203,
-0.007484083995223045,
0.0437517911195755,
0.05782340466976166,
-0.03791138902306557,
-0.030294956639409065,
0.00557997589930892,
-0.00316782109439373,
-0.06964083015918732,
0.011228260584175587,
-0.02582073025405407,
0.03784307837486267,
0.024403322488069534,
0.002702467143535614,
0.045391201972961426,
-0.02148311957716942,
-0.03582797199487686,
-0.03495703265070915,
-0.021619737148284912,
-0.011911348439753056,
-0.01921185292303562,
-0.008871606551110744,
-0.004956657998263836,
0.03417148068547249,
-0.025479186326265335,
0.026111042127013206,
0.050616826862096786,
0.03681844845414162,
0.009708389639854431,
-0.008231211453676224,
-0.03082435019314289,
-0.01791398599743843,
0.029799718409776688,
0.03552057966589928,
-0.05273440107703209,
0.03893602266907692,
0.04508381336927414,
0.044947195798158646,
-0.011988195590674877,
0.006156331393867731,
0.0064978753216564655,
0.020441411063075066,
-0.06806972622871399,
0.006045329384505749,
0.06205855309963226,
0.03147328272461891,
0.025086410343647003,
-0.006361257750540972,
-0.00776158832013607,
0.0316782109439373,
-0.001272251596674323,
-0.07049468904733658,
0.0027771799359470606,
0.025223027914762497,
-0.018887385725975037,
0.009307075291872025,
-0.02605981007218361,
0.030909735709428787,
0.009008224122226238,
0.0009227026021108031,
0.001351233571767807,
-0.01159542053937912,
-0.018904462456703186,
-0.07363689690828323,
-0.01412284653633833,
-0.00139499397482723,
0.06868450343608856,
-0.058267414569854736,
0.02734060026705265,
-0.015813488513231277,
-0.005234162323176861,
0.016453884541988373,
0.012090658769011497,
0.09686189144849777,
-0.07028976082801819,
-0.04662076011300087,
0.030738964676856995,
-0.030551115050911903,
-0.015693949535489082,
0.031182970851659775,
-0.015591485425829887,
0.029389865696430206,
0.04682568833231926,
0.003507230430841446,
-0.005614130292087793,
-0.02585488371551037,
-0.027699222788214684,
-0.0014376869658008218,
-0.030021721497178078,
0.006412489339709282,
-0.08026284724473953,
0.006916266866028309,
0.042078226804733276,
0.04419580101966858,
0.003453864250332117,
0.022422365844249725,
0.0033492662478238344,
-0.003942699171602726,
0.007620701566338539,
-0.03176359459757805,
-0.0481235571205616,
-0.002866835333406925,
-0.0017504132119938731,
-0.049797121435403824,
0.021346502006053925,
0.01948508806526661,
0.012748131528496742,
0.03985818848013878,
0.00606667622923851,
0.05440796539187431,
0.001119624124839902,
0.05505689978599548,
-0.05068513751029968,
-0.001246635802090168,
0.01687227562069893,
-0.04132682830095291
] |
708,701
|
pathvalidate._filename
|
sanitize
| null |
def sanitize(self, value: PathType, replacement_text: str = "") -> PathType:
try:
validate_pathtype(value, allow_whitespaces=not self._is_windows(include_universal=True))
except ValidationError as e:
if e.reason == ErrorReason.NULL_NAME:
if isinstance(value, PurePath):
raise
return self._null_value_handler(e)
raise
sanitized_filename = self._sanitize_regexp.sub(replacement_text, str(value))
sanitized_filename = sanitized_filename[: self.max_len]
try:
self._validator.validate(sanitized_filename)
except ValidationError as e:
if e.reason == ErrorReason.RESERVED_NAME:
replacement_word = self._reserved_name_handler(e)
if e.reserved_name != replacement_word:
sanitized_filename = re.sub(
re.escape(e.reserved_name), replacement_word, sanitized_filename
)
elif e.reason == ErrorReason.INVALID_CHARACTER and self._is_windows(
include_universal=True
):
# Do not start a file or directory name with a space
sanitized_filename = sanitized_filename.lstrip(" ")
# Do not end a file or directory name with a space or a period
sanitized_filename = sanitized_filename.rstrip(" ")
if sanitized_filename not in (".", ".."):
sanitized_filename = sanitized_filename.rstrip(" .")
elif e.reason == ErrorReason.NULL_NAME:
sanitized_filename = self._null_value_handler(e)
if self._validate_after_sanitize:
try:
self._validator.validate(sanitized_filename)
except ValidationError as e:
raise ValidationError(
description=str(e),
reason=ErrorReason.INVALID_AFTER_SANITIZE,
platform=self.platform,
)
if isinstance(value, PurePath):
return Path(sanitized_filename)
return sanitized_filename
|
(self, value: ~PathType, replacement_text: str = '') -> ~PathType
|
[
0.07869945466518402,
0.01634076237678528,
0.03456840664148331,
0.03497142717242241,
-0.0034806556068360806,
-0.06437380611896515,
0.05517755076289177,
-0.010551881976425648,
0.061332814395427704,
0.0042729624547064304,
0.06840404123067856,
0.030648088082671165,
0.020682422444224358,
0.044845499098300934,
-0.01097322441637516,
0.05026799440383911,
0.013693631626665592,
0.055360741913318634,
0.014728669077157974,
0.02394324727356434,
-0.014811105094850063,
-0.016807902604341507,
-0.033762358129024506,
-0.03332269564270973,
0.01673462614417076,
0.03832384943962097,
-0.01477446686476469,
0.018749741837382317,
0.014866063371300697,
-0.06660875678062439,
0.058365099132061005,
0.026068277657032013,
0.025353828445076942,
0.006223961710929871,
0.024437865242362022,
-0.03755444288253784,
-0.03533781319856644,
-0.001083697541616857,
0.003361580427736044,
-0.09210913628339767,
-0.05455469712615013,
0.06001383066177368,
-0.018310079351067543,
0.00964508019387722,
-0.012338007800281048,
0.02689264342188835,
-0.04154803603887558,
0.027167432010173798,
-0.058731481432914734,
0.05231975018978119,
-0.02357686124742031,
0.02975044585764408,
-0.03169228509068489,
0.004291282035410404,
0.02674609050154686,
0.005060689989477396,
0.019253520295023918,
0.05085420981049538,
0.03268152475357056,
-0.0815572589635849,
0.04444247484207153,
-0.015232447534799576,
0.02991531789302826,
-0.04059543460607529,
0.012805148959159851,
-0.008376472629606724,
0.010854149237275124,
-0.03912989795207977,
-0.022569304332137108,
0.049901608377695084,
-0.03359748423099518,
-0.00047372409608215094,
-0.04063207283616066,
-0.026251470670104027,
0.06466691941022873,
0.010029783472418785,
-0.02368677780032158,
0.03938636556267738,
0.06734152883291245,
-0.0287795253098011,
0.04872917756438255,
-0.0038012422155588865,
0.028046756982803345,
-0.057046111673116684,
0.029329102486371994,
-0.01592857949435711,
-0.0012628826079890132,
-0.03685830906033516,
0.026709452271461487,
0.01525992713868618,
0.022221237421035767,
-0.039166536182165146,
-0.00982827227562666,
-0.006278919521719217,
-0.00906344410032034,
0.013363885693252087,
0.03332269564270973,
-0.07760030031204224,
0.012621955946087837,
-0.01654227264225483,
0.025500381365418434,
0.06715833395719528,
0.01863066665828228,
0.00860546249896288,
0.07547526806592941,
-0.016981935128569603,
0.02408980019390583,
-0.004575230181217194,
-0.006846815813332796,
-0.022844092920422554,
0.002083813538774848,
-0.04546835273504257,
-0.012283050455152988,
-0.004863758105784655,
0.005633166059851646,
-0.030300023034214973,
-0.09416089206933975,
-0.0643005296587944,
0.043050214648246765,
-0.023118881508708,
-0.007263578474521637,
0.02980540320277214,
-0.07422956079244614,
0.00982827227562666,
0.033414293080568314,
0.029127590358257294,
-0.0264896210283041,
0.0015972086694091558,
0.06060004606842995,
0.020737379789352417,
-0.0726541057229042,
0.0500115230679512,
-0.02949397638440132,
0.033560846000909805,
-0.029823722317814827,
0.0323517769575119,
-0.030025234445929527,
0.03821393474936485,
0.021781576797366142,
0.03158237040042877,
0.00587131641805172,
0.016597231850028038,
0.021323595196008682,
-0.04451575130224228,
0.01991301402449608,
0.003975274972617626,
0.03442184999585152,
0.006343036890029907,
0.0009972535772249103,
0.028248267248272896,
-0.030501535162329674,
0.021268637850880623,
0.05961080640554428,
0.03586907312273979,
0.042134251445531845,
-0.02806507609784603,
0.006146105006337166,
-0.037591081112623215,
0.01683538220822811,
-0.009919868782162666,
-0.0034921050537377596,
-0.06408070027828217,
0.021250318735837936,
-0.036473605781793594,
0.011165576986968517,
0.05034127086400986,
0.058365099132061005,
-0.02088393270969391,
0.024419546127319336,
0.013235650956630707,
0.016166729852557182,
0.029732126742601395,
-0.021708298474550247,
0.0668652281165123,
0.01592857949435711,
0.03222354128956795,
0.03334101662039757,
-0.00877949595451355,
0.05103740096092224,
0.0012697522761300206,
0.004740103147923946,
0.001328144920989871,
-0.004181366413831711,
0.04942530766129494,
0.02037099376320839,
0.012383806519210339,
-0.05884139984846115,
0.04598129168152809,
0.04114501178264618,
-0.009461887180805206,
-0.02348526567220688,
0.02302728407084942,
0.03561260178685188,
0.004098929930478334,
0.0006096871802583337,
-0.02397988550364971,
0.023466946557164192,
-0.013968420214951038,
-0.043306682258844376,
0.0075658462010324,
-0.02854137495160103,
-0.0109182670712471,
0.03229682147502899,
-0.002402110258117318,
-0.05059773847460747,
0.0025784329045563936,
0.04748347029089928,
0.03196707367897034,
-0.10537226498126984,
0.055507294833660126,
-0.03291967511177063,
-0.013482960872352123,
-0.034220341593027115,
-0.008958108723163605,
-0.004740103147923946,
-0.04308685287833214,
0.0005776285543106496,
0.03956955671310425,
-0.025298869237303734,
0.05847501382231712,
-0.03127094358205795,
0.037847548723220825,
0.02496912330389023,
-0.047703299671411514,
0.04429592192173004,
-0.02460273914039135,
-0.021506788209080696,
0.03334101662039757,
0.05961080640554428,
-0.04312349110841751,
0.0298603605479002,
-0.042134251445531845,
-0.0064025744795799255,
0.020334355533123016,
0.0026333907153457403,
-0.04217088967561722,
0.06136945262551308,
-0.0597207210958004,
0.01474698819220066,
-0.01985805667936802,
-0.034678321331739426,
-0.06257852166891098,
-0.029933637008070946,
0.01114725787192583,
-0.031417496502399445,
-0.02429131232202053,
-0.04528516158461571,
0.03328605741262436,
0.023613499477505684,
-0.04909556359052658,
0.02317383885383606,
0.06415397673845291,
-0.043050214648246765,
0.02037099376320839,
0.030336661264300346,
0.06331129372119904,
-0.0454317145049572,
-0.057449135929346085,
0.04022905230522156,
0.03280975669622421,
-0.006933832075446844,
0.007414712104946375,
-0.04312349110841751,
0.0025807227939367294,
-0.045614905655384064,
-0.06257852166891098,
-0.052759408950805664,
0.05195336416363716,
-0.007996347732841969,
0.010881628841161728,
-0.031051112338900566,
0.05074429512023926,
-0.032278500497341156,
-0.02969548851251602,
-0.042390719056129456,
0.04865590110421181,
-0.013647833839058876,
0.03548436611890793,
0.092475526034832,
-0.02277081459760666,
0.027387263253331184,
-0.0229173693805933,
0.0013258550316095352,
-0.030446575954556465,
0.0597207210958004,
0.02000460959970951,
-0.03715141862630844,
-0.043819621205329895,
-0.030941195785999298,
0.03548436611890793,
-0.0046759857796132565,
-0.023411989212036133,
-0.024730972945690155,
0.012017421424388885,
-0.03231513872742653,
-0.010139699093997478,
-0.02740558236837387,
-0.10991543531417847,
0.00020566208695527166,
-0.09438072144985199,
-0.028046756982803345,
0.021012168377637863,
0.007616223767399788,
0.049278754740953445,
-0.012273890897631645,
0.003721095621585846,
0.004527142271399498,
-0.035722516477108,
0.010881628841161728,
0.054994359612464905,
-0.038763511925935745,
-0.07056571543216705,
-0.027387263253331184,
0.043160129338502884,
0.09848423302173615,
0.06327465176582336,
0.05180681124329567,
-0.0021960188169032335,
-0.01831923983991146,
0.010780872777104378,
0.008335254155099392,
0.019381755962967873,
-0.03588739037513733,
-0.03464168310165405,
-0.033817317336797714,
-0.05319907143712044,
0.018960412591695786,
0.022019727155566216,
-0.01960158720612526,
0.01608429290354252,
-0.0086787398904562,
0.013437162153422832,
0.03257161006331444,
-0.010112220421433449,
0.048765815794467926,
0.04425928369164467,
0.03011683002114296,
-0.009145880118012428,
0.029768764972686768,
-0.010350370779633522,
0.012365486472845078,
0.02449282445013523,
-0.02337534911930561,
-0.03449513018131256,
0.0023952405899763107,
-0.009068023413419724,
-0.02348526567220688,
-0.016102612018585205,
0.025610297918319702,
-0.048619262874126434,
-0.011449525132775307,
-0.018923774361610413,
-0.07254418730735779,
-0.0660591796040535,
-0.04077862948179245,
-0.017192605882883072,
-0.0038539101369678974,
0.02419971488416195,
-0.061112985014915466,
-0.0131440544500947,
0.06572943180799484,
0.022019727155566216,
-0.036473605781793594,
-0.027900202199816704,
0.0483994297683239,
-0.007478829473257065,
0.0022578462958335876,
0.010148858651518822,
-0.038763511925935745,
0.0023379928898066282,
0.032846398651599884,
0.01531488448381424,
0.03444017097353935,
-0.10390672832727432,
0.04660414531826973,
0.0001557135401526466,
0.004600419197231531,
-0.006961311213672161,
-0.01689949817955494,
0.06594926118850708,
0.0781865119934082,
0.04872917756438255,
-0.02940238080918789,
-0.015910260379314423,
-0.022550983354449272,
0.005605687387287617,
-0.012722712010145187,
-0.03500806540250778,
-0.003702776273712516,
-0.03178388252854347,
0.006622405257076025,
-0.04107173532247543,
0.0815572589635849,
0.003008935134857893,
0.03634537011384964,
0.015617151744663715,
-0.03222354128956795,
0.024566100910305977,
-0.001562860095873475,
0.05898795276880264,
-0.028010116890072823,
0.03158237040042877,
-0.0496085025370121,
0.05319907143712044,
-0.006723160855472088,
-0.020810656249523163,
0.07906583696603775,
0.05990391597151756,
0.00287154084071517,
0.054481420665979385,
0.020352674648165703,
-0.036473605781793594,
-0.00836731307208538,
-0.02888944186270237,
0.043563153594732285,
0.00010655214282451198,
-0.05997719243168831,
-0.04792313277721405,
0.015223287977278233,
-0.02394324727356434,
-0.045101966708898544,
-0.01104650180786848,
-0.03680335357785225,
0.03711478039622307,
0.026965921744704247,
-0.0019281000131741166,
0.030593130737543106,
-0.021818215027451515,
0.030446575954556465,
-0.0006125496001914144,
-0.013776068575680256,
-0.01949167065322399,
-0.0967988595366478,
0.028138352558016777,
0.0007739879074506462,
-0.03068472631275654,
0.021506788209080696,
-0.01554387528449297,
-0.004882077220827341,
-0.013418843038380146,
-0.05506763607263565,
-0.0003271701862104237,
0.04048551991581917,
0.08214347064495087,
0.014572955667972565,
-0.041877783834934235,
-0.037847548723220825,
0.02837650291621685,
-0.04154803603887558,
-0.00020809510897379369,
-0.012044900096952915,
-0.012869265861809254,
0.039679475128650665,
0.008967268280684948,
-0.03566756099462509,
0.0023631819058209658,
-0.02506072074174881,
-0.029640529304742813,
-0.012246412225067616,
0.0015079024014994502,
-0.012695233337581158,
0.08434177935123444,
0.061112985014915466,
-0.0732036828994751,
-0.010615999810397625,
0.040558796375989914,
0.0066040861420333385,
0.005161445587873459,
0.03526453673839569,
-0.011861708015203476,
-0.008816134184598923,
-0.05202664062380791,
-0.006031609605997801,
0.043563153594732285,
0.025903405621647835,
0.03354252874851227,
-0.03083128109574318,
0.05990391597151756,
0.029182549566030502,
0.004305021371692419,
0.05166025459766388,
-0.016652189195156097,
-0.01350127998739481,
0.03880015015602112,
0.03651024401187897,
-0.028303224593400955,
0.0077124000526964664,
0.00743761146441102,
-0.009754994884133339,
0.03674839437007904,
0.06078323721885681,
0.025958362966775894,
-0.035704199224710464,
-0.0012090698583051562,
-0.04634767770767212,
0.0005759110790677369,
-0.031985390931367874,
0.04026569053530693,
0.01477446686476469,
-0.018401676788926125,
0.017119329422712326,
-0.03945964202284813,
-0.036473605781793594,
-0.010469445958733559,
0.014893542043864727,
0.019766459241509438,
-0.007877273485064507,
0.014032538048923016,
-0.009617600589990616,
-0.019070329144597054,
-0.0450286902487278,
0.025701893493533134,
0.013986739329993725,
-0.007973449304699898,
0.027222391217947006,
-0.006993369664996862,
-0.0009234041790477931,
-0.001806735061109066,
0.030025234445929527,
-0.03158237040042877,
-0.1109413132071495,
-0.01612093113362789,
-0.0225143451243639,
-0.03563092276453972,
0.017174286767840385,
-0.04894900694489479,
-0.013730269856750965,
0.024511143565177917,
0.059024590998888016,
-0.013766909018158913,
0.04242736101150513,
0.017577311024069786,
0.06580270826816559,
-0.01868562400341034,
0.057192668318748474,
0.03222354128956795,
-0.020499229431152344,
-0.01541564054787159,
-0.06276171654462814,
0.03042825683951378,
-0.008147481828927994,
0.07496233284473419,
-0.030703045427799225,
0.00555072957649827,
-0.0064025744795799255,
-0.07203125208616257,
0.027533818036317825,
-0.02654457837343216,
0.0015605702064931393,
-0.012548679485917091,
-0.057449135929346085,
-0.014682870358228683,
0.04671406000852585,
0.030666407197713852,
-0.032992951571941376,
-0.030959514901041985,
0.016597231850028038,
0.019583268091082573,
-0.042793743312358856,
0.040851905941963196,
-0.04037560522556305,
-0.042940299957990646,
0.07694080471992493,
-0.026214832440018654,
-0.005124807357788086,
0.0015777444932609797,
-0.059647444635629654,
0.0065537081100046635,
-0.016404878348112106,
-0.02517063543200493,
-0.008229918777942657,
0.05023135617375374,
0.049901608377695084,
-0.014701190404593945,
-0.06539968401193619,
0.02562861703336239,
0.020700741559267044,
0.00008551363862352446,
-0.024254674091935158,
0.011037342250347137,
0.01929016038775444,
-0.010002304799854755,
0.014069176279008389,
-0.031051112338900566,
-0.014078335836529732,
-0.07228772342205048,
0.013574556447565556,
0.06895361840724945,
-0.07825979590415955,
-0.003796662436798215,
-0.035136301070451736,
0.03522789850831032,
-0.013290608301758766,
-0.023448627442121506,
0.01945503242313862,
0.008642101660370827,
0.0051935045048594475,
-0.02454778179526329,
0.01298834104090929,
0.004261513240635395,
-0.04894900694489479,
0.026398025453090668,
0.027588775381445885,
0.08624698221683502,
0.03363412246108055,
0.004043972119688988,
0.01120221521705389,
-0.015204968862235546,
-0.032480012625455856,
-0.02137855254113674,
0.015910260379314423,
0.06074659898877144,
0.015699587762355804,
-0.016212526708841324,
0.036272093653678894,
0.07877273112535477,
-0.003950085956603289,
-0.04440583661198616,
-0.02128695696592331,
0.0066636232659220695,
-0.0436730682849884,
-0.0009938187431544065,
-0.008701639249920845,
-0.02337534911930561,
0.023613499477505684,
-0.023869968950748444,
-0.008770336396992207,
-0.007126184180378914,
-0.06034357473254204,
-0.056423258036375046,
-0.005536990240216255,
-0.02894439920783043,
-0.047300275415182114,
0.020444272086024284,
-0.01068927627056837,
-0.01275935024023056,
-0.03266320377588272,
0.02511567808687687,
-0.0014151612995192409,
0.009209997951984406,
0.027277348563075066,
-0.08426850289106369,
-0.04825287684798241,
0.05506763607263565,
-0.07584165036678314,
-0.017824620008468628,
-0.0189420934766531,
-0.046823978424072266,
-0.024877527728676796,
-0.012420444749295712,
0.021268637850880623,
0.035960666835308075,
-0.008051306009292603,
-0.07378989458084106,
0.08866512030363083,
0.03799410164356232,
0.023595180362462997,
-0.08771251887083054,
0.006819337140768766,
-0.004664536565542221,
-0.009054284542798996,
-0.005463713314384222,
-0.009232897311449051,
0.04458903148770332,
0.03515462204813957,
-0.0023105142172425985,
0.03715141862630844,
-0.007666601799428463,
-0.006567447446286678,
-0.014490518718957901,
0.008692479692399502,
-0.03334101662039757,
-0.049388669431209564,
-0.033505890518426895,
-0.008211599662899971,
0.004863758105784655,
-0.007817735895514488,
0.02026107907295227,
0.04180450364947319,
0.03956955671310425,
-0.00482254009693861,
-0.029732126742601395,
-0.03749948367476463,
0.01143120601773262,
0.04411273077130318,
-0.005285100545734167,
-0.02551870048046112,
0.017476554960012436,
0.018923774361610413,
0.021909810602664948,
-0.03405546769499779,
-0.02954893372952938,
-0.04964514076709747,
-0.01350127998739481,
-0.05125723406672478,
-0.027588775381445885,
0.09899716824293137,
-0.004808800294995308,
0.034330256283283234,
0.04000921919941902,
-0.0006262889946810901,
0.021122083067893982,
-0.01528740581125021,
-0.09723852574825287,
-0.01796201430261135,
-0.05777888372540474,
-0.026013320311903954,
0.0018468083580955863,
0.024621058255434036,
0.023448627442121506,
0.029933637008070946,
0.013437162153422832,
-0.00949852541089058,
-0.032956313341856,
-0.015864461660385132,
-0.03971611335873604,
-0.052759408950805664,
-0.03683999180793762,
0.05455469712615013,
-0.013034138828516006,
0.03204035013914108,
-0.02531719021499157,
0.014582115225493908,
-0.0031623586546629667,
-0.01816352643072605,
0.05986727401614189,
-0.028926080092787743,
-0.023302072659134865,
0.03566756099462509,
0.028596334159374237,
0.017238404601812363,
0.05543401837348938,
-0.04825287684798241,
0.004685145802795887,
0.016752945259213448,
-0.0018754322081804276,
-0.028394822031259537,
0.0036661378107964993,
-0.02485920861363411,
0.022276194766163826,
0.002155945636332035,
0.02603163942694664,
-0.0420609749853611,
-0.05583704262971878,
0.041621312499046326,
0.008234498091042042,
-0.001805590116418898,
0.012447923421859741,
0.003501264611259103,
0.0655096024274826,
0.006233121268451214,
-0.011110618710517883,
-0.04209761321544647,
0.04469894617795944,
0.04898564890027046,
-0.025188954547047615,
0.013446321710944176,
0.02822994813323021,
-0.009883229620754719,
0.02929246425628662,
-0.020187802612781525,
0.06074659898877144,
0.017678067088127136,
0.004932455252856016,
0.004563780501484871,
0.004355399403721094,
-0.03291967511177063,
-0.01141288597136736
] |
708,702
|
pathvalidate._filename
|
FileNameValidator
| null |
class FileNameValidator(BaseValidator):
_WINDOWS_RESERVED_FILE_NAMES = ("CON", "PRN", "AUX", "CLOCK$", "NUL") + tuple(
f"{name:s}{num:d}" for name, num in itertools.product(("COM", "LPT"), range(1, 10))
)
_MACOS_RESERVED_FILE_NAMES = (":",)
@property
def reserved_keywords(self) -> Tuple[str, ...]:
common_keywords = super().reserved_keywords
if self._is_universal():
word_set = set(
common_keywords
+ self._WINDOWS_RESERVED_FILE_NAMES
+ self._MACOS_RESERVED_FILE_NAMES
)
elif self._is_windows():
word_set = set(common_keywords + self._WINDOWS_RESERVED_FILE_NAMES)
elif self._is_posix() or self._is_macos():
word_set = set(common_keywords + self._MACOS_RESERVED_FILE_NAMES)
else:
word_set = set(common_keywords)
return tuple(sorted(word_set))
def __init__(
self,
min_len: int = DEFAULT_MIN_LEN,
max_len: int = _DEFAULT_MAX_FILENAME_LEN,
fs_encoding: Optional[str] = None,
platform: Optional[PlatformType] = None,
check_reserved: bool = True,
additional_reserved_names: Optional[Sequence[str]] = None,
) -> None:
super().__init__(
min_len=min_len,
max_len=max_len,
fs_encoding=fs_encoding,
check_reserved=check_reserved,
additional_reserved_names=additional_reserved_names,
platform_max_len=_DEFAULT_MAX_FILENAME_LEN,
platform=platform,
)
def validate(self, value: PathType) -> None:
validate_pathtype(value, allow_whitespaces=not self._is_windows(include_universal=True))
unicode_filename = to_str(value)
byte_ct = len(unicode_filename.encode(self._fs_encoding))
self.validate_abspath(unicode_filename)
err_kwargs = {
ErrorAttrKey.REASON: ErrorReason.INVALID_LENGTH,
ErrorAttrKey.PLATFORM: self.platform,
ErrorAttrKey.FS_ENCODING: self._fs_encoding,
ErrorAttrKey.BYTE_COUNT: byte_ct,
}
if byte_ct > self.max_len:
raise ValidationError(
[
f"filename is too long: expected<={self.max_len:d} bytes, actual={byte_ct:d} bytes"
],
**err_kwargs,
)
if byte_ct < self.min_len:
raise ValidationError(
[
f"filename is too short: expected>={self.min_len:d} bytes, actual={byte_ct:d} bytes"
],
**err_kwargs,
)
self._validate_reserved_keywords(unicode_filename)
self.__validate_universal_filename(unicode_filename)
if self._is_windows(include_universal=True):
self.__validate_win_filename(unicode_filename)
def validate_abspath(self, value: str) -> None:
err = ValidationError(
description=f"found an absolute path ({value}), expected a filename",
platform=self.platform,
reason=ErrorReason.FOUND_ABS_PATH,
)
if self._is_windows(include_universal=True):
if ntpath.isabs(value):
raise err
if posixpath.isabs(value):
raise err
def __validate_universal_filename(self, unicode_filename: str) -> None:
match = _RE_INVALID_FILENAME.findall(unicode_filename)
if match:
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=findall_to_str(match), value=repr(unicode_filename)
),
platform=Platform.UNIVERSAL,
)
def __validate_win_filename(self, unicode_filename: str) -> None:
match = _RE_INVALID_WIN_FILENAME.findall(unicode_filename)
if match:
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=findall_to_str(match), value=repr(unicode_filename)
),
platform=Platform.WINDOWS,
)
if unicode_filename in (".", ".."):
return
KB2829981_err_tmpl = "{}. Refer: https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/file-folder-name-whitespace-characters" # noqa: E501
if unicode_filename[-1] in (" ", "."):
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=re.escape(unicode_filename[-1]), value=repr(unicode_filename)
),
platform=Platform.WINDOWS,
description=KB2829981_err_tmpl.format(
"Do not end a file or directory name with a space or a period"
),
)
if unicode_filename[0] in (" "):
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=re.escape(unicode_filename[0]), value=repr(unicode_filename)
),
platform=Platform.WINDOWS,
description=KB2829981_err_tmpl.format(
"Do not start a file or directory name with a space"
),
)
|
(min_len: int = 1, max_len: int = 255, fs_encoding: Optional[str] = None, platform: Optional[~PlatformType] = None, check_reserved: bool = True, additional_reserved_names: Optional[Sequence[str]] = None) -> None
|
[
0.011405478231608868,
0.008700394071638584,
-0.013794009573757648,
0.04715671390295029,
-0.01627846620976925,
-0.030772728845477104,
0.03842753916978836,
-0.0059857177548110485,
0.0414012148976326,
-0.029257114976644516,
0.059013038873672485,
0.04266742616891861,
0.04485451430082321,
0.00733825983479619,
0.0066140261478722095,
0.044432442635297775,
0.0336504764854908,
0.04566028341650963,
-0.0003108568489551544,
0.05210644006729126,
-0.012355135753750801,
-0.011923473328351974,
-0.020585497841238976,
-0.02307954616844654,
0.009928233921527863,
0.05893629789352417,
-0.010158454068005085,
0.0232522115111351,
0.0122879883274436,
-0.04731019213795662,
-0.0039017479866743088,
0.03489750251173973,
0.021007567644119263,
0.031904641538858414,
0.02806764468550682,
-0.07255764305591583,
0.0019161012023687363,
-0.0108970757573843,
-0.06476853787899017,
-0.07117632776498795,
-0.06449994444847107,
0.025535225868225098,
0.0221586674451828,
0.007578072138130665,
-0.019472768530249596,
-0.024882936850190163,
-0.044816143810749054,
0.0336504764854908,
-0.0675695464015007,
0.05805378779768944,
-0.009069705381989479,
0.00042986375046893954,
-0.047041602432727814,
-0.02436494082212448,
-0.011347923427820206,
0.04938217252492905,
0.01541514229029417,
0.012767612934112549,
-0.04746367409825325,
-0.0421302430331707,
0.01227839570492506,
-0.02365509606897831,
0.027453724294900894,
-0.032979004085063934,
-0.02292606607079506,
-0.03695029765367508,
0.035549793392419815,
-0.05064838007092476,
-0.012124915607273579,
0.03679681569337845,
0.00497850589454174,
0.015453511849045753,
-0.026129961013793945,
-0.01622091233730316,
0.04658116400241852,
0.022580737248063087,
-0.046274203807115555,
0.02160230278968811,
0.02329058200120926,
-0.009928233921527863,
0.03470565378665924,
-0.025151526555418968,
0.013122535310685635,
-0.05026468262076378,
0.07125306129455566,
0.02565033547580242,
0.007395814638584852,
0.02513234131038189,
0.033343516290187836,
0.03689274191856384,
0.0022674263454973698,
0.016921164467930794,
-0.0015875581884756684,
0.025899739935994148,
-0.013160904869437218,
-0.030427398160099983,
0.00842221174389124,
-0.0001815080177038908,
-0.020834902301430702,
-0.03263367339968681,
-0.05233665928244591,
0.01042704377323389,
0.02843215875327587,
-0.0016798858996480703,
0.050303053110837936,
0.01684442348778248,
-0.03403417766094208,
-0.004366984125226736,
-0.013582974672317505,
-0.04953565075993538,
-0.029429778456687927,
-0.07390059530735016,
0.02254236675798893,
0.022292962297797203,
0.016499094665050507,
-0.019338473677635193,
-0.03119479864835739,
-0.026743879541754723,
0.013995452784001827,
-0.03493587300181389,
0.02087327279150486,
0.037199702113866806,
-0.0684904232621193,
-0.034283582121133804,
0.037947915494441986,
-0.021372081711888313,
0.013352755457162857,
0.027588019147515297,
0.025055600330233574,
0.06304188817739487,
-0.02068142220377922,
0.07098447531461716,
0.02532419003546238,
-0.02847052924335003,
-0.0007506128749810159,
-0.008297509513795376,
0.011347923427820206,
0.032806336879730225,
-0.03505098074674606,
0.024844566360116005,
0.06469179689884186,
0.02883504517376423,
0.02513234131038189,
-0.03971293568611145,
-0.03159768506884575,
0.009088890627026558,
0.03643230348825455,
-0.04005826637148857,
0.009434220381081104,
0.0269932858645916,
-0.016326429322361946,
-0.023021992295980453,
-0.03604860231280327,
0.03163605183362961,
0.05268198996782303,
-0.06281166523694992,
-0.008820300921797752,
-0.07086936384439468,
-0.00032434629974886775,
0.01624009571969509,
-0.016748499125242233,
-0.07156002521514893,
-0.01162610575556755,
-0.03505098074674606,
0.027070024982094765,
0.046811383217573166,
0.00465955538675189,
-0.0498809814453125,
0.024057980626821518,
0.02256155200302601,
0.03524283319711685,
0.07700856029987335,
0.015290439128875732,
0.034053362905979156,
-0.018772516399621964,
-0.0020815718453377485,
0.021180232986807823,
-0.010081714019179344,
0.015990691259503365,
-0.021890077739953995,
0.019539915025234222,
-0.02016342803835869,
0.0158659890294075,
0.005726720206439495,
0.054063308984041214,
0.055866699665784836,
-0.061391979455947876,
0.05241340026259422,
0.031482573598623276,
-0.0026930933818221092,
-0.07957935333251953,
0.0026043627876788378,
0.023520801216363907,
0.04742530360817909,
-0.00036661323974840343,
-0.0029904607217758894,
0.045545171946287155,
-0.010714818723499775,
-0.013285608030855656,
-0.07639463990926743,
-0.019549507647752762,
0.06396276503801346,
0.020738977938890457,
-0.040211744606494904,
-0.04531495273113251,
-0.03495505824685097,
0.0069833374582231045,
0.019626248627901077,
-0.046274203807115555,
0.019626248627901077,
-0.012431875802576542,
-0.06588126718997955,
-0.028566455468535423,
0.062005896121263504,
0.0008063692366704345,
-0.04335808381438255,
-0.0026787046808749437,
0.061967525631189346,
-0.020911643281579018,
0.05076349154114723,
0.04170817509293556,
0.07436103373765945,
0.0043430025689303875,
-0.023751020431518555,
0.04604398459196091,
-0.02271503210067749,
0.04117099568247795,
0.05621203035116196,
0.055674850940704346,
0.05682595074176788,
-0.02382776141166687,
-0.07501332461833954,
-0.024480050429701805,
0.03789035975933075,
-0.022292962297797203,
-0.003172718221321702,
0.06131523847579956,
-0.028739118948578835,
0.022043557837605476,
-0.035530608147382736,
-0.02624507062137127,
-0.029698370024561882,
-0.003702703630551696,
-0.0022674263454973698,
0.011021778918802738,
-0.04393363371491432,
0.0005125990137457848,
0.07666323333978653,
0.015798842534422874,
-0.005731516517698765,
0.016652574762701988,
0.06507549434900284,
-0.04374178498983383,
-0.002671510213986039,
-0.01173162367194891,
0.02919955924153328,
-0.057554978877305984,
-0.04051870480179787,
0.06561267375946045,
0.03913738578557968,
-0.016403168439865112,
0.03825487568974495,
0.014877961948513985,
0.028681565076112747,
-0.03065761923789978,
-0.03789035975933075,
0.043319713324308395,
0.01624009571969509,
-0.03602941706776619,
-0.011578143574297428,
-0.017870821058750153,
0.03303655982017517,
-0.05260525271296501,
0.005170355550944805,
-0.036835186183452606,
0.0016535065369680524,
-0.007395814638584852,
-0.02603403478860855,
0.03420684114098549,
0.005808256566524506,
0.011012186296284199,
0.002152316505089402,
-0.008609266020357609,
0.022235406562685966,
0.055176038295030594,
0.024633530527353287,
-0.02843215875327587,
-0.1471872627735138,
-0.06937293708324432,
0.011395885609090328,
-0.03294063359498978,
-0.037583399564027786,
0.054562121629714966,
-0.007683589588850737,
-0.02657121606171131,
-0.020105872303247452,
-0.0006636808393523097,
-0.07700856029987335,
-0.000875315279699862,
-0.0890951082110405,
-0.03453298658132553,
0.11771911382675171,
0.026839805766940117,
-0.00618236418813467,
-0.0675695464015007,
-0.012575763277709484,
-0.04159306362271309,
-0.04190002381801605,
0.0314633883535862,
-0.016144171357154846,
0.010417451150715351,
-0.025247450917959213,
0.01830248348414898,
0.0024676697794348,
0.07320993393659592,
0.0924716666340828,
0.05110882222652435,
-0.0037554623559117317,
-0.004544445313513279,
0.024345755577087402,
0.04316623508930206,
0.02530500665307045,
-0.00922318547964096,
-0.029410595074295998,
-0.0062926774844527245,
-0.03505098074674606,
0.050725121051073074,
0.0025396135170012712,
-0.016172949224710464,
-0.0016810849774628878,
-0.01100259367376566,
0.007160798646509647,
-0.02643692120909691,
-0.020105872303247452,
0.0012817973038181663,
0.015530251897871494,
0.005602017976343632,
-0.0047554802149534225,
0.06185241788625717,
-0.0020551923662424088,
0.01958787813782692,
-0.0016978718340396881,
-0.04378015547990799,
-0.04316623508930206,
-0.02624507062137127,
-0.052566882222890854,
0.048307813704013824,
0.021141862496733665,
0.006124808918684721,
-0.025228265672922134,
0.02158311754465103,
0.01099300105124712,
-0.07973282784223557,
-0.07390059530735016,
-0.003578001167625189,
-0.06661029905080795,
-0.03495505824685097,
0.004781859461218119,
0.027453724294900894,
0.03368884697556496,
0.04896010085940361,
-0.03936760500073433,
-0.031520944088697433,
-0.03614452853798866,
-0.009462998248636723,
-0.027933349832892418,
0.05429353192448616,
0.022810956463217735,
-0.03578001260757446,
-0.023866131901741028,
0.017419973388314247,
0.0036571393720805645,
0.04934380203485489,
-0.12631399929523468,
0.029966959729790688,
-0.004374178592115641,
0.03294063359498978,
-0.0435883030295372,
-0.05375634878873825,
0.0221586674451828,
0.042936015874147415,
0.05417842045426369,
0.0024916508700698614,
0.008921021595597267,
-0.035396311432123184,
-0.03244182467460632,
-0.0036835186183452606,
-0.026475289836525917,
0.008225565776228905,
0.03533875569701195,
0.046849753707647324,
0.030427398160099983,
0.0890951082110405,
0.05137741193175316,
0.02346324734389782,
0.016153763979673386,
-0.03679681569337845,
0.012604540213942528,
0.02123778685927391,
0.027415355667471886,
-0.048115961253643036,
0.01274842768907547,
-0.043127864599227905,
0.06346395611763,
0.006911393720656633,
0.044624295085668564,
0.054216790944337845,
0.025554411113262177,
-0.025420116260647774,
0.04892173036932945,
-0.013832380063831806,
-0.043856892734766006,
0.010407858528196812,
-0.025074785575270653,
-0.012623725458979607,
0.030542509630322456,
-0.08003979176282883,
-0.048691511154174805,
0.049612391740083694,
-0.008359860628843307,
-0.0665719285607338,
-0.0098706791177392,
0.006450953893363476,
0.07409244030714035,
0.05559810996055603,
0.021928446367383003,
-0.038676947355270386,
-0.005127189215272665,
0.022081926465034485,
-0.05130067095160484,
-0.02660958468914032,
0.040557075291872025,
-0.0569026879966259,
-0.05437026917934418,
-0.030811099335551262,
-0.06258144974708557,
-0.029506519436836243,
-0.017669377848505974,
0.007707571145147085,
-0.016316836699843407,
-0.0469648614525795,
-0.012307172641158104,
0.0280868299305439,
0.07179024070501328,
0.010964223183691502,
-0.016403168439865112,
-0.00730468612164259,
0.023194655776023865,
-0.0557132214307785,
-0.005103208124637604,
-0.04381852224469185,
0.0394827164709568,
-0.01829289086163044,
-0.04838455095887184,
0.00012462750601116568,
0.000831549521535635,
-0.0724041610956192,
-0.02256155200302601,
-0.051607631146907806,
-0.03470565378665924,
-0.013256830163300037,
0.09646214544773102,
0.06377092003822327,
-0.016566241160035133,
-0.021870892494916916,
-0.010753188282251358,
0.046849753707647324,
0.02624507062137127,
0.013064980506896973,
0.028681565076112747,
-0.038734499365091324,
-0.02532419003546238,
0.018590258434414864,
0.05433189868927002,
-0.0002957186952698976,
0.006062457803636789,
-0.013889934867620468,
0.0387536846101284,
-0.008431804366409779,
-0.01794756017625332,
0.05801541730761528,
-0.01659501902759075,
0.004697924945503473,
0.017419973388314247,
0.0280868299305439,
-0.008297509513795376,
0.022868512198328972,
0.005367001984268427,
-0.03083028458058834,
-0.009184814989566803,
0.019626248627901077,
0.03986641392111778,
-0.03008206933736801,
0.06446157395839691,
0.015779657289385796,
0.004717110190540552,
-0.00367152807302773,
0.07217394560575485,
0.005170355550944805,
-0.03549223765730858,
0.018513517454266548,
-0.029257114976644516,
-0.014436706900596619,
0.009985788725316525,
0.01644153892993927,
0.05751660838723183,
-0.020220981910824776,
-0.030158808454871178,
0.006124808918684721,
-0.0704856663942337,
-0.07029381394386292,
-0.013678899966180325,
0.04040359705686569,
-0.009736384265124798,
0.001787801505997777,
0.007309482432901859,
-0.008307102136313915,
0.00424947589635849,
0.047003231942653656,
0.043127864599227905,
-0.07190535217523575,
-0.06331047415733337,
-0.009635662660002708,
-0.07934913039207458,
-0.008139233104884624,
0.03234589844942093,
0.005352613050490618,
-0.01645113155245781,
0.04308949410915375,
0.00665239617228508,
-0.01459977962076664,
-0.0038202116265892982,
0.040748924016952515,
-0.031520944088697433,
0.011683660559356213,
0.019626248627901077,
-0.030043698847293854,
0.021295342594385147,
-0.04032685607671738,
0.04945891350507736,
0.004079209174960852,
0.07608768343925476,
-0.014264042489230633,
-0.006829857360571623,
0.010062528774142265,
-0.020086687058210373,
0.027204319834709167,
-0.032748784869909286,
0.006187160033732653,
-0.007323870901018381,
0.015290439128875732,
0.0074245925061404705,
0.010561338625848293,
0.038331616669893265,
-0.030811099335551262,
-0.01051337644457817,
0.043319713324308395,
-0.015549437142908573,
-0.003393345745280385,
-0.011127295903861523,
-0.040173374116420746,
0.006892208941280842,
-0.03127153962850571,
-0.08625572919845581,
-0.0735936313867569,
-0.002299800980836153,
-0.03127153962850571,
-0.0035516219213604927,
-0.030772728845477104,
0.04205350577831268,
-0.03750666230916977,
0.06576615571975708,
0.04846129193902016,
-0.04048033431172371,
-0.029257114976644516,
0.014753259718418121,
0.02659039944410324,
0.021755782887339592,
-0.002076775534078479,
0.010292748920619488,
0.04826944321393967,
0.0010389873059466481,
-0.006470138672739267,
-0.00670035881921649,
-0.013112942688167095,
-0.01995239220559597,
0.003350179409608245,
0.027376985177397728,
-0.051607631146907806,
-0.032979004085063934,
-0.043665044009685516,
0.0014580594142898917,
0.04938217252492905,
-0.024480050429701805,
-0.010321525856852531,
0.02586137130856514,
0.006172771565616131,
-0.012690872885286808,
0.04151632636785507,
-0.02047038823366165,
-0.014436706900596619,
0.0098706791177392,
0.0034317155368626118,
0.038139767944812775,
0.07098447531461716,
0.015386364422738552,
0.008700394071638584,
0.03562653064727783,
-0.05041816085577011,
0.01740078814327717,
-0.015568621456623077,
-0.00988027174025774,
0.0005476715741679072,
-0.017419973388314247,
0.001978452317416668,
0.06281166523694992,
-0.02534337528049946,
-0.02513234131038189,
0.0267630647867918,
-0.0008393434691242874,
-0.026858991011977196,
-0.009036132134497166,
-0.00182497245259583,
-0.02068142220377922,
-0.009448609314858913,
-0.011789178475737572,
-0.03524283319711685,
0.029295483604073524,
-0.06185241788625717,
-0.027626389637589455,
-0.016748499125242233,
-0.025017231702804565,
0.002966479631140828,
-0.02071979269385338,
0.036489855498075485,
-0.012805982492864132,
-0.03215404972434044,
-0.013103350065648556,
-0.0033837531227618456,
-0.010849113576114178,
0.030964579433202744,
-0.07271112501621246,
-0.019165808334946632,
0.03249937668442726,
-0.06469179689884186,
0.05187622085213661,
-0.009496571496129036,
-0.029084449633955956,
0.07370874285697937,
-0.002695491537451744,
0.033727217465639114,
0.05414004996418953,
0.004031246528029442,
-0.04654279351234436,
0.04991935193538666,
0.024096351116895676,
-0.010158454068005085,
-0.06929619610309601,
0.018916403874754906,
0.014743667095899582,
0.007544498424977064,
-0.018897218629717827,
-0.015587806701660156,
0.0096212737262249,
-0.030753543600440025,
-0.02436494082212448,
0.07370874285697937,
-0.061391979455947876,
-0.0011031371541321278,
0.008450989611446857,
0.007745940703898668,
-0.023731837049126625,
-0.012777205556631088,
-0.005808256566524506,
0.03917575627565384,
0.033880699425935745,
0.007271112408488989,
0.021947631612420082,
0.0535261295735836,
0.00009037930431077257,
-0.0022938058245927095,
0.03065761923789978,
-0.0388496108353138,
-0.020029133185744286,
0.021372081711888313,
-0.005654776468873024,
0.009357480332255363,
0.0343795083463192,
0.037794437259435654,
-0.011280776001513004,
-0.022081926465034485,
0.044816143810749054,
0.0017026681452989578,
0.030945394188165665,
-0.10920097678899765,
-0.013995452784001827,
0.06826020777225494,
0.009371869266033173,
-0.046466052532196045,
-0.028758304193615913,
-0.0029137209057807922,
0.006546878721565008,
-0.005093615502119064,
-0.04420222342014313,
-0.027818240225315094,
0.04136284440755844,
-0.07735389471054077,
0.008139233104884624,
0.016403168439865112,
0.04266742616891861,
0.04780900105834007,
-0.0006954559939913452,
-0.001601946889422834,
-0.0612768679857254,
-0.029314668849110603,
-0.04819270223379135,
-0.0010078116320073605,
-0.011290368624031544,
0.0818815529346466,
-0.06791487336158752,
0.01606743223965168,
0.04872988164424896,
0.019491953775286674,
0.03455217182636261,
-0.02678225003182888,
0.011395885609090328,
-0.024115536361932755,
-0.0008015729836188257,
0.01830248348414898,
0.022465627640485764,
-0.006067254114896059,
0.025458484888076782,
-0.05444701015949249,
0.06699399650096893,
0.007530109956860542,
-0.041477955877780914,
0.0318279042840004,
-0.011261590756475925,
-0.02513234131038189,
0.06749280542135239,
-0.0000022622928099735873,
0.013803602196276188,
-0.07125306129455566,
0.0019664617720991373,
0.0068634310737252235,
0.05241340026259422,
0.0335545539855957,
0.01921376958489418,
0.0301396232098341,
0.002280615968629718,
-0.01827370561659336,
-0.043319713324308395,
-0.066380076110363,
0.010494191199541092,
-0.01607702486217022,
-0.009659644216299057,
-0.00021807941084261984,
0.013640530407428741,
-0.0037290831096470356,
0.00609603151679039,
-0.041669804602861404,
0.027492094784975052,
0.01108892634510994,
0.04907521232962608,
-0.0009838304249569774,
0.019645432010293007,
-0.02066223695874214,
0.0014053006889298558
] |
708,703
|
pathvalidate._base
|
__extract_root_name
| null |
@staticmethod
def __extract_root_name(path: str) -> str:
return os.path.splitext(os.path.basename(path))[0]
|
(path: str) -> str
|
[
0.015159564092755318,
0.013180732727050781,
0.04033373296260834,
0.03295183181762695,
-0.026378672569990158,
-0.03654814139008522,
0.07495466619729996,
0.038337692618370056,
0.059743478894233704,
-0.009438161738216877,
0.05454689636826515,
-0.02144020050764084,
-0.023814797401428223,
-0.0339154377579689,
-0.01973668485879898,
0.010866361670196056,
0.07929088175296783,
0.0555105023086071,
0.016054339706897736,
0.004460972733795643,
-0.012612895108759403,
0.015417671762406826,
-0.011279335245490074,
-0.027497142553329468,
-0.03723642975091934,
0.038681838661432266,
0.023728761821985245,
0.012019245885312557,
0.03967985510826111,
-0.10014604032039642,
-0.034104716032743454,
-0.04487643763422966,
0.049728874117136,
0.03518877178430557,
-0.048558782786130905,
-0.024571914225816727,
0.01792992651462555,
0.03231516480445862,
-0.08527899533510208,
-0.03358849883079529,
0.0018788137240335345,
0.030319128185510635,
0.019771099090576172,
-0.016260825097560883,
0.03974868729710579,
0.013395823538303375,
0.011726723052561283,
-0.01226014643907547,
-0.026653988286852837,
0.06346023827791214,
0.002378898672759533,
-0.032865796238183975,
-0.05674942210316658,
-0.058883119374513626,
-0.0454958975315094,
0.06404528766870499,
0.06752114742994308,
-0.0025574236642569304,
-0.025397861376404762,
0.03197102248668671,
-0.008835908956825733,
-0.01072010025382042,
0.04329337552189827,
-0.009661856107413769,
0.015245599672198296,
0.028082188218832016,
0.016665196046233177,
-0.0076357051730155945,
-0.04559914022684097,
-0.003198392689228058,
-0.022541463375091553,
0.006956019904464483,
-0.01889353059232235,
0.01129654236137867,
0.030749307945370674,
-0.04109084978699684,
0.0000465132761746645,
-0.017319070175290108,
0.04174472391605377,
0.029510388150811195,
-0.06659195572137833,
-0.045014094561338425,
-0.023505067452788353,
-0.010186675935983658,
0.04680364578962326,
-0.03126552328467369,
0.009266089648008347,
-0.04838671162724495,
-0.03716760128736496,
0.05058923736214638,
-0.03850976750254631,
-0.018067585304379463,
-0.029252279549837112,
0.07481700927019119,
-0.047319862991571426,
-0.0335540845990181,
0.003359710332006216,
-0.028013359755277634,
-0.012449425645172596,
-0.012561272829771042,
-0.0022218828089535236,
0.060122039169073105,
-0.0397142730653286,
0.030749307945370674,
0.03561895340681076,
0.031213903799653053,
-0.04294922947883606,
-0.01420456264168024,
-0.025415068492293358,
0.009343522600829601,
-0.06067267060279846,
-0.06600690633058548,
-0.007394804153591394,
0.021371372044086456,
0.054650142788887024,
-0.07378457486629486,
-0.01743091642856598,
0.013705553486943245,
-0.005377257242798805,
-0.0006554876454174519,
0.027032548561692238,
0.050554823130369186,
-0.07467935234308243,
-0.0059752082452178,
0.009541405364871025,
0.044360220432281494,
0.02744552120566368,
0.014781004749238491,
-0.019564613699913025,
-0.02529461868107319,
0.0027596084401011467,
0.050210677087306976,
-0.059124018996953964,
-0.024640744552016258,
0.01885911636054516,
0.04749193787574768,
0.03388102352619171,
0.04690689221024513,
-0.03937012702226639,
0.049178242683410645,
-0.0036952511873096228,
-0.0042523350566625595,
0.0019454916473478079,
-0.01608015038073063,
-0.0008953133365139365,
0.036754630506038666,
0.03678904473781586,
-0.0012658063787966967,
-0.022696327418088913,
0.015271410346031189,
-0.021113263443112373,
-0.020683081820607185,
0.018170827999711037,
0.001347540644928813,
0.025742005556821823,
-0.05970906466245651,
0.0029553405474871397,
0.012449425645172596,
0.01256987638771534,
-0.0728897973895073,
0.01808479242026806,
-0.03630724176764488,
-0.008225052617490292,
-0.08610494434833527,
0.0020035661291331053,
-0.008659535087645054,
0.020528217777609825,
-0.010616856627166271,
-0.004555612336844206,
0.008070187643170357,
0.02228335477411747,
0.034982286393642426,
-0.06149861589074135,
0.02455470710992813,
-0.019254883751273155,
0.008173431269824505,
0.017095375806093216,
0.060741499066352844,
0.02722182683646679,
0.039920758455991745,
0.00801856629550457,
-0.01951299048960209,
-0.012208525091409683,
0.030783722177147865,
0.020786326378583908,
0.03654814139008522,
-0.016028529033064842,
0.01669100672006607,
0.045014094561338425,
0.003570498898625374,
-0.05730005353689194,
0.041813552379608154,
0.003424237482249737,
0.0047750044614076614,
0.030663272365927696,
-0.0021046584006398916,
0.03967985510826111,
0.010591045953333378,
-0.058883119374513626,
-0.047595180571079254,
-0.019495783373713493,
0.01664798893034458,
-0.019960379227995872,
0.014867041260004044,
0.01858380064368248,
-0.017671817913651466,
0.007941133342683315,
0.047251034528017044,
-0.09415792673826218,
0.021302541717886925,
0.024279391393065453,
-0.005725703667849302,
0.005695590749382973,
-0.00006254422623896971,
-0.0015228393021970987,
-0.09477738291025162,
-0.04584004357457161,
0.053067076951265335,
0.03792472183704376,
0.052757345139980316,
-0.025724798440933228,
0.019943172112107277,
0.06580042093992233,
0.014970283955335617,
-0.015434878878295422,
-0.048283468931913376,
0.028047773987054825,
0.03511994332075119,
0.03049119934439659,
-0.04425697773694992,
0.005325635429471731,
-0.10503289103507996,
-0.00420286413282156,
0.0010007076198235154,
-0.013774381950497627,
-0.02741110697388649,
0.010255505330860615,
-0.05929609015583992,
0.10248622298240662,
-0.07419754564762115,
0.004409350920468569,
-0.02162947878241539,
0.0009636044851504266,
0.014428257010877132,
0.00741201126947999,
-0.0229372289031744,
-0.007558272685855627,
0.007476538419723511,
0.004456670954823494,
0.0053127300925552845,
0.013559292070567608,
0.04673481732606888,
-0.006956019904464483,
0.03376057371497154,
0.02501930296421051,
-0.0231265090405941,
-0.0825258418917656,
0.02675723284482956,
0.0008587479824200273,
0.0281510166823864,
-0.03057723492383957,
-0.0420200377702713,
0.0091542424634099,
0.00017099677643273026,
-0.06524979323148727,
-0.06184276193380356,
0.0013894833391532302,
0.0044781798496842384,
-0.011907398700714111,
-0.028770476579666138,
0.072476826608181,
0.038268864154815674,
-0.006534443236887455,
-0.013920643366873264,
0.015099338255822659,
-0.007214128505438566,
-0.04914382845163345,
0.04074670374393463,
0.022197317332029343,
-0.004351276438683271,
-0.0024348220322281122,
-0.015865059569478035,
-0.0198571365326643,
0.016372673213481903,
0.01314631849527359,
-0.012655912898480892,
0.015520915389060974,
-0.09835648536682129,
0.007721741683781147,
-0.0017088924068957567,
0.017602989450097084,
-0.024417050182819366,
-0.03138597682118416,
-0.0015884417807683349,
-0.0558890625834465,
-0.030061019584536552,
-0.005054621957242489,
-0.03126552328467369,
0.019943172112107277,
-0.048558782786130905,
-0.014428257010877132,
0.04594328626990318,
-0.04067787528038025,
-0.0283402968198061,
-0.028237054124474525,
0.009197261184453964,
-0.01654474437236786,
0.0010206034639850259,
0.012294560670852661,
0.031592462211847305,
-0.03491345793008804,
-0.02803056687116623,
-0.005510613322257996,
0.02483002282679081,
0.01873866654932499,
0.04067787528038025,
0.07467935234308243,
0.022145695984363556,
-0.01443686056882143,
0.04883410036563873,
-0.01889353059232235,
0.07330276817083359,
-0.026705609634518623,
0.022799570113420486,
0.023505067452788353,
0.004736287984997034,
-0.024881644174456596,
-0.0025079527404159307,
-0.014540103264153004,
0.022076867520809174,
-0.04869644343852997,
-0.013516274280846119,
-0.01380019262433052,
-0.03341642767190933,
0.001740080420859158,
0.0019648498855531216,
0.012784967198967934,
-0.02070028893649578,
0.004241580609232187,
-0.01112447027117014,
0.04109084978699684,
-0.07330276817083359,
-0.04291481524705887,
0.004701873753219843,
-0.014617536216974258,
0.03231516480445862,
0.019977586343884468,
0.0051664686761796474,
0.009739288128912449,
-0.051139868795871735,
0.023849211633205414,
-0.023006057366728783,
-0.04487643763422966,
-0.03527480736374855,
0.006986132822930813,
0.016217807307839394,
-0.04738869145512581,
0.00418350612744689,
0.004230826161801815,
0.06580042093992233,
0.08121809363365173,
-0.03481021150946617,
0.0034263883717358112,
-0.035446878522634506,
0.00047776929568499327,
-0.02753155678510666,
0.012767760083079338,
0.03916364163160324,
0.05582023411989212,
-0.0007495896425098181,
0.011193298734724522,
0.005506311543285847,
0.01048780232667923,
-0.05826365947723389,
-0.018411729484796524,
0.01784389093518257,
0.04339661821722984,
-0.06063825637102127,
-0.06624781340360641,
0.013834607787430286,
-0.009205864742398262,
0.04800815135240555,
0.00857780035585165,
-0.0049212658777832985,
-0.02895975671708584,
-0.025810834020376205,
0.031437598168849945,
-0.04938473179936409,
-0.010840550996363163,
-0.007231335621327162,
0.04415373504161835,
-0.025724798440933228,
0.027583178132772446,
0.026464710012078285,
0.004340521991252899,
-0.02964804507791996,
-0.019323712214827538,
-0.049281489104032516,
0.008375615812838078,
0.03472417593002319,
0.03644489869475365,
-0.010092036798596382,
-0.012242939323186874,
0.004364182241261005,
0.031592462211847305,
0.0016056490130722523,
0.052688516676425934,
0.005037414841353893,
-0.030370749533176422,
-0.02070028893649578,
-0.0009049923974089324,
-0.02968245930969715,
0.00232297508046031,
-0.038337692618370056,
0.0709625855088234,
0.01762019656598568,
0.00014599254063796252,
-0.012871002778410912,
0.003118809312582016,
-0.05485662817955017,
-0.047319862991571426,
0.004151242785155773,
-0.008629422634840012,
0.05172491446137428,
0.05323914811015129,
-0.0016518934862688184,
-0.055338431149721146,
-0.022765155881643295,
0.03491345793008804,
0.03345084190368652,
-0.08417773991823196,
-0.029579216614365578,
-0.07832728326320648,
-0.022076867520809174,
0.008758476935327053,
-0.03216030076146126,
-0.016794249415397644,
0.007205524947494268,
-0.050210677087306976,
-0.0021896192338317633,
-0.03295183181762695,
0.06872565299272537,
0.010298523120582104,
0.007730345241725445,
0.060397353023290634,
0.01368834637105465,
-0.04996977746486664,
0.003469406394287944,
-0.015736006200313568,
-0.05582023411989212,
-0.07584944367408752,
0.0019089262932538986,
0.04195120930671692,
-0.0219736248254776,
0.03269372507929802,
-0.06855357438325882,
-0.05265410244464874,
0.012440822087228298,
0.018377315253019333,
0.0036952511873096228,
-0.0886516124010086,
0.07991034537553787,
0.1126040667295456,
-0.019013982266187668,
0.05602671951055527,
-0.04690689221024513,
0.043431032449007034,
-0.0064613125286996365,
0.006637686397880316,
-0.04477319493889809,
0.050554823130369186,
-0.008384219370782375,
0.003333899425342679,
0.02259308472275734,
0.009369333274662495,
0.03214309364557266,
-0.03878508135676384,
0.012905417010188103,
0.0171556007117033,
-0.016260825097560883,
-0.01839452236890793,
0.0003019330033566803,
-0.008736968040466309,
0.03164408355951309,
-0.010737307369709015,
0.01424758043140173,
-0.049281489104032516,
0.020717496052384377,
-0.017362087965011597,
-0.041194092482328415,
0.025501104071736336,
0.12905417382717133,
-0.04584004357457161,
0.01877308078110218,
0.014195959083735943,
0.0055665369145572186,
-0.0015077829593792558,
0.09002818912267685,
0.0013174280757084489,
0.0025380654260516167,
-0.004032942932099104,
-0.04425697773694992,
0.04353427514433861,
-0.0056095547042787075,
-0.023814797401428223,
0.045633554458618164,
-0.03899156674742699,
-0.022455425933003426,
0.0007210901821963489,
-0.024847229942679405,
-0.03329597786068916,
-0.003333899425342679,
-0.009300503879785538,
0.03422516584396362,
0.013576499186456203,
0.025931285694241524,
-0.028546784073114395,
0.031248318031430244,
0.0905788242816925,
0.05699032172560692,
-0.06800294667482376,
-0.07488583773374557,
-0.011494425125420094,
0.008973566815257072,
0.014084111899137497,
-0.007876606658101082,
-0.001377653330564499,
0.05606113374233246,
-0.026963718235492706,
0.10634063929319382,
-0.026722818613052368,
0.021147677674889565,
0.04315571486949921,
0.05516635626554489,
0.010513613000512123,
0.0558890625834465,
-0.061016812920570374,
-0.0481802262365818,
0.024313805624842644,
0.004951378330588341,
-0.010393163189291954,
-0.05131193995475769,
0.010298523120582104,
-0.023728761821985245,
-0.0052568065002560616,
0.021061642095446587,
-0.019839927554130554,
0.041572652757167816,
0.02687768265604973,
0.036410484462976456,
0.03789030387997627,
-0.019839927554130554,
-0.01208807434886694,
-0.015581140294671059,
0.02567317709326744,
-0.030783722177147865,
-0.043706346303224564,
-0.007717439439147711,
-0.03899156674742699,
-0.011098658666014671,
-0.046321846544742584,
-0.007321673445403576,
0.03974868729710579,
0.0516560859978199,
-0.033244356513023376,
0.01320654433220625,
-0.07233916968107224,
0.061739515513181686,
0.022076867520809174,
-0.0022842588368803263,
-0.0019433407578617334,
0.015951095148921013,
0.1002148687839508,
-0.04353427514433861,
-0.03902598097920418,
0.09629162400960922,
0.07846494019031525,
-0.012148299254477024,
0.0431901291012764,
0.01811920665204525,
0.07068727165460587,
-0.03723642975091934,
0.019874343648552895,
0.027652008458971977,
-0.061395373195409775,
-0.02216290310025215,
0.012948435731232166,
-0.04140057787299156,
-0.025742005556821823,
-0.03511994332075119,
-0.029596423730254173,
-0.006112866103649139,
0.049832116812467575,
0.03644489869475365,
0.02821984700858593,
-0.03486183285713196,
-0.012225732207298279,
-0.04222652688622475,
0.04456670954823494,
-0.048902928829193115,
0.040230486541986465,
0.006762438919395208,
0.008758476935327053,
0.09085413813591003,
0.025914078578352928,
-0.0013066735118627548,
0.023384615778923035,
0.022025246173143387,
-0.04945356026291847,
0.0020853003952652216,
-0.021061642095446587,
-0.006839871406555176,
0.02567317709326744,
-0.01403249055147171,
0.0030112641397863626,
0.07701953500509262,
0.053032662719488144,
-0.07529880851507187,
-0.009567216038703918,
0.0011324504157528281,
-0.04553031176328659,
0.034947872161865234,
-0.024158941581845284,
-0.0017390049761161208,
-0.014798211865127087,
0.009274693205952644,
0.030542820692062378,
-0.019375333562493324,
-0.015753213316202164,
-0.0239008329808712,
0.02660236693918705,
-0.057196810841560364,
-0.026499124243855476,
-0.0651465505361557,
0.05461572855710983,
0.009713477455079556,
-0.0142647884786129,
-0.0335368774831295,
-0.05169050022959709,
0.023573895916342735,
-0.007321673445403576,
-0.07536763697862625,
-0.031213903799653053,
-0.017594385892152786,
-0.0072958627715706825,
-0.008607913739979267,
-0.0339326448738575,
-0.0022390899248421192,
-0.002107884967699647,
-0.024950474500656128,
0.0022713534999638796,
0.001916454522870481,
-0.014712176285684109,
0.026241015642881393,
0.02386641874909401,
0.00904239621013403,
0.03678904473781586,
-0.027772458270192146,
-0.007812079507857561,
0.002142299199476838,
0.012320372276008129,
-0.015288617461919785,
-0.017052358016371727,
0.02868444100022316,
0.005588045809417963,
-0.05385860800743103,
0.012707534246146679,
-0.056887079030275345,
0.010763118043541908,
-0.025311825796961784,
0.03596309572458267,
0.01112447027117014,
0.005183675792068243,
-0.08314530551433563,
-0.00857780035585165,
-0.0020809986162930727,
0.046046528965234756,
0.044084906578063965,
0.05864221602678299,
0.02452029287815094,
0.012827984988689423,
0.012862399220466614,
0.016794249415397644,
-0.004129733424633741,
0.04807698354125023,
-0.005239599384367466,
0.005347144789993763,
0.03974868729710579,
0.04236418381333351,
0.0008953133365139365,
-0.058538973331451416,
0.012225732207298279,
0.027738044038414955,
0.03599750995635986,
-0.023023264482617378,
0.04580562934279442,
0.05933050438761711,
0.011176091618835926,
-0.04518616944551468,
-0.023487860336899757,
0.04078111797571182,
-0.0037339674308896065,
-0.014660554006695747,
-0.0423985980451107,
0.01583924889564514,
-0.006293541751801968,
-0.0016110262367874384,
-0.009550008922815323,
-0.07227034121751785,
0.04205445200204849,
-0.01599411480128765,
-0.0316096693277359,
0.03844093531370163,
-0.004314711317420006,
0.05392743647098541,
-0.024038491770625114,
-0.04787049442529678,
0.014522896148264408,
0.049522388726472855,
-0.006069847848266363,
-0.029630837962031364,
-0.07357808947563171,
0.07254565507173538,
0.05296383425593376,
-0.011812758632004261,
0.008040075190365314,
0.04208886995911598,
-0.02536344714462757,
0.011786947958171368,
0.06380438059568405,
-0.061016812920570374,
0.0010297447443008423,
-0.01283658854663372,
0.0366169698536396,
0.03881949558854103,
-0.005175072234123945,
0.01904839649796486,
-0.02032173052430153,
-0.031093452125787735,
-0.01805037632584572,
0.008087394759058952,
-0.011365370824933052,
-0.025277411565184593,
0.00952419824898243,
-0.009137035347521305,
0.028598405420780182,
0.02725624106824398,
0.02047659642994404,
-0.017095375806093216,
0.015288617461919785,
0.027204619720578194,
0.0339154377579689,
-0.027015341445803642,
-0.017895512282848358,
-0.055579330772161484,
-0.06277195364236832,
0.03307228162884712,
-0.03909481316804886,
0.02694651111960411,
-0.005063225515186787,
0.03713318705558777,
-0.04621860012412071,
0.0031403182074427605,
0.0037597783375531435,
0.026671195402741432,
0.015606951899826527,
-0.018360108137130737,
-0.02821984700858593
] |
708,704
|
pathvalidate._filename
|
__validate_universal_filename
| null |
def __validate_universal_filename(self, unicode_filename: str) -> None:
match = _RE_INVALID_FILENAME.findall(unicode_filename)
if match:
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=findall_to_str(match), value=repr(unicode_filename)
),
platform=Platform.UNIVERSAL,
)
|
(self, unicode_filename: str) -> NoneType
|
[
-0.036264799535274506,
0.038243502378463745,
0.018541786819696426,
0.07218844443559647,
-0.03172743692994118,
-0.034149639308452606,
0.04694296047091484,
0.011505460366606712,
0.032119765877723694,
-0.02596191316843033,
0.019667599350214005,
0.03406434878706932,
0.02792355604469776,
0.029697561636567116,
-0.0032303135376423597,
0.07607761770486832,
0.011693095788359642,
0.0548577606678009,
-0.03258032351732254,
0.055028337985277176,
-0.04329259693622589,
-0.011624864302575588,
-0.0057783168740570545,
0.02118573896586895,
-0.02850351855158806,
0.04738646000623703,
-0.046806495636701584,
-0.019957581534981728,
-0.008277278393507004,
-0.06601353734731674,
0.01784241758286953,
0.019787002354860306,
0.0176547821611166,
0.025671930983662605,
0.011812499724328518,
-0.022840343415737152,
-0.025740161538124084,
0.0037249885499477386,
-0.060555052012205124,
-0.06434187293052673,
-0.02193628065288067,
0.04922869801521301,
0.005573623348027468,
0.022840343415737152,
-0.015377571806311607,
-0.0027036552783101797,
-0.036333031952381134,
0.0037228565197438,
-0.046124186366796494,
0.04185974597930908,
0.0060512409545481205,
0.04349729046225548,
-0.03988104686141014,
0.023573826998472214,
-0.00040192349115386605,
0.02415378950536251,
-0.003424345515668392,
0.03338203951716423,
-0.07703284919261932,
-0.02217509038746357,
-0.026746569201350212,
-0.046738266944885254,
0.027548285201191902,
-0.058815162628889084,
0.01951407827436924,
-0.02137337438762188,
0.06099855527281761,
-0.030874548479914665,
-0.01920703984797001,
0.015633437782526016,
0.009313537739217281,
0.010951083153486252,
-0.05915631726384163,
-0.006921186577528715,
0.07867039740085602,
0.011556633748114109,
-0.04888754338026047,
0.011155775748193264,
0.01136046927422285,
0.022533303126692772,
0.03933519870042801,
-0.021288085728883743,
0.03561660647392273,
0.019667599350214005,
0.011624864302575588,
-0.006243140436708927,
0.017177166417241096,
-0.004797495435923338,
-0.039539892226457596,
0.07177905738353729,
-0.010268772020936012,
-0.003848657477647066,
-0.02266976423561573,
0.011138718575239182,
0.058508120477199554,
0.007070442195981741,
0.02626895159482956,
0.015582265332341194,
-0.0029595214873552322,
-0.055096570402383804,
-0.004904106259346008,
-0.024477887898683548,
0.001616222900338471,
-0.02855469286441803,
0.010780504904687405,
0.0309598371386528,
0.02193628065288067,
0.023010920733213425,
-0.02087870053946972,
0.006554444786161184,
-0.030089890584349632,
-0.05724584683775902,
-0.014644088223576546,
0.042951442301273346,
-0.008661078289151192,
-0.05656353756785393,
0.014482039026916027,
-0.02125397138297558,
0.03022635355591774,
-0.0046738265082240105,
0.030755143612623215,
0.03240974619984627,
-0.09115667641162872,
-0.03797057643532753,
0.02087870053946972,
-0.02961227297782898,
-0.006626940332353115,
0.01142869982868433,
0.041211552917957306,
0.08815450966358185,
-0.04646534100174904,
0.07116498053073883,
0.027787093073129654,
-0.06529711186885834,
-0.030209295451641083,
-0.05096859112381935,
0.04516895115375519,
0.01554814912378788,
-0.0032388423569500446,
-0.008098172023892403,
-0.00039286157698370516,
0.044077254831790924,
0.011147246696054935,
-0.00747982831671834,
-0.02440965734422207,
-0.002863571746274829,
-0.039915163069963455,
-0.014550270512700081,
-0.018865883350372314,
0.01821768842637539,
-0.037629421800374985,
0.024614349007606506,
-0.05066155269742012,
0.012443636544048786,
0.022942688316106796,
-0.05284494534134865,
0.030686913058161736,
-0.030141064897179604,
0.005675970111042261,
-0.0024243344087153673,
0.001943518640473485,
-0.015693141147494316,
-0.02241389825940132,
-0.024119675159454346,
0.03097689524292946,
0.001256943796761334,
0.00029291375540196896,
-0.016750721260905266,
0.008904151618480682,
0.011786913499236107,
0.007322044111788273,
0.023437364026904106,
0.03350144252181053,
0.07805631309747696,
-0.01709187775850296,
-0.017552437260746956,
0.04107508808374405,
-0.009449999779462814,
0.025296660140156746,
-0.010405234061181545,
0.05192382633686066,
-0.01963348314166069,
0.004511777777224779,
0.024068500846624374,
0.1045299619436264,
0.008200518786907196,
-0.04015396907925606,
0.021288085728883743,
0.035582490265369415,
-0.037322383373975754,
0.0020000224467366934,
-0.01634133607149124,
-0.02683185786008835,
0.03759530559182167,
0.02335207536816597,
-0.005322021432220936,
0.05598357319831848,
-0.0015970328822731972,
-0.028639981523156166,
-0.09825270622968674,
-0.013953248970210552,
0.00009328463056590408,
-0.006422247271984816,
-0.025194313377141953,
-0.07212021201848984,
0.0029296705033630133,
0.015872247517108917,
0.006639733444899321,
0.0007142937392927706,
0.009833799675107002,
0.007808190304785967,
-0.059361010789871216,
-0.01492554135620594,
0.10009494423866272,
-0.02168041467666626,
-0.03481489047408104,
-0.06823104619979858,
0.025620756670832634,
0.001605561817996204,
0.05301552265882492,
0.008861507289111614,
0.050388626754283905,
0.04912635311484337,
-0.04305379092693329,
0.0426102876663208,
0.003272957867011428,
0.0019573781173676252,
0.07853393256664276,
0.009731452912092209,
0.09443176537752151,
-0.026558933779597282,
-0.06761696934700012,
-0.02589368261396885,
0.00969733763486147,
0.0012196298921480775,
-0.0007142937392927706,
0.03684476390480995,
0.02427319437265396,
0.05994097515940666,
-0.0017814699094742537,
-0.005535243544727564,
-0.01634133607149124,
0.005211146082729101,
0.002727109706029296,
0.05072978138923645,
-0.04063158854842186,
-0.029134657233953476,
0.07935270667076111,
-0.03305794298648834,
0.01425175927579403,
0.03196624666452408,
0.047795847058296204,
-0.05451660603284836,
0.02831588312983513,
-0.00004767511200043373,
-0.016631318256258965,
-0.031932130455970764,
-0.04762526974081993,
0.02761651575565338,
0.04919458553195,
-0.021458663046360016,
0.08146786689758301,
0.03994927555322647,
0.03776588290929794,
-0.03674241900444031,
-0.03981281444430351,
-0.007940388284623623,
0.06239729002118111,
0.004132242873311043,
-0.009714394807815552,
0.009373240172863007,
0.021970396861433983,
-0.004814553074538708,
-0.0005970216589048505,
-0.00913443136960268,
-0.016520442441105843,
0.01803005300462246,
-0.022158032283186913,
0.02881055884063244,
-0.008904151618480682,
0.017603609710931778,
0.011002256534993649,
0.058508120477199554,
0.04145035892724991,
0.05581299588084221,
-0.002759092953056097,
-0.015369042754173279,
-0.12581804394721985,
-0.04322436824440956,
0.0012484148610383272,
-0.030516335740685463,
-0.010720803402364254,
0.034030232578516006,
0.013799728825688362,
-0.057450540363788605,
-0.014302932657301426,
0.00534334359690547,
-0.03667418658733368,
0.03541191294789314,
-0.037561189383268356,
-0.054721299558877945,
0.03612833842635155,
0.036333031952381134,
0.013364756479859352,
-0.06587707251310349,
0.010319945402443409,
-0.0454418770968914,
-0.007330573163926601,
-0.015701670199632645,
-0.008128023706376553,
0.03321146219968796,
0.005415839143097401,
-0.016085468232631683,
0.017501262947916985,
0.0543801449239254,
0.10268772393465042,
0.028077075257897377,
-0.03252914920449257,
-0.00011020913370884955,
-0.011172833852469921,
0.03950577601790428,
-0.032989710569381714,
0.006230347324162722,
-0.015599322505295277,
-0.032614439725875854,
-0.0033134701661765575,
0.04602184146642685,
-0.05867869779467583,
-0.025501353666186333,
0.022618591785430908,
0.005287906154990196,
-0.009765568189322948,
-0.02210685797035694,
-0.03387671336531639,
0.009791155345737934,
0.012443636544048786,
-0.01696394383907318,
0.014081181958317757,
0.05253790318965912,
-0.013569449074566364,
-0.028042959049344063,
0.01605135388672352,
-0.00805126316845417,
-0.04015396907925606,
-0.005594945512712002,
-0.019428789615631104,
-0.043394945561885834,
-0.00956940371543169,
0.017603609710931778,
-0.05796227231621742,
-0.023949097841978073,
0.016554556787014008,
-0.0525037907063961,
-0.03698122501373291,
-0.013432987034320831,
-0.029629331082105637,
-0.024324366822838783,
0.002017080318182707,
0.012827436439692974,
0.04435018077492714,
0.03895992785692215,
-0.07334837317466736,
-0.033296748995780945,
-0.07635053992271423,
-0.003985119517892599,
-0.019769946113228798,
0.0473182313144207,
0.007322044111788273,
-0.0826277956366539,
-0.0018891470972448587,
-0.0059744808822870255,
0.04564657062292099,
0.0029552571941167116,
-0.06444422155618668,
-0.019667599350214005,
-0.02118573896586895,
0.031198645010590553,
-0.010857265442609787,
-0.06383014470338821,
-0.014550270512700081,
0.052674368023872375,
0.012503338977694511,
-0.04329259693622589,
0.011940432712435722,
-0.01796182245016098,
-0.053117867559194565,
-0.03585541620850563,
-0.02408555895090103,
-0.027036551386117935,
0.03300676867365837,
0.058815162628889084,
0.023863807320594788,
0.0873357355594635,
0.03971046954393387,
0.02379557676613331,
0.03660595417022705,
-0.03157391771674156,
-0.005270848050713539,
0.014388221316039562,
0.03140334039926529,
-0.07136967033147812,
0.03406434878706932,
-0.08303718268871307,
0.053800180554389954,
0.025433123111724854,
0.06713934987783432,
0.015428745187819004,
0.03803880885243416,
-0.026558933779597282,
0.01826886273920536,
0.03950577601790428,
-0.002206847770139575,
-0.028077075257897377,
-0.049569856375455856,
-0.030260467901825905,
0.0023838221095502377,
-0.047659385949373245,
-0.08160433173179626,
0.0074457130394876,
-0.00035208286135457456,
-0.030431047081947327,
0.021134566515684128,
-0.01380825787782669,
0.04551010578870773,
0.05359548702836037,
0.000950970221310854,
-0.0088273910805583,
-0.01421764399856329,
0.06086209416389465,
-0.011155775748193264,
-0.06529711186885834,
-0.0032089913729578257,
-0.03097689524292946,
-0.06089620664715767,
0.015641966834664345,
-0.03575306758284569,
-0.012767734006047249,
0.0032004625536501408,
-0.020179331302642822,
0.02985108271241188,
-0.012486280873417854,
-0.012810378335416317,
0.008452121168375015,
0.04892165958881378,
0.029578158631920815,
0.0024669787380844355,
-0.03551425784826279,
0.04039277881383896,
-0.015641966834664345,
0.009833799675107002,
-0.05830342695116997,
0.017194222658872604,
-0.059497471898794174,
-0.032358571887016296,
0.02005992829799652,
0.024921389296650887,
-0.08385595679283142,
-0.034149639308452606,
-0.01808122731745243,
-0.00312796700745821,
-0.055096570402383804,
0.08904151618480682,
0.04980866238474846,
-0.0005538442055694759,
-0.030379872769117355,
0.0360259935259819,
0.02904936671257019,
-0.0007377481670118868,
0.02434142492711544,
0.033859655261039734,
-0.058064620941877365,
0.010183483362197876,
0.026490703225135803,
0.02533077634871006,
-0.03623068332672119,
-0.006622675806283951,
-0.021407490596175194,
0.03984693065285683,
0.020418141037225723,
0.004895577672868967,
0.048648733645677567,
0.013919133692979813,
-0.030550450086593628,
0.001785734435543418,
0.04465721920132637,
-0.012708032503724098,
-0.0034200812224298716,
-0.008499030023813248,
-0.05427779629826546,
0.008601375855505466,
0.0019094031304121017,
-0.013373284600675106,
-0.03609422221779823,
0.007565116975456476,
0.011821028776466846,
0.03090866282582283,
0.010908438824117184,
0.1019371822476387,
0.014968185685575008,
-0.01826886273920536,
0.0374247282743454,
-0.03406434878706932,
0.017910649999976158,
0.006963830906897783,
-0.020179331302642822,
0.06628645956516266,
0.034968409687280655,
-0.021970396861433983,
0.02643953077495098,
-0.039062272757291794,
-0.03121570311486721,
0.03133510798215866,
0.04039277881383896,
0.004202606156468391,
0.07737400382757187,
0.019172923639416695,
0.02768474631011486,
-0.03827761486172676,
0.024563176557421684,
0.041893862187862396,
-0.03950577601790428,
-0.0720519870519638,
-0.002270814497023821,
-0.04411137104034424,
0.01142869982868433,
0.00005610404332401231,
-0.03773176670074463,
0.016810424625873566,
0.016059882938861847,
-0.053731948137283325,
-0.019667599350214005,
0.008059792220592499,
0.03940342739224434,
-0.04994512349367142,
-0.013074774295091629,
-0.016324277967214584,
-0.03783411532640457,
0.042883213609457016,
-0.0522649809718132,
0.028264710679650307,
-0.007484092842787504,
0.03575306758284569,
0.034286100417375565,
-0.029441695660352707,
-0.0008523550350219011,
-0.07723754644393921,
-0.043633755296468735,
-0.032989710569381714,
-0.016648374497890472,
0.013902075588703156,
-0.005053361877799034,
0.01154810469597578,
-0.018695306032896042,
0.008844449184834957,
0.016000179573893547,
0.00022774776152800769,
0.05035451054573059,
0.06314783543348312,
-0.013919133692979813,
0.02099810354411602,
-0.015940478071570396,
-0.03722003474831581,
-0.0037889552768319845,
-0.05216263607144356,
-0.0675487369298935,
-0.010337003506720066,
-0.06335252523422241,
-0.010396705940365791,
-0.027360649779438972,
0.052435558289289474,
-0.0175353791564703,
0.06860631704330444,
0.054038986563682556,
-0.014081181958317757,
-0.04588537663221359,
-0.03191507235169411,
0.07996678352355957,
0.013270938768982887,
0.008938266895711422,
0.005594945512712002,
0.011872202157974243,
0.003844392951577902,
0.02620072104036808,
0.02156100980937481,
-0.035207219421863556,
-0.04479368031024933,
0.057382307946681976,
0.05455072224140167,
-0.02763357385993004,
-0.05652942135930061,
-0.0013177120126783848,
-0.048648733645677567,
0.05796227231621742,
-0.01611105538904667,
-0.044930145144462585,
0.011070487089455128,
0.022021569311618805,
-0.0154799185693264,
0.018968230113387108,
0.0008949994225986302,
0.020895756781101227,
0.010891380719840527,
0.023676171898841858,
0.009083257988095284,
0.08378772437572479,
-0.006153587251901627,
-0.024801984429359436,
0.03479783236980438,
-0.03704945743083954,
0.01889999955892563,
-0.007684521377086639,
0.0018219820922240615,
-0.024477887898683548,
-0.03585541620850563,
0.037492960691452026,
0.03090866282582283,
0.009526759386062622,
-0.028844675049185753,
-0.015044945292174816,
0.049092236906290054,
-0.048716966062784195,
0.029629331082105637,
-0.024563176557421684,
-0.008405212312936783,
-0.008887093514204025,
-0.016401037573814392,
-0.01745861954987049,
0.04216678440570831,
-0.0077399592846632,
0.0036375676281750202,
-0.021151624619960785,
-0.01895117200911045,
-0.03264855593442917,
-0.011872202157974243,
0.021697472780942917,
-0.027019493281841278,
-0.0249555055052042,
0.012008664198219776,
0.030738085508346558,
0.01421764399856329,
0.05072978138923645,
-0.0727342963218689,
-0.005940365605056286,
0.038925811648368835,
-0.029816966503858566,
0.05687057599425316,
-0.05345902591943741,
-0.01080609206110239,
0.04250794276595116,
0.0050789485685527325,
0.022840343415737152,
0.025978971272706985,
0.011556633748114109,
-0.013245351612567902,
0.029134657233953476,
0.023062093183398247,
-0.035275451838970184,
-0.04919458553195,
0.036264799535274506,
0.050013355910778046,
-0.01660573109984398,
-0.024597292765975,
-0.012256001122295856,
0.033979061990976334,
0.008230369538068771,
-0.007096028886735439,
0.05332256108522415,
-0.1103978306055069,
-0.09374945610761642,
-0.03950577601790428,
-0.027104781940579414,
0.006183438468724489,
0.023317959159612656,
0.0016108923591673374,
0.06157851964235306,
0.046124186366796494,
-0.0353095643222332,
0.01857590302824974,
0.07553176581859589,
0.010678159072995186,
0.0020543942227959633,
0.035821299999952316,
-0.037629421800374985,
-0.08194548636674881,
-0.02106633596122265,
0.0008443591650575399,
-0.04063158854842186,
0.05291317403316498,
0.04087039455771446,
-0.01028583012521267,
0.003029884770512581,
0.02998754382133484,
-0.08999674767255783,
0.02365911565721035,
-0.10528050363063812,
-0.03423492610454559,
0.0543801449239254,
0.02867409773170948,
-0.044384293258190155,
0.044930145144462585,
-0.03003871813416481,
0.03418375551700592,
-0.003362511284649372,
-0.011258122511208057,
-0.008294336497783661,
0.04919458553195,
-0.07191552221775055,
0.027309475466609,
0.020145216956734657,
0.01176985539495945,
0.0569729246199131,
-0.044759564101696014,
-0.039676353335380554,
-0.012742147780954838,
-0.043258484452962875,
-0.03411552309989929,
-0.01678483746945858,
0.023829692974686623,
0.07150613516569138,
-0.04711353778839111,
-0.0006268727593123913,
0.01384237315505743,
-0.025859566405415535,
0.041655052453279495,
-0.014243231154978275,
0.007424390409141779,
-0.014874367974698544,
0.0024136733263731003,
-0.022635649889707565,
0.024512002244591713,
0.014635559171438217,
0.03677653521299362,
-0.06939097493886948,
0.05499422177672386,
-0.010422292165458202,
-0.04039277881383896,
-0.018985288217663765,
0.003029884770512581,
0.0077058435417711735,
0.021765703335404396,
-0.01777418702840805,
-0.01028583012521267,
-0.0350707583129406,
-0.01833709329366684,
-0.015019359067082405,
0.052196748554706573,
0.007407332770526409,
0.02198745496571064,
0.0055096568539738655,
0.02991931326687336,
-0.01652897149324417,
-0.004857197403907776,
-0.05096859112381935,
0.0569729246199131,
0.006545915734022856,
-0.026678338646888733,
0.01492554135620594,
0.02217509038746357,
-0.0037548397667706013,
-0.0261324904859066,
-0.03268267214298248,
0.04854638874530792,
-0.0012899931753054261,
0.03406434878706932,
-0.035718951374292374,
0.020145216956734657,
0.0028379850555211306,
0.008742102421820164
] |
708,705
|
pathvalidate._filename
|
__validate_win_filename
| null |
def __validate_win_filename(self, unicode_filename: str) -> None:
match = _RE_INVALID_WIN_FILENAME.findall(unicode_filename)
if match:
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=findall_to_str(match), value=repr(unicode_filename)
),
platform=Platform.WINDOWS,
)
if unicode_filename in (".", ".."):
return
KB2829981_err_tmpl = "{}. Refer: https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/file-folder-name-whitespace-characters" # noqa: E501
if unicode_filename[-1] in (" ", "."):
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=re.escape(unicode_filename[-1]), value=repr(unicode_filename)
),
platform=Platform.WINDOWS,
description=KB2829981_err_tmpl.format(
"Do not end a file or directory name with a space or a period"
),
)
if unicode_filename[0] in (" "):
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=re.escape(unicode_filename[0]), value=repr(unicode_filename)
),
platform=Platform.WINDOWS,
description=KB2829981_err_tmpl.format(
"Do not start a file or directory name with a space"
),
)
|
(self, unicode_filename: str) -> NoneType
|
[
-0.020984485745429993,
0.03051501139998436,
0.0044100345112383366,
0.06886238604784012,
-0.016236551105976105,
-0.034101955592632294,
0.01219907309859991,
0.009279266931116581,
0.06040620803833008,
-0.015153536573052406,
0.043459199368953705,
0.005445396061986685,
0.06103002279996872,
0.005848277360200882,
-0.008187588304281235,
0.04200362786650658,
0.03153737634420395,
0.0325077585875988,
-0.03481241315603256,
0.07277856022119522,
-0.01465101819485426,
-0.011306669563055038,
-0.01014567818492651,
-0.0042714085429906845,
-0.007412150036543608,
0.05233125388622284,
-0.031086843460798264,
0.023479750379920006,
-0.017692122608423233,
-0.06799597293138504,
0.01786540448665619,
0.02734394557774067,
0.03964699059724808,
0.010405601933598518,
0.008213580586016178,
-0.022907918319106102,
-0.0013938394840806723,
-0.021088454872369766,
-0.10112755000591278,
-0.08927503973245621,
-0.03020310401916504,
0.04689018800854683,
0.006446101237088442,
0.03600805997848511,
-0.027395930141210556,
-0.0303590577095747,
-0.012996171601116657,
0.0034179931972175837,
-0.058500103652477264,
0.03857263922691345,
-0.00622949842363596,
0.011107395403087139,
-0.04782591387629509,
0.012640943750739098,
0.0024995971471071243,
0.004015817306935787,
0.009209954179823399,
0.014858956448733807,
-0.0403401181101799,
-0.038676608353853226,
-0.029163410887122154,
-0.04990530014038086,
0.01699899323284626,
-0.0360427163541317,
0.021590974181890488,
-0.02001410536468029,
0.050667744129896164,
-0.026962725445628166,
-0.0005149733042344451,
0.011349990032613277,
0.0068056620657444,
0.021868225187063217,
-0.06355994194746017,
-0.011107395403087139,
0.02091517299413681,
0.027291961014270782,
-0.03508966416120529,
0.03843401372432709,
0.028938142582774162,
-0.0014956428203731775,
0.03500302508473396,
-0.0003240920486859977,
0.022942576557397842,
-0.0002681814366951585,
0.0607181154191494,
0.0030216099694371223,
-0.007758714724332094,
0.02980455383658409,
-0.02451944537460804,
0.03936973586678505,
-0.0139059042558074,
-0.017917389050126076,
-0.0231158584356308,
-0.0038576971273869276,
0.019494257867336273,
0.02464074268937111,
0.04085996374487877,
0.007438142318278551,
-0.008061958476901054,
-0.028037074953317642,
-0.040201492607593536,
-0.00791033636778593,
0.035626839846372604,
0.013992545194923878,
0.02315051481127739,
-0.024588758125901222,
0.008178924210369587,
0.017224259674549103,
-0.021487005054950714,
-0.03434455022215843,
-0.031901270151138306,
-0.07076849043369293,
0.0025992344599217176,
0.047028813511133194,
0.051014307886362076,
-0.04630102962255478,
-0.0350550077855587,
-0.021573645994067192,
0.03533225879073143,
-0.019026394933462143,
0.017614144831895828,
0.022925248369574547,
-0.09274068474769592,
-0.035904090851545334,
0.01814265549182892,
-0.0002664215280674398,
0.03536691516637802,
0.03301027789711952,
0.030307073146104813,
0.09107717126607895,
-0.033547453582286835,
0.06470360606908798,
0.0065587349236011505,
-0.0642530769109726,
-0.02048196643590927,
0.0011772365542128682,
0.029475318267941475,
0.03600805997848511,
0.02122708037495613,
-0.026841428130865097,
0.018315939232707024,
0.04862301051616669,
0.01465101819485426,
0.003288031555712223,
-0.019875479862093925,
0.012996171601116657,
-0.02122708037495613,
-0.00730384886264801,
0.009279266931116581,
0.013152126222848892,
-0.024536773562431335,
-0.01457304134964943,
-0.008131271228194237,
0.007589764427393675,
0.003651924431324005,
-0.05586621165275574,
0.009937739931046963,
-0.05465323477983475,
0.035314932465553284,
0.006961616221815348,
-0.012528309598565102,
-0.02992585301399231,
0.013801935128867626,
-0.035904090851545334,
0.026338908821344376,
0.02613097056746483,
-0.021123111248016357,
-0.03340882435441017,
0.010111021809279919,
0.0376022569835186,
0.058500103652477264,
0.028054403141140938,
0.018263954669237137,
0.07104574143886566,
-0.050043925642967224,
-0.020655250176787376,
0.014841628260910511,
-0.0038035463076084852,
0.02448478899896145,
-0.0016840873286128044,
0.03477775678038597,
0.001881195930764079,
0.010821479372680187,
0.05645537003874779,
0.04990530014038086,
0.022388072684407234,
-0.03528027608990669,
0.04633568599820137,
0.010327625088393688,
-0.01790006086230278,
-0.03860729560256004,
0.002006825525313616,
0.00575730437412858,
0.015560749918222427,
-0.02346242219209671,
0.020100746303796768,
0.03888454660773277,
0.0047219423577189445,
-0.025125931948423386,
-0.1120096743106842,
-0.011835180222988129,
0.03791416436433792,
0.02588837407529354,
-0.00668003223836422,
-0.02656417526304722,
-0.03145073726773262,
-0.000021271078367135487,
0.00334001611918211,
-0.014001209288835526,
0.01457304134964943,
0.012034455314278603,
-0.07333306968212128,
-0.02464074268937111,
0.09405762702226639,
-0.012251058593392372,
-0.008005642332136631,
-0.06047552078962326,
0.044984083622694016,
0.004475015215575695,
0.04266209900379181,
-0.006736349314451218,
0.06456498056650162,
0.038953859359025955,
-0.05392545089125633,
0.038052789866924286,
-0.009859762154519558,
0.01510155200958252,
0.06511948257684708,
0.04598912224173546,
0.06598589569330215,
-0.054895829409360886,
-0.09329518675804138,
-0.03583477810025215,
0.021452348679304123,
0.017761435359716415,
-0.0246753990650177,
0.019771508872509003,
-0.005168144591152668,
0.08823534101247787,
-0.02651219069957733,
0.00732550909742713,
-0.02827966958284378,
0.012528309598565102,
0.006047551985830069,
0.021608302369713783,
-0.03020310401916504,
-0.021417692303657532,
0.07416482269763947,
0.007160890847444534,
0.02827966958284378,
-0.011852509342133999,
0.06557001918554306,
-0.04536530375480652,
-0.0019461767515167594,
-0.026494862511754036,
0.00738182570785284,
-0.052539192140102386,
-0.04515736550092697,
0.04079065099358559,
0.042246222496032715,
-0.027014710009098053,
0.018125327304005623,
0.023549063131213188,
0.04124118760228157,
-0.027430586516857147,
-0.04006286710500717,
0.01628853566944599,
0.050702400505542755,
0.03074027970433235,
0.002774682827293873,
0.013152126222848892,
0.03940439224243164,
-0.014460407197475433,
-0.014633690007030964,
-0.02405158244073391,
-0.004882228560745716,
0.017579488456249237,
-0.03881523385643959,
0.019632883369922638,
0.0029739574529230595,
0.01006770133972168,
0.011133387684822083,
0.009019343182444572,
0.03020310401916504,
0.06373322755098343,
-0.003664920572191477,
-0.03947370499372482,
-0.13959620893001556,
-0.07333306968212128,
0.01468567457050085,
-0.02777715213596821,
-0.01578601635992527,
0.036805160343647,
-0.021608302369713783,
-0.05215797200798988,
-0.026928069069981575,
0.017761435359716415,
-0.05981704592704773,
0.009833769872784615,
-0.025992343202233315,
-0.040721338242292404,
0.09177030622959137,
0.051880717277526855,
0.0029436328914016485,
-0.06920894980430603,
0.016860367730259895,
-0.032958291471004486,
-0.016799718141555786,
0.015985291451215744,
-0.025177916511893272,
0.002042565029114485,
0.0076027605682611465,
0.024588758125901222,
0.019286319613456726,
0.08026435971260071,
0.09301793575286865,
0.038087449967861176,
-0.03228249028325081,
-0.02365303225815296,
0.019476929679512978,
0.03210920840501785,
-0.00525911757722497,
0.003656256478279829,
-0.02280394919216633,
-0.012017127126455307,
-0.038330044597387314,
0.050147894769907,
-0.03294096514582634,
-0.022006850689649582,
0.025992343202233315,
-0.008378199301660061,
-0.011921822093427181,
-0.020360669121146202,
-0.02498730644583702,
0.032022569328546524,
0.013576667755842209,
0.01954624243080616,
0.02561112307012081,
0.08684908598661423,
-0.004548660013824701,
0.00907132774591446,
-0.0034526498056948185,
-0.026685472577810287,
-0.04370179399847984,
-0.02417287975549698,
-0.032143864780664444,
0.010639532469213009,
0.04054805636405945,
0.01612391695380211,
-0.02569776400923729,
0.003333518048748374,
-0.010093693621456623,
-0.059089262038469315,
-0.05201934278011322,
-0.01634052023291588,
-0.010076365433633327,
-0.028660891577601433,
-0.011817852035164833,
0.02808905951678753,
0.045226678252220154,
0.02075921930372715,
-0.053682856261730194,
-0.04394438862800598,
-0.02899012714624405,
-0.027153335511684418,
-0.019650211557745934,
0.03389401733875275,
0.012407012283802032,
-0.07180818170309067,
0.023202499374747276,
-0.0071955472230911255,
0.021123111248016357,
0.030601652339100838,
-0.0740261971950531,
0.005895929876714945,
0.013386056758463383,
0.0266334880143404,
-0.036839816719293594,
-0.056351400911808014,
-0.00453566387295723,
0.059539794921875,
0.060059644281864166,
0.0050511788576841354,
0.026217611506581306,
-0.03389401733875275,
-0.0607181154191494,
-0.03450050577521324,
-0.04207294061779976,
-0.020707234740257263,
-0.0009373489301651716,
0.016799718141555786,
0.06127261742949486,
0.08359137922525406,
0.059643764048814774,
-0.0005615429254248738,
0.010873463936150074,
-0.002038232982158661,
0.020499294623732567,
0.025091275572776794,
-0.0029414668679237366,
-0.025437841191887856,
0.031589362770318985,
-0.06841184943914413,
0.048172477632761,
0.023445094004273415,
0.0720854327082634,
-0.009998388588428497,
0.039265766739845276,
-0.03079226426780224,
0.003656256478279829,
0.0018801129190251231,
-0.04241950437426567,
-0.0064157769083976746,
-0.04030546173453331,
-0.02436348982155323,
0.029094096273183823,
-0.06622849404811859,
-0.03815676271915436,
0.005293773952871561,
-0.0016169403679668903,
-0.03207455202937126,
-0.026962725445628166,
-0.012874874286353588,
0.054583922028541565,
0.04488011449575424,
0.011540601029992104,
0.002222345443442464,
-0.034015312790870667,
0.06435704231262207,
-0.03871126472949982,
-0.047098126262426376,
0.0065154144540429115,
-0.032611727714538574,
-0.08095748722553253,
0.021712271496653557,
-0.08116542547941208,
-0.015872657299041748,
0.02056860737502575,
-0.03004715032875538,
0.021400364115834236,
-0.028331654146313667,
-0.029700584709644318,
0.014347773976624012,
0.06037155166268349,
0.028452953323721886,
-0.010708846151828766,
-0.0006357294041663408,
0.01303949300199747,
-0.017813419923186302,
-0.00015554793935734779,
-0.03427523747086525,
0.05752972140908241,
-0.05302438139915466,
-0.021556317806243896,
0.039543017745018005,
0.02178158424794674,
-0.1108313575387001,
-0.008391194976866245,
-0.049489423632621765,
0.02334112487733364,
-0.05319766327738762,
0.08373000472784042,
0.050321176648139954,
-0.00762875284999609,
-0.04491477087140083,
0.0020523122511804104,
0.04390973225235939,
0.008304554037749767,
0.03638928011059761,
0.041968971490859985,
-0.05025186389684677,
-0.019407616928219795,
0.03333951160311699,
0.04758331924676895,
-0.016054604202508926,
-0.013992545194923878,
-0.01786540448665619,
0.05122224614024162,
0.035904090851545334,
0.004234585911035538,
0.04813782125711441,
-0.010431594215333462,
-0.009218618273735046,
0.0055580297484993935,
0.019320975989103317,
-0.016305863857269287,
-0.02271730825304985,
-0.003547955071553588,
-0.018385251984000206,
-0.010093693621456623,
0.03164134547114372,
0.023133186623454094,
-0.040478743612766266,
0.03569615259766579,
0.012779569253325462,
0.030532339587807655,
0.00010403706255601719,
0.0901067927479744,
0.028106387704610825,
-0.020984485745429993,
0.01926899142563343,
-0.022076163440942764,
-0.001848705462180078,
-0.0010331956436857581,
0.0013386057689785957,
0.04914285987615585,
-0.002438948256894946,
-0.03843401372432709,
0.006264154799282551,
-0.06428772956132889,
-0.05597018077969551,
0.016071932390332222,
0.03079226426780224,
-0.012181744910776615,
0.02420753613114357,
-0.01985815167427063,
0.012874874286353588,
-0.004665625747293234,
0.03136409446597099,
0.03495103865861893,
-0.03548821434378624,
-0.0787394717335701,
-0.014391094446182251,
-0.042835384607315063,
-0.010007052682340145,
0.017362885177135468,
-0.016799718141555786,
0.006112532690167427,
0.02734394557774067,
-0.02197219431400299,
-0.027326617389917374,
-0.00787567999213934,
0.047964539378881454,
-0.03947370499372482,
-0.02048196643590927,
-0.024588758125901222,
-0.06456498056650162,
0.024450130760669708,
-0.0830368772149086,
0.08033367246389389,
0.00006511623359983787,
0.027985090389847755,
-0.000059870384575333446,
-0.035384245216846466,
0.02169494330883026,
-0.01930364780128002,
0.008096614852547646,
-0.016609108075499535,
-0.03273302689194679,
0.012883538380265236,
0.03392867371439934,
-0.009391900151968002,
-0.02056860737502575,
0.025905702263116837,
0.0008983603911474347,
0.01958089880645275,
0.025091275572776794,
0.025316543877124786,
-0.022024178877472878,
-0.008581805974245071,
-0.0293713491410017,
-0.031589362770318985,
-0.013056821189820766,
-0.06047552078962326,
-0.0901067927479744,
-0.03618134185671806,
-0.058500103652477264,
0.003983326721936464,
-0.03508966416120529,
0.0728478729724884,
-0.01883578486740589,
0.09052266925573349,
0.07104574143886566,
-0.011930486187338829,
-0.0544452965259552,
-0.012155752629041672,
0.07492726296186447,
0.0115579292178154,
-0.009981060400605202,
0.013801935128867626,
0.011098731309175491,
-0.019494257867336273,
0.00910598412156105,
0.019407616928219795,
-0.04245416074991226,
-0.04366713762283325,
0.006485089659690857,
0.03008180670440197,
-0.027430586516857147,
-0.0466129370033741,
-0.006649707909673452,
0.008347874507308006,
0.0599210187792778,
-0.0020263197366148233,
0.01457304134964943,
-0.013368728570640087,
-0.009885754436254501,
-0.00030161949689500034,
0.0278118085116148,
-0.009634495712816715,
0.018974410369992256,
0.028695547953248024,
0.02150433324277401,
0.03304493427276611,
0.08580939471721649,
-0.005020854528993368,
0.008690106682479382,
-0.001403586589731276,
-0.05357888340950012,
0.014581705443561077,
-0.013940560631453991,
-0.022336088120937347,
-0.008846061304211617,
-0.044360268861055374,
0.020464638248085976,
0.053682856261730194,
-0.00007906004611868411,
-0.04983598738908768,
0.0005344675737433136,
0.02169494330883026,
-0.0004849196702707559,
0.00769806606695056,
-0.011150715872645378,
-0.021556317806243896,
0.012173080816864967,
-0.05271247401833534,
0.005445396061986685,
0.023375781252980232,
-0.0034873061813414097,
-0.02706669457256794,
-0.022699980065226555,
-0.006472093518823385,
0.0053197662346065044,
-0.04110255837440491,
-0.00009171777492156252,
0.02056860737502575,
-0.03843401372432709,
-0.0014176657423377037,
0.0172415878623724,
-0.026338908821344376,
0.06719887256622314,
-0.04862301051616669,
-0.0005907843005843461,
0.0057399761863052845,
-0.03313157334923744,
0.06234696879982948,
-0.01982349529862404,
-0.021400364115834236,
0.06789200007915497,
-0.0020284857600927353,
0.0019483427749946713,
0.043736450374126434,
-0.00985109806060791,
-0.028331654146313667,
0.04955873638391495,
0.008269897662103176,
-0.03670119121670723,
-0.0771452784538269,
0.010492242872714996,
0.03179730102419853,
-0.001036444678902626,
-0.01353334728628397,
-0.05808422341942787,
-0.002436782233417034,
-0.008131271228194237,
0.007507455535233021,
0.04959339275956154,
-0.09197824448347092,
-0.056074149906635284,
-0.03453516215085983,
-0.04813782125711441,
-0.0005328430561348796,
-0.019875479862093925,
-0.015933306887745857,
0.06373322755098343,
0.06009430065751076,
-0.03614668548107147,
0.026772113516926765,
0.04924682900309563,
-0.00004024075315101072,
-0.046162404119968414,
0.030324401333928108,
-0.02874753251671791,
-0.07312513142824173,
0.01084747165441513,
0.029856538400053978,
-0.04962804913520813,
0.04872697964310646,
0.05742575228214264,
0.027170663699507713,
-0.029908522963523865,
0.044013701379299164,
-0.06522345542907715,
0.018558533862233162,
-0.1194954663515091,
-0.047340720891952515,
0.06051017716526985,
0.004851904232054949,
-0.0658126175403595,
-0.00523745734244585,
-0.020499294623732567,
0.01809067092835903,
-0.011150715872645378,
-0.017198268324136734,
-0.017146283760666847,
0.021746927872300148,
-0.05784162878990173,
0.015595406293869019,
0.013481362722814083,
0.05378682538866997,
0.029042111709713936,
-0.02346242219209671,
-0.030133791267871857,
-0.026026999577879906,
-0.030601652339100838,
-0.03756760060787201,
0.0006644292734563351,
0.029354020953178406,
0.09890953451395035,
-0.07894740998744965,
0.02060326561331749,
0.0630401000380516,
0.011427966877818108,
0.024346161633729935,
-0.006887970957905054,
0.00022161181550472975,
-0.015898650512099266,
-0.01895708218216896,
-0.030411042273044586,
-0.0027660185005515814,
-0.0013851753901690245,
0.006667036097496748,
-0.06217368692159653,
0.06106467917561531,
0.014191820286214352,
-0.032455772161483765,
0.017198268324136734,
0.02401692606508732,
-0.008469171822071075,
0.021954866126179695,
0.017882732674479485,
-0.0032772014383226633,
-0.04560789838433266,
-0.03943904861807823,
-0.011237356811761856,
0.0497320182621479,
0.03328752890229225,
0.026026999577879906,
0.030809592455625534,
-0.007663409225642681,
-0.0037472296971827745,
-0.017657466232776642,
-0.030411042273044586,
0.04536530375480652,
0.0225266981869936,
-0.02283860556781292,
0.0009346413426101208,
0.023791659623384476,
-0.004444690886884928,
-0.008321882225573063,
-0.026269596070051193,
0.05804956704378128,
0.008447512052953243,
0.039265766739845276,
-0.028383640572428703,
0.008308885619044304,
0.027482571080327034,
-0.0026035665068775415
] |
708,706
|
pathvalidate._filename
|
__init__
| null |
def __init__(
self,
min_len: int = DEFAULT_MIN_LEN,
max_len: int = _DEFAULT_MAX_FILENAME_LEN,
fs_encoding: Optional[str] = None,
platform: Optional[PlatformType] = None,
check_reserved: bool = True,
additional_reserved_names: Optional[Sequence[str]] = None,
) -> None:
super().__init__(
min_len=min_len,
max_len=max_len,
fs_encoding=fs_encoding,
check_reserved=check_reserved,
additional_reserved_names=additional_reserved_names,
platform_max_len=_DEFAULT_MAX_FILENAME_LEN,
platform=platform,
)
|
(self, min_len: int = 1, max_len: int = 255, fs_encoding: Optional[str] = None, platform: Optional[~PlatformType] = None, check_reserved: bool = True, additional_reserved_names: Optional[Sequence[str]] = None) -> NoneType
|
[
0.006111528724431992,
0.010277489200234413,
-0.024463564157485962,
0.02411458268761635,
-0.02694132924079895,
-0.013435766100883484,
0.012292853556573391,
0.020607324317097664,
0.017196036875247955,
-0.042191796004772186,
0.03517727926373482,
0.04128444567322731,
0.00976274162530899,
0.026714490726590157,
0.03095461055636406,
0.04784528911113739,
0.0016183991683647037,
0.01738797500729561,
0.012685457244515419,
0.03266461566090584,
-0.003075394546613097,
0.057512059807777405,
-0.0012530597159639,
0.03196665644645691,
0.011795556172728539,
0.10525265336036682,
-0.021078448742628098,
0.002121149795129895,
0.025789692997932434,
-0.05761675536632538,
-0.012537140399217606,
0.03467125818133354,
0.030151953920722008,
0.055278580635786057,
0.021078448742628098,
-0.07024986296892166,
0.007062501739710569,
0.012851223349571228,
-0.08180113136768341,
-0.03926035761833191,
-0.0088117690756917,
-0.021095898002386093,
-0.0003699743247125298,
-0.027743985876441002,
-0.0036468508187681437,
0.035910140722990036,
0.026505103334784508,
-0.0016009501414373517,
-0.021968349814414978,
0.0680512860417366,
-0.00041386959492228925,
0.03140828385949135,
0.011036522686481476,
-0.03407799080014229,
-0.0409354642033577,
0.10155345499515533,
0.029227154329419136,
0.04522792994976044,
-0.026557449251413345,
-0.0026108138263225555,
-0.036608099937438965,
0.02139253169298172,
0.02912246063351631,
-0.06906332820653915,
-0.035072583705186844,
-0.014631026424467564,
-0.013636430725455284,
-0.04585609585046768,
-0.00010537588968873024,
0.06163003668189049,
0.0522773452103138,
0.002545379800722003,
-0.04575140401721001,
0.007228267844766378,
0.05168407782912254,
0.054475925862789154,
-0.11076655238866806,
0.007725565694272518,
-0.005452827550470829,
-0.04582119733095169,
0.05192836374044418,
0.0051736426539719105,
-0.012161985971033573,
-0.0239051952958107,
0.03957444056868553,
-0.020886510610580444,
-0.02835470251739025,
0.012528415769338608,
0.09443424642086029,
0.008279573172330856,
-0.06735332310199738,
0.08654727786779404,
-0.010033202357590199,
0.051718976348638535,
0.03217604383826256,
-0.0652245357632637,
0.007790999487042427,
0.019560381770133972,
0.004480042960494757,
-0.000317627185722813,
-0.024079686030745506,
0.0003936941211577505,
-0.02252672053873539,
-0.012319027446210384,
0.016236338764429092,
0.009466107934713364,
-0.023608561605215073,
-0.01980466954410076,
-0.011882801540195942,
-0.02844194695353508,
-0.01854833774268627,
-0.017361802980303764,
0.002558466512709856,
0.03542156517505646,
-0.060513295233249664,
0.024899790063500404,
0.013784747570753098,
-0.01694302447140217,
0.03135593980550766,
-0.0494157038629055,
0.02507428079843521,
0.022875702008605003,
-0.05974553897976875,
-0.00787824485450983,
0.043413229286670685,
-0.014535056427121162,
-0.00931779108941555,
-0.001415553968399763,
0.04152873158454895,
-0.0043775299564003944,
0.05035794898867607,
0.0344444178044796,
-0.003271696390584111,
-0.03392094746232033,
0.016262512654066086,
-0.06955190002918243,
0.02945399284362793,
0.08166154474020004,
-0.07004047930240631,
0.01733562909066677,
0.01721348613500595,
-0.006840026471763849,
0.0465889573097229,
-0.04362262040376663,
-0.07038945704698563,
0.02685408480465412,
0.038667090237140656,
-0.08759421855211258,
-0.016419554129242897,
0.03859729319810867,
-0.0013424861244857311,
-0.00009774193313205615,
-0.037620145827531815,
0.01734435372054577,
0.009047331288456917,
-0.021532123908400536,
0.0032956888899207115,
-0.07482151687145233,
0.030605629086494446,
0.04634467139840126,
-0.021462328732013702,
-0.04208710417151451,
-0.025004485622048378,
-0.06735332310199738,
-0.0004722148587461561,
0.021252939477562904,
-0.02442866563796997,
-0.08333665132522583,
0.03297869861125946,
0.0031626399140805006,
0.030919712036848068,
0.015110875479876995,
0.020310690626502037,
0.032682064920663834,
0.00810508243739605,
0.04261057451367378,
0.00798293948173523,
-0.034496765583753586,
-0.033571965992450714,
-0.034496765583753586,
0.018583236262202263,
-0.01802486553788185,
0.016995372250676155,
-0.02681918628513813,
0.07796234637498856,
0.040691178292036057,
-0.027447352185845375,
0.0733557939529419,
0.043203841894865036,
-0.021479777991771698,
-0.003675205633044243,
-0.02439376898109913,
-0.022020697593688965,
0.014273320324718952,
-0.010242590680718422,
-0.03671279549598694,
0.030326444655656815,
-0.025109179317951202,
0.004872646648436785,
-0.03512493148446083,
-0.010582847520709038,
0.09589996188879013,
0.007804086431860924,
-0.05639532208442688,
-0.02264886349439621,
0.02219518832862377,
0.01851343922317028,
0.02488234080374241,
-0.04121464863419533,
0.005147468764334917,
0.02556285448372364,
-0.06815598160028458,
-0.010565398260951042,
0.03821341320872307,
0.014273320324718952,
-0.0571281798183918,
-0.019717423245310783,
0.02118314430117607,
0.0051431069150567055,
0.01178683154284954,
0.11027798056602478,
0.04815937206149101,
-0.001531153917312622,
-0.010050651617348194,
0.013749849051237106,
0.003814798081293702,
0.034217581152915955,
-0.029558686539530754,
0.008026561699807644,
0.06913312524557114,
-0.02884327620267868,
-0.04882243648171425,
-0.02556285448372364,
0.0400979109108448,
-0.01521556917577982,
0.01936844177544117,
0.041877713054418564,
-0.001437365310266614,
-0.0356484055519104,
-0.07705499231815338,
-0.011961322277784348,
-0.018129561096429825,
-0.009047331288456917,
0.01178683154284954,
0.06033880636096001,
-0.04704263061285019,
-0.04156363010406494,
0.07866030931472778,
0.014430361799895763,
-0.010451979003846645,
-0.016995372250676155,
0.023730704560875893,
-0.0599549263715744,
0.01713496446609497,
-0.001809248118661344,
0.0235038660466671,
-0.0360497310757637,
-0.06916802376508713,
0.030169403180480003,
0.0016685652080923319,
-0.012763977982103825,
-0.003110292600467801,
-0.002767855068668723,
0.051509588956832886,
0.022823354229331017,
-0.017920171841979027,
0.024132031947374344,
-0.020310690626502037,
-0.01595715433359146,
-0.033083394169807434,
0.01328744925558567,
0.02062477357685566,
-0.024603156372904778,
0.023591112345457077,
0.0020677121356129646,
-0.06365412473678589,
-0.02718561515212059,
-0.029401645064353943,
0.03542156517505646,
0.006962169893085957,
0.048717740923166275,
-0.010862031951546669,
0.021060999482870102,
0.041877713054418564,
0.04836875945329666,
-0.005714563187211752,
-0.048752639442682266,
-0.10406611859798431,
-0.08089378476142883,
-0.04634467139840126,
-0.0538826584815979,
0.02608632668852806,
0.008785595186054707,
0.007302426267415285,
0.07363498210906982,
-0.048473455011844635,
0.015852458775043488,
-0.013584083877503872,
0.04955529421567917,
-0.0749611109495163,
-0.0186355821788311,
-0.0018190632108598948,
0.009675497189164162,
-0.006137702614068985,
-0.04756610468029976,
-0.030919712036848068,
-0.02835470251739025,
-0.03542156517505646,
0.0047156051732599735,
0.00937886256724596,
0.03877178207039833,
0.03009960614144802,
0.034496765583753586,
-0.0052347141318023205,
0.05032305419445038,
0.07963745296001434,
0.019385891035199165,
0.034339725971221924,
0.004610911011695862,
0.040167707949876785,
0.04634467139840126,
-0.017483945935964584,
-0.0336417630314827,
-0.025632651522755623,
-0.019682524725794792,
-0.01774568110704422,
0.050462644547224045,
-0.02685408480465412,
0.0033044132869690657,
0.00854567065834999,
-0.04407629370689392,
0.011813005432486534,
0.004750503227114677,
-0.033973295241594315,
-0.04439037665724754,
0.022177739068865776,
-0.008885927498340607,
-0.002268376061692834,
-0.003675205633044243,
-0.024481013417243958,
0.05304510518908501,
-0.02065967209637165,
-0.010111723095178604,
0.0049162693321704865,
-0.025266220793128014,
-0.08089378476142883,
0.05032305419445038,
-0.08375542610883713,
-0.003568330081179738,
-0.021287837997078896,
-0.013645155355334282,
-0.01553837675601244,
-0.04400649666786194,
-0.04610038176178932,
0.059256963431835175,
-0.06511984765529633,
-0.050008971244096756,
0.021043552085757256,
0.0222824327647686,
0.013383419252932072,
0.010783511213958263,
-0.0289654191583395,
-0.003640307579189539,
-0.0324203297495842,
-0.02929695136845112,
-0.039923422038555145,
0.023399172350764275,
0.00578435929492116,
-0.03467125818133354,
0.01778930425643921,
0.011097594164311886,
-0.040132809430360794,
0.0006679713260382414,
-0.07321619987487793,
0.025126628577709198,
-0.032228391617536545,
-0.04058648273348808,
0.0016053123399615288,
-0.09541139006614685,
-0.013016989454627037,
-0.014910210855305195,
0.04327363893389702,
0.002918353071436286,
0.0012945012422278523,
-0.04651916027069092,
-0.0186355821788311,
-0.008506410755217075,
-0.01541623380035162,
0.05102101340889931,
0.06777209788560867,
0.005147468764334917,
0.05035794898867607,
0.05245183780789375,
0.051230404525995255,
-0.0075903357937932014,
0.022474372759461403,
-0.04449507221579552,
0.01195259764790535,
0.016314858570694923,
0.021846206858754158,
-0.024777647107839584,
-0.037375859916210175,
-0.03488064557313919,
0.04533262550830841,
0.011149941012263298,
0.030151953920722008,
0.0785905122756958,
0.009553353302180767,
-0.004442963749170303,
0.0834762454032898,
0.010609020479023457,
-0.0024821269325912,
-0.012921019457280636,
-0.032716963440179825,
-0.025667548179626465,
-0.0136713283136487,
-0.01189152617007494,
-0.041912611573934555,
0.05377796292304993,
-0.0433434322476387,
-0.06424739211797714,
0.02470785193145275,
0.015102150849997997,
0.05733757093548775,
0.03894627466797829,
0.024899790063500404,
-0.0136713283136487,
-0.024481013417243958,
0.02880837768316269,
-0.06833046674728394,
-0.042191796004772186,
0.07733418047428131,
-0.040691178292036057,
-0.00027918475097976625,
0.005225989501923323,
-0.0058279819786548615,
-0.027080921456217766,
-0.013584083877503872,
-0.015381335280835629,
-0.028145313262939453,
0.012388823553919792,
-0.05922206863760948,
0.05252163112163544,
0.062013912945985794,
-0.01860068365931511,
0.0023883383255451918,
-0.04714732617139816,
0.05733757093548775,
-0.007088675629347563,
-0.005727649666368961,
-0.02219518832862377,
0.026435306295752525,
-0.05520878732204437,
-0.05342898145318031,
-0.002242202637717128,
-0.04386690631508827,
-0.023922644555568695,
-0.010434530675411224,
-0.06145554408431053,
-0.05883818864822388,
-0.0006761506083421409,
0.08522114902734756,
0.03386859968304634,
-0.035910140722990036,
-0.011559993959963322,
0.0518585704267025,
0.00936141423881054,
0.008667814545333385,
0.001159271108917892,
-0.0012476069387048483,
0.0075903357937932014,
0.013985411264002323,
0.012938468717038631,
0.0019575650803744793,
0.02216028980910778,
-0.002108063083142042,
-0.010434530675411224,
-0.014726996421813965,
-0.01567796990275383,
-0.024934688583016396,
0.036363814026117325,
0.004820299334824085,
0.027569495141506195,
0.02722051367163658,
0.0190369114279747,
-0.04959019273519516,
-0.006556479725986719,
-0.03552626073360443,
-0.02626081556081772,
0.04002811387181282,
0.0003656120679806918,
0.05950125306844711,
-0.019385891035199165,
0.05304510518908501,
0.05444102734327316,
0.0518585704267025,
0.03953954204916954,
0.034130338579416275,
-0.01976977102458477,
-0.013182755559682846,
-0.011961322277784348,
-0.046449363231658936,
0.006120253354310989,
-0.013540460728108883,
-0.0041223373264074326,
-0.00026855175383388996,
-0.07147129625082016,
-0.02835470251739025,
0.03163512423634529,
-0.026749389246106148,
-0.01896711438894272,
-0.009169474244117737,
0.05217265337705612,
0.0005504629225470126,
0.0023796139284968376,
0.05262632668018341,
-0.07391416281461716,
0.022020697593688965,
0.01442163810133934,
0.06302595883607864,
-0.01980466954410076,
0.02050263062119484,
0.037620145827531815,
-0.11027798056602478,
-0.009352689608931541,
-0.024219278246164322,
0.0360497310757637,
-0.03367666155099869,
0.06121125817298889,
0.04058648273348808,
-0.02503938227891922,
-0.01790272258222103,
0.0032455227337777615,
-0.0009853258961811662,
0.008345006965100765,
0.07126191258430481,
-0.04801977798342705,
0.055732257664203644,
0.025004485622048378,
-0.009405036456882954,
0.024568257853388786,
0.04683324322104454,
0.020554978400468826,
-0.007743014954030514,
-0.05328939110040665,
-0.004109250847250223,
0.019385891035199165,
0.018007416278123856,
0.03488064557313919,
-0.017815478146076202,
-0.027604393661022186,
-0.02880837768316269,
-0.022230086848139763,
0.008759422227740288,
0.0006107166409492493,
-0.0704941526055336,
0.045158132910728455,
-0.01333107240498066,
0.002279281849041581,
0.012868672609329224,
0.003945665899664164,
0.04257567599415779,
-0.013802196830511093,
-0.011437851004302502,
-0.05922206863760948,
0.012057291343808174,
-0.026068877428770065,
-0.04330853745341301,
-0.014500158838927746,
0.048438556492328644,
-0.023852847516536713,
0.061525341123342514,
0.008925187401473522,
0.03233308345079422,
-0.04348302632570267,
-0.028651336207985878,
0.007956765592098236,
0.06431718915700912,
-0.024201828986406326,
-0.03981872648000717,
-0.01166468858718872,
0.0285640899091959,
-0.030727772042155266,
-0.019316095858812332,
-0.022020697593688965,
-0.02135763317346573,
0.013496838510036469,
0.010923103429377079,
-0.03692218288779259,
-0.010539224371314049,
-0.005880328826606274,
-0.02835470251739025,
0.03922545909881592,
-0.045193031430244446,
-0.038876477628946304,
0.007228267844766378,
-0.015006180852651596,
-0.05824492126703262,
0.005282699130475521,
0.00655211741104722,
-0.04323874041438103,
0.040691178292036057,
-0.03597993403673172,
0.06285146623849869,
0.07775295525789261,
0.014177351258695126,
-0.005417929030954838,
0.04550711438059807,
-0.049485497176647186,
0.021008653566241264,
0.0013828369555994868,
0.014002860523760319,
-0.015337713062763214,
-0.04076097533106804,
-0.002272738376632333,
0.017640987411141396,
0.007725565694272518,
-0.024079686030745506,
0.048194270581007004,
-0.03290890157222748,
-0.022212637588381767,
0.024097135290503502,
-0.00478976359590888,
0.008951361291110516,
-0.0708780288696289,
0.011211013421416283,
-0.030902262777090073,
0.005391755606979132,
-0.06435208767652512,
-0.04815937206149101,
0.0013424861244857311,
-0.05482490733265877,
0.034217581152915955,
-0.016515523195266724,
0.008052735589444637,
0.007180282846093178,
-0.02135763317346573,
-0.010521776042878628,
0.04557691141963005,
0.031582776457071304,
0.01483169011771679,
-0.0043775299564003944,
-0.014779343269765377,
0.005540072452276945,
-0.05594164505600929,
0.012266680598258972,
-0.01389816589653492,
-0.012563314288854599,
0.023346824571490288,
-0.050497543066740036,
0.0019455688307061791,
0.061839424073696136,
0.005082034971565008,
-0.00011880347301485017,
0.01973487250506878,
-0.016358481720089912,
-0.007202094420790672,
-0.033083394169807434,
0.05314979702234268,
-0.02402733825147152,
-0.001638029352761805,
-0.02329447865486145,
0.0801958218216896,
0.011219737119972706,
0.002250927034765482,
-0.04459976404905319,
0.04829896241426468,
-0.053254492580890656,
-0.01896711438894272,
0.017370527610182762,
0.005291423760354519,
0.0035443378146737814,
0.03894627466797829,
-0.009056055918335915,
0.00495116738602519,
0.015180671587586403,
-0.007869520224630833,
0.00732423784211278,
0.0866868644952774,
0.022910598665475845,
0.0235038660466671,
0.0303787924349308,
-0.006792041938751936,
-0.06456147879362106,
0.014980006963014603,
0.036398712545633316,
-0.05761675536632538,
0.05287061259150505,
0.032106246799230576,
-0.00396965816617012,
0.03933015465736389,
-0.002407968509942293,
0.0032782398629933596,
0.019996607676148415,
-0.040167707949876785,
0.008894652128219604,
0.005819257348775864,
-0.043936699628829956,
0.027272861450910568,
-0.01333107240498066,
0.032315634191036224,
0.031373389065265656,
-0.03543901443481445,
-0.008868478238582611,
-0.04878753796219826,
-0.009047331288456917,
-0.06313065439462662,
0.01313040778040886,
-0.011874076910316944,
0.009431210346519947,
0.07084313035011292,
0.04072607681155205,
0.03817851468920708,
-0.07279742509126663,
-0.01607929728925228,
-0.008894652128219604,
0.03709667548537254,
-0.005138744600117207,
0.02305019088089466,
-0.02062477357685566,
0.020205996930599213,
0.040621381253004074,
0.045193031430244446,
0.02001405693590641,
-0.012641835026443005,
-0.0235038660466671,
-0.0741235539317131,
0.015704141929745674,
0.019682524725794792,
0.001552965259179473,
0.03317064046859741,
0.039399947971105576,
-0.0822199136018753,
-0.006691709626466036,
-0.005090759601444006,
-0.045681606978178024,
0.011333156377077103,
0.019141605123877525,
-0.021287837997078896,
0.058803290128707886,
0.028616437688469887,
0.03233308345079422,
-0.01928119733929634,
0.04756610468029976,
0.00931779108941555,
0.050008971244096756,
0.01778930425643921,
0.026714490726590157,
-0.0033480359707027674,
0.047949980944395065,
-0.02697622776031494,
0.0017438142094761133,
-0.031024405732750893,
0.0073896716348826885,
-0.027604393661022186,
-0.033118292689323425,
-0.0151893962174654,
0.019420789554715157,
-0.01075733732432127,
-0.02884327620267868,
-0.08117296546697617,
-0.012467344291508198,
-0.0025170249864459038,
0.04952039569616318,
0.03177471458911896,
0.055034294724464417,
0.013479389250278473,
0.024201828986406326
] |
708,714
|
pathvalidate._base
|
_validate_max_len
| null |
def _validate_max_len(self) -> None:
if self.max_len < 1:
raise ValueError("max_len must be greater or equal to one")
if self.min_len > self.max_len:
raise ValueError("min_len must be lower than max_len")
|
(self) -> NoneType
|
[
0.001016072346828878,
0.0523206926882267,
0.012915696948766708,
0.01623118668794632,
-0.06246626377105713,
0.012863757088780403,
0.024013500660657883,
0.009150061756372452,
0.002173897111788392,
-0.08497351408004761,
0.02783973328769207,
0.050589364022016525,
0.020949052646756172,
-0.03059254214167595,
0.023944247514009476,
0.04854639992117882,
-0.00938379019498825,
-0.055540960282087326,
0.07423928380012512,
0.05948838219046593,
0.01106317713856697,
0.019027279689908028,
-0.005531588569283485,
-0.025294682011008263,
-0.03867783769965172,
0.10277155041694641,
-0.0050598019734025,
0.020966365933418274,
0.06139284372329712,
0.01219719648361206,
-0.04265988990664482,
0.0005223737098276615,
0.06596354395151138,
0.07527808099985123,
0.006847396958619356,
-0.051662787795066833,
0.005583528429269791,
-0.04414882883429527,
-0.07153841853141785,
-0.008916332386434078,
-0.03277401253581047,
-0.01387658342719078,
0.01169511117041111,
0.02822062373161316,
0.0024952744133770466,
-0.0552985742688179,
0.0012541296891868114,
0.05959226191043854,
-0.07936401665210724,
-0.028099430724978447,
-0.013348528183996677,
0.02349410206079483,
0.020654726773500443,
-0.02349410206079483,
-0.02733764797449112,
0.051662787795066833,
0.027805106714367867,
0.08213413506746292,
0.024411706253886223,
-0.048130881041288376,
-0.06004240736365318,
-0.013945836573839188,
-0.021503077819943428,
-0.10671897232532501,
0.009227970615029335,
0.0036552634555846453,
-0.0025190801825374365,
-0.002482289681211114,
-0.0024952744133770466,
0.04311003163456917,
0.01679386757314205,
0.01883683353662491,
-0.09847786277532578,
0.041898105293512344,
-0.004575030878186226,
0.021243378520011902,
-0.046330299228429794,
0.05252845212817192,
-0.016560139134526253,
-0.038054559379816055,
0.059280622750520706,
0.0049212961457669735,
0.023563355207443237,
-0.011409442871809006,
0.04234825074672699,
-0.034886233508586884,
-0.03466115891933441,
0.029571058228611946,
0.040997814387083054,
0.0042525711469352245,
-0.037154268473386765,
0.0661713033914566,
-0.009236627258360386,
-0.01707088015973568,
0.007444704417139292,
0.0006416729302145541,
0.0011881229002028704,
-0.007946789264678955,
0.004300182685256004,
-0.011184370145201683,
-0.021104872226715088,
0.0621892549097538,
0.030748361721634865,
0.021364571526646614,
0.021243378520011902,
0.02616034634411335,
0.010742882266640663,
-0.049412064254283905,
-0.03279132768511772,
0.019477425143122673,
0.022974705323576927,
-0.02370186150074005,
0.03171790391206741,
0.043421670794487,
-0.028359130024909973,
0.029865384101867676,
0.006193820852786303,
-0.03384743630886078,
-0.008968272246420383,
-0.009513639844954014,
0.04380256310105324,
0.0017107671592384577,
-0.02577945403754711,
-0.06987634301185608,
0.043560177087783813,
0.054744549095630646,
-0.04169034585356712,
-0.016828494146466255,
0.058207202702760696,
-0.006544414907693863,
-0.008509470149874687,
0.02752809412777424,
-0.0016490885755047202,
0.04016677662730217,
0.009323193691670895,
-0.024602152407169342,
0.015261644497513771,
0.06257014721632004,
-0.018629074096679688,
-0.04684969782829285,
-0.03888559713959694,
0.06821426749229431,
0.05401739105582237,
-0.02515617571771145,
-0.03185641020536423,
-0.004722193349152803,
0.003947424702346325,
0.0044624945148825645,
0.004947266075760126,
0.009150061756372452,
-0.035976968705654144,
-0.010664972476661205,
0.008340666070580482,
-0.050104591995477676,
0.015183734707534313,
0.006068299990147352,
-0.03701576218008995,
-0.04768073558807373,
0.07541658729314804,
-0.02891315519809723,
-0.011747051030397415,
-0.015910891816020012,
-0.03615010157227516,
-0.04352555051445961,
-0.013997775502502918,
-0.0007260750862769783,
0.07652463763952255,
-0.029294047504663467,
0.005180994980037212,
0.09210658073425293,
0.009643489494919777,
0.03902410343289375,
0.008154548704624176,
0.011513322591781616,
-0.04321391135454178,
0.02359798178076744,
0.006817098706960678,
-0.010587062686681747,
-0.015729103237390518,
0.028774648904800415,
-0.03357042372226715,
-0.009998410940170288,
-0.007288885302841663,
-0.0016242008423432708,
0.05550633370876312,
0.024238573387265205,
-0.04234825074672699,
0.04764610901474953,
-0.037846799939870834,
-0.034297581762075424,
-0.06932231783866882,
-0.04716133698821068,
-0.015192391350865364,
-0.03708501532673836,
-0.05401739105582237,
-0.012993606738746166,
0.04414882883429527,
-0.00006945595669094473,
0.03957812860608101,
-0.016196560114622116,
0.0011286085937172174,
0.03090418130159378,
0.011842274107038975,
-0.049308184534311295,
0.005518603604286909,
-0.021555015817284584,
-0.012041376903653145,
-0.012595401145517826,
-0.013720763847231865,
-0.047126710414886475,
-0.03739665448665619,
-0.023442162200808525,
0.010361989960074425,
0.026125719770789146,
0.030471349135041237,
-0.07250796258449554,
-0.007466346025466919,
-0.0197544377297163,
0.0011545784072950482,
0.02636810392141342,
0.10332557559013367,
0.0067911287769675255,
0.018005797639489174,
-0.04203661158680916,
0.027112575247883797,
0.013322558254003525,
0.019183099269866943,
0.003611980238929391,
0.04186347872018814,
0.05765317752957344,
0.00787320826202631,
-0.002668407279998064,
-0.03530174866318703,
0.04404494911432266,
-0.02586602047085762,
0.02626422606408596,
0.05142040178179741,
-0.01843862794339657,
0.0018633402651175857,
-0.01050915289670229,
-0.00515502505004406,
-0.009020212106406689,
-0.040824681520462036,
0.027891673147678375,
0.0030449707992374897,
0.02072397992014885,
-0.03871246427297592,
0.06575578451156616,
0.02231680043041706,
0.009323193691670895,
-0.06942620128393173,
0.021658895537257195,
-0.07133065909147263,
-0.01243958156555891,
0.020464280620217323,
0.04027065634727478,
-0.05145502835512161,
-0.043387044221162796,
0.020100701600313187,
-0.026420043781399727,
0.034020569175481796,
0.03533637523651123,
-0.026593176648020744,
0.08947496116161346,
0.012785847298800945,
-0.0008256263681687415,
0.021243378520011902,
0.000860252941492945,
0.009522296488285065,
0.03100806102156639,
0.06277790665626526,
0.010725568979978561,
-0.020949052646756172,
-0.01585029624402523,
0.01776341162621975,
-0.028376443311572075,
0.0197544377297163,
-0.0025255726650357246,
0.0072412737645208836,
0.023165149614214897,
0.020498907193541527,
-0.024913789704442024,
0.03317221999168396,
-0.01631775312125683,
0.026800936087965965,
0.03078298829495907,
-0.026004526764154434,
-0.0908600240945816,
-0.06398983299732208,
0.025034982711076736,
0.005657109897583723,
-0.05751467123627663,
0.025987213477492332,
0.02891315519809723,
-0.004079438280314207,
-0.05561021342873573,
0.09245284646749496,
0.0065011316910386086,
0.043664056807756424,
-0.05793019011616707,
-0.04494524002075195,
-0.017581621184945107,
-0.00688202353194356,
-0.021087558940052986,
-0.0017724456265568733,
-0.06073493883013725,
-0.026489296928048134,
-0.02970956452190876,
0.03968200832605362,
-0.027683913707733154,
-0.022230233997106552,
0.004903982859104872,
-0.02764928713440895,
-0.004730849992483854,
0.08649707585573196,
0.10692673176527023,
0.0878128856420517,
-0.012448238208889961,
-0.0739622712135315,
0.05155890807509422,
0.0023849024437367916,
0.01788460463285446,
-0.00646217679604888,
-0.05214755982160568,
-0.025138862431049347,
0.011876900680363178,
0.05744541808962822,
0.005038160365074873,
-0.02448095940053463,
-0.06797188520431519,
-0.025225428864359856,
-0.02397887408733368,
0.06482087075710297,
-0.023459475487470627,
-0.0030471349600702524,
0.027805106714367867,
0.009314537048339844,
0.024030813947319984,
0.03346654400229454,
-0.00742739113047719,
0.049308184534311295,
-0.03388206288218498,
0.058103322982788086,
0.015633879229426384,
0.07728642225265503,
-0.03275670111179352,
-0.0011351010762155056,
-0.05045085772871971,
-0.015711789950728416,
-0.0443912148475647,
-0.047923121601343155,
0.03078298829495907,
-0.012967636808753014,
-0.035267122089862823,
-0.012794503942131996,
-0.0414479598402977,
0.03398594260215759,
-0.015287614427506924,
-0.005133383441716433,
0.040997814387083054,
0.015521343797445297,
-0.04626104608178139,
-0.009253940545022488,
-0.010379303246736526,
-0.0671408474445343,
0.01618790440261364,
-0.00037331730709411204,
-0.01686312071979046,
0.03256625309586525,
0.03398594260215759,
0.010353333316743374,
-0.019373545423150063,
0.031440891325473785,
-0.035076677799224854,
-0.021780088543891907,
0.039127983152866364,
-0.038850970566272736,
0.038539331406354904,
-0.05412127077579498,
0.03535369038581848,
0.01585029624402523,
-0.021260691806674004,
0.016066711395978928,
-0.02359798178076744,
0.014162251725792885,
-0.051489654928445816,
-0.037050388753414154,
-0.04982757940888405,
-0.03504205122590065,
0.07126140594482422,
0.022559186443686485,
0.026316165924072266,
0.0029021361842751503,
0.010188857093453407,
-0.04172497242689133,
0.029345987364649773,
0.012690624222159386,
-0.010327363386750221,
0.03580383583903313,
-0.007288885302841663,
-0.03670412302017212,
0.05477917566895485,
-0.06281252950429916,
0.09446118026971817,
0.01627447083592415,
0.06090807169675827,
0.07971028238534927,
0.04944669082760811,
-0.0086306631565094,
0.057791683822870255,
0.015278957784175873,
-0.0031163878738880157,
0.0010680120903998613,
-0.04227899760007858,
-0.0005134465754963458,
-0.05052011087536812,
0.002413036534562707,
-0.020602786913514137,
0.02922479435801506,
-0.030661795288324356,
-0.025485128164291382,
-0.002951911883428693,
0.0454300120472908,
0.010820791125297546,
-0.016032084822654724,
0.013339871540665627,
-0.05093562975525856,
0.0013352857204154134,
-0.009193344041705132,
-0.03180447220802307,
-0.03130238503217697,
0.0640937089920044,
-0.02920748107135296,
-0.02389230765402317,
0.012309732846915722,
-0.012907040305435658,
-0.05076249688863754,
0.023823054507374763,
-0.00927125383168459,
-0.024931102991104126,
0.08462724834680557,
-0.07361600548028946,
0.04591478407382965,
0.09487669914960861,
0.07811746001243591,
-0.04359480366110802,
-0.009799309074878693,
0.004300182685256004,
-0.015105824917554855,
-0.008414247073233128,
-0.023234402760863304,
-0.0005729609401896596,
0.0004958627978339791,
-0.02427319996058941,
-0.00023913949553389102,
-0.007185005582869053,
-0.06049255281686783,
0.002841539913788438,
-0.02704332210123539,
-0.05398276448249817,
-0.03691188246011734,
0.07347749918699265,
-0.014776872470974922,
-0.023840367794036865,
-0.06440535187721252,
0.05872660130262375,
-0.009903188794851303,
0.004207123536616564,
-0.0035708611831068993,
0.043871816247701645,
-0.014326727949082851,
-0.005830242298543453,
0.005579200107604265,
-0.016681332141160965,
0.02359798178076744,
-0.02410006709396839,
0.05318635329604149,
0.029882697388529778,
0.04484136030077934,
-0.008479172363877296,
0.0720924437046051,
0.025744827464222908,
0.0016826330684125423,
0.038054559379816055,
-0.008583052083849907,
-0.0631587952375412,
-0.07451629638671875,
0.00958289299160242,
-0.060942698270082474,
0.049412064254283905,
-0.023840367794036865,
-0.021156812086701393,
0.010474526323378086,
0.09813159704208374,
0.005505618639290333,
-0.01733923703432083,
0.022039787843823433,
-0.018732953816652298,
0.011920183897018433,
0.027372274547815323,
-0.024550212547183037,
0.025329308584332466,
-0.005579200107604265,
-0.028757335618138313,
0.015902236104011536,
0.002050539944320917,
-0.04214049130678177,
-0.002436842303723097,
0.0077693285420536995,
-0.024013500660657883,
-0.03642711415886879,
0.031233131885528564,
0.015521343797445297,
0.04795774817466736,
0.018923399969935417,
-0.004856371320784092,
0.004163840785622597,
0.002140352502465248,
0.03050597570836544,
0.01707088015973568,
-0.025831393897533417,
0.04626104608178139,
-0.024359766393899918,
-0.09390715509653091,
0.013686137273907661,
-0.04009752348065376,
-0.010405273176729679,
-0.06852591037750244,
0.014551800675690174,
0.03407250717282295,
0.004834729712456465,
0.032116107642650604,
0.06360894441604614,
-0.008496485650539398,
-0.0533248595893383,
0.00730187026783824,
-0.05301322042942047,
0.03170059248805046,
-0.057895563542842865,
0.025502441450953484,
-0.06499399989843369,
-0.008003056980669498,
0.0226976927369833,
-0.02733764797449112,
-0.07548584043979645,
-0.0037266805302351713,
0.01070825569331646,
0.06970321387052536,
-0.034886233508586884,
0.004155184142291546,
-0.01788460463285446,
0.027493467554450035,
0.020897112786769867,
-0.022645752876996994,
-0.025744827464222908,
-0.046641938388347626,
0.047611482441425323,
0.030938807874917984,
0.03583846241235733,
0.048130881041288376,
-0.014724933542311192,
-0.04799237474799156,
0.016785211861133575,
-0.015374180860817432,
-0.04089393466711044,
-0.0006524937343783677,
-0.029259420931339264,
-0.010154230520129204,
-0.005596513394266367,
0.05495230853557587,
-0.025138862431049347,
0.0055618868209421635,
-0.024948416277766228,
0.008128578774631023,
-0.002380574122071266,
-0.023320969194173813,
-0.06270865350961685,
0.05045085772871971,
-0.01740849018096924,
-0.006167851388454437,
0.030177023261785507,
0.04155183956027031,
0.000704433536157012,
0.00004443287616595626,
0.022282173857092857,
0.009704085998237133,
-0.015027915127575397,
-0.038262318819761276,
-0.0542597770690918,
0.025052295997738838,
0.017036253586411476,
0.06523638963699341,
-0.007808282971382141,
-0.04311003163456917,
0.022559186443686485,
0.07569359987974167,
-0.007860222831368446,
-0.051074136048555374,
-0.01688043400645256,
0.035267122089862823,
-0.00987721886485815,
0.04023602977395058,
-0.017901917919516563,
0.04324853792786598,
0.04203661158680916,
-0.015486717224121094,
0.021156812086701393,
0.02368454821407795,
-0.008924989029765129,
-0.015755072236061096,
-0.02704332210123539,
0.015573282726109028,
-0.004925624467432499,
-0.045256879180669785,
-0.07389301806688309,
-0.04774998873472214,
-0.01272525079548359,
0.029761504381895065,
0.059973154217004776,
-0.011842274107038975,
0.02200516127049923,
0.03365698829293251,
0.013608227483928204,
-0.007185005582869053,
-0.05886510759592056,
-0.005345471203327179,
-0.04335241764783859,
-0.01525298785418272,
-0.08829765766859055,
-0.04276376962661743,
-0.020498907193541527,
-0.05457141622900963,
0.04175959900021553,
-0.025208115577697754,
0.0022041951306164265,
0.01199809368699789,
0.045464638620615005,
-0.018698327243328094,
0.01623118668794632,
-0.002995195100083947,
-0.03985514119267464,
-0.03317221999168396,
-0.013963148929178715,
0.004761148244142532,
-0.008262756280601025,
0.0434562973678112,
-0.01629178412258625,
0.034903544932603836,
-0.02536393515765667,
-0.07458554953336716,
0.0212260652333498,
0.02979613095521927,
0.00029676020494662225,
-0.046053290367126465,
0.04054766893386841,
-0.012162569910287857,
0.026489296928048134,
-0.018300123512744904,
-0.011478696018457413,
-0.034591905772686005,
0.01652551256120205,
-0.04570702463388443,
0.06949545443058014,
-0.06201612204313278,
0.026212286204099655,
-0.008505142293870449,
-0.006392923649400473,
-0.007081125862896442,
0.011002580635249615,
-0.0029086286667734385,
0.010846761055290699,
-0.03414176031947136,
0.01637835055589676,
0.02832450345158577,
0.0700841024518013,
0.0037245163694024086,
-0.033137593418359756,
-0.02202247455716133,
0.017988484352827072,
-0.006453520152717829,
0.006483818404376507,
0.03819306567311287,
-0.06873366981744766,
-0.05595647543668747,
0.018975339829921722,
0.02704332210123539,
-0.04764610901474953,
0.051870547235012054,
0.03729277476668358,
0.025017669424414635,
0.032808639109134674,
-0.03583846241235733,
-0.03583846241235733,
0.0113575030118227,
-0.027147201821208,
-0.008003056980669498,
-0.017122820019721985,
0.013911210000514984,
0.015400150790810585,
0.015607909299433231,
-0.005068458616733551,
0.032704759389162064,
-0.03798530623316765,
-0.00323108839802444,
0.004131378140300512,
-0.027597347274422646,
-0.07486256211996078,
0.015097168274223804,
-0.013954493217170238,
-0.014880752190947533,
0.04844252020120621,
0.03808918595314026,
0.0330856516957283,
-0.07472405582666397,
-0.028064804151654243,
-0.026091093197464943,
0.04553389176726341,
0.037569787353277206,
0.012768534012138844,
-0.012751220725476742,
0.008340666070580482,
0.02901703491806984,
-0.011625858023762703,
-0.03523249551653862,
-0.01933891884982586,
-0.019217725843191147,
-0.03260087966918945,
-0.04494524002075195,
0.0385047048330307,
-0.014975975267589092,
-0.0031704918947070837,
0.03279132768511772,
-0.028584202751517296,
0.011980780400335789,
0.006747845560312271,
-0.0394742488861084,
-0.03372624143958092,
0.007375451736152172,
-0.01585029624402523,
0.00567875150591135,
0.043767936527729034,
-0.008392605930566788,
0.04553389176726341,
-0.016387006267905235,
0.014898065477609634,
0.026679743081331253,
-0.003012508386746049,
0.03621935471892357,
-0.017313266173005104,
-0.013244648464024067,
-0.00011152178194606677,
-0.03466115891933441,
-0.014906722120940685,
-0.012153913266956806,
0.01788460463285446,
0.001056650304235518,
-0.04054766893386841,
0.00967811606824398,
-0.03131970018148422,
-0.015962831676006317,
-0.010924670845270157,
0.05685676634311676,
0.03512861579656601,
0.03275670111179352,
-0.008751856163144112,
0.029536431655287743,
0.027597347274422646,
0.0075009725987911224
] |
708,715
|
pathvalidate._base
|
_validate_reserved_keywords
| null |
def _validate_reserved_keywords(self, name: str) -> None:
if not self._check_reserved:
return
root_name = self.__extract_root_name(name)
base_name = os.path.basename(name).upper()
if self._is_reserved_keyword(root_name.upper()) or self._is_reserved_keyword(
base_name.upper()
):
raise ReservedNameError(
f"'{root_name}' is a reserved name",
reusable_name=False,
reserved_name=root_name,
platform=self.platform,
)
|
(self, name: str) -> NoneType
|
[
-0.021530792117118835,
-0.007929258979856968,
-0.008525444194674492,
0.03870091587305069,
-0.042925313115119934,
-0.011438232846558094,
0.017050888389348984,
-0.009675228968262672,
0.07447201013565063,
-0.03887125477194786,
0.01157450396567583,
0.027799248695373535,
0.04973885416984558,
-0.05365663766860962,
-0.029826277866959572,
-0.04387920722365379,
0.051305968314409256,
0.07283675670623779,
-0.03764481842517853,
-0.02853170596063137,
-0.05995916575193405,
0.03795142471790314,
0.011557470075786114,
-0.0353282131254673,
0.016335465013980865,
0.10792649537324905,
0.04755851998925209,
0.04425395280122757,
0.004079607781022787,
-0.04755851998925209,
-0.03975701332092285,
0.031052716076374054,
0.05079495161771774,
0.06779474020004272,
0.06776066869497299,
-0.07358624786138535,
0.019248254597187042,
-0.026930522173643112,
-0.017527835443615913,
-0.04452649503946304,
0.007056273985654116,
0.04476496949791908,
-0.04643428698182106,
-0.029826277866959572,
0.015517841093242168,
-0.052327997982501984,
0.025329340249300003,
0.06213949993252754,
-0.03302864357829094,
0.033471520990133286,
-0.009905185550451279,
-0.02853170596063137,
0.012434713542461395,
-0.01711050607264042,
0.017647072672843933,
0.011838528327643871,
0.024000700563192368,
0.06380881369113922,
-0.008585061877965927,
-0.00437344191595912,
-0.0110209034755826,
0.057642560452222824,
0.005408248398452997,
-0.042618703097105026,
-0.006545258220285177,
-0.005880937911570072,
0.012570983730256557,
-0.04793326556682587,
-0.03880311921238899,
0.07147405296564102,
0.010390650480985641,
-0.036248039454221725,
-0.04309564828872681,
0.02280833013355732,
0.007942033931612968,
0.012221789918839931,
-0.061424076557159424,
-0.024256207048892975,
0.010850564576685429,
-0.02032138779759407,
0.005501934792846441,
-0.05365663766860962,
0.022791296243667603,
-0.019248254597187042,
0.008193283341825008,
0.03037136048078537,
-0.05583697184920311,
0.02417103759944439,
0.05832391604781151,
-0.03870091587305069,
0.0027701305225491524,
0.03302864357829094,
-0.03917786478996277,
0.06363847851753235,
0.035600755363702774,
0.007614132482558489,
0.02716899663209915,
-0.02728823386132717,
-0.010271414183080196,
0.0020536440424621105,
-0.011651155538856983,
0.03226212039589882,
0.0013360929442569613,
-0.028225095942616463,
0.01178742665797472,
-0.015645595267415047,
-0.0028936259914189577,
-0.03330118581652641,
-0.007767437491565943,
0.03168296813964844,
-0.0004466063401196152,
-0.04626394808292389,
0.01694868505001068,
0.04851241409778595,
-0.032585762441158295,
-0.013371575623750687,
0.028702042996883392,
-0.029042720794677734,
-0.06380881369113922,
-0.0053145624697208405,
0.04064277559518814,
-0.02061096392571926,
0.006826316937804222,
0.0021526531782001257,
0.04432208836078644,
0.008993875235319138,
-0.03129119053483009,
0.0593118779361248,
0.005714857950806618,
0.037065666168928146,
0.013644116930663586,
0.04680902883410454,
-0.03539634868502617,
-0.07440387457609177,
-0.020474692806601524,
0.005229393020272255,
0.08680451661348343,
-0.008333813399076462,
-0.03982514888048172,
-0.03836023807525635,
0.030575767159461975,
0.053384099155664444,
-0.019657067954540253,
-0.03432321548461914,
-0.027151962742209435,
-0.009223831817507744,
-0.04360666498541832,
-0.03440838307142258,
0.010850564576685429,
-0.02475018985569477,
0.003802807768806815,
-0.011693740263581276,
-0.03137635812163353,
0.024273240938782692,
0.007648200262337923,
0.008648939430713654,
0.026095863431692123,
-0.09089264273643494,
-0.0616966187953949,
0.033931437879800797,
0.05880086496472359,
-0.06908930838108063,
-0.06762439757585526,
-0.04088125005364418,
-0.00867449026554823,
-0.0017661977326497436,
0.0006190740969032049,
-0.06098119542002678,
0.017630038782954216,
-0.0053614056669175625,
-0.0033918661065399647,
0.08871231228113174,
-0.011412682011723518,
0.04704750329256058,
-0.0466727577149868,
-0.022348416969180107,
-0.03870091587305069,
-0.02440951205790043,
-0.0010954897152259946,
-0.03415287658572197,
0.030575767159461975,
-0.013328990899026394,
-0.031597800552845,
-0.009871118701994419,
0.021428588777780533,
-0.02541450969874859,
-0.03466389328241348,
0.005233651492744684,
0.019708169624209404,
0.02989441342651844,
-0.023234177380800247,
-0.012843525968492031,
0.032108813524246216,
0.018532833084464073,
0.041596669703722,
-0.003259853692725301,
0.03893939033150673,
0.037304140627384186,
0.04561666026711464,
-0.000929941947106272,
0.004854648374021053,
0.022706126794219017,
-0.026010693982243538,
0.051782917231321335,
0.049295973032712936,
0.014649114571511745,
0.028804246336221695,
-0.04483310133218765,
0.02505679801106453,
-0.016122542321681976,
0.001132751232944429,
0.017749276012182236,
-0.008942773565649986,
0.05951628461480141,
-0.0002736062742769718,
0.033113811165094376,
-0.005880937911570072,
-0.023370446637272835,
0.02664094790816307,
0.03054169937968254,
0.01955486461520195,
0.0541335865855217,
0.08830349892377853,
-0.049193769693374634,
0.030030684545636177,
-0.037849221378564835,
0.03692939504981041,
0.07365438342094421,
0.045173779129981995,
0.047762926667928696,
-0.0020366101525723934,
-0.03720193728804588,
-0.050011396408081055,
-0.020014777779579163,
-0.030797207728028297,
-0.04217582195997238,
0.0016331207007169724,
-0.0706564262509346,
0.012596534565091133,
-0.045752931386232376,
-0.010816496796905994,
0.01261356845498085,
-0.025499679148197174,
0.01701682060956955,
0.028923483565449715,
-0.04844427853822708,
-0.027220098301768303,
0.0530434213578701,
0.0245798509567976,
0.008900188840925694,
-0.00519958371296525,
0.022297315299510956,
0.009487856179475784,
0.006941295228898525,
0.018158087506890297,
0.010876115411520004,
-0.021769264712929726,
-0.008529702201485634,
0.03999548777937889,
0.01556894276291132,
-0.021701129153370857,
0.1110607236623764,
-0.012775390408933163,
0.04592327028512955,
0.010211795568466187,
0.029383398592472076,
0.08148995786905289,
0.009147179313004017,
-0.07869640737771988,
-0.010867598466575146,
-0.011216792277991772,
0.0503520704805851,
0.02173519693315029,
0.007277714088559151,
0.03491939976811409,
-0.03180220350623131,
0.03904159367084503,
0.03321601450443268,
-0.0195037629455328,
0.00874688383191824,
0.07719742506742477,
0.007448052521795034,
0.012008867226541042,
0.07413133233785629,
0.025193069130182266,
-0.025005698204040527,
0.016556905582547188,
-0.10097668319940567,
-0.03451058641076088,
-0.015185680240392685,
-0.07637979835271835,
-0.04088125005364418,
0.07092896848917007,
-0.01444470789283514,
-0.02321714349091053,
0.0074948957189917564,
0.00037580940988846123,
-0.007580064702779055,
-0.020781300961971283,
0.01615661010146141,
0.028020689263939857,
0.03795142471790314,
0.014700216241180897,
-0.023591887205839157,
-0.03437431529164314,
-0.014666148461401463,
0.00011923697456950322,
0.0163695327937603,
-0.03161483258008957,
-0.004230783320963383,
-0.06469457596540451,
0.011974799446761608,
-0.02446061372756958,
-0.021581891924142838,
0.014410640113055706,
0.03197254240512848,
0.06084492430090904,
0.021871468052268028,
-0.012937212362885475,
0.0428912453353405,
0.03508973866701126,
-0.00141061597969383,
-0.039620742201805115,
-0.07644793391227722,
0.0018811762565746903,
0.023830361664295197,
0.03590736538171768,
-0.023063838481903076,
-0.0004436786693986505,
-0.014069963246583939,
-0.011719291098415852,
-0.046945299953222275,
0.0016150223091244698,
-0.027151962742209435,
-0.03880311921238899,
-0.00627697492018342,
0.0010518404887989163,
-0.015875551849603653,
0.052430201321840286,
-0.00008210849773604423,
-0.012187722139060497,
-0.0002768001286312938,
-0.013558947481215,
-0.004186069592833519,
0.0029511151369661093,
-0.012375094927847385,
0.006643203087151051,
-0.05624578520655632,
0.028310265392065048,
-0.021479690447449684,
-0.01045878604054451,
-0.0044288020581007,
-0.02364298887550831,
-0.041801076382398605,
0.08435164391994476,
-0.009590059518814087,
0.0020344809163361788,
0.024119937792420387,
-0.02475018985569477,
0.004799288231879473,
0.0694640576839447,
-0.05375884100794792,
-0.009428238496184349,
-0.021104944869875908,
-0.027850350365042686,
-0.03992735221982002,
0.008453049696981907,
0.01119975931942463,
-0.04680902883410454,
-0.0541335865855217,
-0.008167732506990433,
-0.03870091587305069,
-0.027015691623091698,
-0.0026721858885139227,
-0.014938689768314362,
0.00199828390032053,
0.061424076557159424,
-0.03440838307142258,
0.011881113052368164,
-0.0023740932811051607,
-0.01907791569828987,
0.009181247092783451,
0.045344118028879166,
-0.03362482786178589,
0.017093472182750702,
-0.04425395280122757,
-0.00901090819388628,
-0.009351585991680622,
0.02994551509618759,
0.030337292701005936,
0.059175606817007065,
-0.011497851461172104,
0.0428912453353405,
0.046059541404247284,
0.004910008516162634,
0.023779259994626045,
-0.05014766380190849,
-0.0719510018825531,
-0.025789255276322365,
0.06881676614284515,
-0.05907340347766876,
-0.003839004784822464,
-0.09048382937908173,
0.019571898505091667,
0.046877164393663406,
-0.014955723658204079,
0.016522837802767754,
0.0010912312427535653,
0.016812413930892944,
0.04456056281924248,
-0.042448364198207855,
-0.026215100660920143,
-0.00963264424353838,
-0.012800941243767738,
-0.0016054407460615039,
0.01562856137752533,
0.036895327270030975,
-0.030626868829131126,
0.004799288231879473,
-0.025738153606653214,
-0.00007399079913739115,
0.004650242161005735,
0.05760849267244339,
0.06053831800818443,
0.023063838481903076,
-0.008312520571053028,
-0.0654781311750412,
-0.03566889092326164,
0.04033616557717323,
-0.03904159367084503,
-0.06857829540967941,
0.012000350281596184,
-0.026266202330589294,
-0.02115604653954506,
-0.017885547131299973,
-0.024767223745584488,
-0.03348855674266815,
0.017510801553726196,
-0.008874638006091118,
-0.006191805936396122,
-0.00423717126250267,
-0.013593015260994434,
0.0024166780058294535,
0.07617539167404175,
0.0391097292304039,
-0.009538957849144936,
0.02038952335715294,
0.06213949993252754,
0.010084041394293308,
-0.0378151535987854,
-0.04193734750151634,
0.042857177555561066,
-0.057097479701042175,
-0.0946400910615921,
0.00936861988157034,
0.002008930081501603,
-0.04265277087688446,
-0.03469796106219292,
-0.046229880303144455,
-0.028616873547434807,
-0.013669667765498161,
0.05832391604781151,
-0.0277651809155941,
0.07276862114667892,
0.0005615848931483924,
0.05665459856390953,
-0.04973885416984558,
0.008815019391477108,
0.07079269737005234,
-0.004769478924572468,
-0.003257724456489086,
-0.014853520318865776,
0.07890081405639648,
-0.009794466197490692,
-0.035941433161497116,
-0.025687051936984062,
-0.029979582875967026,
0.03805362805724144,
0.07113337516784668,
0.020474692806601524,
0.038087695837020874,
-0.027748147025704384,
0.010024422779679298,
0.007707818876951933,
0.01246878132224083,
-0.00841472391039133,
-0.03686125949025154,
-0.0061449627391994,
-0.04217582195997238,
-0.023489683866500854,
-0.032704997807741165,
-0.01795368269085884,
0.003760223276913166,
0.06919151544570923,
0.00862764660269022,
0.017459699884057045,
-0.005421023815870285,
0.07944589108228683,
-0.012392128817737103,
0.007703560404479504,
0.013874073512852192,
-0.007550255861133337,
-0.003215139964595437,
-0.017476733773946762,
0.04394734278321266,
-0.03655464947223663,
0.0014287144877016544,
-0.0032257861457765102,
0.06769253313541412,
0.003317343071103096,
-0.0441858172416687,
-0.015441188588738441,
0.06571660935878754,
0.03233025595545769,
0.01450432650744915,
-0.004824839066714048,
-0.06139000877737999,
-0.005399731453508139,
-0.01069726049900055,
0.056859005242586136,
-0.017510801553726196,
-0.021786298602819443,
0.006843350827693939,
-0.059652555733919144,
-0.01601182296872139,
-0.045105643570423126,
0.00818476639688015,
-0.04377700388431549,
0.004496937617659569,
0.0003925770870409906,
-0.008316779509186745,
-0.002455004258081317,
0.005604137666523457,
-0.03355669230222702,
0.013746320270001888,
0.019640034064650536,
-0.032347287982702255,
0.03941633924841881,
-0.028633907437324524,
0.019742237403988838,
0.05648425966501236,
0.0154497055336833,
0.05948221683502197,
-0.006617652252316475,
0.00033588631777092814,
0.04858054965734482,
0.023200109601020813,
0.00625994149595499,
-0.030524665489792824,
0.025261204689741135,
0.02451171539723873,
-0.008146440610289574,
-0.0033620567992329597,
-0.06282085180282593,
0.04476496949791908,
-0.11072005331516266,
0.0002988908963743597,
0.008797985501587391,
0.007631166372448206,
0.06002730131149292,
-0.0032492075115442276,
0.039620742201805115,
0.051544442772865295,
-0.057642560452222824,
-0.08285266160964966,
-0.03231322020292282,
-0.05634798854589462,
-0.04459463059902191,
0.025193069130182266,
0.04265277087688446,
-0.023881463333964348,
-0.03113788552582264,
0.06820355355739594,
0.0012647636467590928,
-0.01883944310247898,
0.00951340701431036,
0.03897345811128616,
0.04967071861028671,
-0.08353401720523834,
-0.04568479582667351,
0.06615948677062988,
-0.00326411216519773,
-0.038258034735918045,
-0.031052716076374054,
-0.04370886832475662,
-0.014989791437983513,
0.022314349189400673,
0.03054169937968254,
-0.011395648121833801,
0.0028425243217498064,
-0.002087711589410901,
0.005169774405658245,
0.04425395280122757,
-0.06605728715658188,
-0.035839229822158813,
0.038837186992168427,
0.03727007284760475,
-0.03795142471790314,
-0.013286406174302101,
-0.01030548196285963,
-0.020355455577373505,
0.011702257208526134,
0.030695004388689995,
0.040915317833423615,
0.03682719171047211,
0.08564621955156326,
0.012775390408933163,
0.018924610689282417,
-0.0452759824693203,
-0.027424504980444908,
-0.000383261707611382,
0.01305644866079092,
-0.014257336035370827,
0.002582757966592908,
-0.019418593496084213,
0.04255056753754616,
-0.004688568413257599,
-0.011174208484590054,
0.034953467547893524,
0.029281195253133774,
-0.010169210843741894,
-0.03709973394870758,
0.006613393779844046,
-0.04769479110836983,
-0.041324127465486526,
-0.023200109601020813,
0.03142746165394783,
0.0042265248484909534,
0.003960371017456055,
-0.016795380041003227,
-0.05825578048825264,
-0.02197367139160633,
-0.007767437491565943,
-0.044935304671525955,
0.012664670124650002,
0.03686125949025154,
0.025090865790843964,
-0.025278238579630852,
-0.019333424046635628,
0.01646322011947632,
-0.002738191979005933,
-0.0034578724298626184,
-0.042516499757766724,
0.09716109931468964,
-0.05127190053462982,
0.03556668758392334,
-0.007865382358431816,
0.003617564681917429,
0.03573702648282051,
0.001542628393508494,
0.01618216186761856,
0.026487642899155617,
0.049193769693374634,
-0.028020689263939857,
0.051544442772865295,
0.031597800552845,
-0.043811071664094925,
-0.049295973032712936,
-0.010058490559458733,
-0.053554438054561615,
-0.0026679274160414934,
-0.03853057697415352,
-0.050556477159261703,
0.01687203161418438,
0.0008543542353436351,
0.010356582701206207,
0.02038952335715294,
-0.026726117357611656,
-0.0213945209980011,
0.04697936773300171,
0.008636163547635078,
-0.025908492505550385,
0.024886460974812508,
-0.037712953984737396,
0.006464347708970308,
0.019401559606194496,
0.025244170799851418,
-0.0441858172416687,
0.08067233115434647,
0.0005716987070627511,
-0.05767662823200226,
-0.007422501686960459,
0.03152966499328613,
-0.0047652204521000385,
0.0031874598935246468,
0.06316152960062027,
-0.07283675670623779,
0.03248355910181999,
0.011472300626337528,
-0.009683745913207531,
0.0010486466344445944,
0.017297878861427307,
0.007439535576850176,
0.06414949148893356,
-0.08591876178979874,
0.02175223082304001,
0.03941633924841881,
-0.0029724074993282557,
-0.005101639311760664,
-0.00645583076402545,
-0.013635599985718727,
0.00493130087852478,
-0.0028659459203481674,
-0.024136971682310104,
-0.04248243197798729,
0.008333813399076462,
-0.014095514081418514,
-0.00431382330134511,
-0.0189075767993927,
0.0015383699210360646,
0.016999786719679832,
-0.09409500658512115,
0.026266202330589294,
-0.022791296243667603,
0.01349932886660099,
-0.061594415456056595,
0.04176700860261917,
-0.041562601923942566,
0.07958216220140457,
-0.023557819426059723,
0.0026189549826085567,
0.037133801728487015,
-0.05702934414148331,
-0.014291402883827686,
-0.03757668286561966,
0.008286969736218452,
-0.06305932998657227,
-0.0692596510052681,
0.009291967377066612,
0.03566889092326164,
-0.011949248611927032,
0.0706564262509346,
-0.0657847449183464,
0.07460828125476837,
0.024068836122751236,
-0.04173294082283974,
-0.011753358878195286,
0.04841021075844765,
-0.01854986697435379,
0.029451532289385796,
-0.02091757208108902,
0.026743151247501373,
-0.011370097286999226,
-0.043334122747182846,
-0.024852393195033073,
0.028906449675559998,
-0.0070690494030714035,
0.029519667848944664,
0.0030809983145445585,
0.017144573852419853,
0.04643428698182106,
0.020781300961971283,
-0.0015458222478628159,
0.01045878604054451,
-0.03396550565958023,
-0.042516499757766724,
0.03444245085120201,
0.02168409526348114,
0.035362280905246735,
-0.0023804809898138046,
0.008257160894572735,
-0.0036324693355709314,
-0.01001590583473444,
0.045821066945791245,
0.004458611365407705,
-0.020457658916711807,
0.0340336412191391,
0.013141618110239506
] |
708,717
|
pathvalidate._filename
|
validate
| null |
def validate(self, value: PathType) -> None:
validate_pathtype(value, allow_whitespaces=not self._is_windows(include_universal=True))
unicode_filename = to_str(value)
byte_ct = len(unicode_filename.encode(self._fs_encoding))
self.validate_abspath(unicode_filename)
err_kwargs = {
ErrorAttrKey.REASON: ErrorReason.INVALID_LENGTH,
ErrorAttrKey.PLATFORM: self.platform,
ErrorAttrKey.FS_ENCODING: self._fs_encoding,
ErrorAttrKey.BYTE_COUNT: byte_ct,
}
if byte_ct > self.max_len:
raise ValidationError(
[
f"filename is too long: expected<={self.max_len:d} bytes, actual={byte_ct:d} bytes"
],
**err_kwargs,
)
if byte_ct < self.min_len:
raise ValidationError(
[
f"filename is too short: expected>={self.min_len:d} bytes, actual={byte_ct:d} bytes"
],
**err_kwargs,
)
self._validate_reserved_keywords(unicode_filename)
self.__validate_universal_filename(unicode_filename)
if self._is_windows(include_universal=True):
self.__validate_win_filename(unicode_filename)
|
(self, value: ~PathType) -> NoneType
|
[
0.06502847373485565,
0.04167550429701805,
0.013007530011236668,
0.032569315284490585,
0.0007664987933821976,
-0.0284752007573843,
0.06635034084320068,
-0.02026861533522606,
-0.0012438393896445632,
0.007834810763597488,
0.054416824132204056,
0.04854186251759529,
0.07196827232837677,
0.014035648666322231,
0.020782673731446266,
0.03693881630897522,
0.013080967590212822,
0.007095851004123688,
0.018799874931573868,
0.051442623138427734,
-0.010400515981018543,
-0.019167060032486916,
-0.024436164647340775,
-0.02533576823771,
0.015357514843344688,
0.051405906677246094,
0.004339668434113264,
0.0029260057490319014,
0.030953699722886086,
-0.03181658312678337,
0.017422931268811226,
0.0299990177154541,
0.022673675790429115,
0.011116527020931244,
-0.014109085313975811,
-0.054637134075164795,
-0.03833412006497383,
-0.012245621532201767,
-0.05089184641838074,
-0.06723158061504364,
-0.049753572791814804,
0.06767220050096512,
-0.015596184879541397,
0.023059220984578133,
-0.010593288578093052,
-0.015834854915738106,
-0.039545830339193344,
0.029576756060123444,
-0.09429311752319336,
0.040904413908720016,
-0.013751080259680748,
0.03400133550167084,
-0.0335056371986866,
-0.02869551070034504,
0.013374715112149715,
0.03212869167327881,
0.03200017660856247,
0.05162621662020683,
-0.0035800542682409286,
-0.03209197148680687,
0.0049340492114424706,
-0.0165692251175642,
0.03385446220636368,
-0.07622761279344559,
-0.006448687519878149,
-0.017725858837366104,
0.03703061118721962,
-0.04053723067045212,
-0.039215363562107086,
0.06447769701480865,
0.0006603593355976045,
0.016330555081367493,
-0.04035363718867302,
0.005581212695688009,
0.05728086829185486,
0.01691805012524128,
-0.03866458684206009,
0.030623232945799828,
0.05941053852438927,
-0.033028293401002884,
0.03020096942782402,
-0.019222136586904526,
0.024252573028206825,
-0.057758208364248276,
0.025666235014796257,
0.01694558933377266,
0.008417717181146145,
0.009583530016243458,
0.030916981399059296,
0.08291038125753403,
-0.013044248335063457,
0.005636290647089481,
-0.027850985527038574,
-0.0368286594748497,
0.005521545186638832,
0.004461298231035471,
0.02010338194668293,
-0.032771266996860504,
-0.004704558290541172,
-0.014457911252975464,
-0.003786595771089196,
0.003988547716289759,
0.04677937552332878,
0.01502704806625843,
0.037636466324329376,
0.013604206033051014,
0.0026253729593008757,
-0.0037292230408638716,
-0.007339111063629389,
-0.024913504719734192,
0.0167528185993433,
-0.05037778988480568,
0.02346312440931797,
0.06333941966295242,
0.012787219136953354,
-0.02182915061712265,
-0.04237315431237221,
-0.044392671436071396,
0.0023109707981348038,
-0.022857269272208214,
0.036222804337739944,
0.07027921825647354,
-0.0539027638733387,
-0.005870371125638485,
0.05900663509964943,
0.03132088482379913,
-0.024913504719734192,
-0.01259444747120142,
0.02507873810827732,
0.039141926914453506,
-0.02360999770462513,
0.06165036931633949,
0.013062608428299427,
0.022251414135098457,
-0.03016425110399723,
-0.003075174754485488,
0.016523327678442,
0.035782184451818466,
-0.026382245123386383,
0.020470567047595978,
0.01433857623487711,
0.03319352865219116,
0.056142594665288925,
-0.08577442914247513,
0.01007922925055027,
0.00023996116942726076,
0.01703738607466221,
-0.014898533001542091,
-0.00916126649826765,
0.07909166067838669,
-0.03139432147145271,
-0.0005886435392312706,
0.02533576823771,
-0.005709727294743061,
0.032716188579797745,
-0.07494246959686279,
0.001899035181850195,
-0.05415979400277138,
0.032459158450365067,
-0.019864710047841072,
-0.022655317559838295,
-0.02537248656153679,
0.005865781102329493,
-0.05203012004494667,
0.023206094279885292,
0.06330270320177078,
0.003463014028966427,
-0.011272581294178963,
0.01522899977862835,
0.009702865034341812,
0.011015551164746284,
0.027575597167015076,
0.03651655092835426,
0.0402434803545475,
-0.02203110232949257,
-0.014687402173876762,
0.0400598868727684,
0.007485985290259123,
0.034405238926410675,
0.01020774431526661,
0.009767122566699982,
-0.010345438495278358,
0.007164698094129562,
0.05566525459289551,
0.06190739944577217,
0.03343219682574272,
-0.044649701565504074,
0.05529806762933731,
0.054857444018125534,
-0.011079808697104454,
-0.06216442957520485,
0.013842876069247723,
0.008096430450677872,
0.014852634631097317,
-0.008821620605885983,
-0.019148699939250946,
0.04850514605641365,
-0.03866458684206009,
-0.01250265073031187,
-0.0016385632334277034,
0.018175659701228142,
-0.01086867693811655,
0.008234124630689621,
-0.027336927130818367,
-0.054710570722818375,
-0.014384474605321884,
0.039215363562107086,
0.031339243054389954,
-0.043034087866544724,
0.019827991724014282,
-0.02337132766842842,
-0.059630852192640305,
-0.02500530146062374,
0.04545750841498375,
0.00047275074757635593,
-0.09906652569770813,
-0.041124723851680756,
0.02168227732181549,
-0.01673445850610733,
0.05217699334025383,
0.06275192648172379,
0.07982602715492249,
0.037673186510801315,
-0.028879104182124138,
0.06003475561738014,
-0.020892828702926636,
0.034478675574064255,
0.011272581294178963,
0.005351722240447998,
0.022251414135098457,
0.002320150611922145,
-0.03497437387704849,
0.0009868098422884941,
0.028805667534470558,
-0.04868873581290245,
0.0268595851957798,
0.06668080389499664,
0.0034676038194447756,
-0.028970900923013687,
-0.032807983458042145,
-0.0006701127276755869,
-0.03881146013736725,
-0.02171899564564228,
-0.008688515983521938,
-0.024546319618821144,
-0.04340127110481262,
-0.02184751071035862,
0.031247448176145554,
-0.008073480799794197,
-0.03502945229411125,
0.0031899199821054935,
0.061173029243946075,
-0.06010819226503372,
-0.005503186024725437,
0.0030246868263930082,
0.05191996693611145,
-0.05258089676499367,
-0.09223688393831253,
0.0565832145512104,
0.021461965516209602,
-0.006857180502265692,
0.030990418046712875,
0.0012472816742956638,
0.05162621662020683,
-0.020892828702926636,
-0.040904413908720016,
0.014797557145357132,
0.01863464154303074,
-0.015357514843344688,
0.012686243280768394,
-0.09157595038414001,
0.05874960869550705,
-0.025849826633930206,
-0.022288132458925247,
-0.036222804337739944,
-0.003864622674882412,
0.006177888251841068,
0.0070729018189013,
0.07376747578382492,
0.008224944584071636,
0.0167987160384655,
-0.03537827730178833,
0.024399446323513985,
-0.013631745241582394,
0.025647874921560287,
0.03998645022511482,
-0.026455681771039963,
-0.09209001064300537,
-0.08489318192005157,
0.019515885040163994,
-0.002850273856893182,
-0.03815052658319473,
0.0003456702979747206,
0.002600128995254636,
0.0023935874924063683,
-0.02199438400566578,
0.03848099336028099,
-0.06539565324783325,
0.024876786395907402,
-0.05254418030381203,
-0.047807492315769196,
0.034460317343473434,
0.03143104165792465,
0.010675905272364616,
-0.03166970983147621,
0.009601889178156853,
-0.009822200052440166,
-0.024674834683537483,
0.00758237112313509,
0.024436164647340775,
-0.004022971261292696,
0.0020952497143298388,
-0.039288800209760666,
0.007577781565487385,
0.12403510510921478,
0.10376649349927902,
0.06098943576216698,
-0.02355492115020752,
-0.059667568653821945,
0.02368343621492386,
0.0053838505409657955,
0.022122899070382118,
-0.019460806623101234,
-0.041088007390499115,
-0.04398876801133156,
-0.010685084387660027,
0.05489416420459747,
-0.014485450461506844,
-0.03001737780869007,
-0.002405062085017562,
0.0007716623367741704,
0.019515885040163994,
0.02695138193666935,
-0.011492892168462276,
0.01168566383421421,
0.027612315490841866,
0.01825827546417713,
0.014742479659616947,
0.020709237083792686,
0.027171693742275238,
0.04387861117720604,
0.0063109928742051125,
-0.004828483331948519,
-0.04553094506263733,
0.018799874931573868,
-0.05375589057803154,
-0.004718327894806862,
-0.015715520828962326,
0.03407477214932442,
-0.0032358181197196245,
-0.03684701770544052,
0.024656476452946663,
-0.07828385382890701,
-0.07593386620283127,
-0.0202135369181633,
-0.05996131896972656,
-0.015339155681431293,
0.009069470688700676,
-0.02851191908121109,
0.042483311146497726,
0.08305725455284119,
-0.029466599225997925,
-0.02860371582210064,
-0.027649033814668655,
0.03200017660856247,
0.0013321932638064027,
0.02504201978445053,
-0.003520386526361108,
-0.002228354336693883,
-0.019387369975447655,
0.034184928983449936,
0.027502160519361496,
0.019497526809573174,
-0.11301955580711365,
0.04057394713163376,
0.01188761554658413,
0.015302436426281929,
-0.0041055879555642605,
-0.03826068341732025,
0.0499371662735939,
0.04182237759232521,
0.02351820282638073,
0.006526714190840721,
-0.006063143257051706,
-0.03517632558941841,
-0.006095271557569504,
-0.017973707988858223,
-0.05078169330954552,
-0.04182237759232521,
0.022636957466602325,
0.049386389553546906,
0.02827324904501438,
0.06238473951816559,
0.010198564268648624,
0.041308317333459854,
0.04531063511967659,
-0.03471734747290611,
0.002838799497112632,
0.0268595851957798,
0.026620915159583092,
-0.02700646035373211,
0.018175659701228142,
-0.06693783402442932,
0.08540724217891693,
0.006926028057932854,
0.010464773513376713,
0.05544494092464447,
0.0605488121509552,
-0.03815052658319473,
0.0281998123973608,
0.03750795125961304,
-0.03194509819149971,
0.003685619914904237,
-0.01354912854731083,
0.02346312440931797,
-0.011575508862733841,
-0.046338751912117004,
-0.04226299747824669,
0.03502945229411125,
-0.02851191908121109,
-0.056362904608249664,
0.02004830352962017,
0.012263980694115162,
0.0406106673181057,
0.04318096116185188,
0.0099690742790699,
-0.007288623135536909,
0.008390177972614765,
0.039692703634500504,
-0.029062695801258087,
-0.02678614854812622,
0.037544671446084976,
-0.07046280801296234,
-0.024748271331191063,
-0.022398287430405617,
-0.05496760085225105,
-0.04075754061341286,
-0.029338086023926735,
0.018928389996290207,
-0.021002983674407005,
-0.041234880685806274,
-0.019607681781053543,
0.0465223453938961,
0.09862590581178665,
0.02511545643210411,
-0.029668550938367844,
0.0034194106701761484,
0.011860077269375324,
-0.026235371828079224,
-0.02017681859433651,
-0.05063481628894806,
0.017285235226154327,
0.03383610025048256,
-0.029374804347753525,
-0.029686911031603813,
0.020709237083792686,
-0.08834472298622131,
-0.03308337181806564,
-0.04398876801133156,
-0.05357229709625244,
-0.026547478511929512,
0.09267750382423401,
0.027759188786149025,
-0.09546811133623123,
-0.044319234788417816,
0.029356444254517555,
0.01256690826267004,
0.027869345620274544,
0.07071983814239502,
0.019240496680140495,
-0.051222313195466995,
-0.05665665119886398,
0.012328238226473331,
0.04879889264702797,
0.036131009459495544,
0.03910520672798157,
0.020856110379099846,
0.037471234798431396,
-0.000690193148329854,
-0.025831468403339386,
0.07317998260259628,
0.0029719038866460323,
-0.028144733980298042,
0.05004732310771942,
0.04189581423997879,
-0.0055490839295089245,
-0.04865201935172081,
0.016303015872836113,
-0.03697553277015686,
0.030751748010516167,
-0.010299540124833584,
-0.011318478733301163,
-0.02656583860516548,
0.02843848243355751,
0.013659283518791199,
0.02832832559943199,
0.012796399183571339,
0.0166151225566864,
-0.02210453897714615,
0.007164698094129562,
-0.0024555500131100416,
0.001714295125566423,
0.004041330423206091,
0.02017681859433651,
-0.01848776638507843,
0.036131009459495544,
0.012355776503682137,
-0.03238572180271149,
0.010428055189549923,
-0.06712142378091812,
-0.0700589045882225,
0.044723138213157654,
0.027226770296692848,
0.05764805153012276,
0.017321955412626266,
0.01433857623487711,
0.023059220984578133,
-0.0010654103243723512,
0.01007005013525486,
0.00542974891141057,
-0.07461199909448624,
-0.04887232929468155,
0.006260504946112633,
-0.0812213346362114,
-0.0029283007606863976,
-0.021278373897075653,
-0.01427431870251894,
-0.04839498922228813,
0.0605488121509552,
-0.00505797378718853,
0.046265315264463425,
0.003701684297993779,
0.06881047785282135,
-0.015339155681431293,
0.02678614854812622,
0.004823893308639526,
-0.04340127110481262,
0.02667599357664585,
-0.10156338661909103,
0.0200299434363842,
0.007329931482672691,
0.041234880685806274,
-0.006067732814699411,
-0.004087228327989578,
-0.016284657642245293,
-0.031155651435256004,
0.04912935942411423,
-0.0407942570745945,
0.008050532080233097,
-0.015008688904345036,
-0.0031715608201920986,
-0.017569804564118385,
0.01687215268611908,
0.004461298231035471,
-0.026584196835756302,
0.02524397149682045,
0.066093310713768,
0.017891092225909233,
0.01328291930258274,
0.0028479790780693293,
-0.013962211087346077,
-0.04218956083059311,
0.009858918376266956,
-0.04252002760767937,
-0.05412307754158974,
-0.004833073355257511,
-0.02540920488536358,
-0.029191210865974426,
-0.014127444475889206,
0.022214695811271667,
-0.047660619020462036,
0.04028020054101944,
0.021021343767642975,
-0.04839498922228813,
-0.01188761554658413,
0.023059220984578133,
-0.04174894094467163,
0.050120759755373,
-0.04729343205690384,
0.01858874224126339,
0.01253936905413866,
-0.004011496435850859,
0.03242243826389313,
0.012998350895941257,
0.002958134515210986,
-0.024876786395907402,
0.0038921614177525043,
0.03374430537223816,
-0.07960572093725204,
-0.015458490699529648,
-0.03706733137369156,
0.012254800647497177,
0.010272001847624779,
-0.015834854915738106,
-0.0010166435968130827,
0.02023189514875412,
0.010813599452376366,
-0.059447258710861206,
-0.0003187051333952695,
0.004837662912905216,
-0.022471724078059196,
0.015256538987159729,
0.0060493736527860165,
0.06032850220799446,
0.032899778336286545,
0.006086091976612806,
0.03833412006497383,
0.06473472714424133,
-0.030659951269626617,
-0.009023572318255901,
0.015853215008974075,
0.003915110602974892,
0.000060097863752162084,
-0.044392671436071396,
0.002845684066414833,
0.05599571764469147,
0.002359163947403431,
-0.01870807819068432,
-0.021406888961791992,
-0.02199438400566578,
-0.020690876990556717,
0.0024211264681071043,
0.03012753278017044,
-0.017184259369969368,
0.0018129762029275298,
0.0009730403544381261,
-0.049900446087121964,
0.01868053898215294,
-0.05669337138533592,
-0.05438010394573212,
0.011079808697104454,
-0.036222804337739944,
-0.038040369749069214,
-0.011428634636104107,
0.02660255692899227,
-0.03910520672798157,
-0.022379929199814796,
0.009271422401070595,
0.017358673736453056,
0.004975357558578253,
-0.002175571396946907,
-0.06892063468694687,
-0.042777057737112045,
0.03374430537223816,
-0.0637800395488739,
0.0465223453938961,
-0.025923263281583786,
-0.032954856753349304,
0.02034205198287964,
-0.0021778664086014032,
0.04413564130663872,
0.022673675790429115,
-0.012098747305572033,
-0.07483231276273727,
0.09869933873414993,
0.02004830352962017,
0.040904413908720016,
-0.07369403541088104,
-0.024583037942647934,
-0.0009546811343170702,
-0.018799874931573868,
-0.03640639781951904,
-0.0014710350660607219,
0.007775143254548311,
-0.006196247413754463,
-0.013998929411172867,
0.04905592277646065,
-0.06873703747987747,
-0.014926072210073471,
-0.01868053898215294,
-0.03699389472603798,
0.009803840890526772,
-0.008881288580596447,
0.016348913311958313,
0.02329789102077484,
0.026051778346300125,
-0.047917649149894714,
0.004291475284844637,
0.035892337560653687,
-0.0007148633594624698,
-0.012172183953225613,
0.047991085797548294,
-0.032844703644514084,
-0.02537248656153679,
0.05386604741215706,
-0.02851191908121109,
-0.0219209473580122,
0.04677937552332878,
0.014806737191975117,
-0.006907668896019459,
-0.04663250222802162,
-0.00850951299071312,
-0.04204268753528595,
-0.0038026601541787386,
-0.09877277910709381,
-0.026437323540449142,
0.10530867427587509,
0.04505360499024391,
0.012328238226473331,
0.01683543436229229,
-0.042813777923583984,
0.018065504729747772,
-0.003054520580917597,
-0.024252573028206825,
-0.019681118428707123,
-0.015743058174848557,
-0.07057296484708786,
0.016119424253702164,
0.013916313648223877,
0.0406106673181057,
0.0474403090775013,
0.0044406442902982235,
-0.02028697356581688,
-0.06855344772338867,
-0.06231130287051201,
-0.042666900902986526,
-0.02331625111401081,
-0.005562853533774614,
0.07989946752786636,
-0.032752905040979385,
-0.011492892168462276,
0.011162425391376019,
0.0005579491262324154,
0.007605320308357477,
-0.040904413908720016,
0.03356071189045906,
-0.03712240979075432,
0.0006488848011940718,
0.022324850782752037,
0.004605877213180065,
0.012172183953225613,
0.02340804599225521,
-0.061173029243946075,
0.03166970983147621,
0.010914575308561325,
-0.012346597388386726,
-0.015256538987159729,
0.00019592764147091657,
-0.006930617615580559,
0.04053723067045212,
0.04883561283349991,
0.04013332724571228,
-0.02849355898797512,
-0.04321768134832382,
0.013585846871137619,
0.01821237802505493,
-0.008660977706313133,
0.042887214571237564,
0.0028410942759364843,
-0.004722917452454567,
-0.029007619246840477,
-0.034570470452308655,
-0.032661110162734985,
0.0150913055986166,
0.05173637345433235,
-0.019460806623101234,
0.008922596462070942,
0.0085370521992445,
-0.0062375557608902454,
0.0058107031509280205,
-0.02531740814447403,
0.024913504719734192,
0.007871529087424278,
0.029540037736296654,
0.003449244424700737,
0.009877277538180351,
-0.028915822505950928,
-0.006875540129840374
] |
708,718
|
pathvalidate._filename
|
validate_abspath
| null |
def validate_abspath(self, value: str) -> None:
err = ValidationError(
description=f"found an absolute path ({value}), expected a filename",
platform=self.platform,
reason=ErrorReason.FOUND_ABS_PATH,
)
if self._is_windows(include_universal=True):
if ntpath.isabs(value):
raise err
if posixpath.isabs(value):
raise err
|
(self, value: str) -> NoneType
|
[
0.02592482417821884,
0.05824870616197586,
-0.035298578441143036,
0.04174951836466789,
0.006105045322328806,
-0.04129985347390175,
0.07326054573059082,
-0.013602318242192268,
0.007207585498690605,
-0.0067925117909908295,
0.051469165831804276,
0.031528323888778687,
0.03694157674908638,
-0.020943937823176384,
0.00996177364140749,
0.053786661475896835,
0.044585857540369034,
0.00117496179882437,
0.014804302714765072,
0.03690698742866516,
0.0027779685333371162,
-0.06267616152763367,
-0.060704559087753296,
-0.061292581260204315,
0.009883947670459747,
0.06461317092180252,
-0.01957765221595764,
-0.010904337279498577,
-0.03125160560011864,
-0.015660392120480537,
0.05772986263036728,
0.02481796033680439,
0.05676135793328285,
-0.006282316520810127,
0.021791379898786545,
-0.05385584011673927,
-0.01759740523993969,
0.0011522624408826232,
-0.060739148408174515,
-0.11179324239492416,
0.005633763503283262,
0.021722201257944107,
0.0001713260862743482,
0.03479703143239021,
0.033620987087488174,
-0.027170047163963318,
-0.0507773756980896,
0.010930279269814491,
-0.07187696546316147,
0.010887042619287968,
-0.03614601865410805,
0.03119972161948681,
-0.022880949079990387,
0.015262614004313946,
-0.008029085583984852,
0.04264884442090988,
0.042268358170986176,
0.03260059654712677,
-0.018522674217820168,
-0.04358275979757309,
0.00007248931069625542,
0.00735459104180336,
0.018626442179083824,
-0.058387063443660736,
0.048598237335681915,
0.0020418609492480755,
0.0025423276238143444,
-0.05451304093003273,
-0.02765429951250553,
0.05849083140492439,
-0.030369574204087257,
0.04925543814897537,
-0.04403242468833923,
-0.0399162732064724,
0.05973605439066887,
-0.015530682168900967,
0.0236419178545475,
0.08163120597600937,
0.05368289351463318,
-0.003928069490939379,
-0.03884400054812431,
-0.03597307205200195,
0.030801942571997643,
-0.04444749653339386,
-0.012166853994131088,
-0.041957054287195206,
-0.021791379898786545,
0.03663027286529541,
0.07976336777210236,
0.06672313064336777,
0.034745145589113235,
-0.03370746225118637,
-0.038636464625597,
-0.030940301716327667,
-0.01790006272494793,
0.011708543635904789,
0.017986536026000977,
-0.035869304090738297,
0.023728391155600548,
-0.01786547340452671,
-0.030179332941770554,
0.014605413191020489,
0.02592482417821884,
0.012486807070672512,
0.027325699105858803,
0.03631896898150444,
0.021255243569612503,
-0.022967422381043434,
0.0070259906351566315,
-0.027481351047754288,
-0.02793101593852043,
-0.022119980305433273,
-0.007588069885969162,
0.06226108595728874,
-0.03197798505425453,
-0.03635355830192566,
-0.0033746373374015093,
-0.03349992260336876,
0.026893330737948418,
-0.016283003613352776,
0.05226472392678261,
0.0653049647808075,
-0.06118881329894066,
-0.03922448307275772,
0.06668854504823685,
0.02772347815334797,
-0.029937205836176872,
0.008003143593668938,
-0.03438195586204529,
0.008444160223007202,
0.015262614004313946,
-0.005966687574982643,
-0.028449857607483864,
0.008772759698331356,
-0.022327518090605736,
0.01817677915096283,
0.059874411672353745,
0.054132554680109024,
-0.0380830317735672,
0.006213137414306402,
-0.004669581539928913,
0.00042453198693692684,
0.0570380724966526,
-0.04088478162884712,
-0.0012754875933751464,
0.032427649945020676,
-0.025544339790940285,
0.004049132578074932,
-0.0027995870914310217,
0.0134293707087636,
0.024333707988262177,
-0.028934109956026077,
-0.03177044913172722,
0.010316316038370132,
0.005253279116004705,
-0.05395960807800293,
0.02910705842077732,
-0.0728454738855362,
0.06153470650315285,
0.019767895340919495,
-0.028761163353919983,
-0.02677226811647415,
0.037391241639852524,
-0.04925543814897537,
0.0026655527763068676,
0.0713927149772644,
-0.02765429951250553,
-0.015669040381908417,
0.028380678966641426,
0.005949392914772034,
-0.020909348502755165,
0.027342993766069412,
0.031078658998012543,
0.0021877854596823454,
-0.008993268013000488,
-0.011483711190521717,
0.0013976317131891847,
0.010411437600851059,
0.025821056216955185,
0.0030244188383221626,
-0.006105045322328806,
0.010039600543677807,
0.0570380724966526,
-0.0004996560164727271,
0.03087112307548523,
0.017675230279564857,
-0.04071183130145073,
0.01935282163321972,
0.06655018031597137,
0.020615337416529655,
-0.06893686205148697,
0.0402967594563961,
0.03887858986854553,
-0.017165035009384155,
-0.005166805349290371,
-0.05658841133117676,
0.04385947808623314,
0.0057288846001029015,
0.014086570590734482,
-0.008595488965511322,
0.026685792952775955,
-0.019231757149100304,
0.0002156438713427633,
-0.0011987420730292797,
0.019560357555747032,
0.010489263571798801,
0.038809411227703094,
-0.018885862082242966,
-0.021255243569612503,
0.010281726717948914,
-0.02537139318883419,
-0.03526398912072182,
-0.07547426968812943,
-0.014190339483320713,
-0.011215643025934696,
0.009278631769120693,
-0.014847539365291595,
0.03113054297864437,
-0.016265708953142166,
0.08951760828495026,
-0.033050261437892914,
0.004407998640090227,
0.057591505348682404,
-0.046315331012010574,
0.06267616152763367,
0.0092440415173769,
0.04998181760311127,
0.030923007056117058,
0.04389406740665436,
0.02455854043364525,
-0.03166668117046356,
-0.040227580815553665,
-0.04275261238217354,
-0.021687611937522888,
0.0075015961192548275,
0.02889952063560486,
0.03829056769609451,
-0.017796294763684273,
-0.037702545523643494,
-0.039328254759311676,
0.018245957791805267,
-0.02476607635617256,
0.0009539133752696216,
-0.010022305883467197,
-0.041680339723825455,
-0.06153470650315285,
-0.0063774376176297665,
0.007008695974946022,
-0.004418807569891214,
-0.05890590697526932,
0.016602955758571625,
0.11324600130319595,
-0.02421264536678791,
-0.043721117079257965,
0.04174951836466789,
0.006122339982539415,
-0.06146552786231041,
-0.02627071924507618,
0.0364227369427681,
0.01898963190615177,
-0.01227062288671732,
0.0056251161731779575,
0.018626442179083824,
-0.017441751435399055,
-0.048044804483652115,
-0.03177044913172722,
-0.015210729092359543,
-0.000554512778762728,
0.02253505401313305,
0.019249051809310913,
-0.07118517905473709,
0.020390506833791733,
-0.021237948909401894,
-0.0369761660695076,
0.0015770646277815104,
0.028225025162100792,
0.024904435500502586,
0.00880302581936121,
0.0518842376768589,
-0.000594506913330406,
0.0049073840491473675,
0.0010879476321861148,
-0.004998181480914354,
-0.006152606103569269,
0.03925907239317894,
-0.012659754604101181,
-0.017709819599986076,
-0.05492811277508736,
-0.04551977291703224,
0.009019210003316402,
0.014103865250945091,
-0.01329101249575615,
0.03232388198375702,
-0.041126906871795654,
-0.07153107225894928,
0.002553137019276619,
0.0918005108833313,
-0.0491170808672905,
-0.03286001831293106,
-0.03884400054812431,
-0.04188787564635277,
0.046280741691589355,
-0.004202623385936022,
0.013757971115410328,
-0.029072469100356102,
-0.000236316496739164,
-0.008612783625721931,
-0.005945069249719381,
0.020252147689461708,
0.008850586600601673,
-0.0019197168294340372,
-0.012478159740567207,
-0.01907610520720482,
0.03635355830192566,
0.07090845704078674,
0.07810307294130325,
0.0618114247918129,
-0.05018935352563858,
-0.009416989050805569,
-0.022898243740200996,
0.013688791543245316,
0.05285274609923363,
0.009745589457452297,
-0.03320591151714325,
-0.0531640499830246,
-0.00882032047957182,
0.05835247412323952,
-0.020511569455266,
-0.0005299218464642763,
0.003450301941484213,
0.02796560525894165,
-0.01470918208360672,
-0.021186064928770065,
-0.02940106950700283,
0.06388679146766663,
0.04202623292803764,
-0.019975431263446808,
0.0049073840491473675,
0.04970509931445122,
-0.01541826594620943,
-0.020857464522123337,
0.03374205157160759,
-0.0067925117909908295,
-0.03714911639690399,
0.012841349467635155,
-0.004057779908180237,
-0.0173379834741354,
0.04247589781880379,
0.009667763486504555,
-0.028726574033498764,
-0.009174862876534462,
0.008457130752503872,
-0.08917171508073807,
-0.045761898159980774,
-0.029331889003515244,
0.04036593809723854,
-0.015349087305366993,
0.020010020583868027,
-0.0028903845231980085,
0.050327710807323456,
0.09691976010799408,
-0.11705084145069122,
0.001850537839345634,
-0.033897701650857925,
-0.029625900089740753,
0.03718370571732521,
-0.004427454899996519,
0.0017997345421463251,
-0.00016186801076401025,
0.015228023752570152,
0.014043333940207958,
-0.002646096283569932,
0.07422905415296555,
-0.0956745371222496,
0.06087750568985939,
-0.005542966071516275,
0.007164348848164082,
-0.03666486218571663,
-0.016810493543744087,
0.007350267376750708,
0.05191882699728012,
-0.002049427479505539,
-0.019456589594483376,
-0.04105772823095322,
-0.015746867284178734,
-0.005945069249719381,
0.06105045601725578,
-0.03149373456835747,
-0.032514121383428574,
-0.030698174610733986,
0.0529911033809185,
-0.01735527813434601,
0.06997454166412354,
-0.043063919991254807,
0.01297970674932003,
-0.012322506867349148,
0.015470150858163834,
0.017666583880782127,
0.06554708629846573,
-0.010385495610535145,
-0.02857092022895813,
0.03804844245314598,
-0.04002004116773605,
0.005382989998906851,
-0.006342848297208548,
0.00216616690158844,
-0.01845349371433258,
0.007263793610036373,
-0.037702545523643494,
0.020131085067987442,
-0.026166951283812523,
-0.055204831063747406,
0.013489902019500732,
0.009313221089541912,
0.015712277963757515,
0.057556916028261185,
-0.05939015746116638,
-0.08045516163110733,
0.02768888883292675,
-0.06461317092180252,
-0.04735301434993744,
-0.012236032634973526,
-0.027031688019633293,
0.0271354578435421,
0.07346808165311813,
0.0026742001064121723,
-0.01646459847688675,
-0.018124893307685852,
0.05364830419421196,
-0.0491170808672905,
-0.016222471371293068,
-0.019491178914904594,
-0.07789553701877594,
-0.020719105377793312,
-0.011440474539995193,
-0.015781456604599953,
-0.006939516868442297,
0.02774077281355858,
-0.008660344406962395,
-0.031268902122974396,
-0.05862918868660927,
0.0022310223430395126,
0.024299118667840958,
0.08253052830696106,
0.03829056769609451,
0.012218737974762917,
0.011509654112160206,
0.014328697696328163,
0.02104770578444004,
0.011509654112160206,
-0.053509946912527084,
0.016525130718946457,
0.039639558643102646,
0.019854368641972542,
-0.05357912555336952,
-0.02772347815334797,
-0.08183874189853668,
-0.02512926608324051,
-0.027308404445648193,
-0.013982802629470825,
-0.004031837917864323,
0.04261425510048866,
0.03957038000226021,
-0.0906936526298523,
0.02253505401313305,
0.051745880395174026,
0.01821136847138405,
0.037356652319431305,
0.034226302057504654,
0.025544339790940285,
-0.004794968292117119,
-0.059597697108983994,
0.04652286693453789,
0.05717642977833748,
0.039120715111494064,
-0.012452217750251293,
-0.010264432057738304,
0.05600038915872574,
0.009935831651091576,
0.0034611111041158438,
0.015193434432148933,
-0.03528128191828728,
-0.037045348435640335,
0.03898235782980919,
0.03784090653061867,
-0.016023581847548485,
-0.05475516617298126,
-0.02312307618558407,
-0.0285190362483263,
0.024420181289315224,
0.06724197417497635,
0.022448580712080002,
-0.013420723378658295,
-0.019992725923657417,
0.009866653010249138,
-0.012633812613785267,
0.02768888883292675,
0.07962501049041748,
-0.007224880158901215,
-0.0408501923084259,
0.02014837972819805,
-0.001520856749266386,
-0.015193434432148933,
0.013844444416463375,
-0.026357192546129227,
0.009555347263813019,
-0.04320227727293968,
-0.06668854504823685,
-0.031217016279697418,
-0.033880408853292465,
-0.02744676172733307,
0.005871566478163004,
0.03635355830192566,
0.05911344289779663,
0.028968699276447296,
0.02018296904861927,
0.014311403036117554,
-0.034520313143730164,
0.0467304028570652,
0.018678326159715652,
-0.05115785822272301,
-0.04707629978656769,
-0.030940301716327667,
-0.03405335545539856,
-0.03628437593579292,
-0.04209541156888008,
-0.03711452707648277,
0.016040876507759094,
-0.001039306167513132,
0.0034265215508639812,
0.031891513615846634,
-0.020684516057372093,
0.05935556814074516,
0.030646290630102158,
0.06821048259735107,
0.09422177821397781,
-0.021981623023748398,
0.006360142957419157,
-0.0669652596116066,
0.06118881329894066,
0.006831424776464701,
0.029280005022883415,
0.015245319344103336,
-0.04098854959011078,
0.03573094680905342,
-0.024074286222457886,
0.009261337108910084,
-0.0013165625277906656,
0.033603690564632416,
0.02737758308649063,
0.0397433266043663,
0.007320001255720854,
0.05990900099277496,
0.022119980305433273,
-0.025890234857797623,
-0.0018537805881351233,
0.027066277340054512,
0.014700534753501415,
-0.04884036257863045,
0.01166530605405569,
-0.013351543806493282,
-0.03369016572833061,
-0.0034675966016948223,
-0.012824054807424545,
-0.030974891036748886,
0.007467006798833609,
0.0029898292850703,
-0.001037144334986806,
0.02073640003800392,
-0.011111874133348465,
-0.0641980990767479,
-0.0075707752257585526,
0.027533236891031265,
-0.04154198244214058,
-0.03905153647065163,
0.03870564326643944,
0.024299118667840958,
-0.025267625227570534,
0.011094579473137856,
0.036491915583610535,
-0.008643049746751785,
-0.05257602781057358,
-0.0074324170127511024,
-0.018384315073490143,
0.01764064095914364,
-0.02794831059873104,
0.03894776850938797,
0.03829056769609451,
-0.07865650951862335,
-0.07920993864536285,
-0.007073551416397095,
0.021255243569612503,
-0.023607328534126282,
0.04223376885056496,
0.0176146999001503,
-0.039328254759311676,
-0.029902616515755653,
-0.09048610925674438,
0.0322892926633358,
-0.00978882610797882,
0.001573821878992021,
0.026080477982759476,
0.016663488000631332,
0.04756055399775505,
0.01873021014034748,
-0.017545519396662712,
0.012478159740567207,
-0.004544194787740707,
-0.05081196501851082,
0.03401876613497734,
0.00853063352406025,
0.03631896898150444,
-0.029487542808055878,
-0.03059440664947033,
0.011362648569047451,
0.03396688029170036,
-0.010030953213572502,
0.01023849006742239,
-0.05115785822272301,
0.04963592067360878,
0.041369032114744186,
-0.02191244438290596,
0.013662849552929401,
-0.014155750162899494,
-0.05478975549340248,
-0.007890728302299976,
0.01964683271944523,
0.038221389055252075,
-0.04534682631492615,
0.0063471719622612,
0.051745880395174026,
0.02301930822432041,
-0.01470918208360672,
-0.00907974224537611,
0.03984709456562996,
-0.05475516617298126,
0.026149656623601913,
0.03225470334291458,
0.050604429095983505,
0.009105684235692024,
-0.06520119309425354,
-0.05921721085906029,
-0.02305389754474163,
0.03960496932268143,
-0.008993268013000488,
0.041714929044246674,
-0.0445166751742363,
-0.011431827209889889,
-0.020096495747566223,
-0.021410895511507988,
0.07637359946966171,
0.023745685815811157,
-0.006485529709607363,
-0.024351002648472786,
0.08010926842689514,
0.033050261437892914,
0.013775265775620937,
-0.0285190362483263,
-0.009918536990880966,
-0.008426865562796593,
0.005019800271838903,
-0.03607684001326561,
-0.026685792952775955,
0.04417078197002411,
-0.03125160560011864,
0.038809411227703094,
0.02218915894627571,
-0.030144743621349335,
-0.03265248239040375,
0.004029675852507353,
-0.04531223699450493,
-0.01081786397844553,
-0.06516660749912262,
0.012564633041620255,
0.04811398312449455,
0.03410524129867554,
-0.04174951836466789,
0.014034686610102654,
0.0031671004835516214,
-0.031061364337801933,
0.01617923565208912,
0.03286001831293106,
-0.012659754604101181,
-0.026616614311933517,
0.08730387687683105,
-0.039086125791072845,
0.005499729420989752,
0.08349903672933578,
0.04953215271234512,
-0.04423996061086655,
-0.032721661031246185,
0.004427454899996519,
-0.018591852858662605,
-0.005772121716290712,
-0.02889952063560486,
0.0020029477309435606,
0.04797562584280968,
0.06340254098176956,
-0.010670858435332775,
0.04586566612124443,
-0.002522871131077409,
0.03232388198375702,
-0.002499090740457177,
0.013014297001063824,
-0.011570185422897339,
-0.007592393551021814,
-0.02506008744239807,
-0.002976858289912343,
-0.030490638688206673,
0.039950862526893616,
0.007631307002156973,
-0.008595488965511322,
-0.039674147963523865,
-0.08128530532121658,
0.00920945219695568,
-0.06354089826345444,
0.00851333886384964,
-0.008305802009999752,
0.057522326707839966,
-0.0667923092842102,
-0.0032514124177396297,
-0.000489657511934638,
0.027048982679843903,
-0.038809411227703094,
-0.009624525904655457,
-0.026201540604233742,
-0.055585313588380814,
-0.03204716369509697,
0.03085382655262947,
0.027809951454401016,
-0.003822138998657465,
0.017649289220571518,
-0.020943937823176384,
0.07326054573059082,
0.005244631785899401,
0.030231216922402382,
-0.001123077585361898,
-0.002078612335026264,
-0.06004735827445984,
-0.003398417728021741,
0.07326054573059082,
-0.0345030203461647,
0.0025444894563406706,
-0.04548518359661102,
-0.0007890727720223367,
0.020027317106723785,
-0.016568366438150406,
0.011933375149965286,
0.018591852858662605,
-0.005076007917523384,
-0.023226844146847725,
0.00483820540830493,
0.004228565376251936,
0.042545076459646225,
0.02250046469271183,
-0.05274897813796997,
0.011336706578731537,
0.03168397396802902,
-0.0016678620595484972,
0.010930279269814491,
-0.017372572794556618,
0.07111600041389465,
-0.0007982606184668839,
0.0038134916685521603,
0.011613422073423862,
-0.022690707817673683,
-0.054374683648347855,
-0.01878209412097931
] |
708,719
|
pathvalidate._filepath
|
FilePathSanitizer
| null |
class FilePathSanitizer(AbstractSanitizer):
def __init__(
self,
max_len: int = -1,
fs_encoding: Optional[str] = None,
platform: Optional[PlatformType] = None,
null_value_handler: Optional[ValidationErrorHandler] = None,
reserved_name_handler: Optional[ValidationErrorHandler] = None,
additional_reserved_names: Optional[Sequence[str]] = None,
normalize: bool = True,
validate_after_sanitize: bool = False,
validator: Optional[AbstractValidator] = None,
) -> None:
if validator:
fpath_validator = validator
else:
fpath_validator = FilePathValidator(
min_len=DEFAULT_MIN_LEN,
max_len=max_len,
fs_encoding=fs_encoding,
check_reserved=True,
additional_reserved_names=additional_reserved_names,
platform=platform,
)
super().__init__(
max_len=max_len,
fs_encoding=fs_encoding,
validator=fpath_validator,
null_value_handler=null_value_handler,
reserved_name_handler=reserved_name_handler,
additional_reserved_names=additional_reserved_names,
platform=platform,
validate_after_sanitize=validate_after_sanitize,
)
self._sanitize_regexp = self._get_sanitize_regexp()
self.__fname_sanitizer = FileNameSanitizer(
max_len=self.max_len,
fs_encoding=fs_encoding,
null_value_handler=null_value_handler,
reserved_name_handler=reserved_name_handler,
additional_reserved_names=additional_reserved_names,
platform=self.platform,
validate_after_sanitize=validate_after_sanitize,
)
self.__normalize = normalize
if self._is_windows(include_universal=True):
self.__split_drive = ntpath.splitdrive
else:
self.__split_drive = posixpath.splitdrive
def sanitize(self, value: PathType, replacement_text: str = "") -> PathType:
try:
validate_pathtype(value, allow_whitespaces=not self._is_windows(include_universal=True))
except ValidationError as e:
if e.reason == ErrorReason.NULL_NAME:
if isinstance(value, PurePath):
raise
return self._null_value_handler(e)
raise
unicode_filepath = to_str(value)
drive, unicode_filepath = self.__split_drive(unicode_filepath)
unicode_filepath = self._sanitize_regexp.sub(replacement_text, unicode_filepath)
if self.__normalize and unicode_filepath:
unicode_filepath = os.path.normpath(unicode_filepath)
sanitized_path = unicode_filepath
sanitized_entries: List[str] = []
if drive:
sanitized_entries.append(drive)
for entry in sanitized_path.replace("\\", "/").split("/"):
if entry in _NTFS_RESERVED_FILE_NAMES:
sanitized_entries.append(f"{entry}_")
continue
sanitized_entry = str(
self.__fname_sanitizer.sanitize(entry, replacement_text=replacement_text)
)
if not sanitized_entry:
if not sanitized_entries:
sanitized_entries.append("")
continue
sanitized_entries.append(sanitized_entry)
sanitized_path = self.__get_path_separator().join(sanitized_entries)
try:
self._validator.validate(sanitized_path)
except ValidationError as e:
if e.reason == ErrorReason.NULL_NAME:
sanitized_path = self._null_value_handler(e)
if self._validate_after_sanitize:
self._validator.validate(sanitized_path)
if isinstance(value, PurePath):
return Path(sanitized_path)
return sanitized_path
def _get_sanitize_regexp(self) -> Pattern[str]:
if self._is_windows(include_universal=True):
return _RE_INVALID_WIN_PATH
return _RE_INVALID_PATH
def __get_path_separator(self) -> str:
if self._is_windows():
return "\\"
return "/"
|
(max_len: int = -1, fs_encoding: Optional[str] = None, platform: Optional[~PlatformType] = None, null_value_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, reserved_name_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, additional_reserved_names: Optional[Sequence[str]] = None, normalize: bool = True, validate_after_sanitize: bool = False, validator: Optional[pathvalidate._base.AbstractValidator] = None) -> None
|
[
0.023755298927426338,
0.014723043888807297,
-0.006678252946585417,
0.04219420254230499,
-0.02467256411910057,
-0.03721476346254349,
0.04953232407569885,
-0.02257595770061016,
0.03393881395459175,
-0.014095934107899666,
0.06518199294805527,
0.03569846600294113,
0.012879153713583946,
0.032965391874313354,
-0.028210587799549103,
0.03867489844560623,
0.041220780462026596,
0.05316394567489624,
0.006809290964156389,
0.03152397274971008,
-0.008428544737398624,
-0.020760146901011467,
-0.014760483056306839,
-0.007445760536938906,
0.003500583814457059,
0.034051135182380676,
0.0041581131517887115,
0.008175828494131565,
0.02517799660563469,
-0.046949006617069244,
0.046424854546785355,
0.039985280483961105,
0.029970239847898483,
0.015958543866872787,
0.043467141687870026,
-0.07997056096792221,
-0.01406785473227501,
0.014498407021164894,
-0.02695636823773384,
-0.08326522260904312,
-0.0683269053697586,
0.05821826681494713,
0.01013671699911356,
0.000009396411769557744,
-0.01785859279334545,
-0.004289151169359684,
-0.027031246572732925,
0.049382567405700684,
-0.05863010138273239,
0.035792067646980286,
-0.01320674829185009,
0.041520293802022934,
-0.04683668911457062,
-0.0019281291170045733,
0.038562580943107605,
0.01374025922268629,
0.012907233089208603,
0.026338618248701096,
0.015275275334715843,
-0.07263243198394775,
0.04114589840173721,
-0.017886674031615257,
0.04743571951985359,
-0.02852882258594036,
-0.00826006755232811,
-0.018513783812522888,
0.0028056150767952204,
-0.02149021625518799,
-0.00761423772200942,
0.030026398599147797,
-0.04279323294758797,
-0.013871297240257263,
-0.028940655291080475,
-0.02047935128211975,
0.06271099299192429,
0.01650141552090645,
-0.01739996112883091,
0.016950687393546104,
0.04721108451485634,
-0.02289419248700142,
0.057095084339380264,
-0.0022194543853402138,
0.01144709624350071,
-0.06244891881942749,
0.05574726685881615,
0.01013671699911356,
0.031093420460820198,
-0.013468824326992035,
0.015565430745482445,
0.05020623654127121,
0.009500247426331043,
-0.0017327421810477972,
-0.00788099318742752,
0.007820154540240765,
0.01417081244289875,
0.008414505049586296,
0.02397993579506874,
-0.031561415642499924,
0.0016906228847801685,
-0.039947837591171265,
-0.014339289627969265,
0.038375385105609894,
0.005016879644244909,
0.0001407633681083098,
0.05541031062602997,
0.024915920570492744,
-0.0002989302156493068,
-0.002414841204881668,
-0.022875472903251648,
-0.025290314108133316,
-0.02450408786535263,
-0.03916161134839058,
-0.0063834176398813725,
0.025046957656741142,
0.0005747532704845071,
-0.02761155739426613,
-0.067428357899189,
-0.035773348063230515,
0.05189100652933121,
-0.03551127016544342,
0.010885505005717278,
0.038375385105609894,
-0.08064446598291397,
-0.016931967809796333,
0.050318554043769836,
0.004010695498436689,
-0.00800735130906105,
0.024784881621599197,
0.03307770937681198,
0.036091580986976624,
-0.05702020600438118,
0.058143388479948044,
0.006027743220329285,
0.032796915620565414,
-0.007464480120688677,
0.01888817735016346,
-0.033658020198345184,
0.017793074250221252,
-0.0038796577136963606,
0.05702020600438118,
0.04286811128258705,
0.01066086906939745,
0.03942368924617767,
-0.06155037134885788,
0.03601670265197754,
0.00555507093667984,
0.031074700877070427,
-0.011512615717947483,
-0.02149021625518799,
0.018775857985019684,
-0.016323577612638474,
0.0007950022700242698,
0.006659533362835646,
0.05421224981546402,
0.057656675577163696,
-0.02450408786535263,
-0.0019386588828638196,
-0.04200700670480728,
0.018626101315021515,
-0.0018240007339045405,
-0.0464622937142849,
-0.09427240490913391,
0.025234155356884003,
-0.0500190369784832,
0.02450408786535263,
0.06581846624612808,
0.04107102006673813,
-0.031748611479997635,
0.02184589020907879,
0.04421593248844147,
0.009256891906261444,
0.04298043251037598,
-0.022070525214076042,
0.06027743220329285,
0.034032415598630905,
0.010548550635576248,
0.030569270253181458,
0.004782883450388908,
0.027143564075231552,
-0.022650836035609245,
0.009884001687169075,
-0.02381145767867565,
0.034219611436128616,
0.002170315245166421,
0.04447800666093826,
0.04455288499593735,
-0.05911681056022644,
0.021789731457829475,
0.03322746604681015,
0.027929792180657387,
-0.049382567405700684,
0.025645988062024117,
0.03388265520334244,
0.020348314195871353,
0.021284298971295357,
-0.013487543910741806,
0.027424359694123268,
-0.04211932420730591,
-0.04196956753730774,
-0.039947837591171265,
-0.014161452651023865,
0.006977768149226904,
0.038899537175893784,
-0.03706500679254532,
-0.06136317551136017,
0.008751459419727325,
-0.004703324753791094,
0.017961552366614342,
-0.046574611216783524,
0.06016511470079422,
-0.026469655334949493,
-0.056046780198812485,
-0.027499239891767502,
0.009462808258831501,
0.011456456035375595,
-0.045039597898721695,
0.019084734842181206,
0.06694164872169495,
-0.015134877525269985,
0.0700116753578186,
0.05773155391216278,
0.0507303848862648,
-0.007033927366137505,
-0.020928625017404556,
0.06005279719829559,
-0.035979263484478,
-0.010370713658630848,
0.03375161811709404,
0.06754067540168762,
0.0024008015170693398,
0.004431888926774263,
-0.06420856714248657,
-0.006196220405399799,
0.05421224981546402,
0.013225467875599861,
-0.026319898664951324,
0.06413368880748749,
-0.0559719018638134,
0.019730564206838608,
-0.025271594524383545,
-0.031037261709570885,
-0.04114589840173721,
-0.012345641851425171,
-0.024897200986742973,
-0.022463640198111534,
-0.028921935707330704,
-0.006884169764816761,
0.05469896271824837,
0.0430927500128746,
-0.0447775200009346,
0.018579302355647087,
0.0843135267496109,
-0.04867121949791908,
0.01626741886138916,
0.011755971238017082,
0.03747683763504028,
-0.04900817573070526,
-0.00704328715801239,
0.037364520132541656,
0.02519671618938446,
-0.011578134261071682,
-0.001292829285375774,
-0.002348152454942465,
-0.003514623735100031,
-0.05563494935631752,
-0.07105997949838638,
-0.007188364863395691,
0.02291291207075119,
-0.005147917661815882,
-0.008606381714344025,
-0.06038974970579147,
0.028453944250941277,
-0.04440312832593918,
0.01365602109581232,
-0.048184506595134735,
0.031561415642499924,
-0.026975087821483612,
0.01924385130405426,
0.07982079684734344,
0.012270763516426086,
0.008826338686048985,
-0.0067063323222100735,
-0.01162493322044611,
-0.0030676908791065216,
0.07308170944452286,
0.0059388247318565845,
-0.03916161134839058,
-0.10887377709150314,
-0.04178237169981003,
0.02712484449148178,
-0.025496231392025948,
-0.043279945850372314,
0.029165292158722878,
-0.018045790493488312,
-0.020554229617118835,
-0.04825938493013382,
-0.04342970252037048,
-0.12047998607158661,
0.016763491556048393,
-0.11531335115432739,
-0.03773891553282738,
0.06409624963998795,
0.004448268562555313,
0.0426434762775898,
-0.0065238154493272305,
-0.02849138341844082,
-0.03633493557572365,
-0.046574611216783524,
0.01670733280479908,
0.014638804830610752,
0.008751459419727325,
-0.04054686799645424,
-0.014910240657627583,
0.031074700877070427,
0.11082062125205994,
0.06900081038475037,
0.027162283658981323,
0.014479687437415123,
-0.02607654221355915,
0.03730836138129234,
0.013964896090328693,
0.05035599321126938,
-0.0001061026705428958,
-0.03549255058169365,
-0.03337722644209862,
-0.05189100652933121,
0.053987614810466766,
0.0002481822739355266,
-0.025964222848415375,
0.014283130876719952,
-0.014077214524149895,
-0.0006879489519633353,
-0.005227476358413696,
-0.013871297240257263,
0.029277609661221504,
0.02746179886162281,
0.000603710301220417,
-0.02852882258594036,
0.028547542169690132,
-0.023156268522143364,
0.02678789012134075,
0.011727891862392426,
-0.01694132760167122,
-0.024073533713817596,
-0.04043455049395561,
-0.037888672202825546,
0.02046063169836998,
0.0185699425637722,
0.01782115362584591,
-0.027368200942873955,
0.026525814086198807,
-0.019281290471553802,
-0.057469479739665985,
-0.04597558081150055,
-0.03684036806225777,
-0.04882097616791725,
-0.034912239760160446,
0.0521530844271183,
-0.006074542645365,
-0.011503255926072598,
0.05578470602631569,
-0.015406313352286816,
-0.04043455049395561,
-0.029783042147755623,
0.04058431088924408,
-0.01101654302328825,
0.04245628044009209,
0.013178668916225433,
-0.02957712486386299,
0.005442752502858639,
0.005906065460294485,
0.006369377952069044,
0.05192844569683075,
-0.1290910542011261,
0.04077150672674179,
-0.011035262607038021,
0.01817682757973671,
-0.020217275246977806,
-0.05091758444905281,
0.07424233108758926,
0.061213418841362,
0.07914689183235168,
-0.004951360635459423,
-0.00525087583810091,
-0.03530535474419594,
-0.0163703765720129,
0.022688275203108788,
-0.010398793034255505,
0.01978672295808792,
-0.0026769170071929693,
0.012130365706980228,
-0.0215463750064373,
0.07779907435178757,
0.01616446115076542,
0.026525814086198807,
0.007328762672841549,
-0.025140557438135147,
0.02433560974895954,
0.008330265991389751,
0.04421593248844147,
-0.013553062453866005,
-0.00861574150621891,
-0.0014683264307677746,
0.055897023528814316,
-0.014367369934916496,
0.011437736451625824,
0.05679556727409363,
0.0667170062661171,
-0.02066654898226261,
0.052377719432115555,
0.00277753546833992,
-0.02886577695608139,
0.030475670471787453,
-0.023193707689642906,
0.027237163856625557,
0.03764531761407852,
-0.07892225682735443,
-0.06862641870975494,
0.026975087821483612,
-0.004555907100439072,
-0.05941632762551308,
-0.02555239014327526,
-0.06207452341914177,
0.053950175642967224,
0.044178493320941925,
0.007637637667357922,
-0.027143564075231552,
-0.00886845774948597,
0.01880393922328949,
-0.008634461089968681,
-0.0027237164322286844,
0.019122174009680748,
-0.09599462151527405,
-0.018934976309537888,
-0.025065677240490913,
-0.033676739782094955,
-0.01111014187335968,
0.0029647324699908495,
0.010239675641059875,
-0.033826496452093124,
-0.08468791842460632,
0.018101949244737625,
0.02661941386759281,
0.04971952363848686,
0.03317130729556084,
-0.026713011786341667,
-0.051703810691833496,
0.05806851014494896,
-0.06559383124113083,
-0.035773348063230515,
-0.025402633473277092,
0.005484872031956911,
0.00716496491804719,
-0.006397457327693701,
-0.04612534120678902,
-0.007983951829373837,
-0.0186354611068964,
-0.03079390525817871,
-0.023493222892284393,
0.004029415547847748,
-0.004740763921290636,
0.0814681351184845,
0.08603574335575104,
-0.04185725003480911,
-0.015162956900894642,
-0.01216780487447977,
0.01628613844513893,
0.018832018598914146,
-0.0008733909926377237,
0.0051525975577533245,
-0.007763995323330164,
-0.053762976080179214,
0.004909241106361151,
0.05690788850188255,
0.011419016867876053,
0.02656325325369835,
-0.022519798949360847,
0.015921104699373245,
-0.011091422289609909,
-0.004965400323271751,
0.030831346288323402,
0.0005273690330795944,
0.000025885834475047886,
0.050842706114053726,
0.045713506639003754,
-0.04088382422924042,
0.02115326002240181,
0.008938656188547611,
-0.01589302532374859,
0.02746179886162281,
0.038375385105609894,
0.04927024990320206,
-0.025814466178417206,
0.024803603067994118,
-0.029090413823723793,
0.006097942125052214,
-0.028547542169690132,
0.06428344547748566,
0.0344255268573761,
-0.026844048872590065,
0.025121837854385376,
-0.060801584273576736,
-0.012383081018924713,
0.017100445926189423,
0.018644820898771286,
0.07154669612646103,
-0.019992640241980553,
0.009603206068277359,
-0.026507094502449036,
-0.04683668911457062,
-0.036634452641010284,
-0.01679157093167305,
0.03976064175367355,
-0.011840210296213627,
0.03335850313305855,
-0.00542871281504631,
-0.01836402527987957,
-0.011175660416483879,
0.022295162081718445,
0.016407817602157593,
-0.07274475693702698,
-0.04035967215895653,
-0.012729396112263203,
-0.05750691890716553,
0.021228140220046043,
0.01434864941984415,
0.014198891818523407,
0.0074083213694393635,
0.05660837143659592,
0.009996320120990276,
0.037701476365327835,
0.001094517414458096,
0.046275097876787186,
-0.018242347985506058,
0.05458664521574974,
0.061849888414144516,
-0.012766835279762745,
-0.03186092898249626,
-0.05443688854575157,
0.020591670647263527,
-0.02532775327563286,
0.07008655369281769,
-0.03616645932197571,
0.007300682831555605,
0.027555398643016815,
-0.06282331049442291,
0.02100350335240364,
-0.030569270253181458,
-0.01216780487447977,
-0.025608548894524574,
-0.03113086149096489,
0.006327258422970772,
0.045226793736219406,
0.04271835461258888,
-0.02117197960615158,
-0.06469528377056122,
0.03294667229056358,
-0.011671733111143112,
-0.02675045095384121,
0.00664549320936203,
-0.053276266902685165,
-0.003748619928956032,
0.006271099206060171,
-0.030213596299290657,
-0.05541031062602997,
0.007937152869999409,
-0.037869952619075775,
0.02708740532398224,
-0.042942989617586136,
-0.006945008412003517,
-0.020535510033369064,
0.07922177016735077,
0.04286811128258705,
-0.01389937661588192,
-0.06447064876556396,
0.034874800592660904,
0.022276442497968674,
-0.0007727725896984339,
0.010969744063913822,
0.006491055712103844,
0.035923104733228683,
0.00822730828076601,
-0.0272746030241251,
-0.028042109683156013,
-0.02134045772254467,
-0.07817346602678299,
0.022482359781861305,
0.07046095281839371,
-0.07581478357315063,
-0.021059662103652954,
-0.037514276802539825,
-0.010380073450505733,
0.0220330860465765,
-0.0009845391614362597,
0.01608022302389145,
-0.004296171013265848,
-0.021920768544077873,
-0.03148653358221054,
0.055372871458530426,
-0.014797922223806381,
-0.05439944937825203,
0.01641717739403248,
0.0017842213856056333,
0.06083902344107628,
0.0573945976793766,
-0.021920768544077873,
0.015191036276519299,
-0.008456624113023281,
-0.02953968569636345,
0.006813970860093832,
0.006902889348566532,
0.03976064175367355,
0.037888672202825546,
0.011456456035375595,
0.053987614810466766,
0.06188732758164406,
-0.0478849932551384,
-0.03775763511657715,
-0.008363026194274426,
-0.010866785421967506,
-0.02201436646282673,
-0.005456792656332254,
0.0011231820099055767,
-0.01679157093167305,
-0.0028313545044511557,
-0.04174492880702019,
-0.01775563508272171,
0.027873633429408073,
-0.08378937840461731,
-0.04080894589424133,
0.00962192565202713,
-0.04781011492013931,
-0.0031285297591239214,
0.0042563918977975845,
0.017896033823490143,
-0.014142733067274094,
-0.03322746604681015,
-0.0005741682834923267,
-0.0023469822481274605,
0.022594677284359932,
-0.0027471159119158983,
-0.08933040499687195,
-0.025664707645773888,
0.04638741537928581,
-0.0843135267496109,
-0.015368873253464699,
-0.0402473546564579,
-0.06907568871974945,
0.03712116554379463,
0.006093262229114771,
0.01432992983609438,
0.06499479711055756,
0.003203408559784293,
-0.06941264867782593,
0.053762976080179214,
0.037495557218790054,
0.028416505083441734,
-0.071958526968956,
0.02987664006650448,
-0.004733744077384472,
-0.010670228861272335,
0.009940160438418388,
-0.010089918039739132,
0.025833185762166977,
-0.006168141029775143,
0.0010289985220879316,
0.02989535965025425,
-0.0028360344003885984,
0.012439240701496601,
-0.01815810799598694,
-0.003158949315547943,
-0.030494390055537224,
-0.04915793240070343,
-0.019337449222803116,
-0.0013641981640830636,
0.0046588652767241,
0.0033461463171988726,
-0.00011429253936512396,
0.0239424966275692,
0.020703988149762154,
0.020498070865869522,
0.010305195115506649,
-0.035773348063230515,
-0.007969912141561508,
0.019636964425444603,
-0.004513787571340799,
0.009593846276402473,
0.011325418017804623,
0.04073406755924225,
0.018354665488004684,
-0.02150893583893776,
-0.019084734842181206,
-0.0018988795345649123,
0.0011822660453617573,
-0.06903824955224991,
-0.026319898664951324,
0.08086910098791122,
-0.022463640198111534,
0.008756139315664768,
0.0006540195317938924,
0.0030840705148875713,
0.012345641851425171,
-0.0156590286642313,
-0.08229179680347443,
-0.002310713054612279,
-0.002941332757472992,
-0.058667540550231934,
-0.0005791407311335206,
0.019674403592944145,
0.02276315540075302,
0.04616278037428856,
-0.0009962390176951885,
0.019636964425444603,
-0.05649605393409729,
-0.0050121997483074665,
-0.05136685445904732,
-0.030737746506929398,
-0.029446087777614594,
0.08760819584131241,
-0.06682933121919632,
0.0409587025642395,
-0.005526991561055183,
0.0031542694196105003,
0.019899040460586548,
-0.039273928850889206,
0.06102622300386429,
-0.029614565894007683,
-0.016800930723547935,
0.052527476102113724,
0.007104126270860434,
-0.0059388247318565845,
0.01746547967195511,
-0.05016879364848137,
0.029315050691366196,
-0.004918600898236036,
-0.031224459409713745,
-0.0021726551931351423,
-0.004998160060495138,
-0.04092126339673996,
0.03712116554379463,
0.013918097130954266,
-0.0025528990663588047,
-0.05469896271824837,
-0.020404472947120667,
0.022594677284359932,
0.030644148588180542,
0.03916161134839058,
0.0008166469051502645,
0.011755971238017082,
0.019000494852662086,
-0.0008570112404413521,
-0.01005247887223959,
-0.07989567518234253,
0.006027743220329285,
0.029520966112613678,
-0.028397783637046814,
0.005030919332057238,
0.025758307427167892,
-0.009514287114143372,
0.01783987320959568,
-0.03949856758117676,
0.029633285477757454,
0.008929296396672726,
0.03478120267391205,
0.03028847463428974,
0.024204572662711143,
-0.0213217381387949,
-0.0015045958571135998
] |
708,720
|
pathvalidate._filepath
|
__get_path_separator
| null |
def __get_path_separator(self) -> str:
if self._is_windows():
return "\\"
return "/"
|
(self) -> str
|
[
-0.016765154898166656,
-0.005382140167057514,
0.012162789702415466,
0.03922605514526367,
-0.01712961494922638,
-0.06061900407075882,
0.002633858472108841,
0.0699084922671318,
0.005153293255716562,
0.019273994490504265,
0.036581601947546005,
-0.06865407526493073,
0.015832815319299698,
0.030750242993235588,
-0.0000717795264790766,
0.00937424786388874,
0.03242845460772514,
-0.031953807920217514,
0.026614047586917877,
0.005081248935312033,
0.012247547507286072,
-0.03139440715312958,
0.02537657879292965,
-0.05655061453580856,
-0.03064853325486183,
0.06943384557962418,
-0.031174033880233765,
0.03425922989845276,
0.05105828866362572,
-0.052922967821359634,
-0.02127428725361824,
0.026393676176667213,
0.014112225733697414,
-0.027088692411780357,
0.02903812937438488,
0.07241733372211456,
-0.011137216351926327,
0.02998742088675499,
0.022715173661708832,
-0.06004264950752258,
-0.0004293528327252716,
0.006005112547427416,
-0.013264644891023636,
-0.010611715726554394,
-0.0017152923392131925,
-0.0006489293300546706,
0.0029940803069621325,
-0.028004080057144165,
0.004470990505069494,
0.031190985813736916,
-0.004163742531090975,
-0.005136341787874699,
-0.022766029462218285,
-0.007433286402374506,
-0.036445990204811096,
0.007585851009935141,
0.05092267319560051,
-0.08075752854347229,
-0.05733038857579231,
0.001956852851435542,
0.007907931692898273,
0.01663801819086075,
0.05726258084177971,
0.05661841854453087,
0.028631290420889854,
0.006361096631735563,
-0.020596221089363098,
0.004636269062757492,
0.013035797514021397,
0.05492325872182846,
-0.009857368655502796,
0.003735713893547654,
-0.02174893207848072,
-0.0182399470359087,
-0.0021464992314577103,
-0.012900184839963913,
0.0011463535483926535,
0.02903812937438488,
0.056109871715307236,
-0.04170099273324013,
-0.015010662376880646,
-0.010687998495995998,
-0.010433724150061607,
-0.036717213690280914,
0.0857074037194252,
0.0014599584974348545,
-0.02140989899635315,
0.00959461834281683,
-0.06892529875040054,
0.0026529289316385984,
0.017044857144355774,
-0.017349986359477043,
-0.0015786198200657964,
0.008823319338262081,
-0.022799933329224586,
-0.009865844622254372,
-0.0006499887676909566,
-0.009145400486886501,
0.03415751829743385,
-0.06431445479393005,
-0.015926050022244453,
0.019562171772122383,
0.006382286082953215,
-0.0008719490724615753,
0.03756479546427727,
-0.06105974689126015,
0.020511463284492493,
0.010399820283055305,
-0.07092559337615967,
-0.0650942325592041,
-0.01681601069867611,
0.04743064194917679,
-0.05617767944931984,
0.02396959438920021,
0.02332543209195137,
0.03344555199146271,
-0.034021906554698944,
-0.011154167354106903,
0.05207538604736328,
0.004992252681404352,
-0.060686808079481125,
0.02808883972465992,
-0.05200757831335068,
-0.01636679098010063,
0.031174033880233765,
0.03459826111793518,
0.020731834694743156,
0.08238488435745239,
-0.06929823756217957,
0.05366883799433708,
-0.044820088893175125,
0.0667215883731842,
0.008416480384767056,
-0.059771422296762466,
0.047362834215164185,
0.06207684427499771,
-0.03280138969421387,
0.05804235488176346,
0.04790528491139412,
0.05644890293478966,
0.03692063316702843,
-0.047227222472429276,
-0.01696857437491417,
-0.0019144739490002394,
-0.02871604822576046,
0.08380882441997528,
0.047396738082170486,
0.022410044446587563,
0.005293144378811121,
-0.0012639553751796484,
0.0006409832276403904,
0.022664319723844528,
0.02588512748479843,
-0.017027905210852623,
0.018053477630019188,
-0.02554609626531601,
0.004394708201289177,
0.005746600218117237,
0.08035068958997726,
0.00856904499232769,
0.009984505362808704,
-0.09933651238679886,
0.04014144092798233,
-0.03505595773458481,
0.02157941646873951,
0.0619073249399662,
0.013171411119401455,
0.0019695665687322617,
0.02398654632270336,
-0.02332543209195137,
0.05461812764406204,
0.020664028823375702,
-0.021681126207113266,
0.012645910494029522,
-0.030868904665112495,
0.03188600391149521,
0.011103312484920025,
0.026563193649053574,
0.040853410959243774,
-0.018172139301896095,
0.05461812764406204,
-0.0014292337000370026,
0.05353322625160217,
0.05319419130682945,
0.015993855893611908,
0.013408733531832695,
-0.00006730986206093803,
-0.03475082665681839,
0.02985180728137493,
0.06550107151269913,
-0.03505595773458481,
0.04939702898263931,
0.003208094509318471,
-0.003860732074826956,
0.003087314311414957,
-0.04824431985616684,
0.10028579831123352,
-0.004771881736814976,
-0.035022053867578506,
-0.004276046995073557,
-0.004102292936295271,
0.040209248661994934,
-0.01779920421540737,
0.00706882681697607,
0.0380394421517849,
-0.02588512748479843,
0.014222411438822746,
-0.028292259201407433,
-0.011586434207856655,
0.003432703670114279,
-0.03634427860379219,
-0.040378764271736145,
0.028495678678154945,
0.007852839305996895,
-0.006149201188236475,
0.006496709305793047,
-0.04031096026301384,
0.06468739360570908,
0.013501967303454876,
0.046718671917915344,
-0.028139693662524223,
-0.03766650706529617,
0.03729357197880745,
-0.004462514538317919,
-0.006361096631735563,
-0.06739965081214905,
-0.02191844768822193,
0.012357733212411404,
0.04993947967886925,
-0.012188216671347618,
-0.059262871742248535,
-0.05221099779009819,
-0.02791932225227356,
0.00856480747461319,
0.013679959811270237,
-0.012773048132658005,
-0.03220808506011963,
-0.06617913395166397,
0.011679667979478836,
-0.021511608734726906,
0.0014366500545293093,
-0.06997630000114441,
0.06394152343273163,
-0.04105683043599129,
0.004424373619258404,
0.00522957555949688,
0.021867593750357628,
0.019952060654759407,
0.09248805046081543,
0.00020580329874064773,
-0.030360355973243713,
0.0293602105230093,
-0.03139440715312958,
-0.011942418292164803,
0.00004602100671036169,
0.04807480052113533,
-0.04732893034815788,
0.06841675192117691,
-0.0056745558977127075,
0.04787138104438782,
-0.04651525244116783,
0.0016665564617142081,
-0.024630708619952202,
-0.01284085400402546,
-0.018375558778643608,
-0.022003205493092537,
-0.005708458833396435,
0.01842641457915306,
0.019629979506134987,
0.0056745558977127075,
-0.006547564174979925,
0.016409171745181084,
-0.09560715407133102,
-0.035801827907562256,
-0.010798183269798756,
-0.013874903321266174,
-0.07675694674253464,
-0.03061463125050068,
-0.05278735235333443,
-0.024189965799450874,
-0.00499649066478014,
-0.015790436416864395,
-0.05855090543627739,
-0.0427858941257,
-0.022291384637355804,
0.009569191373884678,
0.013688435778021812,
-0.09262366592884064,
-0.046413544565439224,
0.028444822877645493,
-0.0076028029434382915,
-0.0008391053415834904,
-0.019629979506134987,
0.032784439623355865,
0.038310665637254715,
-0.027190402150154114,
0.0309536624699831,
-0.07194268703460693,
0.020884398370981216,
-0.045430347323417664,
-0.03220808506011963,
0.05699135735630989,
0.01759578473865986,
0.018341656774282455,
-0.0745193362236023,
0.001838191645219922,
0.011696619912981987,
0.04780357703566551,
0.05014289915561676,
0.01761273667216301,
-0.03712405264377594,
-0.03820895776152611,
0.04678647965192795,
-0.00014739965263288468,
0.025173159316182137,
0.034988150000572205,
-0.028970323503017426,
0.015909098088741302,
-0.025512192398309708,
0.06773868203163147,
-0.006577229592949152,
0.0730953961610794,
-0.03000437282025814,
0.024664610624313354,
-0.020562319085001945,
-0.05316028743982315,
0.028021031990647316,
0.035123761743307114,
-0.020867448300123215,
0.05861871317028999,
-0.008463097736239433,
0.0000975380462477915,
-0.0333099402487278,
0.009238634258508682,
0.06268709897994995,
-0.0070773023180663586,
0.040887314826250076,
-0.004237905610352755,
0.005979685112833977,
0.0020193620584905148,
0.03366592153906822,
-0.0444810576736927,
-0.006776411086320877,
-0.016282033175230026,
-0.0023308482486754656,
0.021528560668230057,
0.05353322625160217,
0.06543326377868652,
0.004945635795593262,
-0.00010674224904505536,
0.031174033880233765,
0.025037547573447227,
-0.017714446410536766,
-0.04522692784667015,
-0.04346396028995514,
-0.05170245096087456,
-0.08238488435745239,
-0.016409171745181084,
0.03685282915830612,
0.04787138104438782,
0.061975132673978806,
0.023444093763828278,
0.07750281691551208,
0.040887314826250076,
0.009857368655502796,
-0.030258646234869957,
-0.03827676549553871,
0.025342676788568497,
-0.00020302216580603272,
0.010865990072488785,
-0.0064119515009224415,
-0.01523950882256031,
0.08055411279201508,
-0.04254857450723648,
0.018595930188894272,
0.037361375987529755,
0.04461666941642761,
-0.02444423921406269,
-0.02093525417149067,
0.013951185159385204,
-0.034377891570329666,
0.03439484164118767,
0.018934963271021843,
-0.0006838920526206493,
-0.022732125595211983,
0.016765154898166656,
0.028834709897637367,
-0.06756916642189026,
-0.015069992281496525,
-0.043735187500715256,
-0.03583573177456856,
0.015036089345812798,
0.059093356132507324,
-0.01381557248532772,
-0.07241733372211456,
-0.047498445957899094,
0.060246068984270096,
-0.018595930188894272,
0.0681455209851265,
0.015180177986621857,
0.03820895776152611,
0.0059415437281131744,
0.006602657027542591,
0.033428601920604706,
0.007632468361407518,
-0.006962879095226526,
-0.011010078713297844,
0.05187196657061577,
0.004235786851495504,
-0.05034631863236427,
-0.06461958587169647,
-0.06936603784561157,
0.0056321765296161175,
0.026122450828552246,
0.05970361456274986,
0.013866427354514599,
-0.06695891171693802,
-0.000015080984667292796,
0.056889645755290985,
0.007526520639657974,
-0.0635685846209526,
0.010730377398431301,
-0.043565671890974045,
0.034377891570329666,
0.03868360444903374,
-0.01167119201272726,
-0.01556158997118473,
0.025020595639944077,
0.06092413142323494,
-0.023579707369208336,
0.005060059484094381,
-0.035157665610313416,
-0.020596221089363098,
-0.031174033880233765,
-0.037836022675037384,
-0.01373929064720869,
0.037225764244794846,
0.0022312572691589594,
0.0012374684447422624,
-0.0037018107250332832,
-0.025105353444814682,
-0.012501821853220463,
-0.05475374311208725,
-0.015824340283870697,
0.05888993665575981,
-0.04417593032121658,
0.03790382668375969,
-0.03112317994236946,
0.04712551087141037,
0.004653220530599356,
-0.012476393952965736,
0.019002769142389297,
-0.004170099273324013,
0.02444423921406269,
-0.024189965799450874,
-0.045769382268190384,
0.01397661305963993,
-0.03461521491408348,
-0.02398654632270336,
0.027851516380906105,
-0.014129177667200565,
0.0682472363114357,
0.07404468953609467,
-0.01747712306678295,
-0.014502113685011864,
-0.06017826125025749,
0.015603968873620033,
0.003193262033164501,
-0.0019981726072728634,
-0.0003493623516988009,
-0.03505595773458481,
0.03519156947731972,
-0.027563339099287987,
0.06251758337020874,
0.0023647514171898365,
-0.0011177476262673736,
-0.029004227370023727,
0.00424850033596158,
-0.028987275436520576,
-0.030411211773753166,
-0.05573693662881851,
-0.034343987703323364,
-0.016290510073304176,
-0.0008475811337120831,
0.02093525417149067,
-0.028936419636011124,
-0.019002769142389297,
0.036581601947546005,
0.01810433343052864,
-0.00770027469843626,
0.14008821547031403,
0.07736720889806747,
-0.0713324323296547,
0.0013465945376083255,
0.027563339099287987,
0.002061741193756461,
0.010111643001437187,
0.01173899881541729,
0.018799349665641785,
0.0028160882648080587,
0.00945052970200777,
-0.03892092406749725,
-0.030038274824619293,
0.005776265636086464,
-0.03922605514526367,
-0.004551510792225599,
-0.02474936842918396,
-0.022257480770349503,
-0.025919031351804733,
-0.019409608095884323,
-0.001731184427626431,
-0.04939702898263931,
-0.01856202632188797,
-0.010289634577929974,
-0.05383835360407829,
-0.00921320728957653,
-0.03203856572508812,
-0.0032229272183030844,
0.06258539110422134,
0.05173635110259056,
-0.009653949178755283,
-0.06011045351624489,
-0.01039134431630373,
-0.06573839485645294,
-0.051634643226861954,
0.033242132514715195,
-0.03280138969421387,
0.01372233871370554,
-0.010594763793051243,
0.04590499401092529,
-0.07241733372211456,
0.020443657413125038,
-0.007390907499939203,
0.05966971069574356,
-0.0038713268004357815,
0.10571032017469406,
-0.06902700662612915,
-0.0013762598391622305,
-0.01968083344399929,
0.020545367151498795,
-0.014697057195007801,
-0.021545512601733208,
-0.045769382268190384,
-0.01774834841489792,
0.03885312005877495,
-0.001191910938359797,
0.06604352593421936,
-0.0038014014717191458,
0.037836022675037384,
0.014366500079631805,
0.03408971428871155,
0.041192442178726196,
-0.004138315096497536,
0.051973674446344376,
0.022766029462218285,
-0.018138237297534943,
0.031631726771593094,
-0.007907931692898273,
-0.060381680727005005,
0.012976467609405518,
-0.051634643226861954,
-0.017680542543530464,
-0.024156061932444572,
0.014544492587447166,
-0.013849475421011448,
-0.018002623692154884,
-0.02425777167081833,
0.02588512748479843,
-0.02822445146739483,
0.0018074667314067483,
-0.029597533866763115,
0.036412086337804794,
0.07004410773515701,
-0.037056248635053635,
-0.049261417239904404,
-0.017214372754096985,
0.028987275436520576,
0.05187196657061577,
-0.05899164825677872,
-0.021375996991991997,
-0.03412361815571785,
0.009823465719819069,
-0.006013588048517704,
0.019596075639128685,
-0.019240092486143112,
-0.095200315117836,
-0.018545076251029968,
0.0010880823247134686,
-0.02649538591504097,
-0.02983485534787178,
-0.03519156947731972,
-0.006081394851207733,
0.04929531738162041,
-0.017053332179784775,
0.035937439650297165,
-0.0666198804974556,
-0.031953807920217514,
-0.03203856572508812,
0.0011230449890717864,
-0.026308918371796608,
0.021969303488731384,
0.03664940968155861,
0.0012342900736257434,
0.09106411784887314,
0.049430932849645615,
-0.037090152502059937,
-0.005958495195955038,
-0.024868030101060867,
-0.08591082692146301,
-0.012103458866477013,
-0.022782981395721436,
0.029275452718138695,
0.020596221089363098,
-0.00007542147795902565,
0.030428163707256317,
0.048481639474630356,
0.038954827934503555,
-0.03258102014660835,
-0.00009323392441729084,
0.0008677112055011094,
-0.022664319723844528,
-0.03570011630654335,
0.009543763473629951,
-0.029800953343510628,
-0.020884398370981216,
0.016858389601111412,
-0.025274869054555893,
-0.04827821999788284,
0.020087672397494316,
-0.06970507651567459,
0.002464342163875699,
-0.023562755435705185,
0.030360355973243713,
-0.01616337150335312,
0.017095711082220078,
0.017527978867292404,
-0.0555674210190773,
-0.014561443589627743,
0.024715466424822807,
-0.03624257072806358,
-0.01807042956352234,
0.021053915843367577,
-0.02983485534787178,
-0.038819216191768646,
-0.02537657879292965,
-0.04587109014391899,
-0.03410666435956955,
-0.003911586944013834,
0.018477268517017365,
-0.012450966984033585,
-0.05919506773352623,
0.009908223524689674,
-0.006306003779172897,
-0.023698369041085243,
-0.00937424786388874,
-0.01573110558092594,
0.017867010086774826,
0.005271954461932182,
0.0018286562990397215,
-0.02001986652612686,
-0.004903256893157959,
-0.006106822285801172,
-0.05156683549284935,
-0.014764863066375256,
0.025342676788568497,
-0.016892291605472565,
-0.005916116293519735,
-0.043260540813207626,
0.025596950203180313,
-0.05760161578655243,
0.031157081946730614,
-0.022494804114103317,
-0.03239455074071884,
-0.029563629999756813,
-0.025427434593439102,
-0.02139294706285,
0.013451112434267998,
-0.021138673648238182,
0.04966825619339943,
0.01572263054549694,
-0.059093356132507324,
0.00026619344134815037,
-0.049905575811862946,
0.00753923412412405,
0.0459728017449379,
0.012035652063786983,
0.010484579019248486,
0.03909044340252876,
0.030123034492135048,
0.028037983924150467,
-0.023071158677339554,
-0.020375849679112434,
0.018528124317526817,
0.07682475447654724,
-0.016527831554412842,
0.030546823516488075,
0.06726404279470444,
-0.006094108335673809,
-0.021613318473100662,
0.019443511962890625,
-0.0028711811173707247,
0.046583060175180435,
-0.026410628110170364,
-0.05177025496959686,
0.040378764271736145,
0.01585824228823185,
0.031157081946730614,
-0.030258646234869957,
0.00030248050461523235,
0.04265028238296509,
-0.02001986652612686,
0.0182568971067667,
0.023613611236214638,
-0.07207830250263214,
0.04732893034815788,
-0.018307752907276154,
-0.007801984436810017,
-0.026902224868535995,
0.04773576930165291,
-0.03759869933128357,
-0.010179449804127216,
-0.02174893207848072,
0.06956946104764938,
-0.00295382016338408,
-0.02220662496984005,
-0.004899018909782171,
-0.0017491956241428852,
0.0004078984202351421,
0.03902263566851616,
0.04220953956246376,
-0.08801282197237015,
0.019596075639128685,
-0.002724973252043128,
0.06139877811074257,
0.01839251071214676,
-0.008200347423553467,
0.030275598168373108,
-0.01601080782711506,
-0.02173198014497757,
0.034208375960588455,
0.043226636946201324,
0.007704512681812048,
0.009264062158763409,
-0.0206301249563694,
0.02317286841571331,
0.0427858941257,
0.021630270406603813,
0.03146221116185188,
0.004699837416410446,
0.0182399470359087,
0.038649700582027435,
-0.027682000771164894,
-0.022460900247097015,
-0.047701865434646606,
-0.004104411695152521,
-0.07092559337615967,
0.028631290420889854,
-0.01621422730386257,
-0.002746162936091423,
0.06407713145017624,
-0.01589214615523815,
0.03400495648384094,
0.038649700582027435,
0.03746308758854866,
0.03763260319828987,
0.04573547840118408,
0.006895072758197784,
-0.033428601920604706
] |
708,721
|
pathvalidate._filepath
|
__init__
| null |
def __init__(
self,
max_len: int = -1,
fs_encoding: Optional[str] = None,
platform: Optional[PlatformType] = None,
null_value_handler: Optional[ValidationErrorHandler] = None,
reserved_name_handler: Optional[ValidationErrorHandler] = None,
additional_reserved_names: Optional[Sequence[str]] = None,
normalize: bool = True,
validate_after_sanitize: bool = False,
validator: Optional[AbstractValidator] = None,
) -> None:
if validator:
fpath_validator = validator
else:
fpath_validator = FilePathValidator(
min_len=DEFAULT_MIN_LEN,
max_len=max_len,
fs_encoding=fs_encoding,
check_reserved=True,
additional_reserved_names=additional_reserved_names,
platform=platform,
)
super().__init__(
max_len=max_len,
fs_encoding=fs_encoding,
validator=fpath_validator,
null_value_handler=null_value_handler,
reserved_name_handler=reserved_name_handler,
additional_reserved_names=additional_reserved_names,
platform=platform,
validate_after_sanitize=validate_after_sanitize,
)
self._sanitize_regexp = self._get_sanitize_regexp()
self.__fname_sanitizer = FileNameSanitizer(
max_len=self.max_len,
fs_encoding=fs_encoding,
null_value_handler=null_value_handler,
reserved_name_handler=reserved_name_handler,
additional_reserved_names=additional_reserved_names,
platform=self.platform,
validate_after_sanitize=validate_after_sanitize,
)
self.__normalize = normalize
if self._is_windows(include_universal=True):
self.__split_drive = ntpath.splitdrive
else:
self.__split_drive = posixpath.splitdrive
|
(self, max_len: int = -1, fs_encoding: Optional[str] = None, platform: Optional[~PlatformType] = None, null_value_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, reserved_name_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, additional_reserved_names: Optional[Sequence[str]] = None, normalize: bool = True, validate_after_sanitize: bool = False, validator: Optional[pathvalidate._base.AbstractValidator] = None) -> NoneType
|
[
0.030525611713528633,
0.006471684202551842,
-0.02679632045328617,
0.027523986995220184,
-0.03441862761974335,
-0.029852518811821938,
0.02976156212389469,
-0.004506984725594521,
0.00905035249888897,
-0.020702112466096878,
0.048971958458423615,
0.029925286769866943,
0.021993720903992653,
0.01768229715526104,
-0.008868436329066753,
0.06141505390405655,
0.021411588415503502,
0.0416589081287384,
0.012634110637009144,
0.05388370528817177,
-0.005516621749848127,
0.007485869340598583,
-0.005448403302580118,
-0.004697997123003006,
0.01052387710660696,
0.08462762087583542,
-0.013943909667432308,
-0.0017554955556988716,
0.045770224183797836,
-0.04235019162297249,
0.018610071390867233,
0.04020357504487038,
0.05544818937778473,
0.052937738597393036,
0.046497892588377,
-0.07174792140722275,
-0.012142935767769814,
0.014780726283788681,
-0.07705988734960556,
-0.03987612575292587,
-0.03430947661399841,
0.0159995686262846,
0.014726151712238789,
-0.009996319189667702,
0.013925718143582344,
0.024576937779784203,
-0.001262046629562974,
0.02403118647634983,
-0.06468955427408218,
0.049954306334257126,
-0.027360262349247932,
0.04893557354807854,
-0.008804765529930592,
-0.012488576583564281,
-0.007713265251368284,
0.08695615082979202,
0.04125869274139404,
0.035673853009939194,
-0.008431836031377316,
-0.030343694612383842,
-0.019756145775318146,
-0.005248294677585363,
0.04806237295269966,
-0.04194997623562813,
-0.02108413726091385,
-0.02561386115849018,
-0.0030084464233368635,
-0.040822092443704605,
-0.012706876732409,
0.05319242551922798,
-0.0013359503354877234,
-0.014416893012821674,
-0.029561452567577362,
0.0017350298585370183,
0.05974142253398895,
0.02917942777276039,
-0.06290677189826965,
0.008145317435264587,
0.029288578778505325,
-0.03754759207367897,
0.06898278743028641,
0.0136255556717515,
-0.010660314932465553,
-0.056721605360507965,
0.049772389233112335,
-0.010187331587076187,
0.014962643384933472,
0.00944147352129221,
0.04391467571258545,
0.05621223896741867,
-0.042241040617227554,
0.0208294540643692,
-0.014880781061947346,
0.022757770493626595,
0.0029425015673041344,
-0.024485979229211807,
0.012834218330681324,
0.001426908653229475,
-0.006285219918936491,
-0.020538387820124626,
-0.03722014278173447,
0.03101678565144539,
0.006121494807302952,
0.012079264037311077,
0.04267764091491699,
0.018419058993458748,
-0.006121494807302952,
-0.023994803428649902,
-0.026086844503879547,
-0.017773255705833435,
-0.016172388568520546,
-0.024595128372311592,
0.003772496245801449,
0.05264667421579361,
-0.03671077638864517,
-0.0025354630779474974,
-0.03896654397249222,
-0.014271359890699387,
0.05330157279968262,
-0.049954306334257126,
0.012252084910869598,
0.04315062612295151,
-0.078005850315094,
-0.02066572941839695,
0.05624862387776375,
-0.01638159342110157,
0.0034791557118296623,
0.005048186518251896,
0.05875907093286514,
0.0329996757209301,
0.01704558916389942,
0.04584299027919769,
0.010205523110926151,
0.005334705114364624,
0.01549020130187273,
-0.029161237180233,
0.007817867211997509,
0.05009984225034714,
-0.06872810423374176,
0.04424212500452995,
0.03856632485985756,
0.0013530049473047256,
0.046788956969976425,
-0.07152961939573288,
0.005029994994401932,
0.020411046221852303,
0.02781505323946476,
-0.05362902209162712,
-0.01668175496160984,
0.04431489109992981,
-0.0067127239890396595,
-0.002967515029013157,
-0.011979210190474987,
0.05228284001350403,
0.036237794905900955,
-0.03196275234222412,
-0.005416567903012037,
-0.0651625394821167,
0.021156905218958855,
0.03443681821227074,
-0.04147699102759361,
-0.06308868527412415,
0.0019658366218209267,
-0.0878293514251709,
-0.0019044397631660104,
0.049372173845767975,
0.010205523110926151,
-0.06534445285797119,
0.033654578030109406,
0.035073526203632355,
0.007854250259697437,
0.002592311939224601,
-0.027760477736592293,
0.06319783627986908,
0.005834976211190224,
0.028051545843482018,
0.03711099177598953,
-0.0025650246534496546,
-0.021993720903992653,
-0.011970114894211292,
0.0066035739146173,
-0.00387482438236475,
0.04194997623562813,
-0.016572605818510056,
0.06112398952245712,
0.05955950543284416,
-0.05588478967547417,
0.06629042327404022,
0.032071903347969055,
0.013880238868296146,
-0.003997617866843939,
-0.006116946693509817,
0.009273200295865536,
0.02757856249809265,
0.011424364522099495,
-0.0413314588367939,
0.01478982251137495,
-0.01062393095344305,
-0.013889335095882416,
-0.03001624532043934,
-0.0010767190251499414,
0.05875907093286514,
0.026887279003858566,
-0.04595214128494263,
-0.06701808422803879,
0.027141962200403214,
-0.0019340012222528458,
0.03973059356212616,
-0.04820790886878967,
0.019974445924162865,
-0.014644289389252663,
-0.06709085404872894,
-0.05148240923881531,
0.051737092435359955,
0.008686519227921963,
-0.06439848989248276,
0.013088901527225971,
0.04027634114027023,
0.0025627505965530872,
0.056139472872018814,
0.0976528525352478,
0.0709838718175888,
0.014644289389252663,
-0.023521820083260536,
0.03776589408516884,
-0.011387981474399567,
0.008891175501048565,
-0.02797877788543701,
0.03798419237136841,
0.03581938520073891,
-0.0456610769033432,
-0.06097845733165741,
-0.024176720529794693,
0.04693449288606644,
0.00943237729370594,
-0.004049919079989195,
0.05643054097890854,
-0.011688143946230412,
-0.027669519186019897,
-0.02961602807044983,
-0.006357986479997635,
-0.043441690504550934,
-0.000693557143677026,
-0.011751814745366573,
0.0226668119430542,
-0.03443681821227074,
-0.02364916168153286,
0.07054726779460907,
0.03698365017771721,
-0.040458258241415024,
0.0005483081331476569,
0.046788956969976425,
-0.0694921538233757,
0.01698191836476326,
-0.005834976211190224,
0.011897347867488861,
-0.06025078892707825,
-0.04889919236302376,
0.054138388484716415,
0.022557662799954414,
0.003686085809022188,
-0.006007796619087458,
0.017254792153835297,
0.06035993993282318,
-0.04387829080224037,
-0.061669737100601196,
0.01113329827785492,
-0.01571759767830372,
0.0033813754562288523,
-0.0015428804326802492,
-0.05210092291235924,
0.026687169447541237,
-0.04831705614924431,
0.026923662051558495,
-0.03303606063127518,
-0.029288578778505325,
-0.0396578274667263,
-0.015126368030905724,
0.06196080520749092,
0.006717271637171507,
0.04820790886878967,
-0.010369247756898403,
0.0059395781718194485,
0.0013791554374620318,
0.05755842477083206,
-0.010833135806024075,
-0.06690894067287445,
-0.12806931138038635,
-0.07509518414735794,
-0.012725068256258965,
-0.05024537444114685,
0.0056712510995566845,
0.0171638336032629,
-0.0032563076820224524,
0.023358095437288284,
-0.0878293514251709,
-0.037038225680589676,
-0.0895029827952385,
0.053374338895082474,
-0.11751814186573029,
-0.0413314588367939,
0.01528099738061428,
-0.002223930787295103,
0.03374553471803665,
-0.039002925157547,
-0.01884656399488449,
-0.03258126974105835,
-0.030070818960666656,
0.028524527326226234,
0.021011371165513992,
0.02665078639984131,
0.017154738306999207,
0.0005622361204586923,
0.012033785693347454,
0.10747634619474411,
0.0703289732336998,
0.023576395586133003,
0.006890092510730028,
0.0060396320186555386,
0.039403144270181656,
0.023485437035560608,
0.032890528440475464,
-0.007399458903819323,
-0.04926302284002304,
-0.03798419237136841,
-0.021138712763786316,
0.05468413978815079,
0.0005531402421183884,
-0.029888903722167015,
0.016709042713046074,
-0.02088402956724167,
0.006094207055866718,
0.01738213375210762,
-0.017109259963035583,
-0.009164050221443176,
0.012524960562586784,
0.0024763401597738266,
-0.012024689465761185,
0.024595128372311592,
-0.03798419237136841,
0.04347807541489601,
0.004443313926458359,
-0.014689767733216286,
-0.027269303798675537,
-0.035855770111083984,
-0.05242837220430374,
0.056721605360507965,
-0.04624320939183235,
0.018828371539711952,
-0.019174013286828995,
0.010251002386212349,
-0.007172063458710909,
-0.07334879040718079,
-0.038020577281713486,
0.011606281623244286,
-0.08419101685285568,
-0.056321389973163605,
0.017736872658133507,
0.015926800668239594,
-0.0218299962580204,
0.0264142956584692,
-0.026923662051558495,
-0.05042729154229164,
-0.033872876316308975,
0.02326713688671589,
-0.032290201634168625,
0.030343694612383842,
0.006667244713753462,
-0.037474825978279114,
0.007194803096354008,
0.015572063624858856,
-0.020520197227597237,
0.041404224932193756,
-0.11780921369791031,
0.04373275861144066,
0.00009166893141809851,
0.0004101651720702648,
-0.0005451813922263682,
-0.07553178817033768,
0.02441321313381195,
0.02504992112517357,
0.06985598802566528,
0.002081808401271701,
0.0004903221852146089,
-0.03296329453587532,
-0.024758853018283844,
0.003408662974834442,
0.02721472829580307,
0.030070818960666656,
0.04467872530221939,
0.0074312943033874035,
0.009668868966400623,
0.05071835592389107,
0.03230839595198631,
0.03696545958518982,
0.016008663922548294,
-0.029161237180233,
0.03569204360246658,
0.017536763101816177,
0.03540097549557686,
-0.017391230911016464,
-0.030998595058918,
-0.014689767733216286,
0.0665087178349495,
0.001512182061560452,
0.023903844878077507,
0.05839524045586586,
0.05042729154229164,
-0.0015804007416591048,
0.0694921538233757,
0.027560370042920113,
-0.017891500145196915,
0.008604656904935837,
-0.036237794905900955,
-0.01651803031563759,
0.025777587667107582,
-0.0424957238137722,
-0.02404937893152237,
0.04089485853910446,
-0.031235085800290108,
-0.0703289732336998,
0.03874824196100235,
-0.025723012164235115,
0.04038549214601517,
0.038821008056402206,
0.02363097108900547,
-0.017591338604688644,
-0.023121604695916176,
-0.00625338451936841,
-0.05079112574458122,
-0.006871900986880064,
0.05839524045586586,
-0.08302675187587738,
-0.01768229715526104,
-0.013470926322042942,
-0.019010288640856743,
-0.03958506137132645,
0.0032290201634168625,
-0.0015849486226215959,
-0.017473092302680016,
-0.046388741582632065,
-0.04136784374713898,
0.05086389183998108,
0.05905013903975487,
-0.00011391108273528516,
-0.013716514222323895,
-0.030161777511239052,
0.06647233664989471,
-0.04748024046421051,
-0.030671143904328346,
-0.019792530685663223,
0.018373580649495125,
-0.016790905967354774,
-0.03834802657365799,
-0.042241040617227554,
-0.021156905218958855,
-0.020938605070114136,
-0.025068111717700958,
-0.03325435891747475,
-0.015199135057628155,
0.002765132812783122,
0.07640498876571655,
0.0709838718175888,
-0.05442945659160614,
-0.03794781118631363,
0.02659621275961399,
0.025977695360779762,
0.031289659440517426,
0.017936980351805687,
0.010087277740240097,
-0.022557662799954414,
-0.013334489427506924,
0.007981591857969761,
0.042604874819517136,
0.007772388402372599,
0.013007039204239845,
0.004675257485359907,
-0.028688253834843636,
-0.025577478110790253,
-0.03098040260374546,
0.03452777862548828,
0.005029994994401932,
0.012952464632689953,
0.06458040326833725,
0.032690420746803284,
-0.06443487107753754,
0.007581375539302826,
-0.030689336359500885,
-0.01784602180123329,
0.047152791172266006,
0.00992355216294527,
0.06661786884069443,
-0.02006540447473526,
0.02819707803428173,
0.028106119483709335,
0.024904387071728706,
0.02605046145617962,
0.05402924120426178,
0.014307742938399315,
-0.039039310067892075,
0.016545318067073822,
-0.03312701731920242,
-0.0048071471974253654,
0.004204548429697752,
0.00471618864685297,
0.010660314932465553,
-0.07458581775426865,
-0.02681451104581356,
-0.0071129403077065945,
-0.06177888810634613,
-0.02997986041009426,
-0.0011392529122531414,
0.013179860077798367,
0.0034927993547171354,
0.003981700167059898,
0.018737412989139557,
-0.06137867271900177,
-0.012797835282981396,
0.004820790607482195,
0.05577563866972923,
-0.03712918609380722,
-0.016336113214492798,
0.018437251448631287,
-0.10653038322925568,
-0.006276123691350222,
0.014626096934080124,
0.007190254982560873,
0.01704558916389942,
0.08455485105514526,
0.003822523169219494,
-0.004193178378045559,
-0.038457177579402924,
0.029324961826205254,
-0.0006742285331711173,
0.00863194465637207,
0.0741492211818695,
-0.02525002881884575,
0.02423129603266716,
-0.037474825978279114,
0.004652517847716808,
0.004072658717632294,
0.08309952169656754,
-0.02243032120168209,
-0.00008363901724806055,
0.0021352465264499187,
-0.05031814053654671,
0.0076586902141571045,
-0.006080563645809889,
0.006771846674382687,
-0.02863367833197117,
-0.01439870148897171,
0.00417043874040246,
0.0195014625787735,
0.02164807915687561,
-0.018937520682811737,
-0.06192442402243614,
0.056321389973163605,
-0.00670362776145339,
0.005703086499124765,
-0.006189713254570961,
-0.028670061379671097,
0.030471036210656166,
-0.034473203122615814,
-0.0249953456223011,
-0.038821008056402206,
0.0021648078691214323,
-0.010996860451996326,
-0.013461831025779247,
-0.02401299588382244,
0.028651868924498558,
-0.02943411096930504,
0.07975225150585175,
0.02042923867702484,
-0.0009556307923048735,
-0.04980877414345741,
0.015790363773703575,
0.002640065038576722,
0.032690420746803284,
-0.018091609701514244,
-0.036055877804756165,
0.024722469970583916,
-0.0005753113655373454,
-0.042604874819517136,
-0.03418213501572609,
-0.03998527675867081,
-0.06512615829706192,
0.0052164592780172825,
0.039839744567871094,
-0.070656418800354,
-0.023685546591877937,
-0.03338170051574707,
-0.006908284034579992,
0.0015735789202153683,
-0.017518572509288788,
-0.011788197793066502,
-0.0034427721984684467,
-0.0433325432240963,
-0.04868089035153389,
0.04555192589759827,
-0.018719222396612167,
-0.05697628855705261,
0.02681451104581356,
-0.03159891813993454,
0.06494423747062683,
0.06370720267295837,
-0.021793613210320473,
-0.011187872849404812,
0.026123229414224625,
-0.024940770119428635,
0.019774338230490685,
-0.0164179764688015,
0.006694531999528408,
0.0278332456946373,
-0.031871795654296875,
0.02525002881884575,
0.03145338594913483,
-0.02464970387518406,
-0.025759395211935043,
0.024140337482094765,
-0.02959783561527729,
-0.0029902546666562557,
0.020938605070114136,
0.0038270712830126286,
0.008827504701912403,
-0.06643595546483994,
-0.018091609701514244,
-0.015890417620539665,
0.022503087297081947,
-0.059268441051244736,
-0.052173689007759094,
0.0008567136246711016,
-0.05821332335472107,
0.024886194616556168,
-0.028688253834843636,
0.01112420205026865,
0.016490742564201355,
-0.016054142266511917,
-0.001006226404570043,
0.03660162538290024,
0.024558745324611664,
0.00922317337244749,
-0.037838660180568695,
-0.005116405431181192,
0.024558745324611664,
-0.06625403463840485,
-0.0021955063566565514,
-0.02184818685054779,
-0.030452843755483627,
0.05508435517549515,
0.0007543855463154614,
-0.004998159594833851,
0.09488771855831146,
-0.012852409854531288,
-0.030270928516983986,
0.06181527301669121,
-0.0075677321292459965,
0.03358181193470955,
-0.03754759207367897,
0.03860270977020264,
-0.001400758046656847,
-0.0381661094725132,
0.0032199244014918804,
0.056139472872018814,
0.014416893012821674,
0.0018510017544031143,
-0.010351056233048439,
0.04311424121260643,
-0.03834802657365799,
-0.030034435912966728,
-0.0011392529122531414,
-0.0007890634005889297,
0.000011352024557709228,
-0.006912832148373127,
-0.006235192529857159,
-0.0067627509124577045,
0.01794607564806938,
-0.0013393611880019307,
0.0008879805682227015,
0.05261028930544853,
0.02841537818312645,
0.0149990264326334,
0.03620140999555588,
-0.04868089035153389,
-0.03303606063127518,
0.01690005511045456,
0.00506637804210186,
-0.0015713049797341228,
0.0404946431517601,
0.05119134113192558,
-0.012434002012014389,
0.0035564701538532972,
-0.004354629199951887,
0.008745642378926277,
0.0019033027347177267,
-0.08084375411272049,
-0.008468219079077244,
0.038056958466768265,
-0.05748565495014191,
0.010614835657179356,
0.010687602683901787,
0.033872876316308975,
0.007494965102523565,
-0.03076210245490074,
-0.056103091686964035,
-0.02264862135052681,
-0.0088729839771986,
-0.05344710871577263,
0.015772171318531036,
0.015435626730322838,
-0.0000068618455770774744,
0.07575008273124695,
0.027051003649830818,
0.0421682745218277,
-0.0741492211818695,
-0.018619166687130928,
-0.004848078358918428,
-0.007199350744485855,
0.0088729839771986,
0.043769143521785736,
-0.057522039860486984,
0.043441690504550934,
0.016445264220237732,
0.02841537818312645,
0.0132071478292346,
-0.010705794207751751,
0.01611781306564808,
-0.07302133738994598,
0.007467677816748619,
0.059268441051244736,
0.003213102463632822,
0.004368273075670004,
0.011315214447677135,
-0.08113481849431992,
0.01680000126361847,
0.0027082839515060186,
-0.06334336847066879,
0.029361344873905182,
0.005425663664937019,
-0.02364916168153286,
0.06112398952245712,
0.031125936657190323,
0.0027946943882852793,
-0.024686086922883987,
0.021975528448820114,
0.015290092676877975,
0.05563010647892952,
0.0416589081287384,
-0.00943237729370594,
0.010787656530737877,
0.022685004398226738,
-0.02797877788543701,
-0.016836384311318398,
-0.04507894068956375,
0.021593503654003143,
-0.0079997843131423,
-0.050973039120435715,
-0.00009827761823544279,
0.034873418509960175,
-0.02779686078429222,
0.01500812266021967,
-0.0631614550948143,
0.002505901735275984,
0.00591683853417635,
0.02303064614534378,
0.04515170678496361,
0.04587937518954277,
0.025886736810207367,
0.0013325393665581942
] |
708,723
|
pathvalidate._filepath
|
_get_sanitize_regexp
| null |
def _get_sanitize_regexp(self) -> Pattern[str]:
if self._is_windows(include_universal=True):
return _RE_INVALID_WIN_PATH
return _RE_INVALID_PATH
|
(self) -> Pattern[str]
|
[
0.045229293406009674,
-0.015025150030851364,
0.06991224735975266,
0.0522376112639904,
0.0034165550023317337,
-0.06830546259880066,
0.060510843992233276,
-0.03259722515940666,
0.023606067523360252,
0.01934979483485222,
0.033998891711235046,
0.05377602204680443,
-0.00016572642198298126,
0.013931169174611568,
0.008448442444205284,
0.018836991861462593,
0.042767833918333054,
0.03777654469013214,
0.012760266661643982,
0.020084815099835396,
-0.048306114971637726,
0.022734301164746284,
-0.016597747802734375,
-0.01982841268181801,
-0.028375141322612762,
0.06806614995002747,
0.006055357865989208,
-0.008837318047881126,
-0.04184478893876076,
-0.050562452524900436,
0.009640710428357124,
0.023640254512429237,
0.031605806201696396,
0.021965093910694122,
0.060715965926647186,
-0.03654581680893898,
-0.04071661829948425,
0.003739194246008992,
-0.06242531165480614,
-0.1056375727057457,
-0.009127907454967499,
0.055998172610998154,
0.0028311042115092278,
-0.0024379545357078314,
0.011042374186217785,
-0.0036451800260692835,
-0.001509566092863679,
-0.004256271291524172,
-0.03979357331991196,
0.042562711983919144,
0.013811514712870121,
0.04560535028576851,
-0.04485323652625084,
-0.0014764475636184216,
0.017281487584114075,
-0.0036409066524356604,
-0.0037733810022473335,
0.02543506771326065,
0.0034272384364157915,
-0.04369088262319565,
-0.04341738671064377,
-0.005858783144503832,
-0.013760234229266644,
-0.013922622427344322,
0.021247169002890587,
-0.0028182840906083584,
-0.015982383862137794,
-0.020067721605300903,
0.008679203689098358,
0.03464844077825546,
-0.0606817789375782,
-0.023195823654532433,
-0.073912113904953,
-0.04567372053861618,
0.06625424325466156,
-0.029554590582847595,
-0.019520729780197144,
-0.006880117114633322,
0.023041982203722,
-0.005256238859146833,
0.05678446963429451,
0.07172415405511856,
0.06509189307689667,
-0.0433490127325058,
0.07165578007698059,
-0.0392465814948082,
-0.016546469181776047,
0.023777000606060028,
-0.016478095203638077,
-0.01799941249191761,
-0.005123764276504517,
-0.014443973079323769,
-0.002734953537583351,
0.015324286185204983,
0.02557181380689144,
0.021571945399045944,
0.0322895422577858,
0.020495057106018066,
0.06276717782020569,
-0.05165643244981766,
-0.009871472604572773,
0.055451180785894394,
-0.044682301580905914,
-0.00994839332997799,
0.05644259974360466,
0.0558956116437912,
0.023349665105342865,
0.028717011213302612,
-0.06027153506875038,
-0.013495285995304585,
0.011931234039366245,
0.023041982203722,
-0.0009534945129416883,
-0.012392757460474968,
0.020477963611483574,
0.004589593503624201,
-0.0759633332490921,
-0.03928076848387718,
0.03020414151251316,
0.004123797174543142,
-0.049126602709293365,
0.07842478901147842,
-0.08697152137756348,
-0.005435720086097717,
0.03266559913754463,
0.027981992810964584,
-0.034186918288469315,
-0.0005710283876396716,
0.027691403403878212,
0.05008383467793465,
-0.058801498264074326,
0.0798606425523758,
-0.002429407788440585,
-0.014845669269561768,
-0.04765656217932701,
0.037673983722925186,
-0.014973870478570461,
0.00405755965039134,
0.00920482724905014,
0.035075776278972626,
-0.013067949563264847,
0.026016244664788246,
-0.021093327552080154,
-0.07425398379564285,
-0.02175997383892536,
0.006709182634949684,
0.024494927376508713,
0.05487000197172165,
0.02365734800696373,
0.0035468926653265953,
0.009931299835443497,
-0.009375762194395065,
0.04396437481045723,
0.04751981422305107,
0.05234017223119736,
0.007474115118384361,
0.04157129302620888,
-0.010033860802650452,
0.017076365649700165,
-0.0524769201874733,
-0.0007451679557561874,
-0.01616186462342739,
-0.011512444354593754,
-0.044955797493457794,
0.02610171213746071,
0.04423787072300911,
0.05456232279539108,
-0.03389633074402809,
0.006145098712295294,
0.0004975799238309264,
-0.011042374186217785,
0.007469841744750738,
-0.009794551879167557,
0.04594721645116806,
0.014879856258630753,
0.09339866042137146,
-0.000994091504253447,
0.07808291912078857,
-0.003929358907043934,
0.06314323842525482,
0.03729792684316635,
0.020426683127880096,
0.005794682539999485,
0.02582821622490883,
0.04095592722296715,
-0.0008893940248526633,
-0.03579370304942131,
-0.04457974061369896,
0.014760201796889305,
0.029332375153899193,
-0.016119131818413734,
0.045776281505823135,
0.07124553620815277,
0.01196542102843523,
-0.016802869737148285,
-0.01704217866063118,
0.013452552258968353,
0.0010170608293265104,
-0.005999804008752108,
-0.03640906885266304,
-0.003602446522563696,
0.02222149632871151,
-0.021281355991959572,
0.04201572388410568,
-0.02331547811627388,
-0.04895566776394844,
-0.025383787229657173,
0.007888630963861942,
-0.02728116139769554,
0.05562211573123932,
-0.03538345918059349,
-0.03962263837456703,
-0.002202919451519847,
0.060852713882923126,
0.0058117760345339775,
-0.0007307453779503703,
-0.028033273294568062,
0.06170738860964775,
-0.04799843207001686,
0.056613534688949585,
-0.026426486670970917,
0.002414450980722904,
0.05254529416561127,
-0.028734104707837105,
0.004982743412256241,
-0.024597488343715668,
-0.015435393899679184,
0.03647744283080101,
0.024563301354646683,
-0.008192040026187897,
0.028887946158647537,
-0.06143389269709587,
0.028033273294568062,
0.06529701501131058,
-0.012247463688254356,
-0.03986194729804993,
0.003354591317474842,
-0.013632033951580524,
0.0990053117275238,
-0.011127841658890247,
-0.048306114971637726,
-0.010888533666729927,
0.04533185437321663,
0.02440945990383625,
0.03579370304942131,
0.017828477546572685,
-0.03331515192985535,
0.05394695699214935,
0.048100993037223816,
-0.00543999345973134,
-0.008187767118215561,
0.03348608687520027,
-0.016931071877479553,
-0.014632000587880611,
0.0020180963911116123,
0.04560535028576851,
-0.05117781460285187,
-0.009435589425265789,
0.0031067361123859882,
0.024631673470139503,
0.01005950104445219,
0.06122877076268196,
0.002198646077886224,
-0.0009914205875247717,
-0.07015155255794525,
-0.03869958966970444,
-0.0022328330669552088,
0.058938246220350266,
-0.017016537487506866,
0.011931234039366245,
-0.09483451396226883,
0.006196378730237484,
-0.05415207892656326,
-0.021486477926373482,
-0.044613927602767944,
-0.005901516880840063,
-0.029742619022727013,
0.037537235766649246,
0.030323795974254608,
-0.050904322415590286,
-0.026768356561660767,
0.044819049537181854,
0.03675093501806259,
0.007213439792394638,
0.0198455061763525,
0.022597553208470345,
0.007183526176959276,
-0.0908004567027092,
-0.05992966890335083,
0.01278590690344572,
-0.03671674802899361,
-0.050630826503038406,
0.029075974598526955,
-0.005508366972208023,
-0.032682694494724274,
0.0031537432223558426,
0.03299037739634514,
-0.10085140913724899,
-0.015905464068055153,
-0.04006706923246384,
-0.007478388492017984,
0.04071661829948425,
0.03143487125635147,
0.04560535028576851,
-0.09838995337486267,
0.021093327552080154,
-0.035554394125938416,
-0.019742945209145546,
0.0012093621771782637,
0.008820224553346634,
-0.04225502908229828,
0.00045003872946836054,
-0.014845669269561768,
0.007499754894524813,
0.01717892661690712,
0.02393084205687046,
0.01629861257970333,
0.015426847152411938,
-0.02092239446938038,
0.04478486254811287,
0.031674180179834366,
0.023281291127204895,
0.05979292094707489,
-0.05965617299079895,
-0.047895871102809906,
-0.014708921313285828,
0.0021185206715017557,
-0.03722955286502838,
-0.020546337589621544,
0.01683705672621727,
-0.012204729951918125,
-0.013008122332394123,
0.018802804872393608,
0.007670689839869738,
0.0732283815741539,
0.0008642880129627883,
0.03948589041829109,
-0.03852865472435951,
-0.04355413466691971,
-0.0362723208963871,
0.01196542102843523,
0.04786168411374092,
-0.027229880914092064,
-0.01683705672621727,
-0.048853106796741486,
-0.01011932734400034,
-0.007845897227525711,
0.03818678855895996,
-0.017948132008314133,
-0.08293746411800385,
0.042972955852746964,
0.016307160258293152,
-0.11377406120300293,
-0.0110081871971488,
-0.0220163743942976,
0.0054100798442959785,
-0.0474514402449131,
0.06054503098130226,
0.00992275308817625,
0.037126991897821426,
0.023571880534291267,
0.028135834261775017,
-0.01247822493314743,
-0.04054568335413933,
0.027691403403878212,
0.011367150582373142,
0.04095592722296715,
0.027571748942136765,
-0.012803000397980213,
-0.029007600620388985,
0.005418626591563225,
0.04642583429813385,
0.03972519934177399,
-0.1213635578751564,
-0.010820159688591957,
-0.009563790634274483,
0.03671674802899361,
-0.03287072107195854,
-0.010110780596733093,
0.02721278741955757,
0.038152601569890976,
0.08321096003055573,
-0.00620492547750473,
-0.06895501166582108,
-0.029486216604709625,
-0.044066935777664185,
-0.0248709823936224,
0.005568194203078747,
-0.01991388015449047,
-0.022512085735797882,
-0.028802478685975075,
-0.02030702866613865,
0.06010060012340546,
0.035075776278972626,
0.004478486254811287,
-0.0006158986943773925,
0.027554655447602272,
0.03931495547294617,
0.012187636457383633,
0.03661419078707695,
-0.0522376112639904,
0.03006739355623722,
-0.03389633074402809,
-0.0017584896413609385,
0.0051194909028708935,
-0.005136584397405386,
0.03374248743057251,
0.06331416964530945,
0.008871505036950111,
-0.017743010073900223,
0.00020605631289072335,
-0.026699982583522797,
-0.004781895317137241,
-0.03880215063691139,
0.012666253373026848,
-0.015093524008989334,
-0.02999901957809925,
-0.042562711983919144,
0.0129482951015234,
-0.003965682350099087,
-0.02025574818253517,
-0.010931267403066158,
-0.029896460473537445,
0.06652773916721344,
0.05876731127500534,
0.010897080413997173,
0.0024764148984104395,
-0.0008290327386930585,
0.04946846887469292,
0.023264197632670403,
-0.021965093910694122,
-0.012392757460474968,
-0.056066546589136124,
-0.020409589633345604,
-0.02440945990383625,
-0.02584530971944332,
0.0313664972782135,
0.023400945588946342,
-0.013854248449206352,
-0.007974098436534405,
-0.014811482280492783,
-0.0036943238228559494,
0.007670689839869738,
0.06310904771089554,
0.04423787072300911,
-0.0426652729511261,
0.026135899126529694,
0.020546337589621544,
-0.07329675555229187,
-0.028802478685975075,
-0.013495285995304585,
0.02126426249742508,
-0.044955797493457794,
-0.019195955246686935,
0.01029880903661251,
0.003433648496866226,
-0.008367247879505157,
-0.016512282192707062,
-0.05439138785004616,
-0.03389633074402809,
0.035691142082214355,
0.08382632583379745,
0.044955797493457794,
-0.01287992112338543,
-0.04960521683096886,
-0.021024955436587334,
0.046049777418375015,
-0.015802903100848198,
0.016050757840275764,
0.008820224553346634,
-0.033998891711235046,
0.003502022475004196,
-0.0005923951976001263,
0.006931397598236799,
-0.030716946348547935,
0.028580263257026672,
-0.08163835853338242,
0.03661419078707695,
0.014443973079323769,
0.020084815099835396,
-0.023332571610808372,
-0.023418039083480835,
0.03054601140320301,
0.03403307497501373,
0.011444070376455784,
-0.035691142082214355,
-0.042494338005781174,
-0.03331515192985535,
-0.031930580735206604,
0.014067917130887508,
0.08888598531484604,
0.03948589041829109,
-0.038152601569890976,
0.020016441121697426,
-0.001953996019437909,
0.0014112787321209908,
-0.014247397892177105,
0.04211828112602234,
0.07794617116451263,
0.0011570134665817022,
0.0311442818492651,
-0.011717566289007664,
-0.013794421218335629,
0.02536669373512268,
0.007709150202572346,
-0.027110226452350616,
0.010871440172195435,
0.002497781766578555,
-0.004254134371876717,
-0.00820913352072239,
-0.012136355973780155,
-0.005474180448800325,
-0.00832024123519659,
0.0037626975681632757,
0.011717566289007664,
-0.027981992810964584,
0.009597977623343468,
-0.02208474837243557,
0.015691794455051422,
0.005162224639207125,
-0.05182736739516258,
-0.0037648342549800873,
-0.00940994918346405,
-0.09647548198699951,
-0.013777327723801136,
0.0023418038617819548,
-0.027178600430488586,
0.03811841458082199,
0.029896460473537445,
0.0013963219244033098,
0.07042504847049713,
-0.004495579749345779,
0.025520533323287964,
0.011999608017504215,
0.03203314170241356,
0.01499096304178238,
-0.03928076848387718,
-0.037810731679201126,
-0.08409982174634933,
0.014435426332056522,
-0.030904972925782204,
0.009050986729562283,
0.016324253752827644,
0.009145000949501991,
-0.0007457021274603903,
-0.014478160068392754,
0.02562309429049492,
-0.019948067143559456,
-0.06721147894859314,
-0.031605806201696396,
-0.0030255422461777925,
0.000042466563172638416,
-0.010914173908531666,
0.04799843207001686,
0.008555276319384575,
-0.03203314170241356,
0.035486020147800446,
0.020358309149742126,
-0.0322895422577858,
-0.0062861195765435696,
-0.06040828302502632,
-0.0497419647872448,
0.007974098436534405,
0.0020843336824327707,
-0.09544987231492996,
-0.0447164885699749,
-0.0875868871808052,
0.03890471160411835,
-0.03495612367987633,
0.016529375687241554,
-0.01746096834540367,
0.04003288224339485,
0.08745013922452927,
-0.03177674114704132,
-0.07486934959888458,
0.014537987299263477,
0.049058228731155396,
0.01970875822007656,
-0.02146938443183899,
0.0033182676415890455,
0.03464844077825546,
0.012589332647621632,
-0.02290523424744606,
-0.05644259974360466,
-0.047280509024858475,
-0.10112490504980087,
0.01390552893280983,
0.059211742132902145,
-0.06420303136110306,
-0.05073338747024536,
0.014563626609742641,
0.007388647645711899,
0.03122974932193756,
-0.02618717961013317,
-0.015837090089917183,
-0.025400880724191666,
-0.015794355422258377,
-0.012264557182788849,
0.015931103378534317,
0.03852865472435951,
0.012495318427681923,
0.04348576068878174,
0.08991159498691559,
0.013469645753502846,
0.07705730944871902,
-0.0417422279715538,
0.014956776984035969,
-0.04799843207001686,
-0.025247039273381233,
-0.009691990911960602,
-0.0015362746780738235,
0.029417842626571655,
-0.0007537147030234337,
-0.03061438538134098,
0.05630585551261902,
0.04351994767785072,
-0.04351994767785072,
-0.01923014223575592,
0.0049015493132174015,
0.006401500198990107,
0.0321698896586895,
0.006713456008583307,
0.025144478306174278,
-0.07001480460166931,
0.05979292094707489,
0.025332506746053696,
-0.020683085545897484,
0.0017499428940936923,
-0.05815194919705391,
-0.02003353461623192,
0.0018225900130346417,
-0.013008122332394123,
0.004367378540337086,
-0.01561487466096878,
0.02386246807873249,
0.010623584501445293,
-0.03319549560546875,
0.019110487774014473,
0.012768813408911228,
0.008837318047881126,
-0.014922589994966984,
-0.06697217375040054,
-0.014401239342987537,
0.024853888899087906,
-0.04293876886367798,
0.009666350670158863,
-0.050562452524900436,
-0.014811482280492783,
-0.0028973412699997425,
-0.020768553018569946,
-0.006089544855058193,
0.05162224546074867,
0.0025469253305345774,
-0.009350121952593327,
0.04847704991698265,
0.060921087861061096,
-0.03471681475639343,
-0.020204467698931694,
-0.0006783966673538089,
-0.01189704705029726,
-0.0839630737900734,
0.015110617503523827,
-0.026768356561660767,
0.03972519934177399,
0.016204599291086197,
0.010264622047543526,
0.05445976182818413,
-0.015059337019920349,
-0.021640319377183914,
-0.042425964027643204,
-0.01217054296284914,
-0.03134940192103386,
-0.03141777589917183,
-0.009666350670158863,
-0.024512020871043205,
0.04044312238693237,
-0.021093327552080154,
0.014888403005897999,
0.036443255841732025,
0.03239210322499275,
-0.00026361318305134773,
-0.01711055263876915,
-0.04160548001527786,
-0.005683575291186571,
0.033092938363552094,
0.04239177703857422,
-0.04102430120110512,
0.03948589041829109,
0.04006706923246384,
0.03451169282197952,
-0.010204794816672802,
-0.020341215655207634,
0.018580589443445206,
0.017913945019245148,
-0.05439138785004616,
0.005247692111879587,
0.06327998638153076,
0.02835804782807827,
0.033930517733097076,
-0.0028375142719596624,
-0.0027627302333712578,
0.030990440398454666,
-0.01278590690344572,
-0.059348490089178085,
0.01669176295399666,
0.019606197252869606,
-0.017760103568434715,
-0.0005120025016367435,
-0.02721278741955757,
0.0383235365152359,
0.008956972509622574,
-0.00020632338419090956,
0.008939879015088081,
-0.03545183315873146,
-0.011221855878829956,
-0.07274976372718811,
-0.0030148588120937347,
-0.007709150202572346,
0.06215181574225426,
-0.05630585551261902,
0.022529179230332375,
-0.02228987030684948,
-0.002455048030242324,
0.003516979282721877,
0.017623355612158775,
0.09750109165906906,
-0.07063017040491104,
-0.0454002283513546,
0.0497419647872448,
-0.030768226832151413,
-0.03709280490875244,
0.037537235766649246,
0.007328820414841175,
0.027349533513188362,
0.04324645176529884,
0.007623682729899883,
-0.013606393709778786,
-0.025178665295243263,
-0.028204206377267838,
-0.0020319849718362093,
-0.02562309429049492,
0.010281715542078018,
-0.06040828302502632,
-0.006495514418929815,
0.05001546069979668,
0.031810928136110306,
-0.007401467766612768,
0.02965715155005455,
0.001108938129618764,
-0.01609349250793457,
0.01629861257970333,
-0.036921869963407516,
-0.048374488949775696,
-0.010939814150333405,
0.012555145658552647,
-0.06430559605360031,
0.01664048247039318,
0.01909339427947998,
0.01287992112338543,
0.04875054582953453,
-0.000836511142551899,
0.05387858301401138,
0.0011313733411952853,
0.046049777418375015,
-0.03258013352751732,
-0.004004142712801695,
0.014067917130887508,
-0.042289216071367264
] |
708,729
|
pathvalidate._filepath
|
sanitize
| null |
def sanitize(self, value: PathType, replacement_text: str = "") -> PathType:
try:
validate_pathtype(value, allow_whitespaces=not self._is_windows(include_universal=True))
except ValidationError as e:
if e.reason == ErrorReason.NULL_NAME:
if isinstance(value, PurePath):
raise
return self._null_value_handler(e)
raise
unicode_filepath = to_str(value)
drive, unicode_filepath = self.__split_drive(unicode_filepath)
unicode_filepath = self._sanitize_regexp.sub(replacement_text, unicode_filepath)
if self.__normalize and unicode_filepath:
unicode_filepath = os.path.normpath(unicode_filepath)
sanitized_path = unicode_filepath
sanitized_entries: List[str] = []
if drive:
sanitized_entries.append(drive)
for entry in sanitized_path.replace("\\", "/").split("/"):
if entry in _NTFS_RESERVED_FILE_NAMES:
sanitized_entries.append(f"{entry}_")
continue
sanitized_entry = str(
self.__fname_sanitizer.sanitize(entry, replacement_text=replacement_text)
)
if not sanitized_entry:
if not sanitized_entries:
sanitized_entries.append("")
continue
sanitized_entries.append(sanitized_entry)
sanitized_path = self.__get_path_separator().join(sanitized_entries)
try:
self._validator.validate(sanitized_path)
except ValidationError as e:
if e.reason == ErrorReason.NULL_NAME:
sanitized_path = self._null_value_handler(e)
if self._validate_after_sanitize:
self._validator.validate(sanitized_path)
if isinstance(value, PurePath):
return Path(sanitized_path)
return sanitized_path
|
(self, value: ~PathType, replacement_text: str = '') -> ~PathType
|
[
0.07783576101064682,
0.001979619264602661,
0.03803086653351784,
0.031396716833114624,
-0.010921400040388107,
-0.05991062521934509,
0.04830548167228699,
0.0015014614909887314,
0.058469220995903015,
0.0028804962057620287,
0.06390219926834106,
0.029770515859127045,
0.010625727474689484,
0.03795694559812546,
-0.022840693593025208,
0.055290743708610535,
0.002610233146697283,
0.03947226703166962,
0.016123386099934578,
0.013379177078604698,
-0.011004557833075523,
-0.01878443919122219,
-0.0206416305154562,
-0.011180113069713116,
0.01581847481429577,
0.026370283216238022,
-0.012464440427720547,
0.007502687629312277,
0.011947013437747955,
-0.07299412786960602,
0.06360653042793274,
0.038659170269966125,
0.012482919730246067,
-0.00555771728977561,
0.02535391040146351,
-0.034704551100730896,
-0.035314373672008514,
0.00223717768676579,
0.028366072103381157,
-0.08160559087991714,
-0.061536822468042374,
0.060095418244600296,
-0.017777305096387863,
0.006805085577070713,
-0.013268299400806427,
0.038511332124471664,
-0.027516014873981476,
0.032154373824596405,
-0.05347974970936775,
0.0507817380130291,
-0.022452624514698982,
0.02321028523147106,
-0.0461248978972435,
0.00438426760956645,
0.014210755936801434,
-0.014460229314863682,
0.007410290185362101,
0.03803086653351784,
0.02716490440070629,
-0.07107225805521011,
0.04435086250305176,
-0.013979761861264706,
0.036922093480825424,
-0.017315316945314407,
0.020161163061857224,
-0.007770640775561333,
0.010625727474689484,
-0.03969402238726616,
-0.010671926662325859,
0.05244489386677742,
-0.0463096909224987,
-0.006218360736966133,
-0.036072034388780594,
-0.03753191605210304,
0.07428769767284393,
0.006287658587098122,
-0.00418099295347929,
0.05558641627430916,
0.0641239583492279,
-0.040950629860162735,
0.03895484283566475,
0.015171690843999386,
0.01672397181391716,
-0.04368560016155243,
0.03276420012116432,
0.006500173360109329,
0.015753796324133873,
-0.03026946447789669,
0.01186385564506054,
0.02463320828974247,
0.02309940755367279,
-0.05351670831441879,
-0.002308785915374756,
-0.007950816303491592,
-0.0007189690950326622,
0.029031336307525635,
0.03472302854061127,
-0.09601961821317673,
0.00011629107757471502,
-0.01982853189110756,
0.034519754350185394,
0.055290743708610535,
0.02620396763086319,
0.0007287863409146667,
0.0637543648481369,
-0.03840045630931854,
0.020198121666908264,
0.006546372082084417,
-0.007207015063613653,
-0.004883214831352234,
-0.015559760853648186,
-0.040248408913612366,
-0.013101983815431595,
0.011263270862400532,
0.0065186526626348495,
-0.025261512026190758,
-0.09306289255619049,
-0.060871560126543045,
0.063199982047081,
-0.02871718443930149,
-0.013610171154141426,
0.022064553573727608,
-0.06131506711244583,
0.0008800874347798526,
0.04039624333381653,
0.03344794362783432,
-0.02062315121293068,
0.021122097969055176,
0.04697495698928833,
0.019089350476861,
-0.0678568184375763,
0.03958314657211304,
-0.028458470478653908,
0.03646010532975197,
-0.02620396763086319,
0.05473635718226433,
-0.044868290424346924,
0.013222101144492626,
0.03734712302684784,
0.04213332012295723,
0.004716899245977402,
0.004174062982201576,
0.02236022613942623,
-0.045792266726493835,
0.028144318610429764,
0.022914612665772438,
0.018054496496915817,
0.007770640775561333,
-0.021011222153902054,
0.025760458782315254,
-0.04642057046294212,
0.02550174668431282,
0.06844816356897354,
0.03126735985279083,
0.02224935032427311,
-0.014524907805025578,
0.005031051114201546,
-0.03189566358923912,
0.03671881929039955,
-0.002369999187067151,
-0.019588297232985497,
-0.06944605708122253,
0.036903612315654755,
-0.020253561437129974,
0.008154090493917465,
0.0672285184264183,
0.05392325669527054,
-0.03553612902760506,
0.016733210533857346,
0.01159590296447277,
0.008325026370584965,
0.020050285384058952,
-0.036072034388780594,
0.05798875167965889,
0.03241308778524399,
0.006971401162445545,
0.037494957447052,
-0.011531224474310875,
0.06271950900554657,
-0.01312046404927969,
0.002441607415676117,
0.015846192836761475,
-0.005063390359282494,
0.05311015993356705,
0.0167609304189682,
0.02232326753437519,
-0.04523788020014763,
0.03605355694890022,
0.040987588465213776,
0.002357294550165534,
-0.01791590079665184,
0.03585028275847435,
0.03723624721169472,
0.020974261686205864,
0.0034995602909475565,
-0.022508062422275543,
0.04072887450456619,
-0.017361514270305634,
-0.07428769767284393,
0.00918432418256998,
-0.010385493747889996,
-0.02940092608332634,
0.04634665325284004,
0.010071341879665852,
-0.052186183631420135,
-0.00046169941197149456,
0.03403928875923157,
0.03278268128633499,
-0.08145774900913239,
0.05421892926096916,
-0.03895484283566475,
-0.018867596983909607,
-0.03339250385761261,
-0.02710946463048458,
0.0011480405228212476,
-0.036349229514598846,
-0.002513215644285083,
0.04047016426920891,
-0.030546657741069794,
0.06634149700403214,
-0.017296835780143738,
0.04545963555574417,
0.018858356401324272,
-0.05858009681105614,
0.04531179741024971,
-0.02640724368393421,
-0.03814174234867096,
0.029123732820153236,
0.053812380880117416,
-0.0492294579744339,
0.022027594968676567,
-0.04350080341100693,
-0.014210755936801434,
0.02304396964609623,
0.013979761861264706,
-0.040876712650060654,
0.05322103574872017,
-0.06490009278059006,
0.014968416653573513,
-0.01352701336145401,
-0.020272040739655495,
-0.063199982047081,
-0.027442095801234245,
0.0036427765153348446,
-0.04217027872800827,
-0.014072159305214882,
-0.03880700469017029,
0.0247071273624897,
0.04623577371239662,
-0.05510594695806503,
0.013970522210001945,
0.06135202571749687,
-0.03403928875923157,
0.016825608909130096,
0.03182174265384674,
0.04601402208209038,
-0.037679754197597504,
-0.036922093480825424,
0.0301401074975729,
0.033780574798583984,
-0.01111543457955122,
0.01314818300306797,
-0.028809580951929092,
0.015689117833971977,
-0.04638361185789108,
-0.06793073564767838,
-0.05835834518074989,
0.060797642916440964,
0.006606430746614933,
0.00838970486074686,
-0.036182913929224014,
0.054477643221616745,
-0.03025098517537117,
-0.02237870544195175,
-0.040913671255111694,
0.056066881865262985,
-0.01602174900472164,
0.03289355710148811,
0.08552324771881104,
-0.010570288635790348,
0.008810114115476608,
-0.02849542908370495,
-0.008186429738998413,
-0.03337402269244194,
0.07088746130466461,
-0.0003537096781656146,
-0.03984185680747032,
-0.04686407744884491,
-0.03403928875923157,
0.03653402253985405,
-0.0033909929916262627,
-0.03278268128633499,
-0.023302681744098663,
0.009710990823805332,
-0.01511625200510025,
-0.0011445756535977125,
-0.03518501669168472,
-0.11619926244020462,
-0.0028989757411181927,
-0.09890242666006088,
-0.02943788468837738,
0.03398384898900986,
0.013776486739516258,
0.06342173367738724,
0.0065925708040595055,
-0.006657249294221401,
0.0064401146955788136,
-0.020493794232606888,
0.013083504512906075,
0.05632559582591057,
-0.04549659416079521,
-0.06135202571749687,
-0.024928880855441093,
0.0573604479432106,
0.0906975120306015,
0.06652629375457764,
0.02533543109893799,
-0.006620290223509073,
-0.025871336460113525,
0.009036487899720669,
0.002753449371084571,
0.020863385871052742,
-0.03791998699307442,
-0.02315484546124935,
-0.04072887450456619,
-0.06364348530769348,
0.022545022889971733,
0.016825608909130096,
-0.0245223306119442,
0.022434145212173462,
0.013600931502878666,
0.006417015567421913,
0.023598354309797287,
-0.008135611191391945,
0.05074477940797806,
0.039361391216516495,
0.0252984706312418,
-0.01351777371019125,
0.018627362325787544,
-0.004331138916313648,
0.016825608909130096,
0.0368112176656723,
-0.017610987648367882,
-0.0350741408765316,
-0.0018883765442296863,
0.0032593263313174248,
-0.02138081192970276,
-0.005308243911713362,
0.020826425403356552,
-0.02871718443930149,
-0.000993852037936449,
-0.02871718443930149,
-0.0554385781288147,
-0.0589127279818058,
-0.05170571431517601,
-0.011521984823048115,
-0.004037776496261358,
0.026758354157209396,
-0.056806065142154694,
-0.021694963797926903,
0.07321587949991226,
0.02783016674220562,
-0.030546657741069794,
-0.01992092840373516,
0.0476771779358387,
-0.008491341955959797,
-0.007742921356111765,
0.0085514010861516,
-0.032948996871709824,
0.010570288635790348,
0.026111571118235588,
0.007234734483063221,
0.03359577804803848,
-0.09040184319019318,
0.059134483337402344,
0.005904208403080702,
0.002908215392380953,
-0.005238945595920086,
-0.031507592648267746,
0.07569213956594467,
0.0718853548169136,
0.053775422275066376,
-0.028366072103381157,
-0.007535026874393225,
-0.028273675590753555,
0.005890348926186562,
-0.009151984937489033,
-0.02795952372252941,
0.006532512605190277,
-0.04379647597670555,
-0.0063199978321790695,
-0.03969402238726616,
0.08175342530012131,
-0.008255728520452976,
0.024891922250390053,
0.006869764067232609,
-0.011189352720975876,
0.017943620681762695,
0.008648417890071869,
0.04608793929219246,
-0.002319180639460683,
0.006264559458941221,
-0.03958314657211304,
0.05237097665667534,
-0.0044928346760571,
-0.003968478180468082,
0.0569908581674099,
0.058506179600954056,
-0.013739528134465218,
0.045607469975948334,
0.030768411234021187,
-0.04468349367380142,
0.00991426594555378,
-0.026499640196561813,
0.03365121781826019,
0.007285553030669689,
-0.07931412756443024,
-0.03501870110630989,
0.006606430746614933,
-0.021288413554430008,
-0.047270629554986954,
-0.029770515859127045,
-0.04623577371239662,
0.041800688952207565,
0.03682969510555267,
-0.0010290786158293486,
0.03995273634791374,
-0.026721395552158356,
0.04239203408360481,
0.00014675343118142337,
-0.004841635935008526,
-0.020826425403356552,
-0.09350640326738358,
0.022027594968676567,
-0.0029913734178990126,
-0.026832271367311478,
0.016899526119232178,
-0.026702916249632835,
-0.009401459246873856,
-0.011457306332886219,
-0.06390219926834106,
-0.00021063772146590054,
0.02705402672290802,
0.06604582816362381,
0.026093091815710068,
-0.038696128875017166,
-0.06135202571749687,
0.024411454796791077,
-0.027479056268930435,
-0.0007928871782496572,
-0.014774381183087826,
-0.026592038571834564,
0.04760326072573662,
0.02701706811785698,
-0.04117238521575928,
-0.002411578083410859,
-0.01920022815465927,
-0.022822214290499687,
-0.008819353766739368,
0.008107892237603664,
-0.00466839037835598,
0.07620956748723984,
0.05983670428395271,
-0.076726995408535,
0.008297307416796684,
0.03328162804245949,
-0.0008771999855525792,
0.009142745286226273,
0.026887711137533188,
-0.017038123682141304,
-0.008288067765533924,
-0.05806267261505127,
-0.00534520298242569,
0.04383343458175659,
0.02158408612012863,
0.04660536348819733,
-0.03673729673027992,
0.055142905563116074,
0.006763506680727005,
-0.007137717213481665,
0.034704551100730896,
-0.00879625417292118,
-0.019292624667286873,
0.04143109917640686,
0.04065495729446411,
-0.03198805823922157,
0.022471103817224503,
0.008934850804507732,
0.0034140925854444504,
0.020198121666908264,
0.0670437216758728,
0.038659170269966125,
-0.03596115857362747,
-0.010939879342913628,
-0.03917659446597099,
-0.002594063524156809,
-0.041652850806713104,
0.03307835012674332,
0.018904555588960648,
-0.008676137775182724,
0.02062315121293068,
-0.03649706393480301,
-0.0397309809923172,
-0.00573789281770587,
0.00992350559681654,
0.024115782231092453,
0.004174062982201576,
0.0324685275554657,
-0.020253561437129974,
-0.01833168976008892,
-0.03570244461297989,
0.01979157328605652,
0.029825955629348755,
-0.028772622346878052,
0.028088880702853203,
-0.010043622925877571,
-0.005299004260450602,
-0.01315742265433073,
0.016936486586928368,
-0.029955312609672546,
-0.10888136923313141,
-0.027552973479032516,
-0.02929004840552807,
-0.02308092825114727,
0.029641160741448402,
-0.03427952155470848,
-0.011318709701299667,
0.02372771129012108,
0.04985776171088219,
-0.015282568521797657,
0.045607469975948334,
0.017943620681762695,
0.047233667224645615,
-0.019569817930459976,
0.05403413623571396,
0.04398127272725105,
-0.021177537739276886,
-0.019274145364761353,
-0.05743436887860298,
0.03276420012116432,
-0.018876835703849792,
0.06730243563652039,
-0.04080279543995857,
0.008107892237603664,
0.01239052228629589,
-0.07428769767284393,
0.03433496132493019,
-0.04985776171088219,
0.0018479526042938232,
-0.0035642385482788086,
-0.04930337518453598,
-0.020512273535132408,
0.039398349821567535,
0.044129107147455215,
-0.028292154893279076,
-0.0301401074975729,
0.015550521202385426,
0.009258242323994637,
-0.040913671255111694,
0.030786890536546707,
-0.040913671255111694,
-0.04035928472876549,
0.06944605708122253,
-0.02158408612012863,
0.0017324555665254593,
-0.0005422586109489202,
-0.05651039257645607,
0.016012510284781456,
-0.01677940972149372,
-0.01995788887143135,
-0.008934850804507732,
0.03906571865081787,
0.04435086250305176,
0.0008714251453056931,
-0.06992653012275696,
0.022064553573727608,
0.03263484314084053,
-0.0008310012053698301,
-0.020493794232606888,
0.0018964613554999232,
-0.007225494831800461,
-0.012797071598470211,
0.0252984706312418,
-0.033909931778907776,
-0.0007541956729255617,
-0.07199623435735703,
0.024965839460492134,
0.07062874734401703,
-0.08241868764162064,
-0.02321028523147106,
-0.036145951598882675,
0.023302681744098663,
-0.00041088071884587407,
-0.009470757097005844,
0.02239718660712242,
-0.012612276710569859,
0.002376929158344865,
-0.014977656304836273,
0.028181277215480804,
-0.000547167204786092,
-0.05643647164106369,
0.027534494176506996,
0.016788650304079056,
0.08515365421772003,
0.0335218608379364,
-0.007086898200213909,
0.02067858912050724,
-0.03317074850201607,
-0.031359754502773285,
-0.031415194272994995,
0.02786712534725666,
0.05883881077170372,
0.02382010966539383,
-0.0013651750050485134,
0.05185355246067047,
0.07292021065950394,
-0.012445961125195026,
-0.04616185650229454,
-0.018876835703849792,
0.004349618684500456,
-0.03828957676887512,
-0.01625274308025837,
-0.014025960117578506,
-0.01776806451380253,
0.01916326954960823,
-0.02391250617802143,
-0.010514850728213787,
-0.009646312333643436,
-0.05226010084152222,
-0.041837647557258606,
0.01910782977938652,
-0.02869870513677597,
-0.05551249533891678,
0.03810478374361992,
-0.013739528134465218,
-0.018590403720736504,
-0.04601402208209038,
0.009784908965229988,
-0.00026347761740908027,
0.018211573362350464,
0.0037536537274718285,
-0.07547038793563843,
-0.0379939042031765,
0.057619161903858185,
-0.07092442363500595,
-0.033688176423311234,
-0.028107360005378723,
-0.05632559582591057,
-0.018830636516213417,
0.007969295606017113,
0.00409552501514554,
0.05107741057872772,
-0.005428360775113106,
-0.08079248666763306,
0.07535950839519501,
0.05392325669527054,
0.01897847279906273,
-0.08345354348421097,
0.009683271870017052,
-0.006213740911334753,
-0.014848299324512482,
0.008999529294669628,
-0.03344794362783432,
0.044129107147455215,
0.03487086668610573,
0.0063153780065476894,
0.033817533403635025,
-0.0032893556635826826,
0.002718800213187933,
-0.023579875007271767,
0.005751752760261297,
-0.020493794232606888,
-0.05351670831441879,
-0.025095196440815926,
-0.020272040739655495,
0.002420817967504263,
-0.007867658510804176,
0.021196017041802406,
0.04083975404500961,
0.04157893359661102,
-0.01472818199545145,
-0.023505957797169685,
-0.0443878211081028,
0.01820233277976513,
0.03682969510555267,
-0.008024734444916248,
-0.017527829855680466,
0.01357321161776781,
0.024041863158345222,
0.021085139364004135,
-0.03276420012116432,
-0.03682969510555267,
-0.05192746967077255,
-0.0005569844506680965,
-0.03745799884200096,
-0.02784864604473114,
0.10636815428733826,
-0.02633332461118698,
0.044129107147455215,
0.04479437321424484,
0.005206606350839138,
0.01876595802605152,
-0.03429799899458885,
-0.09483692795038223,
-0.0012981867184862494,
-0.054477643221616745,
-0.022046074271202087,
-0.005580816883593798,
0.020382916554808617,
0.029659640043973923,
0.022859174758195877,
0.013249820098280907,
-0.010136020369827747,
-0.04826852306723595,
-0.012307364493608475,
-0.037883028388023376,
-0.048009809106588364,
-0.03564700484275818,
0.06305214017629623,
-0.025963734835386276,
0.04235507547855377,
-0.03034338168799877,
0.01999484747648239,
0.007230114657431841,
-0.008523681201040745,
0.07340067625045776,
-0.025612622499465942,
-0.026758354157209396,
0.029031336307525635,
0.02856934815645218,
0.01867356151342392,
0.045607469975948334,
-0.04948817193508148,
0.006052044685930014,
0.006703448016196489,
-0.007581225596368313,
-0.021694963797926903,
0.006056664511561394,
-0.028181277215480804,
0.01999484747648239,
0.0029220751021057367,
0.020549234002828598,
-0.043316010385751724,
-0.060871560126543045,
0.032320693135261536,
0.005673214327543974,
0.0029243850149214268,
0.0005919223185628653,
0.00465453090146184,
0.0734376385807991,
0.009969704784452915,
-0.015605960041284561,
-0.05155787989497185,
0.04642057046294212,
0.052149221301078796,
-0.019440460950136185,
0.011845376342535019,
0.027220342308282852,
-0.015125492587685585,
0.03609051555395126,
-0.031211920082569122,
0.051225244998931885,
0.01859964244067669,
0.015273328870534897,
0.006906723137944937,
0.0017740344628691673,
-0.04390735551714897,
-0.00574713246896863
] |
708,730
|
pathvalidate._filepath
|
FilePathValidator
| null |
class FilePathValidator(BaseValidator):
_RE_NTFS_RESERVED = re.compile(
"|".join(f"^/{re.escape(pattern)}$" for pattern in _NTFS_RESERVED_FILE_NAMES),
re.IGNORECASE,
)
_MACOS_RESERVED_FILE_PATHS = ("/", ":")
@property
def reserved_keywords(self) -> Tuple[str, ...]:
common_keywords = super().reserved_keywords
if any([self._is_universal(), self._is_posix(), self._is_macos()]):
return common_keywords + self._MACOS_RESERVED_FILE_PATHS
if self._is_linux():
return common_keywords + ("/",)
return common_keywords
def __init__(
self,
min_len: int = DEFAULT_MIN_LEN,
max_len: int = -1,
fs_encoding: Optional[str] = None,
platform: Optional[PlatformType] = None,
check_reserved: bool = True,
additional_reserved_names: Optional[Sequence[str]] = None,
) -> None:
super().__init__(
min_len=min_len,
max_len=max_len,
fs_encoding=fs_encoding,
check_reserved=check_reserved,
additional_reserved_names=additional_reserved_names,
platform=platform,
)
self.__fname_validator = FileNameValidator(
min_len=min_len,
max_len=max_len,
check_reserved=check_reserved,
additional_reserved_names=additional_reserved_names,
platform=platform,
)
if self._is_windows(include_universal=True):
self.__split_drive = ntpath.splitdrive
else:
self.__split_drive = posixpath.splitdrive
def validate(self, value: PathType) -> None:
validate_pathtype(value, allow_whitespaces=not self._is_windows(include_universal=True))
self.validate_abspath(value)
_drive, tail = self.__split_drive(value)
if not tail:
return
unicode_filepath = to_str(tail)
byte_ct = len(unicode_filepath.encode(self._fs_encoding))
err_kwargs = {
ErrorAttrKey.REASON: ErrorReason.INVALID_LENGTH,
ErrorAttrKey.PLATFORM: self.platform,
ErrorAttrKey.FS_ENCODING: self._fs_encoding,
ErrorAttrKey.BYTE_COUNT: byte_ct,
}
if byte_ct > self.max_len:
raise ValidationError(
[
f"file path is too long: expected<={self.max_len:d} bytes, actual={byte_ct:d} bytes"
],
**err_kwargs,
)
if byte_ct < self.min_len:
raise ValidationError(
[
"file path is too short: expected>={:d} bytes, actual={:d} bytes".format(
self.min_len, byte_ct
)
],
**err_kwargs,
)
self._validate_reserved_keywords(unicode_filepath)
unicode_filepath = unicode_filepath.replace("\\", "/")
for entry in unicode_filepath.split("/"):
if not entry or entry in (".", ".."):
continue
self.__fname_validator._validate_reserved_keywords(entry)
if self._is_windows(include_universal=True):
self.__validate_win_filepath(unicode_filepath)
else:
self.__validate_unix_filepath(unicode_filepath)
def validate_abspath(self, value: PathType) -> None:
is_posix_abs = posixpath.isabs(value)
is_nt_abs = ntpath.isabs(value)
err_object = ValidationError(
description=(
"an invalid absolute file path ({}) for the platform ({}).".format(
value, self.platform.value
)
+ " to avoid the error, specify an appropriate platform corresponding to"
+ " the path format or 'auto'."
),
platform=self.platform,
reason=ErrorReason.MALFORMED_ABS_PATH,
)
if any([self._is_windows() and is_nt_abs, self._is_linux() and is_posix_abs]):
return
if self._is_universal() and any([is_posix_abs, is_nt_abs]):
ValidationError(
description=(
("POSIX style" if is_posix_abs else "NT style")
+ " absolute file path found. expected a platform-independent file path."
),
platform=self.platform,
reason=ErrorReason.MALFORMED_ABS_PATH,
)
if self._is_windows(include_universal=True) and is_posix_abs:
raise err_object
drive, _tail = ntpath.splitdrive(value)
if not self._is_windows() and drive and is_nt_abs:
raise err_object
def __validate_unix_filepath(self, unicode_filepath: str) -> None:
match = _RE_INVALID_PATH.findall(unicode_filepath)
if match:
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=findall_to_str(match), value=repr(unicode_filepath)
)
)
def __validate_win_filepath(self, unicode_filepath: str) -> None:
match = _RE_INVALID_WIN_PATH.findall(unicode_filepath)
if match:
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=findall_to_str(match), value=repr(unicode_filepath)
),
platform=Platform.WINDOWS,
)
_drive, value = self.__split_drive(unicode_filepath)
if value:
match_reserved = self._RE_NTFS_RESERVED.search(value)
if match_reserved:
reserved_name = match_reserved.group()
raise ReservedNameError(
f"'{reserved_name}' is a reserved name",
reusable_name=False,
reserved_name=reserved_name,
platform=self.platform,
)
|
(min_len: int = 1, max_len: int = -1, fs_encoding: Optional[str] = None, platform: Optional[~PlatformType] = None, check_reserved: bool = True, additional_reserved_names: Optional[Sequence[str]] = None) -> None
|
[
0.02749316394329071,
-0.005608297418802977,
-0.035516008734703064,
0.058026157319545746,
-0.018623780459165573,
-0.03012896701693535,
0.033707503229379654,
0.007402375340461731,
-0.01120697520673275,
-0.04325026646256447,
0.06849241256713867,
0.043865930289030075,
0.033322714269161224,
-0.006647227331995964,
-0.0068300021812319756,
0.051369309425354004,
0.03186051547527313,
0.03001352958381176,
0.011216594837605953,
0.02437637373805046,
-0.007214790675789118,
-0.024799641221761703,
-0.013669623993337154,
-0.005295656621456146,
0.020374570041894913,
0.056063733994960785,
0.0017784459050744772,
0.01350608840584755,
0.033592067658901215,
-0.05160018429160118,
0.011447467841207981,
0.05052277445793152,
0.02508823201060295,
0.028839923441410065,
0.03640102595090866,
-0.08065174520015717,
0.015458892099559307,
-0.00025597476633265615,
-0.04301939159631729,
-0.05617917329072952,
-0.07107049971818924,
0.013025102205574512,
0.023626035079360008,
0.004477980080991983,
-0.011639862321317196,
-0.02104794979095459,
-0.03705516457557678,
0.03867127746343613,
-0.06429821252822876,
0.05109995976090431,
-0.01169758103787899,
0.0037805503234267235,
-0.05383196100592613,
-0.014371863566339016,
-0.00513693131506443,
0.05079212784767151,
0.005295656621456146,
0.025280626490712166,
-0.03867127746343613,
-0.03559296950697899,
0.01803697645664215,
-0.015016384422779083,
0.02229851298034191,
-0.018498724326491356,
0.0001785660715540871,
-0.044750943779945374,
0.0016137082129716873,
-0.05306238308548927,
-0.029705699533224106,
0.04205742105841637,
-0.027243049815297127,
0.019316399469971657,
-0.00907139666378498,
-0.03645874187350273,
0.055294156074523926,
0.018950849771499634,
-0.012486398220062256,
0.026223359629511833,
0.04182654619216919,
-0.016141891479492188,
0.021278822794556618,
-0.01591101847589016,
0.018027357757091522,
-0.047482945024967194,
0.07572644203901291,
0.04209589958190918,
0.0472135916352272,
0.025780852884054184,
0.02301037311553955,
0.04613618180155754,
0.017123103141784668,
0.020855555310845375,
-0.013698482885956764,
0.01585330069065094,
-0.003607395337894559,
-0.031148657202720642,
0.012861567549407482,
-0.01221704576164484,
-0.034092292189598083,
-0.05052277445793152,
-0.05083060637116432,
-0.00022651437029708177,
0.0026213740929961205,
-0.012861567549407482,
0.04498181492090225,
0.0069887274876236916,
-0.028686009347438812,
-0.018979709595441818,
-0.01590139977633953,
-0.04128784313797951,
-0.04132632166147232,
-0.06071968004107475,
0.014015933498740196,
0.042172856628894806,
-0.009658199734985828,
0.005762212909758091,
-0.02787795104086399,
-0.023164289072155952,
0.03116789646446705,
-0.05144627019762993,
0.02235623262822628,
0.04259612411260605,
-0.054755453020334244,
-0.02318352833390236,
0.06837698072195053,
-0.010668270289897919,
0.016921089962124825,
0.03060995228588581,
-0.007517812307924032,
0.05533263459801674,
-0.025242147967219353,
0.05429370701313019,
0.0292439516633749,
-0.0012565760407596827,
-0.03174507990479469,
0.026473471894860268,
-0.0026093493215739727,
0.010119946673512459,
-0.0365164615213871,
0.0316104032099247,
0.06395190954208374,
0.025184430181980133,
0.025819331407546997,
-0.06279753893613815,
0.002897941041737795,
0.028666768223047256,
0.0005308883846737444,
-0.030205924063920975,
0.008816474117338657,
0.03990260511636734,
-0.019104765728116035,
-0.023318203166127205,
-0.029705699533224106,
0.04936840757727623,
0.038844432681798935,
-0.05133083090186119,
-0.020259132608771324,
-0.06568345427513123,
0.013073201291263103,
0.025992486625909805,
-0.040749140083789825,
-0.07726559787988663,
0.018354427069425583,
-0.04921449348330498,
0.015285736881196499,
0.07187855988740921,
-0.0037805503234267235,
-0.055024806410074234,
0.023048851639032364,
0.031571924686431885,
0.011399369686841965,
0.0659143328666687,
0.004319254774600267,
0.008325868286192417,
-0.009475424885749817,
-0.00031534649315290153,
0.027589360252022743,
-0.013698482885956764,
0.02022065408527851,
-0.02187524549663067,
0.009504284709692001,
-0.019095147028565407,
0.025780852884054184,
0.0018000903073698282,
0.053216297179460526,
0.07857388257980347,
-0.05833398923277855,
0.03667037561535835,
0.04494333639740944,
0.03509274125099182,
-0.08688531816005707,
0.022048400714993477,
0.03672809526324272,
0.045943789184093475,
0.014641216024756432,
-0.008672178722918034,
0.056833311915397644,
-0.015160680748522282,
-0.03634330630302429,
-0.018441004678606987,
-0.0021704495884478092,
0.024010824039578438,
0.02175980992615223,
-0.04148023575544357,
-0.05598677694797516,
-0.028955360874533653,
-0.010110327042639256,
0.019855104386806488,
-0.02508823201060295,
0.025511501356959343,
-0.031571924686431885,
-0.06168165057897568,
-0.042711563408374786,
0.05506328493356705,
0.012871187180280685,
-0.04013347625732422,
-0.003727641887962818,
0.07530317455530167,
-0.024414852261543274,
0.0739179402589798,
0.06968525797128677,
0.063836470246315,
-0.007695776876062155,
-0.0480986051261425,
0.06756892055273056,
-0.035458292812108994,
0.02306809090077877,
0.04413527995347977,
0.046059224754571915,
0.031629644334316254,
-0.02431865595281124,
-0.07403337210416794,
-0.01749827340245247,
0.05171561986207962,
0.0019720427226275206,
0.006517360918223858,
0.0718400776386261,
-0.02832045964896679,
0.02072087861597538,
-0.017305878922343254,
-0.035227417945861816,
-0.024799641221761703,
-0.0006727792206220329,
-0.018989330157637596,
-0.013938975520431995,
-0.03137953206896782,
0.005329325329512358,
0.06449060887098312,
0.03580460324883461,
-0.04236525297164917,
0.005338945426046848,
0.07584188133478165,
-0.03634330630302429,
-0.011966933496296406,
0.0030686911195516586,
0.03149496763944626,
-0.04702119529247284,
-0.020105216652154922,
0.04863731190562248,
0.03634330630302429,
-0.007036826107650995,
0.038459643721580505,
0.004641515668481588,
0.0061037130653858185,
-0.03486187011003494,
-0.05694874748587608,
0.05079212784767151,
0.010100707411766052,
-0.03186051547527313,
-0.0018938826397061348,
-0.027570120990276337,
0.038728997111320496,
-0.08196002244949341,
0.024145500734448433,
-0.025453781709074974,
0.006748234387487173,
-0.011572524905204773,
-0.026742825284600258,
0.04732902720570564,
0.01622846908867359,
-0.011601383797824383,
0.0065269810147583485,
-0.01635352522134781,
0.014679694548249245,
0.04794469103217125,
0.014256427064538002,
-0.04044130817055702,
-0.1214393600821495,
-0.07295596599578857,
0.018950849771499634,
-0.029474826529622078,
-0.05483241006731987,
0.05860334262251854,
-0.018181273713707924,
-0.004857959225773811,
-0.005728543736040592,
-0.01564166694879532,
-0.07476447522640228,
-0.006652037147432566,
-0.10458561033010483,
-0.03553524985909462,
0.11512882262468338,
0.012419059872627258,
0.024241697043180466,
-0.027839472517371178,
-0.0316104032099247,
-0.019306780770421028,
-0.040749140083789825,
0.03455403819680214,
-0.011995792388916016,
0.018296709284186363,
-0.04609770327806473,
0.011966933496296406,
0.006474072113633156,
0.07845844328403473,
0.08634661883115768,
0.03264933452010155,
0.0019503984367474914,
-0.013958215713500977,
0.02585780993103981,
0.024126261472702026,
0.053716521710157394,
0.005733354017138481,
-0.013361793011426926,
-0.022106118500232697,
-0.033322714269161224,
0.04236525297164917,
0.008503833785653114,
-0.0319182351231575,
0.020105216652154922,
-0.006551030091941357,
0.010552833788096905,
-0.03128333389759064,
-0.011043439619243145,
0.015131820924580097,
0.016719074919819832,
-0.008186382241547108,
-0.022664062678813934,
0.03838268667459488,
0.001218097168020904,
0.021009471267461777,
0.011745679192245007,
-0.031687360256910324,
-0.03749767318367958,
-0.010119946673512459,
-0.048675790429115295,
0.050599731504917145,
0.029109276831150055,
0.006310536991804838,
0.003200962208211422,
0.03182203695178032,
0.007508192211389542,
-0.07845844328403473,
-0.056987229734659195,
-0.021124906837940216,
-0.07376401871442795,
-0.03693972900509834,
0.021779049187898636,
0.035400573164224625,
0.028031866997480392,
0.04367353394627571,
-0.0498686358332634,
-0.03132181242108345,
-0.028686009347438812,
-0.011264693923294544,
-0.018633399158716202,
0.03803637623786926,
0.018604541197419167,
-0.02918623387813568,
-0.018238991498947144,
0.01156290527433157,
-0.02022065408527851,
0.06633760035037994,
-0.11451315879821777,
0.06914655864238739,
-0.003970540128648281,
0.021221105009317398,
-0.0555250309407711,
-0.04717511311173439,
0.04909905791282654,
0.036651138216257095,
0.04732902720570564,
0.01814279332756996,
0.010610552504658699,
-0.04224981367588043,
-0.01120697520673275,
0.01940297707915306,
-0.025184430181980133,
0.009326319210231304,
0.024357134476304054,
0.0259732473641634,
0.019528033211827278,
0.08557704091072083,
0.025954008102416992,
0.03128333389759064,
0.009547573514282703,
-0.0004049301496706903,
0.007185931783169508,
0.03401533514261246,
0.0030927404295653105,
-0.024414852261543274,
-0.006151811685413122,
-0.04174958914518356,
0.0730329230427742,
0.0038262440357357264,
0.04559747874736786,
0.055409595370292664,
0.047906212508678436,
-0.023587556555867195,
0.0332457572221756,
-0.03857508301734924,
-0.043327223509550095,
0.025838570669293404,
-0.013236735947430134,
-0.009821735322475433,
0.05498632788658142,
-0.0938115194439888,
-0.034303925931453705,
0.07160920649766922,
-0.015189539641141891,
-0.06372103095054626,
-0.03538133576512337,
-0.014670074917376041,
0.06256666779518127,
0.05741049721837044,
0.018296709284186363,
-0.043981365859508514,
-0.011764919385313988,
0.004028258379548788,
-0.030205924063920975,
0.0002507139870431274,
0.04875274747610092,
-0.05821855366230011,
-0.044366154819726944,
-0.02624259889125824,
-0.07103201746940613,
-0.03461175784468651,
-0.03060995228588581,
0.01159176416695118,
-0.03645874187350273,
-0.0555250309407711,
-0.009331129491329193,
0.03187975659966469,
0.053485650569200516,
0.033053360879421234,
-0.009586052037775517,
-0.02918623387813568,
0.02149045653641224,
-0.046174660325050354,
-0.02274102158844471,
-0.06064272299408913,
0.012871187180280685,
-0.0034294305369257927,
-0.012563356198370457,
-0.0335535891354084,
-0.010408538393676281,
-0.06518322974443436,
-0.027800993993878365,
-0.04848339408636093,
-0.03553524985909462,
0.003953705541789532,
0.08411484211683273,
0.08365309238433838,
-0.03967173025012016,
-0.010966482572257519,
-0.013977454975247383,
0.031206374987959862,
0.02312581054866314,
0.0038021947257220745,
0.027473922818899155,
-0.03717060387134552,
-0.04729054868221283,
0.0017543965950608253,
0.04817556217312813,
0.021182626485824585,
0.016805652529001236,
-0.0024410041514784098,
0.02858981117606163,
-0.026531191542744637,
-0.02912851609289646,
0.040210433304309845,
-0.0236067958176136,
0.0004235683591105044,
0.03778626397252083,
0.029551783576607704,
-0.016796033829450607,
0.02487659826874733,
0.010081468150019646,
-0.04205742105841637,
-0.018604541197419167,
0.025819331407546997,
0.04544356092810631,
-0.021394260227680206,
0.052177365869283676,
-0.0032057720236480236,
-0.002380880992859602,
-0.021451978012919426,
0.06995461136102676,
0.015218398533761501,
-0.03284172713756561,
0.016988428309559822,
-0.016988428309559822,
-0.02339516207575798,
0.03253389522433281,
0.010370058938860893,
0.060604244470596313,
-0.011784158647060394,
-0.019932061433792114,
-0.013871638104319572,
-0.07330227643251419,
-0.06006553769111633,
-0.014362243935465813,
0.04821404069662094,
-0.0004888020921498537,
0.004081166815012693,
0.012871187180280685,
0.0038142194971442223,
-0.010533594526350498,
0.03855584189295769,
0.035881560295820236,
-0.05887269228696823,
-0.06699173897504807,
0.005892079323530197,
-0.07434120774269104,
0.004939727019518614,
0.04694423824548721,
0.010187285020947456,
-0.012399820610880852,
0.04355809837579727,
0.02466496452689171,
0.009157974272966385,
-0.004153314512223005,
0.030186684802174568,
-0.02553074061870575,
0.039113786071538925,
0.04609770327806473,
-0.01694994792342186,
-0.0029123704880476,
-0.044904857873916626,
0.026531191542744637,
-0.016805652529001236,
0.060604244470596313,
-0.027127614244818687,
0.0019576132763177156,
0.018739216029644012,
-0.03455403819680214,
0.032283782958984375,
-0.0652986690402031,
0.008566361851990223,
-0.018065836280584335,
0.02497279644012451,
0.0259732473641634,
0.05860334262251854,
0.05071517080068588,
-0.032880205661058426,
-0.010216143913567066,
0.04128784313797951,
-0.03874823823571205,
-0.009384037926793098,
-0.027627838775515556,
-0.042172856628894806,
0.01404479332268238,
-0.03139876946806908,
-0.07033940404653549,
-0.060758158564567566,
-0.0003532241389621049,
-0.017671428620815277,
-0.00013332332309801131,
-0.017392456531524658,
0.01347722951322794,
-0.04336570203304291,
0.051138438284397125,
0.02989809401333332,
-0.030860064551234245,
-0.022317752242088318,
0.018113935366272926,
0.0033091839868575335,
0.01634390652179718,
0.00004982715108781122,
-0.0067289951257407665,
0.025396063923835754,
-0.0052042691968381405,
-0.01295776478946209,
-0.010879904963076115,
-0.01591101847589016,
-0.026146402582526207,
0.014852849766612053,
0.047482945024967194,
-0.06568345427513123,
-0.044520068913698196,
-0.028782205656170845,
-0.0070608751848340034,
0.046828802675008774,
0.005468811374157667,
-0.02083631604909897,
0.00430723000317812,
-0.01924906112253666,
-0.026800543069839478,
0.06052728369832039,
-0.012698031961917877,
-0.03466947376728058,
0.0198935829102993,
-0.002606944413855672,
0.024838119745254517,
0.052177365869283676,
-0.000508041528519243,
0.01574748381972313,
0.016113033518195152,
-0.04613618180155754,
0.0016762363957241178,
0.0002761160722002387,
0.005444762296974659,
0.012457539327442646,
-0.003547272179275751,
0.020797837525606155,
0.054909367114305496,
-0.041364800184965134,
-0.0038214342202991247,
0.02000902034342289,
-0.01755599118769169,
-0.036170151084661484,
-0.022317752242088318,
0.021240344271063805,
-0.00607966398820281,
-0.016863370314240456,
-0.010754847899079323,
-0.02366451360285282,
0.024626486003398895,
-0.07772734761238098,
0.0031143848318606615,
0.004651135299354792,
-0.03772854804992676,
0.0010822186013683677,
-0.005675635300576687,
0.025684654712677002,
-0.04259612411260605,
-0.024588007479906082,
-0.0236067958176136,
0.007185931783169508,
0.007460093591362238,
-0.0167767945677042,
-0.06314384937286377,
-0.009177213534712791,
0.03284172713756561,
-0.05325477570295334,
0.014891328290104866,
-0.01924906112253666,
-0.042172856628894806,
0.06872329115867615,
0.017517512664198875,
0.03432316333055496,
0.06429821252822876,
-0.010812566615641117,
-0.06756892055273056,
0.04063370078802109,
0.030802346765995026,
0.007902600802481174,
-0.058141592890024185,
0.022317752242088318,
0.012486398220062256,
-0.011428228579461575,
-0.0053629945032298565,
-0.02918623387813568,
0.011957312934100628,
-0.034303925931453705,
-0.004855554085224867,
0.06633760035037994,
-0.0406721793115139,
0.011418608948588371,
0.004179768729954958,
0.020201414823532104,
-0.02252938784658909,
-0.03270705044269562,
0.0067289951257407665,
0.04140327870845795,
0.01396783534437418,
0.005608297418802977,
0.016266947612166405,
0.028493614867329597,
-0.010562453418970108,
0.026204120367765427,
0.04794469103217125,
-0.054101310670375824,
-0.0007611604523845017,
0.0270121768116951,
-0.005401473492383957,
0.025549979880452156,
0.04044130817055702,
0.036170151084661484,
-0.020817076787352562,
-0.020259132608771324,
0.02220231667160988,
0.018287090584635735,
0.028339698910713196,
-0.11151180416345596,
-0.020759359002113342,
0.07699624449014664,
0.01123583409935236,
-0.02022065408527851,
-0.011745679192245007,
0.004004208836704493,
0.013438750058412552,
-0.01880655437707901,
-0.03472719341516495,
-0.0037420715671032667,
0.029609501361846924,
-0.07280205190181732,
0.0008910266915336251,
0.019095147028565407,
0.029474826529622078,
0.048137083649635315,
-0.009730348363518715,
0.017969639971852303,
-0.07318683713674545,
-0.010783707723021507,
-0.02793567068874836,
-0.0005290846456773579,
-0.0323607437312603,
0.07472599297761917,
-0.08265264332294464,
0.012447918765246868,
0.028551332652568817,
0.021355781704187393,
0.021894484758377075,
-0.032995644956827164,
0.013130919076502323,
-0.029878854751586914,
-0.008864573203027248,
0.026608148589730263,
0.02624259889125824,
-0.007561100646853447,
0.0013611905742436647,
-0.043327223509550095,
0.058795735239982605,
-0.00046805955935269594,
-0.03867127746343613,
0.03886367380619049,
0.008864573203027248,
-0.043481141328811646,
0.0724557414650917,
0.010177665390074253,
-0.009283031336963177,
-0.06656847149133682,
-0.021682851016521454,
0.011707200668752193,
0.06014249846339226,
0.03389989584684372,
0.004677589517086744,
0.009836165234446526,
0.013660004362463951,
-0.01623808965086937,
-0.05186953768134117,
-0.058949653059244156,
0.013419510796666145,
-0.010023749433457851,
-0.016959568485617638,
-0.008090185932815075,
0.02437637373805046,
-0.010033369064331055,
0.01110115833580494,
-0.05179257690906525,
0.02437637373805046,
-0.006666466593742371,
0.048021648079156876,
0.03060995228588581,
0.0198935829102993,
-0.046713367104530334,
0.008042086847126484
] |
708,732
|
pathvalidate._filepath
|
__validate_unix_filepath
| null |
def __validate_unix_filepath(self, unicode_filepath: str) -> None:
match = _RE_INVALID_PATH.findall(unicode_filepath)
if match:
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=findall_to_str(match), value=repr(unicode_filepath)
)
)
|
(self, unicode_filepath: str) -> NoneType
|
[
-0.030806561931967735,
0.02991807460784912,
0.02626161091029644,
0.10538817197084427,
-0.061066363006830215,
-0.02626161091029644,
0.041861385107040405,
0.062125712633132935,
0.013472530990839005,
-0.03840995579957962,
0.07135230302810669,
0.0396059975028038,
0.044014256447553635,
0.009423082694411278,
-0.012584044598042965,
0.07893861085176468,
-0.009004469029605389,
0.020554793998599052,
-0.01392531767487526,
0.04210059344768524,
-0.05262574180960655,
-0.04883258789777756,
0.0026526448782533407,
0.029337141662836075,
-0.022878527641296387,
0.053753435611724854,
-0.03844412788748741,
0.00999547354876995,
0.0008575176470912993,
-0.0622624009847641,
0.0109437620267272,
0.014087636955082417,
0.006104073487222195,
0.03147292509675026,
0.009986930526793003,
-0.029183365404605865,
0.0033190096728503704,
-0.002430523280054331,
-0.026740027591586113,
-0.06096384674310684,
0.002319462364539504,
0.051703080534935,
0.007244582287967205,
0.03249810263514519,
-0.019717566668987274,
-0.035676151514053345,
-0.06444944441318512,
0.005249759182333946,
-0.05505199357867241,
0.014984667301177979,
-0.0026270155794918537,
-0.006924214772880077,
-0.0645177885890007,
0.02988390251994133,
-0.007526506204158068,
-0.0019446321530267596,
0.017120452597737312,
0.04996028169989586,
-0.06250160932540894,
-0.02504848502576351,
-0.03454845771193504,
-0.04015275835990906,
0.029713040217757225,
-0.039366789162158966,
0.053377535194158554,
-0.0335916243493557,
0.02697923593223095,
-0.06649979948997498,
-0.014121809974312782,
0.010217594914138317,
-0.002274611033499241,
0.028892898932099342,
-0.027098840102553368,
-0.036086224019527435,
0.07982710003852844,
0.00562992924824357,
-0.041827213019132614,
0.061442259699106216,
0.01879490725696087,
0.009047185070812702,
0.015112814493477345,
-0.004480876959860325,
0.044766053557395935,
0.033865004777908325,
0.04862755164504051,
0.008073266595602036,
0.047260649502277374,
0.030464835464954376,
-0.04531281441450119,
0.07401776313781738,
0.003976831678301096,
-0.047294821590185165,
-0.039674341678619385,
-0.02064022608101368,
0.049413520842790604,
0.026740027591586113,
0.05648723989725113,
0.0061638751067221165,
0.009559772908687592,
-0.06335592269897461,
0.004015275742858648,
-0.028739122673869133,
0.00502763781696558,
-0.04162217676639557,
0.017530523240566254,
-0.021785005927085876,
0.020127637311816216,
-0.0019916193559765816,
-0.03360871225595474,
-0.0190512016415596,
-0.03666715696454048,
-0.019717566668987274,
0.0025266336742788553,
0.061442259699106216,
-0.01795767992734909,
0.0054932390339672565,
-0.02414291352033615,
-0.058845147490501404,
0.035300254821777344,
-0.00213471706956625,
0.027252616360783577,
0.01729985885322094,
-0.09663999825716019,
-0.016035472974181175,
0.026210352778434753,
-0.012584044598042965,
0.004075077828019857,
0.03588118776679039,
0.024279603734612465,
0.11058240383863449,
-0.05624803155660629,
0.050199490040540695,
0.047944098711013794,
-0.06861849874258041,
-0.05723903700709343,
0.006616661790758371,
0.023818273097276688,
0.008765261620283127,
0.02098195068538189,
-0.004912305157631636,
0.014258500188589096,
0.03506104648113251,
0.020691484212875366,
-0.03483892232179642,
-0.023100649937987328,
0.047294821590185165,
-0.02245137095451355,
0.031062856316566467,
-0.00774435605853796,
0.042954906821250916,
-0.04777323827147484,
0.02622743882238865,
-0.025783196091651917,
0.030704043805599213,
0.04052865505218506,
-0.02957635000348091,
-0.0015826165908947587,
-0.02045227587223053,
0.007701640482991934,
0.02747473679482937,
-0.013891145586967468,
-0.023220254108309746,
-0.01150760892778635,
-0.04312577098608017,
0.029935160651803017,
0.033865004777908325,
-0.005036180838942528,
-0.013207693584263325,
0.007539320737123489,
0.016035472974181175,
-0.01097793411463499,
0.019068287685513496,
0.04503943398594856,
0.05330919101834297,
-0.011780989356338978,
-0.006390268448740244,
0.05293329432606697,
-0.002021520398557186,
0.03191716969013214,
0.02788480743765831,
0.031712133437395096,
0.0003900477313436568,
0.043672531843185425,
0.04818330705165863,
0.08071558177471161,
0.031558357179164886,
-0.04240814596414566,
0.01152469590306282,
0.02932005561888218,
0.002161414362490177,
-0.03229306638240814,
0.030020592734217644,
-0.011874964460730553,
0.020366845652461052,
-0.017000848427414894,
0.03082364797592163,
0.0833810418844223,
-0.001529222005046904,
-0.06800339370965958,
-0.05122466757893562,
0.04097289964556694,
-0.006116888020187616,
-0.020623140037059784,
-0.046543024480342865,
-0.06096384674310684,
-0.00700964592397213,
-0.0053010182455182076,
0.03418964520096779,
-0.0133956428617239,
0.021938782185316086,
0.009508514776825905,
-0.061715640127658844,
-0.03905923664569855,
0.08809685707092285,
-0.010952305048704147,
-0.008359462022781372,
-0.08960045129060745,
0.06991705298423767,
-0.021409107372164726,
0.05505199357867241,
0.04138296842575073,
0.05576961487531662,
0.0042139035649597645,
-0.05576961487531662,
0.07449617981910706,
-0.004668825771659613,
-0.00822704378515482,
0.06274081766605377,
0.02004220522940159,
0.06332175433635712,
-0.03943513333797455,
-0.08297096937894821,
0.003393762279301882,
0.048046618700027466,
0.007368457969278097,
0.00014870402810629457,
0.04743150994181633,
0.011311116628348827,
0.025031398981809616,
0.02757725492119789,
-0.05679479241371155,
-0.0334036760032177,
0.01692396029829979,
-0.01677018404006958,
0.039366789162158966,
-0.009030099026858807,
-0.01598421484231949,
0.07271920889616013,
-0.030430663377046585,
-0.009739179164171219,
0.03010602481663227,
0.06742245703935623,
-0.037111397832632065,
-0.008222771808505058,
0.009687920100986958,
0.005125883966684341,
-0.038922544568777084,
-0.050575386732816696,
0.022810183465480804,
0.031028684228658676,
-0.002014045137912035,
0.11058240383863449,
0.005954568274319172,
-0.012455897405743599,
-0.03222472220659256,
-0.0573415532708168,
0.014070550911128521,
0.061032190918922424,
0.01652243174612522,
0.02029849961400032,
-0.02675711363554001,
0.025116831064224243,
-0.04531281441450119,
0.019136633723974228,
-0.027833549305796623,
-0.010046732611954212,
0.017855161800980568,
-0.03656463697552681,
0.029627608135342598,
-0.016257595270872116,
-0.012182516977190971,
0.03376248851418495,
0.036462120711803436,
0.038239091634750366,
0.02366449683904648,
0.0002181170420954004,
-0.006501329131424427,
-0.10292774438858032,
-0.09452129900455475,
0.02638121508061886,
-0.009645204991102219,
-0.031524185091257095,
0.032617706805467606,
0.0096195749938488,
-0.019973861053586006,
-0.0020108416210860014,
-0.0008313542930409312,
-0.02675711363554001,
0.0096195749938488,
-0.07490625232458115,
-0.03174630552530289,
0.07969040423631668,
0.04708978533744812,
0.011430720798671246,
-0.05071207880973816,
0.027252616360783577,
-0.042510662227869034,
-0.03690636530518532,
0.019785910844802856,
-0.001993755344301462,
0.023100649937987328,
-0.016471173614263535,
-0.03022562898695469,
0.011405091732740402,
0.05389012396335602,
0.10996729135513306,
-0.0035304524935781956,
-0.013472530990839005,
-0.012045826762914658,
0.015608316287398338,
0.04466353356838226,
-0.023630324751138687,
0.008299659937620163,
-0.023835359141230583,
-0.016129447147250175,
-0.0035090947058051825,
0.02504848502576351,
-0.024245429784059525,
-0.03324989974498749,
0.0430232509970665,
0.046167127788066864,
-0.015258047729730606,
-0.015608316287398338,
-0.04746568575501442,
0.04924265667796135,
-0.017855161800980568,
-0.024006223306059837,
-0.0034599716309458017,
-0.0014672842808067799,
-0.008235586807131767,
0.007231767755001783,
0.00445097591727972,
-0.01988842897117138,
-0.024023309350013733,
0.00195958255790174,
0.006462885066866875,
-0.011029193177819252,
-0.01078998576849699,
0.0022852898109704256,
-0.007116435561329126,
0.00967937707901001,
0.03384792059659958,
-0.07634149491786957,
-0.04288656264543533,
-0.055667098611593246,
-0.029764298349618912,
-0.05037035048007965,
-0.004694455303251743,
0.025031398981809616,
0.03449719771742821,
0.01214834488928318,
-0.059972841292619705,
-0.009781895205378532,
-0.05843507498502731,
0.008632842451334,
-0.01633448339998722,
0.02632995694875717,
0.003697043750435114,
-0.03475349396467209,
0.03560780733823776,
0.0019446321530267596,
0.04538115859031677,
0.0024113012477755547,
-0.058879319578409195,
0.014890692196786404,
-0.00431855721399188,
0.014711286872625351,
-0.012011654675006866,
-0.04442432522773743,
0.019495444372296333,
0.01533493585884571,
0.002120834542438388,
-0.01469419989734888,
0.016385741531848907,
-0.02947383187711239,
-0.023561978712677956,
-0.027645600959658623,
-0.04753402993083,
-0.012532785534858704,
-0.004280113149434328,
0.03010602481663227,
0.022058386355638504,
0.11174426972866058,
-0.0013925317907705903,
0.018128542229533195,
0.01758178137242794,
0.032019685953855515,
0.013421272858977318,
0.023903705179691315,
0.0053693633526563644,
-0.054505232721567154,
0.03512939065694809,
-0.07893861085176468,
0.05242070555686951,
0.01005527563393116,
0.06738828867673874,
-0.02682545781135559,
0.10244933515787125,
-0.05406098812818527,
0.01141363475471735,
0.025099745020270348,
-0.026500819250941277,
0.026398301124572754,
-0.04531281441450119,
-0.05105380341410637,
0.02757725492119789,
-0.08215083181858063,
-0.04719230532646179,
0.03343784809112549,
-0.008726817555725574,
-0.058879319578409195,
-0.010089447721838951,
-0.013540876097977161,
0.03635960444808006,
0.05645306780934334,
0.0018987128278240561,
-0.01014924980700016,
-0.020383931696414948,
0.06807173788547516,
-0.004536407068371773,
-0.010909589007496834,
-0.006749080494046211,
-0.004510778002440929,
-0.04551784694194794,
0.0133956428617239,
-0.042579010128974915,
-0.0006636951584368944,
-0.0211357269436121,
-0.011362375691533089,
0.0050575388595461845,
-0.009474341757595539,
0.005787977017462254,
0.02550981566309929,
0.022553889080882072,
0.03468514606356621,
0.008312474936246872,
-0.0006845190655440092,
0.010892502963542938,
0.015292219817638397,
0.0014170933282002807,
-0.04893510416150093,
0.008876321837306023,
-0.02195586822926998,
-0.027594340965151787,
0.015881696715950966,
-0.00247110310010612,
-0.08645657449960709,
-0.05276243016123772,
-0.025817368179559708,
0.013515247032046318,
-0.02807275764644146,
0.08543139696121216,
0.03728226199746132,
-0.0550861656665802,
-0.03306195139884949,
-0.007223224733024836,
-0.005023366305977106,
0.010986478067934513,
0.01466002780944109,
0.04633798822760582,
-0.06820842623710632,
-0.023903705179691315,
-0.0061766901053488255,
0.04028944671154022,
-0.04100707173347473,
0.0035966618452221155,
0.009286392480134964,
0.03454845771193504,
-0.02460424229502678,
0.007381272502243519,
0.009337651543319225,
-0.03369414433836937,
-0.026654595509171486,
0.0026846816763281822,
0.02832905203104019,
0.00922659132629633,
-0.010021102614700794,
-0.025185175240039825,
-0.08611484616994858,
0.002688953187316656,
0.03806823119521141,
0.018504440784454346,
-0.039298441261053085,
-0.011695558205246925,
0.037487298250198364,
0.010183422826230526,
-0.013327297754585743,
0.0898054838180542,
0.02222924865782261,
-0.018504440784454346,
0.021785005927085876,
-0.03704305365681648,
0.026159094646573067,
0.02561233378946781,
-0.006104073487222195,
0.05935773625969887,
0.069062739610672,
-0.030157282948493958,
-0.043672531843185425,
-0.048730067908763885,
-0.0305673535913229,
0.03338659182190895,
0.028465742245316505,
0.0009194554295390844,
0.019649220630526543,
-0.00022946338867768645,
0.04500526189804077,
-0.02154579758644104,
0.032122205942869186,
0.0384782999753952,
-0.036017876118421555,
-0.08098896592855453,
-0.01889742538332939,
-0.052284013479948044,
0.013216237537562847,
0.007987835444509983,
-0.01620633527636528,
-0.009858783334493637,
0.005275388713926077,
-0.039640169590711594,
0.013267495669424534,
-0.018555698916316032,
0.018128542229533195,
-0.022929787635803223,
-0.0023707211948931217,
-0.021101554855704308,
-0.03912758082151413,
0.04958438128232956,
-0.058127522468566895,
0.030123110860586166,
-0.01939292624592781,
0.044355981051921844,
-0.005980197805911303,
-0.01776972971856594,
0.015907326713204384,
-0.0267912857234478,
-0.004702998325228691,
-0.05645306780934334,
-0.024023309350013733,
0.015087184496223927,
0.003368132747709751,
0.02704758010804653,
-0.016103819012641907,
0.06499620527029037,
0.007180509157478809,
0.008709730580449104,
0.03868333622813225,
0.02879038080573082,
-0.023339858278632164,
-0.009499971754848957,
-0.016727467998862267,
-0.03724808990955353,
-0.007171965669840574,
-0.04736316576600075,
-0.07005374878644943,
-0.0029345685616135597,
-0.06123722717165947,
-0.005125883966684341,
-0.013985119760036469,
0.05905018001794815,
-0.03916175290942192,
0.05183977261185646,
0.027030494064092636,
-0.01689833030104637,
-0.042237281799316406,
-0.029525090008974075,
0.07552135735750198,
0.035266079008579254,
-0.018777821213006973,
0.004694455303251743,
0.005510325077921152,
0.01495903730392456,
-0.016129447147250175,
0.03234432637691498,
-0.014113266952335835,
-0.03489018231630325,
0.040426138788461685,
0.07162567973136902,
-0.04493691399693489,
-0.04896927624940872,
0.010337199084460735,
-0.015087184496223927,
0.02822653390467167,
0.007705911993980408,
-0.05864011123776436,
0.008560226298868656,
0.03574449568986893,
-0.013916774652898312,
0.014685656875371933,
0.008073266595602036,
-0.0267912857234478,
0.008124525658786297,
0.037487298250198364,
-0.00043703499250113964,
0.04951603710651398,
-0.0073428284376859665,
0.011473436839878559,
0.0019424963975325227,
-0.05385595187544823,
0.034531369805336,
-0.005309561267495155,
0.015061555430293083,
0.023186082020401955,
0.006159603595733643,
0.037111397832632065,
0.02723553031682968,
0.018743649125099182,
-0.021221159026026726,
-0.009294936433434486,
0.021033210679888725,
-0.05330919101834297,
-0.004433889407664537,
0.018213974311947823,
-0.0198029987514019,
-0.01220814697444439,
-0.0011736138258129358,
-0.014984667301177979,
0.032993607223033905,
-0.008051909506320953,
0.011088995262980461,
-0.012199603952467442,
-0.028431568294763565,
-0.009559772908687592,
0.004651739727705717,
0.02498014084994793,
-0.06701238453388214,
-0.046201299875974655,
-0.023972049355506897,
0.03635960444808006,
-0.01689833030104637,
0.008876321837306023,
-0.08385945856571198,
-0.010935219004750252,
0.020435189828276634,
-0.03222472220659256,
0.03489018231630325,
-0.04555202275514603,
-0.0062279487028717995,
0.047602374106645584,
0.016061102971434593,
0.04387756437063217,
0.05430019646883011,
-0.017342573031783104,
-0.030328145250678062,
0.02629578486084938,
0.022400112822651863,
-0.01611236110329628,
-0.050541214644908905,
0.06021204963326454,
0.01714608073234558,
-0.009858783334493637,
0.00985024031251669,
-0.056692276149988174,
0.014856520108878613,
-0.01439519040286541,
-0.01795767992734909,
0.046953096985816956,
-0.07012209296226501,
-0.03974268585443497,
-0.006620933301746845,
-0.006860141176730394,
-0.026159094646573067,
-0.015856066718697548,
0.020999036729335785,
0.0354711152613163,
0.013344383798539639,
-0.002906803274527192,
0.01680435612797737,
0.05665810406208038,
0.021460367366671562,
-0.024877622723579407,
0.04015275835990906,
-0.05535954609513283,
-0.038614992052316666,
-0.02204130031168461,
0.03041357733309269,
0.006749080494046211,
0.061442259699106216,
0.08734506368637085,
0.002913210541009903,
-0.02550981566309929,
0.025287693366408348,
-0.07271920889616013,
-0.002187043661251664,
-0.10395292192697525,
-0.05153222009539604,
0.04063117131590843,
0.022314680740237236,
-0.03176339343190193,
0.03266896679997444,
-0.0028085571248084307,
0.02720135636627674,
-0.015206788666546345,
0.013498160988092422,
0.005886223167181015,
-0.01528367679566145,
-0.08645657449960709,
0.011704101227223873,
0.037863194942474365,
0.011669929139316082,
0.03289108723402023,
-0.03953764960169792,
-0.020469361916184425,
-0.07053215801715851,
-0.014762545004487038,
-0.019478358328342438,
-0.009448712691664696,
-0.0073428284376859665,
0.0883018895983696,
-0.07203575223684311,
0.004878132604062557,
0.005719631910324097,
0.01194330956786871,
0.032053861767053604,
-0.0226393211632967,
-0.017530523240566254,
-0.026688767597079277,
-0.029285883530974388,
-0.014916322194039822,
0.003611612366512418,
-0.004408259876072407,
0.012994115240871906,
-0.04104124382138252,
0.01469419989734888,
-0.028927071020007133,
-0.028175273910164833,
-0.04391173645853996,
-0.0011095402296632528,
0.013899688608944416,
0.05173725262284279,
-0.036086224019527435,
-0.003927708603441715,
-0.02195586822926998,
-0.03704305365681648,
0.048730067908763885,
0.03249810263514519,
0.019187891855835915,
0.06769584119319916,
-0.0014192290836945176,
0.007701640482991934,
-0.03166087716817856,
-0.011823705397546291,
-0.07435949146747589,
0.05676062032580376,
0.006821697112172842,
-0.04117793217301369,
0.008936123922467232,
0.03119954653084278,
-0.003964016679674387,
0.00030087868799455464,
-0.021972956135869026,
0.049823589622974396,
-0.027184270322322845,
0.028397396206855774,
0.013096633367240429,
0.01052514836192131,
-0.0027103109750896692,
0.004506506025791168
] |
708,733
|
pathvalidate._filepath
|
__validate_win_filepath
| null |
def __validate_win_filepath(self, unicode_filepath: str) -> None:
match = _RE_INVALID_WIN_PATH.findall(unicode_filepath)
if match:
raise InvalidCharError(
INVALID_CHAR_ERR_MSG_TMPL.format(
invalid=findall_to_str(match), value=repr(unicode_filepath)
),
platform=Platform.WINDOWS,
)
_drive, value = self.__split_drive(unicode_filepath)
if value:
match_reserved = self._RE_NTFS_RESERVED.search(value)
if match_reserved:
reserved_name = match_reserved.group()
raise ReservedNameError(
f"'{reserved_name}' is a reserved name",
reusable_name=False,
reserved_name=reserved_name,
platform=self.platform,
)
|
(self, unicode_filepath: str) -> NoneType
|
[
-0.01916373334825039,
-0.00268090283498168,
-0.01313005667179823,
0.0793248638510704,
-0.03274170681834221,
-0.03709789738059044,
0.029878562316298485,
0.032548487186431885,
0.026295242831110954,
-0.01759164035320282,
0.05311744660139084,
0.029702909290790558,
0.05912477523088455,
0.0006559538887813687,
-0.034621190279722214,
0.043456535786390305,
0.01847868785262108,
0.010829002596437931,
-0.03607911244034767,
0.024819757789373398,
-0.04458071291446686,
-0.022395748645067215,
-0.0000733488195692189,
0.00821616593748331,
-0.0021243025548756123,
0.07539023458957672,
-0.03860851377248764,
0.015211543068289757,
-0.016045894473791122,
-0.07623337209224701,
0.04029478132724762,
0.02852603606879711,
0.025294020771980286,
-0.0017708010273054242,
0.011197874322533607,
-0.035762935876846313,
0.008505992591381073,
-0.03246065974235535,
-0.06393766403198242,
-0.0923934355378151,
-0.02404688484966755,
0.06056512892246246,
0.008044904097914696,
0.018425991758704185,
-0.038046423345804214,
-0.03051091358065605,
-0.015589197166264057,
0.022448444738984108,
-0.03349701315164566,
0.06983960419893265,
-0.009950738400220871,
0.011874137446284294,
-0.07300135493278503,
0.02777072787284851,
0.018742166459560394,
-0.005809720605611801,
0.007557467091828585,
0.01654650643467903,
-0.0518878735601902,
-0.03709789738059044,
-0.038889557123184204,
-0.0308973491191864,
0.017143726348876953,
-0.021552614867687225,
0.05511988699436188,
-0.03906521201133728,
0.04328088089823723,
-0.04946386441588402,
-0.003249579109251499,
0.020182522013783455,
0.009441344998776913,
0.013595536351203918,
-0.04303496703505516,
-0.02067434974014759,
0.03542919456958771,
0.02204444259405136,
-0.021798528730869293,
0.045002277940511703,
0.03952191025018692,
0.011329613626003265,
0.03212691843509674,
0.0060248952358961105,
0.020393304526805878,
-0.0019398670410737395,
0.05132578685879707,
0.02510080300271511,
0.01576484926044941,
0.03181074559688568,
-0.03098517656326294,
0.05659537389874458,
-0.004949021153151989,
-0.01606345921754837,
-0.04015425965189934,
-0.009151517413556576,
0.05378492549061775,
0.0389246866106987,
0.06014356017112732,
-0.006573810707777739,
-0.0009523681947030127,
-0.04542384669184685,
-0.04777759686112404,
-0.02204444259405136,
0.008224948309361935,
-0.003190296236425638,
0.011276917532086372,
-0.035762935876846313,
0.026997854933142662,
0.016124939545989037,
-0.01781998947262764,
-0.019128603860735893,
-0.032162051647901535,
-0.040013737976551056,
-0.028192294761538506,
0.07869251072406769,
0.017784858122467995,
-0.00957308430224657,
-0.029281342402100563,
-0.01580876298248768,
0.05357414111495018,
-0.0164059828966856,
0.001756529207341373,
0.020428435876965523,
-0.08297844231128693,
-0.013586753979325294,
0.022940272465348244,
0.010670915246009827,
0.04243774712085724,
0.05325796827673912,
-0.0037326246965676546,
0.09562545269727707,
-0.05280127003788948,
0.056735895574092865,
0.007794598583132029,
-0.06576445698738098,
-0.05006108433008194,
0.04760194197297096,
0.012163965031504631,
0.013604318723082542,
0.022641662508249283,
-0.02090269885957241,
0.010187869891524315,
0.044369928538799286,
0.01713494211435318,
-0.033321358263492584,
0.021254004910588264,
0.04321061819791794,
-0.0332159698009491,
0.00856747105717659,
-0.0022922707721590996,
0.01875973306596279,
-0.021236438304185867,
-0.01690659485757351,
-0.020568957552313805,
0.012330835685133934,
0.005792155396193266,
-0.033233534544706345,
0.005616502370685339,
-0.045599497854709625,
0.022852445021271706,
0.0004081185907125473,
-0.015395979396998882,
-0.028578730300068855,
0.034217189997434616,
-0.04545897617936134,
0.013358404859900475,
0.034445539116859436,
-0.0183205995708704,
-0.049885429441928864,
0.007812163792550564,
0.020885132253170013,
0.020358175039291382,
0.03030012920498848,
0.0047426288947463036,
0.05715746060013771,
-0.03295248746871948,
-0.02051626145839691,
0.030633870512247086,
-0.016757288947701454,
0.03325109928846359,
0.006538680288940668,
0.041629742830991745,
0.004891933873295784,
0.009186647832393646,
0.04219183325767517,
0.056665632873773575,
0.017679467797279358,
-0.026769505813717842,
0.01644989661872387,
0.02318618632853031,
0.0177321620285511,
-0.01825033873319626,
0.02647089585661888,
0.02097295969724655,
0.044299669563770294,
-0.007153465412557125,
0.011399874463677406,
0.06126774102449417,
-0.008005382493138313,
-0.07078813016414642,
-0.04935847222805023,
0.03653580695390701,
0.004476953763514757,
-0.0016676050145179033,
0.006481593009084463,
-0.025768283754587173,
-0.03219718113541603,
0.016414765268564224,
-0.02229035645723343,
0.016081025823950768,
0.02626011334359646,
-0.02053382620215416,
-0.08220557123422623,
-0.03198639675974846,
0.09414996951818466,
-0.013244230300188065,
0.02359018847346306,
-0.07651441544294357,
0.04401862248778343,
0.005673589650541544,
0.04665341600775719,
0.017451118677854538,
0.08185426145792007,
0.02678707055747509,
-0.07791963964700699,
0.06270809471607208,
-0.023765841498970985,
-0.0187070369720459,
0.050412390381097794,
0.01647624373435974,
0.059019383043050766,
-0.0503421276807785,
-0.08536732196807861,
-0.006481593009084463,
0.027665335685014725,
0.009731171652674675,
0.00023768036044202745,
0.02915838547050953,
-0.0032649487257003784,
0.08606993407011032,
-0.016300590708851814,
-0.003030013060197234,
-0.011110047809779644,
0.01606345921754837,
0.00524763111025095,
0.003352775238454342,
-0.02487245388329029,
-0.03367266431450844,
0.04711011424660683,
0.024608975276350975,
-0.015843894332647324,
0.004509889055043459,
0.08888038247823715,
-0.04661828652024269,
-0.010442566126585007,
-0.022641662508249283,
0.013911711983382702,
-0.053679533302783966,
-0.03289979323744774,
0.028104467317461967,
0.03650067746639252,
-0.03219718113541603,
0.0732823982834816,
0.034761715680360794,
0.01637963578104973,
-0.020252782851457596,
-0.04061095789074898,
0.02845577336847782,
0.06140826269984245,
0.03794103115797043,
-0.015044673345983028,
-0.050623174756765366,
0.06376200914382935,
-0.04159461334347725,
0.00184984493535012,
-0.02090269885957241,
-0.038116686046123505,
0.014939281158149242,
-0.03504275903105736,
0.024608975276350975,
0.004057582467794418,
-0.016116155311465263,
0.016572853550314903,
0.014921716414391994,
0.033163271844387054,
0.05659537389874458,
-0.0034581669606268406,
-0.014183973893523216,
-0.13068577647209167,
-0.07015577703714371,
0.003967560362070799,
-0.04486175626516342,
-0.045072540640830994,
0.0518878735601902,
-0.0011735811131075025,
-0.021412091329693794,
0.0041893222369253635,
-0.010284478776156902,
-0.04672367870807648,
0.00965212844312191,
-0.02534671686589718,
-0.020323043689131737,
0.0908476933836937,
0.0534336194396019,
-0.0008590525831095874,
-0.044053755700588226,
-0.006327896844595671,
-0.018671905621886253,
-0.007746294140815735,
0.0055901543237268925,
-0.01549258828163147,
-0.020323043689131737,
0.009845346212387085,
-0.005309109576046467,
0.004224452655762434,
0.07946538180112839,
0.06857490539550781,
0.023379404097795486,
-0.020639218389987946,
-0.023326708003878593,
0.01313005667179823,
0.05259048566222191,
0.00480849901214242,
-0.0021385743748396635,
-0.031775616109371185,
-0.014763628132641315,
-0.016309374943375587,
0.029650213196873665,
-0.03906521201133728,
-0.04433479905128479,
0.029439430683851242,
0.011013438925147057,
-0.013209099881350994,
-0.029439430683851242,
-0.026506027206778526,
0.04928820952773094,
0.009494041092693806,
0.011320831254124641,
0.007469640579074621,
0.045002277940511703,
0.010741176083683968,
0.002700663637369871,
0.008690428920090199,
-0.03128378465771675,
-0.03372536227107048,
-0.00864651519805193,
-0.01293683797121048,
-0.012111268937587738,
0.03734381124377251,
0.0008914386271499097,
-0.020639218389987946,
0.0038380164187401533,
-0.005256413947790861,
-0.06899646669626236,
-0.043526794761419296,
-0.029211081564426422,
-0.0009622487123124301,
-0.010284478776156902,
0.007921947166323662,
0.03402397036552429,
0.021254004910588264,
0.027120811864733696,
-0.06390253454446793,
-0.02838551253080368,
-0.034621190279722214,
-0.020814871415495872,
-0.03477928042411804,
0.019075907766819,
0.015281804837286472,
-0.06927751749753952,
0.024942714720964432,
-0.01285779383033514,
0.025575065985322,
0.032934922724962234,
-0.05511988699436188,
0.029421865940093994,
0.024310365319252014,
0.03455093130469322,
-0.031248655170202255,
-0.06341070681810379,
-0.0037962987553328276,
0.03832746669650078,
0.0511150024831295,
0.030862219631671906,
0.025698022916913033,
-0.026277678087353706,
-0.044229406863451004,
-0.021570179611444473,
-0.03569267317652702,
-0.019444778561592102,
-0.012717272154986858,
0.0011658963048830628,
0.05097448080778122,
0.08445392549037933,
0.062532439827919,
0.01323544792830944,
0.015431109815835953,
0.020182522013783455,
0.012304487638175488,
0.047812726348638535,
0.01549258828163147,
-0.02929890900850296,
0.0020606284961104393,
-0.10735906660556793,
0.039486777037382126,
0.021043220534920692,
0.08691307157278061,
-0.03539406508207321,
0.06759124249219894,
-0.04008399695158005,
-0.025135934352874756,
-0.01916373334825039,
-0.03671146184206009,
0.024082016199827194,
-0.04008399695158005,
-0.03412936255335808,
0.028578730300068855,
-0.07156100124120712,
-0.023396970704197884,
0.008883646689355373,
0.00602928688749671,
-0.036816854029893875,
-0.03671146184206009,
-0.009748737327754498,
0.05157170072197914,
0.0503421276807785,
0.014579192735254765,
0.0033637534361332655,
-0.04465097561478615,
0.08817777037620544,
-0.028719253838062286,
-0.02007712982594967,
0.006709941662847996,
-0.024398190900683403,
-0.0679074227809906,
0.007166639436036348,
-0.07286083698272705,
-0.013103708624839783,
0.007583815138787031,
-0.026839766651391983,
0.018197642639279366,
-0.023906363174319267,
-0.03335649147629738,
0.0011148471385240555,
0.03801129385828972,
0.047882989048957825,
-0.014298148453235626,
-0.0008656395948491991,
0.020850002765655518,
0.015316935256123543,
-0.009757519699633121,
-0.04219183325767517,
0.02311592549085617,
-0.04791811853647232,
-0.013112490996718407,
0.0074784234166145325,
0.0202352162450552,
-0.09112873673439026,
-0.012576749548316002,
-0.05020160600543022,
0.0099156079813838,
-0.03342675045132637,
0.09365814179182053,
0.03699250519275665,
-0.030194738879799843,
-0.03351457789540291,
0.026435764506459236,
0.014544062316417694,
0.0012877555564045906,
0.03878416493535042,
0.04928820952773094,
-0.03748433291912079,
-0.025135934352874756,
0.04004886746406555,
0.016485027968883514,
-0.005506719462573528,
-0.0013514297315850854,
-0.021482352167367935,
0.06882081925868988,
0.0031683396082371473,
0.023836102336645126,
0.044159144163131714,
-0.012928055599331856,
-0.021306699141860008,
0.03695737570524216,
0.024433322250843048,
0.009063690900802612,
-0.034445539116859436,
-0.00480849901214242,
-0.04458071291446686,
-0.026347938925027847,
0.04106765240430832,
0.02158774435520172,
-0.04992056265473366,
0.02580341510474682,
0.033005185425281525,
0.03611424192786217,
-0.009151517413556576,
0.09871694445610046,
0.05747363716363907,
0.01683633215725422,
0.018144946545362473,
-0.02938673458993435,
0.00968725886195898,
0.01453527994453907,
-0.0003178220067638904,
0.029509691521525383,
0.01706468127667904,
-0.00865968968719244,
-0.015141282230615616,
-0.05989764630794525,
-0.040646087378263474,
0.011320831254124641,
0.04106765240430832,
-0.018180077895522118,
0.02425766922533512,
-0.017670683562755585,
-0.004015864804387093,
-0.034919802099466324,
0.0032386009115725756,
0.04493201896548271,
-0.020867567509412766,
-0.08157321810722351,
0.008501601405441761,
-0.05540093407034874,
0.012225443497300148,
0.011259352788329124,
-0.012392314150929451,
-0.004288127180188894,
0.03174048289656639,
-0.025135934352874756,
0.008435731753706932,
0.011742398142814636,
0.016010764986276627,
-0.0213769618421793,
0.016230329871177673,
-0.02334427461028099,
-0.03607911244034767,
0.008233730681240559,
-0.0717015266418457,
0.07384449243545532,
-0.006415723357349634,
0.006591375917196274,
-0.0010939884232357144,
-0.008606993593275547,
0.034515801817178726,
-0.03532380238175392,
0.005634067580103874,
-0.06144339218735695,
-0.058000598102808,
-0.00912516936659813,
0.02334427461028099,
-0.01072361133992672,
-0.028894906863570213,
0.012506488710641861,
-0.013244230300188065,
0.025294020771980286,
0.03592102229595184,
0.00732472725212574,
-0.03107300214469433,
-0.011066134087741375,
-0.007882424630224705,
-0.03650067746639252,
-0.017679467797279358,
-0.04166487231850624,
-0.0930960476398468,
-0.04999082162976265,
-0.06309453397989273,
0.011039786040782928,
-0.031318917870521545,
0.06151365488767624,
-0.0404353030025959,
0.07679545879364014,
0.06000303849577904,
-0.00728520518168807,
-0.061548784375190735,
-0.011742398142814636,
0.06776689738035202,
0.021622875705361366,
-0.02258896641433239,
-0.004292518366128206,
-0.0038555816281586885,
-0.023309143260121346,
-0.018601644784212112,
0.01113639585673809,
-0.044229406863451004,
-0.04626698046922684,
0.008817777037620544,
0.05968686565756798,
-0.07043682038784027,
-0.05364440381526947,
0.020006868988275528,
0.0036118633579462767,
0.06586984544992447,
-0.008672863245010376,
-0.018355730921030045,
-0.002303248969838023,
0.010521610267460346,
-0.013569188304245472,
0.037589725106954575,
-0.002698468044400215,
-0.002696272451430559,
0.01102222129702568,
0.04626698046922684,
0.019023211672902107,
0.06608062982559204,
0.0009029658394865692,
0.0066967676393687725,
-0.016924159601330757,
-0.04022451862692833,
-0.005572589114308357,
-0.0049709780141711235,
-0.0027379898820072412,
0.004336431622505188,
-0.00856747105717659,
0.037273552268743515,
0.0610218271613121,
-0.002911447314545512,
-0.039732690900564194,
-0.010249348357319832,
0.03780050948262215,
-0.003943408373743296,
-0.016116155311465263,
0.02030547894537449,
-0.03028256446123123,
0.0020957589149475098,
-0.027963945642113686,
0.009485257789492607,
0.03302275016903877,
0.0016632135957479477,
-0.012322052381932735,
-0.004628454800695181,
-0.028824646025896072,
-0.003021230222657323,
-0.003545993473380804,
-0.0024481627624481916,
-0.011197874322533607,
-0.03945164754986763,
-0.008712384849786758,
0.021798528730869293,
-0.0198312159627676,
0.02647089585661888,
-0.03532380238175392,
-0.004790933337062597,
0.0232740119099617,
-0.030159607529640198,
0.054979365319013596,
-0.030423086136579514,
-0.030774392187595367,
0.06474567204713821,
0.028666557744145393,
0.007882424630224705,
0.048199161887168884,
-0.02151748351752758,
-0.06165417656302452,
0.061092086136341095,
0.013138839043676853,
-0.03246065974235535,
-0.06674811244010925,
0.03363753482699394,
0.03555215150117874,
-0.028666557744145393,
0.005572589114308357,
-0.0564548522233963,
-0.010600654408335686,
-0.009327170439064503,
0.028438208624720573,
0.04609132930636406,
-0.07265005260705948,
-0.04823429509997368,
-0.02640063501894474,
-0.055365800857543945,
0.0034406017512083054,
-0.01825033873319626,
-0.0022318901028484106,
0.03121352568268776,
0.06298913806676865,
-0.03217961639165878,
0.02952725626528263,
0.03335649147629738,
0.008224948309361935,
-0.05252022668719292,
0.05814111977815628,
-0.036816854029893875,
-0.06523749977350235,
-0.00197609537281096,
0.0177321620285511,
-0.0419810488820076,
0.042016178369522095,
0.07029630243778229,
0.025206195190548897,
-0.015641892328858376,
0.024433322250843048,
-0.05694667994976044,
0.02313349023461342,
-0.11101265251636505,
-0.04791811853647232,
0.08895064145326614,
-0.0077989897690713406,
-0.0450374111533165,
0.010627002455294132,
-0.015167630277574062,
0.02692759409546852,
-0.02571558766067028,
-0.01171605009585619,
-0.007127117365598679,
0.0028477730229496956,
-0.0679074227809906,
0.011127612553536892,
0.01453527994453907,
0.04134869948029518,
0.02380097098648548,
-0.05297692120075226,
-0.008712384849786758,
-0.03372536227107048,
-0.03133648261427879,
-0.030932480469346046,
0.02021765150129795,
0.02692759409546852,
0.10461888462305069,
-0.07904382050037384,
0.024749496951699257,
0.03217961639165878,
0.024310365319252014,
0.024099580943584442,
-0.018355730921030045,
0.006551854312419891,
-0.02251870557665825,
-0.01884755864739418,
-0.032548487186431885,
0.0029882953967899084,
0.0010961840162053704,
-0.02227279171347618,
-0.06211087480187416,
0.06341070681810379,
0.016309374943375587,
-0.04479149729013443,
-0.012515271082520485,
0.029246212914586067,
-0.0009622487123124301,
0.03762485831975937,
-0.004527454264461994,
0.009248126298189163,
-0.03787077218294144,
-0.05729798600077629,
0.004375953692942858,
0.05273100733757019,
0.028807079419493675,
0.03224987909197807,
0.023625317960977554,
0.013657014816999435,
-0.007676032837480307,
-0.0328119657933712,
-0.030423086136579514,
0.03787077218294144,
0.017679467797279358,
-0.029738040640950203,
-0.007289596367627382,
0.01962043158710003,
-0.011847790330648422,
0.00635424442589283,
-0.023256447166204453,
0.05013134330511093,
-0.007346683647483587,
0.04226209223270416,
-0.02053382620215416,
0.004773368127644062,
0.02740185707807541,
-0.004391323309391737
] |
708,734
|
pathvalidate._filepath
|
__init__
| null |
def __init__(
self,
min_len: int = DEFAULT_MIN_LEN,
max_len: int = -1,
fs_encoding: Optional[str] = None,
platform: Optional[PlatformType] = None,
check_reserved: bool = True,
additional_reserved_names: Optional[Sequence[str]] = None,
) -> None:
super().__init__(
min_len=min_len,
max_len=max_len,
fs_encoding=fs_encoding,
check_reserved=check_reserved,
additional_reserved_names=additional_reserved_names,
platform=platform,
)
self.__fname_validator = FileNameValidator(
min_len=min_len,
max_len=max_len,
check_reserved=check_reserved,
additional_reserved_names=additional_reserved_names,
platform=platform,
)
if self._is_windows(include_universal=True):
self.__split_drive = ntpath.splitdrive
else:
self.__split_drive = posixpath.splitdrive
|
(self, min_len: int = 1, max_len: int = -1, fs_encoding: Optional[str] = None, platform: Optional[~PlatformType] = None, check_reserved: bool = True, additional_reserved_names: Optional[Sequence[str]] = None) -> NoneType
|
[
0.021936452016234398,
0.013103161007165909,
-0.02873266115784645,
0.021722959354519844,
-0.03245100378990173,
-0.02218552865087986,
0.016527950763702393,
0.005973368883132935,
0.006569371558725834,
-0.03268228843808174,
0.04796486347913742,
0.03967420011758804,
0.007307703141123056,
0.02003280259668827,
0.024231506511569023,
0.04131098464131355,
0.002884385408833623,
0.01178661733865738,
0.002822116483002901,
0.04565201699733734,
-0.003342506941407919,
0.04757345840334892,
0.00011314041330479085,
0.021171433851122856,
0.009162426926195621,
0.10589275509119034,
-0.021651795133948326,
-0.005750979762524366,
0.03707669675350189,
-0.05582853779196739,
0.00979401171207428,
0.05280404910445213,
0.03108108788728714,
0.034016624093055725,
0.022772634401917458,
-0.06753509491682053,
0.013761431910097599,
0.010007505305111408,
-0.07084424793720245,
-0.043232426047325134,
-0.029942456632852554,
-0.02257693186402321,
0.007329941727221012,
-0.005857726559042931,
-0.003333611413836479,
0.028394630178809166,
0.015149139799177647,
-0.0038406583480536938,
-0.01552275288850069,
0.0821949765086174,
-0.01871625892817974,
0.036098185926675797,
-0.012124649249017239,
-0.03634725883603096,
-0.03335835039615631,
0.09998609870672226,
0.03373196721076965,
0.03878464549779892,
-0.03120562620460987,
-0.011421899311244488,
-0.04038584604859352,
0.008281766436994076,
0.04316125810146332,
-0.04800044372677803,
-0.03156144917011261,
-0.013272176496684551,
-0.006738387048244476,
-0.04561643302440643,
-0.006773969158530235,
0.06796208024024963,
0.029782336205244064,
0.0010140938684344292,
-0.04241403192281723,
0.001455536112189293,
0.05451199412345886,
0.05130959302186966,
-0.08824396133422852,
0.0069385371170938015,
0.013378922827541828,
-0.04643482714891434,
0.05120284482836723,
0.016910459846258163,
-0.017159536480903625,
-0.03494176268577576,
0.051451921463012695,
-0.00841075275093317,
-0.011626497842371464,
0.008201707154512405,
0.08212381601333618,
0.015229200012981892,
-0.050847023725509644,
0.07408222556114197,
-0.0060089509934186935,
0.0590665228664875,
0.01621660776436329,
-0.0558641217648983,
0.0054618739522993565,
0.020691074430942535,
-0.011884468607604504,
-0.003391432575881481,
-0.04145331308245659,
0.01907208189368248,
-0.0063781170174479485,
0.0030934312380850315,
0.024729657918214798,
0.01602090522646904,
-0.012809607200324535,
-0.01573624648153782,
-0.025441303849220276,
-0.025921663269400597,
-0.017417507246136665,
-0.014295165427029133,
-0.0010974897304549813,
0.05287521332502365,
-0.05333778262138367,
0.036133766174316406,
-0.003922942094504833,
-0.015246991068124771,
0.03357184678316116,
-0.05657576397061348,
0.016705863177776337,
0.03542212396860123,
-0.07358407974243164,
-0.012355933897197247,
0.05255497246980667,
-0.0074322409927845,
0.008900008164346218,
-0.005630889907479286,
0.0349239706993103,
0.013512356206774712,
0.036418426781892776,
0.0414888933300972,
0.00343146244995296,
-0.021207015961408615,
0.004950379487127066,
-0.03364301100373268,
0.014917855150997639,
0.061664026230573654,
-0.07329941540956497,
0.006000055465847254,
0.019570233300328255,
-0.002535234671086073,
0.05056236684322357,
-0.04198704659938812,
-0.05280404910445213,
0.036685291677713394,
0.038286492228507996,
-0.09301198273897171,
-0.0069830152206122875,
0.03675645589828491,
-0.01723959669470787,
-0.02282600849866867,
-0.03953187167644501,
0.018146943300962448,
0.011679871007800102,
-0.02581491693854332,
-0.0012131320545449853,
-0.07315708696842194,
0.03853556886315346,
0.048818837851285934,
-0.03497734293341637,
-0.05415617302060127,
-0.02238123118877411,
-0.05355127528309822,
0.00037500346661545336,
0.02741611748933792,
-0.021954244002699852,
-0.08155450224876404,
0.02857254073023796,
0.0006099018501117826,
0.0371122770011425,
0.028501376509666443,
0.005101603921502829,
0.033536262810230255,
-0.009367025457322598,
0.022238900884985924,
0.018965335562825203,
-0.025316765531897545,
-0.03255775198340416,
-0.03775275871157646,
0.015398215502500534,
-0.009455980733036995,
0.021883079782128334,
-0.018538348376750946,
0.0674283504486084,
0.0538715161383152,
-0.03572457283735275,
0.07372640818357468,
0.05070469528436661,
-0.005083812866359949,
-0.025245601311326027,
-0.01586078479886055,
-0.014570928178727627,
0.028714869171380997,
-0.018520556390285492,
-0.047822535037994385,
0.03778834268450737,
-0.005977816879749298,
-0.018520556390285492,
-0.02947988733649254,
-0.013814806006848812,
0.10155171900987625,
0.02263030596077442,
-0.04832068458199501,
-0.03181052580475807,
0.02529897354543209,
0.005497456528246403,
0.0398876927793026,
-0.03574236109852791,
0.015193616971373558,
0.014108358882367611,
-0.0762171596288681,
-0.015531648881733418,
0.04956606402993202,
0.01967697963118553,
-0.04504711925983429,
-0.0002189141814596951,
0.036934368312358856,
0.016910459846258163,
0.02405359596014023,
0.09393712133169174,
0.057999055832624435,
-0.0022472410928457975,
-0.012009006924927235,
0.01855613850057125,
-0.006947432644665241,
0.022932754829525948,
-0.022292274981737137,
0.021954244002699852,
0.05287521332502365,
-0.042200539261102676,
-0.06710810959339142,
-0.034888386726379395,
0.032664500176906586,
-0.010185416787862778,
0.018484974279999733,
0.04622133448719978,
-0.00975842960178852,
-0.022683680057525635,
-0.07166263461112976,
-0.008526395075023174,
-0.02289717271924019,
0.00029383148648776114,
0.0023462041281163692,
0.04234286770224571,
-0.04003002122044563,
-0.04138214886188507,
0.07564784586429596,
0.03442582115530968,
-0.013752536848187447,
-0.013049786910414696,
0.03572457283735275,
-0.06315848231315613,
0.007276568561792374,
0.0010830344399437308,
0.039247214794158936,
-0.04856976121664047,
-0.062304507941007614,
0.03686320409178734,
0.01637672632932663,
-0.013014204800128937,
-0.004318794701248407,
0.018209213390946388,
0.048747673630714417,
-0.0009662802913226187,
-0.02956884354352951,
0.022363439202308655,
-0.006057876627892256,
0.0014155061217024922,
-0.0347282700240612,
-0.008108303882181644,
0.04035026207566261,
-0.025548050180077553,
0.025281183421611786,
-0.010763628408312798,
-0.05237706005573273,
-0.03168598562479019,
-0.02716704271733761,
0.035938065499067307,
0.006604953669011593,
0.03654296323657036,
-0.007770271971821785,
-0.000958496646489948,
0.018182525411248207,
0.055757373571395874,
-0.007063074968755245,
-0.05056236684322357,
-0.12902121245861053,
-0.08212381601333618,
-0.043517082929611206,
-0.06906513124704361,
0.017355239018797874,
0.020299669355154037,
0.00001784324376785662,
0.057394158095121384,
-0.0423072874546051,
-0.001274289097636938,
-0.04369499161839485,
0.04049259051680565,
-0.08326244354248047,
-0.03442582115530968,
0.013138743117451668,
-0.00487921480089426,
0.010051983408629894,
-0.05152308568358421,
-0.039247214794158936,
-0.03392766788601875,
-0.038001835346221924,
0.023128457367420197,
0.0013432296691462398,
0.03921163082122803,
0.021972034126520157,
0.040243517607450485,
-0.008722096681594849,
0.06682345271110535,
0.09116170555353165,
0.024356044828891754,
0.025903873145580292,
-0.008148333057761192,
0.0359024815261364,
0.05056236684322357,
0.006475968286395073,
-0.02931976690888405,
-0.022808216512203217,
-0.026313068345189095,
-0.0015745142009109259,
0.05646901950240135,
-0.021260390058159828,
-0.013788118958473206,
0.015389319509267807,
-0.04081283137202263,
0.010977122001349926,
-0.005510799586772919,
-0.034052204340696335,
-0.022452395409345627,
0.01859172247350216,
-0.009037889540195465,
-0.02190086990594864,
0.012711755931377411,
-0.025192227214574814,
0.05710949748754501,
-0.01678592339158058,
-0.020922359079122543,
-0.01374364085495472,
-0.031063297763466835,
-0.07614599913358688,
0.055686209350824356,
-0.05846162512898445,
-0.011466377414762974,
-0.010140938684344292,
-0.0000718594528734684,
-0.009304756298661232,
-0.05995607748627663,
-0.05728740990161896,
0.04721763730049133,
-0.06312289834022522,
-0.05789230763912201,
0.025992827489972115,
0.02138492837548256,
0.002466294215992093,
0.025992827489972115,
-0.022363439202308655,
-0.010105356574058533,
-0.035333167761564255,
-0.029942456632852554,
-0.05152308568358421,
0.024035803973674774,
0.018858589231967926,
-0.05202123895287514,
0.01250715833157301,
0.013209907338023186,
-0.035653404891490936,
0.012774025090038776,
-0.08397409319877625,
0.037646010518074036,
-0.018324853852391243,
-0.026402024552226067,
-0.014295165427029133,
-0.09315431118011475,
0.012738442979753017,
0.0005190003430470824,
0.05629110708832741,
0.016207711771130562,
0.0013209907338023186,
-0.049494899809360504,
-0.01621660776436329,
-0.001886970829218626,
-0.0024195925798267126,
0.04543852433562279,
0.059671420603990555,
0.007410001941025257,
0.03643621504306793,
0.0530531220138073,
0.052768465131521225,
0.0036449560429900885,
0.012195813469588757,
-0.03679203987121582,
0.015202512964606285,
0.022914964705705643,
0.030066994950175285,
-0.022274482995271683,
-0.030654102563858032,
-0.04700414091348648,
0.06408362090587616,
0.019694771617650986,
0.03168598562479019,
0.0754343569278717,
0.010941539891064167,
-0.008566425181925297,
0.06187751889228821,
0.010567925870418549,
-0.011484168469905853,
0.0046123480424284935,
-0.018965335562825203,
-0.03476385027170181,
0.013619103468954563,
-0.0414888933300972,
-0.04565201699733734,
0.057073917239904404,
-0.029035110026597977,
-0.06885164231061935,
0.014090567827224731,
0.004027464892715216,
0.042520780116319656,
0.04497595503926277,
0.024480583146214485,
-0.010220998898148537,
-0.039282795041799545,
0.01978372596204281,
-0.07835209369659424,
-0.036934368312358856,
0.08824396133422852,
-0.06753509491682053,
-0.014241792261600494,
-0.007147582713514566,
-0.025725960731506348,
-0.039603035897016525,
0.00018472188094165176,
-0.0054618739522993565,
-0.031294580549001694,
-0.012498262338340282,
-0.06550690531730652,
0.05326661840081215,
0.05750090256333351,
-0.018609512597322464,
-0.005888861138373613,
-0.04042142629623413,
0.04401523247361183,
-0.027078086510300636,
-0.0030311623122543097,
-0.022007616236805916,
0.025565840303897858,
-0.04536736011505127,
-0.034052204340696335,
0.0024507269263267517,
-0.033696383237838745,
-0.01987268216907978,
-0.0012909682700410485,
-0.06301615387201309,
-0.0410974882543087,
-0.011226197704672813,
0.08682066947221756,
0.05725182592868805,
-0.04529619589447975,
-0.013814806006848812,
0.039638616144657135,
0.014108358882367611,
0.028394630178809166,
0.01175103522837162,
0.005653128959238529,
-0.010034192353487015,
-0.0039051510393619537,
0.01308536995202303,
0.01582520268857479,
0.034016624093055725,
-0.002495204797014594,
-0.013850388117134571,
-0.01131515298038721,
-0.008019347675144672,
-0.031739361584186554,
0.016385622322559357,
0.007027492858469486,
0.022594723850488663,
0.038357656449079514,
0.02003280259668827,
-0.05878186598420143,
0.0023373086005449295,
-0.03298473730683327,
-0.037325773388147354,
0.028519166633486748,
0.011555333621799946,
0.07365524023771286,
-0.028661496937274933,
0.05127401277422905,
0.04700414091348648,
0.05888861045241356,
0.03494176268577576,
0.050491202622652054,
-0.012631695717573166,
-0.01839601993560791,
-0.00035276456037536263,
-0.03771717846393585,
-0.005835487507283688,
-0.008054929785430431,
-0.004505601245909929,
0.0053907097317278385,
-0.07493620365858078,
-0.04615016654133797,
0.015015706419944763,
-0.036685291677713394,
-0.03143691271543503,
-0.01887637935578823,
0.042271703481674194,
0.0026575487572699785,
-0.0004978734068572521,
0.04369499161839485,
-0.06707252562046051,
0.011137241497635841,
0.011261779814958572,
0.06931420415639877,
-0.025921663269400597,
-0.005399605259299278,
0.031383536756038666,
-0.12069496512413025,
-0.007214299403131008,
-0.009749534539878368,
0.02924860268831253,
-0.017132850363850594,
0.06636088341474533,
0.02841242030262947,
-0.022594723850488663,
-0.015576126985251904,
0.012658382765948772,
0.0007589025190100074,
0.019445694983005524,
0.06895838677883148,
-0.04376615956425667,
0.043552663177251816,
0.007507853209972382,
0.008490812964737415,
0.007921496406197548,
0.060632139444351196,
0.0048436326906085014,
-0.01152864657342434,
-0.03268228843808174,
-0.00755233084782958,
0.02597503736615181,
0.00015205849194899201,
0.04106190800666809,
-0.016652489081025124,
0.004216495901346207,
-0.024800822138786316,
-0.020139548927545547,
0.016163233667612076,
-0.007058627437800169,
-0.0578567273914814,
0.0542629212141037,
-0.016928251832723618,
-0.0025419064331799746,
-0.00209045666269958,
-0.011866677552461624,
0.03921163082122803,
-0.024480583146214485,
-0.01510466169565916,
-0.05518805608153343,
-0.00014663775800727308,
-0.009060128591954708,
-0.03560003265738487,
-0.015585022047162056,
0.03739693760871887,
-0.02302171103656292,
0.07643065601587296,
0.01530036423355341,
0.0283234640955925,
-0.04497595503926277,
-0.010069774463772774,
0.00937592051923275,
0.052448224276304245,
-0.03675645589828491,
-0.034016624093055725,
-0.011839991435408592,
0.014419703744351864,
-0.027505073696374893,
-0.016492368653416634,
-0.036098185926675797,
-0.03028048761188984,
-0.004521168768405914,
-0.00035832429421134293,
-0.05490339919924736,
-0.031508076936006546,
0.0036227169912308455,
-0.02748728170990944,
0.043872904032468796,
-0.02931976690888405,
-0.02996024861931801,
0.0016779251163825393,
-0.040634918957948685,
-0.05198565497994423,
0.019605815410614014,
-0.009660578332841396,
-0.04778695106506348,
0.043517082929611206,
-0.041560057550668716,
0.06411919742822647,
0.08596669882535934,
-0.000029431796065182425,
-0.014473076909780502,
0.03483501449227333,
-0.04856976121664047,
0.016394518315792084,
-0.002619742648676038,
0.015211408957839012,
-0.005773218814283609,
-0.030636310577392578,
0.011519750580191612,
0.03408778831362724,
0.0034981791395694017,
-0.027202624827623367,
0.042236123234033585,
-0.026829009875655174,
-0.010576821863651276,
0.02417813427746296,
0.0034826118499040604,
0.006142384372651577,
-0.06379896402359009,
-0.009144635871052742,
-0.020797820761799812,
0.00828621443361044,
-0.05098935216665268,
-0.03367859125137329,
0.00911794975399971,
-0.05419175326824188,
0.03561782464385033,
-0.01306757889688015,
0.014508659020066261,
0.004458899609744549,
-0.01894754357635975,
-0.013592416420578957,
0.042591944336891174,
0.02398243173956871,
-0.001160870655439794,
-0.0030111472588032484,
0.0027465042658150196,
-0.002559697488322854,
-0.05821254849433899,
-0.015229200012981892,
-0.012044589035212994,
-0.018378227949142456,
0.03513746336102486,
-0.028661496937274933,
-0.0067650736309587955,
0.08091402053833008,
0.0046701692044734955,
-0.014357434585690498,
0.02928418479859829,
-0.022238900884985924,
0.009509353898465633,
-0.039247214794158936,
0.05355127528309822,
-0.011181719601154327,
-0.01701720803976059,
-0.010941539891064167,
0.075007364153862,
-0.0022216662764549255,
0.004309899173676968,
-0.025032106786966324,
0.06362105160951614,
-0.06347872316837311,
-0.032895781099796295,
0.016679175198078156,
0.01079031452536583,
0.004972618538886309,
0.021758541464805603,
-0.007045283913612366,
0.01250715833157301,
0.023608818650245667,
-0.008290662430226803,
-0.003378089051693678,
0.07529202103614807,
0.02010396681725979,
0.00997192319482565,
0.03149028494954109,
-0.017444193363189697,
-0.06301615387201309,
0.02652656100690365,
0.021918661892414093,
-0.03657854348421097,
0.04312567785382271,
0.03380313143134117,
-0.0014110582415014505,
0.029853500425815582,
0.020370833575725555,
0.017711061984300613,
0.014953437261283398,
-0.06632529944181442,
0.02038862556219101,
0.029711171984672546,
-0.053729183971881866,
0.007587912958115339,
-0.006422594655305147,
0.04081283137202263,
0.03143691271543503,
-0.03447919338941574,
-0.02462291158735752,
-0.042591944336891174,
-0.0007233202923089266,
-0.06636088341474533,
0.016768131405115128,
-0.007925944402813911,
0.008602007292211056,
0.07707113772630692,
0.02549467608332634,
0.03481722250580788,
-0.06739276647567749,
-0.0022817112039774656,
-0.008615350350737572,
0.03878464549779892,
-0.00043560448102653027,
0.045829929411411285,
-0.037610430270433426,
0.0391048826277256,
0.029782336205244064,
0.0454741045832634,
0.028376838192343712,
-0.007445584051311016,
-0.01621660776436329,
-0.06689461320638657,
0.017088372260332108,
0.025957245379686356,
0.0029444305691868067,
0.01111055538058281,
0.027718566358089447,
-0.07507853209972382,
0.015149139799177647,
-0.015069079585373402,
-0.06728602200746536,
0.01823589950799942,
0.025370139628648758,
-0.02282600849866867,
0.0682467371225357,
0.04241403192281723,
0.0131654292345047,
-0.013983821496367455,
0.044548965990543365,
-0.01698162592947483,
0.056113194674253464,
0.024587329477071762,
0.010203207843005657,
0.009233592078089714,
0.03974536433815956,
-0.03243321552872658,
-0.027238206937909126,
-0.028874989598989487,
0.015362633392214775,
-0.0357067808508873,
-0.038962554186582565,
-0.01608317345380783,
0.01720401458442211,
-0.015451588667929173,
-0.011582019738852978,
-0.07835209369659424,
-0.0021694048773497343,
0.011324048973619938,
0.047182053327560425,
0.01444639079272747,
0.049886304885149,
0.01704389415681362,
0.015593918040394783
] |
708,745
|
pathvalidate._filepath
|
validate
| null |
def validate(self, value: PathType) -> None:
validate_pathtype(value, allow_whitespaces=not self._is_windows(include_universal=True))
self.validate_abspath(value)
_drive, tail = self.__split_drive(value)
if not tail:
return
unicode_filepath = to_str(tail)
byte_ct = len(unicode_filepath.encode(self._fs_encoding))
err_kwargs = {
ErrorAttrKey.REASON: ErrorReason.INVALID_LENGTH,
ErrorAttrKey.PLATFORM: self.platform,
ErrorAttrKey.FS_ENCODING: self._fs_encoding,
ErrorAttrKey.BYTE_COUNT: byte_ct,
}
if byte_ct > self.max_len:
raise ValidationError(
[
f"file path is too long: expected<={self.max_len:d} bytes, actual={byte_ct:d} bytes"
],
**err_kwargs,
)
if byte_ct < self.min_len:
raise ValidationError(
[
"file path is too short: expected>={:d} bytes, actual={:d} bytes".format(
self.min_len, byte_ct
)
],
**err_kwargs,
)
self._validate_reserved_keywords(unicode_filepath)
unicode_filepath = unicode_filepath.replace("\\", "/")
for entry in unicode_filepath.split("/"):
if not entry or entry in (".", ".."):
continue
self.__fname_validator._validate_reserved_keywords(entry)
if self._is_windows(include_universal=True):
self.__validate_win_filepath(unicode_filepath)
else:
self.__validate_unix_filepath(unicode_filepath)
|
(self, value: ~PathType) -> NoneType
|
[
0.05719733610749245,
0.020146505907177925,
-0.0018729222938418388,
0.04527810215950012,
-0.024381957948207855,
-0.03127862140536308,
0.08193536847829819,
-0.007285538595169783,
-0.029179636389017105,
-0.009126835502684116,
0.06619298458099365,
0.06319443136453629,
0.066118024289608,
0.0055145202204585075,
-0.0025019149761646986,
0.03646986186504364,
0.02921711839735508,
-0.0111977094784379,
0.009197114035487175,
0.0317658856511116,
-0.01082289032638073,
-0.024119583889842033,
-0.01830989494919777,
-0.0008708678651601076,
0.014093183912336826,
0.06251975893974304,
0.004043356981128454,
0.005317740608006716,
0.04816420376300812,
-0.051312681287527084,
0.022526605054736137,
0.04149243235588074,
0.015311344526708126,
-0.0026799538172781467,
-0.019921613857150078,
-0.06102048605680466,
-0.027905253693461418,
-0.0009856560500338674,
-0.033077750355005264,
-0.0571223720908165,
-0.050338152796030045,
0.05543568730354309,
-0.01840359903872013,
0.02098984830081463,
-0.0050413114950060844,
-0.017372846603393555,
-0.033565014600753784,
0.03369620069861412,
-0.07376432418823242,
0.027642879635095596,
-0.02432573400437832,
0.022526605054736137,
-0.04535306245088577,
-0.040405455976724625,
0.019603019580245018,
0.012331536039710045,
0.01741969957947731,
0.05056304484605789,
-0.0003235739714000374,
-0.022564087063074112,
0.00449782470241189,
-0.022732755169272423,
0.03425842896103859,
-0.04404119774699211,
0.016623210161924362,
-0.019022049382328987,
0.0262747909873724,
-0.04760197550058365,
-0.029760606586933136,
0.060195885598659515,
-0.008897258900105953,
0.031128693372011185,
-0.03427717089653015,
-0.014346186071634293,
0.05007578060030937,
-0.0034951844718307257,
-0.01179741881787777,
0.04726463928818703,
0.06975376605987549,
-0.039693303406238556,
0.012818800285458565,
-0.004055069759488106,
0.01620153896510601,
-0.06188257038593292,
0.05884653702378273,
0.03184084966778755,
0.02719309739768505,
-0.007491689175367355,
0.008161677047610283,
0.10150090605020523,
0.0065968092530965805,
-0.01945309154689312,
-0.03011668287217617,
-0.0306976530700922,
0.011263302527368069,
0.013737105764448643,
0.02938578650355339,
-0.037894170731306076,
-0.010569887235760689,
-0.021702002733945847,
-0.014814709313213825,
-0.009932695887982845,
0.02157081663608551,
0.00371304783038795,
0.04010560363531113,
-0.006437511183321476,
0.008892574347555637,
-0.0007244542939588428,
-0.0107010742649436,
-0.02456936612725258,
-0.005898709408938885,
-0.05918387323617935,
0.007665042765438557,
0.06982872635126114,
0.007177778519690037,
0.00645156716927886,
-0.04883887991309166,
-0.041379984468221664,
0.017550885677337646,
-0.02872985415160656,
0.040817756205797195,
0.05817186459898949,
-0.052774474024772644,
-0.011207079514861107,
0.07683783769607544,
0.01009199395775795,
-0.017775777727365494,
0.003720075823366642,
0.002347302157431841,
0.03744439035654068,
-0.040405455976724625,
0.047901831567287445,
0.01612657494843006,
0.023182537406682968,
-0.04775190353393555,
0.045877810567617416,
0.004209682811051607,
0.0025440820027142763,
-0.031072471290826797,
0.02563760057091713,
0.026799537241458893,
0.044003717601299286,
0.04973844438791275,
-0.09737790375947952,
0.037406906485557556,
0.013737105764448643,
-0.0031508198007941246,
0.0021341240499168634,
-0.010363737121224403,
0.07057836651802063,
-0.046515002846717834,
-0.012228460051119328,
0.025281522423028946,
0.009094038978219032,
0.03468947112560272,
-0.07878689467906952,
-0.006423455663025379,
-0.03736942633986473,
0.03954337537288666,
-0.011506934650242329,
-0.029891792684793472,
-0.038137804716825485,
0.02831755392253399,
-0.04662744700908661,
0.01642642915248871,
0.0947541669011116,
-0.006985683925449848,
-0.016641950234770775,
0.0025675082579255104,
0.019022049382328987,
-0.0008146450272761285,
0.021121034398674965,
0.032178185880184174,
0.018844010308384895,
-0.022489123046398163,
-0.026555905118584633,
0.04149243235588074,
0.009548506699502468,
0.04876391589641571,
0.0022559401113539934,
0.0041394042782485485,
0.00899564940482378,
0.020052801817655563,
0.04182976856827736,
0.052287209779024124,
0.052137281745672226,
-0.03575770556926727,
0.033340126276016235,
0.06042077764868736,
0.016623210161924362,
-0.069004125893116,
0.040967684239149094,
0.024794258177280426,
0.023669801652431488,
0.0023297325242310762,
-0.016501393169164658,
0.062219906598329544,
-0.03075387515127659,
-0.036750975996255875,
0.013062432408332825,
0.037069570273160934,
-0.03140980750322342,
0.018544156104326248,
-0.020952366292476654,
-0.0595586933195591,
-0.0005089335609227419,
0.025581376627087593,
0.026087382808327675,
-0.025618858635425568,
0.021027330309152603,
-0.03841891884803772,
-0.07177778333425522,
-0.019415609538555145,
0.010541776195168495,
-0.0009200628264807165,
-0.09078109264373779,
-0.028223849833011627,
0.023163797333836555,
-0.025656340643763542,
0.07605071365833282,
0.08395939320325851,
0.08171048015356064,
0.026499683037400246,
-0.05363655835390091,
0.07991135120391846,
-0.032178185880184174,
0.00068697240203619,
0.014505484141409397,
0.006995054427534342,
-0.005088164005428553,
-0.007613505236804485,
-0.04835161566734314,
-0.0011841928353533149,
0.03639489784836769,
-0.032834120094776154,
0.036676011979579926,
0.060683149844408035,
-0.012490833178162575,
-0.03182210773229599,
-0.028879782184958458,
-0.00036661955527961254,
-0.03583266958594322,
-0.02546893060207367,
-0.01684810034930706,
-0.06135782226920128,
-0.0214021485298872,
-0.003982448950409889,
0.007983638904988766,
0.01579860784113407,
-0.054985906928777695,
-0.006582753732800484,
0.07477633655071259,
-0.042129624634981155,
-0.00389811466448009,
0.008274123072624207,
0.04542802646756172,
-0.043179117143154144,
-0.06679269671440125,
0.0495135523378849,
0.027268061414361,
-0.005814375355839729,
0.04340400546789169,
0.0029071876779198647,
0.032290633767843246,
-0.022114304825663567,
-0.053599074482917786,
0.025450190529227257,
0.011610009707510471,
-0.00718246353790164,
0.01265950221568346,
-0.06274465471506119,
0.05820934474468231,
-0.03489562124013901,
-0.009820249862968922,
-0.03468947112560272,
0.013971367850899696,
0.003319488139823079,
0.005973673425614834,
0.06630542874336243,
0.01424311101436615,
0.0028228533919900656,
-0.02580626867711544,
0.007416725158691406,
-0.02278897725045681,
0.029591936618089676,
0.027492953464388847,
-0.03489562124013901,
-0.06862930953502655,
-0.0952039510011673,
0.025825008749961853,
0.009075297974050045,
-0.06480615586042404,
0.02351987361907959,
-0.00068697240203619,
0.018900234252214432,
-0.007135611027479172,
0.03566399961709976,
-0.06102048605680466,
0.014280593022704124,
-0.08665808290243149,
-0.033265162259340286,
0.04272933304309845,
0.02205808088183403,
0.028673632070422173,
-0.011694343760609627,
-0.023088833317160606,
-0.009445431642234325,
-0.029929274693131447,
0.014355557039380074,
0.013109284453094006,
-0.009323615580797195,
-0.017691442742943764,
-0.034801919013261795,
0.017054252326488495,
0.10457441955804825,
0.08433420956134796,
0.03491436317563057,
-0.011834900826215744,
-0.05772208049893379,
0.022489123046398163,
-0.000005824514573760098,
0.04126754030585289,
-0.016904324293136597,
-0.040180567651987076,
-0.053936414420604706,
-0.002115383045747876,
0.055548131465911865,
-0.007997694425284863,
-0.03671349212527275,
-0.001960770459845662,
0.017616478726267815,
0.011169597506523132,
0.0031719033140689135,
-0.010185698978602886,
0.024887962266802788,
0.03165344148874283,
0.009557876735925674,
0.005125646013766527,
0.010373108088970184,
0.03187832981348038,
0.05307433009147644,
0.0035186107270419598,
-0.010569887235760689,
-0.03976826369762421,
0.029198378324508667,
-0.047339603304862976,
0.013802698813378811,
-0.0013481760397553444,
0.03002297878265381,
0.03140980750322342,
-0.017110474407672882,
0.006193879060447216,
-0.07455144077539444,
-0.07260238379240036,
-0.03187832981348038,
-0.053449150174856186,
-0.023576097562909126,
0.02172074466943741,
-0.013905773870646954,
0.033752426505088806,
0.08448413759469986,
-0.027736585587263107,
-0.024400698021054268,
-0.016004759818315506,
0.025825008749961853,
0.004397091921418905,
0.012247201055288315,
0.0124158700928092,
0.0006073234253562987,
-0.005153757520020008,
0.03264670819044113,
0.01913449540734291,
0.04100516811013222,
-0.09040627628564835,
0.055960435420274734,
0.007107499986886978,
0.010804149322211742,
-0.004607927519828081,
-0.030585207045078278,
0.07166533917188644,
0.026724575087428093,
0.02953571453690529,
0.021027330309152603,
-0.007899303920567036,
-0.04190473258495331,
0.0026026475243270397,
-0.0020439333748072386,
-0.05967113748192787,
-0.036488600075244904,
0.0030102627351880074,
0.03084757924079895,
0.01823493093252182,
0.05404885858297348,
-0.010007659904658794,
0.030660171061754227,
0.03328390046954155,
0.0029493547044694424,
-0.013043691404163837,
0.024381957948207855,
0.004308072384446859,
0.002492544474080205,
0.0036568250507116318,
-0.056859999895095825,
0.08710786700248718,
0.007693154271692038,
0.0078009143471717834,
0.04876391589641571,
0.08178544044494629,
-0.04760197550058365,
0.01667943224310875,
0.015414419583976269,
-0.04591529071331024,
0.03497058525681496,
-0.00022152371820993721,
0.022507863119244576,
0.005908079911023378,
-0.05805942043662071,
-0.0447908379137516,
0.04272933304309845,
-0.02979808673262596,
-0.051650017499923706,
-0.002815825631842017,
-0.004636039026081562,
0.04055538401007652,
0.053449150174856186,
0.00903781596571207,
-0.0041839140467345715,
-0.008175733499228954,
0.04670241102576256,
-0.027324283495545387,
-0.010373108088970184,
0.02929208241403103,
-0.06814204156398773,
-0.0238384697586298,
-0.02946075052022934,
-0.05719733610749245,
-0.04850153997540474,
-0.03247804194688797,
0.021945634856820107,
-0.03680719807744026,
-0.059221357107162476,
-0.012565797194838524,
0.03384612873196602,
0.09377963840961456,
0.04760197550058365,
-0.03148477151989937,
0.0004146432038396597,
-0.004331498872488737,
-0.02668709307909012,
-0.03770676255226135,
-0.057084888219833374,
0.004050384741276503,
0.049850888550281525,
-0.0024948869831860065,
-0.041717324405908585,
0.006161082535982132,
-0.08178544044494629,
-0.020821180194616318,
-0.03401479870080948,
-0.052287209779024124,
0.0008292864076793194,
0.09303000569343567,
0.05015074461698532,
-0.1086224615573883,
-0.02880481816828251,
0.03084757924079895,
0.00767441326752305,
0.02719309739768505,
0.0543861947953701,
0.016988657414913177,
-0.040255527943372726,
-0.07376432418823242,
-0.004169858060777187,
0.05397389456629753,
0.04808923974633217,
0.03688216209411621,
0.018272412940859795,
0.041454948484897614,
-0.016969917342066765,
-0.03124113939702511,
0.05854668468236923,
-0.012575168162584305,
-0.01840359903872013,
0.05292440205812454,
0.0473770834505558,
-0.008480273187160492,
-0.04932614415884018,
0.02181444875895977,
-0.06102048605680466,
0.005219350568950176,
0.004240136593580246,
0.009735915809869766,
-0.02784902974963188,
0.02531900443136692,
-0.006273528095334768,
0.022676531225442886,
-0.007023165468126535,
0.03135358542203903,
0.0008503699791617692,
0.013887032866477966,
0.009454801678657532,
-0.00004026373062515631,
-0.01302495039999485,
0.02546893060207367,
-0.019959095865488052,
0.04666493088006973,
0.01099155843257904,
-0.015423789620399475,
-0.014674152247607708,
-0.06304451078176498,
-0.05884653702378273,
0.04044293984770775,
0.013821439817547798,
0.05097534507513046,
0.015620569698512554,
0.004928865935653448,
0.02953571453690529,
-0.005987728945910931,
0.010326255112886429,
0.0033897666726261377,
-0.05884653702378273,
-0.056297771632671356,
0.010448071174323559,
-0.0592588372528553,
0.017297884449362755,
-0.004083181265741587,
0.000021504491087398492,
-0.04902628809213638,
0.054536122828722,
0.005973673425614834,
0.0499633327126503,
0.009183058515191078,
0.05048808082938194,
-0.002452719956636429,
0.04014308378100395,
0.003595917019993067,
-0.021064812317490578,
0.00899096392095089,
-0.10187572240829468,
0.027717843651771545,
-0.007543226704001427,
0.04973844438791275,
-0.012743836268782616,
-0.015048971399664879,
0.008709849789738655,
-0.04377882555127144,
0.05626028776168823,
-0.0665678009390831,
-0.006287584081292152,
-0.00559885473921895,
0.0053599076345562935,
-0.019640499725937843,
0.028148885816335678,
0.035514071583747864,
-0.03099750727415085,
0.027305543422698975,
0.05543568730354309,
-0.00389811466448009,
0.0188158992677927,
-0.017710184678435326,
-0.019677981734275818,
-0.03199077770113945,
-0.011047781445086002,
-0.03150351345539093,
-0.050750453025102615,
0.004966347943991423,
-0.012575168162584305,
-0.018047520890831947,
-0.011366377584636211,
0.012603279203176498,
-0.04823916777968407,
0.02320127747952938,
-0.000357541925041005,
-0.05641021579504013,
-0.012265942059457302,
0.01977168768644333,
-0.044978246092796326,
0.057422228157520294,
-0.041642360389232635,
0.008527126163244247,
-0.008072658441960812,
-0.003043059492483735,
0.05056304484605789,
0.0026658980641514063,
0.011741195805370808,
-0.03249678388237953,
0.010448071174323559,
0.03931848332285881,
-0.09250526130199432,
-0.028017697855830193,
-0.027305543422698975,
0.0002797963097691536,
0.0064140851609408855,
0.006287584081292152,
0.0028884466737508774,
0.011535045690834522,
0.0001836026058299467,
-0.05322425812482834,
0.03656356409192085,
0.019022049382328987,
-0.04557795450091362,
0.02213304489850998,
0.00010139139340026304,
0.05101282522082329,
0.014196258969604969,
-0.004373665899038315,
0.05723481625318527,
0.04632759466767311,
-0.011300784535706043,
-0.015836089849472046,
0.029442010447382927,
0.01789759285748005,
0.0014477373333647847,
-0.021533334627747536,
0.007838396355509758,
0.046515002846717834,
-0.01229405403137207,
-0.004645409528166056,
-0.021308444440364838,
-0.00874264631420374,
-0.01558308769017458,
-0.015086453408002853,
0.04756449535489082,
-0.015751756727695465,
-0.002183319069445133,
0.006723310798406601,
-0.04340400546789169,
0.012116014957427979,
-0.05843423679471016,
-0.021552076563239098,
0.028786076232790947,
-0.03174714371562004,
-0.03939344733953476,
0.005814375355839729,
0.022732755169272423,
-0.06057070568203926,
-0.022938905283808708,
-0.011057152412831783,
0.02220800891518593,
0.006489049177616835,
-0.04655248299241066,
-0.07125303894281387,
-0.028017697855830193,
0.041567396372556686,
-0.06585564464330673,
0.01945309154689312,
-0.042279548943042755,
-0.05056304484605789,
0.03433339297771454,
0.011881752870976925,
0.05183742940425873,
0.03980574756860733,
-0.02507537230849266,
-0.08395939320325851,
0.08523377776145935,
0.027886511757969856,
0.0687042698264122,
-0.05862164497375488,
-0.018928345292806625,
0.005823745857924223,
-0.029610678553581238,
-0.019921613857150078,
-0.025281522423028946,
-0.012518945150077343,
-0.014214999973773956,
0.019509313628077507,
0.044565945863723755,
-0.05558561533689499,
0.006653032265603542,
-0.023950915783643723,
-0.033246420323848724,
0.0035232959780842066,
-0.03215944394469261,
0.017710184678435326,
0.033002786338329315,
0.020783698186278343,
-0.04853902384638786,
-0.01228468306362629,
0.021364666521549225,
-0.009454801678657532,
-0.0018096716376021504,
0.051312681287527084,
-0.03988071158528328,
-0.005734726320952177,
0.05127520114183426,
-0.020615030080080032,
-0.016257761046290398,
0.050413116812705994,
0.02554389461874962,
-0.00559885473921895,
-0.04745204746723175,
-0.029198378324508667,
-0.031372327357530594,
-0.010963447391986847,
-0.08793246746063232,
-0.01823493093252182,
0.09805257618427277,
0.022901423275470734,
0.005580113735049963,
0.022751495242118835,
-0.034239690750837326,
0.020896142348647118,
-0.02263905107975006,
-0.02310757339000702,
-0.0013036663876846433,
-0.015620569698512554,
-0.04808923974633217,
0.006020525470376015,
0.00863020122051239,
0.04917621612548828,
0.050413116812705994,
0.01057925820350647,
-0.005968987941741943,
-0.0895816758275032,
-0.04445349797606468,
-0.05108778923749924,
-0.004319785628467798,
-0.019153235480189323,
0.08261004090309143,
-0.04820168763399124,
-0.006301639601588249,
-0.004052727483212948,
-0.00730427959933877,
-0.0024058676790446043,
-0.03727572038769722,
0.04246696084737778,
-0.032290633767843246,
-0.006217305548489094,
0.02091488428413868,
0.007201204542070627,
-0.006723310798406601,
-0.012612649239599705,
-0.04362889751791954,
0.02996675670146942,
-0.00013470047269947827,
-0.016782507300376892,
-0.01111337449401617,
0.012753206305205822,
-0.003513925475999713,
0.0323655940592289,
0.03184084966778755,
0.02612486481666565,
-0.027324283495545387,
-0.05217476561665535,
0.008569292724132538,
0.02050258405506611,
0.012481463141739368,
0.03401479870080948,
0.0014278250746428967,
0.0006184508674778044,
-0.029254600405693054,
-0.038943663239479065,
-0.0250566303730011,
0.018197448924183846,
0.03558903560042381,
-0.02132718451321125,
-0.0003144963120575994,
0.01131952553987503,
-0.012865652330219746,
0.01314676646143198,
-0.03200951963663101,
0.018937716260552406,
0.019078273326158524,
0.03860632702708244,
0.02595619671046734,
0.016716914251446724,
-0.045465510338544846,
-0.00371304783038795
] |
708,746
|
pathvalidate._filepath
|
validate_abspath
| null |
def validate_abspath(self, value: PathType) -> None:
is_posix_abs = posixpath.isabs(value)
is_nt_abs = ntpath.isabs(value)
err_object = ValidationError(
description=(
"an invalid absolute file path ({}) for the platform ({}).".format(
value, self.platform.value
)
+ " to avoid the error, specify an appropriate platform corresponding to"
+ " the path format or 'auto'."
),
platform=self.platform,
reason=ErrorReason.MALFORMED_ABS_PATH,
)
if any([self._is_windows() and is_nt_abs, self._is_linux() and is_posix_abs]):
return
if self._is_universal() and any([is_posix_abs, is_nt_abs]):
ValidationError(
description=(
("POSIX style" if is_posix_abs else "NT style")
+ " absolute file path found. expected a platform-independent file path."
),
platform=self.platform,
reason=ErrorReason.MALFORMED_ABS_PATH,
)
if self._is_windows(include_universal=True) and is_posix_abs:
raise err_object
drive, _tail = ntpath.splitdrive(value)
if not self._is_windows() and drive and is_nt_abs:
raise err_object
|
(self, value: ~PathType) -> NoneType
|
[
0.03671323508024216,
0.03713201731443405,
-0.033310629427433014,
0.043204355984926224,
0.009501120075583458,
-0.05712886154651642,
0.06271262466907501,
-0.012790304608643055,
-0.00790451280772686,
-0.01557346060872078,
0.06452734768390656,
0.028355039656162262,
0.030536197125911713,
-0.024289363995194435,
0.00016726746980566531,
0.05290614441037178,
0.034654222428798676,
0.0059065730310976505,
0.019438469782471657,
0.01473589614033699,
0.0162888802587986,
-0.05548863112926483,
-0.045856643468141556,
-0.07122786343097687,
0.016829807311296463,
0.06969232857227325,
-0.008676642552018166,
-0.002700272249057889,
-0.024952435865998268,
-0.03343277424573898,
0.05723355710506439,
0.038911838084459305,
0.03741120547056198,
0.016149286180734634,
0.03516025096178055,
-0.05199878290295601,
-0.015564735978841782,
0.023382002487778664,
-0.05290614441037178,
-0.08180210739374161,
-0.028616778552532196,
0.016969401389360428,
0.0063471668399870396,
0.01759757474064827,
0.011551407165825367,
-0.028424836695194244,
-0.036085061728954315,
0.020764613524079323,
-0.07733509689569473,
0.02259678579866886,
-0.01879284903407097,
0.024446407333016396,
-0.02872147411108017,
0.0000012567212479552836,
-0.019037138670682907,
0.03873734548687935,
0.022073308005928993,
0.03678303211927414,
-0.034741468727588654,
-0.053290028125047684,
-0.007363585755228996,
0.003415691666305065,
0.0034418655559420586,
-0.05437187850475311,
0.05353431776165962,
-0.00889912061393261,
-0.0033175398129969835,
-0.051300812512636185,
-0.03734140843153,
0.0631663054227829,
-0.041529227048158646,
0.03985409811139107,
-0.057024165987968445,
-0.03420054167509079,
0.0734962671995163,
-0.028895966708660126,
0.017143893986940384,
0.0782424584031105,
0.05140550807118416,
0.0007721295696683228,
-0.03514280170202255,
-0.015049982815980911,
0.030850283801555634,
-0.032316021621227264,
0.008763888850808144,
-0.02430681325495243,
-0.005361283663660288,
0.05039345100522041,
0.06505082547664642,
0.061107292771339417,
0.03828366845846176,
-0.032752253115177155,
-0.04400702193379402,
-0.013758737593889236,
-0.004946863744407892,
0.02100890316069126,
0.026836955919861794,
-0.048683423548936844,
-0.009221931919455528,
-0.024446407333016396,
-0.030553646385669708,
0.021061250939965248,
0.011089001782238483,
-0.006717963609844446,
0.03392135351896286,
0.024498755112290382,
0.0256155077368021,
-0.02050287462770939,
-0.02113104797899723,
-0.018531110137701035,
-0.028267793357372284,
-0.03531729429960251,
-0.018443863838911057,
0.0492417998611927,
-0.025371218100190163,
-0.023643741384148598,
-0.010452103801071644,
-0.02784901112318039,
0.04676400497555733,
-0.02498733438551426,
0.02010154165327549,
0.08403561264276505,
-0.05168469622731209,
-0.03643404692411423,
0.06969232857227325,
0.035055555403232574,
-0.031757645308971405,
0.009693061001598835,
-0.048159945756196976,
0.018618356436491013,
0.002719902666285634,
0.014465432614088058,
-0.015407692641019821,
0.009937350638210773,
-0.03479381650686264,
0.03046640008687973,
0.013069492764770985,
0.03967960551381111,
-0.05454637110233307,
0.013339956291019917,
0.005527051631361246,
-0.0036730682477355003,
0.058489903807640076,
-0.06264282763004303,
-0.006726688239723444,
0.055034950375556946,
-0.015006359666585922,
-0.02025858499109745,
-0.031042225658893585,
0.04058696702122688,
0.01830426976084709,
-0.02732553333044052,
-0.02847718447446823,
0.03407839685678482,
0.005618660245090723,
-0.057861730456352234,
0.01565198227763176,
-0.08250007778406143,
0.06539981067180634,
0.008515236899256706,
-0.060444220900535583,
-0.023451799526810646,
0.06368978321552277,
-0.04861362650990486,
0.001729657407850027,
0.08375642448663712,
-0.02987312525510788,
-0.04512377455830574,
0.03158315271139145,
-0.008270947262644768,
-0.0016969400458037853,
0.035334743559360504,
0.02999527007341385,
-0.020834410563111305,
-0.003762495703995228,
-0.02688930369913578,
0.010478277690708637,
0.0003688881697598845,
0.014596302062273026,
0.004353589378297329,
0.00654347101226449,
0.007524991407990456,
0.03964470699429512,
0.01879284903407097,
0.04742707684636116,
0.03936551883816719,
-0.029454343020915985,
0.005400544498115778,
0.05953685939311981,
0.030553646385669708,
-0.0822208896279335,
0.059013381600379944,
0.04512377455830574,
-0.014055375009775162,
0.0023861858062446117,
-0.05339472368359566,
0.05025385692715645,
-0.006469311658293009,
-0.012641985900700092,
0.012048711068928242,
0.02280617691576481,
-0.027674518525600433,
0.012101058848202229,
-0.004632777534425259,
0.010923233814537525,
-0.001746016088873148,
0.022858524695038795,
-0.02013644017279148,
-0.0232424084097147,
0.011839319951832294,
-0.036678336560726166,
-0.03249051421880722,
-0.06875006854534149,
-0.035683728754520416,
0.004405937157571316,
-0.010076944716274738,
-0.011926566250622272,
0.03957490995526314,
-0.010216538794338703,
0.10574249178171158,
-0.0035574669018387794,
0.01870560273528099,
0.0580013245344162,
-0.042087603360414505,
0.06121198832988739,
0.000984247075393796,
0.02121829427778721,
0.02725573629140854,
0.03716691583395004,
0.023573944345116615,
-0.02887851744890213,
-0.047531772404909134,
-0.05461616814136505,
-0.010644045658409595,
0.015564735978841782,
0.03397370129823685,
0.04400702193379402,
-0.02510947920382023,
-0.03769039362668991,
-0.0337643101811409,
0.013235260732471943,
-0.012258102186024189,
-0.0031343225855380297,
-0.023382002487778664,
-0.04187821224331856,
-0.058489903807640076,
0.0054223560728132725,
0.005614297930151224,
0.02598194219172001,
-0.07838205248117447,
-0.0007492274162359536,
0.1052539125084877,
-0.014029201120138168,
-0.026679912582039833,
0.04460029676556587,
0.005404906813055277,
-0.06180526316165924,
-0.04892771318554878,
0.03598036617040634,
0.03311868757009506,
-0.017030473798513412,
0.002962011145427823,
0.025441015139222145,
-0.015791576355695724,
-0.060758307576179504,
-0.037550799548625946,
-0.012833927758038044,
0.0011865494307130575,
0.020607570186257362,
0.02915770560503006,
-0.059641554951667786,
0.04048227146267891,
-0.038667548447847366,
-0.01249366719275713,
-0.00033998783328570426,
0.03943531587719917,
0.030099965631961823,
0.014509055763483047,
0.051335711032152176,
-0.011106451041996479,
-0.009361525997519493,
0.0069142673164606094,
0.0021298998035490513,
-0.01003332156687975,
0.04313455894589424,
-0.00967561174184084,
-0.02411487139761448,
-0.060479119420051575,
-0.047810960561037064,
0.026104087010025978,
0.008401816710829735,
-0.005841138307005167,
0.027901358902454376,
-0.01922908052802086,
-0.04732238128781319,
0.014395635575056076,
0.06850577890872955,
-0.06585349142551422,
-0.013723839074373245,
-0.05021895840764046,
-0.04376273229718208,
0.06805209815502167,
0.017484154552221298,
0.03397370129823685,
-0.01406409963965416,
-0.009719234891235828,
-0.0040656765922904015,
-0.017423082143068314,
0.030012719333171844,
0.02078206278383732,
-0.011691001243889332,
-0.021165946498513222,
-0.013401028700172901,
0.04505397751927376,
0.05000956729054451,
0.07335667312145233,
0.053324926644563675,
-0.0468687005341053,
-0.008009208366274834,
-0.01608821377158165,
-0.003044895129278302,
0.03769039362668991,
0.02034583128988743,
-0.03308378905057907,
-0.056465789675712585,
-0.014840591698884964,
0.05479066073894501,
0.0023120264522731304,
-0.0034331409260630608,
0.04111044481396675,
0.006512934807687998,
0.003681792877614498,
-0.04425131157040596,
-0.004403756000101566,
0.0682963877916336,
0.01898479089140892,
-0.020625019446015358,
-0.021829018369317055,
0.04016818478703499,
-0.01513722911477089,
-0.006517297122627497,
0.03622465580701828,
-0.003801756538450718,
-0.04676400497555733,
0.02657521702349186,
-0.0021004541777074337,
0.007058223709464073,
0.05398799851536751,
0.008074643090367317,
0.004314328543841839,
0.0013381397584453225,
0.011429262347519398,
-0.08612952381372452,
-0.0568147748708725,
-0.030920080840587616,
0.008593758568167686,
-0.0216545257717371,
0.02128809131681919,
0.014709722250699997,
0.03556158393621445,
0.10727802664041519,
-0.0770559161901474,
0.002863859059289098,
-0.018618356436491013,
-0.022509539499878883,
0.03383410722017288,
-0.010076944716274738,
0.00507337087765336,
0.0015955163398757577,
0.007058223709464073,
0.00015772490587551147,
-0.007538078352808952,
0.08982876688241959,
-0.1092323362827301,
0.06522531807422638,
0.023294756188988686,
0.014474157243967056,
-0.022073308005928993,
-0.021427685394883156,
0.0196653101593256,
0.04798545315861702,
0.011638653464615345,
0.0016674945363774896,
-0.046449918299913406,
-0.027151040732860565,
-0.0029205691535025835,
0.04739217832684517,
-0.027953706681728363,
-0.05049814656376839,
-0.008750801905989647,
0.041773516684770584,
-0.012362797744572163,
0.0742640346288681,
-0.03678303211927414,
0.028826169669628143,
0.007908875122666359,
0.005762616638094187,
0.019124384969472885,
0.055837616324424744,
0.004855255130678415,
-0.014290940016508102,
0.019682759419083595,
-0.027901358902454376,
0.015041258186101913,
0.003535655327141285,
0.0036010900512337685,
-0.010120567865669727,
0.016192909330129623,
-0.04219229891896248,
0.034654222428798676,
-0.013767462223768234,
-0.02983822673559189,
0.01898479089140892,
0.017457980662584305,
0.03240326792001724,
0.061107292771339417,
-0.06264282763004303,
-0.05374370887875557,
0.028826169669628143,
-0.061072394251823425,
-0.0433090515434742,
-0.025685304775834084,
-0.040377575904130936,
0.03877224400639534,
0.0845939889550209,
-0.000534928753040731,
-0.01177824754267931,
0.0058629498817026615,
0.039225924760103226,
-0.047601569443941116,
0.02915770560503006,
0.007285064086318016,
-0.0822208896279335,
-0.02339945174753666,
-0.018531110137701035,
-0.01233662385493517,
0.005937109235674143,
0.018618356436491013,
-0.003378612222149968,
-0.03681793063879013,
-0.055628225207328796,
0.013270159251987934,
0.013060768134891987,
0.08487317711114883,
0.0595717579126358,
-0.006539108697324991,
-0.004432111047208309,
0.015276823192834854,
-0.0038759158924221992,
0.005361283663660288,
-0.053604114800691605,
0.013409753330051899,
0.034619323909282684,
0.013409753330051899,
-0.05629129707813263,
-0.029768429696559906,
-0.06930844485759735,
-0.021322989836335182,
-0.02847718447446823,
-0.025196725502610207,
0.00941387377679348,
0.038632653653621674,
0.04027288034558296,
-0.09457496553659439,
0.03591056913137436,
0.056744977831840515,
0.01835661754012108,
0.030954979360103607,
0.023050466552376747,
0.027709417045116425,
-0.02462089993059635,
-0.08354703336954117,
0.03484616428613663,
0.058455005288124084,
0.05067263916134834,
-0.0016751285875216126,
0.0035661915317177773,
0.044670093804597855,
0.005160617176443338,
-0.006534746382385492,
0.008768251165747643,
-0.029332198202610016,
-0.042925167828798294,
0.04777606204152107,
0.03140866011381149,
-0.02053777314722538,
-0.046380121260881424,
-0.013401028700172901,
-0.02692420221865177,
0.02383568324148655,
0.05255715921521187,
0.03709711879491806,
-0.021898815408349037,
-0.012790304608643055,
0.01169972587376833,
-0.011917841620743275,
0.005941471550613642,
0.053883302956819534,
0.007167281582951546,
-0.03657364100217819,
0.02216055430471897,
0.018600907176733017,
-0.01997939683496952,
-0.012066160328686237,
-0.024376610293984413,
0.025371218100190163,
-0.032665006816387177,
-0.05691947042942047,
-0.029419444501399994,
-0.027151040732860565,
-0.04634522274136543,
0.013845983892679214,
0.05116121843457222,
0.035683728754520416,
0.019717657938599586,
0.03385155647993088,
0.013113115914165974,
-0.05063774064183235,
0.03992389515042305,
0.024062523618340492,
-0.05573292076587677,
-0.04194800928235054,
-0.02919260412454605,
-0.029244951903820038,
-0.017571400851011276,
-0.03154825419187546,
-0.040621865540742874,
0.020642468705773354,
0.012484942562878132,
-0.009457496926188469,
0.052452463656663895,
-0.011036654002964497,
0.05653558671474457,
0.02955903857946396,
0.06662125885486603,
0.07419423758983612,
-0.041808415204286575,
0.006059254053980112,
-0.08473358303308487,
0.059083178639411926,
-0.012380247004330158,
0.01046955306082964,
-0.005692819599062204,
-0.022073308005928993,
0.034340135753154755,
-0.02411487139761448,
0.03027445822954178,
-0.0337643101811409,
0.013357405550777912,
0.022649133577942848,
0.03538709133863449,
-0.007084397599101067,
0.10043791681528091,
0.05737315118312836,
-0.03550923615694046,
-0.010443379171192646,
0.03554413467645645,
0.00126834271941334,
-0.04425131157040596,
-0.015049982815980911,
-0.027465127408504486,
-0.03348512202501297,
-0.018531110137701035,
0.0013883063802495599,
-0.04156412556767464,
0.00869845412671566,
-0.013531897217035294,
0.016419749706983566,
0.017231140285730362,
-0.0013021506601944566,
-0.05922277271747589,
-0.010774915106594563,
0.027203388512134552,
-0.05374370887875557,
-0.011045378632843494,
0.04861362650990486,
-0.00024183577625080943,
-0.013418477959930897,
-0.0046415021643042564,
0.03425288945436478,
0.001606422127224505,
-0.04306476190686226,
-0.004768009297549725,
-0.03352002054452896,
0.00411148089915514,
-0.049311596900224686,
0.05224307253956795,
0.027360431849956512,
-0.07579956948757172,
-0.08480338007211685,
-0.011228595860302448,
0.037829987704753876,
0.000861011678352952,
0.03967960551381111,
0.007106209173798561,
-0.037829987704753876,
-0.03591056913137436,
-0.07740489393472672,
0.03118181973695755,
-0.01635867729783058,
-0.00010844439384527504,
0.03086773306131363,
0.007193455472588539,
0.05140550807118416,
0.03126906603574753,
-0.018932443112134933,
0.009544743224978447,
-0.015547286719083786,
-0.054755762219429016,
0.015302997082471848,
0.021043801680207253,
0.04142453148961067,
-0.03884204104542732,
-0.03657364100217819,
0.02530142106115818,
0.011752073653042316,
-0.0337643101811409,
0.006892455741763115,
-0.03315358608961105,
0.02856443077325821,
0.03140866011381149,
-0.003845379687845707,
0.02692420221865177,
-0.009980973787605762,
-0.06260792911052704,
0.0051126317121088505,
-0.008310208097100258,
0.017841864377260208,
-0.040621865540742874,
-0.0005938200047239661,
0.07049499452114105,
0.01739690825343132,
-0.02903556078672409,
-0.0012432594085112214,
0.014308389276266098,
-0.052173275500535965,
-0.0021680700592696667,
0.00957091711461544,
0.050184059888124466,
0.031443558633327484,
-0.06487633287906647,
-0.0603744238615036,
-0.018461313098669052,
0.03744610399007797,
-0.008685367181897163,
0.034619323909282684,
-0.03908633068203926,
-0.02371353842318058,
-0.0290006622672081,
-0.004094031639397144,
0.05091692879796028,
0.026993999257683754,
-0.008763888850808144,
-0.040063489228487015,
0.07670693099498749,
0.04083125665783882,
0.029681183397769928,
-0.0321764275431633,
-0.01442180946469307,
-0.008742077276110649,
-0.019874701276421547,
-0.03229857236146927,
-0.03519514948129654,
0.04020308330655098,
-0.026121536269783974,
0.02395782805979252,
0.022910872474312782,
-0.015381518751382828,
0.0058629498817026615,
-0.01328760851174593,
-0.013845983892679214,
-0.008571946993470192,
-0.06323610246181488,
0.023451799526810646,
0.037795089185237885,
0.01898479089140892,
-0.04651971533894539,
0.005880399141460657,
0.004292516969144344,
-0.028529532253742218,
0.03276970237493515,
0.026435622945427895,
-0.03554413467645645,
-0.026749709621071815,
0.061107292771339417,
-0.035683728754520416,
0.04749687388539314,
0.07621835172176361,
0.032001934945583344,
-0.051614899188280106,
-0.02753492444753647,
-0.0032586485613137484,
-0.0036054523661732674,
0.00006045894406270236,
-0.02927985042333603,
-0.02268403209745884,
0.048439133912324905,
0.04690359905362129,
-0.026540318503975868,
0.06030462682247162,
-0.00539181986823678,
0.012790304608643055,
-0.016585517674684525,
0.0027940620202571154,
0.0002239775494672358,
0.01870560273528099,
-0.03078048676252365,
0.006940441206097603,
-0.018042530864477158,
0.041215140372514725,
-0.0009002725128084421,
0.008798787370324135,
-0.021898815408349037,
-0.10769680887460709,
0.010914509184658527,
-0.05144040659070015,
0.01755395159125328,
-0.015538562089204788,
0.05768723785877228,
-0.05465106666088104,
-0.025755101814866066,
0.009064888581633568,
0.033467672765254974,
-0.04536806419491768,
-0.0009193576406687498,
-0.011717175133526325,
-0.06550450623035431,
-0.019839802756905556,
0.028302691876888275,
0.01799018308520317,
-0.023102814331650734,
-0.000638533674646169,
-0.01026888657361269,
0.0723097175359726,
0.009326627478003502,
0.019368672743439674,
-0.011917841620743275,
0.006456224713474512,
-0.06613267958164215,
-0.009588366374373436,
0.0580013245344162,
-0.022753829136490822,
-0.013479550369083881,
-0.03765549510717392,
-0.002059012185782194,
0.009457496926188469,
-0.017972733825445175,
0.00027673429576680064,
0.027151040732860565,
-0.00434922706335783,
-0.017187517136335373,
-0.023015568032860756,
0.011132624931633472,
0.03198448568582535,
0.027377881109714508,
-0.036643438041210175,
0.005047196988016367,
0.04651971533894539,
-0.001979399938136339,
0.032438166439533234,
-0.022509539499878883,
0.0631663054227829,
-0.0014842773089185357,
0.015189576894044876,
0.017658647149801254,
-0.022945770993828773,
-0.07272849977016449,
-0.018321719020605087
] |
708,747
|
pathvalidate.error
|
InvalidCharError
|
Exception raised when includes invalid character(s) within a string.
|
class InvalidCharError(ValidationError):
"""
Exception raised when includes invalid character(s) within a string.
"""
def __init__(self, *args, **kwargs) -> None: # type: ignore[no-untyped-def]
kwargs[ErrorAttrKey.REASON] = ErrorReason.INVALID_CHARACTER
super().__init__(args, **kwargs)
|
(*args, **kwargs) -> None
|
[
-0.0061513385735452175,
-0.012346365489065647,
0.05836781486868858,
0.032137248665094376,
-0.022525783628225327,
-0.06322597712278366,
0.03306344524025917,
0.03259161114692688,
0.0813654363155365,
-0.058088209480047226,
0.04826703667640686,
0.054488278925418854,
0.059101782739162445,
0.016138525679707527,
-0.03040718473494053,
0.03753714635968208,
0.0091483686119318,
0.033115871250629425,
-0.011961907148361206,
0.03147318586707115,
-0.033884789794683456,
0.03771189972758293,
0.006605698727071285,
0.03963419422507286,
-0.005845519248396158,
0.13595856726169586,
-0.004967380780726671,
-0.0033749353606253862,
0.028502367436885834,
-0.06710550934076309,
0.002793878549709916,
-0.028537318110466003,
0.006898411549627781,
0.07269763946533203,
0.013517217710614204,
-0.05592126026749611,
-0.022840339690446854,
0.0084580909460783,
-0.07996740192174911,
0.017353065311908722,
-0.045995235443115234,
0.049560219049453735,
-0.04372343420982361,
-0.005382421426475048,
0.04092737287282944,
-0.03771189972758293,
0.004941167775541544,
0.02834508940577507,
-0.12288697063922882,
-0.007016370538622141,
0.013622069731354713,
0.0017289718380197883,
0.029515940696001053,
-0.033255673944950104,
0.022735487669706345,
0.027995580807328224,
0.028642170131206512,
0.05288054049015045,
-0.018786048516631126,
-0.015762805938720703,
-0.04155648872256279,
0.02699948288500309,
0.018611295148730278,
-0.05518729239702225,
-0.01353469304740429,
-0.023015093058347702,
-0.002533932216465473,
-0.04068271815776825,
0.009078467264771461,
0.027314040809869766,
0.04910585656762123,
0.0011047725565731525,
-0.052565984427928925,
0.0120842345058918,
0.08618864417076111,
-0.019537489861249924,
-0.07794025540351868,
0.015020101331174374,
0.01488029770553112,
-0.008340131491422653,
0.05413877218961716,
0.01422497071325779,
-0.0033880420960485935,
-0.018454015254974365,
0.0341818705201149,
-0.07367625832557678,
-0.0589270293712616,
-0.034706130623817444,
-0.004432196728885174,
0.050573788583278656,
-0.035405147820711136,
-0.026108238846063614,
-0.05952119082212448,
0.0338323637843132,
0.029026629403233528,
0.022158799692988396,
0.0479874312877655,
-0.021529685705900192,
0.03218967467546463,
-0.026947056874632835,
0.011219202540814877,
0.06077941879630089,
0.006347937043756247,
-0.005644552409648895,
0.010860957205295563,
-0.036139115691185,
0.031665414571762085,
-0.05969594419002533,
-0.0025601452216506004,
-0.022403454408049583,
-0.03336052596569061,
-0.0011206096969544888,
0.001911371247842908,
0.015439510345458984,
-0.019974375143647194,
0.007911984808743,
0.00701200170442462,
-0.02028893306851387,
0.02547912485897541,
-0.021652013063430786,
0.06976177543401718,
-0.00003467773422016762,
-0.07591310888528824,
0.01599872298538685,
0.053404804319143295,
0.05787850543856621,
-0.023277224972844124,
-0.01854139380156994,
0.051727164536714554,
0.03376246243715286,
-0.018751097843050957,
0.04082252085208893,
-0.008593524806201458,
-0.034636229276657104,
-0.010284269228577614,
0.036383770406246185,
0.03519544377923012,
0.031595513224601746,
-0.060185257345438004,
0.02754122018814087,
0.050678644329309464,
0.08402169495820999,
0.05515234172344208,
-0.03907497972249985,
-0.02743636816740036,
0.01684628054499626,
-0.018017131835222244,
0.021721914410591125,
-0.007977517321705818,
0.012984218075871468,
-0.013499741442501545,
0.02659755013883114,
0.007649853825569153,
0.03292364254593849,
0.02965574339032173,
-0.00948913861066103,
-0.014862822368741035,
-0.04512146860361099,
0.06291142106056213,
0.006968313362449408,
0.017536558210849762,
-0.044003043323755264,
0.026213090866804123,
-0.020061751827597618,
0.019065655767917633,
0.05592126026749611,
0.035544950515031815,
-0.0719287246465683,
-0.014950199984014034,
-0.012896840460598469,
-0.028554793447256088,
-0.021022899076342583,
0.011577448807656765,
0.04711366072297096,
-0.007282870355993509,
0.04547097533941269,
0.011210464872419834,
0.05218152701854706,
0.000522077374625951,
-0.018786048516631126,
0.050608739256858826,
0.02514709159731865,
0.007527526002377272,
0.009340598247945309,
0.0719287246465683,
0.019222933799028397,
-0.0028506736271083355,
0.07528399676084518,
0.006640649866312742,
-0.0021298136562108994,
0.03596436232328415,
0.002610387047752738,
-0.023399552330374718,
0.004205016884952784,
-0.01883847452700138,
0.003750656498596072,
0.017265688627958298,
-0.046869006007909775,
0.015491936355829239,
0.02133745700120926,
-0.06990157812833786,
0.06574243307113647,
-0.01876857317984104,
-0.04424769803881645,
0.00836197566241026,
0.00859789364039898,
-0.025269418954849243,
-0.02329470030963421,
-0.06203765049576759,
-0.04267491400241852,
-0.020481161773204803,
-0.012075496837496758,
0.024832535535097122,
0.0628415197134018,
0.025164566934108734,
-0.06790938228368759,
0.000940940750297159,
0.0031346487812697887,
0.03559737652540207,
0.01752782054245472,
0.10981537401676178,
0.01132405549287796,
0.05511739104986191,
-0.02689463086426258,
0.04554087668657303,
0.008484303951263428,
-0.014487101696431637,
-0.027348991483449936,
-0.02471020631492138,
0.06119883060455322,
-0.03753714635968208,
-0.05323005095124245,
-0.008523623459041119,
-0.00015864381566643715,
-0.020096702501177788,
0.013106545433402061,
0.06371528655290604,
-0.042919568717479706,
-0.003436099272221327,
-0.023574305698275566,
-0.0522514283657074,
-0.0031783373560756445,
-0.017405493184924126,
-0.004078320227563381,
0.03795655444264412,
0.003855508752167225,
-0.011026973836123943,
0.09359820932149887,
-0.06486866623163223,
-0.03091397136449814,
-0.0013729106867685914,
0.026684926822781563,
-0.038166262209415436,
-0.011280367150902748,
0.0030560095328837633,
-0.002940234960988164,
-0.029708169400691986,
-0.0176064595580101,
0.07444518059492111,
0.001047431374900043,
-0.0045130206272006035,
0.06448420137166977,
-0.0106163015589118,
0.057179488241672516,
-0.009821171872317791,
-0.04543602466583252,
-0.01415506936609745,
0.05487273633480072,
0.029079055413603783,
0.03900507837533951,
0.05983575060963631,
0.02921885810792446,
0.0017027587164193392,
0.019118081778287888,
-0.015701642259955406,
0.019729720428586006,
-0.04155648872256279,
0.01607736200094223,
0.002719608135521412,
-0.01810450851917267,
0.03189259395003319,
-0.013936626724898815,
0.01466185599565506,
0.008742066100239754,
0.04725346714258194,
0.009847384877502918,
-0.0020151312928646803,
-0.05291549116373062,
-0.057179488241672516,
0.01833168789744377,
-0.0182967372238636,
-0.01568416692316532,
0.016313280910253525,
0.014373512007296085,
-0.011481333523988724,
-0.00779402581974864,
0.026737352833151817,
-0.015491936355829239,
-0.011883268132805824,
-0.0432690754532814,
0.013097807765007019,
0.017510345205664635,
-0.011822104454040527,
-0.0009911825181916356,
-0.08507021516561508,
-0.04840684309601784,
-0.026737352833151817,
-0.007448886521160603,
-0.011568711139261723,
-0.00879886094480753,
0.00017489046149421483,
0.05518729239702225,
-0.038236163556575775,
0.021354932337999344,
0.02834508940577507,
0.10163689404726028,
0.03760704770684242,
-0.012783250771462917,
-0.00825712364166975,
0.05969594419002533,
0.009305647574365139,
-0.05284558981657028,
-0.012119186110794544,
-0.06392499059438705,
-0.04575058072805405,
0.006221240386366844,
0.03204987198114395,
0.008471197448670864,
-0.016051148995757103,
-0.0010561691597104073,
0.004176618997007608,
-0.04515641927719116,
0.010756105184555054,
-0.06029010936617851,
-0.012494906783103943,
-0.038166262209415436,
0.032678987830877304,
-0.007304714526981115,
-0.004665930289775133,
-0.026440270245075226,
0.05200677365064621,
0.004901847802102566,
0.025636402890086174,
0.024884961545467377,
-0.014102643355727196,
-0.048791300505399704,
-0.020411260426044464,
-0.018663721159100533,
0.01415506936609745,
0.005163978785276413,
-0.020655915141105652,
0.0169161818921566,
-0.02878197468817234,
-0.05945128947496414,
0.03994875028729439,
-0.04840684309601784,
-0.05759890004992485,
0.020987948402762413,
0.015727855265140533,
-0.04473700746893883,
0.05050388723611832,
-0.04896605387330055,
-0.016575410962104797,
-0.029673218727111816,
-0.019397687166929245,
-0.027611123397946358,
0.019432637840509415,
0.004744569305330515,
-0.003278820775449276,
0.010459023527801037,
0.020603489130735397,
0.02591601014137268,
-0.03030233271420002,
-0.05473293364048004,
0.0006438590353354812,
-0.003750656498596072,
-0.01321139745414257,
0.03259161114692688,
-0.0628415197134018,
0.008532361127436161,
0.011315317824482918,
-0.020341359078884125,
-0.02446555159986019,
-0.01375313475728035,
-0.030249906703829765,
-0.03248675912618637,
0.0032657142728567123,
0.017702573910355568,
0.017824901267886162,
0.05784355476498604,
-0.003575902432203293,
-0.03806140646338463,
0.045785531401634216,
0.016540460288524628,
-0.03516049310564995,
-0.009987187571823597,
-0.0064091007225215435,
-0.03907497972249985,
-0.016024935990571976,
0.03715268895030022,
-0.038341015577316284,
0.019170507788658142,
-0.036139115691185,
0.02467525564134121,
0.06668610125780106,
0.05756394937634468,
-0.0017005742993205786,
0.013228872790932655,
-0.032574135810136795,
0.031263478100299835,
-0.0022281126584857702,
-0.011350268498063087,
0.01897827722132206,
-0.07241803407669067,
-0.005924158729612827,
-0.03374498710036278,
0.0035387673415243626,
-0.04354868084192276,
-0.03963419422507286,
-0.01353469304740429,
-0.032644037157297134,
-0.011822104454040527,
0.05672512948513031,
0.05585135892033577,
-0.006684338208287954,
0.03575465455651283,
0.003121542278677225,
-0.030931446701288223,
0.03708278760313988,
-0.0214073583483696,
-0.04330402612686157,
0.026195615530014038,
-0.04739326983690262,
-0.08926431089639664,
-0.0050722332671284676,
-0.04155648872256279,
-0.03582455590367317,
-0.011175514198839664,
-0.006701813545078039,
0.043094322085380554,
0.019432637840509415,
-0.002433448564261198,
0.08192464709281921,
0.09024293720722198,
0.032242100685834885,
-0.01302790641784668,
0.010083301924169064,
0.0577736534178257,
-0.016121050342917442,
-0.014242446050047874,
0.052356280386447906,
0.008086738176643848,
0.0025361166335642338,
-0.02729656547307968,
0.02224617637693882,
-0.02547912485897541,
-0.02899167872965336,
-0.033150821924209595,
-0.02892177738249302,
0.009681368246674538,
-0.03669832646846771,
0.10506206750869751,
-0.052426181733608246,
-0.037257540971040726,
-0.06584728509187698,
0.03585951030254364,
0.03589446097612381,
0.016820067539811134,
0.01836663857102394,
0.060080405324697495,
-0.07126465439796448,
0.019030703231692314,
0.02076076716184616,
0.009192056953907013,
-0.01876857317984104,
0.003156492952257395,
0.006352305877953768,
-0.03704783692955971,
-0.013936626724898815,
-0.004744569305330515,
0.044981665909290314,
-0.013316250406205654,
0.004399430472403765,
-0.0019692585337907076,
0.018523918464779854,
-0.029813021421432495,
0.011262891814112663,
-0.0008153363596647978,
-0.046065136790275574,
0.07416557520627975,
-0.021721914410591125,
0.03998370096087456,
-0.019065655767917633,
0.034426525235176086,
0.008707115426659584,
-0.002970817033201456,
-0.010983285494148731,
0.037362392991781235,
0.01282693911343813,
-0.018663721159100533,
0.03991379961371422,
-0.02069086581468582,
-0.014688069000840187,
-0.018960801884531975,
0.04809228330850601,
-0.01709093526005745,
0.006819772534072399,
0.02285781502723694,
0.04816218465566635,
-0.05508244037628174,
-0.06291142106056213,
0.015290969982743263,
0.07381606101989746,
-0.020673390477895737,
-0.013054119423031807,
-0.004423459060490131,
-0.0027152393013238907,
0.011219202540814877,
0.0057668802328407764,
0.036453671753406525,
-0.027750926092267036,
0.02409856766462326,
-0.0032373168505728245,
-0.04169629141688347,
0.033220723271369934,
-0.018419064581394196,
-0.007584320846945047,
-0.04630979523062706,
0.02261316031217575,
0.02332965098321438,
-0.005434847436845303,
0.004084873478859663,
0.06430944800376892,
-0.00896487757563591,
-0.03107125125825405,
0.06574243307113647,
-0.024692730978131294,
0.03481098636984825,
-0.03531777113676071,
0.03760704770684242,
0.00013522950757760555,
0.0742354765534401,
0.02801305614411831,
-0.052496083080768585,
-0.019589915871620178,
-0.029411088675260544,
-0.020655915141105652,
0.029620792716741562,
-0.08968371897935867,
0.010659989900887012,
-0.030529513955116272,
-0.025199517607688904,
-0.052461132407188416,
0.02844994142651558,
-0.02602086216211319,
-0.049630120396614075,
0.01275703776627779,
0.03262656182050705,
0.021652013063430786,
0.04319917410612106,
-0.014618166722357273,
-0.0032984805293381214,
0.03087902069091797,
-0.040368158370256424,
-0.03750219568610191,
0.008484303951263428,
-0.054383426904678345,
0.015247281640768051,
-0.044037993997335434,
0.010948333889245987,
-0.01511621568351984,
0.00996097456663847,
0.017431706190109253,
0.029114006087183952,
-0.04456225410103798,
0.008073631674051285,
-0.0004224130534566939,
0.05794840678572655,
-0.022525783628225327,
-0.0076848044991493225,
0.01992194913327694,
0.030057677999138832,
-0.06186289340257645,
-0.025706304237246513,
0.023836437612771988,
-0.02116270177066326,
-0.009593991562724113,
0.032277051359415054,
-0.0781499594449997,
-0.01166482549160719,
0.007776550482958555,
-0.024587878957390785,
0.015491936355829239,
-0.028170336037874222,
-0.01039785984903574,
0.009698843583464622,
-0.004436565563082695,
-0.05518729239702225,
-0.029026629403233528,
0.0041154553182423115,
-0.012678398750722408,
0.03369256108999252,
0.007413935847580433,
0.04263995960354805,
0.1045028567314148,
0.0016186584252864122,
0.0058105685748159885,
0.04169629141688347,
-0.022910241037607193,
0.005260093603283167,
-0.0014570109779015183,
0.006168813910335302,
-0.023347126320004463,
-0.021512210369110107,
-0.01564047671854496,
-0.045925334095954895,
0.00353002967312932,
-0.010450285859405994,
0.032574135810136795,
0.0037441032472997904,
-0.020586013793945312,
0.0004215938679408282,
-0.03683812916278839,
0.029515940696001053,
-0.023015093058347702,
0.037327442318201065,
-0.0006252914317883551,
0.02170443907380104,
-0.08737696707248688,
-0.07842956483364105,
-0.005478536244481802,
0.035405147820711136,
-0.029917875304818153,
-0.04830198734998703,
-0.028152858838438988,
0.028974203392863274,
0.01647929660975933,
0.034094493836164474,
0.05102815106511116,
0.032102297991514206,
0.002051174407824874,
-0.00775907514616847,
-0.06368033587932587,
0.059101782739162445,
-0.0714743584394455,
0.025636402890086174,
-0.057389192283153534,
-0.08646824955940247,
0.020778244361281395,
-0.04575058072805405,
0.019537489861249924,
0.10086797177791595,
-0.02159958705306053,
-0.02801305614411831,
0.0444224514067173,
0.014181282371282578,
-0.0365934744477272,
-0.008558574132621288,
0.023836437612771988,
0.006374150048941374,
-0.02736646682024002,
0.0003926502540707588,
0.02090057171881199,
-0.015850182622671127,
0.031228529289364815,
-0.0013838327722623944,
0.03883032500743866,
-0.07542379945516586,
-0.029480990022420883,
0.0015192670980468392,
-0.025846106931567192,
-0.02460535429418087,
-0.028397515416145325,
-0.01166482549160719,
-0.026317942887544632,
0.019292835146188736,
0.00020001134544145316,
-0.042185600847005844,
0.032242100685834885,
0.02086562104523182,
0.04431759938597679,
-0.010362908244132996,
-0.07304714620113373,
-0.04270986467599869,
-0.053544607013463974,
0.0036043000873178244,
-0.019187983125448227,
0.05088834837079048,
0.07912858575582504,
-0.05480283498764038,
-0.016287067905068398,
0.014172544702887535,
-0.032713938504457474,
0.017720049247145653,
-0.06923750787973404,
-0.0308440700173378,
-0.018663721159100533,
-0.03458380326628685,
0.01847149059176445,
0.034758560359478,
0.005867363419383764,
0.013997790403664112,
-0.03161298856139183,
0.014487101696431637,
0.02159958705306053,
-0.0017169574275612831,
-0.03907497972249985,
-0.02086562104523182,
0.05609601363539696,
-0.009812433272600174,
0.059031881392002106,
0.028869351372122765,
-0.03390226513147354,
-0.08793618530035019,
-0.04795248061418533,
-0.046938907355070114,
0.06825888901948929,
0.01166482549160719,
-0.022001521661877632,
0.0036610949318856,
0.024325748905539513,
-0.022700536996126175,
-0.00124949065502733,
0.021285029128193855,
-0.014801658689975739,
-0.003822742495685816,
-0.07591310888528824,
-0.03589446097612381,
0.009952236898243427,
-0.02184424176812172,
0.011498808860778809,
0.04372343420982361,
-0.06507837027311325,
0.042010847479104996,
-0.003364013275131583,
-0.05382421240210533,
-0.033080920577049255,
-0.011970644816756248,
0.02965574339032173,
0.04082252085208893,
-0.0019244777504354715,
0.02130250446498394,
-0.006356674712151289,
-0.04270986467599869,
0.015483198687434196,
0.0943671241402626,
0.0095240892842412,
0.05085339769721031,
0.007479468826204538,
0.00492806127294898,
-0.019729720428586006,
-0.01551815029233694,
-0.038410916924476624,
0.06420459598302841,
0.02471020631492138,
-0.02450050227344036,
-0.003931963816285133,
0.02932371199131012,
-0.028694596141576767,
0.014277396723628044,
-0.030249906703829765,
-0.005168347619473934,
0.0019353998359292746,
-0.004316422156989574,
-0.0011036803480237722,
0.005911052227020264,
0.03451390191912651,
0.029515940696001053
] |
708,748
|
pathvalidate.error
|
__init__
| null |
def __init__(self, *args, **kwargs) -> None: # type: ignore[no-untyped-def]
kwargs[ErrorAttrKey.REASON] = ErrorReason.INVALID_CHARACTER
super().__init__(args, **kwargs)
|
(self, *args, **kwargs) -> NoneType
|
[
-0.009198862127959728,
-0.007924579083919525,
0.04997590556740761,
0.0133692417293787,
-0.037790846079587936,
-0.05035347118973732,
0.020148253068327904,
0.036349233239889145,
0.0972745344042778,
-0.06198934465646744,
0.022774048149585724,
0.06638283282518387,
0.04870591312646866,
0.027648070827126503,
-0.04194406419992447,
0.05378588289022446,
-0.003428120631724596,
0.03854597732424736,
-0.043111082166433334,
-0.00805758498609066,
-0.02267107553780079,
0.044312428683042526,
-0.044758640229701996,
0.03621193766593933,
0.01593496836721897,
0.11436793953180313,
-0.039095163345336914,
-0.004526492208242416,
0.06367122381925583,
-0.07647412270307541,
-0.017814213410019875,
-0.0037584900856018066,
-0.0011959807015955448,
0.061817724257707596,
-0.004288368858397007,
-0.0422186553478241,
-0.03214453160762787,
-0.007263840176165104,
-0.06950632482767105,
0.012451071292161942,
-0.04904915392398834,
0.02373512275516987,
-0.01634685881435871,
-0.009627913124859333,
0.03116629272699356,
-0.03144088760018349,
0.0185693446546793,
0.015900645405054092,
-0.08992917090654373,
-0.013403565622866154,
-0.019410284236073494,
0.050044555217027664,
0.03025670349597931,
-0.011284051463007927,
-0.027733881026506424,
0.038443002849817276,
-0.018929747864603996,
0.05883152782917023,
-0.04990725964307785,
-0.0035418192856013775,
-0.0631563663482666,
0.0564974881708622,
0.029982110485434532,
-0.03854597732424736,
-0.03168115392327309,
-0.046886734664440155,
-0.002507805358618498,
-0.02715037204325199,
0.009833858348429203,
0.03892354294657707,
0.06727525591850281,
-0.0033852155320346355,
-0.06130286306142807,
0.029003873467445374,
0.06964362412691116,
-0.01750529743731022,
-0.05543344095349312,
0.023889580741524696,
-0.007139415014535189,
0.014459031634032726,
0.03334587439894676,
0.052550215274095535,
-0.020028118044137955,
0.003717730287462473,
0.03046264871954918,
-0.06305339187383652,
-0.06923173367977142,
-0.01385836023837328,
-0.013721063733100891,
0.029003873467445374,
-0.04805375635623932,
-0.0069377608597278595,
-0.06446067988872528,
0.020851897075772285,
0.04719565436244011,
0.020886221900582314,
0.0371386893093586,
-0.03001643531024456,
0.05035347118973732,
-0.014407545328140259,
0.015694700181484222,
0.022156214341521263,
0.034993432462215424,
-0.04743592068552971,
0.02751077525317669,
-0.00721664447337389,
0.002505660057067871,
-0.04661214351654053,
0.025554301217198372,
-0.004168234299868345,
-0.03075440414249897,
0.023975390940904617,
0.03238479793071747,
0.03724166005849838,
-0.02193310670554638,
0.009799533523619175,
0.001828831504099071,
-0.04112028703093529,
0.024301471188664436,
-0.00187066406942904,
0.05388885363936424,
0.007701472379267216,
-0.060170166194438934,
0.005157197825610638,
0.0491178035736084,
0.04448404908180237,
-0.021915944293141365,
-0.022156214341521263,
0.06030746176838875,
0.0028489013202488422,
0.003353036707267165,
0.0205086562782526,
0.02653253823518753,
-0.00959358923137188,
-0.001985435374081135,
0.023923905566334724,
0.024421604350209236,
0.02866063266992569,
-0.023151613771915436,
0.04493026062846184,
0.06288177520036697,
0.05821369215846062,
0.062435559928417206,
-0.04166946932673454,
-0.02550281397998333,
0.01197053398936987,
0.002563582034781575,
-0.01552307978272438,
-0.006362832151353359,
0.02582889422774315,
-0.020766086876392365,
-0.004406357649713755,
-0.017694080248475075,
0.037207335233688354,
0.02193310670554638,
0.012957352213561535,
-0.010666217654943466,
-0.030857376754283905,
0.02095486968755722,
0.025983352214097977,
0.006718944758176804,
-0.07798437774181366,
0.04400350898504257,
-0.0532366968691349,
0.02320309914648533,
0.04674943909049034,
-0.00666316831484437,
-0.06954064965248108,
0.003550400258973241,
-0.004172524902969599,
-0.01800299622118473,
-0.04115460813045502,
0.031595345586538315,
0.025485653430223465,
-0.024541739374399185,
0.045822687447071075,
0.03248777240514755,
0.019787849858403206,
-0.022001754492521286,
-0.022276347503066063,
0.06092529743909836,
-0.00932757742702961,
-0.0058822943829,
0.03559410199522972,
0.057183969765901566,
0.0006215882021933794,
-0.006731816101819277,
0.050284821540117264,
0.020148253068327904,
-0.0035053498577326536,
0.05076536163687706,
-0.0027158954180777073,
-0.010280071757733822,
0.02883225306868553,
0.009344738908112049,
0.0013536571059376001,
0.05344264209270477,
-0.04808808118104935,
0.02366647496819496,
0.045651067048311234,
-0.027905503287911415,
0.06844227761030197,
-0.019856497645378113,
0.0022139050997793674,
0.003775652265176177,
0.00907872710376978,
-0.012742826715111732,
-0.0032329021487385035,
-0.03001643531024456,
-0.05663478374481201,
-0.02842036448419094,
-0.023769447579979897,
0.03468451276421547,
0.030891699716448784,
0.011850399896502495,
-0.04304243624210358,
-0.011000877246260643,
0.0037027134094387293,
0.009430550038814545,
0.0193587988615036,
0.12830352783203125,
-0.0006891638040542603,
0.024490253999829292,
-0.0615774542093277,
0.014630652032792568,
0.028471849858760834,
0.004436391405761242,
-0.0321788527071476,
-0.015660375356674194,
0.08848755806684494,
-0.05220697447657585,
-0.02910684607923031,
-0.02977616712450981,
0.007825897075235844,
-0.028386039659380913,
0.023923905566334724,
0.049804285168647766,
-0.03099467232823372,
-0.053854528814554214,
-0.05646316334605217,
-0.034306950867176056,
0.004762470256537199,
-0.014939569868147373,
0.02677280642092228,
0.045822687447071075,
-0.018809612840414047,
0.00830643530935049,
0.1012561246752739,
-0.06030746176838875,
-0.012828636914491653,
0.0020444297697395086,
0.02177864871919155,
-0.0422186553478241,
0.00320286862552166,
0.002280408050864935,
-0.030617106705904007,
-0.01812313124537468,
-0.029432926326990128,
0.05797342583537102,
0.016398344188928604,
-0.003799250116571784,
0.0337577648460865,
-0.008370792493224144,
0.04503323510289192,
0.04002191498875618,
-0.022001754492521286,
-0.01753103919327259,
0.03576572239398956,
-0.007405426818877459,
0.020611628890037537,
0.025434166193008423,
0.0054146284237504005,
-0.002490643411874771,
0.0293986015021801,
-0.02054298110306263,
0.02140108309686184,
-0.0268586166203022,
0.0021120053716003895,
-0.034169651567935944,
-0.04317973181605339,
0.05344264209270477,
-0.021092167124152184,
0.039301108568906784,
0.046028632670640945,
0.021538380533456802,
-0.02591470442712307,
0.00017148647748399526,
-0.02193310670554638,
-0.04239027574658394,
0.0003815875679720193,
-0.011601549573242664,
0.0389578677713871,
-0.00045881682308390737,
0.032951146364212036,
0.03259074315428734,
-0.0270988866686821,
0.03792814165353775,
0.01320620160549879,
-0.011352700181305408,
-0.03672679886221886,
-0.010177099145948887,
-0.015119771473109722,
0.02104067988693714,
-0.0032393380533903837,
-0.0717373937368393,
-0.03531951084733009,
0.002338330028578639,
0.014321735128760338,
-0.004492167849093676,
0.006131144240498543,
0.032247502356767654,
0.07345359772443771,
-0.03168115392327309,
0.034135330468416214,
0.009911087341606617,
0.054884254932403564,
0.06020449101924896,
-0.033483169972896576,
-0.007521270774304867,
0.0809362530708313,
-0.007036442868411541,
-0.08114220201969147,
-0.021383920684456825,
-0.0626758262515068,
-0.00879555381834507,
0.013394984416663647,
0.051074277609586716,
-0.0257087592035532,
0.02706456184387207,
0.005071387626230717,
-0.0080447131767869,
-0.019307313486933708,
-0.00023812352446839213,
-0.07221793383359909,
-0.03710436448454857,
-0.03428978845477104,
0.0025442747864872217,
-0.011507158167660236,
-0.0034452825784683228,
-0.03604031726717949,
0.03724166005849838,
-0.024129850789904594,
0.012794312089681625,
0.005401757080107927,
0.02529687061905861,
-0.0629160925745964,
-0.01570328138768673,
-0.043900538235902786,
0.030565621331334114,
0.02600051462650299,
-0.010288652032613754,
0.011610130779445171,
-0.002949728397652507,
0.0007535215117968619,
0.07352224737405777,
-0.05948368459939957,
-0.06147448346018791,
0.04523918032646179,
0.004848280921578407,
-0.008259239606559277,
0.0516577884554863,
-0.020886221900582314,
-0.005444662179797888,
-0.03545680642127991,
-0.033637627959251404,
-0.007212353870272636,
0.002878934843465686,
0.0085896085947752,
0.0015166966477409005,
0.03638355806469917,
0.01179033238440752,
-0.02098919451236725,
-0.05684072896838188,
-0.03682976961135864,
0.0031578182242810726,
0.013540862128138542,
-0.015926387161016464,
0.011421347968280315,
-0.05539911612868309,
0.0013214782811701298,
-0.0027974150143563747,
-0.04568539187312126,
-0.015248486772179604,
0.004436391405761242,
-0.03162967041134834,
-0.03168115392327309,
0.011653035879135132,
0.003093460574746132,
0.057183969765901566,
0.0422186553478241,
-0.0245589017868042,
-0.031801290810108185,
0.05711532011628151,
0.02951873652637005,
-0.010108450427651405,
0.010202841833233833,
0.0030269576236605644,
-0.016475573182106018,
-0.037378955632448196,
0.01829475164413452,
-0.053202372044324875,
-0.012313774786889553,
-0.022293509915471077,
0.027579423040151596,
0.05491857975721359,
0.03882056847214699,
0.01576334796845913,
0.026515375822782516,
-0.014132953248918056,
0.024747684597969055,
-0.0023919614031910896,
0.011850399896502495,
-0.002340475330129266,
-0.03267655521631241,
-0.007890255190432072,
0.007371102925390005,
-0.013824035413563251,
-0.0394384041428566,
-0.019375961273908615,
-0.015780510380864143,
-0.04966698959469795,
-0.013257687911391258,
0.027493612840771675,
0.028815090656280518,
0.002808141289278865,
0.06198934465646744,
0.017162054777145386,
-0.008276401087641716,
0.043317027390003204,
-0.014253087341785431,
-0.03477032482624054,
0.07722925394773483,
-0.046886734664440155,
-0.045582421123981476,
-0.0033508914057165384,
-0.005071387626230717,
-0.04740159958600998,
-0.039918940514326096,
-0.013884102925658226,
0.026378080248832703,
-0.02969035692512989,
-0.020766086876392365,
0.08292705565690994,
0.10118748247623444,
0.026069162413477898,
-0.027339154854416847,
-0.005281622521579266,
0.0465778186917305,
-0.015085446648299694,
-0.025451328605413437,
0.06003287062048912,
0.012571205385029316,
0.00888136401772499,
-0.06559337675571442,
-0.008001808077096939,
-0.03259074315428734,
-0.07228657603263855,
-0.02488498017191887,
-0.018380561843514442,
-0.01072628516703844,
-0.03313992917537689,
0.08835026621818542,
-0.052790481597185135,
-0.06171475350856781,
-0.06542175263166428,
0.063877172768116,
0.021675676107406616,
-0.015780510380864143,
-0.013532280921936035,
0.0338778980076313,
-0.06679472327232361,
0.01567753776907921,
0.02210472710430622,
0.025434166193008423,
-0.03355181962251663,
-0.012923028320074081,
-0.0019993793684989214,
-0.06627985835075378,
-0.04719565436244011,
-0.0017773454310372472,
0.0567377544939518,
-0.019753526896238327,
0.044552695006132126,
0.005478986073285341,
0.01143851038068533,
-0.025691596791148186,
0.0021044970490038395,
-0.016775909811258316,
-0.04417513310909271,
0.05124589800834656,
-0.02620645985007286,
0.05690937489271164,
-0.033809248358011246,
0.03291682153940201,
0.028677795082330704,
0.008276401087641716,
-0.002981907222419977,
0.017110569402575493,
-0.021006356924772263,
-0.03707003965973854,
0.01197053398936987,
-0.07057037204504013,
-0.007920288480818272,
-0.02473052218556404,
0.019238663837313652,
-0.009911087341606617,
-0.0035160761326551437,
0.03672679886221886,
0.043900538235902786,
-0.039266783744096756,
-0.022396482527256012,
0.04650916904211044,
0.05296210199594498,
-0.008585317991673946,
0.004335564095526934,
-0.01989082247018814,
-0.04039948061108589,
-0.004500749055296183,
-0.031715478748083115,
0.03214453160762787,
0.004689531866461039,
0.038237061351537704,
-0.003331584157422185,
-0.05515884608030319,
0.012245126999914646,
0.0031470919493585825,
0.024301471188664436,
-0.03789382055401802,
0.028712119907140732,
-0.002552855759859085,
-0.014295992441475391,
-0.01338640321046114,
0.03186993673443794,
0.02030271105468273,
-0.014647814445197582,
0.04551377147436142,
0.014064304530620575,
0.05498722568154335,
-0.03264223039150238,
0.016484154388308525,
0.021418245509266853,
0.06030746176838875,
-0.006075367797166109,
-0.05502155050635338,
-0.024267146363854408,
-0.054643984884023666,
-0.04568539187312126,
0.04208135977387428,
-0.06844227761030197,
0.003683406161144376,
-0.025519976392388344,
-0.05581100657582283,
-0.06171475350856781,
0.02878076769411564,
-0.039747320115566254,
-0.022533779963850975,
0.061405833810567856,
0.012451071292161942,
0.03672679886221886,
0.03806544095277786,
0.006011010147631168,
-0.01338640321046114,
0.011095268651843071,
-0.04468999430537224,
-0.025863217189908028,
0.012073506601154804,
-0.041188932955265045,
0.00938764400780201,
-0.08677135407924652,
0.004234737250953913,
-0.036143288016319275,
0.035937342792749405,
-0.026498213410377502,
0.04774484038352966,
-0.03816841170191765,
-0.013026000000536442,
0.005114292725920677,
0.06730958074331284,
-0.026052000001072884,
-0.019375961273908615,
0.017256446182727814,
0.03506207838654518,
-0.06518148630857468,
-0.018706640228629112,
-0.0008125160820782185,
0.007045024074614048,
-0.009971153922379017,
0.011241146363317966,
-0.03892354294657707,
-0.04805375635623932,
-0.03531951084733009,
-0.05567370727658272,
-0.019341636449098587,
-0.044792965054512024,
-0.006444351747632027,
0.042012713849544525,
0.012004857882857323,
-0.06820201128721237,
-0.03878624737262726,
-0.005092840176075697,
-0.024335794150829315,
0.03552545607089996,
-0.007757249288260937,
0.06627985835075378,
0.04976996034383774,
-0.010777770541608334,
0.022979993373155594,
0.06936902552843094,
-0.01862083002924919,
0.032041557133197784,
-0.013051743619143963,
0.010691960342228413,
-0.001361165544949472,
-0.0018974797567352653,
-0.03648652881383896,
-0.038477327674627304,
0.009722304530441761,
0.0035461096558719873,
0.0435572974383831,
0.010511758737266064,
-0.03796246647834778,
-0.010417367331683636,
-0.011961952783167362,
0.060341786593198776,
-0.0389578677713871,
0.046440523117780685,
-0.0064271898008883,
0.021383920684456825,
-0.07105091214179993,
-0.043111082166433334,
0.02963886968791485,
0.0511772483587265,
-0.015085446648299694,
-0.049152128398418427,
-0.019770687445998192,
0.04966698959469795,
0.012957352213561535,
0.020731763914227486,
0.05454101413488388,
0.029621707275509834,
0.0012013438390567899,
-0.013455051928758621,
-0.04293946176767349,
0.03320857882499695,
-0.06638283282518387,
0.031938586384058,
-0.04142920300364494,
-0.058659907430410385,
0.004084569402039051,
-0.02771672047674656,
0.029415763914585114,
0.0537172332406044,
-0.0040009040385484695,
-0.02600051462650299,
0.048534292727708817,
0.01853501982986927,
-0.061199892312288284,
0.004176815506070852,
0.024215660989284515,
-0.0031706898007541895,
-0.03700139373540878,
0.006894855760037899,
0.030239542946219444,
-0.005427500233054161,
0.047298625111579895,
-0.002529257908463478,
0.0134293083101511,
-0.08176003396511078,
-0.019307313486933708,
0.004432100802659988,
-0.01099229697138071,
0.01090648677200079,
-0.013240525498986244,
-0.0032758074812591076,
-0.020062442868947983,
0.03707003965973854,
0.008310725912451744,
-0.06360258162021637,
0.07873950898647308,
0.014750787056982517,
0.014287411235272884,
0.028694957494735718,
-0.05124589800834656,
-0.0587972030043602,
-0.03645220771431923,
0.01874096505343914,
-0.022533779963850975,
0.062263939529657364,
0.03166399151086807,
-0.08581028133630753,
-0.016449829563498497,
-0.04146352782845497,
-0.02370079979300499,
0.028283067047595978,
-0.06967794895172119,
-0.059106118977069855,
-0.03988461568951607,
-0.06844227761030197,
0.02960454672574997,
0.03506207838654518,
0.026463890448212624,
0.024576064199209213,
-0.04822537675499916,
-0.017187798395752907,
0.008212043903768063,
-0.010417367331683636,
-0.021126490086317062,
-0.01341214682906866,
0.03135507553815842,
0.0008028623997233808,
0.05474695935845375,
0.019581904634833336,
-0.010486016049981117,
-0.08031842112541199,
-0.02582889422774315,
-0.012905865907669067,
0.06912875920534134,
-0.01882677525281906,
-0.027133209630846977,
-0.000282905763015151,
0.019581904634833336,
0.008804134093225002,
0.023426206782460213,
0.062298260629177094,
-0.00963649433106184,
-0.00587371364235878,
-0.06346528232097626,
-0.043076761066913605,
0.024902142584323883,
-0.018466372042894363,
0.04335135221481323,
0.03555978089570999,
-0.08148544281721115,
0.0026215040124952793,
0.005285913124680519,
-0.06772147119045258,
-0.008671128191053867,
-0.006787593010812998,
0.030857376754283905,
0.07832761853933334,
-0.025485653430223465,
0.021469730883836746,
-0.02124662511050701,
-0.010820675641298294,
-0.0036876967642456293,
0.07146280258893967,
-0.013197620399296284,
0.042252980172634125,
0.0338778980076313,
0.012416747398674488,
-0.006817626766860485,
-0.01882677525281906,
-0.01676732860505581,
0.05958665907382965,
0.05474695935845375,
-0.03755057603120804,
-0.011996276676654816,
0.04115460813045502,
0.007349650375545025,
0.03238479793071747,
-0.025537138804793358,
-0.012785731814801693,
0.012399584986269474,
-0.0025850345846265554,
0.014467612840235233,
0.038854893296957016,
0.02677280642092228,
0.03030819073319435
] |
708,752
|
pathvalidate.error
|
InvalidReservedNameError
|
[Deprecated]
Exception raised when a string matched a reserved name.
Moreover, the reserved name is invalid as a name.
|
class InvalidReservedNameError(ReservedNameError):
"""[Deprecated]
Exception raised when a string matched a reserved name.
Moreover, the reserved name is invalid as a name.
"""
def __init__(self, *args, **kwargs) -> None: # type: ignore[no-untyped-def]
kwargs[ErrorAttrKey.REUSABLE_NAME] = False
super().__init__(args, **kwargs)
|
(*args, **kwargs) -> None
|
[
-0.0038959230296313763,
-0.02558542788028717,
0.003416086081415415,
-0.001061473973095417,
-0.03423129767179489,
-0.040394339710474014,
0.024352820590138435,
0.028279557824134827,
0.0653986781835556,
-0.056277379393577576,
0.012713475152850151,
0.029212819412350655,
0.05673520267009735,
-0.005375053267925978,
-0.013523475266993046,
0.007272389717400074,
0.017009995877742767,
0.05515042319893837,
-0.0358336865901947,
-0.018999777734279633,
-0.0513821616768837,
0.053107813000679016,
0.022732820361852646,
-0.00015545173664577305,
-0.0012854344677180052,
0.15664692223072052,
0.0009310595924034715,
0.0263426024466753,
0.03192455694079399,
-0.07775998115539551,
-0.045113466680049896,
0.012968800961971283,
0.02384216897189617,
0.08205650001764297,
0.03215347230434418,
-0.040147814899683,
-0.026958907023072243,
0.01683390885591507,
-0.07092780619859695,
-0.010882171802222729,
-0.01526673510670662,
0.0037814665120095015,
-0.03976042568683624,
-0.0478956401348114,
0.03048064559698105,
-0.03046303614974022,
0.021200865507125854,
0.033861514180898666,
-0.08114085346460342,
0.03912651166319847,
0.025955211371183395,
0.012317279353737831,
0.006193857174366713,
-0.000611902039963752,
-0.009332606568932533,
0.05448129028081894,
0.03521738201379776,
0.0869164988398552,
-0.01845390908420086,
-0.004441792611032724,
-0.01841869205236435,
0.051487814635038376,
0.013681953772902489,
-0.05740433558821678,
-0.022556733340024948,
-0.05624216049909592,
0.00843456294387579,
-0.051487814635038376,
-0.023613255470991135,
0.03976042568683624,
0.022926516830921173,
-0.0029912765603512526,
-0.037964340299367905,
0.03676694631576538,
0.053988248109817505,
0.003420488443225622,
-0.0979747623205185,
0.0037176350597292185,
0.008082389831542969,
-0.010213040746748447,
0.04852955415844917,
-0.039725206792354584,
-0.008522606454789639,
0.00913891103118658,
-0.006286303047090769,
-0.04740259796380997,
-0.050853900611400604,
-0.03109695017337799,
-0.0029010318685323,
0.013303366489708424,
-0.040147814899683,
0.025902384892106056,
-0.0591299869120121,
0.03845738247036934,
0.0239478200674057,
-0.012722279876470566,
0.04166216403245926,
-0.037858687341213226,
0.00457385741174221,
-0.023349124938249588,
0.029036732390522957,
0.01636727899312973,
0.015557278878986835,
-0.024229560047388077,
0.007620161399245262,
-0.028297167271375656,
0.006937824655324221,
-0.04102825000882149,
-0.002162567339837551,
-0.031642816960811615,
-0.0224686898291111,
0.004851194564253092,
-0.01917586475610733,
0.0272582545876503,
-0.04324694722890854,
-0.009587932378053665,
0.0095351068302989,
-0.05624216049909592,
-0.018964560702443123,
-0.007149128708988428,
0.021817168220877647,
0.03123781830072403,
-0.07677389681339264,
0.016516951844096184,
0.0328754261136055,
0.01045956276357174,
-0.010494779795408249,
0.01683390885591507,
0.08635302633047104,
0.009464671835303307,
0.007219563703984022,
0.03343890607357025,
-0.03516455739736557,
-0.03280499204993248,
0.005608368199318647,
0.0208134725689888,
0.051206074655056,
0.0495508573949337,
-0.05191042274236679,
-0.0010174522176384926,
0.016965974122285843,
0.03266412392258644,
0.025902384892106056,
0.020549343898892403,
0.02074303850531578,
-0.007259183097630739,
-0.01636727899312973,
0.0014659236185252666,
-0.011480866931378841,
-0.004113830626010895,
0.018224995583295822,
0.02009151689708233,
-0.014606409706175327,
0.03821086138486862,
0.026096081361174583,
0.0045012217015028,
-0.008663476444780827,
-0.09212867170572281,
-0.025884777307510376,
0.015081844292581081,
0.028438037261366844,
-0.05937650799751282,
-0.017740756273269653,
-0.04948042333126068,
0.0023595646489411592,
-0.0029560590628534555,
0.029793906956911087,
-0.07768954336643219,
-0.016393691301345825,
0.016208801418542862,
-0.018894126638770103,
0.03211825340986252,
0.010362714529037476,
0.05455172806978226,
-0.02227499522268772,
0.05131172761321068,
-0.00009684780525276437,
0.017406191676855087,
-0.009015650488436222,
-0.03372064605355263,
0.09290345758199692,
-0.01197391003370285,
-0.017414996400475502,
-0.04240173101425171,
0.06134868040680885,
-0.0021680700592696667,
-0.026782820001244545,
0.04800129309296608,
0.030956080183386803,
0.028948688879609108,
0.047508250921964645,
0.005903313867747784,
0.019686516374349594,
0.04257781431078911,
0.040394339710474014,
-0.030621513724327087,
-0.026518689468503,
0.0028438037261366844,
0.030709557235240936,
0.040359120815992355,
-0.02310260385274887,
0.12065475434064865,
-0.02887825481593609,
-0.01631445251405239,
0.02243347279727459,
0.034812383353710175,
0.007694998290389776,
-0.06543389707803726,
-0.04736737906932831,
-0.02391260303556919,
-0.020197169855237007,
0.019510429352521896,
-0.007923911325633526,
0.06398998200893402,
-0.009913693182170391,
0.002414591843262315,
0.04701520502567291,
0.006779346149414778,
0.034072816371917725,
0.0027425535954535007,
0.09473475813865662,
0.023718908429145813,
0.07656259089708328,
-0.014641626738011837,
0.028279557824134827,
-0.02315542846918106,
0.030903253704309464,
-0.017414996400475502,
0.006251085549592972,
0.030075645074248314,
0.006400759331882,
-0.05652390047907829,
-0.03754173219203949,
-0.005414672661572695,
-0.021834777668118477,
0.0014119968982413411,
0.028420427814126015,
-0.04373998939990997,
-0.011445649899542332,
-0.028948688879609108,
-0.04694477096199989,
0.006471194326877594,
-0.026853254064917564,
0.05856650695204735,
0.05500955134630203,
-0.047649119049310684,
-0.02713499404489994,
0.0880434587597847,
-0.03468912094831467,
-0.004415379371494055,
0.011190323159098625,
-0.00954391062259674,
-0.04409216344356537,
0.021324126049876213,
-0.0047895642928779125,
-0.004939238075166941,
-0.052403464913368225,
-0.020602168515324593,
0.03782346844673157,
0.0014186002081260085,
-0.05448129028081894,
0.025426950305700302,
-0.041169121861457825,
0.026096081361174583,
0.021376950666308403,
-0.03141390532255173,
0.03192455694079399,
0.013294561766088009,
-0.038105208426713943,
0.011956301517784595,
0.07613997906446457,
0.025145212188363075,
0.006365541834384203,
0.01650814898312092,
0.009385433048009872,
-0.029969992116093636,
-0.017414996400475502,
0.02160586416721344,
0.004582662135362625,
-0.008130813017487526,
0.054058682173490524,
-0.01366434432566166,
0.011128692887723446,
0.06553954631090164,
0.01002814993262291,
-0.014351083897054195,
0.0132593447342515,
-0.031537167727947235,
-0.029934775084257126,
-0.0095351068302989,
-0.02091912552714348,
-0.007052280940115452,
0.02968825399875641,
0.00021226727403700352,
-0.003552553476765752,
-0.0002637176658026874,
-0.00917412806302309,
0.004072010051459074,
0.009711192920804024,
-0.01439510565251112,
0.011023040860891342,
0.030709557235240936,
-0.019545648247003555,
0.003847499145194888,
-0.03578086197376251,
-0.07923911511898041,
0.011366410180926323,
0.0016310050850734115,
-0.05117085576057434,
0.0016188990557566285,
-0.013488257303833961,
0.026113688945770264,
-0.032294340431690216,
-0.026078471913933754,
0.027539992704987526,
0.054622162133455276,
0.038668688386678696,
-0.01366434432566166,
0.011612932197749615,
0.054692596197128296,
-0.004758748691529036,
-0.033808689564466476,
-0.050008684396743774,
-0.0703643336892128,
-0.03659085929393768,
0.012915975414216518,
0.00800315011292696,
0.011709779500961304,
0.009799236431717873,
0.005106520373374224,
-0.011155106127262115,
-0.0526852048933506,
-0.0018147957744076848,
-0.05500955134630203,
-0.07487215846776962,
-0.025374123826622963,
0.02870216779410839,
0.0004963449900969863,
0.011824236251413822,
-0.01929912529885769,
0.0022539126221090555,
0.0005354142631404102,
-0.03303390368819237,
0.024211950600147247,
-0.045183900743722916,
-0.03490042686462402,
0.002949455752968788,
-0.03680216521024704,
0.03606260195374489,
-0.015301953069865704,
-0.038492601364851,
0.02544455975294113,
-0.060397811233997345,
-0.021869994699954987,
0.0748017206788063,
-0.032417602837085724,
-0.015768583863973618,
0.020566951483488083,
0.0063919550739228725,
-0.06015129014849663,
0.021429777145385742,
-0.05293172597885132,
-0.00099929329007864,
-0.030075645074248314,
-0.03032216615974903,
-0.045078251510858536,
0.017080429941415787,
-0.003211385104805231,
-0.01988021284341812,
-0.02806825377047062,
-0.017238909378647804,
-0.01993303932249546,
-0.02151782065629959,
-0.023789342492818832,
0.003816683776676655,
0.004538640379905701,
0.033808689564466476,
-0.011850649490952492,
-0.05972868204116821,
-0.02306738682091236,
-0.005731629207730293,
-0.01795206032693386,
0.017740756273269653,
0.0009200541535392404,
0.008073585107922554,
-0.008791139349341393,
0.009191736578941345,
0.02972347103059292,
0.050853900611400604,
0.042859554290771484,
-0.005278205499053001,
-0.03359738364815712,
0.039549119770526886,
0.045923467725515366,
-0.017925648018717766,
-0.015530865639448166,
-0.0513821616768837,
-0.05293172597885132,
-0.03197738528251648,
0.04817738011479378,
-0.029952384531497955,
0.032523252069950104,
-0.09156519919633865,
-0.019457604736089706,
0.028948688879609108,
0.028983905911445618,
0.05293172597885132,
-0.04331738129258156,
0.013849236071109772,
0.010257062502205372,
-0.025021949782967567,
-0.027434341609477997,
-0.029934775084257126,
-0.037295207381248474,
0.01910543069243431,
0.03669651225209236,
0.022750429809093475,
-0.04388085752725601,
0.03171325474977493,
-0.024299994111061096,
-0.01588303968310356,
-0.01482651848345995,
0.04983259737491608,
0.06744129210710526,
-0.000319157523335889,
0.024581734091043472,
-0.03976042568683624,
-0.04976216331124306,
0.0464165098965168,
-0.0012656246544793248,
-0.04609955474734306,
0.01165695395320654,
-0.0030551080126315355,
-0.05536172538995743,
-0.00031805699109099805,
-0.07275911420583725,
-0.03342129662632942,
-0.015002605505287647,
-0.0513821616768837,
0.06511694192886353,
0.021112821996212006,
-0.02556782029569149,
0.044444337487220764,
0.0688851997256279,
0.019439995288848877,
-0.030885644257068634,
0.003138749161735177,
0.07085737586021423,
0.048459120094776154,
-0.05497433617711067,
0.026923689991235733,
0.004692716524004936,
-0.012915975414216518,
-0.07613997906446457,
-0.01322412770241499,
-0.044373903423547745,
-0.06708911806344986,
-0.04155651107430458,
0.0020668201614171267,
0.001875325688160956,
-0.027346298098564148,
0.1064973697066307,
-0.05944694206118584,
0.029829123988747597,
-0.006818966008722782,
0.06458868086338043,
0.037154339253902435,
-0.0232082549482584,
0.009314998053014278,
0.006995052564889193,
0.0014582197181880474,
0.00619825953617692,
0.04229607805609703,
-0.022891299799084663,
-0.05768607184290886,
0.0159358661621809,
-0.04307086020708084,
-0.0011423638788983226,
0.03178368881344795,
-0.007910704240202904,
0.0545165091753006,
-0.0021042386069893837,
0.03264651447534561,
0.0180048868060112,
0.021869994699954987,
-0.021764343604445457,
-0.0111463014036417,
0.008130813017487526,
0.008073585107922554,
0.03673173114657402,
-0.032347165048122406,
-0.004327335860580206,
-0.01834825612604618,
0.011216736398637295,
0.028138689696788788,
0.023542821407318115,
-0.01560130063444376,
0.05296694487333298,
0.009341411292552948,
-0.00576684670522809,
0.02639542892575264,
-0.05511520430445671,
-0.0025048363022506237,
-0.03534064441919327,
0.07916867733001709,
-0.05131172761321068,
0.005053694359958172,
0.05145259574055672,
0.06698346138000488,
-0.029934775084257126,
-0.03460107743740082,
0.04662781581282616,
0.07987302541732788,
0.029318470507860184,
0.03136108070611954,
0.004965650849044323,
-0.09149476140737534,
0.018665213137865067,
0.009517497383058071,
0.05331911891698837,
0.014113366603851318,
0.026765210554003716,
0.017872821539640427,
-0.05145259574055672,
0.0003838144475594163,
-0.043634336441755295,
0.017388582229614258,
-0.03592173010110855,
0.038879990577697754,
0.03176607936620712,
-0.005700814072042704,
0.012907170690596104,
0.014694453217089176,
-0.0015946871135383844,
0.018048908561468124,
0.03821086138486862,
-0.0070478785783052444,
0.04176781699061394,
0.010248258709907532,
0.002034904435276985,
0.03933781757950783,
0.03937303274869919,
0.062123462557792664,
-0.014491952955722809,
-0.03194216638803482,
-0.022996950894594193,
-0.036379557102918625,
0.03895042464137077,
-0.02572629787027836,
-0.030110862106084824,
-0.003262010170146823,
-0.0018445104360580444,
-0.030005211010575294,
-0.04648694396018982,
-0.01571575738489628,
-0.03278738260269165,
0.008610649965703487,
0.0019083418883383274,
0.019351951777935028,
0.03842216357588768,
-0.022856080904603004,
0.017740756273269653,
0.07437911629676819,
-0.05655911564826965,
-0.041169121861457825,
0.00025835252017714083,
-0.046698249876499176,
-0.020478907972574234,
-0.006039781030267477,
-0.0035811676643788815,
-0.01320651825517416,
-0.055502597242593765,
0.05768607184290886,
0.05356564000248909,
-0.03379108011722565,
0.023630864918231964,
0.05057216063141823,
0.04852955415844917,
-0.02864934131503105,
-0.04226085916161537,
0.030991297215223312,
0.014113366603851318,
-0.10431388765573502,
-0.03940825164318085,
-0.0241239070892334,
-0.013919671066105366,
-0.014782496728003025,
0.0005926425219513476,
-0.005876900628209114,
-0.011797823011875153,
-0.008852769620716572,
-0.02704695053398609,
0.04881129413843155,
-0.08501476049423218,
-0.026765210554003716,
0.036379557102918625,
0.01313608419150114,
-0.05029042437672615,
0.02477542869746685,
0.026008037850260735,
-0.029089558869600296,
0.029424123466014862,
0.027469558641314507,
0.027399124577641487,
0.054058682173490524,
0.0381404273211956,
-0.0005981452413834631,
0.015742169693112373,
-0.0399717316031456,
-0.018718039616942406,
-0.019827386364340782,
0.015073039568960667,
-0.03747129440307617,
0.014007714577019215,
-0.007818259298801422,
-0.008509400300681591,
0.006581248249858618,
-0.010353910736739635,
0.026994124054908752,
0.006620868109166622,
-0.0431060753762722,
0.0116041274741292,
0.00107468047644943,
0.014245431870222092,
-0.04976216331124306,
-0.0028041840996593237,
0.018929343670606613,
0.013840431347489357,
-0.05261477082967758,
-0.04532477259635925,
-0.051593467593193054,
-0.011709779500961304,
-0.006651683244854212,
-0.06413085758686066,
-0.017670322209596634,
0.009843258187174797,
0.015337170101702213,
0.005736031103879213,
0.03771781548857689,
0.06701868027448654,
0.002474021166563034,
-0.007052280940115452,
-0.05194564163684845,
0.06786389648914337,
-0.09410084784030914,
0.011551301926374435,
0.0014890349702909589,
-0.07902780920267105,
0.05134694278240204,
-0.024405647069215775,
0.00659885723143816,
0.07621041685342789,
0.0035173362120985985,
-0.04490216448903084,
0.02794499322772026,
0.018946951255202293,
-0.08057737350463867,
-0.004745542537420988,
0.03491803631186485,
-0.03259368985891342,
0.017098039388656616,
-0.034072816371917725,
0.005471901036798954,
0.03134347125887871,
0.020249994471669197,
0.05014955252408981,
0.015618909150362015,
-0.04064086079597473,
-0.01929912529885769,
0.0019391571404412389,
0.032364774495363235,
0.0217291247099638,
0.016217604279518127,
-0.04504303261637688,
-0.017767170444130898,
0.026184124872088432,
-0.0031607600394636393,
-0.0311321672052145,
0.05032563954591751,
0.020355647429823875,
-0.0016089942073449492,
0.01003695372492075,
-0.026906080543994904,
-0.024423254653811455,
-0.033086732029914856,
0.03902085870504379,
-0.03891520947217941,
0.0381404273211956,
0.03458347171545029,
-0.07233650237321854,
0.027680862694978714,
0.01847151666879654,
-0.020267603918910027,
0.0832538902759552,
-0.05500955134630203,
-0.007725813426077366,
0.003416086081415415,
-0.021077603101730347,
-0.0027953798417001963,
0.02470499463379383,
0.023754125460982323,
0.014007714577019215,
-0.02481064572930336,
-0.0027711677830666304,
-0.050748247653245926,
0.018541952595114708,
-0.038703903555870056,
-0.017133256420493126,
0.051663901656866074,
-0.03590412065386772,
0.03218868747353554,
-0.018084125593304634,
0.0036053794901818037,
-0.01633206196129322,
-0.010283475741744041,
-0.045853033661842346,
0.062264334410429,
-0.042648252099752426,
-0.0022979341447353363,
0.014579996466636658,
0.04011259973049164,
0.0038783142808824778,
-0.011912279762327671,
0.042859554290771484,
-0.03273455798625946,
-0.016807496547698975,
-0.07564693689346313,
-0.05937650799751282,
-0.00817483477294445,
0.02718782052397728,
0.03905607759952545,
0.07494258880615234,
-0.07952085137367249,
0.07240694016218185,
0.04490216448903084,
-0.05060737952589989,
-0.01526673510670662,
0.030603906139731407,
0.025092385709285736,
0.06673694401979446,
-0.006616465747356415,
0.041979119181632996,
-0.026818037033081055,
-0.025021949782967567,
-0.006977444048970938,
0.06328563392162323,
0.00799434632062912,
0.06627911329269409,
0.024282386526465416,
0.04705042392015457,
0.007109509315341711,
-0.017203692346811295,
-0.04060564190149307,
0.05194564163684845,
-0.009218149818480015,
-0.08466258645057678,
0.02005629986524582,
0.036238688975572586,
0.015125866048038006,
-0.007853476330637932,
-0.03754173219203949,
0.01394608337432146,
-0.012590214610099792,
0.015161083079874516,
-0.03053347021341324,
0.005595161579549313,
0.008927606977522373,
0.011692170985043049
] |
708,753
|
pathvalidate.error
|
__init__
| null |
def __init__(self, *args, **kwargs) -> None: # type: ignore[no-untyped-def]
kwargs[ErrorAttrKey.REUSABLE_NAME] = False
super().__init__(args, **kwargs)
|
(self, *args, **kwargs) -> NoneType
|
[
-0.007963393814861774,
-0.008118441328406334,
0.023636076599359512,
0.019398121163249016,
-0.03603984788060188,
-0.019759897142648697,
0.022051149979233742,
0.02003553695976734,
0.04785788804292679,
-0.05602370202541351,
0.028408082202076912,
0.0552312396466732,
0.060537297278642654,
0.027736211195588112,
-0.04241400957107544,
0.00900996197015047,
-0.0039343214593827724,
0.05199247598648071,
-0.026237422600388527,
-0.011602695100009441,
-0.02132759615778923,
0.053749676793813705,
-0.014384930022060871,
0.004078601486980915,
0.013308213092386723,
0.09888562560081482,
-0.01600431092083454,
0.029131636023521423,
0.0725620687007904,
-0.03202585130929947,
-0.049477268010377884,
0.013213462196290493,
0.02396339736878872,
0.07759248465299606,
0.02658197283744812,
-0.039381977170705795,
-0.05213029682636261,
0.05409422889351845,
-0.06184658408164978,
0.009363125078380108,
-0.022102832794189453,
-0.0006094214040786028,
-0.02267133817076683,
-0.049236081540584564,
0.01500511821359396,
-0.009320056065917015,
0.03423096612095833,
0.04599732160568237,
-0.07655883580446243,
-0.016426384449005127,
-0.0047418586909770966,
0.06784173846244812,
0.0322498083114624,
0.016762319952249527,
-0.02439408376812935,
0.04651414602994919,
0.005340512841939926,
0.07483609020709991,
-0.0349372923374176,
-0.018054379150271416,
-0.03907188028097153,
0.05561024323105812,
0.037245769053697586,
-0.0565749816596508,
-0.01931198313832283,
-0.06673918664455414,
-0.04096690192818642,
-0.02439408376812935,
0.011818038299679756,
0.04330983757972717,
0.015754513442516327,
-0.020931364968419075,
-0.04558386281132698,
0.05023527517914772,
0.060847390443086624,
-0.030509833246469498,
-0.06718710064888,
-0.0008985197637230158,
0.015840649604797363,
-0.02451467700302601,
0.025875646620988846,
0.016236882656812668,
-0.024945363402366638,
0.019088026136159897,
-0.01390256080776453,
-0.03907188028097153,
-0.04589395597577095,
-0.0021685066167265177,
0.017494486644864082,
0.019708216190338135,
-0.06026165932416916,
0.04778897762298584,
-0.04575613513588905,
-0.003200000850483775,
0.04579059034585953,
0.03600539267063141,
0.0276156198233366,
-0.043413203209638596,
0.019690988585352898,
-0.04027780517935753,
0.024531904608011246,
-0.017916560173034668,
0.029235001653432846,
-0.030664879828691483,
0.028201352804899216,
-0.008019383065402508,
-0.007132168859243393,
-0.03927861154079437,
0.025944555178284645,
0.004939974285662174,
-0.02077631838619709,
0.023325981572270393,
0.01845061033964157,
0.04606623202562332,
-0.06008938327431679,
-0.033938098698854446,
-0.025961782783269882,
-0.07511173188686371,
0.017795966938138008,
-0.015659762546420097,
0.04834025353193283,
0.03099220246076584,
-0.078212670981884,
0.011387351900339127,
0.05660943686962128,
0.04492921754717827,
-0.015659762546420097,
0.019966626539826393,
0.08510365337133408,
-0.01701211743056774,
0.008777391165494919,
0.018381699919700623,
-0.005349126644432545,
0.012610501609742641,
0.0018013464286923409,
0.002954509574919939,
0.027839576825499535,
0.04007107391953468,
-0.03607430309057236,
0.02286083996295929,
0.03855505585670471,
0.00572813069447875,
0.049787361174821854,
0.007063258904963732,
0.03855505585670471,
0.007588696666061878,
-0.017072413116693497,
0.014660568907856941,
-0.006391387898474932,
0.019518712535500526,
-0.006826381199061871,
-0.008880755864083767,
-0.018674567341804504,
0.03593648225069046,
0.009578468278050423,
0.024239037185907364,
-0.020121674984693527,
-0.0501319095492363,
-0.01616797223687172,
-0.020672952756285667,
-0.009785197675228119,
-0.06511980295181274,
0.02420458197593689,
-0.09392412006855011,
0.007618844509124756,
0.015263530425727367,
-0.005797040648758411,
-0.057160716503858566,
-0.003968776203691959,
0.06518871337175369,
-0.02230956219136715,
-0.034920062869787216,
0.0337313674390316,
0.029924100264906883,
-0.06091630086302757,
0.07070150226354599,
0.016822615638375282,
0.010775776579976082,
-0.04634186998009682,
-0.0006820997805334628,
0.07690338790416718,
-0.04375775158405304,
-0.015918174758553505,
0.005534322001039982,
0.07607647031545639,
0.010129746980965137,
-0.04131145030260086,
0.018226653337478638,
0.029614005237817764,
0.04272410273551941,
0.04582504555583,
0.00832517072558403,
0.019553167745471,
0.00901857577264309,
0.029407275840640068,
-0.004063527565449476,
-0.011025574989616871,
-0.024910908192396164,
0.03452382981777191,
0.07194187492132187,
-0.0417938195168972,
0.07187296450138092,
-0.031078338623046875,
0.003777120728045702,
-0.008273487910628319,
0.02616851218044758,
-0.01255881879478693,
-0.007972007617354393,
-0.028201352804899216,
-0.021792737767100334,
-0.03200862184166908,
-0.0009814269142225385,
0.004427457228302956,
0.034920062869787216,
0.011499330401420593,
-0.03824496269226074,
0.025083182379603386,
0.004750472493469715,
-0.0018088833894580603,
0.030216965824365616,
0.12452008575201035,
0.0036651422269642353,
0.018536748364567757,
-0.03765922784805298,
-0.012291793711483479,
0.029906872659921646,
0.03001023642718792,
-0.035350751131772995,
0.003154778853058815,
0.032490991055965424,
-0.011800810694694519,
-0.02628910541534424,
-0.03257712721824646,
-0.0033033655490726233,
-0.03438601270318031,
0.024032307788729668,
0.054783325642347336,
-0.013825037516653538,
-0.04100135713815689,
-0.040002163499593735,
-0.039106335490942,
0.0047763134352862835,
-0.008114133961498737,
0.017287757247686386,
0.04523931071162224,
-0.04361993074417114,
0.009923017583787441,
0.0941997542977333,
-0.060709573328495026,
-0.00866110622882843,
0.019225846976041794,
-0.008303635753691196,
-0.06887538731098175,
0.022085605189204216,
0.029252229258418083,
-0.032180897891521454,
-0.021224232390522957,
-0.050752099603414536,
0.039106335490942,
-0.009759356267750263,
0.01491036731749773,
0.010190042667090893,
-0.008984120562672615,
0.04330983757972717,
0.0025776587426662445,
-0.007321670651435852,
0.02547941543161869,
-0.01103418879210949,
-0.07511173188686371,
0.025703372433781624,
0.015186007134616375,
-0.006249261554330587,
0.011172008700668812,
0.024824772030115128,
-0.014410771429538727,
-0.006585197057574987,
-0.014410771429538727,
0.003374428953975439,
-0.032180897891521454,
-0.008747243322432041,
0.07545627653598785,
-0.01900188997387886,
0.044894762337207794,
0.046893149614334106,
-0.026185739785432816,
-0.034437693655490875,
-0.014798388816416264,
0.014746706932783127,
-0.045859500765800476,
-0.024738634005188942,
0.00790309812873602,
0.04120808467268944,
0.038658421486616135,
0.02871817722916603,
0.02413567341864109,
-0.04155263677239418,
-0.001946703065186739,
0.003718978026881814,
0.0013502022484317422,
-0.024170126765966415,
0.0017152091022580862,
-0.006542128045111895,
-0.008333784528076649,
-0.023997852578759193,
0.0020511446055024862,
-0.06835856288671494,
0.020552361384034157,
0.033765822649002075,
-0.026547517627477646,
0.025496643036603928,
0.02651306241750717,
0.07166624069213867,
-0.029924100264906883,
0.005125169642269611,
0.019260302186012268,
-0.005017498042434454,
0.06687700003385544,
-0.05223366245627403,
-0.015461646020412445,
0.08475910872220993,
-0.04393002390861511,
-0.056127067655324936,
-0.06808292865753174,
-0.06405170261859894,
-0.014040380716323853,
-0.016374701634049416,
0.045135948807001114,
-0.014005925506353378,
0.0030923292506486177,
0.02249906398355961,
-0.020793545991182327,
-0.019294755533337593,
0.01924307458102703,
-0.052095841616392136,
-0.06398279219865799,
-0.022895295172929764,
0.005521401297301054,
-0.023515483364462852,
0.0029049806762486696,
-0.02878708764910698,
-0.012438226491212845,
0.002773621119558811,
-0.03900296986103058,
0.0019703907892107964,
-0.03013082966208458,
-0.03948533907532692,
0.01231763418763876,
-0.017253302037715912,
0.07931523025035858,
-0.008342398330569267,
-0.0021222077775746584,
0.04799570515751839,
-0.036694493144750595,
0.03195694088935852,
0.08579275757074356,
-0.04575613513588905,
-0.06305250525474548,
0.07249315828084946,
0.010224497877061367,
-0.04089799150824547,
0.06608454138040543,
-0.014350474812090397,
-0.047203242778778076,
-0.029975781217217445,
0.01543580461293459,
-0.018777932971715927,
-0.011585467495024204,
-0.012395158410072327,
-0.0006890984368510544,
-0.01342019159346819,
-0.023119252175092697,
-0.05237147957086563,
-0.04548049718141556,
-0.04599732160568237,
0.011258145794272423,
0.044515758752822876,
0.00683068810030818,
0.0072786021046340466,
-0.04823689162731171,
-0.014272951520979404,
0.00013257069804240018,
-0.026013465598225594,
0.0049744294956326485,
-0.022102832794189453,
-0.017494486644864082,
-0.028614813461899757,
0.009475103579461575,
0.031560707837343216,
0.08027996867895126,
0.034506604075431824,
0.01665034145116806,
-0.03741804510354996,
0.024893680587410927,
0.025565551593899727,
0.00632678484544158,
-0.00530175119638443,
-0.0007580082747153938,
-0.005418036598712206,
-0.0662568137049675,
0.022033922374248505,
-0.03831387311220169,
0.000013038361430517398,
-0.04523931071162224,
-0.008122747763991356,
0.030337559059262276,
0.040553443133831024,
0.04579059034585953,
-0.023429347202181816,
0.014229882508516312,
-0.008811846375465393,
0.019639305770397186,
0.0011025575222447515,
-0.02175828255712986,
-0.004970122594386339,
0.014893139712512493,
0.019329210743308067,
0.02017335593700409,
-0.028321946039795876,
0.03562638908624649,
-0.018123289570212364,
-0.03796932473778725,
0.01415235921740532,
0.02768453024327755,
0.05512787401676178,
-0.006003770045936108,
0.05292275920510292,
-0.01943257637321949,
0.010999733582139015,
0.05223366245627403,
0.024600815027952194,
-0.03483392670750618,
0.04796124994754791,
-0.029062725603580475,
-0.02305034175515175,
-0.003906326834112406,
-0.03955424949526787,
-0.03703904151916504,
-0.03972652554512024,
-0.026788702234625816,
0.05995156243443489,
-0.006671334151178598,
-0.03679785504937172,
0.06511980295181274,
0.06556771695613861,
0.030544288456439972,
-0.002553971018642187,
-0.0036285340320318937,
0.08772223442792892,
0.006761778611689806,
-0.03900296986103058,
0.08069342374801636,
0.007321670651435852,
0.009940245188772678,
-0.060227204114198685,
-0.05726407840847969,
-0.04792679473757744,
-0.0732511654496193,
-0.03893406316637993,
0.004343473352491856,
-0.034678880125284195,
-0.010594888590276241,
0.0893760696053505,
-0.06215667724609375,
-0.03572975471615791,
-0.029372820630669594,
0.05092437565326691,
0.02756393700838089,
-0.02547941543161869,
-0.033645231276750565,
-0.015599465928971767,
-0.016064606606960297,
-0.030354786664247513,
0.009380352683365345,
-0.012601887807250023,
-0.06642908602952957,
0.008122747763991356,
-0.0035983859561383724,
-0.0322498083114624,
-0.0379004143178463,
-0.031130021438002586,
0.05299166962504387,
-0.015108482912182808,
0.05292275920510292,
0.015659762546420097,
0.008381159976124763,
-0.03307672590017319,
-0.022774703800678253,
-0.010681025683879852,
-0.012240110896527767,
0.05781535804271698,
-0.04527376592159271,
-0.002599193248897791,
-0.04155263677239418,
0.033834733068943024,
0.021241459995508194,
-0.009630151093006134,
-0.0012436073739081621,
0.017744284123182297,
-0.005000270437449217,
-0.03824496269226074,
0.002224495867267251,
-0.06815183162689209,
0.001610767561942339,
0.03221535310149193,
0.027029886841773987,
-0.018312791362404823,
-0.0047030970454216,
0.03471333533525467,
0.019208619371056557,
-0.03769368305802345,
-0.0015192467253655195,
0.058090999722480774,
0.0405878983438015,
0.049236081540584564,
0.03648776188492775,
-0.02883877046406269,
-0.06877202540636063,
-0.010034996084868908,
-0.023136479780077934,
0.014591659419238567,
0.016943207010626793,
0.07407808303833008,
0.008984120562672615,
-0.053818587213754654,
-0.005461105145514011,
-0.016736477613449097,
0.04361993074417114,
-0.015521942637860775,
0.057057350873947144,
0.003337820526212454,
0.0011111712083220482,
-0.03335236385464668,
0.003673756029456854,
0.015745898708701134,
-0.009466489776968956,
0.04823689162731171,
0.02518654800951481,
0.024290720000863075,
-0.0342654213309288,
-0.021224232390522957,
0.05371522158384323,
0.06956448405981064,
0.04100135713815689,
-0.04124253988265991,
-0.027219388633966446,
-0.027116023004055023,
-0.03738358989357948,
0.04051898792386055,
-0.030578743666410446,
-0.013334054499864578,
-0.01756339706480503,
-0.026065148413181305,
-0.01198169868439436,
-0.011008347384631634,
-0.011723287403583527,
0.00032193816150538623,
0.054611049592494965,
-0.014617500826716423,
0.049718450754880905,
0.035178475081920624,
0.01592678762972355,
-0.01772705651819706,
0.06405170261859894,
-0.05340512841939926,
-0.033455729484558105,
-0.009156395681202412,
-0.0309749748557806,
0.001972544239833951,
-0.0405878983438015,
-0.012731093913316727,
-0.043792206794023514,
-0.027529481798410416,
-0.03483392670750618,
0.035902027040719986,
-0.010181429795920849,
0.004046299960464239,
0.02010444737970829,
0.049236081540584564,
-0.04038116708397865,
-0.047203242778778076,
0.03907188028097153,
0.01524630282074213,
-0.06567107886075974,
-0.05554133281111717,
-0.01962207816541195,
-0.003258143551647663,
-0.0014158819103613496,
0.02139650657773018,
-0.021430961787700653,
-0.05481778085231781,
-0.03202585130929947,
-0.027822349220514297,
-0.016469452530145645,
-0.07194187492132187,
-0.011904175393283367,
0.04368884116411209,
0.030527060851454735,
-0.0662568137049675,
-0.001878869952633977,
0.012309020385146141,
-0.024773089215159416,
0.019294755533337593,
0.0019090180285274982,
0.031267840415239334,
-0.023188162595033646,
-0.01907079853117466,
0.018846841529011726,
0.06729046255350113,
-0.0114562613889575,
0.027064340189099312,
-0.020069992169737816,
0.008234726265072823,
0.006094214506447315,
0.012145360000431538,
-0.04465357959270477,
-0.04441239312291145,
-0.030906064435839653,
0.030389241874217987,
0.04003661870956421,
0.004802154842764139,
-0.05929692089557648,
-0.00993163138628006,
0.006188965402543545,
0.051785748451948166,
-0.058814551681280136,
0.02132759615778923,
0.01375612709671259,
-0.001678600674495101,
-0.036694493144750595,
-0.012963664717972279,
0.007816960103809834,
0.00001466184767195955,
0.0028166898991912603,
-0.058159906417131424,
0.007235533557832241,
0.0188812967389822,
0.025272686034440994,
0.03955424949526787,
0.039450883865356445,
0.041828274726867676,
-0.006886677350848913,
-0.054128680378198624,
-0.03269772231578827,
0.03800377994775772,
-0.09323501586914062,
0.0010174969211220741,
-0.012076450511813164,
-0.06515425443649292,
0.042069461196660995,
-0.030664879828691483,
0.005913326051086187,
0.053198400884866714,
-0.0151515519246459,
-0.04840916395187378,
0.03741804510354996,
0.031026657670736313,
-0.05467996001243591,
-0.009940245188772678,
0.013885333202779293,
-0.015418577939271927,
-0.020431768149137497,
-0.01564253494143486,
0.023911716416478157,
0.029355593025684357,
0.06804846972227097,
0.025100409984588623,
0.0006654106546193361,
-0.07676556706428528,
-0.02572060003876686,
0.021965011954307556,
-0.015935400500893593,
0.03145734220743179,
0.008992734365165234,
0.00018627192184794694,
-0.013428805395960808,
0.028683722019195557,
0.001636608736589551,
-0.03245653584599495,
0.03481669723987579,
-0.004560970235615969,
-0.0001799462188500911,
0.048305802047252655,
-0.05285384878516197,
-0.016546975821256638,
-0.003925707656890154,
0.022051149979233742,
-0.031991396099328995,
0.04630741477012634,
0.029476186260581017,
-0.08799786865711212,
0.0018853303045034409,
-0.03169852867722511,
0.017744284123182297,
0.05213029682636261,
-0.07897067815065384,
-0.04003661870956421,
-0.04920163005590439,
-0.039623159915208817,
0.03135398030281067,
0.01020727027207613,
0.055816974490880966,
0.034196510910987854,
-0.03759032115340233,
0.0064387633465230465,
-0.033645231276750565,
0.029252229258418083,
-0.041345905512571335,
-0.004513594787567854,
0.02651306241750717,
-0.03390364348888397,
0.035591933876276016,
0.03138843551278114,
0.005262989085167646,
-0.060468386858701706,
-0.03429987281560898,
-0.024290720000863075,
0.09075426310300827,
-0.042930833995342255,
-0.0364188514649868,
-0.016426384449005127,
0.04076017066836357,
0.024307947605848312,
-0.009147781878709793,
0.05171683803200722,
-0.019570395350456238,
0.0034864074550569057,
-0.04541158676147461,
-0.07683447748422623,
0.04665196314454079,
-0.018536748364567757,
0.0809001550078392,
0.03872733190655708,
-0.0725620687007904,
0.0215687807649374,
0.04492921754717827,
-0.06735937297344208,
-0.013652762398123741,
0.02108641155064106,
0.011654376983642578,
0.06980567425489426,
0.011283987201750278,
0.014944822527468204,
-0.01151655800640583,
0.010887755081057549,
0.011740515008568764,
0.03442046791315079,
0.004414536990225315,
0.07773030549287796,
0.024170126765966415,
-0.00036796779022552073,
0.008669720031321049,
-0.007816960103809834,
0.005176851991564035,
0.05226811766624451,
0.055162329226732254,
-0.03814159706234932,
-0.027477800846099854,
0.03538520634174347,
0.012257338501513004,
0.006008076947182417,
-0.0182094257324934,
-0.035970937460660934,
-0.015254916623234749,
0.017813194543123245,
0.033093951642513275,
0.064775250852108,
0.03340404853224754,
0.013153166510164738
] |
708,757
|
pathvalidate.error
|
NullNameError
|
[Deprecated]
Exception raised when a name is empty.
|
class NullNameError(ValidationError):
"""[Deprecated]
Exception raised when a name is empty.
"""
def __init__(self, *args, **kwargs) -> None: # type: ignore
kwargs[ErrorAttrKey.REASON] = ErrorReason.NULL_NAME
super().__init__(args, **kwargs)
|
(*args, **kwargs) -> None
|
[
-0.013007340021431446,
-0.03074297495186329,
0.035453155636787415,
-0.005326125305145979,
-0.040362611413002014,
-0.06847875565290451,
0.03693867102265358,
0.023713938891887665,
0.1173921525478363,
-0.04210175201296806,
0.00692034000530839,
-0.005656743887811899,
0.0912325456738472,
-0.026757439598441124,
-0.0037772012874484062,
0.04018145054578781,
0.03411256521940231,
0.016186710447072983,
-0.008396799676120281,
0.006571605335921049,
-0.011068920604884624,
-0.0107790632173419,
-0.012744656763970852,
-0.0004350688250269741,
-0.007337009534239769,
0.13420386612415314,
0.0215581264346838,
0.008034477941691875,
0.026902368292212486,
-0.0265581626445055,
-0.038587234914302826,
0.005185725633054972,
0.013786331750452518,
0.07065268605947495,
0.02588786743581295,
-0.044782932847738266,
-0.034819092601537704,
0.011204791255295277,
-0.10594279319047928,
-0.006028123199939728,
0.028804555535316467,
0.021250152960419655,
-0.05840621888637543,
-0.026014680042862892,
0.025416851043701172,
-0.03440242260694504,
0.025706706568598747,
0.024257421493530273,
-0.11463850736618042,
0.01414865255355835,
0.016938528046011925,
0.05018152296543121,
-0.000632930314168334,
-0.01730990782380104,
-0.00709697138518095,
0.05322502180933952,
0.041014790534973145,
0.06322509050369263,
-0.01716497913002968,
0.00858248956501484,
-0.017101572826504707,
0.03594228997826576,
0.028098028153181076,
-0.05054384469985962,
-0.0381162166595459,
-0.042174216359853745,
0.01737331412732601,
-0.04184812679886818,
0.017500126734375954,
0.007676685694605112,
0.021974796429276466,
-0.008170348592102528,
-0.06217436119914055,
0.08094261586666107,
0.06931209564208984,
-0.010570728220045567,
-0.031032832339406013,
0.025000181049108505,
0.03257269784808159,
-0.041051022708415985,
0.05423952266573906,
-0.004882281646132469,
-0.04391336068511009,
-0.02148566208779812,
0.040471307933330536,
-0.060145363211631775,
-0.04637714475393295,
-0.014275465160608292,
-0.010905875824391842,
0.023261036723852158,
-0.059601880609989166,
-0.003901749150827527,
-0.05851491540670395,
0.024800904095172882,
0.029474850744009018,
0.010471089743077755,
0.027319038286805153,
-0.05365980789065361,
-0.023116108030080795,
0.018297232687473297,
0.0148189477622509,
0.019438546150922775,
0.024239305406808853,
0.026195840910077095,
0.03960173577070236,
-0.041014790534973145,
0.00988231785595417,
-0.061268556863069534,
0.023840751498937607,
-0.02590598352253437,
0.0009941194439306855,
-0.009311661124229431,
0.0006601043860428035,
0.0037704077549278736,
-0.02583351917564869,
-0.027627011761069298,
-0.0026721206959336996,
0.007744621019810438,
-0.0067210630513727665,
-0.013976549729704857,
0.036141566932201385,
0.0073732417076826096,
-0.09601518511772156,
-0.005344241391867399,
0.0529351644217968,
-0.013351545669138432,
-0.01384068001061678,
-0.0052355448715388775,
0.08666729182004929,
0.00858248956501484,
0.01790773868560791,
0.0020142807625234127,
-0.02958354726433754,
-0.029855288565158844,
-0.010480147786438465,
0.03398575261235237,
0.08347886055707932,
0.04010898619890213,
-0.05547141656279564,
0.03208356350660324,
0.026123376563191414,
0.03449300304055214,
0.03259081393480301,
0.015706636011600494,
0.037862591445446014,
-0.0037862590979784727,
-0.02958354726433754,
0.0009414696833118796,
0.0005732038407586515,
0.0007546476554125547,
0.028043679893016815,
0.014112420380115509,
0.013088862411677837,
0.011548995971679688,
0.030072681605815887,
-0.008790824562311172,
-0.02413060888648033,
-0.10181232541799545,
0.0008112603682093322,
0.010588844306766987,
0.020126957446336746,
-0.04489162936806679,
0.02702918089926243,
-0.0504351481795311,
0.006082471460103989,
0.040435075759887695,
0.03251834958791733,
-0.05253661051392555,
-0.0066576567478477955,
0.0197284035384655,
-0.023134224116802216,
-0.029746592044830322,
-0.015181268565356731,
0.040398843586444855,
-0.004388618748635054,
0.05405836179852486,
0.0065353731624782085,
0.02583351917564869,
-0.010280871763825417,
-0.004411263857036829,
0.05474677309393883,
-0.007930310443043709,
0.020126957446336746,
-0.028822671622037888,
0.06148594990372658,
0.016974760219454765,
-0.03280820697546005,
0.04496409371495247,
0.03387705609202385,
0.04550757631659508,
0.05742795020341873,
0.010625076480209827,
-0.00023069686722010374,
0.06304392963647842,
0.01074283104389906,
-0.029112529009580612,
-0.0032767446245998144,
-0.017744693905115128,
0.03023572638630867,
-0.009719273075461388,
-0.03742780536413193,
0.06855121999979019,
-0.010905875824391842,
-0.017391430214047432,
0.006290806457400322,
0.0689135417342186,
-0.018261000514030457,
-0.014402277767658234,
-0.05344241484999657,
-0.03905825316905975,
-0.012137768790125847,
0.037355341017246246,
-0.0614134855568409,
0.03130457550287247,
-0.007110558450222015,
-0.03574301302433014,
0.012934875674545765,
-0.021340733394026756,
0.02471032366156578,
0.045290183275938034,
0.07688461244106293,
-0.01608707197010517,
0.06347871571779251,
-0.01974651962518692,
0.03400386869907379,
0.010154059156775475,
0.03244588524103165,
-0.034945905208587646,
-0.003768143244087696,
0.006240987218916416,
-0.03702925145626068,
-0.05250037834048271,
-0.04170319810509682,
-0.0030797324143350124,
-0.05231921747326851,
-0.010498263873159885,
0.04670323431491852,
-0.055290255695581436,
-0.02282625250518322,
-0.04612351953983307,
-0.055217791348695755,
-0.02041681483387947,
-0.04188435897231102,
0.05235544964671135,
0.055797502398490906,
-0.04058000445365906,
-0.012391394004225731,
0.05485546961426735,
-0.04996412992477417,
-0.03016326203942299,
-0.02588786743581295,
0.005670330952852964,
-0.04141334071755409,
-0.003577924333512783,
0.007916723378002644,
-0.02902194857597351,
-0.03706548362970352,
-0.056413449347019196,
0.05282646790146828,
-0.012038130313158035,
-0.020253770053386688,
-0.013659519143402576,
-0.04018145054578781,
0.05344241484999657,
-0.0005148927448317409,
-0.035435039550065994,
0.021250152960419655,
0.006576134357601404,
-0.015860620886087418,
0.03706548362970352,
0.1374647617340088,
0.012463858351111412,
-0.0049683330580592155,
0.02907629683613777,
0.0038519299123436213,
-0.03869593143463135,
-0.05938448756933212,
0.03768143057823181,
0.03244588524103165,
-0.002026735572144389,
0.0481162890791893,
-0.031666893512010574,
0.008374154567718506,
0.04637714475393295,
0.024547278881072998,
-0.029402386397123337,
-0.01900376006960869,
-0.05666707456111908,
-0.07500053942203522,
0.0018489717040210962,
0.012744656763970852,
0.02284436859190464,
0.028822671622037888,
-0.00041072533349506557,
-0.04188435897231102,
-0.02471032366156578,
0.011920375749468803,
0.01327908132225275,
0.027355270460247993,
-0.0063225096091628075,
0.0011798092164099216,
0.028605278581380844,
-0.020616089925169945,
-0.02905818074941635,
-0.06826136261224747,
-0.09014558047056198,
-0.019927680492401123,
0.011105152778327465,
-0.0001987106807064265,
-0.0017255559796467423,
-0.055833734571933746,
0.014347929507493973,
-0.061268556863069534,
0.012599729001522064,
0.03956550359725952,
0.06938455998897552,
0.054529380053281784,
-0.019511010497808456,
0.03132269158959389,
0.05181196704506874,
-0.011630518361926079,
-0.03333357349038124,
-0.02032623440027237,
-0.0617758072912693,
-0.07304400205612183,
0.0031386096961796284,
0.0015353371854871511,
0.007785382214933634,
-0.012871469371020794,
0.02166682295501232,
0.028713975101709366,
-0.05318878963589668,
0.02835165336728096,
-0.06000043451786041,
-0.10405872017145157,
-0.03326110914349556,
0.05844245105981827,
-0.0030706743709743023,
0.009003688581287861,
-0.011838853359222412,
0.021956680342555046,
-0.013659519143402576,
-0.0198189839720726,
0.019891448318958282,
-0.03432995826005936,
-0.015760982409119606,
0.02291683293879032,
-0.07181211560964584,
0.04670323431491852,
0.00046535662841051817,
-0.041123487055301666,
0.026739323511719704,
-0.06108739599585533,
-0.02904006466269493,
0.06666714698076248,
-0.027590779587626457,
-0.05431198701262474,
0.012608787044882774,
0.017083456739783287,
-0.037246644496917725,
0.035525619983673096,
-0.037862591445446014,
-0.006743708159774542,
-0.028786439448595047,
-0.002577011240646243,
-0.0332067608833313,
0.0343661904335022,
0.0099094919860363,
-0.025434967130422592,
-0.00353489862754941,
-0.02471032366156578,
-0.0069882748648524284,
-0.0023641474545001984,
-0.03404010087251663,
-0.00071388651849702,
0.016911353915929794,
0.05380473658442497,
0.008034477941691875,
-0.05170327052474022,
-0.040435075759887695,
-0.013369661755859852,
-0.015009166672825813,
-0.0198189839720726,
0.004010445438325405,
-0.023750171065330505,
0.008953869342803955,
-0.0025747467298060656,
0.04025391489267349,
0.030398769304156303,
0.030398769304156303,
-0.0017595235258340836,
-0.031087180599570274,
0.006974687799811363,
-0.004800759255886078,
-0.032319072633981705,
-0.004248219076544046,
-0.003908542916178703,
-0.03188428655266762,
-0.031195877119898796,
0.02282625250518322,
-0.011005514301359653,
0.0053623574785888195,
-0.06394973397254944,
0.011983782052993774,
0.01146747451275587,
0.03581547737121582,
0.012119652703404427,
-0.005452937912195921,
0.01514503639191389,
0.03210167959332466,
0.00153646944090724,
-0.021866099908947945,
-0.005231015849858522,
-0.04362350329756737,
0.017500126734375954,
0.015108805149793625,
0.019982028752565384,
-0.009003688581287861,
0.0047101788222789764,
-0.028605278581380844,
-0.0442756824195385,
0.014664961025118828,
0.052065592259168625,
0.07463821768760681,
0.00269023678265512,
0.028007447719573975,
-0.034293726086616516,
-0.04985543340444565,
0.055725038051605225,
0.0053623574785888195,
-0.026213956996798515,
0.03193863481283188,
-0.002830636454746127,
-0.08173972368240356,
-0.0014855179470032454,
-0.03474662825465202,
-0.023913215845823288,
-0.003650388680398464,
-0.027645127847790718,
0.04014521837234497,
0.021829867735505104,
-0.032391536980867386,
0.06322509050369263,
0.06358741223812103,
0.012065304443240166,
-0.011068920604884624,
0.000684447877574712,
0.0392756462097168,
-0.006485553923994303,
-0.0529351644217968,
0.03760896623134613,
0.013034514151513577,
0.041594501584768295,
-0.0712324008345604,
-0.03557996824383736,
-0.040978558361530304,
-0.06416712701320648,
-0.02842411771416664,
0.0043795607052743435,
-0.014954818412661552,
-0.03208356350660324,
0.0927542895078659,
-0.03500025346875191,
-0.016893237829208374,
-0.0027445850428193808,
0.04728294909000397,
0.05054384469985962,
0.013786331750452518,
-0.0037409691140055656,
0.02344219759106636,
-0.028152376413345337,
0.020507395267486572,
0.02405814453959465,
0.006281748414039612,
-0.014547206461429596,
0.012463858351111412,
-0.008704773150384426,
-0.021992912515997887,
0.026141492649912834,
0.00048517106915824115,
0.0540945939719677,
0.02099652774631977,
0.044166985899209976,
0.029275573790073395,
0.025434967130422592,
-0.032246608287096024,
-0.04242784157395363,
-0.035525619983673096,
0.0015206178650259972,
0.04442061111330986,
-0.020797250792384148,
-0.001296431408263743,
-0.014900470152497292,
-0.0034873438999056816,
-0.014674019068479538,
0.004574308171868324,
0.006413089577108622,
0.015009166672825813,
0.022663207724690437,
0.007540815509855747,
0.029782824218273163,
-0.03673939406871796,
0.0025588953867554665,
-0.03210167959332466,
0.05434821918606758,
-0.08282668143510818,
-0.02527192234992981,
0.023713938891887665,
0.03313429653644562,
-0.04449307546019554,
-0.05623228847980499,
0.0431162528693676,
0.09434850513935089,
0.02273567207157612,
0.023152340203523636,
0.0037772012874484062,
-0.05605112761259079,
0.03989159315824509,
0.010516379959881306,
0.06050768494606018,
-0.013116036541759968,
0.06340625137090683,
0.0003243909159209579,
0.004832462407648563,
-0.012799005024135113,
-0.012047188356518745,
-0.009646808728575706,
-0.046449609100818634,
0.04630468040704727,
0.036558233201503754,
0.008170348592102528,
-0.015416777692735195,
0.018840715289115906,
0.019275501370429993,
-0.014411335811018944,
0.033550966531038284,
-0.030398769304156303,
0.036685045808553696,
-0.029819056391716003,
0.017762809991836548,
0.027627011761069298,
0.061956968158483505,
0.03894955664873123,
-0.001574966125190258,
-0.03452923521399498,
-0.019927680492401123,
-0.031685009598731995,
0.07550778985023499,
-0.05181196704506874,
-0.017599765211343765,
-0.009510938078165054,
-0.015063514932990074,
-0.0214675460010767,
-0.009243725799024105,
-0.0442756824195385,
-0.01167580857872963,
0.02213784120976925,
0.020000144839286804,
0.06474684178829193,
0.02844223380088806,
-0.015688519924879074,
-0.00695657217875123,
0.0625729188323021,
-0.05597866326570511,
-0.0027853462379425764,
-0.009456589818000793,
-0.024963948875665665,
-0.009610576555132866,
0.0005177233833819628,
0.030924135819077492,
-0.03025384247303009,
-0.02282625250518322,
0.04449307546019554,
0.05684823542833328,
-0.003362796036526561,
0.010226523503661156,
0.020090725272893906,
0.049058325588703156,
-0.04210175201296806,
-0.054022129625082016,
0.018641438335180283,
-0.0033582670148462057,
-0.09087022393941879,
-0.039782896637916565,
-0.016857005655765533,
-0.018152305856347084,
-0.02597844786942005,
-0.01137689407914877,
-0.034293726086616516,
0.005231015849858522,
-0.020199421793222427,
-0.023840751498937607,
0.015625113621354103,
-0.017409546300768852,
0.00858248956501484,
0.023134224116802216,
-0.021956680342555046,
-0.09826157987117767,
0.018713902682065964,
0.022047260776162148,
-0.02896760031580925,
0.03279009088873863,
0.02773570828139782,
0.058841004967689514,
0.032971251755952835,
0.008446618914604187,
-0.02469220757484436,
0.0029823584482073784,
-0.03684809058904648,
0.008437560871243477,
-0.018804483115673065,
0.011141384951770306,
-0.00929354503750801,
0.020000144839286804,
-0.023695822805166245,
-0.04387712851166725,
-0.0073053063824772835,
0.008356038480997086,
0.009338835254311562,
0.0020006936974823475,
-0.0028396944981068373,
-0.02402191236615181,
-0.017500126734375954,
0.06279031187295914,
-0.04938441514968872,
0.020797250792384148,
0.014420393854379654,
-0.010000072419643402,
-0.09318907558917999,
-0.0419568233191967,
-0.003568866290152073,
0.010688482783734798,
-0.032373420894145966,
-0.06224682554602623,
0.002536250278353691,
0.020670438185334206,
0.016168594360351562,
0.0056159826926887035,
0.04054377228021622,
0.06387726962566376,
-0.03442053869366646,
-0.01142218429595232,
-0.03266327828168869,
0.050869934260845184,
-0.06956572085618973,
0.01324284914880991,
-0.04184812679886818,
-0.08434843271970749,
0.04394959285855293,
-0.007518170401453972,
-0.0332067608833313,
0.0800730437040329,
-0.010389567352831364,
-0.036612581461668015,
0.06242798641324043,
0.03324299305677414,
-0.07289907336235046,
-0.02824295684695244,
0.0025679534301161766,
-0.04503655806183815,
-0.004157638642936945,
-0.031666893512010574,
0.04029014706611633,
0.009510938078165054,
0.027916867285966873,
0.047101788222789764,
0.004882281646132469,
-0.05286270007491112,
-0.018360638990998268,
0.01082435343414545,
-0.031666893512010574,
0.04985543340444565,
0.00537141552194953,
-0.010081594809889793,
-0.0283878855407238,
0.026684975251555443,
0.02404002845287323,
-0.02951108291745186,
0.011494648642838001,
-0.00011301315680611879,
0.06217436119914055,
-0.0051721385680139065,
-0.040362611413002014,
0.0018116072751581669,
-0.04608728736639023,
-0.0042233094573020935,
-0.020199421793222427,
0.03130457550287247,
0.056920699775218964,
-0.07587011158466339,
0.004332005977630615,
0.029402386397123337,
0.013161326758563519,
0.07797157764434814,
-0.04496409371495247,
-0.0419568233191967,
-0.012708425521850586,
-0.021105224266648293,
-0.002767230151221156,
0.03757273405790329,
0.04688439518213272,
0.007250958122313023,
-0.03307994827628136,
-0.005801672115921974,
0.0017380107892677188,
0.02715599350631237,
-0.022572627291083336,
-0.0332067608833313,
0.042753931134939194,
-0.029819056391716003,
0.03681185841560364,
0.012210233137011528,
-0.01391314435750246,
-0.058804772794246674,
-0.01787150651216507,
-0.020779134705662727,
0.03938434273004532,
-0.012155884876847267,
-0.021902332082390785,
-0.004855107516050339,
0.05840621888637543,
0.018007377162575722,
-0.00927542895078659,
-0.010606960393488407,
-0.01420300081372261,
0.007952955551445484,
-0.07271791249513626,
-0.08434843271970749,
-0.005543518345803022,
0.008532670326530933,
0.03507271781563759,
0.04869600385427475,
-0.02896760031580925,
0.07021789997816086,
0.06855121999979019,
-0.03894955664873123,
0.005846962332725525,
0.0007172832847572863,
0.01482800580561161,
0.05076123774051666,
0.011340661905705929,
0.005815259180963039,
0.007074326276779175,
-0.007160377688705921,
0.03594228997826576,
0.06463814526796341,
0.02471032366156578,
0.021684939041733742,
0.03012702986598015,
0.02094217948615551,
-0.004424850922077894,
-0.04181189462542534,
-0.01674830913543701,
0.033623430877923965,
-0.003269951092079282,
-0.07833389937877655,
0.008550786413252354,
0.043406110256910324,
-0.013451184146106243,
0.010960224084556103,
-0.008251870982348919,
0.018242884427309036,
0.000005037647952121915,
-0.005629569757729769,
-0.007907665334641933,
0.014918586239218712,
0.028188608586788177,
0.03346038609743118
] |
708,758
|
pathvalidate.error
|
__init__
| null |
def __init__(self, *args, **kwargs) -> None: # type: ignore
kwargs[ErrorAttrKey.REASON] = ErrorReason.NULL_NAME
super().__init__(args, **kwargs)
|
(self, *args, **kwargs) -> NoneType
|
[
-0.01817496493458748,
-0.009858489036560059,
0.04494362324476242,
0.01170370727777481,
-0.03905278444290161,
-0.06538829207420349,
0.029540816321969032,
0.0425872877240181,
0.11012400686740875,
-0.0519779734313488,
-0.02049664780497551,
0.04438919201493263,
0.06649715453386307,
-0.011166601441800594,
-0.03243425488471985,
0.07096726447343826,
0.004526415374130011,
0.03271147236227989,
-0.020756538957357407,
-0.016676267609000206,
-0.00218199216760695,
0.0036406239960342646,
-0.04809695482254028,
0.010768103413283825,
0.02287030965089798,
0.093075230717659,
-0.017395295202732086,
-0.023338111117482185,
0.05485409125685692,
-0.04088934138417244,
-0.03395894542336464,
-0.003958988934755325,
-0.028137410059571266,
0.06656645983457565,
0.010759441182017326,
-0.02857056073844433,
-0.05253240838646889,
0.0006242771632969379,
-0.09071889519691467,
0.01820961758494377,
0.005557311698794365,
0.0033114301040768623,
-0.0284666046500206,
-0.026474114507436752,
0.017118079587817192,
-0.03825578838586807,
0.034669309854507446,
-0.012535355053842068,
-0.06989304721355438,
0.0037510772235691547,
-0.01730000227689743,
0.07685809582471848,
0.015030297450721264,
-0.01586194522678852,
-0.03460000455379486,
0.07152169197797775,
-0.015108264982700348,
0.05045328661799431,
-0.05034933239221573,
0.006930396892130375,
-0.040577471256256104,
0.06421012431383133,
0.026058292016386986,
-0.025573164224624634,
-0.03648853674530983,
-0.0623735710978508,
-0.0075584640726447105,
-0.022783679887652397,
0.016936156898736954,
0.03317927569150925,
0.05059189721941948,
-0.03243425488471985,
-0.05866580829024315,
0.075264111161232,
0.07658088207244873,
-0.029575467109680176,
-0.035223741084337234,
0.013661544770002365,
0.018694745376706123,
-0.014475866220891476,
0.01826159469783306,
0.040023040026426315,
-0.05617086589336395,
-0.0010763772297650576,
0.04529014229774475,
-0.047092046588659286,
-0.05558178201317787,
0.0028717832174152136,
-0.009338709525763988,
0.0056655993685126305,
-0.05956675857305527,
0.008736630901694298,
-0.061992399394512177,
0.0066358549520373344,
0.0683337077498436,
0.03174121677875519,
0.026837961748242378,
-0.054923392832279205,
0.004409465007483959,
0.0013849964598193765,
0.019924890249967575,
-0.021605512127280235,
0.046502962708473206,
-0.02910766564309597,
0.04944838210940361,
-0.02777356468141079,
-0.007969955913722515,
-0.06213100627064705,
0.040161650627851486,
0.0016925327945500612,
-0.02060060389339924,
0.008004608564078808,
0.003575651440769434,
0.0009199018822982907,
-0.0299393143504858,
-0.014042716473340988,
0.0056266156025230885,
-0.017611870542168617,
0.013098449446260929,
0.003086192300543189,
0.042795199900865555,
0.013548925518989563,
-0.08309545367956161,
-0.012440062128007412,
0.04827021434903145,
0.008351127617061138,
-0.031204111874103546,
-0.00871497392654419,
0.06971979141235352,
-0.019716978073120117,
0.04023095220327377,
-0.005994793027639389,
-0.006930396892130375,
-0.013514273799955845,
-0.026959242299199104,
0.02702854759991169,
0.04986420273780823,
0.04778508469462395,
-0.015082275494933128,
0.030216529965400696,
0.05540852248668671,
0.019768957048654556,
0.032451581209897995,
-0.00975453294813633,
0.018729396164417267,
0.024880124256014824,
-0.009494643658399582,
0.004665023181587458,
0.006882750429213047,
0.023580674082040787,
0.013124438934028149,
-0.03153330460190773,
-0.02604096569120884,
0.021813424304127693,
0.01764652319252491,
-0.00162431166972965,
-0.016000553965568542,
-0.057210423052310944,
-0.008641337975859642,
0.01059484388679266,
0.003932999912649393,
-0.08053120970726013,
0.05381453037261963,
-0.07010096311569214,
0.004398636054247618,
0.03401092067360878,
-0.007428518962115049,
-0.03638458251953125,
0.007896320894360542,
0.019422436133027077,
-0.014553832821547985,
-0.06455664336681366,
0.002237218664959073,
0.01754256710410118,
-0.04376545548439026,
0.054923392832279205,
0.014311268925666809,
0.0006870838697068393,
-0.049725595861673355,
0.0020834505558013916,
0.06725949794054031,
-0.021692141890525818,
-0.007497822865843773,
0.02604096569120884,
0.05104237049818039,
-0.00997110828757286,
-0.028830450028181076,
0.017629196867346764,
0.019768957048654556,
0.0361420176923275,
0.04414662718772888,
-0.0031988113187253475,
-0.0017661682795733213,
0.059428151696920395,
0.025971662253141403,
-0.0007536806515417993,
0.044874317944049835,
-0.03881021961569786,
0.0252439696341753,
0.04075073078274727,
-0.015662696212530136,
0.06670507043600082,
-0.014302605763077736,
0.002746169688180089,
0.011227242648601532,
0.027253784239292145,
-0.0149696571752429,
0.0041127572767436504,
-0.039919085800647736,
-0.04570596665143967,
-0.022801004350185394,
0.0031446674838662148,
-0.009113471955060959,
0.020167455077171326,
0.013583577238023281,
-0.007662419695407152,
-0.0195610448718071,
-0.011504458263516426,
0.010092389769852161,
0.044874317944049835,
0.08559039980173111,
-0.033491142094135284,
0.02857056073844433,
-0.03825578838586807,
0.008814598433673382,
0.039919085800647736,
0.03964186832308769,
-0.04147842526435852,
0.0155933927744627,
0.04910185933113098,
-0.052359145134687424,
-0.020184779539704323,
-0.052497755736112595,
-0.01796705275774002,
-0.024620234966278076,
0.02756565250456333,
0.03352579474449158,
-0.028969058766961098,
-0.0687841847538948,
-0.06524968147277832,
-0.03891417756676674,
-0.018590789288282394,
-0.029176970943808556,
0.04019629955291748,
0.07505619525909424,
-0.05391848459839821,
0.014441214501857758,
0.07976886630058289,
-0.06722484529018402,
-0.012093542143702507,
0.021397599950432777,
-0.0007428518729284406,
-0.040023040026426315,
-0.003291938453912735,
0.013652881607413292,
-0.061264704912900925,
-0.010837407782673836,
-0.057210423052310944,
0.04078538343310356,
-0.0044354540295898914,
-0.009711218066513538,
-0.03014722466468811,
-0.015428795479238033,
0.024343017488718033,
0.008385780267417431,
-0.0032226345501840115,
0.0030212197452783585,
-0.0013676704838871956,
-0.024966754019260406,
0.01610451005399227,
0.06708624213933945,
-0.01324572041630745,
-0.0019675828516483307,
0.03856765851378441,
-0.018348224461078644,
-0.0028869432862848043,
-0.03842904791235924,
0.004409465007483959,
-0.03297136351466179,
-0.01722203567624092,
0.06365569680929184,
-0.009312720969319344,
0.03139469772577286,
0.04438919201493263,
0.012084878981113434,
-0.04213681071996689,
-0.015792641788721085,
-0.03822113946080208,
-0.05513130500912666,
-0.00005268861059448682,
0.013800152577459812,
0.07214543223381042,
0.008563371375203133,
0.021917380392551422,
0.013722185045480728,
-0.02371928282082081,
0.030580375343561172,
0.02475884184241295,
0.010915374383330345,
-0.004400801844894886,
0.0020108979661017656,
-0.011322535574436188,
0.024533603340387344,
-0.02812008373439312,
-0.06157657504081726,
-0.05599760636687279,
0.010976015590131283,
0.03182784840464592,
-0.0015809967881068587,
-0.002614059019833803,
0.010179020464420319,
0.06157657504081726,
-0.04147842526435852,
0.04248333349823952,
0.026751331984996796,
0.0435575433075428,
0.07256125658750534,
-0.04085468873381615,
0.00039497847319580615,
0.08940211683511734,
-0.025711771100759506,
-0.05530456453561783,
-0.015108264982700348,
-0.041409119963645935,
-0.00967656634747982,
0.01544612180441618,
0.016832200810313225,
-0.014025390148162842,
0.012751929461956024,
0.017707163468003273,
0.00651024142280221,
-0.030753634870052338,
0.018538810312747955,
-0.06940792500972748,
-0.07353150844573975,
-0.03262484073638916,
0.019179873168468475,
-0.0217787716537714,
0.006926065310835838,
-0.016866853460669518,
0.023338111117482185,
-0.034669309854507446,
-0.027998803183436394,
0.018833352252840996,
0.01705743931233883,
-0.027149828150868416,
0.019768957048654556,
-0.07436315715312958,
0.04979490116238594,
0.020721886307001114,
-0.01515157986432314,
0.023199502378702164,
-0.024394996464252472,
0.032798103988170624,
0.08136285841464996,
-0.024343017488718033,
-0.06448733806610107,
0.03988443315029144,
0.01371352281421423,
-0.01700546033680439,
0.06947723031044006,
-0.02425638772547245,
-0.013964748941361904,
-0.0343920923769474,
-0.012119531631469727,
-0.0013568417634814978,
0.00959859974682331,
0.016381725668907166,
-0.027444370090961456,
0.005765223875641823,
-0.035622239112854004,
-0.06074492633342743,
-0.027531001716852188,
-0.0183135736733675,
0.0021473399829119444,
0.0185561366379261,
0.009849825873970985,
0.000939393590670079,
-0.035275720059871674,
-0.014319932088255882,
-0.022541115060448647,
-0.04736926034092903,
-0.021917380392551422,
0.00397848105058074,
-0.04542874917387962,
-0.013263046741485596,
0.02212529070675373,
0.029592793434858322,
0.06719019263982773,
0.029038362205028534,
-0.005817201919853687,
-0.04657226428389549,
0.025105362758040428,
0.001824643462896347,
0.010924037545919418,
0.0026075616478919983,
0.015602055937051773,
-0.006861092522740364,
-0.05901232734322548,
-0.0067917886190116405,
-0.040508169680833817,
-0.03936465457081795,
-0.030701657757163048,
0.0346519835293293,
0.02663004957139492,
0.029384881258010864,
0.004673686344176531,
0.019716978073120117,
0.014345921576023102,
0.01445853989571333,
-0.002988733584061265,
0.0005847522406838834,
-0.0095292953774333,
-0.03628062829375267,
-0.004621708299964666,
0.016970809549093246,
-0.0025664125569164753,
-0.006250351667404175,
0.0259889867156744,
-0.03492920100688934,
-0.03946860879659653,
-0.012673962861299515,
0.043037764728069305,
0.05222053825855255,
-0.002938921330496669,
0.04723065346479416,
-0.005037532187998295,
-0.013280373066663742,
0.06323987245559692,
0.009875815361738205,
-0.0284666046500206,
0.08060051500797272,
-0.010681473650038242,
-0.04099329560995102,
0.00409759720787406,
0.008922886103391647,
-0.03603806346654892,
-0.020288735628128052,
-0.020219432190060616,
0.04168633744120598,
-0.008632675744593143,
-0.03536234796047211,
0.05696786195039749,
0.07283847033977509,
0.020513974130153656,
-0.005531322676688433,
-0.006874087266623974,
0.040265604853630066,
-0.03054572269320488,
-0.03946860879659653,
0.04099329560995102,
0.00703002093359828,
0.018833352252840996,
-0.05960141122341156,
-0.051111675798892975,
-0.04154772683978081,
-0.09979771077632904,
-0.012067553587257862,
0.0039503262378275394,
-0.028137410059571266,
-0.025573164224624634,
0.0663585513830185,
-0.0510077178478241,
-0.0500028133392334,
-0.0190585907548666,
0.06417547166347504,
0.045047577470541,
-0.028622537851333618,
-0.03808252885937691,
0.005366725847125053,
-0.042310070246458054,
0.012639311142265797,
0.006856761407107115,
0.012864548712968826,
-0.02702854759991169,
-0.00009008162305690348,
-0.0024104786571115255,
-0.0608835332095623,
-0.011920282617211342,
0.02337276190519333,
0.06043305993080139,
-0.004500426352024078,
0.0886397734284401,
0.020513974130153656,
0.0025599151849746704,
-0.028276018798351288,
-0.037354838103055954,
-0.03456535190343857,
-0.0016145658446475863,
0.031100155785679817,
-0.026612723246216774,
0.023979172110557556,
-0.024724191054701805,
0.030857590958476067,
0.00978052243590355,
0.0005346692632883787,
0.005565974861383438,
-0.0059904614463448524,
0.012362095527350903,
-0.022662397474050522,
0.017438611015677452,
-0.06722484529018402,
-0.015238209627568722,
-0.009408013895154,
0.015134253539144993,
-0.05658669024705887,
-0.025417229160666466,
0.024325693026185036,
0.016944820061326027,
-0.02940220758318901,
0.008922886103391647,
0.05928954482078552,
0.05211658403277397,
0.005037532187998295,
0.006189710460603237,
-0.010308965109288692,
-0.04147842526435852,
0.0023195170797407627,
-0.01544612180441618,
0.04005769267678261,
0.016277769580483437,
0.06306660920381546,
0.006380296312272549,
-0.01210220530629158,
-0.02073921263217926,
-0.010386931709945202,
0.004639034159481525,
-0.04251798242330551,
0.04168633744120598,
0.015324839390814304,
-0.012578669935464859,
-0.047196000814437866,
-0.009685229510068893,
0.03634992986917496,
0.0016459692269563675,
0.050072114914655685,
0.0010498467599973083,
0.022107966244220734,
-0.04896325245499611,
-0.006891413126140833,
0.037458792328834534,
0.05835394188761711,
0.020358040928840637,
-0.009165449999272823,
-0.0155933927744627,
-0.04781973734498024,
-0.06753671914339066,
0.06767532229423523,
-0.037943921983242035,
-0.010395594872534275,
0.016347073018550873,
-0.0509730689227581,
-0.022662397474050522,
0.021848075091838837,
-0.03300601243972778,
0.014267954044044018,
0.06996235251426697,
0.0003800889535341412,
0.06379429996013641,
0.047646477818489075,
0.007904984056949615,
-0.006648849230259657,
0.0668436735868454,
-0.05669064447283745,
-0.006341313011944294,
-0.010179020464420319,
-0.02321682870388031,
0.013696196489036083,
-0.03425348550081253,
0.02153620682656765,
-0.0435575433075428,
-0.003073197789490223,
-0.019335806369781494,
0.05419570207595825,
-0.013904108665883541,
-0.020999101921916008,
0.021553533151745796,
0.058943022042512894,
-0.028743820264935493,
-0.04272589460015297,
0.01796705275774002,
-0.01022233534604311,
-0.06171518191695213,
-0.03766670450568199,
-0.04300311207771301,
0.015524088405072689,
-0.013574914075434208,
0.0017531737685203552,
-0.011591088026762009,
-0.024394996464252472,
-0.046260397881269455,
-0.04906720668077469,
-0.01876404881477356,
-0.018053682520985603,
0.020825842395424843,
0.03555293381214142,
0.013306361623108387,
-0.10305500030517578,
-0.008177868090569973,
0.01732599176466465,
-0.015628045424818993,
0.02396184578537941,
0.01631242036819458,
0.0782441794872284,
0.005020206328481436,
-0.01371352281421423,
0.0020401354413479567,
0.05471548065543175,
-0.032590191811323166,
0.03884487226605415,
-0.011824989691376686,
0.00763643067330122,
0.019665000960230827,
0.017395295202732086,
-0.03950326144695282,
-0.058735113590955734,
-0.015558740124106407,
0.03600341081619263,
0.031758543103933334,
0.010577517561614513,
-0.03217436745762825,
-0.030701657757163048,
-0.01615648716688156,
0.08177868276834488,
-0.058527201414108276,
0.03153330460190773,
0.010646821931004524,
-0.030233856290578842,
-0.07665018737316132,
-0.02351137064397335,
0.03148132562637329,
0.04334963113069534,
-0.02193470485508442,
-0.07498688995838165,
0.004069442395120859,
0.03964186832308769,
0.029246274381875992,
-0.0029259268194437027,
0.04664156958460808,
0.0519779734313488,
-0.016944820061326027,
-0.01796705275774002,
-0.016468355432152748,
0.03283275291323662,
-0.0757492333650589,
0.026318181306123734,
-0.04549805447459221,
-0.08406571298837662,
0.010828744620084763,
-0.0066358549520373344,
0.0013113609747961164,
0.04515153542160988,
-0.007038684096187353,
-0.03297136351466179,
0.05998258292675018,
0.04865138605237007,
-0.08122424781322479,
0.0012658803025260568,
0.0004377520235721022,
-0.017525240778923035,
-0.029176970943808556,
-0.013574914075434208,
0.037943921983242035,
0.01681487448513508,
0.05059189721941948,
0.021276317536830902,
0.00748482858762145,
-0.08448153734207153,
0.005791212897747755,
0.021276317536830902,
-0.0195610448718071,
0.039780475199222565,
0.008433426730334759,
0.017932401970028877,
-0.017663847655057907,
0.023234155029058456,
0.025036057457327843,
-0.036904361099004745,
0.045567359775304794,
-0.01710941642522812,
0.035327695310115814,
0.03030315972864628,
-0.03988443315029144,
-0.030909569934010506,
-0.006302329711616039,
0.023078221827745438,
-0.03683505952358246,
0.04040421172976494,
0.04563666135072708,
-0.09785719960927963,
-0.02162283845245838,
-0.03648853674530983,
0.012570006772875786,
0.06029444932937622,
-0.07117517292499542,
-0.06816045194864273,
-0.05658669024705887,
-0.064833864569664,
0.017118079587817192,
0.03849835321307182,
0.04286450520157814,
0.018244268372654915,
-0.04778508469462395,
-0.028778472915291786,
0.004418127704411745,
0.018590789288282394,
-0.009520632214844227,
-0.01969965174794197,
0.03428813815116882,
-0.033335208892822266,
0.027288436889648438,
0.026075618341565132,
-0.006787457037717104,
-0.08753091096878052,
-0.0028414626140147448,
0.0013319356366991997,
0.05028002709150314,
-0.02222924679517746,
-0.05513130500912666,
-0.023026242852211,
0.04400802031159401,
0.025105362758040428,
0.016780223697423935,
0.033543121069669724,
0.002917263889685273,
0.0017488423036411405,
-0.0574183352291584,
-0.07796696573495865,
0.01866009272634983,
-0.0031533304136246443,
0.05267101526260376,
0.02638748474419117,
-0.03470396250486374,
0.010880722664296627,
0.054472919553518295,
-0.05402244254946709,
0.022055987268686295,
0.016840863972902298,
0.022315876558423042,
0.07983817160129547,
-0.014441214501857758,
0.0005928737809881568,
0.0031013526022434235,
0.013133102096617222,
0.032295648008584976,
0.057695552706718445,
0.003865861799567938,
0.025088036432862282,
0.04896325245499611,
-0.0010390180395916104,
0.008801603689789772,
-0.025711771100759506,
0.0007136142812669277,
0.045359447598457336,
0.016494344919919968,
-0.06459129601716995,
-0.009745870716869831,
0.061160750687122345,
0.012015575543045998,
0.03179319575428963,
-0.014874364249408245,
-0.01710941642522812,
0.0018333065090700984,
0.0076407622545957565,
0.03593410551548004,
0.0589083731174469,
0.035760845988988876,
0.03182784840464592
] |
708,762
|
pathvalidate._const
|
Platform
|
Platform specifier enumeration.
|
class Platform(enum.Enum):
"""
Platform specifier enumeration.
"""
#: POSIX compatible platform.
POSIX = "POSIX"
#: platform independent. note that absolute paths cannot specify this.
UNIVERSAL = "universal"
LINUX = "Linux"
WINDOWS = "Windows"
MACOS = "macOS"
|
(value, names=None, *, module=None, qualname=None, type=None, start=1)
|
[
0.07831371575593948,
-0.05038488283753395,
-0.08777632564306259,
-0.022473705932497978,
0.01488243043422699,
-0.056316670030355453,
0.016488956287503242,
-0.023444684222340584,
-0.01402620505541563,
-0.004925501998513937,
0.03806230053305626,
0.017283393070101738,
-0.0017918940866366029,
0.03735613822937012,
0.02559848688542843,
-0.018660414963960648,
0.0031468484085053205,
0.023303451016545296,
0.011122100986540318,
-0.0075559671968221664,
0.03285433351993561,
0.05264461413025856,
-0.0003583236539270729,
-0.051655981689691544,
0.022915059700608253,
0.11009114980697632,
0.01107796560972929,
0.000046962741180323064,
-0.03823884204030037,
-0.10267641395330429,
-0.04018079861998558,
0.025916261598467827,
0.007017516065388918,
-0.04247583448886871,
0.008045868948101997,
0.007110200356692076,
-0.039721790701150894,
0.036967746913433075,
-0.05885886773467064,
-0.044029396027326584,
-0.053562626242637634,
-0.0029681003652513027,
-0.01402620505541563,
-0.02734624594449997,
-0.032430633902549744,
-0.0002410892047919333,
-0.016833212226629257,
-0.017168641090393066,
-0.01885461062192917,
0.0339665450155735,
0.006955727003514767,
0.017839496955275536,
-0.026057494804263115,
-0.059988729655742645,
-0.09406119585037231,
0.07026343047618866,
-0.0002568124036770314,
0.004894607234746218,
-0.09533229470252991,
0.06645014137029648,
-0.014873603358864784,
0.03933339938521385,
-0.004364983178675175,
-0.028246605768799782,
-0.01463527325540781,
-0.039015624672174454,
0.023621223866939545,
-0.008156207390129566,
-0.018960533663630486,
0.09780387580394745,
-0.009118357673287392,
0.031212499365210533,
0.00034673811751417816,
-0.029482396319508553,
0.05797616019845009,
-0.034566786140203476,
-0.04883132129907608,
0.06962788105010986,
0.02547490783035755,
0.004903434310108423,
0.00843426026403904,
-0.002212282968685031,
0.031247807666659355,
-0.013275904580950737,
0.048584163188934326,
0.023144563660025597,
-0.002153803827241063,
0.013320039957761765,
-0.0003293598419986665,
-0.004391464404761791,
-0.011183890514075756,
0.023162217810750008,
-0.0011486217845231295,
0.021749887615442276,
0.0017786534735932946,
-0.03345457464456558,
0.001968435477465391,
0.04184028506278992,
-0.0378151461482048,
-0.045265186578035355,
-0.018978187814354897,
-0.0001297854323638603,
-0.011925363913178444,
-0.05765838548541069,
0.004775441717356443,
-0.0034557958133518696,
0.010124643333256245,
0.015553287230432034,
-0.03675589710474014,
-0.00627604266628623,
-0.035396527498960495,
-0.02510417066514492,
-0.017918940633535385,
-0.016232971101999283,
0.00019626425637397915,
0.01420274656265974,
-0.04222867637872696,
-0.03675589710474014,
0.046677518635988235,
0.0067262230440974236,
-0.09935744106769562,
0.127533420920372,
-0.023815419524908066,
0.01704506203532219,
0.052750539034605026,
0.016127046197652817,
0.019295962527394295,
0.005997990258038044,
-0.05589297413825989,
0.07259377837181091,
-0.0012633736478164792,
0.03622627258300781,
0.03393123671412468,
-0.03838007524609566,
0.0054639531299471855,
0.02023163251578808,
-0.016109392046928406,
0.028970425948500633,
-0.003400626592338085,
0.046677518635988235,
-0.03357815369963646,
-0.014688235707581043,
0.009224282577633858,
-0.053739167749881744,
-0.013267077505588531,
0.0769013836979866,
0.011095619760453701,
-0.026092803105711937,
-0.022067660465836525,
0.05504557490348816,
0.05352731794118881,
-0.025757374241948128,
-0.007485350593924522,
0.030418064445257187,
0.025404291227459908,
-0.045971352607011795,
0.0032947019208222628,
-0.08177392184734344,
0.0023678599391132593,
0.02475108951330185,
-0.022597284987568855,
-0.004181821830570698,
-0.020725946873426437,
-0.029394125565886497,
0.012763935141265392,
0.060483045876026154,
-0.019348924979567528,
-0.0551161915063858,
0.05762307718396187,
-0.06514373421669006,
-0.014820640906691551,
-0.018254369497299194,
0.04738368093967438,
-0.025015899911522865,
0.009383169934153557,
0.019419541582465172,
-0.0024053750094026327,
0.031247807666659355,
0.02974720671772957,
-0.04226398468017578,
0.02286209724843502,
0.010433590039610863,
-0.03606738522648811,
0.01663018949329853,
0.026569463312625885,
0.01940188743174076,
-0.013117018155753613,
0.0070969597436487675,
0.03728552162647247,
-0.008496049791574478,
-0.045123953372240067,
0.015659213066101074,
0.009418478235602379,
0.010371800512075424,
-0.019631391391158104,
-0.04462963715195656,
0.02928820066154003,
-0.044417787343263626,
0.0056272535584867,
0.003504344495013356,
-0.00009951135871233419,
0.09194270521402359,
-0.008253305219113827,
0.030418064445257187,
-0.021326187998056412,
-0.026693042367696762,
0.0320422425866127,
-0.013558370992541313,
-0.035202331840991974,
-0.01814844459295273,
-0.048407621681690216,
-0.0381329171359539,
-0.012763935141265392,
0.0700162723660469,
0.037673912942409515,
-0.022897405549883842,
-0.049078479409217834,
0.03792106732726097,
-0.038344766944646835,
0.04653628543019295,
0.03477863594889641,
0.006267215590924025,
0.07301747798919678,
-0.04794861376285553,
0.06772124022245407,
-0.05698752775788307,
0.022614939138293266,
-0.004347329493612051,
-0.006845388561487198,
0.030047327280044556,
-0.03218347579240799,
-0.0712873712182045,
-0.0336487703025341,
0.03827415034174919,
0.005525742191821337,
0.01618000864982605,
0.02685192972421646,
0.006170118227601051,
-0.01230492815375328,
0.006201012991368771,
0.013743739575147629,
-0.019454849883913994,
0.031230153515934944,
0.019260654225945473,
0.03710898011922836,
-0.015323784202337265,
0.012075424194335938,
0.022367781028151512,
0.03622627258300781,
-0.02941177971661091,
-0.0289174634963274,
-0.0322011299431324,
-0.029341163113713264,
-0.05839985981583595,
0.0029438259080052376,
-0.03806230053305626,
-0.08784694224596024,
-0.033860620111227036,
0.020690638571977615,
-0.003621303243562579,
-0.031071266159415245,
-0.0017830670112743974,
0.030700530856847763,
0.024486277252435684,
-0.005247689783573151,
-0.05038488283753395,
0.02789352461695671,
0.029182275757193565,
-0.0019596084021031857,
-0.010654266923666,
0.12788650393486023,
0.008372470736503601,
-0.07252316176891327,
0.021908774971961975,
-0.00791346374899149,
-0.02856438048183918,
-0.028529072180390358,
0.04113411903381348,
0.013117018155753613,
-0.020390519872307777,
0.016330068930983543,
-0.000361357961082831,
-0.02233247272670269,
0.023321105167269707,
-0.01887226477265358,
-0.015359092503786087,
-0.02716970443725586,
-0.08127961307764053,
-0.029870785772800446,
0.026392923668026924,
0.003045337274670601,
0.031424351036548615,
-0.007083719130605459,
-0.021538037806749344,
0.041628435254096985,
0.03640281409025192,
0.0727350115776062,
-0.03511406108736992,
0.07739569991827011,
-0.024839360266923904,
0.02074360102415085,
0.0672975406050682,
0.02494528517127037,
0.004651863127946854,
-0.0688864141702652,
0.023091601207852364,
0.056351978331804276,
-0.0447002537548542,
-0.010159951634705067,
0.023762457072734833,
-0.013514235615730286,
0.017486413940787315,
0.01678907684981823,
0.02335641346871853,
-0.008752034045755863,
0.06602644175291061,
-0.01057482324540615,
-0.03274840861558914,
-0.006315764505416155,
0.024556893855333328,
-0.0150589719414711,
0.058964792639017105,
0.003138021333143115,
-0.0010564893018454313,
-0.02960597351193428,
-0.06161291152238846,
0.01906645856797695,
0.013611333444714546,
-0.003519791876897216,
0.01704506203532219,
-0.023144563660025597,
-0.012084251269698143,
0.036085039377212524,
0.02874092198908329,
0.00918014720082283,
0.010927906259894371,
0.005490433890372515,
0.02111433818936348,
-0.02303863875567913,
-0.008862372487783432,
0.011581108905375004,
0.012419680133461952,
-0.054092250764369965,
-0.018289677798748016,
0.015606249682605267,
-0.0018316159257665277,
0.05310361832380295,
0.042828917503356934,
0.019860895350575447,
-0.020055091008543968,
0.008654937148094177,
0.07358241081237793,
-0.023603569716215134,
-0.04763083904981613,
0.008575493469834328,
-0.06454349309206009,
-0.052573997527360916,
-0.056351978331804276,
0.039192166179418564,
0.0536685511469841,
0.0745004266500473,
-0.023479990661144257,
0.044205937534570694,
0.01228727400302887,
-0.03603207692503929,
-0.04851354658603668,
0.022473705932497978,
0.010362973436713219,
0.04240521788597107,
0.005552223417907953,
0.009365515783429146,
-0.0289174634963274,
0.024292081594467163,
-0.013690777122974396,
0.03301322087645531,
0.0292352382093668,
0.03543183580040932,
0.024698127061128616,
-0.03424901142716408,
0.0006487892242148519,
0.00016550745931454003,
0.03838007524609566,
0.02473343536257744,
0.03650873899459839,
-0.012675664387643337,
-0.010972040705382824,
0.06411979347467422,
-0.0032858748454600573,
-0.04081634804606438,
0.02958831936120987,
-0.0414872020483017,
0.014547002501785755,
0.0036764724645763636,
-0.010716056451201439,
0.0065011330880224705,
-0.020337557420134544,
-0.07393549382686615,
0.007286741863936186,
-0.003508758032694459,
0.013443619012832642,
0.04794861376285553,
0.01869572326540947,
-0.023285796865820885,
0.015094280242919922,
-0.026781313121318817,
0.03493751958012581,
0.0040450021624565125,
-0.008641696535050869,
-0.04212275147438049,
0.012675664387643337,
-0.009250763803720474,
-0.05031426623463631,
-0.0366852805018425,
-0.05250338092446327,
0.009136011824011803,
-0.02807006426155567,
0.0336487703025341,
-0.023144563660025597,
0.07344117760658264,
-0.030029673129320145,
-0.040251415222883224,
-0.0320422425866127,
0.0014553623041138053,
0.10295888036489487,
0.02353295311331749,
0.013214115984737873,
0.032977912575006485,
-0.002489232225343585,
0.012048942968249321,
-0.007701613940298557,
0.024874668568372726,
0.024450968950986862,
-0.0477367639541626,
-0.06588520854711533,
0.024309735745191574,
-0.07153452932834625,
-0.027293283492326736,
-0.02196173556149006,
-0.04791330546140671,
-0.06606175005435944,
-0.03777983784675598,
-0.009480266831815243,
-0.005869997665286064,
0.061189211905002594,
0.03672058880329132,
-0.014935392886400223,
-0.021079029887914658,
-0.004819577094167471,
0.011731168255209923,
-0.021538037806749344,
-0.0701575055718422,
0.005671388935297728,
0.006011230871081352,
-0.035043444484472275,
0.0924370214343071,
-0.0712873712182045,
-0.07598336786031723,
0.006757117807865143,
-0.010671921074390411,
-0.04102819412946701,
0.044594328850507736,
0.021696925163269043,
0.018236715346574783,
-0.046324435621500015,
0.022473705932497978,
-0.006496719550341368,
0.06454349309206009,
0.017380490899086,
0.03080645576119423,
0.02319752611219883,
-0.02960597351193428,
0.0429348424077034,
0.01922534592449665,
0.03950994089245796,
-0.05267992243170738,
0.009400824084877968,
-0.013743739575147629,
-0.0021339429076761007,
-0.07541844248771667,
-0.03548479825258255,
-0.001071936683729291,
0.000545071205124259,
0.002012570621445775,
0.06747408211231232,
-0.024345044046640396,
-0.06563805043697357,
0.032624829560518265,
0.015350265428423882,
0.013540716841816902,
-0.0009108427329920232,
0.035202331840991974,
0.0323600172996521,
0.0006438239943236113,
-0.04657159373164177,
0.06479065120220184,
0.02720501273870468,
-0.003987626172602177,
0.039545249193906784,
-0.04071042314171791,
-0.014211573638021946,
0.026693042367696762,
-0.025757374241948128,
-0.021184954792261124,
-0.02233247272670269,
0.035749610513448715,
-0.01903115026652813,
0.03622627258300781,
-0.06182476133108139,
0.021255571395158768,
-0.0054109906777739525,
0.007255847100168467,
-0.007494177669286728,
0.07909049838781357,
-0.06012996286153793,
0.03795637562870979,
0.034213703125715256,
-0.010839635506272316,
0.00692924577742815,
0.05709345266222954,
0.05490434169769287,
-0.021396804600954056,
-0.08643461763858795,
0.05250338092446327,
-0.028317222371697426,
-0.030435718595981598,
0.009886312298476696,
-0.015067799016833305,
0.010106989182531834,
-0.0005847930442541838,
0.038521308451890945,
0.010592477396130562,
0.0019243001006543636,
-0.03154793009161949,
0.029729552567005157,
0.01107796560972929,
0.023162217810750008,
-0.06496719270944595,
0.025351328775286674,
0.03377234935760498,
0.039545249193906784,
0.010062853805720806,
-0.03606738522648811,
-0.0016076291212812066,
0.02512182481586933,
0.007979665882885456,
-0.012437334284186363,
0.0016175595810636878,
-0.08488105237483978,
0.06274277716875076,
-0.01818375289440155,
0.0447002537548542,
0.02144976705312729,
-0.02854672633111477,
-0.0012622702633962035,
-0.018483873456716537,
0.015456190332770348,
0.07086367160081863,
-0.010777845978736877,
0.014847122132778168,
-0.018995841965079308,
-0.06214253231883049,
-0.027787599712610245,
-0.04964341223239899,
0.003636750625446439,
-0.012313755229115486,
-0.029394125565886497,
-0.0701575055718422,
0.008910921402275562,
0.03130077198147774,
-0.011572281830012798,
0.03285433351993561,
0.009753906168043613,
0.10528922826051712,
-0.032624829560518265,
0.020302249118685722,
0.03664997220039368,
0.03151262179017067,
0.03341926634311676,
0.003952318336814642,
0.03703836351633072,
-0.07217007875442505,
0.01410564873367548,
-0.03855661675333977,
-0.06316647678613663,
-0.01696561835706234,
-0.021079029887914658,
0.010539514943957329,
-0.020990759134292603,
-0.0017003132961690426,
-0.0112545071169734,
-0.030753493309020996,
-0.001784170395694673,
0.04936094582080841,
0.010018718428909779,
-0.07661891728639603,
-0.049078479409217834,
-0.021379150450229645,
-0.051479440182447433,
-0.008959470316767693,
0.017009753733873367,
0.03760329633951187,
0.029005734249949455,
-0.005869997665286064,
0.045971352607011795,
0.07485350966453552,
0.006117155775427818,
0.004106791689991951,
-0.04674813523888588,
-0.03532591089606285,
0.027805253863334656,
-0.010972040705382824,
-0.005472780205309391,
-0.06652075797319412,
-0.022102968767285347,
0.0841042697429657,
0.038662541657686234,
0.0225090142339468,
-0.027646366506814957,
-0.0015513566322624683,
-0.06246030703186989,
-0.022561976686120033,
0.02754044160246849,
-0.012349063530564308,
-0.048019230365753174,
-0.014449904672801495,
0.02526305802166462,
-0.054268792271614075,
-0.0028224538546055555,
-0.050102416425943375,
-0.04830169677734375,
0.04519456997513771,
0.014485212974250317,
-0.0112545071169734,
-0.06683853268623352,
-0.027046125382184982,
-0.014529348351061344,
-0.010521860793232918,
-0.05469249188899994,
0.04484148696064949,
0.05137351527810097,
-0.034019507467746735,
0.057905543595552444,
0.006108328700065613,
-0.019331270828843117,
-0.008535771630704403,
0.04166374355554581,
-0.06464941799640656,
-0.030541643500328064,
0.015976985916495323,
-0.02994140237569809,
0.01055716909468174,
0.038168225437402725,
0.01903115026652813,
0.01568569429218769,
0.016912655904889107,
0.012146040797233582,
-0.029305854812264442,
0.03567899391055107,
0.04643036052584648,
-0.041451893746852875,
-0.019490158185362816,
0.021202608942985535,
0.04568888619542122,
0.0629546269774437,
-0.00700427545234561,
-0.02563379518687725,
0.032783716917037964,
-0.053951017558574677,
0.013814356178045273,
-0.00415313383564353,
0.04487679526209831,
0.03770922124385834,
0.027293283492326736,
-0.018836956471204758,
-0.00788256898522377,
0.0488666296005249,
0.002866589231416583,
0.03446086123585701,
0.03200693428516388,
0.029341163113713264,
0.015535633079707623,
0.014644100330770016,
-0.06701507419347763,
0.008522531017661095,
0.022120622918009758,
0.04311138391494751,
0.04844292998313904,
0.028281914070248604,
0.010230567306280136,
-0.05049080774188042,
-0.013514235615730286,
-0.007873741909861565,
-0.006258388515561819,
0.05903540551662445,
-0.03266013786196709,
0.0014156404649838805,
0.019807932898402214,
-0.012172522023320198,
-0.018607452511787415,
0.024450968950986862,
0.05119697377085686,
-0.010521860793232918,
-0.017442278563976288,
-0.019631391391158104,
-0.013214115984737873,
0.03338395804166794,
-0.008195929229259491,
-0.0036830927710980177,
0.06747408211231232,
-0.01832498610019684,
0.003519791876897216,
0.026445886120200157,
-0.028123026713728905,
-0.02335641346871853,
0.06355486810207367,
-0.021396804600954056,
-0.017601165920495987,
0.0363675057888031,
-0.024186156690120697,
-0.06012996286153793,
0.002820247085765004,
0.009789214469492435,
0.05031426623463631,
-0.013205288909375668,
-0.001171792857348919,
-0.007992906495928764,
-0.036967746913433075,
-0.0011850333539769053,
0.0028754163067787886,
0.045335803180933,
-0.05797616019845009,
-0.010716056451201439,
-0.025827990844845772,
0.01083080843091011,
-0.018483873456716537,
-0.014794159680604935,
0.015623903833329678,
-0.00830626767128706,
-0.014970701187849045,
0.010442417114973068,
-0.009444959461688995,
0.02526305802166462,
-0.05875294283032417,
-0.030259177088737488,
0.01851918175816536,
0.020690638571977615,
-0.013046401552855968,
-0.04311138391494751,
0.04035734012722969,
0.055998895317316055,
-0.009241936728358269,
-0.04247583448886871,
-0.044735562056303024,
-0.018113136291503906,
-0.020178670063614845,
-0.03827415034174919,
-0.00022964160598348826,
-0.030912380665540695,
-0.01871337741613388,
0.02732859179377556,
-0.07121675461530685,
0.029129313305020332,
-0.007423561066389084,
0.0027694914024323225,
0.02028459496796131,
-0.02807006426155567,
-0.01507662609219551,
-0.04399408772587776
] |
708,763
|
pathvalidate.error
|
ReservedNameError
|
Exception raised when a string matched a reserved name.
|
class ReservedNameError(ValidationError):
"""
Exception raised when a string matched a reserved name.
"""
def __init__(self, *args, **kwargs) -> None: # type: ignore[no-untyped-def]
kwargs[ErrorAttrKey.REASON] = ErrorReason.RESERVED_NAME
super().__init__(args, **kwargs)
|
(*args, **kwargs) -> None
|
[
-0.0012696584453806281,
-0.014509123750030994,
0.01987406425178051,
-0.0008699307800270617,
-0.019010739400982857,
-0.06057360768318176,
0.045632824301719666,
0.012271529994904995,
0.10282361507415771,
-0.06110217422246933,
0.01590101234614849,
0.032542016357183456,
0.08379525691270828,
-0.025159718468785286,
-0.022358322516083717,
0.020578818395733833,
0.028348730877041817,
0.04397665336728096,
-0.029863951727747917,
-0.012756047770380974,
-0.02965252660214901,
0.051376570016145706,
0.005792197305709124,
-0.0015515600098297,
0.005651246290653944,
0.14214888215065002,
0.008915138430893421,
0.00742194103077054,
0.04006526619195938,
-0.061842165887355804,
-0.03893766179680824,
0.000773577659856528,
0.014051033183932304,
0.08097624033689499,
0.015116973780095577,
-0.0541251115500927,
-0.030322043225169182,
0.012606287375092506,
-0.0871075987815857,
-0.0006805281154811382,
-0.01269438210874796,
0.03981860354542732,
-0.06497832387685776,
-0.032506778836250305,
0.033740099519491196,
-0.03939574956893921,
0.021653568372130394,
0.03476199135184288,
-0.10775689035654068,
0.03603054955601692,
-0.0032484757248312235,
0.02514209970831871,
0.0042175124399363995,
-0.024684010073542595,
0.009769652970135212,
0.04848707839846611,
0.03847957029938698,
0.07153253257274628,
-0.010782736353576183,
-0.0013841809704899788,
-0.03710529953241348,
0.04489283263683319,
0.0020184596069157124,
-0.05176418274641037,
-0.0360834077000618,
-0.0451747328042984,
0.005232798866927624,
-0.0405585952103138,
-0.015812918543815613,
0.023045456036925316,
0.04792327433824539,
-0.026639701798558235,
-0.04809946194291115,
0.049861349165439606,
0.07618390768766403,
-0.0012993902200832963,
-0.06222978234291077,
-0.020420247688889503,
0.03439199551939964,
-0.013029140420258045,
0.05810697004199028,
-0.018147416412830353,
-0.03529055789113045,
-0.022851649671792984,
0.0007807353395037353,
-0.05120038241147995,
-0.05567556992173195,
-0.03879670798778534,
0.0181121788918972,
-0.005470653064548969,
-0.05634508654475212,
0.012667953968048096,
-0.0647316575050354,
0.05215179920196533,
0.012756047770380974,
0.004457569215446711,
0.03065679967403412,
-0.04535092040896416,
0.0031780002173036337,
-0.009901794604957104,
0.022816412150859833,
0.03981860354542732,
0.01735456846654415,
-0.0022926530800759792,
0.03603054955601692,
-0.024595916271209717,
0.0065630218014121056,
-0.053455594927072525,
0.005726126488298178,
-0.015945060178637505,
0.0029027056880295277,
0.003336569992825389,
-0.02486019767820835,
0.03088584542274475,
-0.03851480782032013,
-0.003001811681315303,
0.029952045530080795,
-0.025318289175629616,
-0.0053517259657382965,
-0.009161802008748055,
0.057366978377103806,
0.005466248374432325,
-0.0724487155675888,
0.016552910208702087,
0.05546414107084274,
0.020772624760866165,
-0.009161802008748055,
-0.005541128572076559,
0.0752677321434021,
0.012712000869214535,
0.010051554068922997,
0.021688805893063545,
-0.036259595304727554,
-0.03511437028646469,
-0.007963720709085464,
0.04545663669705391,
0.06518974900245667,
0.027044935151934624,
-0.0495794452726841,
0.026798272505402565,
0.04105192422866821,
0.08294954895973206,
0.03351105377078056,
-0.011408206075429916,
0.024525441229343414,
-0.0029841929208487272,
-0.029194435104727745,
0.015945060178637505,
0.014905547723174095,
0.013830797746777534,
0.006267906166613102,
-0.00037797942059114575,
-0.005338511895388365,
0.04073478281497955,
0.00924108736217022,
-0.007228133734315634,
-0.017301712185144424,
-0.09063136577606201,
-0.002374140080064535,
0.0012300160015001893,
0.03791576623916626,
-0.04489283263683319,
-0.005342916585505009,
-0.05599270761013031,
-0.0020426856353878975,
0.031432028859853745,
0.03603054955601692,
-0.07956673204898834,
-0.01668505184352398,
0.003202226245775819,
-0.0338810496032238,
-0.0090560894459486,
-0.010051554068922997,
0.050707053393125534,
-0.027591120451688766,
0.042602382600307465,
0.00515791866928339,
0.031978216022253036,
-0.0056468416005373,
-0.024525441229343414,
0.07681819051504135,
0.017742183059453964,
-0.008276455104351044,
-0.027485407888889313,
0.0526098869740963,
0.016773145645856857,
-0.03217202052474022,
0.0648021325469017,
0.032066307961940765,
0.025529714301228523,
0.05151752009987831,
0.005100657232105732,
0.008976804092526436,
0.0375986285507679,
0.008897519670426846,
-0.014773406088352203,
0.0026230064686387777,
-0.017830276861786842,
0.024472583085298538,
0.030040141195058823,
-0.04700709506869316,
0.08851710706949234,
-0.03724624961614609,
-0.004624948371201754,
0.01807694137096405,
0.030832989141345024,
0.0026450299192219973,
-0.03823290765285492,
-0.04602043703198433,
-0.0557108074426651,
-0.0066290926188230515,
0.023574022576212883,
-0.005814220756292343,
0.060961224138736725,
0.008078242652118206,
-0.03097393922507763,
0.009267515502870083,
-0.026128755882382393,
0.042919520288705826,
0.022816412150859833,
0.08823520690202713,
0.017046237364411354,
0.07336489856243134,
-0.02945871837437153,
0.03356391191482544,
-0.006990279071033001,
0.023538785055279732,
-0.03257725387811661,
-0.011936771683394909,
0.03971289098262787,
-0.03116774745285511,
-0.03507913276553154,
-0.021882612258195877,
-0.008835854008793831,
-0.030797751620411873,
0.0169405248016119,
0.045315682888031006,
-0.0617716908454895,
0.0004974572220817208,
-0.013319850899279118,
-0.060397420078516006,
0.01219224464148283,
-0.032542016357183456,
0.040206216275691986,
0.05359654501080513,
-0.025670666247606277,
-0.032506778836250305,
0.07125063240528107,
-0.03707006201148033,
-0.011408206075429916,
-0.01233319565653801,
0.014729359187185764,
-0.036259595304727554,
-0.002819016110152006,
0.007858007214963436,
-0.008571570739150047,
-0.037492915987968445,
-0.05000229924917221,
0.05993933230638504,
0.017900751903653145,
-0.039325274527072906,
0.03185488283634186,
-0.034744374454021454,
0.04246142879128456,
-0.0012234089663252234,
-0.039254799485206604,
0.011813439428806305,
0.03328200802206993,
-0.013108424842357635,
0.010509644635021687,
0.1053607314825058,
0.04454045370221138,
0.008091457188129425,
0.02501876838505268,
-0.0023895567283034325,
-0.025089243426918983,
-0.03379295766353607,
0.048064224421978,
0.01175177376717329,
-0.005003753583878279,
0.05532319098711014,
-0.013443183153867722,
0.02750302664935589,
0.0322953537106514,
0.040206216275691986,
-0.00856276135891676,
0.005219584796577692,
-0.053984157741069794,
-0.07103920727968216,
-0.004624948371201754,
-0.014791024848818779,
-0.020402628928422928,
0.03280629962682724,
-0.002279438776895404,
-0.024754485115408897,
-0.011205589398741722,
-0.0006634598248638213,
0.008677284233272076,
-0.01301152165979147,
-0.006043266039341688,
0.004382689017802477,
0.038127195090055466,
-0.011240826919674873,
-0.01839408092200756,
-0.08915138244628906,
-0.06878399103879929,
0.00566886505112052,
0.0026648512575775385,
-0.03271820768713951,
0.003279308555647731,
-0.032859157770872116,
0.04172143712639809,
-0.03936051204800606,
0.0067348056472837925,
0.044716645032167435,
0.07554963231086731,
0.049544207751750946,
-0.00165396963711828,
0.010130839422345161,
0.044646166265010834,
0.012386051937937737,
-0.043236661702394485,
-0.02785540372133255,
-0.07759341597557068,
-0.04313094541430473,
0.018411699682474136,
-0.013134852983057499,
0.014658884145319462,
-0.011135113425552845,
-0.019768349826335907,
0.004594115540385246,
-0.06057360768318176,
0.005704103037714958,
-0.055569857358932495,
-0.05870601162314415,
-0.031150128692388535,
0.05743745341897011,
-0.01999739557504654,
0.0161476768553257,
-0.023098314180970192,
0.013813178986310959,
-0.00887990090996027,
-0.010060363449156284,
0.02214689552783966,
-0.03065679967403412,
-0.03189012035727501,
-0.012297958135604858,
-0.04161572456359863,
0.027027316391468048,
-0.0055235098116099834,
-0.040135741233825684,
0.028401587158441544,
-0.04277857020497322,
-0.037140537053346634,
0.06931255757808685,
-0.02817254327237606,
-0.03469151630997658,
0.01287057064473629,
-0.0009387544123455882,
-0.030198710039258003,
0.05053086578845978,
-0.05831839516758919,
-0.007377893663942814,
-0.04489283263683319,
-0.007465987931936979,
-0.03025156632065773,
0.008166337385773659,
0.002616399433463812,
-0.01709909550845623,
-0.022763555869460106,
-0.0218649934977293,
-0.003129548393189907,
-0.02211165800690651,
-0.023926399648189545,
0.004343046806752682,
0.00522839417681098,
0.015883393585681915,
0.00549708167091012,
-0.06786781549453735,
-0.02359164133667946,
-0.008536333218216896,
-0.029740620404481888,
-0.013108424842357635,
0.005946362391114235,
-0.015398875810205936,
-0.006417666561901569,
0.007126825395971537,
0.025917328894138336,
0.02621684968471527,
0.05468891188502312,
0.005272441077977419,
-0.05289179086685181,
0.0405585952103138,
0.03009299747645855,
-0.011205589398741722,
-0.024437345564365387,
-0.05366702005267143,
-0.04750042036175728,
-0.01691409759223461,
0.049473732709884644,
-0.04848707839846611,
0.012447718530893326,
-0.07505630701780319,
0.0007978035719133914,
0.048028986901044846,
0.03858528286218643,
0.020332153886556625,
0.02142452262341976,
0.008769783191382885,
0.013205328956246376,
-0.03770434111356735,
-0.02119547687470913,
0.005431010853499174,
-0.08287907391786575,
0.0015372447669506073,
-0.003821088233962655,
0.0376691035926342,
-0.02457829751074314,
0.0003165887319482863,
-0.023679735139012337,
-0.013575324788689613,
-0.005391368176788092,
0.08238574862480164,
0.04432902857661247,
-0.008448239415884018,
0.023803068324923515,
-0.02246403507888317,
-0.03217202052474022,
0.05807173252105713,
-0.0030502635054290295,
-0.05120038241147995,
0.04186239093542099,
-0.02050834149122238,
-0.08048290759325027,
-0.002451222622767091,
-0.06205359101295471,
-0.03946622461080551,
-0.015398875810205936,
-0.025952566415071487,
0.0496499203145504,
0.026956841349601746,
-0.022199751809239388,
0.05652127414941788,
0.07639534026384354,
0.013804369606077671,
-0.012985093519091606,
-0.00040413238457404077,
0.06857256591320038,
0.014394600875675678,
-0.03516722470521927,
0.03557245805859566,
0.003715375205501914,
0.015020070597529411,
-0.06691639870405197,
-0.011883914470672607,
-0.03382819518446922,
-0.05814220756292343,
-0.06103169918060303,
-0.021530235186219215,
-0.024913055822253227,
-0.02545923925936222,
0.08583904057741165,
-0.042250003665685654,
0.008413000963628292,
-0.03735196217894554,
0.0496499203145504,
0.021406903862953186,
0.0019072405993938446,
0.02022644132375717,
0.029511574655771255,
-0.041122399270534515,
0.01574244350194931,
0.04616139084100723,
-0.019204547628760338,
-0.025793997570872307,
0.007915268652141094,
-0.008408596739172935,
-0.022499272599816322,
0.0039069801568984985,
-0.0012806701706722379,
0.07893244922161102,
0.0012806701706722379,
0.031625837087631226,
0.017927180975675583,
0.02937062457203865,
-0.018693599849939346,
-0.03499103710055351,
-0.0008468060404993594,
-0.032823920249938965,
0.03981860354542732,
-0.018781695514917374,
0.02422592043876648,
-0.008479071781039238,
0.027080174535512924,
0.00598600460216403,
-0.0025987804401665926,
-0.013293422758579254,
0.04788803681731224,
0.01599791646003723,
-0.007430750411003828,
0.03914908692240715,
-0.047747086733579636,
-0.009981079027056694,
-0.025001149624586105,
0.059093624353408813,
-0.05331464111804962,
-0.014676502905786037,
0.027485407888889313,
0.07273061573505402,
-0.040206216275691986,
-0.039325274527072906,
0.05363178253173828,
0.06903065741062164,
0.020402628928422928,
0.0054001775570213795,
-0.000020595472960849293,
-0.044434741139411926,
0.028965391218662262,
0.007756698876619339,
0.05472414940595627,
-0.02191784977912903,
0.02394401840865612,
0.012350814417004585,
-0.020085489377379417,
0.010377503000199795,
-0.02577637881040573,
-0.0139100831001997,
-0.056098420172929764,
0.031308699399232864,
0.03363438695669174,
0.0021869398187845945,
0.00421090517193079,
0.03432152047753334,
-0.0017013202887028456,
-0.0012806701706722379,
0.0647316575050354,
-0.02334497682750225,
0.029194435104727745,
-0.004424533806741238,
0.03514960780739784,
0.031079653650522232,
0.059727903455495834,
0.043800462037324905,
-0.0016671837074682117,
-0.02917681634426117,
-0.014614837244153023,
-0.032031070441007614,
0.04101668298244476,
-0.06561259925365448,
-0.026745416224002838,
-0.00764217646792531,
-0.014791024848818779,
-0.031026795506477356,
-0.03544912859797478,
-0.03100917674601078,
-0.018376462161540985,
0.016033153980970383,
0.027027316391468048,
0.04429379105567932,
0.06000980734825134,
-0.004050133284181356,
0.017081476747989655,
0.08915138244628906,
-0.051869895309209824,
-0.03120298497378826,
-0.004704233258962631,
-0.06166597828269005,
-0.015169830992817879,
-0.0066907587461173534,
0.006725996267050505,
-0.015716014429926872,
-0.023732591420412064,
0.044152840971946716,
0.049544207751750946,
-0.025600191205739975,
0.02274593710899353,
0.035660553723573685,
0.05028419941663742,
-0.039254799485206604,
-0.03359914943575859,
0.03696434944868088,
0.004406915046274662,
-0.07096873223781586,
-0.044117603451013565,
-0.025987805798649788,
0.0069021848030388355,
-0.015002451837062836,
0.011311301961541176,
-0.044082365930080414,
0.004481795243918896,
0.0010857617016881704,
-0.019257403910160065,
0.006585045717656612,
-0.02649875171482563,
-0.00013964316167403013,
0.021600710228085518,
0.007192895747721195,
-0.07470392435789108,
-0.0078844353556633,
0.007976934313774109,
-0.030480612069368362,
0.035537220537662506,
0.018147416412830353,
0.049262307584285736,
0.05983361601829529,
0.020561199635267258,
-0.0013698656111955643,
0.0002931886992882937,
-0.02545923925936222,
-0.010201314464211464,
-0.013425564393401146,
0.00033998876460827887,
-0.027996353805065155,
-0.006228263955563307,
-0.01323175709694624,
-0.03185488283634186,
-0.011267255060374737,
-0.008457048796117306,
0.013707466423511505,
-0.022728318348526955,
-0.024032112210989,
-0.017927180975675583,
-0.0002050944312941283,
0.027080174535512924,
-0.03678816184401512,
0.0322953537106514,
0.014509123750030994,
0.00020426855189725757,
-0.07569058239459991,
-0.06924208253622055,
-0.035942453891038895,
0.020455485209822655,
-0.04792327433824539,
-0.07068683207035065,
-0.0005753656150773168,
0.03858528286218643,
0.02981109544634819,
0.014341744594275951,
0.026569226756691933,
0.04735947027802467,
-0.019010739400982857,
-0.016632195562124252,
-0.06166597828269005,
0.07576105743646622,
-0.0782981738448143,
0.048346128314733505,
-0.02996966615319252,
-0.08612094074487686,
0.02757350169122219,
-0.014280078932642937,
-0.005704103037714958,
0.08879900723695755,
-0.01658814772963524,
-0.02845444343984127,
0.06378024071455002,
0.030040141195058823,
-0.05754316598176956,
-0.032436303794384,
0.030462993308901787,
-0.022129276767373085,
-0.0072413478046655655,
-0.015020070597529411,
0.0188345517963171,
-0.018728839233517647,
0.03289439529180527,
0.03682339936494827,
0.02255212888121605,
-0.06772686541080475,
-0.017583612352609634,
0.020649293437600136,
-0.01255343109369278,
-0.0040170978754758835,
0.016667433083057404,
-0.03129107877612114,
-0.03710529953241348,
0.03485008701682091,
0.004880421794950962,
-0.02848968096077442,
0.048909928649663925,
0.011408206075429916,
0.016103629022836685,
-0.021688805893063545,
-0.03257725387811661,
-0.018623124808073044,
-0.02523019351065159,
0.0036338879726827145,
-0.03571341186761856,
0.039325274527072906,
0.040770020335912704,
-0.054195586591959,
-0.011628441512584686,
0.020067870616912842,
-0.02063167467713356,
0.07350584864616394,
-0.08316097408533096,
-0.02921205386519432,
0.0026362205389887094,
-0.03819767013192177,
0.004446557257324457,
0.03872623294591904,
0.012518193572759628,
0.006391237955540419,
-0.005541128572076559,
-0.021847374737262726,
-0.017240045592188835,
0.024032112210989,
-0.027150649577379227,
-0.020261678844690323,
0.05754316598176956,
-0.016411960124969482,
0.05077752843499184,
-0.008465858176350594,
-0.002550328616052866,
-0.055252715945243835,
-0.0202792976051569,
-0.039536699652671814,
0.05817744508385658,
-0.00932037178426981,
-0.014614837244153023,
0.0030612752307206392,
0.0406290702521801,
0.006818495225161314,
-0.019045976921916008,
0.000360635865945369,
-0.035343416035175323,
0.0031934166327118874,
-0.06332214921712875,
-0.059199340641498566,
-0.009223468601703644,
0.014729359187185764,
0.05088324099779129,
0.05712031573057175,
-0.07463344931602478,
0.06325167417526245,
0.058529824018478394,
-0.044998545199632645,
-0.01851741224527359,
0.020561199635267258,
0.03439199551939964,
0.062159307301044464,
0.00039697473403066397,
0.04059383273124695,
0.001133112353272736,
-0.026040662080049515,
-0.014870310202240944,
0.08992661535739899,
-0.0000643500970909372,
0.043483324348926544,
0.037810053676366806,
0.020860718563199043,
-0.0034532947465777397,
-0.025846853852272034,
-0.026833510026335716,
0.026040662080049515,
-0.017988847568631172,
-0.062476444989442825,
0.016896478831768036,
0.029353005811572075,
-0.013196519576013088,
0.024613535031676292,
-0.008580380119383335,
-0.004761494230479002,
-0.006448499392718077,
0.011029400862753391,
0.004186679609119892,
0.003475318429991603,
0.021301191300153732,
0.0165969580411911
] |
708,764
|
pathvalidate.error
|
__init__
| null |
def __init__(self, *args, **kwargs) -> None: # type: ignore[no-untyped-def]
kwargs[ErrorAttrKey.REASON] = ErrorReason.RESERVED_NAME
super().__init__(args, **kwargs)
|
(self, *args, **kwargs) -> NoneType
|
[
-0.015242323279380798,
-0.016867006197571754,
0.023217245936393738,
0.016430264338850975,
-0.03022260032594204,
-0.041822489351034164,
0.03352437540888786,
0.020160047337412834,
0.08958467841148376,
-0.05593801662325859,
0.004660045728087425,
0.05125613510608673,
0.07344266772270203,
0.004094463773071766,
-0.03951648622751236,
0.057824745774269104,
-0.016264300793409348,
0.04577064514160156,
-0.032581012696027756,
-0.028702735900878906,
-0.016770923510193825,
0.03853818401694298,
-0.04615497961640358,
0.009241477586328983,
0.02924429625272751,
0.11257482320070267,
-0.02276303432881832,
-0.02042209357023239,
0.06634996086359024,
-0.07896309345960617,
-0.03693097084760666,
0.013163427822291851,
-0.01656128652393818,
0.06565117835998535,
-0.0047604963183403015,
-0.023042550310492516,
-0.040529731661081314,
0.004400183446705341,
-0.07365230470895767,
0.02756720408797264,
-0.049264587461948395,
0.017094112932682037,
-0.02356664091348648,
-0.032843057066202164,
0.04461764171719551,
-0.02924429625272751,
0.026693718507885933,
0.007166949100792408,
-0.06977403163909912,
0.0012086856877431273,
-0.04056467115879059,
0.0617729015648365,
0.015032687224447727,
-0.01712905243039131,
-0.02444012649357319,
0.060410261154174805,
-0.020526910200715065,
0.052898287773132324,
-0.06117893010377884,
0.00881783664226532,
-0.04482727870345116,
0.07623782008886337,
0.030554525554180145,
-0.019059455022215843,
-0.025558188557624817,
-0.06320541352033615,
-0.010219781659543514,
-0.0244925357401371,
-0.00643322104588151,
0.049998313188552856,
0.0698089674115181,
-0.0329304076731205,
-0.05094167962670326,
0.036651454865932465,
0.07316315174102783,
-0.023898566141724586,
-0.055972956120967865,
-0.009826712310314178,
0.006572979036718607,
0.003994012717157602,
0.029995495453476906,
0.032284025102853775,
-0.04164779186248779,
0.00635460764169693,
0.03721048682928085,
-0.058872926980257034,
-0.07623782008886337,
-0.026326855644583702,
0.010158637538552284,
-0.006389547139406204,
-0.053142864257097244,
0.01138151716440916,
-0.07553903013467789,
0.0036293326411396265,
0.04678388684988022,
0.019041985273361206,
0.017329953610897064,
-0.04038997367024422,
0.023357003927230835,
-0.025016626343131065,
0.02947140298783779,
-0.026431674137711525,
0.0425911583006382,
-0.05286334827542305,
0.05230431631207466,
-0.015347141772508621,
-0.006542406976222992,
-0.04835616052150726,
0.03261595219373703,
0.008961961604654789,
-0.0028017049189656973,
0.022623276337981224,
0.0036468023899942636,
0.03058946505188942,
-0.05010313168168068,
0.012377290986478329,
0.019548607990145683,
-0.04437306895852089,
0.00556847034022212,
0.009267682209610939,
0.044408008456230164,
0.01705043762922287,
-0.0644981786608696,
0.00895322673022747,
0.04839110001921654,
0.019111864268779755,
-0.02412567101418972,
-0.020037759095430374,
0.06603550910949707,
-0.033140044659376144,
0.016229361295700073,
0.008145253174006939,
0.002834460698068142,
-0.010673994198441505,
-0.018116090446710587,
0.03476472571492195,
0.035061709582805634,
0.037629757076501846,
-0.013809806667268276,
0.03162017837166786,
0.0489850714802742,
0.04996337369084358,
0.046923644840717316,
-0.021522684022784233,
0.012551987543702126,
0.00856015831232071,
-0.003122710855677724,
-0.006441955920308828,
0.014063118025660515,
0.036826152354478836,
-0.006162440869957209,
-0.037769515067338943,
-0.012019161134958267,
0.043779097497463226,
0.008027332834899426,
-0.002147682709619403,
-0.002498168731108308,
-0.04276585206389427,
-0.012150184251368046,
0.010219781659543514,
0.008311214856803417,
-0.08119922131299973,
0.0401453971862793,
-0.0710318461060524,
0.0022754298988729715,
0.027357568964362144,
-0.015251058153808117,
-0.06739814579486847,
-0.0053544663824141026,
0.005961539223790169,
-0.02695576474070549,
-0.04528149217367172,
0.02737503871321678,
0.015626657754182816,
-0.06016568839550018,
0.057754866778850555,
0.026938294991850853,
0.013058609329164028,
-0.04042491316795349,
-0.02996055595576763,
0.08455340564250946,
-0.01166103221476078,
-0.037140607833862305,
0.01663989946246147,
0.03623218089342117,
0.010211046785116196,
-0.03420569375157356,
0.0276894923299551,
0.020946184173226357,
0.013460412621498108,
0.04507185518741608,
-0.0033498171251267195,
0.012779094278812408,
0.05146576836705208,
0.010455622337758541,
0.0050400118343532085,
0.03465990722179413,
-0.03797915205359459,
0.03846830502152443,
0.07176557183265686,
-0.02073654718697071,
0.09105213731527328,
-0.02861538715660572,
0.011486335657536983,
0.014106792397797108,
0.023042550310492516,
0.0010312589583918452,
-0.015652861446142197,
-0.035061709582805634,
-0.056287411600351334,
-0.018675122410058975,
-0.00012631420395337045,
0.02485939860343933,
0.039551425725221634,
0.003288673236966133,
-0.006808820180594921,
-0.0026051707100123167,
-0.0038280505686998367,
0.007306706625968218,
0.025523249059915543,
0.10251227021217346,
-0.01311101857572794,
0.005725698079913855,
-0.05908256396651268,
0.0022994508035480976,
0.03797915205359459,
0.028877433389425278,
-0.032843057066202164,
0.004952663090080023,
0.06121386960148811,
-0.046923644840717316,
-0.010490561835467815,
-0.04605016112327576,
-0.006538039539009333,
-0.038118910044431686,
0.04577064514160156,
0.0374201238155365,
-0.025383491069078445,
-0.049998313188552856,
-0.04622485861182213,
-0.02910454012453556,
0.0008571077487431467,
-0.02763708308339119,
0.04370921850204468,
0.06746802479028702,
-0.05205973982810974,
-0.01344294287264347,
0.1035604476928711,
-0.051046498119831085,
0.005874190479516983,
0.0258551724255085,
-0.00649436516687274,
-0.03962130472064018,
0.001014881068840623,
0.014316428452730179,
-0.02922682650387287,
-0.008232601918280125,
-0.05261877179145813,
0.03783939406275749,
0.007411525119096041,
-0.0015002114232629538,
0.016692308709025383,
-0.018081150949001312,
0.025750353932380676,
0.015740210190415382,
-0.00675641093403101,
0.006913638208061457,
0.004743026569485664,
-0.02222147397696972,
0.012071570381522179,
0.06959933042526245,
0.014718231745064259,
0.0027623982168734074,
0.03993576020002365,
-0.02388109639286995,
0.006005213130265474,
-0.03686109185218811,
0.02559312805533409,
-0.03219667822122574,
-0.02264074608683586,
0.07061257213354111,
-0.015312202274799347,
0.04168273136019707,
0.05230431631207466,
0.00828064326196909,
-0.027287689968943596,
0.001304769073612988,
0.00947731826454401,
-0.044722460210323334,
-0.010263455100357533,
-0.001998098334297538,
0.03853818401694298,
0.023793747648596764,
0.0177579615265131,
0.038258668035268784,
-0.013792336918413639,
0.012534517794847488,
0.030484646558761597,
-0.0053850384429097176,
-0.006485630292445421,
0.0027558470610529184,
-0.0087435906752944,
0.004467878956347704,
-0.017626939341425896,
-0.05094167962670326,
-0.042730916291475296,
0.04671400785446167,
0.01995041035115719,
-0.011224289424717426,
0.0003070847596973181,
0.02258833684027195,
0.059851232916116714,
-0.028702735900878906,
0.01661369577050209,
0.01150380540639162,
0.02148774452507496,
0.06593069434165955,
-0.03626712039113045,
-0.009005635976791382,
0.07938236743211746,
-0.016535082831978798,
-0.05747535079717636,
-0.010787546634674072,
-0.05957171693444252,
0.0035114120692014694,
0.014377572573721409,
0.02227388136088848,
-0.02430036850273609,
0.020264865830540657,
-0.012097775004804134,
-0.0125869270414114,
-0.03612736240029335,
0.004256058484315872,
-0.06603550910949707,
-0.0668041780591011,
-0.04129839688539505,
0.022238943725824356,
-0.019740773364901543,
0.004826007876545191,
-0.025313612073659897,
0.004070442635565996,
-0.023496761918067932,
-0.024719642475247383,
0.02720034122467041,
0.0010165187995880842,
-0.047901950776576996,
-0.0022688787430524826,
-0.0605500191450119,
0.04252127930521965,
0.011739646084606647,
-0.0029873207677155733,
0.025191323831677437,
-0.018430545926094055,
0.03139307349920273,
0.10174360126256943,
-0.03696591034531593,
-0.05915244296193123,
0.026746127754449844,
-0.0011442661052569747,
-0.009005635976791382,
0.06624514609575272,
-0.01981065236032009,
-0.0048827845603227615,
-0.038747821003198624,
-0.020963653922080994,
0.009870386682450771,
-0.0022066428791731596,
0.0024304736871272326,
-0.013678784482181072,
0.013408003374934196,
-0.027112992480397224,
-0.056462109088897705,
-0.052653711289167404,
-0.009975205175578594,
0.01111073698848486,
0.019863061606884003,
-0.013949564658105373,
-0.0015340590616688132,
-0.05426092445850372,
-0.006123133935034275,
-0.01783657632768154,
-0.05569344013929367,
-0.01737362891435623,
-0.004476613365113735,
-0.022937731817364693,
-0.013346859253942966,
0.025383491069078445,
0.01790645346045494,
0.06886560469865799,
0.04632967337965965,
-0.010752607136964798,
-0.05890786647796631,
0.04276585206389427,
0.028597917407751083,
0.01951366849243641,
-0.0066428580321371555,
-0.020911244675517082,
-0.008424768224358559,
-0.04800676554441452,
0.002120386343449354,
-0.050557345151901245,
-0.017792901024222374,
-0.04056467115879059,
0.020823895931243896,
0.05502958968281746,
0.021382926031947136,
0.016770923510193825,
0.019408849999308586,
0.009957735426723957,
0.010700197890400887,
-0.008031699806451797,
0.012517048045992851,
-0.012997465208172798,
-0.02534855157136917,
-0.01505015604197979,
0.02288532257080078,
-0.004070442635565996,
-0.028772614896297455,
0.01939138025045395,
-0.03132319450378418,
-0.01982812210917473,
-0.0206841379404068,
0.06184278056025505,
0.01724260486662388,
0.0023496760986745358,
0.04954410344362259,
-0.007791491225361824,
0.002378064440563321,
0.058313898742198944,
0.004957030527293682,
-0.02534855157136917,
0.09356777369976044,
-0.030379828065633774,
-0.02720034122467041,
-0.007359115872532129,
-0.010761342011392117,
-0.051116377115249634,
-0.03186475485563278,
-0.020666668191552162,
0.023863626644015312,
-0.01390589028596878,
-0.028545508161187172,
0.06530178338289261,
0.07679685205221176,
0.03286052867770195,
-0.017888983711600304,
-0.011713441461324692,
0.04936940595507622,
-0.008874613791704178,
-0.03452014923095703,
0.05663680657744408,
-0.006149338558316231,
0.020963653922080994,
-0.06425359845161438,
-0.046993523836135864,
-0.04238152131438255,
-0.09391716867685318,
-0.03562074154615402,
-0.014202875085175037,
-0.04730797931551933,
-0.009189068339765072,
0.05600789561867714,
-0.07525951415300369,
-0.05908256396651268,
-0.035847846418619156,
0.06841138750314713,
0.028772614896297455,
-0.04664412885904312,
-0.019898001104593277,
0.01415920164436102,
-0.030187660828232765,
0.015495633706450462,
0.02529614232480526,
0.01206283550709486,
-0.03280811756849289,
0.0023758807219564915,
-0.01573147438466549,
-0.061388567090034485,
-0.03162017837166786,
0.0038586226291954517,
0.08280643075704575,
-0.0068612294271588326,
0.07609806209802628,
0.00866060983389616,
0.005336997099220753,
-0.025628067553043365,
-0.03272077068686485,
-0.009250212460756302,
-0.022675685584545135,
0.036651454865932465,
-0.01759199984371662,
0.04042491316795349,
-0.021749790757894516,
0.03562074154615402,
0.02012510783970356,
0.0013124120887368917,
-0.010534236207604408,
0.014534800313413143,
0.003214427037164569,
-0.013827276416122913,
0.02122570015490055,
-0.07868357747793198,
-0.015582982450723648,
-0.00431065121665597,
0.02566300705075264,
-0.037629757076501846,
-0.014735701493918896,
0.04042491316795349,
0.05198986083269119,
-0.021068472415208817,
0.012848973274230957,
0.07351254671812057,
0.0502079501748085,
0.021557623520493507,
0.013678784482181072,
-0.025435900315642357,
-0.050382647663354874,
0.013215837068855762,
-0.014071852900087833,
0.03396112099289894,
0.007140744477510452,
0.05237419530749321,
0.021120881661772728,
-0.025453370064496994,
-0.005638349335640669,
-0.012936321087181568,
0.014857989735901356,
-0.044338129460811615,
0.0264666136354208,
0.010289659723639488,
-0.01311101857572794,
-0.027549734339118004,
0.004083544947206974,
0.025121444836258888,
-0.0033367148134857416,
0.05359707400202751,
0.008573261089622974,
0.03132319450378418,
-0.02954128198325634,
0.0010569175938144326,
0.036092422902584076,
0.04915976896882057,
0.011765850707888603,
-0.01988053135573864,
-0.02590758167207241,
-0.045630887150764465,
-0.049753736704587936,
0.04269597679376602,
-0.041752610355615616,
-0.017260074615478516,
0.016063399612903595,
-0.052828408777713776,
-0.0413682758808136,
0.005236546043306589,
-0.028265994042158127,
0.018745001405477524,
0.07260411977767944,
0.0015602635685354471,
0.039481546729803085,
0.04143815487623215,
0.008267541415989399,
-0.0023191042710095644,
0.061563264578580856,
-0.05251395329833031,
-0.020264865830540657,
-0.0047604963183403015,
-0.02639673464000225,
0.013547761365771294,
-0.06512708216905594,
-0.009634546004235744,
-0.04475739970803261,
0.0027318261563777924,
-0.02695576474070549,
0.03990082070231438,
-0.015775149688124657,
-0.003301775548607111,
0.032406315207481384,
0.05506452918052673,
-0.020771486684679985,
-0.038922518491744995,
0.020788956433534622,
-0.007612426765263081,
-0.049194708466529846,
-0.03773457556962967,
-0.041018880903720856,
0.022693155333399773,
-0.0012829318875446916,
0.00009649286221247166,
-0.0063327704556286335,
-0.020107638090848923,
-0.024579884484410286,
-0.05873316898941994,
-0.01982812210917473,
-0.031672585755586624,
-0.0028606653213500977,
0.045316431671381,
0.013914625160396099,
-0.08308594673871994,
-0.02344435267150402,
0.0119056086987257,
-0.026134688407182693,
0.037944212555885315,
0.012272472493350506,
0.04825134202837944,
0.008830939419567585,
-0.006476895418018103,
0.028947312384843826,
0.05894280597567558,
-0.022064246237277985,
0.026117218658328056,
-0.014098057523369789,
0.005053114145994186,
-0.0058348835445940495,
0.005315159913152456,
-0.027706962078809738,
-0.05069710314273834,
-0.008071006275713444,
0.031165964901447296,
0.03242378309369087,
-0.0010257996618747711,
-0.05003325268626213,
-0.028353340923786163,
0.004349958151578903,
0.065860815346241,
-0.04636461287736893,
0.044967036694288254,
0.0015569879906252027,
-0.011923078447580338,
-0.06715357303619385,
-0.022483518347144127,
0.011826994828879833,
0.059292200952768326,
-0.02141786552965641,
-0.07602818310260773,
-0.0012720134109258652,
0.04947422444820404,
0.025383491069078445,
0.01636911928653717,
0.040459852665662766,
0.041333336383104324,
-0.013984504155814648,
-0.014071852900087833,
-0.04220682382583618,
0.04143815487623215,
-0.07421133667230606,
0.040215276181697845,
-0.04217188432812691,
-0.074840247631073,
0.0016650818288326263,
-0.012796564027667046,
0.028650326654314995,
0.056846439838409424,
-0.016604959964752197,
-0.02510397508740425,
0.034135814756155014,
0.049264587461948395,
-0.06795717775821686,
0.0016607145080342889,
0.029401523992419243,
-0.011530010029673576,
-0.02171485126018524,
0.0016399691812694073,
0.04185742884874344,
0.0010389018571004272,
0.06645478308200836,
0.027427447959780693,
0.010438152588903904,
-0.0798715204000473,
0.006350240204483271,
0.016797127202153206,
0.001249084365554154,
0.011093267239630222,
0.014692027121782303,
0.0085383215919137,
-0.03502677008509636,
0.04213694483041763,
0.005939702037721872,
-0.04947422444820404,
0.0620524138212204,
-0.00907551497220993,
-0.0011813892051577568,
0.028091296553611755,
-0.048530858010053635,
-0.04238152131438255,
-0.02202930673956871,
0.021575093269348145,
-0.038608063012361526,
0.05478501692414284,
0.006223584525287151,
-0.08944492042064667,
-0.016814596951007843,
-0.04091406613588333,
-0.01052550133317709,
0.04783207178115845,
-0.07679685205221176,
-0.06697887182235718,
-0.051919981837272644,
-0.0932183787226677,
0.02763708308339119,
0.025208793580532074,
0.03808397054672241,
0.013827276416122913,
-0.03294787555932999,
-0.024632293730974197,
-0.008961961604654789,
0.02454494498670101,
-0.016421528533101082,
-0.0226582158356905,
0.026676248759031296,
-0.016080869361758232,
0.04066948965191841,
-0.0006212666048668325,
0.004476613365113735,
-0.0725342407822609,
-0.00847717747092247,
-0.01665736921131611,
0.0828763097524643,
-0.03853818401694298,
-0.043534521013498306,
-0.007105804979801178,
0.027497325092554092,
0.022186534479260445,
0.0032122433185577393,
0.04720316082239151,
-0.01178332045674324,
-0.0017436955822631717,
-0.03539363667368889,
-0.04363933950662613,
0.02763708308339119,
-0.011556214652955532,
0.07162581384181976,
0.025575658306479454,
-0.07372218370437622,
0.004878417123109102,
0.04751761630177498,
-0.054191045463085175,
-0.0023802481591701508,
0.02720034122467041,
0.0238112173974514,
0.07616794109344482,
-0.022693155333399773,
0.018535364419221878,
-0.0119056086987257,
-0.010394478216767311,
-0.01597605086863041,
0.05586813762784004,
-0.015041422098875046,
0.04066948965191841,
0.060584958642721176,
0.00880473479628563,
-0.0013528107665479183,
-0.021243169903755188,
-0.0015689984429627657,
0.03700084984302521,
0.017600733786821365,
-0.05841871723532677,
-0.005529163870960474,
0.030554525554180145,
0.005249648354947567,
0.027619613334536552,
-0.016648635268211365,
-0.041088759899139404,
0.0071756839752197266,
0.016404058784246445,
0.03177740424871445,
0.059362079948186874,
0.0177579615265131,
0.028231054544448853
] |
708,768
|
pathvalidate.error
|
ValidReservedNameError
|
[Deprecated]
Exception raised when a string matched a reserved name.
However, it can be used as a name.
|
class ValidReservedNameError(ReservedNameError):
"""[Deprecated]
Exception raised when a string matched a reserved name.
However, it can be used as a name.
"""
def __init__(self, *args, **kwargs) -> None: # type: ignore[no-untyped-def]
kwargs[ErrorAttrKey.REUSABLE_NAME] = True
super().__init__(args, **kwargs)
|
(*args, **kwargs) -> None
|
[
-0.008073776960372925,
-0.027945656329393387,
0.0016783681930974126,
-0.0003202656807843596,
-0.030745504423975945,
-0.033827099949121475,
0.031608350574970245,
0.029389603063464165,
0.06969685852527618,
-0.05596175044775009,
0.008381935767829418,
0.023508161306381226,
0.05958922579884529,
-0.009685009717941284,
-0.015540039166808128,
0.00021227230899967253,
0.019510893151164055,
0.05479954928159714,
-0.04824896156787872,
-0.010688729584217072,
-0.05011552572250366,
0.05229905620217323,
0.028473930433392525,
-0.005978292785584927,
-0.001423036097548902,
0.15397405624389648,
0.008003340102732182,
0.022997496649622917,
0.03233032673597336,
-0.07536698877811432,
-0.04842505231499672,
0.014923720620572567,
0.020954839885234833,
0.0798749178647995,
0.029037421569228172,
-0.04173358902335167,
-0.02148311398923397,
0.006251233629882336,
-0.06624546647071838,
-0.011947780847549438,
-0.016050703823566437,
0.009482505731284618,
-0.048636361956596375,
-0.05300341919064522,
0.022733360528945923,
-0.03007635846734047,
0.022152259945869446,
0.03620433062314987,
-0.07917055487632751,
0.034355372190475464,
0.024811234325170517,
0.010274915024638176,
0.000971252447925508,
-0.008998255245387554,
-0.006783909630030394,
0.05610262230038643,
0.03361579030752182,
0.08515765517950058,
-0.024811234325170517,
0.0013107780832797289,
-0.010829602368175983,
0.05096076428890228,
0.017697155475616455,
-0.04803765192627907,
-0.017987705767154694,
-0.06124448403716087,
0.013347704894840717,
-0.04708676040172577,
-0.020003948360681534,
0.037930022925138474,
0.03155552223324776,
-0.005700949113816023,
-0.036010630428791046,
0.03352774307131767,
0.05339081957936287,
0.004019279032945633,
-0.09952668845653534,
-0.0039774575270712376,
0.015663303434848785,
-0.008403947576880455,
0.041416626423597336,
-0.050009869039058685,
-0.006198406685143709,
0.007158102933317423,
0.00274041760712862,
-0.05194687098264694,
-0.06723158061504364,
-0.03535909205675125,
-0.003748539136722684,
0.011533966287970543,
-0.04603021219372749,
0.0308687686920166,
-0.06247711926698685,
0.04398755356669426,
0.014756433665752411,
-0.015698520466685295,
0.03888091444969177,
-0.03712000325322151,
0.014210551045835018,
-0.011305048130452633,
0.028896547853946686,
0.018560001626610756,
0.004877723287791014,
-0.02375468797981739,
0.006673852447420359,
-0.02961852215230465,
0.0035526377614587545,
-0.03800045698881149,
0.005075825843960047,
-0.03285859897732735,
-0.0183486919850111,
0.0020008350256830454,
-0.007884479127824306,
0.02826262079179287,
-0.03824698552489281,
-0.011331462301313877,
0.009737837128341198,
-0.05965966358780861,
-0.017116054892539978,
-0.0012898672139272094,
0.02201138623058796,
0.0260790903121233,
-0.07297214865684509,
0.02287423238158226,
0.03051658719778061,
0.006554991006851196,
-0.013286072760820389,
0.013206832110881805,
0.08670725673437119,
0.006801518611609936,
0.019933512434363365,
0.03852873295545578,
-0.03190770745277405,
-0.0378243662416935,
0.009711423888802528,
0.021218976005911827,
0.042754918336868286,
0.05324994772672653,
-0.05384865775704384,
0.002559924265369773,
0.020743530243635178,
0.03141465038061142,
0.021324630826711655,
0.020373739302158356,
0.01478284690529108,
-0.010591879487037659,
-0.018542392179369926,
0.007228539325296879,
-0.007673169486224651,
-0.005859431345015764,
0.021324630826711655,
0.020338522270321846,
-0.002126300008967519,
0.04342406243085861,
0.02202899567782879,
-0.008707704953849316,
-0.01053024735301733,
-0.09121518582105637,
-0.0281921848654747,
0.009808273985981941,
0.029847441241145134,
-0.06888683885335922,
-0.018630437552928925,
-0.05148903653025627,
0.0057361675426363945,
0.004692827817052603,
0.024459052830934525,
-0.07614178955554962,
-0.01975742168724537,
0.011146565899252892,
-0.014298596419394016,
0.03627476468682289,
0.012704972177743912,
0.05515173077583313,
-0.028016092255711555,
0.04934072494506836,
-0.0011225807247683406,
0.019070666283369064,
-0.009676205925643444,
-0.04268448054790497,
0.09917450696229935,
-0.012458444572985172,
-0.015821784734725952,
-0.04539628326892853,
0.05300341919064522,
-0.005714156199246645,
-0.02144789509475231,
0.050362054258584976,
0.032154232263565063,
0.02595582790672779,
0.039620496332645416,
0.008161822333931923,
0.01706322655081749,
0.03585214540362358,
0.037859585136175156,
-0.025409944355487823,
-0.02463514357805252,
0.002333207055926323,
0.032453589141368866,
0.03778914734721184,
-0.024476662278175354,
0.11882627010345459,
-0.03403840959072113,
-0.01502057071775198,
0.03046375885605812,
0.037930022925138474,
0.015038179233670235,
-0.0619136281311512,
-0.051805999130010605,
-0.028333056718111038,
-0.019088273867964745,
0.01880652830004692,
-0.012194308452308178,
0.06008228287100792,
-0.016834309324622154,
0.0030639851465821266,
0.04511453956365585,
0.0018599621253088117,
0.03359818086028099,
-0.006097154226154089,
0.0940326452255249,
0.025409944355487823,
0.0779731348156929,
-0.018965011462569237,
0.017344972118735313,
-0.03141465038061142,
0.0313442163169384,
-0.008703302592039108,
0.009940342046320438,
0.028068920597434044,
0.005405996460467577,
-0.0617375373840332,
-0.03491886332631111,
-0.006757495924830437,
-0.03365100920200348,
-0.008558027446269989,
0.029917877167463303,
-0.03572888299822807,
-0.006792713887989521,
-0.030164403840899467,
-0.05775788053870201,
0.010169261135160923,
-0.030322887003421783,
0.06409715861082077,
0.05324994772672653,
-0.0466289222240448,
-0.029917877167463303,
0.08515765517950058,
-0.033351652324199677,
-0.002125199418514967,
0.015091006644070148,
-0.012872259132564068,
-0.040536168962717056,
0.02060265839099884,
-0.008329108357429504,
-0.003984061069786549,
-0.047298066318035126,
-0.019528502598404884,
0.03442580997943878,
0.0017234915867447853,
-0.05518694967031479,
0.028526756912469864,
-0.039620496332645416,
0.01931719295680523,
0.013514991849660873,
-0.03271772712469101,
0.03454907238483429,
0.010908843018114567,
-0.04381146281957626,
0.006682657171040773,
0.08705943822860718,
0.031132904812693596,
0.0053751808591187,
0.021588768810033798,
0.00662982976064086,
-0.03597541153430939,
-0.019493283703923225,
0.028984593227505684,
0.0017333966679871082,
-0.006594611331820488,
0.04786156117916107,
-0.018260646611452103,
0.0067266798578202724,
0.06814725697040558,
0.010662315413355827,
-0.007395825814455748,
0.017838027328252792,
-0.02287423238158226,
-0.03099203296005726,
-0.009729033336043358,
-0.0273293387144804,
-0.007598330732434988,
0.026272790506482124,
0.003834383562207222,
0.0025467174127697945,
0.010495029389858246,
-0.007858064956963062,
0.009773056022822857,
0.005295939743518829,
-0.010486224666237831,
0.01097927987575531,
0.02695954591035843,
-0.023560987785458565,
0.0030573816038668156,
-0.04321275278925896,
-0.08367849141359329,
0.009755446575582027,
-0.005058216862380505,
-0.059413135051727295,
-0.001293168985284865,
-0.015936244279146194,
0.03183726966381073,
-0.022786187008023262,
-0.02820979245007038,
0.02688910998404026,
0.05420083925127983,
0.032576851546764374,
-0.010970475152134895,
0.01436903327703476,
0.054095182567834854,
-0.007149298209697008,
-0.026783455163240433,
-0.04655848443508148,
-0.06990816444158554,
-0.026783455163240433,
0.018665656447410583,
0.005265123676508665,
0.007602733094245195,
0.011349070817232132,
0.002896698424592614,
-0.01640288531780243,
-0.05201730877161026,
-0.008910208940505981,
-0.05842702463269234,
-0.07698702812194824,
-0.02194095030426979,
0.03139704093337059,
0.0008837571949698031,
0.0030067553743720055,
-0.024054042994976044,
0.0024872866924852133,
0.0005601897719316185,
-0.0335453525185585,
0.031097687780857086,
-0.04405799135565758,
-0.034337762743234634,
0.0062820496968925,
-0.040148768573999405,
0.039690934121608734,
-0.016746263951063156,
-0.0493055060505867,
0.024459052830934525,
-0.054517801851034164,
-0.025216244161128998,
0.08029753714799881,
-0.02743499167263508,
-0.013286072760820389,
0.023138370364904404,
0.0020921824034303427,
-0.05508129298686981,
0.028896547853946686,
-0.059377916157245636,
0.004851309582591057,
-0.0325944609940052,
-0.026378445327281952,
-0.03528865426778793,
0.02014482207596302,
0.003429373959079385,
-0.025321898981928825,
-0.024952108040452003,
-0.021359849721193314,
-0.011419507674872875,
-0.02106049470603466,
-0.030587023124098778,
-0.005947476718574762,
0.005414801184087992,
0.04071225970983505,
-0.010134042240679264,
-0.06504805386066437,
-0.03262967988848686,
-0.005674535408616066,
-0.013761519454419613,
0.02285662479698658,
-0.0014098293613642454,
0.008280683308839798,
-0.008602050133049488,
0.0014384441310539842,
0.02826262079179287,
0.05078466981649399,
0.04708676040172577,
-0.001831347355619073,
-0.03775393217802048,
0.036521293222904205,
0.045537155121564865,
-0.015733739361166954,
-0.020497003570199013,
-0.050362054258584976,
-0.053109072148799896,
-0.03451385349035263,
0.045889340341091156,
-0.031168123707175255,
0.022539660334587097,
-0.08860903978347778,
-0.020408958196640015,
0.020479394122958183,
0.0273293387144804,
0.056243494153022766,
-0.045079320669174194,
0.013603037223219872,
0.0077744219452142715,
-0.03312273323535919,
-0.01891218312084675,
-0.02775195613503456,
-0.037401746958494186,
0.021218976005911827,
0.03690869361162186,
0.022627705708146095,
-0.036556512117385864,
0.027452601119875908,
-0.026994764804840088,
-0.02109571360051632,
-0.01829586550593376,
0.05455302074551582,
0.08121321350336075,
-0.0029033019673079252,
0.02324402518570423,
-0.04338884726166725,
-0.04881245270371437,
0.054059967398643494,
-0.005348767153918743,
-0.044234082102775574,
0.011032107286155224,
0.0017884251428768039,
-0.056666113436222076,
-0.00040968693792819977,
-0.07233822345733643,
-0.03264728933572769,
-0.002533510560169816,
-0.04750937595963478,
0.06388584524393082,
0.023877952247858047,
-0.015883415937423706,
0.04782634228467941,
0.07388782501220703,
0.019352411851286888,
-0.031080078333616257,
0.004441897850483656,
0.057229604572057724,
0.03412645310163498,
-0.052756890654563904,
0.02155354991555214,
0.0065858070738613605,
-0.007849260233342648,
-0.07297214865684509,
-0.02065548487007618,
-0.04180402681231499,
-0.07057730853557587,
-0.041416626423597336,
0.0009993169223889709,
-0.0034888049121946096,
-0.025902999565005302,
0.11248698830604553,
-0.050925545394420624,
0.04352971911430359,
-0.011569185182452202,
0.06670330464839935,
0.03572888299822807,
-0.022152259945869446,
0.006022315472364426,
0.00638330215588212,
0.006999621167778969,
0.011234612204134464,
0.04095878824591637,
-0.023930780589580536,
-0.05842702463269234,
0.012863454408943653,
-0.048636361956596375,
-0.006915977690368891,
0.031168123707175255,
-0.0026919925585389137,
0.051312945783138275,
-0.0009475902188569307,
0.03761305660009384,
0.014413055963814259,
0.023067932575941086,
-0.016323644667863846,
-0.020831575617194176,
0.01030132919549942,
0.0012381405103951693,
0.04004311561584473,
-0.03979658707976341,
0.004151347558945417,
-0.018524782732129097,
0.013699887320399284,
0.021218976005911827,
0.0327705517411232,
-0.007849260233342648,
0.05067901685833931,
0.005040607415139675,
-0.006678254809230566,
0.02326163277029991,
-0.05546869337558746,
-0.0034227706491947174,
-0.027118029072880745,
0.08050885051488876,
-0.05737048014998436,
0.007439848501235247,
0.04916463419795036,
0.07325389236211777,
-0.029900267720222473,
-0.038282204419374466,
0.04511453956365585,
0.07966361194849014,
0.02917829342186451,
0.027593474835157394,
0.001942504895851016,
-0.08487590402364731,
0.0183486919850111,
0.0055820876732468605,
0.04796721413731575,
0.006797116249799728,
0.027681520208716393,
0.015531234443187714,
-0.04743894189596176,
-0.00011411528248572722,
-0.035605620592832565,
0.025797344744205475,
-0.03990224376320839,
0.039233095943927765,
0.02963613159954548,
-0.007527894340455532,
0.014131310395896435,
0.012933891266584396,
-0.005784592591226101,
0.014201746322214603,
0.04342406243085861,
-0.011745275929570198,
0.03284098953008652,
0.010019583627581596,
0.009209563955664635,
0.03916265815496445,
0.03666216507554054,
0.061631884425878525,
-0.01755628176033497,
-0.02780478447675705,
-0.024793626740574837,
-0.03238315135240555,
0.041522279381752014,
-0.033879928290843964,
-0.030604632571339607,
0.009368046186864376,
-0.007206527981907129,
-0.033809490501880646,
-0.0456780306994915,
-0.02194095030426979,
-0.027065200731158257,
0.005031803157180548,
-0.0020074385683983564,
0.02597343549132347,
0.040183987468481064,
-0.018982619047164917,
0.016895940527319908,
0.07818444818258286,
-0.04800243303179741,
-0.03400319069623947,
-0.005683340132236481,
-0.04610064998269081,
-0.020743530243635178,
-0.00876053236424923,
0.002386034233495593,
-0.009579355828464031,
-0.05039726942777634,
0.06131491810083389,
0.05486998334527016,
-0.03414406254887581,
0.01792607270181179,
0.05289776623249054,
0.046382393687963486,
-0.028438711538910866,
-0.04433973878622055,
0.03578171133995056,
0.021324630826711655,
-0.0974840298295021,
-0.035640835762023926,
-0.023983607068657875,
-0.011076129972934723,
-0.013972828164696693,
0.002176926238462329,
-0.00638330215588212,
-0.002645768690854311,
-0.012432031333446503,
-0.02560364454984665,
0.04648805037140846,
-0.08022709935903549,
-0.021412676200270653,
0.03412645310163498,
0.015346338972449303,
-0.05205252766609192,
0.026554536074399948,
0.024018825963139534,
-0.03233032673597336,
0.02549798972904682,
0.02157115936279297,
0.028544366359710693,
0.057229604572057724,
0.03916265815496445,
0.006220418028533459,
0.015038179233670235,
-0.028544366359710693,
-0.015460798516869545,
-0.0156721081584692,
0.014307401143014431,
-0.036556512117385864,
0.009077495895326138,
-0.013911196030676365,
-0.010539052076637745,
0.007941707968711853,
-0.011199393309652805,
0.031009642407298088,
0.012528881430625916,
-0.041029226034879684,
0.009315218776464462,
0.0060487291775643826,
0.016358863562345505,
-0.045466721057891846,
0.0013063758378848433,
0.013638255186378956,
0.00862406101077795,
-0.04138140752911568,
-0.04881245270371437,
-0.04846026748418808,
-0.011824516579508781,
-0.010239697061479092,
-0.06772463768720627,
-0.0183486919850111,
0.01838391087949276,
0.016015484929084778,
0.0025775334797799587,
0.02736455574631691,
0.06670330464839935,
0.0009674004395492375,
-0.005207893904298544,
-0.05522216856479645,
0.07536698877811432,
-0.09065169841051102,
0.012035826221108437,
-0.0038013665471225977,
-0.07769139111042023,
0.05243992805480957,
-0.019475674256682396,
0.006621025037020445,
0.08135408908128738,
0.004556356929242611,
-0.038704823702573776,
0.0318196602165699,
0.01414011511951685,
-0.08114277571439743,
-0.012326376512646675,
0.0282802302390337,
-0.025902999565005302,
0.0233144611120224,
-0.03421450033783913,
0.010239697061479092,
0.021852904930710793,
0.013937610201537609,
0.04483279213309288,
0.018190210685133934,
-0.04131096974015236,
-0.02280379645526409,
0.0006262239767238498,
0.02604387328028679,
0.022627705708146095,
0.01281062699854374,
-0.052756890654563904,
-0.01924675703048706,
0.023103151470422745,
0.0006966603687033057,
-0.02956569381058216,
0.05486998334527016,
0.016191575676202774,
0.005568881053477526,
0.004474915098398924,
-0.024071652442216873,
-0.03129138797521591,
-0.03535909205675125,
0.04229708015918732,
-0.0384230762720108,
0.03583453595638275,
0.031150514259934425,
-0.07304258644580841,
0.027188464999198914,
0.018736092373728752,
-0.018225427716970444,
0.08283325284719467,
-0.05420083925127983,
-0.009966756217181683,
0.006449336186051369,
-0.014677193015813828,
-0.01008121483027935,
0.016358863562345505,
0.021817686036229134,
0.012933891266584396,
-0.018084555864334106,
-0.004829298239201307,
-0.04669936001300812,
0.023948388174176216,
-0.034355372190475464,
-0.016904745250940323,
0.05053814500570297,
-0.027065200731158257,
0.03523582965135574,
-0.020091993734240532,
0.00236182170920074,
-0.01636766642332077,
-0.01369108259677887,
-0.04321275278925896,
0.06328713893890381,
-0.04092356935143471,
-0.00359225831925869,
0.012493663467466831,
0.03659173101186752,
-0.005458823870867491,
-0.011745275929570198,
0.04518497362732887,
-0.031625960022211075,
-0.008610854856669903,
-0.06684418022632599,
-0.05870877206325531,
-0.014862088486552238,
0.03150269761681557,
0.034284934401512146,
0.08015666902065277,
-0.07980448752641678,
0.06765419989824295,
0.050855107605457306,
-0.0483546145260334,
-0.006863150279968977,
0.031573131680488586,
0.023983607068657875,
0.06444934010505676,
-0.009112713858485222,
0.03481321036815643,
-0.02650170959532261,
-0.018965011462569237,
-0.0071537005715072155,
0.06328713893890381,
0.0047324481420218945,
0.06356888264417648,
0.027663910761475563,
0.0466289222240448,
0.011401898227632046,
-0.013312486931681633,
-0.042790137231349945,
0.043283190578222275,
-0.019475674256682396,
-0.08776380121707916,
0.02146550454199314,
0.035640835762023926,
0.015258293598890305,
-0.0019006832735612988,
-0.028473930433392525,
0.011771690100431442,
-0.006167590618133545,
0.020091993734240532,
-0.03174922242760658,
0.001881973585113883,
0.007320987060666084,
0.007686376105993986
] |
708,769
|
pathvalidate.error
|
__init__
| null |
def __init__(self, *args, **kwargs) -> None: # type: ignore[no-untyped-def]
kwargs[ErrorAttrKey.REUSABLE_NAME] = True
super().__init__(args, **kwargs)
|
(self, *args, **kwargs) -> NoneType
|
[
-0.013290636241436005,
-0.009637854993343353,
0.020390408113598824,
0.02419753186404705,
-0.029153654351830482,
-0.01816101185977459,
0.027387285605072975,
0.017037738114595413,
0.05820441246032715,
-0.05642089620232582,
0.031125811859965324,
0.04609706997871399,
0.06756787747144699,
0.028364790603518486,
-0.03690509498119354,
0.011652886867523193,
-0.0020300375763326883,
0.05309394747018814,
-0.03553315997123718,
-0.00369351077824831,
-0.018366802483797073,
0.052648067474365234,
-0.012793309055268764,
-0.0031854654662311077,
0.014431058429181576,
0.10399279743432999,
-0.005333403591066599,
0.030028263106942177,
0.07737722992897034,
-0.03560175746679306,
-0.05408860370516777,
0.006756788119673729,
0.014791191555559635,
0.07662266492843628,
0.021745195612311363,
-0.04582268372178078,
-0.05268236622214317,
0.041878364980220795,
-0.059301961213350296,
0.011635737493634224,
-0.024609113112092018,
0.005423436872661114,
-0.02721579372882843,
-0.054671674966812134,
0.02083628810942173,
-0.007189805619418621,
0.03388683497905731,
0.04270152747631073,
-0.07339861243963242,
-0.01979018561542034,
-0.011901549994945526,
0.06773937493562698,
0.026684166863560677,
0.005269094370305538,
-0.017938071861863136,
0.054328691214323044,
0.003434128826484084,
0.07182088494300842,
-0.03971756622195244,
-0.01413952186703682,
-0.028999309986829758,
0.04932112246751785,
0.042873021215200424,
-0.04764049872756004,
-0.024369025602936745,
-0.0684596374630928,
-0.03157169371843338,
-0.026341183111071587,
0.011472820304334164,
0.03256634622812271,
0.02483205311000347,
-0.019584394991397858,
-0.048257872462272644,
0.03958037123084068,
0.06358925998210907,
-0.020750541239976883,
-0.0650297999382019,
-0.006426665931940079,
0.020733391866087914,
-0.021076377481222153,
0.023134281858801842,
0.011507119052112103,
-0.02992536872625351,
0.0168490968644619,
-0.005522044841200113,
-0.04599417746067047,
-0.0619429387152195,
-0.008578890934586525,
0.01296480093151331,
0.022465461865067482,
-0.06314338743686676,
0.050555866211652756,
-0.05240797996520996,
0.004780341871082783,
0.039820462465286255,
0.025963900610804558,
0.027301538735628128,
-0.047228917479515076,
0.030011113733053207,
-0.02851913310587406,
0.019001321867108345,
-0.013453553430736065,
0.020064573734998703,
-0.029753876850008965,
0.020596198737621307,
-0.009560683742165565,
-0.00837738811969757,
-0.03776255622506142,
0.029136504977941513,
0.007395595777779818,
-0.021299315616488457,
0.018709786236286163,
0.024986395612359047,
0.04613136872649193,
-0.05775853246450424,
-0.030096860602498055,
-0.019052769988775253,
-0.07038035243749619,
0.01785232499241829,
-0.015262795612215996,
0.0536770224571228,
0.0302683524787426,
-0.0781317949295044,
0.021419361233711243,
0.05175631120800972,
0.043490391224622726,
-0.013187740929424763,
0.013856559991836548,
0.08080706745386124,
-0.019652992486953735,
0.013007674366235733,
0.02183094248175621,
-0.008223045617341995,
0.007592811714857817,
0.007695707026869059,
0.007472767494618893,
0.023580161854624748,
0.03800264373421669,
-0.03741957247257233,
0.02690710686147213,
0.0409180112183094,
0.015931613743305206,
0.0490124374628067,
0.004096516873687506,
0.03268638998270035,
0.0029882495291531086,
-0.012416026555001736,
0.018967024981975555,
-0.007365584839135408,
0.01918996311724186,
-0.01006658561527729,
-0.005612078122794628,
-0.007652834057807922,
0.038482822477817535,
0.013316360302269459,
0.016386067494750023,
-0.024969246238470078,
-0.04969840496778488,
-0.016566134989261627,
-0.023460116237401962,
-0.01614597998559475,
-0.07339861243963242,
0.024471919983625412,
-0.09548678994178772,
0.008548879995942116,
0.01951579935848713,
-0.01176435686647892,
-0.05854739621281624,
-0.009277721866965294,
0.056969668716192245,
-0.02016746811568737,
-0.03556745871901512,
0.0370422899723053,
0.02761022560298443,
-0.06286899745464325,
0.0631776824593544,
0.01224453467875719,
0.014431058429181576,
-0.04009484872221947,
-0.003258349606767297,
0.07950372993946075,
-0.044587939977645874,
-0.008848991245031357,
0.002347297966480255,
0.06653892993927002,
0.007888635620474815,
-0.040506429970264435,
0.0268385112285614,
0.03218906372785568,
0.040883712470531464,
0.0491839274764061,
0.010126607492566109,
0.015742972493171692,
0.006979727651923895,
0.02961668185889721,
-0.005663525778800249,
-0.005907902028411627,
-0.02997681498527527,
0.03491578623652458,
0.07442755997180939,
-0.04709172621369362,
0.07970952242612839,
-0.03390398621559143,
0.00841168686747551,
-0.0014040913665667176,
0.027438733726739883,
-0.00048580492148175836,
-0.01022950280457735,
-0.03325231373310089,
-0.023940294981002808,
-0.02954808622598648,
0.005530619528144598,
-8.750450319894298e-7,
0.034795742481946945,
0.0049604084342718124,
-0.040197744965553284,
0.02081913873553276,
-0.001752434647642076,
0.008866140618920326,
0.02145365998148918,
0.12525781989097595,
0.004750330466777086,
0.019241411238908768,
-0.04105520248413086,
-0.016660455614328384,
0.017312126234173775,
0.02757592685520649,
-0.03157169371843338,
0.004720319528132677,
0.03452135622501373,
-0.014328163117170334,
-0.026804212480783463,
-0.027164345607161522,
-0.0016452521085739136,
-0.04565119370818138,
0.021710896864533424,
0.05618080496788025,
-0.013925156556069851,
-0.036459214985370636,
-0.040883712470531464,
-0.04469083622097969,
0.009989413432776928,
-0.010778277181088924,
0.02021891623735428,
0.05028147995471954,
-0.045856982469558716,
0.008163022808730602,
0.09884803742170334,
-0.06437812745571136,
-0.007952945306897163,
0.022602656856179237,
-0.003382681403309107,
-0.0656471699476242,
0.021659450605511665,
0.02582670748233795,
-0.027078598737716675,
-0.022328268736600876,
-0.05172201246023178,
0.042221348732709885,
-0.01328206155449152,
0.016334621235728264,
0.01785232499241829,
-0.0004707993648480624,
0.03892870247364044,
-0.006761075463145971,
-0.008475996553897858,
0.024026039987802505,
-0.008874715305864811,
-0.0731242224574089,
0.02280844748020172,
0.01042671874165535,
0.00528624327853322,
0.013196315616369247,
0.03155454248189926,
-0.01783517561852932,
-0.01161001343280077,
-0.018915576860308647,
0.011421372182667255,
-0.03632202371954918,
-0.01191012468189001,
0.06787656247615814,
-0.025089291855692863,
0.04239284247159958,
0.0483950637280941,
-0.027061451226472855,
-0.029736727476119995,
-0.011138410307466984,
0.012793309055268764,
-0.050247181206941605,
-0.02315143123269081,
0.007502778433263302,
0.036802198737859726,
0.029067907482385635,
0.028759222477674484,
0.02013317123055458,
-0.04078081622719765,
-0.005950774997472763,
0.012141639366745949,
0.0005594929098151624,
-0.018023816868662834,
0.0029132217168807983,
-0.010538188740611076,
-0.007335573900490999,
-0.02522648498415947,
-0.007579950150102377,
-0.07381018996238708,
0.02081913873553276,
0.029050758108496666,
-0.03525876998901367,
0.022362567484378815,
0.020613348111510277,
0.08423691242933273,
-0.03366389498114586,
0.00756708811968565,
0.023340072482824326,
-0.0009158749016933143,
0.06245741620659828,
-0.04462223872542381,
-0.012013019993901253,
0.08444269746541977,
-0.04102090746164322,
-0.054637376219034195,
-0.06434383243322372,
-0.06506409496068954,
-0.005269094370305538,
-0.007892923429608345,
0.0443478524684906,
-0.008647488430142403,
0.006349494215101004,
0.019670141860842705,
-0.0256037674844265,
-0.02351156435906887,
0.013968029990792274,
-0.050212882459163666,
-0.063006192445755,
-0.01918996311724186,
0.008943311870098114,
-0.021985284984111786,
0.0005744984955526888,
-0.031125811859965324,
-0.01192727405577898,
0.0026795638259500265,
-0.04129529371857643,
0.002028965624049306,
-0.028399089351296425,
-0.042152754962444305,
0.020030274987220764,
-0.025998199358582497,
0.07525072246789932,
-0.00746848015114665,
-0.015983061864972115,
0.044244956225156784,
-0.039854761213064194,
0.023614458739757538,
0.09137097746133804,
-0.03868861496448517,
-0.06358925998210907,
0.06513269245624542,
0.010478165931999683,
-0.03666500747203827,
0.06362356245517731,
-0.01821245811879635,
-0.04301021248102188,
-0.034144073724746704,
0.01619742624461651,
-0.013736515305936337,
-0.010649657808244228,
-0.005492033902555704,
-0.0014576826943084598,
-0.011387074366211891,
-0.023940294981002808,
-0.04307880997657776,
-0.04393627122044563,
-0.04400486871600151,
0.004493092652410269,
0.0469888299703598,
0.01531424280256033,
0.007382734213024378,
-0.055323343724012375,
-0.021093526855111122,
0.00020177115220576525,
-0.02452336810529232,
0.009200549684464931,
-0.021625151857733727,
-0.01580299437046051,
-0.027335837483406067,
0.010040861554443836,
0.02795320935547352,
0.07833757996559143,
0.04606277123093605,
0.01718350686132908,
-0.04006054997444153,
0.03062848560512066,
0.026101095601916313,
0.007854336872696877,
-0.012013019993901253,
-0.005174773745238781,
-0.010289524681866169,
-0.0728498324751854,
0.022122478112578392,
-0.03923738747835159,
-0.010083734057843685,
-0.044176358729600906,
-0.00746848015114665,
0.027713119983673096,
0.03587614372372627,
0.045925579965114594,
-0.02145365998148918,
0.012724712491035461,
-0.005174773745238781,
0.014894086867570877,
0.0067267767153680325,
-0.019910231232643127,
-0.01108696311712265,
0.015177048742771149,
0.017312126234173775,
0.019087068736553192,
-0.03232625871896744,
0.03134875372052193,
-0.015965912491083145,
-0.04290731996297836,
0.012175938114523888,
0.02318572998046875,
0.06787656247615814,
-0.007957232184708118,
0.048943839967250824,
-0.024729158729314804,
0.01578584685921669,
0.052202191203832626,
0.017612237483263016,
-0.031074365600943565,
0.05350552871823311,
-0.026049647480249405,
-0.022396866232156754,
-0.0043773353099823,
-0.04040353372693062,
-0.03958037123084068,
-0.033080823719501495,
-0.020733391866087914,
0.054946061223745346,
-0.008137299679219723,
-0.03254919871687889,
0.07291842997074127,
0.06619594246149063,
0.023665906861424446,
-0.0054320115596055984,
-0.0006661395309492946,
0.0753193199634552,
-0.00842454843223095,
-0.04129529371857643,
0.08080706745386124,
0.0018585454672574997,
0.012536071240901947,
-0.057587042450904846,
-0.05576922371983528,
-0.045548297464847565,
-0.07175228744745255,
-0.040163446217775345,
0.006126554682850838,
-0.03489863872528076,
-0.013470702804625034,
0.09637854993343353,
-0.04812067747116089,
-0.03121155872941017,
-0.039134491235017776,
0.04198126122355461,
0.03134875372052193,
-0.02488350123167038,
-0.03121155872941017,
-0.019018471240997314,
-0.012141639366745949,
-0.02181379310786724,
0.003974328748881817,
-0.01395945530384779,
-0.0639665424823761,
0.009097655303776264,
-0.0030997192952781916,
-0.03560175746679306,
-0.039168789982795715,
-0.03126300498843193,
0.059301961213350296,
-0.015734398737549782,
0.06156565621495247,
0.015168474987149239,
0.010623934678733349,
-0.024780604988336563,
-0.02490065060555935,
-0.007592811714857817,
-0.019601544365286827,
0.06338347494602203,
-0.047228917479515076,
0.009354893118143082,
-0.04630286246538162,
0.039889056235551834,
0.018366802483797073,
-0.004323744215071201,
0.0003692438767757267,
0.015897314995527267,
-0.008823267184197903,
-0.037488169968128204,
0.004156539216637611,
-0.08032689243555069,
0.005556343588978052,
0.03429841622710228,
0.024712009355425835,
-0.015382839366793633,
0.0009930463274940848,
0.036116231232881546,
0.02953093685209751,
-0.04297591373324394,
-0.0034405598416924477,
0.05786142870783806,
0.03735097497701645,
0.048257872462272644,
0.031434498727321625,
-0.03404117748141289,
-0.06869972497224808,
-0.006615307182073593,
-0.025449424982070923,
0.021247869357466698,
0.013513576239347458,
0.07353580743074417,
0.011361350305378437,
-0.05223648622632027,
-0.00857460405677557,
-0.01162716280668974,
0.04770909622311592,
-0.016626156866550446,
0.05374561995267868,
0.014285290613770485,
-0.005719260778278112,
-0.02726723998785019,
0.005805006716400385,
0.010195204056799412,
-0.004763192497193813,
0.05319684371352196,
0.020441856235265732,
0.022688401862978935,
-0.031194409355521202,
-0.015991635620594025,
0.052202191203832626,
0.07243825495243073,
0.036459214985370636,
-0.041878364980220795,
-0.02728438936173916,
-0.03789975121617317,
-0.03057703748345375,
0.033389508724212646,
-0.03769395872950554,
-0.017200656235218048,
-0.014045201241970062,
-0.03500153496861458,
-0.019292859360575676,
-0.0036120519507676363,
-0.02553516998887062,
0.0016741914441809058,
0.04805207997560501,
-0.02148795686662197,
0.05107033997774124,
0.03400687873363495,
0.018281055614352226,
-0.011241305619478226,
0.06756787747144699,
-0.04510241746902466,
-0.027970358729362488,
-0.009106229059398174,
-0.03489863872528076,
0.005011856090277433,
-0.049972791224718094,
-0.011327051557600498,
-0.04530820623040199,
-0.01547715999186039,
-0.028416238725185394,
0.035155877470970154,
-0.01128417905420065,
0.002137219998985529,
0.020373258739709854,
0.048257872462272644,
-0.03800264373421669,
-0.04702312871813774,
0.03862001746892929,
0.022071029990911484,
-0.06585296243429184,
-0.05172201246023178,
-0.019618693739175797,
0.0056163654662668705,
-0.0036570685915648937,
0.022345418110489845,
-0.029736727476119995,
-0.04201555997133255,
-0.04366188496351242,
-0.0362534262239933,
-0.02352871373295784,
-0.06876832246780396,
-0.004358042497187853,
0.039854761213064194,
0.030199754983186722,
-0.06780797243118286,
-0.0029903932008892298,
0.005620652809739113,
-0.024351876229047775,
0.01743216998875141,
-0.004741756245493889,
0.03296077623963356,
-0.0208534374833107,
-0.021265018731355667,
0.02616969123482704,
0.07175228744745255,
-0.002295850310474634,
0.03131445497274399,
-0.01578584685921669,
0.00731842452660203,
0.0052090720273554325,
0.014379611238837242,
-0.048223573714494705,
-0.042530037462711334,
-0.03567035123705864,
0.027764568105340004,
0.044210657477378845,
0.010323823429644108,
-0.05515185371041298,
-0.012578943744301796,
0.0085574546828866,
0.0544658862054348,
-0.05240797996520996,
0.03217191621661186,
0.011507119052112103,
-0.0017556501552462578,
-0.035087279975414276,
-0.026135392487049103,
0.00854459311813116,
0.005822156090289354,
0.005766421090811491,
-0.06629883497953415,
0.009534959681332111,
0.023751653730869293,
0.029513787478208542,
0.03834562748670578,
0.02851913310587406,
0.03717948496341705,
-0.007395595777779818,
-0.05065876245498657,
-0.03807124122977257,
0.043490391224622726,
-0.08506007492542267,
0.008171597495675087,
-0.016934843733906746,
-0.07298702746629715,
0.04702312871813774,
-0.023665906861424446,
0.01412237249314785,
0.05703826621174812,
-0.021625151857733727,
-0.04139818996191025,
0.04640575870871544,
0.0316745862364769,
-0.05251087620854378,
-0.02090488374233246,
0.005187635309994221,
-0.01144709624350071,
-0.020321812480688095,
-0.01311914436519146,
0.029993964359164238,
0.021110674366354942,
0.06852823495864868,
0.01948150061070919,
-0.0003673681931104511,
-0.07538791745901108,
-0.023288624361157417,
0.024111786857247353,
-0.0191385168582201,
0.028484834358096123,
0.011258454993367195,
-0.0033591012470424175,
-0.014876938425004482,
0.027438733726739883,
0.008484570309519768,
-0.027095748111605644,
0.04023204371333122,
-0.004947546403855085,
0.01010945811867714,
0.04307880997657776,
-0.04808637872338295,
-0.020407557487487793,
-0.008287354372441769,
0.01946435123682022,
-0.02925654873251915,
0.05148192122578621,
0.030165456235408783,
-0.08437410742044449,
0.0039335996843874454,
-0.031777482479810715,
0.014688297174870968,
0.045582596212625504,
-0.08842131495475769,
-0.039854761213064194,
-0.046920232474803925,
-0.04146678373217583,
0.02893071435391903,
0.004313025623559952,
0.05007568746805191,
0.03434986248612404,
-0.03256634622812271,
-0.003659212263301015,
-0.028021806851029396,
0.03064563497900963,
-0.03639062121510506,
-0.0011018365621566772,
0.023734504356980324,
-0.026701316237449646,
0.03975186496973038,
0.02659842185676098,
0.005359127651900053,
-0.0597478412091732,
-0.031743183732032776,
-0.022242523729801178,
0.09665293991565704,
-0.041192397475242615,
-0.04469083622097969,
-0.012073042802512646,
0.037831153720617294,
0.022105328738689423,
0.0005975427338853478,
0.04969840496778488,
-0.021436510607600212,
0.005946488119661808,
-0.03393828123807907,
-0.07147789746522903,
0.04167257621884346,
-0.012707563117146492,
0.07785740494728088,
0.04136389121413231,
-0.07381018996238708,
0.022328268736600876,
0.05175631120800972,
-0.06763647496700287,
-0.01158429030328989,
0.022036733105778694,
0.015648651868104935,
0.07195807993412018,
0.006778224371373653,
0.009500660933554173,
-0.013710792176425457,
0.009629280306398869,
0.014353887178003788,
0.03460710123181343,
0.008017254993319511,
0.0734672099351883,
0.021299315616488457,
-0.0012315275380387902,
0.010126607492566109,
-0.0033976868726313114,
0.0011082675773650408,
0.048223573714494705,
0.04846366122364998,
-0.04770909622311592,
-0.01985878311097622,
0.029170803725719452,
0.016634732484817505,
0.014731169678270817,
-0.011207007803022861,
-0.04650865122675896,
-0.01280188374221325,
0.01714063435792923,
0.03397257998585701,
0.06225162371993065,
0.035464562475681305,
0.011867252178490162
] |
708,788
|
pathvalidate._filename
|
is_valid_filename
|
Check whether the ``filename`` is a valid name or not.
Args:
filename:
A filename to be checked.
platform:
Target platform name of the filename.
Example:
:ref:`example-is-valid-filename`
See Also:
:py:func:`.validate_filename()`
|
def is_valid_filename(
filename: PathType,
platform: Optional[PlatformType] = None,
min_len: int = DEFAULT_MIN_LEN,
max_len: Optional[int] = None,
fs_encoding: Optional[str] = None,
check_reserved: bool = True,
additional_reserved_names: Optional[Sequence[str]] = None,
) -> bool:
"""Check whether the ``filename`` is a valid name or not.
Args:
filename:
A filename to be checked.
platform:
Target platform name of the filename.
Example:
:ref:`example-is-valid-filename`
See Also:
:py:func:`.validate_filename()`
"""
return FileNameValidator(
platform=platform,
min_len=min_len,
max_len=-1 if max_len is None else max_len,
fs_encoding=fs_encoding,
check_reserved=check_reserved,
additional_reserved_names=additional_reserved_names,
).is_valid(filename)
|
(filename: ~PathType, platform: Optional[~PlatformType] = None, min_len: int = 1, max_len: Optional[int] = None, fs_encoding: Optional[str] = None, check_reserved: bool = True, additional_reserved_names: Optional[Sequence[str]] = None) -> bool
|
[
0.0033602905459702015,
0.0401037372648716,
-0.024996165186166763,
0.015464660711586475,
-0.011509223841130733,
-0.02668088860809803,
0.0436929315328598,
-0.029153037816286087,
0.02369599975645542,
0.0005136002437211573,
0.046586260199546814,
0.026204772293567657,
0.06086978316307068,
0.014732172712683678,
0.017268413677811623,
0.00022418149455916137,
0.025252535939216614,
0.02239583246409893,
0.0021493956446647644,
0.03704559803009033,
-0.00922477524727583,
0.05167705565690994,
0.0020509674213826656,
-0.006509990431368351,
0.020418113097548485,
0.08518839627504349,
-0.006111700087785721,
0.008927201852202415,
0.004839001223444939,
-0.020198367536067963,
-0.0020887362770736217,
0.05515637621283531,
0.06508158892393112,
0.051054440438747406,
0.02107735350728035,
-0.04339993745088577,
0.0010432236595079303,
0.000028380347430356778,
-0.09478399902582169,
-0.10027766227722168,
-0.05684109777212143,
0.03464670106768608,
0.004012662917375565,
0.02931784652173519,
-0.026845699176192284,
-0.034829821437597275,
-0.00972378347069025,
-0.0022340896539390087,
-0.047868113964796066,
0.05255604162812233,
0.01889820024371147,
0.02217608503997326,
-0.002435523783788085,
-0.02213946171104908,
-0.025820216163992882,
0.004848157521337271,
0.04914997145533562,
0.0539843924343586,
-0.02614983543753624,
-0.040433358401060104,
0.017799466848373413,
-0.010080871172249317,
-0.010181588120758533,
-0.10716304928064346,
-0.030618013814091682,
-0.04032348468899727,
0.020125119015574455,
-0.062041766941547394,
-0.03548906370997429,
0.05255604162812233,
0.01675567217171192,
0.04885697364807129,
-0.019337693229317665,
0.0038409859407693148,
0.03197311609983444,
0.056181859225034714,
-0.058782193809747696,
-0.01652676984667778,
0.010300617665052414,
-0.03369446471333504,
0.021388661116361618,
-0.04156871512532234,
0.04197158291935921,
-0.03043489158153534,
0.012617112137377262,
-0.005923999939113855,
-0.055339496582746506,
0.02589346468448639,
0.06211501359939575,
0.0038043614476919174,
-0.004550584126263857,
0.04636651277542114,
-0.02162672020494938,
-0.0163253340870142,
0.0000651299487799406,
-0.032119616866111755,
0.03125894069671631,
0.04457191750407219,
-0.004715393763035536,
-0.021132290363311768,
-0.04050660878419876,
-0.0020612680818885565,
0.02190140262246132,
0.01655423641204834,
0.004566607065498829,
0.0436929315328598,
-0.008872265927493572,
0.0026712934486567974,
-0.0006912858807481825,
-0.04889360070228577,
0.015208289958536625,
-0.052739161998033524,
0.01453073788434267,
0.03609336540102959,
0.008419038727879524,
-0.01560200285166502,
0.04431554675102234,
-0.018824951723217964,
-0.06112615391612053,
-0.032449234277009964,
0.043619681149721146,
0.00896382611244917,
-0.06002742424607277,
-0.04079960286617279,
0.03598349168896675,
-0.07028225809335709,
0.032394297420978546,
-0.02078435756266117,
0.0023714310955256224,
0.019044697284698486,
-0.030874384567141533,
0.06259113550186157,
0.026479454711079597,
-0.015519597567617893,
-0.0038318298757076263,
-0.05607198551297188,
0.04299706593155861,
0.04687925800681114,
-0.07123449444770813,
-0.03922475129365921,
0.03700897470116615,
0.005081638228148222,
0.005905687343329191,
-0.02157178334891796,
-0.05061494559049606,
-0.021809840574860573,
0.009558972902595997,
-0.0683777928352356,
0.01843123883008957,
0.059038564562797546,
0.008217603899538517,
-0.00699526397511363,
0.0034266721922904253,
0.037448469549417496,
0.007443913258612156,
-0.08936358243227005,
0.02563709393143654,
-0.06482522189617157,
-0.005786658264696598,
0.019649000838398933,
0.0106668621301651,
0.005544021259993315,
-0.0512375608086586,
-0.04424229636788368,
0.020143430680036545,
0.019887059926986694,
-0.0033259550109505653,
-0.04589039832353592,
0.036697667092084885,
-0.004106512758880854,
0.025563843548297882,
0.051384057849645615,
0.0668395608663559,
0.04171521216630936,
0.0024240787606686354,
-0.008148932829499245,
0.027651436626911163,
-0.009302602149546146,
-0.014585674740374088,
-0.014713860116899014,
0.03010527230799198,
-0.018824951723217964,
0.028860041871666908,
0.004465890116989613,
0.018284741789102554,
0.030563076958060265,
-0.05823282524943352,
0.02402561902999878,
0.022029587998986244,
-0.04768499359488487,
-0.037448469549417496,
0.016590861603617668,
0.01678314059972763,
-0.00773690827190876,
-0.021699968725442886,
-0.05090794339776039,
0.04801461473107338,
0.02023499086499214,
0.005182355176657438,
-0.036148302257061005,
0.028731856495141983,
0.0630672499537468,
-0.026278020814061165,
-0.032632358372211456,
-0.044169049710035324,
-0.005946889985352755,
0.015235758386552334,
0.04131234437227249,
-0.017973434180021286,
-0.008583848364651203,
0.02777962200343609,
-0.07039213180541992,
-0.06376311182975769,
0.11609940975904465,
0.011765594594180584,
-0.0015828616451472044,
-0.03272391855716705,
0.04636651277542114,
-0.00667937844991684,
0.02457498572766781,
0.023329755291342735,
0.06010067090392113,
0.03592855483293533,
0.0029803120996803045,
0.03816264495253563,
0.012195931747555733,
0.041458841413259506,
0.044462043792009354,
0.010676017962396145,
0.05013883113861084,
-0.01011749543249607,
-0.06980614364147186,
-0.02296351082623005,
0.020747732371091843,
-0.009906905703246593,
0.036441296339035034,
0.05834269896149635,
0.018458707258105278,
0.011097199283540249,
0.008766970597207546,
0.017002886161208153,
-0.009005028754472733,
0.016224617138504982,
-0.006784673780202866,
0.03420720621943474,
-0.05061494559049606,
-0.04314356669783592,
0.07464056462049484,
-0.03475657477974892,
0.011161291971802711,
-0.0016057518078014255,
0.03645960986614227,
-0.03754002973437309,
0.025417346507310867,
-0.007265368942171335,
0.06262775510549545,
-0.02906147576868534,
-0.07632528990507126,
0.02801768109202385,
0.028109241276979446,
-0.030801136046648026,
0.035049568861722946,
0.020454738289117813,
0.038858506828546524,
-0.005864485166966915,
-0.0582694485783577,
0.017204320058226585,
0.046586260199546814,
0.019246133044362068,
-0.042301204055547714,
0.023164944723248482,
0.03437201678752899,
-0.020875919610261917,
-0.008597582578659058,
0.04050660878419876,
-0.028713544830679893,
-0.0137524688616395,
-0.016361959278583527,
0.06918352842330933,
0.02109566517174244,
0.011481755413115025,
-0.00866167526692152,
0.02182815410196781,
0.016114743426442146,
0.017405755817890167,
0.02642451785504818,
-0.01946587860584259,
-0.055119749158620834,
-0.05731721594929695,
0.001178848440758884,
-0.07412782311439514,
-0.012919263914227486,
0.0058003924787044525,
-0.036972351372241974,
-0.007627035025507212,
0.009215619415044785,
0.05369139835238457,
-0.05006558075547218,
0.000589424220379442,
-0.05658472701907158,
-0.026827387511730194,
0.04482828825712204,
0.017982589080929756,
-0.025673717260360718,
-0.0399206168949604,
0.019081322476267815,
-0.06057678908109665,
-0.06969626992940903,
-0.040176987648010254,
-0.03741184249520302,
0.03948112204670906,
0.0326506681740284,
0.002081869402900338,
-0.04025023803114891,
0.10174263268709183,
0.0767647847533226,
0.03488475829362869,
-0.02160840667784214,
-0.00788340624421835,
0.012516395188868046,
0.05409426614642143,
0.028072617948055267,
-0.021260475739836693,
-0.007247056812047958,
-0.021278787404298782,
-0.02831067517399788,
0.006624441593885422,
-0.04665951058268547,
-0.01509841624647379,
-0.0007788411458022892,
-0.015666095539927483,
0.01038302294909954,
0.02640620619058609,
-0.040909476578235626,
-0.029702404513955116,
-0.006294821854680777,
-0.003909656777977943,
0.003520522266626358,
0.04365630820393562,
0.016764827072620392,
-0.008464818820357323,
-0.026369580999016762,
-0.00300778029486537,
-0.0362398624420166,
-0.014640611596405506,
-0.05207992345094681,
0.000569681404158473,
-0.0028040569741278887,
-0.009714626707136631,
-0.027395065873861313,
-0.052739161998033524,
0.05761021003127098,
-0.06112615391612053,
-0.07387145608663559,
0.008528911508619785,
-0.03629479929804802,
0.00851975567638874,
0.016096431761980057,
0.0018003190634772182,
0.05416751652956009,
0.06713256239891052,
-0.08137945830821991,
-0.015849217772483826,
-0.06006404757499695,
0.010245680809020996,
0.002939109690487385,
0.08086671680212021,
-0.00573629979044199,
-0.08343042433261871,
0.013377068564295769,
0.01871507801115513,
0.017277570441365242,
-0.0010163276456296444,
-0.049479588866233826,
0.0035571467597037554,
-0.028640296310186386,
-0.008835640735924244,
-0.041641965508461,
-0.026552703231573105,
-0.00814435537904501,
0.017717063426971436,
0.04105597361922264,
0.02452004887163639,
0.03893175721168518,
-0.004596364684402943,
-0.014036308974027634,
-0.02263389155268669,
-0.03393252566456795,
-0.05900193750858307,
0.0314420647919178,
0.04962608590722084,
0.007105137221515179,
0.048966847360134125,
0.029226286336779594,
-0.0194475669413805,
0.008158089593052864,
-0.06325037032365799,
-0.0008383558597415686,
-0.018238959833979607,
-0.0007136039203032851,
-0.0603204183280468,
0.034829821437597275,
-0.03380433842539787,
0.01783609203994274,
-0.02318325638771057,
0.05090794339776039,
0.05413088947534561,
0.03384096175432205,
-0.024135492742061615,
0.042044833302497864,
0.018477018922567368,
-0.04687925800681114,
-0.03647791966795921,
-0.045450903475284576,
-0.005365477409213781,
0.04219133034348488,
-0.007210432551801205,
-0.06669306755065918,
0.0666564404964447,
-0.034298770129680634,
-0.060137294232845306,
0.008968404494225979,
0.008849374949932098,
0.053178656846284866,
0.03435370326042175,
0.010767579078674316,
-0.038821883499622345,
-0.019905371591448784,
0.009659690782427788,
-0.06193189322948456,
-0.07064850628376007,
-0.0031519890762865543,
-0.009595598094165325,
-0.02613152377307415,
-0.0023485408164560795,
-0.06742555648088455,
-0.027944430708885193,
0.005420413799583912,
-0.009160682559013367,
-0.04233782738447189,
-0.03594686836004257,
-0.02400730736553669,
0.013514410704374313,
0.056914348155260086,
-0.07174723595380783,
-0.017012042924761772,
-0.014631455764174461,
-0.006006404757499695,
-0.01972224935889244,
0.019923683255910873,
-0.059331558644771576,
0.08518839627504349,
-0.013038293458521366,
-0.04856397956609726,
0.0436929315328598,
-0.006363492924720049,
-0.05841594934463501,
-0.04508465901017189,
-0.04552415385842323,
-0.023622749373316765,
-0.008908890187740326,
0.08299092948436737,
0.026076586917042732,
-0.03629479929804802,
0.008789860643446445,
0.028713544830679893,
0.0036281065549701452,
0.025545531883835793,
0.07713102549314499,
0.03819926828145981,
-0.002781166695058346,
-0.016316179186105728,
0.0296474676579237,
0.0325591079890728,
0.008176401257514954,
0.025160975754261017,
0.003964593168348074,
0.05251941829919815,
0.008304586634039879,
0.03548906370997429,
0.021406972780823708,
0.008194713853299618,
-0.012498082593083382,
0.03715547174215317,
0.061492398381233215,
-0.003568591782823205,
-0.031002569943666458,
0.0018724234541878104,
-0.044974785298109055,
0.011435974389314651,
-0.003930258098989725,
0.0025087727699428797,
0.034555140882730484,
0.0351228192448616,
0.005196089390665293,
0.04537765681743622,
0.0301602091640234,
0.07258959859609604,
-0.01545550487935543,
-0.02666257694363594,
0.031313877552747726,
-0.010575301013886929,
0.03338315710425377,
0.022322583943605423,
-0.0016927348915487528,
-0.013312975876033306,
-0.0269921962171793,
-0.06914690136909485,
0.01946587860584259,
-0.024172116070985794,
-0.032119616866111755,
0.018843263387680054,
0.06314049661159515,
0.020381489768624306,
0.017286725342273712,
0.04116584733128548,
-0.023421315476298332,
-0.005557755474001169,
0.06808479130268097,
0.02397068217396736,
-0.03288872912526131,
-0.0326506681740284,
0.02404393069446087,
-0.061272650957107544,
-0.038052771240472794,
0.0044040861539542675,
-0.012296648696064949,
-0.02267051488161087,
0.029482657089829445,
0.013386225327849388,
-0.0034289611503481865,
0.0068808128125965595,
0.01948419027030468,
-0.06281087547540665,
-0.007201276253908873,
0.01974056102335453,
-0.056181859225034714,
0.04559740051627159,
-0.02083929441869259,
0.0018186313100159168,
0.008364101871848106,
0.029427720233798027,
-0.004143137484788895,
-0.013276351615786552,
-0.009970998391509056,
0.003765447996556759,
0.023036759346723557,
-0.019649000838398933,
0.021736592054367065,
-0.04160533845424652,
-0.005182355176657438,
-0.0118663115426898,
-0.029739027842879295,
0.005649316590279341,
0.05555924400687218,
0.025563843548297882,
0.02351287752389908,
-0.011399350129067898,
-0.0232198815792799,
0.020344864577054977,
0.001722492161206901,
-0.001445520087145269,
0.011161291971802711,
-0.06412936002016068,
-0.08460240811109543,
-0.024336926639080048,
-0.008391570299863815,
-0.04944296553730965,
0.015318162739276886,
0.0058965315110981464,
-0.02265220321714878,
0.061272650957107544,
0.08833809942007065,
-0.00005887089355383068,
0.008048215880990028,
0.013120697811245918,
0.043363310396671295,
0.029940461739897728,
-0.03116738051176071,
0.004291924182325602,
0.0469525046646595,
-0.006409273482859135,
-0.043876055628061295,
0.005374633241444826,
-0.04339993745088577,
-0.010575301013886929,
-0.02027161605656147,
0.015345631167292595,
-0.030251769348978996,
-0.013157322071492672,
-0.006770939566195011,
0.031295567750930786,
0.04219133034348488,
-0.023164944723248482,
0.009449100121855736,
-0.0005702536436729133,
0.03217455372214317,
0.0005739732878282666,
-0.001659543951973319,
0.019410941749811172,
0.0038615872617810965,
-0.01453073788434267,
0.006326868198812008,
-0.0074301790446043015,
0.062005139887332916,
0.014164494350552559,
-0.005058747716248035,
0.005104528274387121,
-0.05153055861592293,
0.012333272956311703,
-0.01602318324148655,
-0.0027742998208850622,
-0.018458707258105278,
-0.05211654677987099,
0.07467719167470932,
0.06903702765703201,
-0.02618645876646042,
-0.046000268310308456,
0.0081397769972682,
-0.019887059926986694,
-0.0004812677507288754,
0.0020566899329423904,
0.0469525046646595,
-0.024227052927017212,
0.0118663115426898,
-0.04270407184958458,
-0.03715547174215317,
-0.0189348254352808,
-0.06687618792057037,
-0.02801768109202385,
-0.013386225327849388,
-0.060650039464235306,
0.013514410704374313,
-0.04482828825712204,
0.016114743426442146,
-0.033236660063266754,
0.006615285761654377,
0.020198367536067963,
0.03790627419948578,
-0.015611158683896065,
0.03330991044640541,
-0.05848919600248337,
-0.01518997736275196,
0.02157178334891796,
-0.03208298981189728,
0.010309773497283459,
0.010932388715445995,
0.013230571523308754,
0.07149086892604828,
-0.029171349480748177,
0.01789102889597416,
0.05098119005560875,
0.0242453645914793,
-0.022359207272529602,
0.07280934602022171,
0.0018186313100159168,
-0.015070948749780655,
-0.050321951508522034,
0.03149700164794922,
0.013816562481224537,
0.02375093474984169,
-0.01385318674147129,
0.04189833626151085,
0.04219133034348488,
-0.04933309182524681,
-0.03437201678752899,
0.061455775052309036,
-0.11434143781661987,
-0.06643669307231903,
0.031002569943666458,
-0.04691588133573532,
-0.01160994078963995,
0.03519606590270996,
-0.023805871605873108,
0.07559280097484589,
0.05823282524943352,
-0.0325591079890728,
0.021022416651248932,
0.0582694485783577,
0.05222642049193382,
0.00032933364855125546,
0.04274069517850876,
-0.01401799637824297,
-0.0155928460881114,
0.04958946257829666,
0.026278020814061165,
-0.013725001364946365,
0.059368181973695755,
0.028493797406554222,
0.011408506892621517,
0.02298182249069214,
0.05420413985848427,
-0.014411709271371365,
0.02237752079963684,
-0.08196544647216797,
-0.029757339507341385,
0.0352143794298172,
0.058525823056697845,
-0.03395083546638489,
-0.020344864577054977,
-0.022450769320130348,
0.02159009501338005,
0.013258039951324463,
-0.04581714794039726,
-0.03343809396028519,
0.011637409217655659,
-0.07185710966587067,
0.007109715137630701,
0.04288719594478607,
0.00032017752528190613,
0.05255604162812233,
-0.011719814501702785,
0.026278020814061165,
-0.06112615391612053,
-0.015611158683896065,
-0.0628841295838356,
-0.025234224274754524,
-0.034811511635780334,
0.06702268868684769,
-0.0353059396147728,
-0.0009980153990909457,
0.003218370722606778,
-0.0033992037642747164,
-0.013486942276358604,
-0.06343349069356918,
-0.03808939456939697,
-0.03466501086950302,
-0.0010369288502261043,
0.002515639876946807,
0.0071600740775465965,
0.03173505887389183,
0.06189526617527008,
-0.08269793540239334,
0.02772468514740467,
-0.012589643709361553,
-0.023293130099773407,
-0.0014535316731780767,
0.044425420463085175,
-0.0077872672118246555,
0.038052771240472794,
-0.011536692269146442,
0.02239583246409893,
-0.01762550137937069,
-0.05409426614642143,
0.028347300365567207,
0.03389589861035347,
0.0007450780249200761,
0.006725159008055925,
0.00519151147454977,
0.013642596080899239,
-0.025197600945830345,
-0.01703035458922386,
-0.051384057849645615,
-0.0006827020552009344,
0.00908743403851986,
-0.007187542039901018,
-0.01977718621492386,
0.04717225208878517,
0.017222633585333824,
-0.04394930228590965,
-0.06489846855401993,
0.0673523098230362,
-0.014640611596405506,
0.0035365454386919737,
-0.04032348468899727,
0.005406680051237345,
-0.009970998391509056,
0.014759641140699387
] |
708,789
|
pathvalidate._filepath
|
is_valid_filepath
|
Check whether the ``file_path`` is a valid name or not.
Args:
file_path:
A filepath to be checked.
platform:
Target platform name of the file path.
Example:
:ref:`example-is-valid-filepath`
See Also:
:py:func:`.validate_filepath()`
|
def is_valid_filepath(
file_path: PathType,
platform: Optional[PlatformType] = None,
min_len: int = DEFAULT_MIN_LEN,
max_len: Optional[int] = None,
fs_encoding: Optional[str] = None,
check_reserved: bool = True,
additional_reserved_names: Optional[Sequence[str]] = None,
) -> bool:
"""Check whether the ``file_path`` is a valid name or not.
Args:
file_path:
A filepath to be checked.
platform:
Target platform name of the file path.
Example:
:ref:`example-is-valid-filepath`
See Also:
:py:func:`.validate_filepath()`
"""
return FilePathValidator(
platform=platform,
min_len=min_len,
max_len=-1 if max_len is None else max_len,
fs_encoding=fs_encoding,
check_reserved=check_reserved,
additional_reserved_names=additional_reserved_names,
).is_valid(file_path)
|
(file_path: ~PathType, platform: Optional[~PlatformType] = None, min_len: int = 1, max_len: Optional[int] = None, fs_encoding: Optional[str] = None, check_reserved: bool = True, additional_reserved_names: Optional[Sequence[str]] = None) -> bool
|
[
0.00799635611474514,
-0.008525699377059937,
-0.03052387572824955,
0.04500819370150566,
-0.03760676458477974,
-0.021342353895306587,
0.07289004325866699,
-0.006216265261173248,
-0.015374364331364632,
-0.023347297683358192,
0.07742458581924438,
0.028275340795516968,
0.07026674598455429,
0.0027099542785435915,
-0.021698372438549995,
0.008506961166858673,
0.048530902713537216,
-0.013603642582893372,
0.014934026636183262,
0.0077433958649635315,
0.0010288222692906857,
0.02776942029595375,
0.0022602470126003027,
0.0001286027836613357,
0.031217174604535103,
0.09526297450065613,
-0.01730435900390148,
0.029362132772803307,
0.028893686830997467,
-0.040398698300123215,
0.008567859418690205,
0.05666310712695122,
0.03462745249271393,
0.05906154587864876,
-0.0007155497441999614,
-0.05392738804221153,
0.018138190731406212,
-0.008689654991030693,
-0.06715627759695053,
-0.10508158057928085,
-0.06561977416276932,
0.04156044125556946,
0.0016688352916389704,
0.03187299892306328,
-0.029081065207719803,
-0.05066701024770737,
-0.02379700541496277,
0.026476511731743813,
-0.04032374545931816,
0.04369654878973961,
0.03271619975566864,
0.007443591021001339,
-0.018110083416104317,
-0.021267402917146683,
-0.005738451145589352,
-0.01508392859250307,
0.053889911621809006,
0.047481585294008255,
-0.020798956975340843,
-0.04021131992340088,
0.021229926496744156,
-0.008164996281266212,
0.006281847599893808,
-0.1023833379149437,
0.005466753151267767,
-0.029868053272366524,
0.0026537408120930195,
-0.07824905216693878,
-0.021436043083667755,
0.05179128050804138,
-0.002501496346667409,
0.07453896850347519,
-0.02359089069068432,
-0.028050485998392105,
0.02969941310584545,
0.03949928283691406,
-0.03871229290962219,
0.02182953618466854,
0.013360051438212395,
-0.03897462412714958,
-0.011889133602380753,
-0.01502771582454443,
0.03408405929803848,
-0.04736915975809097,
0.044033829122781754,
-0.013538060709834099,
-0.028987376019358635,
0.015065191313624382,
0.050704486668109894,
0.03517084941267967,
0.022166816517710686,
0.009008197113871574,
-0.026532724499702454,
-0.020761482417583466,
0.025445932522416115,
-0.026157967746257782,
0.0593988262116909,
0.023684579879045486,
0.00032205594470724463,
-0.024153023958206177,
-0.04099830612540245,
-0.023047493770718575,
-0.010596225969493389,
-0.0056072864681482315,
0.02432166412472725,
0.015655431896448135,
-0.0012659726198762655,
-0.004443200770765543,
-0.0037030577659606934,
-0.045233048498630524,
-0.005504228640347719,
-0.05632582679390907,
0.01603955589234829,
0.05317787453532219,
-0.0021454780362546444,
-0.0036632397677749395,
0.016601691022515297,
-0.028425242751836777,
-0.021548470482230186,
-0.0319666862487793,
0.04197267070412636,
-0.0021431357599794865,
-0.04245985299348831,
-0.023216133937239647,
0.06992946565151215,
-0.06014833599328995,
0.014671697281301022,
0.004028627183288336,
-0.015093297697603703,
0.01573038287460804,
-0.057375144213438034,
0.047743912786245346,
0.013584905304014683,
0.00026115807122550905,
-0.041335586458444595,
0.0021934937685728073,
0.025352243334054947,
0.03307221829891205,
-0.04245985299348831,
-0.007645022124052048,
0.04860585182905197,
0.011392582207918167,
-0.007148470729589462,
-0.03681977838277817,
0.007293688599020243,
0.004625894129276276,
0.0013444371288642287,
-0.0028832789976149797,
-0.007982302457094193,
0.07824905216693878,
-0.018035132437944412,
0.0035461285151541233,
0.010586856864392757,
0.03957423195242882,
0.018344305455684662,
-0.08417019993066788,
0.01922498270869255,
-0.03715705871582031,
0.008136889897286892,
0.01766037568449974,
-0.01198282279074192,
-0.016161352396011353,
-0.01568353921175003,
-0.044408585876226425,
0.009186206385493279,
0.04714430496096611,
-0.011111515574157238,
-0.04729420691728592,
0.03005543164908886,
0.0020471045281738043,
-0.006656603422015905,
0.02078022062778473,
0.06603200733661652,
0.008956667967140675,
0.013200780376791954,
-0.013078983873128891,
0.03280988708138466,
0.0012402081629261374,
-0.006342745386064053,
0.005433961749076843,
0.052428364753723145,
-0.021136237308382988,
0.04223500192165375,
-0.0046750809997320175,
0.034402601420879364,
0.052953023463487625,
-0.055501364171504974,
-0.004356538411229849,
0.036594923585653305,
-0.001962784444913268,
-0.06479531526565552,
0.04901808500289917,
0.054302144795656204,
0.002392582828179002,
-0.005574495531618595,
-0.04324684292078018,
0.06153493374586105,
0.011111515574157238,
-0.037531811743974686,
0.011308262124657631,
0.07734964042901993,
0.018363043665885925,
-0.03588288649916649,
-0.020330512896180153,
-0.06460793316364288,
-0.016835913062095642,
0.013078983873128891,
0.020499153062701225,
-0.008188418112695217,
0.01885959506034851,
-0.01735120266675949,
-0.08986648917198181,
-0.05220350995659828,
0.06775588542222977,
0.022935066372156143,
-0.0026677942369133234,
-0.024565255269408226,
0.058312032371759415,
-0.039349380880594254,
0.06813064217567444,
0.08387038856744766,
0.046657122671604156,
0.034346386790275574,
-0.03129212558269501,
0.06831801682710648,
-0.0016981131630018353,
-0.006947039160877466,
0.03288483992218971,
-0.0026467142160981894,
0.018063239753246307,
-0.007026675157248974,
-0.06749355792999268,
-0.007818346843123436,
0.04538295045495033,
0.005443330854177475,
0.029774364084005356,
0.07502614706754684,
-0.0075607020407915115,
-0.013687962666153908,
-0.0011875081108883023,
-0.0038108001463115215,
0.008956667967140675,
0.002109173685312271,
-0.004693818744271994,
-0.03385920450091362,
-0.015477422624826431,
-0.014043981209397316,
0.028743784874677658,
-0.017894599586725235,
-0.030804943293333054,
-0.011064670979976654,
0.06858034431934357,
-0.039349380880594254,
0.0063240076415240765,
0.0005170461372472346,
0.05329030379652977,
-0.016789069399237633,
-0.04332179203629494,
0.019655952230095863,
0.03370930254459381,
-0.01907508075237274,
0.06693141907453537,
0.0204616766422987,
0.011467533186078072,
-0.0017695509595796466,
-0.07817409932613373,
0.015552373602986336,
0.03151698037981987,
0.030074167996644974,
-0.04557032883167267,
0.00700793694704771,
0.04036122187972069,
-0.03642628341913223,
0.012301365844905376,
0.05059206113219261,
-0.013884710147976875,
-0.03348444774746895,
-0.027282236143946648,
0.0956377312541008,
0.0204616766422987,
-0.011645542457699776,
-0.004801561124622822,
0.013397526927292347,
0.01818503439426422,
0.01801639422774315,
0.021192451938986778,
-0.04718178138136864,
-0.027094857767224312,
-0.05812465399503708,
0.022897591814398766,
-0.05872426554560661,
-0.049767594784498215,
0.0036163954064249992,
-0.0021396225783973932,
0.02182953618466854,
0.042384903877973557,
0.06179726496338844,
-0.029924266040325165,
-0.007701235823333263,
-0.10950370132923126,
0.00599141139537096,
0.07483877241611481,
0.004412751644849777,
-0.0037733244244009256,
-0.0022988938726484776,
-0.021436043083667755,
-0.04969264566898346,
-0.0563633032143116,
-0.06273415684700012,
-0.04073597863316536,
0.013734807260334492,
-0.020649055019021034,
-0.008544436655938625,
-0.026289133355021477,
0.11062797158956528,
0.047069352120161057,
0.020499153062701225,
-0.017220038920640945,
-0.024396615102887154,
0.010933506302535534,
0.019862066954374313,
0.04257228225469589,
-0.031273387372493744,
-0.012516850605607033,
-0.04553285241127014,
-0.034458812326192856,
-0.0028106700628995895,
-0.026551462709903717,
-0.026738841086626053,
-0.0020576445385813713,
0.008057254366576672,
-0.002920754486694932,
0.023328561335802078,
-0.038412488996982574,
-0.0036140531301498413,
-0.02104254998266697,
-0.009884189814329147,
0.007851137779653072,
0.009575015865266323,
0.025801951065659523,
0.010896030813455582,
-0.01208588108420372,
-0.014718541875481606,
-0.02025556191802025,
-0.020855171605944633,
-0.04875575378537178,
-0.006347429472953081,
-0.001016525668092072,
0.014699803665280342,
-0.008169680833816528,
-0.010446323081851006,
0.0311422236263752,
-0.0760754644870758,
-0.06824306398630142,
-0.013734807260334492,
-0.016339361667633057,
0.018887702375650406,
0.048680804669857025,
-0.002937150187790394,
0.050929341465234756,
0.11295145750045776,
-0.07259023934602737,
-0.006661287974566221,
-0.041185684502124786,
0.0237033162266016,
0.03249134495854378,
0.06891762465238571,
0.030879894271492958,
-0.058986593037843704,
0.05666310712695122,
0.017632270231842995,
0.008122836239635944,
0.05610097199678421,
-0.033521924167871475,
0.021604683250188828,
-0.024808846414089203,
-0.027731943875551224,
-0.029943004250526428,
-0.016948340460658073,
0.028275340795516968,
0.01761353202164173,
0.03005543164908886,
0.04163539037108421,
0.03526454046368599,
-0.015861548483371735,
0.005907091312110424,
0.01604892499744892,
-0.06453298032283783,
-0.0486433282494545,
0.002663109917193651,
0.022260505706071854,
-0.001003643381409347,
0.03715705871582031,
0.0012296681525185704,
-0.004312036093324423,
-0.01952478662133217,
-0.027113595977425575,
0.0017461287789046764,
-0.010268314741551876,
-0.01172049343585968,
-0.03104853443801403,
0.013622380793094635,
-0.05066701024770737,
0.0018995444988831878,
-0.038674820214509964,
0.05864931270480156,
0.0494677908718586,
0.08004788309335709,
-0.028818735852837563,
0.031067272648215294,
0.01005282998085022,
-0.0571877658367157,
-0.014971502125263214,
-0.03110474720597267,
0.014512426219880581,
0.04684450104832649,
-0.0405111238360405,
-0.05947377532720566,
0.07446401566267014,
-0.06082289665937424,
-0.07734964042901993,
-0.00034577096812427044,
-0.006202211603522301,
0.05666310712695122,
0.03833753988146782,
0.011973453685641289,
-0.03815016150474548,
-0.002951203379780054,
0.03282862529158592,
-0.034796092659235,
-0.03689472749829292,
-0.004824983421713114,
0.006876772735267878,
-0.014512426219880581,
-0.020030707120895386,
-0.06464540958404541,
-0.020349251106381416,
-0.00033669485128484666,
-0.013940922915935516,
-0.06322133541107178,
-0.037475600838661194,
-0.00885361060500145,
-0.003553155343979597,
0.05366506054997444,
-0.019768379628658295,
-0.011514377780258656,
-0.04141053929924965,
-0.008633441291749477,
-0.0016582952812314034,
0.013210148550570011,
-0.08986648917198181,
0.0801977813243866,
0.03245386853814125,
-0.027694467455148697,
0.0017391020664945245,
-0.007565386593341827,
-0.03234144300222397,
-0.03916200250387192,
-0.03423396125435829,
-0.03303474187850952,
0.026532724499702454,
0.09983500093221664,
0.05186622962355614,
-0.08581912517547607,
0.03781288117170334,
0.040136367082595825,
-0.011617436073720455,
-0.00003690834273584187,
0.054976705461740494,
0.03339076042175293,
-0.010596225969493389,
-0.02344098687171936,
0.0012870526406913996,
0.021792061626911163,
0.03859986737370491,
0.03016785718500614,
-0.003585946513339877,
0.076487697660923,
-0.012160832062363625,
0.04328431934118271,
0.02162342146039009,
-0.02672010287642479,
-0.004806245677173138,
0.06528249382972717,
0.06037319079041481,
0.007687182165682316,
-0.02452778071165085,
0.008703707717359066,
-0.07712478190660477,
-0.014587377198040485,
0.0380377322435379,
0.0038084578700363636,
0.014624852687120438,
0.026701364666223526,
-0.015290044248104095,
0.02672010287642479,
-0.0008988288464024663,
0.06457045674324036,
0.004918672610074282,
0.009668705053627491,
0.03496473282575607,
0.0018468444468453526,
0.018213141709566116,
0.05992348492145538,
0.005682237911969423,
-0.010202731937170029,
-0.017669744789600372,
-0.03282862529158592,
-0.033990368247032166,
-0.029605723917484283,
-0.029137277975678444,
0.03614521771669388,
0.01948731206357479,
0.016376836225390434,
0.0022743004374206066,
0.02349720150232315,
-0.012048405595123768,
-0.03146076574921608,
0.06468288600444794,
0.011233311146497726,
-0.03983656316995621,
-0.005775926634669304,
-0.0021162002813071012,
-0.039611708372831345,
-0.012357578612864017,
0.0134350024163723,
-0.0036679243203252554,
-0.026345346122980118,
0.03271619975566864,
0.03530201315879822,
0.023159921169281006,
0.016835913062095642,
0.012413792312145233,
-0.025014963001012802,
0.020798956975340843,
0.02484632283449173,
-0.043359268456697464,
0.018316200003027916,
-0.03340949863195419,
0.016573583707213402,
-0.0066284965723752975,
0.05017982795834541,
-0.037213269621133804,
-0.022803902626037598,
0.0022087180987000465,
-0.03717579320073128,
0.03807520866394043,
-0.06355861574411392,
0.013275731354951859,
-0.03202290087938309,
0.0021337668877094984,
-0.0011383213568478823,
0.0026748208329081535,
0.04204762354493141,
0.05059206113219261,
0.04219752550125122,
0.034140270203351974,
-0.027619516476988792,
-0.008090045303106308,
-0.014156407676637173,
-0.026476511731743813,
-0.013116460293531418,
0.00678308354690671,
-0.03818763792514801,
-0.0921899750828743,
-0.008436694741249084,
-0.020199349150061607,
-0.016807805746793747,
0.014343786053359509,
-0.02021808549761772,
-0.021267402917146683,
0.019880805164575577,
0.06561977416276932,
-0.01463422179222107,
-0.006886141374707222,
0.000975536706391722,
0.03931190446019173,
0.039761610329151154,
-0.0013690304476767778,
0.0057899802923202515,
0.02598932757973671,
-0.003487573005259037,
-0.045233048498630524,
-0.020761482417583466,
-0.05182875320315361,
-0.019093818962574005,
-0.0140908258035779,
0.04954274371266365,
-0.051641374826431274,
-0.04099830612540245,
-0.009265841916203499,
0.017407415434718132,
0.01885959506034851,
-0.0000506140167999547,
-0.00924710463732481,
0.003302537137642503,
0.04875575378537178,
-0.01562732458114624,
0.053627584129571915,
0.032416392117738724,
-0.048830706626176834,
-0.001070396858267486,
0.004546258598566055,
-0.013425633311271667,
0.027019906789064407,
0.017435522750020027,
0.034983471035957336,
-0.0002724300429690629,
-0.040661025792360306,
-0.0013889394467696548,
0.008343005552887917,
0.01346310880035162,
-0.0032463239040225744,
-0.027788156643509865,
0.07120364159345627,
0.04444606229662895,
-0.03938685357570648,
-0.022522835060954094,
-0.005869615823030472,
-0.01425009686499834,
-0.007808978203684092,
-0.012872868217527866,
0.0730399414896965,
-0.017154455184936523,
-0.0006786597077734768,
-0.015299413353204727,
-0.04916798695921898,
-0.012994663789868355,
-0.07967312633991241,
-0.03687598928809166,
0.006904879119247198,
-0.0759255662560463,
-0.014147038571536541,
-0.02999921701848507,
0.016273779794573784,
-0.06295900791883469,
-0.017023291438817978,
0.016367468982934952,
0.04568275436758995,
-0.028144175186753273,
-0.018719062209129333,
-0.06846792250871658,
-0.024003122001886368,
0.034458812326192856,
-0.0405111238360405,
0.004946778994053602,
-0.006497331894934177,
-0.01801639422774315,
0.08132205158472061,
-0.01811945252120495,
0.03245386853814125,
0.06820559501647949,
-0.01650800183415413,
-0.05392738804221153,
0.06224697083234787,
0.011598697863519192,
0.016058294102549553,
-0.055876120924949646,
0.024565255269408226,
0.007331164088100195,
0.006530123297125101,
-0.002459336305037141,
-0.0036281065549701452,
0.01931867189705372,
-0.03295978903770447,
-0.0204616766422987,
0.04433363303542137,
-0.07704983651638031,
-0.018981391564011574,
0.025670785456895828,
-0.0447833426296711,
-0.03099232167005539,
0.00295588793233037,
-0.017379309982061386,
0.08334573358297348,
0.04208509996533394,
-0.03249134495854378,
0.007312426343560219,
0.019824592396616936,
0.04444606229662895,
0.015721013769507408,
0.05224098637700081,
-0.0354144424200058,
0.021080024540424347,
0.05077943578362465,
0.02510865218937397,
-0.012713597156107426,
0.0525033138692379,
0.04099830612540245,
0.03436512500047684,
-0.002478074049577117,
0.00523721519857645,
-0.007832400500774384,
-0.005330903921276331,
-0.05827455595135689,
-0.025764474645256996,
0.027488352730870247,
0.050404682755470276,
-0.02495875023305416,
-0.012151462957262993,
-0.028219126164913177,
0.023159921169281006,
-0.0000909808004507795,
-0.02953077293932438,
0.012235783040523529,
-0.0022614181507378817,
-0.03809394687414169,
-0.005494860000908375,
0.03350318595767021,
0.005485490895807743,
0.054189715534448624,
-0.010240207426249981,
0.018840856850147247,
-0.0897165834903717,
0.008605334907770157,
-0.07817409932613373,
-0.03046766296029091,
-0.0675310343503952,
0.06925490498542786,
-0.043883927166461945,
0.005967989098280668,
-0.02651398628950119,
-0.01021210104227066,
-0.04572023078799248,
-0.0811721459031105,
-0.01439999882131815,
-0.041747819632291794,
-0.0031549769919365644,
0.008947299793362617,
0.002993363421410322,
0.01141132041811943,
0.02593311481177807,
-0.06704384833574295,
0.023309823125600815,
-0.0006031229277141392,
-0.028144175186753273,
-0.01010904274880886,
0.040661025792360306,
-0.020911384373903275,
0.04047364741563797,
-0.03239765763282776,
0.013228886760771275,
-0.015458684414625168,
-0.07824905216693878,
0.06011086329817772,
0.044933244585990906,
0.014315678738057613,
0.014999608509242535,
-0.012507481500506401,
0.030074167996644974,
-0.018156928941607475,
-0.0070969415828585625,
-0.04279713332653046,
-0.008741183206439018,
0.009856082499027252,
-0.02291633002460003,
-0.03151698037981987,
0.03901210054755211,
0.004267533775418997,
-0.03949928283691406,
-0.06977956742048264,
0.0819966122508049,
-0.0016184775158762932,
0.013875341042876244,
0.005031099077314138,
0.01802576333284378,
-0.044670913368463516,
0.01346310880035162
] |
708,790
|
pathvalidate._common
|
normalize_platform
| null |
def normalize_platform(name: Optional[PlatformType]) -> Platform:
if isinstance(name, Platform):
return name
if not name:
return Platform.UNIVERSAL
name = name.strip().casefold()
if name == "posix":
return Platform.POSIX
if name == "auto":
name = platform.system().casefold()
if name in ["linux"]:
return Platform.LINUX
if name and name.startswith("win"):
return Platform.WINDOWS
if name in ["mac", "macos", "darwin"]:
return Platform.MACOS
return Platform.UNIVERSAL
|
(name: Optional[~PlatformType]) -> pathvalidate._const.Platform
|
[
0.05899684876203537,
-0.03167510777711868,
-0.055479325354099274,
-0.023055437952280045,
-0.03245871514081955,
-0.09034109860658646,
0.028888951987028122,
-0.015114895068109035,
0.034461263567209244,
0.0012363565620034933,
0.008293166756629944,
0.009960507042706013,
-0.019781704992055893,
0.004379488527774811,
0.003328150138258934,
-0.010239122435450554,
0.03984202817082405,
0.03886687383055687,
0.008959231898188591,
-0.030839260667562485,
0.07473862916231155,
0.06512638926506042,
-0.003130071796476841,
-0.06923597306013107,
0.04879255220293999,
0.06993250548839569,
0.0355583131313324,
0.021679773926734924,
-0.06812150776386261,
-0.07404208928346634,
0.00846294779330492,
0.06300194561481476,
0.057847559452056885,
-0.03761310130357742,
0.02979445271193981,
0.014679557643830776,
-0.05481761321425438,
-0.00002384149411227554,
-0.031187530606985092,
-0.07237039506435394,
-0.0255803931504488,
-0.0030843615531921387,
-0.018475694581866264,
-0.031866654753685,
-0.038239989429712296,
0.008223513141274452,
-0.011936935596168041,
0.030874088406562805,
-0.03155321255326271,
0.08247020840644836,
-0.03280698508024216,
0.0053067561239004135,
-0.013103638775646687,
-0.0033608004450798035,
-0.05704654008150101,
0.01786622405052185,
-0.008297519758343697,
-0.059240635484457016,
-0.06805185228586197,
0.004697284661233425,
-0.02286389097571373,
0.04078235477209091,
-0.016133582219481468,
-0.03252836689352989,
0.009237847290933132,
-0.058787886053323746,
0.05248421058058739,
-0.0028688698075711727,
-0.045936744660139084,
0.07390277832746506,
-0.010535151697695255,
-0.00007802052277838811,
-0.043672990053892136,
-0.002392175840213895,
0.03230199217796326,
0.008859104476869106,
0.023699738085269928,
0.0068826754577457905,
0.053006611764431,
0.009490342810750008,
0.0215578805655241,
0.04388195276260376,
0.00011964960867771879,
-0.044543664902448654,
0.011519012972712517,
0.016812708228826523,
-0.028488442301750183,
0.02780931629240513,
-0.02009514905512333,
-0.05345936492085457,
0.017030376940965652,
0.008314933627843857,
0.046807415783405304,
0.06996733695268631,
0.016560213640332222,
0.015811434015631676,
-0.01144935842603445,
0.008132091723382473,
0.02009514905512333,
-0.03855343163013458,
-0.03456574305891991,
0.01828414760529995,
-0.052867304533720016,
-0.0585440993309021,
0.009960507042706013,
0.016716934740543365,
0.0384141206741333,
0.027269499376416206,
-0.03893652558326721,
0.01600298285484314,
-0.043742645531892776,
-0.036812081933021545,
-0.03569762036204338,
-0.04064304754137993,
0.008502128534018993,
-0.02154046669602394,
-0.0367424301803112,
0.011719267815351486,
0.01670822687447071,
0.0068130213767290115,
-0.1266307830810547,
0.07668893784284592,
0.02011256106197834,
-0.06498708575963974,
0.007931836880743504,
-0.0056898524053394794,
0.036846909672021866,
-0.015045241452753544,
-0.04315058887004852,
0.05729032680392265,
-0.027582941576838493,
0.03473987802863121,
0.00887216441333294,
-0.008763330057263374,
-0.010900834575295448,
-0.01927671581506729,
-0.021610120311379433,
0.027774490416049957,
-0.023403707891702652,
0.016325131058692932,
-0.021749427542090416,
-0.023978352546691895,
0.015646005049347878,
-0.029986001551151276,
0.0014866753481328487,
0.0384141206741333,
0.0201299749314785,
-0.0255803931504488,
-0.024605238810181618,
0.008153858594596386,
-0.0053502898663282394,
0.014270341023802757,
0.012868557125329971,
0.057394810020923615,
0.0116583202034235,
-0.05039459094405174,
0.024779371917247772,
-0.09145556390285492,
-0.02972479909658432,
0.007570507470518351,
-0.002163624158129096,
-0.011492892168462276,
-0.007540034130215645,
-0.07473862916231155,
-0.01047420408576727,
-0.010247829370200634,
-0.0026882048696279526,
-0.014009139500558376,
0.07661928236484528,
-0.018649829551577568,
0.0003586087259463966,
0.03233681991696358,
0.0412699319422245,
0.010866007767617702,
-0.014740505255758762,
0.04708603024482727,
0.0019339838763698936,
-0.02100064978003502,
0.007557447534054518,
-0.026224691420793533,
0.0375782772898674,
0.0018534465925768018,
-0.039598237723112106,
-0.01348673552274704,
-0.005811746697872877,
0.030769607052206993,
-0.03660312294960022,
0.04297645390033722,
0.011240396648645401,
0.018632415682077408,
-0.0020254047121852636,
0.033608004450798035,
0.007008923217654228,
0.010535151697695255,
0.047747742384672165,
-0.001815354567952454,
0.018179666250944138,
-0.006273203995078802,
-0.004342484753578901,
-0.045971568673849106,
0.012076243758201599,
0.07863924652338028,
0.014444475993514061,
0.07571378350257874,
-0.0439516082406044,
-0.042279914021492004,
0.022794237360358238,
0.020930994302034378,
-0.0064429850317537785,
-0.04012064263224602,
0.004170526750385761,
-0.024518171325325966,
-0.02476195991039276,
0.07418140023946762,
0.009559997357428074,
-0.011963056400418282,
-0.02974221296608448,
-0.007718522101640701,
0.017204511910676956,
0.04391678050160408,
-0.051996633410453796,
0.03125718608498573,
0.1026698425412178,
-0.015323856845498085,
0.019294127821922302,
-0.02829689346253872,
-0.045031242072582245,
0.02192356251180172,
0.05948442593216896,
0.03921514376997948,
-0.017335113137960434,
-0.10037126392126083,
-0.01741347275674343,
0.01756148785352707,
0.02565004676580429,
-0.023421121761202812,
0.0009566526859998703,
-0.023159919306635857,
0.0012417982798069715,
-0.0009805961744859815,
0.01622064970433712,
-0.022776823490858078,
0.0018730367301031947,
0.038727566599845886,
0.006647593341767788,
-0.02385645918548107,
-0.006799961440265179,
-0.005798686761409044,
0.018893618136644363,
-0.04844428226351738,
-0.019450848922133446,
0.007387666031718254,
0.03604589030146599,
-0.034461263567209244,
0.04708603024482727,
-0.030856674537062645,
-0.07250970602035522,
-0.049140822142362595,
0.006434278562664986,
0.025023160502314568,
-0.029986001551151276,
0.01236356608569622,
0.023630082607269287,
0.032719917595386505,
-0.04349885508418083,
-0.09883887320756912,
0.023577842861413956,
0.05680274963378906,
0.006234023254364729,
-0.024448515847325325,
0.0215578805655241,
-0.01831897348165512,
-0.019746879115700722,
0.02791379764676094,
0.014026552438735962,
-0.03200596570968628,
-0.021174782887101173,
0.04712085798382759,
0.007679341826587915,
-0.027339152991771698,
0.033172667026519775,
-0.01078764721751213,
0.007287538610398769,
-0.010561271570622921,
0.02094840817153454,
-0.035836927592754364,
-0.011005314998328686,
-0.12001366168260574,
-0.025249537080526352,
0.0038570843171328306,
-0.005459123756736517,
0.01168444100767374,
-0.04234956577420235,
-0.01596815511584282,
-0.030787020921707153,
0.014296461828052998,
0.018510522320866585,
-0.0632457360625267,
0.065753273665905,
-0.07794270664453506,
0.02382163144648075,
0.09472929686307907,
0.0123722730204463,
-0.008084204979240894,
-0.04384712502360344,
0.012267791666090488,
0.029150154441595078,
-0.048235319554805756,
-0.01144935842603445,
0.01620323769748211,
-0.02464006468653679,
-0.003267202991992235,
-0.006099069025367498,
0.0076575749553740025,
-0.003265026258304715,
0.049105994403362274,
0.06836529821157455,
-0.022602688521146774,
0.022167351096868515,
0.047260165214538574,
-0.0003980611218139529,
0.057359982281923294,
-0.025458497926592827,
0.0011253457050770521,
-0.030403925105929375,
-0.06467363983392715,
-0.014470596797764301,
-0.014104913920164108,
0.012424513697624207,
0.015262909233570099,
-0.04064304754137993,
0.019067753106355667,
0.026851575821638107,
-0.002511893631890416,
0.016316425055265427,
-0.006974095944315195,
0.007048103492707014,
0.03207561746239662,
-0.020722033455967903,
-0.03352093696594238,
-0.003674242878332734,
0.05850927159190178,
0.0072004711255431175,
0.007579214405268431,
-0.001167791080661118,
0.0421057790517807,
0.05495692044496536,
0.02841878868639469,
0.020008081570267677,
-0.0367424301803112,
-0.026433652266860008,
0.000670418725349009,
-0.011397118680179119,
-0.058822713792324066,
0.017056496813893318,
-0.06185265630483627,
-0.04712085798382759,
-0.015306442975997925,
0.0017674675909802318,
0.020251870155334473,
0.04771291837096214,
-0.04060821980237961,
0.04349885508418083,
-0.0088895782828331,
-0.015471871010959148,
-0.0333816297352314,
-0.01640349254012108,
0.02053048461675644,
-0.022167351096868515,
-0.0060120015405118465,
-0.03385179117321968,
0.005589724984019995,
0.04147889465093613,
-0.039075832813978195,
-0.00937715545296669,
0.06362883001565933,
0.054643478244543076,
-0.012842436321079731,
-0.03473987802863121,
-0.022585274651646614,
0.005180508363991976,
0.03521004319190979,
0.026886403560638428,
0.03521004319190979,
0.02552815154194832,
-0.019973253831267357,
0.006638886872678995,
-0.05579276755452156,
-0.007979724556207657,
-0.029951173812150955,
-0.023455949500203133,
0.027791904285550117,
0.012163311243057251,
0.028610337525606155,
0.02610279619693756,
0.03252836689352989,
-0.10023195296525955,
0.013025278225541115,
-0.043707817792892456,
0.03799619898200035,
0.002204981166869402,
0.011963056400418282,
0.04301127791404724,
0.011710560880601406,
-0.04259335622191429,
0.02425696887075901,
0.019921014085412025,
-0.00012447912013158202,
-0.04259335622191429,
0.039528585970401764,
-0.011153330095112324,
0.0006551819387823343,
-0.047294992953538895,
-0.06968872249126434,
0.03306818753480911,
0.023038025945425034,
0.09340587258338928,
-0.0072440048679709435,
0.02462265081703663,
-0.015376096591353416,
-0.045483991503715515,
0.04426505044102669,
-0.03646381199359894,
0.0879032164812088,
0.04360333830118179,
0.026781922206282616,
0.022219592705368996,
-0.004370781593024731,
-0.005820453632622957,
-0.005189215298742056,
0.0061034224927425385,
-0.007870890200138092,
-0.039110660552978516,
-0.02612021006643772,
0.03425230085849762,
-0.022097697481513023,
0.012920796871185303,
0.048235319554805756,
-0.0585440993309021,
-0.06167852133512497,
-0.010465497151017189,
-0.027304327115416527,
-0.04158337414264679,
0.043742645531892776,
0.022620102390646935,
-0.010900834575295448,
-0.018197080120444298,
-0.014583784155547619,
-0.04851393774151802,
-0.029184982180595398,
0.008793803863227367,
0.009203020483255386,
-0.003069124650210142,
-0.04722534120082855,
0.11848127096891403,
-0.05224042013287544,
-0.028035692870616913,
0.008245280012488365,
0.0012624767841771245,
-0.01689106971025467,
0.0076575749553740025,
0.04941943660378456,
0.05944959819316864,
0.014932053163647652,
0.012868557125329971,
0.02974221296608448,
0.020791687071323395,
0.0052849892526865005,
0.048270147293806076,
0.024883853271603584,
0.0476432628929615,
0.02141857147216797,
0.11144623160362244,
0.07132558524608612,
-0.06477811932563782,
-0.011902108788490295,
-0.02615503780543804,
-0.02107030339539051,
-0.002594607649371028,
-0.004832238890230656,
0.010883420705795288,
0.045518819242715836,
0.018510522320866585,
0.04952391982078552,
-0.040399257093667984,
-0.06920114159584045,
0.018475694581866264,
-0.0009854937670752406,
0.0014551134081557393,
0.01097048819065094,
0.0048714191652834415,
0.05812617391347885,
0.03531452268362045,
-0.01719580590724945,
-0.004614570643752813,
0.0030125309713184834,
-0.007901364006102085,
-0.002699088305234909,
0.0031648988369852304,
0.0011797627666965127,
0.0177791565656662,
0.0068826754577457905,
0.008358467370271683,
-0.02883671224117279,
0.032267164438962936,
0.0029929408337920904,
-0.008933112025260925,
-0.020460831001400948,
0.005746446084231138,
-0.0007112315506674349,
-0.035906583070755005,
-0.039180316030979156,
0.03803102672100067,
-0.07536551356315613,
0.019938427954912186,
0.028035692870616913,
-0.006556172855198383,
-0.048235319554805756,
0.024779371917247772,
0.007095990236848593,
-0.022254418581724167,
-0.06989768147468567,
-0.0030625946819782257,
0.014252928085625172,
0.0037438967265188694,
0.0031627221032977104,
0.02744363434612751,
0.026311758905649185,
0.027304327115416527,
0.009525169618427753,
0.004120463039726019,
0.016795294359326363,
-0.05332005396485329,
0.0311178769916296,
0.05077768862247467,
-0.015994274988770485,
-0.12175500392913818,
0.0008576135733164847,
0.01622064970433712,
0.011379704810678959,
-0.019938427954912186,
-0.05864857882261276,
0.010361016727983952,
0.016211943700909615,
0.011266517452895641,
-0.03218010067939758,
0.007836063392460346,
0.007470380049198866,
-0.02511022798717022,
-0.008772036992013454,
-0.03576727584004402,
0.014392235316336155,
-0.028923779726028442,
0.034461263567209244,
-0.014522836543619633,
-0.033642832189798355,
0.05774307623505592,
0.009890852496027946,
-0.00796666368842125,
0.007670634891837835,
-0.0702807754278183,
-0.02060013823211193,
0.042767491191625595,
-0.026886403560638428,
-0.022515621036291122,
-0.01397431269288063,
-0.11701854318380356,
0.025963488966226578,
0.0375782772898674,
-0.008053731173276901,
0.03348610922694206,
-0.0006366801098920405,
0.09354517608880997,
-0.016211943700909615,
0.002487950026988983,
0.07073353230953217,
0.06488259881734848,
0.03973754495382309,
-0.035436417907476425,
0.015611179172992706,
-0.024814199656248093,
0.015045241452753544,
-0.018214493989944458,
-0.05575794354081154,
-0.04032960534095764,
-0.08462948352098465,
0.017282871529459953,
-0.023107679560780525,
-0.011902108788490295,
-0.04349885508418083,
-0.05495692044496536,
-0.003693833015859127,
0.06853943318128586,
0.03475729376077652,
-0.040991317480802536,
-0.028958605602383614,
-0.011902108788490295,
-0.04381229728460312,
0.00980378594249487,
0.013225533068180084,
0.024570411071181297,
0.022219592705368996,
0.006599706597626209,
0.05983269587159157,
0.1051773801445961,
-0.017056496813893318,
-0.04057339206337929,
-0.041792336851358414,
0.004470909480005503,
-0.0064516919665038586,
0.034530919045209885,
0.015593765303492546,
-0.04147889465093613,
0.0036611827090382576,
0.08699771016836166,
0.009673184715211391,
0.01397431269288063,
-0.06338503956794739,
0.026172449812293053,
-0.07731582224369049,
0.03397368639707565,
0.003310736734420061,
-0.0026229044888168573,
-0.06826081871986389,
-0.019868772476911545,
0.006434278562664986,
-0.032719917595386505,
-0.028157586231827736,
-0.026346584782004356,
-0.004671164322644472,
0.041827164590358734,
-0.013922072015702724,
-0.023577842861413956,
-0.06909666210412979,
-0.04659845307469368,
0.05711619183421135,
-0.04990701377391815,
-0.033608004450798035,
-0.01144935842603445,
0.06533535569906235,
-0.0014191981172189116,
0.04569295421242714,
0.04583226144313812,
0.004984606988728046,
0.009307501837611198,
-0.011318758130073547,
-0.01719580590724945,
0.0016161879757419229,
-0.010108521208167076,
0.0009321650140918791,
-0.02552815154194832,
-0.0010763703612610698,
0.05492209643125534,
0.01347802858799696,
0.06815633177757263,
0.016412198543548584,
-0.020861340686678886,
-0.0053285229951143265,
0.00021535568521358073,
-0.024988334625959396,
-0.02923722192645073,
-0.0025597806088626385,
0.024030594155192375,
0.07473862916231155,
0.021122543141245842,
-0.01368699036538601,
0.01752666011452675,
-0.06352435052394867,
-0.0081364456564188,
-0.060076482594013214,
0.0010061722714453936,
0.021784255281090736,
0.04346403107047081,
-0.057777903974056244,
0.007892657071352005,
0.05628034472465515,
0.013573802076280117,
0.04154854640364647,
0.054260384291410446,
0.021784255281090736,
0.030073069036006927,
-0.006251437123864889,
-0.04304610565304756,
0.015628593042492867,
-0.003269379725679755,
-0.009525169618427753,
0.049071166664361954,
-0.010944368317723274,
-0.005010726861655712,
-0.009559997357428074,
0.030490992590785027,
0.006064242217689753,
0.0006780371186323464,
0.045553646981716156,
-0.021157370880246162,
-0.004727758001536131,
0.01047420408576727,
-0.004806118551641703,
-0.035035908222198486,
0.05572311580181122,
0.06335021555423737,
-0.017291579395532608,
-0.02645106613636017,
-0.03202337771654129,
-0.011588666588068008,
0.04938460886478424,
-0.015019120648503304,
0.032319407910108566,
0.06519604474306107,
0.014975586906075478,
-0.0005172345554456115,
0.004098696168512106,
0.021853908896446228,
-0.005507010966539383,
0.08442051708698273,
0.006691127084195614,
-0.027757076546549797,
0.04168785363435745,
-0.004827885422855616,
-0.03604589030146599,
0.023978352546691895,
0.01234615221619606,
0.056558962911367416,
-0.034530919045209885,
-0.006656300276517868,
0.016699520871043205,
-0.010143348015844822,
-0.04248887673020363,
0.004309834446758032,
0.0494890920817852,
-0.08734598010778427,
0.004455672577023506,
-0.016499266028404236,
0.008763330057263374,
0.01075281947851181,
-0.011989176273345947,
0.04130475968122482,
-0.01674305461347103,
-0.044578492641448975,
-0.04569295421242714,
-0.025319190695881844,
0.012546407990157604,
-0.05439969152212143,
-0.003073478117585182,
0.03709070011973381,
0.01418327447026968,
0.007466026581823826,
-0.020251870155334473,
0.04057339206337929,
0.0352274551987648,
0.01638607867062092,
-0.051439400762319565,
-0.04492676258087158,
-0.02418731525540352,
-0.007095990236848593,
-0.0421057790517807,
0.004155290313065052,
0.02053048461675644,
0.0003150750417262316,
0.03747379407286644,
-0.026799336075782776,
0.040399257093667984,
-0.016377370804548264,
0.02291613072156906,
0.017805276438593864,
-0.04698155075311661,
-0.003384743817150593,
-0.03521004319190979
] |
708,791
|
pathvalidate._common
|
replace_ansi_escape
| null |
def replace_ansi_escape(text: str, replacement_text: str = "") -> str:
try:
return __RE_ANSI_ESCAPE.sub(replacement_text, text)
except (TypeError, AttributeError):
raise TypeError("text must be a string")
|
(text: str, replacement_text: str = '') -> str
|
[
0.02209935523569584,
-0.10139498859643936,
0.045736055821180344,
0.06236734986305237,
0.006345921661704779,
-0.06250710785388947,
-0.028895124793052673,
-0.0002770608407445252,
0.07805527001619339,
0.025086699053645134,
0.03864330053329468,
-0.03380415216088295,
0.007699834648519754,
0.022239115089178085,
-0.029471630230545998,
0.016089728102087975,
-0.021138513460755348,
0.0795227438211441,
0.0288601852953434,
-0.009110525250434875,
-0.033524636179208755,
-0.03434571623802185,
-0.02372405119240284,
-0.07651792466640472,
0.009835523553192616,
0.06600107997655869,
-0.02982102707028389,
0.03710595518350601,
0.011189436540007591,
-0.046924006193876266,
0.03223186731338501,
-0.06502276659011841,
0.0025134740862995386,
0.039132457226514816,
0.06338059902191162,
0.045072201639413834,
-0.018133699893951416,
-0.01664002798497677,
0.0314282551407814,
-0.04021558538079262,
0.006909324321895838,
-0.009390042163431644,
-0.008485977537930012,
-0.014569851569831371,
-0.01664002798497677,
0.006612336728721857,
0.021522849798202515,
-0.008970766328275204,
0.003710158634930849,
-0.009328898042440414,
0.017024364322423935,
-0.013093649409711361,
0.00408794404938817,
0.01602858304977417,
-0.013722564093768597,
0.03562101721763611,
-0.06236734986305237,
0.004598936997354031,
-0.0028759734705090523,
-0.1066359430551529,
0.045246902853250504,
0.0018124965718016028,
0.04489750415086746,
0.029349341988563538,
0.014255394227802753,
0.0020658092107623816,
-0.02112104371190071,
-0.036477040499448776,
0.04171799123287201,
0.0014554566005244851,
-0.028213800862431526,
0.050243277102708817,
-0.029261993244290352,
-0.0932191014289856,
0.026065010577440262,
-0.009040645323693752,
-0.023042727261781693,
0.014412622898817062,
-0.006642909254878759,
-0.00567333260551095,
0.04531678184866905,
-0.018622856587171555,
0.050313156098127365,
0.027183080092072487,
0.041683051735162735,
-0.05824446678161621,
-0.059013139456510544,
0.011608712375164032,
-0.011364134959876537,
-0.07938297837972641,
0.08455405384302139,
-0.06124928221106529,
-0.009835523553192616,
0.06918059289455414,
-0.015740331262350082,
0.020719237625598907,
0.04996376112103462,
-0.05740591511130333,
0.03155054152011871,
-0.04049510508775711,
0.002417390001937747,
0.0531083308160305,
0.048251714557409286,
-0.03195234760642052,
0.009512331336736679,
-0.0907733216881752,
-0.0047561656683683395,
-0.015949970111250877,
0.026274649426341057,
-0.02957645058631897,
0.0005748671246692538,
0.04405895248055458,
0.08050104975700378,
-0.0588035024702549,
-0.006524987518787384,
0.02765476703643799,
-0.027183080092072487,
-0.0199156254529953,
0.07120709121227264,
0.0025658835656940937,
0.03354210406541824,
0.009337632916867733,
0.004378380253911018,
0.029052354395389557,
0.022046945989131927,
0.027602357789874077,
-0.070997454226017,
0.0432204008102417,
0.02788187377154827,
0.002958955243229866,
-0.02903488464653492,
0.037140894681215286,
0.012062928639352322,
-0.04563123732805252,
0.00935510266572237,
0.0510818287730217,
-0.041683051735162735,
0.028510788455605507,
0.0025964558590203524,
-0.02559332549571991,
0.002493820618838072,
-0.006140651181340218,
-0.029541509225964546,
-0.0036446466110646725,
-0.07218540459871292,
0.016902076080441475,
0.02758488804101944,
-0.021715018898248672,
0.04339509829878807,
0.01339937187731266,
0.04818183556199074,
0.028807776048779488,
-0.021295743063092232,
0.06243722885847092,
-0.005717006977647543,
0.015530693344771862,
0.012193952687084675,
-0.02699091285467148,
0.030764399096369743,
0.05289869382977486,
0.005481164436787367,
-0.0008713085553608835,
0.02021261304616928,
0.00914546474814415,
-0.009608415886759758,
0.004830412566661835,
-0.0020461557433009148,
-0.010254799388349056,
0.03948185220360756,
-0.049334846436977386,
-0.01755719631910324,
-0.010901183821260929,
-0.044757746160030365,
-0.0017262392211705446,
0.009127994999289513,
0.05992157384753227,
-0.021872246637940407,
-0.0020199508871883154,
0.028405969962477684,
0.04811195656657219,
-0.012324976734817028,
-0.027445128187537193,
-0.0008085262961685658,
-0.005799988750368357,
0.0097219692543149,
-0.03934209421277046,
0.014989128336310387,
0.0386083610355854,
-0.0017633625539019704,
-0.044583048671483994,
0.02667645551264286,
0.012901481240987778,
0.006009627133607864,
-0.0018867433536797762,
-0.017609605565667152,
-0.042102329432964325,
0.008734922856092453,
0.009040645323693752,
-0.029925847426056862,
-0.047727618366479874,
-0.02209935523569584,
0.05223483964800835,
0.028056573122739792,
0.024492723867297173,
0.04828665405511856,
-0.06048060953617096,
0.043255340307950974,
-0.07623840868473053,
-0.04287100210785866,
-0.02119092270731926,
-0.07672756165266037,
0.018360808491706848,
-0.0038695710245519876,
-0.012080398388206959,
0.010787630453705788,
0.06481312960386276,
0.03864330053329468,
-0.0012829417828470469,
-0.0014139657141640782,
0.022483691573143005,
-0.062017954885959625,
-0.035044509917497635,
-0.02741018868982792,
-0.009398777037858963,
-0.01662255823612213,
0.01602858304977417,
-0.03090415894985199,
0.06572156399488449,
0.0629962682723999,
-0.0283186212182045,
-0.026466816663742065,
-0.019758395850658417,
-0.028143921867012978,
-0.003723260946571827,
0.011477689258754253,
-0.08455405384302139,
0.00203414517454803,
-0.05625290423631668,
0.0046382443979382515,
0.029541509225964546,
-0.008451038040220737,
-0.012054193764925003,
0.05349266901612282,
0.006481313146650791,
-0.0019882868509739637,
-0.006629806477576494,
-0.02741018868982792,
0.06376493722200394,
-0.016133403405547142,
-0.011975579895079136,
-0.012412325479090214,
0.0007653976208530366,
-0.03422342985868454,
0.022046945989131927,
-0.036721616983413696,
0.016185812652111053,
-0.0028759734705090523,
0.02251863107085228,
0.03483487293124199,
0.05101194977760315,
0.050732433795928955,
0.006616704165935516,
-0.018378278240561485,
-0.021138513460755348,
0.0046120393089950085,
-0.03511439263820648,
-0.09846005588769913,
0.05499507486820221,
-0.0046382443979382515,
-0.019531287252902985,
0.051640864461660385,
-0.01062166690826416,
0.02377646043896675,
-0.03336740657687187,
-0.03797944635152817,
0.05632278323173523,
-0.01907707192003727,
0.0014674670528620481,
-0.0035398276522755623,
-0.063136026263237,
0.03927221521735191,
0.016509003937244415,
-0.012840337119996548,
0.0003032656095456332,
0.05855892598628998,
-0.018395747989416122,
-0.0029851598665118217,
-0.008831007406115532,
0.037874627858400345,
0.007136431988328695,
0.02842343971133232,
0.00007322322198888287,
-0.00833311676979065,
0.016360510140657425,
-0.01539093442261219,
0.05523965507745743,
0.007922574877738953,
-0.04412883147597313,
-0.038538482040166855,
-0.040599923580884933,
0.059187840670347214,
0.013355697505176067,
-0.008354954421520233,
-0.0033891501370817423,
-0.03097403794527054,
0.005865500774234533,
-0.0011759389890357852,
0.014438827522099018,
0.012910216115415096,
0.042451728135347366,
-0.03700113296508789,
-0.029593920335173607,
-0.0014816613402217627,
0.008241400122642517,
-0.041857752948999405,
-0.03252885490655899,
-0.01318973395973444,
-0.0376649871468544,
0.031043916940689087,
-0.045596297830343246,
0.024859590455889702,
-0.056951697915792465,
0.027899345383048058,
-0.02377646043896675,
-0.001625787583179772,
-0.02197706699371338,
-0.011128292419016361,
0.02975114807486534,
0.018902374431490898,
0.005013845860958099,
-0.05890832096338272,
-0.0031598585192114115,
0.02456260472536087,
-0.021680079400539398,
0.015993643552064896,
-0.030030665919184685,
0.013574070297181606,
-0.009459922090172768,
0.0025003717746585608,
0.004843514878302813,
-0.03909751772880554,
0.08909621834754944,
0.014386418275535107,
-0.01032467931509018,
-0.0060838740319013596,
0.04157823324203491,
-0.039446912705898285,
0.04776255786418915,
-0.04304569959640503,
-0.07379262894392014,
0.01128552109003067,
-0.02099875546991825,
-0.0001918953494168818,
-0.02131321281194687,
-0.029384281486272812,
0.00046185904648154974,
0.019583698362112045,
0.018919844180345535,
-0.04671436920762062,
-0.014395153149962425,
-0.02251863107085228,
0.04063486307859421,
-0.04405895248055458,
0.004826045129448175,
-0.007394112646579742,
0.047483041882514954,
-0.07742635905742645,
0.020841525867581367,
-0.03078186884522438,
0.013320758007466793,
0.05356254801154137,
0.00777408154681325,
-0.03776980936527252,
-0.03355957567691803,
0.04297582060098648,
0.01961863785982132,
-0.046993885189294815,
-0.01809876039624214,
0.025208987295627594,
-0.059851694852113724,
0.04664449021220207,
-0.021173452958464622,
-0.063136026263237,
-0.062192652374506,
0.008512182161211967,
-0.030502351000905037,
-0.02534874714910984,
-0.032196927815675735,
0.06324084103107452,
-0.06264686584472656,
-0.04287100210785866,
-0.06834203749895096,
0.10251305997371674,
-0.024335496127605438,
0.004695021081715822,
0.01772315986454487,
0.024475254118442535,
0.012482205405831337,
0.04273124411702156,
-0.004651346709579229,
-0.06942516565322876,
0.08140948414802551,
0.03735053166747093,
-0.044687867164611816,
0.05799989029765129,
0.016098463907837868,
0.024615013971924782,
-0.003751649521291256,
0.03085174784064293,
0.03417101874947548,
-0.038363780826330185,
0.005044417921453714,
-0.017225269228219986,
0.0011033299379050732,
0.03934209421277046,
-0.021138513460755348,
-0.0023322245106101036,
-0.024492723867297173,
0.009232813492417336,
-0.026571637019515038,
-0.038713179528713226,
-0.05817458778619766,
-0.009101789444684982,
0.006092608906328678,
-0.018325868993997574,
-0.026361998170614243,
0.03193487972021103,
0.00838552601635456,
0.035883065313100815,
-0.014316539280116558,
-0.011468954384326935,
-0.029052354395389557,
-0.021924657747149467,
-0.0024807180743664503,
0.014141840860247612,
-0.0027296633925288916,
0.03541138023138046,
0.0031533073633909225,
0.002878157189115882,
0.02952403947710991,
0.031410783529281616,
0.024649953469634056,
0.034136079251766205,
0.026239709928631783,
-0.008472875691950321,
-0.00766489515081048,
-0.010315944440662861,
0.04133365675806999,
0.0012621963396668434,
0.04370955377817154,
0.03307041898369789,
0.008429200388491154,
-0.04936978593468666,
0.006450740620493889,
0.03724571317434311,
-0.051466166973114014,
0.012761722318828106,
-0.027183080092072487,
-0.014080695807933807,
0.013259612955152988,
-0.032144516706466675,
0.00035185361048206687,
-0.040599923580884933,
-0.012691843323409557,
-0.013015035539865494,
-0.008979501202702522,
0.0319698192179203,
-0.0277071762830019,
-0.030694520100951195,
0.041368596255779266,
-0.008673778735101223,
0.0017164123710244894,
-0.025820432230830193,
-0.008197725750505924,
0.003507071640342474,
-0.011268050409853458,
-0.020893936976790428,
0.013827383518218994,
-0.006262939888983965,
0.05443603917956352,
-0.03296560049057007,
-0.022343933582305908,
-0.006372126284986734,
-0.030746929347515106,
0.0026641516014933586,
-0.0013080547796562314,
0.10782389342784882,
-0.04622521251440048,
0.02800416387617588,
0.03277343139052391,
0.0754697322845459,
0.022361403331160545,
-0.024667423218488693,
0.060515549033880234,
0.03735053166747093,
-0.06673481315374374,
0.005446224473416805,
0.03668667748570442,
0.049824003130197525,
-0.037036072462797165,
0.040110766887664795,
-0.040110766887664795,
-0.07131191343069077,
-0.0337342731654644,
-0.008119110949337482,
-0.05548423156142235,
0.01760086975991726,
-0.007800286170095205,
0.06453361362218857,
0.023042727261781693,
0.024597544223070145,
0.022466221824288368,
0.025872841477394104,
-0.06946010887622833,
0.0027296633925288916,
-0.03934209421277046,
0.011180701665580273,
-0.019094541668891907,
0.06935528665781021,
-0.00904938019812107,
-0.08350586146116257,
0.0014336192980408669,
-0.04594569653272629,
-0.035708364099264145,
0.010577991604804993,
-0.01871020533144474,
0.062192652374506,
0.04025052487850189,
-0.010665341280400753,
-0.028999945148825645,
-0.09615403413772583,
-0.02040478028357029,
-0.011888230219483376,
-0.09873957186937332,
-0.04231196641921997,
0.012211422435939312,
0.007900738157331944,
0.014386418275535107,
-0.021086104214191437,
0.04066980257630348,
0.00042828419827856123,
0.041124019771814346,
-0.024946941062808037,
-0.010254799388349056,
0.01612466759979725,
-0.0015122335171326995,
-0.03899269551038742,
-0.046399910002946854,
-0.018133699893951416,
0.041752930730581284,
-0.005734477192163467,
0.011032207868993282,
0.007603750564157963,
0.047483041882514954,
-0.04860111325979233,
-0.05143122747540474,
-0.014622261747717857,
0.007538238540291786,
-0.04688906669616699,
0.0315680131316185,
0.008031762205064297,
0.01765327900648117,
0.05359748750925064,
-0.066385418176651,
-0.015644246712327003,
-0.03965654969215393,
-0.04961436241865158,
0.030939098447561264,
-0.05268905684351921,
0.003459029598161578,
0.013303288258612156,
-0.026152359321713448,
0.050243277102708817,
-0.032022226601839066,
-0.0976913794875145,
-0.0210686344653368,
0.050732433795928955,
0.010717750526964664,
0.026274649426341057,
0.008084171451628208,
0.013373167254030704,
-0.023566823452711105,
-0.007027245592325926,
-0.043255340307950974,
0.02064935863018036,
-0.02185477688908577,
-0.029296932741999626,
0.049055326730012894,
-0.012036724016070366,
0.00012235715985298157,
-0.037804748862981796,
0.011573772877454758,
0.0337342731654644,
-0.032808370888233185,
0.027427658438682556,
0.05258423835039139,
0.0283186212182045,
0.0498589426279068,
0.019164420664310455,
0.006310982163995504,
0.02746259793639183,
0.05426134169101715,
0.0009269937290810049,
0.01841321773827076,
0.01436894852668047,
0.034852344542741776,
0.007158269640058279,
0.009023175574839115,
-0.01986321434378624,
0.008503447286784649,
-0.05482037737965584,
0.058034829795360565,
-0.005197279155254364,
-0.02257104218006134,
0.05118665099143982,
0.023165015503764153,
-0.007708569522947073,
0.040774621069431305,
0.011818351224064827,
0.07868418842554092,
-0.0018889270722866058,
0.04528184235095978,
-0.05125652998685837,
-0.03577824681997299,
0.0554143525660038,
0.03090415894985199,
-0.010193655267357826,
-0.031655360013246536,
-0.036372218281030655,
-0.05233965814113617,
0.0038106101565063,
0.02686862275004387,
-0.014901778660714626,
0.030572231858968735,
-0.027724646031856537,
-0.005651495419442654,
-0.011241845786571503,
0.014858104288578033,
0.013582805171608925,
-0.01481442991644144,
0.041368596255779266,
-0.019391529262065887,
-0.0387481190264225,
0.0639396384358406,
0.010543052107095718,
-0.005717006977647543,
-0.026484286412596703,
-0.030834278091788292,
-0.045107144862413406,
-0.032144516706466675,
0.006450740620493889,
0.006201795302331448,
-0.019112011417746544,
-0.0043674614280462265,
0.015128887258470058,
0.07693720608949661,
-0.044163770973682404,
-0.029558978974819183,
0.05178062617778778,
-0.0012392671778798103,
0.0009373664506711066,
0.042032450437545776,
-0.046399910002946854,
0.038189083337783813,
0.069634810090065,
-0.04273124411702156,
0.019094541668891907,
-0.020893936976790428,
-0.013320758007466793,
0.02033490128815174,
0.047168586403131485,
-0.03724571317434311,
-0.04720352590084076,
-0.01979333534836769,
-0.004079209174960852,
-0.00980931892991066,
-0.0033127195201814175,
-0.013032505288720131,
0.09328898042440414,
0.019758395850658417,
-0.014622261747717857,
-0.05293363332748413,
-0.07120709121227264,
0.032074637711048126,
-0.04297582060098648,
0.07365287095308304,
-0.03345475718379021,
0.006752095650881529,
0.05950229614973068,
-0.03357704356312752,
-0.013670154847204685,
-0.03584812581539154,
-0.07162637263536453,
0.0031074488069862127,
-0.014526177197694778,
-0.029558978974819183,
0.017688218504190445,
-0.040040887892246246,
0.01415057573467493,
0.05509989336133003,
0.034485477954149246,
0.04629509150981903,
-0.013740033842623234,
-0.021051164716482162,
-0.02197706699371338,
-0.0014128738548606634,
0.016849666833877563,
-0.03361198306083679,
0.009459922090172768,
-0.011731001548469067,
-0.008053598925471306,
0.06362517923116684,
0.04154329374432564,
0.01755719631910324,
0.0026357630267739296,
0.0028978106565773487,
0.014168045483529568,
-0.08595164120197296,
-0.06404445320367813,
-0.016465330496430397,
-0.021540319547057152,
0.031480662524700165,
0.0004146358696743846,
0.025680674239993095,
0.02728790044784546,
0.014762019738554955,
-0.004295398481190205,
0.01104967761784792,
0.09482632577419281,
0.01059546135365963,
0.03375174477696419,
0.04664449021220207,
-0.029506569728255272,
-0.016832197085022926,
0.002395552583038807,
-0.019845744594931602,
-0.003535460215061903,
-0.03619752079248428,
-0.029593920335173607,
0.01617707684636116,
-0.024108387529850006,
0.007595015689730644,
-0.09517572075128555,
-0.021889718249440193,
0.08378538489341736,
0.039377033710479736,
-0.033594515174627304,
-0.006498782895505428,
-0.00011177972191944718,
0.0486360527575016,
0.01518129650503397,
0.06303120404481888,
-0.03528909012675285,
0.0842745378613472,
0.07833479344844818,
0.01615087315440178,
0.026152359321713448,
0.02957645058631897,
0.025331277400255203,
0.017268942669034004,
-0.016849666833877563,
0.07903358340263367,
-0.01509394682943821,
-0.011783411726355553,
0.0074814618565142155,
-0.024405375123023987,
-0.0002758324844762683,
-0.027008382603526115
] |
708,792
|
pathvalidate._symbol
|
replace_symbol
|
Replace all of the symbols in the ``text``.
Args:
text:
Input text.
replacement_text:
Replacement text.
exclude_symbols:
Symbols that exclude from the replacement.
is_replace_consecutive_chars:
If |True|, replace consecutive multiple ``replacement_text`` characters
to a single character.
is_strip:
If |True|, strip ``replacement_text`` from the beginning/end of the replacement text.
Returns:
A replacement string.
Example:
:ref:`example-sanitize-symbol`
|
def replace_symbol(
text: str,
replacement_text: str = "",
exclude_symbols: Sequence[str] = [],
is_replace_consecutive_chars: bool = False,
is_strip: bool = False,
) -> str:
"""
Replace all of the symbols in the ``text``.
Args:
text:
Input text.
replacement_text:
Replacement text.
exclude_symbols:
Symbols that exclude from the replacement.
is_replace_consecutive_chars:
If |True|, replace consecutive multiple ``replacement_text`` characters
to a single character.
is_strip:
If |True|, strip ``replacement_text`` from the beginning/end of the replacement text.
Returns:
A replacement string.
Example:
:ref:`example-sanitize-symbol`
"""
if exclude_symbols:
regexp = re.compile(
"[{}]".format(
re.escape(
"".join(set(ascii_symbols + unprintable_ascii_chars) - set(exclude_symbols))
)
),
re.UNICODE,
)
else:
regexp = __RE_SYMBOL
try:
new_text = regexp.sub(replacement_text, to_str(text))
except TypeError:
raise TypeError("text must be a string")
if not replacement_text:
return new_text
if is_replace_consecutive_chars:
new_text = re.sub(f"{re.escape(replacement_text)}+", replacement_text, new_text)
if is_strip:
new_text = new_text.strip(replacement_text)
return new_text
|
(text: str, replacement_text: str = '', exclude_symbols: Sequence[str] = [], is_replace_consecutive_chars: bool = False, is_strip: bool = False) -> str
|
[
0.050825439393520355,
-0.09783438593149185,
0.026623724028468132,
0.027687938883900642,
-0.027522802352905273,
-0.0234677754342556,
-0.04102732241153717,
-0.018990732729434967,
0.08271519094705582,
-0.025742994621396065,
0.05012819543480873,
-0.053210750222206116,
0.027816377580165863,
-0.02207328751683235,
-0.03974292427301407,
0.005091718398034573,
0.0011135266395285726,
0.03311910480260849,
-0.0025137492921203375,
-0.06055016443133354,
-0.04539427533745766,
-0.003949522040784359,
-0.02168796770274639,
-0.05166947469115257,
0.04311905428767204,
0.06855012476444244,
0.019963204860687256,
0.017146704718470573,
-0.023192547261714935,
0.006669692229479551,
0.10077015310525894,
0.004926581401377916,
0.006050429306924343,
0.0025825563352555037,
0.04099062457680702,
0.020165039226412773,
-0.0041536493226885796,
0.011082515120506287,
-0.00042316308827139437,
-0.01717422902584076,
-0.013669658452272415,
-0.02414667047560215,
0.04473372548818588,
-0.010165087878704071,
-0.03999980539083481,
0.0301466416567564,
-0.03627505153417587,
0.045467667281627655,
0.05497220903635025,
0.020036598667502403,
0.08066015690565109,
-0.02020173706114292,
-0.016256801784038544,
0.009522889740765095,
0.007610054686665535,
-0.02966958098113537,
-0.0022350808139890432,
0.02133934572339058,
0.035174138844013214,
-0.07240331918001175,
0.07464183866977692,
0.041174110025167465,
0.020036598667502403,
-0.034715428948402405,
0.0032408100087195635,
0.017293494194746017,
0.006215565837919712,
-0.015559556894004345,
0.029541140422225,
0.00027279110508970916,
0.0018015967216342688,
0.040917232632637024,
-0.004502271767705679,
-0.046238306909799576,
-0.016357718035578728,
0.005564193241298199,
0.010045822709798813,
-0.05640339478850365,
-0.04847682639956474,
-0.06855012476444244,
0.01623845286667347,
-0.004710986278951168,
0.03174296393990517,
0.016137536615133286,
0.001413983991369605,
-0.04539427533745766,
0.008082529529929161,
-0.009050414897501469,
0.05038507655262947,
-0.06917397677898407,
0.01050453633069992,
-0.048623617738485336,
0.027229225262999535,
0.026293449103832245,
-0.041430991142988205,
-0.03095397725701332,
0.03834843635559082,
-0.061540983617305756,
0.014036628417670727,
-0.021119162440299988,
0.0576510950922966,
0.007224735338240862,
-0.0268255565315485,
-0.004862361587584019,
0.030513612553477287,
-0.03194480016827583,
-0.004493097309023142,
0.002228200202807784,
0.0003724179114215076,
-0.05005480349063873,
-0.04183465987443924,
0.043596118688583374,
0.061577681452035904,
-0.07071524858474731,
0.005816485267132521,
0.005550431553274393,
-0.009825640358030796,
0.00006443489110097289,
0.07181616127490997,
-0.02785307541489601,
-0.04311905428767204,
-0.0097155487164855,
-0.020036598667502403,
0.027027390897274017,
0.03655027970671654,
0.05416487529873848,
0.01836688257753849,
0.02631179802119732,
0.03181635960936546,
-0.0076146419160068035,
0.0048807100392878056,
0.020843934267759323,
0.008311886340379715,
0.012495351955294609,
0.0001416994200553745,
0.024293459951877594,
-0.058054763823747635,
0.0031238379888236523,
0.033614516258239746,
-0.02091732993721962,
0.03963283449411392,
-0.027651241049170494,
-0.037981465458869934,
0.06418317556381226,
-0.0802931860089302,
0.01126600056886673,
0.004121539648622274,
-0.011807281523942947,
0.00045986013719812036,
0.002166273770853877,
0.027284270152449608,
0.053247448056936264,
0.00288071995601058,
-0.005935750901699066,
-0.012366912327706814,
0.017449455335736275,
0.03266039118170738,
0.06917397677898407,
-0.007610054686665535,
0.06517399102449417,
0.01632102206349373,
0.028715455904603004,
-0.007706384640187025,
-0.026770511642098427,
-0.03299066424369812,
-0.022220075130462646,
0.024073276668787003,
-0.009036652743816376,
0.025229234248399734,
0.024770520627498627,
-0.004694931209087372,
-0.004447225946933031,
0.012963240034878254,
0.04297226667404175,
-0.038972288370132446,
-0.03328424319624901,
0.01300911046564579,
-0.02291731908917427,
0.021137511357665062,
-0.009421972557902336,
0.05009149760007858,
-0.03882549703121185,
-0.07321064919233322,
-0.010210959240794182,
-0.017908168956637383,
0.0010389857925474644,
-0.01891733892261982,
0.04366951063275337,
0.01836688257753849,
-0.020678797736763954,
0.053504325449466705,
0.02921086736023426,
0.005710981320589781,
-0.0214310884475708,
-0.027064088732004166,
-0.03427506238222122,
-0.015137541107833385,
0.008165097795426846,
-0.10502701252698898,
0.0054953861981630325,
-0.00886234175413847,
0.010357747785747051,
0.019651280716061592,
-0.027999863028526306,
0.006743086501955986,
-0.040073197335004807,
-0.011908198706805706,
-0.07181616127490997,
-0.06418317556381226,
0.005995383486151695,
-0.00546327605843544,
0.048660311847925186,
0.07075195014476776,
-0.010743066668510437,
0.004635298624634743,
0.03860531747341156,
0.0657978430390358,
0.033816348761320114,
-0.04271538928151131,
-0.006678866688162088,
-0.03970623016357422,
-0.012146729975938797,
-0.0048302519135177135,
0.003970164339989424,
-0.013210944831371307,
0.02759619615972042,
-0.036164961755275726,
0.07728403061628342,
0.04260529577732086,
-0.09952244907617569,
0.05801806598901749,
0.01717422902584076,
0.021669618785381317,
0.007623815909028053,
0.02605491876602173,
-0.11177927255630493,
-0.007582531776279211,
-0.024770520627498627,
0.0158072616904974,
0.020587055012583733,
-0.03172461688518524,
0.04073374718427658,
0.0055825416930019855,
0.016100838780403137,
-0.020476965233683586,
-0.0053990562446415424,
-0.029284261167049408,
0.028972335159778595,
-0.012706359848380089,
-0.041210807859897614,
0.04311905428767204,
-0.0178072527050972,
-0.0006089420057833195,
-0.012321040965616703,
-0.007486201822757721,
0.03673376515507698,
0.027908120304346085,
0.0314677357673645,
0.0617244690656662,
0.04664197564125061,
0.01158709917217493,
0.01662377268075943,
-0.035651203244924545,
-0.010275179520249367,
0.02979801967740059,
0.000776945729739964,
-0.05416487529873848,
0.02236686274409294,
-0.007568770553916693,
-0.01137609127908945,
0.0804399773478508,
-0.012357737869024277,
0.011550402268767357,
-0.024476945400238037,
-0.006862351670861244,
0.060219891369342804,
-0.01904577948153019,
0.01192654762417078,
0.0047935545444488525,
-0.04260529577732086,
0.04796306788921356,
-0.03001820296049118,
-0.012908194214105606,
0.016550378873944283,
0.05478872358798981,
0.03744935989379883,
-0.002153659239411354,
0.004137594718486071,
0.0482933409512043,
0.009178854525089264,
0.025651251897215843,
-0.02210998348891735,
-0.05148598924279213,
0.04880710318684578,
0.006688040681183338,
0.02469712682068348,
-0.003114663762971759,
-0.023798048496246338,
0.007210974115878344,
-0.008509133011102676,
0.013697180896997452,
0.0655776634812355,
0.011192605830729008,
0.035100746899843216,
-0.02440355159342289,
-0.02533932588994503,
0.04396308958530426,
-0.027816377580165863,
-0.05783458054065704,
0.007146754302084446,
-0.005431166384369135,
-0.026678768917918205,
0.027229225262999535,
0.0015126073267310858,
0.009119221940636635,
-0.0011628384236246347,
0.007866933941841125,
-0.03653193265199661,
0.025577856227755547,
-0.030256733298301697,
0.023247594013810158,
-0.06194465234875679,
-0.024843916296958923,
-0.0158072616904974,
-0.020385222509503365,
0.01823844388127327,
-0.06344923377037048,
0.021284300833940506,
0.003910531289875507,
-0.01644946075975895,
-0.05904558300971985,
0.012431131675839424,
0.03005489893257618,
-0.006385290063917637,
-0.005421991925686598,
0.002516042673960328,
-0.02363291196525097,
-0.017321016639471054,
-0.01177975907921791,
-0.007802714128047228,
-0.023119153454899788,
0.05801806598901749,
-0.03218333050608635,
0.016357718035578728,
-0.1128067895770073,
0.01594487577676773,
-0.028201697394251823,
0.0004303304594941437,
-0.01712835766375065,
0.0160733163356781,
0.05262359604239464,
-0.0201099943369627,
0.013706355355679989,
-0.04256860166788101,
-0.004665114916861057,
-0.03842183202505112,
-0.007142167072743177,
0.03660532459616661,
-0.06319235265254974,
-0.07137580215930939,
0.06631160527467728,
0.05625660717487335,
0.007082534488290548,
0.015155889093875885,
-0.012669662944972515,
-0.040880534797906876,
-0.030366824939846992,
0.03673376515507698,
-0.01781642623245716,
-0.026495283469557762,
0.015706345438957214,
0.0510089248418808,
-0.02405492775142193,
-0.019027430564165115,
0.0221466813236475,
0.048623617738485336,
-0.01341277826577425,
0.009532063268125057,
-0.03548606485128403,
-0.01657790131866932,
0.04499060660600662,
-0.033687908202409744,
-0.08418307453393936,
-0.028880592435598373,
0.05691715329885483,
-0.026513632386922836,
-0.0020687973592430353,
-0.02321089617908001,
0.11926547437906265,
-0.05049516633152962,
-0.046238306909799576,
-0.08455004543066025,
0.05471532791852951,
0.05075204744935036,
0.012917368672788143,
-0.04667866975069046,
0.00505043426528573,
0.044109877198934555,
0.020972374826669693,
0.04455024003982544,
-0.006756847724318504,
0.05544926971197128,
0.01360543817281723,
-0.01645863614976406,
0.0482933409512043,
0.02818334847688675,
0.01154122781008482,
-0.0029770496767014265,
0.01137609127908945,
0.05273368954658508,
0.027779681608080864,
0.0028165001422166824,
-0.038972288370132446,
-0.08220143616199493,
-0.013825620524585247,
-0.00016169645823538303,
-0.03166957199573517,
0.008614636957645416,
0.00616510771214962,
-0.014577910304069519,
-0.00835317000746727,
-0.0939444974064827,
0.008032071404159069,
-0.05387129634618759,
-0.03328424319624901,
-0.002403658116236329,
0.08711884170770645,
0.03018333949148655,
-0.023798048496246338,
0.0685868188738823,
-0.00793115422129631,
-0.011302697472274303,
-0.013376081362366676,
0.06631160527467728,
0.017843950539827347,
-0.023577867075800896,
0.05908228084445,
-0.034586988389492035,
-0.021908150985836983,
0.013027459383010864,
0.02088063210248947,
0.02201824076473713,
0.005541257560253143,
0.018687982112169266,
-0.011669667437672615,
0.002044714754447341,
-0.031174160540103912,
0.04231172055006027,
0.03708238899707794,
0.037431009113788605,
0.02746775560081005,
0.0006284373230300844,
0.048917192965745926,
0.026807209476828575,
-0.0015045797917991877,
-0.03812825307250023,
0.0965866819024086,
-0.05251350626349449,
0.02181640826165676,
0.031559478491544724,
-0.0019483850337564945,
0.04781628027558327,
-0.05555936321616173,
-0.008871516212821007,
-0.012201775796711445,
0.08711884170770645,
0.030256733298301697,
-0.041981447488069534,
-0.015348549000918865,
0.028972335159778595,
0.030458567664027214,
0.02020173706114292,
0.010706369765102863,
0.013100853189826012,
-0.02895398810505867,
-0.009302707388997078,
-0.08748581260442734,
0.030109945684671402,
-0.03812825307250023,
-0.026293449103832245,
-0.00597244780510664,
-0.03999980539083481,
-0.08638489991426468,
-0.025155840441584587,
0.019522840157151222,
-0.05933916196227074,
0.09834814816713333,
-0.03455029055476189,
0.02405492775142193,
0.02985306642949581,
-0.001166852074675262,
-0.04480712115764618,
0.02236686274409294,
0.040917232632637024,
-0.004573372192680836,
-0.029229214414954185,
-0.015385245904326439,
-0.00267888605594635,
0.027009041979908943,
0.008307298645377159,
-0.006720150820910931,
-0.000358083110768348,
-0.014036628417670727,
0.007857759483158588,
0.018605414777994156,
0.02759619615972042,
0.01239443477243185,
0.008357757702469826,
0.0028738391119986773,
-0.0013887546956539154,
-0.002832554979249835,
-0.019321007654070854,
0.04634839668869972,
-0.07137580215930939,
0.012577920220792294,
-0.05790797621011734,
0.024165019392967224,
-0.022642090916633606,
0.004513739608228207,
-0.029944807291030884,
-0.058274947106838226,
0.020550359040498734,
-0.07544917613267899,
0.006871526129543781,
0.01904577948153019,
-0.06469693034887314,
0.0006215565954335034,
0.002389896661043167,
0.008660508319735527,
-0.07034827768802643,
-0.015256806276738644,
0.010972423478960991,
0.011743062175810337,
-0.03889889270067215,
-0.008775186724960804,
-0.009632980450987816,
0.04818325117230415,
0.011972418986260891,
-0.025651251897215843,
0.05394469201564789,
-0.03181635960936546,
0.06319235265254974,
-0.035394322127103806,
-0.04744930937886238,
0.0002904229040723294,
-0.012614617124199867,
0.00010679420665837824,
-0.056476790457963943,
-0.0036513584200292826,
-0.009009130299091339,
-0.03587138652801514,
0.009233900345861912,
0.03053196147084236,
0.027100784704089165,
0.06946755200624466,
-0.0632290467619896,
0.01713753119111061,
0.07801796495914459,
-0.04289887472987175,
0.027027390897274017,
-0.030128292739391327,
-0.00890821311622858,
0.06117401272058487,
-0.07845833152532578,
-0.025412719696760178,
0.02533932588994503,
-0.03273378685116768,
0.016357718035578728,
-0.001931183272972703,
-0.0021754479967057705,
0.04260529577732086,
-0.019522840157151222,
0.08770599216222763,
-0.0072889551520347595,
-0.042238324880599976,
-0.013788923621177673,
0.03550441563129425,
-0.008417390286922455,
0.01752285100519657,
0.010990772396326065,
-0.003974751103669405,
-0.012660488486289978,
-0.011596273630857468,
-0.030330127105116844,
0.020421918481588364,
-0.0031605351250618696,
0.008261427283287048,
0.03451359272003174,
0.006348592694848776,
-0.017073310911655426,
0.012632966041564941,
0.006619233638048172,
0.06994461268186569,
-0.023669609799981117,
-0.03889889270067215,
0.0356145054101944,
-0.018843945115804672,
0.032715436071157455,
-0.005646761506795883,
0.034073229879140854,
0.004649059846997261,
0.008233904838562012,
0.05790797621011734,
-0.036843858659267426,
0.07177946716547012,
0.026935648173093796,
-0.027798030525445938,
0.014577910304069519,
-0.005738504230976105,
-0.07713723927736282,
0.039596136659383774,
0.05064195394515991,
-0.016843954101204872,
-0.019541189074516296,
0.009880686178803444,
0.01823844388127327,
0.022770531475543976,
-0.01628432422876358,
0.02631179802119732,
-0.0018107709474861622,
-0.05801806598901749,
0.019926508888602257,
-0.05258689820766449,
-0.0034816344268620014,
0.012651314027607441,
0.06080704182386398,
-0.015385245904326439,
0.000898504804354161,
-0.04943095147609711,
-0.038862194865942,
-0.030495263636112213,
-0.0063623543828725815,
-0.016174232587218285,
0.056990548968315125,
-0.04095393046736717,
-0.011247651651501656,
-0.020972374826669693,
0.013550392352044582,
-0.03040352091193199,
0.010293527506291866,
0.03919246792793274,
-0.021357694640755653,
-0.009114634245634079,
0.05442175269126892,
-0.027265921235084534,
0.0301466416567564,
-0.019743023440241814,
-0.04888049513101578,
-0.06088043749332428,
-0.0037201654631644487,
-0.02572464570403099,
0.02805490978062153,
-0.059118978679180145,
-0.04480712115764618,
0.0014724698849022388,
0.05581624060869217,
-0.07970603555440903,
-0.06788957864046097,
0.04363281652331352,
-0.01968797668814659,
0.03838513419032097,
0.0009753392660059035,
-0.009004543535411358,
0.034678731113672256,
0.020311826840043068,
0.002818793524056673,
0.004204107914119959,
0.049981407821178436,
0.04234841838479042,
-0.04084383696317673,
0.017403583973646164,
-0.015495337545871735,
-0.05412817746400833,
-0.04979792237281799,
0.0027866836171597242,
0.027816377580165863,
-0.013376081362366676,
0.012064161710441113,
0.030366824939846992,
0.038972288370132446,
-0.026513632386922836,
-0.06763269752264023,
0.007724733091890812,
0.006087126210331917,
-0.049467649310827255,
0.04234841838479042,
-0.04245850816369057,
0.00698161730542779,
0.040366776287555695,
-0.019798068329691887,
-0.030660400167107582,
-0.013027459383010864,
-0.025706296786665916,
-0.055375877767801285,
0.018724679946899414,
-0.025009052827954292,
0.02023843303322792,
-0.049504347145557404,
0.026421889662742615,
-0.017165053635835648,
-0.021357694640755653,
0.0005407083663158119,
0.021229254081845284,
-0.004958691541105509,
0.01888064108788967,
-0.023192547261714935,
-0.060219891369342804,
-0.050568562000989914,
0.016394415870308876,
0.002637601923197508,
0.0167889092117548,
-0.03414662182331085,
-0.0496511347591877,
-0.0013818739680573344,
0.009233900345861912,
-0.01209168415516615,
-0.01233021542429924,
-0.060990527272224426,
-0.014522865414619446,
0.09842153638601303,
0.027064088732004166,
-0.028164999559521675,
0.00835317000746727,
0.0040160357020795345,
-0.053284142166376114,
-0.016293497756123543,
0.016743037849664688,
0.03183470666408539,
0.047852978110313416,
-0.001338296220637858,
-0.006619233638048172,
0.08403629064559937,
-0.033229194581508636,
-0.00794950220733881,
0.00202407268807292,
-0.04161447659134865,
-0.048623617738485336,
-0.006862351670861244,
-0.0117338877171278,
0.028036560863256454,
0.0071238186210393906,
-0.015155889093875885,
-0.09900869429111481,
-0.008660508319735527,
-0.008068768307566643,
0.03532093018293381,
-0.011394440196454525,
0.00017330763512291014,
0.012614617124199867,
0.01007334515452385,
-0.013476998545229435,
0.03588973358273506,
-0.048697009682655334,
0.05258689820766449,
0.054825421422719955,
0.07831154763698578,
0.012431131675839424,
0.04671536758542061,
-0.009298119693994522,
-0.02818334847688675,
-0.01218342687934637,
0.028293440118432045,
0.05438505485653877,
-0.013706355355679989,
0.006454097107052803,
-0.023100804537534714,
-0.07078864425420761,
0.007206386886537075
] |
708,793
|
pathvalidate._common
|
replace_unprintable_char
| null |
def replace_unprintable_char(text: str, replacement_text: str = "") -> str:
try:
return __RE_UNPRINTABLE_CHARS.sub(replacement_text, text)
except (TypeError, AttributeError):
raise TypeError("text must be a string")
|
(text: str, replacement_text: str = '') -> str
|
[
0.022465983405709267,
-0.03211674094200134,
0.020857524126768112,
0.05790454149246216,
-0.0439179390668869,
-0.06724060326814651,
-0.005603383295238018,
-0.012561718933284283,
0.07573746144771576,
-0.003324003890156746,
0.04206471145153046,
-0.013505814597010612,
-0.011451532132923603,
0.03578822314739227,
-0.045841094106435776,
0.015262882225215435,
-0.03227408975362778,
0.04755445569753647,
0.03042086400091648,
-0.020315542817115784,
-0.03818342834711075,
-0.014965666458010674,
0.018759533762931824,
-0.03374268114566803,
-0.006604299880564213,
0.08769600838422775,
-0.013654422014951706,
0.001374620944261551,
-0.012107154354453087,
-0.043043773621320724,
0.04419767111539841,
-0.03248388692736626,
0.021451953798532486,
0.032903485000133514,
0.08112230151891708,
0.05895353853702545,
0.017658088356256485,
-0.06860429048538208,
0.027763409540057182,
-0.01536778174340725,
0.0019176945788785815,
-0.001989813055843115,
-0.01208092924207449,
-0.047414589673280716,
-0.023567428812384605,
0.013121183030307293,
0.037379201501607895,
0.013846738263964653,
0.005948677659034729,
0.0040211486630141735,
0.03197687491774559,
0.01246556080877781,
0.018322451040148735,
0.006691716145724058,
0.016093336045742035,
0.006508141756057739,
-0.015009374357759953,
-0.00230997521430254,
0.01079590991139412,
-0.06486287713050842,
-0.017797954380512238,
-0.03772886469960213,
0.020018327981233597,
-0.017841661348938942,
0.05346379429101944,
0.000052586354286177084,
0.01542897243052721,
-0.034039899706840515,
0.024808740243315697,
0.018969332799315453,
-0.01447613537311554,
0.07259047776460648,
-0.030543247237801552,
-0.07356953620910645,
0.030927877873182297,
-0.027466194704174995,
-0.007666407618671656,
0.004008036106824875,
-0.0175007376819849,
-0.02785082533955574,
0.07150651514530182,
-0.009266125038266182,
0.04178497940301895,
0.05276446416974068,
0.033375535160303116,
-0.06395374983549118,
0.01591850444674492,
-0.05024687573313713,
0.005004581995308399,
-0.01793782040476799,
0.060317229479551315,
-0.07335974276065826,
-0.0020870636217296124,
-0.00001127704126702156,
-0.023812193423509598,
0.00869354885071516,
0.03846316039562225,
-0.03776383027434349,
-0.006648007780313492,
-0.054967354983091354,
0.048603449016809464,
0.028812404721975327,
0.01079590991139412,
-0.008968910202383995,
0.005918081849813461,
-0.07510806620121002,
0.0024192454293370247,
-0.013899187557399273,
0.004925907123833895,
-0.025368204340338707,
0.0031841378659009933,
0.027763409540057182,
0.043078742921352386,
-0.047169823199510574,
0.023130346089601517,
0.017990270629525185,
-0.03944222256541252,
-0.03332308307290077,
0.06196065619587898,
-0.003195064840838313,
0.021207189187407494,
-0.03398744761943817,
-0.016119562089443207,
-0.019860977306962013,
-0.002716460730880499,
0.023899609223008156,
-0.0525546669960022,
0.031574759632349014,
0.05014197528362274,
-0.04045625403523445,
-0.045631296932697296,
0.04154021292924881,
-0.01387296337634325,
-0.013339723460376263,
0.0020870636217296124,
0.019633695483207703,
-0.03713443502783775,
0.0035469154827296734,
0.03456439450383186,
-0.038393229246139526,
-0.03811349719762802,
-0.029039686545729637,
0.0026508986484259367,
0.02449404075741768,
-0.01825251802802086,
0.02716897800564766,
0.040141552686691284,
0.024459073320031166,
0.015874795615673065,
-0.05479252338409424,
0.0010282339062541723,
0.07601719349622726,
-0.017579413950443268,
0.028759954497218132,
0.027378777042031288,
0.028375323861837387,
-0.0013680647825822234,
-0.01292886771261692,
0.02251843363046646,
0.012194570153951645,
0.008767852559685707,
-0.0014970037154853344,
-0.0211547389626503,
0.001793126342818141,
-0.028567640110850334,
-0.026364749297499657,
0.0753178671002388,
-0.05570165067911148,
0.03451194614171982,
0.01949382945895195,
-0.005559675395488739,
-0.012675359845161438,
-0.018427351489663124,
0.005660203751176596,
0.02260584942996502,
0.06458314508199692,
0.0007457701140083373,
-0.02374226041138172,
0.038812827318906784,
0.022448500618338585,
-0.024861188605427742,
-0.017404580488801003,
-0.0376589335501194,
0.019983360543847084,
0.0031163902021944523,
-0.02563045173883438,
0.015359039418399334,
0.04678519070148468,
-0.03557842597365379,
-0.04577116295695305,
0.008610502816736698,
0.037938665598630905,
0.01726471446454525,
-0.007509058341383934,
-0.021189706400036812,
-0.012133379466831684,
0.02494860626757145,
0.029704051092267036,
-0.053184062242507935,
-0.01760563813149929,
-0.031015295535326004,
0.029232002794742584,
-0.02484370581805706,
0.00985181424766779,
-0.026312299072742462,
-0.013601972721517086,
-0.0034682408440858126,
-0.008273950777947903,
-0.07231074571609497,
-0.00791991502046585,
-0.03601550683379173,
0.04311370849609375,
0.025210853666067123,
-0.012876417487859726,
-0.029249485582113266,
-0.0055640460923314095,
-0.0032584418077021837,
0.022780681028962135,
-0.014414943754673004,
0.040036655962467194,
-0.06482791155576706,
0.013567006215453148,
-0.021434471011161804,
-0.04388296976685524,
-0.01938893087208271,
0.038253363221883774,
-0.04154021292924881,
0.08084256947040558,
0.005275572184473276,
-0.03755403310060501,
0.020070776343345642,
-0.03117264434695244,
-0.052624598145484924,
0.00908255111426115,
-0.00014068557356949896,
-0.06325441598892212,
-0.0443025678396225,
-0.052974265068769455,
0.025473102927207947,
0.03482664376497269,
-0.025105955079197884,
-0.05989763140678406,
0.02984391711652279,
0.04898808151483536,
0.024808740243315697,
0.02061275765299797,
-0.05395332723855972,
0.09273118525743484,
-0.004654916934669018,
-0.00007034278678474948,
-0.009091292507946491,
-0.03304335102438927,
-0.07790538668632507,
0.02683679759502411,
-0.03751906752586365,
0.032466404139995575,
-0.0010112971067428589,
-0.022291149944067,
0.04702995717525482,
0.05472258850932121,
0.026679446920752525,
0.04692505672574043,
-0.060212332755327225,
-0.014607260003685951,
0.021521886810660362,
-0.03821839764714241,
-0.0958082377910614,
0.06703080236911774,
0.007950510829687119,
-0.03341050073504448,
0.039057593792676926,
-0.007640182506293058,
0.00869791954755783,
-0.033690232783555984,
-0.0053629884496331215,
0.06360408663749695,
0.015787379816174507,
0.025123437866568565,
0.016880083829164505,
-0.07328980416059494,
0.06863926351070404,
0.029669083654880524,
-0.00534987635910511,
-0.01625068672001362,
0.022675782442092896,
-0.01024518720805645,
-0.0036955231335014105,
-0.0012817411916330457,
0.022431015968322754,
-0.006634895224124193,
0.037484098225831985,
0.00039610499516129494,
-0.0008845434640534222,
0.036365170031785965,
-0.0009621253702789545,
0.032239124178886414,
-0.024791255593299866,
-0.007071977015584707,
-0.040945783257484436,
-0.040735986083745956,
0.045176733285188675,
0.02650461532175541,
-0.010183996520936489,
-0.008842156268656254,
-0.0114777572453022,
-0.012448078021407127,
-0.015402748249471188,
0.03895269334316254,
0.010516177862882614,
0.024091925472021103,
-0.0033830099273473024,
-0.05126090347766876,
0.02750116027891636,
0.024371657520532608,
0.011495240032672882,
0.006481917109340429,
0.011993513442575932,
-0.02753612771630287,
0.024336691945791245,
-0.023794710636138916,
0.047939084470272064,
-0.0267493799328804,
-0.011128092184662819,
0.019336480647325516,
-0.047939084470272064,
-0.048533517867326736,
-0.006564962211996317,
0.008798448368906975,
-0.010507436469197273,
0.01053366158157587,
-0.05143573880195618,
0.01319111604243517,
0.00801170151680708,
-0.03842819482088089,
-0.0059268237091600895,
0.030473314225673676,
-0.01695001684129238,
-0.0014369050040841103,
0.010454986244440079,
-0.02028057537972927,
-0.02998378314077854,
0.08510848879814148,
-0.0047554452903568745,
0.02440662495791912,
0.026102500036358833,
0.02552555315196514,
-0.04734465479850769,
0.05447782203555107,
-0.02951173484325409,
-0.04241437837481499,
0.003273739479482174,
-0.004501938354223967,
0.014275077730417252,
-0.04209967702627182,
-0.02473880723118782,
-0.03150482475757599,
0.03351540118455887,
0.026906730607151985,
-0.05024687573313713,
0.019336480647325516,
0.04814888536930084,
0.06594683974981308,
-0.050526607781648636,
-0.0031360590364784002,
0.005279942881315947,
-0.00980810634791851,
-0.028270423412322998,
0.008378850296139717,
-0.025315754115581512,
-0.005900598596781492,
0.021574337035417557,
0.021644270047545433,
-0.07734592258930206,
-0.02697666361927986,
0.028567640110850334,
0.009458441287279129,
-0.012902642600238323,
-0.0004761455347761512,
-0.018322451040148735,
-0.005550933536142111,
0.04979231208562851,
-0.026889245957136154,
-0.07356953620910645,
-0.04702995717525482,
-0.00796362292021513,
-0.02251843363046646,
-0.07028268277645111,
0.00857553631067276,
0.0848986878991127,
-0.05045667663216591,
-0.02472132258117199,
-0.06958335638046265,
0.10685765743255615,
0.01972111128270626,
0.040805917233228683,
-0.0006998765747994184,
0.00986055564135313,
-0.034599363803863525,
0.02393457666039467,
-0.024773772805929184,
-0.019668662920594215,
0.08468888700008392,
-0.01806020364165306,
0.017457030713558197,
0.04035135358572006,
0.06105152890086174,
0.03396996483206749,
-0.0343371145427227,
0.01860218308866024,
0.045386530458927155,
0.02327021211385727,
0.06752033531665802,
-0.02050785906612873,
-0.04944264516234398,
0.04769432172179222,
-0.016443001106381416,
-0.014712159521877766,
-0.01793782040476799,
0.010656043887138367,
-0.001086693606339395,
-0.03316573426127434,
-0.04188987985253334,
0.025280786678195,
0.020560307428240776,
-0.02673189714550972,
-0.01058611087501049,
0.011337891221046448,
-0.03552597388625145,
0.027466194704174995,
0.004641804378479719,
-0.015131757594645023,
-0.04786915332078934,
-0.010210220701992512,
0.021259639412164688,
0.01152146514505148,
0.004364257678389549,
0.04479210078716278,
0.005328021943569183,
-0.042379412800073624,
0.06447824835777283,
0.027343811467289925,
0.0133746899664402,
0.037693899124860764,
0.030368413776159286,
0.03556094318628311,
0.031784556806087494,
-0.03811349719762802,
0.01443242747336626,
-0.017859145998954773,
0.08951427042484283,
0.04545646533370018,
-0.0050002108328044415,
-0.036994569003582,
0.0304033812135458,
0.05377849191427231,
-0.022116318345069885,
-0.00503517733886838,
-0.02272823266685009,
-0.0160321444272995,
0.04500189796090126,
-0.039617057889699936,
0.08259090036153793,
-0.053743526339530945,
-0.01780669577419758,
-0.0006326753064058721,
0.054967354983091354,
-0.0021121958270668983,
-0.017194781452417374,
-0.017684312537312508,
0.05734507739543915,
-0.011958546936511993,
0.020228127017617226,
-0.011600139550864697,
-0.012439336627721786,
-0.018514767289161682,
-0.008680435828864574,
-0.04769432172179222,
0.05133083835244179,
0.004226577002555132,
-0.0012544235214591026,
-0.0081821633502841,
-0.019756078720092773,
-0.018304968252778053,
-0.0742688700556755,
0.015446456149220467,
-0.006717940792441368,
0.06024729833006859,
0.032151706516742706,
0.015166724100708961,
0.04622572660446167,
0.04021148756146431,
0.006254634819924831,
-0.06633146852254868,
0.03209925815463066,
0.017352130264043808,
-0.05940810218453407,
0.013794288039207458,
0.05612124875187874,
0.050281841307878494,
-0.019686145707964897,
-0.0007528726710006595,
0.005249347537755966,
-0.017457030713558197,
-0.05902346968650818,
0.0018062387825921178,
-0.038253363221883774,
0.08000337332487106,
0.012902642600238323,
0.04447740316390991,
0.035473525524139404,
0.03194190934300423,
-0.010516177862882614,
0.04143531620502472,
-0.07671652734279633,
-0.0010593760525807738,
-0.016215719282627106,
0.0039534009993076324,
-0.03944222256541252,
0.04947761446237564,
-0.0333930179476738,
-0.06255508959293365,
0.014659709297120571,
-0.003210362745448947,
-0.0452466644346714,
0.04290390759706497,
0.005599012598395348,
0.025560518726706505,
0.049967143684625626,
-0.01375932153314352,
-0.014388719573616982,
-0.05626111477613449,
-0.0010151214664801955,
0.018217552453279495,
-0.06738046556711197,
-0.057554878294467926,
0.00030322521342895925,
-0.029004720970988274,
0.0010216777445748448,
-0.022658299654722214,
0.054058223962783813,
0.002635600743815303,
0.03463432937860489,
-0.005778215825557709,
-0.06339428573846817,
-0.03227408975362778,
-0.027256395667791367,
-0.04709988832473755,
-0.027868308126926422,
-0.04129545018076897,
0.03409234806895256,
-0.06217045709490776,
-0.013505814597010612,
-0.009484666399657726,
0.02129460498690605,
-0.009869297966361046,
-0.01298131700605154,
-0.020105743780732155,
0.029266970232129097,
-0.014074020087718964,
0.01153020653873682,
0.0001296219415962696,
-0.04122551530599594,
0.06689093261957169,
-0.05772970989346504,
-0.023095380514860153,
-0.007849982008337975,
-0.08412942290306091,
0.021749170497059822,
-0.07839491963386536,
0.007583362050354481,
0.0316796600818634,
-0.019895944744348526,
0.003275925060734153,
-0.026434682309627533,
-0.11448035389184952,
-0.027134012430906296,
0.04671525955200195,
0.05580655112862587,
0.02106732316315174,
-0.0017996826209127903,
0.008440041914582253,
-0.01515798270702362,
0.04947761446237564,
-0.062205422669649124,
0.014589776284992695,
-0.06038716435432434,
-0.006940852385014296,
0.03465181216597557,
0.0007982198731042445,
-0.004593725316226482,
0.007976735010743141,
-0.0000968408421613276,
0.03309580311179161,
-0.07014282047748566,
-0.005135706160217524,
0.06912878900766373,
0.015551355667412281,
0.035281211137771606,
0.0085143456235528,
0.02519337087869644,
0.06482791155576706,
0.04454733431339264,
-0.014755867421627045,
0.007565878797322512,
0.06629650294780731,
0.028340356424450874,
-0.024109408259391785,
0.056400980800390244,
-0.0024345433339476585,
-0.03042086400091648,
-0.04042128473520279,
0.04091081768274307,
-0.013689388521015644,
-0.021416988223791122,
0.02841028943657875,
-0.005411067511886358,
0.02204638533294201,
-0.017439547926187515,
0.04758942127227783,
0.06682100147008896,
-0.07119181752204895,
0.038498129695653915,
-0.06657623499631882,
0.014563552103936672,
0.050946205854415894,
0.008623615838587284,
-0.012745292857289314,
-0.0006485194899141788,
0.005751991178840399,
0.011180541478097439,
-0.003149171359837055,
0.04636559262871742,
-0.03321818634867668,
0.07517799735069275,
-0.0581493079662323,
-0.03594557195901871,
-0.04000168666243553,
0.009720689617097378,
-0.014467393979430199,
-0.0051182229071855545,
0.03416227921843529,
-0.03050827980041504,
-0.04147028177976608,
0.04982727766036987,
-0.046610359102487564,
-0.0006490658270195127,
-0.025140920653939247,
-0.025438137352466583,
-0.03552597388625145,
-0.04888318106532097,
-0.028934787958860397,
0.02307789772748947,
0.024371657520532608,
-0.01893436536192894,
-0.02828790806233883,
0.05856890603899956,
-0.013208599761128426,
-0.006110397633165121,
0.049407679587602615,
-0.00958956591784954,
0.0033786389976739883,
-0.01331349927932024,
-0.005638349801301956,
0.004115121439099312,
0.05867380648851395,
-0.021259639412164688,
0.03594557195901871,
-0.0521700344979763,
-0.06003749743103981,
-0.01839238405227661,
0.028987238183617592,
0.0027011630591005087,
-0.051750436425209045,
-0.05993260070681572,
0.015481422655284405,
0.0015472681261599064,
-0.0028781809378415346,
-0.01498315017670393,
0.06608670204877853,
0.034704260528087616,
0.0181651022285223,
-0.04489700123667717,
-0.1043400689959526,
-0.03265872225165367,
-0.04598096013069153,
0.08440915495157242,
-0.03444201126694679,
0.004204723052680492,
0.04881324991583824,
-0.024266758933663368,
0.0012620724737644196,
-0.01019273791462183,
-0.04342840611934662,
0.020962422713637352,
-0.005288684740662575,
0.011241733096539974,
0.022238701581954956,
-0.02917955256998539,
0.033795133233070374,
0.05356869474053383,
-0.004965244326740503,
0.04241437837481499,
-0.03096284531056881,
0.005105110350996256,
-0.026661964133381844,
-0.01970362849533558,
0.0010397073347121477,
-0.02549058571457863,
0.029686568304896355,
-0.0067791324108839035,
0.023864643648266792,
0.06161099299788475,
-0.011189283803105354,
-0.05556178465485573,
-0.004716108087450266,
0.016233202069997787,
-0.017002465203404427,
-0.06703080236911774,
-0.04007162153720856,
0.022256184369325638,
0.03772886469960213,
-0.0038790972903370857,
-0.005795699078589678,
0.023864643648266792,
-0.010612335987389088,
0.04087585210800171,
-0.02438914030790329,
-0.04255424439907074,
0.07853478193283081,
0.02026309259235859,
0.06968825310468674,
0.06937355548143387,
-0.03119012713432312,
-0.01870708353817463,
-0.0075746201910078526,
-0.04814888536930084,
-0.03484412655234337,
-0.0343371145427227,
-0.00277328141964972,
0.03248388692736626,
-0.02662699855864048,
0.012115895748138428,
-0.04765935242176056,
-0.016215719282627106,
0.07776551693677902,
0.02895227074623108,
-0.026137467473745346,
0.02872498892247677,
0.0000380055935238488,
0.07517799735069275,
0.008995135314762592,
0.02505350485444069,
-0.07140161842107773,
0.07468846440315247,
0.061890725046396255,
0.073989138007164,
-0.008702290244400501,
0.014790833927690983,
-0.0045675006695091724,
-0.026539580896496773,
-0.06814973056316376,
0.05636601522564888,
0.0031032778788357973,
-0.0021602746564894915,
-0.04175001382827759,
-0.025752834975719452,
0.002897849539294839,
-0.0054372926242649555
] |
708,794
|
pathvalidate._filename
|
sanitize_filename
|
Make a valid filename from a string.
To make a valid filename, the function does the following:
- Replace invalid characters as file names included in the ``filename``
with the ``replacement_text``. Invalid characters are:
- unprintable characters
- |invalid_filename_chars|
- for Windows (or universal) only: |invalid_win_filename_chars|
- Replace a value if a sanitized value is a reserved name by operating systems
with a specified handler by ``reserved_name_handler``.
Args:
filename: Filename to sanitize.
replacement_text:
Replacement text for invalid characters. Defaults to ``""``.
platform:
Target platform name of the filename.
.. include:: platform.txt
max_len:
Maximum byte length of the ``filename``.
Truncate the name length if the ``filename`` length exceeds this value.
Defaults to ``255``.
fs_encoding:
Filesystem encoding that used to calculate the byte length of the filename.
If |None|, get the value from the execution environment.
check_reserved:
[Deprecated] Use 'reserved_name_handler' instead.
null_value_handler:
Function called when a value after sanitization is an empty string.
You can specify predefined handlers:
- :py:func:`~.handler.NullValueHandler.return_null_string`
- :py:func:`~.handler.NullValueHandler.return_timestamp`
- :py:func:`~.handler.raise_error`
Defaults to :py:func:`.handler.NullValueHandler.return_null_string` that just return ``""``.
reserved_name_handler:
Function called when a value after sanitization is a reserved name.
You can specify predefined handlers:
- :py:meth:`~.handler.ReservedNameHandler.add_leading_underscore`
- :py:meth:`~.handler.ReservedNameHandler.add_trailing_underscore`
- :py:meth:`~.handler.ReservedNameHandler.as_is`
- :py:func:`~.handler.raise_error`
Defaults to :py:func:`.handler.add_trailing_underscore`.
additional_reserved_names:
Additional reserved names to sanitize.
Case insensitive.
validate_after_sanitize:
Execute validation after sanitization to the file name.
Returns:
Same type as the ``filename`` (str or PathLike object):
Sanitized filename.
Raises:
ValueError:
If the ``filename`` is an invalid filename.
Example:
:ref:`example-sanitize-filename`
|
def sanitize_filename(
filename: PathType,
replacement_text: str = "",
platform: Optional[PlatformType] = None,
max_len: Optional[int] = _DEFAULT_MAX_FILENAME_LEN,
fs_encoding: Optional[str] = None,
check_reserved: Optional[bool] = None,
null_value_handler: Optional[ValidationErrorHandler] = None,
reserved_name_handler: Optional[ValidationErrorHandler] = None,
additional_reserved_names: Optional[Sequence[str]] = None,
validate_after_sanitize: bool = False,
) -> PathType:
"""Make a valid filename from a string.
To make a valid filename, the function does the following:
- Replace invalid characters as file names included in the ``filename``
with the ``replacement_text``. Invalid characters are:
- unprintable characters
- |invalid_filename_chars|
- for Windows (or universal) only: |invalid_win_filename_chars|
- Replace a value if a sanitized value is a reserved name by operating systems
with a specified handler by ``reserved_name_handler``.
Args:
filename: Filename to sanitize.
replacement_text:
Replacement text for invalid characters. Defaults to ``""``.
platform:
Target platform name of the filename.
.. include:: platform.txt
max_len:
Maximum byte length of the ``filename``.
Truncate the name length if the ``filename`` length exceeds this value.
Defaults to ``255``.
fs_encoding:
Filesystem encoding that used to calculate the byte length of the filename.
If |None|, get the value from the execution environment.
check_reserved:
[Deprecated] Use 'reserved_name_handler' instead.
null_value_handler:
Function called when a value after sanitization is an empty string.
You can specify predefined handlers:
- :py:func:`~.handler.NullValueHandler.return_null_string`
- :py:func:`~.handler.NullValueHandler.return_timestamp`
- :py:func:`~.handler.raise_error`
Defaults to :py:func:`.handler.NullValueHandler.return_null_string` that just return ``""``.
reserved_name_handler:
Function called when a value after sanitization is a reserved name.
You can specify predefined handlers:
- :py:meth:`~.handler.ReservedNameHandler.add_leading_underscore`
- :py:meth:`~.handler.ReservedNameHandler.add_trailing_underscore`
- :py:meth:`~.handler.ReservedNameHandler.as_is`
- :py:func:`~.handler.raise_error`
Defaults to :py:func:`.handler.add_trailing_underscore`.
additional_reserved_names:
Additional reserved names to sanitize.
Case insensitive.
validate_after_sanitize:
Execute validation after sanitization to the file name.
Returns:
Same type as the ``filename`` (str or PathLike object):
Sanitized filename.
Raises:
ValueError:
If the ``filename`` is an invalid filename.
Example:
:ref:`example-sanitize-filename`
"""
if check_reserved is not None:
warnings.warn(
"'check_reserved' is deprecated. Use 'reserved_name_handler' instead.",
DeprecationWarning,
)
if check_reserved is False:
reserved_name_handler = ReservedNameHandler.as_is
return FileNameSanitizer(
platform=platform,
max_len=-1 if max_len is None else max_len,
fs_encoding=fs_encoding,
null_value_handler=null_value_handler,
reserved_name_handler=reserved_name_handler,
additional_reserved_names=additional_reserved_names,
validate_after_sanitize=validate_after_sanitize,
).sanitize(filename, replacement_text)
|
(filename: ~PathType, replacement_text: str = '', platform: Optional[~PlatformType] = None, max_len: Optional[int] = 255, fs_encoding: Optional[str] = None, check_reserved: Optional[bool] = None, null_value_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, reserved_name_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, additional_reserved_names: Optional[Sequence[str]] = None, validate_after_sanitize: bool = False) -> ~PathType
|
[
0.028040790930390358,
0.04138805344700813,
-0.008596868254244328,
0.00854397937655449,
-0.0007656886009499431,
-0.048388633877038956,
0.0405033640563488,
-0.011635581962764263,
0.06273598223924637,
0.0019280448323115706,
0.029444754123687744,
0.03342585265636444,
0.015068559907376766,
0.0411188006401062,
0.011472106911242008,
0.0360991545021534,
-0.0001029232153086923,
0.07169826328754425,
0.006813066080212593,
0.009361354634165764,
-0.018193818628787994,
-0.016847552731633186,
-0.026809919625520706,
-0.038426268845796585,
0.02705994062125683,
0.041965026408433914,
-0.0170302614569664,
0.023213466629385948,
-0.018241900950670242,
-0.038733989000320435,
0.04408058524131775,
0.028810085728764534,
0.04604228585958481,
0.022117221727967262,
0.024386640638113022,
-0.046196144074201584,
-0.016251349821686745,
-0.005913952831178904,
-0.023675043135881424,
-0.10254698246717453,
-0.06004345044493675,
0.05677394941449165,
0.005519689526408911,
0.0037695439532399178,
-0.04250353202223778,
0.02794463001191616,
-0.016232118010520935,
0.010952833108603954,
-0.05169660225510597,
0.04115726426243782,
-0.0176937784999609,
0.04923485964536667,
-0.012491422705352306,
-0.010029679164290428,
0.005423527676612139,
0.005995690356940031,
0.0244443379342556,
0.024502035230398178,
0.019520852714776993,
-0.1008545309305191,
0.05008108541369438,
0.0009171434794552624,
0.03227191045880318,
-0.05831253528594971,
-0.037137702107429504,
-0.012520271353423595,
0.03017558343708515,
-0.049388717859983444,
-0.025598280131816864,
0.05408141762018204,
0.0005451174220070243,
0.014356962405145168,
0.0013907405082136393,
-0.028675459325313568,
0.06338988244533539,
0.017607232555747032,
-0.04631153866648674,
0.017462989315390587,
0.029348591342568398,
-0.011991380713880062,
0.06377452611923218,
-0.022982679307460785,
0.04084954783320427,
-0.03667612373828888,
0.012318330816924572,
-0.016309047117829323,
-0.05265822261571884,
0.0016034985892474651,
0.03157954663038254,
-0.023694276809692383,
0.02350195311009884,
-0.0029762089252471924,
-0.0012044269824400544,
0.009063253179192543,
-0.016126340255141258,
-0.027483053505420685,
0.01833806186914444,
-0.02829081192612648,
0.022636495530605316,
-0.004548454657196999,
-0.005745669826865196,
0.047773201018571854,
0.03692614659667015,
0.0038224330637604,
0.035156767815351486,
-0.01893426477909088,
-0.007130400277674198,
0.013212636113166809,
0.006644782610237598,
-0.05915876105427742,
0.009260384365916252,
-0.05361983925104141,
-0.008332422934472561,
-0.02063632942736149,
0.015501287765800953,
-0.029752472415566444,
-0.03798392415046692,
-0.03879168629646301,
-0.003728675190359354,
-0.0253674928098917,
0.01671292632818222,
-0.012693362310528755,
-0.09893129765987396,
-0.04073415324091911,
0.013558818958699703,
-0.049350254237651825,
-0.015308964066207409,
-0.0028992793522775173,
0.06246672943234444,
0.01237602811306715,
-0.09508482366800308,
0.06604395061731339,
0.03084871731698513,
-0.0009712345199659467,
-0.0057889423333108425,
-0.03829164430499077,
0.01192406751215458,
0.07696793228387833,
-0.0048393444158136845,
0.007168864831328392,
0.04284971207380295,
0.003942635376006365,
0.016953332349658012,
-0.027752306312322617,
-0.011645197868347168,
-0.038060855120420456,
0.0482732430100441,
-0.07085204124450684,
0.01706872507929802,
0.04923485964536667,
0.021117139607667923,
0.024982845410704613,
0.03286811709403992,
0.06462075561285019,
0.05435067042708397,
-0.053542908281087875,
0.018770789727568626,
-0.05273514986038208,
-0.0218864344060421,
0.03861859440803528,
0.007789108902215958,
-0.035195231437683105,
0.01399154681712389,
-0.007447734009474516,
0.028060022741556168,
0.025944463908672333,
0.04600382223725319,
-0.033925894647836685,
0.04727315902709961,
0.001241689664311707,
0.017145656049251556,
0.058658719062805176,
-0.01094321720302105,
0.06100506708025932,
0.03084871731698513,
0.03381050005555153,
0.03788776323199272,
-0.018241900950670242,
0.00950559787452221,
-0.015510903671383858,
0.004947526380419731,
-0.023655811324715614,
0.012991463765501976,
0.01834767870604992,
0.02796386182308197,
0.019453538581728935,
-0.06038963422179222,
0.0521581806242466,
0.02288651652634144,
-0.03371433913707733,
-0.016453290358185768,
-0.0026396424509584904,
0.01673216000199318,
0.01569361239671707,
-0.011260551400482655,
-0.01992473192512989,
0.02088635042309761,
0.0006268549477681518,
-0.018434224650263786,
-0.04369593784213066,
0.0066063180565834045,
0.05765863507986069,
0.01603979431092739,
-0.04477294906973839,
-0.04942718520760536,
0.0060004983097314835,
0.010481639765202999,
0.021444089710712433,
-0.07642942667007446,
0.051273491233587265,
0.0018451052019372582,
-0.02154025062918663,
-0.0666978508234024,
0.039657142013311386,
-0.005832215305417776,
-0.028040790930390358,
-0.008241069503128529,
0.04688851162791252,
-0.019232366234064102,
0.04831170663237572,
-0.051888927817344666,
0.05085038021206856,
0.003005057340487838,
-0.012212553061544895,
0.04477294906973839,
0.013395343907177448,
0.012318330816924572,
0.065659299492836,
0.06762100011110306,
0.0005736654275096953,
0.014587750658392906,
-0.047119300812482834,
-0.032906580716371536,
0.010260467417538166,
0.007726603653281927,
-0.05008108541369438,
0.04046490043401718,
-0.040003322064876556,
0.0023379346821457148,
-0.01108745951205492,
-0.02084788680076599,
-0.05423527583479881,
-0.0023331264965236187,
0.01399154681712389,
0.023925064131617546,
-0.04692697525024414,
-0.06615934520959854,
0.09639262408018112,
0.006678439676761627,
-0.04204195365309715,
0.023271163925528526,
0.04796552285552025,
-0.04942718520760536,
0.022097989916801453,
-0.008808423765003681,
0.06865955144166946,
-0.0173860602080822,
-0.05008108541369438,
0.04346514865756035,
0.039734069257974625,
-0.013049161061644554,
0.005058112554252148,
-0.02217491902410984,
0.01701102778315544,
-0.04188809543848038,
-0.07162133604288101,
-0.04177270084619522,
0.057043202221393585,
-0.0021408027969300747,
-0.016943715512752533,
-0.026213716715574265,
0.04269585385918617,
-0.015385894104838371,
-0.044811416417360306,
-0.037445418536663055,
0.0022369646467268467,
-0.01580900512635708,
0.016184037551283836,
0.09054598212242126,
0.00021591337281279266,
0.050273407250642776,
-0.01045279111713171,
0.010068143717944622,
-0.004594131838530302,
0.06019730865955353,
0.00707270298153162,
-0.042926643043756485,
-0.06704403460025787,
-0.026598364114761353,
0.01543397456407547,
-0.05038880184292793,
0.0033344116527587175,
0.0065774694085121155,
0.002959380391985178,
-0.024636661633849144,
-0.0456191748380661,
-0.04861942306160927,
-0.11154773086309433,
0.019366994500160217,
-0.10623959451913834,
-0.026540666818618774,
0.06735175102949142,
0.02544442191720009,
0.006274560000747442,
-0.019770873710513115,
0.038137782365083694,
-0.028060022741556168,
-0.08169909566640854,
0.008327614516019821,
-0.00174653937574476,
0.01925159990787506,
-0.03692614659667015,
-0.000634067109785974,
0.022617263719439507,
0.10347013175487518,
0.058697182685136795,
0.04650386422872543,
-0.017251433804631233,
-0.00019953580340370536,
-0.013654980808496475,
0.07285220921039581,
-0.007899695076048374,
-0.014337729662656784,
-0.020809421315789223,
0.012779908254742622,
-0.05985112488269806,
0.012693362310528755,
-0.0033800886012613773,
-0.005351406056433916,
0.02286728471517563,
-0.0027069556526839733,
0.040003322064876556,
0.026925314217805862,
-0.024598198011517525,
-0.020463239401578903,
0.006793833803385496,
0.022924982011318207,
-0.020405542105436325,
0.05292747542262077,
-0.009760426357388496,
-0.012116391211748123,
0.008428584784269333,
-0.017222585156559944,
-0.0211748369038105,
-0.025790603831410408,
-0.001910014427267015,
0.00164797343313694,
-0.032945044338703156,
0.021155603229999542,
-0.042926643043756485,
-0.015395510010421276,
0.0005754684680141509,
-0.09208457171916962,
-0.08216067403554916,
-0.034541331231594086,
-0.0585048608481884,
-0.005793750751763582,
0.024348177015781403,
-0.039387889206409454,
0.0004264176532160491,
0.03631071001291275,
-0.02084788680076599,
-0.03438747301697731,
-0.036195315420627594,
0.03365664184093475,
-0.0005066526937298477,
0.05311979725956917,
0.014664679765701294,
-0.06846722960472107,
-0.01801111176609993,
0.03179110214114189,
0.027483053505420685,
-0.008332422934472561,
-0.07723718881607056,
0.016126340255141258,
-0.022001827135682106,
0.007043854333460331,
-0.003442593617364764,
-0.03271425515413284,
0.017126422375440598,
0.03771467134356499,
0.05165813863277435,
-0.03215651959180832,
-0.02190566621720791,
-0.015510903671383858,
0.004360939376056194,
-0.02600216120481491,
-0.012174088507890701,
-0.010770125314593315,
0.004329686518758535,
0.029156267642974854,
-0.024502035230398178,
0.07596784830093384,
0.020174752920866013,
0.03696461021900177,
0.02480975352227688,
-0.06642859429121017,
0.016414824873209,
-0.019790105521678925,
0.06992888450622559,
-0.0668901726603508,
0.0566585548222065,
-0.04542684927582741,
0.0122221689671278,
-0.018097657710313797,
0.052581291645765305,
0.06019730865955353,
0.03352201730012894,
0.019059276208281517,
0.0810067281126976,
0.028790853917598724,
-0.003442593617364764,
-0.04331129044294357,
-0.06273598223924637,
0.05219664424657822,
0.030752554535865784,
-0.04434983804821968,
-0.04669618606567383,
0.029964027926325798,
-0.03400282561779022,
-0.04823477566242218,
0.0006400772253982723,
-0.023655811324715614,
0.05211971327662468,
0.010770125314593315,
0.015953248366713524,
0.0012525079073384404,
-0.007947775535285473,
0.01704949326813221,
-0.03511830419301987,
-0.018540002405643463,
-0.00707270298153162,
-0.06277444958686829,
0.003993120044469833,
-0.016655229032039642,
-0.03902247175574303,
0.02030937932431698,
0.0038272410165518522,
0.011808673851191998,
-0.027848467230796814,
-0.03444517031311989,
-0.005923569202423096,
0.02763691172003746,
0.06400531530380249,
-0.05919722467660904,
-0.027752306312322617,
-0.026252180337905884,
0.03254116699099541,
-0.048696354031562805,
0.0013198212254792452,
0.025175169110298157,
0.04427291080355644,
0.020174752920866013,
-0.015943631529808044,
-0.013751142658293247,
-0.03113720193505287,
-0.05473531782627106,
-0.04961950704455376,
-0.028079256415367126,
0.002437702612951398,
-0.033252764493227005,
0.07962200045585632,
0.04400365427136421,
-0.01767454482614994,
0.0006322640692815185,
0.04108033701777458,
0.023098072037100792,
-0.014135790057480335,
0.035195231437683105,
0.013472273014485836,
0.012116391211748123,
-0.048773281276226044,
0.01965547911822796,
0.06658245623111725,
-0.008269918151199818,
0.0077025629580020905,
-0.00884688924998045,
0.03831087425351143,
0.03288734704256058,
0.022021060809493065,
0.06646706163883209,
0.0004369353409856558,
-0.009356546215713024,
0.031002575531601906,
0.048696354031562805,
-0.036829981952905655,
0.019540084525942802,
0.0004312257224228233,
-0.024367408826947212,
0.05615851283073425,
0.0043585351668298244,
0.01015468966215849,
0.028867783024907112,
0.015982097014784813,
-0.03598375990986824,
0.023251932114362717,
0.006447650957852602,
0.05662008747458458,
-0.003370472230017185,
-0.03934942185878754,
0.026213716715574265,
-0.06785178929567337,
0.00979889091104269,
-0.013453041203320026,
0.0034353816881775856,
-0.0013186191208660603,
-0.01613595522940159,
-0.010856671258807182,
0.019713176414370537,
-0.02605985663831234,
-0.031502615660429,
0.014414658769965172,
0.07000581920146942,
-0.033945128321647644,
0.020828653126955032,
0.011664430610835552,
-0.03669535741209984,
0.010241235606372356,
0.03256039693951607,
0.018414990976452827,
-0.08562249690294266,
-0.029348591342568398,
0.02021321840584278,
-0.050965771079063416,
0.009188263677060604,
-0.016962947323918343,
0.019482387229800224,
0.014914700761437416,
0.04311896860599518,
-0.011174005456268787,
-0.008793999440968037,
-0.009697921574115753,
0.040964942425489426,
-0.06796718388795853,
0.007260218728333712,
0.011933683417737484,
-0.038714755326509476,
0.016876401379704475,
-0.038733989000320435,
0.023059608414769173,
0.023540416732430458,
0.057081665843725204,
-0.029848633334040642,
-0.002843986265361309,
0.00467346515506506,
-0.05758170783519745,
0.006438035052269697,
-0.018097657710313797,
-0.009188263677060604,
-0.04219581186771393,
-0.04727315902709961,
-0.027540748938918114,
0.013568434864282608,
0.005091769155114889,
0.009000747464597225,
-0.04142651706933975,
0.03302197530865669,
0.018136121332645416,
-0.04108033701777458,
0.03017558343708515,
-0.03721462935209274,
-0.0064139943569898605,
0.026906082406640053,
-0.065659299492836,
-0.007914119400084019,
0.010741276666522026,
-0.02159794792532921,
-0.011250934563577175,
-0.0253674928098917,
-0.027713840827345848,
-0.010798973962664604,
0.06908266246318817,
0.11247088015079498,
-0.01512625627219677,
-0.03729156032204628,
0.043542079627513885,
0.033925894647836685,
-0.01285683736205101,
-0.012520271353423595,
0.004312858451157808,
0.07666021585464478,
-0.01998242922127247,
-0.02827158011496067,
-0.01732836291193962,
-0.028444670140743256,
-0.055773865431547165,
-0.004324878565967083,
0.061274319887161255,
-0.05573539808392525,
0.014501204714179039,
-0.02184796892106533,
0.046119216829538345,
0.03694537654519081,
-0.042965106666088104,
0.005558154080063105,
0.015164721757173538,
0.027733072638511658,
-0.006087044253945351,
0.011539420112967491,
-0.005832215305417776,
-0.007303491234779358,
0.013308797962963581,
-0.0020831057336181402,
0.06446689367294312,
0.06650552898645401,
0.01930929720401764,
-0.022021060809493065,
0.003795988392084837,
-0.04411904886364937,
0.002560308901593089,
-0.014558902010321617,
0.026829151436686516,
-0.0012476998381316662,
-0.051311954855918884,
0.060581956058740616,
0.08323768526315689,
0.00934693031013012,
-0.047773201018571854,
0.027463819831609726,
-0.019828571006655693,
-0.025329027324914932,
0.026598364114761353,
0.021117139607667923,
-0.02125176601111889,
0.027117637917399406,
-0.05315826088190079,
-0.03307967260479927,
-0.03817624971270561,
-0.07869884371757507,
-0.036810752004384995,
-0.027463819831609726,
-0.04981183260679245,
-0.014385811053216457,
-0.006620742380619049,
0.006856339052319527,
0.02311730571091175,
-0.006827490404248238,
0.03156031295657158,
0.0011082651326432824,
0.00377675611525774,
0.07646789401769638,
-0.08769959211349487,
-0.024559732526540756,
0.04892714321613312,
-0.048080917447805405,
0.008529555052518845,
0.005562962032854557,
-0.019357377663254738,
0.011481722816824913,
-0.020655563101172447,
0.005428335629403591,
0.03171417489647865,
0.014270416460931301,
-0.06173589825630188,
0.05827407166361809,
0.0289447121322155,
-0.017789939418435097,
-0.08685337007045746,
0.03542602062225342,
-0.0015866702888160944,
0.03507983684539795,
0.0006508954102173448,
0.025502119213342667,
0.06939037889242172,
-0.024944379925727844,
-0.036522265523672104,
0.043580543249845505,
-0.04215734824538231,
-0.051235027611255646,
0.028560064733028412,
0.007813149131834507,
-0.02319423481822014,
0.012241401709616184,
-0.027810003608465195,
0.0385608971118927,
0.013414575718343258,
-0.005625467281788588,
0.044811416417360306,
0.04496527463197708,
0.04115726426243782,
0.025617513805627823,
-0.01962663047015667,
-0.04334975406527519,
-0.03171417489647865,
0.03475288674235344,
0.0022598032373934984,
0.008452625013887882,
0.020347844809293747,
0.021924898028373718,
0.013328030705451965,
0.00473597040399909,
0.032291144132614136,
-0.04342668503522873,
0.008736303076148033,
-0.034925978630781174,
-0.03821471333503723,
0.059928055852651596,
0.018895801156759262,
0.002240570727735758,
0.03259886056184769,
0.002911299467086792,
0.03719539940357208,
-0.00017549535550642759,
-0.09400781244039536,
-0.06404378265142441,
-0.02288651652634144,
-0.058658719062805176,
0.01364536490291357,
0.050273407250642776,
-0.038099318742752075,
0.03434900939464569,
0.003630109364166856,
0.0048561724834144115,
-0.034272078424692154,
-0.005620659328997135,
-0.04750394821166992,
-0.03771467134356499,
-0.030329443514347076,
0.059004902839660645,
-0.021713342517614365,
0.022444171831011772,
-0.001816256670281291,
0.010193154215812683,
-0.011635581962764263,
-0.025675209239125252,
0.02254033461213112,
-0.03698384016752243,
0.01803996041417122,
0.03182956576347351,
0.011693279258906841,
0.04658079147338867,
0.062197476625442505,
-0.07746797800064087,
0.007971815764904022,
0.0253674928098917,
-0.026482969522476196,
0.01580900512635708,
0.005043688230216503,
-0.014914700761437416,
0.037503115832805634,
-0.00979408249258995,
0.03923402726650238,
-0.07969892770051956,
-0.060312703251838684,
0.049657970666885376,
0.022097989916801453,
-0.004957142751663923,
-0.005601427052170038,
0.016962947323918343,
0.05054266005754471,
-0.027406122535467148,
-0.005077344831079245,
-0.0617743618786335,
-0.008832464925944805,
0.027425356209278107,
-0.011664430610835552,
0.009048828855156898,
0.05423527583479881,
0.003245461964979768,
0.012058693915605545,
-0.04215734824538231,
0.056081581860780716,
0.009284425526857376,
-0.00272859213873744,
-0.020405542105436325,
0.0038801301270723343,
-0.015270499512553215,
0.0125298872590065
] |
708,795
|
pathvalidate._filepath
|
sanitize_filepath
|
Make a valid file path from a string.
To make a valid file path, the function does the following:
- Replace invalid characters for a file path within the ``file_path``
with the ``replacement_text``. Invalid characters are as follows:
- unprintable characters
- |invalid_file_path_chars|
- for Windows (or universal) only: |invalid_win_file_path_chars|
- Replace a value if a sanitized value is a reserved name by operating systems
with a specified handler by ``reserved_name_handler``.
Args:
file_path:
File path to sanitize.
replacement_text:
Replacement text for invalid characters.
Defaults to ``""``.
platform:
Target platform name of the file path.
.. include:: platform.txt
max_len:
Maximum byte length of the file path.
Truncate the path if the value length exceeds the `max_len`.
If the value is |None| or minus, ``max_len`` will automatically determined by the ``platform``:
- ``Linux``: 4096
- ``macOS``: 1024
- ``Windows``: 260
- ``universal``: 260
fs_encoding:
Filesystem encoding that used to calculate the byte length of the file path.
If |None|, get the value from the execution environment.
check_reserved:
[Deprecated] Use 'reserved_name_handler' instead.
null_value_handler:
Function called when a value after sanitization is an empty string.
You can specify predefined handlers:
- :py:func:`.handler.NullValueHandler.return_null_string`
- :py:func:`.handler.NullValueHandler.return_timestamp`
- :py:func:`.handler.raise_error`
Defaults to :py:func:`.handler.NullValueHandler.return_null_string` that just return ``""``.
reserved_name_handler:
Function called when a value after sanitization is one of the reserved names.
You can specify predefined handlers:
- :py:meth:`~.handler.ReservedNameHandler.add_leading_underscore`
- :py:meth:`~.handler.ReservedNameHandler.add_trailing_underscore`
- :py:meth:`~.handler.ReservedNameHandler.as_is`
- :py:func:`~.handler.raise_error`
Defaults to :py:func:`.handler.add_trailing_underscore`.
additional_reserved_names:
Additional reserved names to sanitize.
Case insensitive.
normalize:
If |True|, normalize the the file path.
validate_after_sanitize:
Execute validation after sanitization to the file path.
Returns:
Same type as the argument (str or PathLike object):
Sanitized filepath.
Raises:
ValueError:
If the ``file_path`` is an invalid file path.
Example:
:ref:`example-sanitize-file-path`
|
def sanitize_filepath(
file_path: PathType,
replacement_text: str = "",
platform: Optional[PlatformType] = None,
max_len: Optional[int] = None,
fs_encoding: Optional[str] = None,
check_reserved: Optional[bool] = None,
null_value_handler: Optional[ValidationErrorHandler] = None,
reserved_name_handler: Optional[ValidationErrorHandler] = None,
additional_reserved_names: Optional[Sequence[str]] = None,
normalize: bool = True,
validate_after_sanitize: bool = False,
) -> PathType:
"""Make a valid file path from a string.
To make a valid file path, the function does the following:
- Replace invalid characters for a file path within the ``file_path``
with the ``replacement_text``. Invalid characters are as follows:
- unprintable characters
- |invalid_file_path_chars|
- for Windows (or universal) only: |invalid_win_file_path_chars|
- Replace a value if a sanitized value is a reserved name by operating systems
with a specified handler by ``reserved_name_handler``.
Args:
file_path:
File path to sanitize.
replacement_text:
Replacement text for invalid characters.
Defaults to ``""``.
platform:
Target platform name of the file path.
.. include:: platform.txt
max_len:
Maximum byte length of the file path.
Truncate the path if the value length exceeds the `max_len`.
If the value is |None| or minus, ``max_len`` will automatically determined by the ``platform``:
- ``Linux``: 4096
- ``macOS``: 1024
- ``Windows``: 260
- ``universal``: 260
fs_encoding:
Filesystem encoding that used to calculate the byte length of the file path.
If |None|, get the value from the execution environment.
check_reserved:
[Deprecated] Use 'reserved_name_handler' instead.
null_value_handler:
Function called when a value after sanitization is an empty string.
You can specify predefined handlers:
- :py:func:`.handler.NullValueHandler.return_null_string`
- :py:func:`.handler.NullValueHandler.return_timestamp`
- :py:func:`.handler.raise_error`
Defaults to :py:func:`.handler.NullValueHandler.return_null_string` that just return ``""``.
reserved_name_handler:
Function called when a value after sanitization is one of the reserved names.
You can specify predefined handlers:
- :py:meth:`~.handler.ReservedNameHandler.add_leading_underscore`
- :py:meth:`~.handler.ReservedNameHandler.add_trailing_underscore`
- :py:meth:`~.handler.ReservedNameHandler.as_is`
- :py:func:`~.handler.raise_error`
Defaults to :py:func:`.handler.add_trailing_underscore`.
additional_reserved_names:
Additional reserved names to sanitize.
Case insensitive.
normalize:
If |True|, normalize the the file path.
validate_after_sanitize:
Execute validation after sanitization to the file path.
Returns:
Same type as the argument (str or PathLike object):
Sanitized filepath.
Raises:
ValueError:
If the ``file_path`` is an invalid file path.
Example:
:ref:`example-sanitize-file-path`
"""
if check_reserved is not None:
warnings.warn(
"'check_reserved' is deprecated. Use 'reserved_name_handler' instead.",
DeprecationWarning,
)
if check_reserved is False:
reserved_name_handler = ReservedNameHandler.as_is
return FilePathSanitizer(
platform=platform,
max_len=-1 if max_len is None else max_len,
fs_encoding=fs_encoding,
normalize=normalize,
null_value_handler=null_value_handler,
reserved_name_handler=reserved_name_handler,
additional_reserved_names=additional_reserved_names,
validate_after_sanitize=validate_after_sanitize,
).sanitize(file_path, replacement_text)
|
(file_path: ~PathType, replacement_text: str = '', platform: Optional[~PlatformType] = None, max_len: Optional[int] = None, fs_encoding: Optional[str] = None, check_reserved: Optional[bool] = None, null_value_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, reserved_name_handler: Optional[Callable[[pathvalidate.error.ValidationError], str]] = None, additional_reserved_names: Optional[Sequence[str]] = None, normalize: bool = True, validate_after_sanitize: bool = False) -> ~PathType
|
[
0.03315419703722,
0.001838127733208239,
0.006372822914272547,
0.02983683906495571,
-0.0035768316593021154,
-0.0419422909617424,
0.057772502303123474,
0.013958130963146687,
0.03920692577958107,
-0.025879286229610443,
0.06025566905736923,
0.03391078859567642,
0.030671028420329094,
0.031427618116140366,
-0.025995684787631035,
0.05315535515546799,
0.008564996533095837,
0.040118712931871414,
0.011892056092619896,
-0.007405860349535942,
0.00007759906293358654,
-0.038217537105083466,
-0.02638368122279644,
-0.02355131506919861,
0.0303606316447258,
0.05416414514183998,
-0.026538878679275513,
0.02894444949924946,
0.0013410088140517473,
-0.061846449971199036,
0.06316563487052917,
0.019186368212103844,
0.03449278324842453,
0.024598902091383934,
0.008996641263365746,
-0.051331777125597,
-0.0009954504203051329,
-0.013744733296334743,
-0.0016235178336501122,
-0.09482605010271072,
-0.06068246439099312,
0.07713346928358078,
0.005364035256206989,
-0.004180649295449257,
-0.04725782945752144,
0.02102934569120407,
-0.037480346858501434,
0.03034123219549656,
-0.05486253648996353,
0.02983683906495571,
-0.0009524071938358247,
0.023900510743260384,
-0.03317359834909439,
0.008424348197877407,
0.01965196244418621,
-0.014462525025010109,
0.011989055201411247,
0.021844135597348213,
0.03449278324842453,
-0.09769722074270248,
0.05680251121520996,
0.00295361434109509,
0.03992471843957901,
-0.05885888636112213,
0.005858729127794504,
0.00964653305709362,
0.016208503395318985,
-0.059712477028369904,
-0.008341899141669273,
0.040196314454078674,
-0.02033095434308052,
0.012910543940961361,
-0.006513471249490976,
-0.04520145431160927,
0.06599800288677216,
-0.004122450016438961,
-0.026558278128504753,
0.06204044818878174,
0.02698507346212864,
-0.01959376223385334,
0.03922632709145546,
0.006324323359876871,
0.04950819909572601,
-0.052418164908885956,
0.029953237622976303,
-0.02712087146937847,
0.007250662427395582,
0.01086386851966381,
0.02308572083711624,
0.011688358150422573,
0.04167069494724274,
-0.028110260143876076,
-0.014530424028635025,
0.009869630448520184,
0.010204276069998741,
-0.012590447440743446,
0.048344213515520096,
-0.0419422909617424,
0.012735946103930473,
-0.01763438619673252,
-0.005829629488289356,
0.04512385278940201,
0.02091294713318348,
-0.00496391486376524,
0.04741302505135536,
-0.025180894881486893,
0.0007917529437690973,
0.008186700753867626,
0.0012609846889972687,
-0.04108870401978493,
-0.021223343908786774,
-0.06518320739269257,
-0.00742041040211916,
-0.0072312625125050545,
0.002464982680976391,
-0.019079668447375298,
-0.06859757006168365,
-0.050400588661432266,
0.040273912250995636,
-0.023784112185239792,
0.01484082080423832,
-0.025142095983028412,
-0.08023742586374283,
-0.02102934569120407,
0.04101110249757767,
-0.019060268998146057,
-0.02758646570146084,
0.020641349256038666,
0.033445194363594055,
0.013608935289084911,
-0.09536924213171005,
0.04919780418276787,
0.02570468932390213,
0.014452825300395489,
-0.04516265168786049,
0.002250372665002942,
0.0002935730153694749,
0.05517293140292168,
0.02496749721467495,
0.03561796993017197,
0.04943060129880905,
-0.0034992326982319355,
0.005465883761644363,
-0.057694900780916214,
0.02902204915881157,
-0.004202473908662796,
0.03389139100909233,
-0.030690427869558334,
-0.022484328597784042,
0.06588160246610641,
-0.005393134895712137,
0.017750784754753113,
0.03623875975608826,
0.048965007066726685,
0.04931420460343361,
-0.038896530866622925,
0.012968743219971657,
-0.024792900308966637,
-0.004488620441406965,
0.027508867904543877,
-0.011804756708443165,
-0.05490133538842201,
0.042291488498449326,
-0.017731385305523872,
0.008880242705345154,
0.05610411986708641,
0.02692687325179577,
-0.040273912250995636,
0.03771314397454262,
0.0008414647891186178,
-0.00008873877231962979,
0.038178738206624985,
-0.03765494376420975,
0.04240788519382477,
0.03297960013151169,
0.030030837282538414,
0.047063831239938736,
-0.018303679302334785,
0.015015418641269207,
-0.009302187711000443,
0.007061514537781477,
-0.016625598073005676,
0.01044677384197712,
0.02083534747362137,
0.030690427869558334,
0.03850853443145752,
-0.05474613606929779,
0.028556454926729202,
0.03862493112683296,
0.007531958632171154,
-0.018342478200793266,
0.02172773703932762,
0.0471414290368557,
0.01961316354572773,
0.00438919709995389,
-0.028925050050020218,
0.022678324952721596,
-0.0269656740128994,
-0.060527268797159195,
-0.015034818090498447,
0.036820754408836365,
0.004755367524921894,
0.027314869686961174,
-0.021203942596912384,
-0.05800529941916466,
0.0034264835994690657,
0.01380293257534504,
0.019137868657708168,
-0.0755038857460022,
0.08481577038764954,
-0.036704353988170624,
-0.04648183658719063,
-0.052418164908885956,
-0.006353422999382019,
0.0104855727404356,
-0.020544352009892464,
-0.0007365848287008703,
0.0645236223936081,
-0.058470893651247025,
0.07659026980400085,
0.022115731611847878,
0.04527905210852623,
0.007624107878655195,
-0.025239095091819763,
0.06227324530482292,
-0.008802643045783043,
-0.040739506483078,
0.044968657195568085,
0.053776148706674576,
-0.016305502504110336,
0.016567399725317955,
-0.045550648123025894,
-0.019060268998146057,
0.03038003295660019,
0.01319184061139822,
-0.05680251121520996,
0.04395986720919609,
-0.042873479425907135,
0.0027232421562075615,
-0.017828384414315224,
-0.03623875975608826,
-0.04605504125356674,
-0.011562259867787361,
0.014064829796552658,
-0.01617940329015255,
-0.02911904826760292,
-0.04326147586107254,
0.05451333895325661,
0.03038003295660019,
-0.07162393629550934,
0.020447352901101112,
0.07437869906425476,
-0.04388226941227913,
0.010795969516038895,
0.006838417146354914,
0.06076006591320038,
-0.017023293301463127,
-0.03179621696472168,
0.026150884106755257,
0.040933504700660706,
0.002999688731506467,
0.01046617329120636,
-0.0018878396367654204,
0.004219449125230312,
-0.04679223522543907,
-0.0848933756351471,
-0.051758572459220886,
0.05587132275104523,
0.012474048882722855,
-0.01418122835457325,
-0.07984943687915802,
0.05210776999592781,
-0.045589447021484375,
-0.0172754917293787,
-0.033522795885801315,
0.01485052052885294,
-0.008550446480512619,
0.011911455541849136,
0.0964556336402893,
0.004718992859125137,
0.02035035379230976,
0.0038557033985853195,
0.02357071451842785,
0.002287959912791848,
0.052340567111968994,
0.010640771128237247,
-0.06367003172636032,
-0.05179737135767937,
-0.023279719054698944,
0.04070070758461952,
-0.03445398434996605,
-0.025355493649840355,
-0.010805669240653515,
0.03230061009526253,
0.007837505079805851,
-0.030651628971099854,
-0.0527285635471344,
-0.10817308723926544,
0.01899236999452114,
-0.15395653247833252,
-0.009137289598584175,
0.06820957362651825,
0.00950588472187519,
0.03191261366009712,
0.009859930723905563,
0.016169704496860504,
-0.01651890017092228,
-0.07364150881767273,
0.004137000069022179,
0.007095464039593935,
-0.011077266186475754,
-0.06987795233726501,
-0.018507376313209534,
0.03899352625012398,
0.10731950402259827,
0.021941134706139565,
0.023163320496678352,
-0.012076353654265404,
-0.015364614315330982,
-0.009922980330884457,
0.04116630181670189,
0.005630781874060631,
-0.01779928430914879,
-0.030671028420329094,
-0.021475540474057198,
-0.0701107531785965,
0.026092683896422386,
0.0027426418382674456,
-0.016053305938839912,
0.023299118503928185,
0.017450088635087013,
0.03903232887387276,
0.030224833637475967,
-0.02840125560760498,
0.014792321249842644,
-0.01181445736438036,
0.0017617411212995648,
-0.02766406536102295,
0.023279719054698944,
-0.001286446931771934,
0.01347313728183508,
0.018730472773313522,
-0.012959043495357037,
-0.009855080395936966,
-0.032708004117012024,
-0.0027256670873612165,
-0.0010736557887867093,
-0.029487643390893936,
0.018177580088377,
-0.02574348822236061,
0.020874148234725,
-0.00439889682456851,
-0.08691094815731049,
-0.06076006591320038,
-0.05594892427325249,
-0.047607023268938065,
-0.011601059697568417,
0.055095333606004715,
-0.035540368407964706,
0.00046316938824020326,
0.06673519313335419,
0.0035744067281484604,
-0.04000231623649597,
-0.03179621696472168,
0.04997379332780838,
0.015597411431372166,
0.0325528047978878,
0.041515499353408813,
-0.039556119590997696,
0.016644999384880066,
0.032203610986471176,
0.014753521420061588,
0.03536577150225639,
-0.06665759533643723,
0.04050670936703682,
-0.013589535839855671,
-0.014423725195229053,
0.011387662030756474,
-0.03600596264004707,
0.05722930654883385,
0.04597744345664978,
0.0555221289396286,
-0.022154532372951508,
-0.02564648911356926,
-0.030865026637911797,
0.004200049210339785,
0.010495273396372795,
-0.01963256299495697,
-0.01937066577374935,
-0.01935126632452011,
-0.0017605286557227373,
-0.02642248012125492,
0.06343723088502884,
-0.002306147012859583,
0.044192664325237274,
0.012338250875473022,
-0.019390065222978592,
0.03437638282775879,
0.005189437419176102,
0.06518320739269257,
-0.033367596566677094,
0.025180894881486893,
-0.051758572459220886,
0.009418586269021034,
-0.026092683896422386,
0.05020659416913986,
0.04267948493361473,
0.07321471720933914,
0.00813820119947195,
0.07356391102075577,
0.013250039890408516,
0.0034992326982319355,
-0.01185325626283884,
-0.04535664990544319,
0.04822781682014465,
0.021262142807245255,
-0.0715075358748436,
-0.024715300649404526,
0.017925383523106575,
-0.05020659416913986,
-0.06355363130569458,
-0.015345213934779167,
-0.050361789762973785,
0.05874248966574669,
0.020777149125933647,
-0.00428492296487093,
0.013715634122490883,
-0.004961490165442228,
0.03439578413963318,
-0.0020757748279720545,
0.020544352009892464,
0.006435872055590153,
-0.06689038872718811,
0.025491291657090187,
-0.0317574143409729,
-0.03043823130428791,
0.014074529521167278,
-0.007396160624921322,
0.01921546831727028,
-0.038120537996292114,
-0.05288375914096832,
0.002272197511047125,
0.025452492758631706,
0.05071098729968071,
-0.00521853705868125,
-0.017188191413879395,
-0.05967367812991142,
0.042912282049655914,
-0.02240672893822193,
-0.021863535046577454,
-0.0022055108565837145,
0.018905071541666985,
0.04209749028086662,
0.00015216690371744335,
-0.05121538043022156,
-0.021359141916036606,
-0.028517654165625572,
-0.03598656505346298,
-0.01712029241025448,
-0.0003640487266238779,
-0.0034555832389742136,
0.09412766247987747,
0.0541253462433815,
-0.07018835097551346,
0.022484328597784042,
0.036762554198503494,
-0.01681959629058838,
-0.011571959592401981,
0.009942379780113697,
0.00948648527264595,
-0.00991813000291586,
-0.05559972673654556,
-0.007628957740962505,
0.06079886481165886,
0.020524950698018074,
0.017741085961461067,
-0.012648646719753742,
0.04791742190718651,
0.0027038422413170338,
0.012939643114805222,
0.06316563487052917,
-0.014996018260717392,
-0.01691659539937973,
0.04710263013839722,
0.051137782633304596,
-0.033406395465135574,
0.032863203436136246,
-0.0029584642034024,
-0.028226658701896667,
0.02430790662765503,
0.038818929344415665,
0.019758660346269608,
0.00882689282298088,
-0.014996018260717392,
-0.03788774088025093,
0.0035647067707031965,
-0.029584642499685287,
0.04811141639947891,
0.017091192305088043,
-0.024560103192925453,
0.035520970821380615,
-0.05338815227150917,
-0.007565908599644899,
0.015966007485985756,
0.011678658425807953,
0.019797461107373238,
-0.008909341879189014,
0.019525863230228424,
-0.018226079642772675,
-0.04042911157011986,
-0.019904159009456635,
0.015723509714007378,
0.056336916983127594,
-0.023861711844801903,
0.018701374530792236,
0.009350687265396118,
-0.04543425142765045,
-0.01185325626283884,
0.028847450390458107,
0.012241251766681671,
-0.10049078613519669,
-0.014452825300395489,
0.0035234822425991297,
-0.03305720165371895,
0.027955060824751854,
-0.029371244832873344,
0.014802020974457264,
0.002968164160847664,
0.05009019374847412,
-0.006091526243835688,
0.028711652383208275,
-0.003353734500706196,
0.04128269851207733,
-0.028750451281666756,
0.029972637072205544,
0.040118712931871414,
-0.01143616158515215,
0.005417384207248688,
-0.052379366010427475,
0.02554949000477791,
0.004522570408880711,
0.0703047513961792,
-0.0678991749882698,
-0.010737770237028599,
0.009350687265396118,
-0.08101341873407364,
0.03588956594467163,
-0.060566067695617676,
-0.013628334738314152,
-0.03587016463279724,
-0.050982583314180374,
-0.015238515101373196,
0.04749062657356262,
0.04721902683377266,
0.01184355653822422,
-0.052379366010427475,
0.04302867874503136,
0.002558344043791294,
-0.03466738015413284,
-0.0006832354702055454,
-0.060449667274951935,
-0.01214425265789032,
0.0076338076032698154,
-0.03327059745788574,
-0.017741085961461067,
0.028246058151125908,
-0.045550648123025894,
0.017605286091566086,
-0.020524950698018074,
-0.040739506483078,
-0.011571959592401981,
0.05296136066317558,
0.08466057479381561,
-0.02560769021511078,
-0.059130486100912094,
0.021766535937786102,
0.02568528987467289,
0.0062467241659760475,
0.005111838225275278,
-0.0024370953906327486,
0.04256308451294899,
-0.01725609041750431,
-0.024657102301716805,
-0.02298872172832489,
-0.024715300649404526,
-0.05901408568024635,
0.01851707510650158,
0.08163420855998993,
-0.06270004063844681,
-0.005834479350596666,
-0.02698507346212864,
0.01448192447423935,
0.023531915619969368,
-0.018410377204418182,
-0.012648646719753742,
0.013298539444804192,
0.02440490387380123,
-0.02025335468351841,
0.042912282049655914,
-0.0030894125811755657,
-0.046210240572690964,
0.019962359219789505,
0.005621082149446011,
0.06754998117685318,
0.027198471128940582,
0.019079668447375298,
0.014404325745999813,
-0.01755678839981556,
-0.037422146648168564,
-0.004098200239241123,
-0.004735967610031366,
0.03738334774971008,
0.01629580184817314,
-0.02168893814086914,
0.05094378441572189,
0.059052884578704834,
0.007745356298983097,
-0.03585076704621315,
0.014055130071938038,
-0.0062176245264709,
-0.0317574143409729,
0.010631071403622627,
0.02758646570146084,
-0.006770518142729998,
0.006435872055590153,
-0.01819697953760624,
-0.04058430716395378,
-0.01937066577374935,
-0.08272060006856918,
-0.03777134418487549,
-0.0018417652463540435,
-0.06200164929032326,
-0.030030837282538414,
0.014782621525228024,
0.0027450667694211006,
-0.011407061479985714,
-0.01211515348404646,
0.016189103946089745,
0.011892056092619896,
0.015966007485985756,
0.021417340263724327,
-0.09482605010271072,
-0.03926512598991394,
0.05346575379371643,
-0.05020659416913986,
0.014695322141051292,
-0.02626728266477585,
-0.04411506652832031,
0.011271263472735882,
-0.002985138911753893,
0.009132439270615578,
0.0459386445581913,
-0.01221215259283781,
-0.08815253525972366,
0.07340870797634125,
0.031214222311973572,
0.014685622416436672,
-0.08015982806682587,
0.03041883185505867,
0.006974215619266033,
0.008526196703314781,
0.021863535046577454,
-0.006406772416085005,
0.055095333606004715,
-0.00379265402443707,
-0.019118469208478928,
0.03920692577958107,
0.0051603373140096664,
-0.011930855922400951,
0.013948431238532066,
0.0052427863702178,
-0.035462770611047745,
-0.018643174320459366,
-0.01419092807918787,
0.0337555930018425,
0.0058393292129039764,
0.004641393665224314,
0.022678324952721596,
0.020136956125497818,
0.0419422909617424,
0.028808651491999626,
-0.005039088893681765,
-0.05195257067680359,
-0.009093640372157097,
0.023822911083698273,
-0.0039648269303143024,
0.007255512289702892,
0.027295470237731934,
0.023919910192489624,
0.024676501750946045,
-0.021203942596912384,
-0.016868095844984055,
-0.044309064745903015,
-0.01851707510650158,
-0.012086053378880024,
-0.025937486439943314,
0.053698550909757614,
0.003392533864825964,
0.026810474693775177,
0.04403746873140335,
0.017808984965085983,
0.026655277237296104,
-0.0104855727404356,
-0.06398042291402817,
-0.026713477447628975,
-0.03980831801891327,
-0.03862493112683296,
-0.004849941469728947,
0.024133307859301567,
-0.013308239169418812,
0.040118712931871414,
-0.0019133018795400858,
0.012988142669200897,
-0.06743358075618744,
0.008982091210782528,
-0.05024539306759834,
-0.04718022793531418,
-0.046986229717731476,
0.058470893651247025,
-0.037460945546627045,
0.028498254716396332,
-0.015946606174111366,
0.010252775624394417,
-0.03453158214688301,
-0.018846871331334114,
0.04989619553089142,
-0.04609384387731552,
0.006726868450641632,
0.04128269851207733,
0.009408886544406414,
0.008555296808481216,
0.037499744445085526,
-0.06735598295927048,
0.007337961345911026,
0.0175761878490448,
-0.031505219638347626,
-0.012726246379315853,
0.0022273354697972536,
-0.01713969185948372,
0.04116630181670189,
-0.004869340918958187,
0.03396898880600929,
-0.060527268797159195,
-0.08652295172214508,
0.06793797761201859,
0.01801268197596073,
0.002213998232036829,
0.000925126310903579,
0.003804778913035989,
0.059906475245952606,
-0.024036308750510216,
-0.000554105790797621,
-0.05090498551726341,
0.010941467247903347,
0.036355160176754,
-0.029604041948914528,
0.0013349463697522879,
0.04710263013839722,
-0.00022461290063802153,
0.02308572083711624,
-0.043688271194696426,
0.05067218840122223,
0.025258494541049004,
0.007784155663102865,
0.03197081387042999,
0.016674097627401352,
-0.03699535131454468,
0.006843267008662224
] |
708,796
|
pathvalidate._ltsv
|
sanitize_ltsv_label
|
Replace all of the symbols in text.
:param label: Input text.
:param replacement_text: Replacement text.
:return: A replacement string.
:rtype: str
|
def sanitize_ltsv_label(label: str, replacement_text: str = "") -> str:
"""
Replace all of the symbols in text.
:param label: Input text.
:param replacement_text: Replacement text.
:return: A replacement string.
:rtype: str
"""
validate_pathtype(label, allow_whitespaces=False)
return __RE_INVALID_LTSV_LABEL.sub(replacement_text, to_str(label))
|
(label: str, replacement_text: str = '') -> str
|
[
0.04365187883377075,
-0.052705079317092896,
0.01732565462589264,
0.0321248359978199,
-0.04049378260970116,
-0.04509056359529495,
0.014886904507875443,
-0.00441913865506649,
0.11046311259269714,
-0.027808772400021553,
-0.018509939312934875,
-0.07712767273187637,
-0.01800113543868065,
-0.025510381907224655,
-0.03779185935854912,
0.030966866761446,
-0.00966727640479803,
0.008610192686319351,
-0.009333922527730465,
-0.04196755960583687,
-0.03684443235397339,
0.016992300748825073,
-0.025054212659597397,
-0.06737267225980759,
0.037125151604413986,
0.035967182368040085,
-0.001475970377214253,
-0.04070432484149933,
-0.012597286142408848,
-0.046108175069093704,
0.05775803327560425,
-0.007434679660946131,
-0.040809594094753265,
0.002163513796404004,
0.035967182368040085,
-0.04140612110495567,
-0.00032787155942060053,
-0.06158283352851868,
0.012088482268154621,
-0.04572218284010887,
-0.01682562381029129,
-0.02624727040529251,
-0.015202714130282402,
-0.012834143824875355,
-0.01433423813432455,
0.01696598343551159,
0.01929946430027485,
0.011500725522637367,
0.022457558661699295,
0.007947870530188084,
0.012834143824875355,
0.020720606669783592,
-0.038879647850990295,
0.010939287021756172,
-0.01692212000489235,
0.004596781451255083,
0.010597160086035728,
0.08983023464679718,
0.023808520287275314,
-0.01921173930168152,
0.04259917885065079,
0.041441213339567184,
-0.011351593770086765,
0.049160998314619064,
0.007175891660153866,
-0.00890845712274313,
0.04073941335082054,
0.009869043715298176,
-0.000478648638818413,
-0.041125401854515076,
-0.052073463797569275,
-0.020299525931477547,
-0.0029936099890619516,
0.01803622581064701,
0.03866910561919212,
0.0012500789016485214,
-0.006478479132056236,
-0.06877627223730087,
-0.005785452667623758,
-0.0345635861158371,
0.016676491126418114,
-0.06733758002519608,
0.0797945111989975,
-0.020527610555291176,
-0.010948059149086475,
-0.08168936520814896,
-0.005688955541700125,
-0.04786267131567001,
0.004430104047060013,
-0.044494036585092545,
0.016097506508231163,
-0.06968861073255539,
-0.010465572588145733,
0.045301105827093124,
-0.0590563602745533,
-0.0012742031831294298,
0.04698542132973671,
-0.05712641403079033,
-0.01601855456829071,
-0.044634394347667694,
0.0743204802274704,
-0.0026690280064940453,
-0.0394761748611927,
0.04326589033007622,
0.03417759761214256,
-0.0982518121600151,
0.00787768978625536,
-0.0023378669284284115,
0.015685200691223145,
-0.005452098324894905,
0.004265619907528162,
0.0012873619562014937,
0.044844936579465866,
-0.008004890754818916,
-0.01200075726956129,
0.0175011046230793,
-0.033458251506090164,
-0.03163357451558113,
-0.015685200691223145,
-0.019667908549308777,
-0.013044683262705803,
-0.02759823389351368,
-0.08983023464679718,
0.010026948526501656,
0.01637822762131691,
0.0414763018488884,
0.007711012847721577,
0.010948059149086475,
0.004294130485504866,
-0.012351656332612038,
0.00843912921845913,
0.026861345395445824,
-0.01433423813432455,
0.0035243453457951546,
0.03880946710705757,
-0.015965919941663742,
-0.020790785551071167,
0.029896624386310577,
0.045160744339227676,
0.025563016533851624,
0.0015450536739081144,
-0.027545597404241562,
-0.02024689130485058,
0.009526916779577732,
0.008961091749370098,
0.017308110371232033,
-0.03263363987207413,
0.0034541653003543615,
0.06084594503045082,
-0.0319669283926487,
0.02333480678498745,
0.057231683284044266,
0.016167687252163887,
-0.016009781509637833,
0.011737583205103874,
0.014755317009985447,
0.03723042085766792,
-0.057021141052246094,
0.0350022092461586,
0.02252773754298687,
0.03249327838420868,
-0.04249390959739685,
-0.014255285263061523,
-0.008259293623268604,
-0.028843926265835762,
-0.001318065682426095,
0.05831947177648544,
-0.005697728134691715,
0.0006727398140355945,
0.02100132592022419,
-0.02042234130203724,
-0.04056396335363388,
-0.017509877681732178,
0.08793537318706512,
-0.0021602241322398186,
0.029721174389123917,
0.01415878813713789,
0.01021117065101862,
0.0602143257856369,
0.000695767579600215,
0.005995992571115494,
0.060109056532382965,
-0.03416005149483681,
-0.02244001254439354,
-0.008776869624853134,
-0.029650993645191193,
-0.0008969864575192332,
0.06505674123764038,
-0.052073463797569275,
-0.031300220638513565,
0.027931587770581245,
-0.0162817295640707,
0.013185042887926102,
-0.016237866133451462,
-0.04684506356716156,
0.02131713554263115,
0.00866282731294632,
0.0006288774311542511,
-0.06003887578845024,
-0.05372269079089165,
0.040985044091939926,
0.030405428260564804,
0.030440518632531166,
-0.00263613136485219,
-0.006557431537657976,
0.015027264133095741,
0.006180214695632458,
0.009316377341747284,
-0.08519835770130157,
-0.032879266887903214,
0.03073878213763237,
0.03275645524263382,
-0.006346891634166241,
0.05456484854221344,
0.00789523497223854,
0.019194193184375763,
-0.05698605254292488,
0.04923117905855179,
-0.07025004923343658,
-0.00006702725659124553,
-0.011290186084806919,
-0.03842347860336304,
0.0009611351997591555,
-0.03563382849097252,
-0.02624727040529251,
0.02042234130203724,
0.0350022092461586,
0.0550210177898407,
0.027247333899140358,
-0.021527674049139023,
0.020896054804325104,
-0.0466696135699749,
0.018720479682087898,
0.016992300748825073,
0.015290439128875732,
-0.04656434431672096,
0.010746292769908905,
-0.04070432484149933,
0.0469503328204155,
0.02373833954334259,
-0.03517765924334526,
-0.054775387048721313,
0.0010598256485536695,
-0.02149258553981781,
0.03663389012217522,
0.029598359018564224,
-0.046774882823228836,
0.007140801753848791,
-0.007132029160857201,
-0.008785642683506012,
-0.0017676554853096604,
-0.008202272467315197,
-0.02226456254720688,
0.03944108635187149,
0.03923054784536362,
-0.03254591301083565,
0.03417759761214256,
0.021246954798698425,
0.03382669761776924,
0.01054452545940876,
-0.03189675137400627,
0.047581952065229416,
-0.05498592555522919,
0.007868917658925056,
0.0022402729373425245,
0.04747667908668518,
-0.05533682554960251,
0.024071695283055305,
0.06498655676841736,
-0.04375714808702469,
0.06667087227106094,
0.009325150400400162,
0.008803186938166618,
-0.014957084320485592,
0.004873114638030529,
0.04028324410319328,
-0.018053771927952766,
0.056108806282281876,
0.06607434898614883,
-0.04295007884502411,
0.06340751051902771,
-0.03487939387559891,
-0.008105774410068989,
0.02975626476109028,
0.013202588073909283,
-0.009097065776586533,
-0.02229965291917324,
-0.08582998067140579,
0.016036100685596466,
-0.020124077796936035,
0.012149889953434467,
0.01279028132557869,
0.021650489419698715,
0.04035342484712601,
-0.04575727507472038,
0.04537128657102585,
0.02512439340353012,
-0.009755001403391361,
-0.021773304790258408,
0.004767844919115305,
-0.020001262426376343,
-0.006145124789327383,
0.029949259012937546,
-0.021282045170664787,
-0.01785200461745262,
-0.016939666122198105,
0.029229914769530296,
-0.00573281804099679,
-0.0008843760006129742,
0.003829189110547304,
-0.04196755960583687,
-0.007689081598073244,
0.08147882670164108,
-0.04228337109088898,
0.04761704057455063,
0.10014667361974716,
0.005978447385132313,
-0.02212420292198658,
0.025966551154851913,
-0.06351277977228165,
0.024913853034377098,
-0.03272136300802231,
-0.034388136118650436,
-0.010605932213366032,
-0.025334931910037994,
-0.020983779802918434,
0.03958144411444664,
-0.043722059577703476,
0.0077417166903615,
-0.00073469546623528,
-0.0006222980446182191,
-0.003719533095136285,
0.03310735151171684,
-0.07425030320882797,
-0.009842726401984692,
0.004500283859670162,
0.007364499848335981,
0.035475924611091614,
-0.012369201518595219,
-0.027966678142547607,
0.01231656689196825,
0.06849554926156998,
-0.028703566640615463,
0.0051143579185009,
0.010877879336476326,
0.03845856711268425,
-0.05698605254292488,
0.009886588901281357,
0.011904260143637657,
0.004166929516941309,
-0.010483117774128914,
0.0052327862940728664,
-0.0052459449507296085,
-0.03144058212637901,
-0.00884266383945942,
-0.0227558221668005,
0.03923054784536362,
0.0478275790810585,
-0.06228463351726532,
-0.05951252952218056,
0.011018238961696625,
-0.03451095148921013,
-0.010623477399349213,
-0.003050631145015359,
0.045441463589668274,
-0.024387504905462265,
0.0023005837574601173,
-0.005680182948708534,
-0.053161248564720154,
0.052038371562957764,
0.0055398233234882355,
0.012799053452908993,
-0.028475482016801834,
-0.025422656908631325,
0.0037107605021446943,
0.02266809716820717,
-0.00006812381616327912,
-0.010465572588145733,
-0.04365187883377075,
-0.029984349384903908,
0.09509371966123581,
0.014746544882655144,
0.0008695724536664784,
-0.004530987702310085,
0.03845856711268425,
-0.0018641527276486158,
-0.006557431537657976,
0.04059905186295509,
0.07874181121587753,
-0.03568646311759949,
0.006772357504814863,
-0.07993487268686295,
0.1157967820763588,
-0.0071013253182172775,
0.04586254432797432,
-0.04333606734871864,
-0.034932028502225876,
-0.0027194698341190815,
0.058986179530620575,
0.004068239126354456,
-0.015606247819960117,
0.05452975630760193,
-0.06200391426682472,
-0.012904323637485504,
0.003945424687117338,
0.06505674123764038,
0.02414187416434288,
0.004965225700289011,
-0.016948437318205833,
0.022018933668732643,
0.027650868520140648,
0.06017923727631569,
0.000108285341411829,
-0.07572408020496368,
0.01655367575585842,
0.0269315242767334,
-0.01323767751455307,
0.03979198634624481,
-0.03551101312041283,
0.0018312559695914388,
-0.032598547637462616,
-0.05582808330655098,
0.05909144878387451,
0.008452287875115871,
0.011614767834544182,
0.024352414533495903,
0.028475482016801834,
-0.029738718643784523,
0.03010716289281845,
0.0006848020129837096,
-0.0481082983314991,
-0.011869169771671295,
-0.03416005149483681,
-0.006684632506221533,
-0.0023488325532525778,
-0.04645907133817673,
0.01840467005968094,
0.009702366776764393,
-0.02365061640739441,
0.04179210960865021,
0.03552855923771858,
0.0077768065966665745,
0.0533016100525856,
0.05909144878387451,
0.0033138056751340628,
-0.01113228127360344,
-0.0613722950220108,
-0.006311801727861166,
-0.010623477399349213,
0.019948627799749374,
0.008557558059692383,
0.025633197277784348,
0.012746418826282024,
0.04284480959177017,
0.01457986794412136,
-0.05252963304519653,
0.012948185205459595,
-0.09762019664049149,
-0.02687888965010643,
0.038879647850990295,
-0.026264816522598267,
0.0521436408162117,
-0.014895676635205746,
0.0717238262295723,
0.015536068007349968,
-0.023668160662055016,
0.06705686450004578,
-0.05533682554960251,
-0.029633449390530586,
0.02598409540951252,
-0.027878953143954277,
-0.05281035229563713,
0.05684569478034973,
0.029510634019970894,
-0.022720731794834137,
0.029668539762496948,
-0.053196340799331665,
0.0015845298767089844,
-0.02979135327041149,
0.01029889564961195,
0.004473966546356678,
-0.048704829066991806,
-0.006943420507013798,
0.02926500514149666,
0.01791341044008732,
0.00236199120990932,
0.034124959260225296,
0.02036970667541027,
0.02552792616188526,
0.03277399763464928,
-0.00890407059341669,
0.0073908171616494656,
-0.004767844919115305,
0.00904443021863699,
0.02624727040529251,
-0.01996617205440998,
-0.019229283556342125,
0.03437059000134468,
0.006066172383725643,
0.034265320748090744,
-0.017422152683138847,
-0.03607245162129402,
-0.038879647850990295,
-0.02535247802734375,
0.034844305366277695,
-0.03100195713341236,
0.04747667908668518,
0.020562700927257538,
0.024176964536309242,
0.023545345291495323,
-0.031107226386666298,
0.005311738699674606,
0.04888027906417847,
0.0060442411340773106,
0.005912654101848602,
0.007175891660153866,
-0.01704493537545204,
0.011667403392493725,
0.03065105713903904,
-0.006824992131441832,
-0.06817974150180817,
-0.04572218284010887,
-0.0008739586919546127,
-0.07530299574136734,
0.00966727640479803,
-0.03701987862586975,
-0.025229662656784058,
-0.01480795256793499,
-0.0017676554853096604,
-0.013176269829273224,
-0.04059905186295509,
-0.023387441411614418,
0.03916036710143089,
-0.07270634174346924,
-0.008101388812065125,
0.03856383636593819,
-0.004838024731725454,
-0.045967813581228256,
-0.019124014303088188,
0.036458440124988556,
-0.01812395080924034,
0.009930451400578022,
-0.01696598343551159,
0.033949512988328934,
0.007855759002268314,
0.02840530127286911,
-0.03449340537190437,
-0.004158157389611006,
-0.06214427202939987,
0.004965225700289011,
-0.013597349636256695,
0.00043533448479138315,
-0.005688955541700125,
-0.004432297311723232,
-0.04979261755943298,
-0.01487813238054514,
-0.03768659010529518,
0.0795137882232666,
0.006167056038975716,
0.03891473636031151,
-0.04944171756505966,
-0.02310672216117382,
0.12899059057235718,
-0.06428475677967072,
0.0042919376865029335,
-0.001121781300753355,
-0.06319697201251984,
-0.007855759002268314,
-0.05459993705153465,
0.009947996586561203,
0.07235544174909592,
-0.060144148766994476,
0.09460246562957764,
-0.027668412774801254,
-0.09719911962747574,
-0.007241684943437576,
0.048704829066991806,
0.018369579687714577,
-0.019580183550715446,
0.03786204010248184,
-0.03123004175722599,
0.031177407130599022,
0.022106658667325974,
-0.008333859033882618,
0.013834206387400627,
0.02391378954052925,
-0.0004060014907736331,
0.051406752318143845,
0.0024168191011995077,
0.051441844552755356,
-0.06821483373641968,
0.025334931910037994,
0.042704448103904724,
-0.033142443746328354,
-0.005241558887064457,
0.00549596082419157,
0.004846797324717045,
0.019580183550715446,
0.05196819081902504,
0.053512148559093475,
0.014755317009985447,
0.017983591184020042,
0.029773809015750885,
0.033089809119701385,
0.02903692051768303,
0.028054403141140938,
0.011588450521230698,
-0.02158030867576599,
-0.04649416357278824,
-0.04428349807858467,
0.03401969000697136,
0.05614389479160309,
0.022896181792020798,
-0.03203710913658142,
0.010281350463628769,
0.043862417340278625,
0.028054403141140938,
-0.016272956505417824,
0.03296699374914169,
-0.024247145280241966,
-0.05084531381726265,
-0.019808268174529076,
-0.07003951072692871,
-0.019404733553528786,
0.03577418625354767,
0.003129583550617099,
0.004230530001223087,
-0.03028261289000511,
-0.05361741781234741,
-0.0953744426369667,
-0.05435430631041527,
-0.014369327574968338,
-0.0469503328204155,
0.021597854793071747,
-0.007934710942208767,
-0.001914594555273652,
-0.0076101296581327915,
-0.005302966106683016,
-0.03410741686820984,
0.05968797951936722,
0.003278715768828988,
-0.04445894807577133,
-0.004495897796005011,
0.04944171756505966,
-0.007961029186844826,
0.028335122391581535,
-0.05084531381726265,
-0.01898365467786789,
-0.028826380148530006,
0.023001451045274734,
0.035967182368040085,
0.047546859830617905,
-0.03517765924334526,
-0.040774501860141754,
-0.006763584911823273,
0.059477437287569046,
-0.04203774034976959,
-0.03512502461671829,
0.045616913586854935,
-0.005724045448005199,
-0.008399653248488903,
-0.024843674153089523,
0.010570842772722244,
0.04814339056611061,
0.08625105768442154,
0.023931335657835007,
0.059968698769807816,
-0.002269880147650838,
-0.028107037767767906,
-0.023808520287275314,
-0.014079836197197437,
-0.02494894340634346,
-0.050108425319194794,
-0.004210792016237974,
-0.0024694541934877634,
-0.029738718643784523,
0.017571285367012024,
-0.008790028281509876,
0.04972243681550026,
0.016904575750231743,
-0.04021306335926056,
-0.046423982828855515,
-0.016948437318205833,
-0.06698668748140335,
-0.046774882823228836,
0.05459993705153465,
-0.04589763283729553,
0.030756326392292976,
0.0357215516269207,
-0.0414763018488884,
-0.04747667908668518,
0.024703312665224075,
-0.024615589529275894,
0.011439318768680096,
-0.009562007151544094,
-0.05196819081902504,
0.03621281310915947,
-0.04877500981092453,
0.050915494561195374,
0.011614767834544182,
0.02391378954052925,
0.004921363200992346,
-0.0682850107550621,
-0.003241432597860694,
0.006772357504814863,
-0.004794162232428789,
-0.009912906214594841,
-0.06488128751516342,
-0.028194762766361237,
-0.0020582438446581364,
0.03898491710424423,
0.0026997318491339684,
0.00434018624946475,
-0.008088230155408382,
0.034353043884038925,
0.009456736966967583,
-0.07067112624645233,
-0.1132001280784607,
-0.011448090896010399,
0.014781634323298931,
-0.001390438643284142,
-0.026984158903360367,
0.0050661093555390835,
0.023369895294308662,
-0.022808456793427467,
0.03530047461390495,
0.028650932013988495,
0.015518523752689362,
0.038844555616378784,
0.023369895294308662,
0.02310672216117382,
0.10239242762327194,
-0.06754812598228455,
-0.014676365070044994,
0.0184397604316473,
0.02422959916293621,
-0.01880820468068123,
0.042704448103904724,
0.0065969075076282024,
0.024492774158716202,
0.04309044033288956,
-0.0039673554711043835,
-0.029966803267598152,
-0.03382669761776924,
0.046283621340990067,
0.0613722950220108,
-0.005706500727683306,
-0.003383985487744212,
-0.006066172383725643,
0.030352793633937836,
0.041125401854515076,
0.054810475558042526,
-0.06428475677967072,
0.0023532186169177294,
0.06214427202939987,
-0.01431669294834137,
0.07825054973363876,
0.001686509931460023,
-0.021282045170664787,
0.02014162205159664,
-0.012255159206688404,
0.000324856024235487,
0.030949322506785393,
0.017518648877739906,
-0.016711581498384476,
-0.03459867462515831,
-0.033493343740701675,
-0.00008046012226259336
] |
708,798
|
pathvalidate._filepath
|
validate_filepath
|
Verifying whether the ``file_path`` is a valid file path or not.
Args:
file_path (PathType):
File path to be validated.
platform (Optional[PlatformType], optional):
Target platform name of the file path.
.. include:: platform.txt
min_len (int, optional):
Minimum byte length of the ``file_path``. The value must be greater or equal to one.
Defaults to ``1``.
max_len (Optional[int], optional):
Maximum byte length of the ``file_path``. If the value is |None| or minus,
automatically determined by the ``platform``:
- ``Linux``: 4096
- ``macOS``: 1024
- ``Windows``: 260
- ``universal``: 260
fs_encoding (Optional[str], optional):
Filesystem encoding that used to calculate the byte length of the file path.
If |None|, get the value from the execution environment.
check_reserved (bool, optional):
If |True|, check reserved names of the ``platform``.
Defaults to |True|.
additional_reserved_names (Optional[Sequence[str]], optional):
Additional reserved names to check.
Raises:
ValidationError (ErrorReason.INVALID_CHARACTER):
If the ``file_path`` includes invalid char(s):
|invalid_file_path_chars|.
The following characters are also invalid for Windows platforms:
|invalid_win_file_path_chars|
ValidationError (ErrorReason.INVALID_LENGTH):
If the ``file_path`` is longer than ``max_len`` characters.
ValidationError:
If ``file_path`` include invalid values.
Example:
:ref:`example-validate-file-path`
See Also:
`Naming Files, Paths, and Namespaces - Win32 apps | Microsoft Docs
<https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file>`__
|
def validate_filepath(
file_path: PathType,
platform: Optional[PlatformType] = None,
min_len: int = DEFAULT_MIN_LEN,
max_len: Optional[int] = None,
fs_encoding: Optional[str] = None,
check_reserved: bool = True,
additional_reserved_names: Optional[Sequence[str]] = None,
) -> None:
"""Verifying whether the ``file_path`` is a valid file path or not.
Args:
file_path (PathType):
File path to be validated.
platform (Optional[PlatformType], optional):
Target platform name of the file path.
.. include:: platform.txt
min_len (int, optional):
Minimum byte length of the ``file_path``. The value must be greater or equal to one.
Defaults to ``1``.
max_len (Optional[int], optional):
Maximum byte length of the ``file_path``. If the value is |None| or minus,
automatically determined by the ``platform``:
- ``Linux``: 4096
- ``macOS``: 1024
- ``Windows``: 260
- ``universal``: 260
fs_encoding (Optional[str], optional):
Filesystem encoding that used to calculate the byte length of the file path.
If |None|, get the value from the execution environment.
check_reserved (bool, optional):
If |True|, check reserved names of the ``platform``.
Defaults to |True|.
additional_reserved_names (Optional[Sequence[str]], optional):
Additional reserved names to check.
Raises:
ValidationError (ErrorReason.INVALID_CHARACTER):
If the ``file_path`` includes invalid char(s):
|invalid_file_path_chars|.
The following characters are also invalid for Windows platforms:
|invalid_win_file_path_chars|
ValidationError (ErrorReason.INVALID_LENGTH):
If the ``file_path`` is longer than ``max_len`` characters.
ValidationError:
If ``file_path`` include invalid values.
Example:
:ref:`example-validate-file-path`
See Also:
`Naming Files, Paths, and Namespaces - Win32 apps | Microsoft Docs
<https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file>`__
"""
FilePathValidator(
platform=platform,
min_len=min_len,
max_len=-1 if max_len is None else max_len,
fs_encoding=fs_encoding,
check_reserved=check_reserved,
additional_reserved_names=additional_reserved_names,
).validate(file_path)
|
(file_path: ~PathType, platform: Optional[~PlatformType] = None, min_len: int = 1, max_len: Optional[int] = None, fs_encoding: Optional[str] = None, check_reserved: bool = True, additional_reserved_names: Optional[Sequence[str]] = None) -> NoneType
|
[
0.020313046872615814,
0.002715660957619548,
-0.036563485860824585,
0.02942490018904209,
-0.03358423709869385,
-0.020622579380869865,
0.06821314990520477,
0.0004525094118434936,
0.001280447468161583,
-0.03696974739432335,
0.07246921211481094,
0.027277521789073944,
0.0814843401312828,
-0.0011039173696190119,
-0.014035348780453205,
0.03016003966331482,
0.04406964033842087,
-0.018455855548381805,
0.013203481212258339,
0.01018554251641035,
0.01917164772748947,
0.0009261782397516072,
-0.011056101880967617,
-0.018097957596182823,
0.0315142422914505,
0.0906929224729538,
-0.025342945009469986,
0.020177626982331276,
0.030353497713804245,
-0.050260283052921295,
0.023466406390070915,
0.0462750568985939,
0.02619415894150734,
0.0507245808839798,
-0.017150016501545906,
-0.05204009264707565,
0.02126098982989788,
-0.016076326370239258,
-0.05053112283349037,
-0.07629967480897903,
-0.07804079353809357,
0.04283151030540466,
0.0007460208726115525,
0.02162855863571167,
-0.028554340824484825,
-0.038420677185058594,
-0.03253956884145737,
0.021976783871650696,
-0.05865634232759476,
0.04302496835589409,
0.016192400828003883,
-0.004655073396861553,
-0.029521629214286804,
-0.025633132085204124,
0.0024254745803773403,
-0.009619679301977158,
0.02942490018904209,
0.02927013486623764,
-0.018823424354195595,
-0.04159338399767876,
0.02716144733130932,
-0.011394652538001537,
0.014722122810781002,
-0.08984170854091644,
-0.011104466393589973,
-0.027973968535661697,
0.022402388975024223,
-0.07084417343139648,
-0.030566299334168434,
0.042251139879226685,
-0.003791768802329898,
0.06608511507511139,
-0.021202951669692993,
-0.04051002115011215,
0.050028134137392044,
0.03325536102056503,
-0.0166760440915823,
0.0461202897131443,
0.013957965187728405,
-0.033429473638534546,
0.00729818781837821,
-0.0031727044843137264,
0.03623460605740547,
-0.04844178259372711,
0.0562574677169323,
0.004621218424290419,
-0.012226520106196404,
0.01508001983165741,
0.04155469313263893,
0.033719658851623535,
0.03323601558804512,
0.001658898894675076,
-0.02110622450709343,
-0.005818237084895372,
0.027200138196349144,
-0.02418220043182373,
0.057805128395557404,
0.011530072428286076,
-0.001404985785484314,
-0.021299680694937706,
-0.043760109692811966,
-0.00816391035914421,
0.006403446663171053,
-0.005547396373003721,
0.04391487315297127,
-0.00936818402260542,
0.000213256775168702,
-0.004802584648132324,
0.0018378471722826362,
-0.04341188445687294,
-0.021144915372133255,
-0.059391483664512634,
0.0029381371568888426,
0.03430003300309181,
0.006819380447268486,
0.013967638835310936,
0.0003977971791755408,
-0.0345902182161808,
0.005208845715969801,
-0.03553815931081772,
0.030353497713804245,
0.005310411099344492,
-0.04116777703166008,
-0.028244808316230774,
0.07386211305856705,
-0.04523038491606712,
0.0006426419713534415,
0.022499118000268936,
-0.020313046872615814,
0.03637002781033516,
-0.061635591089725494,
0.04592683166265488,
0.041361235082149506,
0.010243579745292664,
-0.047784026712179184,
0.009605169296264648,
0.034396760165691376,
0.03466759994626045,
-0.02778051048517227,
-0.0015633791917935014,
0.06507913768291473,
0.022363698109984398,
0.010001758113503456,
-0.05126626417040825,
0.02087407559156418,
-0.008797484450042248,
0.006369591224938631,
-0.03683432564139366,
-0.015060673467814922,
0.102068230509758,
-0.03052760846912861,
-0.004563181195408106,
0.01531216874718666,
0.02919275127351284,
0.03838198632001877,
-0.09169889986515045,
0.008381550200283527,
-0.04414702206850052,
0.005141135770827532,
0.01677277311682701,
-0.025265561416745186,
-0.03286844491958618,
0.020042207092046738,
-0.043527960777282715,
0.012816566042602062,
0.059081949293613434,
-0.01661800779402256,
-0.03553815931081772,
0.02087407559156418,
-0.011191521771252155,
-0.005252373870462179,
0.030972560867667198,
0.050028134137392044,
-0.0014630231307819486,
-0.010852971114218235,
-0.03368096798658371,
0.04116777703166008,
-0.00565379811450839,
0.018020575866103172,
-0.0046163820661604404,
0.039697498083114624,
-0.022653885185718536,
0.03801441937685013,
0.016946885734796524,
0.037608157843351364,
0.06728455424308777,
-0.05184663459658623,
0.030566299334168434,
0.04406964033842087,
-0.007868887856602669,
-0.059546247124671936,
0.03629264608025551,
0.04484347254037857,
0.02186070755124092,
-0.008081691339612007,
-0.036931056529283524,
0.07107631862163544,
-0.012845584191381931,
-0.04960252717137337,
0.006258353125303984,
0.07084417343139648,
0.007762486115098,
-0.013764508068561554,
-0.017411183565855026,
-0.055793169885873795,
-0.016898520290851593,
0.007602883502840996,
0.00944556761533022,
-0.0142578249797225,
0.014828524552285671,
-0.027529016137123108,
-0.08194863796234131,
-0.04341188445687294,
0.030140694230794907,
0.014625394716858864,
-0.02313752844929695,
-0.04387618228793144,
0.060590919107198715,
-0.04070347920060158,
0.07092155516147614,
0.07749911397695541,
0.05915933474898338,
0.017614314332604408,
-0.018688004463911057,
0.07858247309923172,
-0.0065823947079479694,
-0.020757999271154404,
0.03667955845594406,
0.00767543027177453,
0.023253602907061577,
-0.009295637719333172,
-0.05296868830919266,
-0.005687653552740812,
0.02209285832941532,
-0.009140871465206146,
0.019055573269724846,
0.0685613751411438,
-0.010079140774905682,
-0.02147379331290722,
-0.0011407952988520265,
-0.008681409992277622,
-0.013309882953763008,
-0.0007550891605205834,
-0.000646269298158586,
-0.03315863385796547,
-0.016550296917557716,
-0.01531216874718666,
0.030102001503109932,
0.007549682632088661,
-0.05320083722472191,
-0.007443280890583992,
0.06418923288583755,
-0.02770312875509262,
-0.008226783946156502,
0.004089209716767073,
0.052349627017974854,
-0.03391311690211296,
-0.04325711727142334,
0.025420328602194786,
0.03710516542196274,
-0.01301969587802887,
0.06291241198778152,
0.02126098982989788,
0.012013716623187065,
-0.015263804234564304,
-0.08945479243993759,
0.005136299412697554,
0.03613787889480591,
0.02822546288371086,
-0.032829754054546356,
-0.05262046679854393,
0.05204009264707565,
-0.04871262237429619,
0.0037047129590064287,
0.019258704036474228,
0.0071434215642511845,
-0.021454447880387306,
-0.006819380447268486,
0.09634188562631607,
0.02013893611729145,
-0.012710164301097393,
-0.010649840347468853,
0.00967771653085947,
0.008691082708537579,
0.024607805535197258,
0.035131897777318954,
-0.0521174781024456,
-0.056025318801403046,
-0.07072810083627701,
0.03884628415107727,
-0.029599012807011604,
-0.05428420007228851,
0.00677101593464613,
0.01148170791566372,
0.022189585492014885,
0.019403796643018723,
0.03774357587099075,
-0.05432289466261864,
0.013899927958846092,
-0.11158633977174759,
0.002834153827279806,
0.09556805342435837,
0.0255170576274395,
-0.0036877854727208614,
0.0017616732511669397,
-0.004193193279206753,
-0.03905908763408661,
-0.07529369741678238,
-0.04051002115011215,
-0.029773123562335968,
0.016076326370239258,
-0.04290889576077461,
-0.02267323061823845,
-0.01541857048869133,
0.10694336146116257,
0.06101652607321739,
0.031552933156490326,
-0.016269784420728683,
-0.022247623652219772,
0.001748373033478856,
0.04298627749085426,
0.03062433749437332,
-0.021280335262417793,
-0.010495075024664402,
-0.04151599854230881,
-0.043295811861753464,
0.0203710850328207,
-0.009252109564840794,
-0.012536052614450455,
-0.004877549596130848,
0.015428243204951286,
0.024762572720646858,
0.00202525919303298,
-0.04623636603355408,
-0.004282667767256498,
-0.012371613644063473,
-0.0034338722471147776,
-0.00035396695602685213,
0.023292293772101402,
0.04317973554134369,
0.03609918802976608,
-0.016898520290851593,
-0.011394652538001537,
-0.023621171712875366,
-0.027935277670621872,
-0.04364403337240219,
0.005992349237203598,
0.0073465523310005665,
0.00546517688781023,
0.007883396930992603,
0.013155116699635983,
0.029908545315265656,
-0.08434750884771347,
-0.0739394947886467,
-0.021609213203191757,
-0.04480477795004845,
-0.0024049198254942894,
0.033932462334632874,
0.003129176562651992,
0.04882869869470596,
0.08233555406332016,
-0.06651072204113007,
-0.011375307105481625,
-0.04790009930729866,
0.019810058176517487,
0.03211396187543869,
0.0574955977499485,
0.038420677185058594,
-0.05823073536157608,
0.031610969454050064,
0.01967463828623295,
0.009880846366286278,
0.056102704256772995,
-0.033874426037073135,
0.02903798595070839,
-0.009856664575636387,
-0.01313577126711607,
-0.01572810299694538,
-0.03814983740448952,
0.05509672313928604,
0.02514948695898056,
0.01917164772748947,
0.01589254103600979,
0.010262925177812576,
-0.03590572997927666,
0.011665493249893188,
0.01917164772748947,
-0.06391838937997818,
-0.04670066386461258,
0.03052760846912861,
0.025575093924999237,
0.01220717467367649,
0.063957080245018,
0.007375570945441723,
0.02050650492310524,
-0.0023130273912101984,
-0.02679387666285038,
0.0020288864616304636,
0.011646146886050701,
-0.005228191614151001,
-0.03503517061471939,
0.025110796093940735,
-0.05830812081694603,
0.01572810299694538,
-0.024298274889588356,
0.07715088874101639,
0.03787899762392044,
0.08504395931959152,
-0.03733731433749199,
0.028979947790503502,
0.0018366380827501416,
-0.029521629214286804,
-0.003414526581764221,
-0.03733731433749199,
0.024936683475971222,
0.044495247304439545,
-0.06863875687122345,
-0.03884628415107727,
0.07274005562067032,
-0.06117129325866699,
-0.06821314990520477,
-0.013513012789189816,
-0.006988655775785446,
0.0565670020878315,
0.04886738955974579,
0.006026204209774733,
-0.02671649493277073,
0.022731266915798187,
0.03279106318950653,
-0.031107980757951736,
-0.003293615533038974,
0.02754836156964302,
-0.017527258023619652,
-0.023311641067266464,
-0.04124515876173973,
-0.05598662793636322,
-0.023853322491049767,
-0.024046778678894043,
0.01411273144185543,
-0.06268025934696198,
-0.030585646629333496,
-0.004906568210572004,
0.007796341087669134,
0.05053112283349037,
-0.018852442502975464,
0.0018910480430349708,
-0.03787899762392044,
0.002279172418639064,
-0.010427364148199558,
-0.004901731852442026,
-0.06662679463624954,
0.0458107590675354,
0.05559971183538437,
-0.016637353226542473,
-0.015215439721941948,
-0.018533237278461456,
-0.05768905580043793,
-0.03669890761375427,
-0.06473091244697571,
-0.04372141510248184,
0.02994723618030548,
0.1043897196650505,
0.053781211376190186,
-0.10044318437576294,
0.01743052899837494,
0.03306190297007561,
-0.0021340791136026382,
0.010765914805233479,
0.058346811681985855,
0.037840306758880615,
-0.018620293587446213,
-0.03623460605740547,
-0.0020929693710058928,
0.048170942813158035,
0.04662328213453293,
0.01917164772748947,
0.0020409775897860527,
0.05915933474898338,
-0.02193809114396572,
0.030063310638070107,
0.05884980037808418,
-0.024433694779872894,
-0.0032597605604678392,
0.04685543105006218,
0.059236716479063034,
-0.004558344837278128,
-0.008009144105017185,
0.020699962973594666,
-0.08063312619924545,
-0.010978718288242817,
0.0169081948697567,
0.00974542647600174,
0.019558563828468323,
0.011820259504020214,
0.0014460955280810595,
0.01021456066519022,
0.0010168615262955427,
0.044340480118989944,
-0.002097805729135871,
0.008400896564126015,
0.028573686257004738,
-0.003740986343473196,
0.0076415748335421085,
0.051382336765527725,
0.003390344325453043,
0.02095145732164383,
-0.005141135770827532,
-0.02754836156964302,
-0.017411183565855026,
-0.04646851494908333,
-0.042483288794755936,
0.04101300984621048,
0.04085824266076088,
0.00021567499788943678,
-0.011617128737270832,
0.01709197834134102,
-0.011404325254261494,
-0.019964823499321938,
0.059468865394592285,
0.021222298964858055,
-0.06144213303923607,
-0.02139640972018242,
0.008807157166302204,
-0.026967989280819893,
-0.00042802494135685265,
0.015960251912474632,
0.008328349329531193,
-0.05277523398399353,
0.020835382863879204,
0.02950228378176689,
0.007573864888399839,
0.010311289690434933,
0.01594090647995472,
-0.009136035107076168,
0.016530951485037804,
0.00803332682698965,
-0.044650014489889145,
0.02747097797691822,
-0.07037987560033798,
0.02648434415459633,
-0.011268905363976955,
0.07134716212749481,
-0.05741821601986885,
-0.028902564197778702,
0.019142629578709602,
-0.036640867590904236,
0.04159338399767876,
-0.06461483985185623,
-0.0038570608012378216,
-0.02425958216190338,
-0.0030953215900808573,
-0.013493667356669903,
0.007912416011095047,
0.03944600373506546,
0.01836879923939705,
0.023892013356089592,
0.05629616230726242,
-0.018320433795452118,
0.0006934245466254652,
-0.03209461644291878,
-0.03756946697831154,
-0.009010287933051586,
-0.002055486897006631,
-0.0634927824139595,
-0.058346811681985855,
0.015718430280685425,
-0.01111413910984993,
-0.005000879056751728,
0.005566742271184921,
-0.02319556660950184,
-0.02365986444056034,
0.03420330211520195,
0.06028138846158981,
-0.03478367626667023,
-0.004055354744195938,
0.006282535381615162,
0.012864930555224419,
0.031630318611860275,
0.011317268945276737,
0.01275852881371975,
0.02149313874542713,
-0.0030421207193285227,
-0.01838814467191696,
0.0019865676295012236,
-0.023408370092511177,
0.004742129240185022,
-0.006147115025669336,
0.03718255087733269,
-0.05637354403734207,
-0.043295811861753464,
-0.02431762032210827,
0.009803463704884052,
0.04476608708500862,
0.008371877484023571,
-0.01818501390516758,
0.013193808495998383,
0.03294583037495613,
-0.003738568164408207,
0.051459722220897675,
0.015544317662715912,
-0.04499823600053787,
0.0025899135507643223,
0.0099147018045187,
0.007390080019831657,
0.03180442750453949,
0.02087407559156418,
0.037047129124403,
0.011684838682413101,
-0.03600245714187622,
0.005436158273369074,
-0.0031049945391714573,
-0.007293351460248232,
-0.0002969876513816416,
-0.03669890761375427,
0.058269429951906204,
0.034454796463251114,
-0.02478191815316677,
-0.027412941679358482,
-0.0005220332532189786,
-0.027935277670621872,
-0.009668043814599514,
-0.0067323241382837296,
0.07749911397695541,
-0.017798099666833878,
-0.004106137435883284,
0.010359654203057289,
-0.07475201785564423,
-0.012507033534348011,
-0.08349630236625671,
-0.022286314517259598,
0.006442137993872166,
-0.07107631862163544,
-0.027645090594887733,
-0.013648433610796928,
0.015583009459078312,
-0.06515651941299438,
-0.009285965003073215,
0.0004286294861230999,
0.03478367626667023,
-0.012294230051338673,
-0.021744633093476295,
-0.05068589001893997,
-0.017962537705898285,
0.04213506355881691,
-0.04213506355881691,
0.029889198020100594,
-0.017333799973130226,
-0.0336616225540638,
0.06608511507511139,
-0.008705591782927513,
0.036563485860824585,
0.06275764107704163,
-0.023969396948814392,
-0.074094258248806,
0.07722827047109604,
0.0044325971975922585,
0.03453218191862106,
-0.06473091244697571,
0.020699962973594666,
0.021880054846405983,
0.013445302844047546,
-0.00041744523332454264,
-0.01066918671131134,
0.024143507704138756,
-0.03737600892782211,
-0.031320784240961075,
0.0573408305644989,
-0.07459724694490433,
-0.005576415453106165,
0.017411183565855026,
-0.028032004833221436,
-0.030798450112342834,
-0.0011353542795404792,
0.009542295709252357,
0.07293351739645004,
0.04573337733745575,
-0.027645090594887733,
0.019810058176517487,
0.004210120998322964,
0.02441434934735298,
0.03944600373506546,
0.04391487315297127,
-0.03905908763408661,
0.003637002781033516,
0.036563485860824585,
0.007602883502840996,
0.00018091307720169425,
0.05478719249367714,
0.01930706761777401,
0.015621701255440712,
-0.0034459633752703667,
0.003327470738440752,
-0.011965352110564709,
-0.01241997815668583,
-0.05861765146255493,
-0.03406788408756256,
0.036273300647735596,
0.03590572997927666,
-0.018097957596182823,
0.006949963979423046,
-0.025420328602194786,
0.02081603743135929,
-0.0028462449554353952,
-0.02507210522890091,
0.003651512088254094,
0.012942313216626644,
-0.05869503319263458,
-0.016627680510282516,
0.03706647455692291,
-0.001997449668124318,
0.04735841974616051,
-0.015699084848165512,
0.00827031210064888,
-0.11065774410963058,
0.0016431804979220033,
-0.049525145441293716,
-0.035228628665208817,
-0.05881110951304436,
0.06906436383724213,
-0.043527960777282715,
0.007530336733907461,
-0.013619414530694485,
0.0064179557375609875,
-0.04406964033842087,
-0.06937389075756073,
-0.007404589559882879,
-0.03931058198213577,
0.01784646324813366,
0.023156873881816864,
0.018823424354195595,
-0.004967023618519306,
0.014431936666369438,
-0.07355257868766785,
0.02186070755124092,
0.004391487222164869,
-0.030779102817177773,
-0.013454975560307503,
0.009334328584372997,
-0.003927189391106367,
0.05486457422375679,
-0.027219483628869057,
0.031862467527389526,
-0.02178332582116127,
-0.08233555406332016,
0.05308476462960243,
0.04511431232094765,
0.005721508525311947,
0.008850685320794582,
0.0004558344662655145,
0.014431936666369438,
-0.05173056200146675,
-0.014344880357384682,
-0.04139992594718933,
-0.013725816272199154,
0.01384189072996378,
-0.015341187827289104,
-0.02588462643325329,
0.03592507541179657,
-0.0031944685615599155,
-0.015399225056171417,
-0.07219837605953217,
0.06546605378389359,
0.004294758662581444,
0.01265212707221508,
0.014373899437487125,
0.024511078372597694,
-0.03646675869822502,
0.01497361809015274
] |
708,799
|
pathvalidate._ltsv
|
validate_ltsv_label
|
Verifying whether ``label`` is a valid
`Labeled Tab-separated Values (LTSV) <http://ltsv.org/>`__ label or not.
:param label: Label to validate.
:raises pathvalidate.ValidationError:
If invalid character(s) found in the ``label`` for a LTSV format label.
|
def validate_ltsv_label(label: str) -> None:
"""
Verifying whether ``label`` is a valid
`Labeled Tab-separated Values (LTSV) <http://ltsv.org/>`__ label or not.
:param label: Label to validate.
:raises pathvalidate.ValidationError:
If invalid character(s) found in the ``label`` for a LTSV format label.
"""
validate_pathtype(label, allow_whitespaces=False)
match_list = __RE_INVALID_LTSV_LABEL.findall(to_str(label))
if match_list:
raise InvalidCharError(f"invalid character found for a LTSV format label: {match_list}")
|
(label: str) -> NoneType
|
[
0.015208842232823372,
0.04264527186751366,
-0.025629879906773567,
-0.004689912311732769,
-0.05403633043169975,
-0.008231819607317448,
0.021571815013885498,
0.061298128217458725,
0.05314640328288078,
-0.0381244458258152,
-0.02121584489941597,
-0.05645693093538284,
0.0074397847056388855,
-0.04624057561159134,
-0.03212634101510048,
0.03605981916189194,
0.009041652083396912,
0.021625211462378502,
-0.021909987553954124,
0.01353578083217144,
-0.03719892352819443,
0.010109564289450645,
0.03342563658952713,
-0.0037799624260514975,
0.014425707049667835,
0.018225692212581635,
-0.013695967383682728,
-0.04399796202778816,
0.009593406692147255,
-0.02134043537080288,
0.04563542455434799,
0.0090639004483819,
-0.06186768412590027,
0.03198395296931267,
-0.006558757741004229,
-0.036522578448057175,
-0.00483230035752058,
-0.08685681968927383,
-0.02972354181110859,
-0.041470568627119064,
-0.018457073718309402,
-0.011702531948685646,
-0.031699176877737045,
0.013464586809277534,
-0.03426216542720795,
-0.0336926132440567,
-0.019720768555998802,
-0.02721394971013069,
-0.019258007407188416,
-0.004307243973016739,
0.0032949524465948343,
0.03766168653964996,
-0.049729086458683014,
-0.03269589692354202,
-0.01144445315003395,
-0.01761164329946041,
0.03922795504331589,
0.0457066185772419,
-0.03326544910669327,
0.003512984374538064,
0.00339951878413558,
0.028940405696630478,
0.0034106429666280746,
0.03326544910669327,
0.030666863545775414,
-0.03890758380293846,
0.0597318597137928,
-0.008707929402589798,
-0.013037421740591526,
-0.015902984887361526,
-0.05766722932457924,
-0.018902037292718887,
-0.03193055838346481,
0.05574499070644379,
0.019275804981589317,
0.006901379209011793,
-0.011693633161485195,
-0.06464425474405289,
0.0005353463348001242,
-0.030043914914131165,
-0.03694974258542061,
-0.04716609790921211,
0.0826563611626625,
-0.007924794219434261,
-0.02653760462999344,
-0.026964770630002022,
-0.011195274069905281,
-0.01015406008809805,
0.0031903861090540886,
0.04602699354290962,
-0.030577870085835457,
-0.04342840984463692,
-0.03200175240635872,
0.007359691429883242,
-0.032215334475040436,
-0.01881304383277893,
0.07425545901060104,
-0.000021031462893006392,
-0.07354351878166199,
-0.05257685109972954,
0.03670056536793709,
-0.03823123872280121,
-0.007061565760523081,
0.0647154450416565,
-0.026768986135721207,
-0.05015625059604645,
0.0031814868561923504,
0.006055949255824089,
0.017567146569490433,
-0.013526881113648415,
0.02174980193376541,
-0.002402801299467683,
0.06400350481271744,
0.04773565009236336,
0.00444963201880455,
0.005526443012058735,
0.023316072300076485,
-0.029581153765320778,
-0.09710876643657684,
-0.05022744461894035,
0.02845984697341919,
-0.005829018075019121,
-0.09212517738342285,
-0.029331974685192108,
0.021376032382249832,
0.0298659298568964,
0.0324111208319664,
-0.007319644559174776,
-0.03883638605475426,
0.055602602660655975,
0.02721394971013069,
0.0648222416639328,
-0.002151397056877613,
-0.010180758312344551,
0.004609818570315838,
-0.02819286845624447,
0.01968517154455185,
0.05122416466474533,
-0.005223867949098349,
-0.0368073545396328,
0.017246773466467857,
0.030702460557222366,
-0.0011446678545325994,
-0.06272201240062714,
-0.0006045937188901007,
0.04876796528697014,
-0.051900506019592285,
-0.012912832200527191,
0.05887753143906593,
0.020130135118961334,
-0.015137648209929466,
0.02237274870276451,
-0.029759138822555542,
-0.006923627573996782,
0.003403968410566449,
-0.03922795504331589,
0.013366694562137127,
-0.0736147090792656,
0.07318754494190216,
-0.02210577204823494,
0.010990590788424015,
-0.027730107307434082,
-0.007809103932231665,
-0.0158762875944376,
-0.0020557299721986055,
0.04246728867292404,
0.020397113636136055,
0.004605369176715612,
-0.016606027260422707,
-0.014594793319702148,
-0.00851659569889307,
-0.018617259338498116,
0.03465373441576958,
0.07774396985769272,
0.005575388669967651,
-0.021055659279227257,
0.0330340676009655,
0.01941819302737713,
0.023956818506121635,
-0.0079381437972188,
0.030079511925578117,
0.04944431036710739,
-0.006438617594540119,
0.007786856032907963,
-0.000728071026969701,
-0.015021957457065582,
-0.003635349217802286,
0.043784379959106445,
-0.07461142539978027,
-0.0015874061500653625,
-0.009655700996518135,
0.0028054930735379457,
0.02680458314716816,
-0.009388723410665989,
-0.023814430460333824,
0.044282738119363785,
0.03727011755108833,
-0.0041426075622439384,
-0.04371318593621254,
-0.03123641572892666,
0.0737570971250534,
-0.014132031239569187,
0.0037421404849737883,
-0.004365088883787394,
0.014763878658413887,
0.024864543229341507,
-0.0197029709815979,
-0.012992925010621548,
-0.0368429534137249,
-0.031183021143078804,
0.016801809892058372,
-0.02174980193376541,
0.014078635722398758,
0.10785908252000809,
0.00241615017876029,
0.011524546891450882,
-0.11462251842021942,
0.042752064764499664,
-0.013838355429470539,
-0.013090817257761955,
0.0750385969877243,
0.007929244078695774,
0.018457073718309402,
-0.0010056168539449573,
0.005121526308357716,
-0.016428040340542793,
0.012556861154735088,
0.04406915605068207,
0.0003570829576347023,
0.059411484748125076,
-0.024668758735060692,
-0.041221391409635544,
0.007257349789142609,
0.021909987553954124,
-0.03468932956457138,
0.022283757105469704,
0.034137576818466187,
-0.003986870404332876,
0.029670145362615585,
0.007746809162199497,
-0.005023634526878595,
-0.05047662556171417,
-0.0010117350611835718,
-0.06339835375547409,
0.060657382011413574,
0.04100780934095383,
-0.022657526656985283,
0.01468378584831953,
-0.023066891357302666,
0.004053614567965269,
-0.02388562448322773,
0.005909111350774765,
-0.012423372827470303,
0.0406874343752861,
-0.0032882781233638525,
-0.019969947636127472,
0.03061346709728241,
0.009789190255105495,
0.02580786496400833,
0.013331097550690174,
-0.057240065187215805,
0.034511346369981766,
0.012165294028818607,
0.01647253707051277,
-0.014781677164137363,
0.04139937460422516,
-0.006545408628880978,
0.01891983486711979,
0.0991733968257904,
-0.04079422727227211,
0.05314640328288078,
0.01162243913859129,
-0.024241594597697258,
-0.013820556923747063,
0.023939020931720734,
-0.01639244332909584,
0.007644467521458864,
0.008080531843006611,
0.04819841310381889,
-0.0022014554124325514,
0.023458460345864296,
-0.036522578448057175,
0.008107229135930538,
-0.0012292108731344342,
-0.017602743580937386,
0.005326209589838982,
-0.0034262165427207947,
-0.12302342802286148,
-0.018038807436823845,
-0.03340783715248108,
-0.016499236226081848,
-0.005166022572666407,
0.028940405696630478,
0.013998541980981827,
-0.009090597741305828,
0.03766168653964996,
0.043250422924757004,
-0.029331974685192108,
0.0006407470209524035,
0.0005370149738155305,
-0.01867065578699112,
-0.05147334188222885,
0.02454417012631893,
-0.0349385105073452,
-0.05574499070644379,
-0.000894376018550247,
0.014007441699504852,
0.004756656475365162,
-0.0029167337343096733,
-0.044781096279621124,
-0.021785398945212364,
0.07215522974729538,
0.04182653874158859,
-0.06371872872114182,
0.047344084829092026,
0.11476490646600723,
-0.01625005528330803,
-0.03961952403187752,
-0.03269589692354202,
-0.04332161694765091,
-0.003577504074200988,
0.0017442557727918029,
-0.00574892433360219,
-0.03887198492884636,
-0.030720259994268417,
0.015280036255717278,
0.07866949588060379,
-0.06314917653799057,
-0.02755212038755417,
0.033995188772678375,
0.018261289224028587,
-0.004178204573690891,
0.016356846317648888,
-0.047700054943561554,
0.012797141447663307,
-0.024811148643493652,
-0.00565103255212307,
0.03460033982992172,
-0.0349385105073452,
-0.0008559979614801705,
0.05232767015695572,
-0.007818003185093403,
0.007702312897890806,
-0.014318916015326977,
0.06521380692720413,
0.01353578083217144,
-0.04214691370725632,
0.039833106100559235,
0.06343395262956619,
0.06909388303756714,
-0.032980673015117645,
0.051259759813547134,
-0.02719615027308464,
-0.014345613308250904,
-0.03269589692354202,
-0.020895471796393394,
0.04812721908092499,
0.032322127372026443,
0.006042600143700838,
-0.030417684465646744,
-0.0025273910723626614,
-0.07931023836135864,
-0.005664381664246321,
-0.04474549740552902,
0.020539501681923866,
-0.042396094650030136,
0.0432148240506649,
-0.023173682391643524,
-0.04026027023792267,
0.06784798949956894,
-0.01258355937898159,
0.04538624733686447,
0.010269750840961933,
-0.02527390979230404,
-0.009824787266552448,
-0.005615435540676117,
0.015680503100156784,
-0.003586403327062726,
-0.029670145362615585,
-0.004525275900959969,
0.07439784705638885,
0.006420819088816643,
0.06300678849220276,
0.026324022561311722,
0.021571815013885498,
-0.024615364149212837,
0.006398570723831654,
0.028637832030653954,
-0.005295061971992254,
-0.019631776958703995,
0.013197608292102814,
-0.00012424206943251193,
0.10209235548973083,
-0.016606027260422707,
0.057738423347473145,
-0.012868335470557213,
-0.056599318981170654,
-0.02388562448322773,
0.08222919702529907,
-0.0008888139855116606,
-0.010892699472606182,
0.05275483801960945,
-0.0813036784529686,
0.04001108929514885,
-0.022159166634082794,
0.05759603530168533,
-0.00985148549079895,
-0.0027187252417206764,
-0.06827515363693237,
-0.028513241559267044,
0.04204012453556061,
0.055602602660655975,
0.001052894163876772,
-0.07461142539978027,
0.0011680283350870013,
0.03223313391208649,
-0.010554526932537556,
0.03965511918067932,
-0.012503465637564659,
0.0008977132383733988,
-0.02972354181110859,
-0.0380888506770134,
0.020753083750605583,
0.012423372827470303,
0.07226202636957169,
0.02616383507847786,
-0.022194763645529747,
-0.008707929402589798,
0.029331974685192108,
-0.03737690672278404,
-0.028103874996304512,
0.026662195101380348,
0.005143774673342705,
-0.05553140863776207,
-0.01200510747730732,
-0.03050667606294155,
-0.03228652849793434,
0.013509082607924938,
0.007809103932231665,
0.004414035007357597,
0.00676789041608572,
0.010305347852408886,
0.03986870124936104,
0.05239886790513992,
0.01908002234995365,
-0.007488730829209089,
0.004716610070317984,
-0.008672332391142845,
-0.004204902332276106,
-0.02924298122525215,
-0.027391934767365456,
0.008307462558150291,
0.015253338031470776,
0.023939020931720734,
-0.01575169712305069,
-0.0032148591708391905,
-0.030275296419858932,
-0.05734685808420181,
-0.026021447032690048,
0.03522328659892082,
-0.042752064764499664,
0.042004525661468506,
0.01309971697628498,
0.04663214460015297,
-0.006327376700937748,
-0.027516523376107216,
0.050013862550258636,
-0.012165294028818607,
0.03723451867699623,
0.028922608122229576,
-0.08493457734584808,
-0.01932920143008232,
0.05325319617986679,
0.0311296246945858,
0.005873514339327812,
0.0381600446999073,
0.023316072300076485,
-0.008885915391147137,
-0.03328324854373932,
0.008912612684071064,
0.024437379091978073,
-0.009700197726488113,
0.006122693419456482,
0.02310248836874962,
0.020165732130408287,
0.029509959742426872,
-0.002801043214276433,
0.05649252608418465,
0.008160624653100967,
0.0026497559156268835,
-0.03837362676858902,
-0.0266977921128273,
-0.01468378584831953,
0.016899703070521355,
0.040473852306604385,
0.018991028890013695,
0.008338610641658306,
0.07646247744560242,
0.01144445315003395,
0.03582843765616417,
0.03465373441576958,
0.0012781567638739944,
-0.012369977310299873,
-0.021251441910862923,
-0.0008999380515888333,
-0.012085200287401676,
0.06076417490839958,
0.00030563410837203264,
0.02326267585158348,
-0.027338538318872452,
-0.03383500128984451,
0.01155124418437481,
0.043641991913318634,
0.059909846633672714,
0.0034840619191527367,
0.05691969394683838,
-0.007101612631231546,
-0.0011635787086561322,
0.026003649458289146,
0.0055397916585206985,
-0.03465373441576958,
-0.07610650360584259,
0.036664966493844986,
-0.10714713484048843,
-0.010207455605268478,
-0.00167528644669801,
-0.03961952403187752,
-0.026377419009804726,
0.01606317050755024,
0.00006462394958361983,
0.008053833618760109,
-0.016428040340542793,
0.04638296365737915,
-0.04029586538672447,
-0.030435482040047646,
0.036664966493844986,
-0.049764685332775116,
-0.013010723516345024,
-0.041862137615680695,
0.005063681397587061,
-0.029652347788214684,
-0.025451894849538803,
0.018902037292718887,
0.04392676800489426,
0.0323755219578743,
0.020503904670476913,
-0.026484210044145584,
-0.011836021207273006,
-0.10864221304655075,
-0.0037599389906972647,
0.046560950577259064,
-0.014950763434171677,
-0.02018352970480919,
-0.016899703070521355,
-0.055353421717882156,
0.002212579594925046,
-0.02390342205762863,
0.06329156458377838,
0.015662703663110733,
0.012788242660462856,
-0.025843461975455284,
-0.013695967383682728,
0.05133095383644104,
-0.03607761487364769,
-0.00971799623221159,
-0.0311296246945858,
-0.05424991250038147,
-0.025950253009796143,
-0.024864543229341507,
0.0336570180952549,
0.04179094359278679,
-0.057240065187215805,
0.0241348035633564,
-0.030275296419858932,
-0.030186302959918976,
0.03023969940841198,
0.02198118157684803,
0.051758117973804474,
-0.03340783715248108,
0.02452637068927288,
-0.016775112599134445,
0.031948357820510864,
0.019471589475870132,
0.026252828538417816,
-0.00043244860717095435,
0.006972573231905699,
-0.0008354184101335704,
0.0444607213139534,
-0.04819841310381889,
0.0444963201880455,
-0.06044379994273186,
0.01734466478228569,
0.0317525751888752,
-0.022960100322961807,
-0.011079583317041397,
-0.015538115054368973,
-0.002692027250304818,
-0.005740025080740452,
0.024597564712166786,
0.04018907621502876,
0.0015417974209412932,
0.014479102566838264,
-0.016089869663119316,
0.03727011755108833,
0.06272201240062714,
-0.010527829639613628,
0.03659377247095108,
-0.022390548139810562,
-0.010456634685397148,
-0.01720227673649788,
0.059411484748125076,
-0.003512984374538064,
0.020753083750605583,
-0.05503304675221443,
0.023316072300076485,
0.03214414045214653,
0.0444607213139534,
-0.03579283878207207,
0.039833106100559235,
-0.01778072863817215,
-0.010011672042310238,
-0.016490336507558823,
0.032571304589509964,
-0.006914727855473757,
0.013580276630818844,
-0.017629442736506462,
-0.012485667131841183,
-0.03922795504331589,
-0.02514931932091713,
-0.11576162278652191,
-0.04520826041698456,
-0.0380888506770134,
-0.051758117973804474,
-0.009878182783722878,
0.0013638122472912073,
-0.047308485954999924,
-0.004124809056520462,
-0.06386111676692963,
-0.005624334793537855,
0.05168692395091057,
-0.08742637187242508,
-0.030560072511434555,
0.01684630662202835,
0.050761401653289795,
0.008658983744680882,
0.044033557176589966,
-0.04431833326816559,
-0.007786856032907963,
0.02504252828657627,
0.043535199016332626,
0.05439230054616928,
0.06400350481271744,
-0.03198395296931267,
-0.04969349130988121,
-0.02821066603064537,
0.0533955842256546,
-0.0025029180105775595,
-0.007390838582068682,
0.023832228034734726,
-0.01187161821871996,
-0.02210577204823494,
-0.036024220287799835,
0.017211176455020905,
0.03951273113489151,
0.05158013477921486,
0.02769451029598713,
0.0533955842256546,
-0.023476257920265198,
-0.038800790905952454,
-0.0380888506770134,
-0.07283157855272293,
-0.00803158525377512,
-0.03801765665411949,
0.006451966241002083,
0.027018165215849876,
-0.04666773974895477,
-0.011729230172932148,
-0.050013862550258636,
0.05015625059604645,
-0.0009372037602588534,
-0.02580786496400833,
0.023850027471780777,
0.01701539196074009,
-0.0813748687505722,
-0.03922795504331589,
0.03417317196726799,
-0.001594080706126988,
0.03534787520766258,
0.07902546226978302,
-0.041221391409635544,
-0.007951492443680763,
0.0610133521258831,
-0.00871237926185131,
0.049230728298425674,
-0.0673140361905098,
-0.0228889063000679,
0.04460310935974121,
-0.015991976484656334,
-0.011960610747337341,
0.022461742162704468,
-0.021767599508166313,
-0.05691969394683838,
-0.03593522682785988,
0.05150894075632095,
0.021945584565401077,
0.006839084438979626,
-0.0431792289018631,
-0.059162307530641556,
0.0065810056403279305,
0.008472098968923092,
0.017371363937854767,
-0.014043038710951805,
0.01568940281867981,
-0.061048950999975204,
0.011515647172927856,
-0.008400904946029186,
-0.05549580976366997,
-0.07553695142269135,
0.014790576882660389,
-0.007448683958500624,
-0.009326428174972534,
-0.04506587237119675,
-0.016490336507558823,
0.01868845336139202,
-0.030275296419858932,
0.009762492962181568,
-0.025238312780857086,
0.05446349456906319,
0.0017509302124381065,
0.015110949985682964,
-0.004970239009708166,
0.08415143936872482,
-0.07211963832378387,
0.03242891654372215,
-0.008058283478021622,
0.025451894849538803,
-0.029670145362615585,
0.060159023851156235,
0.0647510439157486,
0.03212634101510048,
0.06880910694599152,
-0.006576556246727705,
0.017255673184990883,
-0.08244278281927109,
0.014995260164141655,
0.08593129366636276,
-0.01606317050755024,
0.019524985924363136,
0.016161063686013222,
-0.002040156163275242,
0.03536567464470863,
-0.00448077917098999,
-0.05093938857316971,
0.0005600973963737488,
0.03712772950530052,
-0.020361516624689102,
0.07532337307929993,
-0.029759138822555542,
-0.04762886092066765,
0.013544679619371891,
-0.044923484325408936,
-0.0032882781233638525,
0.0010356518905609846,
0.046311769634485245,
-0.01226318534463644,
-0.04271646589040756,
-0.0024628713726997375,
0.014372311532497406
] |
708,800
|
pathvalidate._common
|
validate_pathtype
| null |
def validate_pathtype(
text: PathType, allow_whitespaces: bool = False, error_msg: Optional[str] = None
) -> None:
from .error import ErrorReason, ValidationError
if _is_not_null_string(text) or isinstance(text, PurePath):
return
if allow_whitespaces and _re_whitespaces.search(str(text)):
return
if is_null_string(text):
raise ValidationError(reason=ErrorReason.NULL_NAME)
raise TypeError(f"text must be a string: actual={type(text)}")
|
(text: ~PathType, allow_whitespaces: bool = False, error_msg: Optional[str] = None) -> NoneType
|
[
0.05157819762825966,
-0.0043467250652611256,
0.10951099544763565,
0.010388011112809181,
-0.0354975201189518,
-0.03936323896050453,
0.06072176620364189,
0.011041123420000076,
0.02570084109902382,
-0.011129382066428661,
0.07385461032390594,
0.023053089156746864,
0.06287527084350586,
-0.0019427875522524118,
-0.05602642148733139,
-0.00499101122841239,
0.0063325390219688416,
0.02822503075003624,
0.01918737217783928,
0.028895793482661247,
-0.030978690832853317,
0.006041286047548056,
0.028189726173877716,
-0.007797628175467253,
0.00759904645383358,
0.06361664086580276,
0.027642525732517242,
0.0027448355685919523,
0.015162790194153786,
-0.016822047531604767,
0.03805701434612274,
-0.011358853429555893,
-0.00107564905192703,
0.043740853667259216,
-0.020246472209692,
-0.016089502722024918,
-0.011535370722413063,
-0.007727021351456642,
-0.038339439779520035,
-0.05930963158607483,
-0.0273600984364748,
0.0963781550526619,
-0.008892032317817211,
-0.021676259115338326,
-0.020193517208099365,
-0.0288251880556345,
-0.007757911458611488,
0.07505492866039276,
-0.08119770884513855,
0.02370620146393776,
-0.0338912196457386,
0.014394941739737988,
-0.04116370901465416,
-0.021305572241544724,
0.0338912196457386,
0.0007976351189427078,
0.0415167436003685,
0.0444469191133976,
0.009567208588123322,
-0.06488756090402603,
0.012029617093503475,
-0.01874607987701893,
0.0150745315477252,
-0.037033215165138245,
0.010741044767200947,
-0.050413187593221664,
0.003245702013373375,
-0.04508237913250923,
0.012259089387953281,
0.01280629076063633,
-0.02155269682407379,
0.004682106897234917,
-0.06001570075750351,
0.02215285412967205,
0.07583159953355789,
-0.035126835107803345,
0.007744672708213329,
0.03406773507595062,
0.037915799766778946,
-0.009717247448861599,
0.0035060641821473837,
0.006301648449152708,
-0.02848980575799942,
-0.047553613781929016,
-0.005004249978810549,
0.02058185450732708,
-0.032708555459976196,
-0.019416844472289085,
0.020740719512104988,
-0.0007176509825512767,
-0.028807535767555237,
-0.09673118591308594,
-0.009743724949657917,
0.010079107247292995,
-0.020087607204914093,
-0.000323797925375402,
0.04158734902739525,
-0.0775967687368393,
-0.035815250128507614,
0.030007850378751755,
-0.010132062248885632,
0.024376964196562767,
-0.00008715515286894515,
0.03724503517150879,
0.03865716978907585,
-0.030537400394678116,
0.003978246357291937,
-0.007528440095484257,
-0.004234195686876774,
0.02224111184477806,
0.014359638094902039,
-0.021411484107375145,
0.024094538763165474,
0.022700056433677673,
0.051119253039360046,
0.004377615638077259,
-0.0278719961643219,
-0.05888599157333374,
0.003356024855747819,
-0.025983266532421112,
0.06142783164978027,
0.032002490013837814,
-0.03788049519062042,
-0.028772233054041862,
0.0528138168156147,
0.056767791509628296,
-0.022982481867074966,
-0.01894024759531021,
0.011879578232765198,
0.021782169118523598,
-0.040175214409828186,
0.07392521947622299,
-0.0037620135117322206,
0.03615063428878784,
-0.07505492866039276,
0.07392521947622299,
0.00008081158011918887,
0.00599715718999505,
-0.027571918442845345,
-0.03207309544086456,
0.022647101432085037,
0.03449137508869171,
-0.005595581140369177,
-0.051295772194862366,
-0.007846170105040073,
0.03325575962662697,
-0.010661612264811993,
-0.03939853981137276,
0.030360883101820946,
0.04769482836127281,
-0.02831328846514225,
-0.011703060939908028,
0.011076427064836025,
-0.010432140901684761,
0.009143568575382233,
-0.01688382774591446,
-0.012020791880786419,
-0.027642525732517242,
0.005953027866780758,
-0.02118201181292534,
-0.006729701533913612,
-0.06926517933607101,
0.002519776811823249,
0.01181779708713293,
0.009046483784914017,
0.07208944857120514,
0.05306093767285347,
-0.03646836429834366,
-0.013256409205496311,
0.000672970141749829,
0.047447703778743744,
-0.005913311615586281,
-0.02518894150853157,
0.025683188810944557,
0.03179067000746727,
0.017784064635634422,
0.020370034500956535,
0.006672333460301161,
-0.021076101809740067,
-0.007294555194675922,
0.03553282469511032,
0.010361533612012863,
-0.022629449144005775,
0.06428740173578262,
0.06428740173578262,
0.004276118706911802,
-0.035903509706258774,
0.012259089387953281,
0.018728427588939667,
0.017872322350740433,
-0.09383630752563477,
0.035391610115766525,
0.02335316687822342,
0.016521969810128212,
-0.002060833154246211,
-0.038763079792261124,
0.03837474435567856,
-0.03327341005206108,
-0.03728033974766731,
0.02900170348584652,
-0.008494868874549866,
-0.02059950679540634,
0.005255786702036858,
0.021658606827259064,
0.0049468823708593845,
-0.024888863787055016,
0.03879838436841965,
0.039645664393901825,
-0.0660172700881958,
0.03166710585355759,
-0.04119901359081268,
-0.012197308242321014,
0.008790534920990467,
0.02552432380616665,
0.02354733645915985,
-0.007766737602651119,
-0.00727249076589942,
0.05246078222990036,
-0.003490618895739317,
0.04691815376281738,
0.05115455761551857,
0.11353558301925659,
0.048683322966098785,
0.011305898427963257,
0.04427040368318558,
-0.007413703948259354,
0.002936797682195902,
0.019169719889760017,
-0.019787529483437538,
-0.008900857530534267,
-0.0016416058642789721,
-0.028330940753221512,
-0.028419198468327522,
0.010326230898499489,
-0.037739284336566925,
-0.039998698979616165,
0.06407558172941208,
-0.04349372908473015,
0.016698485240340233,
-0.04084597900509834,
-0.02683054842054844,
-0.03586820513010025,
-0.07505492866039276,
-0.014324335381388664,
-0.01601889543235302,
0.007854996249079704,
-0.013874217867851257,
-0.007974145002663136,
-0.00899352878332138,
-0.025294851511716843,
-0.02492416650056839,
0.047553613781929016,
-0.009876112453639507,
-0.01734277233481407,
-0.022947179153561592,
0.031737715005874634,
-0.023211954161524773,
-0.033820610493421555,
0.03309689462184906,
0.025206593796610832,
-0.0354975201189518,
0.04568253830075264,
-0.018887292593717575,
0.036433059722185135,
-0.00006153953290777281,
-0.012091398239135742,
0.011014645919203758,
0.056414756923913956,
-0.011650105938315392,
-0.007850582711398602,
-0.028383895754814148,
0.07216005027294159,
0.018357742577791214,
0.0028529521077871323,
0.007947667501866817,
0.013759481720626354,
0.031755365431308746,
0.021217314526438713,
0.06474635004997253,
-0.03385591506958008,
-0.0288251880556345,
-0.018622517585754395,
0.031755365431308746,
-0.016115980222821236,
-0.003929704427719116,
0.03422660008072853,
0.0006431829533539712,
-0.0080315126106143,
-0.06559363007545471,
0.019681619480252266,
-0.0169456098228693,
-0.016115980222821236,
0.008260984905064106,
0.04663572832942009,
0.00393853010609746,
0.04822437837719917,
0.009584859944880009,
-0.08225680887699127,
-0.029478298500180244,
-0.0868462473154068,
0.0004280531429685652,
0.024376964196562767,
0.017254512757062912,
-0.012259089387953281,
-0.0009443646995350718,
-0.029072310775518417,
-0.05930963158607483,
-0.019222674891352654,
0.04631799831986427,
-0.00829628761857748,
-0.025047728791832924,
-0.010070281103253365,
-0.07893829792737961,
0.05652066692709923,
0.07886768877506256,
0.09101204574108124,
0.026265693828463554,
-0.03297333046793938,
-0.04144613444805145,
0.030078455805778503,
-0.0027095323894172907,
-0.010846954770386219,
-0.016848525032401085,
-0.05976857617497444,
-0.0718776285648346,
-0.00045728872646577656,
0.014403767883777618,
-0.039116114377975464,
-0.04794195294380188,
0.03523274511098862,
0.010599831119179726,
0.06333421170711517,
0.03288507089018822,
-0.02667168341577053,
-0.027165928855538368,
-0.01281511690467596,
-0.007594633847475052,
-0.06746470928192139,
-0.025559626519680023,
0.04758891835808754,
0.0557439923286438,
-0.00004392233313410543,
0.016848525032401085,
-0.021993989124894142,
-0.01211787573993206,
0.0030713917221874,
-0.02405923418700695,
-0.006976825185120106,
0.04614148288965225,
0.051542893052101135,
0.022046944126486778,
-0.027924951165914536,
-0.044235099107027054,
-0.0755491703748703,
0.0033913282677531242,
-0.006659094709903002,
-0.006425210274755955,
0.06742940098047256,
-0.04204629361629486,
-0.020370034500956535,
0.09779028594493866,
0.00026187917683273554,
-0.02607152611017227,
-0.020458292216062546,
0.005030727479606867,
-0.028683973476290703,
0.05288442224264145,
0.02944299578666687,
0.020211169496178627,
-0.0017309675458818674,
0.042258113622665405,
-0.0009736002539284527,
-0.005670601036399603,
-0.09510722756385803,
0.009973197244107723,
0.0491422675549984,
0.04712997376918793,
-0.005560277961194515,
-0.015348132699728012,
0.03752746433019638,
0.039222024381160736,
0.005299915559589863,
0.04557662829756737,
-0.009320084936916828,
-0.012647425755858421,
-0.006915044039487839,
-0.03420894965529442,
0.009408343583345413,
-0.04829498752951622,
-0.005220483057200909,
-0.004260673187673092,
-0.010246798396110535,
0.04317599907517433,
-0.029301783069968224,
0.009011181071400642,
0.015383435413241386,
-0.023670896887779236,
0.040492944419384,
-0.07583159953355789,
0.06202799081802368,
-0.0024491699878126383,
-0.024641739204525948,
-0.10132062435150146,
0.02727183885872364,
0.0189225971698761,
0.06347543001174927,
0.02231171913444996,
0.019822832196950912,
-0.04105779901146889,
0.03472084552049637,
0.06534650176763535,
0.004104014486074448,
0.02563023380935192,
-0.016672007739543915,
0.0406341589987278,
-0.010070281103253365,
-0.0377039797604084,
0.02751896344125271,
-0.0027404227294027805,
0.003892194479703903,
-0.03577994927763939,
-0.02195868454873562,
0.015304002910852432,
0.05885068699717522,
0.08296287804841995,
0.017695805057883263,
0.0057191429659724236,
-0.007210709620267153,
0.06891214102506638,
0.026265693828463554,
-0.036856699734926224,
0.014350812882184982,
-0.07321915030479431,
-0.04105779901146889,
-0.03611532971262932,
0.0009443646995350718,
0.012559168040752411,
-0.03419129550457001,
-0.013168150559067726,
-0.027554266154766083,
0.027730783447623253,
-0.003459728555753827,
0.002976513933390379,
0.08246862888336182,
0.06633500009775162,
-0.020705416798591614,
0.006681159604340792,
0.005171941127628088,
-0.03203779086470604,
0.008455152623355389,
-0.007351923268288374,
0.048753928393125534,
0.03604472428560257,
-0.006156022194772959,
-0.029548905789852142,
0.013265234418213367,
0.013918346725404263,
0.0005494084325619042,
-0.05394352227449417,
0.011341202072799206,
-0.025471368804574013,
0.09849635511636734,
-0.0025528736878186464,
-0.059027206152677536,
0.02778373844921589,
0.05055440217256546,
0.01856956258416176,
0.037033215165138245,
0.041657954454422,
0.009020006284117699,
-0.05182532221078873,
-0.023670896887779236,
-0.019222674891352654,
0.012462083250284195,
0.05697961151599884,
0.06008630618453026,
-0.004549719393253326,
0.04822437837719917,
-0.02059950679540634,
-0.03145528584718704,
0.004059885628521442,
0.0009443646995350718,
0.007744672708213329,
0.030537400394678116,
-0.0035237157717347145,
0.000632702256552875,
0.0033096892293542624,
0.0008842386305332184,
0.0018821100238710642,
-0.03405008465051651,
0.022205809131264687,
-0.023935673758387566,
-0.017051519826054573,
0.03081982582807541,
-0.006345777772367001,
0.03189658001065254,
-0.03385591506958008,
0.019046159461140633,
-0.0057279691100120544,
0.022435279563069344,
0.014518504031002522,
0.01337114442139864,
-0.002528602723032236,
-0.008172726258635521,
0.02727183885872364,
-0.030802175402641296,
0.03013141080737114,
-0.0036958197597414255,
-0.00999084860086441,
-0.007965318858623505,
-0.0643933117389679,
0.023512031883001328,
0.011279420927166939,
0.023141346871852875,
0.02109375223517418,
0.04462343826889992,
0.032796815037727356,
-0.004359963815659285,
0.0018126064678654075,
-0.03415599465370178,
-0.083315908908844,
-0.006619378458708525,
-0.03777458518743515,
-0.03618593513965607,
0.040528248995542526,
-0.021658606827259064,
-0.052849117666482925,
-0.004739474970847368,
0.05270790681242943,
-0.004291563760489225,
0.09842574596405029,
0.08564593642950058,
0.03915141895413399,
-0.002678641816601157,
0.02788964845240116,
0.016521969810128212,
-0.03710382431745529,
-0.0010883361101150513,
-0.04405858367681503,
0.04776543751358986,
-0.01398012787103653,
0.0143772903829813,
-0.0287545807659626,
-0.04949529841542244,
0.013053414411842823,
-0.02494181878864765,
0.04331721365451813,
-0.0658760517835617,
-0.01909911446273327,
0.019487449899315834,
0.024729998782277107,
-0.036786094307899475,
-0.01310636941343546,
0.035126835107803345,
-0.0012190688867121935,
0.04179916903376579,
0.03325575962662697,
-0.01450967788696289,
0.0001394896098645404,
0.003878955729305744,
-0.048859838396310806,
-0.0752667486667633,
0.021941034123301506,
-0.028701625764369965,
-0.006778243463486433,
-0.059980396181344986,
-0.018110619857907295,
0.041905079036951065,
0.020299427211284637,
0.005489671137183905,
-0.011208814568817616,
-0.02840154618024826,
0.05436716228723526,
-0.04840089753270149,
-0.03288507089018822,
-0.004660042468458414,
-0.004399680066853762,
0.049212872982025146,
-0.05616763234138489,
0.01761637255549431,
0.04038703441619873,
0.03560343012213707,
-0.022099899128079414,
0.005608819890767336,
-0.0034111863933503628,
-0.03563873469829559,
0.04818907752633095,
0.008305113762617111,
-0.11198223382234573,
-0.02884283848106861,
-0.06453453004360199,
0.04116370901465416,
0.07039488106966019,
-0.008636082522571087,
-0.001749722403474152,
0.01506570540368557,
0.019858134910464287,
-0.014915666542947292,
0.01211787573993206,
-0.024641739204525948,
-0.02979602850973606,
0.040069304406642914,
0.007126864045858383,
0.004774778615683317,
0.035056229680776596,
0.04801255837082863,
0.003298657014966011,
0.0378451943397522,
-0.011005819775164127,
-0.0443057082593441,
0.027289491146802902,
0.029584208503365517,
0.021499741822481155,
-0.018304787576198578,
-0.01998169720172882,
0.0028595714829862118,
-0.014642065390944481,
-0.009946719743311405,
0.03221431002020836,
0.013477054424583912,
-0.012788639403879642,
0.004324660636484623,
0.03629184514284134,
-0.005026314873248339,
-0.005123399198055267,
-0.0012731271563097835,
-0.04801255837082863,
-0.03436781466007233,
-0.0670410692691803,
-0.08606957644224167,
-0.007987383753061295,
-0.034261904656887054,
-0.05747385695576668,
-0.01894024759531021,
-0.028366243466734886,
-0.04663572832942009,
-0.06111010164022446,
-0.026689333841204643,
0.024853559210896492,
0.011049949564039707,
-0.0385865643620491,
-0.03985748440027237,
-0.06654682010412216,
0.014968621544539928,
-0.0378451943397522,
0.04388206824660301,
-0.0735015794634819,
-0.06810016930103302,
0.024271054193377495,
0.0037090585101395845,
-0.01285042054951191,
0.03992808982729912,
-0.00430259620770812,
-0.049106962978839874,
0.10520399361848831,
0.0962369367480278,
-0.024271054193377495,
-0.0868462473154068,
-0.035056229680776596,
-0.011782493442296982,
-0.03327341005206108,
-0.02753661572933197,
0.006403145380318165,
0.010405663400888443,
-0.031402330845594406,
-0.01841069757938385,
0.06036873161792755,
-0.05923902615904808,
0.005507322959601879,
-0.027201233431696892,
-0.027377748861908913,
-0.01494214404374361,
-0.021587999537587166,
-0.007444594521075487,
0.04575314372777939,
0.046423908323049545,
-0.0038701300509274006,
-0.056308846920728683,
0.00011763187649194151,
0.008733166381716728,
-0.024023931473493576,
-0.028595715761184692,
-0.040598854422569275,
-0.01241795439273119,
-0.019840484485030174,
0.008252158761024475,
0.006182499695569277,
0.031296420842409134,
0.04158734902739525,
-0.029319433495402336,
-0.021676259115338326,
-0.0011275007855147123,
0.026512818410992622,
0.03152589499950409,
0.0006884153699502349,
-0.031825970858335495,
0.05757976695895195,
0.022876571863889694,
0.013697700574994087,
0.027042368426918983,
-0.0014286825899034739,
0.009823157452046871,
-0.041481439024209976,
-0.019169719889760017,
-0.007585807703435421,
-0.02518894150853157,
-0.05524974688887596,
0.0016802189638838172,
0.00017568933253642172,
0.015101009048521519,
-0.024818256497383118,
-0.0030537398997694254,
0.014642065390944481,
-0.0941893458366394,
-0.05489671230316162,
-0.08084467798471451,
0.01619541272521019,
-0.006138370372354984,
0.05733264237642288,
-0.017360422760248184,
0.016433710232377052,
0.0033008635509759188,
0.00012487181811593473,
-0.006054524797946215,
-0.007625523954629898,
0.03475615009665489,
-0.08592835813760757,
-0.016469012945890427,
0.02352968417108059,
-0.021482089534401894,
-0.004840972367674112,
0.07155989855527878,
-0.029760725796222687,
0.05200183764100075,
-0.006164847873151302,
-0.015436390414834023,
-0.012973981909453869,
0.0012808497995138168,
0.012585645541548729,
0.046212088316679,
0.009214174933731556,
0.04257584363222122,
0.0013691080966964364,
-0.09313024580478668,
0.031914230436086655,
0.026353953406214714,
-0.011826623231172562,
0.04861271753907204,
0.020387686789035797,
-0.014315509237349033,
0.021605651825666428,
-0.056838396936655045,
-0.037315644323825836,
0.05539096146821976,
0.014262554235756397,
0.00033483022707514465,
-0.007113625295460224,
0.010458618402481079,
-0.01436846423894167,
0.022452931851148605,
-0.03553282469511032,
0.08105649799108505,
0.005304328631609678,
0.014006605371832848,
-0.028366243466734886,
-0.02345907688140869,
-0.038092318922281265,
0.011614803224802017
] |
708,801
|
pathvalidate._symbol
|
validate_symbol
|
Verifying whether symbol(s) included in the ``text`` or not.
Args:
text:
Input text to validate.
Raises:
ValidationError (ErrorReason.INVALID_CHARACTER):
If symbol(s) included in the ``text``.
|
def validate_symbol(text: str) -> None:
"""
Verifying whether symbol(s) included in the ``text`` or not.
Args:
text:
Input text to validate.
Raises:
ValidationError (ErrorReason.INVALID_CHARACTER):
If symbol(s) included in the ``text``.
"""
match_list = __RE_SYMBOL.findall(to_str(text))
if match_list:
raise InvalidCharError(f"invalid symbols found: {match_list}")
|
(text: str) -> NoneType
|
[
0.04700624197721481,
-0.05263151973485947,
0.020040057599544525,
0.04310370236635208,
-0.03765421360731125,
-0.023503120988607407,
-0.03948242962360382,
-0.02093658782541752,
0.084801085293293,
-0.04697108268737793,
0.04988919571042061,
-0.045564763247966766,
0.0384276919066906,
-0.0534401535987854,
-0.05713174492120743,
0.014335673302412033,
0.0037465239875018597,
0.05059235915541649,
-0.057026270776987076,
-0.022887855768203735,
-0.043490443378686905,
0.019776372238993645,
-0.03818158432841301,
-0.0008575255051255226,
0.030200719833374023,
0.09907523542642593,
0.02413596399128437,
0.02578839100897312,
-0.016172679141163826,
-0.03498220816254616,
0.06630798429250717,
0.018493106588721275,
0.01176913920789957,
0.022044064477086067,
-0.0013546815607696772,
0.013316091150045395,
0.038040950894355774,
-0.06940188258886337,
-0.02311638370156288,
-0.019090792164206505,
-0.002406125422567129,
0.023995332419872284,
0.02190343104302883,
0.03187072277069092,
-0.005023198667913675,
-0.009167447686195374,
-0.05474100261926651,
0.04000980034470558,
-0.017948158085346222,
-0.006165833678096533,
0.04180285707116127,
-0.008086339570581913,
-0.02309880405664444,
-0.026104813441634178,
0.033136412501335144,
-0.043314650654792786,
0.036669790744781494,
0.005932911764830351,
-0.0208662711083889,
-0.045037392526865005,
0.04774456098675728,
0.03359346464276314,
0.04422875866293907,
-0.04342012479901314,
0.015891414135694504,
0.023573437705636024,
0.019864268600940704,
-0.05980375409126282,
0.015759572386741638,
0.042716965079307556,
0.031237879768013954,
0.01655062660574913,
-0.02334490977227688,
-0.03341767564415932,
-0.01560136117041111,
-0.06057722866535187,
0.046935927122831345,
-0.025313757359981537,
-0.023485541343688965,
-0.04500223696231842,
-0.028653766959905624,
0.014766358770430088,
0.04454518109560013,
0.03153672441840172,
-0.030042508617043495,
-0.017034050077199936,
-0.010855031199753284,
0.0027247448451817036,
-0.011628507636487484,
-0.01636604778468609,
0.0343317836523056,
-0.025225862860679626,
-0.011013242416083813,
0.03067535161972046,
-0.010450714267790318,
-0.03793547675013542,
0.06191323325037956,
-0.03389230743050575,
-0.06349534541368484,
-0.008552182465791702,
-0.03359346464276314,
0.006860204041004181,
-0.008055576123297215,
0.018932580947875977,
0.004618881735950708,
-0.041591908782720566,
0.011514243669807911,
-0.05445973575115204,
-0.0040827225893735886,
0.007264520972967148,
0.003768497845157981,
0.02283511869609356,
0.10238008946180344,
0.007602916564792395,
0.04623276740312576,
-0.018159104511141777,
0.019583003595471382,
0.00047078754869289696,
0.0014744384679943323,
-0.031501565128564835,
0.050803303718566895,
-0.017394419759511948,
-0.013289722613990307,
-0.027440816164016724,
0.061667125672101974,
0.06163197010755539,
-0.007695206440985203,
-0.0002097119577229023,
-0.0188798438757658,
0.05319404974579811,
0.018809529021382332,
0.041170015931129456,
0.018387632444500923,
-0.0279330275952816,
-0.018036052584648132,
0.008648866787552834,
0.03561504930257797,
0.0016634126659482718,
-0.0026148760225623846,
-0.08205876499414444,
0.03828705847263336,
0.05094393715262413,
-0.03733779117465019,
0.012428351677954197,
-0.06571029871702194,
0.05017046257853508,
-0.10111439973115921,
-0.02162216790020466,
0.014599357731640339,
-0.023995332419872284,
-0.0056252796202898026,
0.011751560494303703,
-0.002102887723594904,
0.034173574298620224,
-0.018510684370994568,
-0.011813086457550526,
0.02155185118317604,
-0.0011832863092422485,
0.027001341804862022,
0.033153992146253586,
0.019354477524757385,
-0.007941312156617641,
0.0012536023277789354,
-0.010406767018139362,
-0.028143975883722305,
0.012094350531697273,
0.013061195611953735,
-0.027968186885118484,
-0.027370501309633255,
0.0013744579628109932,
0.006148254498839378,
-0.0220792219042778,
0.00969481747597456,
0.016506679356098175,
-0.014643305912613869,
-0.034595467150211334,
-0.009932134300470352,
0.011197822168469429,
0.024346912279725075,
-0.03018314018845558,
0.007778706960380077,
-0.0045002237893640995,
-0.029690928757190704,
-0.013061195611953735,
-0.008341235108673573,
-0.004067340865731239,
-0.01682310178875923,
0.042013805359601974,
0.021745221689343452,
0.005177014973014593,
-0.00871039368212223,
0.011241769418120384,
-0.027704501524567604,
-0.005941701587289572,
-0.018668895587325096,
-0.029761243611574173,
0.02475122921168804,
0.048307087272405624,
-0.031079668551683426,
-0.022958172485232353,
0.037443265318870544,
-0.039763692766427994,
-0.02680797316133976,
-0.0015634321607649326,
-0.017183471471071243,
-0.019372055307030678,
-0.015073991380631924,
-0.03638852760195732,
-0.04131064563989639,
-0.0034322994761168957,
-0.03405052050948143,
0.02069048024713993,
0.06862840801477432,
0.07207389175891876,
0.0037794846575707197,
0.03768937289714813,
-0.008288498036563396,
-0.008996052667498589,
0.03818158432841301,
-0.011874613352119923,
0.037794847041368484,
-0.009932134300470352,
-0.001655721920542419,
0.017816314473748207,
0.009976081550121307,
0.010116713121533394,
-0.03543926030397415,
0.11025547981262207,
0.01081108395010233,
-0.01732410304248333,
-0.00657454552128911,
0.0470414012670517,
-0.037372950464487076,
-0.03867379575967789,
-0.03670495003461838,
-0.07769916951656342,
0.02232532761991024,
-0.005937306676059961,
0.02438207156956196,
-0.01783389411866665,
-0.021270588040351868,
0.007888575084507465,
-0.025489548221230507,
0.008815867826342583,
-0.014652094803750515,
0.016761574894189835,
-0.0343317836523056,
0.05867869779467583,
-0.020919008180499077,
-0.0279330275952816,
-0.036599475890398026,
0.016752785071730614,
0.017280155792832375,
-0.038568321615457535,
-0.03652915731072426,
0.00018224476661998779,
-0.011944929137825966,
0.030745668336749077,
0.0677846148610115,
0.05140099301934242,
0.0053659891709685326,
0.09865333884954453,
0.03670495003461838,
0.021850695833563805,
0.015117938630282879,
0.022307749837636948,
-0.02035648003220558,
0.0666947215795517,
-0.023643752560019493,
0.009844238869845867,
0.05878417193889618,
-0.024276597425341606,
0.008037997409701347,
-0.014212620444595814,
0.0334528349339962,
0.029269032180309296,
0.0370916873216629,
0.0024918229319155216,
-0.005322041921317577,
-0.006297676358371973,
0.039869166910648346,
-0.031132405623793602,
0.007383179385215044,
-0.008086339570581913,
0.018651317805051804,
0.059170909225940704,
0.020110374316573143,
-0.018510684370994568,
0.012164667248725891,
0.00016521511133760214,
-0.011813086457550526,
-0.018036052584648132,
0.018036052584648132,
0.03517557680606842,
0.01819426380097866,
0.07664443552494049,
0.062370285391807556,
0.000694370421115309,
-0.028917452320456505,
-0.0019611569587141275,
0.04380686208605766,
0.05818648636341095,
0.0053396206349134445,
0.0015172873390838504,
-0.059100594371557236,
-0.004416723269969225,
0.006965678185224533,
0.01055618841201067,
0.003724550362676382,
-0.036775264889001846,
-0.006363597232848406,
0.06110459938645363,
0.014212620444595814,
0.01914352923631668,
0.020585007965564728,
0.0625109151005745,
-0.014370830729603767,
-0.06971830874681473,
-0.021147534251213074,
-0.01930174045264721,
0.032784830778837204,
-0.05333467945456505,
0.0078094699420034885,
-0.0496782511472702,
-0.06395239382982254,
0.0017469129525125027,
0.011303296312689781,
-0.0472523458302021,
-0.008521419018507004,
-0.016937365755438805,
-0.011751560494303703,
0.004706776700913906,
0.0494673028588295,
-0.031589459627866745,
0.028811978176236153,
0.012252561748027802,
-0.029972191900014877,
-0.006429518572986126,
0.00870599877089262,
-0.00404756423085928,
-0.0008278609602712095,
0.008512630127370358,
0.0062141758389770985,
0.015399202704429626,
-0.07126525789499283,
-0.000048891590267885476,
-0.033382516354322433,
0.00042244530050083995,
-0.009044394828379154,
0.027862712740898132,
0.021428799256682396,
-0.0008278609602712095,
0.02629818208515644,
-0.03733779117465019,
0.03362862393260002,
0.009018026292324066,
0.0023292172700166702,
0.006297676358371973,
-0.019196266308426857,
-0.02758144773542881,
0.09682512283325195,
-0.000696018454618752,
-0.024505123496055603,
-0.030235877260565758,
-0.039869166910648346,
-0.03867379575967789,
0.02533133700489998,
0.03252114728093147,
0.0012360232649371028,
-0.0008998249541036785,
-0.015188254415988922,
0.04647887125611305,
-0.06131554767489433,
0.010969295166432858,
0.032028935849666595,
0.03649400174617767,
0.03965821862220764,
0.005049567203968763,
-0.010767136700451374,
-0.021006902679800987,
0.013316091150045395,
-0.05203383415937424,
-0.01042434573173523,
-0.05231509730219841,
0.04190833121538162,
-0.04697108268737793,
-0.00969481747597456,
-0.03628305345773697,
0.03652915731072426,
-0.003555352333933115,
0.032907884567976,
-0.04510771110653877,
0.03206409141421318,
0.04324433580040932,
0.000954759365413338,
0.008226971141994,
0.0012678852071985602,
-0.0065130190923810005,
-0.05843259021639824,
0.010239766910672188,
-0.002603889210149646,
0.029638191685080528,
-0.02155185118317604,
-0.010837452486157417,
0.07214421033859253,
0.043068546801805496,
-0.050557199865579605,
-0.03318914771080017,
-0.014370830729603767,
0.05119004473090172,
0.009879397228360176,
0.014282936230301857,
-0.017095575109124184,
-0.06437429040670395,
-0.046584345400333405,
-0.012445930391550064,
0.0019281964050605893,
0.0019183082040399313,
0.0090531837195158,
0.017007680609822273,
0.04109969735145569,
-0.07580064237117767,
0.028143975883722305,
0.03352314978837967,
0.0018600777257233858,
0.024803966283798218,
0.04264665022492409,
0.030921457335352898,
-0.01593536138534546,
0.02680797316133976,
-0.04247086122632027,
0.0470414012670517,
-0.019512688741087914,
-0.04303338751196861,
-0.01647152192890644,
-0.029550297185778618,
0.012604141607880592,
-0.0496782511472702,
-0.03747842460870743,
0.003748721443116665,
0.011250559240579605,
0.04257633537054062,
0.015407992526888847,
0.055725425481796265,
0.02387228049337864,
0.03514041751623154,
0.026579445227980614,
0.05017046257853508,
0.03747842460870743,
0.0024215069133788347,
-0.012445930391550064,
-0.02146395668387413,
0.02146395668387413,
-0.01349188107997179,
0.0527721531689167,
-0.01699010282754898,
0.03042924590408802,
-0.038990218192338943,
-0.03362862393260002,
0.025067651644349098,
-0.03811126947402954,
0.0909888967871666,
-0.05734269320964813,
-0.029198715463280678,
-0.01361493393778801,
0.10413798689842224,
0.01734168268740177,
0.024065649136900902,
0.07038631290197372,
0.06634313613176346,
-0.04215443879365921,
0.056323111057281494,
0.0007981964154168963,
-0.01604083552956581,
-0.021323325112462044,
-0.028513135388493538,
-0.06518292427062988,
0.055303528904914856,
-0.015170675702393055,
-0.03334736078977585,
0.01931932009756565,
-0.025981759652495384,
-0.0653587132692337,
-0.010063976980745792,
0.014529041945934296,
-0.012076771818101406,
0.046760134398937225,
-0.014195040799677372,
-0.034437257796525955,
-0.02137606218457222,
-0.02190343104302883,
-0.08958257734775543,
0.036599475890398026,
0.021657325327396393,
0.000791054917499423,
0.0009745357092469931,
-0.007396363653242588,
0.0830431878566742,
0.03095661662518978,
0.009659660048782825,
0.047182030975818634,
0.04893993213772774,
-0.026667339727282524,
0.005990043748170137,
0.017798736691474915,
0.0135270394384861,
0.008868604898452759,
-0.04732266440987587,
0.029374506324529648,
-0.004733145236968994,
-0.06177259981632233,
-0.03807611018419266,
0.06170228496193886,
-0.003645444754511118,
0.044791288673877716,
0.009905765764415264,
0.007475469261407852,
-0.018756791949272156,
0.0013524842215701938,
-0.0030279825441539288,
-0.06852293759584427,
-0.02311638370156288,
-0.017737209796905518,
-0.04876414313912392,
0.018405212089419365,
-0.057623956352472305,
-0.04493191838264465,
-0.037970636039972305,
0.014054409228265285,
-0.0448264442384243,
0.020549848675727844,
0.03670495003461838,
0.03514041751623154,
-0.06637829542160034,
-0.041345804929733276,
-0.008306076750159264,
0.014080777764320374,
0.014080777764320374,
-0.07411305606365204,
0.06187807396054268,
-0.04489676281809807,
0.0417325422167778,
0.049783721566200256,
-0.07938675582408905,
0.021270588040351868,
0.018862266093492508,
-0.03197619691491127,
-0.03355830907821655,
-0.07713664323091507,
0.015328886918723583,
0.020971745252609253,
-0.006236149463802576,
-0.03398020565509796,
-0.05147130787372589,
0.08430887758731842,
-0.04285759851336479,
0.03948242962360382,
0.06486650556325912,
-0.014634516090154648,
0.02334490977227688,
-0.025964180007576942,
-0.028126398101449013,
-0.03246840834617615,
-0.09183268994092941,
-0.06402271240949631,
-0.04524834081530571,
-0.0432794950902462,
-0.013597355224192142,
-0.03431420400738716,
0.01116266380995512,
0.016093572601675987,
-0.0015095964772626758,
0.09344995766878128,
-0.004359591752290726,
-0.010661662556231022,
-0.002099591540172696,
0.031519144773483276,
0.01228772010654211,
-0.03127303719520569,
-0.006108702160418034,
0.05787006393074989,
0.003748721443116665,
0.00019680238619912416,
0.0058098589070141315,
0.020321322605013847,
0.006583334878087044,
0.02360859513282776,
0.005203383509069681,
-0.042541176080703735,
0.010705609805881977,
-0.0011118716793134809,
-0.0181063674390316,
0.06971830874681473,
-0.0334528349339962,
-0.022905435413122177,
0.05333467945456505,
-0.03364620357751846,
0.0325738824903965,
-0.03941211476922035,
0.010679241269826889,
0.03821674361824989,
0.05126035958528519,
0.02111237682402134,
-0.04612729325890541,
0.07474590092897415,
0.0417325422167778,
-0.006148254498839378,
0.045810870826244354,
-0.005308857653290033,
-0.050135303288698196,
-0.01461693737655878,
-0.0156804658472538,
-0.02438207156956196,
-0.07453495264053345,
0.032362934201955795,
-0.009861818514764309,
0.06676503270864487,
0.013052406720817089,
0.08058212697505951,
0.06880419701337814,
-0.025911442935466766,
0.003344404511153698,
-0.029673349112272263,
0.013368828222155571,
0.028302187100052834,
0.043138861656188965,
-0.04567023739218712,
-0.0039025377482175827,
-0.04897508770227432,
-0.04338496923446655,
-0.026315759867429733,
0.0075721535831689835,
-0.0102133983746171,
0.0034608652349561453,
-0.017086787149310112,
0.0033356149215251207,
-0.03294304385781288,
0.012384404428303242,
-0.010978084057569504,
0.04060748592019081,
-0.04552960395812988,
0.018581001088023186,
-0.08550424873828888,
0.08909036219120026,
-0.01758778840303421,
0.04419360309839249,
-0.07105430960655212,
-0.04405296966433525,
0.04197864979505539,
-0.008037997409701347,
0.012700825929641724,
0.022219853475689888,
-0.002720349933952093,
-0.008776314556598663,
0.05903027579188347,
0.0454944483935833,
-0.07326926290988922,
-0.06722208857536316,
0.022378064692020416,
-0.03884958475828171,
-0.0025050071999430656,
-0.009079552255570889,
-0.014318094588816166,
0.02265932969748974,
-0.023204278200864792,
-0.02751113288104534,
0.008407155983150005,
-0.04609213396906853,
-0.05147130787372589,
0.009896975941956043,
-0.0415215939283371,
0.023749226704239845,
-0.03818158432841301,
-0.00857415609061718,
-0.036072105169296265,
0.07123009860515594,
-0.023221855983138084,
-0.04862350970506668,
0.05544416233897209,
0.04985404014587402,
-0.026421234011650085,
-0.035386525094509125,
-0.025032494217157364,
-0.012358035892248154,
-0.0715465247631073,
0.07741791009902954,
-0.025577442720532417,
0.033575888723134995,
0.0671166181564331,
-0.022219853475689888,
-0.04904540628194809,
0.036599475890398026,
-0.017271365970373154,
0.006961283273994923,
-0.032204724848270416,
0.009237763471901417,
0.009114710614085197,
-0.030657773837447166,
0.03369893878698349,
-0.0028126398101449013,
-0.03318914771080017,
-0.022905435413122177,
-0.0030631404370069504,
0.015821099281311035,
-0.013720408082008362,
-0.02396017499268055,
-0.08269160985946655,
-0.03828705847263336,
0.01190098188817501,
0.01877436973154545,
-0.008543393574655056,
-0.08754341304302216,
-0.05924122408032417,
-0.05755364149808884,
0.008890578523278236,
-0.031519144773483276,
0.027177130803465843,
-0.04524834081530571,
0.02206164225935936,
0.03448999300599098,
0.026263022795319557,
-0.015900203958153725,
-0.0007701798458583653,
0.020567428320646286,
-0.03475368022918701,
0.03035893104970455,
0.0008751045097596943,
0.03498220816254616,
0.04334980994462967,
-0.002173203742131591,
-0.010406767018139362,
0.06556966155767441,
-0.09204363822937012,
0.07291768491268158,
-0.028302187100052834,
-0.023292172700166702,
-0.01912594959139824,
0.007137073203921318,
0.02446996606886387,
0.03807611018419266,
0.0242941752076149,
-0.013702829368412495,
-0.03429662436246872,
-0.0850120335817337,
0.016831891611218452,
0.03127303719520569,
-0.006912941113114357,
0.021956168115139008,
0.016049625352025032,
-0.0248391255736351,
0.008600524626672268,
0.010986873880028725,
-0.015812309458851814,
0.057272378355264664,
-0.00038811133708804846,
0.08163686841726303,
-0.034507572650909424,
0.03173009306192398,
-0.01861615851521492,
-0.025911442935466766,
-0.06694082915782928,
0.017789946869015694,
0.05206899344921112,
0.005765911657363176,
-0.020813534036278725,
-0.053475312888622284,
0.0027049684431403875,
0.028565872460603714
] |
708,802
|
pathvalidate._common
|
validate_unprintable_char
| null |
def validate_unprintable_char(text: str) -> None:
from .error import InvalidCharError
match_list = __RE_UNPRINTABLE_CHARS.findall(to_str(text))
if match_list:
raise InvalidCharError(f"unprintable character found: {match_list}")
|
(text: str) -> NoneType
|
[
0.005204378627240658,
-0.004561970010399818,
0.0013434154679998755,
0.06604655832052231,
-0.06319912523031235,
-0.03543665260076523,
0.012822129763662815,
-0.020070930942893028,
0.039516814053058624,
-0.01211895328015089,
0.029759148135781288,
0.027988184243440628,
0.02045290358364582,
0.005421408452093601,
-0.05899742618203163,
0.016277246177196503,
0.004410048946738243,
0.051601044833660126,
0.01028722058981657,
0.008724604733288288,
-0.045211680233478546,
-0.033144816756248474,
0.04298929497599602,
0.02376912161707878,
-0.022015519440174103,
0.07222756743431091,
0.004622738342732191,
-0.008511914871633053,
-0.032780203968286514,
-0.030557818710803986,
0.04951755702495575,
-0.014567051082849503,
0.028925754129886627,
0.043440718203783035,
0.03687773272395134,
0.03791947662830353,
0.018178429454565048,
-0.08931216597557068,
-0.016702625900506973,
0.0021909174975007772,
-0.0039390940219163895,
0.04125305637717247,
-0.011216108687222004,
-0.01833469048142433,
-0.0218766201287508,
-0.0288563035428524,
0.00957536231726408,
0.006758313160389662,
-0.03694717958569527,
-0.014011453837156296,
0.02373439632356167,
0.015270228497684002,
0.01766623929142952,
-0.004206040874123573,
0.06465756893157959,
-0.01797008141875267,
0.007669838611036539,
-0.0273110494017601,
-0.013577394187450409,
-0.06580348312854767,
-0.07010935992002487,
-0.03920429199934006,
0.0222065057605505,
-0.022727377712726593,
0.06747027486562729,
0.005612394772469997,
0.0297938734292984,
-0.07958922535181046,
0.0044295815750956535,
0.04205172508955002,
0.00487449299544096,
0.04427411034703255,
-0.03746805340051651,
-0.0375722274184227,
0.02814444527029991,
-0.048406362533569336,
-0.011867198161780834,
0.0234218742698431,
-0.025210199877619743,
-0.0166071318089962,
0.03920429199934006,
0.017327671870589256,
0.05208719149231911,
0.05364980548620224,
0.029516074806451797,
-0.025470636785030365,
0.03286701813340187,
-0.016919655725359917,
-0.012344663962721825,
0.051601044833660126,
0.0595877468585968,
-0.04746879264712334,
-0.03427337110042572,
-0.021303661167621613,
-0.005564648192375898,
0.003672146936878562,
0.05038567632436752,
0.030887704342603683,
-0.04267677292227745,
-0.05330256000161171,
-0.004316725768148899,
0.036565206944942474,
0.008958997204899788,
0.0039000282995402813,
-0.015278909355401993,
-0.04621870070695877,
0.005729591008275747,
-0.03130440041422844,
0.0031295721419155598,
-0.03389139845967293,
0.02647765539586544,
0.008637792430818081,
0.07479720562696457,
-0.017813818529248238,
0.042537871748209,
-0.018490953370928764,
0.002489333739504218,
-0.03677355498075485,
0.019463246688246727,
-0.04305874556303024,
0.05083709955215454,
-0.025036577135324478,
-0.020487628877162933,
-0.04232952371239662,
0.009314926341176033,
0.038475070148706436,
-0.04882305860519409,
0.009393056854605675,
0.005582010373473167,
0.04903141036629677,
-0.02883894182741642,
0.06441449373960495,
-0.020956413820385933,
-0.043301817029714584,
-0.021824533119797707,
-0.00124032620806247,
0.032311420887708664,
0.00812994223088026,
0.007257482036948204,
-0.10361878573894501,
-0.012735318392515182,
0.009801072999835014,
0.02941190078854561,
0.0007747969357296824,
-0.030696718022227287,
0.060316964983940125,
-0.005226081237196922,
0.02067861519753933,
0.028804216533899307,
-0.05802512913942337,
-0.03109605237841606,
0.04587145149707794,
-0.05309420824050903,
0.03271075710654259,
0.042711496353149414,
-0.003240257268771529,
-0.012987072579562664,
-0.014306615106761456,
0.0302626583725214,
-0.001964121125638485,
0.012422795407474041,
-0.0036938500124961138,
-0.007995383813977242,
0.0031252314802259207,
-0.019827857613563538,
-0.013212784193456173,
0.05448320135474205,
-0.061879582703113556,
0.004225573502480984,
0.010790729895234108,
0.0032272355165332556,
-0.003459457540884614,
0.014784080907702446,
-0.007248800713568926,
-0.022762103006243706,
0.019914669916033745,
-0.004195189103484154,
0.004214721731841564,
-0.00032500235829502344,
-0.020626528188586235,
-0.014098266139626503,
-0.011658849194645882,
-0.026512380689382553,
0.035401925444602966,
0.04396158829331398,
-0.016867568716406822,
0.004190848674625158,
0.02613040804862976,
-0.03767640143632889,
-0.025106025859713554,
-0.017431845888495445,
0.03826672211289406,
-0.013803105801343918,
-0.008351312950253487,
-0.01482748705893755,
0.0015561048639938235,
0.041426677256822586,
0.03071407973766327,
-0.03607906028628349,
-0.03920429199934006,
-0.002630403032526374,
-0.025001851841807365,
-0.0543443039059639,
0.012092909775674343,
-0.02008829265832901,
-0.025731071829795837,
-0.033023279160261154,
-0.004147442523390055,
-0.06007389351725578,
-0.015756376087665558,
-0.028908390551805496,
0.008724604733288288,
0.04896195977926254,
0.03736387938261032,
-0.021459922194480896,
-0.006272166036069393,
-0.02161618322134018,
0.01276136189699173,
0.037641678005456924,
0.040141861885786057,
-0.0011361518409103155,
0.04198227450251579,
-0.016746031120419502,
-0.03213779628276825,
0.01076468639075756,
0.010643149726092815,
-0.05799040570855141,
0.07611674815416336,
0.0009185792878270149,
0.005903215147554874,
-0.0020520181860774755,
-0.01127687655389309,
-0.07681124657392502,
-0.0022506006062030792,
-0.03449908271431923,
0.008195050992071629,
-0.03449908271431923,
-0.03837089613080025,
0.0002970597706735134,
0.01854304037988186,
-0.01259641908109188,
-0.05333728343248367,
-0.002947266912087798,
0.029394537210464478,
0.03140857443213463,
0.02435944229364395,
-0.033023279160261154,
0.10931365191936493,
0.0032294057309627533,
0.01553934533149004,
-0.014810124412178993,
-0.0013477560132741928,
-0.035280391573905945,
-0.013186740688979626,
-0.056184716522693634,
0.026616554707288742,
-0.035280391573905945,
-0.013924642466008663,
0.06121981143951416,
0.02835279330611229,
0.0010829794919118285,
0.08000592142343521,
-0.026095682755112648,
0.016763394698500633,
0.01334300171583891,
-0.019758407026529312,
-0.029759148135781288,
0.08014482259750366,
0.0019174596527591348,
-0.011624124832451344,
0.032676029950380325,
-0.011389732360839844,
-0.0075700050219893456,
-0.03962098807096481,
0.023005176335573196,
0.04194755107164383,
0.07087330520153046,
-0.005764315836131573,
-0.024133732542395592,
-0.02646029368042946,
0.058094579726457596,
0.049830079078674316,
0.01709328033030033,
-0.003682998474687338,
0.003159956308081746,
0.028752129524946213,
0.012197083793580532,
-0.0487188845872879,
-0.017449209466576576,
-0.02434208057820797,
0.015113966539502144,
-0.012171040289103985,
0.04396158829331398,
0.01028722058981657,
0.04205172508955002,
0.03224197030067444,
-0.0038718145806342363,
-0.015756376087665558,
-0.048267465084791183,
-0.04420466348528862,
0.05990026891231537,
0.019897306337952614,
0.002032485557720065,
-0.022987812757492065,
-0.04670484736561775,
-0.014922980219125748,
-0.04524640738964081,
0.048406362533569336,
0.021459922194480896,
-0.030401557683944702,
0.009662173688411713,
0.02481086552143097,
0.027120063081383705,
0.024671966210007668,
0.0034334140364080667,
0.03470743075013161,
0.028300706297159195,
-0.048510536551475525,
-0.016311971470713615,
-0.01040007546544075,
0.051357969641685486,
-0.014636500738561153,
0.0064414492808282375,
-0.008403399959206581,
-0.06090728938579559,
-0.031026603654026985,
0.02373439632356167,
-0.044621359556913376,
-0.020244555547833443,
0.00733127212151885,
-0.026095682755112648,
-0.006593370344489813,
0.01821315474808216,
-0.048614710569381714,
0.019914669916033745,
0.01171093713492155,
-0.04239897429943085,
-0.00910657737404108,
-0.005812062416225672,
-0.014002772979438305,
-0.009479869157075882,
0.03677355498075485,
0.04712154343724251,
0.025557449087500572,
0.012908942066133022,
0.003368305042386055,
-0.042607322335243225,
0.06497009098529816,
-0.021772446110844612,
0.02303989976644516,
0.03701663017272949,
0.01277004275470972,
0.02092168852686882,
-0.04410048946738243,
-0.019445884972810745,
-0.014384745620191097,
0.016824163496494293,
0.014454195275902748,
-0.03156483918428421,
0.03701663017272949,
0.06083783879876137,
0.007648136001080275,
-0.037884749472141266,
-0.021234210580587387,
-0.035627637058496475,
-0.028300706297159195,
0.017266903072595596,
0.0075526428408920765,
-0.002272303681820631,
-0.0005778422928415239,
-0.014271889813244343,
0.045350581407547,
-0.07660289853811264,
-0.0369124561548233,
0.02116476185619831,
0.0029082014225423336,
0.031495388597249985,
0.001972802449017763,
-0.02305726334452629,
0.01878611370921135,
0.015357039868831635,
-0.0446908101439476,
-0.03864869475364685,
-0.06323385238647461,
0.003915220499038696,
-0.04798966646194458,
-0.057261183857917786,
-0.007105560973286629,
0.015990767627954483,
-0.012969710864126682,
-0.008616089820861816,
-0.02352604828774929,
0.08181161433458328,
0.027224238961935043,
0.04857998713850975,
0.015174735337495804,
0.008116920478641987,
-0.02554008550941944,
0.006775675341486931,
-0.02397746965289116,
-0.018108980730175972,
0.057504259049892426,
-0.030818253755569458,
0.026981165632605553,
0.0562194399535656,
0.06573403626680374,
-0.005299871787428856,
-0.07174142450094223,
-0.0009571021073497832,
0.030089033767580986,
0.05285113677382469,
0.07292206585407257,
-0.0009874863317236304,
-0.05142742022871971,
0.02708533965051174,
-0.039655715227127075,
-0.017154047265648842,
-0.03805837407708168,
-0.0026542763225734234,
0.00025772309163585305,
-0.013907279819250107,
-0.03399557247757912,
0.025366462767124176,
0.04239897429943085,
0.031061328947544098,
-0.010478206910192966,
-0.016355378553271294,
-0.02564425952732563,
0.019081274047493935,
-0.006593370344489813,
-0.014245846308767796,
-0.03910011798143387,
-0.005061138886958361,
-0.04291984438896179,
-0.019341710954904556,
0.009158664382994175,
0.0085379583761096,
-0.006558645516633987,
-0.04215589910745621,
0.06365054845809937,
0.015226822346448898,
0.035974886268377304,
0.034690067172050476,
0.05260806158185005,
0.08965941518545151,
0.041878100484609604,
0.010686554946005344,
0.04510750621557236,
-0.021008500829339027,
0.06049058958888054,
0.03474215790629387,
-0.003507204120978713,
-0.050871822983026505,
-0.012405432760715485,
0.07458885759115219,
0.027258962392807007,
-0.0305925440043211,
-0.007526598870754242,
-0.023317698389291763,
0.054413750767707825,
-0.04100998118519783,
0.11473071575164795,
-0.05424012616276741,
-0.052052464336156845,
-0.017388440668582916,
0.07160252332687378,
-0.01890764944255352,
0.013551350682973862,
0.04125305637717247,
0.06604655832052231,
-0.05319838225841522,
0.04396158829331398,
0.007361656054854393,
-0.009002402424812317,
-0.019897306337952614,
-0.04785076528787613,
-0.04493388161063194,
0.047781314700841904,
0.010252495296299458,
-0.013985410332679749,
0.013256190344691277,
-0.01831732876598835,
-0.038231998682022095,
-0.08285335451364517,
0.0009044723701663315,
-0.007617751602083445,
0.030939791351556778,
0.013195421546697617,
-0.0214078351855278,
0.02364758402109146,
0.002335242461413145,
-0.04583672806620598,
-0.043544892221689224,
0.03962098807096481,
0.022310679778456688,
-0.03910011798143387,
0.02151200920343399,
0.08410345017910004,
0.04882305860519409,
-0.02279682643711567,
0.03533247858285904,
0.03559291362762451,
0.011085890233516693,
-0.0437532402575016,
0.007118582725524902,
-0.03165164962410927,
0.0847979485988617,
-0.008967678062617779,
0.053233109414577484,
0.0052651469595730305,
-0.01805689185857773,
-0.03524566441774368,
0.06479646265506744,
-0.04003768786787987,
0.0009098981390707195,
0.014254528097808361,
0.011971373111009598,
-0.04087108373641968,
0.030905066058039665,
-0.007005726918578148,
-0.03993351384997368,
-0.0011187894269824028,
0.008781032636761665,
-0.06566458195447922,
0.014975067228078842,
0.046496499329805374,
-0.0018859903793781996,
0.0017970080953091383,
-0.00626782514154911,
-0.010139639489352703,
-0.014072222635149956,
0.022484304383397102,
0.024637240916490555,
-0.058927975594997406,
-0.09188180416822433,
0.011311601847410202,
-0.0413225032389164,
0.03899594396352768,
-0.05173994228243828,
0.029845960438251495,
-0.017900630831718445,
0.02588733285665512,
0.042954571545124054,
-0.08472849428653717,
-0.02435944229364395,
-0.012639825232326984,
-0.03236350789666176,
-0.01797008141875267,
-0.10854970663785934,
0.05108017101883888,
-0.029012564569711685,
-0.0276409350335598,
-0.026425568386912346,
-0.009054490365087986,
0.054760999977588654,
0.0071836914867162704,
0.038231998682022095,
0.03165164962410927,
-0.019237535074353218,
0.010122277773916721,
0.003368305042386055,
-0.047781314700841904,
-0.0014920809771865606,
-0.08257555961608887,
-0.07215812057256699,
-0.023022538051009178,
-0.04927448183298111,
0.022310679778456688,
-0.06510898470878601,
0.02849169261753559,
-0.019532697275280952,
0.0012641994981095195,
-0.00776967266574502,
-0.04941338300704956,
-0.05330256000161171,
-0.011736980639398098,
0.013690249994397163,
0.07278316468000412,
0.015704287216067314,
-0.022953089326620102,
0.04896195977926254,
-0.008051811717450619,
0.037641678005456924,
-0.05128851905465126,
0.01994939334690571,
-0.07396381348371506,
0.012743999250233173,
0.009783710353076458,
-0.02897784113883972,
0.010512931272387505,
0.04090580716729164,
-0.018508315086364746,
0.05611526593565941,
-0.0729915201663971,
-0.03120022639632225,
0.05917104706168175,
-0.014888254925608635,
0.01606021635234356,
-0.021685633808374405,
0.003915220499038696,
0.06556040793657303,
0.05055930092930794,
-0.0010938310297206044,
-0.00897635892033577,
0.11736980080604553,
0.011554675176739693,
-0.012388070113956928,
0.07653344422578812,
0.004240765236318111,
-0.043544892221689224,
-0.03324899077415466,
0.011572037823498249,
-0.025383824482560158,
-0.03649576008319855,
0.01652900129556656,
-0.01719745434820652,
0.027380499988794327,
-0.014402108266949654,
0.06087256222963333,
0.10410492867231369,
-0.05472627654671669,
0.01748393289744854,
-0.04371851682662964,
0.01819579117000103,
0.031356487423181534,
-0.006923255976289511,
-0.034811604768037796,
0.036565206944942474,
-0.0020682956092059612,
0.04455190896987915,
-0.0029450964648276567,
0.02527965046465397,
-0.02279682643711567,
0.04194755107164383,
-0.029377175495028496,
-0.018404141068458557,
-0.03937791660428047,
-0.009462506510317326,
-0.003628741018474102,
0.0075700050219893456,
-0.013334320858120918,
-0.0061636511236429214,
-0.06365054845809937,
0.07201921939849854,
-0.02566162310540676,
0.036565206944942474,
-0.06993573158979416,
-0.027727747336030006,
0.022779464721679688,
-0.048163287341594696,
0.008169007487595081,
0.02588733285665512,
0.03403029963374138,
-0.029568161815404892,
-0.013785743154585361,
0.06760917603969574,
-0.016042854636907578,
0.01134632620960474,
0.02317879907786846,
-0.011355007998645306,
-0.01205818448215723,
-0.035974886268377304,
-0.0034312435891479254,
0.012040821835398674,
0.016858886927366257,
-0.022015519440174103,
0.01854304037988186,
-0.07031770795583725,
-0.07618619501590729,
-0.029342450201511383,
-0.021824533119797707,
0.011250833049416542,
-0.046878471970558167,
-0.041669752448797226,
-0.006185353733599186,
0.033492062240839005,
-0.022032881155610085,
-0.07556115090847015,
0.06969266384840012,
0.018039530143141747,
0.013395089656114578,
-0.025453273206949234,
-0.09056226164102554,
-0.051357969641685486,
-0.05531659722328186,
0.060455866158008575,
-0.022032881155610085,
0.014888254925608635,
0.0885482206940651,
-0.026043595746159554,
-0.011736980639398098,
0.019306985661387444,
-0.0232829749584198,
0.06330329924821854,
-0.04611452668905258,
0.02435944229364395,
0.03408238664269447,
0.003474649740383029,
0.018352054059505463,
0.03604433685541153,
-0.03140857443213463,
0.016355378553271294,
-0.0217377208173275,
0.0487188845872879,
-0.004878833424299955,
-0.01348190102726221,
-0.030870340764522552,
-0.01595604233443737,
0.04080163314938545,
-0.0006586859235540032,
0.004060630686581135,
0.025852609425783157,
-0.0316690132021904,
-0.07403326034545898,
-0.009011084213852882,
-0.0031946811359375715,
0.025383824482560158,
-0.031842634081840515,
0.0048875147476792336,
0.0008241712930612266,
0.044378288090229034,
0.005035094916820526,
-0.03698190674185753,
0.021008500829339027,
-0.031148139387369156,
0.03896121680736542,
-0.043787963688373566,
-0.021459922194480896,
0.07479720562696457,
0.002825730014592409,
0.023803846910595894,
0.04444773495197296,
-0.043301817029714584,
0.03333580121397972,
-0.03625268489122391,
-0.04278094694018364,
-0.01925489865243435,
-0.018022168427705765,
0.013698930852115154,
0.04316291958093643,
0.0030102054588496685,
0.006432767957448959,
0.0009272604947909713,
-0.04451718553900719,
0.04364906623959541,
0.02859586849808693,
-0.016416145488619804,
0.07194977253675461,
0.018369415774941444,
0.03889176994562149,
0.0022419195156544447,
0.010756004601716995,
-0.039412640035152435,
0.07903362810611725,
0.038093097507953644,
0.0645533949136734,
-0.013403770513832569,
-0.011155339889228344,
-0.02882157824933529,
-0.03719025477766991,
-0.06778279691934586,
0.04194755107164383,
0.006671500857919455,
0.023369785398244858,
-0.04996897652745247,
-0.04194755107164383,
0.029012564569711685,
0.010469525121152401
] |
708,811
|
sweetviz.dataframe_report
|
DataframeReport
| null |
class DataframeReport:
def __init__(self,
source: Union[pd.DataFrame, Tuple[pd.DataFrame, str]],
target_feature_name: str = None,
compare: Union[pd.DataFrame, Tuple[pd.DataFrame, str]] = None,
pairwise_analysis: str = 'auto',
fc: FeatureConfig = None,
verbosity: str = 'default'): # verbosity: default (full), full, progress_only, off
# Parse analysis parameter
pairwise_analysis = pairwise_analysis.lower()
if pairwise_analysis not in ["on", "auto", "off"]:
raise ValueError('"pairwise_analysis" parameter should be one of: "on", "auto", "off"')
# Parse verbosity parameter
if verbosity == "default":
verbosity = config["General"]["default_verbosity"]
if verbosity not in ["default", "full", "progress_only", "off"]:
raise ValueError('"verbosity" parameter should be one of: "default", "full", "progress_only", "off"')
self.verbosity_level = verbosity
sv_html.load_layout_globals_from_config()
self._jupyter_html = ""
self._page_html = ""
self._features = dict()
self.compare_name = None
self._target = None
self.test_mode = False
self.corr_warning = list()
if fc is None:
fc = FeatureConfig()
# Associations: _associations[FEATURE][GIVES INFORMATION ABOUT THIS FEATURE]
self._associations = dict()
self._associations_compare = dict()
self._association_graphs = dict()
self._association_graphs_compare = dict()
# Handle source and compare dataframes and names
if type(source) == pd.DataFrame:
source_df = source
self.source_name = "DataFrame"
elif type(source) == list or type(source) == tuple:
if len(source) != 2:
raise ValueError('"source" parameter should either be a string or a list of 2 elements: [dataframe, "Name"].')
source_df = source[0]
self.source_name = source[1]
else:
raise ValueError('"source" parameter should either be a string or a list of 2 elements: [dataframe, "Name"].')
if len(su.get_duplicate_cols(source_df)) > 0:
raise ValueError('Duplicate column names detected in "source"; this is not supported.')
# NEW (12-14-2020): Rename indices that use the reserved name "index"
# From pandas-profiling:
# If the DataFrame contains a column or index named `index`, this will produce errors. We rename the {index,column} to be `df_index`.
if 'index' in source_df.columns:
source_df = source_df.rename(columns={"index": "df_index"})
if target_feature_name == 'index':
target_feature_name = 'df_index'
all_source_names = [cur_name for cur_name, cur_series in source_df.items()]
if compare is None:
compare_df = None
self.compare_name = None
all_compare_names = list()
elif type(compare) == pd.DataFrame:
compare_df = compare
if 'index' in compare_df.columns:
compare_df = compare_df.rename(columns={"index": "df_index"})
self.compare_name = "Compared"
all_compare_names = [cur_name for cur_name, cur_series in compare_df.items()]
elif type(compare) == list or type(compare) == tuple:
if len(compare) != 2:
raise ValueError('"compare" parameter should either be a string or a list of 2 elements: [dataframe, "Name"].')
compare_df = compare[0]
if 'index' in compare_df.columns:
compare_df = compare_df.rename(columns={"index": "df_index"})
self.compare_name = compare[1]
all_compare_names = [cur_name for cur_name, cur_series in compare_df.items()]
else:
raise ValueError('"compare" parameter should either be a string or a list of 2 elements: [dataframe, "Name"].')
# Validate some params
if compare_df is not None and len(su.get_duplicate_cols(compare_df)) > 0:
raise ValueError('Duplicate column names detected in "compare"; this is not supported.')
if target_feature_name in fc.skip:
raise ValueError(f'"{target_feature_name}" was also specified as "skip". Target cannot be skipped.')
for key in fc.get_all_mentioned_features():
if key not in all_source_names:
raise ValueError(f'"{key}" was specified in "feature_config" but is not found in source dataframe (watch case-sensitivity?).')
# Find Features and Target (FILTER SKIPPED)
filtered_series_names_in_source = [cur_name for cur_name, cur_series in source_df.items()
if cur_name not in fc.skip]
for skipped in fc.skip:
if skipped not in all_source_names and skipped not in all_compare_names:
raise ValueError(f'"{skipped}" was marked as "skip" but is not in any provided dataframe (watch case-sensitivity?).')
# Progress bar setup
ratio_progress_of_df_summary_vs_feature = 1.0
number_features = len(filtered_series_names_in_source)
exponential_checks = number_features * number_features
progress_chunks = ratio_progress_of_df_summary_vs_feature \
+ number_features + (0 if target_feature_name is not None else 0)
class DummyFile(object):
def write(self, x):
pass # Do nothing
def flush(self):
pass # Do nothing
if self.verbosity_level in ('full', 'progress_only'):
self.progress_bar = tqdm(total=progress_chunks, bar_format= \
'{desc:45}|{bar}| [{percentage:3.0f}%] {elapsed} -> ({remaining} left)', \
ascii=False, dynamic_ncols=True, position=0, leave= True)
else:
# No progress bar, use dummy file
self.progress_bar = tqdm(total=progress_chunks, bar_format= \
'{desc:45}|{bar}| [{percentage:3.0f}%] {elapsed} -> ({remaining} left)', \
ascii=False, dynamic_ncols=True, position=0, leave= True, file=DummyFile())
# Summarize dataframe
self.progress_bar.set_description_str("[Summarizing dataframe]")
self.summary_source = dict()
self.summarize_dataframe(source_df, self.source_name, self.summary_source, fc.skip)
# UPDATE 2021-02-05: Count the target as an actual feature!!! It is!!!
# if target_feature_name:
# self.summary_source["num_columns"] = self.summary_source["num_columns"] - 1
if compare_df is not None:
self.summary_compare = dict()
self.summarize_dataframe(compare_df, self.compare_name, self.summary_compare, fc.skip)
cmp_not_in_src = \
[name for name in all_compare_names if name not in all_source_names]
self.summary_compare["num_cmp_not_in_source"] = len(cmp_not_in_src)
# UPDATE 2021-02-05: Count the target has an actual feature!!! It is!!!
# if target_feature_name:
# if target_feature_name in compare_df.columns:
# self.summary_compare["num_columns"] = self.summary_compare["num_columns"] - 1
else:
self.summary_compare = None
self.progress_bar.update(ratio_progress_of_df_summary_vs_feature)
self.num_summaries = number_features
# Association check
if pairwise_analysis == 'auto' and \
number_features > config["Processing"].getint("association_auto_threshold"):
print(f"PAIRWISE CALCULATION LENGTH WARNING: There are {number_features} features in "
f"this dataframe and the "
f"'pairwise_analysis' parameter is set to 'auto'.\nPairwise analysis is exponential in "
f"length: {number_features} features will cause ~"
f"{number_features * number_features} pairs to be "
f"evaluated, which
|
(source: Union[pandas.core.frame.DataFrame, Tuple[pandas.core.frame.DataFrame, str]], target_feature_name: str = None, compare: Union[pandas.core.frame.DataFrame, Tuple[pandas.core.frame.DataFrame, str]] = None, pairwise_analysis: str = 'auto', fc: sweetviz.feature_config.FeatureConfig = None, verbosity: str = 'default')
|
[
-0.00017854302132036537,
-0.06726387143135071,
-0.033956095576286316,
0.04355943202972412,
-0.012318202294409275,
-0.025912797078490257,
-0.009719831869006157,
0.03205163776874542,
-0.02447432279586792,
-0.04143211245536804,
-0.02451484277844429,
0.013331212103366852,
0.011629355140030384,
0.002963054459542036,
-0.04740887135267258,
-0.009790741838514805,
0.013999799266457558,
0.015833348035812378,
0.08132445067167282,
0.031302012503147125,
-0.04343787208199501,
-0.009699570946395397,
-0.03152487426996231,
0.023663915693759918,
0.002371709793806076,
0.009816067293286324,
-0.025264469906687737,
-0.05571555346250534,
0.008002779446542263,
0.0214555524289608,
-0.04005441814661026,
-0.06223933771252632,
-0.04777355492115021,
0.0072379568591713905,
-0.03663044422864914,
-0.03193007782101631,
-0.0032011116854846478,
0.01197377871721983,
-0.027189189568161964,
-0.004690236411988735,
-0.03875776380300522,
-0.06823635846376419,
-0.01326030120253563,
-0.04432931914925575,
-0.04692262411117554,
0.020006949082016945,
-0.10421847552061081,
0.012743666768074036,
-0.0004504729004111141,
-0.04100664705038071,
0.02447432279586792,
-0.03229476138949394,
-0.013624985702335835,
0.10616345703601837,
-0.007911608554422855,
0.03859568387269974,
-0.024048859253525734,
0.01978408731520176,
0.04072300344705582,
-0.02463640458881855,
0.0075418599881231785,
0.04923228919506073,
0.0238259956240654,
0.017484553158283234,
-0.011902867816388607,
-0.031058888882398605,
-0.00033302707015536726,
0.011072199791669846,
-0.02810089848935604,
-0.005480384454131126,
-0.012257421389222145,
-0.023542353883385658,
0.04347839206457138,
0.0599701963365078,
-0.04303266853094101,
-0.03916296735405922,
-0.04319474846124649,
-0.039183229207992554,
0.004138146061450243,
-0.05689064413309097,
0.03658992424607277,
0.0337737537920475,
-0.01770741492509842,
-0.06827687472105026,
0.02858714386820793,
-0.031666696071624756,
0.04445088282227516,
0.05705272778868675,
0.014293571934103966,
-0.04428879916667938,
-0.022367261350154877,
0.02443380281329155,
0.04104716703295708,
0.021030088886618614,
0.04878656566143036,
-0.013898498378694057,
-0.04416723921895027,
-0.004398996010422707,
-0.029640674591064453,
-0.033307772129774094,
0.004844720475375652,
0.036326538771390915,
0.013300822116434574,
0.08262109756469727,
0.007232891861349344,
-0.036529142409563065,
-0.03575925529003143,
-0.0005039725219830871,
-0.006300922483205795,
-0.03507040813565254,
-0.10178724676370621,
-0.013624985702335835,
0.008296552114188671,
-0.045382849872112274,
0.04773303493857384,
-0.017595984041690826,
-0.033469852060079575,
0.004310357850044966,
-0.04793563485145569,
-0.011690136045217514,
0.040885087102651596,
0.013017179444432259,
-0.008316812105476856,
-0.04287058487534523,
-0.03610367700457573,
-0.025608893483877182,
0.0236233938485384,
0.011436883360147476,
0.028810005635023117,
0.006630150601267815,
0.02427172102034092,
-0.02487952634692192,
-0.03158565238118172,
0.0599701963365078,
0.04153341054916382,
-0.05125831067562103,
-0.02234700135886669,
0.040560923516750336,
-0.008418113924562931,
0.020199419930577278,
0.051866114139556885,
-0.01519515085965395,
-0.021394772455096245,
-0.03658992424607277,
-0.0003061189781874418,
0.02419068105518818,
-0.013827587477862835,
0.0016106859548017383,
-0.05502670630812645,
-0.025791235268115997,
-0.01700843870639801,
-0.028485842049121857,
-0.05676908418536186,
-0.07836645841598511,
0.018781205639243126,
-0.004361008293926716,
0.014040319249033928,
0.011781306937336922,
0.02173919603228569,
-0.03488806635141373,
0.023481573909521103,
-0.07245048135519028,
-0.011102589778602123,
0.03442208096385002,
-0.02390703745186329,
0.015873868018388748,
-0.0192877110093832,
-0.023542353883385658,
-0.06215829774737358,
0.011477404274046421,
0.03006613813340664,
0.03831204026937485,
0.012743666768074036,
0.03172747418284416,
-0.07192371040582657,
0.10851363837718964,
0.04376203566789627,
-0.02793881669640541,
0.029883796349167824,
-0.0036569663789123297,
-0.015407882630825043,
-0.023542353883385658,
-0.0886586382985115,
-0.0055310348980128765,
-0.02712840959429741,
-0.0010377021972090006,
0.0005182179738767445,
-0.03051186352968216,
0.052676521241664886,
0.0476519912481308,
-0.004958684090524912,
-0.06126684695482254,
0.026662424206733704,
0.020604625344276428,
0.03071446530520916,
-0.06252297759056091,
-0.008681496605277061,
-0.00611858069896698,
0.045585453510284424,
-0.001327043166384101,
0.026601644232869148,
0.029154429212212563,
0.023724695667624474,
0.0023476507049053907,
-0.02652060240507126,
-0.017352862283587456,
-0.021556854248046875,
0.029417812824249268,
-0.05705272778868675,
0.02137451246380806,
-0.00193231669254601,
-0.06738542765378952,
0.016258811578154564,
0.053081728518009186,
0.05304120481014252,
-0.025426551699638367,
0.026277480646967888,
-0.0013612322509288788,
0.015833348035812378,
0.015326841734349728,
0.04915124922990799,
-0.040540661662817,
-0.04449140280485153,
0.03154513239860535,
0.023319492116570473,
-0.012247291393578053,
0.04323526844382286,
0.02455536462366581,
0.058835625648498535,
-0.09254860132932663,
0.0020044937264174223,
-0.07451701909303665,
0.008347203023731709,
-0.012115600518882275,
0.03304438665509224,
-0.0068834032863378525,
0.0065795001573860645,
0.045666493475437164,
-0.03602263703942299,
-0.03869698569178581,
-0.04238434135913849,
0.005014399997889996,
0.046720024198293686,
0.02581149712204933,
-0.016501933336257935,
-0.08213485777378082,
0.05445941910147667,
0.019034458324313164,
-0.0027908426709473133,
-0.0035987182054668665,
0.059240829199552536,
-0.022853506729006767,
-0.047003667801618576,
-0.03764345496892929,
-0.02275220677256584,
-0.0977352112531662,
-0.001202949439175427,
-0.004776342306286097,
0.035840295255184174,
-0.028202200308442116,
-0.0022602786775678396,
-0.03800813853740692,
0.001160529674962163,
0.04319474846124649,
-0.05044789984822273,
-0.01223716139793396,
-0.017383253201842308,
-0.014911508187651634,
-0.0034290391486138105,
-0.019520703703165054,
0.014668385498225689,
0.015083719976246357,
-0.03369271382689476,
0.05571555346250534,
-0.0480571985244751,
-0.036367062479257584,
-0.02117191068828106,
-0.034807026386260986,
-0.020320981740951538,
0.007410168647766113,
0.0381094366312027,
-0.06317130476236343,
-0.02234700135886669,
-0.005586750339716673,
-0.02806037850677967,
-0.013574334792792797,
-0.04485608637332916,
-0.03233528137207031,
0.021111128851771355,
-0.020462803542613983,
-0.07184267044067383,
0.0070606800727546215,
0.03774475306272507,
0.015640875324606895,
-0.017261691391468048,
0.07014081627130508,
0.02830350026488304,
-0.03172747418284416,
-0.037461113184690475,
0.003955804277211428,
-0.007298737298697233,
-0.0028414931148290634,
0.07459805905818939,
0.025568373501300812,
-0.058876145631074905,
-0.03808917850255966,
0.039872076362371445,
-0.06110476702451706,
0.03885906562209129,
-0.026459822431206703,
0.02137451246380806,
0.06689918041229248,
0.04315422847867012,
0.022914286702871323,
-0.010231401771306992,
-0.038899585604667664,
-0.04416723921895027,
-0.0050802454352378845,
0.01704895868897438,
0.05381109565496445,
-0.06941144913434982,
-0.0024742770474404097,
-0.007020159624516964,
0.00044667412294074893,
0.03201111778616905,
-0.00537401856854558,
0.03357115387916565,
-0.07103226333856583,
0.00977048184722662,
-0.02040202170610428,
-0.05502670630812645,
-0.007881218567490578,
0.0874430313706398,
0.014496173709630966,
-0.010808817110955715,
-0.0031960466876626015,
-0.028891047462821007,
0.0012346060248091817,
0.05397317558526993,
0.033672455698251724,
0.0425059013068676,
0.021192170679569244,
-0.0050371927209198475,
0.009532424621284008,
0.024008337408304214,
-0.06219881772994995,
0.0005789985880255699,
0.022387521341443062,
0.02222544141113758,
-0.031707216054201126,
0.0012573987478390336,
0.05012373626232147,
-0.03525274991989136,
0.07759656757116318,
0.0882534384727478,
0.014313831925392151,
-0.03421948105096817,
-0.0019107902189716697,
-0.003132733516395092,
0.015063459984958172,
0.04323526844382286,
-0.0003729143354576081,
-0.0034568968694657087,
0.00948177371174097,
0.02096930891275406,
-0.013695895671844482,
-0.015448403544723988,
0.01619803160429001,
-0.05028581991791725,
-0.0299850981682539,
-0.011852217838168144,
-0.025831757113337517,
0.05656648054718971,
-0.03462468460202217,
-0.027634914964437485,
0.008934748359024525,
-0.02724997140467167,
0.00826109666377306,
-0.037501633167266846,
-0.0027984401676803827,
0.045909617096185684,
0.01390862837433815,
-0.04246538132429123,
0.04214121773838997,
-0.036853305995464325,
-0.06933040916919708,
-0.02246856316924095,
-0.0504884198307991,
0.05069102346897125,
-0.011649616062641144,
0.02451484277844429,
-0.021394772455096245,
-0.03251762315630913,
0.01770741492509842,
0.04254642128944397,
-0.030653683468699455,
-0.04736835137009621,
0.06045643985271454,
-0.0108290771022439,
-0.022205179557204247,
-0.010282051749527454,
-0.025183429941534996,
-0.0025679804384708405,
0.009881912730634212,
-0.04141185060143471,
-0.0015245801769196987,
0.06114528700709343,
-0.0017702350160107017,
-0.011892737820744514,
0.029012607410550117,
-0.00020798362675122917,
-0.009805937297642231,
-0.05737689137458801,
0.03294308856129646,
-0.06013227626681328,
0.05081258341670036,
0.0206451453268528,
0.018781205639243126,
0.03916296735405922,
0.02072618529200554,
0.04303266853094101,
0.03249736130237579,
0.03087654709815979,
0.03634680062532425,
-0.011021549813449383,
-0.007734331768006086,
-0.04165497422218323,
0.019551094621419907,
-0.004897903650999069,
0.02161763422191143,
-0.01937888190150261,
-0.0024970697704702616,
-0.04076352342963219,
0.0061287106946110725,
-0.0004653515061363578,
0.0025477202143520117,
-0.05652596056461334,
0.007106265518814325,
0.03158565238118172,
0.03936557099223137,
0.01594477891921997,
-0.052757564932107925,
0.05518878623843193,
0.027594393119215965,
-0.04850292205810547,
-0.02492004819214344,
-0.06134789064526558,
-0.0322137214243412,
-0.09344004839658737,
-0.00989204365760088,
0.052514441311359406,
0.016410762444138527,
-0.007349387742578983,
0.0190851092338562,
-0.038919847458601,
0.012804446741938591,
0.007886283099651337,
-0.006235077045857906,
-0.018669774755835533,
0.03205163776874542,
0.00025784270837903023,
0.027594393119215965,
-0.045788053423166275,
0.021718936040997505,
0.0041786665096879005,
0.03650888428092003,
0.04193861782550812,
-0.04033806174993515,
-0.06560253351926804,
0.01933836191892624,
0.028830265626311302,
-0.03940609097480774,
-0.00019215534848626703,
-0.039426352828741074,
0.008570064790546894,
0.036731746047735214,
-0.058551982045173645,
0.015225540846586227,
0.014455653727054596,
0.004723159596323967,
-0.006716256495565176,
-0.018933158367872238,
0.051582470536231995,
0.0104238735511899,
0.007096135523170233,
-0.015043199062347412,
0.04761147126555443,
-0.026986587792634964,
0.021475812420248985,
-0.025345511734485626,
-0.04311370849609375,
-0.013351472094655037,
0.0208477471023798,
0.027270231395959854,
-0.011355842463672161,
0.04854344204068184,
0.06410327553749084,
0.02773621492087841,
0.05433785915374756,
-0.0326189249753952,
0.05486462637782097,
-0.0074152336455881596,
-0.0441267192363739,
0.01990564726293087,
0.051825594156980515,
-0.05433785915374756,
0.014415132813155651,
0.019773956388235092,
-0.07751552760601044,
-0.005991954356431961,
-0.018406393006443977,
-0.03812969848513603,
0.05056946352124214,
0.03047134168446064,
0.02520368993282318,
0.009613465517759323,
-0.017261691391468048,
-0.02182023599743843,
0.023278970271348953,
0.02242804318666458,
-0.04258694127202034,
-0.025183429941534996,
0.013797196559607983,
-0.04066222533583641,
0.009213326498866081,
0.003953271545469761,
0.06102372705936432,
0.02793881669640541,
0.023765215650200844,
-0.013989669270813465,
-0.039750516414642334,
-0.0036037832032889128,
0.04979957267642021,
0.013098220340907574,
0.014789946377277374,
0.00874734204262495,
0.02149607427418232,
-0.031707216054201126,
0.028688445687294006,
-0.0318085141479969,
0.039750516414642334,
0.00751653453335166,
-0.03626576066017151,
-0.05907874554395676,
0.008114210329949856,
-0.04740887135267258,
0.03026873990893364,
0.04303266853094101,
0.03875776380300522,
0.004345813300460577,
0.02463640458881855,
0.03488806635141373,
0.016420893371105194,
0.02263064496219158,
0.027432313188910484,
0.03567821532487869,
0.046679504215717316,
0.05368953198194504,
0.04988061636686325,
-0.012794316746294498,
0.00032052272581495345,
-0.07095122337341309,
0.07386869192123413,
-0.08010883629322052,
0.03308490663766861,
-0.0036670963745564222,
0.029397550970315933,
0.04262746497988701,
-0.07480066269636154,
-0.06033487990498543,
0.03727877140045166,
-0.012551194988191128,
-0.032821524888277054,
-0.022995328530669212,
-0.046031177043914795,
-0.04817875847220421,
0.03825125843286514,
0.0683579221367836,
-0.021394772455096245,
-0.009699570946395397,
-0.02830350026488304,
0.04955645278096199,
0.0726936012506485,
-0.02887078747153282,
-0.016015689820051193,
0.052230797708034515,
-0.025730455294251442,
-0.006412353832274675,
0.06945197284221649,
-0.03340907022356987,
-0.06770959496498108,
-0.03855516389012337,
-0.0026819440536201,
-0.07196423411369324,
0.0013675636146217585,
0.10908092558383942,
-0.0238259956240654,
-0.0282224602997303,
0.07994675636291504,
0.023319492116570473,
-0.003996324725449085,
0.019024329259991646,
-0.013280562125146389,
-0.03843360021710396,
0.03571873530745506,
-0.03430052101612091,
0.034401822835206985,
0.008534609340131283,
-0.012966528534889221,
0.021556854248046875,
0.04066222533583641,
0.0591597855091095,
0.04420775920152664,
-0.05547242984175682,
-0.0020804693922400475,
-0.04761147126555443,
-0.021759456023573875,
-0.03881854563951492,
0.012642365880310535,
-0.014891248196363449,
-0.0234207920730114,
0.024899786338210106,
-0.02568993531167507,
0.040641963481903076,
-0.0052625872194767,
0.02035137265920639,
-0.0094412537291646,
-0.04882708564400673,
-0.024778226390480995,
-0.001881666132248938,
-0.0011503995629027486,
-0.020949047058820724,
0.040115199983119965,
-0.017383253201842308,
0.039831556379795074,
-0.01084933802485466,
0.052838604897260666,
-0.00028665020363405347,
-0.03537430986762047,
-0.003011172404512763,
0.018102489411830902,
-0.015144499950110912,
0.019844867289066315,
0.006898598279803991,
-0.018213920295238495,
-0.023562613874673843,
0.004221719224005938,
-0.023765215650200844,
0.07443597912788391,
0.033753495663404465,
-0.013493293896317482,
0.021516334265470505,
-0.01835574209690094,
-0.027067629620432854,
0.0066098906099796295,
0.046233780682086945,
-0.07804229110479355,
0.03916296735405922,
0.058308858424425125,
0.020371632650494576,
0.0038924911059439182,
0.011528054252266884,
0.07232891768217087,
0.0007483611698262393,
-0.0017170520732179284,
0.0042318496853113174,
0.04813823848962784,
0.005865328013896942,
0.015124239958822727,
0.06588617712259293,
-0.009350082837045193,
0.02508212812244892,
-0.023501833900809288,
0.008590325713157654,
0.02953937277197838,
-0.013341342099010944,
0.012784186750650406,
0.0019373816903680563,
-0.04364047199487686,
-0.04445088282227516,
0.03010665811598301,
0.0846066027879715,
-0.04090534523129463,
-0.04218173772096634,
0.01239924319088459,
0.030896807089447975,
-0.016937527805566788,
-0.046152736991643906,
0.04825979843735695,
-0.018730556592345238,
-0.04436983913183212,
0.012581584975123405,
0.013017179444432259,
0.033348292112350464,
-0.039325051009655,
-0.0011459676316007972,
-0.04021649807691574,
-0.05774157494306564,
0.020047469064593315,
-0.011730656027793884,
0.003948206547647715,
0.017727676779031754,
0.0032213719096034765,
0.05595867708325386,
0.05056946352124214,
0.06126684695482254,
-0.015053329057991505,
0.02214439958333969,
0.018527954816818237,
-0.0767456442117691,
0.008048364892601967,
0.027472833171486855,
0.006250272039324045,
0.0208477471023798,
-0.028647923842072487,
0.04082430526614189,
-0.06296870857477188,
-0.00531323766335845,
-0.0007337991846725345,
-0.007182241417467594,
0.05073154345154762,
0.04769251495599747,
0.017241431400179863,
0.022934548556804657,
-0.046638984233140945,
0.05137987062335014,
0.0200677290558815,
-0.02121243067085743,
0.04457244277000427,
-0.023562613874673843,
0.06183413416147232,
0.052798084914684296,
-0.021840495988726616,
0.03438156098127365,
0.012875357642769814,
-0.040520403534173965,
0.03555665165185928,
0.006939118728041649,
0.03172747418284416,
0.04114846885204315,
-0.004857383202761412,
-0.011761046946048737,
-0.04420775920152664,
-0.003332803025841713,
0.022731944918632507,
0.05676908418536186,
0.015225540846586227,
0.009988279081881046,
0.004398996010422707,
-0.03748137131333351,
0.04295162484049797,
-0.06207725778222084,
-0.01519515085965395,
0.023684175685048103,
0.03207189962267876,
0.028161680325865746,
0.0325581431388855,
0.015671266242861748,
-0.02386651746928692,
-0.07253152132034302,
0.01770741492509842,
0.01378706656396389,
0.031423572450876236,
0.03162617236375809,
0.0305929034948349,
0.027837516739964485,
-0.011284932494163513,
0.051825594156980515
] |
708,812
|
sweetviz.dataframe_report
|
__getitem__
| null |
def __getitem__(self, key):
# Can also access target
if key in self._features.keys():
return self._features[key]
elif self._target is not None and key == self._target["name"]:
return self._target
else:
return None
|
(self, key)
|
[
0.06454727053642273,
-0.06769505143165588,
-0.04827782139182091,
0.017339341342449188,
0.0006438147975131869,
-0.021946070715785027,
0.045519087463617325,
0.02749890461564064,
0.07349546253681183,
-0.011423982679843903,
-0.04099193587899208,
0.02647322230041027,
0.02608416974544525,
-0.03156626597046852,
0.005455570295453072,
0.029497217386960983,
0.008245250210165977,
0.04021383076906204,
-0.0056147282011806965,
-0.00028874955023638904,
-0.0009831300703808665,
0.006503358483314514,
0.07872997969388962,
-0.040284570306539536,
0.01165387686342001,
0.034324999898672104,
0.07243441045284271,
-0.0318492129445076,
0.04849002882838249,
-0.04880834370851517,
-0.0763249322772026,
-0.060904327780008316,
-0.014456819742918015,
0.07957882434129715,
-0.03066437318921089,
0.022865649312734604,
-0.02774648368358612,
0.012387770228087902,
0.02877216599881649,
-0.027658062055706978,
-0.021238703280687332,
-0.05248665437102318,
-0.002174049150198698,
-0.03135405480861664,
-0.01235240139067173,
0.023519963026046753,
-0.03377678990364075,
0.023997437208890915,
-0.0051947287283837795,
-0.049338869750499725,
0.011149877682328224,
-0.01961175911128521,
-0.014297662302851677,
-0.0016258396208286285,
-0.04799487441778183,
-0.004191151354461908,
-0.021362492814660072,
0.03352921083569527,
-0.012776821851730347,
0.08368155360221863,
0.011477034538984299,
0.0011124456068500876,
-0.02265343815088272,
0.01704755239188671,
0.013236611150205135,
-0.06263737380504608,
-0.027056800201535225,
0.039152782410383224,
0.008386723697185516,
0.0331401601433754,
0.018179340288043022,
-0.01139745581895113,
0.013661031611263752,
-0.0009046564809978008,
0.01615450158715248,
-0.02838311344385147,
-0.06019695848226547,
-0.021557018160820007,
0.040815092623233795,
-0.016649657860398293,
-0.048065610229969025,
0.02086733654141426,
-0.04686308652162552,
-0.05365381017327309,
-0.025942696258425713,
-0.020460600033402443,
0.04650940001010895,
-0.02176922932267189,
-0.026384800672531128,
-0.008713881485164165,
-0.03727825731039047,
0.03199068829417229,
-0.04788876697421074,
0.035439103841781616,
0.016207553446292877,
-0.021450914442539215,
0.022105228155851364,
-0.03616415336728096,
-0.02889595553278923,
0.016110289841890335,
0.014934292994439602,
0.014562924392521381,
0.020053863525390625,
0.06677547842264175,
0.012078297324478626,
0.014465661719441414,
-0.0432908795773983,
0.029373427852988243,
0.010796193964779377,
-0.008333670906722546,
-0.024775540456175804,
0.00560146477073431,
-0.03054058365523815,
0.04403361678123474,
-0.022476596757769585,
-0.046403296291828156,
-0.001471102936193347,
0.025111539289355278,
-0.0572613850235939,
0.018303129822015762,
0.0012235244503244758,
-0.008696196600794792,
-0.04173467308282852,
-0.0062513588927686214,
-0.004330414347350597,
-0.02191070280969143,
0.0005327360122464597,
0.024722488597035408,
0.01668502576649189,
-0.06132874637842178,
0.006158516742289066,
-0.005530728027224541,
-0.04749971628189087,
0.08346934616565704,
0.007763356436043978,
0.015199555084109306,
0.020407546311616898,
0.03069974109530449,
-0.013422294519841671,
0.04817171394824982,
0.0229010172188282,
-0.014509872533380985,
0.010796193964779377,
-0.02672080136835575,
-0.008802302181720734,
-0.04085046425461769,
-0.004677466582506895,
0.016110289841890335,
-0.0007134462357498705,
-0.041451726108789444,
-0.016525868326425552,
0.01133556105196476,
-0.005225676111876965,
-0.0471460334956646,
0.0075644091702997684,
-0.007281462196260691,
-0.044882457703351974,
0.005353886634111404,
-0.007312409579753876,
-0.012272822670638561,
0.024669434875249863,
-0.028719114139676094,
-0.044245824217796326,
-0.03618183732032776,
-0.022565018385648727,
-0.007489251438528299,
0.0012401033891364932,
-0.008934933692216873,
0.017763761803507805,
0.06437042355537415,
-0.04279572144150734,
-0.01490776613354683,
-0.044776350259780884,
0.03805636242032051,
0.012997874058783054,
0.05326475948095322,
-0.034714050590991974,
0.0045315721072256565,
0.04123951494693756,
0.02074354700744152,
0.0023586279712617397,
0.010460194200277328,
-0.07590050995349884,
-0.04085046425461769,
0.015906922519207,
0.029992373660206795,
0.01159198209643364,
0.004458624869585037,
-0.00410715164616704,
0.1017901599407196,
-0.00047968345461413264,
-0.0534769706428051,
0.00753788324072957,
-0.014465661719441414,
-0.001578313298523426,
-0.009328406304121017,
-0.009673248045146465,
0.0014523135032504797,
0.003061574185267091,
0.07710304111242294,
0.0017463130643591285,
-0.03706604614853859,
-0.00614083232358098,
0.09839479625225067,
-0.08254976570606232,
0.02330775372684002,
0.08559144288301468,
0.004129256587475538,
-0.06122264266014099,
0.009063144214451313,
-0.03280416131019592,
-0.02265343815088272,
0.0016711553325876594,
0.02813553437590599,
0.08835017681121826,
-0.030010059475898743,
-0.10667099058628082,
-0.012193243950605392,
-0.007988830097019672,
0.051743920892477036,
0.06348621845245361,
-0.04863150417804718,
0.0712318867444992,
0.03531531244516373,
0.02394438348710537,
0.004637677222490311,
0.005451149307191372,
0.0007139989174902439,
-0.0331224761903286,
-0.030629005283117294,
0.04219445958733559,
-0.02981553226709366,
0.03657089173793793,
-0.005490938667207956,
0.037242889404296875,
-0.009735142812132835,
0.015579765662550926,
0.02000081166625023,
0.050116974860429764,
0.020336810499429703,
0.015208397060632706,
0.01490776613354683,
0.002453680383041501,
-0.0009759458480402827,
-0.06101043149828911,
0.012361244298517704,
0.03172542527318001,
0.028064798563718796,
-0.028966691344976425,
-0.009346090257167816,
0.05612959712743759,
0.0318492129445076,
0.003156626597046852,
0.04785339906811714,
0.00020143389701843262,
-0.07653714716434479,
-0.03964793682098389,
-0.02343154326081276,
0.00909851212054491,
-0.0299216378480196,
-0.08969417959451675,
-0.016013028100132942,
0.0394357293844223,
0.04891445115208626,
-0.06398137658834457,
0.024015121161937714,
0.05920664593577385,
0.03402436897158623,
-0.013864399865269661,
-0.016967972740530968,
0.08891607075929642,
0.021610071882605553,
-0.02380291000008583,
-0.015146502293646336,
0.02864837646484375,
-0.03497931361198425,
0.021839965134859085,
0.0025796801783144474,
-0.018780602142214775,
0.009266511537134647,
0.03043447807431221,
-0.017922919243574142,
-0.03809173032641411,
0.041840776801109314,
-0.047287505120038986,
-0.036853838711977005,
-0.0035589418839663267,
0.004615571815520525,
0.05103655159473419,
-0.008178934454917908,
0.01374061033129692,
0.044634878635406494,
0.002108838874846697,
0.009973878972232342,
0.010362931527197361,
0.013236611150205135,
-0.09535311162471771,
0.008824407123029232,
0.07795187830924988,
0.00511957099661231,
0.029621006920933723,
-0.008961459621787071,
-0.04421045631170273,
-0.03273342177271843,
-0.034448787569999695,
0.006379568949341774,
0.06228369101881981,
0.005048834253102541,
-0.015747765079140663,
0.025040803477168083,
-0.0011284719221293926,
-0.03459026291966438,
-0.018745234236121178,
0.041168779134750366,
-0.052522022277116776,
-0.04873760789632797,
-0.026190275326371193,
0.01615450158715248,
0.030752794817090034,
0.08361081779003143,
-0.05414896830916405,
0.005570517852902412,
-0.01795828714966774,
0.013917451724410057,
0.04180540889501572,
-0.046014245599508286,
-0.027551956474781036,
-0.08453039824962616,
-0.01285640150308609,
0.04887908324599266,
-0.02201680839061737,
-0.032149843871593475,
0.025412170216441154,
0.019452601671218872,
-0.07158557325601578,
0.021999124437570572,
-0.002993047935888171,
0.07533461600542068,
0.01259998045861721,
0.0019607339054346085,
-0.03897593915462494,
-0.025677433237433434,
-0.036093417555093765,
0.041204147040843964,
0.10263899713754654,
0.011866087093949318,
0.042583514004945755,
-0.01043366827070713,
0.07865924388170242,
-0.06988789141178131,
-0.032397422939538956,
-0.05765043571591377,
0.06313253194093704,
0.017887551337480545,
0.00560146477073431,
-0.02583659067749977,
0.008793460205197334,
-0.05704917386174202,
-0.011423982679843903,
0.018656812608242035,
0.07105504721403122,
-0.04300793260335922,
-0.05114265903830528,
0.015394081361591816,
-0.05361844226717949,
-0.022511964663863182,
-0.011600824072957039,
0.020991126075387,
0.015712397173047066,
-0.0458727702498436,
-0.0031256794463843107,
-0.016578922048211098,
-0.046544767916202545,
0.04509466513991356,
-0.010079984553158283,
-0.0356866829097271,
0.032786473631858826,
0.014271135441958904,
0.011149877682328224,
-0.027428166940808296,
0.014147346839308739,
0.06946346908807755,
-0.014262293465435505,
0.08566218614578247,
-0.031124161556363106,
-0.014023557305335999,
-0.0394710972905159,
-0.021291757002472878,
0.041557829827070236,
0.005963990930467844,
-0.013643347658216953,
-0.011998718604445457,
-0.06536073982715607,
0.01375829428434372,
-0.006971989292651415,
-0.03936498984694481,
0.04364456236362457,
-0.06592663377523422,
-0.02265343815088272,
-0.0005382623057812452,
0.040708988904953,
0.022830279543995857,
-0.07625419646501541,
0.06458263844251633,
0.023732174187898636,
0.003967888653278351,
0.015173029154539108,
0.0483839251101017,
-0.0229363851249218,
-0.005866727791726589,
-0.002153049223124981,
0.01349303126335144,
-0.05202686786651611,
-0.03414815664291382,
-0.031141845509409904,
0.0235730167478323,
0.018161656334996223,
0.057862646877765656,
-0.017754919826984406,
0.06316789984703064,
0.00006724824925186113,
0.0041115726344287395,
-0.04014309495687485,
-0.045660559087991714,
-0.029214270412921906,
0.0037777835968881845,
0.003923678305000067,
-0.0065254634246230125,
0.046155717223882675,
0.032255951315164566,
-0.08983565121889114,
-0.05910053849220276,
0.02341385744512081,
0.00828061904758215,
0.032927948981523514,
-0.015535554848611355,
-0.04937423765659332,
0.0017894182819873095,
-0.008682933636009693,
0.0028228377923369408,
0.014439135789871216,
-0.015544396825134754,
-0.008581249974668026,
0.028064798563718796,
-0.03453721106052399,
-0.07031231373548508,
-0.026331748813390732,
0.043467722833156586,
0.022883333265781403,
-0.0661388412117958,
-0.011087982915341854,
0.012776821851730347,
0.04215909168124199,
0.03577510267496109,
0.06702305376529694,
-0.03598731383681297,
-0.09004785865545273,
0.014447977766394615,
0.08870386332273483,
-0.029638690873980522,
-0.0432908795773983,
0.034696366637945175,
0.013448821380734444,
-0.027941009029746056,
0.004471887834370136,
0.019647127017378807,
0.040708988904953,
0.006167358718812466,
-0.021733861416578293,
-0.025942696258425713,
0.007918093353509903,
-0.011565455235540867,
-0.01920502260327339,
-0.07406135648488998,
0.004787992686033249,
0.026950694620609283,
0.007387567311525345,
0.045766666531562805,
0.0008764723315834999,
-0.046403296291828156,
0.008103776723146439,
-0.07278809696435928,
0.011804192326962948,
-0.02610185369849205,
-0.01679113134741783,
0.002063523046672344,
-0.02698606252670288,
0.049091290682554245,
0.020460600033402443,
-0.014863556250929832,
0.010902298614382744,
0.012909453362226486,
0.01654355227947235,
0.0058004120364785194,
-0.009699773974716663,
0.007586514577269554,
0.03777341544628143,
0.02760501019656658,
0.033812157809734344,
0.0662803202867508,
0.026773853227496147,
0.004317151382565498,
0.005026728846132755,
-0.0065431478433310986,
0.002345364773645997,
-0.06642179191112518,
-0.022388175129890442,
0.021291757002472878,
0.007931356318295002,
-0.00735661992803216,
0.03250352665781975,
0.012900611385703087,
0.04622645303606987,
-0.029850900173187256,
0.04389214143157005,
0.039930883795022964,
-0.03918815031647682,
0.036093417555093765,
0.002158575691282749,
0.05259276181459427,
0.03805636242032051,
0.015005029737949371,
0.0292850062251091,
0.004029783420264721,
-0.007038305047899485,
0.03612878546118736,
-0.03932962194085121,
0.0035523101687431335,
-0.021044177934527397,
0.07434430718421936,
-0.012962506152689457,
-0.0356866829097271,
-0.03193763270974159,
0.07370767742395401,
-0.03245047479867935,
0.004849886987358332,
0.008037460967898369,
-0.015208397060632706,
-0.0343426838517189,
-0.00038932834286242723,
0.03462563082575798,
-0.03450183942914009,
0.0007416304433718324,
-0.033316999673843384,
0.04948034510016441,
-0.043609194457530975,
-0.06228369101881981,
-0.002018207451328635,
0.03466099873185158,
0.009195774793624878,
-0.011309035122394562,
0.014492187649011612,
0.005756201688200235,
0.004602308850735426,
0.053158655762672424,
0.025394486263394356,
-0.014554082415997982,
-0.005110729020088911,
-0.016596606001257896,
0.013599136844277382,
0.00512399198487401,
-0.0395064651966095,
0.0623544305562973,
0.06571442633867264,
-0.008674091659486294,
-0.020336810499429703,
-0.05910053849220276,
-0.0006924463086761534,
0.035704366862773895,
-0.05054139345884323,
-0.0024050488136708736,
-0.02827700786292553,
0.008895143866539001,
0.048065610229969025,
-0.0009654458845034242,
0.023626068606972694,
0.002129838801920414,
0.017480814829468727,
-0.0031809424981474876,
-0.03667699545621872,
-0.009584827348589897,
0.030204584822058678,
0.10638804733753204,
0.008669670671224594,
-0.02150396630167961,
-0.007139988709241152,
0.0029598900582641363,
0.010265667922794819,
-0.013775978237390518,
-0.03351152688264847,
0.006622726563364267,
-0.04792413488030434,
-0.014465661719441414,
0.0033356789499521255,
0.05676622688770294,
-0.0069277784787118435,
-0.00047194663784466684,
-0.015880396589636803,
0.05001087114214897,
0.000637735822238028,
0.019647127017378807,
-0.05552833527326584,
0.04612034931778908,
-0.023201648145914078,
-0.01159198209643364,
0.013386926613748074,
-0.020566705614328384,
-0.0035744155757129192,
0.01126482430845499,
-0.08608660101890564,
-0.013899767771363258,
-0.034307315945625305,
-0.012140192091464996,
0.0036827311851084232,
-0.030858898535370827,
-0.028559954836964607,
0.03579278662800789,
0.058110225945711136,
0.004211046267300844,
-0.04173467308282852,
-0.007440620101988316,
-0.01030987873673439,
-0.03234437108039856,
0.022830279543995857,
-0.012387770228087902,
-0.07399062067270279,
0.03986014798283577,
-0.06178853660821915,
-0.007599777542054653,
0.0254829078912735,
0.001717576291412115,
-0.005375991575419903,
0.050612132996320724,
-0.019293444231152534,
-0.012184401974081993,
0.006865884177386761,
0.06047990545630455,
-0.017286289483308792,
-0.020672809332609177,
0.042335934937000275,
-0.06543147563934326,
0.05107191950082779,
0.019399547949433327,
0.016897236928343773,
-0.017410079017281532,
0.011317877098917961,
-0.02341385744512081,
0.02382059395313263,
0.05496244132518768,
0.011945665813982487,
-0.05814559385180473,
0.001472208183258772,
-0.03207910805940628,
0.025518275797367096,
0.03642941638827324,
-0.0381978340446949,
-0.007688198704272509,
0.011777665466070175,
-0.037738047540187836,
-0.013970504514873028,
-0.06829631328582764,
0.02268880605697632,
0.005473254714161158,
-0.04849002882838249,
0.006503358483314514,
-0.033034052699804306,
-0.054679494351148605,
-0.05319402366876602,
-0.0003393152728676796,
0.04237130284309387,
-0.0007211830816231668,
-0.03004542738199234,
-0.038268573582172394,
-0.026261011138558388,
0.010354089550673962,
-0.023378489539027214,
0.07080747187137604,
-0.02764037810266018,
0.02748122066259384,
-0.026773853227496147,
0.0929480642080307,
0.0368892066180706,
-0.0012699454091489315,
0.08629881590604782,
-0.0009201301727443933,
0.057119909673929214,
0.002052470576018095,
-0.016216395422816277,
0.03756120428442955,
-0.04887908324599266,
0.0012334717903286219,
-0.06656326353549957,
0.025518275797367096,
0.028117850422859192,
-0.036747731268405914,
-0.006414937321096659,
-0.03234437108039856,
-0.021804597228765488,
-0.006865884177386761,
0.016623131930828094,
-0.019028181210160255,
0.009708616882562637,
-0.043715301901102066,
-0.04141635820269585,
0.0019485759548842907,
-0.0002862627152353525,
-0.02330775372684002,
0.028949007391929626,
-0.01133556105196476,
-0.06444115936756134,
0.015005029737949371,
-0.021981438621878624,
0.012493874877691269,
-0.01823239214718342,
0.04498856142163277,
0.019647127017378807,
-0.09245290607213974,
0.01708292029798031,
-0.02850690297782421,
0.03932962194085121,
0.004619992803782225,
-0.015632817521691322,
0.021291757002472878,
0.03879909589886665,
0.027817219495773315,
0.002506732940673828,
0.007776619400829077,
-0.06790726631879807,
-0.04300793260335922,
0.10454888641834259,
0.030735110864043236,
-0.010672404430806637,
0.021291757002472878,
-0.012131349183619022,
-0.01769302599132061,
-0.04569593071937561,
0.015544396825134754,
-0.011910296976566315,
0.0662803202867508,
0.056483279913663864,
-0.04095656797289848,
0.04827782139182091,
-0.007277041207998991,
0.03128331899642944,
0.02023070491850376,
0.006087779998779297,
-0.0273574311286211,
0.008598933927714825,
-0.001243419130332768,
-0.013378084637224674,
0.016773447394371033,
0.039541833102703094,
0.03989551588892937,
0.030505215749144554,
0.0381978340446949,
-0.06178853660821915,
-0.006423779297620058,
-0.014324188232421875,
0.04990476369857788,
-0.00229452271014452,
-0.0458727702498436,
-0.011123350821435452,
-0.04760582000017166,
0.04226519912481308,
-0.058782223612070084,
-0.002477996051311493,
-0.02420964650809765,
0.023466911166906357
] |
708,813
|
sweetviz.dataframe_report
|
__init__
| null |
def __init__(self,
source: Union[pd.DataFrame, Tuple[pd.DataFrame, str]],
target_feature_name: str = None,
compare: Union[pd.DataFrame, Tuple[pd.DataFrame, str]] = None,
pairwise_analysis: str = 'auto',
fc: FeatureConfig = None,
verbosity: str = 'default'): # verbosity: default (full), full, progress_only, off
# Parse analysis parameter
pairwise_analysis = pairwise_analysis.lower()
if pairwise_analysis not in ["on", "auto", "off"]:
raise ValueError('"pairwise_analysis" parameter should be one of: "on", "auto", "off"')
# Parse verbosity parameter
if verbosity == "default":
verbosity = config["General"]["default_verbosity"]
if verbosity not in ["default", "full", "progress_only", "off"]:
raise ValueError('"verbosity" parameter should be one of: "default", "full", "progress_only", "off"')
self.verbosity_level = verbosity
sv_html.load_layout_globals_from_config()
self._jupyter_html = ""
self._page_html = ""
self._features = dict()
self.compare_name = None
self._target = None
self.test_mode = False
self.corr_warning = list()
if fc is None:
fc = FeatureConfig()
# Associations: _associations[FEATURE][GIVES INFORMATION ABOUT THIS FEATURE]
self._associations = dict()
self._associations_compare = dict()
self._association_graphs = dict()
self._association_graphs_compare = dict()
# Handle source and compare dataframes and names
if type(source) == pd.DataFrame:
source_df = source
self.source_name = "DataFrame"
elif type(source) == list or type(source) == tuple:
if len(source) != 2:
raise ValueError('"source" parameter should either be a string or a list of 2 elements: [dataframe, "Name"].')
source_df = source[0]
self.source_name = source[1]
else:
raise ValueError('"source" parameter should either be a string or a list of 2 elements: [dataframe, "Name"].')
if len(su.get_duplicate_cols(source_df)) > 0:
raise ValueError('Duplicate column names detected in "source"; this is not supported.')
# NEW (12-14-2020): Rename indices that use the reserved name "index"
# From pandas-profiling:
# If the DataFrame contains a column or index named `index`, this will produce errors. We rename the {index,column} to be `df_index`.
if 'index' in source_df.columns:
source_df = source_df.rename(columns={"index": "df_index"})
if target_feature_name == 'index':
target_feature_name = 'df_index'
all_source_names = [cur_name for cur_name, cur_series in source_df.items()]
if compare is None:
compare_df = None
self.compare_name = None
all_compare_names = list()
elif type(compare) == pd.DataFrame:
compare_df = compare
if 'index' in compare_df.columns:
compare_df = compare_df.rename(columns={"index": "df_index"})
self.compare_name = "Compared"
all_compare_names = [cur_name for cur_name, cur_series in compare_df.items()]
elif type(compare) == list or type(compare) == tuple:
if len(compare) != 2:
raise ValueError('"compare" parameter should either be a string or a list of 2 elements: [dataframe, "Name"].')
compare_df = compare[0]
if 'index' in compare_df.columns:
compare_df = compare_df.rename(columns={"index": "df_index"})
self.compare_name = compare[1]
all_compare_names = [cur_name for cur_name, cur_series in compare_df.items()]
else:
raise ValueError('"compare" parameter should either be a string or a list of 2 elements: [dataframe, "Name"].')
# Validate some params
if compare_df is not None and len(su.get_duplicate_cols(compare_df)) > 0:
raise ValueError('Duplicate column names detected in "compare"; this is not supported.')
if target_feature_name in fc.skip:
raise ValueError(f'"{target_feature_name}" was also specified as "skip". Target cannot be skipped.')
for key in fc.get_all_mentioned_features():
if key not in all_source_names:
raise ValueError(f'"{key}" was specified in "feature_config" but is not found in source dataframe (watch case-sensitivity?).')
# Find Features and Target (FILTER SKIPPED)
filtered_series_names_in_source = [cur_name for cur_name, cur_series in source_df.items()
if cur_name not in fc.skip]
for skipped in fc.skip:
if skipped not in all_source_names and skipped not in all_compare_names:
raise ValueError(f'"{skipped}" was marked as "skip" but is not in any provided dataframe (watch case-sensitivity?).')
# Progress bar setup
ratio_progress_of_df_summary_vs_feature = 1.0
number_features = len(filtered_series_names_in_source)
exponential_checks = number_features * number_features
progress_chunks = ratio_progress_of_df_summary_vs_feature \
+ number_features + (0 if target_feature_name is not None else 0)
class DummyFile(object):
def write(self, x):
pass # Do nothing
def flush(self):
pass # Do nothing
if self.verbosity_level in ('full', 'progress_only'):
self.progress_bar = tqdm(total=progress_chunks, bar_format= \
'{desc:45}|{bar}| [{percentage:3.0f}%] {elapsed} -> ({remaining} left)', \
ascii=False, dynamic_ncols=True, position=0, leave= True)
else:
# No progress bar, use dummy file
self.progress_bar = tqdm(total=progress_chunks, bar_format= \
'{desc:45}|{bar}| [{percentage:3.0f}%] {elapsed} -> ({remaining} left)', \
ascii=False, dynamic_ncols=True, position=0, leave= True, file=DummyFile())
# Summarize dataframe
self.progress_bar.set_description_str("[Summarizing dataframe]")
self.summary_source = dict()
self.summarize_dataframe(source_df, self.source_name, self.summary_source, fc.skip)
# UPDATE 2021-02-05: Count the target as an actual feature!!! It is!!!
# if target_feature_name:
# self.summary_source["num_columns"] = self.summary_source["num_columns"] - 1
if compare_df is not None:
self.summary_compare = dict()
self.summarize_dataframe(compare_df, self.compare_name, self.summary_compare, fc.skip)
cmp_not_in_src = \
[name for name in all_compare_names if name not in all_source_names]
self.summary_compare["num_cmp_not_in_source"] = len(cmp_not_in_src)
# UPDATE 2021-02-05: Count the target has an actual feature!!! It is!!!
# if target_feature_name:
# if target_feature_name in compare_df.columns:
# self.summary_compare["num_columns"] = self.summary_compare["num_columns"] - 1
else:
self.summary_compare = None
self.progress_bar.update(ratio_progress_of_df_summary_vs_feature)
self.num_summaries = number_features
# Association check
if pairwise_analysis == 'auto' and \
number_features > config["Processing"].getint("association_auto_threshold"):
print(f"PAIRWISE CALCULATION LENGTH WARNING: There are {number_features} features in "
f"this dataframe and the "
f"'pairwise_analysis' parameter is set to 'auto'.\nPairwise analysis is exponential in "
f"length: {number_features} features will cause ~"
f"{number_features * number_features} pairs to be "
f"evaluated, which could take a long time.\n\nYou must call the function with the "
f"parameter pairwise_analysis='on' or 'off' to explicitly select desired behavior."
)
self.progress_bar.close()
return
# Validate and process TARGET
target_to_process = None
target_type = None
if target_feature_name:
# Make sure target exists
self.progress_bar.set_description_str(f"Feature: {target_feature_name} (TARGET)")
targets_found = [item for item in filtered_series_names_in_source
if item == target_featur
|
(self, source: Union[pandas.core.frame.DataFrame, Tuple[pandas.core.frame.DataFrame, str]], target_feature_name: Optional[str] = None, compare: Union[pandas.core.frame.DataFrame, Tuple[pandas.core.frame.DataFrame, str], NoneType] = None, pairwise_analysis: str = 'auto', fc: Optional[sweetviz.feature_config.FeatureConfig] = None, verbosity: str = 'default')
|
[
0.004512696992605925,
-0.06232229247689247,
-0.033975571393966675,
0.03923996165394783,
-0.012968625873327255,
-0.01927577145397663,
-0.01630948856472969,
0.045516736805438995,
-0.016866300255060196,
-0.03946268558502197,
-0.024600906297564507,
0.013626674190163612,
0.00852932594716549,
0.004262132104486227,
-0.042601075023412704,
-0.009850486181676388,
0.007420767098665237,
0.021442269906401634,
0.0734180137515068,
0.02498561143875122,
-0.042682066559791565,
-0.005421310663223267,
-0.031080156564712524,
0.014072122983634472,
0.013657045550644398,
0.001799510675482452,
-0.025653783231973648,
-0.05053815618157387,
-0.0064640650525689125,
0.020612116903066635,
-0.03735693171620369,
-0.06155288219451904,
-0.039847392588853836,
0.011500670574605465,
-0.030472727492451668,
-0.031039660796523094,
0.0009453125530853868,
0.0138595225289464,
-0.02105756476521492,
-0.011855004355311394,
-0.04677209258079529,
-0.08317738026380539,
-0.014031627215445042,
-0.034016065299510956,
-0.03810609504580498,
0.0342387929558754,
-0.10828448086977005,
0.010781878605484962,
0.001035794266499579,
-0.04045482352375984,
0.008767236024141312,
-0.046326644718647,
-0.006661479827016592,
0.10836546868085861,
-0.012796520255506039,
0.046407632529735565,
-0.031059909611940384,
0.024519914761185646,
0.039685413241386414,
-0.022616634145379066,
0.004836659412831068,
0.04507128894329071,
0.022333167493343353,
0.017524348571896553,
-0.009167127311229706,
-0.029156628996133804,
0.00021608048700727522,
0.003535747528076172,
-0.034016065299510956,
-0.003118139458820224,
-0.022252177819609642,
-0.02407446689903736,
0.037701141089200974,
0.046448130160570145,
-0.04055606201291084,
-0.03160659596323967,
-0.024317437782883644,
-0.019690848886966705,
0.0008333176956512034,
-0.06199833005666733,
0.02871118113398552,
0.03614206984639168,
-0.00869636982679367,
-0.07515931129455566,
0.02009580098092556,
-0.02887316234409809,
0.03470448777079582,
0.06264625489711761,
0.0076536149717867374,
-0.05673393979668617,
-0.03176857531070709,
0.018972055986523628,
0.029521087184548378,
0.031242137774825096,
0.04705556109547615,
-0.0032092540059238672,
-0.03316566348075867,
-0.016552461311221123,
-0.014730172231793404,
-0.03328715264797211,
0.00551242521032691,
0.040799032896757126,
0.010169386863708496,
0.0839872881770134,
0.019609857350587845,
-0.040880024433135986,
-0.04393741860985756,
0.0001834944123402238,
-0.020359020680189133,
-0.04466633498668671,
-0.10034739971160889,
-0.015732431784272194,
0.01917453296482563,
-0.0382680743932724,
0.03911847621202469,
-0.01637023314833641,
-0.02881241776049137,
0.0033155542332679033,
-0.052319951355457306,
-0.01617787964642048,
0.043856430798769,
0.015590697526931763,
-0.005390939302742481,
-0.04430187866091728,
-0.03818708658218384,
-0.025269078090786934,
0.026564927771687508,
0.0189821794629097,
0.023325303569436073,
-0.006089483387768269,
0.018384873867034912,
-0.027010377496480942,
-0.03563588112592697,
0.0670197531580925,
0.030250001698732376,
-0.04705556109547615,
-0.02958182990550995,
0.04231760650873184,
0.0017311748815700412,
0.011419679969549179,
0.05908266827464104,
-0.018607597798109055,
-0.01709914766252041,
-0.051267072558403015,
-0.004241884686052799,
0.02022741176187992,
-0.026342203840613365,
-0.0037559408228844404,
-0.04770348593592644,
-0.021604252979159355,
-0.02099682204425335,
-0.014608685858547688,
-0.0379643589258194,
-0.08151707798242569,
0.014385961927473545,
0.0029764058999717236,
0.006934823002666235,
0.0040267533622682095,
0.025188088417053223,
-0.026159975677728653,
0.031120652332901955,
-0.07738655060529709,
-0.0013730443315580487,
0.03549414500594139,
-0.020733602344989777,
0.006879142019897699,
-0.016117136925458908,
-0.02202945202589035,
-0.06025703251361847,
0.015833668410778046,
0.029480591416358948,
0.028245484456419945,
0.011004602536559105,
0.011824632994830608,
-0.06977343559265137,
0.09799867123365402,
0.050295185297727585,
-0.03622306138277054,
0.03648628294467926,
0.008873536251485348,
-0.027131862938404083,
-0.014952896162867546,
-0.08382530510425568,
-0.009648009203374386,
-0.02219143509864807,
0.014568191021680832,
0.005355505738407373,
-0.020541250705718994,
0.049323298037052155,
0.04774397984147072,
0.005396001040935516,
-0.059123165905475616,
0.015114877372980118,
0.018546855077147484,
0.02407446689903736,
-0.058880191296339035,
-0.008250921033322811,
0.002720779273658991,
0.046488624066114426,
0.0045759710483253,
0.02504635415971279,
0.018030541017651558,
0.02018691599369049,
0.019336514174938202,
-0.023365797474980354,
-0.014456828124821186,
-0.017939426004886627,
0.038814760744571686,
-0.038774266839027405,
0.016744814813137054,
0.00204754457809031,
-0.06604786217212677,
0.012361195869743824,
0.05592403560876846,
0.052238959819078445,
-0.025350069627165794,
0.009820114821195602,
0.00016308856720570475,
0.016015898436307907,
0.02215093933045864,
0.03142436593770981,
-0.03553464263677597,
-0.03919946774840355,
0.02674715779721737,
0.030411982908844948,
-0.01108559314161539,
0.03705321624875069,
0.027131862938404083,
0.05442570894956589,
-0.09289626032114029,
0.005350444000214338,
-0.07767002284526825,
0.01914416067302227,
-0.0059426878578960896,
0.03553464263677597,
-0.013970884494483471,
0.011774013750255108,
0.05458768829703331,
-0.05199598893523216,
-0.028447961434721947,
-0.04138621315360069,
0.0007181591354310513,
0.046569615602493286,
0.012462434358894825,
-0.012644663453102112,
-0.07131225615739822,
0.06544043123722076,
0.009344294667243958,
-0.001209164853207767,
-0.004755668807774782,
0.05859672650694847,
-0.018040664494037628,
-0.05248193070292473,
-0.0442613810300827,
-0.028326474130153656,
-0.10472089052200317,
0.008372407406568527,
-0.02484387718141079,
0.040596555918455124,
-0.032942939549684525,
-0.008903907611966133,
-0.030391735956072807,
-0.0012452310184016824,
0.05385877192020416,
-0.05681493133306503,
-0.01996419206261635,
-0.010230129584670067,
-0.0037635336630046368,
-0.011358936317265034,
-0.03460324928164482,
0.009324046783149242,
0.011875252239406109,
-0.04430187866091728,
0.06600736826658249,
-0.04875636100769043,
-0.03932095319032669,
-0.026443442329764366,
-0.028103750199079514,
-0.013484940864145756,
0.004034345969557762,
0.03936144709587097,
-0.050133202224969864,
-0.03073594532907009,
-0.0051682149060070515,
-0.04515228047966957,
-0.014011380262672901,
-0.04288453981280327,
-0.04867537319660187,
0.0138595225289464,
-0.02401372417807579,
-0.07001640647649765,
0.01193599496036768,
0.03573711961507797,
0.019812334328889847,
-0.008104125037789345,
0.06880154460668564,
0.03249749168753624,
-0.03709371015429497,
-0.03168758749961853,
0.0016539805801585317,
0.0006472923560068011,
-0.006879142019897699,
0.05248193070292473,
0.0143252182751894,
-0.06054050102829933,
-0.043410979211330414,
0.051348064094781876,
-0.05555957555770874,
0.029136382043361664,
-0.01712951995432377,
0.02603849023580551,
0.05726037919521332,
0.029480591416358948,
0.023143073543906212,
-0.008878597989678383,
-0.027395082637667656,
-0.037802379578351974,
0.001741298707202077,
0.02027803100645542,
0.04689357802271843,
-0.0732155367732048,
0.006894327700138092,
-0.016643576323986053,
0.002029827795922756,
0.017726825550198555,
-0.011500670574605465,
0.030857432633638382,
-0.07560475915670395,
0.004388680215924978,
-0.015175620093941689,
-0.04434237256646156,
0.004052062518894672,
0.09322021901607513,
0.017676206305623055,
-0.02198895812034607,
0.008731802925467491,
-0.017979921773076057,
0.007208166643977165,
0.06280823796987534,
0.03462349623441696,
0.0403333380818367,
0.032942939549684525,
-0.004436768125742674,
0.015145248733460903,
0.01631961390376091,
-0.05393976345658302,
-0.003388951998203993,
0.019812334328889847,
0.03235575929284096,
-0.045597728341817856,
-0.008018072694540024,
0.056005023419857025,
-0.03545365110039711,
0.0779939815402031,
0.09014257788658142,
0.023143073543906212,
-0.048351410776376724,
-0.00040020764572545886,
-0.0021475173998624086,
0.011774013750255108,
0.037782132625579834,
-0.01345456950366497,
-0.004778447560966015,
0.015054134652018547,
0.013778531923890114,
-0.0139607610180974,
-0.012553548440337181,
0.0133938267827034,
-0.051226578652858734,
-0.03612182289361954,
-0.01612726040184498,
-0.029338857159018517,
0.05236044526100159,
-0.02788102626800537,
-0.032092537730932236,
0.005957873538136482,
-0.035980090498924255,
0.00043026276398450136,
-0.028447961434721947,
0.007597933989018202,
0.04669110104441643,
0.03747841715812683,
-0.04478782042860985,
0.030472727492451668,
-0.03628380596637726,
-0.06710074096918106,
-0.021300537511706352,
-0.05098360404372215,
0.06284873187541962,
-0.010103581473231316,
0.0326797217130661,
-0.02119929902255535,
-0.028144245967268944,
0.004955614451318979,
0.045516736805438995,
-0.03614206984639168,
-0.041548196226358414,
0.0591636598110199,
-0.015175620093941689,
-0.02385174296796322,
0.0016856176080182195,
-0.019528867676854134,
-0.0007371413521468639,
0.007015813607722521,
-0.03563588112592697,
0.0032851826399564743,
0.06434705853462219,
0.012583919800817966,
-0.0143252182751894,
0.03186981379985809,
-0.0056035397574305534,
-0.0023803655058145523,
-0.06033802404999733,
0.028994647786021233,
-0.07564525306224823,
0.058070287108421326,
0.017504101619124413,
0.02097657509148121,
0.03717470169067383,
0.018789827823638916,
0.046529121696949005,
0.03144461289048195,
0.028002511709928513,
0.027395082637667656,
-0.01052878238260746,
0.004130522254854441,
-0.028933905065059662,
0.01812165416777134,
-0.003928045742213726,
0.007845968008041382,
-0.023345550522208214,
0.011399432085454464,
-0.024297190830111504,
0.010690763592720032,
-0.00020042018149979413,
0.00764349102973938,
-0.05952811613678932,
0.003153572790324688,
0.036810245364904404,
0.018850570544600487,
0.01384939905256033,
-0.06442805379629135,
0.05446620285511017,
0.028508704155683517,
-0.05163152888417244,
-0.02972356416285038,
-0.05774632468819618,
-0.030169012024998665,
-0.09046653658151627,
-0.012877510860562325,
0.04863487556576729,
0.01733199693262577,
-0.0024828691966831684,
0.030330993235111237,
-0.03229501470923424,
0.016765061765909195,
0.010711011476814747,
-0.0023208879865705967,
-0.033003684133291245,
0.02204970084130764,
-0.009445533156394958,
0.01910366676747799,
-0.03261897712945938,
0.023770751431584358,
0.010761630721390247,
0.043410979211330414,
0.042520083487033844,
-0.0342387929558754,
-0.0655619204044342,
0.018698712810873985,
0.027030624449253082,
-0.05187450349330902,
-0.00033914827508851886,
-0.02383149415254593,
0.004581032786518335,
0.033064428716897964,
-0.049444783478975296,
0.015418591909110546,
0.01622849889099598,
0.0036724191159009933,
-0.004570908844470978,
-0.03049297444522381,
0.042439091950654984,
0.016471469774842262,
0.0033509875647723675,
-0.021745985373854637,
0.043410979211330414,
-0.037842873483896255,
0.019721219316124916,
-0.025147592648863792,
-0.03899699077010155,
-0.012756025418639183,
0.02871118113398552,
0.03178882598876953,
-0.0005900294636376202,
0.04891834408044815,
0.05774632468819618,
0.020834840834140778,
0.05952811613678932,
-0.025208335369825363,
0.04535475745797157,
0.007820658385753632,
-0.0440589040517807,
0.02494511567056179,
0.057098399847745895,
-0.05094311013817787,
0.0018298821523785591,
-0.0004160261305514723,
-0.08876574039459229,
0.007552376948297024,
-0.015985526144504547,
-0.04284404590725899,
0.08074766397476196,
0.02480338141322136,
0.023345550522208214,
0.014568191021680832,
-0.011834756471216679,
-0.013616550713777542,
0.009728999808430672,
0.0229608453810215,
-0.03521068021655083,
-0.031201642006635666,
0.011500670574605465,
-0.04397791624069214,
0.012978749349713326,
-0.004057124722748995,
0.055114127695560455,
0.02103731781244278,
0.0237909983843565,
-0.01240169070661068,
-0.03229501470923424,
-0.01254342496395111,
0.04191265255212784,
0.01046803966164589,
0.006560241337865591,
0.007754853460937738,
0.02093607932329178,
-0.02385174296796322,
0.029035143554210663,
-0.030310746282339096,
0.04316800832748413,
0.005654158536344767,
-0.04503079503774643,
-0.047501008957624435,
0.008721679449081421,
-0.047460511326789856,
0.032234273850917816,
0.03725569322705269,
0.02962232567369938,
0.00813955906778574,
0.0237909983843565,
0.029156628996133804,
0.0031510419212281704,
0.027557063847780228,
0.029338857159018517,
0.022535644471645355,
0.05146954953670502,
0.05049766227602959,
0.039705660194158554,
-0.01052878238260746,
0.00025815764092840254,
-0.06697925925254822,
0.06904451549053192,
-0.0728105828166008,
0.04373494163155556,
-0.0016349984798580408,
0.020834840834140778,
0.035109441727399826,
-0.06479250639677048,
-0.05487115681171417,
0.0419936440885067,
-0.012685158289968967,
-0.026625672355294228,
-0.0076131196692585945,
-0.04523326829075813,
-0.04968775436282158,
0.040758538991212845,
0.06139090284705162,
-0.03142436593770981,
-0.012766148895025253,
-0.022292671725153923,
0.04434237256646156,
0.08819880336523056,
-0.019619980826973915,
-0.010812249965965748,
0.054061248898506165,
-0.02589675597846508,
-0.0034648806322366,
0.06539993733167648,
-0.04083952680230141,
-0.07277008891105652,
-0.03954367712140083,
0.002085508778691292,
-0.0672222301363945,
-0.011956242844462395,
0.09540697187185287,
-0.024438925087451935,
-0.028245484456419945,
0.0847971960902214,
0.029480591416358948,
0.009977034293115139,
0.018384873867034912,
-0.005426372401416302,
-0.03557513654232025,
0.03251773864030838,
-0.047460511326789856,
0.024155456572771072,
-0.006013554520905018,
-0.015540078282356262,
0.0192352756857872,
0.052319951355457306,
0.050254687666893005,
0.037842873483896255,
-0.07451138645410538,
-0.0036547023337334394,
-0.034076809883117676,
-0.01194611843675375,
-0.02972356416285038,
0.02198895812034607,
-0.015884287655353546,
-0.015054134652018547,
0.007522005122154951,
-0.022252177819609642,
0.044423364102840424,
0.0009915025439113379,
0.02093607932329178,
-0.02024765871465206,
-0.047420017421245575,
-0.03189006447792053,
0.0020462791435420513,
-0.0025233644992113113,
-0.028366969898343086,
0.04055606201291084,
-0.015448964200913906,
0.046286147087812424,
-0.008220549672842026,
0.0748758390545845,
0.0037382240407168865,
-0.041629187762737274,
-0.003735693171620369,
0.008863412775099277,
-0.012705406174063683,
0.0276178065687418,
0.00030909315682947636,
-0.01609688811004162,
-0.02190796658396721,
0.012533300556242466,
-0.009015270508825779,
0.08269143849611282,
0.048189427703619,
-0.011369060724973679,
0.026402946561574936,
-0.021523261442780495,
-0.024236448109149933,
0.009313923306763172,
0.03634454682469368,
-0.07791299372911453,
0.03820733353495598,
0.05053815618157387,
0.017443358898162842,
-0.002155110239982605,
0.029926039278507233,
0.08382530510425568,
0.01254342496395111,
-0.01153104193508625,
0.005811078008264303,
0.04490930587053299,
-0.004393741954118013,
0.011379184201359749,
0.0847971960902214,
-0.03146486356854439,
0.017423110082745552,
-0.02494511567056179,
0.01143992692232132,
0.03466399386525154,
-0.02312282659113407,
0.02788102626800537,
0.004289972595870495,
-0.041669681668281555,
-0.030088020488619804,
0.022839359939098358,
0.08536413311958313,
-0.03369210287928581,
-0.05195549130439758,
0.023143073543906212,
0.027496321126818657,
-0.022434405982494354,
-0.03154585137963295,
0.05167202651500702,
-0.015772925689816475,
-0.04912082105875015,
0.027334339916706085,
0.006388136185705662,
0.021584004163742065,
-0.0442613810300827,
0.0021209423430263996,
-0.053291838616132736,
-0.06438755244016647,
0.020632363855838776,
-0.0061299786902964115,
0.012978749349713326,
0.0228596068918705,
-0.008018072694540024,
0.04397791624069214,
0.05450669676065445,
0.05624799802899361,
-0.026119479909539223,
0.015783051028847694,
-0.0003277589858043939,
-0.08730790764093399,
0.004365901462733746,
0.00959232822060585,
0.005079631227999926,
0.02796201780438423,
-0.021745985373854637,
0.03958417475223541,
-0.0688825324177742,
-0.004016629420220852,
0.00868118368089199,
-0.00908613670617342,
0.04284404590725899,
0.04019160196185112,
0.026018241420388222,
0.01617787964642048,
-0.03460324928164482,
0.04519277438521385,
0.013211597688496113,
-0.02960207685828209,
0.048189427703619,
-0.014031627215445042,
0.05657196044921875,
0.06292972713708878,
-0.03340863808989525,
0.03899699077010155,
0.008519202470779419,
-0.04284404590725899,
0.0496472604572773,
0.016906796023249626,
0.028184741735458374,
0.04956626892089844,
-0.0020677922293543816,
-0.016684070229530334,
-0.046529121696949005,
-0.010538906790316105,
0.03152560442686081,
0.06685777008533478,
0.0026549743488430977,
-0.0021627030801028013,
-0.004289972595870495,
-0.0325784832239151,
0.03541315719485283,
-0.055195119231939316,
-0.0017969796899706125,
0.020521001890301704,
0.02873142808675766,
0.029055390506982803,
0.03353012353181839,
0.021664995700120926,
-0.03259873017668724,
-0.07127176225185394,
0.02022741176187992,
0.014396085403859615,
0.038835011422634125,
0.020561497658491135,
0.03810609504580498,
0.018374750390648842,
-0.0032624041195958853,
0.05288688465952873
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.