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
|
|---|---|---|---|---|---|---|
713,212
|
xmlschema.converters.gdata
|
unmap_qname
| null |
def unmap_qname(self, qname: str,
name_table: Optional[Container[Optional[str]]] = None,
xmlns: Optional[List[Tuple[str, str]]] = None) -> str:
if '$' in qname and not qname.startswith('$'):
qname = qname.replace('$', ':')
return super().unmap_qname(qname, name_table, xmlns)
|
(self, qname: str, name_table: Optional[Container[Optional[str]]] = None, xmlns: Optional[List[Tuple[str, str]]] = None) -> str
|
[
-0.013475125655531883,
0.043986160308122635,
0.02370365336537361,
-0.03183760121464729,
-0.07139024138450623,
0.0005601908196695149,
-0.012471472844481468,
0.05592526122927666,
0.09802630543708801,
-0.01152891293168068,
-0.020701423287391663,
0.031069589778780937,
-0.04663929343223572,
0.027212074026465416,
0.04217085987329483,
0.004686620552092791,
0.027892811223864555,
0.08036202192306519,
-0.007640850264579058,
-0.009678700938820839,
0.00774557888507843,
0.009347058832645416,
0.036340948194265366,
-0.022830912843346596,
-0.021015610545873642,
-0.024838216602802277,
-0.013606037013232708,
-0.022411996498703957,
0.019828682765364647,
-0.017568282783031464,
-0.02279600314795971,
0.008753594942390919,
0.025187313556671143,
-0.010595079511404037,
0.1004001572728157,
0.0015578431775793433,
-0.009512879885733128,
0.030545946210622787,
0.036236219108104706,
-0.023249827325344086,
0.03518892824649811,
-0.02117270417511463,
-0.020142870023846626,
-0.014086044393479824,
0.08713448792695999,
0.0727517157793045,
0.019654134288430214,
0.045626915991306305,
0.01390276849269867,
0.09111419320106506,
-0.03030157834291458,
0.03763260319828987,
0.004182612523436546,
0.02454148605465889,
0.007653940934687853,
-0.0036611496470868587,
0.012942753732204437,
-0.008792868815362453,
0.0007636486552655697,
-0.007562303449958563,
-0.005022626370191574,
-0.019462130963802338,
-0.05791511386632919,
-0.012881661765277386,
0.020073050633072853,
-0.028102269396185875,
0.0547732450067997,
-0.03335617110133171,
-0.04559200629591942,
-0.03136632218956947,
-0.04395125061273575,
-0.04814041033387184,
-0.02565859444439411,
-0.018606845289468765,
0.10074925422668457,
-0.023843292146921158,
0.058822762221097946,
-0.019235217943787575,
-0.0004112793249078095,
-0.05135209858417511,
-0.002017123391851783,
-0.023982930928468704,
-0.033007074147462845,
-0.008491773158311844,
-0.01242783572524786,
0.031855057924985886,
0.047093119472265244,
0.010411803610622883,
-0.019287582486867905,
-0.02553641051054001,
0.018798846751451492,
-0.05526197701692581,
0.0036502403672784567,
0.0224294513463974,
-0.033967092633247375,
-0.03241361305117607,
-0.028678279370069504,
-0.037178780883550644,
0.014574779197573662,
-0.028538640588521957,
0.05309757962822914,
0.025885507464408875,
-0.0805714800953865,
0.031121954321861267,
0.034019455313682556,
0.06112680211663246,
0.019182853400707245,
-0.015683161094784737,
-0.009303422644734383,
0.022394541651010513,
0.0012174741132184863,
0.016346445307135582,
-0.02284836769104004,
-0.014574779197573662,
0.010586352087557316,
-0.016390081495046616,
-0.017673011869192123,
-0.06018424034118652,
0.05431941896677017,
0.02696770615875721,
0.020352326333522797,
0.03325144201517105,
-0.0667472556233406,
-0.005184083245694637,
0.005751365330070257,
0.004555709660053253,
0.028521185740828514,
0.044090889394283295,
0.0298652071505785,
0.019444676116108894,
-0.04353233426809311,
0.016372626647353172,
-0.03805151954293251,
0.005995732732117176,
0.057880204170942307,
0.034962017089128494,
0.0471978485584259,
0.029359016567468643,
-0.05910203978419304,
0.03735332563519478,
-0.0041324300691485405,
0.02628696709871292,
0.023546559736132622,
-0.023843292146921158,
0.014653326012194157,
-0.0032705978956073523,
0.025030219927430153,
0.018222838640213013,
-0.03641076758503914,
-0.05599508062005043,
-0.08678539097309113,
-0.00418479461222887,
-0.04046028479933739,
0.008186313323676586,
-0.0013014754513278604,
0.029097195714712143,
-0.022988006472587585,
-0.04416070878505707,
-0.002504767617210746,
0.024244753643870354,
0.006283737253397703,
-0.02996993623673916,
-0.037492964416742325,
-0.11932118982076645,
-0.02422729879617691,
-0.04423052817583084,
0.037702422589063644,
-0.0010876537999138236,
0.019060669466853142,
-0.016477355733513832,
-0.037388235330581665,
0.009905613958835602,
0.013815494254231453,
0.050479356199502945,
0.0011345637030899525,
-0.0008089221082627773,
0.013117301277816296,
0.03857516497373581,
-0.03169796243309975,
0.017323914915323257,
0.03351326659321785,
-0.014391504228115082,
-0.017009727656841278,
0.030388852581381798,
0.03119177371263504,
-0.006388466339558363,
-0.014347867108881474,
0.05414487048983574,
0.02764844335615635,
0.010062707588076591,
0.008997962810099125,
0.016285352408885956,
0.0008509227773174644,
0.02527458779513836,
0.02944629080593586,
-0.04227558895945549,
0.07421792298555374,
0.041612304747104645,
0.008535410277545452,
-0.03906390070915222,
-0.040041372179985046,
0.05229465663433075,
-0.026845522224903107,
0.062348637729883194,
-0.021609075367450714,
-0.020718878135085106,
0.03534602373838425,
-0.002971684094518423,
-0.03993664309382439,
-0.01668681390583515,
0.04999062046408653,
-0.004383343271911144,
-0.003591330489143729,
-0.10277401655912399,
-0.03435109555721283,
-0.00034282368142157793,
-0.04611565172672272,
0.029987391084432602,
0.05156155675649643,
0.036340948194265366,
-0.050269898027181625,
0.04496363177895546,
0.04374179244041443,
-0.057880204170942307,
-0.04122829809784889,
0.008836505934596062,
0.01340530626475811,
0.02284836769104004,
0.056972552090883255,
-0.056763093918561935,
-0.02480330690741539,
-0.000555281643755734,
0.02565859444439411,
-0.0359918512403965,
0.07247243821620941,
-0.01453987043350935,
-0.018275203183293343,
-0.04751203581690788,
0.043043602257966995,
-0.009163783863186836,
-0.03241361305117607,
-0.04744221642613411,
-0.008792868815362453,
0.0064015574753284454,
-0.02960338443517685,
0.03574748337268829,
-0.009303422644734383,
0.018379932269454002,
0.0023913111072033644,
0.04136793687939644,
0.023459285497665405,
0.02359892427921295,
0.022446906194090843,
0.026897886767983437,
0.06891164928674698,
0.017149366438388824,
-0.04803568124771118,
0.017009727656841278,
0.007352845277637243,
-0.01340530626475811,
0.002893137512728572,
-0.06398939341306686,
-0.006576105486601591,
-0.045941103249788284,
0.036445677280426025,
0.0050138989463448524,
-0.010228527709841728,
0.018345022574067116,
-0.008024856448173523,
0.016678085550665855,
0.0232149176299572,
-0.04908297210931778,
-0.02543168142437935,
0.001588389161042869,
-0.015456248074769974,
0.043986160308122635,
0.015718070790171623,
0.014164591208100319,
0.024209843948483467,
-0.019549405202269554,
0.016529720276594162,
-0.06144098564982414,
0.02148689143359661,
0.05023498833179474,
0.044195618480443954,
-0.002736043883487582,
0.05494779348373413,
-0.019305037334561348,
0.020352326333522797,
0.017175547778606415,
0.021451981738209724,
-0.00760157685726881,
-0.024628760293126106,
-0.00048082589637488127,
-0.057286739349365234,
-0.019409766420722008,
-0.01543879322707653,
-0.025414226576685905,
0.013536217622458935,
0.03609658032655716,
-0.016154441982507706,
0.013998770155012608,
0.009617608971893787,
0.014234410598874092,
0.027997540310025215,
0.0123231066390872,
-0.009931796230375767,
0.05826420709490776,
0.030912496149539948,
-0.003128777490928769,
-0.006231372710317373,
-0.04066974297165871,
-0.1713365763425827,
-0.04740730673074722,
0.0359918512403965,
0.0649319514632225,
-0.016294080764055252,
-0.025553865358233452,
0.023930566385388374,
0.060987163335084915,
0.02300546132028103,
-0.044614534825086594,
-0.042834144085645676,
0.004625529050827026,
-0.02433202788233757,
-0.04548727720975876,
-0.0482451394200325,
0.02279600314795971,
0.036655135452747345,
-0.035276204347610474,
0.007741215173155069,
-0.03131395950913429,
-0.034647829830646515,
-0.04733748733997345,
0.011720915324985981,
-0.04178685322403908,
0.022342177107930183,
0.012646021321415901,
-0.02801499515771866,
0.026775702834129333,
-0.026670973747968674,
0.017097001895308495,
0.012515109963715076,
-0.002205853583291173,
-0.00021968534565530717,
0.0028342274017632008,
-0.08950834721326828,
0.024349482730031013,
0.05746128782629967,
-0.04880369454622269,
0.027910266071558,
-0.016110803931951523,
0.05498270317912102,
0.026845522224903107,
0.044300347566604614,
0.03347835689783096,
-0.026112420484423637,
0.050584085285663605,
-0.04712802916765213,
0.011537640355527401,
-0.03309435024857521,
-0.045103270560503006,
0.010935448110103607,
-0.026461515575647354,
0.05030480772256851,
-0.015299155376851559,
-0.023546559736132622,
-0.017306460067629814,
-0.011546367779374123,
0.005550634581595659,
-0.015613341704010963,
-0.004926624707877636,
-0.02311019040644169,
-0.033757634460926056,
-0.0748462900519371,
0.05236447602510452,
0.08224713802337646,
-0.0023498558439314365,
-0.020858516916632652,
-0.0769408717751503,
0.051701195538043976,
-0.02480330690741539,
-0.026252057403326035,
0.036340948194265366,
-0.020352326333522797,
0.03103468008339405,
-0.016756633296608925,
-0.008439408615231514,
-0.023721108213067055,
0.028521185740828514,
0.007413937244564295,
-0.025134949013590813,
0.07289135456085205,
0.04063483327627182,
0.007405209820717573,
-0.014452596195042133,
-0.10130780935287476,
-0.06741053611040115,
-0.010891810990869999,
-0.0031680508982390165,
-0.05473833531141281,
-0.0293415617197752,
0.003327326150611043,
0.04653456434607506,
0.04234540835022926,
-0.011031449772417545,
0.015560977160930634,
0.04311342164874077,
-0.0006431012297980487,
0.01789119653403759,
0.0022974915336817503,
-0.0503397174179554,
-0.028695734217762947,
-0.010813265107572079,
0.034857288002967834,
0.06775963306427002,
0.024192389100790024,
-0.05369104444980621,
0.07708051055669785,
0.00040937020094133914,
-0.05400523170828819,
-0.016555901616811752,
-0.0008176494739018381,
0.016712995246052742,
0.0238607469946146,
-0.027002615854144096,
-0.02122506871819496,
-0.04028574004769325,
-0.0035280566662549973,
0.01872902736067772,
0.006296828389167786,
-0.03241361305117607,
0.01187800895422697,
-0.06817854940891266,
0.04011119157075882,
0.016049712896347046,
0.03087758645415306,
-0.01142418384552002,
-0.012384198606014252,
-0.030284123495221138,
-0.005978277884423733,
0.0028909556567668915,
-0.009984160773456097,
-0.04297378286719322,
0.0007009203545749187,
0.05117755010724068,
-0.005271357484161854,
0.0020400327630341053,
-0.031436141580343246,
0.0375627838075161,
-0.021469436585903168,
-0.039238449186086655,
-0.01841484196484089,
-0.02976047806441784,
0.013946405611932278,
-0.04245013743638992,
-0.000833467929624021,
-0.027212074026465416,
-0.0014662053436040878,
-0.0004857350722886622,
-0.0007407391676679254,
0.008199404925107956,
0.06566505879163742,
0.006737562827765942,
-0.010725990869104862,
0.08922906965017319,
-0.031855057924985886,
-0.0004879169282503426,
0.018973395228385925,
-0.03403691202402115,
-0.0005250084213912487,
-0.018851211294531822,
0.037911880761384964,
0.02016032300889492,
-0.002321491949260235,
-0.0033884181175380945,
-0.015508612617850304,
0.06486213207244873,
0.03272780030965805,
0.033111803233623505,
-0.04803568124771118,
0.017690466716885567,
0.009669973514974117,
-0.031907420605421066,
-0.0017803922528401017,
0.003800788428634405,
0.036236219108104706,
-0.03278016299009323,
-0.013972587883472443,
0.018955940380692482,
0.008740504272282124,
0.04464944452047348,
-0.005602999124675989,
0.03854025527834892,
0.02612987533211708,
-0.058194391429424286,
0.06329119950532913,
-0.015892619267106056,
-0.02728189341723919,
0.006899020168930292,
-0.004686620552092791,
-0.07805798202753067,
-0.05983514338731766,
0.03735332563519478,
-0.0034538735635578632,
0.011188543401658535,
-0.019235217943787575,
0.023197462782263756,
0.007182660978287458,
-0.025501500815153122,
0.000011778598491218872,
0.023686198517680168,
-0.045731645077466965,
-0.0290797408670187,
-0.01909557916224003,
-0.020142870023846626,
0.0000624214590061456,
-0.017114456743001938,
0.03382745385169983,
0.012026375159621239,
-0.05850857496261597,
0.043986160308122635,
-0.04269450530409813,
0.05931149795651436,
-0.022778548300266266,
0.0025178587529808283,
0.0009676518966443837,
0.06475740671157837,
0.030179394409060478,
-0.03056340105831623,
-0.014129681512713432,
-0.013448943383991718,
-0.022307267412543297,
-0.0521550215780735,
0.0419963113963604,
0.0685974657535553,
-0.059555865824222565,
-0.07156478613615036,
0.03009212017059326,
0.016267897561192513,
0.004405161831527948,
0.0011225634953007102,
-0.015587159432470798,
-0.014347867108881474,
-0.035660210996866226,
0.09718847274780273,
-0.059765323996543884,
0.0471978485584259,
0.015377701260149479,
0.03545075282454491,
-0.04957170411944389,
-0.00013104756362736225,
0.029620839282870293,
-0.05589035153388977,
-0.0487687848508358,
-0.0047389850951731205,
-0.032431066036224365,
-0.011851826682686806,
-0.044893812388181686,
0.02607751078903675,
-0.0029040465597063303,
0.022569090127944946,
0.09956232458353043,
0.0816187635064125,
0.04189158231019974,
0.04457962512969971,
0.005956459324806929,
-0.034438371658325195,
0.010411803610622883,
0.020457055419683456,
-0.05857839435338974,
-0.04890842363238335,
0.0459061935544014,
0.024140024557709694,
-0.05540161579847336,
-0.008426317013800144,
0.08797232061624527,
-0.08608720451593399,
0.012148559093475342,
-0.01937485672533512,
0.03173287212848663,
0.032326336950063705,
-0.017961015924811363,
0.03147105127573013,
-0.00022118537162896246,
0.020142870023846626,
-0.03958754613995552,
0.02707243524491787,
0.0104990778490901,
-0.06398939341306686,
-0.056344177573919296,
-0.019881047308444977,
-0.007649577688425779,
-0.0031636871863156557,
-0.022202538326382637,
-0.022202538326382637,
0.003233506577089429,
0.02670588344335556,
0.006497559137642384,
-0.00489607872441411,
0.01066489890217781,
0.0010800173040479422,
0.05847366526722908,
0.016887543722987175,
0.004234977066516876,
-0.0029411381110548973,
-0.023354556411504745,
0.03419400379061699,
-0.008635775186121464,
0.024663668125867844,
-0.02485567145049572,
0.04402107000350952,
0.020666513592004776,
0.02221999317407608,
0.0005506452289409935,
-0.06664252281188965,
0.018379932269454002,
-0.0581594817340374,
-0.09669973701238632,
-0.008517955429852009,
-0.021975625306367874,
0.013414033688604832,
0.009652518667280674,
-0.013379123993217945,
0.026583699509501457,
-0.014548597857356071,
0.046569474041461945,
-0.0024131296668201685,
0.04196140170097351,
-0.003462600987404585,
-0.008805959485471249,
-0.02153925597667694,
-0.06144098564982414,
-0.037492964416742325,
-0.03627112880349159,
0.05288812145590782,
-0.032116878777742386,
-0.011511458083987236,
-0.028329182416200638,
-0.024262208491563797,
0.06549050658941269,
-0.00040800657006911933,
0.03822606801986694,
0.025344407185912132,
0.001101290457881987,
-0.008051038719713688,
0.019200308248400688,
-0.05184083431959152,
-0.07414810359477997,
-0.02380838245153427,
0.000780557980760932,
-0.026060055941343307,
0.028695734217762947,
0.035642754286527634,
0.0826660543680191,
0.05442414805293083,
-0.03916862979531288,
0.012680931016802788,
0.036445677280426025,
0.02454148605465889,
0.031750328838825226,
-0.10689335316419601,
-0.02686297707259655,
0.04730257764458656,
0.05124736949801445,
-0.012698385864496231,
0.04782622307538986,
0.0025025857612490654,
-0.039028991013765335,
-0.023633833974599838,
0.02448912151157856,
-0.0062270089983940125,
-0.03424637019634247,
-0.06940038502216339,
0.009312150068581104,
-0.05103791132569313,
0.031174318864941597,
0.013710766099393368,
0.03826097771525383,
-0.022150173783302307,
-0.040146101266145706,
-0.060987163335084915,
0.015770435333251953,
-0.003427691524848342,
0.026199692860245705,
0.043671973049640656,
0.04740730673074722,
0.005371722858399153,
-0.04370688274502754,
-0.04978116229176521,
0.010158708319067955,
-0.05746128782629967,
-0.005114263854920864,
0.05292303115129471,
-0.029044831171631813,
0.03414164111018181,
0.04670911282300949,
-0.044090889394283295,
0.010307074524462223,
0.012968936003744602,
0.031540870666503906,
0.05899731069803238,
0.021993080154061317,
-0.03225651755928993,
0.023354556411504745,
0.03524129465222359,
0.02728189341723919,
-0.03347835689783096,
-0.012619839049875736,
0.04091411083936691,
0.009617608971893787,
-0.017673011869192123,
-0.006362284068018198,
0.004123702645301819,
0.019235217943787575,
-0.008517955429852009,
-0.00571209192276001,
-0.012462745420634747,
-0.003942608833312988,
0.011729642748832703,
0.009320877492427826,
-0.005389177706092596,
0.002982593374326825,
0.006043733563274145,
0.028730643913149834,
-0.004826259333640337,
-0.024925490841269493,
0.016931181773543358,
-0.04454471543431282,
0.059346407651901245,
-0.035538025200366974,
0.06730581074953079,
-0.006004460155963898,
-0.02342437580227852,
-0.007003748789429665,
-0.0365154966711998,
0.02370365336537361,
-0.01979377306997776,
-0.02263890951871872,
-0.010595079511404037,
-0.02501276507973671,
-0.0019527586409822106,
0.028800463303923607,
0.07861653715372086,
0.032745253294706345,
0.00418479461222887,
-0.04691857099533081,
0.009748520329594612,
0.0008869233424775302,
0.007173933554440737,
0.016913726925849915,
0.033111803233623505,
-0.043462514877319336,
-0.02764844335615635,
-0.04545236751437187,
-0.10012087970972061,
0.04206613078713417,
-0.016189351677894592,
-0.010839446447789669,
-0.02036978118121624,
-0.017926106229424477,
0.07393864542245865,
-0.024820761755108833,
-0.0012818387476727366,
0.012113649398088455,
0.011677278205752373,
0.004808804485946894,
-0.04548727720975876
] |
713,215
|
xmlschema.converters.jsonml
|
JsonMLConverter
|
XML Schema based converter class for JsonML (JSON Mark-up Language) convention.
ref: http://www.jsonml.org/
ref: https://www.ibm.com/developerworks/library/x-jsonml/
:param namespaces: Map from namespace prefixes to URI.
:param dict_class: Dictionary class to use for decoded data. Default is `dict`.
:param list_class: List class to use for decoded data. Default is `list`.
|
class JsonMLConverter(XMLSchemaConverter):
"""
XML Schema based converter class for JsonML (JSON Mark-up Language) convention.
ref: http://www.jsonml.org/
ref: https://www.ibm.com/developerworks/library/x-jsonml/
:param namespaces: Map from namespace prefixes to URI.
:param dict_class: Dictionary class to use for decoded data. Default is `dict`.
:param list_class: List class to use for decoded data. Default is `list`.
"""
__slots__ = ()
def __init__(self, namespaces: Optional[NamespacesType] = None,
dict_class: Optional[Type[Dict[str, Any]]] = None,
list_class: Optional[Type[List[Any]]] = None,
**kwargs: Any) -> None:
kwargs.update(attr_prefix='', text_key='', cdata_prefix='')
super().__init__(namespaces, dict_class, list_class, **kwargs)
@property
def lossy(self) -> bool:
return False
@property
def losslessly(self) -> bool:
return True
def get_xmlns_from_data(self, obj: Any) -> Optional[List[Tuple[str, str]]]:
if not self._use_namespaces or not isinstance(obj, MutableSequence) \
or len(obj) < 2 or not isinstance(obj[1], MutableMapping):
return None
xmlns = []
for k, v in obj[1].items():
if k == 'xmlns':
xmlns.append(('', v))
elif k.startswith('xmlns:'):
xmlns.append((k.split('xmlns:')[1], v))
return xmlns
@stackable
def element_decode(self, data: ElementData, xsd_element: 'XsdElement',
xsd_type: Optional[BaseXsdType] = None, level: int = 0) -> Any:
xsd_type = xsd_type or xsd_element.type
result_list = self.list()
xmlns = self.get_effective_xmlns(data.xmlns, level, xsd_element)
result_list.append(self.map_qname(data.tag))
attributes = self.dict(self.map_attributes(data.attributes))
if xmlns and self._use_namespaces:
attributes.update(
(f'{self.ns_prefix}:{k}' if k else self.ns_prefix, v) for k, v in xmlns
)
if attributes:
result_list.append(attributes)
if data.text is not None:
result_list.append(data.text)
if xsd_type.model_group is not None:
result_list.extend([
value if value is not None else self.list([name])
for name, value, _ in self.map_content(data.content)
])
return result_list
@stackable
def element_encode(self, obj: Any, xsd_element: 'XsdElement', level: int = 0) -> ElementData:
if not isinstance(obj, MutableSequence):
msg = "The first argument must be a sequence, {} provided"
raise XMLSchemaTypeError(msg.format(type(obj)))
elif not obj:
raise XMLSchemaValueError("The first argument is an empty sequence")
xmlns = self.set_context(obj, level)
data_len = len(obj)
if data_len == 1:
if not xsd_element.is_matching(self.unmap_qname(obj[0]), self._namespaces.get('')):
raise XMLSchemaValueError("Unmatched tag")
return ElementData(xsd_element.name, None, None, {}, None)
attributes: Dict[str, Any] = {}
if isinstance(obj[1], MutableMapping):
content_index = 2
for k, v in obj[1].items():
if k != 'xmlns' and not k.startswith('xmlns:'):
attributes[self.unmap_qname(k, xsd_element.attributes)] = v
else:
content_index = 1
if not xsd_element.is_matching(self.unmap_qname(obj[0]), self._namespaces.get('')):
raise XMLSchemaValueError("Unmatched tag")
if data_len <= content_index:
return ElementData(xsd_element.name, None, [], attributes, xmlns)
elif data_len == content_index + 1 and \
(xsd_element.type.simple_type is not None or not
xsd_element.type.content and xsd_element.type.mixed):
return ElementData(xsd_element.name, obj[content_index], [], attributes, xmlns)
else:
cdata_num = iter(range(1, data_len))
content = [
(self.unmap_qname(e[0], xmlns=self.get_xmlns_from_data(e)), e)
if isinstance(e, MutableSequence)
else (next(cdata_num), e) for e in obj[content_index:]
]
return ElementData(xsd_element.name, None, content, attributes, xmlns)
|
(namespaces: Optional[~T] = None, dict_class: Optional[Type[Dict[str, Any]]] = None, list_class: Optional[Type[List[Any]]] = None, **kwargs: Any) -> None
|
[
0.02339973859488964,
-0.024718033149838448,
0.008862445130944252,
-0.0399814210832119,
0.03701525554060936,
0.02191665582358837,
-0.002421594923362136,
0.0010987938148900867,
0.06220705062150955,
0.0029404161032289267,
-0.015737148001790047,
0.0130284633487463,
0.03777739405632019,
0.006879852619022131,
-0.02278178744018078,
0.05231983959674835,
-0.005345274694263935,
0.01850762777030468,
0.035284992307424545,
0.0592820830643177,
0.020742550492286682,
-0.03567636385560036,
0.011432090774178505,
0.05854054167866707,
0.03643850237131119,
-0.009331057779490948,
0.009372254833579063,
-0.00366135872900486,
-0.021092722192406654,
-0.008141502737998962,
-0.03446105867624283,
-0.055903952568769455,
0.005226834211498499,
-0.0019220846006646752,
0.03242181986570358,
-0.014202570542693138,
-0.020134897902607918,
0.004518765490502119,
-0.00614346144720912,
-0.028466936200857162,
-0.009403152391314507,
-0.01116431225091219,
-0.015222189016640186,
-0.08107515424489975,
0.026983853429555893,
0.0399814210832119,
-0.03147429600358009,
0.11848177760839462,
-0.04601673781871796,
0.0021229186095297337,
0.07324777543544769,
-0.019702332094311714,
-0.016550783067941666,
0.05058957636356354,
-0.04890051111578941,
-0.0017907700967043638,
-0.03378131240606308,
0.1024150550365448,
0.02587154135107994,
-0.000546178431250155,
-0.003671657992526889,
0.03575875610113144,
-0.018981389701366425,
0.02282298542559147,
-0.07337136566638947,
-0.00478396937251091,
-0.028013771399855614,
-0.09862495213747025,
-0.039363469928503036,
-0.0021332178730517626,
-0.013790602795779705,
0.0026752122212201357,
0.0041634440422058105,
0.05866413190960884,
0.02628351002931595,
-0.009217767044901848,
0.029805829748511314,
-0.048982903361320496,
-0.0022683944553136826,
-0.023337943479418755,
0.011493885889649391,
0.018651816993951797,
-0.016385996714234352,
0.006725364830344915,
0.057881396263837814,
0.03827175498008728,
0.014964709989726543,
0.05124872177839279,
-0.016046123579144478,
0.0030691558495163918,
-0.03203045204281807,
0.031247714534401894,
-0.024718033149838448,
0.03617072105407715,
0.010443368926644325,
-0.038663122802972794,
-0.03610892593860626,
-0.05652190372347832,
-0.002569645643234253,
0.06002362444996834,
0.009820268489420414,
0.057881396263837814,
-0.051907870918512344,
0.014902914874255657,
-0.04012560844421387,
0.052443429827690125,
-0.02754000946879387,
0.007451457437127829,
0.00030784893897362053,
-0.02533598430454731,
-0.04478083923459053,
-0.04511041194200516,
0.06702706962823868,
0.017498308792710304,
0.04138210788369179,
-0.007410260383039713,
0.016149114817380905,
0.019918614998459816,
0.015572361648082733,
-0.0390750914812088,
0.04885931313037872,
0.01179256197065115,
0.011596877127885818,
0.009382553398609161,
0.005350424442440271,
0.005443117115646601,
0.08012762665748596,
0.013121156021952629,
0.04885931313037872,
0.017776386812329292,
-0.021000029519200325,
0.013965688645839691,
-0.031062329187989235,
-0.01832224242389202,
0.08255822956562042,
-0.05458565801382065,
-0.015098598785698414,
-0.019053485244512558,
-0.10027282685041428,
0.05656310170888901,
0.032771993428468704,
-0.006375192664563656,
0.04733503609895706,
0.012904873117804527,
-0.12606197595596313,
-0.022699395194649696,
0.027560608461499214,
0.0038467440754175186,
-0.035037811845541,
-0.020134897902607918,
-0.053885314613580704,
-0.0606415756046772,
-0.03666508197784424,
0.02815796062350273,
-0.003324060468003154,
-0.007487504277378321,
-0.046511098742485046,
0.007528701331466436,
-0.0014689206145703793,
-0.002325040055438876,
-0.049436066299676895,
0.018075061962008476,
-0.008198147639632225,
-0.029579246416687965,
0.01648898795247078,
0.038704320788383484,
-0.015603259205818176,
-0.07028160989284515,
-0.00610741414129734,
-0.00016221209079958498,
0.023461533710360527,
0.0300942063331604,
0.015829840674996376,
0.006205256562680006,
0.025315387174487114,
0.042432624846696854,
0.027498813346028328,
0.053926508873701096,
0.020639557391405106,
-0.011215807870030403,
-0.000031621704692952335,
0.00043739331886172295,
-0.015283984132111073,
-0.010752344503998756,
0.006539979949593544,
0.0467170849442482,
-0.017271725460886955,
0.02317315712571144,
0.048529740422964096,
0.0060868156142532825,
-0.0028013770934194326,
0.0011599452700465918,
0.01544877141714096,
0.009758473373949528,
-0.02389409951865673,
-0.010510314255952835,
-0.008404131047427654,
-0.013852397911250591,
-0.005090370308607817,
0.021319303661584854,
0.012153033167123795,
-0.001613109139725566,
0.06397850811481476,
0.008862445130944252,
-0.0386219285428524,
-0.030464977025985718,
-0.013605217449367046,
-0.03314276412129402,
-0.04923008382320404,
-0.030341386795043945,
-0.010999524965882301,
-0.026530690491199493,
0.006452436558902264,
-0.02789018116891384,
0.032277632504701614,
-0.04708785563707352,
-0.03633550927042961,
-0.009876914322376251,
-0.00008512916247127578,
-0.08601875603199005,
0.04123792052268982,
-0.002588956616818905,
-0.04556357488036156,
0.012873975560069084,
0.02776659093797207,
-0.014841119758784771,
0.05961165949702263,
-0.0258303452283144,
0.03481123223900795,
0.02327614836394787,
0.007456606719642878,
-0.04461605101823807,
0.051907870918512344,
-0.031824469566345215,
0.05005401745438576,
-0.0014753576833754778,
0.08816098421812057,
-0.014490947127342224,
0.026571886613965034,
-0.011977947317063808,
0.006148610729724169,
-0.035593967884778976,
0.006493633612990379,
-0.010098346509039402,
-0.034522853791713715,
0.014964709989726543,
0.07427769154310226,
-0.001998041057959199,
-0.01116431225091219,
-0.02838454209268093,
-0.033760715276002884,
0.03983722999691963,
0.00866676028817892,
0.005911729764193296,
-0.000211776903597638,
-0.10002564638853073,
-0.05322616547346115,
-0.01949634961783886,
0.006910750176757574,
-0.0687161311507225,
0.02339973859488964,
-0.04935367405414581,
0.033801909536123276,
0.10043761134147644,
-0.006102264393121004,
-0.006431838497519493,
0.01698334887623787,
0.0034528004471212626,
-0.012832779437303543,
0.009176569990813732,
0.014109877869486809,
-0.03514080494642258,
0.013152053579688072,
0.01868271455168724,
-0.015479668974876404,
0.02354392781853676,
-0.02092793583869934,
-0.0303207878023386,
-0.011112815700471401,
0.012225127778947353,
-0.013996586203575134,
-0.06698586791753769,
-0.019238868728280067,
0.005952926352620125,
0.07250623404979706,
-0.042597413063049316,
-0.018116258084774017,
-0.0032159192487597466,
-0.002070135436952114,
-0.01761159859597683,
0.02609812468290329,
-0.0014856568304821849,
-0.03579995408654213,
-0.011061320081353188,
0.015222189016640186,
0.001967143500223756,
-0.028940698131918907,
-0.016519885510206223,
0.035326190292835236,
0.0065245311707258224,
0.010134394280612469,
0.061341919004917145,
0.13084079325199127,
-0.0005159245920367539,
-0.0029790380503982306,
-0.00295329000800848,
-0.03507900983095169,
-0.02506820671260357,
-0.003985783085227013,
0.06521441042423248,
-0.01230752095580101,
0.018219251185655594,
-0.046881869435310364,
-0.014460049569606781,
-0.0017379868077114224,
0.03512020781636238,
0.019465452060103416,
0.009521592408418655,
0.08049839735031128,
0.03584114834666252,
-0.031597886234521866,
-0.0575106255710125,
-0.009114774875342846,
-0.032277632504701614,
0.029311468824744225,
-0.03435806557536125,
0.0678509995341301,
-0.0014521845150738955,
0.06525561213493347,
-0.05676908418536186,
-0.017282025888562202,
-0.04432767257094383,
-0.0195375457406044,
0.029455656185746193,
0.000015157094821915962,
-0.04436887055635452,
0.005162464454770088,
-0.05421488732099533,
-0.002412582980468869,
-0.03790098428726196,
0.01116431225091219,
0.026159919798374176,
-0.029950017109513283,
-0.016200611367821693,
-0.008414430543780327,
-0.01904318481683731,
0.034069690853357315,
0.011854357086122036,
-0.0030382582917809486,
0.05153710022568703,
-0.015963729470968246,
-0.015314881689846516,
0.04663468897342682,
0.049930427223443985,
0.0217930655926466,
-0.05903490260243416,
-0.027684198692440987,
0.024821026250720024,
0.030794549733400345,
0.02937326394021511,
0.015665054321289062,
-0.02677786909043789,
0.0023005795665085316,
-0.024470852687954903,
0.03635610640048981,
-0.0368504673242569,
0.001062746741808951,
-0.0005072346539236605,
0.04078475758433342,
-0.013162353076040745,
0.010814139619469643,
-0.03104173019528389,
-0.06171268969774246,
-0.0723002478480339,
-0.006442137528210878,
-0.012925472110509872,
0.012966668233275414,
0.02438846044242382,
-0.05470924824476242,
-0.030423779040575027,
0.02160768210887909,
0.0063339960761368275,
-0.000004571267254505074,
-0.01352282427251339,
-0.015345779247581959,
-0.014573340304195881,
0.06224824860692024,
-0.0052551571279764175,
-0.04214424639940262,
0.02012459933757782,
0.045028019696474075,
-0.0006475609843619168,
0.01415107399225235,
0.005757241975516081,
-0.04420408234000206,
-0.008620413951575756,
-0.0346052460372448,
0.013388934545218945,
0.02681906707584858,
0.030300188809633255,
-0.03297797590494156,
-0.05322616547346115,
0.022225631400942802,
0.005690297577530146,
0.005350424442440271,
0.004462120123207569,
0.03147429600358009,
0.0004293470992706716,
-0.027210434898734093,
0.12326059490442276,
0.04877692088484764,
0.003465674351900816,
-0.002806526841595769,
-0.039363469928503036,
0.023708714172244072,
0.026221714913845062,
0.034976016730070114,
0.05730464309453964,
-0.018981389701366425,
0.02403828874230385,
-0.03394610062241554,
-0.0011251855175942183,
0.07975685596466064,
0.05676908418536186,
-0.027931377291679382,
-0.02263760007917881,
-0.03507900983095169,
0.013553721830248833,
-0.06686227768659592,
0.05520360916852951,
0.06010602042078972,
-0.038477737456560135,
-0.03404908999800682,
-0.1410575807094574,
0.0073175677098333836,
0.0014740702463313937,
-0.02883770689368248,
-0.08152831345796585,
0.02964104153215885,
-0.008744004182517529,
-0.029455656185746193,
0.06146550923585892,
0.025500770658254623,
0.0005204305052757263,
-0.007621393539011478,
0.019918614998459816,
-0.03153609111905098,
0.08544200658798218,
-0.02169007435441017,
0.015438471920788288,
-0.018363438546657562,
0.0323394276201725,
0.08099275827407837,
-0.043009378015995026,
-0.04585195332765579,
-0.05367932841181755,
0.05454446002840996,
-0.027025049552321434,
-0.0048380400985479355,
-0.04885931313037872,
0.0341314859688282,
-0.0314536988735199,
0.029270270839333534,
-0.016375698149204254,
-0.05771660804748535,
0.05755182355642319,
-0.012791582383215427,
-0.011998545378446579,
-0.05516241118311882,
0.0052551571279764175,
0.039363469928503036,
-0.004971929360181093,
0.05532719939947128,
-0.05619233101606369,
0.05038359388709068,
0.0005979961715638638,
-0.0258303452283144,
-0.034564051777124405,
-0.020155496895313263,
-0.025171197950839996,
0.020639557391405106,
-0.011916152201592922,
0.07131152600049973,
-0.03987842798233032,
-0.01842523366212845,
-0.016746466979384422,
0.07089956104755402,
-0.04568716511130333,
-0.010546361096203327,
0.02083524316549301,
-0.06900451332330704,
0.05623352527618408,
-0.0068953013978898525,
0.023214353248476982,
0.02416187711060047,
-0.0381893627345562,
0.007971566170454025,
-0.010098346509039402,
0.009439199231564999,
-0.06163029745221138,
0.02640710026025772,
-0.06875733286142349,
-0.009665780700743198,
0.03194805979728699,
0.023791108280420303,
0.016159415245056152,
-0.006019871216267347,
0.016684673726558685,
-0.004420923534780741,
-0.06022961065173149,
-0.0741129070520401,
0.026159919798374176,
0.053432147949934006,
-0.0022104617673903704,
-0.02034088224172592,
-0.0068953013978898525,
0.009840867482125759,
0.03359592705965042,
0.023770509287714958,
-0.045522380620241165,
-0.0195375457406044,
-0.012431111186742783,
0.008342336863279343,
0.010587558150291443,
-0.023688115179538727,
0.03196865692734718,
-0.04016680642962456,
-0.024821026250720024,
0.02282298542559147,
0.024635640904307365,
0.01466603297740221,
-0.012163332663476467,
-0.006447287276387215,
-0.02210204117000103,
0.014913213439285755,
0.024285467341542244,
0.035552773624658585,
-0.013646414503455162,
0.01734382100403309,
0.018445832654833794,
0.024676837027072906,
0.046964265406131744,
-0.03718004375696182,
-0.038663122802972794,
-0.018651816993951797,
0.07357734441757202,
-0.013090258464217186,
0.029476255178451538,
-0.016004927456378937,
0.0064575863070786,
-0.028240352869033813,
0.001034423941746354,
0.04263860732316971,
0.07324777543544769,
-0.02690145932137966,
-0.05380291864275932,
0.008012762293219566,
-0.031185919418931007,
0.024738632142543793,
-0.008584367111325264,
0.00009317540389019996,
0.08297020196914673,
-0.0386219285428524,
-0.01890929602086544,
0.024264870211482048,
0.052443429827690125,
0.013914193026721478,
-0.014748427085578442,
-0.03271019831299782,
0.029950017109513283,
-0.013646414503455162,
0.0035017214249819517,
0.008429879322648048,
-0.034069690853357315,
0.022575804963707924,
0.017796983942389488,
-0.036953460425138474,
-0.03884850814938545,
0.059982430189847946,
-0.03126831352710724,
0.015623857267200947,
0.004974504467099905,
0.018857799470424652,
-0.04321536421775818,
0.07852095365524292,
-0.030753353610634804,
-0.009418601170182228,
0.04857093468308449,
-0.013234447687864304,
-0.054420869797468185,
-0.041752878576517105,
0.023729313164949417,
-0.0034991465508937836,
-0.03081514872610569,
0.031206518411636353,
0.01657138206064701,
-0.015572361648082733,
-0.014573340304195881,
0.01097892690449953,
-0.05816977098584175,
-0.010077748447656631,
0.03777739405632019,
-0.019475750625133514,
0.0023482132237404585,
0.04482203349471092,
-0.0006111920229159296,
-0.010937729850411415,
0.014985308051109314,
0.06900451332330704,
0.018981389701366425,
-0.03180386871099472,
-0.011483586393296719,
0.019558144733309746,
-0.05413249507546425,
-0.011081918142735958,
-0.05919969081878662,
-0.06401970982551575,
0.019331561401486397,
-0.00118183100130409,
-0.04655229672789574,
0.04964205250144005,
0.014995607547461987,
-0.02255520597100258,
-0.003689681412652135,
-0.02502700872719288,
0.013079959899187088,
0.0028425739146769047,
0.037612609565258026,
-0.02362632006406784,
-0.03588234633207321,
0.08420610427856445,
-0.02681906707584858,
0.06257782131433487,
-0.07250623404979706,
0.0033034621737897396,
0.03328695148229599,
-0.00903238169848919,
0.05310257524251938,
0.005829336121678352,
0.0038776416331529617,
0.01980532519519329,
-0.0404345840215683,
-0.01035582646727562,
0.029888221994042397,
-0.04865333065390587,
0.04605793580412865,
0.07658471167087555,
-0.06991083920001984,
-0.0018757382640615106,
0.020814644172787666,
-0.011401193216443062,
0.024058885872364044,
0.014521844685077667,
-0.0018448407063260674,
0.06224824860692024,
0.047499820590019226,
-0.023070164024829865,
-0.016993647441267967,
0.010587558150291443,
0.009192018769681454,
0.01859002187848091,
-0.046881869435310364,
-0.001880887895822525,
-0.005896280985325575,
-0.02057776227593422,
-0.011432090774178505,
0.0525670200586319,
0.0010775517439469695,
0.051949068903923035,
0.0008973161457106471,
-0.06645031273365021,
0.02107212319970131,
0.00936195533722639,
0.007441157940775156,
-0.04210305213928223,
-0.007585346698760986,
-0.0022889929823577404,
0.026963254436850548,
0.0021010327618569136,
-0.00620010681450367,
0.04002261534333229,
-0.008707957342267036,
-0.02107212319970131,
-0.007806778885424137,
-0.04811777174472809,
-0.07629632949829102,
0.03579995408654213,
-0.06463766098022461,
0.00864616222679615,
-0.0763787254691124,
-0.02856992743909359,
-0.04721144586801529,
0.05116632953286171,
-0.037035852670669556,
-0.037756796926259995,
-0.06195987015962601,
-0.018785705789923668,
0.017776386812329292,
-0.0016967899864539504,
-0.04200005903840065,
0.026159919798374176,
-0.023749910295009613,
-0.02071165293455124,
-0.03485242649912834,
0.049930427223443985,
0.06677988916635513,
-0.05149590224027634,
-0.0055770063772797585,
0.06439048051834106,
0.043544936925172806,
0.002050824463367462,
0.061836279928684235,
-0.0071733794175088406,
-0.06842775642871857,
-0.02659248374402523,
-0.05878772214055061,
0.034255076199769974,
0.038518935441970825,
0.011514483951032162,
0.04142330586910248,
-0.02214323915541172,
0.04980683699250221,
0.026118721812963486,
0.022493410855531693,
-0.013872996903955936,
0.016097620129585266,
-0.009094176813960075,
0.021298706531524658,
-0.023523328825831413,
-0.011040722019970417,
0.02102062851190567,
0.042473822832107544,
-0.017529206350445747,
0.03268960118293762,
-0.002412582980468869,
-0.036623887717723846,
0.009418601170182228,
0.00044769252417609096,
-0.03462584689259529,
0.010335227474570274,
0.0097687728703022,
0.009485545568168163,
-0.031556688249111176,
0.0875842347741127,
-0.03419328108429909,
0.02300836890935898,
0.054008904844522476,
0.02290537767112255,
0.002492401748895645,
-0.019640536978840828,
0.0070909857749938965,
-0.00579328928142786,
-0.081734299659729,
-0.01451154612004757,
0.01432616077363491,
0.014078980311751366,
-0.0044157737866044044,
0.007992164231836796,
-0.03514080494642258,
-0.06628552824258804,
-0.01697305031120777,
0.02232862450182438,
-0.005283479578793049,
-0.0019928915426135063,
0.026448296383023262,
0.03040318191051483,
-0.028096165508031845,
0.04684067517518997
] |
713,221
|
xmlschema.converters.jsonml
|
__init__
| null |
def __init__(self, namespaces: Optional[NamespacesType] = None,
dict_class: Optional[Type[Dict[str, Any]]] = None,
list_class: Optional[Type[List[Any]]] = None,
**kwargs: Any) -> None:
kwargs.update(attr_prefix='', text_key='', cdata_prefix='')
super().__init__(namespaces, dict_class, list_class, **kwargs)
|
(self, namespaces: Optional[~T] = None, dict_class: Optional[Type[Dict[str, Any]]] = None, list_class: Optional[Type[List[Any]]] = None, **kwargs: Any) -> NoneType
|
[
-0.017821259796619415,
-0.001938452711328864,
0.019813310354948044,
-0.058707427233457565,
-0.014462465420365334,
0.012211359106004238,
-0.022457465529441833,
0.027727913111448288,
0.09311719238758087,
-0.008111129514873028,
-0.02503015846014023,
0.03680380433797836,
0.025316014885902405,
0.014006883837282658,
-0.014480330981314182,
0.006864981260150671,
0.001955202082172036,
0.00732056237757206,
-0.039412226527929306,
-0.0469873808324337,
0.01668677292764187,
0.0033118955325335264,
0.019902639091014862,
0.10719554126262665,
0.02499442733824253,
-0.01202376652508974,
-0.028799869120121002,
0.00034001085441559553,
0.008053065277636051,
-0.03214079514145851,
0.004877397324889898,
-0.013828225433826447,
-0.027013277634978294,
0.055705949664115906,
0.05249008536338806,
-0.016606375575065613,
-0.0253874771296978,
-0.015177101828157902,
-0.05599180608987808,
0.02849614806473255,
0.03128323331475258,
-0.009987051598727703,
-0.057063762098550797,
-0.03407031670212746,
0.061351582407951355,
0.09661891311407089,
0.0432712659239769,
0.03962662070989609,
-0.014185543172061443,
-0.007481355685740709,
0.0018859716365113854,
0.007021307945251465,
-0.018312571570277214,
-0.015927471220493317,
-0.0926884114742279,
0.044164564460515976,
-0.006074414122849703,
0.08832912892103195,
-0.021724963560700417,
0.05041763558983803,
-0.032069332897663116,
0.0064451321959495544,
0.0000793498256825842,
-0.03194427117705345,
-0.012640140950679779,
-0.015078839845955372,
-0.05863596126437187,
-0.021778561174869537,
0.016615308821201324,
-0.025369612500071526,
0.02708473987877369,
-0.005953819025307894,
-0.028799869120121002,
0.044700540602207184,
0.04298541322350502,
-0.005578634794801474,
-0.06421013176441193,
0.0095672020688653,
-0.012211359106004238,
0.012220291420817375,
-0.005480372346937656,
-0.01605253294110298,
-0.05177544802427292,
0.02488723210990429,
0.042056385427713394,
0.017079822719097137,
-0.030925914645195007,
0.0052704475820064545,
-0.003939436282962561,
0.051846910268068314,
-0.08597082644701004,
0.05974365025758743,
-0.017803393304347992,
0.005507171154022217,
0.010960744693875313,
-0.022814784198999405,
0.01615079492330551,
-0.03314128890633583,
0.0203850194811821,
0.03937649726867676,
0.03103310987353325,
-0.05702802911400795,
0.018366169184446335,
-0.019759710878133774,
-0.02163563296198845,
-0.03723258525133133,
-0.07149942964315414,
-0.014855515211820602,
0.015534420497715473,
0.020277824252843857,
-0.034820687025785446,
-0.039412226527929306,
0.08011080324649811,
0.047451894730329514,
0.03639288619160652,
-0.013908621855080128,
0.0016760469879955053,
-0.025155220180749893,
0.038304541260004044,
-0.023922471329569817,
0.030318472534418106,
-0.019527453929185867,
-0.028371086344122887,
0.07132076472043991,
0.012818800285458565,
0.02034928649663925,
-0.002322570187970996,
0.016981560736894608,
0.04841665178537369,
0.004305687732994556,
0.03537452965974808,
-0.022511063143610954,
-0.0173924770206213,
-0.05059629678726196,
0.0838983803987503,
-0.05592034012079239,
0.01294386200606823,
0.01854482851922512,
-0.07278577238321304,
0.06413866579532623,
0.05806425213813782,
-0.008910629898309708,
0.04598688706755638,
0.024279789999127388,
-0.08325520157814026,
-0.0009452190133742988,
-0.02708473987877369,
-0.026459433138370514,
-0.03208719938993454,
-0.030497131869196892,
-0.04734469950199127,
-0.02524455077946186,
0.0030662391800433397,
0.02174283005297184,
-0.030354203656315804,
-0.013185052201151848,
-0.048202261328697205,
-0.04362858459353447,
0.04398590326309204,
0.0036156163550913334,
0.008008399978280067,
-0.018312571570277214,
0.007025774568319321,
-0.05341911315917969,
0.018071381375193596,
0.005944886244833469,
-0.021063923835754395,
-0.11555679142475128,
0.003745144233107567,
-0.004573676269501448,
0.036910999566316605,
-0.07925324141979218,
0.010799950920045376,
0.04291394725441933,
0.014819784089922905,
0.000670530425850302,
0.0022656223736703396,
0.014962711371481419,
0.003177901264280081,
0.023833142593503,
0.04559383913874626,
0.002342669293284416,
-0.003579884534701705,
0.027656450867652893,
0.0307293888181448,
0.024512046948075294,
0.006918578874319792,
0.06721160560846329,
0.06656843423843384,
0.0651748925447464,
0.03208719938993454,
0.0058376905508339405,
-0.0253874771296978,
-0.008075397461652756,
0.013176118955016136,
-0.012363219633698463,
0.009008891880512238,
-0.037518441677093506,
-0.04702311009168625,
0.04169906675815582,
0.014087281189858913,
0.02329716458916664,
0.021832158789038658,
-0.008606908842921257,
0.028317488729953766,
0.014194476418197155,
-0.011880839243531227,
0.012166693806648254,
-0.01879495196044445,
-0.04109162464737892,
0.03934076428413391,
-0.021975087001919746,
-0.00046116416342556477,
-0.028853466734290123,
0.01474831998348236,
-0.031068840995430946,
-0.047952137887477875,
-0.025869857519865036,
-0.04648713394999504,
-0.0752512738108635,
0.11941583454608917,
0.022814784198999405,
-0.00003587142418837175,
-0.024529913440346718,
-0.030318472534418106,
-0.005953819025307894,
0.04802360385656357,
-0.04277102276682854,
-0.002988075837492943,
0.04395017400383949,
-0.03798295557498932,
-0.015159236267209053,
-0.013327979482710361,
0.040055401623249054,
0.041663333773612976,
-0.07178527861833572,
0.0300862155854702,
-0.007740411441773176,
-0.004089063499122858,
-0.030175546184182167,
0.056349124759435654,
0.004169459920376539,
-0.03578544408082962,
-0.014248074032366276,
-0.01769619807600975,
0.026227176189422607,
0.004216358065605164,
0.03249811381101608,
0.0004435773880686611,
0.01793738827109337,
-0.02963956817984581,
0.01618652604520321,
0.0030930379871279,
0.030461400747299194,
0.022082282230257988,
0.022153746336698532,
-0.06385280936956406,
-0.024351254105567932,
-0.007043640594929457,
-0.059707917273044586,
0.0010546478442847729,
-0.025012293830513954,
-0.010585559532046318,
0.08925815671682358,
0.06613965332508087,
0.021832158789038658,
0.03773283213376999,
0.003957302309572697,
-0.05606326833367348,
-0.015078839845955372,
0.07192821055650711,
-0.008258523419499397,
0.047058843076229095,
0.016722504049539566,
-0.015820275992155075,
0.016177594661712646,
0.014658990316092968,
-0.08225471526384354,
-0.05863596126437187,
0.00795033574104309,
0.0463799387216568,
-0.04527224972844124,
-0.002220957539975643,
-0.0019485022639855742,
0.08697132021188736,
-0.02594132162630558,
-0.04184199497103691,
0.057206686586141586,
-0.013685297220945358,
-0.035713981837034225,
0.03303409367799759,
0.02774577960371971,
0.00804413203150034,
0.028460416942834854,
0.016910096630454063,
-0.03407031670212746,
-0.012032699771225452,
0.04277102276682854,
-0.0010166827123612165,
-0.03812588006258011,
0.02694181352853775,
-0.006306671071797609,
0.13263662159442902,
-0.018902147188782692,
-0.0001443231594748795,
-0.03003261797130108,
-0.0017274115234613419,
0.048166532069444656,
0.0008888297015801072,
0.04716603830456734,
0.016427716240286827,
0.06428159028291702,
-0.04219931364059448,
0.057599738240242004,
-0.05213276669383049,
0.03642861917614937,
-0.016901163384318352,
-0.042699556797742844,
0.019616784527897835,
0.05073922500014305,
-0.02928224951028824,
-0.09383182972669601,
0.00987092312425375,
-0.019277332350611687,
0.04227077588438988,
-0.03353434056043625,
0.056706443428993225,
-0.010076381266117096,
0.04309260845184326,
0.00271785375662148,
0.005198983941227198,
-0.017606867477297783,
-0.027960170060396194,
-0.01884854957461357,
-0.0272812657058239,
-0.014784052036702633,
-0.025923455134034157,
-0.013604900799691677,
-0.03834027424454689,
-0.0727500393986702,
-0.006936444900929928,
-0.013533437624573708,
-0.02838895283639431,
-0.00010977772762998939,
-0.06106572598218918,
-0.05263300985097885,
0.018723487854003906,
-0.008356785401701927,
0.034713488072156906,
-0.014221275225281715,
-0.028174562379717827,
-0.04034125432372093,
0.08961547166109085,
0.0532761849462986,
0.055455826222896576,
-0.05974365025758743,
-0.019670382142066956,
0.007231232710182667,
0.004437448922544718,
-0.013783560134470463,
0.056849367916584015,
0.008222791366279125,
-0.023529421538114548,
-0.0071999672800302505,
0.0035374530125409365,
0.0300862155854702,
0.03244451805949211,
-0.00753495329990983,
0.04019832983613014,
0.013220783323049545,
0.014194476418197155,
-0.06864088028669357,
-0.05241861939430237,
-0.030229143798351288,
0.026155712082982063,
-0.02508375607430935,
-0.00562329962849617,
0.010255040600895882,
-0.08218324929475784,
-0.03524946793913841,
-0.022403867915272713,
-0.026423702016472816,
0.04462907835841179,
-0.0021517272107303143,
-0.03650008141994476,
-0.02338649332523346,
0.02399393543601036,
0.024029666557908058,
0.0027357195504009724,
0.025101622566580772,
-0.0018480065045878291,
0.012550811283290386,
0.009531470015645027,
0.009754794649779797,
-0.06102999672293663,
-0.014408867806196213,
0.01840190216898918,
-0.02529814839363098,
0.00682478304952383,
-0.029675299301743507,
-0.0013131453888490796,
-0.10883920639753342,
-0.006391534116119146,
0.010281839407980442,
0.04848811775445938,
-0.0021707096602767706,
0.01593640446662903,
-0.018920013681054115,
0.03235518932342529,
0.027209801599383354,
0.058600228279829025,
-0.010344370268285275,
-0.017481805756688118,
-0.00041203288128599524,
0.013935420662164688,
0.02774577960371971,
-0.04044845327734947,
0.03489214926958084,
-0.007400958798825741,
0.005962752271443605,
-0.005672430619597435,
-0.000010197883057116996,
0.03851893171668053,
0.01689223013818264,
0.019455991685390472,
0.008017333224415779,
-0.0057349614799022675,
-0.04652286693453789,
0.05631339177489281,
-0.02049221470952034,
-0.027870841324329376,
0.05617046356201172,
-0.06192329153418541,
-0.04298541322350502,
0.05717095732688904,
0.01102327462285757,
-0.020706605166196823,
-0.08932961523532867,
-0.009906655177474022,
-0.01815177872776985,
-0.05802851915359497,
-0.05073922500014305,
0.01940239407122135,
0.02803163416683674,
-0.011264464817941189,
0.015105638653039932,
-0.07307162880897522,
0.027710048481822014,
0.05974365025758743,
-0.012390018440783024,
0.016758237034082413,
0.0019741845317184925,
0.04026979207992554,
-0.0017865924164652824,
-0.00464960653334856,
-0.05606326833367348,
-0.024208325892686844,
-0.014792985282838345,
0.03394525498151779,
-0.006212874781340361,
-0.04423602670431137,
-0.02999688684940338,
0.04877397045493126,
-0.0316762812435627,
-0.04148467630147934,
0.05877888947725296,
-0.011603917926549911,
0.007593017537146807,
-0.02858547866344452,
-0.0225825272500515,
-0.013149320147931576,
0.027227668091654778,
-0.010478364303708076,
-0.03139042854309082,
0.015507621690630913,
0.026513030752539635,
0.015462957322597504,
-0.04234223812818527,
-0.0763946920633316,
-0.06746172904968262,
0.033016227185726166,
0.040055401623249054,
0.040412720292806625,
-0.04094869643449783,
-0.029853958636522293,
-0.03292689844965935,
0.05574168264865875,
-0.028674807399511337,
-0.011478856205940247,
0.06342402845621109,
0.011603917926549911,
0.04248516634106636,
-0.03944795951247215,
0.008687305264174938,
0.08339813351631165,
-0.006364735309034586,
0.005069456063210964,
0.03669660910964012,
-0.03278397023677826,
-0.05416947975754738,
-0.019455991685390472,
-0.03987674042582512,
-0.0018982543842867017,
0.02354728803038597,
0.03328421711921692,
-0.0008759885677136481,
-0.0482737272977829,
0.04691591486334801,
-0.010710621252655983,
-0.019473856315016747,
-0.02029568888247013,
-0.007593017537146807,
0.025012293830513954,
-0.024065399542450905,
-0.010853548534214497,
-0.011434190906584263,
-0.05831437557935715,
0.023082774132490158,
0.009089288301765919,
0.0031153704039752483,
0.02703114226460457,
0.07911030948162079,
0.00153981929179281,
0.0028429150115698576,
-0.018419766798615456,
0.03089018166065216,
0.014891247265040874,
0.0029545770958065987,
0.001834607101045549,
0.04609408229589462,
-0.01429273933172226,
-0.025780528783798218,
-0.03694672882556915,
0.01899147778749466,
-0.027656450867652893,
0.09554696083068848,
-0.006177143193781376,
0.029818227514624596,
0.06663989275693893,
0.0008575643296353519,
0.046201277524232864,
0.0551699735224247,
0.027013277634978294,
-0.018419766798615456,
0.016356253996491432,
0.01938452757894993,
-0.03962662070989609,
0.015498688444495201,
-0.008758769370615482,
0.06142304465174675,
-0.02613784559071064,
-0.060351092368364334,
-0.026155712082982063,
0.04541517794132233,
-0.01815177872776985,
-0.005453573074191809,
0.019581051543354988,
-0.07975348085165024,
0.022010818123817444,
0.02688821591436863,
0.012327487580478191,
0.023422226309776306,
-0.02678101882338524,
0.0035396860912442207,
0.021832158789038658,
0.003347627352923155,
0.008557777851819992,
0.007003441918641329,
-0.043914441019296646,
0.05041763558983803,
-0.019527453929185867,
-0.0005147619522176683,
-0.02688821591436863,
0.05216849595308304,
-0.0066818553023040295,
0.006141411140561104,
0.003182367654517293,
0.007771676871925592,
0.01474831998348236,
-0.0840413048863411,
-0.022814784198999405,
0.0363750196993351,
-0.009638666175305843,
-0.027102606371045113,
0.01162178348749876,
-0.010540895164012909,
-0.013408375903964043,
0.002215374493971467,
0.008611375465989113,
-0.07049893587827682,
-0.0457724966108799,
0.0014125246088951826,
0.0003578767937142402,
0.0018725721165537834,
0.007718079257756472,
-0.02499442733824253,
0.00174639408942312,
-0.02558400295674801,
-0.009433208033442497,
-0.02878200262784958,
-0.02043861709535122,
0.043056875467300415,
-0.02444058284163475,
0.05488411709666252,
0.016767170280218124,
-0.018562695011496544,
0.0042185913771390915,
0.06878380477428436,
-0.005748360883444548,
-0.014185543172061443,
-0.015856007114052773,
0.016007868573069572,
0.020063431933522224,
0.02744205854833126,
0.0021896923426538706,
-0.05713522434234619,
-0.04512932524085045,
0.018759220838546753,
0.03013981319963932,
-0.052561547607183456,
-0.0071642352268099785,
-0.022457465529441833,
-0.0007553935865871608,
0.06946270912885666,
-0.049059826880693436,
-0.020778069272637367,
-0.00047707598423585296,
0.002994775539264083,
0.0065076625905931,
-0.031962137669324875,
0.06942697614431381,
-0.024279789999127388,
-0.013006392866373062,
-0.02644156664609909,
-0.03912637382745743,
0.037304047495126724,
0.014435666613280773,
0.02285051718354225,
0.04763055220246315,
-0.006748852785676718,
0.005864489357918501,
-0.02249319851398468,
0.004562510177493095,
0.012095230631530285,
-0.015864940360188484,
0.000964759907219559,
-0.017472874373197556,
-0.04609408229589462,
0.0633525624871254,
-0.015007375739514828,
-0.006730986759066582,
0.031301099807024,
-0.01594533771276474,
0.013926487416028976,
-0.01406941469758749,
0.037304047495126724,
-0.06417439877986908,
-0.011121537536382675,
0.012050565332174301,
-0.00989772193133831,
-0.02594132162630558,
-0.01904507540166378,
-0.000576734368223697,
-0.011050073429942131,
0.004080130252987146,
-0.05034617334604263,
0.009477872401475906,
-0.053704965859651566,
0.02243960089981556,
-0.005511637311428785,
-0.013122521340847015,
0.036160629242658615,
-0.022082282230257988,
0.012658007442951202,
-0.04541517794132233,
-0.011041141115128994,
-0.021778561174869537,
-0.010389034636318684,
0.07625176012516022,
0.00804413203150034,
0.021421242505311966,
-0.03094377927482128,
-0.016481313854455948,
-0.022010818123817444,
-0.038911983370780945,
0.028460416942834854,
-0.0035821176134049892,
-0.014462465420365334,
-0.025065891444683075,
-0.04791640862822533,
-0.02109965682029724,
-0.08046811819076538,
-0.0026530895847827196,
-0.006793517619371414,
0.007517087273299694,
-0.06735453009605408,
0.003937202971428633,
-0.051060810685157776,
0.04770201817154884,
-0.00967439729720354,
0.011836174875497818,
0.025101622566580772,
-0.03987674042582512,
0.022564662620425224,
0.0003151660494040698,
-0.006757785566151142,
0.00929921306669712,
0.013658498413860798,
0.056206196546554565,
0.050453368574380875,
0.04527224972844124,
0.06674709171056747,
0.03273037075996399,
-0.046701524406671524,
-0.006570193450897932,
0.004917595535516739,
0.07982494682073593,
-0.009692263789474964,
-0.0014594226377084851,
-0.06306671351194382,
0.04059137776494026,
0.04434322193264961,
0.019563186913728714,
0.047559089958667755,
0.06356696039438248,
-0.0406985729932785,
0.0007274780655279756,
-0.0077046798542141914,
-0.01274733617901802,
0.004055564757436514,
0.049595803022384644,
0.004455314949154854,
-0.048702508211135864,
-0.06270939111709595,
-0.028371086344122887,
-0.03973381593823433,
-0.016329454258084297,
-0.020778069272637367,
-0.01437313575297594,
0.08182593435049057,
-0.037661366164684296,
0.05917194113135338,
0.04723750427365303,
0.09426061064004898,
-0.05463399365544319,
-0.018124978989362717,
0.021671365946531296,
-0.014149812050163746,
0.04491493105888367,
0.04234223812818527,
-0.0006917462451383471,
0.05163251981139183,
-0.0507749542593956,
0.022725455462932587,
0.04941714555025101,
-0.021314047276973724,
0.024279789999127388,
-0.0003084663476329297,
0.020224226638674736,
-0.04713030532002449,
-0.025673331692814827,
-0.03589263930916786,
-0.0005538436234928668,
-0.01859842613339424,
0.05073922500014305,
0.04587969183921814,
0.030800852924585342,
0.009576135315001011
] |
713,228
|
xmlschema.converters.jsonml
|
element_decode
| null |
@stackable
def element_decode(self, data: ElementData, xsd_element: 'XsdElement',
xsd_type: Optional[BaseXsdType] = None, level: int = 0) -> Any:
xsd_type = xsd_type or xsd_element.type
result_list = self.list()
xmlns = self.get_effective_xmlns(data.xmlns, level, xsd_element)
result_list.append(self.map_qname(data.tag))
attributes = self.dict(self.map_attributes(data.attributes))
if xmlns and self._use_namespaces:
attributes.update(
(f'{self.ns_prefix}:{k}' if k else self.ns_prefix, v) for k, v in xmlns
)
if attributes:
result_list.append(attributes)
if data.text is not None:
result_list.append(data.text)
if xsd_type.model_group is not None:
result_list.extend([
value if value is not None else self.list([name])
for name, value, _ in self.map_content(data.content)
])
return result_list
|
(self, data: xmlschema.converters.default.ElementData, xsd_element: 'XsdElement', xsd_type: Optional[~T] = None, level: int = 0) -> Any
|
[
0.018579738214612007,
0.00106547970790416,
-0.0007103197858668864,
0.007302830461412668,
0.03806942701339722,
-0.014299248345196247,
0.015144203789532185,
-0.0530000701546669,
0.02850564382970333,
0.05734555795788765,
-0.004654219839721918,
-0.026890015229582787,
0.013240732252597809,
-0.03015841543674469,
-0.026685740798711777,
0.04133782535791397,
-0.03450389951467514,
0.03858939930796623,
-0.0168155450373888,
0.026871444657444954,
0.021021751686930656,
-0.02070605382323265,
-0.03645379841327667,
0.05370574817061424,
0.020687483251094818,
0.045646172016859055,
-0.005673273000866175,
-0.008115287870168686,
-0.020390355959534645,
-0.049025993794202805,
-0.028524214401841164,
-0.012665048241615295,
-0.03517243638634682,
-0.010993707925081253,
0.004631006624549627,
0.042600616812705994,
-0.000037467340007424355,
0.01069658063352108,
0.00001750954288581852,
0.04486621171236038,
-0.010937996208667755,
0.010000188834965229,
0.01186651922762394,
-0.06391949951648712,
0.012683618813753128,
-0.0033217896707355976,
0.007873871363699436,
0.03907223045825958,
-0.06209959089756012,
0.0034935662988573313,
0.04809747263789177,
0.04182066023349762,
0.026184337213635445,
0.009280583821237087,
0.01994466595351696,
-0.00022037903545424342,
0.009080951102077961,
0.06013112515211105,
0.06098536401987076,
0.013491434045135975,
-0.000356900884071365,
0.037159476429224014,
-0.05028878524899483,
0.0007637098315171897,
-0.05790267139673233,
0.03608239069581032,
0.030864091590046883,
-0.06533084809780121,
-0.0760645717382431,
0.012219357304275036,
-0.02622147835791111,
-0.017094101756811142,
-0.029619870707392693,
0.030176986008882523,
0.0443090982735157,
-0.03747517243027687,
0.10250889509916306,
-0.056008484214544296,
0.0014705477515235543,
0.03532100096344948,
0.000998161849565804,
0.054894257336854935,
-0.014466382563114166,
0.0724247619509697,
0.0502145029604435,
0.0036746282130479813,
0.03996361419558525,
0.005083661526441574,
-0.01567346230149269,
-0.004366377834230661,
0.014893502928316593,
-0.0673736035823822,
-0.049434542655944824,
0.0395922027528286,
-0.026054345071315765,
-0.025441519916057587,
-0.024754412472248077,
-0.023565903306007385,
-0.0318111851811409,
0.06867353618144989,
0.008793109096586704,
0.02401159517467022,
-0.03610096126794815,
-0.023695897310972214,
-0.03814370930194855,
0.05069733411073685,
-0.0030200197361409664,
0.031774044036865234,
-0.011513680219650269,
0.032739706337451935,
0.01814333163201809,
0.006703933235257864,
0.0019324877066537738,
0.05805123597383499,
0.001458941143937409,
0.003943899646401405,
0.006202531047165394,
0.04490335285663605,
-0.04456908628344536,
-0.05897975713014603,
0.032535433769226074,
-0.007479249499738216,
-0.02035321667790413,
0.02739141695201397,
-0.024345863610506058,
-0.008175641298294067,
0.013602856546640396,
-0.011049418710172176,
0.010362312197685242,
0.013212877325713634,
-0.027707114815711975,
0.0069174934178590775,
-0.05318577587604523,
0.0025812929961830378,
0.018161902204155922,
-0.051514435559511185,
0.06343666464090347,
-0.00571041414514184,
-0.06562797725200653,
0.02195027470588684,
0.0019905203953385353,
0.0034378550481051207,
0.07866443693637848,
0.013927839696407318,
-0.07695595175027847,
-0.03701091185212135,
0.058496925979852676,
0.012367920950055122,
-0.04286060482263565,
-0.016546273604035378,
-0.08364132046699524,
-0.021003181114792824,
-0.0001350710226688534,
0.034466758370399475,
0.06150534003973007,
-0.048691727221012115,
-0.013203592039644718,
0.009331651963293552,
-0.00938736367970705,
0.009378078393638134,
-0.04449480399489403,
0.05719699338078499,
-0.02063177339732647,
-0.042414914816617966,
0.021838851273059845,
0.022823086008429527,
0.010900855995714664,
-0.01228435430675745,
0.01221007201820612,
-0.01279504131525755,
0.0012952890247106552,
0.02063177339732647,
-0.00451029883697629,
0.03028840757906437,
-0.01424353662878275,
0.02505153976380825,
-0.02421586960554123,
0.0520344078540802,
0.04486621171236038,
-0.024234440177679062,
-0.029155610129237175,
0.040260739624500275,
-0.005733627360314131,
0.016147008165717125,
-0.012405062094330788,
0.01745622605085373,
0.0017340159974992275,
-0.006560012232512236,
-0.03104979544878006,
-0.029657011851668358,
-0.04215492680668831,
-0.023435911163687706,
0.009963047690689564,
-0.019963236525654793,
0.00538078835234046,
0.012906464748084545,
-0.03684377670288086,
0.017521221190690994,
-0.018681874498724937,
0.022953080013394356,
0.04783748462796211,
-0.02352876402437687,
0.0549313984811306,
0.04085499420762062,
-0.0837898775935173,
0.04512619972229004,
0.029229892417788506,
0.005250795278698206,
-0.047986049205064774,
0.00707534234970808,
-0.014939929358661175,
0.008644545450806618,
0.059314023703336716,
-0.049731671810150146,
0.05942544713616371,
-0.012999316677451134,
-0.1079314723610878,
-0.03704805299639702,
0.04672325775027275,
-0.054002877324819565,
-0.028041383251547813,
-0.004104069899767637,
-0.06191388890147209,
0.03545099496841431,
0.048951711505651474,
0.014215681701898575,
0.0058961184695363045,
-0.020316075533628464,
0.028969906270503998,
0.03955506533384323,
-0.02291593886911869,
-0.007530318573117256,
0.015822025015950203,
-0.06744788587093353,
-0.025274384766817093,
0.009322366677224636,
0.04011217877268791,
0.018477600067853928,
0.04839459806680679,
-0.015552753582596779,
0.010167323052883148,
-0.05188584327697754,
-0.03676949441432953,
-0.012600052170455456,
-0.04464336857199669,
0.017929771915078163,
0.0549313984811306,
0.03455961123108864,
0.0006882674060761929,
-0.07472749799489975,
-0.017159098759293556,
0.005390073638409376,
0.03264685347676277,
0.03818085044622421,
0.018561167642474174,
-0.07487606257200241,
0.006889638025313616,
-0.026035774499177933,
0.023900171741843224,
-0.0720904991030693,
0.043157730251550674,
-0.04713180661201477,
0.04850602149963379,
0.028672778978943825,
0.0012523449258878827,
-0.033426813781261444,
0.03966648504137993,
-0.012098649516701698,
0.013964979909360409,
0.030956944450736046,
0.03429962694644928,
-0.02105889283120632,
0.029229892417788506,
0.029137039557099342,
0.02091033011674881,
0.06596224755048752,
0.0212445966899395,
-0.005998256150633097,
0.036323804408311844,
0.04085499420762062,
-0.010464450344443321,
0.0011252533877268434,
-0.01608201116323471,
0.014744939282536507,
0.022377396002411842,
-0.07970438152551651,
0.01387212797999382,
0.01905328407883644,
0.004285132046788931,
0.007316758390516043,
-0.006954634562134743,
0.05173727869987488,
-0.05244295671582222,
-0.021374590694904327,
0.008287064731121063,
0.0415235310792923,
0.045571889728307724,
-0.016471991315484047,
0.03593382611870766,
0.027651403099298477,
0.009457003325223923,
0.04011217877268791,
0.09530356526374817,
-0.015747742727398872,
-0.014568519778549671,
0.013203592039644718,
0.0168155450373888,
-0.024271581321954727,
0.0010979779763147235,
0.005464355461299419,
0.02863563783466816,
0.04014931619167328,
-0.028134236112236977,
0.03327824920415878,
-0.03023269586265087,
-0.00903452467173338,
0.012925035320222378,
0.033296819776296616,
0.05073447525501251,
0.0511801652610302,
-0.017474794760346413,
-0.07101341336965561,
0.036323804408311844,
-0.005450427997857332,
0.01893257535994053,
-0.007131053600460291,
0.04542332515120506,
-0.042600616812705994,
0.07963009923696518,
-0.049657389521598816,
-0.019368981942534447,
-0.03907223045825958,
-0.013649282045662403,
0.012980746105313301,
-0.006132891867309809,
-0.01207079365849495,
-0.020724624395370483,
0.000027402298655943014,
-0.011606533080339432,
-0.009141305461525917,
-0.04776320233941078,
0.019610397517681122,
-0.029619870707392693,
0.004545118194073439,
0.014782080426812172,
-0.03719661757349968,
0.033371102064847946,
0.018301181495189667,
0.01570131815969944,
0.09664063155651093,
0.018542597070336342,
-0.06625937670469284,
0.025961492210626602,
0.05218297243118286,
0.009990903548896313,
-0.0558970607817173,
0.0029318102169781923,
0.06588796526193619,
0.024271581321954727,
0.045720454305410385,
0.07142195850610733,
0.0012186858803033829,
-0.013417151756584644,
-0.03290684148669243,
0.008143143728375435,
-0.054894257336854935,
-0.02195027470588684,
0.04690896347165108,
0.05526566505432129,
0.04304630681872368,
0.040335021913051605,
0.006485730409622192,
-0.07844159007072449,
-0.04546046629548073,
-0.0078088752925395966,
-0.014132114127278328,
-0.0015575967263430357,
0.013082883320748806,
0.009271298535168171,
-0.035228148102760315,
-0.014549949206411839,
0.006309311371296644,
0.006049324758350849,
-0.02098461054265499,
0.0038208705373108387,
0.04011217877268791,
0.06707647442817688,
0.002901633270084858,
-0.017753353342413902,
0.010808003135025501,
0.025088680908083916,
-0.006425376515835524,
-0.005947187542915344,
0.004053001292049885,
-0.03188546746969223,
0.008482053875923157,
-0.03491245210170746,
0.00707534234970808,
0.02779996767640114,
-0.00406460789963603,
-0.06863639503717422,
-0.012850753031671047,
-0.018477600067853928,
-0.012395776808261871,
0.034615322947502136,
-0.008505267091095448,
-0.033426813781261444,
0.012107934802770615,
-0.004127283114939928,
0.07480178028345108,
0.03981504961848259,
0.0356181263923645,
0.05909118056297302,
-0.07082770764827728,
0.05080875754356384,
-0.0012163646752014756,
0.0742446705698967,
0.06711361557245255,
-0.013036457821726799,
-0.032405439764261246,
-0.07249904423952103,
0.003992647398263216,
0.02538580819964409,
0.019833242520689964,
-0.02919275127351284,
-0.022451676428318024,
-0.025627223774790764,
0.014345674775540829,
-0.07784733921289444,
0.05025164410471916,
0.028672778978943825,
-0.010687295347452164,
-0.0720904991030693,
-0.11714241653680801,
0.03610096126794815,
0.008932387456297874,
-0.05066019296646118,
-0.028877053409814835,
0.017892630770802498,
-0.03298112377524376,
-0.04104069992899895,
0.06525657325983047,
0.010093040764331818,
-0.031644050031900406,
0.000047876947064651176,
0.02159743569791317,
-0.041300687938928604,
0.07599028944969177,
-0.06473659723997116,
-0.030882662162184715,
-0.04300916939973831,
-0.003644451266154647,
0.10221177339553833,
-0.0385151170194149,
-0.06328810006380081,
-0.012860038317739964,
0.0033612519036978483,
-0.012219357304275036,
0.06982490420341492,
-0.017725497484207153,
0.027428558096289635,
-0.039443641901016235,
0.008352060802280903,
-0.06287955492734909,
0.0006174675654619932,
0.11550821363925934,
-0.03351966664195061,
-0.018960431218147278,
-0.007669596932828426,
-0.01270218938589096,
0.029916997998952866,
-0.0030873375944793224,
0.03604524955153465,
-0.042823463678359985,
0.04980595409870148,
0.006894280668348074,
0.018663303926587105,
0.007688167504966259,
-0.011495109647512436,
-0.023547332733869553,
0.04698324576020241,
-0.035859543830156326,
0.007613885682076216,
-0.035432424396276474,
-0.04490335285663605,
-0.03645379841327667,
0.04263775795698166,
0.013946409337222576,
-0.024512996897101402,
-0.02347305230796337,
-0.07127339392900467,
0.01946183480322361,
0.008728113025426865,
0.04794890806078911,
0.011792236939072609,
-0.04416053742170334,
0.030529823154211044,
-0.040892135351896286,
0.017623359337449074,
-0.034188203513622284,
0.06135677546262741,
-0.07227619737386703,
0.022451676428318024,
-0.01893257535994053,
0.02235882543027401,
0.048951711505651474,
-0.009600924327969551,
0.03331539034843445,
0.04022359848022461,
-0.029991280287504196,
-0.07160766422748566,
0.06365951150655746,
0.0024605849757790565,
-0.009340937249362469,
-0.012061508372426033,
0.020056089386343956,
0.022897368296980858,
0.0034308910835534334,
-0.024327293038368225,
0.008923102170228958,
-0.002320145955309272,
0.022303113713860512,
0.03127264231443405,
0.04434623941779137,
0.03918365389108658,
0.04471765086054802,
-0.10704008489847183,
0.00955449789762497,
-0.016397709026932716,
0.03892366960644722,
0.03119836002588272,
-0.028728490695357323,
-0.013964979909360409,
-0.029081327840685844,
0.013881413266062737,
0.0051997266709804535,
-0.009953762404620647,
-0.0034494614228606224,
-0.017214808613061905,
0.042749181389808655,
0.008041005581617355,
-0.02096603997051716,
-0.0187747273594141,
-0.04167209565639496,
-0.05125444754958153,
0.04534904286265373,
-0.032888270914554596,
0.007846016436815262,
-0.014029976911842823,
-0.011810807511210442,
0.022823086008429527,
0.03333396092057228,
0.050623051822185516,
0.059722576290369034,
0.029007047414779663,
-0.05080875754356384,
-0.058348361402750015,
-0.016889827325940132,
0.009150590747594833,
-0.043380577117204666,
-0.014939929358661175,
0.014224966987967491,
-0.05140301212668419,
0.026685740798711777,
0.011773666366934776,
0.020241793245077133,
-0.020093228667974472,
0.007794947363436222,
-0.06287955492734909,
-0.05623133108019829,
-0.011327976360917091,
-0.009814484044909477,
-0.022043127566576004,
-0.0491374172270298,
0.03084552101790905,
0.037716589868068695,
-0.01814333163201809,
-0.08757825195789337,
0.01987038366496563,
-0.016731977462768555,
0.009935191832482815,
-0.036880917847156525,
-0.014494238421320915,
-0.036732353270053864,
0.0035933824256062508,
-0.06436518579721451,
0.028004242107272148,
0.018338322639465332,
-0.01610986702144146,
-0.018681874498724937,
0.04118926450610161,
-0.037995144724845886,
-0.0018117798026651144,
0.011950085870921612,
0.010176608338952065,
0.014336389489471912,
0.010937996208667755,
0.0241415873169899,
-0.03910937160253525,
-0.05767982453107834,
0.013825701549649239,
0.029564160853624344,
0.012265783734619617,
0.005645417608320713,
0.024717271327972412,
-0.014327104203402996,
-0.013510003685951233,
0.021857421845197678,
0.07446751743555069,
0.023900171741843224,
-0.0187747273594141,
-0.023138783872127533,
0.016044870018959045,
-0.009935191832482815,
0.026277190074324608,
-0.043714843690395355,
-0.004749393090605736,
0.011792236939072609,
0.0025023685302585363,
-0.002964308485388756,
-0.004217814188450575,
0.03324110805988312,
0.0033241109922528267,
0.04512619972229004,
-0.02774425595998764,
0.0020473923068493605,
0.01849617063999176,
-0.018821153789758682,
0.04486621171236038,
-0.010399453341960907,
0.05318577587604523,
0.019368981942534447,
0.0009645028621889651,
-0.06013112515211105,
-0.021838851273059845,
0.037642307579517365,
-0.035023871809244156,
0.021374590694904327,
0.010919425636529922,
-0.02228454314172268,
0.05025164410471916,
-0.04750321805477142,
0.007131053600460291,
0.029081327840685844,
0.008101359941065311,
0.025701506063342094,
0.0664079412817955,
-0.03472674638032913,
-0.05775410681962967,
0.04215492680668831,
-0.04133782535791397,
-0.01476350985467434,
-0.0013869806425645947,
0.020873188972473145,
0.026407184079289436,
0.07008488476276398,
0.0068524968810379505,
0.019146136939525604,
-0.03049268200993538,
0.009545212611556053,
-0.016249146312475204,
-0.039220795035362244,
0.006253599654883146,
0.037289466708898544,
-0.016332712024450302,
-0.0159334484487772,
0.02733570523560047,
0.06622223556041718,
0.04947168380022049,
-0.015376335009932518,
-0.004326915368437767,
0.05043734982609749,
0.043380577117204666,
0.014141399413347244,
0.003423927119001746,
0.020186081528663635,
-0.023213066160678864,
-0.054968539625406265,
-0.020334646105766296,
0.012581481598317623,
0.0049025993794202805,
0.01452209334820509,
-0.03491245210170746,
-0.015552753582596779,
-0.013296443969011307,
-0.037438031286001205,
0.027502840384840965,
-0.062136732041835785,
-0.02256309986114502,
-0.113948293030262,
-0.003468031994998455,
-0.06269384920597076,
0.02063177339732647,
-0.08029863238334656,
-0.006871067453175783,
-0.023621615022420883,
-0.018022624775767326,
-0.02802281267940998,
0.06499658524990082,
-0.016880542039871216,
-0.020037518814206123,
-0.03604524955153465,
-0.015571324154734612,
-0.004851530771702528,
0.05998256057500839,
0.016147008165717125,
-0.027688544243574142,
0.014512808993458748,
0.058125514537096024,
0.040335021913051605,
-0.012256498448550701,
0.0016260752454400063,
-0.05173727869987488,
-0.11885089427232742,
0.009331651963293552,
-0.045646172016859055,
-0.003347323974594474,
0.041300687938928604,
-0.020000377669930458,
0.08200711756944656,
-0.02228454314172268,
0.0549313984811306,
0.027707114815711975,
0.025627223774790764,
-0.0375494547188282,
0.04107784107327461,
-0.047651782631874084,
0.021653147414326668,
-0.05582277849316597,
-0.011495109647512436,
0.01242363266646862,
-0.007678882218897343,
0.0013858199818059802,
0.02332448773086071,
-0.029916997998952866,
-0.02497725933790207,
-0.004584580659866333,
0.0027971745003014803,
-0.020743194967508316,
-0.022823086008429527,
-0.006513586267828941,
-0.013064313679933548,
-0.05853406712412834,
0.07335329055786133,
-0.044606227427721024,
-0.0008304474176838994,
0.02967558242380619,
0.006160747725516558,
-0.014512808993458748,
-0.036880917847156525,
0.000837991654407233,
-0.05485711619257927,
-0.06815356016159058,
-0.020000377669930458,
-0.03818085044622421,
0.02766997367143631,
-0.0010834698332473636,
-0.02830136939883232,
-0.025162963196635246,
-0.03312968835234642,
0.02078033611178398,
0.007093912921845913,
-0.03155119717121124,
-0.011522965505719185,
-0.02319449558854103,
0.004614757373929024,
-0.015506328083574772,
0.01735408790409565
] |
713,229
|
xmlschema.converters.jsonml
|
element_encode
| null |
@stackable
def element_encode(self, obj: Any, xsd_element: 'XsdElement', level: int = 0) -> ElementData:
if not isinstance(obj, MutableSequence):
msg = "The first argument must be a sequence, {} provided"
raise XMLSchemaTypeError(msg.format(type(obj)))
elif not obj:
raise XMLSchemaValueError("The first argument is an empty sequence")
xmlns = self.set_context(obj, level)
data_len = len(obj)
if data_len == 1:
if not xsd_element.is_matching(self.unmap_qname(obj[0]), self._namespaces.get('')):
raise XMLSchemaValueError("Unmatched tag")
return ElementData(xsd_element.name, None, None, {}, None)
attributes: Dict[str, Any] = {}
if isinstance(obj[1], MutableMapping):
content_index = 2
for k, v in obj[1].items():
if k != 'xmlns' and not k.startswith('xmlns:'):
attributes[self.unmap_qname(k, xsd_element.attributes)] = v
else:
content_index = 1
if not xsd_element.is_matching(self.unmap_qname(obj[0]), self._namespaces.get('')):
raise XMLSchemaValueError("Unmatched tag")
if data_len <= content_index:
return ElementData(xsd_element.name, None, [], attributes, xmlns)
elif data_len == content_index + 1 and \
(xsd_element.type.simple_type is not None or not
xsd_element.type.content and xsd_element.type.mixed):
return ElementData(xsd_element.name, obj[content_index], [], attributes, xmlns)
else:
cdata_num = iter(range(1, data_len))
content = [
(self.unmap_qname(e[0], xmlns=self.get_xmlns_from_data(e)), e)
if isinstance(e, MutableSequence)
else (next(cdata_num), e) for e in obj[content_index:]
]
return ElementData(xsd_element.name, None, content, attributes, xmlns)
|
(self, obj: Any, xsd_element: 'XsdElement', level: int = 0) -> xmlschema.converters.default.ElementData
|
[
0.007389970123767853,
-0.0037164397072046995,
0.006994248833507299,
-0.01279656682163477,
0.041345689445734024,
-0.013568938709795475,
-0.011823952198028564,
0.0020084031857550144,
0.019871868193149567,
0.001174051663838327,
-0.03329777345061302,
-0.01937602460384369,
0.05404690280556679,
-0.028873328119516373,
-0.04195595905184746,
0.04180338978767395,
-0.008634345605969429,
0.025860127061605453,
-0.007204028777778149,
0.09039601683616638,
0.036921244114637375,
0.008052683435380459,
0.008901338092982769,
0.07002830505371094,
0.009392413310706615,
0.04771536588668823,
-0.008963318541646004,
0.018699007108807564,
-0.025211716070771217,
-0.03791293129324913,
0.005897672846913338,
-0.0586620569229126,
-0.003130009863525629,
-0.010345958173274994,
0.03369826450943947,
-0.014207812957465649,
-0.006136058829724789,
0.01844155043363571,
-0.009983611293137074,
-0.005320778116583824,
-0.028777973726391792,
0.0012133853742852807,
-0.01449387613683939,
-0.06716767698526382,
0.02961709164083004,
0.01765010878443718,
0.042642511427402496,
0.09710897505283356,
-0.03285914286971092,
0.021244971081614494,
0.08566644042730331,
0.02418188937008381,
0.030132006853818893,
-0.010984832420945168,
-0.04733394831418991,
0.01601954735815525,
-0.02126404270529747,
0.0533222071826458,
0.04840191826224327,
-0.0031085549853742123,
0.006593760102987289,
0.06690068542957306,
0.008419797755777836,
-0.0056878929026424885,
-0.07689382880926132,
0.012834709137678146,
-0.017354510724544525,
-0.04195595905184746,
-0.025078220292925835,
0.00019026192603632808,
0.011528353206813335,
-0.011671384796500206,
-0.009053905494511127,
0.04767722636461258,
-0.03768407925963402,
-0.012682141736149788,
0.013721505180001259,
-0.019929079338908195,
-0.00009311958274338394,
0.010956225916743279,
0.015876516699790955,
0.017478471621870995,
-0.03777943179011345,
0.05057600140571594,
0.04756280034780502,
0.025650346651673317,
-0.04165082424879074,
0.021569177508354187,
-0.010803659446537495,
-0.0018522602040320635,
0.013139843009412289,
0.02364790439605713,
-0.023438123986124992,
0.044053755700588226,
0.00026818440528586507,
-0.021588247269392014,
0.0038952291943132877,
-0.030017580837011337,
0.0012056378182023764,
0.05599213391542435,
-0.020787270739674568,
0.011576030403375626,
-0.047028813511133194,
0.016229327768087387,
-0.05858577415347099,
0.054542746394872665,
0.04329092055559158,
-0.01546649169176817,
0.0020262820180505514,
-0.010832265950739384,
0.03461366519331932,
-0.005649751052260399,
-0.0010965762194246054,
0.021664531901478767,
-0.00006775380461476743,
-0.03175303339958191,
0.008667719550430775,
0.04943174868822098,
-0.03859947994351387,
-0.06979946047067642,
0.09413391351699829,
-0.007471021264791489,
-0.02000536397099495,
0.018918322399258614,
0.021721743047237396,
-0.013845466077327728,
0.048287492245435715,
-0.0022455973085016012,
0.01966208778321743,
0.005978723987936974,
0.0029869782738387585,
-0.016877736896276474,
-0.055420007556676865,
-0.00780476164072752,
0.05511487275362015,
-0.049012187868356705,
0.0632772147655487,
-0.023457195609807968,
-0.0979480892419815,
0.001842724741436541,
0.024048391729593277,
-0.025955481454730034,
0.06186596676707268,
0.02402932196855545,
-0.06960874795913696,
0.0063839806243777275,
0.039247892796993256,
-0.006040704436600208,
-0.03495694324374199,
-0.02214130386710167,
-0.05679311230778694,
-0.03306892514228821,
-0.028816115111112595,
0.03947674110531807,
-0.015037396922707558,
-0.03564349189400673,
-0.0010822729673236609,
-0.010164784267544746,
0.03053249418735504,
-0.006536547560244799,
-0.02738579735159874,
0.05694567784667015,
-0.025516850873827934,
0.002548347692936659,
0.029750589281320572,
0.04432074725627899,
-0.01471319142729044,
-0.01432223804295063,
0.012081408873200417,
-0.007609284948557615,
0.03652075305581093,
0.02751929499208927,
0.010307815857231617,
0.03816084936261177,
0.002839178778231144,
0.051338836550712585,
-0.011280431412160397,
0.06133198365569115,
0.0017569056944921613,
-0.01727822609245777,
-0.007652194704860449,
0.04946988821029663,
0.042261093854904175,
0.005535325966775417,
0.0034732858184725046,
0.03655889630317688,
0.010956225916743279,
0.00475103547796607,
0.031009268015623093,
-0.01696355640888214,
-0.004012038465589285,
0.010260138660669327,
0.005935814697295427,
-0.02650853805243969,
-0.015685807913541794,
0.012195833958685398,
-0.034537382423877716,
-0.04657111316919327,
-0.006937036290764809,
0.05446646362543106,
0.014427128247916698,
-0.010841800831258297,
0.06167525798082352,
-0.018365267664194107,
-0.019070889800786972,
0.005969188641756773,
0.04058285430073738,
-0.016257934272289276,
-0.0667099729180336,
-0.008939479477703571,
0.0015709645813331008,
-0.04611341282725334,
-0.008538991212844849,
-0.038961827754974365,
0.057555947452783585,
-0.025364283472299576,
-0.04924103990197182,
-0.03640633076429367,
0.04107869789004326,
-0.06625226885080338,
0.008958550170063972,
0.0015125599456951022,
-0.02986501343548298,
-0.002750975778326392,
0.04676182195544243,
-0.026432253420352936,
0.03776036202907562,
-0.06369677186012268,
0.02082541212439537,
0.005721266847103834,
-0.027881640940904617,
-0.02729044295847416,
0.008810751140117645,
-0.062247384339571,
0.0005089543992653489,
0.04363419488072395,
0.07185911387205124,
-0.04321463778614998,
0.04603713005781174,
-0.04504544287919998,
0.01796477846801281,
-0.04168896749615669,
0.007413808722048998,
-0.0016627432778477669,
-0.034537382423877716,
0.03625376150012016,
0.046876247972249985,
0.027710003778338432,
-0.037703149020671844,
-0.06072171404957771,
-0.030322715640068054,
0.022923210635781288,
-0.033812686800956726,
0.00168419792316854,
0.009573587216436863,
-0.09588843584060669,
0.016353288665413857,
0.009945468977093697,
-0.0028034208808094263,
-0.05706010386347771,
0.02029142715036869,
-0.06102684885263443,
0.06793051213026047,
0.0471813827753067,
-0.012443755753338337,
0.0008403111132793128,
0.006131291389465332,
-0.010908548720180988,
0.006679579149931669,
0.042070385068655014,
-0.03257308155298233,
-0.03547185659408569,
0.023857682943344116,
0.05442832037806511,
-0.0028320271521806717,
0.04908847063779831,
0.003954825922846794,
-0.0006925116758793592,
0.0005801722290925682,
0.012586787343025208,
-0.009535444900393486,
-0.04111683741211891,
-0.010508060455322266,
0.013626150786876678,
0.012310259975492954,
-0.03739801421761513,
0.01422688364982605,
0.02038678154349327,
0.01543788518756628,
-0.017268691211938858,
-0.01981465518474579,
0.0781906470656395,
-0.06888405233621597,
-0.006183736026287079,
-0.029254745692014694,
0.042985785752534866,
0.009754760190844536,
-0.03558628261089325,
0.038961827754974365,
0.012272117659449577,
0.02126404270529747,
0.06369677186012268,
0.056869395077228546,
-0.016658421605825424,
-0.002332608215510845,
0.000049837599362945184,
-0.001489913323894143,
-0.009559283964335918,
-0.0346708782017231,
0.013902679085731506,
0.007466253358870745,
0.05297893285751343,
-0.011804880574345589,
0.01874668523669243,
0.03179117292165756,
0.01519949920475483,
0.031924668699502945,
-0.01391221396625042,
0.028339343145489693,
0.062171101570129395,
-0.027309514582157135,
-0.07590214163064957,
-0.018832504749298096,
-0.058814626187086105,
0.040277719497680664,
-0.02465866133570671,
0.06087427958846092,
-0.029578950256109238,
0.05591585114598274,
-0.03135254234075546,
-0.02437259815633297,
-0.050461575388908386,
0.007637891452759504,
0.03962931036949158,
-0.011509282514452934,
0.010651092045009136,
0.007642659358680248,
0.0077141751535236835,
-0.02879704348742962,
0.007609284948557615,
0.015819303691387177,
0.04500729963183403,
-0.03314520791172981,
0.02151196449995041,
-0.008081289939582348,
-0.06629041582345963,
0.011928841471672058,
-0.010107572190463543,
0.006722488906234503,
0.055763281881809235,
-0.028186775743961334,
-0.01781221106648445,
0.0409642718732357,
0.034346673637628555,
0.02898775227367878,
-0.012415149249136448,
0.007823832333087921,
0.07769480347633362,
0.009568818844854832,
0.012653535231947899,
0.05057600140571594,
-0.05358920246362686,
-0.0008999076089821756,
-0.04638040438294411,
0.008538991212844849,
-0.011261360719799995,
-0.044206324964761734,
0.03243958577513695,
0.01405524555593729,
0.00901576317846775,
0.01806013286113739,
-0.005921511445194483,
-0.05194910615682602,
-0.06789236515760422,
-0.009030066430568695,
0.004190828185528517,
-0.004171757027506828,
0.016915880143642426,
-0.003122858237475157,
-0.09619356691837311,
0.0551530122756958,
0.027690932154655457,
0.03484251722693443,
-0.0015805000439286232,
-0.016629816964268684,
0.007075300440192223,
0.07391876727342606,
0.009072976186871529,
-0.010479453951120377,
0.025421496480703354,
0.02063470333814621,
0.0017831282457336783,
0.0003790339396800846,
-0.01736404560506344,
-0.05767036974430084,
-0.01941416598856449,
0.005511487368494272,
0.021302184090018272,
0.004803480580449104,
0.011013438925147057,
-0.034346673637628555,
-0.03198188170790672,
0.01422688364982605,
0.0004240293346811086,
0.031199976801872253,
-0.027347655966877937,
-0.007885812781751156,
-0.03276379033923149,
0.01878482662141323,
0.08932805061340332,
-0.007380434311926365,
0.01422688364982605,
0.014827617444097996,
-0.06331535428762436,
0.03831341862678528,
-0.021778956055641174,
0.027404868975281715,
0.03970559313893318,
-0.03482344374060631,
-0.03888554498553276,
-0.054352037608623505,
0.019175779074430466,
0.016687028110027313,
0.061103131622076035,
-0.03762686625123024,
-0.03962931036949158,
-0.016820525750517845,
-0.003435143968090415,
-0.003935754764825106,
0.060225870460271835,
0.018794361501932144,
-0.03154325112700462,
-0.0471813827753067,
-0.10038916766643524,
0.029064036905765533,
-0.025040078908205032,
-0.025211716070771217,
-0.04123126342892647,
0.0378175750374794,
0.02816770412027836,
-0.010050359182059765,
0.039438601583242416,
0.018956465646624565,
0.025764772668480873,
-0.0346708782017231,
0.020958907902240753,
-0.016934949904680252,
0.05919604375958443,
-0.042451802641153336,
0.025764772668480873,
0.07723710685968399,
-0.01975744217634201,
0.07384248822927475,
-0.03461366519331932,
-0.06556572020053864,
-0.057021960616111755,
0.01592419296503067,
-0.03674960508942604,
0.009211240336298943,
-0.05072856694459915,
-0.0009303018450737,
-0.04786793515086174,
0.015161357820034027,
-0.042070385068655014,
-0.06556572020053864,
0.0748341754078865,
-0.011413928121328354,
-0.004977502394467592,
-0.03615840896964073,
-0.003218212630599737,
0.06293393671512604,
-0.024582376703619957,
0.021435679867863655,
-0.04069728031754494,
0.06796865165233612,
-0.02029142715036869,
-0.033183347433805466,
-0.003976280800998211,
-0.020768199115991592,
-0.01454155333340168,
0.00727077666670084,
-0.0007491284050047398,
0.05835692211985588,
-0.010956225916743279,
-0.03137161582708359,
-0.028530051931738853,
0.055763281881809235,
0.0077141751535236835,
-0.0018665633397176862,
0.03228701651096344,
-0.03974373638629913,
0.040468428283929825,
-0.02364790439605713,
0.06480288505554199,
0.025135433301329613,
-0.03188652917742729,
0.006293393671512604,
-0.02524985931813717,
-0.04699067398905754,
-0.05122441053390503,
0.038237135857343674,
-0.07159212231636047,
-0.06293393671512604,
-0.00846270751208067,
0.0037140557542443275,
0.000909443071577698,
-0.027938853949308395,
0.017573826014995575,
0.011547423899173737,
-0.038141779601573944,
-0.0729270800948143,
0.03465180844068527,
-0.009945468977093697,
0.02364790439605713,
0.018727613613009453,
0.028243988752365112,
0.00816710852086544,
0.0171161238104105,
-0.002114485017955303,
-0.030036652460694313,
0.013197056017816067,
0.003992967773228884,
0.019147174432873726,
0.056487977504730225,
0.028377484530210495,
0.01868947222828865,
-0.028777973726391792,
-0.011642778292298317,
-0.005907208193093538,
0.038179922848939896,
-0.012110015377402306,
-0.0315241813659668,
0.0020131708588451147,
0.00642212200909853,
0.02587919868528843,
0.032020024955272675,
0.03272564709186554,
-0.014245955273509026,
0.0435960553586483,
0.03547185659408569,
0.0004475699388422072,
-0.006097916979342699,
-0.00385947129689157,
-0.06156083196401596,
-0.02355255000293255,
0.0333549864590168,
-0.01629607565701008,
0.009831043891608715,
-0.03676867485046387,
-0.011175541207194328,
-0.023800469934940338,
-0.012052802368998528,
0.07918233424425125,
0.1475324034690857,
-0.038580410182476044,
-0.0835305005311966,
-0.049202896654605865,
0.0006919157458469272,
0.004567478317767382,
0.022065019235014915,
-0.003037039190530777,
0.0498131662607193,
-0.009792902506887913,
-0.005864298902451992,
0.015599988400936127,
0.03312613442540169,
0.01683006063103676,
-0.02301856502890587,
-0.015228105708956718,
0.020615631714463234,
-0.04500729963183403,
0.02563127689063549,
-0.052750080823898315,
-0.04966059699654579,
-0.008353049866855145,
0.02772907353937626,
-0.07079114764928818,
-0.03640633076429367,
0.0005792782758362591,
-0.011309037916362286,
-0.010593879036605358,
-0.0017926637083292007,
-0.029483595862984657,
-0.06255251914262772,
0.054733455181121826,
-0.04592270404100418,
0.016858667135238647,
0.01765010878443718,
-0.059844452887773514,
-0.02603176422417164,
-0.024773085489869118,
-0.04927917942404747,
-0.031142763793468475,
-0.013444977812469006,
0.06087427958846092,
0.022065019235014915,
-0.024258172139525414,
-0.02898775227367878,
0.011328108608722687,
-0.07754223793745041,
-0.008677255362272263,
0.023075776174664497,
-0.016219792887568474,
0.020787270739674568,
0.0337936170399189,
0.005478112958371639,
-0.006112220231443644,
-0.025421496480703354,
0.06491731107234955,
0.00002301915992575232,
-0.0025245090946555138,
0.004627074580639601,
0.010374563746154308,
-0.019242528825998306,
-0.0365016832947731,
-0.0382562056183815,
-0.055953990668058395,
0.009568818844854832,
-0.021130546927452087,
-0.0074233440682291985,
0.025268929079174995,
0.02816770412027836,
-0.056831251829862595,
-0.010498524643480778,
-0.03375547379255295,
-0.011843022890388966,
0.05713638663291931,
0.021378466859459877,
0.03793200105428696,
-0.03627283126115799,
0.08665812760591507,
0.03194374218583107,
0.04626597836613655,
-0.08436961472034454,
-0.02572663128376007,
0.009540212340652943,
-0.03375547379255295,
0.062209244817495346,
-0.02160731889307499,
0.014722727239131927,
0.06030215322971344,
-0.02484937012195587,
0.01252957433462143,
0.02572663128376007,
0.006393515970557928,
0.007132512982934713,
0.07609285414218903,
-0.07979260385036469,
-0.07277451455593109,
-0.0003023034078069031,
-0.009196937084197998,
0.004293334204703569,
-0.0320390947163105,
-0.016381895169615746,
0.07147769629955292,
0.08398819714784622,
0.015399743802845478,
0.0005828540888614953,
-0.008686790242791176,
0.03558628261089325,
0.03058970719575882,
-0.041536398231983185,
-0.010860871523618698,
-0.010288745164871216,
-0.010393635369837284,
0.032840073108673096,
0.027786286547780037,
0.02204594947397709,
0.019385559484362602,
-0.012653535231947899,
-0.0453505776822567,
0.04603713005781174,
0.009521141648292542,
-0.004033493343740702,
-0.0149039002135396,
-0.011719061993062496,
-0.018489228561520576,
-0.005068088881671429,
-0.030227361246943474,
-0.011394856497645378,
0.024525165557861328,
-0.018336661159992218,
-0.016200721263885498,
-0.03785571828484535,
-0.028625406324863434,
-0.09924491494894028,
0.034251317381858826,
-0.0819285437464714,
0.010717839933931828,
-0.10115200281143188,
0.010612950660288334,
-0.10954318940639496,
0.011099258437752724,
-0.03989630192518234,
-0.038580410182476044,
-0.062018536031246185,
-0.013826395384967327,
0.05324592441320419,
0.05172025412321091,
-0.029483595862984657,
0.021759886294603348,
-0.007885812781751156,
0.00730891851708293,
-0.01928067021071911,
0.07410947978496552,
0.03186745569109917,
-0.013359158299863338,
0.0034256086219102144,
0.10939062386751175,
0.04836377874016762,
-0.0293310284614563,
0.07780922949314117,
-0.04413003847002983,
-0.08086057752370834,
-0.04126940667629242,
-0.020119788125157356,
0.036730535328388214,
0.042261093854904175,
-0.023285556584596634,
0.06476474553346634,
-0.05175839737057686,
0.04538871720433235,
0.011394856497645378,
-0.0040501803159713745,
-0.021187758073210716,
0.007842903956770897,
0.012138621881604195,
0.06587085127830505,
-0.0533984936773777,
-0.005649751052260399,
0.04023957625031471,
0.02578384429216385,
-0.015285318717360497,
0.044740308076143265,
0.005377991124987602,
0.008786913007497787,
-0.002370750065892935,
-0.0027867339085787535,
-0.03804642707109451,
-0.0016770464135333896,
0.02320927381515503,
0.005802318453788757,
-0.017383117228746414,
0.04268065094947815,
0.030418070033192635,
0.01629607565701008,
0.056297268718481064,
0.017955243587493896,
-0.0293691698461771,
-0.0262224730104208,
0.004329091869294643,
-0.02301856502890587,
-0.03703567013144493,
-0.010298280976712704,
0.03932417556643486,
-0.0027843499556183815,
-0.02917846105992794,
0.040277719497680664,
-0.018203165382146835,
-0.03884740173816681,
-0.02364790439605713,
-0.010117107070982456,
-0.017259156331419945,
-0.006164665333926678,
0.005935814697295427,
0.049050331115722656,
0.0032348998356610537,
0.0329163558781147
] |
713,234
|
xmlschema.converters.jsonml
|
get_xmlns_from_data
| null |
def get_xmlns_from_data(self, obj: Any) -> Optional[List[Tuple[str, str]]]:
if not self._use_namespaces or not isinstance(obj, MutableSequence) \
or len(obj) < 2 or not isinstance(obj[1], MutableMapping):
return None
xmlns = []
for k, v in obj[1].items():
if k == 'xmlns':
xmlns.append(('', v))
elif k.startswith('xmlns:'):
xmlns.append((k.split('xmlns:')[1], v))
return xmlns
|
(self, obj: Any) -> Optional[List[Tuple[str, str]]]
|
[
0.0022934521548449993,
0.010023487731814384,
-0.011004935018718243,
-0.05325261875987053,
0.023463865742087364,
-0.0058341603726148605,
0.04082094877958298,
0.025572162121534348,
0.11348441988229752,
0.03516853600740433,
-0.027571406215429306,
-0.026753533631563187,
0.029806924983859062,
-0.05957750231027603,
0.02733513154089451,
0.06364869326353073,
-0.044637687504291534,
-0.013649391010403633,
0.03729500621557236,
0.09385546296834946,
0.013267717324197292,
-0.0034441540483385324,
-0.012177219614386559,
0.02855285443365574,
-0.017293469980359077,
-0.014630838297307491,
-0.006611139979213476,
-0.01459448877722025,
0.025263186544179916,
-0.006997357588261366,
-0.0357501357793808,
-0.06888307631015778,
0.022464243695139885,
0.008169642649590969,
0.01629384607076645,
0.0037713032215833664,
0.023518390953540802,
-0.029461601749062538,
-0.013894752599298954,
-0.0316607728600502,
0.05288911983370781,
-0.03900345414876938,
-0.028880003839731216,
-0.04736393317580223,
0.028898177668452263,
0.024209039285779,
0.010505123995244503,
0.09298306703567505,
-0.010886797681450844,
0.0018595251021906734,
0.02922532707452774,
0.01124120969325304,
-0.050599075853824615,
-0.006833782885223627,
-0.0321151465177536,
0.02673535794019699,
-0.0030397612135857344,
0.06303074210882187,
0.02235519513487816,
0.020246898755431175,
0.036349911242723465,
0.016839096322655678,
0.007551693823188543,
-0.02402728982269764,
-0.0031783452723175287,
-0.058923203498125076,
0.0284983292222023,
-0.02579026110470295,
-0.059068601578474045,
-0.02135557122528553,
-0.0407118983566761,
0.01596669852733612,
-0.02017419971525669,
0.03555021062493324,
0.028698254376649857,
-0.02958882600069046,
0.045800887048244476,
-0.023154892027378082,
0.009959875606000423,
-0.007238175719976425,
-0.0447830893099308,
0.004466495011001825,
-0.03962140157818794,
0.02130104787647724,
0.04812727868556976,
0.016793658956885338,
-0.0068701328709721565,
0.03509583696722984,
-0.03040669858455658,
0.01463992614299059,
-0.01615753397345543,
0.013049617409706116,
0.018611153587698936,
0.035768311470746994,
-0.02606288529932499,
-0.04143889620900154,
-0.0701553225517273,
-0.03129727393388748,
-0.024463489651679993,
0.01977435126900673,
0.015912173315882683,
-0.048563480377197266,
-0.043910689651966095,
0.0683378279209137,
-0.008569491095840931,
-0.01602122187614441,
-0.023191241547465324,
-0.032278720289468765,
0.004280202090740204,
0.02302766777575016,
-0.012831518426537514,
-0.04460133984684944,
0.01397654041647911,
0.03685880824923515,
0.05532456189393997,
-0.02339116670191288,
-0.029443426057696342,
-0.017393432557582855,
-0.01423098985105753,
-0.0214827973395586,
-0.005602429620921612,
0.03026130050420761,
0.011159421876072884,
0.04082094877958298,
0.006629314739257097,
0.012431669048964977,
0.05172592028975487,
-0.01977435126900673,
0.0574692077934742,
-0.02949795126914978,
0.04638248309493065,
-0.007488081231713295,
-0.09901715070009232,
-0.0493268258869648,
0.024536188691854477,
-0.0059477537870407104,
0.1099221259355545,
0.017120808362960815,
-0.03991220146417618,
-0.025135962292551994,
0.0028920897748321295,
0.00618857191875577,
-0.006515721324831247,
-0.004300648812204599,
-0.09392816573381424,
0.009305576793849468,
0.03813105449080467,
0.032678570598363876,
-0.015430537052452564,
-0.07444461435079575,
-0.02302766777575016,
-0.059432100504636765,
0.0064430213533341885,
0.028989052399992943,
-0.06564793735742569,
-0.0398031510412693,
-0.051689572632312775,
-0.06023180112242699,
0.045219287276268005,
0.005102618597447872,
-0.05532456189393997,
0.04016664996743202,
-0.021918995305895805,
-0.05877780541777611,
0.0728452205657959,
0.033823590725660324,
0.04202049598097801,
-0.06463013589382172,
0.010632348246872425,
-0.016430160030722618,
-0.00930103287100792,
0.018702028319239616,
0.048926979303359985,
0.016348371282219887,
0.03885805234313011,
0.030388524755835533,
-0.04918142780661583,
0.017975030466914177,
0.028807302936911583,
0.00913745816797018,
0.007083688862621784,
-0.00045323793892748654,
-0.020028799772262573,
0.00013226539886090904,
-0.03493226319551468,
0.02664448320865631,
-0.01792050525546074,
0.036895159631967545,
0.008401372469961643,
-0.011504746042191982,
0.008433178998529911,
-0.017447955906391144,
-0.012449843809008598,
0.05070812255144119,
0.007238175719976425,
-0.009060215204954147,
-0.0020424106623977423,
-0.00283302110619843,
-0.04554643854498863,
-0.062449146062135696,
0.05412501469254494,
-0.03320564329624176,
-0.010623261332511902,
0.05328896641731262,
-0.02180994488298893,
-0.012249919585883617,
0.017975030466914177,
0.046527884900569916,
-0.07437191158533096,
0.025463111698627472,
0.04092999920248985,
-0.0034396101254969835,
-0.046855032444000244,
-0.0488542802631855,
0.022791393101215363,
0.002955702133476734,
-0.015957610681653023,
-0.0032192389480769634,
0.019065527245402336,
-0.016848182305693626,
0.008814852684736252,
-0.05459756404161453,
0.015512323938310146,
0.06910117715597153,
0.017020845785737038,
-0.002360472222790122,
0.04271114245057106,
-0.029806924983859062,
0.04456498846411705,
-0.036404434591531754,
0.020483173429965973,
-0.027316957712173462,
0.005311630666255951,
-0.03366001695394516,
0.06942832469940186,
0.036259036511182785,
0.07662560790777206,
-0.025099612772464752,
0.05514281243085861,
-0.018084080889821053,
-0.0001542031386634335,
-0.048018231987953186,
0.014994338154792786,
0.04714583232998848,
-0.014785326085984707,
0.08396828919649124,
0.021500971168279648,
-0.02569938637316227,
0.01573951169848442,
-0.007101863622665405,
-0.01160470861941576,
0.08251429349184036,
0.02678988315165043,
0.01420372724533081,
0.0036986032500863075,
-0.05154417082667351,
-0.05670585855841637,
-0.011777371168136597,
-0.0068519581109285355,
-0.05252562090754509,
0.00421886146068573,
-0.006856501568108797,
0.029825100675225258,
0.06612048298120499,
0.0035850098356604576,
0.03171529620885849,
-0.014867112971842289,
-0.0011081042466685176,
-0.058923203498125076,
0.010150711983442307,
0.004414242226630449,
-0.024536188691854477,
0.03435066342353821,
0.012540718540549278,
-0.00821053609251976,
0.02339116670191288,
0.0520167201757431,
-0.025953834876418114,
-0.01397654041647911,
0.03162442147731781,
-0.029716050252318382,
-0.04700043424963951,
0.00220484915189445,
-0.015957610681653023,
0.05030827596783638,
-0.056306008249521255,
0.00003372305945958942,
0.026808058843016624,
0.0004793644475284964,
0.0004819202877115458,
0.0015664539532735944,
-0.004252939485013485,
-0.05485201254487038,
-0.015003425069153309,
0.004566457588225603,
0.07488081604242325,
0.003918974660336971,
0.03691333159804344,
0.06506633758544922,
0.03013407438993454,
0.004630069714039564,
0.061649445444345474,
0.06157674640417099,
-0.01801137998700142,
0.06757447868585587,
-0.0012109063100069761,
0.028807302936911583,
-0.018611153587698936,
0.01814769208431244,
-0.004748207051306963,
-0.0017073098570108414,
-0.040602847933769226,
0.009496414102613926,
-0.035677436739206314,
0.005311630666255951,
0.027044333517551422,
-0.01944720186293125,
0.019247276708483696,
-0.0005719431210309267,
0.034132566303014755,
-0.020919373258948326,
-0.07037342339754105,
0.008560404181480408,
-0.01778419315814972,
0.07037342339754105,
-0.03338739275932312,
0.025772085413336754,
-0.02818935550749302,
0.05568806082010269,
-0.013376766815781593,
-0.029970500618219376,
-0.07451731711626053,
-0.06750178337097168,
0.00927831418812275,
0.015893997624516487,
-0.013731177896261215,
-0.026626309379935265,
-0.013367678970098495,
-0.0005111705977469683,
-0.010350637137889862,
-0.03991220146417618,
-0.0028989051934331656,
-0.007288157008588314,
0.05049002543091774,
0.005061724688857794,
0.0020117403473705053,
-0.0174116063863039,
-0.007469906471669674,
-0.0032010639552026987,
0.032733093947172165,
-0.06408488750457764,
0.041911445558071136,
0.0325876921415329,
0.022827742621302605,
0.05765095725655556,
0.002303675515577197,
0.00562060484662652,
0.02208257094025612,
0.03316929191350937,
0.052961818873882294,
0.035495687276124954,
-0.018583891913294792,
0.027171557769179344,
-0.05776000767946243,
0.030152250081300735,
-0.0007803871412761509,
-0.004087092820554972,
0.016075747087597847,
0.03298754245042801,
0.003646350232884288,
-0.04322004318237305,
0.017002670094370842,
-0.033369217067956924,
-0.08949347585439682,
0.0028557397890836,
0.028970878571271896,
0.05586981028318405,
-0.0068746767938137054,
-0.0434381403028965,
-0.04180239513516426,
-0.004348358139395714,
-0.03878535330295563,
0.021882645785808563,
0.028207529336214066,
-0.051689572632312775,
0.026844408363103867,
-0.01796594262123108,
-0.039657752960920334,
-0.032769445329904556,
0.04369259253144264,
0.06633858382701874,
0.004114355426281691,
0.036349911242723465,
-0.014649013988673687,
-0.025354061275720596,
-0.02004697546362877,
-0.01445817667990923,
-0.03896710276603699,
0.04609168693423271,
0.001834534457884729,
0.020156024023890495,
-0.05154417082667351,
-0.05416136607527733,
-0.014349127188324928,
0.006642946042120457,
0.02673535794019699,
-0.017438869923353195,
-0.025953834876418114,
-0.021191997453570366,
0.04365624114871025,
0.04212954640388489,
-0.016884533688426018,
0.0932011678814888,
-0.057069357484579086,
0.07757070660591125,
0.03718595579266548,
-0.0072790696285665035,
0.06292169541120529,
0.015957610681653023,
-0.020555874332785606,
-0.039112504571676254,
-0.044092439115047455,
0.05049002543091774,
0.018302179872989655,
0.014957987703382969,
-0.031060997396707535,
-0.02989780157804489,
-0.03627720847725868,
0.0063975839875638485,
0.030115900561213493,
0.04085730016231537,
-0.010841360315680504,
0.00891481526196003,
-0.09552755951881409,
0.019192751497030258,
0.031224573031067848,
0.005138968583196402,
-0.010959497652947903,
0.0053161741234362125,
-0.006751995533704758,
0.012004557996988297,
0.02949795126914978,
0.006156765855848789,
0.048163630068302155,
-0.016584645956754684,
0.02429991401731968,
-0.05307086929678917,
-0.005979560315608978,
-0.016439246013760567,
0.02099207229912281,
-0.05921400338411331,
-0.005661498289555311,
0.015412361361086369,
-0.01524878665804863,
-0.004920869134366512,
-0.011504746042191982,
-0.017393432557582855,
-0.035132188349962234,
-0.04234764352440834,
-0.057978104799985886,
-0.036804284900426865,
-0.03507766127586365,
0.04823632910847664,
-0.03149719536304474,
0.019301801919937134,
-0.01406741514801979,
0.01493072509765625,
-0.02655360847711563,
-0.05437946319580078,
-0.042820192873477936,
0.009614551439881325,
-0.04587358608841896,
0.04656423255801201,
-0.04009395092725754,
0.05343436822295189,
0.021246522665023804,
-0.009632726199924946,
0.018383966758847237,
0.014040152542293072,
-0.01959260180592537,
0.010904972441494465,
0.03773120790719986,
0.05416136607527733,
-0.016711870208382607,
-0.07022802531719208,
-0.03307841718196869,
0.03769485652446747,
-0.06975547969341278,
-0.045182935893535614,
-0.001929952995851636,
0.01524878665804863,
0.06848323345184326,
-0.030661148950457573,
-0.007510799914598465,
0.07219091802835464,
0.0352957621216774,
0.04456498846411705,
-0.005202580709010363,
-0.035895537585020065,
-0.012413494288921356,
0.02271869406104088,
-0.036186333745718,
-0.021646371111273766,
-0.005425224080681801,
-0.022773219272494316,
-0.007492625154554844,
-0.06252184510231018,
-0.02768045663833618,
0.01459448877722025,
-0.0282802302390337,
-0.06721097975969315,
0.04772743210196495,
0.017566094174981117,
0.010859535075724125,
0.016802744939923286,
0.036804284900426865,
-0.011341171339154243,
0.02184629626572132,
-0.016339285299181938,
-0.017611531540751457,
-0.039839502424001694,
-0.008496791124343872,
-0.0014642197638750076,
0.02909810282289982,
-0.007910649292171001,
-0.013803877867758274,
-0.0447830893099308,
0.0029488864820450544,
-0.026953458786010742,
-0.015003425069153309,
0.006193115841597319,
-0.045582786202430725,
-0.0062203784473240376,
-0.01065052393823862,
0.021101122722029686,
0.018402142450213432,
-0.00015150528633967042,
-0.014858025126159191,
0.02348204143345356,
0.01624840870499611,
0.01411285251379013,
-0.00818781740963459,
-0.0214827973395586,
0.013185929507017136,
-0.013195017352700233,
0.07931550592184067,
-0.0068065207451581955,
0.03784025460481644,
0.009769038297235966,
0.06717463582754135,
-0.004811819177120924,
-0.054270416498184204,
0.05783270671963692,
0.10199784487485886,
-0.061649445444345474,
-0.023500217124819756,
0.0014914822531864047,
-0.03287849202752113,
0.005538817495107651,
-0.023918241262435913,
-0.011077634990215302,
0.006924657616764307,
0.0005071948398835957,
0.06848323345184326,
-0.0588141530752182,
0.02026507444679737,
0.00558879878371954,
-0.0016471053240820765,
-0.008355935104191303,
0.08905728161334991,
-0.047836482524871826,
-0.040421098470687866,
-0.004266570787876844,
-0.03198792040348053,
0.011368433944880962,
0.014939812943339348,
-0.03642261028289795,
-0.045946285128593445,
0.04063919931650162,
0.011023109778761864,
0.005806898232549429,
0.02035594917833805,
0.06005005165934563,
0.00946006365120411,
0.05161686986684799,
0.005470661446452141,
-0.0037258656229823828,
-0.01962895132601261,
-0.003548659849911928,
-0.02475428767502308,
-0.06710193306207657,
0.03071567416191101,
0.03867630288004875,
-0.008474072441458702,
0.05387056618928909,
-0.0615403987467289,
0.02569938637316227,
-0.016939057037234306,
0.014149202033877373,
-0.05921400338411331,
0.08360479027032852,
0.049653977155685425,
-0.0047118570655584335,
0.04103904962539673,
0.00614313455298543,
0.01805681735277176,
-0.019883399829268456,
0.009869000874459743,
0.01224083174020052,
0.013394941575825214,
-0.07302697002887726,
0.0041529773734509945,
0.04369259253144264,
-0.033859942108392715,
-0.05256196856498718,
-0.02742600627243519,
-0.04260209575295448,
0.018302179872989655,
-0.05754190683364868,
-0.029370727017521858,
0.021864470094442368,
-0.031224573031067848,
0.005397961474955082,
0.04867253080010414,
-0.001549414941109717,
-0.016748221591114998,
0.01895647868514061,
0.01379479095339775,
-0.005897772964090109,
-0.06499363481998444,
0.05877780541777611,
-0.004539194982498884,
0.013076880015432835,
-0.07909740507602692,
-0.019029177725315094,
0.08062409609556198,
-0.04979937523603439,
0.022591467946767807,
-0.0038099249359220266,
-0.025408586487174034,
0.0452556386590004,
-0.02977057546377182,
0.0226278193295002,
0.020065149292349815,
0.02484516240656376,
-0.010886797681450844,
0.017938680946826935,
-0.01886560395359993,
-0.023045843467116356,
-0.005979560315608978,
-0.031006472185254097,
-0.03198792040348053,
0.0022718694526702166,
0.023318467661738396,
0.04620073363184929,
0.08084219694137573,
-0.04154794663190842,
-0.03878535330295563,
-0.02913445234298706,
-0.04438323900103569,
-0.039657752960920334,
-0.06542983651161194,
-0.04899967834353447,
0.014867112971842289,
-0.008524053730070591,
-0.04212954640388489,
-0.00600682245567441,
-0.01069596130400896,
0.062376443296670914,
-0.024408964440226555,
-0.005443398840725422,
0.10599633306264877,
0.011686495505273342,
0.03994854912161827,
-0.0032010639552026987,
-0.007379031740128994,
0.021246522665023804,
-0.006788345519453287,
0.005066268611699343,
-0.0054297675378620625,
0.023536566644906998,
-0.05488836392760277,
-0.03714960813522339,
-0.019338151440024376,
-0.0019083702936768532,
-0.027971254661679268,
0.031878869980573654,
-0.03384176641702652,
0.00882394053041935,
-0.01483985036611557,
-0.021282872185111046,
0.008560404181480408,
0.05586981028318405,
0.017656968906521797,
0.00561151746660471,
-0.046891383826732635,
-0.0032692200038582087,
0.10170704871416092,
0.030752023681998253,
-0.03180617094039917,
0.022591467946767807,
-0.01133208442479372,
-0.008923903107643127,
-0.05550631135702133,
0.029116278514266014,
0.011768283322453499,
0.007224544417113066,
-0.019247276708483696,
-0.016793658956885338,
0.09312846511602402,
-0.03086107410490513,
0.07495351135730743,
-0.01592126116156578,
-0.05623330920934677,
0.0052979993633925915,
-0.03776755556464195,
-0.00909656472504139,
0.004132530186325312,
-0.02882547862827778,
0.004943587817251682,
-0.025172311812639236,
0.07713450491428375,
0.0027853117790073156,
0.03362366557121277,
0.0178659800440073,
0.00941462628543377,
-0.0023877345956861973,
0.032369595021009445,
-0.11275742202997208,
0.04987207427620888,
0.01968347653746605,
-0.007329050451517105,
-0.018093166872859,
-0.012986005283892155,
0.025935661047697067,
0.07597131282091141,
-0.0007020076154731214,
0.007274525705724955,
-0.06822878122329712,
0.018084080889821053,
0.03378723934292793,
0.01683000847697258,
0.011095809750258923,
0.09967145323753357,
0.007192738354206085,
-0.09102017432451248,
0.00532526196911931,
0.007292700465768576,
-0.0008701259503141046,
0.012586155906319618,
0.028480153530836105,
0.03086107410490513,
-0.01529422402381897,
-0.03758580610156059,
0.005288911983370781,
-0.009450976736843586,
-0.0226278193295002,
-0.02166454680263996,
0.01841122843325138,
-0.021228346973657608,
-0.025299537926912308,
0.04365624114871025,
-0.0037326812744140625,
0.04714583232998848,
-0.01083227340131998,
-0.007528975140303373,
-0.03951235115528107,
0.016339285299181938
] |
713,248
|
xmlschema.converters.parker
|
ParkerConverter
|
XML Schema based converter class for Parker convention.
ref: http://wiki.open311.org/JSON_and_XML_Conversion/#the-parker-convention
ref: https://developer.mozilla.org/en-US/docs/Archive/JXON#The_Parker_Convention
:param namespaces: Map from namespace prefixes to URI.
:param dict_class: Dictionary class to use for decoded data. Default is `dict`.
:param list_class: List class to use for decoded data. Default is `list`.
:param preserve_root: If `True` the root element will be preserved. For default the Parker convention remove the document root element, returning only the value.
|
class ParkerConverter(XMLSchemaConverter):
"""
XML Schema based converter class for Parker convention.
ref: http://wiki.open311.org/JSON_and_XML_Conversion/#the-parker-convention
ref: https://developer.mozilla.org/en-US/docs/Archive/JXON#The_Parker_Convention
:param namespaces: Map from namespace prefixes to URI.
:param dict_class: Dictionary class to use for decoded data. Default is `dict`.
:param list_class: List class to use for decoded data. Default is `list`.
:param preserve_root: If `True` the root element will be preserved. For default \
the Parker convention remove the document root element, returning only the value.
"""
__slots__ = ()
def __init__(self, namespaces: Optional[NamespacesType] = None,
dict_class: Optional[Type[Dict[str, Any]]] = None,
list_class: Optional[Type[List[Any]]] = None,
preserve_root: bool = False, **kwargs: Any) -> None:
kwargs.update(attr_prefix=None, text_key='', cdata_prefix=None)
super().__init__(
namespaces, dict_class, list_class, preserve_root=preserve_root, **kwargs
)
@property
def xmlns_processing_default(self) -> str:
return 'stacked' if isinstance(self.source, XMLResource) else 'none'
@property
def lossy(self) -> bool:
return True
@property
def loss_xmlns(self) -> bool:
return True
def element_decode(self, data: ElementData, xsd_element: 'XsdElement',
xsd_type: Optional[BaseXsdType] = None, level: int = 0) -> Any:
xsd_type = xsd_type or xsd_element.type
preserve_root = self.preserve_root
if xsd_type.model_group is None or not data.content:
if preserve_root:
return self.dict([(self.map_qname(data.tag), data.text)])
else:
return data.text
else:
result_dict = self.dict()
for name, value, xsd_child in self.map_content(data.content):
if preserve_root:
try:
if len(value) == 1:
value = value[name]
except (TypeError, KeyError):
pass
try:
result_dict[name].append(value)
except KeyError:
if isinstance(value, MutableSequence):
result_dict[name] = self.list([value])
else:
result_dict[name] = value
except AttributeError:
result_dict[name] = self.list([result_dict[name], value])
for k, v in result_dict.items():
if isinstance(v, MutableSequence) and len(v) == 1:
value = v.pop()
v.extend(value)
if preserve_root:
return self.dict([(self.map_qname(data.tag), result_dict)])
else:
return result_dict if result_dict else None
def element_encode(self, obj: Any, xsd_element: 'XsdElement', level: int = 0) -> ElementData:
name: str = xsd_element.name
if not isinstance(obj, MutableMapping):
if obj == '':
obj = None
if xsd_element.type.simple_type is not None:
return ElementData(xsd_element.name, obj, None, {}, None)
else:
return ElementData(xsd_element.name, None, obj, {}, None)
else:
if not obj:
return ElementData(xsd_element.name, None, None, {}, None)
elif self.preserve_root:
try:
items = obj[self.map_qname(name)]
except KeyError:
return ElementData(xsd_element.name, None, None, {}, None)
else:
items = obj
try:
content = []
for name, value in obj.items():
ns_name = self.unmap_qname(name)
if not isinstance(value, MutableSequence) or not value:
content.append((ns_name, value))
elif any(isinstance(v, MutableSequence) for v in value):
for item in value:
content.append((ns_name, item))
else:
ns_name = self.unmap_qname(name)
xsd_child = xsd_element.match_child(ns_name)
if xsd_child is not None:
if xsd_child.type and xsd_child.type.is_list():
content.append((ns_name, value))
else:
content.extend((ns_name, item) for item in value)
else:
content.extend((ns_name, item) for item in value)
except AttributeError:
return ElementData(xsd_element.name, items, None, {}, None)
else:
return ElementData(xsd_element.name, None, content, {}, None)
|
(namespaces: Optional[~T] = None, dict_class: Optional[Type[Dict[str, Any]]] = None, list_class: Optional[Type[List[Any]]] = None, preserve_root: bool = False, **kwargs: Any) -> None
|
[
0.027114029973745346,
-0.021938296034932137,
-0.01197021547704935,
-0.05162954330444336,
0.018317412585020065,
-0.001609429600648582,
-0.014728477224707603,
-0.013908453285694122,
0.08366371691226959,
0.0025253002531826496,
-0.0050745620392262936,
-0.004400971345603466,
0.03535686433315277,
0.0013431881088763475,
-0.008013867773115635,
0.04025570675730705,
-0.009201304987072945,
0.02939305640757084,
0.002026097383350134,
0.0709267258644104,
0.023322751745581627,
-0.05571901053190231,
0.015761494636535645,
0.05022379010915756,
0.021469710394740105,
-0.0053248293697834015,
-0.002310975920408964,
-0.018360011279582977,
-0.07701832801103592,
-0.017539987340569496,
-0.014068198390305042,
-0.04085208848118782,
-0.018998989835381508,
-0.026112962514162064,
0.03275834769010544,
0.025431383401155472,
-0.04587872698903084,
-0.0029739171732217073,
-0.03471788763999939,
-0.026198159903287888,
-0.019957460463047028,
-0.02202349342405796,
-0.04366359859704971,
-0.08345071971416473,
0.02003200724720955,
0.0468158982694149,
-0.02351444587111473,
0.09959560632705688,
-0.040511298924684525,
0.01588929072022438,
0.045793529599905014,
-0.016730614006519318,
-0.019211983308196068,
0.04515455290675163,
-0.036507029086351395,
0.0025465996004641056,
-0.0250053983181715,
0.1074337512254715,
0.04864763841032982,
-0.011586828157305717,
0.014653929509222507,
0.04206614941358566,
-0.01634722575545311,
0.023280153051018715,
-0.0610012412071228,
0.030330227687954903,
-0.008839216083288193,
-0.0921834409236908,
-0.05094796419143677,
0.014014950022101402,
0.0030750888399779797,
-0.02602776512503624,
-0.03742289915680885,
0.05456884950399399,
0.04063909500837326,
0.014685878530144691,
0.04089468717575073,
-0.05784894526004791,
0.019744466990232468,
-0.025836070999503136,
0.007188519462943077,
0.01727374643087387,
-0.022747669368982315,
-0.002779560862109065,
0.07561257481575012,
0.036720022559165955,
0.021640105172991753,
0.0570821687579155,
-0.005878611467778683,
0.007172544952481985,
-0.024600710719823837,
0.03241755813360214,
-0.01152293011546135,
0.04012791067361832,
0.00424655107781291,
-0.017358943819999695,
-0.040660396218299866,
-0.05861571803689003,
-0.017635833472013474,
0.04745487868785858,
0.0033120436128228903,
0.061725419014692307,
-0.07846668362617493,
0.013961701653897762,
-0.01546330377459526,
0.04304591938853264,
-0.019669918343424797,
0.013876505196094513,
0.034206703305244446,
-0.018594304099678993,
-0.067391037940979,
-0.03410020470619202,
0.034164104610681534,
0.0244729146361351,
0.003793940646573901,
-0.004922804422676563,
0.022066092118620872,
0.003304056590422988,
0.010591085068881512,
-0.03631533309817314,
0.03654962778091431,
0.018839245662093163,
-0.0004253207298461348,
0.01648567058146,
-0.035868048667907715,
0.004784359131008387,
0.06687985360622406,
0.021682703867554665,
0.0645369291305542,
0.023876534774899483,
-0.0006419747369363904,
0.012140610255300999,
-0.0656018927693367,
-0.04464336857199669,
0.07936125248670578,
-0.07561257481575012,
-0.0030511270742863417,
0.0004918811027891934,
-0.08089480549097061,
0.027050131931900978,
0.01847715675830841,
-0.032566655427217484,
0.048562441021203995,
0.03563375771045685,
-0.09329100698232651,
-0.04924402013421059,
0.021128922700881958,
0.017316345125436783,
-0.05772114917635918,
0.0029180063866078854,
-0.052609313279390335,
-0.039914920926094055,
-0.008663496933877468,
0.0028700828552246094,
0.015165113843977451,
-0.014877572655677795,
-0.022002194076776505,
-0.023748738691210747,
0.0033786040730774403,
-0.00773165188729763,
-0.03177858144044876,
-0.015729544684290886,
0.018413258716464043,
-0.003634195774793625,
0.0029659299179911613,
0.03290744498372078,
-0.005489898845553398,
-0.07237507402896881,
0.008152313530445099,
-0.003879138035699725,
0.04270512983202934,
0.027582615613937378,
-0.051075760275125504,
-0.009036235511302948,
0.02464330941438675,
0.03024503029882908,
0.050479378551244736,
0.04230044409632683,
0.018626252189278603,
0.009568718262016773,
-0.0020886643324047327,
-0.013844556175172329,
-0.007385537959635258,
0.0002602510212454945,
0.013823256827890873,
0.019265232607722282,
-0.006219400558620691,
0.03203417360782623,
0.04924402013421059,
-0.0005987104959785938,
-0.008626223541796207,
-0.01957407221198082,
0.015559150837361813,
0.03665612265467644,
-0.008727394975721836,
-0.020617738366127014,
-0.01691165752708912,
-0.0034158779308199883,
-0.014014950022101402,
0.026837138459086418,
-0.01698620431125164,
0.005263593513518572,
0.062108807265758514,
0.02425992116332054,
-0.0627477839589119,
-0.01801922172307968,
-0.021001126617193222,
-0.0478808619081974,
-0.046858496963977814,
-0.01599578745663166,
0.013865855522453785,
-0.00994678121060133,
0.007539958227425814,
-0.0567413792014122,
0.027369622141122818,
-0.06219400465488434,
-0.02918006293475628,
-0.012981933541595936,
0.005415351130068302,
-0.09865843504667282,
-0.00009509811934549361,
0.015654997900128365,
-0.021011775359511375,
-0.024238621816039085,
0.023131057620048523,
-0.020447343587875366,
0.02617686055600643,
-0.03889255225658417,
0.040660396218299866,
0.03371681645512581,
0.013833906501531601,
-0.06142722815275192,
0.01255594752728939,
-0.046432510018348694,
0.045580536127090454,
-0.025367485359311104,
0.06330157071352005,
-0.023280153051018715,
0.026475049555301666,
-0.01949952356517315,
0.04059649631381035,
-0.04336540773510933,
-0.01648567058146,
-0.032822247594594955,
-0.04251343756914139,
-0.0017758305184543133,
0.07326965034008026,
0.006336546503007412,
-0.007710352540016174,
-0.016688015311956406,
-0.022172588855028152,
-0.008828566409647465,
0.011661375872790813,
0.007763600908219814,
0.021959595382213593,
-0.10394066572189331,
-0.08255615085363388,
0.01244945079088211,
0.0031203499529510736,
-0.053887270390987396,
0.032396260648965836,
-0.04270512983202934,
0.006230050232261419,
0.07416421920061111,
-0.001136851031333208,
-0.017145950347185135,
-0.002248409204185009,
-0.018988341093063354,
0.006496291607618332,
0.010676282458007336,
0.037571992725133896,
-0.036294035613536835,
0.004590002819895744,
0.013716760091483593,
-0.014685878530144691,
0.02251337841153145,
-0.013674161396920681,
-0.015442004427313805,
0.001067628269083798,
0.012438801117241383,
-0.03456879034638405,
-0.053418684750795364,
-0.013152328319847584,
0.010260946117341518,
0.07169350236654282,
-0.04063909500837326,
-0.022364282980561256,
0.002665076870471239,
0.007342939265072346,
-0.017039453610777855,
0.007332289591431618,
0.009307801723480225,
-0.048988427966833115,
-0.013940402306616306,
0.021224768832325935,
0.017689082771539688,
-0.01567629724740982,
-0.054952237755060196,
0.019265232607722282,
-0.009302476420998573,
0.027859505265951157,
0.05508003383874893,
0.11953176558017731,
-0.004289149772375822,
-0.014334440231323242,
0.030585817992687225,
-0.018700800836086273,
-0.015495252795517445,
-0.013674161396920681,
0.04634731262922287,
-0.03706081211566925,
0.010127824731171131,
-0.035761553794145584,
-0.015143814496695995,
-0.01812571845948696,
0.002787548117339611,
0.027582615613937378,
0.015942538157105446,
0.07706093043088913,
0.03471788763999939,
-0.03567635640501976,
-0.020085254684090614,
-0.02298196218907833,
-0.019978759810328484,
0.027689112350344658,
-0.03382331505417824,
0.07309925556182861,
0.022151289507746696,
0.07565516978502274,
-0.035591159015893936,
-0.02325885370373726,
-0.024920200929045677,
-0.03275834769010544,
0.03904164582490921,
-0.004390321671962738,
-0.018849894404411316,
0.026581546291708946,
-0.043919190764427185,
0.002179186325520277,
-0.04421738162636757,
0.020276948809623718,
0.014440936967730522,
-0.04523974657058716,
-0.0029286560602486134,
-0.0017811553552746773,
-0.017433490604162216,
0.01044198963791132,
0.013450518250465393,
0.004203952383249998,
0.048775434494018555,
-0.032076772302389145,
-0.0203940961509943,
0.03782758489251137,
0.06219400465488434,
0.018274813890457153,
-0.03893515095114708,
-0.018743397668004036,
0.009206629358232021,
0.02607036381959915,
0.035122573375701904,
0.04085208848118782,
-0.02362094260752201,
-0.018008572980761528,
-0.0067518833093345165,
0.03659222647547722,
-0.0400640144944191,
-0.008993636816740036,
0.005537822376936674,
0.03633663430809975,
-0.019424976781010628,
0.0005021979450248182,
-0.04036220535635948,
-0.04924402013421059,
-0.08230055868625641,
-0.0033333429601043463,
0.02538878470659256,
0.013003232888877392,
0.018274813890457153,
-0.04100118577480316,
-0.04796605929732323,
0.01783817820250988,
0.027135329321026802,
0.0015708246501162648,
-0.012215157970786095,
0.01847715675830841,
-0.0354633629322052,
0.08200237154960632,
-0.006501616444438696,
-0.012619844637811184,
-0.004190640524029732,
0.02634725533425808,
0.03056451864540577,
0.016475021839141846,
0.007886071689426899,
-0.04779566451907158,
-0.013620913028717041,
-0.042854223400354385,
-0.011001097038388252,
0.019424976781010628,
0.010553811676800251,
-0.004784359131008387,
-0.05380207300186157,
0.006464342586696148,
0.008690121583640575,
0.007949969731271267,
-0.04873283579945564,
0.046645503491163254,
-0.030798811465501785,
-0.015090566128492355,
0.09371699392795563,
0.05188513547182083,
0.004392983857542276,
0.0034398396965116262,
-0.03446229547262192,
0.017902076244354248,
0.026325955986976624,
0.019424976781010628,
0.07309925556182861,
-0.00011373501911293715,
0.0069382525980472565,
-0.013407919555902481,
0.023344051092863083,
0.07706093043088913,
0.08362111449241638,
-0.008519726805388927,
-0.019275881350040436,
-0.03145908936858177,
-0.001106233219616115,
-0.04766787216067314,
0.05082016810774803,
0.073738232254982,
-0.035016074776649475,
-0.05968068540096283,
-0.16127842664718628,
0.021299317479133606,
0.013333371840417385,
-0.010431339964270592,
-0.04127807542681694,
0.03595324605703354,
-0.0029739171732217073,
-0.021544259041547775,
0.06219400465488434,
0.04240693897008896,
-0.012822188436985016,
0.037955380976200104,
0.004597989842295647,
-0.059126902371644974,
0.08021322637796402,
-0.04443037509918213,
-0.014515484683215618,
-0.0012746310094371438,
-0.019957460463047028,
0.0779980942606926,
-0.04070299491286278,
-0.06696505099534988,
-0.017177898436784744,
0.06521850824356079,
-0.02811509743332863,
-0.013109729625284672,
-0.04387659206986427,
0.05772114917635918,
-0.03782758489251137,
0.07569777220487595,
0.016262028366327286,
-0.04417478293180466,
0.07778510451316833,
-0.03808317705988884,
-0.017252447083592415,
-0.03343992680311203,
0.02176790125668049,
0.05094796419143677,
-0.012545297853648663,
0.05806193873286247,
-0.050862766802310944,
0.054526250809431076,
0.010223671793937683,
-0.033461228013038635,
-0.042747728526592255,
-0.004305124282836914,
-0.021618805825710297,
0.019158735871315002,
0.004805658478289843,
0.06261999160051346,
-0.03316303715109825,
-0.05593200400471687,
-0.02443031594157219,
0.050010796636343,
-0.037401601672172546,
-0.017752980813384056,
0.02634725533425808,
-0.0702025443315506,
0.04153366759419441,
-0.004653900861740112,
0.031288694590330124,
0.009350400418043137,
-0.005473924335092306,
0.014121446758508682,
0.000285543967038393,
0.019020289182662964,
-0.062108807265758514,
0.021075673401355743,
-0.051118358969688416,
-0.015750844031572342,
0.03341862931847572,
0.027369622141122818,
0.01818961650133133,
-0.04460076987743378,
0.03216196969151497,
0.008280109614133835,
-0.01207671221345663,
-0.08434529602527618,
-0.0019435626454651356,
0.0691375806927681,
0.010990447364747524,
-0.048775434494018555,
-0.002284351736307144,
0.0007361576426774263,
0.045580536127090454,
0.011033046059310436,
-0.05478184297680855,
-0.00729501573368907,
0.0023868547286838293,
0.021150222048163414,
0.021224768832325935,
-0.017135299742221832,
0.035378165543079376,
-0.0535464808344841,
-0.03712470829486847,
0.013791307806968689,
0.0018490469083189964,
0.0000749636092223227,
-0.023344051092863083,
0.01850910671055317,
-0.013940402306616306,
0.02986164204776287,
0.0310331042855978,
0.03614494204521179,
-0.009046884253621101,
-0.009105457924306393,
0.02928655967116356,
0.03825357183814049,
0.053631678223609924,
-0.030372824519872665,
-0.035229068249464035,
0.009180005639791489,
0.05508003383874893,
-0.007465410511940718,
0.03708210960030556,
-0.020149152725934982,
0.0011668031802400947,
-0.023429248481988907,
-0.00038238929118961096,
0.0610012412071228,
0.06905238330364227,
0.007774250581860542,
-0.04472856596112251,
0.004230576567351818,
-0.037401601672172546,
0.01642177253961563,
-0.02141646295785904,
-0.0004160022654104978,
0.07182129472494125,
-0.05056457594037056,
-0.02283286675810814,
0.026922335848212242,
0.038594361394643784,
0.00005362269439501688,
-0.011703974567353725,
-0.020830731838941574,
0.024174723774194717,
0.03177858144044876,
-0.011267338879406452,
0.013482467271387577,
-0.01981901377439499,
0.007097997236996889,
0.029946839436888695,
-0.025473982095718384,
-0.04100118577480316,
0.035016074776649475,
-0.03603844344615936,
0.02293936349451542,
0.0014203981263563037,
0.027582615613937378,
-0.07075633108615875,
0.07105451822280884,
-0.017529336735606194,
0.0007760938606224954,
0.036187537014484406,
-0.009494170546531677,
-0.04719928652048111,
-0.03889255225658417,
-0.0018583653727546334,
0.0066826604306697845,
-0.016219429671764374,
0.039488933980464935,
-0.008359981700778008,
-0.015165113843977451,
0.0002146571787307039,
0.016432423144578934,
-0.0719916895031929,
-0.025729574263095856,
0.03995751962065697,
-0.010947848670184612,
0.019350429996848106,
0.04660290479660034,
-0.027476118877530098,
-0.020202402025461197,
0.014994719065725803,
0.06423874199390411,
0.03007463552057743,
-0.006986175663769245,
-0.025665676221251488,
0.024345118552446365,
-0.053248289972543716,
-0.00845582876354456,
-0.03182118013501167,
-0.054526250809431076,
-0.016624117270112038,
-0.00994678121060133,
-0.05201293155550957,
0.045623134821653366,
0.0068530552089214325,
-0.03595324605703354,
0.014739126898348331,
-0.055165231227874756,
-0.004097456112504005,
0.018423909321427345,
0.0164963211864233,
0.0036075718235224485,
-0.04809385538101196,
0.08928673714399338,
-0.019275881350040436,
0.07386603206396103,
-0.06922277808189392,
-0.03179987892508507,
0.06389795243740082,
0.01130993664264679,
0.04323761165142059,
0.005463274661451578,
-0.0007514664903283119,
0.03454749286174774,
-0.03137389197945595,
-0.029307859018445015,
0.02762521430850029,
-0.042854223400354385,
0.030308928340673447,
0.06164022162556648,
-0.0556764118373394,
-0.019882911816239357,
0.026645444333553314,
-0.028839275240898132,
0.013099079951643944,
0.005063912365585566,
-0.0013644874561578035,
0.03706081211566925,
0.06462212651968002,
-0.011661375872790813,
-0.00658681383356452,
-0.024132125079631805,
0.03507997468113899,
0.020298248156905174,
-0.047497477382421494,
-0.0030804136767983437,
-0.00563899427652359,
0.003248145803809166,
-0.005215669982135296,
0.05150174722075462,
0.01659216731786728,
0.0150692667812109,
-0.0028993694577366114,
-0.05316309258341789,
0.00834933202713728,
0.025154493749141693,
-0.006405769381672144,
-0.03710341081023216,
-0.016432423144578934,
-0.023429248481988907,
0.03071361407637596,
0.008620898239314556,
0.016112932935357094,
0.030372824519872665,
0.0017012829193845391,
-0.013823256827890873,
-0.013983001001179218,
-0.04481376335024834,
-0.06368495523929596,
0.0008919088868424296,
-0.07084152847528458,
-0.008397255092859268,
-0.07650714367628098,
-0.0034345148596912622,
-0.044771164655685425,
0.03731640428304672,
-0.025644376873970032,
-0.03552725911140442,
-0.03914814442396164,
-0.005008001811802387,
-0.012928685173392296,
-0.0013405256904661655,
-0.02549528144299984,
0.03024503029882908,
-0.025516580790281296,
-0.0035862724762409925,
-0.025154493749141693,
0.030308928340673447,
0.04460076987743378,
-0.04736968129873276,
-0.0030138532165437937,
0.0570821687579155,
0.06061785668134689,
0.007028774358332157,
0.08528245985507965,
-0.03003203682601452,
-0.06636866927146912,
-0.012438801117241383,
-0.04251343756914139,
0.02166140452027321,
0.045836128294467926,
-0.0007621161639690399,
0.037188608199357986,
-0.02351444587111473,
0.04400438815355301,
0.032460156828165054,
0.02319495566189289,
-0.02425992116332054,
0.046858496963977814,
0.025729574263095856,
-0.00433441111817956,
-0.025324886664748192,
0.001103570801205933,
0.018785996362566948,
0.06300337612628937,
-0.030969206243753433,
0.009797685779631138,
0.024494213983416557,
-0.04417478293180466,
0.016038386151194572,
0.017454789951443672,
-0.03418540209531784,
0.0009052209788933396,
0.011022396385669708,
0.014164045453071594,
-0.053674276918172836,
0.06594268232584,
-0.03243885934352875,
0.00041966309072449803,
0.0790630653500557,
0.030330227687954903,
-0.009531443938612938,
-0.005644319113343954,
0.015346157364547253,
0.0020074606873095036,
-0.0450267568230629,
-0.012981933541595936,
-0.013674161396920681,
0.004097456112504005,
0.011033046059310436,
0.014994719065725803,
-0.043919190764427185,
-0.05205553025007248,
-0.007949969731271267,
0.031544286757707596,
-0.007225793320685625,
0.004134729970246553,
0.04843464493751526,
0.03676262125372887,
-0.013003232888877392,
0.04592132568359375
] |
713,254
|
xmlschema.converters.parker
|
__init__
| null |
def __init__(self, namespaces: Optional[NamespacesType] = None,
dict_class: Optional[Type[Dict[str, Any]]] = None,
list_class: Optional[Type[List[Any]]] = None,
preserve_root: bool = False, **kwargs: Any) -> None:
kwargs.update(attr_prefix=None, text_key='', cdata_prefix=None)
super().__init__(
namespaces, dict_class, list_class, preserve_root=preserve_root, **kwargs
)
|
(self, namespaces: Optional[~T] = None, dict_class: Optional[Type[Dict[str, Any]]] = None, list_class: Optional[Type[List[Any]]] = None, preserve_root: bool = False, **kwargs: Any) -> NoneType
|
[
-0.01417652890086174,
0.007065875921398401,
0.012886939570307732,
-0.043953508138656616,
-0.012501854449510574,
0.018913980573415756,
-0.017839321866631508,
0.04015638679265976,
0.09084441512823105,
-0.0036381648387759924,
-0.019415486603975296,
0.026508228853344917,
0.023051412776112556,
0.008713684976100922,
-0.016110913828015327,
0.010979422368109226,
-0.002241109497845173,
0.00989580899477005,
-0.026347029954195023,
-0.02906949818134308,
0.02889038808643818,
-0.005785241723060608,
0.017964698374271393,
0.12100648134946823,
0.02022148109972477,
-0.03721898794174194,
-0.026185831055045128,
0.007930080406367779,
0.0005129812634550035,
-0.027941105887293816,
-0.004372514318674803,
-0.012260056100785732,
-0.020024459809064865,
0.06326153129339218,
0.04610282555222511,
-0.01239438820630312,
-0.033296484500169754,
-0.003369500394910574,
-0.044060975313186646,
0.00966296624392271,
0.015278053469955921,
0.001638853340409696,
-0.05785242095589638,
-0.029785936698317528,
0.06387050449848175,
0.1108330562710762,
0.06422872096300125,
0.03503384813666344,
-0.006546457763761282,
0.0036292094737291336,
0.0106122475117445,
0.002975459210574627,
-0.01378248818218708,
-0.006927066016942263,
-0.08704729378223419,
0.037899602204561234,
0.008736073970794678,
0.07673057913780212,
-0.022102132439613342,
0.04115939885377884,
-0.023588741198182106,
0.008897271938621998,
-0.0052165687084198,
-0.01946922019124031,
-0.009833119809627533,
-0.010737624019384384,
-0.0701393410563469,
-0.03263377770781517,
0.018699048087000847,
-0.012860073707997799,
0.018036343157291412,
-0.015385519713163376,
-0.02378576248884201,
0.04982830584049225,
0.04932679980993271,
-0.002237751381471753,
-0.06609146296977997,
-0.001910876133479178,
-0.017606480047106743,
0.018519937992095947,
-0.022621549665927887,
-0.017687078565359116,
-0.052300021052360535,
0.028299326077103615,
0.04252063110470772,
0.019451308995485306,
-0.023158878087997437,
0.004952381830662489,
0.009582366794347763,
0.05566728115081787,
-0.09421168267726898,
0.06895721703767776,
-0.022549906745553017,
0.002897098660469055,
0.02881874330341816,
-0.01148092932999134,
0.01440937165170908,
-0.03601895272731781,
0.03188151866197586,
0.03954741358757019,
0.030645662918686867,
-0.04291467368602753,
0.018502026796340942,
-0.017839321866631508,
-0.010361493565142155,
-0.01827814057469368,
-0.06451530009508133,
-0.013648156076669693,
0.01554671861231327,
0.020812541246414185,
-0.04201912507414818,
-0.02503952942788601,
0.06573324650526047,
0.06233016029000282,
0.02953518182039261,
-0.021797645837068558,
0.004835960920900106,
-0.026490317657589912,
0.04037131741642952,
-0.027547065168619156,
0.028191860765218735,
-0.021797645837068558,
-0.026239564642310143,
0.07225283235311508,
0.007813658565282822,
0.008982349187135696,
0.0011048826854676008,
0.012654096819460392,
0.044347550719976425,
0.007428572978824377,
0.04062207043170929,
-0.014821324497461319,
-0.035893574357032776,
-0.045063991099596024,
0.07651564478874207,
-0.053303033113479614,
0.008355465717613697,
0.025899255648255348,
-0.07081995904445648,
0.05462844669818878,
0.060073379427194595,
-0.024233536794781685,
0.05566728115081787,
0.030179977416992188,
-0.08805030584335327,
-0.016128825023770332,
-0.02079463191330433,
-0.029302340000867844,
-0.0395832359790802,
-0.022496173158288002,
-0.04123104363679886,
-0.018484117463231087,
0.001219065161421895,
0.036001041531562805,
-0.037326451390981674,
-0.009367435239255428,
-0.04624611511826515,
-0.03263377770781517,
0.05620460957288742,
0.002979937009513378,
0.009053993038833141,
-0.020991651341319084,
0.01708706095814705,
-0.05856885761022568,
0.019916994497179985,
-0.012098857201635838,
-0.026132099330425262,
-0.10596127063035965,
0.0020037891808897257,
0.003982950933277607,
0.04201912507414818,
-0.07350660115480423,
0.004240421112626791,
0.04126686602830887,
0.0010371569078415632,
0.015448207966983318,
0.014427282847464085,
0.0030941192526370287,
-0.0032038239296525717,
0.021493159234523773,
0.05598967894911766,
-0.016066135838627815,
-0.002787393983453512,
0.02079463191330433,
0.03754138574004173,
0.024341002106666565,
-0.006976321339607239,
0.060073379427194595,
0.05821063742041588,
0.06738105416297913,
0.025702236220240593,
0.012860073707997799,
0.0013533973833546042,
-0.0010824940400198102,
0.021815557032823563,
-0.012036168947815895,
-0.008140534162521362,
-0.025970900431275368,
-0.0572076253592968,
0.04044296219944954,
0.002173943445086479,
0.010683891363441944,
0.03324275091290474,
-0.021278226748108864,
0.01936175301671028,
0.012958583422005177,
-0.024054426699876785,
0.006573324557393789,
-0.01063015777617693,
-0.03487265110015869,
0.03252631425857544,
-0.021851377561688423,
-0.0019511758582666516,
-0.0341920331120491,
0.008977871388196945,
-0.045422207564115524,
-0.04119522124528885,
-0.024126071482896805,
-0.034084565937519073,
-0.0773753747344017,
0.11025990545749664,
0.027260489761829376,
-0.012869029305875301,
-0.007818136364221573,
-0.03438905254006386,
-0.0038105580024421215,
0.044275905936956406,
-0.043452002108097076,
0.004961337428539991,
0.052729882299900055,
-0.03481891751289368,
-0.018734870478510857,
-0.029499361291527748,
0.008319643326103687,
0.04617447033524513,
-0.08690400421619415,
0.036144327372312546,
-0.0009201758657582104,
0.007119609043002129,
-0.03392336890101433,
0.06530337780714035,
-0.00700766546651721,
-0.03184569627046585,
-0.019809527322649956,
-0.016890041530132294,
0.02389322780072689,
0.0019008012022823095,
0.02561268024146557,
0.016666153445839882,
0.029624737799167633,
-0.016200467944145203,
0.006040473002940416,
0.01426608394831419,
0.034084565937519073,
0.03170241042971611,
0.022191686555743217,
-0.06276002526283264,
-0.021636446937918663,
-0.00991371925920248,
-0.04782227799296379,
0.01770498976111412,
-0.015949714928865433,
-0.008821150287985802,
0.0967908576130867,
0.05598967894911766,
0.02306932397186756,
0.036180149763822556,
-0.007719626184552908,
-0.05441351234912872,
-0.014982522465288639,
0.04656850919127464,
-0.01572582870721817,
0.045493852347135544,
0.017866188660264015,
-0.01737363636493683,
0.015895981341600418,
0.0050643254071474075,
-0.08396660536527634,
-0.05681358277797699,
0.0196125078946352,
0.044526658952236176,
-0.044920701533555984,
-0.001910876133479178,
-0.006233016029000282,
0.09062948822975159,
-0.016200467944145203,
-0.0561329647898674,
0.04767899215221405,
-0.005485233385115862,
-0.0478581003844738,
0.026078365743160248,
0.02906949818134308,
0.01629897952079773,
0.030788950622081757,
0.030359087511897087,
-0.04585207253694534,
-0.03641299158334732,
0.030323265120387077,
0.004831483121961355,
-0.03929666057229042,
0.027439599856734276,
-0.01733781397342682,
0.13533525168895721,
-0.017928875982761383,
0.018537849187850952,
-0.02838888019323349,
-0.004135194234549999,
0.04846707358956337,
-0.0009934988338500261,
0.06544666737318039,
0.020382678136229515,
0.05516577512025833,
-0.02881874330341816,
0.04864618182182312,
-0.06247344985604286,
0.013845176436007023,
-0.004372514318674803,
-0.060646530240774155,
0.017928875982761383,
0.037433918565511703,
-0.037362273782491684,
-0.08475469052791595,
-0.004938948899507523,
-0.002226556884124875,
0.03277706727385521,
-0.026275387033820152,
0.059249475598335266,
-0.015492985025048256,
0.045028168708086014,
-0.006810644641518593,
-0.0009386465535499156,
-0.01993490569293499,
-0.04112357646226883,
-0.013101871125400066,
-0.030269531533122063,
-0.011140620335936546,
-0.021457336843013763,
-0.017221393063664436,
-0.030699394643306732,
-0.0673094093799591,
-0.01731094904243946,
-0.017731856554746628,
-0.02838888019323349,
-0.0013914580922573805,
-0.06573324650526047,
-0.044275905936956406,
0.015484029427170753,
-0.010997332632541656,
0.03476518392562866,
-0.019737884402275085,
-0.02795901708304882,
-0.04019220545887947,
0.07730372995138168,
0.06279584765434265,
0.052300021052360535,
-0.07289762794971466,
-0.017257215455174446,
0.01020029466599226,
0.0010097307385876775,
-0.020633433014154434,
0.05688522756099701,
0.0031187469139695168,
-0.031827785074710846,
-0.006600190885365009,
0.0033269617706537247,
0.021797645837068558,
0.03961905464529991,
-0.011131664738059044,
0.02079463191330433,
-0.00019604111730586737,
0.02906949818134308,
-0.08783537894487381,
-0.0471416600048542,
-0.0287829227745533,
0.02939189411699772,
-0.022370796650648117,
-0.006940499413758516,
0.013289936818182468,
-0.07092742621898651,
-0.019128911197185516,
-0.016970640048384666,
-0.012528720311820507,
0.0406578928232193,
-0.01273469626903534,
-0.03209644928574562,
-0.023123057559132576,
0.03431741148233414,
0.01034358236938715,
0.022567816078662872,
0.011722726747393608,
-0.001394816441461444,
0.019128911197185516,
0.022764837369322777,
0.021851377561688423,
-0.05731508880853653,
0.003685181261971593,
0.017910964787006378,
-0.021797645837068558,
0.013361580669879913,
-0.018824424594640732,
0.004106089007109404,
-0.10760907828807831,
-0.00894204992800951,
0.005825541447848082,
0.052013445645570755,
-0.005950918421149254,
0.021851377561688423,
-0.015466119162738323,
0.0420907698571682,
0.032293472439050674,
0.06953036785125732,
-0.0075629050843417645,
-0.02140360325574875,
0.007858436554670334,
0.014436238445341587,
0.026078365743160248,
-0.02169017866253853,
0.03548162430524826,
0.0005893827183172107,
-0.01248394325375557,
-0.01034358236938715,
0.00957341119647026,
0.02914114110171795,
0.008498753421008587,
0.037863779813051224,
-0.0035911486484110355,
-0.01997072622179985,
-0.051368650048971176,
0.0410161130130291,
-0.02486042119562626,
-0.024914152920246124,
0.04040713980793953,
-0.05652700737118721,
-0.044275905936956406,
0.052908994257450104,
0.01731094904243946,
-0.018985623493790627,
-0.08217550814151764,
-0.010504781268537045,
-0.011274953372776508,
-0.06433618813753128,
-0.043846044689416885,
0.007840525358915329,
0.024591755121946335,
-0.0012291399762034416,
0.01417652890086174,
-0.07150057703256607,
0.03601895272731781,
0.05516577512025833,
-0.007352451328188181,
0.013433224521577358,
-0.015224320814013481,
0.033511415123939514,
0.004023250658065081,
-0.03537415713071823,
-0.05376872047781944,
-0.02025730162858963,
-0.003047103062272072,
0.031362101435661316,
0.0009476020350120962,
-0.043057963252067566,
-0.03772049397230148,
0.060037557035684586,
-0.035463713109493256,
-0.03797124698758125,
0.061398789286613464,
-0.009215191937983036,
-0.005368812009692192,
-0.035678643733263016,
-0.03601895272731781,
-0.009349524043500423,
0.02147524803876877,
-0.011382418684661388,
-0.02514699660241604,
0.012645142152905464,
0.016066135838627815,
0.014507882297039032,
-0.061434611678123474,
-0.085614413022995,
-0.06587652862071991,
0.023552920669317245,
0.04993577301502228,
0.04090864583849907,
-0.05050892382860184,
-0.026902269572019577,
-0.03915337100625038,
0.04613864794373512,
-0.031648676842451096,
0.0015672094887122512,
0.06791838258504868,
0.007871869020164013,
0.035965219140052795,
-0.04864618182182312,
0.02018565870821476,
0.076300710439682,
-0.0020250584930181503,
0.0011507795425131917,
0.02957100421190262,
-0.018824424594640732,
-0.07751865684986115,
-0.01824231818318367,
-0.024591755121946335,
-0.0023978305980563164,
0.03936830163002014,
0.021278226748108864,
0.00403892295435071,
-0.06576906889677048,
0.045063991099596024,
0.002393352799117565,
-0.006980798672884703,
-0.023660385981202126,
-0.0008591666119173169,
0.021618535742163658,
-0.012985450215637684,
-0.015448207966983318,
-0.0008753984584473073,
-0.06347646564245224,
0.019487131386995316,
0.01383622083812952,
-0.0033336784690618515,
0.024699222296476364,
0.08855181187391281,
0.024197714403271675,
0.0008479722891934216,
-0.011489884927868843,
0.02881874330341816,
0.015609406866133213,
0.01287798397243023,
0.025630591437220573,
0.03696823492646217,
-0.016173601150512695,
-0.02724257856607437,
-0.0313083678483963,
0.02414398267865181,
-0.03555326536297798,
0.08618756383657455,
0.016415400430560112,
0.03141583502292633,
0.060252487659454346,
-0.022137952968478203,
0.04968501999974251,
0.061936117708683014,
0.02022148109972477,
-0.011257042177021503,
0.0071509531699121,
0.022764837369322777,
-0.026830626651644707,
0.018555760383605957,
-0.010460004210472107,
0.06401379406452179,
-0.032221827656030655,
-0.061971940100193024,
-0.013460090383887291,
0.05079549923539162,
-0.00836889911442995,
-0.027153024449944496,
0.02115285024046898,
-0.07415139675140381,
0.021564802154898643,
0.020311035215854645,
0.014185484498739243,
0.030556106939911842,
-0.023803673684597015,
0.007092742249369621,
0.025666413828730583,
-0.0037142864894121885,
0.011892881244421005,
0.00838233157992363,
-0.030788950622081757,
0.061040572822093964,
-0.007383795455098152,
-0.0005849049775861204,
-0.00876293983310461,
0.04341617971658707,
-0.008149489760398865,
0.009967452846467495,
-0.013191426172852516,
0.008059934712946415,
0.012851118110120296,
-0.08719058334827423,
-0.019343843683600426,
0.0296784695237875,
-0.0013858609599992633,
-0.02385740540921688,
-0.004621029365807772,
-0.020848363637924194,
-0.006492725107818842,
0.008028590120375156,
0.005565832369029522,
-0.06859900057315826,
-0.03299199789762497,
-0.0032687513157725334,
0.01196452509611845,
0.003991906531155109,
0.005364334210753441,
-0.03879515081644058,
-0.0029732203111052513,
-0.02921278588473797,
-0.002583656692877412,
-0.036717478185892105,
-0.024376824498176575,
0.0395832359790802,
-0.02032894641160965,
0.051941800862550735,
0.01018238440155983,
-0.027690352872014046,
0.00018120859749615192,
0.0708916038274765,
-0.0017496774671599269,
-0.026920180767774582,
-0.01401533093303442,
0.008359943516552448,
0.020239390432834625,
0.0141227962449193,
0.0007763284374959767,
-0.051332827657461166,
-0.043452002108097076,
0.0296784695237875,
0.01662137545645237,
-0.06265255808830261,
-0.0021246883552521467,
-0.026723161339759827,
0.005104625131934881,
0.07228865474462509,
-0.061255503445863724,
-0.025720147415995598,
-0.009868942201137543,
0.011194353923201561,
0.009215191937983036,
-0.02310514636337757,
0.06938707828521729,
-0.0471416600048542,
-0.01243021059781313,
-0.020131925120949745,
-0.036717478185892105,
0.02867545560002327,
0.02507535181939602,
0.021958844736218452,
0.053303033113479614,
-0.001969086704775691,
-0.0041822106577456,
-0.03245466947555542,
0.003065014025196433,
0.018949801102280617,
-0.03483682870864868,
-0.019057268276810646,
0.0009901406010612845,
-0.019200555980205536,
0.06634221971035004,
-0.01911100000143051,
-0.0055031441152095795,
0.036610014736652374,
-0.008794284425675869,
0.004992681555449963,
-0.025970900431275368,
0.04309378191828728,
-0.051404472440481186,
-0.003284423379227519,
0.0018952040700241923,
-0.0009324896382167935,
-0.028478436172008514,
-0.013075005263090134,
-0.00971669889986515,
0.009886853396892548,
0.015224320814013481,
-0.044669948518276215,
0.0031187469139695168,
-0.04943426698446274,
0.026239564642310143,
-0.0050105927512049675,
-0.012815295718610287,
0.0192542877048254,
-0.017293037846684456,
0.017606480047106743,
-0.04610282555222511,
-0.02306932397186756,
-0.0345323421061039,
0.0009380868286825716,
0.06573324650526047,
-0.0015951953828334808,
0.009349524043500423,
-0.014472059905529022,
-0.022173775359988213,
-0.028048573061823845,
-0.04216241464018822,
0.026060454547405243,
-0.018949801102280617,
0.004464308265596628,
-0.02453802339732647,
-0.060073379427194595,
-0.011946613900363445,
-0.076300710439682,
0.021923022344708443,
-0.0007466633687727153,
-0.003503832733258605,
-0.05527323856949806,
-0.004835960920900106,
-0.04191165789961815,
0.05018652603030205,
-0.017006462439894676,
0.01133764162659645,
0.02788737416267395,
-0.04112357646226883,
0.012770518660545349,
0.0070703537203371525,
-0.005700164940208197,
-0.0024493245873600245,
0.01383622083812952,
0.037899602204561234,
0.04760734736919403,
0.03926083818078041,
0.06311824172735214,
0.0349084734916687,
-0.05495084449648857,
-0.009582366794347763,
0.015394475311040878,
0.08998469263315201,
-0.029302340000867844,
-0.00034478609450161457,
-0.0629749521613121,
0.02057969942688942,
0.0341741219162941,
0.025164905935525894,
0.04764316976070404,
0.06326153129339218,
-0.036395084112882614,
0.014597437344491482,
-0.009922674857079983,
-0.0008054337231442332,
-0.00005100427370052785,
0.05763748660683632,
0.0032486014533787966,
-0.03843693062663078,
-0.05964351445436478,
-0.02838888019323349,
-0.0417325496673584,
-0.004961337428539991,
-0.018699048087000847,
-0.01435563899576664,
0.08661743253469467,
-0.029409805312752724,
0.053088102489709854,
0.03431741148233414,
0.10653442144393921,
-0.0672735869884491,
-0.022729014977812767,
0.009528634138405323,
-0.0056509096175432205,
0.04123104363679886,
0.04191165789961815,
-0.009179369546473026,
0.04269974306225777,
-0.027654530480504036,
0.022102132439613342,
0.0507238544523716,
-0.00729424087330699,
0.019451308995485306,
-0.006241971626877785,
0.030323265120387077,
-0.059500228613615036,
-0.033511415123939514,
-0.04728494957089424,
-0.005171791184693575,
-0.021923022344708443,
0.045995358377695084,
0.04918351024389267,
0.026776893064379692,
0.016666153445839882
] |
713,261
|
xmlschema.converters.parker
|
element_decode
| null |
def element_decode(self, data: ElementData, xsd_element: 'XsdElement',
xsd_type: Optional[BaseXsdType] = None, level: int = 0) -> Any:
xsd_type = xsd_type or xsd_element.type
preserve_root = self.preserve_root
if xsd_type.model_group is None or not data.content:
if preserve_root:
return self.dict([(self.map_qname(data.tag), data.text)])
else:
return data.text
else:
result_dict = self.dict()
for name, value, xsd_child in self.map_content(data.content):
if preserve_root:
try:
if len(value) == 1:
value = value[name]
except (TypeError, KeyError):
pass
try:
result_dict[name].append(value)
except KeyError:
if isinstance(value, MutableSequence):
result_dict[name] = self.list([value])
else:
result_dict[name] = value
except AttributeError:
result_dict[name] = self.list([result_dict[name], value])
for k, v in result_dict.items():
if isinstance(v, MutableSequence) and len(v) == 1:
value = v.pop()
v.extend(value)
if preserve_root:
return self.dict([(self.map_qname(data.tag), result_dict)])
else:
return result_dict if result_dict else None
|
(self, data: xmlschema.converters.default.ElementData, xsd_element: 'XsdElement', xsd_type: Optional[~T] = None, level: int = 0) -> Any
|
[
0.019969051703810692,
0.008110611699521542,
0.00920978095382452,
0.022525710985064507,
0.03986063227057457,
-0.018806934356689453,
-0.00031534541631117463,
-0.03749765828251839,
0.03457299619913101,
0.04423794150352478,
0.004832472186535597,
-0.03854356333613396,
0.0036824599374085665,
-0.012831714004278183,
-0.015146264806389809,
0.03006010688841343,
-0.02901419997215271,
0.03523153066635132,
-0.019000621512532234,
0.025837745517492294,
0.02206086367368698,
-0.028375035151839256,
-0.026457542553544044,
0.06000399962067604,
0.004977736622095108,
0.010313793085515499,
-0.007737765554338694,
-0.005524900276213884,
-0.04474152252078056,
-0.03887283056974411,
-0.008977358229458332,
-0.030137579888105392,
-0.020530743524432182,
-0.015117212198674679,
0.0009145622607320547,
0.0424947626888752,
-0.02266129106283188,
0.015591743402183056,
0.002117232885211706,
0.036490488797426224,
-0.030951062217354774,
0.018651986494660378,
-0.005810587666928768,
-0.05961662903428078,
0.017150918021798134,
0.0004276229301467538,
0.02506300061941147,
0.06399393826723099,
-0.07410436123609543,
0.009703680872917175,
0.03104790672659874,
0.020860008895397186,
0.0132481399923563,
0.004670259542763233,
-0.0031788756605237722,
-0.01748986914753914,
0.006125327665358782,
0.05210160091519356,
0.054115939885377884,
0.011872967705130577,
0.018206506967544556,
0.045671217143535614,
-0.05864819884300232,
0.009936104528605938,
-0.051520541310310364,
0.044315412640571594,
0.028549352660775185,
-0.051714230328798294,
-0.06875862181186676,
0.0271160751581192,
-0.03590943291783333,
-0.021596016362309456,
-0.029304729774594307,
0.025895852595567703,
0.050552111119031906,
-0.026283225044608116,
0.10009705275297165,
-0.058919358998537064,
0.011446857824921608,
0.058609459549188614,
0.005999431479722261,
0.05826082453131676,
-0.005093948449939489,
0.059229254722595215,
0.06670554727315903,
0.007999242283403873,
0.028239455074071884,
0.01382919866591692,
0.00930662453174591,
-0.020627586171030998,
0.02192528359591961,
-0.062134549021720886,
-0.022758133709430695,
0.0554330050945282,
-0.020550111308693886,
-0.0163180660456419,
-0.02748407982289791,
-0.01662796549499035,
-0.019988421350717545,
0.05365109071135521,
0.006164065096527338,
0.033856358379125595,
-0.037846293300390244,
-0.025663428008556366,
-0.03647112101316452,
0.04636848717927933,
0.020608216524124146,
0.019310519099235535,
-0.0005153869860805571,
0.02568279765546322,
-0.0016124380053952336,
0.015872588381171227,
-0.022564448416233063,
0.056517649441957474,
-0.008251034654676914,
0.004098885226994753,
0.0005777297774329782,
0.04264971241354942,
-0.03418562188744545,
-0.046833336353302,
0.014884788542985916,
0.005524900276213884,
-0.04505142197012901,
0.04133264720439911,
-0.029730839654803276,
-0.010962641797959805,
0.009868314489722252,
-0.01269613392651081,
0.023862145841121674,
0.00656112190335989,
-0.017470499500632286,
-0.0009980894392356277,
-0.05434836074709892,
-0.017838504165410995,
0.024733735248446465,
-0.05136559531092644,
0.04257223755121231,
-0.0029779260512441397,
-0.0462135411798954,
0.022622553631663322,
-0.0063819619826972485,
0.0005359661881811917,
0.08003115653991699,
0.020976221188902855,
-0.06124359369277954,
-0.04412172734737396,
0.0511331707239151,
0.005534584634006023,
-0.07135401666164398,
-0.007481131702661514,
-0.06697670370340347,
-0.01657954230904579,
0.0193976778537035,
0.02457878552377224,
0.05492942035198212,
-0.03294603154063225,
-0.003689723089337349,
0.0013582248939201236,
-0.013906672596931458,
0.014584574848413467,
-0.019058726727962494,
0.03986063227057457,
0.024191413074731827,
-0.027735872194170952,
0.0200271587818861,
0.03534774109721184,
0.031319066882133484,
-0.013286876492202282,
0.013993831351399422,
-0.020724428817629814,
0.0032563500571995974,
0.03621932864189148,
-0.02703860029578209,
0.009693996980786324,
-0.00691459933295846,
0.03232623636722565,
-0.0051714228466153145,
0.053263720124959946,
0.040751587599515915,
-0.013054453767836094,
-0.011534016579389572,
0.04199117794632912,
0.010207265615463257,
0.03550269082188606,
-0.012463710270822048,
0.0001594885252416134,
-0.0008649301598779857,
-0.004570995457470417,
-0.016831334680318832,
-0.02678680792450905,
-0.04098401218652725,
-0.03155149146914482,
-0.0007590079912915826,
-0.010265371762216091,
0.019387993961572647,
0.013228771276772022,
-0.021847808733582497,
-0.007224497385323048,
-0.009621364995837212,
0.04776303097605705,
0.01718965545296669,
-0.04861525073647499,
0.05268266052007675,
0.04923504590988159,
-0.0874687135219574,
0.02248697355389595,
0.02186717838048935,
0.010914220474660397,
-0.028878619894385338,
0.011127275414764881,
-0.020375793799757957,
0.002296392573043704,
0.04873146116733551,
-0.058919358998537064,
0.059965264052152634,
-0.05388351529836655,
-0.10273119062185287,
-0.0280264001339674,
0.03253928944468498,
-0.053922250866889954,
-0.06794513761997223,
-0.0017746502999216318,
-0.027580922469496727,
0.028103874996304512,
0.02014337107539177,
0.008875672705471516,
-0.0011282224440947175,
-0.018768196925520897,
0.030951062217354774,
0.0634516179561615,
-0.0028907672967761755,
-0.002272181911394,
0.001480489270761609,
-0.06875862181186676,
-0.029924526810646057,
-0.016124380752444267,
0.03437931090593338,
0.03037000447511673,
0.05709870532155037,
-0.010003894567489624,
0.024927420541644096,
-0.05798966437578201,
-0.04466405138373375,
-0.00915167573839426,
-0.0652722641825676,
0.017780397087335587,
0.07569258660078049,
0.030757376924157143,
0.01668607071042061,
-0.06647311896085739,
-0.003689723089337349,
-0.004919630941003561,
0.041061487048864365,
0.053070034831762314,
0.01577574573457241,
-0.058919358998537064,
0.011640544049441814,
-0.0007009021355770528,
0.019620416685938835,
-0.07197380810976028,
0.054851945489645004,
-0.020685691386461258,
0.03743955120444298,
0.030137579888105392,
-0.002730976091697812,
-0.04590364173054695,
0.03805935010313988,
-0.018622932955622673,
0.037420183420181274,
0.026883652433753014,
0.0603526346385479,
-0.02612827531993389,
0.028200717642903328,
0.005384477786719799,
0.02144106850028038,
0.08165812492370605,
0.023377930745482445,
0.005064895376563072,
0.04656217619776726,
0.04307582229375839,
-0.027735872194170952,
-0.0021741280797868967,
-0.008638407103717327,
0.01500099990516901,
0.02008526399731636,
-0.05268266052007675,
0.007791029289364815,
0.0017516500083729625,
0.02144106850028038,
0.014090674929320812,
-0.013538668863475323,
0.04830535128712654,
-0.07650607079267502,
0.006469120737165213,
-0.0018327562138438225,
0.0190877802670002,
0.04141012206673622,
-0.03691659867763519,
0.03800124302506447,
0.03743955120444298,
0.01046874187886715,
0.05372856557369232,
0.10025200247764587,
-0.010672112926840782,
-0.025431005284190178,
0.017848188057541847,
0.016366487368941307,
-0.0449739471077919,
0.0132481399923563,
0.002905293833464384,
0.004987420979887247,
0.03534774109721184,
-0.0160081684589386,
0.07422057539224625,
-0.04636848717927933,
-0.007248708046972752,
0.042223602533340454,
0.013209402561187744,
0.05279887095093727,
0.044509101659059525,
-0.016744175925850868,
-0.09087759256362915,
0.029111044481396675,
0.007737765554338694,
0.01762544922530651,
-0.03288792446255684,
0.06476867944002151,
-0.009219465777277946,
0.0924270823597908,
-0.03443741425871849,
-0.012686449103057384,
-0.04443162679672241,
-0.01994968391954899,
0.02328108809888363,
-0.022157706320285797,
-0.007737765554338694,
-0.006793545093387365,
-0.022719398140907288,
-0.008376930840313435,
-0.0036630912218242884,
-0.04264971241354942,
0.018090296536684036,
-0.04299834743142128,
-0.0019562311936169863,
0.019736628979444504,
-0.03960883989930153,
0.04830535128712654,
-0.00495836790651083,
0.02025958150625229,
0.07673849165439606,
-0.005118159111589193,
-0.05403846502304077,
0.009819893166422844,
0.025469742715358734,
-0.016724808141589165,
-0.0560528002679348,
-0.0020082842092961073,
0.048072926700115204,
0.02980831451714039,
0.03854356333613396,
0.05597532540559769,
0.006091432645916939,
-0.026321962475776672,
-0.012918872758746147,
0.0011318540200591087,
-0.046833336353302,
-0.05155928060412407,
0.06376151740550995,
0.053999725729227066,
0.04017052799463272,
0.041255172342061996,
0.015940379351377487,
-0.06674428284168243,
-0.03238433972001076,
0.005621743388473988,
0.01621153950691223,
-0.01244434155523777,
0.0024561837781220675,
0.02333919331431389,
-0.055355530232191086,
-0.023765303194522858,
0.015214054845273495,
-0.01539805717766285,
-0.0190877802670002,
-0.0055684796534478664,
0.036064378917217255,
0.10133665055036545,
-0.009059674106538296,
-0.019368624314665794,
-0.00691459933295846,
0.023184243589639664,
0.021286118775606155,
0.02395898848772049,
-0.0009781155968084931,
-0.03935704752802849,
0.00868198648095131,
-0.02796829491853714,
-0.020801903679966927,
0.010507479310035706,
-0.0024743417743593454,
-0.0609724335372448,
-0.001015037065371871,
-0.02167349122464657,
-0.022719398140907288,
0.02748407982289791,
-0.03937641531229019,
-0.039821892976760864,
0.006227013189345598,
-0.003900356823578477,
0.04780176654458046,
0.016618279740214348,
0.02661249041557312,
0.04017052799463272,
-0.059849053621292114,
0.06631816923618317,
-0.00951483752578497,
0.08599669486284256,
0.05148180574178696,
-0.014904157258570194,
-0.020472636446356773,
-0.08824345469474792,
0.031570859253406525,
0.015465847216546535,
0.03211317956447601,
-0.025295425206422806,
-0.017964400351047516,
-0.027212917804718018,
0.003345930017530918,
-0.0745692104101181,
0.04760808125138283,
0.03000199981033802,
-0.03315908461809158,
-0.06360656768083572,
-0.11853598803281784,
0.024501310661435127,
0.010991694405674934,
-0.033720776438713074,
-0.0206469539552927,
0.03085421957075596,
-0.03284918889403343,
-0.05562669038772583,
0.07445299625396729,
0.003324140328913927,
-0.015185002237558365,
0.014022884890437126,
0.01644396223127842,
-0.02076316624879837,
0.06112737953662872,
-0.07584753632545471,
-0.017112180590629578,
-0.0231067705899477,
-0.013645196333527565,
0.09436394274234772,
-0.050668325275182724,
-0.06023642420768738,
-0.02791018970310688,
0.0027818188536912203,
-0.018264614045619965,
0.07929515093564987,
-0.002820556052029133,
0.002893188502639532,
-0.040015578269958496,
0.016308382153511047,
-0.038775987923145294,
-0.0032103497069329023,
0.09312435239553452,
-0.03253928944468498,
-0.019910946488380432,
-0.017112180590629578,
0.013035085052251816,
0.0190877802670002,
-0.009447046555578709,
0.055665429681539536,
-0.026961125433444977,
0.02409457042813301,
-0.0038180402480065823,
0.013974462635815144,
-0.01768355444073677,
-0.011446857824921608,
-0.02692238986492157,
0.04009305313229561,
-0.003251507878303528,
-0.002643817337229848,
-0.04396677762269974,
-0.039027780294418335,
-0.024191413074731827,
0.03786566108465195,
0.010333161801099777,
-0.011814861558377743,
-0.009079042822122574,
-0.07360077649354935,
0.02384277805685997,
0.004207833670079708,
0.05163675546646118,
0.004156991373747587,
-0.035444583743810654,
0.02297118864953518,
-0.05527805536985397,
0.004098885226994753,
-0.04144885763525963,
0.0579121895134449,
-0.05310877040028572,
0.020608216524124146,
-0.01799345202744007,
0.018651986494660378,
0.03916335850954056,
-0.04323077201843262,
0.038969673216342926,
0.041487596929073334,
-0.013838882558047771,
-0.09761787205934525,
0.04698828607797623,
0.016986284404993057,
-0.009466415271162987,
-0.028859252110123634,
0.01718965545296669,
0.016531120985746384,
0.001452646916732192,
-0.01539805717766285,
-0.01668607071042061,
-0.02415267564356327,
0.01558205857872963,
0.01811934821307659,
0.043889306485652924,
0.04257223755121231,
0.04985484108328819,
-0.11450731009244919,
0.002554237376898527,
-0.0215572789311409,
0.03087358921766281,
0.024288255721330643,
-0.018400194123387337,
-0.0014986473834142089,
-0.01127254031598568,
0.007761976681649685,
-0.023184243589639664,
-0.0016814387636259198,
0.013054453767836094,
-0.03362393379211426,
0.042223602533340454,
0.004474152345210314,
-0.026844915002584457,
-0.01133064553141594,
-0.045012686401605606,
-0.01577574573457241,
0.06848745793104172,
0.0007717186817899346,
0.019174939021468163,
-0.030544321984052658,
-0.008517352864146233,
-0.013742039911448956,
0.039531365036964417,
0.061630964279174805,
0.061088643968105316,
0.01142748910933733,
-0.050862010568380356,
-0.06844872236251831,
-0.010710849426686764,
0.027948925271630287,
-0.05155928060412407,
-0.009742418304085732,
0.003118348540738225,
-0.06290929764509201,
0.02717418037354946,
0.02483057789504528,
0.02895609475672245,
-0.03129969909787178,
0.012182865291833878,
-0.053263720124959946,
-0.05438710004091263,
-0.007515026722103357,
-0.011466226540505886,
-0.016657017171382904,
-0.05241150036454201,
0.014187517575919628,
0.04799545183777809,
-0.02791018970310688,
-0.06507857888936996,
0.0010229054605588317,
0.001281960867345333,
-0.018516406416893005,
-0.02440446801483631,
0.004561311099678278,
-0.020414531230926514,
0.024966157972812653,
-0.06232823431491852,
0.04613606631755829,
0.022816240787506104,
-0.03430183604359627,
-0.01693786308169365,
0.021286118775606155,
-0.02876240760087967,
0.009292097762227058,
0.0028907672967761755,
0.03935704752802849,
0.00843987800180912,
0.005399004090577364,
0.021266750991344452,
-0.029304729774594307,
-0.08049600571393967,
0.007824924774467945,
0.007674817927181721,
-0.0008818777278065681,
0.011504963040351868,
0.022758133709430695,
-0.012434657663106918,
0.004164254292845726,
0.015310898423194885,
0.08158064633607864,
0.009897367097437382,
-0.02796829491853714,
-0.022777503356337547,
-0.0009302992839366198,
-0.010827061720192432,
0.014361836016178131,
-0.03486352413892746,
-0.00733102485537529,
-0.012395920231938362,
-0.015030053444206715,
-0.01650206930935383,
0.017528606578707695,
0.02839440479874611,
-0.02113117091357708,
0.03842735290527344,
-0.03947325795888901,
0.003096558852121234,
0.008594827726483345,
-0.005476478952914476,
0.04009305313229561,
-0.033662669360637665,
0.04160380735993385,
0.020976221188902855,
-0.0002011008036788553,
-0.05155928060412407,
-0.021654123440384865,
0.04756934195756912,
-0.012386235408484936,
0.01762544922530651,
0.02889798954129219,
-0.00521984463557601,
0.06290929764509201,
-0.06271560490131378,
-0.00764092244207859,
0.036567963659763336,
0.0010483268415555358,
0.04698828607797623,
0.08212297409772873,
-0.013190033845603466,
-0.08212297409772873,
0.021363593637943268,
-0.04113895818591118,
-0.016279328614473343,
-0.002385972533375025,
-0.006067221984267235,
0.02446257323026657,
0.08824345469474792,
0.03306224197149277,
0.009529363363981247,
-0.06201833859086037,
0.027871452271938324,
-0.012202234007418156,
-0.02827819250524044,
-0.011630859225988388,
0.016782913357019424,
0.001806124346330762,
-0.0072196549735963345,
0.02864619717001915,
0.07662228494882584,
0.05458078533411026,
-0.03087358921766281,
-0.01767387054860592,
0.023455405607819557,
0.04772429168224335,
0.0063335406593978405,
-0.004873630125075579,
0.0036170906387269497,
-0.029827682301402092,
-0.0243269931524992,
-0.0193976778537035,
0.027755239978432655,
0.01621153950691223,
0.036684177815914154,
-0.026263855397701263,
-0.017276814207434654,
-0.013499931432306767,
-0.03519279137253761,
0.01539805717766285,
-0.056401435285806656,
-0.026689965277910233,
-0.11876840889453888,
-0.005127843469381332,
-0.06984326243400574,
0.003740565851330757,
-0.08777861297130585,
-0.002343603642657399,
-0.037981875240802765,
0.0043555195443332195,
-0.026748070493340492,
0.044199202209711075,
-0.012802661396563053,
-0.019639786332845688,
-0.04288213700056076,
-0.021479805931448936,
-0.00973273441195488,
0.057757239788770676,
0.01158243790268898,
-0.03463110327720642,
0.022758133709430695,
0.048460301011800766,
0.03887283056974411,
-0.019000621512532234,
0.04172001779079437,
-0.06472994387149811,
-0.10087180137634277,
0.014526468701660633,
-0.033294666558504105,
-0.008851462043821812,
0.032306868582963943,
-0.015717638656497,
0.07325214147567749,
-0.051830440759658813,
0.047336921095848083,
0.03749765828251839,
0.026515647768974304,
-0.033236559480428696,
0.03393382951617241,
-0.028200717642903328,
0.003491194685921073,
-0.05016474053263664,
-0.009679470211267471,
0.003665512427687645,
0.0001826400839490816,
0.009040305390954018,
0.026399435475468636,
-0.02198338881134987,
-0.01927178166806698,
-0.00521984463557601,
-0.01127254031598568,
-0.022777503356337547,
-0.03678102046251297,
-0.009413152001798153,
-0.022816240787506104,
-0.06647311896085739,
0.058493249118328094,
-0.03242307901382446,
-0.018022505566477776,
0.033488351851701736,
0.019736628979444504,
-0.014787944965064526,
-0.038601670414209366,
0.005534584634006023,
-0.06933967769145966,
-0.05117190629243851,
-0.0016463331412523985,
-0.03966694325208664,
0.04536132141947746,
-0.006183433812111616,
0.006875861901789904,
-0.0006857704138383269,
-0.009868314489722252,
0.05043590068817139,
-0.00665312260389328,
-0.02384277805685997,
-0.006343224551528692,
-0.03918273001909256,
0.008643249049782753,
-0.005694375839084387,
0.028607459738850594
] |
713,262
|
xmlschema.converters.parker
|
element_encode
| null |
def element_encode(self, obj: Any, xsd_element: 'XsdElement', level: int = 0) -> ElementData:
name: str = xsd_element.name
if not isinstance(obj, MutableMapping):
if obj == '':
obj = None
if xsd_element.type.simple_type is not None:
return ElementData(xsd_element.name, obj, None, {}, None)
else:
return ElementData(xsd_element.name, None, obj, {}, None)
else:
if not obj:
return ElementData(xsd_element.name, None, None, {}, None)
elif self.preserve_root:
try:
items = obj[self.map_qname(name)]
except KeyError:
return ElementData(xsd_element.name, None, None, {}, None)
else:
items = obj
try:
content = []
for name, value in obj.items():
ns_name = self.unmap_qname(name)
if not isinstance(value, MutableSequence) or not value:
content.append((ns_name, value))
elif any(isinstance(v, MutableSequence) for v in value):
for item in value:
content.append((ns_name, item))
else:
ns_name = self.unmap_qname(name)
xsd_child = xsd_element.match_child(ns_name)
if xsd_child is not None:
if xsd_child.type and xsd_child.type.is_list():
content.append((ns_name, value))
else:
content.extend((ns_name, item) for item in value)
else:
content.extend((ns_name, item) for item in value)
except AttributeError:
return ElementData(xsd_element.name, items, None, {}, None)
else:
return ElementData(xsd_element.name, None, content, {}, None)
|
(self, obj: Any, xsd_element: 'XsdElement', level: int = 0) -> xmlschema.converters.default.ElementData
|
[
0.010119684040546417,
-0.006983146537095308,
-0.014182605780661106,
-0.004723616410046816,
0.024923013523221016,
-0.014013317413628101,
-0.021367957815527916,
0.0036185395438224077,
0.03600199893116951,
0.024716105312108994,
-0.037393923848867416,
-0.02727424167096615,
0.04442879930138588,
-0.014859759248793125,
-0.026822805404663086,
0.018649937584996223,
-0.011812567710876465,
0.051087476313114166,
-0.01444594282656908,
0.08614898473024368,
0.03165692836046219,
-0.003239991841837764,
0.019195422530174255,
0.08735281229019165,
0.0034092802088707685,
0.03176978975534439,
-0.00392184779047966,
0.02270345576107502,
-0.03760083392262459,
-0.035099126398563385,
-0.00936258863657713,
-0.03760083392262459,
-0.0072841034270823,
-0.01688181422650814,
0.021462006494402885,
-0.006334207486361265,
-0.009287349879741669,
0.006870287470519543,
-0.03562580421566963,
-0.005779317580163479,
-0.027857346460223198,
0.008389180526137352,
-0.02518635056912899,
-0.05669280141592026,
0.04066683351993561,
0.01880982145667076,
0.04062921553850174,
0.1127084493637085,
-0.0075051188468933105,
0.02104819007217884,
0.04190828278660774,
0.058047108352184296,
0.018621724098920822,
0.0008875884814187884,
-0.03912442922592163,
0.008436204865574837,
-0.023324178531765938,
0.03946300595998764,
0.0616585947573185,
0.0007376977009698749,
0.014972617849707603,
0.03908681124448776,
-0.022346068173646927,
-0.012047691270709038,
-0.04973316937685013,
0.02490420453250408,
-0.02012650854885578,
-0.04224685952067375,
-0.02907998487353325,
0.0005404884577728808,
-0.00009360825060866773,
-0.013524262234568596,
-0.013307948596775532,
0.018640533089637756,
-0.02065318450331688,
0.005332584492862225,
0.024810153990983963,
-0.018433624878525734,
0.0007623856072314084,
0.01691002957522869,
0.002506408840417862,
0.010467666201293468,
-0.033688392490148544,
0.05285559967160225,
0.05131319537758827,
0.03901157155632973,
-0.0536079928278923,
0.016232876107096672,
0.004914065822958946,
-0.013844029046595097,
0.020540324971079826,
0.005515980068594217,
-0.01291294302791357,
0.055225636810064316,
-0.02928689308464527,
-0.02659708820283413,
-0.00928264670073986,
-0.02279750443994999,
-0.00662575988098979,
0.06448006629943848,
-0.025205161422491074,
-0.017700042575597763,
-0.05296845734119415,
0.01948697492480278,
-0.060341909527778625,
0.049620307981967926,
0.04687407612800598,
-0.02479134500026703,
0.013279734179377556,
0.00006385052984114736,
0.02108580991625786,
0.021932251751422882,
-0.009781107306480408,
0.030265003442764282,
-0.0028073659632354975,
-0.006583437789231539,
0.012151144444942474,
0.02037103660404682,
-0.03005809523165226,
-0.06711344420909882,
0.07712026685476303,
0.00339282164350152,
-0.03118668496608734,
0.035099126398563385,
0.015546318143606186,
-0.022007491439580917,
0.0356634221971035,
-0.006743321195244789,
0.02426467090845108,
0.009263836778700352,
0.022571785375475883,
-0.007368747610598803,
-0.061846692115068436,
-0.036998920142650604,
0.07542738318443298,
-0.05533849447965622,
0.07930220663547516,
-0.02089771255850792,
-0.05041032284498215,
-0.007632085122168064,
0.0066915941424667835,
-0.039387766271829605,
0.06745202094316483,
0.03400815650820732,
-0.051764629781246185,
-0.017812902107834816,
0.02751876972615719,
-0.006733916234225035,
-0.05748281627893448,
-0.043187350034713745,
-0.057896632701158524,
-0.006117894314229488,
-0.0321647934615612,
0.037882979959249496,
-0.025788266211748123,
-0.044014982879161835,
0.002374740084633231,
-0.02548730932176113,
0.04145684838294983,
0.008252809755504131,
-0.015198335982859135,
0.04183304309844971,
-0.017163962125778198,
-0.004018248058855534,
0.02766924723982811,
0.034911029040813446,
0.003524490399286151,
-0.04175780341029167,
0.024810153990983963,
0.0011950115440413356,
0.041682563722133636,
0.011502206325531006,
-0.010778027586638927,
0.04183304309844971,
0.005088056903332472,
0.031826216727495193,
-0.017051102593541145,
0.07049921154975891,
0.015856679528951645,
-0.021010570228099823,
-0.007354640401899815,
0.04491785541176796,
0.051576532423496246,
0.008351560682058334,
0.003073054598644376,
0.01675955206155777,
-0.003028381383046508,
0.03082929737865925,
0.017295630648732185,
-0.0062965876422822475,
-0.01991960033774376,
-0.010533500462770462,
0.0015835518715903163,
-0.02157486602663994,
-0.00706308800727129,
0.021894631907343864,
-0.02892950549721718,
-0.03983920067548752,
-0.018377196043729782,
0.05405942723155022,
-0.0012367457384243608,
-0.022383688017725945,
0.05676804110407829,
-0.00774494418874383,
-0.05104985460639,
0.016439784318208694,
0.04503071308135986,
-0.022835124284029007,
-0.04480499401688576,
-0.005638244096189737,
0.01850886456668377,
-0.04100541025400162,
-0.03137478232383728,
-0.050447940826416016,
0.04819076508283615,
-0.010674573481082916,
-0.07140208035707474,
-0.033932916820049286,
0.04047873616218567,
-0.06598485261201859,
-0.03545651584863663,
0.005525385029613972,
-0.03839084506034851,
-0.01280948892235756,
0.034327924251556396,
-0.021894631907343864,
0.028572119772434235,
-0.053269416093826294,
0.028384020552039146,
0.002392374211922288,
-0.029926426708698273,
-0.01863112859427929,
-0.010364212095737457,
-0.07557786256074905,
0.0036091345828026533,
0.02659708820283413,
0.06256146728992462,
-0.042698293924331665,
0.07211685925722122,
-0.03726225718855858,
0.039914440363645554,
-0.07098826766014099,
-0.010806242935359478,
0.0015953079564496875,
-0.0416073240339756,
0.04725027084350586,
0.04593358561396599,
0.04145684838294983,
-0.019863171502947807,
-0.05037270113825798,
-0.019449355080723763,
0.0077637541107833385,
-0.003926550503820181,
0.02227082848548889,
0.011069579981267452,
-0.0834403708577156,
0.010025635361671448,
0.03440316393971443,
-0.011455181054770947,
-0.07952792942523956,
0.031243113800883293,
-0.05296845734119415,
0.05661756172776222,
0.04093017056584358,
-0.003251747926697135,
0.002896712627261877,
0.024716105312108994,
-0.00005731117562390864,
0.026634708046913147,
0.01929887756705284,
-0.029888806864619255,
-0.035249605774879456,
0.020239368081092834,
0.0451059527695179,
-0.004631918389350176,
0.061357639729976654,
0.02061556465923786,
0.0072370790876448154,
-0.02567540667951107,
0.029681898653507233,
-0.02889188565313816,
-0.054247524589300156,
-0.0008011808386072516,
0.03015214391052723,
-0.011436372064054012,
-0.05315655469894409,
0.0033787142019718885,
0.04506833106279373,
-0.0012402726570144296,
-0.026709947735071182,
-0.024565627798438072,
0.0796031653881073,
-0.0904376208782196,
-0.007853101007640362,
-0.04141922667622566,
0.03137478232383728,
0.013383188284933567,
-0.05172700807452202,
0.05262988060712814,
0.03404577821493149,
0.01921423338353634,
0.07606691867113113,
0.06286242604255676,
-0.03141240403056145,
0.00816346239298582,
-0.0052855596877634525,
0.005925093777477741,
-0.01718277297914028,
-0.015301790088415146,
-0.0007659124094061553,
-0.008144652470946312,
0.03366957977414131,
0.007260591257363558,
0.046309780329465866,
0.03079167753458023,
-0.003256450407207012,
0.01527357567101717,
-0.018254932016134262,
0.029399750754237175,
0.05447324365377426,
-0.03998968005180359,
-0.06406625360250473,
-0.01810445263981819,
-0.035588182508945465,
0.04025301709771156,
-0.03363196179270744,
0.097660593688488,
-0.010147898457944393,
0.06779059767723083,
-0.0451059527695179,
-0.017728257924318314,
-0.05861140415072441,
0.0023477007634937763,
0.03609604761004448,
-0.016533832997083664,
0.027989014983177185,
0.022252019494771957,
0.03523079678416252,
-0.02859092876315117,
0.025205161422491074,
-0.005017519928514957,
0.062335748225450516,
-0.051463671028614044,
0.040892552584409714,
-0.013637120835483074,
-0.05748281627893448,
0.01954340562224388,
-0.0023712131660431623,
0.00899109523743391,
0.06372767686843872,
-0.03387648984789848,
-0.043714024126529694,
0.02567540667951107,
0.024245860055088997,
0.02591993473470211,
-0.016063587740063667,
0.00582163967192173,
0.07982888072729111,
0.0027109654620289803,
0.02031460776925087,
0.05650470405817032,
-0.05300607904791832,
-0.015386434271931648,
-0.03882347047328949,
0.007669704966247082,
-0.012160549871623516,
-0.019280066713690758,
0.02221439965069294,
0.02065318450331688,
0.015320600010454655,
0.0038701207377016544,
0.00678564328700304,
-0.04939459264278412,
-0.06244860962033272,
0.0019221286056563258,
0.028195923194289207,
0.005929796490818262,
0.016373949125409126,
0.009658843278884888,
-0.10059493035078049,
0.03532484546303749,
0.006837370339781046,
0.039387766271829605,
-0.002725072903558612,
0.00899109523743391,
0.004970495589077473,
0.08833092451095581,
-0.007838993333280087,
-0.0018480649450793862,
0.004069975111633539,
0.006409446708858013,
0.02981356717646122,
0.000768263649661094,
-0.000507277378346771,
-0.08170986920595169,
-0.01988198235630989,
-0.0008241053437814116,
0.004613108932971954,
-0.004516708664596081,
0.00317180622369051,
-0.03406458720564842,
-0.04585834592580795,
-0.015941323712468147,
0.0014295465080067515,
0.023888474330306053,
-0.05214082449674606,
-0.019787931814789772,
-0.028271162882447243,
0.028478069230914116,
0.0653829425573349,
0.010994341224431992,
0.020088888704776764,
0.01288472767919302,
-0.0511627160012722,
0.0381651297211647,
-0.004725967533886433,
0.040027301758527756,
0.01709812879562378,
-0.014398918487131596,
-0.03649105504155159,
-0.06241098791360855,
0.020784853026270866,
0.0057699126191437244,
0.06711344420909882,
-0.027010904625058174,
-0.031976696103811264,
-0.011135414242744446,
-0.008074115961790085,
-0.00522442813962698,
0.047287892550230026,
0.03039667196571827,
-0.03489222005009651,
-0.0440526008605957,
-0.1199314221739769,
0.04819076508283615,
-0.011840783059597015,
-0.008022389374673367,
-0.0321083664894104,
0.022816313430666924,
0.003994735889136791,
-0.01991960033774376,
0.04292401298880577,
0.007853101007640362,
0.012941157445311546,
-0.02460324764251709,
0.03415863588452339,
-0.017201581969857216,
0.051764629781246185,
-0.04175780341029167,
0.013185685500502586,
0.056880902498960495,
-0.029550230130553246,
0.08562231063842773,
-0.05067365989089012,
-0.05138843134045601,
-0.04495547339320183,
-0.015282980166375637,
-0.04059159383177757,
0.02576945535838604,
-0.03767607361078262,
0.013044611550867558,
-0.0536079928278923,
0.060341909527778625,
-0.030904537066817284,
-0.05202796682715416,
0.0857727900147438,
-0.008130545727908611,
0.0011797285405918956,
-0.01715455763041973,
-0.005431335885077715,
0.0726059153676033,
-0.0007324074395000935,
0.018499460071325302,
-0.0452188104391098,
0.049958888441324234,
-0.03088572807610035,
-0.025412069633603096,
0.013655930757522583,
-0.020634373649954796,
-0.020841281861066818,
-0.005403121467679739,
0.017389679327607155,
0.05533849447965622,
-0.020521515980362892,
-0.022835124284029007,
-0.046836454421281815,
0.04551976919174194,
-0.0023253641556948423,
-0.012640200555324554,
0.009658843278884888,
-0.023079650476574898,
0.018339576199650764,
-0.02430228888988495,
0.06861823052167892,
0.009249730035662651,
-0.02300441265106201,
0.012959967367351055,
-0.028440451249480247,
-0.0332181453704834,
-0.04954507201910019,
0.057219479233026505,
-0.06105668097734451,
-0.06041714921593666,
0.022045111283659935,
-0.007660300005227327,
0.009198002517223358,
-0.040365878492593765,
0.0127624636515975,
0.019280066713690758,
-0.03165692836046219,
-0.08201082050800323,
0.02460324764251709,
-0.011389346793293953,
0.010100874118506908,
0.022421307861804962,
0.031092636287212372,
-0.013072825968265533,
0.030095715075731277,
-0.019750311970710754,
-0.03133716434240341,
0.014963213354349136,
0.010674573481082916,
0.02567540667951107,
0.05545135587453842,
0.025205161422491074,
0.05007174611091614,
-0.049958888441324234,
-0.0021678318735212088,
-0.007486308924853802,
0.05074889957904816,
-0.004220453556627035,
-0.04424070194363594,
-0.006456471513956785,
0.0038183939177542925,
0.023832043632864952,
0.03312409669160843,
0.039387766271829605,
-0.024396339431405067,
0.012066500261425972,
0.052742742002010345,
0.010674573481082916,
-0.007133624982088804,
0.023060841485857964,
-0.07497595250606537,
-0.009249730035662651,
0.04503071308135986,
-0.00762268016114831,
0.0145682068541646,
-0.02591993473470211,
-0.016007158905267715,
0.003566812491044402,
-0.004561381880193949,
0.07189113646745682,
0.130991593003273,
-0.030095715075731277,
-0.08675089478492737,
-0.055902790278196335,
-0.018527673557400703,
-0.021593675017356873,
-0.007533333729952574,
0.0010504110250622034,
0.02576945535838604,
-0.006851477548480034,
0.018584104254841805,
0.009531877003610134,
0.02561897784471512,
0.005760508123785257,
0.006348314695060253,
-0.010194923728704453,
0.014803329482674599,
-0.04856695979833603,
0.023173701018095016,
-0.02907998487353325,
-0.0639910101890564,
-0.016195256263017654,
0.02411419153213501,
-0.04540691152215004,
-0.047287892550230026,
-0.00672451127320528,
-0.007500416599214077,
-0.039049189537763596,
0.008012983947992325,
-0.02791377529501915,
-0.03239051252603531,
0.054097048938274384,
-0.0427735336124897,
0.03634057566523552,
0.02499825321137905,
-0.03912442922592163,
-0.013881648890674114,
-0.028854265809059143,
-0.044315941631793976,
-0.02110462076961994,
-0.003040137467905879,
0.04491785541176796,
-0.00248995004221797,
-0.038071081042289734,
-0.03122430481016636,
0.013552476651966572,
-0.0904376208782196,
0.0017387329135090113,
0.018311360850930214,
-0.009705867618322372,
0.030923346057534218,
0.028083063662052155,
0.0014213171089068055,
0.0004558442742563784,
-0.029155224561691284,
0.06429196894168854,
0.017718851566314697,
-0.015452268533408642,
-0.002384144812822342,
0.024565627798438072,
-0.01266841497272253,
-0.02684161625802517,
-0.038127508014440536,
-0.044993095099925995,
0.007491011638194323,
-0.014756305143237114,
-0.009334374219179153,
0.010157303884625435,
0.013213899917900562,
-0.05578993260860443,
0.012000665999948978,
-0.03483578935265541,
-0.05281797796487808,
0.061207160353660583,
0.028271162882447243,
0.04224685952067375,
-0.039575863629579544,
0.05172700807452202,
0.02227082848548889,
0.031638119369745255,
-0.0770450308918953,
-0.04025301709771156,
0.040516357868909836,
-0.03423387557268143,
0.033011239022016525,
-0.003604432102292776,
0.01642097346484661,
0.07557786256074905,
-0.02727424167096615,
0.02825235202908516,
0.04228447750210762,
0.03082929737865925,
0.023079650476574898,
0.06493150442838669,
-0.04920649528503418,
-0.08359085023403168,
-0.006973741576075554,
-0.03874823451042175,
-0.016355140134692192,
-0.02371918596327305,
0.0015224199742078781,
0.06274956464767456,
0.09314623475074768,
-0.003221181919798255,
-0.011916021816432476,
-0.017361465841531754,
0.037487976253032684,
0.012894133105874062,
-0.05977761372923851,
-0.023211320862174034,
-0.021179858595132828,
0.008370370604097843,
0.040064919739961624,
0.018160883337259293,
0.04676121845841408,
0.005158593412488699,
-0.018301956355571747,
-0.03735630586743355,
0.03778893128037453,
0.015264170244336128,
-0.023060841485857964,
-0.005304369609802961,
0.006856180261820555,
-0.034572452306747437,
0.000210140977287665,
-0.007989471778273582,
-0.004403849598020315,
0.003999438136816025,
-0.018095048144459724,
-0.019900791347026825,
-0.018856845796108246,
-0.011746733449399471,
-0.06384053826332092,
0.01912018470466137,
-0.07215447723865509,
0.004272180609405041,
-0.0750511884689331,
0.002619267674162984,
-0.10774265974760056,
0.007721432019025087,
-0.027800915762782097,
-0.02202630043029785,
-0.06797869503498077,
0.008233999833464622,
0.039387766271829605,
0.05150129273533821,
-0.015819059684872627,
0.022289639338850975,
-0.005840449593961239,
-0.0012120578903704882,
-0.013881648890674114,
0.08720233291387558,
0.010721598751842976,
-0.013759384863078594,
0.02012650854885578,
0.0927700400352478,
0.04992126673460007,
-0.03752559423446655,
0.09818726778030396,
-0.055413734167814255,
-0.0891585573554039,
-0.025054682046175003,
-0.01838660053908825,
0.048642199486494064,
0.026220891624689102,
-0.0332181453704834,
0.05022222548723221,
-0.028948316350579262,
0.048303622752428055,
0.010571119375526905,
0.009536579251289368,
-0.017163962125778198,
0.009414316155016422,
0.0145682068541646,
0.04804028570652008,
-0.08381656557321548,
0.012574366293847561,
0.02503587305545807,
0.03325576335191727,
-0.017286226153373718,
0.020446276292204857,
-0.004735372494906187,
0.003884228179231286,
-0.0005369616555981338,
0.016674907878041267,
-0.060868583619594574,
0.017605993896722794,
0.03658510372042656,
-0.015762630850076675,
-0.013627715408802032,
0.046309780329465866,
0.03224003314971924,
-0.00850203912705183,
0.06914490461349487,
0.024001331999897957,
-0.029550230130553246,
-0.015076071955263615,
0.020239368081092834,
-0.005008114967495203,
-0.039575863629579544,
0.0027086143381893635,
0.017446110025048256,
0.0017563671572133899,
-0.024772536009550095,
0.03128073364496231,
-0.01527357567101717,
-0.03532484546303749,
-0.014398918487131596,
-0.004507303703576326,
-0.023549897596240044,
0.0047918022610247135,
0.0012485019396990538,
0.03630295768380165,
0.010392426513135433,
0.021593675017356873
] |
713,281
|
xmlschema.converters.unordered
|
UnorderedConverter
|
Same as :class:`XMLSchemaConverter` but :meth:`XMLSchemaConverter.element_encode`
returns a dictionary for the content of the element, that can be used directly
for unordered encoding mode. In this mode the order of the elements in
the encoded output is based on the model visitor pattern rather than
the order in which the elements were added to the input dictionary.
As the order of the input dictionary is not preserved, character data
between sibling elements are interleaved between tags.
|
class UnorderedConverter(XMLSchemaConverter):
"""
Same as :class:`XMLSchemaConverter` but :meth:`XMLSchemaConverter.element_encode`
returns a dictionary for the content of the element, that can be used directly
for unordered encoding mode. In this mode the order of the elements in
the encoded output is based on the model visitor pattern rather than
the order in which the elements were added to the input dictionary.
As the order of the input dictionary is not preserved, character data
between sibling elements are interleaved between tags.
"""
__slots__ = ()
@stackable
def element_encode(self, obj: Any, xsd_element: 'XsdElement', level: int = 0) -> ElementData:
"""
Extracts XML decoded data from a data structure for encoding into an ElementTree.
:param obj: the decoded object.
:param xsd_element: the `XsdElement` associated to the decoded data structure.
:param level: the level related to the encoding process (0 means the root).
:return: an ElementData instance.
"""
if level or not self.preserve_root:
element_name = None
elif not isinstance(obj, MutableMapping):
raise XMLSchemaTypeError(f"A dictionary expected, got {type(obj)} instead.")
elif len(obj) != 1:
raise XMLSchemaValueError("The dictionary must have exactly one element.")
else:
element_name, obj = next(iter(obj.items()))
if not isinstance(obj, MutableMapping):
if xsd_element.type.simple_type is not None:
return ElementData(xsd_element.name, obj, None, {}, None)
elif xsd_element.type.mixed and isinstance(obj, (str, bytes)):
return ElementData(xsd_element.name, None, [(1, obj)], {}, None)
else:
return ElementData(xsd_element.name, None, obj, {}, None)
text = None
attributes = {}
# The unordered encoding mode assumes that the values of this dict will
# all be lists where each item is the content of a single element. When
# building content_lu, content which is not a list or lists to be placed
# into a single element (element has a list content type) must be wrapped
# in a list to retain that structure. Character data are not wrapped into
# lists because they are divided from the rest of the content into the
# unordered mode generator function of the ModelVisitor class.
content_lu: Dict[Union[int, str], Any] = {}
xmlns = self.set_context(obj, level)
if element_name is not None:
tag = self.unmap_qname(element_name)
if not xsd_element.is_matching(tag, self.default_namespace):
raise XMLSchemaValueError("data tag does not match XSD element name")
for name, value in obj.items():
if name == self.text_key:
text = value
elif self.cdata_prefix is not None and \
name.startswith(self.cdata_prefix) and \
name[len(self.cdata_prefix):].isdigit():
index = int(name[len(self.cdata_prefix):])
content_lu[index] = value
elif self.is_xmlns(name):
continue
elif self.attr_prefix and \
name.startswith(self.attr_prefix) and \
name != self.attr_prefix:
attr_name = name[len(self.attr_prefix):]
ns_name = self.unmap_qname(attr_name, xsd_element.attributes)
attributes[ns_name] = value
elif not isinstance(value, MutableSequence) or not value:
ns_name = self.unmap_qname(name, xmlns=self.get_xmlns_from_data(value))
content_lu[ns_name] = [value]
elif isinstance(value[0], (MutableMapping, MutableSequence)):
ns_name = self.unmap_qname(name, xmlns=self.get_xmlns_from_data(value[0]))
content_lu[ns_name] = value
else:
# `value` is a list but not a list of lists or list of dicts.
ns_name = self.unmap_qname(name)
xsd_child = xsd_element.match_child(ns_name)
if xsd_child is not None:
if xsd_child.type and xsd_child.type.is_list():
content_lu[ns_name] = [value]
else:
content_lu[ns_name] = value
elif self.attr_prefix == '' and ns_name in xsd_element.attributes:
attributes[ns_name] = value
else:
content_lu[ns_name] = value
return ElementData(xsd_element.name, text, content_lu, attributes, xmlns)
|
(namespaces: Optional[~T] = None, dict_class: Optional[Type[Dict[str, Any]]] = None, list_class: Optional[Type[List[Any]]] = None, etree_element_class: Type[xml.etree.ElementTree.Element] = None, text_key: Optional[str] = '$', attr_prefix: Optional[str] = '@', cdata_prefix: Optional[str] = None, indent: int = 4, process_namespaces: bool = True, strip_namespaces: bool = False, xmlns_processing: Optional[str] = None, source: Optional[xmlschema.resources.XMLResource] = None, preserve_root: bool = False, force_dict: bool = False, force_list: bool = False, **kwargs: Any) -> None
|
[
0.02654959447681904,
0.003028691280633211,
0.002809294033795595,
-0.02424970455467701,
0.025601394474506378,
-0.0044383821077644825,
-0.01653297245502472,
-0.022514700889587402,
0.07339470088481903,
-0.01283095870167017,
-0.011317874304950237,
-0.009608088061213493,
0.022514700889587402,
0.009860268794000149,
-0.021405106410384178,
0.05846559628844261,
-0.0036742740776389837,
0.01844954676926136,
-0.004168548621237278,
0.030039776116609573,
0.03225896880030632,
-0.044625911861658096,
0.011650752276182175,
0.048378363251686096,
0.011085867881774902,
-0.04105503484606743,
-0.03601141646504402,
-0.019982805475592613,
-0.019750799983739853,
-0.017511434853076935,
0.015615034848451614,
-0.04442416876554489,
0.0006257235654629767,
-0.03538600727915764,
0.031472161412239075,
-0.03887619078159332,
-0.015776431187987328,
0.00967869907617569,
0.03825078159570694,
-0.03348961099982262,
-0.005366407334804535,
-0.029757333919405937,
-0.012235811911523342,
-0.07767168432474136,
0.012306422926485538,
0.054430700838565826,
0.004120633937418461,
0.1103946641087532,
-0.03932002931833267,
0.007288024760782719,
0.08715368062257767,
-0.01029906328767538,
0.005835463758558035,
0.04057084769010544,
-0.04910464212298393,
-0.011085867881774902,
-0.028203899040818214,
0.08424855768680573,
0.03127041831612587,
-0.005336145404726267,
-0.008876764215528965,
0.062298741191625595,
-0.020547691732645035,
0.005532846786081791,
-0.06205664947628975,
-0.0029782552737742662,
0.006783663295209408,
-0.07706645131111145,
-0.03883584216237068,
0.003966803662478924,
-0.042689163237810135,
-0.014132211916148663,
-0.007989087142050266,
0.062419790774583817,
0.005795114673674107,
0.0008555233362130821,
0.03211774677038193,
-0.015635209158062935,
0.00459725596010685,
-0.005462235771119595,
0.006854273844510317,
0.028768785297870636,
-0.004461078438907862,
0.030443266034126282,
0.060523390769958496,
0.0195490550249815,
0.04377858713269234,
0.05725512653589249,
0.010067056864500046,
0.008493449538946152,
-0.010470546782016754,
0.009290340356528759,
-0.024491798132658005,
0.0496695302426815,
0.006097731646150351,
-0.006899666506797075,
-0.034357111901044846,
-0.03970334306359291,
-0.011731450445950031,
0.038916539400815964,
0.03508339077234268,
0.06762479990720749,
-0.038916539400815964,
0.006682790815830231,
-0.046925801783800125,
0.05782001093029976,
0.00826648622751236,
-0.010672290809452534,
-0.00461743026971817,
-0.04426277428865433,
-0.036737699061632156,
-0.018035970628261566,
0.055842913687229156,
0.034800950437784195,
0.02030559815466404,
-0.041236601769924164,
-0.016290878877043724,
0.028607388958334923,
0.008765804581344128,
-0.02985820546746254,
0.02699343115091324,
-0.00561858806759119,
-0.02703378163278103,
0.00979470182210207,
-0.02796180546283722,
0.00617842935025692,
0.07847866415977478,
0.002574765821918845,
0.030523963272571564,
0.022736620157957077,
-0.020547691732645035,
-0.017047422006726265,
-0.023099761456251144,
-0.021122662350535393,
0.07085271179676056,
-0.07609807699918747,
0.013204186223447323,
-0.013234447687864304,
-0.06895631551742554,
0.07048957794904709,
0.030463440343737602,
-0.012780522927641869,
0.053865816444158554,
0.04870115593075752,
-0.08416786044836044,
-0.02618645317852497,
0.04151904582977295,
0.009729134850203991,
-0.05406756326556206,
-0.0275986660271883,
-0.05007301643490791,
-0.01697681099176407,
-0.044989053159952164,
0.03772624582052231,
0.020164376124739647,
-0.003976891282945871,
-0.040893636643886566,
0.0007823908817954361,
-0.012498079799115658,
0.01752152107656002,
-0.017995622009038925,
-0.004430816508829594,
0.01591765135526657,
-0.009547565132379532,
0.012568690814077854,
0.06060408800840378,
0.023059410974383354,
-0.0646793320775032,
0.01119682751595974,
0.0008971331408247352,
0.013365581631660461,
0.03679822012782097,
0.006420522928237915,
0.004433338530361652,
0.027780236676335335,
0.023523423820734024,
0.021808594465255737,
0.041841838508844376,
0.010112449526786804,
0.0006487350910902023,
0.002323846099898219,
0.014283520169556141,
-0.007948738522827625,
-0.006738270632922649,
0.011126216500997543,
0.015615034848451614,
-0.0012665779795497656,
0.003694448620080948,
0.05079929903149605,
-0.013738809153437614,
0.00004618060847860761,
-0.025318952277302742,
0.0025167642161250114,
-0.005658937152475119,
-0.01897408254444599,
0.009290340356528759,
-0.021627025678753853,
-0.04523114860057831,
0.011005169712007046,
0.03550705686211586,
-0.01699698530137539,
-0.05007301643490791,
0.08384507149457932,
0.009048246778547764,
-0.04728894308209419,
-0.0008000435773283243,
0.0009015463292598724,
-0.043133001774549484,
-0.046885453164577484,
-0.00507135596126318,
0.003762537380680442,
-0.04656266048550606,
0.0014702139887958765,
-0.03405449539422989,
0.03722188621759415,
-0.08796066045761108,
-0.059998854994773865,
0.004062632564455271,
0.0020855350885540247,
-0.08505553752183914,
0.002538199769333005,
0.024431275203824043,
-0.018802599981427193,
-0.017430735751986504,
0.04113573208451271,
-0.03258175775408745,
0.03082657977938652,
-0.028103027492761612,
0.035688627511262894,
0.05782001093029976,
0.020820045843720436,
-0.04628022015094757,
0.027437269687652588,
-0.041276950389146805,
0.05027476325631142,
-0.0026151149068027735,
0.06322676688432693,
-0.03141164034605026,
0.0341150164604187,
-0.01140865869820118,
-0.015998348593711853,
-0.027739888057112694,
0.03211774677038193,
-0.01958940364420414,
-0.055762216448783875,
0.021808594465255737,
0.0796891301870346,
0.016452275216579437,
-0.020487166941165924,
-0.045069750398397446,
-0.036697350442409515,
0.03375187888741493,
-0.006622267421334982,
0.0034347022883594036,
0.013224360533058643,
-0.08432925492525101,
-0.011913021095097065,
0.01889338530600071,
0.008569103665649891,
-0.0541079118847847,
0.028567040339112282,
-0.04293125867843628,
0.012760347686707973,
0.07601737976074219,
0.023906739428639412,
-0.024491798132658005,
0.013375668786466122,
-0.0081706577911973,
-0.016179919242858887,
0.030544137582182884,
-0.02429005317389965,
-0.038049038499593735,
-0.007767168339341879,
0.005875812377780676,
-0.01684567704796791,
0.04668371006846428,
0.007595685310661793,
-0.019599491730332375,
0.001515606534667313,
0.02620662748813629,
-0.019720537588000298,
-0.05087999626994133,
-0.02618645317852497,
0.013032703660428524,
0.0496695302426815,
-0.016119396314024925,
-0.022514700889587402,
-0.037645548582077026,
0.03084675408899784,
-0.006990451365709305,
0.01728951558470726,
0.028365295380353928,
-0.0503554604947567,
0.009265122003853321,
0.017834225669503212,
-0.0039693256840109825,
-0.019720537588000298,
-0.03346943482756615,
0.036636825650930405,
0.016603583469986916,
0.01427343301475048,
0.06363026052713394,
0.11338048428297043,
-0.00142482144292444,
0.006470959167927504,
0.012498079799115658,
-0.030987976118922234,
-0.011327961459755898,
-0.007000538986176252,
0.03633420914411545,
-0.0038356699515134096,
0.01188275869935751,
-0.04470660910010338,
0.001703481306321919,
-0.025823313742876053,
0.02426987886428833,
0.025924185290932655,
0.002953037153929472,
0.07714714854955673,
0.04563463479280472,
-0.02523825317621231,
-0.0551973320543766,
-0.04006648436188698,
-0.045029401779174805,
0.010198190808296204,
-0.030927453190088272,
0.0905429944396019,
-0.027881108224391937,
0.0744437724351883,
-0.03330804035067558,
-0.009562695398926735,
-0.044061027467250824,
-0.037141188979148865,
0.042769864201545715,
-0.027760062366724014,
-0.025863662362098694,
0.007409071549773216,
-0.03593071922659874,
0.003260697703808546,
-0.05511663481593132,
0.0035960981622338295,
0.018752163276076317,
-0.05741652101278305,
-0.019508706405758858,
0.00559841375797987,
-0.041357651352882385,
0.017894748598337173,
0.014384392648935318,
0.017279427498579025,
0.07670331001281738,
-0.003263219492509961,
-0.019831497222185135,
0.04474696144461632,
0.012487992644309998,
0.03772624582052231,
-0.04567498341202736,
-0.014051513746380806,
0.016008436679840088,
0.02753814309835434,
0.023442726582288742,
0.06028129532933235,
-0.03861392289400101,
0.001825788989663124,
-0.03397379815578461,
0.04353649169206619,
-0.05463244765996933,
-0.017450910061597824,
0.029111750423908234,
0.018731988966464996,
0.003934020176529884,
0.020416557788848877,
-0.008352227509021759,
-0.021082313731312752,
-0.04244707152247429,
-0.007661252282559872,
-0.0006506264326162636,
0.004579603206366301,
0.02941436693072319,
-0.04117608070373535,
-0.05362372472882271,
0.038028862327337265,
0.027437269687652588,
0.008110133931040764,
0.006758445408195257,
-0.02886965684592724,
-0.009461822919547558,
0.08715368062257767,
0.015019888058304787,
-0.01492910273373127,
0.0032026960980147123,
0.025439998134970665,
0.00570937292650342,
0.03038274124264717,
-0.013062965124845505,
-0.038028862327337265,
0.014192734844982624,
-0.02420935593545437,
0.003157303435727954,
0.023240981623530388,
0.006259127054363489,
-0.020618300884962082,
-0.0234023779630661,
0.01285113301128149,
0.008397620171308517,
0.010026708245277405,
-0.014777794480323792,
0.007272894028574228,
0.016482535749673843,
-0.012195463292300701,
0.1112823411822319,
-0.011519618332386017,
0.013436192646622658,
0.023462900891900063,
-0.0558832623064518,
0.02935384400188923,
-0.00979470182210207,
0.03280367702245712,
0.03932002931833267,
-0.01796535961329937,
0.02199016511440277,
-0.04853975772857666,
0.02939419262111187,
0.031593210995197296,
0.05273604765534401,
-0.00912894494831562,
-0.03514391556382179,
-0.03833147883415222,
0.004458556417375803,
-0.0704088807106018,
0.07855936139822006,
0.06673712283372879,
-0.036192987114191055,
-0.0317949540913105,
-0.10175999253988266,
0.010243583470582962,
0.0050183977000415325,
-0.011126216500997543,
-0.05681128799915314,
0.031129196286201477,
0.0039390637539327145,
-0.0457153357565403,
0.07186143845319748,
0.03215809538960457,
0.013698460534214973,
0.019770974293351173,
0.01566547155380249,
-0.01827806420624256,
0.0830380916595459,
-0.019266612827777863,
0.027780236676335335,
0.021647199988365173,
0.019962631165981293,
0.05915152654051781,
-0.04010683298110962,
-0.07525074481964111,
-0.036677174270153046,
0.05927257239818573,
-0.03627368435263634,
-0.0008801109506748617,
-0.012528342194855213,
0.0352044403553009,
-0.021142838522791862,
0.03447815775871277,
0.004733433481305838,
-0.04147869721055031,
0.08779926598072052,
-0.02568209171295166,
-0.015040062367916107,
-0.04434347152709961,
0.027235524728894234,
0.03704031556844711,
-0.022998888045549393,
0.05757791921496391,
-0.050678253173828125,
-0.0008240007446147501,
-0.0142431715503335,
-0.024633020162582397,
-0.04523114860057831,
-0.022655922919511795,
-0.028304772451519966,
0.050194066017866135,
-0.007984044030308723,
0.03546670824289322,
-0.04329439997673035,
-0.04101468250155449,
-0.01397081557661295,
0.0717807412147522,
-0.027881108224391937,
0.0005153944948688149,
0.040833115577697754,
-0.08747647702693939,
0.011751624755561352,
0.0006298215012066066,
0.01918591558933258,
0.02525842748582363,
-0.023099761456251144,
-0.01075298897922039,
-0.021768245846033096,
-0.01817719079554081,
-0.07250702381134033,
0.01072272751480341,
-0.06940015405416489,
0.008009262382984161,
0.0015660427743569016,
0.026529420167207718,
0.024612845852971077,
-0.008710324764251709,
0.02614610455930233,
0.01790483668446541,
-0.04155939444899559,
-0.07367713749408722,
-0.013718634843826294,
0.05087999626994133,
-0.010178016498684883,
0.004007152747362852,
-0.012609039433300495,
-0.014596223831176758,
-0.00979470182210207,
0.020356032997369766,
-0.03282385319471359,
-0.01327479723840952,
0.0063700866885483265,
-0.008135352283716202,
0.02192964218556881,
0.004456034395843744,
0.04006648436188698,
-0.06084618344902992,
-0.02610575594007969,
0.043617188930511475,
-0.005901030730456114,
0.006097731646150351,
-0.0419628843665123,
0.017491260543465614,
0.01286122016608715,
0.03443780913949013,
0.008412751369178295,
0.02939419262111187,
-0.007923520170152187,
0.009653480723500252,
0.041397999972105026,
0.00018724423716776073,
0.058626990765333176,
-0.0387551449239254,
-0.05923222377896309,
0.012780522927641869,
0.05463244765996933,
-0.01777370274066925,
0.030221346765756607,
-0.05317988619208336,
-0.0031850433442741632,
-0.10353534668684006,
0.005008310545235872,
0.0587480366230011,
0.05689198523759842,
-0.02703378163278103,
-0.0861046090722084,
-0.011015256866812706,
0.0308064054697752,
0.03274315595626831,
-0.007298111915588379,
0.018399110063910484,
0.05890943482518196,
-0.06532490998506546,
-0.030584486201405525,
0.060886532068252563,
0.061370719224214554,
0.002528112381696701,
-0.034316763281822205,
-0.019791148602962494,
0.031028324738144875,
-0.011388484388589859,
-0.007570467423647642,
0.010198190808296204,
-0.0024247183464467525,
-0.005215098615735769,
0.009260078892111778,
-0.04430312290787697,
-0.040833115577697754,
0.03833147883415222,
-0.028304772451519966,
0.010208278894424438,
0.013960728421807289,
0.018328500911593437,
-0.014808055944740772,
0.09110787510871887,
-0.03734293207526207,
0.04494870454072952,
0.0848134458065033,
-0.03746397793292999,
-0.06246013939380646,
-0.04519079625606537,
-0.009638349525630474,
-0.011176652275025845,
-0.029555588960647583,
0.05075895041227341,
0.01332523301243782,
-0.008785978890955448,
-0.0032001743093132973,
-0.017824137583374977,
-0.05612535774707794,
-0.004967961460351944,
0.0112069146707654,
-0.014787881635129452,
0.033005423843860626,
0.04575568437576294,
-0.03129059448838234,
0.02030559815466404,
-0.010016621090471745,
0.07206318527460098,
0.01332523301243782,
0.004357683937996626,
0.0003741732507478446,
0.010218366049230099,
-0.03823060914874077,
-0.014687009155750275,
-0.05777966231107712,
-0.03262210637331009,
-0.02201033942401409,
-0.016896113753318787,
-0.03163355961441994,
0.03831130638718605,
-0.0012029024073854089,
-0.04000595957040787,
0.00920459907501936,
-0.053220234811306,
0.015151022002100945,
0.011449008248746395,
0.05217116326093674,
-0.0036641869228333235,
-0.023442726582288742,
0.08344157785177231,
-0.0027714669704437256,
0.052937790751457214,
-0.030261695384979248,
-0.02247435227036476,
0.04240672290325165,
-0.025016333907842636,
0.035769324749708176,
0.003485138528048992,
0.0072325449436903,
0.034296587109565735,
-0.021748071536421776,
-0.0048822201788425446,
0.04841871187090874,
-0.04212427884340286,
0.05705338343977928,
0.09126926958560944,
-0.07855936139822006,
-0.0474906861782074,
0.0081706577911973,
-0.012054242193698883,
0.016482535749673843,
0.02745744399726391,
-0.05011336877942085,
0.01735003851354122,
0.057658616453409195,
-0.010510895401239395,
-0.021869119256734848,
-0.008725455030798912,
0.00923486053943634,
0.01992228254675865,
-0.04761173203587532,
0.008372402749955654,
-0.030705533921718597,
-0.0028395557310432196,
0.010329325683414936,
0.050718601793050766,
0.04583638161420822,
0.03679822012782097,
-0.020739348605275154,
-0.07315260171890259,
0.02184894308447838,
0.02245417796075344,
-0.027376746758818626,
-0.03778677061200142,
-0.012598952278494835,
0.006470959167927504,
0.02192964218556881,
-0.010964821092784405,
-0.008871720172464848,
0.06371095776557922,
0.009441648609936237,
-0.014676922000944614,
-0.0387551449239254,
-0.04583638161420822,
-0.07299120724201202,
-0.0008284138748422265,
-0.06322676688432693,
0.0033010465558618307,
-0.1117665246129036,
0.005507628433406353,
-0.057618267834186554,
0.012155113741755486,
-0.05309918895363808,
-0.03639473021030426,
-0.05350267514586449,
0.013990990817546844,
0.019599491730332375,
0.02802233025431633,
-0.003873497014865279,
0.004055066965520382,
-0.012518254108726978,
0.010631942190229893,
-0.050637904554605484,
0.04105503484606743,
0.04494870454072952,
-0.04849940910935402,
-0.000538721214979887,
0.05644815042614937,
0.04188218712806702,
0.01171127613633871,
0.058102454990148544,
-0.05632710084319115,
-0.05463244765996933,
-0.021263884380459785,
-0.03966299444437027,
0.015130847692489624,
0.04256811738014221,
0.005462235771119595,
0.06774584949016571,
-0.027316223829984665,
0.053946513682603836,
0.0037574938032776117,
0.005141966510564089,
-0.029777508229017258,
0.02713465318083763,
-0.020416557788848877,
0.0215261522680521,
-0.031915999948978424,
-0.026973256841301918,
0.023947088047862053,
0.07448411732912064,
-0.007978999987244606,
0.05079929903149605,
-0.021869119256734848,
-0.037121012806892395,
-0.0038634096272289753,
-0.02574261464178562,
-0.03437728434801102,
0.02699343115091324,
0.004077763296663761,
-0.00921468622982502,
-0.03272297978401184,
0.10127580910921097,
-0.03139146417379379,
-0.0003826843458227813,
0.05285709351301193,
0.027336398139595985,
-0.008412751369178295,
-0.003908802289515734,
-0.00021041334548499435,
-0.02667064033448696,
-0.06576874852180481,
-0.025379475206136703,
0.010112449526786804,
0.028607388958334923,
0.010273845866322517,
0.03344925865530968,
-0.03280367702245712,
-0.04515044763684273,
-0.016522886231541634,
-0.013395844027400017,
-0.03486147150397301,
0.01591765135526657,
0.021163012832403183,
0.020335858687758446,
0.0027765105478465557,
0.05027476325631142
] |
713,287
|
xmlschema.converters.default
|
__init__
| null |
def __init__(self, namespaces: Optional[NamespacesType] = None,
dict_class: Optional[Type[Dict[str, Any]]] = None,
list_class: Optional[Type[List[Any]]] = None,
etree_element_class: Optional[Type[Element]] = None,
text_key: Optional[str] = '$',
attr_prefix: Optional[str] = '@',
cdata_prefix: Optional[str] = None,
indent: int = 4,
process_namespaces: bool = True,
strip_namespaces: bool = False,
xmlns_processing: Optional[str] = None,
source: Optional[XMLResource] = None,
preserve_root: bool = False,
force_dict: bool = False,
force_list: bool = False,
**kwargs: Any) -> None:
if dict_class is not None:
self.dict = dict_class
else:
self.dict = dict
if list_class is not None:
self.list = list_class
else:
self.list = list
if etree_element_class is not None:
self.etree_element_class = etree_element_class
else:
self.etree_element_class = Element
self.text_key = text_key
self.attr_prefix = attr_prefix
self.cdata_prefix = cdata_prefix
self.ns_prefix = 'xmlns' if attr_prefix is None else f'{attr_prefix}xmlns'
self.indent = indent
self.preserve_root = preserve_root
self.force_dict = force_dict
self.force_list = force_list
super().__init__(
namespaces, process_namespaces, strip_namespaces, xmlns_processing, source
)
|
(self, namespaces: Optional[~T] = None, dict_class: Optional[Type[Dict[str, Any]]] = None, list_class: Optional[Type[List[Any]]] = None, etree_element_class: Optional[Type[xml.etree.ElementTree.Element]] = None, text_key: Optional[str] = '$', attr_prefix: Optional[str] = '@', cdata_prefix: Optional[str] = None, indent: int = 4, process_namespaces: bool = True, strip_namespaces: bool = False, xmlns_processing: Optional[str] = None, source: Optional[xmlschema.resources.XMLResource] = None, preserve_root: bool = False, force_dict: bool = False, force_list: bool = False, **kwargs: Any) -> NoneType
|
[
-0.014889554120600224,
-0.004334992729127407,
0.014758615754544735,
-0.04826011508703232,
-0.004430858418345451,
0.02173575572669506,
-0.022745851427316666,
0.04496794939041138,
0.06131653115153313,
-0.009904546663165092,
-0.00838472694158554,
0.02179187349975109,
0.040628280490636826,
0.03531592711806297,
-0.028432315215468407,
0.05686463043093681,
-0.015544245950877666,
0.017358675599098206,
-0.03159353882074356,
-0.019191812723875046,
0.029423704370856285,
0.00603251438587904,
0.024092646315693855,
0.09375181794166565,
0.02712293155491352,
-0.027758918702602386,
-0.025701316073536873,
0.001858856063336134,
-0.015385249629616737,
-0.044182319194078445,
-0.00832393392920494,
-0.021997632458806038,
0.009516407735645771,
0.03789728134870529,
0.046389564871788025,
0.004741836804896593,
-0.048709046095609665,
-0.002485489472746849,
-0.02431711181998253,
-0.024953097105026245,
-0.0011918891686946154,
-0.007790828589349985,
-0.05099111050367355,
-0.05791213735938072,
0.03232305124402046,
0.09360217303037643,
0.04347151145339012,
0.035166285932064056,
-0.030097102746367455,
0.008164937607944012,
0.03338926285505295,
0.025327207520604134,
-0.008431490510702133,
0.012981596402823925,
-0.0808076336979866,
0.07231535017490387,
-0.017966603860259056,
0.06954693794250488,
0.0031542100477963686,
0.020108381286263466,
-0.00004121048914385028,
0.04440678656101227,
0.01653563603758812,
0.003911781590431929,
-0.03252881392836571,
0.0004886804381385446,
-0.07635573297739029,
-0.05652793124318123,
-0.00006261948146857321,
0.016058646142482758,
0.028563253581523895,
-0.0034605120308697224,
-0.017975956201553345,
0.044107500463724136,
0.05346023291349411,
0.0023697493597865105,
-0.058136601001024246,
-0.016750749200582504,
-0.018293950706720352,
-0.01941627822816372,
-0.016133468598127365,
0.014992434531450272,
-0.056677576154470444,
-0.0019453689455986023,
0.06142876297235489,
0.0010095108300447464,
-0.009867135435342789,
0.006163452286273241,
0.024279700592160225,
0.041114624589681625,
-0.09681951254606247,
0.07313838601112366,
-0.03275327757000923,
0.0004126894345972687,
0.024036528542637825,
-0.02076307125389576,
0.01114846020936966,
-0.07441036403179169,
0.0312381349503994,
0.03973041847348213,
0.025252385064959526,
-0.013215415179729462,
-0.02523368038237095,
-0.014917613007128239,
0.00810882169753313,
0.009380793198943138,
-0.051589686423540115,
0.010755645111203194,
0.032360464334487915,
0.006172805093228817,
-0.008627898059785366,
-0.05806177854537964,
0.035372044891119,
0.09053447842597961,
0.019809093326330185,
-0.0451924167573452,
-0.0216235239058733,
-0.013617582619190216,
0.018714822828769684,
-0.033707257360219955,
0.03441806510090828,
-0.02523368038237095,
-0.03271586820483208,
0.07893708348274231,
0.028189143165946007,
-0.02265232428908348,
0.01676945388317108,
0.007108078803867102,
0.06932247430086136,
0.009226473048329353,
0.0098577830940485,
-0.028731603175401688,
-0.03424971550703049,
-0.03378207981586456,
0.09203091263771057,
-0.06127912178635597,
-0.0016378978034481406,
0.03251010924577713,
-0.1019822210073471,
0.0682375580072403,
0.0601193830370903,
-0.020426373928785324,
0.04459384083747864,
0.026374712586402893,
-0.0999620333313942,
-0.04758671671152115,
-0.0019102961523458362,
-0.007851621136069298,
-0.040628280490636826,
-0.007168871350586414,
-0.02558908425271511,
-0.038495857268571854,
-0.0003232539165765047,
0.033651139587163925,
-0.02033284679055214,
-0.00933870580047369,
-0.040628280490636826,
-0.006177481729537249,
0.04190025478601456,
-0.03436194732785225,
-0.018901877105236053,
-0.00756168644875288,
0.011513217352330685,
-0.06730227917432785,
0.030938848853111267,
0.007856297306716442,
-0.015263663604855537,
-0.0740736648440361,
0.015244957990944386,
-0.014992434531450272,
0.019547216594219208,
-0.057837314903736115,
0.006210216321051121,
0.04029158502817154,
-0.020987538620829582,
0.01481473259627819,
0.021511290222406387,
0.005938986781984568,
-0.03062085434794426,
0.04493054002523422,
0.036943305283784866,
-0.018836408853530884,
-0.010437652468681335,
-0.0010404917411506176,
0.028731603175401688,
0.04848457872867584,
-0.00034722028067335486,
0.04537947103381157,
0.05839847773313522,
0.043808210641145706,
0.0334266759455204,
-0.005349764600396156,
0.006785409525036812,
0.003163562621921301,
-0.012354963459074497,
-0.023419249802827835,
-0.044668663293123245,
-0.03920666500926018,
-0.01995873637497425,
0.06210216134786606,
-0.01769537478685379,
0.016507577151060104,
0.04623992368578911,
0.006701234728097916,
0.014964376576244831,
0.007323191501200199,
-0.019210517406463623,
0.012785188853740692,
-0.024204878136515617,
-0.004332654643803835,
0.0111765181645751,
-0.03477346897125244,
0.002796467859297991,
-0.029124418273568153,
0.010671471245586872,
-0.036887187510728836,
-0.020557312294840813,
-0.0015829504700377584,
-0.04941985383629799,
-0.07586938887834549,
0.08402497321367264,
0.056378286331892014,
-0.03905702382326126,
-0.038421034812927246,
-0.0023603965528309345,
-0.026730116456747055,
0.0365130789577961,
-0.0382152758538723,
0.0021522981114685535,
0.044668663293123245,
0.008033999241888523,
-0.009404174983501434,
0.020912716165184975,
0.01255137100815773,
0.06068054586648941,
-0.0971188023686409,
0.04594063386321068,
-0.0151514308527112,
0.008679337799549103,
-0.04182543233036995,
0.05585453286767006,
-0.009717491455376148,
-0.023194782435894012,
-0.03864550217986107,
-0.012598134577274323,
0.021399058401584625,
-0.017835665494203568,
0.027646685019135475,
0.013664346188306808,
0.00334594096057117,
-0.006972464267164469,
0.03092014230787754,
-0.015712594613432884,
0.0016414050478488207,
0.025252385064959526,
0.0036990067455917597,
-0.041975077241659164,
-0.027160342782735825,
-0.0035213048104196787,
-0.0314813069999218,
0.04511759430170059,
-0.013308942317962646,
0.018237832933664322,
0.08978626132011414,
0.02620636485517025,
-0.0038673561066389084,
0.016937803477048874,
-0.010736940428614616,
-0.041788019239902496,
0.008464225567877293,
0.06097983196377754,
0.0006926869391463697,
0.02951723150908947,
0.044294554740190506,
-0.02467251569032669,
0.005691139493137598,
-0.0073044863529503345,
-0.052076030522584915,
-0.012214671820402145,
0.024223584681749344,
0.0399174727499485,
-0.03368855267763138,
0.005882870405912399,
0.01793854683637619,
0.0903100073337555,
-0.03507275879383087,
-0.052899070084095,
0.04657662287354469,
0.019809093326330185,
-0.03262234106659889,
0.03815915808081627,
0.04279811680316925,
-0.0002097058604704216,
0.017414793372154236,
0.04605286940932274,
-0.05028030276298523,
-0.06412234902381897,
-0.001302368356846273,
0.00009323508129455149,
-0.029049595817923546,
0.017901135608553886,
-0.020725661888718605,
0.1096140593290329,
0.009039418771862984,
0.009081506170332432,
0.00866530928760767,
-0.013729815371334553,
0.04047863930463791,
0.004512694664299488,
0.05978268384933472,
0.04047863930463791,
0.040441226214170456,
0.0031542100477963686,
0.02650565095245838,
-0.03232305124402046,
0.018331360071897507,
0.004129232373088598,
-0.043508924543857574,
0.015244957990944386,
0.04238659515976906,
-0.04272329434752464,
-0.03443676978349686,
-0.010727587155997753,
-0.023980412632226944,
0.02229692041873932,
-0.029535938054323196,
0.0533854141831398,
-0.007383984513580799,
0.04526723921298981,
-0.015263663604855537,
-0.016133468598127365,
-0.015132725238800049,
-0.03593320772051811,
0.0059670452028512955,
-0.04377080127596855,
-0.021829284727573395,
-0.01096140593290329,
-0.03378207981586456,
-0.0141787463799119,
-0.061690639704465866,
0.019116990268230438,
-0.006850878708064556,
-0.04272329434752464,
-0.006958434823900461,
-0.05510631576180458,
-0.0499810166656971,
0.028581958264112473,
-0.029910046607255936,
0.05510631576180458,
-0.016142820939421654,
-0.03097625821828842,
-0.02111847698688507,
0.07616867870092392,
0.06184028461575508,
0.036400847136974335,
-0.07684206962585449,
-0.033707257360219955,
0.008936538361012936,
0.017498968169093132,
-0.012495254166424274,
0.041975077241659164,
0.008922508917748928,
-0.03600803017616272,
0.005705168470740318,
0.022858085110783577,
0.008950567804276943,
0.032921627163887024,
-0.016619810834527016,
-0.0025158857461065054,
-0.00946029182523489,
0.033333148807287216,
-0.07571974396705627,
-0.07811404764652252,
-0.043808210641145706,
0.024635104462504387,
-0.03207988291978836,
0.015993177890777588,
0.017405441030859947,
-0.058622945100069046,
-0.03857067972421646,
0.012794542126357555,
0.026524357497692108,
0.017648611217737198,
-0.01787307672202587,
-0.04792341589927673,
-0.047362249344587326,
0.04579099267721176,
0.002485489472746849,
0.021660935133695602,
0.03905702382326126,
0.008917832747101784,
0.019070226699113846,
0.022315626963973045,
0.02095012739300728,
-0.014796026982367039,
-0.02240915410220623,
0.0017992324428632855,
-0.007047285791486502,
0.018527768552303314,
-0.012981596402823925,
0.005125299096107483,
-0.0760190337896347,
-0.010615354403853416,
0.012420432642102242,
0.028563253581523895,
0.0011632464593276381,
0.04627733305096626,
-0.020314140245318413,
0.04646438732743263,
0.05529337003827095,
0.07332544028759003,
-0.014674441888928413,
-0.03127554804086685,
-0.04478089511394501,
0.0018307978753000498,
0.002999889897182584,
-0.0032734572887420654,
0.0635237768292427,
-0.01258878130465746,
-0.015824828296899796,
-0.039842650294303894,
0.04515500366687775,
0.04941985383629799,
-0.004933567717671394,
0.03258492797613144,
-0.021230708807706833,
-0.022128570824861526,
-0.03396913409233093,
0.003215002827346325,
0.001152140088379383,
-0.02437322773039341,
0.017845017835497856,
-0.04556652531027794,
-0.06030643731355667,
0.051028523594141006,
0.004503341857343912,
-0.02399911917746067,
-0.07377437502145767,
0.021586112678050995,
-0.012214671820402145,
-0.05031771585345268,
-0.038795147091150284,
0.02130553126335144,
0.03410007432103157,
-0.032360464334487915,
-0.0006967787630856037,
-0.08282782137393951,
0.06494539231061935,
0.0082350829616189,
0.015357190743088722,
0.004524385556578636,
0.011419689282774925,
0.04594063386321068,
-0.027627980336546898,
-0.060044560581445694,
-0.06225180625915527,
0.009422880597412586,
-0.0025229002349078655,
0.01322476752102375,
-0.013065771199762821,
0.000948133529163897,
-0.04047863930463791,
0.07152971625328064,
-0.04657662287354469,
-0.05933375284075737,
0.06760156899690628,
-0.0019406925421208143,
0.0023241546005010605,
-0.021099770441651344,
-0.052450139075517654,
0.018574532121419907,
0.02203504368662834,
-0.016619810834527016,
-0.01634858176112175,
0.0044729458168148994,
0.005859488621354103,
0.004084806889295578,
-0.04537947103381157,
-0.0557423010468483,
-0.047848593443632126,
0.02388688549399376,
0.03503534570336342,
0.05286166071891785,
-0.035540394484996796,
-0.03400654345750809,
-0.04070310294628143,
0.07287651300430298,
-0.037261296063661575,
0.007276427932083607,
0.08484801650047302,
-0.022371742874383926,
0.04758671671152115,
-0.039468541741371155,
0.0033132063690572977,
0.040441226214170456,
-0.029124418273568153,
-0.016582399606704712,
0.03056473843753338,
-0.019304044544696808,
-0.08873875439167023,
0.0005433354526758194,
-0.06494539231061935,
-0.025701316073536873,
0.04769894853234291,
0.03625120222568512,
0.010708881542086601,
-0.06311225891113281,
0.043995264917612076,
0.008309905417263508,
-0.017293207347393036,
-0.01708744652569294,
0.0057285502552986145,
0.009235826320946217,
0.0015502158785238862,
-0.009296618402004242,
-0.014880201779305935,
-0.05761284753680229,
0.03600803017616272,
0.005101916845887899,
-0.017358675599098206,
0.022689735516905785,
0.08679338544607162,
0.03898220136761665,
0.0045805019326508045,
-0.036400847136974335,
0.019696859642863274,
-0.000382000784156844,
0.018293950706720352,
0.027235165238380432,
0.025196269154548645,
-0.010615354403853416,
-0.051290400326251984,
-0.019322751089930534,
-0.02878771908581257,
-0.01469314657151699,
0.0903848335146904,
0.007435424253344536,
0.02313866652548313,
0.024260995909571648,
-0.02601930871605873,
0.05652793124318123,
0.08237889409065247,
-0.01368305180221796,
-0.0019325088942423463,
-0.003158886218443513,
0.018443593755364418,
-0.014113277196884155,
0.02944241091609001,
-0.02227821573615074,
0.03385690227150917,
-0.02817043848335743,
-0.06614254415035248,
0.029348883777856827,
0.08163066953420639,
-0.009165680035948753,
-0.05001842603087425,
0.043995264917612076,
-0.048409756273031235,
0.029367588460445404,
0.03623249754309654,
0.009081506170332432,
0.03864550217986107,
-0.04556652531027794,
0.001484746695496142,
0.01812560111284256,
0.023531481623649597,
0.04055345803499222,
-0.017536379396915436,
-0.009357411414384842,
0.048596810549497604,
-0.005148680880665779,
-0.0004325640038587153,
0.007879679091274738,
0.030153218656778336,
-0.010634060017764568,
0.024709926918148994,
-0.011082991026341915,
-0.008094792254269123,
0.019322751089930534,
-0.06090501323342323,
0.01641405001282692,
0.005695815663784742,
0.012953538447618484,
-0.061578407883644104,
0.006009132135659456,
-0.03612026199698448,
0.0038860614877194166,
0.02076307125389576,
0.010334772057831287,
-0.04002970829606056,
-0.03733611851930618,
-0.019809093326330185,
-0.010241244919598103,
0.010185129009187222,
0.0012252082815393806,
-0.03164965659379959,
0.027235165238380432,
-0.03381948918104172,
-0.007426071912050247,
-0.04392044618725777,
-0.03868291154503822,
0.033183503895998,
-0.019640743732452393,
0.049494676291942596,
0.010409594513475895,
-0.010849173180758953,
-0.019210517406463623,
0.044369377195835114,
0.014290979132056236,
-0.008679337799549103,
0.008772865869104862,
-0.041975077241659164,
0.04683849960565567,
-0.02240915410220623,
0.006654471158981323,
-0.040441226214170456,
-0.06258850544691086,
0.03449288755655289,
-0.004281214438378811,
-0.06868648529052734,
0.022427858784794807,
-0.013916869647800922,
-0.022371742874383926,
0.05372210964560509,
-0.062176983803510666,
0.0005395358894020319,
-0.004024014342576265,
-0.011419689282774925,
0.002808158751577139,
-0.018527768552303314,
0.09464967995882034,
-0.05461997538805008,
0.0204450786113739,
-0.04017934948205948,
-0.05099111050367355,
0.0667785257101059,
0.05301130190491676,
0.0639352947473526,
0.02785244584083557,
-0.007996588945388794,
0.02351277694106102,
-0.03140648454427719,
-0.0030700352508574724,
0.026225069537758827,
-0.029835226014256477,
-0.022521385923027992,
0.018565179780125618,
-0.03829009830951691,
0.052899070084095,
0.005307677201926708,
-0.005354440771043301,
0.03829009830951691,
-0.012981596402823925,
-0.013767226599156857,
-0.009039418771862984,
0.05259978398680687,
-0.03559650853276253,
-0.0009118916932493448,
0.012775836512446404,
0.015198194421827793,
-0.015787417069077492,
0.010026131756603718,
-0.006345830857753754,
0.009661375544965267,
-0.01597447134554386,
-0.04530464857816696,
0.0036124938633292913,
-0.0213803518563509,
0.015478776767849922,
0.005630346480756998,
-0.02787115052342415,
0.02050119638442993,
0.013542760163545609,
0.029068300500512123,
-0.05978268384933472,
-0.029068300500512123,
-0.0009867135668173432,
-0.026299891993403435,
0.030452506616711617,
-0.009175033308565617,
-0.009661375544965267,
-0.0063645364716649055,
-0.044182319194078445,
-0.059969738125801086,
-0.061204299330711365,
0.0002003531262744218,
-0.015899650752544403,
-0.007585068233311176,
-0.016301818192005157,
-0.0846235454082489,
-0.022689735516905785,
-0.04272329434752464,
0.022876789793372154,
0.006626412738114595,
-0.01127004623413086,
-0.05443291738629341,
-0.01558165717869997,
-0.055255960673093796,
0.06124170869588852,
-0.023793358355760574,
0.004863422363996506,
-0.012747777625918388,
-0.027085520327091217,
-0.04103980213403702,
-0.007641184609383345,
0.0014204466715455055,
-0.02381206303834915,
0.018686765804886818,
0.04702555388212204,
0.0649079829454422,
0.04141391068696976,
0.06812532246112823,
0.03482958674430847,
-0.07152971625328064,
-0.008590486831963062,
0.0006202032673172653,
0.0524127297103405,
-0.013524055480957031,
0.001708043273538351,
-0.03754187747836113,
-0.009951310232281685,
0.03540945425629616,
0.011924737133085728,
0.018350066617131233,
0.04122685641050339,
-0.008525018580257893,
0.012831952422857285,
-0.006822820287197828,
0.014964376576244831,
-0.009614611975848675,
0.054171040654182434,
0.026617884635925293,
-0.04287293925881386,
-0.05349764600396156,
-0.01497372891753912,
-0.04493054002523422,
0.01365499384701252,
-0.032846804708242416,
0.007542980834841728,
0.08237889409065247,
-0.023774653673171997,
0.05570489168167114,
0.0017232414102181792,
0.10946441441774368,
-0.05555524677038193,
-0.017779549583792686,
0.04268588498234749,
0.0028712896164506674,
0.019116990268230438,
0.047175195068120956,
-0.02143646962940693,
0.02712293155491352,
-0.01960333250463009,
0.020725661888718605,
0.053048714995384216,
-0.026356007903814316,
0.013664346188306808,
-0.01132616214454174,
0.02485956996679306,
-0.052076030522584915,
-0.055143725126981735,
-0.038720324635505676,
-0.011821857653558254,
-0.008033999241888523,
0.0471377857029438,
0.0601193830370903,
0.025626493617892265,
0.028245260939002037
] |
713,294
|
xmlschema.converters.default
|
element_decode
|
Converts a decoded element data to a data structure.
:param data: ElementData instance decoded from an Element node.
:param xsd_element: the `XsdElement` associated to decode the data.
:param xsd_type: optional XSD type for supporting dynamic type through *xsi:type* or xs:alternative.
:param level: the level related to the decoding process (0 means the root).
:return: a data structure containing the decoded data.
|
@stackable
def element_decode(self, data: ElementData, xsd_element: 'XsdElement',
xsd_type: Optional[BaseXsdType] = None, level: int = 0) -> Any:
"""
Converts a decoded element data to a data structure.
:param data: ElementData instance decoded from an Element node.
:param xsd_element: the `XsdElement` associated to decode the data.
:param xsd_type: optional XSD type for supporting dynamic type through \
*xsi:type* or xs:alternative.
:param level: the level related to the decoding process (0 means the root).
:return: a data structure containing the decoded data.
"""
xsd_type = xsd_type or xsd_element.type
result_dict = self.dict()
xmlns = self.get_effective_xmlns(data.xmlns, level, xsd_element)
def keep_result_dict() -> bool:
"""
Decide when to keep a result dict in case of an element with simple content.
"""
if data.attributes or self.force_dict and xsd_type.is_complex():
return True
elif not xmlns or not self._use_namespaces:
return False
namespace = get_namespace(data.tag)
if any(x[1] == namespace for x in xmlns):
return True
if xsd_type.is_qname() and isinstance(data.text, str):
try:
prefix = data.text.split(':')[0]
except IndexError:
prefix = ''
if any(x[0] == prefix for x in xmlns):
return True
return False
if self._use_namespaces and xmlns:
result_dict.update(
(f'{self.ns_prefix}:{k}' if k else self.ns_prefix, v) for k, v in xmlns
)
if data.attributes:
result_dict.update(self.map_attributes(data.attributes))
xsd_group = xsd_type.model_group
if xsd_group is None or not data.content:
if keep_result_dict():
result_dict.update(self.map_attributes(data.attributes))
if data.text is not None and self.text_key is not None:
result_dict[self.text_key] = data.text
elif not level and self.preserve_root:
return self.dict([(self.map_qname(data.tag), data.text)])
else:
return data.text
else:
if data.attributes:
result_dict.update(self.map_attributes(data.attributes))
has_single_group = xsd_group.is_single()
for name, value, xsd_child in self.map_content(data.content):
try:
result = result_dict[name]
except KeyError:
if xsd_child is None or has_single_group and xsd_child.is_single():
result_dict[name] = self.list([value]) if self.force_list else value
else:
result_dict[name] = self.list([value])
else:
if not isinstance(result, MutableSequence) or not result:
result_dict[name] = self.list([result, value])
elif isinstance(result[0], MutableSequence) or \
not isinstance(value, MutableSequence):
result.append(value)
else:
result_dict[name] = self.list([result, value])
if not level and self.preserve_root:
return self.dict([(self.map_qname(data.tag), result_dict or None)])
return result_dict or None
|
(self, data: xmlschema.converters.default.ElementData, xsd_element: 'XsdElement', xsd_type: Optional[~T] = None, level: int = 0) -> Any
|
[
0.06145378574728966,
-0.01973976381123066,
0.0011410602601245046,
-0.013787972740828991,
0.04876761510968208,
0.007151416502892971,
-0.005406038369983435,
-0.029367661103606224,
0.06404868513345718,
0.019708871841430664,
0.012418442405760288,
-0.003686403390020132,
0.020182544365525246,
-0.024754507467150688,
-0.02008986845612526,
0.048808805644512177,
-0.009406507015228271,
0.044648729264736176,
-0.006343085318803787,
0.031076999381184578,
0.013098059222102165,
-0.02800842747092247,
-0.007321320939809084,
0.05123894661664963,
0.023230519145727158,
-0.0020234030671417713,
-0.005259303376078606,
-0.028379127383232117,
-0.0354636125266552,
-0.03468102589249611,
-0.03064451552927494,
-0.05342195928096771,
-0.01549731008708477,
-0.013685000129044056,
0.011244560591876507,
0.002531828125938773,
-0.03163304924964905,
0.006003276910632849,
-0.03435151278972626,
-0.004507606383413076,
-0.031076999381184578,
-0.016794759780168533,
-0.019091039896011353,
-0.0778057649731636,
0.007388252764940262,
0.005967237055301666,
0.01369529776275158,
0.07002107053995132,
-0.06804400682449341,
0.004741868004202843,
0.0771467462182045,
0.021644748747348785,
-0.004224433097988367,
0.023024575784802437,
-0.03915001451969147,
0.008500351570546627,
-0.034495674073696136,
0.08348982781171799,
0.03531945124268532,
-0.010698807425796986,
0.016485843807458878,
0.058694131672382355,
-0.02947063371539116,
0.03954131156206131,
-0.07755863666534424,
0.04769670590758324,
0.01170793455094099,
-0.0667259618639946,
-0.06557267159223557,
-0.006657150108367205,
-0.039788443595170975,
-0.0177318062633276,
-0.012480226345360279,
0.05259818211197853,
0.02815258875489235,
-0.03175661340355873,
0.05745846778154373,
-0.06783805787563324,
0.033610112965106964,
0.007810438517481089,
0.003699274966493249,
0.04419565200805664,
-0.004901474807411432,
0.00806272029876709,
0.07529324293136597,
0.012294876389205456,
0.03912942111492157,
0.05453405901789665,
0.018442314118146896,
-0.006389422807842493,
-0.011522584594786167,
0.004808799829334021,
-0.01668149046599865,
0.09127452224493027,
-0.02139761485159397,
-0.01507512480020523,
-0.0043917628936469555,
-0.043824952095746994,
-0.018607070669531822,
0.03181839734315872,
0.005509010516107082,
0.07331617921590805,
-0.04539012908935547,
-0.01932787522673607,
-0.020326705649495125,
0.05634636804461479,
-0.016249006614089012,
0.024795696139335632,
0.0267521683126688,
-0.005483267828822136,
-0.024013107642531395,
-0.0354636125266552,
-0.00665200175717473,
0.04213620722293854,
0.0051254392601549625,
-0.03531945124268532,
-0.012727359309792519,
0.023127548396587372,
-0.03247741982340813,
-0.0354430191218853,
0.041024111211299896,
0.002769951242953539,
-0.020542945712804794,
-0.001157793216407299,
-0.012562603689730167,
-0.009653639979660511,
0.051939159631729126,
0.001300667179748416,
0.04938545078039169,
0.016506437212228775,
-0.030417976900935173,
0.0033517437987029552,
-0.040632814168930054,
0.02314814180135727,
0.05123894661664963,
-0.040838759392499924,
0.02959419973194599,
-0.0031947114039212465,
-0.08287199586629868,
0.03455745801329613,
-0.0007124386611394584,
-0.018514394760131836,
0.04897356033325195,
0.014302833005785942,
-0.07455184310674667,
-0.05037398263812065,
0.06581980735063553,
0.004983852617442608,
-0.059723854064941406,
-0.028893988579511642,
-0.052639368921518326,
-0.06137140840291977,
-0.009452844969928265,
0.025969579815864563,
0.040756382048130035,
-0.02203604206442833,
0.0007356074056588113,
-0.010472268797457218,
-0.016032766550779343,
-0.0090409554541111,
-0.030891649425029755,
0.01219190377742052,
0.00677556823939085,
-0.0319831520318985,
0.016578517854213715,
0.049509014934301376,
0.011244560591876507,
-0.030067872256040573,
0.008932835422456264,
0.006569623947143555,
0.0075890482403337955,
0.039026450365781784,
-0.043124742805957794,
0.023457057774066925,
-0.022530309855937958,
0.049920905381441116,
-0.0031149080023169518,
0.05717014521360397,
0.012737656943500042,
-0.004731570836156607,
-0.011182776652276516,
0.010956238023936749,
-0.03210671991109848,
0.0049787042662501335,
-0.003356892615556717,
0.03826445713639259,
0.011018021032214165,
-0.008922537788748741,
0.024548564106225967,
0.0006561257760040462,
-0.03391902893781662,
-0.03529885783791542,
0.0288322065025568,
0.0021173651330173016,
0.006152586545795202,
-0.007063890341669321,
-0.02759653888642788,
-0.007764101028442383,
0.0092108603566885,
0.018030425533652306,
0.005668617784976959,
-0.043330684304237366,
0.0743870884180069,
0.05791154503822327,
-0.07846479117870331,
-0.00741914426907897,
-0.004329979419708252,
0.022118421271443367,
-0.06474889814853668,
0.01918371394276619,
-0.04112708196043968,
-0.01764942891895771,
0.04139481112360954,
-0.01659911312162876,
0.06165973097085953,
-0.029347065836191177,
-0.06343085318803787,
0.007583899889141321,
0.022406741976737976,
-0.06235994026064873,
0.010183947160840034,
-0.0007819448364898562,
-0.02001778781414032,
0.024136675521731377,
0.01369529776275158,
-0.01604306325316429,
0.010791482403874397,
-0.022756848484277725,
0.04802621528506279,
0.02314814180135727,
0.023189330473542213,
-0.0191219300031662,
0.018256964161992073,
-0.05609923601150513,
0.018318748101592064,
-0.026237307116389275,
0.07759982347488403,
0.006682893261313438,
0.0840664729475975,
-0.03704938292503357,
0.010688510723412037,
-0.03317762911319733,
-0.026319684460759163,
-0.015384040772914886,
-0.052145104855298996,
-0.005823075771331787,
0.06108308583498001,
0.026422657072544098,
-0.004021062981337309,
-0.06734379380941391,
-0.028729233890771866,
-0.002520243637263775,
0.019688278436660767,
0.005207817070186138,
0.040694598108530045,
-0.08855605870485306,
-0.010322959162294865,
0.010575241409242153,
0.045060619711875916,
-0.0576644130051136,
0.04526656121015549,
-0.07887667417526245,
0.042074427008628845,
0.052845314145088196,
-0.006054763216525316,
-0.04510180652141571,
0.023930730298161507,
-0.009669085964560509,
-0.012428740039467812,
0.02279803715646267,
0.04419565200805664,
-0.03877931833267212,
0.01988392509520054,
-0.0021559796296060085,
-0.01192417647689581,
0.05964147672057152,
0.006322490982711315,
-0.0025125208776444197,
0.018308451399207115,
0.015157502144575119,
-0.021171076223254204,
-0.023518841713666916,
-0.021912476047873497,
0.006842500064522028,
0.05679944530129433,
-0.03632858023047447,
-0.016846245154738426,
-0.0017234965926036239,
0.036534521728754044,
0.000016732976291677915,
-0.00009645595855545253,
0.016094548627734184,
-0.06017693132162094,
-0.013746784068644047,
-0.004461268894374371,
0.01619752123951912,
-0.0034907562658190727,
-0.04852048307657242,
0.02168593741953373,
-0.0031715426594018936,
0.006379125639796257,
0.04460754245519638,
0.10725580155849457,
0.013087761588394642,
-0.007151416502892971,
0.04370138421654701,
0.006286450661718845,
-0.02905874513089657,
0.001271706190891564,
0.010966535657644272,
-0.013406975194811821,
0.021809503436088562,
-0.009602154605090618,
0.016207817941904068,
-0.02370419166982174,
-0.005117716267704964,
0.037914350628852844,
0.020800376310944557,
0.051939159631729126,
0.051321327686309814,
-0.015662066638469696,
-0.06483127176761627,
0.0035654110834002495,
-0.011213668622076511,
0.059600286185741425,
-0.030253222212195396,
0.07352212071418762,
-0.042918797582387924,
0.09564054757356644,
-0.024651534855365753,
-0.011934474110603333,
-0.0267521683126688,
-0.0028960921335965395,
0.04011795297265053,
-0.002504797885194421,
-0.034433890134096146,
-0.009669085964560509,
-0.035690151154994965,
0.0018766677239909768,
-0.03414556756615639,
0.0068270545452833176,
0.008886497467756271,
-0.04650222882628441,
-0.004765036981552839,
0.022921603173017502,
-0.026999300345778465,
0.04497824236750603,
0.010513457469642162,
0.03181839734315872,
0.06746736168861389,
0.010739997029304504,
-0.059806231409311295,
0.02751416154205799,
0.060135744512081146,
0.018153991550207138,
-0.02959419973194599,
-0.001957758329808712,
0.049509014934301376,
0.02640206180512905,
0.03628738969564438,
0.07113316655158997,
0.006487246137112379,
-0.017134567722678185,
-0.01854528672993183,
0.0333423875272274,
-0.06606694310903549,
-0.050703492015600204,
0.08559045940637589,
0.06746736168861389,
0.003354318207129836,
0.030912242829799652,
-0.008747485466301441,
-0.044525161385536194,
-0.05852937698364258,
0.01185209583491087,
0.004288790747523308,
-0.0029604497831314802,
0.0010258601978421211,
-0.022756848484277725,
-0.04872642830014229,
-0.0014956706436350942,
0.04279522970318794,
-0.020769484341144562,
-0.022365553304553032,
0.022200798615813255,
0.01153288222849369,
0.08105968683958054,
0.00019773872918449342,
-0.024919264018535614,
0.006476948969066143,
0.02364240773022175,
0.013283409178256989,
0.003421250032261014,
-0.006389422807842493,
-0.04162134975194931,
-0.015507607720792294,
-0.023930730298161507,
0.014961855486035347,
-0.012634684331715107,
0.027267029508948326,
-0.03167423605918884,
-0.02891458384692669,
-0.003706997958943248,
-0.008088462986052036,
0.027967238798737526,
-0.024713318794965744,
0.012912709265947342,
-0.0194514412432909,
-0.017597943544387817,
0.06697309762239456,
0.024651534855365753,
-0.008109058253467083,
-0.006090803537517786,
-0.06746736168861389,
0.025125207379460335,
0.009164522401988506,
0.05964147672057152,
0.08015353232622147,
-0.003395507112145424,
-0.014076294377446175,
-0.046749360859394073,
0.0032642176374793053,
0.03167423605918884,
0.05230985954403877,
-0.03175661340355873,
-0.010585538111627102,
-0.0535043366253376,
0.0104259317740798,
-0.065366730093956,
0.0632660984992981,
0.03704938292503357,
-0.02327170968055725,
-0.07521086931228638,
-0.1320514976978302,
0.021232860162854195,
-0.010832671076059341,
-0.04279522970318794,
-0.04782027378678322,
0.031221160665154457,
-0.00882986281067133,
-0.031179970130324364,
0.06895016133785248,
0.031303536146879196,
-0.0031869884114712477,
0.02772010676562786,
0.0024893521331250668,
-0.03935595974326134,
0.08773228526115417,
-0.06347203999757767,
-0.033465951681137085,
-0.0005232273251749575,
0.0000768268873798661,
0.09078025817871094,
-0.03620501235127449,
-0.04357782006263733,
-0.04810859262943268,
0.03531945124268532,
-0.004175520967692137,
0.03363071009516716,
-0.00885560642927885,
0.011069507338106632,
-0.031736019998788834,
0.008042125962674618,
-0.020934240892529488,
-0.024280836805701256,
0.08633185923099518,
-0.02827615663409233,
-0.024363214150071144,
-0.05461643636226654,
-0.0017415167530998588,
0.035340044647455215,
-0.02903814986348152,
0.03105640411376953,
-0.038182079792022705,
0.049591392278671265,
-0.005792184267193079,
-0.026772761717438698,
-0.023333491757512093,
-0.03379546478390694,
-0.02028551697731018,
0.0319831520318985,
-0.028049618005752563,
0.018874797970056534,
-0.046172719448804855,
-0.053545523434877396,
-0.04300117492675781,
0.08468430489301682,
-0.02341586910188198,
-0.010997426696121693,
0.009844139218330383,
-0.07624059170484543,
0.04085935279726982,
0.02780248410999775,
0.024795696139335632,
0.016073955222964287,
-0.0375436507165432,
0.016341682523489,
-0.00491692079231143,
0.005349403712898493,
-0.06717903912067413,
0.022633280605077744,
-0.07290428876876831,
-0.010997426696121693,
0.013252517208456993,
0.0326421745121479,
0.026010768488049507,
-0.01024573016911745,
0.04670817404985428,
0.022056637331843376,
-0.029429445043206215,
-0.09325159341096878,
0.02835853397846222,
0.026299091055989265,
0.009504330344498158,
-0.013098059222102165,
-0.0034135272726416588,
-0.00408542063087225,
-0.0004260473360773176,
-0.00802667997777462,
-0.0285026952624321,
-0.0010303652379661798,
0.017845075577497482,
0.01855558343231678,
0.037914350628852844,
0.006966067012399435,
0.05025041475892067,
-0.06367798894643784,
-0.004427803214639425,
-0.0006551604019477963,
0.006641704589128494,
0.0035654110834002495,
-0.03132413327693939,
0.008361339569091797,
-0.004077697638422251,
0.03431032598018646,
0.02341586910188198,
0.02982073836028576,
-0.026731573045253754,
-0.0285026952624321,
0.035401828587055206,
0.029635388404130936,
0.018040722236037254,
-0.03323941305279732,
-0.04431921988725662,
-0.005704657640308142,
0.07072128355503082,
-0.016176925972104073,
0.020759187638759613,
0.0011075943475589156,
-0.0005332027212716639,
-0.043124742805957794,
0.01539433840662241,
0.07875311374664307,
0.057787977159023285,
0.01925579458475113,
-0.04176551103591919,
-0.033115848898887634,
-0.021418210119009018,
0.0100809745490551,
-0.030315004289150238,
-0.012696467339992523,
0.03871753439307213,
-0.05078586935997009,
0.001373391249217093,
0.0009846712928265333,
0.0319625586271286,
-0.011934474110603333,
0.004811374470591545,
-0.031859587877988815,
-0.031241754069924355,
-0.005890007596462965,
0.0019822141621261835,
0.0056428746320307255,
-0.04209502041339874,
0.03002668358385563,
0.04917950555682182,
-0.03023262694478035,
-0.06413106620311737,
0.03274514898657799,
-0.02654622308909893,
0.009535222314298153,
-0.0222419872879982,
0.03536064177751541,
-0.023395275697112083,
0.0375230573117733,
-0.041950859129428864,
0.02036789432168007,
0.037214141339063644,
-0.03120056539773941,
-0.03912942111492157,
-0.020131057128310204,
-0.02905874513089657,
0.013458461500704288,
0.0020465718116611242,
0.04761432856321335,
0.011151885613799095,
-0.012593495659530163,
0.02774070017039776,
-0.011429909616708755,
-0.09415774792432785,
-0.021109294146299362,
0.014477886259555817,
0.0017067636363208294,
-0.014930963516235352,
0.017464078962802887,
-0.012181607075035572,
0.0056480229832232,
0.012758251279592514,
0.0750461146235466,
0.01919401064515114,
-0.03043857216835022,
-0.033115848898887634,
0.016362275928258896,
-0.02391013689339161,
0.015651768073439598,
-0.04398970678448677,
-0.04510180652141571,
0.006034168880432844,
-0.00010844256030395627,
-0.03410438075661659,
0.03202434256672859,
0.035195887088775635,
-0.02238614857196808,
0.01890568993985653,
-0.04712006077170372,
0.022015448659658432,
0.018432017415761948,
-0.019420549273490906,
0.004927217960357666,
-0.029223499819636345,
0.07500492036342621,
0.0225920919328928,
0.05741727724671364,
-0.06754973530769348,
-0.022200798615813255,
0.044442784041166306,
0.0057406979613006115,
0.04786146059632301,
0.00434542540460825,
0.01451907493174076,
0.042712852358818054,
-0.05053873732686043,
-0.021871287375688553,
0.018679149448871613,
-0.0166711937636137,
0.030417976900935173,
0.07607583701610565,
-0.06347203999757767,
-0.011594665236771107,
0.026154929772019386,
-0.04057103395462036,
0.020769484341144562,
-0.010189095512032509,
-0.0029321322217583656,
0.05544021353125572,
0.0625658854842186,
0.023168737068772316,
-0.010024339891970158,
-0.057787977159023285,
0.027843672782182693,
0.0033285750541836023,
-0.041724320501089096,
-0.023086359724402428,
-0.005550199653953314,
0.010410485789179802,
-0.00924690067768097,
0.04905593767762184,
0.0646253302693367,
0.04526656121015549,
-0.026072552427649498,
-0.01661970652639866,
0.034578051418066025,
0.03161245211958885,
-0.00745518459007144,
-0.024630941450595856,
0.004227007273584604,
-0.006718933582305908,
-0.015373744070529938,
-0.011996257118880749,
0.0026875734329223633,
0.05589329078793526,
0.018246667459607124,
-0.021500587463378906,
-0.004891177639365196,
-0.03564896434545517,
-0.05828224495053291,
0.031715426594018936,
-0.07385163754224777,
-0.013787972740828991,
-0.13246339559555054,
-0.014879477210342884,
-0.07302785664796829,
0.03058273158967495,
-0.05156845971941948,
-0.03295109048485756,
-0.044030897319316864,
-0.007120524998754263,
-0.003410952864214778,
0.041538968682289124,
-0.021933071315288544,
0.00837163720279932,
-0.04629628360271454,
-0.009627897292375565,
-0.04600796103477478,
0.025186991319060326,
0.05544021353125572,
-0.07306904345750809,
0.012902411632239819,
0.03482518717646599,
0.04341306537389755,
-0.00452047772705555,
0.06277182698249817,
-0.048891182988882065,
-0.08806179463863373,
-0.013602622784674168,
-0.052145104855298996,
0.0005737480241805315,
0.05754084512591362,
-0.00681160856038332,
0.06689071655273438,
-0.014683830551803112,
0.06581980735063553,
0.03945893421769142,
0.030665110796689987,
-0.054740000516176224,
0.04942663758993149,
-0.015342852100729942,
0.008726891130208969,
-0.0112960459664464,
-0.0034135272726416588,
-0.006250410340726376,
0.04164194315671921,
-0.010199393145740032,
0.024486780166625977,
-0.025454718619585037,
-0.04872642830014229,
0.012974492274224758,
-0.014436697587370872,
-0.05288650095462799,
-0.03305406495928764,
0.01710367575287819,
-0.006147438194602728,
-0.04773789644241333,
0.07652891427278519,
-0.03577252849936485,
-0.005802481435239315,
0.057582031935453415,
0.032827526330947876,
-0.0222419872879982,
-0.023518841713666916,
0.031159376725554466,
-0.023992514237761497,
-0.05782916769385338,
-0.004255324602127075,
-0.009890476241707802,
0.023457057774066925,
0.0017685468774288893,
-0.010415634140372276,
-0.01539433840662241,
-0.015106015838682652,
0.002134097972884774,
0.0011796748731285334,
-0.02056354098021984,
0.008974024094641209,
-0.0023040021769702435,
0.022983387112617493,
-0.0159812793135643,
0.04431921988725662
] |
713,295
|
xmlschema.converters.unordered
|
element_encode
|
Extracts XML decoded data from a data structure for encoding into an ElementTree.
:param obj: the decoded object.
:param xsd_element: the `XsdElement` associated to the decoded data structure.
:param level: the level related to the encoding process (0 means the root).
:return: an ElementData instance.
|
@stackable
def element_encode(self, obj: Any, xsd_element: 'XsdElement', level: int = 0) -> ElementData:
"""
Extracts XML decoded data from a data structure for encoding into an ElementTree.
:param obj: the decoded object.
:param xsd_element: the `XsdElement` associated to the decoded data structure.
:param level: the level related to the encoding process (0 means the root).
:return: an ElementData instance.
"""
if level or not self.preserve_root:
element_name = None
elif not isinstance(obj, MutableMapping):
raise XMLSchemaTypeError(f"A dictionary expected, got {type(obj)} instead.")
elif len(obj) != 1:
raise XMLSchemaValueError("The dictionary must have exactly one element.")
else:
element_name, obj = next(iter(obj.items()))
if not isinstance(obj, MutableMapping):
if xsd_element.type.simple_type is not None:
return ElementData(xsd_element.name, obj, None, {}, None)
elif xsd_element.type.mixed and isinstance(obj, (str, bytes)):
return ElementData(xsd_element.name, None, [(1, obj)], {}, None)
else:
return ElementData(xsd_element.name, None, obj, {}, None)
text = None
attributes = {}
# The unordered encoding mode assumes that the values of this dict will
# all be lists where each item is the content of a single element. When
# building content_lu, content which is not a list or lists to be placed
# into a single element (element has a list content type) must be wrapped
# in a list to retain that structure. Character data are not wrapped into
# lists because they are divided from the rest of the content into the
# unordered mode generator function of the ModelVisitor class.
content_lu: Dict[Union[int, str], Any] = {}
xmlns = self.set_context(obj, level)
if element_name is not None:
tag = self.unmap_qname(element_name)
if not xsd_element.is_matching(tag, self.default_namespace):
raise XMLSchemaValueError("data tag does not match XSD element name")
for name, value in obj.items():
if name == self.text_key:
text = value
elif self.cdata_prefix is not None and \
name.startswith(self.cdata_prefix) and \
name[len(self.cdata_prefix):].isdigit():
index = int(name[len(self.cdata_prefix):])
content_lu[index] = value
elif self.is_xmlns(name):
continue
elif self.attr_prefix and \
name.startswith(self.attr_prefix) and \
name != self.attr_prefix:
attr_name = name[len(self.attr_prefix):]
ns_name = self.unmap_qname(attr_name, xsd_element.attributes)
attributes[ns_name] = value
elif not isinstance(value, MutableSequence) or not value:
ns_name = self.unmap_qname(name, xmlns=self.get_xmlns_from_data(value))
content_lu[ns_name] = [value]
elif isinstance(value[0], (MutableMapping, MutableSequence)):
ns_name = self.unmap_qname(name, xmlns=self.get_xmlns_from_data(value[0]))
content_lu[ns_name] = value
else:
# `value` is a list but not a list of lists or list of dicts.
ns_name = self.unmap_qname(name)
xsd_child = xsd_element.match_child(ns_name)
if xsd_child is not None:
if xsd_child.type and xsd_child.type.is_list():
content_lu[ns_name] = [value]
else:
content_lu[ns_name] = value
elif self.attr_prefix == '' and ns_name in xsd_element.attributes:
attributes[ns_name] = value
else:
content_lu[ns_name] = value
return ElementData(xsd_element.name, text, content_lu, attributes, xmlns)
|
(self, obj: Any, xsd_element: 'XsdElement', level: int = 0) -> xmlschema.converters.default.ElementData
|
[
0.046203240752220154,
-0.01867833361029625,
0.0007690487545914948,
-0.01898997463285923,
0.029756657779216766,
0.000009940025847754441,
-0.01672806590795517,
-0.02031696029007435,
0.05919162184000015,
-0.004332810640335083,
-0.017150290310382843,
-0.01867833361029625,
0.033033911138772964,
0.006006622686982155,
-0.018708493560552597,
0.0437905415892601,
-0.004682149738073349,
0.01880902238190174,
0.005991543177515268,
0.047007475048303604,
0.017170395702123642,
-0.03832174837589264,
-0.005247626919299364,
0.05826675146818161,
0.018386799842119217,
-0.0017743412172421813,
-0.018105316907167435,
-0.0027469617780297995,
-0.005830696318298578,
-0.011108482256531715,
0.0008325078524649143,
-0.0649418905377388,
0.0007577391806989908,
-0.03787941858172417,
0.032370418310165405,
-0.03657253831624985,
-0.02043759636580944,
0.007982022128999233,
-0.0023561541456729174,
-0.02322225645184517,
-0.029595810920000076,
-0.026499509811401367,
-0.01932172104716301,
-0.07929746806621552,
0.0194725152105093,
0.03331539407372475,
0.010907423682510853,
0.10020755231380463,
-0.027685754001140594,
0.010253983549773693,
0.06771650165319443,
0.017431771382689476,
-0.002915348159149289,
0.02468998357653618,
-0.05504981428384781,
0.022337598726153374,
-0.04282546043395996,
0.08291652053594589,
0.04354926943778992,
-0.0105354655534029,
0.00047814223216846585,
0.06096093729138374,
-0.005483870394527912,
0.014637058600783348,
-0.08653557300567627,
0.01574287936091423,
-0.014405841007828712,
-0.06683184206485748,
-0.03176724165678024,
-0.00990715716034174,
-0.03307412192225456,
-0.012857690453529358,
-0.008891811594367027,
0.06341385096311569,
-0.012073562480509281,
-0.0038276510313153267,
0.0194524098187685,
-0.03070163168013096,
0.01070636510848999,
-0.004239820875227451,
0.012706897221505642,
0.024609560146927834,
-0.00795688945800066,
0.02613760344684124,
0.08183080703020096,
0.031083643436431885,
0.006644983310252428,
0.06534401327371597,
0.0059060933999717236,
0.0064992159605026245,
-0.007755831349641085,
0.023966172710061073,
-0.023121727630496025,
0.07547736167907715,
-0.00940953753888607,
-0.023825431242585182,
-0.011862451210618019,
-0.04507731273770332,
-0.006644983310252428,
0.05436621606349945,
0.022699503228068352,
0.06293130666017532,
-0.04560006782412529,
0.0064941891469061375,
-0.04692705348134041,
0.05862865597009659,
0.008328848518431187,
-0.005644717253744602,
0.01256615575402975,
-0.018095264211297035,
-0.02161378785967827,
-0.036431800574064255,
0.03536618873476982,
0.03944767639040947,
0.004873155150562525,
-0.039186298847198486,
-0.01322964858263731,
0.026841308921575546,
-0.01185239851474762,
-0.045559853315353394,
0.054446641355752945,
0.003033470129594207,
-0.023403208702802658,
0.014667217619717121,
0.02193548157811165,
0.0066902213729918,
0.08355990797281265,
-0.0026313529815524817,
0.025715380907058716,
-0.005008869804441929,
-0.017331242561340332,
-0.01734129525721073,
-0.020889976993203163,
-0.003068655263632536,
0.0730646550655365,
-0.059794794768095016,
0.029334435239434242,
-0.03033972717821598,
-0.08307737112045288,
0.03783920779824257,
0.01997516117990017,
-0.024770407006144524,
0.04881700128316879,
0.022699503228068352,
-0.09875993430614471,
-0.03228999301791191,
0.04411223530769348,
-0.015139704570174217,
-0.06088051199913025,
-0.0406138151884079,
-0.049741871654987335,
-0.0373365618288517,
-0.04047307372093201,
0.03134502097964287,
0.009942342527210712,
-0.023121727630496025,
-0.006137310527265072,
-0.0009506297064945102,
0.012747108936309814,
0.005810590460896492,
-0.03484343737363815,
0.015712721273303032,
-0.002300863154232502,
-0.023282574489712715,
0.024730194360017776,
0.06256940215826035,
0.0121841449290514,
-0.0437905415892601,
0.008047366514801979,
-0.0034908780362457037,
0.026660356670618057,
0.01980426162481308,
-0.023182043805718422,
0.032551370561122894,
0.004491144325584173,
0.036914341151714325,
0.0071426029317080975,
0.04773128777742386,
0.0036994763650000095,
0.006775671150535345,
-0.012455573305487633,
0.027223320677876472,
0.0019502673530951142,
0.008575145155191422,
0.007218000013381243,
0.02565506473183632,
0.012968272902071476,
0.004280032590031624,
0.06369533389806747,
-0.011058216914534569,
-0.0065243481658399105,
-0.027705861255526543,
-0.0014136924874037504,
-0.013812718912959099,
-0.01982436701655388,
-0.0013910734560340643,
-0.006695247720927,
-0.04025191068649292,
-0.0034908780362457037,
0.057221248745918274,
-0.009067738428711891,
-0.039347145706415176,
0.08291652053594589,
-0.00091732939472422,
-0.03679370507597923,
-0.004538895562291145,
0.016165103763341904,
-0.011580969206988811,
-0.04757044091820717,
-0.006358474958688021,
-0.009319061413407326,
-0.04929954186081886,
0.011450281366705894,
-0.02255876362323761,
0.0632127895951271,
-0.06373554468154907,
-0.058829713612794876,
-0.01847727596759796,
0.01483811717480421,
-0.07861386984586716,
0.02062860131263733,
0.016647642478346825,
-0.03231009840965271,
-0.01152065210044384,
0.03637148067355156,
-0.04153868556022644,
0.01999526657164097,
-0.04230270907282829,
0.03600957617163658,
0.020065637305378914,
0.00023200265422929078,
-0.023443421348929405,
0.015571980737149715,
-0.03665296360850334,
0.024147124961018562,
0.003950799349695444,
0.09031547605991364,
-0.033516451716423035,
0.052194785326719284,
-0.04395138844847679,
0.005539161618798971,
-0.049581024795770645,
0.007574878633022308,
-0.012556103058159351,
-0.05324028804898262,
0.018457170575857162,
0.06759586930274963,
0.032068829983472824,
-0.025996863842010498,
-0.05886992812156677,
-0.03683391585946083,
0.023141833022236824,
-0.01420478243380785,
0.008318794891238213,
0.018296323716640472,
-0.09562341868877411,
0.016466690227389336,
0.03474290668964386,
0.029012741521000862,
-0.06184559315443039,
0.028168294578790665,
-0.0665101483464241,
0.048937637358903885,
0.0731450766324997,
0.010897370055317879,
-0.023182043805718422,
0.00827858317643404,
-0.0018308889120817184,
-0.01388308871537447,
0.01979420892894268,
-0.017562460154294968,
-0.02009579725563526,
0.009138108231127262,
0.026559827849268913,
-0.0210709311068058,
0.03600957617163658,
0.005478844046592712,
-0.00925874337553978,
-0.014888381585478783,
0.012616420164704323,
-0.021875163540244102,
-0.05408473685383797,
-0.022639187052845955,
0.020809553563594818,
0.03428047150373459,
-0.0406138151884079,
-0.014486264437437057,
-0.012918008491396904,
0.02967623434960842,
-0.016969336196780205,
-0.013531236909329891,
0.04067413508892059,
-0.06739480793476105,
0.0031164067331701517,
-0.002787173492833972,
0.009600543417036533,
-0.01136985793709755,
-0.04031222686171532,
0.02971644513309002,
0.004046302288770676,
0.02951538749039173,
0.05826675146818161,
0.11452291905879974,
0.007072232663631439,
0.004199609160423279,
0.023564055562019348,
-0.0066902213729918,
-0.008816415444016457,
-0.016124891117215157,
0.03166671469807625,
-0.00576032605022192,
0.03454184904694557,
-0.01705981232225895,
0.014395788311958313,
-0.0018497381825000048,
0.013983618468046188,
0.03224978223443031,
0.001848481479100883,
0.0503048337996006,
0.055572569370269775,
-0.010515359230339527,
-0.07704561203718185,
-0.014637058600783348,
-0.052677325904369354,
0.04483604431152344,
-0.03518523648381233,
0.10085093975067139,
-0.03880428895354271,
0.0714561864733696,
-0.027826495468616486,
-0.023925960063934326,
-0.04334821179509163,
-0.012616420164704323,
0.051873091608285904,
-0.007152656093239784,
-0.0038653495721518993,
-0.01321959588676691,
-0.02987729199230671,
-0.017763517796993256,
-0.02923390455543995,
0.019743943586945534,
0.023322785273194313,
-0.048937637358903885,
-0.009635728783905506,
0.002113627502694726,
-0.05340113490819931,
0.03651222214102745,
-0.00592619925737381,
0.017270924523472786,
0.07909641414880753,
-0.011641287244856358,
-0.03468259051442146,
0.05597468465566635,
0.03184766694903374,
0.023966172710061073,
-0.03164660558104515,
-0.014144465327262878,
0.04720853269100189,
0.017240766435861588,
0.029595810920000076,
0.06948581337928772,
-0.009650807827711105,
0.011068270541727543,
-0.034461427479982376,
0.025695275515317917,
-0.04157889634370804,
-0.04286567121744156,
0.050706952810287476,
0.039206407964229584,
0.0014199756551533937,
0.03375772014260292,
-0.010289168916642666,
-0.031867772340774536,
-0.05400431156158447,
0.003008337691426277,
0.005654769949615002,
-0.003744714427739382,
0.019603203982114792,
-0.047449804842472076,
-0.05830696225166321,
0.03812069073319435,
0.04399159923195839,
0.004913366865366697,
-0.006177522242069244,
-0.0015494070248678327,
-0.018738651648163795,
0.08364033699035645,
0.0074341376312077045,
-0.02533337101340294,
0.008404244668781757,
0.01256615575402975,
0.0000894553231773898,
0.02257886901497841,
-0.005705034825950861,
-0.04435350373387337,
-0.013410601764917374,
-0.0034607192501425743,
0.0150291221216321,
-0.0000775174776208587,
0.026700567454099655,
-0.025695275515317917,
-0.035446614027023315,
0.015421186573803425,
0.017280977219343185,
0.03339581564068794,
-0.02241802215576172,
0.008891811594367027,
-0.009766416624188423,
-0.007725672796368599,
0.10294195264577866,
0.007398952730000019,
0.0002821102098096162,
0.017291029915213585,
-0.056417014449834824,
0.01997516117990017,
-0.009228585287928581,
0.0284296702593565,
0.038723867386579514,
-0.013973565772175789,
-0.007801069412380457,
-0.04825403913855553,
0.021030718460679054,
0.01816563494503498,
0.06365511566400528,
-0.036411695182323456,
-0.019864579662680626,
-0.02728363685309887,
-0.006021701730787754,
-0.05416515842080116,
0.07020962983369827,
0.03781910240650177,
-0.03800005465745926,
-0.04371011629700661,
-0.10833031684160233,
0.02191537618637085,
-0.0067103272303938866,
-0.026720674708485603,
-0.06618845462799072,
0.032692112028598785,
0.010253983549773693,
-0.03150586783885956,
0.05714082345366478,
0.04085508733987808,
0.009183346293866634,
-0.008243397809565067,
0.009303981438279152,
-0.029455069452524185,
0.08215250074863434,
-0.03444131836295128,
0.010505306534469128,
0.035788413137197495,
0.012093668803572655,
0.06767629086971283,
-0.03100322000682354,
-0.05388367548584938,
-0.04692705348134041,
0.04459477588534355,
-0.03673338517546654,
0.008142868988215923,
-0.02352384477853775,
0.016818543896079063,
-0.033355604857206345,
0.031123854219913483,
-0.019522780552506447,
-0.046806417405605316,
0.09433664381504059,
-0.016114838421344757,
-0.0016826082719489932,
-0.04025191068649292,
0.009841813705861568,
0.04608260840177536,
-0.029173588380217552,
0.022980986163020134,
-0.041940800845623016,
0.045841336250305176,
-0.013450813479721546,
-0.04013127461075783,
-0.022357704117894173,
-0.03842227905988693,
-0.031546078622341156,
0.024770407006144524,
-0.007871439680457115,
0.05179266631603241,
-0.033818040043115616,
-0.038884714245796204,
-0.031887877732515335,
0.09304986894130707,
-0.026016969233751297,
-0.009791548363864422,
0.03914608806371689,
-0.07238105684518814,
0.03783920779824257,
-0.006016675382852554,
0.03192808851599693,
0.02388574928045273,
-0.015994202345609665,
0.002731882268562913,
-0.021794740110635757,
-0.031385231763124466,
-0.06868158280849457,
0.013340231031179428,
-0.06357469409704208,
-0.029475174844264984,
-0.00032703421311452985,
0.012837585061788559,
0.011500545777380466,
-0.01701960153877735,
0.027987342327833176,
0.019844474270939827,
-0.04270482435822487,
-0.07515566796064377,
0.0045112501829862595,
0.018095264211297035,
0.00988705176860094,
0.004913366865366697,
0.0032697138376533985,
-0.010203718207776546,
-0.0009895848343148828,
-0.010344459675252438,
-0.03862333670258522,
0.002917861333116889,
0.009298955090343952,
0.024147124961018562,
0.017140235751867294,
0.011802133172750473,
0.0487365797162056,
-0.0470879003405571,
-0.01997516117990017,
0.013159278780221939,
0.017964577302336693,
-0.016456637531518936,
-0.03978947550058365,
0.007032020948827267,
0.014134411700069904,
0.03540639951825142,
0.01818574033677578,
0.05464769899845123,
-0.03307412192225456,
0.015571980737149715,
0.04467519745230675,
0.006036781240254641,
0.02354395017027855,
-0.02547411061823368,
-0.05774400010704994,
-0.008967208676040173,
0.06031754985451698,
-0.019562991335988045,
0.015712721273303032,
-0.028489988297224045,
-0.014757693745195866,
-0.0503048337996006,
0.006082019302994013,
0.0812276303768158,
0.09345199167728424,
-0.031244490295648575,
-0.08412287384271622,
-0.014315364882349968,
-0.0006842272123321891,
0.010907423682510853,
-0.001230855006724596,
0.008962182328104973,
0.04841488599777222,
-0.04736937955021858,
-0.00942461658269167,
0.030601102858781815,
0.0552106611430645,
-0.008052392862737179,
-0.019884685054421425,
-0.028972528874874115,
0.012395256198942661,
-0.027183108031749725,
0.02418733760714531,
0.002751988125964999,
-0.02728363685309887,
0.000940576777793467,
0.024931253865361214,
-0.07012920081615448,
-0.033355604857206345,
0.023443421348929405,
-0.03791963309049606,
0.0037346614990383387,
0.0014438512735068798,
0.015481503680348396,
-0.023503737524151802,
0.08078530430793762,
-0.03631116449832916,
0.032410629093647,
0.06120220571756363,
-0.04411223530769348,
-0.046685781329870224,
-0.05211436003446579,
-0.01453652884811163,
-0.01572277396917343,
-0.02726353146135807,
0.05927204340696335,
0.016647642478346825,
-0.02983708120882511,
-0.013591554015874863,
-0.005740220192819834,
-0.08323821425437927,
-0.01608468033373356,
0.004078974016010761,
-0.01996510848402977,
0.020970400422811508,
0.03054078482091427,
-0.02290056273341179,
0.007001861929893494,
0.01639631949365139,
0.07684455811977386,
0.012877796776592731,
-0.003103840397670865,
-0.007544720079749823,
0.015431239269673824,
-0.035788413137197495,
-0.017572512850165367,
-0.048294249922037125,
-0.052797961980104446,
0.005775405094027519,
-0.011138640344142914,
-0.02859051711857319,
0.03866354748606682,
0.02042754366993904,
-0.050063565373420715,
0.0015393540961667895,
-0.04740959405899048,
-0.002021894557401538,
0.027142897248268127,
0.017894206568598747,
-0.006584665738046169,
-0.0421418622136116,
0.09192394465208054,
0.0028500042390078306,
0.06289109587669373,
-0.062408555299043655,
-0.01966352015733719,
0.04511752724647522,
-0.003521036822348833,
0.049741871654987335,
-0.012938113883137703,
0.02157357707619667,
0.04624345526099205,
-0.029656127095222473,
-0.009545251727104187,
0.032531265169382095,
-0.02173442393541336,
0.05046568065881729,
0.07897577434778214,
-0.08951123803853989,
-0.03685402125120163,
0.014576740562915802,
-0.029294222593307495,
0.026982050389051437,
0.00003516560173011385,
-0.02450903132557869,
0.056376803666353226,
0.06747522950172424,
0.00047342991456389427,
-0.011430175043642521,
-0.02076934278011322,
0.023141833022236824,
0.013903195038437843,
-0.047168321907520294,
0.003000797936692834,
-0.03387835621833801,
0.0018849234329536557,
0.010128322057425976,
0.041779953986406326,
0.040975719690322876,
0.04805298149585724,
-0.004707281943410635,
-0.04849530756473541,
0.03198840469121933,
0.009675940498709679,
-0.011440228670835495,
-0.0356878824532032,
-0.010163506492972374,
-0.005139557644724846,
-0.0011284408392384648,
-0.008982288651168346,
-0.0032822799403220415,
0.05549214407801628,
0.011973033659160137,
-0.0018296323250979185,
-0.022297387942671776,
-0.04031222686171532,
-0.07612074911594391,
0.02042754366993904,
-0.06699269264936447,
0.009796574711799622,
-0.11114513874053955,
-0.011882556602358818,
-0.09658849984407425,
0.020407436415553093,
-0.03942757099866867,
-0.03964873403310776,
-0.061443474143743515,
0.006398686673492193,
0.028650835156440735,
0.05143076181411743,
-0.011379910632967949,
0.008218266069889069,
-0.012214303947985172,
-0.0024214982986450195,
-0.04793234542012215,
0.04334821179509163,
0.03633126989006996,
-0.04238313063979149,
0.0019464975921437144,
0.06148368865251541,
0.045519642531871796,
-0.00018440833082422614,
0.08138848096132278,
-0.04443392902612686,
-0.07756836712360382,
-0.031244490295648575,
-0.027303744107484818,
0.011018005199730396,
0.048133403062820435,
-0.00641376618295908,
0.06108156964182854,
-0.02177463471889496,
0.06534401327371597,
0.030098456889390945,
0.018286269158124924,
-0.02792702428996563,
0.025574641302227974,
-0.012033350765705109,
0.02468998357653618,
-0.01993495039641857,
-0.019221192225813866,
0.02531326375901699,
0.06152389943599701,
-0.013913247734308243,
0.02788681350648403,
-0.03033972717821598,
-0.04037254676222801,
-0.0000701741300872527,
-0.02255876362323761,
-0.05416515842080116,
0.008017207495868206,
0.03639158606529236,
-0.001998018706217408,
-0.042262494564056396,
0.08142869174480438,
-0.009233611635863781,
0.008715885691344738,
0.06908369809389114,
0.02013600803911686,
-0.021855058148503304,
-0.00686112092807889,
0.016677802428603172,
-0.013269860297441483,
-0.05806569382548332,
-0.00859022419899702,
0.023946067318320274,
0.017150290310382843,
0.0033526504412293434,
0.021694211289286613,
-0.017089972272515297,
-0.02483072318136692,
-0.01607462577521801,
-0.005986516829580069,
-0.03162650018930435,
0.005101859103888273,
0.020377278327941895,
0.042624399065971375,
-0.0057452465407550335,
0.049098484218120575
] |
713,314
|
xmlschema.resources
|
XMLResource
|
XML resource reader based on ElementTree and urllib.
:param source: a string containing the XML document or file path or a URL or a file like object or an ElementTree or an Element.
:param base_url: is an optional base URL, used for the normalization of relative paths when the URL of the resource can't be obtained from the source argument. For security the access to a local file resource is always denied if the *base_url* is a remote URL.
:param allow: defines the security mode for accessing resource locations. Can be 'all', 'remote', 'local', 'sandbox' or 'none'. Default is 'all', which means all types of URLs are allowed. With 'remote' only remote resource URLs are allowed. With 'local' only file paths and URLs are allowed. With 'sandbox' only file paths and URLs that are under the directory path identified by the *base_url* argument are allowed. If you provide 'none', no resources will be allowed from any location.
:param defuse: defines when to defuse XML data using a `SafeXMLParser`. Can be 'always', 'remote', 'nonlocal' or 'never'. For default defuses only remote XML data. With 'always' all the XML data that is not already parsed is defused. With 'nonlocal' it defuses unparsed data except local files. With 'never' no XML data source is defused.
:param timeout: the timeout in seconds for the connection attempt in case of remote data.
:param lazy: if a value `False` or 0 is provided the XML data is fully loaded into and processed from memory. For default only the root element of the source is loaded, except in case the *source* argument is an Element or an ElementTree instance. A positive integer also defines the depth at which the lazy resource can be better iterated (`True` means 1).
:param thin_lazy: for default, in order to reduce the memory usage, during the iteration of a lazy resource at *lazy_depth* level, deletes also the preceding elements after the use.
:param uri_mapper: an optional URI mapper for using relocated or URN-addressed resources. Can be a dictionary or a function that takes the URI string and returns a URL, or the argument if there is no mapping for it.
|
class XMLResource:
"""
XML resource reader based on ElementTree and urllib.
:param source: a string containing the XML document or file path or a URL or a \
file like object or an ElementTree or an Element.
:param base_url: is an optional base URL, used for the normalization of relative paths \
when the URL of the resource can't be obtained from the source argument. For security \
the access to a local file resource is always denied if the *base_url* is a remote URL.
:param allow: defines the security mode for accessing resource locations. Can be \
'all', 'remote', 'local', 'sandbox' or 'none'. Default is 'all', which means all types \
of URLs are allowed. With 'remote' only remote resource URLs are allowed. With 'local' \
only file paths and URLs are allowed. With 'sandbox' only file paths and URLs that \
are under the directory path identified by the *base_url* argument are allowed. \
If you provide 'none', no resources will be allowed from any location.
:param defuse: defines when to defuse XML data using a `SafeXMLParser`. Can be \
'always', 'remote', 'nonlocal' or 'never'. For default defuses only remote XML data. \
With 'always' all the XML data that is not already parsed is defused. With 'nonlocal' \
it defuses unparsed data except local files. With 'never' no XML data source is defused.
:param timeout: the timeout in seconds for the connection attempt in case of remote data.
:param lazy: if a value `False` or 0 is provided the XML data is fully loaded into and \
processed from memory. For default only the root element of the source is loaded, \
except in case the *source* argument is an Element or an ElementTree instance. A \
positive integer also defines the depth at which the lazy resource can be better \
iterated (`True` means 1).
:param thin_lazy: for default, in order to reduce the memory usage, during the \
iteration of a lazy resource at *lazy_depth* level, deletes also the preceding \
elements after the use.
:param uri_mapper: an optional URI mapper for using relocated or URN-addressed \
resources. Can be a dictionary or a function that takes the URI string and returns \
a URL, or the argument if there is no mapping for it.
"""
# Protected attributes for data and resource location
_source: XMLSourceType
_root: ElementType
_xpath_root: Union[None, ElementNode, DocumentNode] = None
_nsmaps: Dict[ElementType, Dict[str, str]]
_xmlns: Dict[ElementType, List[Tuple[str, str]]]
_text: Optional[str] = None
_url: Optional[str] = None
_base_url: Optional[str] = None
_parent_map: Optional[ParentMapType] = None
_lazy: Union[bool, int] = False
def __init__(self, source: XMLSourceType,
base_url: Union[None, str, Path, bytes] = None,
allow: str = 'all',
defuse: str = 'remote',
timeout: int = 300,
lazy: Union[bool, int] = False,
thin_lazy: bool = True,
uri_mapper: Optional[UriMapperType] = None) -> None:
if isinstance(base_url, (str, bytes)):
if not is_url(base_url):
raise XMLSchemaValueError("'base_url' argument is not an URL")
self._base_url = base_url if isinstance(base_url, str) else base_url.decode()
elif isinstance(base_url, Path):
self._base_url = str(base_url)
elif base_url is not None:
msg = "invalid type %r for argument 'base_url'"
raise XMLSchemaTypeError(msg % type(base_url))
if not isinstance(allow, str):
msg = "invalid type %r for argument 'allow'"
raise XMLSchemaTypeError(msg % type(allow))
elif allow not in SECURITY_MODES:
msg = "'allow' argument: %r is not a security mode"
raise XMLSchemaValueError(msg % allow)
elif allow == 'sandbox' and self._base_url is None:
msg = "block access to files out of sandbox requires 'base_url' to be set"
raise XMLResourceError(msg)
self._allow = allow
if not isinstance(defuse, str):
msg = "invalid type %r for argument 'defuse'"
raise XMLSchemaTypeError(msg % type(defuse))
elif defuse not in DEFUSE_MODES:
msg = "'defuse' argument: %r is not a defuse mode"
raise XMLSchemaValueError(msg % defuse)
self._defuse = defuse
if not isinstance(timeout, int):
msg = "invalid type %r for argument 'timeout'"
raise XMLSchemaTypeError(msg % type(timeout))
elif timeout <= 0:
msg = "the argument 'timeout' must be a positive integer"
raise XMLSchemaValueError(msg)
self._timeout = timeout
if not isinstance(thin_lazy, bool):
msg = "invalid type %r for argument 'thin_lazy'"
raise XMLSchemaTypeError(msg % type(thin_lazy))
self._thin_lazy = thin_lazy
if uri_mapper is not None and not callable(uri_mapper) \
and not isinstance(uri_mapper, MutableMapping):
msg = "invalid type %r for argument 'uri_mapper'"
raise XMLSchemaTypeError(msg % type(uri_mapper))
self._uri_mapper = uri_mapper
self.parse(source, lazy)
def __repr__(self) -> str:
return '%s(root=%r)' % (self.__class__.__name__, self._root)
@property
def source(self) -> XMLSourceType:
"""The XML data source."""
return self._source
@property
def root(self) -> ElementType:
"""The XML tree root Element."""
return self._root
@property
def text(self) -> Optional[str]:
"""The XML text source, `None` if it's not available."""
return self._text
@property
def name(self) -> Optional[str]:
"""
The source name, is `None` if the instance is created from an Element or a string.
"""
return None if self._url is None else os.path.basename(unquote(self._url))
@property
def url(self) -> Optional[str]:
"""
The source URL, `None` if the instance is created from an Element or a string.
"""
return self._url
@property
def base_url(self) -> Optional[str]:
"""The effective base URL used for completing relative locations."""
return os.path.dirname(self._url) if self._url else self._base_url
@property
def filepath(self) -> Optional[str]:
"""
The resource filepath if the instance is created from a local file, `None` otherwise.
"""
if self._url:
url_parts = urlsplit(self._url)
if url_parts.scheme in ('', 'file'):
return str(LocationPath.from_uri(self._url))
return None
@property
def allow(self) -> str:
"""The security mode for accessing resource locations."""
return self._allow
@property
def defuse(self) -> str:
"""When to defuse XML data."""
return self._defuse
@property
def timeout(self) -> int:
"""The timeout in seconds for accessing remote resources."""
return self._timeout
@property
def uri_mapper(self) -> Optional[UriMapperType]:
"""The optional URI mapper argument for relocating addressed resources."""
return self._uri_mapper
@property
def lazy_depth(self) -> int:
"""
The depth at which the XML tree of the resource is fully loaded during iterations
methods. Is a positive integer for lazy resources and 0 for fully loaded XML trees.
"""
return int(self._lazy)
@property
def namespace(self) -> str:
"""The namespace of the XML resource."""
return get_namespace(self._root.tag)
@property
def parent_map(self) -> Dict[ElementType, Optional[ElementType]]:
if self._lazy:
raise XMLResourceError("cannot create the parent map of a lazy XML resource")
if self._parent_map is None:
self._parent_map = {child: elem for elem in self._root.iter() for child in elem}
|
(source: Optional[~T], base_url: Union[NoneType, str, pathlib.Path, bytes] = None, allow: str = 'all', defuse: str = 'remote', timeout: int = 300, lazy: Union[bool, int] = False, thin_lazy: bool = True, uri_mapper: Optional[~T] = None) -> None
|
[
0.037798620760440826,
-0.045079831033945084,
-0.014980190433561802,
-0.011210275813937187,
0.01417448278516531,
0.022022670134902,
0.019585654139518738,
0.029741548001766205,
0.009648595936596394,
-0.06059715896844864,
0.023892708122730255,
0.027473630383610725,
0.028488224372267723,
0.03586890175938606,
-0.036744240671396255,
0.05196315795183182,
-0.036008160561323166,
0.01048414409160614,
-0.020431149750947952,
-0.015835633501410484,
-0.04862096533179283,
-0.008554425090551376,
0.010523932054638863,
0.010364780202507973,
0.012224869802594185,
0.03871374577283859,
0.0024146356154233217,
-0.013567715883255005,
0.008350511081516743,
-0.03141264244914055,
-0.01866058260202408,
-0.026638081297278404,
0.008524583652615547,
-0.03829597309231758,
0.0395691879093647,
0.013239464722573757,
-0.025006772950291634,
0.072493776679039,
0.0016586632700636983,
-0.031432539224624634,
-0.018590953201055527,
-0.023534616455435753,
-0.02259959653019905,
-0.054827895015478134,
0.014771303161978722,
0.05737432837486267,
-0.02138606272637844,
0.05168464034795761,
-0.034217700362205505,
-0.044045340269804,
0.04094187542796135,
0.049973756074905396,
-0.0335015170276165,
0.06242740899324417,
-0.03992728143930435,
0.04424428194761276,
-0.06374040991067886,
0.1161014512181282,
0.0339391827583313,
-0.017029274255037308,
0.030935188755393028,
0.02755320630967617,
0.038375549018383026,
-0.004903873894363642,
-0.047029443085193634,
0.00690322183072567,
-0.025643380358815193,
-0.04603474214673042,
-0.015059766359627247,
0.06421787291765213,
-0.005005830433219671,
0.007808399386703968,
-0.008365431800484657,
0.03222829848527908,
0.05594196170568466,
-0.022261399775743484,
-0.010732819326221943,
-0.02313673496246338,
-0.009409867227077484,
-0.021326379850506783,
0.01532833557575941,
0.01806376315653324,
-0.007266287691891193,
-0.0592045783996582,
0.05049100145697594,
0.00561011116951704,
0.023116841912269592,
-0.018073709681630135,
0.022221611812710762,
0.04241403192281723,
-0.039012156426906586,
0.09254693984985352,
-0.04024558514356613,
-0.011299798265099525,
0.051764216274023056,
-0.026100942865014076,
-0.03773894160985947,
-0.06366083770990372,
0.011468897573649883,
-0.011737466789782047,
-0.017297843471169472,
0.04126017913222313,
-0.05347510427236557,
-0.011946354061365128,
0.02892589196562767,
0.004423930775374174,
-0.0049461484886705875,
0.011021282523870468,
0.049177996814250946,
-0.0008815533947199583,
-0.017526624724268913,
-0.10464250296354294,
0.022778643295168877,
0.07901901751756668,
-0.007062374148517847,
-0.023375462740659714,
-0.06258656084537506,
0.005162496119737625,
0.024628786370158195,
-0.03771904483437538,
0.046074531972408295,
-0.017566412687301636,
-0.06405871361494064,
0.027155326679348946,
0.029542606323957443,
0.02039136178791523,
0.03630657121539116,
0.013030577450990677,
0.04452279955148697,
-0.03272565081715584,
0.007619406562298536,
0.016422506421804428,
-0.0022318593692034483,
0.00865886826068163,
0.03346172720193863,
-0.049177996814250946,
-0.024569103494286537,
0.08594212681055069,
-0.09549125283956528,
0.030179215595126152,
0.024907302111387253,
-0.002159743569791317,
0.0013975542970001698,
-0.008619080297648907,
-0.050132907927036285,
-0.07010649889707565,
-0.0010195680661126971,
-0.02208235301077366,
-0.043488308787345886,
0.0002615751582197845,
0.009583939798176289,
-0.08371400088071823,
-0.039967067539691925,
0.012075665406882763,
0.001975724007934332,
0.016382718458771706,
-0.033899396657943726,
0.0069131688214838505,
0.0025936816819012165,
-0.07094204425811768,
-0.04440343379974365,
-0.0259218979626894,
-0.017178479582071304,
-0.026120837777853012,
0.002287811366841197,
0.005177416373044252,
-0.00731104938313365,
-0.07010649889707565,
0.03447632119059563,
-0.0067042820155620575,
-0.007306075654923916,
0.007853160612285137,
-0.04094187542796135,
0.030955081805586815,
0.00984256248921156,
0.05096845701336861,
0.04858117550611496,
-0.003605789504945278,
-0.018909258767962456,
0.07265292853116989,
-0.009877377189695835,
-0.015746111050248146,
-0.02381313219666481,
-0.022102246060967445,
0.022639384493231773,
0.039171308279037476,
0.0173276849091053,
-0.0064357127994298935,
0.04340873286128044,
0.018212968483567238,
-0.03807713836431503,
-0.04052410274744034,
0.017844928428530693,
0.012503386475145817,
-0.023315781727433205,
-0.003956421744078398,
-0.018461642786860466,
-0.029900699853897095,
0.04730796068906784,
0.07862113416194916,
-0.0592045783996582,
0.032367557287216187,
0.0467907153069973,
0.009678436443209648,
-0.002822462935000658,
-0.004302079789340496,
-0.039967067539691925,
-0.013338934630155563,
-0.06521257013082504,
0.033899396657943726,
-0.03618720546364784,
-0.00031985840178094804,
-0.006614758633077145,
0.00022380762675311416,
0.03988749161362648,
-0.04862096533179283,
-0.07241420447826385,
0.008524583652615547,
-0.04822308570146561,
-0.021008076146245003,
0.05785178393125534,
0.027951085940003395,
0.006390951108187437,
-0.07145928591489792,
0.03272565081715584,
-0.026797233149409294,
0.04368725046515465,
-0.03381982073187828,
-0.009564045816659927,
0.030795929953455925,
0.041857000440359116,
0.0019235021900385618,
0.0905575379729271,
0.02460889145731926,
0.07118077576160431,
-0.051923371851444244,
0.03330257534980774,
0.032168615609407425,
0.010961600579321384,
-0.005252019036561251,
-0.01156836748123169,
-0.02371366135776043,
-0.01406506635248661,
-0.07038501650094986,
-0.042811911553144455,
-0.008161517791450024,
-0.00424985820427537,
0.030795929953455925,
-0.01135948020964861,
-0.05813030153512955,
0.008365431800484657,
0.021943094208836555,
-0.07372720539569855,
-0.02629988268017769,
0.025941791012883186,
-0.055981747806072235,
-0.03328268229961395,
0.011080964468419552,
0.010842236690223217,
-0.025643380358815193,
0.030437838286161423,
-0.03676413372159004,
0.02208235301077366,
0.09851514548063278,
-0.036226995289325714,
-0.02429058775305748,
-0.0170392207801342,
-0.04627346992492676,
-0.057613056153059006,
0.007077294401824474,
0.07627364248037338,
0.02566327527165413,
-0.0022753775119781494,
0.03879332169890404,
-0.018392013385891914,
-0.011071017012000084,
-0.008300776593387127,
-0.04034505411982536,
0.009454629383981228,
-0.015736162662506104,
-0.013100206851959229,
-0.017059115692973137,
0.02265927940607071,
0.023196417838335037,
0.035272084176540375,
-0.09103499352931976,
-0.053872983902692795,
0.047188594937324524,
-0.030278686434030533,
-0.01145895104855299,
-0.018292544409632683,
0.012582962401211262,
-0.035490915179252625,
-0.035172611474990845,
0.04336894676089287,
-0.019406607374548912,
-0.059244368225336075,
-0.02026205137372017,
-0.00627158721908927,
-0.010424462147057056,
0.0029617210384458303,
-0.010822342708706856,
0.08403230458498001,
0.02297758311033249,
-0.024409951642155647,
-0.0081963324919343,
0.011011335067451,
-0.01693974994122982,
0.015179131180047989,
0.041339755058288574,
0.02972165308892727,
-0.01882968284189701,
-0.012990789487957954,
-0.02645903453230858,
0.01585552655160427,
-0.002422095974907279,
0.025941791012883186,
0.013428458012640476,
0.041538696736097336,
0.040703147649765015,
-0.0612337663769722,
0.04189678654074669,
0.0059781502932310104,
-0.03224819153547287,
0.012115453369915485,
-0.0062218522652983665,
0.047228384763002396,
0.04822308570146561,
0.006803751923143864,
-0.01043440867215395,
-0.06895264238119125,
0.011667837388813496,
-0.032526709139347076,
0.028806528076529503,
-0.022480232641100883,
0.01345829851925373,
0.003655524691566825,
-0.059085212647914886,
0.04488088935613632,
-0.05053078755736351,
0.05248040333390236,
0.03660498186945915,
-0.018193073570728302,
-0.020590301603078842,
-0.007440360262989998,
-0.0366845577955246,
0.02196298912167549,
-0.025802532210946083,
0.04571643844246864,
-0.010444356128573418,
-0.021087652072310448,
-0.03155190125107765,
0.014950349926948547,
0.01838206686079502,
0.019933799281716347,
-0.06421787291765213,
-0.017297843471169472,
0.0012489708606153727,
0.029224302619695663,
0.03608773648738861,
0.0052818600088357925,
-0.009111457504332066,
-0.05259976536035538,
-0.006868407595902681,
0.005838892422616482,
-0.030736247077584267,
0.03835565596818924,
0.012264657765626907,
0.005351488944143057,
-0.0479445680975914,
0.021525319665670395,
-0.05379340797662735,
-0.06461574882268906,
-0.07671131193637848,
0.045756228268146515,
-0.035172611474990845,
0.017208319157361984,
0.019098250195384026,
-0.016293196007609367,
-0.0093501852825284,
0.03807713836431503,
0.0720561072230339,
-0.009922138415277004,
-0.028528012335300446,
-0.041299968957901,
-0.0912737250328064,
0.0197149645537138,
0.013915861025452614,
-0.01494040247052908,
0.07014628499746323,
0.04436364397406578,
0.010394620709121227,
0.0001259694981854409,
0.01633298397064209,
0.005296780727803707,
-0.04269254952669144,
0.021943094208836555,
0.011787202209234238,
0.033481620252132416,
-0.0093501852825284,
-0.015368123538792133,
0.004309540148824453,
-0.018620794638991356,
0.0358092226088047,
0.022062458097934723,
0.004172768909484148,
0.08785195648670197,
-0.0000013550852600019425,
0.00023717392468824983,
0.039907388389110565,
-0.014870774000883102,
-0.0502522736787796,
-0.02576274424791336,
-0.029801229014992714,
-0.005202284082770348,
-0.021326379850506783,
0.019963640719652176,
0.04456258565187454,
0.012891319580376148,
-0.015258707106113434,
-0.026439141482114792,
0.024588998407125473,
0.06362105160951614,
-0.012433757074177265,
-0.027513418346643448,
-0.017178479582071304,
-0.013378722593188286,
-0.025722956284880638,
-0.08172459900379181,
0.05049100145697594,
0.021326379850506783,
0.01085218321532011,
-0.04305063933134079,
-0.08355484902858734,
0.047387536615133286,
-0.008280882611870766,
-0.013557768426835537,
-0.047387536615133286,
0.022301187738776207,
-0.02707574889063835,
-0.013617451302707195,
0.0038619250990450382,
0.04440343379974365,
0.04452279955148697,
0.0010686814785003662,
-0.024588998407125473,
-0.06616748124361038,
0.05932394415140152,
-0.005271913018077612,
-0.007296128664165735,
-0.03475483879446983,
0.011021282523870468,
0.04758647456765175,
-0.027354266494512558,
-0.12931106984615326,
-0.03879332169890404,
0.03620710223913193,
-0.002919446211308241,
-0.04388618841767311,
0.010384674184024334,
0.041021451354026794,
-0.02102797105908394,
0.04663156345486641,
-0.05009312182664871,
-0.07432402670383453,
0.03346172720193863,
0.018083656206727028,
0.006933062803000212,
-0.0050804330967366695,
-0.01652197726070881,
0.02150542661547661,
0.0028945787344127893,
-0.012990789487957954,
-0.0361076295375824,
0.007524909917265177,
0.004650225397199392,
-0.01975475437939167,
0.008002365939319134,
0.02381313219666481,
-0.04893926903605461,
0.028647376224398613,
-0.0055056675337255,
0.08912517130374908,
-0.0031009791418910027,
-0.05363425612449646,
-0.05789157375693321,
0.09238778799772263,
-0.03483441472053528,
-0.0012527010403573513,
0.027374159544706345,
-0.039330460131168365,
0.03415801748633385,
0.021684473380446434,
0.006012964993715286,
0.0101807601749897,
-0.03477473184466362,
-0.0007503772503696382,
0.037798620760440826,
0.02423090673983097,
-0.05443001538515091,
-0.010131025686860085,
-0.08697661757469177,
0.01499013788998127,
0.04527876898646355,
0.047069232910871506,
0.04603474214673042,
-0.03555059805512428,
0.042493607848882675,
0.021664578467607498,
-0.024409951642155647,
-0.011130699887871742,
-0.021008076146245003,
0.07010649889707565,
0.01401533093303442,
-0.005754342768341303,
-0.0077238501980900764,
0.02691659703850746,
0.0665653645992279,
0.0035162665881216526,
-0.06047779694199562,
0.03976812958717346,
0.049973756074905396,
0.0436076745390892,
-0.03352141007781029,
-0.007654220797121525,
0.00939494650810957,
-0.010235468856990337,
0.011817042715847492,
-0.02508634887635708,
0.019058462232351303,
0.03399886563420296,
-0.06569002568721771,
0.015557116828858852,
-0.07547788321971893,
0.05311701074242592,
0.062148891389369965,
-0.004692499991506338,
-0.05196315795183182,
-0.0067042820155620575,
0.0037922959309071302,
0.024728257209062576,
0.04790477827191353,
-0.035650067031383514,
0.00498593645170331,
-0.01636282540857792,
-0.05172443017363548,
0.007325969636440277,
0.057453904300928116,
0.004068325273692608,
-0.028567800298333168,
0.05427086353302002,
-0.01796429231762886,
0.0463530458509922,
0.02001337520778179,
0.01364729180932045,
-0.04026547819375992,
0.03968855366110802,
-0.033959079533815384,
0.022997478023171425,
0.016770651564002037,
0.029005469754338264,
0.0194961316883564,
-0.08713576942682266,
0.0024830212350934744,
0.05216209962964058,
0.006873380858451128,
0.03905194625258446,
-0.03650551289319992,
-0.016760705038905144,
-0.009827641770243645,
0.02419111877679825,
0.04157848283648491,
0.004590542986989021,
0.0030984922777861357,
0.007271261420100927,
0.015228865668177605,
-0.011747414246201515,
-0.006291481200605631,
0.0752391517162323,
0.0002709004911594093,
0.08387315273284912,
-0.013139994814991951,
0.0022990016732364893,
-0.06724175810813904,
0.027652675285935402,
-0.022798536345362663,
0.0017046681605279446,
0.08124714344739914,
-0.0050978404469788074,
-0.03513282537460327,
-0.039171308279037476,
-0.04229466989636421,
-0.012682432308793068,
-0.03905194625258446,
0.011240116320550442,
0.010772607289254665,
0.03596837446093559,
-0.03803734853863716,
0.02150542661547661,
-0.02860758826136589,
-0.02633967064321041,
0.00846987497061491,
-0.020451044663786888,
0.004794456996023655,
-0.017815086990594864,
0.004886466544121504,
-0.054987046867609024,
0.00446620536968112,
-0.01006636954843998,
0.03761957585811615,
0.02930387854576111,
-0.060875676572322845,
0.02777204103767872,
-0.0146220987662673,
-0.05065015330910683,
-0.022480232641100883,
-0.06771921366453171,
0.03302405774593353,
-0.030756141990423203,
-0.0405837818980217,
-0.017148638144135475,
0.028269389644265175,
0.012115453369915485,
0.027752146124839783,
-0.059880975633859634,
0.012990789487957954,
-0.010394620709121227,
-0.02407175488770008,
-0.04941672459244728,
0.04098166525363922,
0.06863433867692947,
-0.028229601681232452,
0.04746711254119873,
-0.006107461638748646,
-0.012204975821077824,
0.041857000440359116,
0.08848856389522552,
0.05379340797662735,
0.02240065671503544,
-0.027433842420578003,
0.029204409569501877,
-0.006022911984473467,
-0.04464216157793999,
-0.00032607527100481093,
-0.0444830097258091,
0.035431236028671265,
0.049138206988573074,
-0.039589084684848785,
0.005266939755529165,
0.010772607289254665,
-0.010862130671739578,
0.03489409759640694,
0.03266596794128418,
-0.011269957758486271,
0.013110153377056122,
0.050292059779167175,
-0.03572964295744896,
0.005625031888484955,
0.01828259602189064,
0.054390229284763336,
-0.019794542342424393,
-0.012185081839561462,
0.01709890365600586,
0.000028014808776788414,
-0.028945786878466606,
0.0017892176983878016,
0.01962544210255146,
-0.015606852248311043,
-0.017009379342198372,
0.03187020495533943,
-0.0385545939207077,
0.013040524907410145,
0.05248040333390236,
-0.018332332372665405,
-0.019247455522418022,
-0.04126017913222313,
-0.016452347859740257,
-0.0200034286826849,
-0.049138206988573074,
0.03678402677178383,
0.03598826751112938,
0.05049100145697594,
-0.024111542850732803,
-0.0035908690188080072,
-0.011369427666068077,
0.04472173750400543,
-0.006992745213210583,
-0.05065015330910683,
0.02691659703850746,
-0.03871374577283859,
-0.010374726727604866,
-0.010384674184024334,
0.016183778643608093,
0.01978459395468235,
-0.022937795147299767,
-0.04432385787367821,
-0.008877702988684177,
-0.02618051879107952,
0.043130215257406235,
-0.0329245887696743,
0.044045340269804,
-0.022420551627874374,
-0.0017456995556131005,
-0.032526709139347076,
-0.015935102477669716,
0.017884716391563416,
-0.03773894160985947,
0.028329072520136833,
0.03752010688185692,
0.08379357308149338,
0.036803919821977615,
0.028886104002594948,
0.04400555416941643,
-0.047705840319395065,
-0.02703596092760563,
-0.016263354569673538,
0.023514721542596817,
0.023614192381501198,
-0.028488224372267723,
0.03087550587952137,
-0.006251693237572908,
-0.013338934630155563,
0.029224302619695663,
-0.03775883466005325,
-0.00933029130101204,
0.06306401640176773,
0.00711210910230875,
-0.02544444054365158,
0.03819650039076805,
0.006754016969352961,
0.02212214097380638,
0.053037434816360474,
-0.03935035318136215,
0.0015119449235498905,
0.03897237032651901,
-0.07770600914955139,
0.05900563672184944,
-0.004326947499066591,
-0.004237424582242966,
0.0026633108500391245,
0.027175219729542732,
0.011518632993102074,
-0.0644168108701706,
0.01627330109477043,
-0.019665230065584183,
0.013736815191805363,
0.04277212545275688,
0.019695071503520012,
-0.007117082830518484,
0.02755320630967617,
-0.010131025686860085,
-0.022738855332136154,
-0.005699634086340666,
0.050610367208719254,
0.025464335456490517,
-0.03344183415174484,
0.009554099291563034,
0.011279904283583164,
-0.029741548001766205,
-0.04758647456765175,
-0.022261399775743484,
-0.005570323206484318,
-0.012642644345760345,
0.010474196635186672,
0.05072972923517227,
0.0612337663769722,
0.0002931258350145072,
0.057135600596666336
] |
713,315
|
xmlschema.resources
|
__init__
| null |
def __init__(self, source: XMLSourceType,
base_url: Union[None, str, Path, bytes] = None,
allow: str = 'all',
defuse: str = 'remote',
timeout: int = 300,
lazy: Union[bool, int] = False,
thin_lazy: bool = True,
uri_mapper: Optional[UriMapperType] = None) -> None:
if isinstance(base_url, (str, bytes)):
if not is_url(base_url):
raise XMLSchemaValueError("'base_url' argument is not an URL")
self._base_url = base_url if isinstance(base_url, str) else base_url.decode()
elif isinstance(base_url, Path):
self._base_url = str(base_url)
elif base_url is not None:
msg = "invalid type %r for argument 'base_url'"
raise XMLSchemaTypeError(msg % type(base_url))
if not isinstance(allow, str):
msg = "invalid type %r for argument 'allow'"
raise XMLSchemaTypeError(msg % type(allow))
elif allow not in SECURITY_MODES:
msg = "'allow' argument: %r is not a security mode"
raise XMLSchemaValueError(msg % allow)
elif allow == 'sandbox' and self._base_url is None:
msg = "block access to files out of sandbox requires 'base_url' to be set"
raise XMLResourceError(msg)
self._allow = allow
if not isinstance(defuse, str):
msg = "invalid type %r for argument 'defuse'"
raise XMLSchemaTypeError(msg % type(defuse))
elif defuse not in DEFUSE_MODES:
msg = "'defuse' argument: %r is not a defuse mode"
raise XMLSchemaValueError(msg % defuse)
self._defuse = defuse
if not isinstance(timeout, int):
msg = "invalid type %r for argument 'timeout'"
raise XMLSchemaTypeError(msg % type(timeout))
elif timeout <= 0:
msg = "the argument 'timeout' must be a positive integer"
raise XMLSchemaValueError(msg)
self._timeout = timeout
if not isinstance(thin_lazy, bool):
msg = "invalid type %r for argument 'thin_lazy'"
raise XMLSchemaTypeError(msg % type(thin_lazy))
self._thin_lazy = thin_lazy
if uri_mapper is not None and not callable(uri_mapper) \
and not isinstance(uri_mapper, MutableMapping):
msg = "invalid type %r for argument 'uri_mapper'"
raise XMLSchemaTypeError(msg % type(uri_mapper))
self._uri_mapper = uri_mapper
self.parse(source, lazy)
|
(self, source: Optional[~T], base_url: Union[NoneType, str, pathlib.Path, bytes] = None, allow: str = 'all', defuse: str = 'remote', timeout: int = 300, lazy: Union[bool, int] = False, thin_lazy: bool = True, uri_mapper: Optional[~T] = None) -> NoneType
|
[
-0.007333733141422272,
-0.060446593910455704,
0.023456605151295662,
-0.008392210118472576,
-0.012815131805837154,
0.029712960124015808,
0.015678688883781433,
0.04199885204434395,
-0.009828714653849602,
-0.028144145384430885,
0.007574725430458784,
0.048916757106781006,
0.029164819046854973,
0.04063795506954193,
-0.023929139599204063,
0.05935031548142433,
-0.004671001806855202,
0.032415855675935745,
0.014185480773448944,
-0.015669239684939384,
-0.045854732394218445,
-0.0038865949027240276,
-0.004106323700398207,
0.027123471722006798,
0.026613134890794754,
0.08792918920516968,
-0.005826348438858986,
-0.020791511982679367,
0.004961610771715641,
-0.031206168234348297,
0.009412883780896664,
0.01755937561392784,
0.024704094976186752,
0.010055530816316605,
0.04736684262752533,
0.018220923840999603,
-0.01166214793920517,
0.08467815816402435,
-0.03785945102572441,
-0.02158536948263645,
-0.027577104046940804,
-0.0388612262904644,
-0.03353103622794151,
0.0028493821155279875,
0.009233321063220501,
0.03861550614237785,
-0.03617722913622856,
0.040524546056985855,
-0.040864769369363785,
-0.024307167157530785,
0.003702306654304266,
0.09329718351364136,
-0.02428826503455639,
0.029070312157273293,
-0.039125844836235046,
0.046762000769376755,
-0.037273507565259933,
0.13276325166225433,
0.04165862873196602,
0.04487186297774315,
0.0037471973337233067,
0.057460177689790726,
0.054398152977228165,
-0.034135881811380386,
-0.018031910061836243,
-0.0064973472617566586,
-0.06751570850610733,
-0.06532315164804459,
-0.020697005093097687,
0.0854342132806778,
0.024061448872089386,
0.022776154801249504,
-0.011425880715250969,
0.045476704835891724,
0.09443126618862152,
-0.01144478190690279,
-0.01832488179206848,
0.0025611361488699913,
-0.01592440716922283,
-0.03315300866961479,
0.051033709198236465,
-0.00017764337826520205,
-0.03487303480505943,
-0.050504472106695175,
0.038369789719581604,
0.0227950569242239,
0.004347315989434719,
-0.02438277192413807,
0.03991970047354698,
0.04453163594007492,
-0.036593060940504074,
0.037368014454841614,
-0.05500299856066704,
-0.025497952476143837,
0.03173540532588959,
0.0015948034124448895,
-0.035345569252967834,
-0.04094037413597107,
0.011265219189226627,
-0.0035534582566469908,
-0.04642177373170853,
-0.0000017350870393784135,
-0.08430013060569763,
-0.008609576150774956,
0.044115807861089706,
0.0004893683944828808,
0.023191986605525017,
-0.017115194350481033,
0.022001199424266815,
0.007333733141422272,
-0.008344956673681736,
-0.07779805362224579,
0.017965756356716156,
0.0657767802476883,
-0.00882694125175476,
0.002405199920758605,
-0.007603077683597803,
0.013136454857885838,
-0.006691086571663618,
-0.021093932911753654,
0.02893800288438797,
0.010197291150689125,
-0.04377558082342148,
0.03861550614237785,
0.07511405646800995,
0.022228015586733818,
0.03878561779856682,
-0.028578877449035645,
0.07946137338876724,
0.006114594638347626,
0.009554644115269184,
0.030884845182299614,
-0.018466642126441002,
0.020470187067985535,
-0.009866517037153244,
-0.020942721515893936,
-0.02778501994907856,
0.06513413786888123,
-0.0796881914138794,
-0.0067761423997581005,
-0.008751336485147476,
0.02126404643058777,
0.02922152355313301,
-0.050655681639909744,
-0.04619495943188667,
-0.039088040590286255,
0.0011842892272397876,
-0.04808509349822998,
-0.018844669684767723,
0.054398152977228165,
0.021944494917988777,
-0.07938577234745026,
-0.04456944018602371,
-0.004250446334481239,
-0.0223225224763155,
-0.00023789150873199105,
-0.014865930192172527,
-0.004744244739413261,
0.027652710676193237,
-0.02731248550117016,
-0.037122298032045364,
-0.002658005803823471,
-0.00966805312782526,
-0.024250462651252747,
-0.012503258883953094,
-0.022039001807570457,
-0.017748389393091202,
-0.053528692573308945,
0.033946868032217026,
-0.011775556020438671,
-0.007536923047155142,
-0.00030655667069368064,
-0.02101832814514637,
0.052470214664936066,
0.04180983826518059,
0.024099251255393028,
0.04358656704425812,
0.005660961382091045,
-0.038369789719581604,
0.04082696884870529,
0.02379683032631874,
0.0049474346451461315,
-0.020167766138911247,
-0.01880686730146408,
-0.0034589513670653105,
0.0475180521607399,
-0.006558776833117008,
0.022039001807570457,
0.01645364612340927,
0.04358656704425812,
-0.015111648477613926,
-0.04135620594024658,
0.004555230960249901,
-0.017549926415085793,
-0.013023046776652336,
-0.03475962579250336,
-0.025176629424095154,
-0.004961610771715641,
-0.013741298578679562,
0.08384649455547333,
-0.04536329582333565,
0.02005435712635517,
0.013712946325540543,
-0.0011193157406523824,
0.011028951965272427,
-0.009568820707499981,
-0.03630954027175903,
-0.022190213203430176,
-0.058329638093709946,
-0.0023390450514853,
-0.010036629624664783,
-0.026235107332468033,
-0.02092382125556469,
0.005949207581579685,
-0.004068520851433277,
-0.028011836111545563,
-0.06808274984359741,
0.016860025003552437,
-0.016255181282758713,
0.00325812422670424,
0.09533853083848953,
0.0168033204972744,
0.016831673681735992,
-0.07088015228509903,
0.08702192455530167,
0.024458378553390503,
0.026518628001213074,
-0.07137158513069153,
-0.05194097384810448,
0.0028541074134409428,
0.0044370973482728004,
-0.017597179859876633,
0.06664624065160751,
0.032850589603185654,
0.05575905367732048,
-0.04218786582350731,
0.06509633362293243,
0.027028964832425117,
-0.021150637418031693,
-0.0027336112689226866,
0.03496754169464111,
-0.0030124064069241285,
0.007380986586213112,
-0.05693093687295914,
-0.046383973211050034,
-0.01808861456811428,
-0.053717706352472305,
0.01175665482878685,
-0.0022421753965318203,
-0.009743657894432545,
-0.0044654496014118195,
0.029334932565689087,
-0.07462262362241745,
-0.01986534334719181,
-0.007201423402875662,
-0.04207445681095123,
-0.042263470590114594,
-0.017672784626483917,
0.005367990117520094,
-0.051751960068941116,
0.010216192342340946,
-0.05670412257313728,
0.010187840089201927,
0.08361967653036118,
-0.02317308448255062,
-0.037651535123586655,
0.003069110680371523,
-0.03920144960284233,
-0.0016550516011193395,
0.027388090267777443,
0.06887660920619965,
0.023399900645017624,
0.00476078363135457,
0.052470214664936066,
-0.016018914058804512,
-0.04044894129037857,
-0.04933258518576622,
-0.05681753158569336,
0.046951014548540115,
-0.02682104893028736,
0.018589500337839127,
-0.011737753637135029,
0.04430482164025307,
0.024930913001298904,
0.002575312275439501,
-0.05817842856049538,
-0.042263470590114594,
0.029297130182385445,
-0.06400005519390106,
-0.03608272224664688,
-0.024496180936694145,
0.057989414781332016,
-0.037368014454841614,
-0.048198502510786057,
0.003976376727223396,
0.007518021389842033,
-0.02428826503455639,
-0.01125576812773943,
-0.02048908919095993,
0.003907858859747648,
-0.030393408611416817,
-0.038558803498744965,
0.052092187106609344,
0.03804846480488777,
-0.021963397040963173,
-0.033285319805145264,
-0.006676910445094109,
-0.04880334809422493,
0.03950387239456177,
0.03897463157773018,
0.04339755326509476,
0.012153583578765392,
-0.02500651776790619,
-0.04309513419866562,
0.04218786582350731,
0.017644433304667473,
0.0024264638777822256,
-0.0062941573560237885,
0.030771436169743538,
0.03440050035715103,
-0.06683525443077087,
0.031111661344766617,
-0.00700768455862999,
-0.04044894129037857,
-0.02553575672209263,
0.029599551111459732,
0.010924994014203548,
0.030695831403136253,
-0.038653310388326645,
0.014450100250542164,
-0.08407331258058548,
0.062223322689533234,
0.017049038782715797,
0.021282946690917015,
-0.047140028327703476,
-0.02307857759296894,
-0.012181935831904411,
-0.05738457292318344,
0.042452484369277954,
-0.019884245470166206,
0.037689339369535446,
0.027236878871917725,
0.012531611137092113,
-0.039806295186281204,
0.0002768755948636681,
-0.05001303553581238,
0.012096879072487354,
-0.06558776646852493,
0.09057538211345673,
-0.042490288615226746,
-0.03090374544262886,
-0.0398440957069397,
0.021717678755521774,
0.02610279805958271,
0.05606147646903992,
-0.04487186297774315,
-0.02179328352212906,
-0.008118140511214733,
0.023191986605525017,
0.012805680744349957,
0.022662747651338577,
-0.025875980034470558,
-0.03046901524066925,
0.009507390670478344,
0.028541075065732002,
0.007343183737248182,
0.030015381053090096,
-0.02432606741786003,
-0.015376267954707146,
-0.02965625561773777,
0.001779091777279973,
-0.06713768094778061,
-0.10161378234624863,
-0.07280809432268143,
0.02538454532623291,
-0.026632035151124,
-0.01303249690681696,
-0.014053171500563622,
-0.036404047161340714,
-0.0012155945878475904,
0.019213246181607246,
0.08044424653053284,
-0.0022339061833918095,
-0.00045924432924948633,
-0.03770824149250984,
-0.0734129324555397,
-0.007002959027886391,
0.03266157582402229,
-0.0061949254013597965,
0.08823161572217941,
0.059236906468868256,
-0.009606623090803623,
0.017143545672297478,
0.010546966455876827,
0.03785945102572441,
-0.030336705967783928,
0.005656236317008734,
0.028919102624058723,
0.05349088832736015,
-0.019279401749372482,
-0.006554051302373409,
-0.006369763053953648,
-0.03424929082393646,
0.047140028327703476,
-0.004722980782389641,
-0.019808640703558922,
0.07946137338876724,
0.022587141022086143,
-0.010565867647528648,
0.011331373825669289,
0.012682821601629257,
-0.0465351827442646,
-0.05364209786057472,
0.0006674547912552953,
-0.015555830672383308,
0.0168033204972744,
-0.008585949428379536,
0.021093932911753654,
-0.007291204761713743,
-0.01156764104962349,
0.032510362565517426,
0.02360781654715538,
0.052243396639823914,
-0.041583023965358734,
0.008321329951286316,
-0.0027643258217722178,
-0.015215606428682804,
-0.029429439455270767,
-0.050126444548368454,
0.041583023965358734,
0.014535156078636646,
0.08331725746393204,
-0.025875980034470558,
-0.08792918920516968,
0.04649737849831581,
-0.0012616666499525309,
-0.032321348786354065,
-0.007324282545596361,
0.0378972552716732,
-0.006979332305490971,
0.015187254175543785,
-0.0033195537980645895,
0.0374247208237648,
0.0571199506521225,
0.025611361488699913,
-0.030733633786439896,
-0.048916757106781006,
0.05413353443145752,
-0.02179328352212906,
-0.00046839966671541333,
-0.03018549457192421,
0.014450100250542164,
0.08392210304737091,
-0.057611387223005295,
-0.08505618572235107,
-0.05307505652308464,
-0.03583700582385063,
0.034816332161426544,
-0.030223296955227852,
0.022246917709708214,
0.05897228792309761,
-0.050882499665021896,
0.01531011238694191,
-0.0777224525809288,
-0.09715306013822556,
0.044229213148355484,
0.006700537167489529,
0.011964569799602032,
0.0189486276358366,
0.0013514482416212559,
-0.024552885442972183,
-0.019544020295143127,
-0.007395162712782621,
0.0024713545572012663,
0.012342597357928753,
0.005448320880532265,
-0.006558776833117008,
0.017143545672297478,
0.04154521971940994,
-0.0479716882109642,
0.0004515656328294426,
0.005145899020135403,
0.07288369536399841,
0.033946868032217026,
-0.029599551111459732,
-0.0384075902402401,
0.045476704835891724,
-0.040335532277822495,
-0.009077385067939758,
0.018391037359833717,
-0.016037816181778908,
0.051751960068941116,
0.024968715384602547,
-0.010650924406945705,
0.028049638494849205,
-0.037405818700790405,
0.024552885442972183,
0.04377558082342148,
0.036838777363300323,
-0.006402840372174978,
0.01928885281085968,
-0.06615480780601501,
-0.028106343001127243,
0.04154521971940994,
0.04574132338166237,
0.016973434016108513,
-0.02672654204070568,
0.00048493838403373957,
-0.01654815301299095,
-0.027652710676193237,
-0.053264070302248,
0.04517428204417229,
0.029694058001041412,
0.04381338506937027,
-0.016538701951503754,
-0.010471360757946968,
0.028295356780290604,
0.0825612023472786,
-0.011652696877717972,
-0.05927470698952675,
0.04438042640686035,
0.017644433304667473,
0.0345328114926815,
-0.030223296955227852,
-0.006440643221139908,
0.012153583578765392,
0.008236274123191833,
0.009913770481944084,
-0.0038747815415263176,
-0.012522160075604916,
0.034476105123758316,
-0.06502072513103485,
0.007829894311726093,
-0.05016424506902695,
0.028106343001127243,
0.06426467001438141,
-0.013807453215122223,
-0.019846443086862564,
-0.03733021393418312,
-0.018778514117002487,
0.02179328352212906,
0.04396459460258484,
-0.04974841699004173,
0.032132335007190704,
-0.02183108776807785,
-0.035477880388498306,
-0.002164207398891449,
0.07231665402650833,
0.01875961385667324,
-0.035818103700876236,
0.05288604274392128,
-0.019657429307699203,
0.037783846259117126,
0.05681753158569336,
0.005117546766996384,
-0.028370961546897888,
0.06494512408971786,
-0.014185480773448944,
0.009578270837664604,
0.008671005256474018,
0.010102784261107445,
-0.013164807111024857,
-0.08808039873838425,
0.04101598262786865,
-0.019751936197280884,
-0.003369170008227229,
0.05753578245639801,
-0.05239460989832878,
-0.01721915230154991,
-0.002323687542229891,
0.01593385823071003,
0.017814544960856438,
-0.002407562453299761,
0.022190213203430176,
0.010528065264225006,
-0.0023614903911948204,
-0.010717079043388367,
0.029618453234434128,
0.03574249893426895,
0.001623155432753265,
0.04056234657764435,
-0.024458378553390503,
0.0168033204972744,
-0.06056000292301178,
-0.01120851468294859,
-0.032170139253139496,
-0.019024232402443886,
0.0374247208237648,
0.03617722913622856,
-0.016878927126526833,
-0.034003570675849915,
-0.052432410418987274,
-0.01084938831627369,
-0.019940949976444244,
-0.03939046338200569,
0.011095106601715088,
0.018268177285790443,
-0.07587011158466339,
0.027803920209407806,
-0.01569759100675583,
-0.04135620594024658,
0.03723570704460144,
0.0037708240561187267,
0.009942122735083103,
-0.03458951413631439,
-0.0034022473264485598,
-0.07394217699766159,
0.03901243582367897,
-0.006582403555512428,
0.02064030058681965,
0.040864769369363785,
-0.04502307251095772,
0.008765512146055698,
-0.028427666053175926,
-0.04524989053606987,
-0.00835440680384636,
-0.046572986990213394,
0.07273248583078384,
-0.034135881811380386,
-0.054435957223176956,
-0.03156529366970062,
0.008151217363774776,
0.008151217363774776,
0.016179576516151428,
-0.04472064971923828,
0.006157122552394867,
-0.0022209114395081997,
-0.02941053733229637,
-0.037462521344423294,
0.023343196138739586,
0.04456944018602371,
-0.02984526939690113,
0.027463696897029877,
-0.01116126123815775,
-0.010064981877803802,
0.025592459365725517,
0.08717313408851624,
0.0475180521607399,
0.025497952476143837,
-0.009389257058501244,
0.025705868378281593,
-0.001827526604756713,
0.004316601436585188,
0.0018984067719429731,
-0.012720624916255474,
0.01153928879648447,
-0.00016021868214011192,
-0.004082696978002787,
0.009531017392873764,
0.02481750398874283,
0.0007342002354562283,
0.012654470279812813,
0.0018228011904284358,
0.0035180181730538607,
0.039125844836235046,
0.08218317478895187,
-0.030695831403136253,
0.017247503623366356,
0.062412336468696594,
0.011473134160041809,
-0.028181947767734528,
0.0033786206040531397,
0.02846546843647957,
0.016236281022429466,
-0.055494435131549835,
-0.00868990644812584,
0.02648082561790943,
-0.06687305867671967,
-0.07254347205162048,
0.057271163910627365,
-0.03156529366970062,
-0.005571180023252964,
0.022719452157616615,
0.015187254175543785,
0.008959251455962658,
-0.05273483321070671,
-0.018778514117002487,
-0.024685194715857506,
-0.04736684262752533,
0.02226581797003746,
0.004838751628994942,
0.027747217565774918,
-0.012767878361046314,
-0.02020556852221489,
-0.032037828117609024,
0.025082122534513474,
-0.01933610625565052,
-0.016614306718111038,
0.033134110271930695,
-0.012956892140209675,
-0.027841724455356598,
0.00030360333039425313,
-0.010414657182991505,
0.02173658087849617,
-0.0571199506521225,
-0.043888989835977554,
-0.01920379512012005,
-0.054209139198064804,
0.023645618930459023,
0.012285892851650715,
0.04831191152334213,
-0.01116126123815775,
-0.03458951413631439,
0.008392210118472576,
-0.013164807111024857,
-0.009006504900753498,
0.0031990574207156897,
0.033757854253053665,
0.04003310948610306,
0.056741923093795776,
0.04162082448601723,
0.002311874181032181,
0.031981125473976135,
-0.01939280889928341,
-0.008344956673681736,
0.007933851331472397,
0.017918502911925316,
0.026953360065817833,
-0.015555830672383308,
0.018580051138997078,
-0.007267578039318323,
-0.038124069571495056,
-0.00035440074861980975,
-0.025271136313676834,
0.011605443432927132,
0.0168033204972744,
-0.015073846094310284,
0.0059870099648833275,
0.06456709653139114,
-0.009507390670478344,
0.03143298625946045,
0.0633196011185646,
-0.03290729224681854,
-0.008959251455962658,
0.009743657894432545,
-0.05451156198978424,
0.024099251255393028,
0.010764332488179207,
0.02054579369723797,
0.013883058913052082,
-0.009847615845501423,
0.042452484369277954,
-0.0537555068731308,
0.002979329088702798,
-0.044267017394304276,
0.0180035587400198,
0.05772479623556137,
-0.019600724801421165,
-0.014166579581797123,
0.033757854253053665,
-0.051184918731451035,
-0.0010478448821231723,
0.024363871663808823,
0.044645044952631,
0.030771436169743538,
-0.07038871943950653,
-0.02198229730129242,
0.022870661690831184,
-0.05126052722334862,
-0.04804729297757149,
-0.027747217565774918,
0.007655056193470955,
0.026272909715771675,
-0.012597765773534775,
0.04218786582350731,
0.048916757106781006,
0.02576257288455963,
0.02192559279501438
] |
713,316
|
xmlschema.resources
|
__repr__
| null |
def __repr__(self) -> str:
return '%s(root=%r)' % (self.__class__.__name__, self._root)
|
(self) -> str
|
[
0.028238793835043907,
-0.016666799783706665,
0.09062844514846802,
0.02493499405682087,
0.03936738148331642,
-0.03195991367101669,
-0.0016834164271131158,
0.018101345747709274,
0.06360683590173721,
-0.01283265370875597,
-0.00885939970612526,
-0.017657939344644547,
0.006538045592606068,
0.0392630510032177,
-0.03832407668232918,
0.029299486428499222,
0.011537216603755951,
-0.07497886568307877,
-0.010519993491470814,
0.025508811697363853,
-0.018536055460572243,
0.026082629337906837,
0.06311996281147003,
-0.046670518815517426,
-0.01683199033141136,
0.029369041323661804,
-0.03856751322746277,
-0.0021105194464325905,
-0.0030234113801270723,
-0.0551212914288044,
-0.10850373655557632,
-0.0785261020064354,
0.015693048015236855,
-0.0374198779463768,
-0.022205011919140816,
0.020779160782694817,
-0.03336837887763977,
0.019370699301362038,
-0.005520823411643505,
-0.044723015278577805,
0.04037591069936752,
0.030394958332180977,
-0.042288634926080704,
-0.04395792633295059,
-0.0017692716792225838,
-0.005699054338037968,
0.11156409978866577,
0.0275606457144022,
-0.02902127243578434,
-0.045696765184402466,
0.007059698458760977,
0.04420136287808418,
-0.04072367772459984,
0.0009531027753837407,
-0.06924068927764893,
0.015640882775187492,
0.013476025313138962,
-0.006829301826655865,
0.007311830297112465,
0.02636084333062172,
-0.026969438418745995,
0.06868425756692886,
0.048618022352457047,
-0.0006113116396591067,
-0.023683028295636177,
-0.01940547674894333,
-0.0398542582988739,
0.00019358201825525612,
-0.013632521033287048,
0.015910403802990913,
0.004297113046050072,
-0.035646259784698486,
-0.0234917551279068,
0.040167249739170074,
-0.005868591833859682,
-0.04753993824124336,
-0.005690360441803932,
-0.0007634602952748537,
0.02276144176721573,
-0.019144650548696518,
-0.0484093613922596,
-0.00255175051279366,
-0.014580190181732178,
-0.00034804007736966014,
0.032707616686820984,
-0.04816592112183571,
-0.04121055454015732,
-0.007763929199427366,
-0.024065572768449783,
-0.010233084671199322,
-0.010728655382990837,
0.01294567808508873,
-0.03588969632983208,
0.04347104951739311,
-0.048826683312654495,
-0.00033201012411154807,
0.023370036855340004,
-0.07623083144426346,
0.04441002383828163,
-0.02323092892765999,
0.01850127801299095,
0.029595090076327324,
-0.037558987736701965,
-0.0014845363330096006,
-0.047609493136405945,
0.007546574342995882,
-0.03458556532859802,
0.007164028938859701,
-0.012623992748558521,
0.03001241199672222,
-0.02754325605928898,
0.040862787514925,
0.028708280995488167,
0.016006039455533028,
0.03808064013719559,
-0.031786032021045685,
-0.042323414236307144,
-0.0018659947672858834,
0.055329952389001846,
-0.011832819320261478,
0.025108877569437027,
0.02253539115190506,
-0.025317538529634476,
-0.0009009374771267176,
-0.03189036250114441,
0.04152354598045349,
-0.03759376332163811,
0.016214700415730476,
-0.02780408225953579,
-0.1025221198797226,
0.06026826426386833,
0.014267198741436005,
-0.04444479942321777,
-0.0014997512334957719,
0.07866521179676056,
0.033211883157491684,
0.012623992748558521,
0.00888548232614994,
-0.0072683594189584255,
0.0838121846318245,
0.011928455904126167,
-0.02808229811489582,
-0.0008042143890634179,
0.04510556161403656,
-0.054043207317590714,
0.00354071706533432,
-0.006924937944859266,
0.055990710854530334,
0.007150987628847361,
-0.020587889477610588,
0.006359814666211605,
-0.013510801829397678,
0.04893101379275322,
0.0014638876309618354,
-0.012371860444545746,
0.0350724421441555,
0.01989235170185566,
-0.01818828657269478,
0.03954126685857773,
-0.04176698252558708,
-0.03335098922252655,
-0.036620013415813446,
0.03380308672785759,
-0.05710357055068016,
-0.0012106687063351274,
0.0013367347419261932,
0.0058294679038226604,
-0.0781087800860405,
0.016379890963435173,
0.007294442038983107,
-0.020761772990226746,
-0.08346441388130188,
-0.09994863718748093,
0.046392302960157394,
-0.018275229260325432,
0.02018795534968376,
0.0037450308445841074,
0.11747616529464722,
-0.030812280252575874,
0.0008889829623512924,
0.053104232996702194,
-0.05011342465877533,
-0.05581682547926903,
-0.01994451694190502,
0.030551454052329063,
-0.06117245927453041,
0.020796550437808037,
0.019961906597018242,
0.04632275179028511,
-0.013623827137053013,
-0.033194493502378464,
0.011067729443311691,
0.008989812806248665,
0.02757803350687027,
0.01462366059422493,
-0.047400832176208496,
0.016484221443533897,
-0.05724267661571503,
0.027265042066574097,
0.004247121512889862,
0.003088617930188775,
0.05606026574969292,
0.0032081634271889925,
0.03048189915716648,
0.032777171581983566,
-0.02131820283830166,
-0.00897242408245802,
-0.0268477201461792,
0.031299155205488205,
-0.015710437670350075,
0.020987821742892265,
0.0016703751171007752,
0.00605117017403245,
-0.0006200058269314468,
-0.008733334019780159,
-0.025317538529634476,
-0.08103003352880478,
-0.028412677347660065,
-0.046218421310186386,
0.02898649498820305,
0.023109210655093193,
0.015875626355409622,
0.028221406042575836,
-0.04507078230381012,
-0.10300900042057037,
-0.02997763641178608,
0.020222732797265053,
-0.00828123465180397,
0.011606770567595959,
-0.027021603658795357,
0.04361015558242798,
-0.0542866475880146,
-0.007059698458760977,
-0.0008389912545681,
-0.01869255118072033,
-0.01018961425870657,
-0.03981948271393776,
0.00610768236219883,
0.013076091185212135,
-0.0021681184880435467,
-0.030794890597462654,
-0.004907881375402212,
0.03380308672785759,
-0.024882828816771507,
0.07449199259281158,
-0.03387264162302017,
0.008389912545681,
0.037767648696899414,
0.007090128026902676,
-0.013867264613509178,
0.01869255118072033,
-0.06562389433383942,
-0.02088349126279354,
-0.011215530335903168,
0.03891528397798538,
-0.06767573207616806,
-0.047818154096603394,
0.02323092892765999,
0.022135458886623383,
0.057694777846336365,
0.00528173241764307,
0.03616791218519211,
0.017701411619782448,
0.08269932121038437,
0.03048189915716648,
-0.000032773095881566405,
-0.06350250542163849,
-0.0033081467263400555,
-0.00676844222471118,
-0.026291290298104286,
0.12151027470827103,
0.018101345747709274,
-0.03804586082696915,
0.06732796132564545,
-0.032029468566179276,
-0.043784040957689285,
-0.018083956092596054,
0.03933260589838028,
-0.07838699221611023,
-0.07275314629077911,
0.020014071837067604,
-0.029647255316376686,
0.004053675103932619,
0.01521486695855856,
0.0014345445670187473,
-0.03832407668232918,
-0.002072482369840145,
-0.01794484816491604,
0.02180507779121399,
0.008589879609644413,
0.06085946783423424,
0.015580023638904095,
-0.050495970994234085,
0.015527858398854733,
0.04893101379275322,
-0.022135458886623383,
0.005777302663773298,
0.023091820999979973,
-0.03435951843857765,
0.021144317463040352,
0.009259333834052086,
-0.03665478900074959,
0.04771382361650467,
0.013267364352941513,
-0.028256181627511978,
0.03839363157749176,
-0.0004050958377774805,
0.040202025324106216,
0.030864445492625237,
0.0043666670098900795,
-0.01724061742424965,
0.012815264984965324,
0.04729650169610977,
0.03978470340371132,
-0.012145810760557652,
0.022170234471559525,
0.022257177159190178,
-0.05995527282357216,
0.02834312431514263,
0.0703883245587349,
-0.03309016302227974,
0.04294939711689949,
-0.039923813194036484,
-0.010276556015014648,
0.030586229637265205,
-0.002232238417491317,
-0.0007933466695249081,
0.02448289468884468,
0.011354638263583183,
0.020483558997511864,
-0.004357972647994757,
-0.05397365614771843,
0.012754405848681927,
0.005977269262075424,
-0.0033059732522815466,
0.007363995537161827,
0.03644612804055214,
-0.007420508190989494,
-0.018170898780226707,
-0.06454581022262573,
0.10092239081859589,
0.031994692981243134,
-0.009163697250187397,
-0.021387755870819092,
-0.02808229811489582,
0.05418231710791588,
-0.022483225911855698,
0.007568309549242258,
0.03503766655921936,
0.0012421852443367243,
-0.045696765184402466,
-0.0035385433584451675,
-0.0008302970672957599,
-0.025960911065340042,
-0.030290627852082253,
0.008463812991976738,
-0.016458138823509216,
0.023874299600720406,
-0.024395952001214027,
0.05373021587729454,
0.06722363084554672,
0.0020866103004664183,
-0.022152846679091454,
0.023613473400473595,
-0.0658673346042633,
-0.04246252030134201,
0.020744385197758675,
0.02879522368311882,
0.07421377301216125,
0.0005933798383921385,
-0.011702406220138073,
-0.028360512107610703,
-0.04813114553689957,
-0.038289301097393036,
-0.04058457165956497,
0.07901298254728317,
0.009650573134422302,
-0.014841016381978989,
-0.011937149800360203,
-0.10871239751577377,
0.03696778044104576,
0.021700747311115265,
0.019301146268844604,
-0.00875941663980484,
0.0006770616164430976,
-0.01657985895872116,
0.02834312431514263,
0.021474698558449745,
0.007646557409316301,
0.016440751031041145,
-0.060824692249298096,
-0.006190277170389891,
0.034376904368400574,
0.020692219957709312,
-0.04997431859374046,
-0.04166265204548836,
0.05546905845403671,
-0.01294567808508873,
-0.04827025160193443,
0.0093549694865942,
0.03505505248904228,
-0.016945015639066696,
-0.04034113511443138,
-0.04388837143778801,
0.043053727596998215,
0.002430031541734934,
0.020031459629535675,
0.009450606070458889,
-0.011015564203262329,
-0.042288634926080704,
-0.0013758586719632149,
-0.01989235170185566,
-0.05759044736623764,
-0.025247985497117043,
0.07463109493255615,
-0.044723015278577805,
-0.008302970789372921,
0.026291290298104286,
0.031090494245290756,
-0.04719217121601105,
-0.05508651211857796,
0.03835885226726532,
0.045175112783908844,
0.03535065799951553,
0.0016225569415837526,
0.028482232242822647,
-0.022848382592201233,
0.01605820469558239,
0.04632275179028511,
0.07762190699577332,
-0.049522217363119125,
0.0010530861327424645,
0.0005105131422169507,
-0.0003852621593978256,
0.013997677713632584,
-0.059120625257492065,
-0.013110868632793427,
-0.04263640567660332,
-0.03262067586183548,
0.04802681505680084,
0.003825452411547303,
-0.001485623070038855,
0.022622333839535713,
0.0317164771258831,
0.027943190187215805,
0.02112692967057228,
-0.045731544494628906,
0.0076726400293409824,
0.011180753819644451,
-0.00563819520175457,
-0.007177070248872042,
0.00924194511026144,
-0.00014060168177820742,
-0.028882164508104324,
-0.03961082175374031,
-0.05418231710791588,
-0.05108717828989029,
-0.01030263863503933,
-0.040897563099861145,
0.020779160782694817,
-0.07922164350748062,
0.012528356164693832,
0.015727825462818146,
0.013371694833040237,
-0.019996682181954384,
-0.033942196518182755,
0.05762522295117378,
0.009059366770088673,
-0.06687586009502411,
-0.01521486695855856,
0.04079323261976242,
0.012632686644792557,
-0.023456977680325508,
-0.004158006049692631,
-0.024326398968696594,
0.04646185785531998,
-0.05164360627532005,
-0.025526199489831924,
-0.043992701917886734,
-0.03350748494267464,
-0.08332530409097672,
-0.031316544860601425,
-0.007655251771211624,
-0.015745213255286217,
-0.034863781183958054,
0.010493910871446133,
0.006303302012383938,
0.020587889477610588,
0.01463235542178154,
-0.017127593979239464,
0.0007324871839955449,
0.08249066025018692,
-0.09229773283004761,
0.024830663576722145,
0.017118899151682854,
0.035385433584451675,
-0.02498715929687023,
-0.009494077414274216,
-0.07671770453453064,
0.00027454685186967254,
0.0032059899531304836,
-0.01963152550160885,
0.019857576116919518,
-0.009059366770088673,
0.030986163765192032,
0.002803882583975792,
0.022726664319634438,
0.0215616412460804,
0.026778167113661766,
-0.016432056203484535,
0.051956597715616226,
-0.04559243470430374,
0.04343627393245697,
0.00448621204122901,
0.0008167123305611312,
-0.015580023638904095,
0.008715945295989513,
0.03881095349788666,
0.002471329178661108,
0.006659764796495438,
0.005151319317519665,
-0.013032620772719383,
-0.018136121332645416,
-0.006311996374279261,
-0.004538377746939659,
0.057416561990976334,
0.007646557409316301,
0.04166265204548836,
-0.04792248457670212,
0.08916781842708588,
0.006446756422519684,
0.0093549694865942,
0.027925802394747734,
0.007707417011260986,
-0.05710357055068016,
0.07894342392683029,
-0.05220003426074982,
0.026795554906129837,
0.005859897471964359,
0.023578697815537453,
0.022883160039782524,
-0.041175778955221176,
-0.00402324553579092,
-0.036098361015319824,
0.020066237077116966,
-0.029369041323661804,
0.04847891256213188,
-0.009676655754446983,
0.026708612218499184,
-0.002008362440392375,
0.04774859920144081,
-0.04030635580420494,
0.001692110556177795,
-0.010511299595236778,
0.03216857463121414,
0.03623746708035469,
0.02305704355239868,
0.02523059770464897,
0.022239789366722107,
0.03475945070385933,
-0.013258670456707478,
0.03460295498371124,
0.03693300485610962,
-0.008698556572198868,
0.041384439915418625,
0.04625319689512253,
-0.028169238939881325,
-0.010111366398632526,
-0.0009041978046298027,
0.007716111373156309,
0.004547071643173695,
-0.008163862861692905,
0.0715707316994667,
-0.04124533012509346,
-0.024152515456080437,
0.0522695891559124,
0.0017073254566639662,
0.0618332214653492,
-0.007690028753131628,
-0.009963564574718475,
-0.0030647090170532465,
-0.029142990708351135,
-0.0069814505986869335,
-0.017153676599264145,
-0.029108215123414993,
0.009772291406989098,
-0.047609493136405945,
0.022500615566968918,
-0.008507284335792065,
-0.04837458208203316,
-0.027195489034056664,
-0.05752089247107506,
0.029438594356179237,
0.002163771539926529,
0.07303136587142944,
-0.06823215633630753,
-0.011798042804002762,
-0.03550715371966362,
0.032290294766426086,
-0.005833814851939678,
0.04103666916489601,
0.011658935807645321,
0.010998175479471684,
0.05463441461324692,
0.018831659108400345,
0.0087463753297925,
0.029664643108844757,
0.027421537786722183,
-0.037315547466278076,
0.03668956458568573,
-0.011711101047694683,
0.007737846579402685,
0.012606604024767876,
-0.05414753779768944,
-0.01825784146785736,
-0.05539950355887413,
-0.004081931430846453,
0.011919762007892132,
-0.03547237440943718,
0.016397280618548393,
0.008111697621643543,
0.04990476369857788,
-0.03637657314538956,
0.015658272430300713,
-0.019961906597018242,
0.027004215866327286,
0.0028082297649234533,
-0.025943521410226822,
0.04131488502025604,
-0.039019614458084106,
0.042810291051864624,
-0.012893512845039368,
-0.02373519353568554,
-0.08562058210372925,
-0.06329384446144104,
-0.0027821471448987722,
0.026726001873612404,
0.008059532381594181,
-0.04176698252558708,
0.014606272801756859,
-0.0036189649254083633,
-0.019788021221756935,
-0.08228199928998947,
0.0008514891960658133,
-0.03449862450361252,
0.006146806292235851,
-0.002223544055595994,
-0.01822306402027607,
-0.004790509585291147,
-0.03568103536963463,
-0.0412801094353199,
-0.012206670828163624,
0.011163365095853806,
0.004355798941105604,
0.00791173055768013,
0.042775511741638184,
-0.01990974135696888,
0.01020700205117464,
-0.06430237740278244,
0.020483558997511864,
-0.023161375895142555,
-0.03286411240696907,
-0.018344782292842865,
-0.03474206104874611,
0.05007864907383919,
0.03552453964948654,
-0.008785499259829521,
0.015493081882596016,
-0.012632686644792557,
-0.025960911065340042,
0.0035472377203404903,
0.01368468627333641,
-0.019318534061312675,
-0.06068558618426323,
-0.05925973504781723,
-0.009407134726643562,
0.0011182926828041673,
0.027925802394747734,
0.042566850781440735,
-0.03856751322746277,
-0.006803219206631184,
0.027717141434550285,
-0.07421377301216125,
-0.053104232996702194,
0.028430067002773285,
0.05494740605354309,
-0.016179924830794334,
0.047331277281045914,
0.010859068483114243,
-0.06378072500228882,
-0.06767573207616806,
-0.02281360700726509,
0.03357703983783722,
0.029838528484106064,
0.051191508769989014,
0.018275229260325432,
0.059329286217689514,
-0.08026494830846786,
0.024622002616524696,
-0.025039324536919594,
0.07456154376268387,
0.010824291035532951,
0.02133559063076973,
-0.01521486695855856,
0.059155404567718506,
0.023578697815537453,
0.05515606701374054,
0.014562801457941532,
-0.01415417343378067,
0.041836537420749664,
0.0037232954055070877,
0.07803922891616821,
0.006264178082346916,
-0.050739407539367676,
-0.008311664685606956,
-0.01604081690311432,
0.014727991074323654,
0.025960911065340042,
-0.03745465725660324,
0.005264344159513712,
-0.031577371060848236,
0.025734860450029373,
0.0475747175514698,
-0.003632006235420704,
0.051191508769989014,
0.10391319543123245,
-0.00863769743591547,
-0.04367971047759056,
-0.02107476443052292,
-0.005186096299439669,
-0.020327063277363777,
0.04889623448252678,
-0.030847055837512016,
0.008585532195866108,
0.02041400410234928,
0.001267181127332151,
0.03349009528756142,
-0.013702074997127056,
0.002712593413889408,
0.018275229260325432,
0.019231591373682022,
0.02448289468884468,
-0.012197976000607014,
-0.0141367856413126,
0.022118069231510162,
-0.001761664287187159,
-0.023700416088104248,
0.07783056795597076,
-0.000994400237686932,
0.048339806497097015,
0.0589815191924572,
0.03114265948534012,
-0.03602880612015724,
0.00678148353472352,
0.03430735319852829,
-0.0031603453680872917,
0.03022107295691967,
-0.011571993120014668,
0.0532781183719635,
-0.02065744251012802,
-0.025943521410226822,
-0.06951890140771866,
0.017631856724619865,
0.01987496390938759,
-0.009450606070458889,
0.06708452105522156,
-0.013032620772719383,
-0.0019344616448506713
] |
713,317
|
xmlschema.resources
|
_access_control
| null |
def _access_control(self, url: str) -> None:
if self._allow == 'all':
return
elif self._allow == 'none':
raise XMLResourceError(f"block access to resource {url}")
elif self._allow == 'remote':
if is_local_url(url):
raise XMLResourceError(f"block access to local resource {url}")
elif is_remote_url(url):
raise XMLResourceError(f"block access to remote resource {url}")
elif self._allow == 'sandbox' and self._base_url is not None:
if not url.startswith(normalize_url(self._base_url)):
raise XMLResourceError(f"block access to out of sandbox file {url}")
|
(self, url: str) -> NoneType
|
[
-0.002359831240028143,
-0.02053162083029747,
0.004802311304956675,
0.04830150678753853,
-0.001105966977775097,
0.0012288521975278854,
0.056827347725629807,
-0.03302459046244621,
-0.026534508913755417,
0.009421925991773605,
0.0006459630676545203,
0.03283319249749184,
0.026012519374489784,
-0.009595922194421291,
-0.06027248501777649,
-0.01518991868942976,
0.030588634312152863,
0.011649084277451038,
0.0078472550958395,
-0.06507479399442673,
-0.03664372116327286,
0.0030036193784326315,
0.030031844973564148,
-0.03667852282524109,
-0.027387093752622604,
0.10954837501049042,
0.005689694546163082,
0.02053162083029747,
0.029527252539992332,
-0.050981055945158005,
0.0055678971111774445,
0.05094625800848007,
0.04917148873209953,
0.03977566212415695,
0.048719096928834915,
0.001830228604376316,
0.01481582596898079,
0.028413673862814903,
-0.06156006082892418,
-0.024411747232079506,
-0.05933290347456932,
0.030136242508888245,
-0.01739097759127617,
-0.02944025583565235,
0.002540352987125516,
0.024690143764019012,
-0.03382497280836105,
0.07614099234342575,
-0.041794028133153915,
-0.07196506857872009,
-0.0142590356990695,
0.09541983157396317,
-0.00022483646171167493,
-0.025316530838608742,
0.026865102350711823,
-0.009465424343943596,
0.018147863447666168,
0.07558420300483704,
0.00807345099747181,
0.00829529669135809,
-0.01135328970849514,
0.01800866611301899,
0.01783466897904873,
-0.06514439731836319,
0.014763626269996166,
-0.0051155053079128265,
-0.08525842428207397,
-0.012327671982347965,
0.008943434804677963,
0.07280024886131287,
0.0022238963283598423,
-0.003251564921811223,
-0.03894047811627388,
0.028987864032387733,
0.04409078508615494,
-0.043568793684244156,
0.0003349437902215868,
0.010970496572554111,
-0.010030914098024368,
0.0044347429648041725,
0.02053162083029747,
-0.06618837267160416,
0.056966546922922134,
-0.01503332145512104,
-0.022636981680989265,
0.01559011172503233,
0.018252262845635414,
-0.0795513242483139,
0.0052895019762218,
0.07474901527166367,
-0.016799388453364372,
0.02776988595724106,
-0.06705836206674576,
-0.05533097684383392,
0.0481623075902462,
0.08671999722719193,
0.011501187458634377,
-0.045969948172569275,
-0.056166160851716995,
-0.0068076238967478275,
-0.030571233481168747,
0.043881986290216446,
0.021575599908828735,
-0.03278099372982979,
0.02674330584704876,
-0.04266401007771492,
0.016573192551732063,
0.026934701949357986,
-0.007716757245361805,
0.02984044700860977,
0.0192092452198267,
-0.03232860192656517,
0.032485198229551315,
0.06618837267160416,
-0.004967608023434877,
0.0012647390831261873,
-0.044543176889419556,
-0.03584333509206772,
-0.020566418766975403,
0.024063754826784134,
0.004210722167044878,
0.008321396075189114,
0.04506516456604004,
0.013780544511973858,
0.0423160158097744,
0.08720718324184418,
-0.037270110100507736,
-0.01097919698804617,
0.029127061367034912,
0.05038946866989136,
-0.03793129697442055,
-0.006268233992159367,
-0.04429958015680313,
0.02522953227162361,
-0.021610399708151817,
-0.005968089681118727,
0.007007720414549112,
0.04541315883398056,
-0.012893161736428738,
0.02248038351535797,
-0.007886404171586037,
0.029875246807932854,
0.007003370206803083,
-0.02253258228302002,
-0.015764107927680016,
-0.031371619552373886,
-0.012188474647700787,
-0.046143945306539536,
0.06618837267160416,
0.013841443695127964,
0.04732712358236313,
-0.00836054515093565,
-0.03558234125375748,
0.003057993482798338,
-0.05247742682695389,
0.04722272604703903,
-0.03544314578175545,
-0.03104102611541748,
0.03262439742684364,
-0.016712389886379242,
-0.03800089657306671,
0.0001987369469134137,
-0.045830752700567245,
-0.014667928218841553,
0.018704654648900032,
-0.03424256667494774,
0.017617173492908478,
-0.040784843266010284,
0.03761810436844826,
-0.012327671982347965,
-0.010605103336274624,
0.004354269243776798,
0.0037235310301184654,
0.0626736432313919,
0.05258182808756828,
0.005333001259714365,
-0.005128554999828339,
-0.02709129825234413,
-0.009630721993744373,
-0.0003520715981721878,
0.0192092452198267,
-0.010318009182810783,
-0.040019258856773376,
0.05265142396092415,
0.025212133303284645,
-0.0037300558760762215,
0.001169040915556252,
-0.000308572401991114,
0.0006698875804431736,
0.10613803565502167,
-0.06545758992433548,
-0.01641659624874592,
0.04335999861359596,
-0.04844070225954056,
-0.012432069517672062,
-0.03281579166650772,
-0.014441732317209244,
0.02728269435465336,
-0.005506997928023338,
0.026691105216741562,
-0.025734122842550278,
0.003057993482798338,
0.012945360504090786,
0.011831780895590782,
0.06107287108898163,
0.05237302929162979,
0.0032167653553187847,
-0.024898938834667206,
-0.00911743100732565,
0.043255601078271866,
-0.05286022275686264,
0.01381534431129694,
0.011570786125957966,
0.030884427949786186,
-0.005202503874897957,
0.03866208344697952,
-0.03479935601353645,
-0.0012332021724432707,
-0.010987896472215652,
0.05574856698513031,
0.03507775068283081,
-0.008721588179469109,
-0.009265328757464886,
-0.049519483000040054,
0.035808537155389786,
0.011370689608156681,
0.021627800539135933,
-0.012640866450965405,
-0.05258182808756828,
0.05526137724518776,
0.00782985519617796,
0.017312679439783096,
0.00720781646668911,
-0.000031774801755091175,
0.03507775068283081,
0.019435441121459007,
0.01809566468000412,
0.00002875024983950425,
-0.045030366629362106,
0.02173219807446003,
0.015972904860973358,
0.0020422872621566057,
0.025838522240519524,
-0.0045456658117473125,
-0.047918714582920074,
0.004963258281350136,
-0.0744706243276596,
0.04972827807068825,
-0.016164300963282585,
-0.0461091473698616,
-0.01297145988792181,
0.027160897850990295,
-0.09312307834625244,
-0.06705836206674576,
-0.05494818463921547,
-0.025925520807504654,
-0.04008885845541954,
0.006868523079901934,
0.009917816147208214,
0.0030862679705023766,
0.014546130783855915,
-0.010648602619767189,
0.034573160111904144,
0.019505038857460022,
-0.01374574564397335,
0.01388494297862053,
0.03810529410839081,
-0.011805681511759758,
-0.014285136014223099,
0.05129425227642059,
0.008386644534766674,
0.045656755566596985,
0.03424256667494774,
0.0220801904797554,
-0.009726420044898987,
-0.044717174023389816,
0.06305643171072006,
0.00514595489948988,
-0.034120768308639526,
-0.015972904860973358,
0.07419222593307495,
0.061351265758275986,
-0.011127093806862831,
0.0422116182744503,
-0.03577373921871185,
-0.06437880545854568,
-0.0060159387066960335,
0.039184074848890305,
-0.022410785779356956,
-0.025873320177197456,
-0.006124686449766159,
0.039706066250801086,
0.018513256683945656,
-0.05654895305633545,
0.034747157245874405,
0.01952243782579899,
0.023472165688872337,
-0.009613322094082832,
-0.036608923226594925,
0.03653932362794876,
-0.03859248384833336,
-0.02075781486928463,
0.014285136014223099,
0.003129767021164298,
0.02829187549650669,
-0.040958840399980545,
0.04238561540842056,
0.01981823332607746,
0.01512032002210617,
0.05463498830795288,
0.04844070225954056,
-0.011622984893620014,
-0.0192092452198267,
-0.01875685341656208,
0.018252262845635414,
0.011814380995929241,
0.03876648098230362,
0.015068121254444122,
-0.003951902035623789,
0.02345476672053337,
-0.02766548842191696,
0.042420413345098495,
-0.010083113797008991,
-0.019713835790753365,
0.007642808370292187,
-0.0007220866391435266,
0.06834593415260315,
0.010274509899318218,
-0.07231306284666061,
0.02877906709909439,
-0.043394796550273895,
0.044195182621479034,
-0.044856369495391846,
-0.008121299557387829,
-0.0609336718916893,
0.0250555370002985,
-0.041933223605155945,
-0.0364697240293026,
0.028570272028446198,
-0.025212133303284645,
-0.03269399330019951,
0.020792614668607712,
0.025612326338887215,
-0.034973353147506714,
-0.002825272735208273,
0.0007786356145516038,
-0.005058956332504749,
0.025925520807504654,
0.02110580913722515,
-0.01110969390720129,
-0.02430734969675541,
0.01653839461505413,
-0.0017356178723275661,
-0.004502166528254747,
0.007573209702968597,
-0.010674702003598213,
0.03201540559530258,
-0.03876648098230362,
0.013119356706738472,
0.0020433745812624693,
0.10913077741861343,
-0.04649193957448006,
-0.030484234914183617,
-0.009700320661067963,
-0.029788248240947723,
-0.01978343352675438,
0.054043401032686234,
-0.046004749834537506,
0.022636981680989265,
-0.07802015542984009,
-0.018965648487210274,
-0.041759226471185684,
-0.025246933102607727,
-0.072730652987957,
0.037409309297800064,
0.008860786445438862,
0.01097919698804617,
-0.04722272604703903,
-0.003038418712094426,
0.06236044690012932,
0.034033771604299545,
0.0541129969060421,
0.04941508546471596,
0.012031877413392067,
-0.01898304931819439,
-0.06044648215174675,
-0.05432179570198059,
0.018478458747267723,
-0.02373316138982773,
0.06709315627813339,
0.09493264555931091,
-0.04106324166059494,
-0.011092294938862324,
0.018461057916283607,
-0.01889605075120926,
-0.007042519748210907,
-0.008747688494622707,
-0.002409855369478464,
0.05936770141124725,
0.030014444142580032,
-0.009282727725803852,
0.0588805116713047,
-0.09235749393701553,
-0.009743819944560528,
0.0020933987107127905,
0.020462021231651306,
0.03956686705350876,
0.026238713413476944,
-0.04830150678753853,
-0.06876352429389954,
-0.048719096928834915,
-0.022462984547019005,
-0.017617173492908478,
0.011214092373847961,
0.052094634622335434,
0.003349438076838851,
0.004945858381688595,
0.01960943639278412,
-0.0609336718916893,
0.0010635553626343608,
0.07962092757225037,
-0.01314545702189207,
0.04482157155871391,
-0.05895010754466057,
-0.01175348274409771,
-0.049067091196775436,
0.009395825676620007,
-0.01759977452456951,
0.0186176560819149,
-0.006490079686045647,
0.01875685341656208,
0.060376882553100586,
-0.018426258116960526,
-0.08518882095813751,
0.024359548464417458,
-0.020566418766975403,
-0.03942767158150673,
0.011344590224325657,
0.004528266377747059,
-0.015859806910157204,
0.0012625640956684947,
-0.00691637210547924,
-0.03201540559530258,
0.049519483000040054,
0.09214869141578674,
0.010126612149178982,
-0.028639869764447212,
0.07739377021789551,
0.037548504769802094,
-0.07046869397163391,
-0.066675566136837,
0.04704872891306877,
0.008530192077159882,
-0.020740415900945663,
-0.10488525778055191,
0.03650452569127083,
-0.041794028133153915,
0.016834188252687454,
-0.004260746296495199,
0.05686214566230774,
0.01699078641831875,
-0.02728269435465336,
-0.014032839797437191,
-0.07391383498907089,
0.009587222710251808,
0.019748633727431297,
0.030884427949786186,
0.025664525106549263,
0.024951137602329254,
-0.006376981735229492,
-0.06368282437324524,
-0.05835852026939392,
0.0201314277946949,
-0.008160448633134365,
0.016834188252687454,
0.014485231600701809,
0.0502154715359211,
0.023750560358166695,
0.01534651592373848,
-0.005032856948673725,
-0.019853033125400543,
-0.027822084724903107,
-0.007686307653784752,
0.007581909652799368,
-0.05877611041069031,
-0.050807058811187744,
-0.031945809721946716,
0.016886387020349503,
0.045656755566596985,
-0.026760704815387726,
0.0070338197983801365,
-0.033233385533094406,
-0.02167999930679798,
0.016433995217084885,
-0.02629091404378414,
0.004297720268368721,
-0.030188441276550293,
0.021801795810461044,
0.008599790744483471,
-0.003079742891713977,
-0.011222791858017445,
0.005846291780471802,
-0.040993642061948776,
0.009004333056509495,
0.014485231600701809,
0.036956917494535446,
-0.035286545753479004,
-0.021349404007196426,
0.04962388053536415,
-0.0057636434212327,
0.007695007603615522,
0.056827347725629807,
0.0715474784374237,
0.042420413345098495,
-0.005637495778501034,
-0.027039099484682083,
0.032572198659181595,
0.03981046378612518,
0.019800834357738495,
-0.01418943703174591,
0.06176885589957237,
-0.05362580716609955,
0.03267659619450569,
0.023158971220254898,
-0.006268233992159367,
-0.04506516456604004,
-0.0015529212541878223,
-0.007072968874126673,
-0.05192063748836517,
-0.004719662480056286,
0.012719164602458477,
0.0045630657114088535,
0.002844847273081541,
-0.04844070225954056,
0.024898938834667206,
0.06465720385313034,
-0.04997187480330467,
-0.033946771174669266,
-0.06998150795698166,
0.04085444286465645,
0.026586707681417465,
-0.014459132216870785,
0.01494632288813591,
0.011553386226296425,
-0.03229380398988724,
-0.045795951038599014,
-0.05936770141124725,
-0.011823081411421299,
0.02382015995681286,
-0.008556291460990906,
0.06048128008842468,
0.030936626717448235,
0.03171961382031441,
-0.02155820094048977,
0.0922182947397232,
-0.044369179755449295,
0.07391383498907089,
-0.0013995865592733026,
-0.028518071398139,
0.046317942440509796,
-0.0020151000935584307,
-0.031945809721946716,
-0.08553681522607803,
-0.02133200503885746,
-0.02683030255138874,
-0.0817088857293129,
-0.00375833036378026,
0.02044462226331234,
0.034573160111904144,
-0.04168962687253952,
0.010178811848163605,
-0.03751370683312416,
0.024864139035344124,
0.05686214566230774,
-0.011605584993958473,
0.012649565935134888,
-0.014293835498392582,
0.03537354618310928,
0.0007307864725589752,
0.03352918103337288,
0.04482157155871391,
-0.05853251740336418,
-0.012153674848377705,
-0.05087665840983391,
-0.03544314578175545,
-0.010613803751766682,
0.008147398941218853,
0.030484234914183617,
0.041759226471185684,
-0.00804735068231821,
-0.011214092373847961,
0.0005856078932993114,
0.006768474821001291,
-0.0481623075902462,
-0.029127061367034912,
0.01973123475909233,
-0.00836054515093565,
-0.06343922764062881,
-0.02989264577627182,
0.06838073581457138,
0.008243096992373466,
0.007521010935306549,
0.02159300073981285,
-0.005733193829655647,
-0.020636018365621567,
0.06684955954551697,
-0.062151648104190826,
-0.035234346985816956,
-0.022515183314681053,
-0.022810976952314377,
0.012153674848377705,
0.011562085710465908,
-0.019853033125400543,
-0.02110580913722515,
-0.008943434804677963,
0.04948468506336212,
-0.07412263005971909,
0.07099068909883499,
-0.028413673862814903,
-0.025090334936976433,
-0.013180255889892578,
0.006416131276637316,
-0.011657783761620522,
0.015085521154105663,
-0.06343922764062881,
-0.00853454228490591,
0.037270110100507736,
0.00712951784953475,
-0.007029470056295395,
0.05240783095359802,
0.012484269216656685,
-0.0015039846766740084,
-0.01938324049115181,
0.020009629428386688,
-0.00575494347140193,
0.012405970133841038,
0.03800089657306671,
0.015633611008524895,
0.02319377101957798,
-0.017095183953642845,
0.03577373921871185,
-0.021053610369563103,
-0.008103899657726288,
-0.0028731217607855797,
-0.022984974086284637,
0.0482667051255703,
-0.05366060510277748,
0.03064083307981491,
0.02075781486928463,
-0.06469200551509857,
-0.04558715596795082,
0.013519549742341042,
0.06789354234933853,
-0.013519549742341042,
-0.008995633572340012,
0.000026014557079179212,
-0.03894047811627388,
0.022671779617667198,
0.01552051305770874,
-0.012414670549333096,
-0.03309418633580208,
-0.016868988052010536,
-0.0028687717858701944,
-0.0024598794989287853,
0.007942953146994114,
0.031824011355638504,
-0.0022249838802963495,
-0.06556198745965958,
-0.03043203614652157,
0.061177268624305725,
0.01844365894794464,
0.010004814714193344,
0.0014811475994065404,
0.053730204701423645,
0.040471650660037994,
-0.02482934109866619,
0.01947023905813694,
-0.06336962431669235,
-0.02422035112977028,
-0.01826966181397438,
-0.06618837267160416,
-0.0001769873488228768,
0.009970015846192837,
-0.05658375099301338,
-0.0000639574063825421,
0.02846587263047695,
-0.035808537155389786,
-0.041620030999183655,
-0.01960943639278412,
-0.032485198229551315,
-0.04381239041686058,
-0.026464909315109253,
-0.034172967076301575,
0.06423961371183395,
-0.04687473177909851,
0.025560127571225166,
0.027387093752622604,
0.020009629428386688,
-0.00005539350604522042,
0.11205392330884933,
0.024533545598387718,
-0.019487639889121056,
-0.010500705800950527,
-0.0008466030703857541,
-0.025299131870269775,
-0.024811940267682076,
0.027735086157917976,
-0.024115953594446182,
-0.014293835498392582,
0.009508923627436161,
-0.016999484971165657,
-0.02288057655096054,
0.01503332145512104,
-0.020166227594017982,
0.0016953811282292008,
0.013049758039414883,
-0.011944878846406937,
-0.008747688494622707,
0.02763068862259388,
-0.011153193190693855,
-0.04558715596795082,
-0.005846291780471802,
-0.03553014248609543,
-0.005872391164302826,
-0.01204057689756155,
0.005872391164302826,
-0.07307864725589752,
-0.002818747889250517,
0.0167210903018713,
0.02284577675163746,
0.002688250271603465,
0.021210206672549248,
-0.05192063748836517,
0.044508375227451324,
0.004328169859945774,
-0.01924404315650463,
-0.03201540559530258,
0.018774252384901047,
0.022097591310739517,
0.04670073464512825,
0.0020488121081143618,
-0.014615729451179504,
-0.044543176889419556,
-0.05672295019030571,
-0.07085148990154266,
-0.0017867294372990727,
-0.031023625284433365,
-0.006411781534552574,
0.06538798660039902,
0.09180069714784622,
-0.00829529669135809,
-0.0032841891516000032,
0.05237302929162979,
0.017486676573753357,
0.07502741366624832,
-0.03243299946188927,
-0.028987864032387733,
0.036608923226594925,
0.008699839003384113,
0.009778618812561035,
-0.023158971220254898,
0.058567315340042114,
-0.009935216046869755,
-0.002681725425645709,
0.04189842566847801,
-0.014206836931407452,
0.013389051891863346,
-0.012832262553274632
] |
713,318
|
xmlschema.resources
|
_get_parsed_url
| null |
def _get_parsed_url(self, url: str) -> str:
if isinstance(self._uri_mapper, MutableMapping):
if url in self._uri_mapper:
url = self._uri_mapper[url]
elif callable(self._uri_mapper):
url = self._uri_mapper(url)
url = normalize_url(url, self._base_url)
self._access_control(url)
return url
|
(self, url: str) -> str
|
[
-0.021355947479605675,
0.033389996737241745,
-0.004149052780121565,
0.08793836832046509,
0.014395956881344318,
0.009788891300559044,
0.048675037920475006,
0.034162331372499466,
0.0169464573264122,
-0.0035967440344393253,
0.016506405547261238,
0.040987614542245865,
0.0031185252591967583,
0.03840119019150734,
0.035832729190588,
0.022415662184357643,
0.053704190999269485,
0.027301127091050148,
0.019470015540719032,
-0.03319242224097252,
-0.019308364018797874,
-0.022756926715373993,
0.009402723982930183,
0.0015985529171302915,
-0.0485672689974308,
0.02478655055165291,
0.05251874774694443,
-0.020493807271122932,
0.021912747994065285,
-0.04695075377821922,
0.025361310690641403,
0.014063673093914986,
0.061643071472644806,
0.019775357097387314,
0.0003348092723172158,
-0.025145776569843292,
-0.0016142689855769277,
0.0745033398270607,
-0.09253645688295364,
-0.0663130059838295,
-0.04975271224975586,
0.02983366698026657,
-0.023960331454873085,
0.005765567068010569,
0.07708976417779922,
0.04569346830248833,
-0.08714807033538818,
0.04332257807254791,
-0.06448095291852951,
-0.05154883861541748,
-0.03288708254694939,
0.004903426393866539,
0.0037000211887061596,
0.017386507242918015,
-0.028684144839644432,
-0.004997722804546356,
0.006061927881091833,
0.0015963077312335372,
0.01842826046049595,
0.03717982396483421,
-0.009528452530503273,
-0.0034665248822420835,
-0.02018846571445465,
-0.005765567068010569,
0.0222360510379076,
-0.0011012502945959568,
-0.04443617910146713,
0.03768274188041687,
-0.01077676098793745,
0.03601234406232834,
0.03152202442288399,
0.012635752558708191,
-0.01186341792345047,
-0.026618599891662598,
0.034629326313734055,
-0.018841370940208435,
0.02534334920346737,
-0.024121982976794243,
0.05273428559303284,
-0.004701361991465092,
-0.014611491933465004,
-0.02624141238629818,
0.0318453274667263,
-0.08441796153783798,
-0.05399157106876373,
-0.0021216748282313347,
-0.003201595973223448,
-0.08765099197626114,
-0.07730530202388763,
0.05654207244515419,
-0.01250104233622551,
0.018365396186709404,
-0.04472355917096138,
0.0013953660381957889,
-0.016147179529070854,
0.05923626199364662,
-0.04806435480713844,
-0.021409831941127777,
0.055751778185367584,
-0.06692368537187576,
0.0369642898440361,
0.0359404981136322,
-0.10115786641836166,
0.005680250935256481,
-0.02211032062768936,
-0.041670143604278564,
0.033443883061409,
-0.012698616832494736,
-0.033300191164016724,
0.02735501155257225,
-0.059379953891038895,
-0.0341264083981514,
-0.020637497305870056,
0.053237199783325195,
0.0369642898440361,
0.0035765375941991806,
-0.0431070439517498,
-0.03021085262298584,
0.04080800339579582,
0.03017493151128292,
-0.06214598938822746,
0.04838765785098076,
-0.029007447883486748,
-0.025109853595495224,
0.0006381862913258374,
0.04149052873253822,
-0.04116722568869591,
-0.013497892767190933,
0.07867035269737244,
-0.04723813757300377,
-0.023439455777406693,
0.046878911554813385,
-0.021948669105768204,
0.00836546067148447,
-0.026492871344089508,
0.0031836347188800573,
-0.07565286010503769,
0.06660038232803345,
-0.04422064125537872,
0.13621826469898224,
0.02342149429023266,
0.01659621112048626,
0.02573849819600582,
-0.060062482953071594,
-0.004719323478639126,
-0.071665458381176,
0.03179144486784935,
0.04910610616207123,
0.0021194296423345804,
-0.0053749093785882,
0.057116832584142685,
-0.035060394555330276,
0.04626822844147682,
0.053488656878471375,
-0.004440923687070608,
0.01506052352488041,
0.02773219905793667,
-0.019739434123039246,
0.01813190057873726,
-0.018212726339697838,
0.0029231964144855738,
-0.029222983866930008,
-0.00000267928089670022,
-0.06954602897167206,
0.01727874018251896,
-0.023654989898204803,
0.11344336718320847,
-0.04289150983095169,
0.012402256019413471,
-0.028684144839644432,
0.0031858799047768116,
0.030929304659366608,
-0.03493466600775719,
0.036209918558597565,
0.053273122757673264,
0.005783528555184603,
0.0011663598706945777,
0.03829342499375343,
-0.00036736406036652625,
-0.0155544588342309,
0.040520619601011276,
-0.022038476541638374,
-0.007251861970871687,
0.04016139730811119,
0.014737220481038094,
0.021517599001526833,
-0.03682060167193413,
-0.018446221947669983,
-0.05136922746896744,
0.04838765785098076,
-0.039838094264268875,
-0.05521293729543686,
-0.03400067985057831,
-0.0006207863334566355,
0.05316535383462906,
-0.022631198167800903,
0.010166077874600887,
0.05395565181970596,
-0.030318621546030045,
0.03717982396483421,
-0.034629326313734055,
-0.01288720965385437,
-0.07238391041755676,
0.02385256439447403,
-0.014997659251093864,
0.007431474979966879,
-0.025020046159625053,
-0.00114727602340281,
0.05154883861541748,
0.02676228992640972,
-0.02704966999590397,
-0.009030027315020561,
-0.031306490302085876,
0.029205022379755974,
-0.02825307473540306,
-0.006686082109808922,
-0.03703613579273224,
0.04885464906692505,
0.0037808469496667385,
0.0431070439517498,
0.019308364018797874,
-0.03911964222788811,
0.0998646542429924,
-0.03466524928808212,
0.005473696626722813,
-0.04285558685660362,
-0.023403532803058624,
-0.012420217506587505,
-0.04249636083841324,
0.022307895123958588,
0.019523898139595985,
-0.08219076693058014,
0.04763328284025192,
0.05488963425159454,
0.10015203058719635,
-0.04285558685660362,
0.03592253848910332,
-0.024337518960237503,
0.05359642580151558,
0.0029568737372756004,
-0.02176905795931816,
0.01916467398405075,
0.00661423709243536,
0.02927686832845211,
-0.039586637169122696,
0.02943851798772812,
-0.005074058193713427,
0.03739536181092262,
-0.020673420280218124,
-0.015725091099739075,
0.0451546274125576,
0.06178676337003708,
-0.0023866035044193268,
0.03033658303320408,
-0.018275590613484383,
0.002696435432881117,
-0.07867035269737244,
0.0540274940431118,
-0.049357566982507706,
-0.005783528555184603,
0.0044184718281030655,
-0.012213662266731262,
0.045082785189151764,
-0.06196637451648712,
-0.026385102421045303,
-0.06196637451648712,
0.03191717341542244,
0.022936539724469185,
-0.0011809533461928368,
0.05090223625302315,
0.033641453832387924,
0.01724281720817089,
-0.028091423213481903,
0.001094514736905694,
-0.002301287604495883,
0.017808597534894943,
0.002082384657114744,
-0.06128384917974472,
0.034880783408880234,
-0.03929925337433815,
-0.008302596397697926,
-0.012644733302295208,
-0.009043498896062374,
-0.014099596068263054,
0.050758544355630875,
-0.0054916576482355595,
0.03725166991353035,
0.06681592017412186,
0.029887551441788673,
-0.03051619417965412,
0.026313258334994316,
-0.04253228381276131,
-0.03775458782911301,
0.01698237843811512,
-0.010408555157482624,
-0.045082785189151764,
-0.002631325740367174,
-0.020332155749201775,
-0.012357352301478386,
-0.022523431107401848,
-0.093039371073246,
-0.020835071802139282,
-0.012617791071534157,
0.02816326916217804,
0.001852255780249834,
0.018167823553085327,
-0.008428324945271015,
-0.035437583923339844,
0.02248750813305378,
0.02893560379743576,
0.014773143455386162,
0.013452989980578423,
-0.05359642580151558,
0.02970793843269348,
-0.017170973122119904,
0.06318774074316025,
0.00431968504562974,
0.0215535219758749,
0.0458371564745903,
0.03101911023259163,
-0.013884060084819794,
0.029797744005918503,
0.015976548194885254,
0.02078118734061718,
-0.010570206679403782,
-0.02308022975921631,
0.01482702698558569,
0.036676909774541855,
-0.03998178243637085,
0.01423430535942316,
0.0016883591888472438,
0.005783528555184603,
-0.037143904715776443,
-0.01497969776391983,
-0.010121175087988377,
-0.0588051937520504,
-0.01710810884833336,
-0.0506148524582386,
0.029600169509649277,
-0.028612300753593445,
-0.029977357015013695,
-0.032240476459264755,
-0.0008239732123911381,
-0.0074359648860991,
-0.027319088578224182,
0.001506501343101263,
-0.020835071802139282,
-0.005814960692077875,
-0.02403217740356922,
-0.09210538119077682,
-0.04353811591863632,
-0.040987614542245865,
-0.020673420280218124,
0.036245837807655334,
0.004164769314229488,
0.03482690081000328,
-0.024211790412664413,
-0.09814037382602692,
0.01312070619314909,
0.011746669188141823,
0.021284103393554688,
-0.09871513396501541,
0.015949606895446777,
-0.05858965590596199,
0.07888589054346085,
0.013821195811033249,
0.015428729355335236,
-0.009465588256716728,
0.04971678927540779,
-0.0331026166677475,
-0.03398272022604942,
-0.007314726710319519,
0.04562162235379219,
-0.04127499461174011,
0.00879204086959362,
0.013030900619924068,
0.03814973309636116,
-0.01096535474061966,
0.00010538213246036321,
0.010974334552884102,
0.014395956881344318,
0.04813620075583458,
0.015994509682059288,
0.02633121982216835,
0.030498234555125237,
-0.005487167276442051,
0.04881872609257698,
-0.0011663598706945777,
-0.02726520597934723,
0.013937944546341896,
0.020924877375364304,
0.010417535901069641,
0.004777697380632162,
0.011935262940824032,
-0.02078118734061718,
0.007916429080069065,
-0.023349648341536522,
-0.032366205006837845,
0.037826430052518845,
0.045298319309949875,
0.004375813994556665,
-0.018446221947669983,
0.00742698460817337,
0.020763225853443146,
0.011764630675315857,
-0.016578251495957375,
0.01616514101624489,
0.10008018463850021,
-0.06728290766477585,
-0.06771398335695267,
-0.01707218587398529,
-0.05183621868491173,
-0.04116722568869591,
-0.049177952110767365,
0.032114747911691666,
0.01851806789636612,
0.007422494236379862,
-0.033012811094522476,
-0.02949240244925022,
0.01621902547776699,
0.04885464906692505,
-0.008468737825751305,
-0.027067631483078003,
0.0013852628180757165,
0.023744797334074974,
-0.05251874774694443,
0.007620068266987801,
-0.04044877737760544,
0.011405405588448048,
0.012851287610828876,
0.01745835319161415,
-0.00855405442416668,
-0.040987614542245865,
-0.038006044924259186,
0.04382549598813057,
0.021858863532543182,
0.04501093924045563,
0.05043524131178856,
0.02291857823729515,
-0.019362246617674828,
-0.010193020105361938,
0.013192551210522652,
-0.017934326082468033,
0.028791913762688637,
0.11344336718320847,
-0.0005236832075752318,
-0.03195309638977051,
0.023565184324979782,
-0.01750325597822666,
-0.02722928300499916,
-0.03836527094244957,
0.011953224427998066,
0.027768120169639587,
-0.00777722941711545,
-0.045765310525894165,
-0.007817641831934452,
-0.010588167235255241,
0.0168925728648901,
0.03649729862809181,
0.09311121702194214,
-0.006039476487785578,
0.018913215026259422,
0.0429992750287056,
0.025612767785787582,
-0.05018378421664238,
0.04698667675256729,
0.004678910598158836,
0.0019959460478276014,
-0.043214812874794006,
-0.026385102421045303,
-0.03152202442288399,
-0.03114483878016472,
0.0348089374601841,
0.03409048914909363,
-0.06081685423851013,
0.02773219905793667,
0.022721003741025925,
0.011593998409807682,
0.06652853637933731,
0.00377635657787323,
-0.0764431580901146,
0.013309299945831299,
-0.0037561501376330853,
0.035778846591711044,
-0.0009839407866820693,
0.056901298463344574,
-0.03840119019150734,
0.02909725531935692,
0.010686954483389854,
-0.00389310484752059,
-0.03678467869758606,
0.0922490730881691,
0.017296701669692993,
0.02065545879304409,
-0.07608393579721451,
0.014225324615836143,
0.0008615796105004847,
-0.022649159654974937,
0.03455748036503792,
-0.01667703688144684,
0.05981102213263512,
0.014171441085636616,
0.027337050065398216,
0.017916364595294,
0.016578251495957375,
0.0553925521671772,
-0.06031394004821777,
0.01634475402534008,
-0.04989640414714813,
-0.025020046159625053,
-0.006255011539906263,
0.027750158682465553,
0.027929771691560745,
0.039658479392528534,
-0.02308022975921631,
-0.03886818513274193,
0.007638029288500547,
-0.019434092566370964,
0.012914151884615421,
-0.018230687826871872,
0.00840587355196476,
0.018536029383540154,
0.005087529309093952,
-0.030965225771069527,
-0.006394211668521166,
-0.0065738242119550705,
0.004328665789216757,
0.09742192178964615,
-0.02936667390167713,
-0.01171074714511633,
0.02291857823729515,
0.007956841960549355,
-0.0032644604798406363,
0.04131091758608818,
0.04206528887152672,
0.0834839716553688,
-0.02112245187163353,
-0.060780931264162064,
-0.053273122757673264,
0.07867035269737244,
0.02500208467245102,
-0.038940031081438065,
0.012267546728253365,
-0.012438178062438965,
-0.0222360510379076,
0.01834743469953537,
-0.010615109466016293,
0.05855373665690422,
-0.00036034794175066054,
-0.01993700861930847,
-0.03365941718220711,
0.047992508858442307,
0.008114002645015717,
-0.017422430217266083,
0.06897126883268356,
-0.03840119019150734,
-0.017916364595294,
0.0030534155666828156,
-0.036461375653743744,
0.006232560146600008,
-0.047992508858442307,
0.017997190356254578,
-0.08017910271883011,
0.05018378421664238,
-0.05718867853283882,
0.013794254511594772,
-0.028324920684099197,
0.03391087427735329,
-0.022397702559828758,
-0.014521685428917408,
0.011926282197237015,
0.0015603852225467563,
-0.019146712496876717,
-0.004616045858711004,
-0.007081230171024799,
0.023313727229833603,
0.0409516915678978,
-0.03380310535430908,
0.08520825952291489,
0.004710342735052109,
0.0429992750287056,
0.041418686509132385,
0.061643071472644806,
-0.00048411230091005564,
-0.05011193826794624,
-0.08082570880651474,
-0.0032150670886039734,
0.008576505817472935,
0.02803754061460495,
-0.042352668941020966,
-0.03576088696718216,
-0.037143904715776443,
-0.019272441044449806,
0.016784805804491043,
-0.03247397392988205,
-0.06782174855470657,
-0.027660353109240532,
-0.030749691650271416,
-0.05057893320918083,
0.02697782590985298,
0.017000339925289154,
0.015949606895446777,
0.013075803406536579,
0.06929457187652588,
0.0030534155666828156,
-0.006748946383595467,
0.0013639337848871946,
0.047561436891555786,
-0.07536548376083374,
-0.019182635471224785,
0.0002827496500685811,
-0.007373100612312555,
-0.008778570219874382,
-0.02273896522819996,
-0.0005960895796306431,
-0.010713896714150906,
-0.02568461373448372,
-0.001366178970783949,
-0.007229410577565432,
-0.010022387839853764,
0.05557216331362724,
-0.005814960692077875,
-0.016021450981497765,
0.011719727888703346,
-0.018895253539085388,
-0.04170606657862663,
0.05384788289666176,
0.008796530775725842,
0.00038560599205084145,
-0.02295450121164322,
-0.01171074714511633,
-0.004234368912875652,
0.011180889792740345,
-0.07637131214141846,
0.018338454887270927,
0.005276122596114874,
0.05183621868491173,
0.03098318725824356,
0.0009929214138537645,
0.005347967613488436,
-0.031593870371580124,
-0.0671032965183258,
-0.028953565284609795,
0.021230218932032585,
-0.008401383645832539,
0.035275932401418686,
-0.016012471169233322,
0.048495423048734665,
0.03818565607070923,
-0.0007251861970871687,
0.0005455735372379422,
0.007341668475419283,
0.08607039600610733,
-0.004526239819824696,
0.008230751380324364,
-0.0075212810188531876,
-0.04472355917096138,
-0.027678314596414566,
-0.02282877266407013,
0.003807788947597146,
-0.03585069254040718,
-0.019092828035354614,
0.00010468051914358512,
-0.0331026166677475,
-0.023116152733564377,
0.01054326444864273,
-0.010291806422173977,
0.014737220481038094,
0.0024943710304796696,
-0.026654522866010666,
-0.009169227443635464,
-0.01975739561021328,
-0.03089338168501854,
-0.006542392075061798,
0.019829239696264267,
-0.02018846571445465,
0.021625367924571037,
-0.017781656235456467,
0.008998595178127289,
0.01284230686724186,
-0.006968972273170948,
0.005990082863718271,
-0.017296701669692993,
0.025235582143068314,
0.013057841919362545,
0.006232560146600008,
0.009959523566067219,
-0.036030303686857224,
0.036335647106170654,
0.02478655055165291,
0.020260309800505638,
-0.02555888518691063,
-0.04382549598813057,
-0.020170504227280617,
-0.03644341230392456,
0.028360841795802116,
-0.0013796499697491527,
-0.025971993803977966,
0.04745367169380188,
0.03933517634868622,
0.035347774624824524,
0.004501543007791042,
0.0037561501376330853,
-0.020511768758296967,
0.020763225853443146,
-0.0052446904592216015,
0.022092359140515327,
0.02645694836974144,
-0.07317420840263367,
0.012905171141028404,
-0.029258906841278076,
-0.054171185940504074,
0.013452989980578423,
0.02794773317873478,
0.06060132011771202,
-0.02176905795931816,
-0.004638497717678547,
0.02449917048215866,
-0.002864822279661894,
0.013578718528151512,
0.020044775679707527,
-0.08434611558914185,
0.03312058001756668,
0.029456479474902153,
-0.009357821196317673,
-0.0225773137062788,
-0.037826430052518845,
-0.030408427119255066,
0.031180761754512787,
-0.012034050188958645,
-0.06810913234949112,
0.0581226646900177,
-0.017682868987321854,
-0.02171517349779606,
0.02214624360203743,
-0.01668601855635643,
-0.02757054753601551,
-0.056398384273052216,
0.009591317735612392,
0.0215535219758749,
-0.005127942189574242,
-0.019452054053544998,
-0.004813619889318943,
-0.008733666501939297,
-0.02807346172630787,
-0.017673887312412262,
0.0025460098404437304,
-0.005060587543994188,
-0.022128282114863396,
0.020368078723549843,
0.03717982396483421,
0.023313727229833603,
0.038940031081438065,
-0.009519471786916256,
-0.024337518960237503,
-0.10331321507692337,
-0.0034777505788952112,
0.004577878396958113,
0.0015704884426668286,
0.0070093851536512375,
0.0036483826115727425,
0.06570231914520264,
0.006852224003523588,
-0.045082785189151764,
0.00041002206853590906,
0.04307112097740173,
-0.02760646864771843,
-0.05241098254919052
] |
713,319
|
xmlschema.resources
|
_lazy_clear
| null |
def _lazy_clear(self, elem: ElementType,
ancestors: Optional[List[ElementType]] = None) -> None:
if ancestors and self._thin_lazy:
# Delete preceding elements
for parent, child in zip_longest(ancestors, ancestors[1:]):
if child is None:
child = elem
for k, e in enumerate(parent):
if child is not e:
if e in self._xmlns:
del self._xmlns[e]
del self._nsmaps[e]
else:
if k:
del parent[:k]
break
for e in elem.iter():
if elem is not e:
if e in self._xmlns:
del self._xmlns[e]
del self._nsmaps[e]
del elem[:] # delete children, keep attributes, text and tail.
# reset the whole XPath tree to let it still usable if other
# children are added to the root by ElementTree.iterparse().
self.xpath_root.children.clear()
|
(self, elem: Optional[~T], ancestors: Optional[List[Optional[~T]]] = None) -> NoneType
|
[
-0.041136424988508224,
-0.006332424934953451,
0.021205436438322067,
0.020957626402378082,
-0.07908672094345093,
0.00015778513625264168,
-0.043295908719301224,
0.015833275392651558,
0.024834079667925835,
0.03394994139671326,
0.007642276585102081,
0.020780621096491814,
0.028214912861585617,
-0.0032547160517424345,
-0.06959914416074753,
0.00010288530756952241,
-0.020869122818112373,
0.02982567623257637,
-0.0008640153682790697,
-0.022887002676725388,
-0.006350125651806593,
0.012788754887878895,
0.01624039188027382,
0.04793349280953407,
-0.011832917109131813,
-0.055155377835035324,
0.0022944530937820673,
0.009593778289854527,
-0.02083372138440609,
0.012726802378892899,
0.013833096250891685,
-0.018408726900815964,
-0.010505364276468754,
-0.004757062532007694,
0.051721442490816116,
-0.04000357910990715,
0.013514483347535133,
0.046659041196107864,
0.02341802418231964,
0.00316178728826344,
0.02104612998664379,
0.007620150689035654,
-0.0021982055623084307,
-0.08326408267021179,
0.033719830214977264,
0.028869839385151863,
0.0983450785279274,
0.06545718014240265,
-0.03798569738864899,
-0.012682550586760044,
0.0053367605432868,
0.07200644165277481,
0.020993027836084366,
0.07041338086128235,
-0.02132934145629406,
0.04042839631438255,
0.02775469608604908,
0.023878242820501328,
0.047968894243240356,
0.046552836894989014,
0.01895744912326336,
0.003307817969471216,
-0.029259255155920982,
-0.016638657078146935,
0.02934775874018669,
-0.025028787553310394,
0.01576247252523899,
0.034020744264125824,
-0.01011594943702221,
-0.005819104611873627,
-0.05798748880624771,
-0.006416503340005875,
-0.023064009845256805,
-0.002498011104762554,
0.041525840759277344,
-0.03993277624249458,
0.04294189438223839,
0.023046309128403664,
0.03152494505047798,
0.0024095075204968452,
0.013762293383479118,
0.04719006270170212,
-0.026427142322063446,
0.021966567263007164,
0.03982657194137573,
-0.0031020473688840866,
0.02152404934167862,
0.013107366859912872,
0.02686966024339199,
0.01630234345793724,
-0.007695378735661507,
0.04719006270170212,
-0.02260379120707512,
-0.012788754887878895,
0.0442163459956646,
0.057739678770303726,
-0.024480065330863,
-0.017868855968117714,
0.01219578180462122,
-0.049526553601026535,
0.029843376949429512,
0.01274450309574604,
-0.03464026749134064,
0.026037728413939476,
0.03354282304644585,
0.04386233165860176,
0.07434293627738953,
-0.027312178164720535,
0.04750867560505867,
0.016771411523222923,
0.008009565994143486,
-0.04018058627843857,
-0.051792245358228683,
0.055473990738391876,
0.034534063190221786,
-0.01675371080636978,
-0.030002683401107788,
-0.030870018526911736,
0.05296048894524574,
-0.009815037250518799,
0.027205973863601685,
-0.027436083182692528,
-0.0894947350025177,
0.0012501118471845984,
-0.009354819543659687,
0.002781222341582179,
0.020975327119231224,
0.061173614114522934,
-0.02033810317516327,
-0.0173643846064806,
0.03317110985517502,
0.010036296211183071,
-0.021966567263007164,
-0.020178796723484993,
0.034516360610723495,
0.0006847957847639918,
0.04131343215703964,
-0.04198605567216873,
-0.047048456966876984,
-0.022391384467482567,
-0.0377378910779953,
0.022373683750629425,
0.021683355793356895,
0.032339178025722504,
0.013948150910437107,
-0.004743787460029125,
0.00837685540318489,
-0.006912122946232557,
-0.10988593846559525,
-0.0073590655811131,
-0.09756625443696976,
-0.04899553209543228,
0.005712900310754776,
-0.006438629236072302,
-0.03301180154085159,
0.02154175005853176,
-0.0588725246489048,
0.05444734916090965,
-0.04244627431035042,
-0.022001968696713448,
-0.01085937861353159,
0.02171875722706318,
0.02212587371468544,
-0.059014130383729935,
-0.04740247130393982,
0.009859289042651653,
-0.007890086621046066,
-0.03171965107321739,
-0.041030220687389374,
0.0031042599584907293,
-0.01945306733250618,
0.0037149342242628336,
0.017957359552383423,
-0.02745378389954567,
-0.0005572954542003572,
0.044995177537202835,
0.00428135646507144,
0.01652360148727894,
-0.04761487990617752,
0.06673163175582886,
-0.006770517211407423,
-0.038764528930187225,
0.013957001268863678,
-0.048145901411771774,
0.017904257401823997,
0.0021495285909622908,
0.016700608655810356,
-0.016612105071544647,
-0.017886556684970856,
0.023134812712669373,
-0.022072771564126015,
0.035011980682611465,
0.025400502607226372,
0.017328983172774315,
0.04117182642221451,
0.0017800264758989215,
-0.009567227214574814,
-0.006757241673767567,
0.005181879736483097,
-0.0022125872783362865,
-0.0836888998746872,
-0.007013901602476835,
0.05165063962340355,
-0.023966746404767036,
0.023364922031760216,
0.022178975865244865,
-0.003858752315863967,
0.016373146325349808,
-0.06588199734687805,
0.04018058627843857,
-0.04842911288142204,
-0.019329162314534187,
0.00684132007881999,
-0.05880172178149223,
0.001076976885087788,
-0.03534829616546631,
-0.04088861495256424,
0.039861973375082016,
-0.011620508506894112,
-0.01526685245335102,
-0.04315430298447609,
0.02538280189037323,
-0.010779725387692451,
-0.03763168677687645,
0.009230914525687695,
0.0012224544771015644,
-0.03439245745539665,
-0.018063563853502274,
0.014240211807191372,
-0.01328437402844429,
0.0450659804046154,
-0.02607312984764576,
0.07264366745948792,
-0.0590849332511425,
0.023559629917144775,
-0.02024959959089756,
-0.013638388365507126,
0.032834794372320175,
0.047048456966876984,
-0.014665029011666775,
-0.06687323749065399,
-0.03734847530722618,
0.008421107195317745,
-0.021488647907972336,
-0.04120722785592079,
0.07391811907291412,
0.036994460970163345,
-0.004157451447099447,
0.04591561108827591,
-0.01625809259712696,
0.02232058160007,
0.00585450604557991,
0.019789380952715874,
-0.03281709551811218,
0.11023995280265808,
-0.03671124950051308,
0.04216306284070015,
0.023382622748613358,
-0.0025444754865020514,
0.006748391315340996,
0.053066693246364594,
-0.027188273146748543,
0.10202682763338089,
0.030675310641527176,
-0.027082068845629692,
0.02242678590118885,
0.041136424988508224,
0.011549705639481544,
-0.051509033888578415,
0.012585196644067764,
0.00102166214492172,
-0.04110102355480194,
0.05582800507545471,
0.012319685891270638,
0.015709370374679565,
0.06439514458179474,
-0.017267031595110893,
-0.008775121532380581,
-0.002621915889903903,
0.07133381813764572,
0.000021728299543610774,
-0.04584480822086334,
0.04966815933585167,
0.0750509649515152,
0.00229666568338871,
-0.0033476445823907852,
-0.013948150910437107,
-0.01828482188284397,
-0.0009237552294507623,
0.026037728413939476,
0.003453848883509636,
0.020869122818112373,
0.002905127126723528,
0.005195155274122953,
-0.0034826125483959913,
-0.07154622673988342,
-0.01131074596196413,
-0.027418382465839386,
-0.014983640983700752,
0.025612911209464073,
-0.011832917109131813,
-0.017691848799586296,
0.009894690476357937,
-0.023683534935116768,
0.05589880794286728,
0.017913106828927994,
-0.0026506795547902584,
-0.01234623696655035,
0.06779367476701736,
0.007022751960903406,
-0.006190819200128317,
0.012178081087768078,
-0.05689004436135292,
0.016851065680384636,
0.06035938113927841,
0.008036117069423199,
0.029967281967401505,
-0.039260149002075195,
0.03308260440826416,
0.05345610901713371,
-0.006721840240061283,
0.011523154564201832,
-0.05246486887335777,
0.014992491342127323,
-0.06485535949468613,
-0.06970535218715668,
0.013266673311591148,
0.06142142415046692,
-0.043118901550769806,
-0.06843090057373047,
-0.01774495095014572,
-0.04956195503473282,
-0.04956195503473282,
-0.015178348869085312,
-0.016514752060174942,
-0.011850617825984955,
0.021948866546154022,
-0.023949045687913895,
-0.012558645568788052,
-0.00031474055140279233,
0.006394377443939447,
0.0321267694234848,
0.0015012405347079039,
0.01304541528224945,
-0.01885124482214451,
0.06195244565606117,
0.05285428464412689,
-0.024444663897156715,
0.042127661406993866,
0.0039605312049388885,
0.03890613466501236,
-0.001012811902910471,
0.08595459163188934,
0.003179488005116582,
0.0608195997774601,
-0.03897693753242493,
-0.006173118483275175,
0.08114000409841537,
-0.021081531420350075,
-0.007921062409877777,
0.05788128450512886,
-0.03310030698776245,
-0.015293403528630733,
-0.03848131746053696,
0.09806186705827713,
-0.006124441511929035,
-0.0211346335709095,
0.019099052995443344,
-0.07533417642116547,
-0.018992848694324493,
0.003121960675343871,
-0.04513678327202797,
-0.020090293139219284,
-0.02993188053369522,
0.0280379056930542,
0.03587931767106056,
-0.005863356404006481,
0.06375791877508163,
0.03819810599088669,
0.017656447365880013,
-0.0033941089641302824,
0.043295908719301224,
0.05720865726470947,
-0.03616252541542053,
-0.03929555043578148,
-0.015691669657826424,
0.03564920648932457,
-0.024356162175536156,
0.026320938020944595,
0.05204005539417267,
0.07126301527023315,
0.0014016741188243032,
0.0008280607871711254,
-0.046977654099464417,
-0.046659041196107864,
-0.00973538402467966,
0.004462788812816143,
-0.028409620746970177,
0.001885124365799129,
-0.025736816227436066,
-0.003984869923442602,
-0.0021218713372945786,
0.01682451367378235,
0.010363759472966194,
0.025949224829673767,
0.01368264015763998,
-0.05504917353391647,
-0.03894153609871864,
0.02161255292594433,
0.02035580389201641,
-0.014151708222925663,
0.018939748406410217,
0.04694225266575813,
0.00013068094267509878,
0.08963634073734283,
-0.03720686957240105,
0.08106920123100281,
0.006279322784394026,
0.054376546293497086,
-0.000618418154772371,
-0.08269766718149185,
0.014364116825163364,
0.015948329120874405,
0.03979117050766945,
0.014364116825163364,
-0.03232147544622421,
-0.03823350742459297,
-0.06113821268081665,
-0.05296048894524574,
0.025152692571282387,
0.006535983178764582,
-0.03495888039469719,
-0.05727946013212204,
-0.007120105903595686,
-0.008067093789577484,
0.043118901550769806,
-0.027082068845629692,
0.005128777585923672,
0.0008219761657528579,
-0.05936814472079277,
-0.034215450286865234,
0.030993923544883728,
-0.007421018090099096,
-0.03288789838552475,
0.014850886538624763,
0.039047740399837494,
-0.031542643904685974,
0.06666082888841629,
-0.04910173639655113,
0.024267658591270447,
-0.018727339804172516,
-0.026497945189476013,
0.016550153493881226,
-0.06312069296836853,
-0.06315609067678452,
-0.029507065191864967,
0.018532631918787956,
0.023559629917144775,
-0.034923478960990906,
0.025011086836457253,
0.004788038786500692,
0.031188631430268288,
0.06234186142683029,
-0.052677277475595474,
0.0005946328165009618,
0.04949115216732025,
0.011532004922628403,
0.02104612998664379,
-0.0567130371928215,
-0.012868408113718033,
0.05264187604188919,
-0.07887431234121323,
0.0028918515890836716,
-0.0015997006557881832,
-0.024373862892389297,
-0.03308260440826416,
-0.012806455604732037,
0.03548990190029144,
0.011036385782063007,
-0.005084525793790817,
0.017461739480495453,
-0.005562444683164358,
0.03646343946456909,
-0.03957876190543175,
-0.01317816972732544,
0.00464200833812356,
0.002880788641050458,
-0.0321267694234848,
0.014293313957750797,
0.003073283703997731,
-0.07866190373897552,
-0.02538280189037323,
-0.005261532496660948,
0.02704666741192341,
0.07830788940191269,
0.00030948565108701587,
0.042800288647413254,
0.008000715635716915,
0.020196497440338135,
-0.11951511353254318,
-0.03692365810275078,
-0.02685195952653885,
0.00595185998827219,
0.047756485641002655,
0.008509610779583454,
0.032834794372320175,
0.016656357795000076,
0.033436618745326996,
-0.029064547270536423,
-0.026781156659126282,
-0.019771680235862732,
-0.04807509854435921,
-0.037277672439813614,
0.007695378735661507,
-0.011416950263082981,
-0.028214912861585617,
-0.0009635817841626704,
-0.0349411778151989,
0.034427858889102936,
-0.02410835213959217,
-0.0038211382925510406,
0.06566958874464035,
-0.03656964376568794,
0.00553146842867136,
0.0025444754865020514,
0.004498190246522427,
-0.007978590205311775,
0.03010888770222664,
0.012594047002494335,
-0.020214198157191277,
0.06559878587722778,
-0.033826034516096115,
0.004562355112284422,
-0.00866891723126173,
0.012629448436200619,
0.0011560769053176045,
-0.0612444169819355,
-0.12652459740638733,
0.06195244565606117,
0.027736995369195938,
0.012602897360920906,
-0.020019490271806717,
-0.02184266224503517,
-0.006836894899606705,
-0.03389683738350868,
0.04619882255792618,
0.011470052413642406,
0.03200286254286766,
0.003883090801537037,
0.0644659474492073,
-0.005181879736483097,
-0.03656964376568794,
0.010416860692203045,
0.017798053100705147,
-0.010992133989930153,
-0.05727946013212204,
-0.03517128899693489,
-0.03458716347813606,
0.04977436363697052,
0.017567943781614304,
0.020798319950699806,
0.03741927817463875,
0.0517568439245224,
0.02842732146382332,
0.0687849149107933,
0.0007666614837944508,
-0.021559450775384903,
0.018550332635641098,
0.02557750977575779,
0.03918934613466263,
0.0013109579449519515,
0.013293224386870861,
-0.016134187579154968,
-0.030993923544883728,
-0.03812730312347412,
0.0448535718023777,
-0.00785910990089178,
-0.058624714612960815,
0.01690416783094406,
-0.024957984685897827,
-0.008735294453799725,
-0.015629716217517853,
-0.04672984406352043,
-0.05816449597477913,
0.046163421124219894,
-0.011372698470950127,
0.024515466764569283,
0.01031950768083334,
-0.06846630573272705,
-0.06807688623666763,
-0.06181083992123604,
0.0016815663548186421,
0.025435904040932655,
0.026586448773741722,
-0.0056686485186219215,
0.004035759251564741,
0.04028679057955742,
0.0022601578384637833,
-0.08829108625650406,
-0.060500986874103546,
0.019382264465093613,
-0.008500760421156883,
0.010186752304434776,
0.04733166843652725,
-0.010540765710175037,
-0.011089487932622433,
0.0041397507302463055,
0.023683534935116768,
0.07660862058401108,
0.05402253195643425,
0.010213303379714489,
0.019913285970687866,
0.09126479923725128,
0.029613269492983818,
-0.019205257296562195,
-0.05996996536850929,
-0.038764528930187225,
-0.022391384467482567,
-0.03812730312347412,
0.01318702008575201,
-0.06733345985412598,
-0.06223565712571144,
-0.02409065142273903,
0.018638836219906807,
-0.07190024107694626,
-0.00917781237512827,
-0.006757241673767567,
-0.013089667074382305,
0.009031781926751137,
0.07112140953540802,
0.039047740399837494,
-0.09020276367664337,
-0.025223495438694954,
-0.005093376152217388,
0.00814232137054205,
0.01189486961811781,
0.00024642690550535917,
0.015134097076952457,
-0.01793965883553028,
-0.06223565712571144,
0.030693011358380318,
-0.007314813788980246,
-0.009071608074009418,
-0.007217459846287966,
-0.010779725387692451,
-0.02221437729895115,
-0.01723163016140461,
-0.006766092032194138,
-0.003163999877870083,
-0.0074652694165706635,
0.008098069578409195,
0.01807241328060627,
0.02141784504055977,
0.013054265640676022,
-0.018815843388438225,
0.051332026720047,
0.013399428687989712,
-0.028462722897529602,
0.006797068286687136,
0.009257465600967407,
-0.016983820125460625,
-0.023559629917144775,
-0.015381907112896442,
0.043012697249650955,
0.03894153609871864,
-0.059226538985967636,
-0.0009392432984896004,
0.040109783411026,
-0.0349411778151989,
-0.03435705602169037,
-0.05519077926874161,
0.01130189560353756,
-0.03474647179245949,
-0.03890613466501236,
-0.0373130738735199,
-0.042269267141819,
-0.01578902266919613,
0.005376587156206369,
-0.06821849197149277,
0.03573771193623543,
-0.012691400945186615,
0.043402113020420074,
-0.03784409537911415,
-0.038268908858299255,
0.002218118868768215,
0.04609261825680733,
-0.011204542592167854,
0.017107725143432617,
0.02124083787202835,
-0.027595389634370804,
-0.0037215719930827618,
-0.07469695061445236,
0.02915305085480213,
0.02458626963198185,
-0.04166744276881218,
0.01640854775905609,
-0.005115502048283815,
-0.051509033888578415,
0.08418451994657516,
-0.03246308118104935,
0.07090900093317032,
0.006761666852980852,
-0.04598641395568848,
-0.011346147395670414,
0.0014038867084309459,
0.04524298384785652,
-0.0010537446942180395,
0.04156124219298363,
-0.03269318863749504,
0.10854068398475647,
0.034038443118333817,
0.033241912722587585,
-0.04315430298447609,
-0.03487037494778633,
0.034427858889102936,
0.005522618070244789,
0.014788934029638767,
-0.04117182642221451,
0.02704666741192341,
-0.014912838116288185,
0.004814589861780405,
0.01076202467083931,
-0.003429510397836566,
-0.020426606759428978,
-0.009876989759504795,
0.03706526383757591,
0.012824156321585178,
0.010045146569609642,
0.009903540834784508,
0.003827776061370969,
-0.03692365810275078,
-0.018532631918787956,
0.008912301622331142,
0.012753353454172611,
-0.018798142671585083,
-0.031347937881946564,
0.047473274171352386,
0.034817274659872055,
-0.035118184983730316,
-0.04081781208515167,
-0.056146614253520966,
-0.04729626700282097,
-0.017346683889627457,
0.09062757343053818,
0.007598024792969227,
-0.0398973748087883,
0.008257376030087471,
0.04099481925368309,
0.026427142322063446,
-0.040640804916620255,
-0.006651037372648716,
-0.014063204638659954,
-0.015240301378071308,
0.003776886500418186,
0.047048456966876984,
0.002257945481687784,
-0.024745576083660126,
-0.023630432784557343,
-0.04966815933585167,
-0.012080727145075798,
-0.00642092851921916,
-0.008106919936835766,
-0.031560346484184265,
-0.007031602319329977,
0.02915305085480213,
0.034427858889102936,
0.03890613466501236,
-0.010708922520279884
] |
713,320
|
xmlschema.resources
|
_lazy_iterparse
| null |
def _lazy_iterparse(self, resource: IO[AnyStr]) -> Iterator[Tuple[str, ElementType]]:
events: Tuple[str, ...]
events = 'start-ns', 'end-ns', 'start', 'end'
if self._defuse == 'remote' and is_remote_url(self.base_url) \
or self._defuse == 'nonlocal' and not is_local_url(self.base_url) \
or self._defuse == 'always':
safe_parser = SafeXMLParser(target=PyElementTree.TreeBuilder())
tree_iterator = PyElementTree.iterparse(resource, events, safe_parser)
else:
tree_iterator = ElementTree.iterparse(resource, events)
root_started = False
start_ns: List[Tuple[str, str]] = []
end_ns = False
nsmap_stack: List[Dict[str, str]] = [{}]
# Save previous status (if any)
_root: Optional[ElementType]
_nsmaps: Optional[Dict[ElementType, Dict[str, str]]]
_ns_declarations: Optional[Dict[ElementType, List[Tuple[str, str]]]]
if hasattr(self, '_root'):
_root = self._root
_nsmaps = self._nsmaps
_ns_declarations = self._xmlns
_xpath_root = self._xpath_root
else:
_root = _nsmaps = _ns_declarations = _xpath_root = None
self._nsmaps = {}
self._xmlns = {}
try:
for event, node in tree_iterator:
if event == 'start':
if end_ns:
nsmap_stack.pop()
end_ns = False
if start_ns:
nsmap_stack.append(nsmap_stack[-1].copy())
nsmap_stack[-1].update(start_ns)
self._xmlns[node] = start_ns
start_ns = []
self._nsmaps[node] = nsmap_stack[-1]
if not root_started:
self._root = node
self._xpath_root = LazyElementNode(
self._root, nsmap=self._nsmaps[node]
)
root_started = True
yield event, node
elif event == 'end':
if end_ns:
nsmap_stack.pop()
end_ns = False
yield event, node
elif event == 'start-ns':
start_ns.append(node)
else:
end_ns = True
except Exception as err:
if _root is not None \
and _nsmaps is not None \
and _ns_declarations is not None:
self._root = _root
self._nsmaps = _nsmaps
self._xmlns = _ns_declarations
self._xpath_root = _xpath_root
if isinstance(err, PyElementTree.ParseError):
raise ElementTree.ParseError(str(err)) from None
raise
|
(self, resource: IO[~AnyStr]) -> Iterator[Tuple[str, Optional[~T]]]
|
[
-0.004224909003823996,
-0.0012931086821481586,
-0.04914063960313797,
0.004428488668054342,
-0.009168630465865135,
0.0666334256529808,
0.0124962804839015,
0.052518557757139206,
0.04141968861222267,
-0.026862477883696556,
0.02334381453692913,
0.02601799927651882,
0.022137416526675224,
0.02513330616056919,
-0.03542790934443474,
0.044837817549705505,
-0.0198653656989336,
0.038303159177303314,
-0.07632482796907425,
0.014718064107000828,
-0.07419352233409882,
0.021192403510212898,
0.013571985997259617,
0.009339536540210247,
0.012757666409015656,
-0.003498556325212121,
-0.0026591038331389427,
-0.007082565687596798,
0.030562100932002068,
-0.053926024585962296,
-0.029938794672489166,
-0.033175963908433914,
0.012466120533645153,
-0.026359811425209045,
0.04310864582657814,
0.014506944455206394,
-0.04170118272304535,
0.0410175547003746,
-0.036493562161922455,
-0.010053322650492191,
0.018025606870651245,
-0.026239171624183655,
-0.053282611072063446,
-0.026078319177031517,
-0.005252860952168703,
0.015311210416257381,
0.032371699810028076,
0.0577462837100029,
-0.014024385251104832,
-0.02768685109913349,
0.03524694964289665,
0.021353257820010185,
-0.01289841253310442,
0.022137416526675224,
-0.021896136924624443,
0.07909954339265823,
-0.03132615238428116,
0.05726372450590134,
0.021494003012776375,
0.02692279778420925,
-0.008942430838942528,
-0.005288047716021538,
-0.0029280302114784718,
0.01020412240177393,
-0.02062941901385784,
-0.04095723479986191,
0.009560709819197655,
-0.0769280269742012,
-0.0807482898235321,
0.04166096821427345,
-0.02272051014006138,
0.039449237287044525,
-0.011108921840786934,
-0.005710287485271692,
-0.007097645662724972,
-0.03580993413925171,
-0.04853744059801102,
0.02217762917280197,
0.00605712691321969,
-0.020609311759471893,
-0.03363841772079468,
0.06699534505605698,
-0.016889581456780434,
-0.0010845022043213248,
0.04604421928524971,
0.0018334747292101383,
0.04037414491176605,
0.012797879986464977,
-0.02336392179131508,
0.05995801463723183,
-0.04399333894252777,
0.06128505617380142,
-0.006961925886571407,
0.01912141963839531,
0.01386353187263012,
0.0192320067435503,
-0.0513523705303669,
-0.02372584119439125,
0.028028663247823715,
-0.011340147815644741,
0.004064055625349283,
0.01591441035270691,
-0.05107088014483452,
0.0016412049299106002,
0.012074040248990059,
0.0072233122773468494,
0.0026942903641611338,
-0.0012327886652201414,
0.0423043817281723,
-0.020830484107136726,
-0.019704513251781464,
-0.0692875012755394,
0.017271608114242554,
0.09064075350761414,
-0.0013848452363163233,
-0.026661410927772522,
0.0061375536024570465,
-0.015090037137269974,
0.05436836928129196,
-0.03961009159684181,
0.010465509258210659,
-0.00865088403224945,
-0.04632570967078209,
0.04198267683386803,
-0.001029208884574473,
-0.0198653656989336,
0.04926127940416336,
0.024308934807777405,
0.048014670610427856,
-0.00287022371776402,
0.0037875892594456673,
0.011641747318208218,
0.012747612781822681,
0.0004891569842584431,
0.004006248898804188,
-0.054328154772520065,
-0.01475827768445015,
0.03876561298966408,
-0.11879006028175354,
-0.021896136924624443,
0.0033175963908433914,
-0.006288353353738785,
-0.016728729009628296,
-0.0009626056416891515,
-0.07901911437511444,
-0.002814930398017168,
0.012224840000271797,
0.018146246671676636,
0.0010449172696098685,
-0.014929183758795261,
-0.01199361402541399,
-0.07797356694936752,
-0.0022092177532613277,
0.08782582730054855,
-0.03629249334335327,
-0.0011096354573965073,
-0.03389980271458626,
0.025354480370879173,
-0.02746567688882351,
-0.04001222550868988,
-0.05686159431934357,
-0.02320306934416294,
0.014798491261899471,
-0.03130604699254036,
0.0033301631920039654,
0.02551533281803131,
-0.03910742700099945,
-0.0602797232568264,
0.006750806234776974,
0.002158951014280319,
0.017020275816321373,
0.03283415362238884,
0.0014929184690117836,
-0.0008520191186107695,
-0.007997417822480202,
0.0346035361289978,
0.02772706374526024,
0.04194246232509613,
-0.035870254039764404,
0.06876472383737564,
-0.004204802215099335,
-0.014004278928041458,
-0.014959343709051609,
-0.04680826887488365,
-0.012536493130028248,
0.06333593279123306,
0.03311564400792122,
-0.01615568995475769,
0.012536493130028248,
0.00004967755012330599,
-0.04813531041145325,
-0.012667186558246613,
0.02053893730044365,
0.04310864582657814,
-0.005222701001912355,
0.04592357948422432,
-0.03323628380894661,
0.03287436440587044,
0.058309271931648254,
0.0320701003074646,
-0.07322840392589569,
0.03516652435064316,
-0.016577929258346558,
0.030481673777103424,
-0.04684848338365555,
0.005187514703720808,
-0.03580993413925171,
0.02527405321598053,
-0.047170188277959824,
0.055494341999292374,
-0.06723662465810776,
-0.025113200768828392,
-0.013933905400335789,
0.008610670454800129,
0.010505721904337406,
0.018940459936857224,
-0.02320306934416294,
0.02465074695646763,
-0.013461398892104626,
-0.039750836789608,
0.03542790934443474,
0.02654077112674713,
0.0005884335259906948,
-0.11058654636144638,
0.02027755230665207,
-0.023564988747239113,
0.03142668679356575,
-0.016889581456780434,
-0.03812219947576523,
0.009244030341506004,
0.04246523603796959,
0.0005130336503498256,
0.08187425881624222,
-0.01335081271827221,
0.07909954339265823,
-0.024952346459031105,
0.0718611478805542,
0.04371184855699539,
0.026460345834493637,
0.010938014835119247,
-0.04966341331601143,
-0.006635192781686783,
-0.043309714645147324,
-0.09691403061151505,
-0.05999822914600372,
0.013300545513629913,
0.002817443571984768,
0.02384648099541664,
0.014215398579835892,
0.035588763654232025,
-0.011541214771568775,
0.02925516851246357,
-0.013974118046462536,
-0.034301936626434326,
0.029717622324824333,
-0.05308154225349426,
-0.038423798978328705,
-0.007097645662724972,
0.06735726445913315,
0.001504228450357914,
0.045239951461553574,
-0.012988893315196037,
0.023142749443650246,
0.09836170822381973,
-0.009852256625890732,
0.0007954691536724567,
0.04351077973842621,
-0.024670854210853577,
-0.013029105961322784,
0.05183493345975876,
0.0358903631567955,
-0.004468701779842377,
-0.009058043360710144,
0.05469007417559624,
0.017392247915267944,
0.0005120911519043148,
0.0015130250249058008,
-0.010877694934606552,
-0.03643324226140976,
-0.021835817024111748,
-0.014657744206488132,
0.029596982523798943,
-0.0019729644991457462,
0.05601711571216583,
0.001421288470737636,
-0.07805399596691132,
-0.015954622998833656,
0.06369785219430923,
0.00034401213633827865,
-0.039167746901512146,
0.00014082505367696285,
0.017040381208062172,
-0.03812219947576523,
-0.04145990312099457,
0.041500117629766464,
-0.011259721592068672,
-0.045360591262578964,
-0.028672076761722565,
-0.021876029670238495,
0.005182487890124321,
0.017653634771704674,
-0.04075616970658302,
0.006092313677072525,
-0.00031982132350094616,
0.01475827768445015,
0.06184804067015648,
0.01276772003620863,
-0.013189959339797497,
0.015522330068051815,
-0.034563321620225906,
0.026983117684721947,
-0.01592446304857731,
0.013179905712604523,
-0.08119063079357147,
-0.003232143120840192,
0.008520190604031086,
0.012878306210041046,
0.017794381827116013,
0.026219066232442856,
0.05887225642800331,
-0.08235681802034378,
0.04825595021247864,
0.01449689082801342,
-0.01359209232032299,
-0.009173656813800335,
0.048698294907808304,
0.03782059997320175,
0.059193965047597885,
-0.013340759091079235,
-0.010234282352030277,
0.0022959276102483273,
-0.03414108231663704,
-0.0846087634563446,
0.029194848611950874,
-0.027787383645772934,
0.012848146259784698,
-0.015753556042909622,
-0.03874550387263298,
0.05095024034380913,
-0.08014509081840515,
0.05235770344734192,
0.021594537422060966,
-0.006006860174238682,
-0.02024739235639572,
-0.016326595097780228,
-0.04178160801529884,
0.023665521293878555,
-0.04326950013637543,
0.027264611795544624,
-0.01000305637717247,
-0.020991338416934013,
0.026138639077544212,
0.03540780395269394,
0.030481673777103424,
0.07206221669912338,
-0.006494446657598019,
-0.019473286345601082,
-0.0012151953997090459,
0.01873939298093319,
0.07129816710948944,
0.013179905712604523,
-0.008012497797608376,
-0.0032346565276384354,
-0.0166583564132452,
0.003624222707003355,
-0.06015908345580101,
0.02294168248772621,
0.05348367616534233,
0.015240836888551712,
-0.030240394175052643,
-0.01808592677116394,
-0.017734061926603317,
-0.051513224840164185,
-0.079501673579216,
-0.012224840000271797,
-0.016085315495729446,
0.03695601597428322,
0.0160551555454731,
-0.026339706033468246,
-0.03118540719151497,
0.039449237287044525,
0.07013197988271713,
0.01160153467208147,
-0.009545629844069481,
-0.012486226856708527,
-0.09088204056024551,
0.062129534780979156,
-0.0275863166898489,
-0.000586548529099673,
0.042264167219400406,
0.0007364058983512223,
0.0003606629616115242,
0.001545698381960392,
0.0109078548848629,
-0.008490030653774738,
-0.0589928962290287,
0.07206221669912338,
-0.011511054821312428,
0.02579682506620884,
-0.038685183972120285,
-0.005981727037578821,
0.017241448163986206,
-0.014014331623911858,
0.018427740782499313,
0.05171428993344307,
-0.05095024034380913,
0.05991780385375023,
-0.059837374836206436,
-0.0037373227532953024,
0.07346968352794647,
0.001041147275827825,
-0.03351777791976929,
-0.017362087965011597,
-0.027908023446798325,
0.0037448627408593893,
-0.002028257818892598,
-0.006876472849398851,
0.04910042881965637,
0.03691580146551132,
-0.0018799713579937816,
-0.017935127019882202,
-0.02038813754916191,
0.046245284378528595,
0.019443126395344734,
0.003664436051622033,
-0.03311564400792122,
0.01308942586183548,
-0.07495757192373276,
-0.045481231063604355,
0.041741397231817245,
-0.0031165301334112883,
0.010797268711030483,
-0.031507112085819244,
-0.056660525500774384,
0.028430797159671783,
-0.053282611072063446,
-0.05621818080544472,
-0.02231837622821331,
0.03991169109940529,
-0.024349147453904152,
0.0028878168668597937,
0.0461648590862751,
0.05042746663093567,
0.024067655205726624,
0.04411397874355316,
0.005886220373213291,
-0.05698223412036896,
0.053805381059646606,
-0.023404134437441826,
-0.010767108760774136,
-0.08191446959972382,
-0.04451611265540123,
0.06458254158496857,
-0.04258587583899498,
-0.0218157097697258,
-0.01591441035270691,
0.008495057933032513,
0.05038725212216377,
-0.032130420207977295,
0.006720646284520626,
-0.017422407865524292,
0.0046949018724262714,
0.021996669471263885,
-0.05183493345975876,
-0.015693236142396927,
-0.016457289457321167,
0.029918687418103218,
0.03490513563156128,
-0.020438404753804207,
-0.02041829749941826,
-0.006398939993232489,
-0.04411397874355316,
-0.003993682563304901,
-0.034563321620225906,
-0.007379138842225075,
-0.055614981800317764,
-0.021775497123599052,
0.015673130750656128,
0.03870529308915138,
-0.037257615476846695,
-0.012446013279259205,
-0.006062153726816177,
0.07833549380302429,
0.002097374526783824,
-0.04954277351498604,
-0.05493135377764702,
0.07338925451040268,
-0.062129534780979156,
-0.03621206805109978,
0.0006220493232831359,
-0.03377916291356087,
-0.012124307453632355,
-0.001138538820669055,
0.002058417769148946,
0.039569877088069916,
-0.03822273388504982,
0.04246523603796959,
0.027908023446798325,
0.04306843504309654,
-0.07081560790538788,
0.00032327717053703964,
-0.044837817549705505,
0.028290050104260445,
0.043550994247198105,
0.04055510461330414,
0.10029194504022598,
-0.04198267683386803,
-0.0282096229493618,
0.002940596779808402,
-0.0014803517842665315,
0.01694990135729313,
0.021192403510212898,
0.02195645682513714,
-0.00046842198935337365,
-0.005363447591662407,
-0.06196868047118187,
0.041741397231817245,
0.04463675245642662,
0.028430797159671783,
-0.019473286345601082,
0.03629249334335327,
0.011963454075157642,
0.039207957684993744,
0.03223095089197159,
-0.030220288783311844,
0.003387969685718417,
-0.008344258181750774,
-0.00347844953648746,
-0.025595759972929955,
-0.0551726333796978,
0.05050789192318916,
-0.02617885172367096,
0.04664741829037666,
-0.054850928485393524,
-0.008464897982776165,
0.010616309009492397,
0.0858955904841423,
-0.04640613868832588,
-0.04656698927283287,
0.011038548313081264,
0.05698223412036896,
0.016065210103988647,
-0.028330262750387192,
0.009093230590224266,
0.015049824491143227,
0.019835205748677254,
0.012053933925926685,
0.005373500753194094,
0.019201846793293953,
-0.009399856440722942,
0.04166096821427345,
-0.04326950013637543,
0.02629949152469635,
0.04773317649960518,
-0.017734061926603317,
-0.07624439895153046,
0.007957205176353455,
-0.03229127079248428,
-0.008158271200954914,
0.027525996789336205,
-0.003933362662792206,
0.040474675595760345,
-0.13029105961322784,
0.023685628548264503,
-0.007444485556334257,
0.02515341341495514,
0.02859164960682392,
-0.0018133680569007993,
0.033155858516693115,
0.05814841762185097,
0.024469787254929543,
0.01121950801461935,
0.027666743844747543,
-0.015059877187013626,
0.04427483305335045,
0.03769996017217636,
-0.00346588296815753,
-0.044837817549705505,
0.05159365013241768,
-0.024690959602594376,
0.07499779015779495,
-0.026259278878569603,
0.04423461854457855,
-0.022137416526675224,
0.03836347907781601,
-0.009761775843799114,
-0.010194068774580956,
0.045239951461553574,
0.00535339443013072,
-0.01160153467208147,
-0.027003224939107895,
-0.08436748385429382,
0.0049462346360087395,
-0.0250126663595438,
-0.03184892609715462,
-0.04071595519781113,
0.038162413984537125,
-0.02911442331969738,
-0.07085581868886948,
-0.05537370219826698,
-0.017010221257805824,
0.06687470525503159,
0.0033301631920039654,
0.015803823247551918,
-0.008248751051723957,
-0.021353257820010185,
-0.0017417381750419736,
0.00782148540019989,
0.0002961017598863691,
0.053443461656570435,
0.010088508948683739,
-0.04757232218980789,
0.05489114299416542,
-0.014989503659307957,
-0.014748224057257175,
-0.0025221272371709347,
-0.01680915616452694,
0.03357809782028198,
-0.000883435714058578,
-0.04507909715175629,
-0.011692014522850513,
0.01031470950692892,
0.0007835308206267655,
0.03502577543258667,
-0.0628131628036499,
-0.02245912328362465,
0.05706265941262245,
-0.04632570967078209,
0.020237337797880173,
0.01340107899159193,
0.03898678347468376,
-0.03377916291356087,
-0.011118974536657333,
-0.074394591152668,
-0.011229561641812325,
0.026641305536031723,
0.07407288253307343,
0.03442257642745972,
-0.012415853329002857,
-0.020870698615908623,
0.011631694622337818,
-0.02257976308465004,
-0.0030185100622475147,
-0.042666301131248474,
-0.01262697298079729,
0.0072233122773468494,
0.035830043256282806,
0.024007335305213928,
0.056660525500774384,
0.017241448163986206,
0.03761953487992287,
0.039750836789608,
0.009987976402044296,
0.023042215034365654,
-0.016758888959884644,
0.028531329706311226,
-0.04322928562760353,
-0.018910299986600876,
0.014697957783937454,
0.02782759629189968,
0.000005748262083216105,
0.015602757222950459,
-0.007067485712468624,
0.02426872029900551,
-0.04644634947180748,
-0.0029255168046802282,
0.009661243297159672,
0.03502577543258667,
-0.042786940932273865,
-0.015019663609564304,
-0.018116086721420288,
0.023142749443650246,
0.009993002749979496,
-0.02320306934416294,
-0.004981421399861574,
-0.030722953379154205,
-0.024952346459031105,
-0.0423043817281723,
-0.021795604377985,
0.005423767492175102,
-0.030883807688951492,
0.013370919041335583,
-0.047009337693452835,
-0.05501178279519081,
-0.015612809918820858,
-0.0011894337367266417,
0.036111533641815186,
-0.05312175676226616,
0.07129816710948944,
-0.052800051867961884,
0.0013710218481719494,
0.022519443184137344,
0.03092402033507824,
0.02861175686120987,
-0.04576272517442703,
-0.016125530004501343,
-0.026138639077544212,
-0.02989858202636242,
0.044315047562122345,
-0.04596379026770592,
0.08259809762239456,
-0.02037808485329151,
-0.00494372146204114,
-0.025615865364670753,
0.0035915495827794075,
0.023042215034365654,
-0.04652677848935127,
0.020468564704060555,
-0.0011140338610857725,
0.13013020157814026,
0.01871928758919239,
0.012074040248990059,
-0.05569540709257126,
-0.03967041149735451,
0.015441903844475746,
-0.03369873762130737,
0.04206310212612152,
0.02615874633193016,
0.029275275766849518,
0.046768058091402054,
-0.008691097609698772,
-0.0071328324265778065,
-0.038303159177303314,
0.059837374836206436,
-0.03528716415166855,
0.04656698927283287,
-0.005102061200886965,
0.03396012261509895,
-0.02422850765287876,
0.042786940932273865,
-0.03152722120285034,
0.011470841243863106,
-0.022680295631289482,
0.004395815543830395,
-0.0092993238940835,
-0.05617796629667282,
0.03950955718755722,
0.033276498317718506,
-0.01449689082801342,
-0.03564908355474472,
-0.0077862986363470554,
-0.010505721904337406,
-0.055976901203393936,
0.03908731788396835,
-0.06401956081390381,
-0.03836347907781601,
0.018397580832242966,
0.009027883410453796,
-0.030702847987413406,
0.033035218715667725,
-0.012858199886977673,
-0.02806887775659561,
0.011279827915132046,
0.03351777791976929,
-0.015361476689577103,
-0.00903793703764677,
-0.010807321406900883,
-0.0018271914450451732,
-0.025334373116493225,
0.012918519787490368,
-0.026601091027259827,
-0.0035865227691829205,
0.021876029670238495,
0.03709676116704941,
0.014577317982912064,
-0.00386550254188478,
0.006398939993232489,
0.041138194501399994
] |
713,321
|
xmlschema.resources
|
_parse
| null |
def _parse(self, resource: IO[AnyStr]) -> None:
if self._defuse == 'remote' and is_remote_url(self.base_url) \
or self._defuse == 'nonlocal' and not is_local_url(self.base_url) \
or self._defuse == 'always':
if not hasattr(resource, 'seekable') or not resource.seekable():
text = resource.read()
if isinstance(text, str):
resource = StringIO(text)
else:
resource = BytesIO(text)
safe_parser = SafeXMLParser(target=PyElementTree.TreeBuilder())
try:
for _ in PyElementTree.iterparse(resource, ('start',), safe_parser):
break
except PyElementTree.ParseError as err:
raise ElementTree.ParseError(str(err))
else:
resource.seek(0)
root: Optional[ElementType] = None
start_ns: List[Tuple[str, str]] = []
end_ns = False
nsmaps: Dict[ElementType, Dict[str, str]] = {}
ns_declarations: Dict[ElementType, List[Tuple[str, str]]] = {}
events = 'start-ns', 'end-ns', 'start'
nsmap_stack: List[Dict[str, str]] = [{}]
for event, node in ElementTree.iterparse(resource, events):
if event == 'start':
if root is None:
root = node
if end_ns:
nsmap_stack.pop()
end_ns = False
if start_ns:
nsmap_stack.append(nsmap_stack[-1].copy())
nsmap_stack[-1].update(start_ns)
ns_declarations[node] = start_ns
start_ns = []
nsmaps[node] = nsmap_stack[-1]
elif event == 'start-ns':
start_ns.append(node)
else:
end_ns = True
assert root is not None
self._root = root
self._xpath_root = None
self._nsmaps = nsmaps
self._xmlns = ns_declarations
|
(self, resource: IO[~AnyStr]) -> NoneType
|
[
0.00008301772322738543,
0.019924253225326538,
-0.05466625094413757,
0.009361939504742622,
-0.008835545741021633,
0.045456815510988235,
0.04128502309322357,
0.0793428048491478,
-0.02020958811044693,
-0.03534218296408653,
0.024440418928861618,
0.04124566540122032,
0.03856942057609558,
-0.012289082631468773,
-0.026250818744301796,
0.05100608989596367,
-0.03668030723929405,
0.01794658787548542,
-0.07682398706674576,
0.0022703809663653374,
-0.06265562772750854,
-0.002555716084316373,
0.013833827339112759,
0.028887707740068436,
0.032902076840400696,
0.014729189686477184,
-0.00015488955250475556,
-0.01745462976396084,
-0.002885327208787203,
-0.06749648600816727,
-0.0008148035849444568,
-0.022118382155895233,
0.01735623925924301,
0.005637825932353735,
0.04270185902714729,
0.04049789160490036,
-0.008609245531260967,
0.05923160910606384,
-0.05718506872653961,
-0.0031165468972176313,
-0.04246572032570839,
-0.021409964188933372,
-0.03872684761881828,
-0.023869749158620834,
-0.006818522699177265,
0.037428081035614014,
0.031150709837675095,
0.056083086878061295,
-0.011639700271189213,
-0.025286583229899406,
0.009268468245863914,
0.027254411950707436,
-0.0495498962700367,
0.027766047045588493,
-0.05128158628940582,
0.07469873130321503,
-0.020229266956448555,
0.08839481323957443,
0.016283772885799408,
0.00740395113825798,
-0.03132781386375427,
0.0012581797782331705,
-0.000881832733284682,
-0.01464063674211502,
-0.04191472753882408,
-0.007974620908498764,
0.02961580455303192,
-0.05793284252285957,
-0.07702077180147171,
0.022767765447497368,
-0.008215679787099361,
0.053328126668930054,
-0.015722941607236862,
-0.00899789109826088,
0.04514196515083313,
-0.025325940921902657,
-0.007576135918498039,
0.007477744948118925,
-0.02510947920382023,
-0.002988638123497367,
-0.01590004749596119,
0.06178978458046913,
-0.0132238008081913,
-0.011688895523548126,
0.044079337269067764,
-0.019107606261968613,
0.06899203360080719,
-0.003999609500169754,
-0.054154615849256516,
0.03492894023656845,
-0.035243790596723557,
0.06753583997488022,
-0.0399075411260128,
0.01911744475364685,
0.03095392696559429,
0.014935811050236225,
-0.05572887510061264,
-0.05057316645979881,
-0.0023786115925759077,
-0.011029673740267754,
-0.042780570685863495,
0.04829048737883568,
-0.09421958029270172,
-0.018635326996445656,
0.01649039424955845,
0.00028103037038818,
0.030225832015275955,
0.02259065955877304,
0.007335077039897442,
-0.0033133295364677906,
0.013095892034471035,
-0.09177947789430618,
-0.005554193165153265,
0.08304232358932495,
0.008791269734501839,
-0.011157582513988018,
-0.0383136011660099,
0.0015939403092488647,
0.019924253225326538,
-0.04585038125514984,
-0.03475183621048927,
-0.007251444738358259,
-0.023987818509340286,
0.008929017931222916,
0.0011997598921880126,
-0.052147429436445236,
0.01928471028804779,
0.008018896915018559,
0.055374667048454285,
-0.006380680948495865,
0.006808683276176453,
0.00975058600306511,
-0.01231860090047121,
-0.00792542565613985,
-0.006400359328836203,
-0.030717788264155388,
-0.022433234378695488,
0.06887396425008774,
-0.11594440042972565,
0.002587693277746439,
0.04159987345337868,
0.029812587425112724,
-0.038136497139930725,
-0.044709041714668274,
-0.11429142206907272,
0.004321841057389975,
0.004206231329590082,
-0.03209526836872101,
-0.0299503356218338,
0.01632312871515751,
-0.01974714919924736,
-0.09477057307958603,
-0.015545837581157684,
0.07890988141298294,
-0.011078868992626667,
-0.026368889957666397,
-0.016421521082520485,
0.0056525846011936665,
-0.01257441844791174,
-0.01686428301036358,
-0.06403310596942902,
-0.008215679787099361,
0.022767765447497368,
-0.04529939219355583,
0.0014820201322436333,
0.00515570817515254,
-0.012328439392149448,
-0.08024800568819046,
-0.004779361188411713,
-0.005977276246994734,
-0.005908402148634195,
0.0595858171582222,
-0.03896298632025719,
0.005263938568532467,
-0.0016714235534891486,
0.01631329022347927,
0.04899890720844269,
0.02678213268518448,
-0.018605809658765793,
0.07501358538866043,
-0.004070943221449852,
-0.02058347687125206,
0.004535842686891556,
-0.03819553181529045,
0.0011093628127127886,
0.040222395211458206,
0.010350773110985756,
-0.022039668634533882,
0.02522754855453968,
-0.0027992345858365297,
-0.020563798025250435,
-0.023397469893097878,
0.003451077500358224,
0.03237076476216316,
0.031603310257196426,
0.0021953575778752565,
0.01031141635030508,
0.03128845989704132,
0.042190223932266235,
-0.0011019834782928228,
-0.023987818509340286,
0.05108480155467987,
-0.026034358888864517,
0.03896298632025719,
-0.05911353975534439,
0.020268624648451805,
-0.019756989553570747,
0.06729970127344131,
-0.06159300357103348,
0.06895267963409424,
-0.0730457603931427,
-0.00897329393774271,
-0.0462833046913147,
-0.01049835979938507,
0.013902701437473297,
0.003669998375698924,
-0.0795002356171608,
0.05151772499084473,
0.0038397235330194235,
-0.02032765932381153,
0.028080899268388748,
0.0332956425845623,
0.016716694459319115,
-0.0932750254869461,
-0.01470951084047556,
-0.02548336610198021,
0.01330251432955265,
0.00034867445356212556,
-0.02534561976790428,
-0.0008584647439420223,
0.044905826449394226,
-0.03020615316927433,
0.08343588560819626,
-0.005618147552013397,
0.08264875411987305,
-0.014699671417474747,
0.05498110130429268,
0.056791502982378006,
0.015673747286200523,
0.000982068944722414,
-0.0317017026245594,
-0.03270529583096504,
-0.06698484718799591,
-0.07804404199123383,
-0.08016929775476456,
0.03402373939752579,
-0.009652194567024708,
0.025168513879179955,
0.02300390414893627,
0.0015238365158438683,
0.006375761236995459,
0.035086363554000854,
-0.021272215992212296,
-0.02593596652150154,
0.006429876666516066,
-0.015368733555078506,
-0.04037982225418091,
-0.02987162210047245,
0.0661977156996727,
-0.008663360960781574,
0.0399075411260128,
-0.044118694961071014,
0.06737841665744781,
0.08115320652723312,
-0.031603310257196426,
-0.022315165027976036,
0.01407980639487505,
-0.014030610211193562,
-0.022944869473576546,
0.021075433120131493,
0.040143683552742004,
-0.0056771826930344105,
0.004545681644231081,
0.0250110886991024,
0.01514243334531784,
0.0076400903053581715,
0.016598625108599663,
-0.025955645367503166,
0.020367015153169632,
-0.001515227253548801,
-0.011836483143270016,
0.0005869660526514053,
0.03500765189528465,
0.031386848539114,
0.04892019182443619,
-0.07229798287153244,
0.011492112651467323,
0.07674527168273926,
-0.030698109418153763,
-0.043528344482183456,
-0.01769077032804489,
0.04313477873802185,
-0.05364298075437546,
-0.006921833381056786,
0.027588943019509315,
0.035952210426330566,
-0.054115258157253265,
-0.022019989788532257,
-0.018418865278363228,
-0.009922770783305168,
-0.02377135679125786,
-0.03526347130537033,
0.01179712638258934,
-0.014906293712556362,
-0.019019054248929024,
0.05057316645979881,
0.030698109418153763,
-0.006606981158256531,
0.02786443755030632,
-0.03872684761881828,
0.01586068980395794,
0.002710682572796941,
-0.0231022946536541,
-0.05183257907629013,
-0.015545837581157684,
0.07890988141298294,
0.01694299466907978,
0.02221677266061306,
0.06104201078414917,
0.03398438170552254,
-0.03860877826809883,
0.022570982575416565,
-0.0036626190412789583,
-0.015890207141637802,
0.023869749158620834,
0.01014415081590414,
0.004280025139451027,
0.048014990985393524,
0.0030452131759375334,
0.029930656775832176,
0.00779259717091918,
0.013843666762113571,
-0.0697791650891304,
-0.0023380250204354525,
-0.01861564815044403,
-0.02414524368941784,
-0.018054818734526634,
-0.05120287463068962,
0.04049789160490036,
-0.040812741965055466,
0.04655880108475685,
0.011098547838628292,
0.003197719808667898,
-0.018517257645726204,
0.017936747521162033,
-0.0428592823445797,
0.007162892259657383,
-0.027805402874946594,
0.017877712845802307,
-0.044787753373384476,
-0.05879868566989899,
0.006051069591194391,
0.02493237517774105,
0.022334842011332512,
0.03752646967768669,
-0.021055754274129868,
-0.033236607909202576,
-0.006060909014195204,
0.026624707505106926,
0.03957301378250122,
0.011069029569625854,
-0.0050474777817726135,
-0.024105887860059738,
-0.01928471028804779,
0.012013587169349194,
-0.05509917065501213,
0.04773949831724167,
0.08280618488788605,
0.015526159666478634,
-0.033413711935281754,
0.0022051967680454254,
-0.028002185747027397,
-0.026073714718222618,
-0.09201561659574509,
-0.004695728421211243,
0.04254443198442459,
0.03963204845786095,
-0.029714196920394897,
-0.0428592823445797,
-0.07587943226099014,
0.020819615572690964,
0.09382601827383041,
-0.024322347715497017,
-0.011098547838628292,
-0.024440418928861618,
-0.07186505943536758,
0.008589567616581917,
-0.02125253714621067,
-0.0074974228627979755,
0.06572543829679489,
0.03634577617049217,
0.010488521307706833,
0.00843214150518179,
0.028631890192627907,
0.00488513195887208,
-0.04183601215481758,
0.03209526836872101,
-0.025995001196861267,
0.031229423359036446,
0.004304622765630484,
0.00323707633651793,
0.012249726802110672,
-0.01261377427726984,
0.03581446036696434,
0.042780570685863495,
-0.010842730291187763,
0.06273434311151505,
-0.029182882979512215,
-0.014158518984913826,
0.0564766526222229,
0.014315945096313953,
-0.028395751491189003,
-0.04592909663915634,
-0.04502389580011368,
-0.0199144147336483,
0.01056723389774561,
0.05065188184380531,
0.047464001923799515,
0.020465407520532608,
-0.05045509710907936,
-0.026664063334465027,
0.01878291368484497,
0.04695236682891846,
0.001966597745195031,
0.007950023747980595,
-0.039887864142656326,
0.02455848827958107,
-0.076154924929142,
-0.014650476165115833,
0.01815320923924446,
0.01489645428955555,
0.04569295421242714,
-0.03418116644024849,
-0.0634034052491188,
0.03711322695016861,
-0.02333843521773815,
-0.0332956425845623,
-0.02367296628654003,
0.059507105499506,
-0.035578321665525436,
-0.01259409636259079,
0.01911744475364685,
0.016086990013718605,
0.04451226070523262,
-0.0010933742159977555,
0.013430423103272915,
-0.060766514390707016,
0.008196001872420311,
-0.0866631269454956,
-0.03888427093625069,
-0.07682398706674576,
-0.048093706369400024,
0.056083086878061295,
-0.028376072645187378,
-0.061238791793584824,
-0.0630885511636734,
0.03246915340423584,
0.06092394143342972,
-0.024086209014058113,
-0.0004529078141786158,
-0.024578165262937546,
0.025050444528460503,
0.04049789160490036,
-0.06387568265199661,
-0.05580759048461914,
0.024735592305660248,
0.03711322695016861,
0.021350929513573647,
-0.009061845950782299,
-0.03229204937815666,
-0.014138841070234776,
-0.038766201585531235,
-0.002148621715605259,
-0.0014807902043685317,
0.03392534703016281,
-0.03441730514168739,
0.028769638389348984,
0.009799781255424023,
0.02091800607740879,
-0.02774636819958687,
-0.015526159666478634,
-0.004978603683412075,
0.046755582094192505,
0.00916515663266182,
-0.03896298632025719,
-0.04004529118537903,
0.08083835244178772,
-0.047464001923799515,
0.00032192427897825837,
-0.00628720922395587,
-0.026408245787024498,
0.022984225302934647,
-0.010035920888185501,
-0.00732031837105751,
0.04529939219355583,
-0.048723410815000534,
0.03927783668041229,
0.03264625743031502,
0.03343338891863823,
-0.0597432442009449,
-0.002106805332005024,
-0.04384319856762886,
0.010429485701024532,
0.039435263723134995,
0.006100265309214592,
0.0730457603931427,
-0.0599006712436676,
0.006774246226996183,
0.010153990238904953,
-0.00853545218706131,
-0.018940340727567673,
0.03012743964791298,
0.03447633981704712,
0.007187490351498127,
-0.015260502696037292,
-0.01223988737910986,
0.029753552749753,
0.0661977156996727,
0.01330251432955265,
-0.03510604426264763,
0.023318756371736526,
-0.0034904340282082558,
0.060609087347984314,
0.023987818509340286,
-0.01936342380940914,
-0.0031411447562277317,
-0.04600780829787254,
0.01127565186470747,
-0.03374824300408363,
-0.06104201078414917,
0.0499434620141983,
-0.03374824300408363,
0.036247383803129196,
-0.08304232358932495,
0.010011322796344757,
0.06710291653871536,
0.052659064531326294,
-0.05061252415180206,
-0.05899547040462494,
0.00008440135570708662,
0.032862719148397446,
0.0066856942139565945,
-0.03703451529145241,
0.006971029099076986,
-0.0016222278354689479,
0.0014746407978236675,
0.01745462976396084,
0.013027018867433071,
0.045535530894994736,
0.000260122207691893,
0.02752990834414959,
-0.04443354532122612,
0.028749961405992508,
0.055374667048454285,
-0.020101359114050865,
-0.06182914227247238,
-0.00008255651482613757,
-0.04321349412202835,
0.0016197680961340666,
0.017002029344439507,
-0.006090426351875067,
0.02280712127685547,
-0.08201905339956284,
0.08430173248052597,
-0.028179289773106575,
0.030343901365995407,
0.035499610006809235,
-0.020819615572690964,
0.01424707192927599,
0.03363017365336418,
0.008466578088700771,
-0.0017378376796841621,
0.019943932071328163,
-0.02017023228108883,
0.05391847342252731,
0.03414180874824524,
0.018094174563884735,
-0.0032173979561775923,
0.05572887510061264,
0.02510947920382023,
0.04695236682891846,
-0.020681867375969887,
0.04577166959643364,
-0.0462045893073082,
0.01480790227651596,
0.0013479618355631828,
0.01190535631030798,
0.032410118728876114,
-0.005111432168632746,
-0.028749961405992508,
-0.03221333771944046,
-0.06875589489936829,
0.02798250876367092,
-0.0031878806184977293,
-0.04526003450155258,
-0.02845478616654873,
0.04179665818810463,
-0.021232860162854195,
-0.011374043300747871,
-0.06352147459983826,
-0.02381071262061596,
0.04958925396203995,
-0.008855223655700684,
0.002836131490767002,
0.010340933687984943,
0.021449320018291473,
-0.039218802005052567,
0.017002029344439507,
-0.03262658044695854,
0.014069966971874237,
0.03762486204504967,
-0.08713540434837341,
0.02928127348423004,
0.005903482902795076,
0.011305169202387333,
0.010518038645386696,
0.002147391904145479,
0.012102139182388783,
0.0011997598921880126,
-0.04057660326361656,
0.020563798025250435,
0.02857285551726818,
-0.0011862310348078609,
0.030973605811595917,
-0.037428081035614014,
0.023043259978294373,
0.015693424269557,
-0.04832984507083893,
0.001402077148668468,
0.0462045893073082,
0.05565016344189644,
-0.012387474067509174,
-0.013056536205112934,
-0.030973605811595917,
-0.00730064045637846,
0.020681867375969887,
0.07481680065393448,
0.049471184611320496,
0.01660846546292305,
-0.013351709581911564,
0.032567545771598816,
-0.037467435002326965,
-0.0007157973013818264,
-0.048211775720119476,
-0.0001371329854009673,
0.0022211852483451366,
0.04203279688954353,
0.013459940440952778,
0.024381384253501892,
0.031524598598480225,
0.03225269541144371,
0.01844838261604309,
0.008540371432900429,
0.028395751491189003,
0.025876931846141815,
0.03368920832872391,
-0.0029640402644872665,
-0.02522754855453968,
0.019097765907645226,
0.044039979577064514,
-0.018251599743962288,
0.011708574369549751,
0.0006257076747715473,
0.04238700494170189,
-0.04116695374250412,
-0.016264094039797783,
0.015122754499316216,
-0.0062232548370957375,
-0.032233014702796936,
-0.020563798025250435,
0.02296454831957817,
0.04250507429242134,
0.031563952565193176,
0.008171403780579567,
0.009199594147503376,
-0.02756926417350769,
0.005401686765253544,
-0.049471184611320496,
-0.000014047674994799308,
0.01694299466907978,
0.014394658617675304,
0.0045063248835504055,
-0.04238700494170189,
-0.08241261541843414,
0.01257441844791174,
0.006301967892795801,
0.03652288019657135,
-0.044158048927783966,
0.05065188184380531,
-0.04982539266347885,
-0.015280180610716343,
-0.0036109634675085545,
0.0022211852483451366,
0.039848506450653076,
-0.0025655552744865417,
-0.014129001647233963,
-0.04494518041610718,
-0.04927440360188484,
0.044039979577064514,
0.009066765196621418,
0.0929601714015007,
-0.021016398444771767,
-0.0055099171586334705,
-0.05659472197294235,
-0.0062035764567554,
0.01129532977938652,
-0.041403092443943024,
0.017041387036442757,
0.01543760672211647,
0.0990997925400734,
0.005214742850512266,
0.004872832912951708,
-0.024282991886138916,
-0.028631890192627907,
0.04364641383290291,
0.019688114523887634,
-0.006129782646894455,
0.023909104987978935,
-0.01039996836334467,
0.03300046920776367,
-0.04104888439178467,
-0.03335467725992203,
0.008948695845901966,
0.0281989686191082,
-0.01460128091275692,
0.02477494813501835,
-0.01125597395002842,
0.04573231190443039,
0.02377135679125786,
0.037093549966812134,
-0.0530526302754879,
0.044236764311790466,
-0.02418460138142109,
0.0030771903693675995,
-0.011639700271189213,
-0.053328126668930054,
0.05092737823724747,
-0.014424175955355167,
0.005259019322693348,
-0.024676557630300522,
-0.020898329094052315,
-0.021350929513573647,
-0.044079337269067764,
0.020406370982527733,
-0.03949429839849472,
-0.015299859456717968,
-0.006852959282696247,
-0.001473410869948566,
-0.024204278364777565,
0.07351803779602051,
-0.03597188740968704,
-0.04041917622089386,
0.01560487225651741,
0.053446196019649506,
-0.011580665595829487,
-0.004931867588311434,
-0.013036857359111309,
0.037801966071128845,
-0.0050228796899318695,
0.0034363188315182924,
-0.0463620163500309,
0.00007948178244987503,
0.016746211796998978,
0.03461408615112305,
-0.009091363288462162,
0.0075220209546387196,
-0.014827580191195011,
0.03660159185528755
] |
713,322
|
xmlschema.resources
|
_parse_resource
| null |
def _parse_resource(self, resource: IO[AnyStr],
url: Optional[str],
lazy: Union[bool, int]) -> None:
_url, self._url = self._url, url
try:
if not lazy:
self._parse(resource)
else:
for _, root in self._lazy_iterparse(resource): # pragma: no cover
break
except Exception:
self._url = _url
raise
|
(self, resource: IO[~AnyStr], url: Optional[str], lazy: Union[bool, int]) -> NoneType
|
[
-0.020719364285469055,
0.0019316961988806725,
-0.0343271903693676,
0.021624140441417694,
-0.027686137706041336,
0.04541974142193794,
0.098077692091465,
0.04697595536708832,
-0.0008827218553051353,
-0.050558868795633316,
0.04853216931223869,
0.07889644801616669,
0.015896908938884735,
-0.00028599397046491504,
-0.030038554221391678,
0.061271414160728455,
-0.02719755843281746,
0.060511402785778046,
-0.07401065528392792,
0.0000891345480340533,
-0.06901629269123077,
0.00862251315265894,
0.005858422722667456,
0.052947476506233215,
-0.0001700695720501244,
0.047772157937288284,
0.029640452936291695,
0.011472556740045547,
0.015354044735431671,
-0.062139999121427536,
0.029188064858317375,
0.03667960688471794,
0.023270832374691963,
0.015779288485646248,
0.009735386818647385,
0.01121017150580883,
0.002899806248024106,
0.0760735422372818,
-0.11009310930967331,
-0.03159476816654205,
-0.022167006507515907,
0.003132785903289914,
-0.0442616306245327,
-0.017914559692144394,
0.013444967567920685,
0.019506964832544327,
-0.007156776264309883,
0.03530434891581535,
-0.033078599721193314,
-0.09576146304607391,
-0.0037864865735173225,
0.04111301153898239,
-0.021045083180069923,
0.0061660464853048325,
0.024845141917467117,
0.01679263822734356,
-0.024754663929343224,
0.09047757089138031,
0.027957569807767868,
0.0265642162412405,
-0.017507411539554596,
-0.056530389934778214,
-0.04154730215668678,
-0.020990796387195587,
-0.010631115175783634,
-0.030852852389216423,
0.009916341863572598,
-0.007572973147034645,
-0.024175608530640602,
0.03076237626373768,
-0.0234517864882946,
0.07527734339237213,
-0.03016522340476513,
-0.008337508887052536,
0.030364273115992546,
-0.062176190316677094,
0.021768905222415924,
0.006143427453935146,
0.003983275033533573,
-0.029513785615563393,
0.012911150231957436,
0.005170793272554874,
-0.03463481739163399,
-0.029477594420313835,
-0.049219802021980286,
-0.04824264347553253,
0.06058378517627716,
-0.058267559856176376,
-0.06304477155208588,
0.0846870094537735,
-0.04603499174118042,
0.04741024971008301,
-0.03401956707239151,
-0.028771867975592613,
0.04082348197698593,
0.03908631205558777,
-0.04440639540553093,
-0.0025876585859805346,
0.01693740114569664,
-0.030038554221391678,
-0.011753036640584469,
-0.024754663929343224,
-0.04853216931223869,
0.00038792259874753654,
0.018801240250468254,
-0.05718182772397995,
0.07126013934612274,
0.03472529351711273,
0.015896908938884735,
0.00022364925825968385,
-0.005605085752904415,
-0.04842359945178032,
-0.018005037680268288,
0.08729276061058044,
-0.005306509789079428,
0.001693061669357121,
-0.025912776589393616,
-0.030382368713617325,
0.011074455454945564,
-0.027143271639943123,
-0.052368421107530594,
-0.027088986709713936,
-0.05363510549068451,
0.025749918073415756,
0.014684510417282581,
-0.012902102433145046,
-0.027070891112089157,
-0.03297002986073494,
0.01210589986294508,
0.021768905222415924,
0.006129855755716562,
0.05982377380132675,
0.022836539894342422,
-0.005564370658248663,
-0.03767486289143562,
-0.049690283834934235,
-0.0724906325340271,
0.06836485862731934,
-0.08027170598506927,
-0.023216545581817627,
0.034544337540864944,
0.05707325413823128,
-0.07810024172067642,
-0.02793947421014309,
-0.00598509144037962,
-0.05197031795978546,
0.02987569570541382,
-0.016720255836844444,
0.009328237734735012,
0.037638671696186066,
0.015851670876145363,
-0.03800057992339134,
0.02079174667596817,
0.025279434397816658,
0.002709803404286504,
0.006518909242004156,
-0.014756892807781696,
-0.02493561990559101,
0.002225748263299465,
-0.05718182772397995,
0.002295868471264839,
-0.005193412769585848,
-0.021045083180069923,
0.02214891090989113,
-0.004607570357620716,
0.01493784785270691,
0.009681100025773048,
-0.05197031795978546,
0.03269859403371811,
0.003863392397761345,
-0.008826087228953838,
0.007862500846385956,
-0.014557842165231705,
0.027143271639943123,
0.061271414160728455,
0.0454559326171875,
0.038724400103092194,
0.0006016758852638304,
-0.009789673611521721,
0.038543447852134705,
0.0017722294433042407,
-0.01373449619859457,
0.010902547277510166,
-0.008993471041321754,
-0.02184128575026989,
-0.01774265244603157,
0.0030400464311242104,
-0.03582911938428879,
0.018964098766446114,
0.0017484790878370404,
-0.04513021558523178,
-0.003908631391823292,
-0.02808423899114132,
-0.016783589497208595,
0.02450132742524147,
-0.04487687721848488,
-0.020737459883093834,
-0.006935106124728918,
0.09293856471776962,
0.029025206342339516,
-0.1052435114979744,
0.00934633333235979,
-0.014069262892007828,
0.01352639775723219,
-0.0502331480383873,
0.015200232155621052,
-0.04190921410918236,
0.08360128104686737,
-0.055951330810785294,
0.07364874333143234,
-0.048351217061281204,
0.012992579489946365,
-0.018077420070767403,
0.0026758741587400436,
0.03738533332943916,
0.010812070220708847,
-0.033512894064188004,
-0.01241352315992117,
-0.03297002986073494,
-0.017769794911146164,
0.029640452936291695,
0.023723220452666283,
0.020140308886766434,
-0.06934200972318649,
0.022347960621118546,
-0.04310351610183716,
0.005202460568398237,
0.006369621027261019,
-0.03342241421341896,
0.05244080349802971,
0.008907517418265343,
0.015915004536509514,
0.1143636554479599,
0.02301749587059021,
0.05345414951443672,
-0.022547012194991112,
0.01538118813186884,
0.05421416088938713,
0.01470260601490736,
-0.01872885785996914,
-0.03441767022013664,
-0.044334013015031815,
-0.08461462706327438,
-0.09916342049837112,
-0.055191319435834885,
0.050414104014635086,
-0.014910704456269741,
0.04248826950788498,
-0.02361464686691761,
-0.02377750724554062,
0.0367157980799675,
0.05862946808338165,
-0.04295875132083893,
-0.04245207831263542,
-0.019543156027793884,
-0.0727439671754837,
-0.013010675087571144,
-0.05349034070968628,
0.002850043587386608,
0.023723220452666283,
-0.00029574858490377665,
-0.00005004540798836388,
0.06908867508172989,
0.06695340573787689,
-0.0490388460457325,
-0.0394844152033329,
0.019090767949819565,
-0.021443184465169907,
-0.015896908938884735,
0.050595059990882874,
0.053237006068229675,
-0.02019459381699562,
0.030545229092240334,
0.012911150231957436,
0.03459862619638443,
0.013924499042332172,
0.03535863757133484,
-0.04013585299253464,
0.05837612971663475,
0.0026193258818238974,
-0.005102935247123241,
0.025207052007317543,
0.03716818615794182,
0.022691775113344193,
0.015851670876145363,
-0.06163332238793373,
0.008373699150979519,
0.10632924735546112,
-0.04621594399213791,
-0.025912776589393616,
0.0215336624532938,
0.005926281213760376,
-0.008979898877441883,
-0.0025378959253430367,
-0.005193412769585848,
0.023705124855041504,
-0.036010075360536575,
0.005211508367210627,
-0.010857309214770794,
-0.05403320863842964,
-0.025587057694792747,
-0.06394954770803452,
0.03756628930568695,
-0.006699864286929369,
-0.03132333606481552,
-0.02509847842156887,
0.009726339019834995,
-0.01976030319929123,
0.002691707806661725,
-0.014883561059832573,
0.041511110961437225,
0.03427290543913841,
-0.024428945034742355,
0.0017168120248243213,
-0.033060505986213684,
0.04722929373383522,
-0.0003791575727518648,
0.060981884598731995,
0.008301317691802979,
0.01478403527289629,
-0.04650547355413437,
0.01262162160128355,
0.014385933987796307,
-0.014738797210156918,
0.003863392397761345,
0.03072618506848812,
0.02050221897661686,
0.018674571067094803,
-0.02408513054251671,
0.05627705156803131,
0.016086913645267487,
0.051608409732580185,
-0.0822984054684639,
0.006641054060310125,
-0.01854790188372135,
0.00664557795971632,
-0.044659730046987534,
-0.05700087174773216,
0.01580643281340599,
-0.029007110744714737,
0.024845141917467117,
-0.007306064013391733,
0.018674571067094803,
-0.04147491976618767,
-0.0011106121819466352,
-0.03680627793073654,
0.03047284670174122,
-0.06926963478326797,
0.018448377028107643,
-0.044478774070739746,
-0.039412032812833786,
-0.0011954349465668201,
0.037041518837213516,
-0.001887588412500918,
-0.01835789903998375,
0.010703496634960175,
-0.019126959145069122,
-0.011092551052570343,
0.03608245775103569,
0.018231231719255447,
-0.005917233414947987,
-0.0072336820885539055,
-0.03624531626701355,
-0.017507411539554596,
0.00538341561332345,
-0.015489760786294937,
0.05616847798228264,
0.027288036420941353,
-0.04994362220168114,
-0.03628150746226311,
-0.023849887773394585,
0.013227821327745914,
-0.001664787414483726,
-0.07571163773536682,
-0.002576348837465048,
0.012485905550420284,
0.0428139865398407,
0.008129410445690155,
-0.0036711276043206453,
0.010341586545109749,
0.034091949462890625,
0.05967900902032852,
0.04024442657828331,
-0.010857309214770794,
-0.011807323433458805,
-0.0976433977484703,
-0.020592695102095604,
0.002829686040058732,
-0.023506073281168938,
0.032626211643218994,
0.018348852172493935,
0.027288036420941353,
0.03414623811841011,
-0.013571635819971561,
0.024392753839492798,
-0.048351217061281204,
0.05555323138833046,
-0.03474338725209236,
0.0016806209459900856,
0.024266084656119347,
-0.021895572543144226,
0.03217382729053497,
0.0012157923774793744,
0.038724400103092194,
0.005442226305603981,
0.005686515476554632,
0.07050012797117233,
0.022764157503843307,
-0.03414623811841011,
0.01903648115694523,
-0.0028771869838237762,
-0.03908631205558777,
-0.004356495104730129,
-0.03879678249359131,
0.010793974623084068,
-0.035123392939567566,
0.05580656975507736,
0.04563688859343529,
-0.005989615339785814,
0.008120362646877766,
0.028609009459614754,
0.019543156027793884,
0.012929245829582214,
0.0012463285820558667,
-0.01239542756229639,
-0.05359891429543495,
0.04798930510878563,
-0.0794031172990799,
0.018267422914505005,
-0.0011615058174356818,
-0.02897091954946518,
0.007532258052378893,
-0.0049762665294110775,
-0.08504892140626907,
0.03595578670501709,
-0.03030998818576336,
-0.026202306151390076,
0.020556505769491196,
0.029296638444066048,
-0.040932055562734604,
0.05450369045138359,
-0.0032752882689237595,
0.01283876784145832,
0.06072854623198509,
0.012504001148045063,
0.00668176868930459,
0.019235532730817795,
0.06087331101298332,
-0.021171752363443375,
-0.03563006967306137,
-0.03456243500113487,
-0.03479767590761185,
-0.0051300786435604095,
-0.045202597975730896,
-0.044949259608983994,
-0.026021350175142288,
0.07133252173662186,
0.05363510549068451,
-0.038688212633132935,
0.04769977554678917,
-0.014078310690820217,
0.026111828163266182,
0.08150219917297363,
-0.06717055290937424,
-0.07911358773708344,
-0.01701883226633072,
0.025062287226319313,
0.03599197790026665,
-0.009916341863572598,
-0.04038918763399124,
-0.06300858408212662,
0.00019636460638139397,
0.009292046539485455,
0.007925835438072681,
-0.02956807054579258,
-0.02318035438656807,
0.06919725239276886,
0.04172825813293457,
0.05106554180383682,
-0.027686137706041336,
0.016168342903256416,
0.02155175805091858,
0.07158585637807846,
-0.026708979159593582,
-0.017941702157258987,
-0.001446510199457407,
0.017606936395168304,
-0.008681323379278183,
0.046107370406389236,
0.03257192671298981,
-0.023397501558065414,
0.05732659250497818,
-0.016222629696130753,
-0.009789673611521721,
-0.027848998084664345,
-0.0035399352200329304,
-0.006564148236066103,
0.06688102334737778,
0.03604626655578613,
-0.029911886900663376,
-0.007907739840447903,
-0.06058378517627716,
0.034833867102861404,
-0.003006117418408394,
-0.013200677931308746,
0.07078965753316879,
-0.02927854284644127,
0.013689257204532623,
0.021750809624791145,
0.0005165704060345888,
0.01648501493036747,
0.03427290543913841,
0.06311715394258499,
0.023668933659791946,
0.03090713918209076,
-0.013037818484008312,
0.021026987582445145,
0.07126013934612274,
-0.005853899288922548,
-0.009635861963033676,
0.036770086735486984,
-0.011535890400409698,
0.02973093092441559,
0.003820415586233139,
-0.010070154443383217,
-0.030545229092240334,
-0.005243175663053989,
-0.022076528519392014,
-0.03391099348664284,
-0.054865602403879166,
0.04111301153898239,
-0.02745089679956436,
0.012422570958733559,
-0.04288636893033981,
-0.008084171451628208,
0.01869266666471958,
0.01786932162940502,
-0.04911122843623161,
0.0010150453308597207,
0.004673166666179895,
0.010296347551047802,
0.027505183592438698,
0.007174871861934662,
0.025623248890042305,
0.0016693111974745989,
-0.04487687721848488,
-0.026781361550092697,
0.061705704778432846,
0.0007515293546020985,
0.0007537913043051958,
-0.01833980344235897,
-0.04234350472688675,
-0.01811361126601696,
0.024465136229991913,
-0.0006469146464951336,
-0.01055873278528452,
-0.004786263685673475,
-0.019543156027793884,
-0.02985760010778904,
0.010441112332046032,
0.016656922176480293,
0.0020447932183742523,
-0.10611210018396378,
0.05005219578742981,
0.02003173530101776,
-0.020900320261716843,
0.022058432921767235,
-0.026708979159593582,
0.0007571842288598418,
0.012603526003658772,
0.05776088312268257,
-0.021949859336018562,
-0.018602188676595688,
0.008550130762159824,
0.035883404314517975,
0.026528025045990944,
-0.0026170639321208,
-0.012612573802471161,
0.0684010460972786,
0.07245444506406784,
0.053852252662181854,
0.0028817106503993273,
0.0015856195241212845,
-0.027722328901290894,
0.02003173530101776,
-0.01210589986294508,
0.04368257150053978,
0.053128432482481,
-0.026166114956140518,
-0.02658231183886528,
-0.030798565596342087,
-0.06152475252747536,
-0.00735130300745368,
-0.030852852389216423,
-0.01827646978199482,
-0.00890299305319786,
0.04853216931223869,
-0.054141782224178314,
-0.025297529995441437,
-0.0033001694828271866,
-0.022601298987865448,
0.04585403576493263,
-0.02973093092441559,
0.01640358380973339,
-0.02198605053126812,
0.029007110744714737,
-0.04874931648373604,
0.003757081227377057,
-0.03405575826764107,
0.02969473972916603,
0.01959744282066822,
-0.05468464642763138,
0.0365891307592392,
-0.010947786271572113,
-0.04882169887423515,
0.027288036420941353,
-0.039737749844789505,
-0.015516904182732105,
-0.00250396691262722,
-0.03400147333741188,
-0.021877476945519447,
0.008817039430141449,
0.025623248890042305,
0.05037791281938553,
-0.06358763575553894,
0.007188443094491959,
0.0008386140107177198,
-0.04350161924958229,
-0.039267268031835556,
0.009382524527609348,
0.012865911237895489,
-0.026708979159593582,
0.01687406748533249,
0.061126649379730225,
-0.050124574452638626,
0.0023365833330899477,
0.07321445643901825,
0.05063125118613243,
0.03403766453266144,
-0.02779471129179001,
-0.0012994841672480106,
-0.050414104014635086,
-0.03150429204106331,
0.00467769056558609,
0.005216032266616821,
0.06937820464372635,
0.009843960404396057,
0.005849375389516354,
0.025424199178814888,
-0.00893466081470251,
0.04013585299253464,
0.02705279551446438,
0.012060660868883133,
-0.008522987365722656,
0.019253628328442574,
0.004428877495229244,
0.026075636968016624,
-0.03995489701628685,
0.02938711643218994,
0.05555323138833046,
0.004935551900416613,
0.017344551160931587,
0.022347960621118546,
0.01872885785996914,
-0.05110173299908638,
-0.0008137326803989708,
-0.016475966200232506,
-0.04813406988978386,
-0.049835048615932465,
-0.017398837953805923,
-0.034689102321863174,
0.03501482307910919,
0.033078599721193314,
-0.015607381239533424,
0.046686429530382156,
-0.012911150231957436,
-0.0005965864984318614,
-0.05099315941333771,
-0.02003173530101776,
0.03159476816654205,
-0.005740802269428968,
-0.008382746949791908,
-0.01945267803966999,
-0.008857754990458488,
-0.03745771571993828,
0.04310351610183716,
-0.0033431462943553925,
-0.022257482632994652,
0.04028061777353287,
-0.0038226775359362364,
0.035720545798540115,
0.01693740114569664,
-0.0404253788292408,
0.007197490893304348,
-0.03311479091644287,
0.003777438774704933,
-0.02821090817451477,
-0.04853216931223869,
0.078462153673172,
0.02511657401919365,
0.07107917964458466,
-0.0091472826898098,
0.009391572326421738,
-0.037493906915187836,
-0.04987123981118202,
-0.051318880170583725,
-0.051608409732580185,
0.029459498822689056,
-0.001855921233072877,
0.04780834913253784,
0.0020029472652822733,
0.023976556956768036,
-0.029966171830892563,
-0.02909758873283863,
0.004433400928974152,
0.020013639703392982,
0.013327347114682198,
0.0018785406136885285,
0.0012859125854447484,
0.0026374212466180325,
-0.006799389608204365,
-0.06264667212963104,
-0.005292938090860844,
0.01426831353455782,
-0.01151779480278492,
0.03340432047843933,
-0.012295902706682682,
0.033078599721193314,
0.028319481760263443,
0.014204978942871094,
-0.026039445772767067,
0.028572818264365196,
-0.025424199178814888,
-0.026799457147717476,
0.016313105821609497,
-0.05392463505268097,
0.04176444932818413,
-0.003361241891980171,
0.07824500650167465,
-0.011192075908184052,
-0.025279434397816658,
0.001040492090396583,
-0.02394036576151848,
-0.002088900888338685,
-0.034851960837841034,
-0.061126649379730225,
0.03145000338554382,
0.009970628656446934,
-0.03991870582103729,
0.03012903220951557,
-0.04147491976618767,
-0.009409667924046516,
0.029224256053566933,
0.0789688304066658,
0.02361464686691761,
-0.025587057694792747,
-0.03861583024263382,
0.04722929373383522,
0.00022605256526730955,
0.012902102433145046,
-0.07969264686107635,
0.024591805413365364,
0.045528315007686615,
0.02243843860924244,
0.02211271971464157,
0.0342005230486393,
-0.011499700136482716,
0.012865911237895489
] |
713,323
|
xmlschema.resources
|
_select_elements
| null |
def _select_elements(self, token: XPathToken,
node: ResourceNodeType,
ancestors: Optional[List[ElementType]] = None) -> Iterator[ElementType]:
context = XPathContext(node)
for item in token.select(context):
if not isinstance(item, ElementNode): # pragma: no cover
msg = "XPath expressions on XML resources can select only elements"
raise XMLResourceError(msg)
elif ancestors is not None:
if item.elem is self._root:
ancestors.clear()
else:
_ancestors: Any = []
parent = item.parent
while parent is not None:
_ancestors.append(parent.value)
parent = parent.parent
if _ancestors:
ancestors.clear()
ancestors.extend(reversed(_ancestors))
yield cast(ElementType, item.elem)
|
(self, token: elementpath.xpath_tokens.XPathToken, node: Union[elementpath.xpath_nodes.ElementNode, elementpath.xpath_nodes.LazyElementNode, elementpath.xpath_nodes.DocumentNode], ancestors: Optional[List[Optional[~T]]] = None) -> Iterator[Optional[~T]]
|
[
0.005728906951844692,
-0.06626161932945251,
-0.021782638505101204,
-0.0031979545019567013,
-0.025455716997385025,
0.0177166685461998,
0.02677144668996334,
-0.03793687745928764,
-0.008703004568815231,
0.0726575255393982,
0.059427130967378616,
0.021545076742768288,
-0.006373066455125809,
0.01050756499171257,
-0.02446891926229,
-0.008734984323382378,
-0.03612774983048439,
-0.010836496949195862,
0.005112158600240946,
0.04129929840564728,
-0.03724246472120285,
0.054602786898612976,
-0.004737541079521179,
-0.029768386855721474,
0.02468820847570896,
0.0016366674099117517,
-0.010014166124165058,
0.017095351591706276,
-0.051971327513456345,
-0.013933944515883923,
-0.009502492845058441,
-0.009666959755122662,
-0.009511630050837994,
-0.027940984815359116,
0.017616160213947296,
0.012170501053333282,
-0.027356216683983803,
0.10365027189254761,
0.03126685693860054,
0.005052768159657717,
-0.024012070149183273,
-0.038485098630189896,
0.042651575058698654,
-0.04433278739452362,
0.00021814617502968758,
-0.024267906323075294,
0.06337431818246841,
0.02169126830995083,
-0.04875509813427925,
-0.03536023944616318,
0.05496826767921448,
0.026058759540319443,
0.02169126830995083,
-0.007976612076163292,
-0.0005944768781773746,
0.03241812065243721,
-0.03345974162220955,
0.016017183661460876,
0.016254745423793793,
0.05069214478135109,
0.006080681923776865,
-0.004696424584835768,
-0.027155201882123947,
0.00483804801478982,
0.00205582776106894,
-0.015194851905107498,
-0.010187769308686256,
-0.031248584389686584,
-0.05844033509492874,
0.06483624130487442,
-0.010416194796562195,
0.002010142896324396,
-0.0022305732127279043,
0.02335420437157154,
-0.021216142922639847,
-0.04162823036313057,
-0.019187726080417633,
0.07506969571113586,
0.006606060080230236,
0.02086893655359745,
-0.015907539054751396,
0.034958209842443466,
-0.06238752231001854,
0.06300883740186691,
0.038192711770534515,
0.006240579765290022,
-0.04904748499393463,
-0.02403034269809723,
-0.04122620075941086,
0.040897268801927567,
-0.0028233369812369347,
-0.0036799318622797728,
-0.017963366582989693,
0.028470931574702263,
-0.00798118021339178,
0.06783318519592285,
-0.020704470574855804,
0.019169453531503677,
-0.001345425145700574,
-0.0034903388004750013,
0.01649230718612671,
0.05770937353372574,
-0.01845676638185978,
0.015523784793913364,
0.03980082646012306,
0.030608993023633957,
-0.05025357007980347,
0.015569469891488552,
0.07982094585895538,
0.034702375531196594,
-0.04396730661392212,
0.020064879208803177,
-0.03048107400536537,
0.02298872359097004,
-0.03539678826928139,
-0.05705150589346886,
0.0042258682660758495,
0.009867973625659943,
0.012563392519950867,
-0.0896158218383789,
0.02169126830995083,
-0.00911417044699192,
-0.002533236751332879,
0.0608159564435482,
-0.052080973982810974,
-0.014610083773732185,
0.047475919127464294,
0.038448549807071686,
-0.09509802609682083,
-0.016382664442062378,
-0.013678108341991901,
0.004477136302739382,
0.027612052857875824,
-0.01318470947444439,
0.009959343820810318,
-0.03457445651292801,
0.002670292044058442,
-0.025272976607084274,
-0.0054365224204957485,
-0.029768386855721474,
0.014208055101335049,
-0.010041576810181141,
0.011037511751055717,
0.027356216683983803,
-0.10043404251337051,
-0.02562018297612667,
0.0133126275613904,
0.014098410494625568,
-0.05986570566892624,
-0.01882224529981613,
-0.08332955837249756,
-0.006839054170995951,
0.03196126967668533,
-0.006208600010722876,
0.015039523132145405,
0.04901093617081642,
-0.01741514541208744,
0.010891319252550602,
-0.03548815846443176,
-0.06527481973171234,
-0.023372478783130646,
0.015395866706967354,
-0.02421308308839798,
0.026003938168287277,
0.01707707718014717,
0.019955236464738846,
-0.10101881623268127,
-0.024450646713376045,
0.0044086086563766,
-0.04798759147524834,
0.03227192908525467,
-0.02565673179924488,
0.032509490847587585,
-0.06966058164834976,
-0.08610720932483673,
0.05065559968352318,
0.0009256936027668417,
-0.016382664442062378,
0.032180558890104294,
0.035743992775678635,
-0.003645668039098382,
-0.02755722962319851,
0.026022212579846382,
-0.040641430765390396,
0.012417200021445751,
0.008597929030656815,
0.011896390467882156,
0.0005473641795106232,
-0.03483029082417488,
-0.042578477412462234,
0.012535981833934784,
-0.019224274903535843,
0.036968354135751724,
0.015012111514806747,
-0.08289097994565964,
-0.0029055699706077576,
-0.028544027358293533,
-0.023902425542473793,
-0.003830692498013377,
0.03764449059963226,
-0.0366942435503006,
0.01262735202908516,
-0.02867194637656212,
0.03183335065841675,
0.01841108128428459,
0.005591851659119129,
0.0066151972860097885,
-0.025309525430202484,
-0.022111570462584496,
-0.03521404787898064,
-0.037370383739471436,
-0.02123441733419895,
0.023372478783130646,
-0.008191332221031189,
0.015752209350466728,
0.07221894711256027,
-0.05018047243356705,
-0.02191055566072464,
-0.033843494951725006,
-0.06498243659734726,
-0.007419254165142775,
0.02821509540081024,
-0.04466171935200691,
-0.06454385817050934,
0.06319157779216766,
0.008917724713683128,
-0.024962319061160088,
-0.04572161287069321,
-0.04444243013858795,
0.02403034269809723,
-0.019809043034911156,
-0.010206042788922787,
0.04908403381705284,
-0.04104346036911011,
-0.024779578670859337,
0.04371146857738495,
0.07704329490661621,
0.013157297857105732,
0.026716625317931175,
-0.008652751334011555,
-0.04221300035715103,
-0.025748101994395256,
0.01611769013106823,
-0.060925599187612534,
-0.011311621405184269,
0.02633287012577057,
0.011640554293990135,
0.004515968728810549,
0.009767466224730015,
-0.005660379305481911,
0.02996940165758133,
-0.025565361604094505,
0.011850705370306969,
-0.02773997001349926,
0.09889902919530869,
-0.04561196640133858,
0.015715662389993668,
0.007355295121669769,
0.049814991652965546,
0.014253740198910236,
0.0827447846531868,
0.026077033951878548,
0.0618758499622345,
0.0431632474064827,
-0.012207048945128918,
0.01002330332994461,
-0.02454201690852642,
0.006103524472564459,
0.03947189450263977,
-0.016985706984996796,
0.017533928155899048,
0.0485723614692688,
-0.012179638259112835,
0.036401860415935516,
0.04115310683846474,
0.0178994070738554,
-0.022440502420067787,
0.024743029847741127,
-0.07689709961414337,
0.003887798869982362,
-0.031120665371418,
0.03572572022676468,
0.03419070318341255,
0.07813972979784012,
-0.04122620075941086,
-0.07342503219842911,
0.00662890262901783,
0.01588926464319229,
-0.01812783256173134,
0.012983694672584534,
0.012545118108391762,
0.03126685693860054,
0.02688109129667282,
-0.0467815063893795,
-0.03335009515285492,
-0.0431632474064827,
0.0166385006159544,
-0.030462799593806267,
0.016400936990976334,
-0.009575589559972286,
0.07247478514909744,
-0.015944087877869606,
0.061473820358514786,
-0.004764952231198549,
0.02004660665988922,
0.052336808294057846,
0.025876019150018692,
-0.007793871685862541,
-0.01759788580238819,
0.01520398911088705,
-0.004787794779986143,
0.01652885600924492,
-0.02116132155060768,
-0.054858624935150146,
-0.0304079782217741,
-0.08939652889966965,
0.030462799593806267,
-0.021965378895401955,
0.023756233975291252,
0.005518755875527859,
-0.013513641431927681,
0.04842616617679596,
-0.000979373580776155,
-0.0016720733838155866,
-0.018575547263026237,
0.06286264955997467,
0.01325780525803566,
0.02763032726943493,
-0.025126785039901733,
-0.017579613253474236,
-0.017022253945469856,
-0.023829329758882523,
-0.09473254531621933,
0.05420076102018356,
-0.03682216256856918,
0.012133953161537647,
0.010763401165604591,
0.03969118371605873,
0.002791357459500432,
0.037224188446998596,
-0.008232448250055313,
0.023372478783130646,
0.007793871685862541,
-0.006496415939182043,
-0.0004608480667229742,
0.03906986489892006,
0.04206680506467819,
-0.018319711089134216,
-0.0074695078656077385,
0.023646589368581772,
0.0289643295109272,
0.05537029728293419,
0.07346158474683762,
-0.0007069763378240168,
0.04572161287069321,
-0.04838962107896805,
-0.006336518097668886,
0.07872450351715088,
-0.05248299986124039,
0.05979261174798012,
0.09334371984004974,
0.02594911679625511,
0.03397141396999359,
-0.04199371114373207,
0.05142310634255409,
-0.006222305819392204,
-0.011805020272731781,
0.03910641372203827,
-0.02755722962319851,
-0.005957332439720631,
0.003915209788829088,
-0.016072005033493042,
-0.04148203879594803,
-0.04254193231463432,
0.04188406467437744,
-0.0008777242619544268,
-0.01344054564833641,
0.045173391699790955,
0.03227192908525467,
0.03241812065243721,
0.0008697293815203011,
0.04115310683846474,
0.09663304686546326,
-0.026789721101522446,
-0.007601994555443525,
-0.03899677097797394,
0.025748101994395256,
-0.04005666449666023,
0.02903742715716362,
0.05189823359251022,
-0.008004022762179375,
-0.004643886815756559,
-0.0017291796393692493,
0.029804935678839684,
-0.07210930436849594,
-0.035067856311798096,
0.01957148127257824,
-0.06962403655052185,
0.024048617109656334,
-0.027940984815359116,
-0.04849926382303238,
0.021819185465574265,
-0.027721697464585304,
0.011540046893060207,
0.014317698776721954,
-0.029804935678839684,
-0.06571339815855026,
-0.061108339577913284,
-0.012444611638784409,
-0.001895930152386427,
-0.013321764767169952,
-0.015066933818161488,
0.05566268041729927,
0.022714613005518913,
0.034848567098379135,
-0.07225549966096878,
0.0438942089676857,
0.07945546507835388,
0.051825135946273804,
-0.02435927651822567,
-0.06604232639074326,
-0.08464528620243073,
0.038302358239889145,
0.0744849294424057,
0.005308604333549738,
-0.05844033509492874,
0.005715201608836651,
-0.013422271236777306,
-0.061291079968214035,
-0.022824257612228394,
0.01964457705616951,
-0.030864829197525978,
-0.030280061066150665,
-0.04572161287069321,
0.040787626057863235,
0.005993880331516266,
-0.06900271773338318,
-0.00638677179813385,
0.012563392519950867,
-0.02763032726943493,
0.018730876967310905,
0.054420046508312225,
0.02870849333703518,
-0.0392160601913929,
0.040312498807907104,
-0.03910641372203827,
-0.018657779321074486,
0.10884009301662445,
-0.014363383874297142,
-0.007136006839573383,
-0.012481159530580044,
-0.04188406467437744,
0.04140894114971161,
-0.07068393379449844,
-0.022458776831626892,
0.061327628791332245,
0.023116642609238625,
-0.005422817077487707,
0.019078083336353302,
0.017808036878705025,
0.03612774983048439,
0.009740055538713932,
0.0510941743850708,
-0.03424552455544472,
0.05069214478135109,
0.029421180486679077,
-0.003563435049727559,
0.029421180486679077,
0.04444243013858795,
-0.023719685152173042,
0.04868200421333313,
-0.013056791387498379,
-0.020704470574855804,
-0.03402623534202576,
0.019187726080417633,
-0.02781306579709053,
-0.019260823726654053,
0.017871996387839317,
-0.03093792498111725,
0.01228928193449974,
0.030791733413934708,
-0.016428349539637566,
0.03665769472718239,
-0.038009971380233765,
-0.049924638122320175,
-0.017780626192688942,
0.010196906514465809,
-0.012581666931509972,
-0.038009971380233765,
-0.017049666494131088,
-0.017999915406107903,
-0.05394492298364639,
-0.019845591858029366,
-0.0003643383679445833,
0.01863950677216053,
-0.015459825284779072,
0.056649480015039444,
-0.008460873737931252,
0.023628314957022667,
-0.05018047243356705,
0.00023285105999093503,
-0.013714656233787537,
0.045100294053554535,
0.029055699706077576,
-0.0121430903673172,
0.07711638510227203,
0.018612094223499298,
0.014363383874297142,
0.017871996387839317,
-0.005203528795391321,
0.00030894525116309524,
-0.007181691937148571,
-0.003574856324121356,
-0.008200468495488167,
-0.014089273288846016,
-0.05986570566892624,
-0.04363837093114853,
-0.008885744959115982,
0.029165344312787056,
0.007373569067567587,
-0.004378913436084986,
0.0199735090136528,
0.037151094526052475,
0.0235734935849905,
0.051934778690338135,
0.0020958022214472294,
-0.0780666396021843,
-0.0013397145085036755,
-0.013276079669594765,
-0.026899365708231926,
0.024743029847741127,
-0.01637352630496025,
-0.011640554293990135,
0.02710038051009178,
-0.0485723614692688,
-0.012115678749978542,
0.021490253508090973,
0.00531774153932929,
0.010105536319315434,
0.05588196963071823,
0.045209940522909164,
0.02350039593875408,
-0.027356216683983803,
0.011238525621592999,
-0.030682088807225227,
-0.013321764767169952,
-0.01830143667757511,
-0.032546039670705795,
0.00978574063628912,
0.05083834007382393,
0.05975606292486191,
-0.019991783425211906,
-0.027758244425058365,
0.07609304040670395,
0.008556812070310116,
-0.049924638122320175,
-0.023208012804389,
-0.03282015025615692,
-0.018986713141202927,
0.00483804801478982,
0.04477136209607124,
0.02410344034433365,
-0.058952007442712784,
-0.015405002981424332,
0.05120382085442543,
-0.028799863532185555,
-0.0023150905035436153,
0.011969486251473427,
-0.013349175453186035,
0.0395815372467041,
0.05844033509492874,
-0.0064781419932842255,
0.0357988141477108,
-0.026077033951878548,
-0.005071042105555534,
0.020594825968146324,
-0.003876377595588565,
-0.06903927028179169,
-0.018877068534493446,
-0.006528395693749189,
-0.023774506524205208,
-0.03104756958782673,
-0.04689114913344383,
-0.04195716232061386,
0.036182571202516556,
0.006226873956620693,
0.025711553171277046,
-0.010900456458330154,
-0.06278955191373825,
0.003661657916381955,
-0.042724672704935074,
-0.04575815796852112,
-0.034556180238723755,
0.018475038930773735,
-0.04254193231463432,
-0.004036275204271078,
0.04009321331977844,
-0.015030385926365852,
-0.09941069781780243,
-0.09400158375501633,
0.05474897846579552,
0.017287228256464005,
0.07408289611339569,
0.020064879208803177,
0.04890129342675209,
-0.04915712773799896,
0.012225323356688023,
-0.005153275094926357,
0.03144959732890129,
0.06929510086774826,
0.019023260101675987,
0.01147608831524849,
0.029695291072130203,
0.021179595962166786,
-0.003645668039098382,
0.04404040053486824,
-0.08749603480100632,
0.07514279335737228,
0.025492265820503235,
0.027721697464585304,
-0.04583125561475754,
0.002262552734464407,
0.007314178626984358,
0.057197701185941696,
-0.05379873141646385,
-0.03508612886071205,
0.015277084894478321,
-0.07042809575796127,
-0.018283162266016006,
0.021398883312940598,
0.025199880823493004,
-0.052044425159692764,
0.030024223029613495,
-0.014747138135135174,
-0.009758329950273037,
0.009036505594849586,
0.07404635101556778,
-0.03965463489294052,
-0.049741897732019424,
-0.043053604662418365,
-0.0034058215096592903,
0.04239574074745178,
-0.013906532898545265,
0.008643614128232002,
0.00922838319092989,
0.0289643295109272,
-0.02461511269211769,
0.05975606292486191,
-0.016282156109809875,
0.013020243495702744,
0.009950206615030766,
0.023372478783130646,
-0.025912567973136902,
0.005482207518070936,
-0.013568463735282421,
0.007533466909080744,
-0.002629175316542387,
-0.013504505157470703,
0.030755184590816498,
0.05156930163502693,
0.05547994002699852,
0.04111655801534653,
0.002409887034446001,
0.04447897896170616,
-0.03521404787898064,
-0.03906986489892006,
-0.01045274268835783,
0.0296770166605711,
-0.04630637913942337,
0.056905314326286316,
0.0304079782217741,
-0.01711362414062023,
-0.033331822603940964,
-0.017844585701823235,
-0.007428391370922327,
0.007866968400776386,
-0.030791733413934708,
-0.05021702125668526,
-0.05807485431432724,
-0.019699400290846825,
-0.04564851522445679,
0.013376587070524693,
-0.01611769013106823,
-0.038302358239889145,
0.00256750057451427,
0.0016229618340730667,
0.025784650817513466,
0.00352688692510128,
0.03691353276371956,
-0.040495239198207855,
0.03353283554315567,
-0.05986570566892624,
0.013038516975939274,
0.013751204125583172,
-0.04122620075941086,
0.06410527974367142,
-0.025821197777986526,
0.016400936990976334,
0.04623328521847725,
0.01586185395717621,
0.022787708789110184,
-0.01513089332729578,
-0.009401986375451088,
0.04440588131546974,
-0.013751204125583172,
0.006345655303448439,
-0.006003017537295818,
-0.012819228693842888,
0.040385596454143524,
0.06538446247577667,
-0.014692316763103008,
-0.009539041668176651,
-0.05328705906867981,
-0.063301220536232,
0.0029672449454665184,
-0.03888712450861931,
0.04104346036911011,
-0.008383208885788918,
0.06052357330918312,
0.015368455089628696,
0.004746678285300732,
-0.033733852207660675,
-0.012791818007826805,
0.009621274657547474,
-0.02925671450793743,
0.0421033538877964,
0.012133953161537647,
0.032180558890104294,
0.03159578889608383,
-0.02889123372733593,
0.003547445172443986,
0.014756275340914726,
0.0002177178830606863,
0.004915712866932154,
-0.024797853082418442,
-0.047512467950582504,
-0.006363929249346256,
0.014381658285856247,
-0.05116727203130722,
-0.009338026866316795,
-0.03757139667868614,
0.03241812065243721,
-0.021398883312940598,
0.03314908221364021,
-0.011165429838001728,
-0.0072228084318339825,
0.015213126316666603,
0.01088218204677105,
-0.0016320989234372973,
0.01782631129026413,
-0.012919736094772816,
-0.038375452160835266,
0.0493033193051815,
-0.003255060873925686,
0.02165471948683262,
0.052336808294057846,
-0.0072502195835113525,
-0.056357093155384064,
-0.05869616940617561,
-0.004924850072711706,
0.01757047511637211,
0.06863723695278168,
-0.019260823726654053,
-0.018575547263026237,
-0.019041534513235092,
-0.01550551038235426,
0.044917553663253784,
0.001384257455356419
] |
713,324
|
xmlschema.resources
|
close
|
Close the XML resource if it's created with a file-like object.
In other cases this method has no effect.
|
def close(self) -> None:
"""
Close the XML resource if it's created with a file-like object.
In other cases this method has no effect.
"""
try:
self._source.close() # type: ignore[union-attr]
except (AttributeError, TypeError):
pass
|
(self) -> NoneType
|
[
0.01375528983771801,
-0.03807573765516281,
0.040065281093120575,
0.009261665865778923,
-0.0349370613694191,
-0.07059447467327118,
-0.003419527318328619,
0.09988878667354584,
0.05107637494802475,
-0.025178011506795883,
0.01132838986814022,
-0.06074966862797737,
0.06599795073270798,
0.023754458874464035,
-0.03221001848578453,
0.0940573662519455,
-0.08939222991466522,
0.00643171276897192,
-0.018403273075819016,
-0.006508893333375454,
-0.04651414602994919,
0.01578771136701107,
-0.021096017211675644,
-0.03046059049665928,
0.008875763043761253,
0.09508644044399261,
-0.004264225251972675,
0.03148966655135155,
-0.02485213801264763,
-0.05800547078251839,
-0.059171754866838455,
-0.03358211740851402,
0.06599795073270798,
0.021456193178892136,
0.036497823894023895,
0.07718054950237274,
-0.04267226904630661,
0.046171121299266815,
0.03106088377535343,
0.006924810819327831,
-0.01579628698527813,
-0.00821115355938673,
-0.00515823345631361,
-0.03759550303220749,
0.01566765271127224,
-0.007640874478965998,
-0.02634429559111595,
-0.022828292101621628,
-0.023908820003271103,
-0.03145536407828331,
0.05327173322439194,
0.07285843789577484,
-0.007370742503553629,
0.031781237572431564,
-0.054335109889507294,
0.04178040474653244,
-0.0017172673251479864,
0.09721319377422333,
0.011885805055499077,
-0.020032640546560287,
0.0313524566590786,
0.0178372822701931,
0.014407035894691944,
-0.05207114666700363,
0.0154704125598073,
-0.004725164733827114,
-0.021216075867414474,
-0.01030789129436016,
0.03136960789561272,
0.062224674969911575,
-0.019055020064115524,
0.01874629780650139,
-0.015719106420874596,
0.0578339584171772,
0.024011727422475815,
-0.04737170785665512,
-0.045931003987789154,
0.009887685999274254,
0.01285484991967678,
-0.08692245185375214,
0.017682921141386032,
0.02828238345682621,
-0.013017786666750908,
0.015050207264721394,
0.040819935500621796,
-0.03605189174413681,
0.058039773255586624,
0.028196627274155617,
-0.053306035697460175,
0.03196990117430687,
0.01743422821164131,
0.08987246453762054,
-0.039173416793346405,
-0.04078563302755356,
0.08157126605510712,
-0.026961740106344223,
-0.03224432095885277,
-0.015847740694880486,
0.03937923163175583,
-0.014535670168697834,
-0.030134717002511024,
0.007152064237743616,
-0.044010065495967865,
0.0027098949067294598,
0.05539848655462265,
0.015547593124210835,
0.040682725608348846,
-0.009793354198336601,
-0.025538187474012375,
-0.016327975317835808,
-0.03274170681834221,
-0.10009460151195526,
0.011294087395071983,
0.05920605733990669,
0.009741900488734245,
-0.07560263574123383,
-0.000032091567845782265,
0.038247250020504,
0.001956312684342265,
-0.03913911432027817,
0.02102741226553917,
0.022450964897871017,
-0.09638993442058563,
-0.033427756279706955,
0.049361251294612885,
0.04212342947721481,
0.014681455679237843,
0.016122160479426384,
-0.002377589698880911,
0.05244847387075424,
-0.0035095710773020983,
0.018420424312353134,
-0.01669672690331936,
-0.0018566210055723786,
0.005329745821654797,
-0.023119863122701645,
0.010685218498110771,
0.033050429075956345,
-0.028848374262452126,
-0.009982017800211906,
0.0005783181404694915,
0.0346626415848732,
-0.0046436963602900505,
0.02176491543650627,
-0.020975958555936813,
0.030237624421715736,
-0.05361475795507431,
-0.01043652556836605,
-0.08719687163829803,
-0.03179838880896568,
-0.01133696548640728,
-0.04356413334608078,
-0.023359980434179306,
0.022776838392019272,
-0.0034645493142306805,
-0.016259370371699333,
-0.03455973416566849,
0.049978695809841156,
0.002847104799002409,
-0.06088687852025032,
-0.01107112132012844,
0.04023679345846176,
-0.006268776021897793,
-0.0144584896042943,
-0.016979720443487167,
-0.046685658395290375,
-0.015461836941540241,
0.006547483615577221,
0.019398044794797897,
-0.015170265920460224,
-0.05104207247495651,
-0.013695260509848595,
0.00515823345631361,
0.020444270223379135,
-0.019329439848661423,
0.06325375288724899,
0.053820572793483734,
-0.0019209381425753236,
-0.02497219666838646,
0.03759550303220749,
0.04373564571142197,
-0.061195600777864456,
-0.005951478146016598,
0.005449804477393627,
0.0379728302359581,
0.004879525862634182,
0.0011298374738544226,
-0.011174028739333153,
0.0023068408481776714,
-0.025006499141454697,
0.04051121324300766,
-0.013858197256922722,
-0.027030345052480698,
-0.006513181142508984,
0.03817864507436752,
-0.059823501855134964,
-0.03728678077459335,
-0.018180307000875473,
0.00002497313471394591,
0.048846714198589325,
-0.05793686583638191,
0.04167749732732773,
0.04078563302755356,
0.005466955713927746,
0.005831419490277767,
0.0012863425072282553,
-0.004225634969770908,
-0.02497219666838646,
-0.07820962369441986,
0.016593819484114647,
0.01667100004851818,
0.006461727432906628,
0.0015704098623245955,
0.02027275785803795,
0.0681246966123581,
-0.003483844455331564,
-0.08856897056102753,
-0.032655950635671616,
-0.04243215173482895,
0.023102711886167526,
0.031112337484955788,
0.023994576185941696,
0.008584192022681236,
-0.012597581371665001,
0.032141413539648056,
-0.020049791783094406,
-0.014690031297504902,
-0.007259259466081858,
0.03728678077459335,
-0.004476471804082394,
0.003419527318328619,
0.01458712387830019,
0.05409499257802963,
-0.007207805756479502,
-0.01197156123816967,
-0.03196990117430687,
0.0006217322079464793,
0.03270740434527397,
-0.049224041402339935,
-0.04150598496198654,
-0.02522946521639824,
-0.03377077728509903,
-0.03642921894788742,
-0.01629367284476757,
-0.016636697575449944,
-0.0010253222426399589,
-0.012143073603510857,
0.04328971356153488,
0.04352983087301254,
-0.017802979797124863,
0.04304959625005722,
-0.029894599691033363,
-0.032518740743398666,
-0.026584412902593613,
0.05361475795507431,
-0.09638993442058563,
-0.046445541083812714,
-0.09028409421443939,
0.014355582185089588,
-0.008952943608164787,
0.02332567796111107,
0.016353702172636986,
0.04826357215642929,
0.07272122800350189,
0.01924368366599083,
-0.004238498397171497,
0.029705936089158058,
-0.05032172054052353,
-0.027339067310094833,
0.01147417537868023,
0.0013495876919478178,
-0.02625853940844536,
-0.025023650377988815,
-0.01934659108519554,
0.010805277153849602,
-0.030289078131318092,
-0.00128848641179502,
-0.037149570882320404,
0.02023845538496971,
0.00553984846919775,
0.03577747195959091,
0.050253115594387054,
0.03577747195959091,
0.025881212204694748,
-0.004506486468017101,
-0.024612020701169968,
-0.018694844096899033,
0.02190212532877922,
-0.049601368606090546,
-0.018643390387296677,
0.006701844744384289,
0.032673101872205734,
-0.020324211567640305,
0.03896760195493698,
0.06239618733525276,
0.016388004645705223,
-0.029208550229668617,
0.004587954841554165,
0.009836232289671898,
-0.012794820591807365,
-0.015273173339664936,
-0.005685633979737759,
0.04678856581449509,
0.04126586765050888,
-0.032930370420217514,
0.00030309444991871715,
0.003078646492213011,
-0.006993415765464306,
-0.020581480115652084,
0.08239452540874481,
0.04778333753347397,
0.014612850733101368,
-0.0356745645403862,
-0.004879525862634182,
0.0341138020157814,
-0.0033594979904592037,
0.04421588033437729,
0.0012381046544760466,
0.0023818775080144405,
0.05104207247495651,
-0.08150266110897064,
-0.05718221142888069,
0.02507510408759117,
-0.047714732587337494,
-0.002870687749236822,
-0.015161690302193165,
-0.0002359634527238086,
0.035983286798000336,
-0.0004743387980852276,
-0.01547898817807436,
-0.02217654511332512,
0.003756120102480054,
0.028453895822167397,
-0.014029708690941334,
-0.019295137375593185,
-0.02510940656065941,
0.03258734568953514,
-0.05045893043279648,
0.026447203010320663,
-0.05231126397848129,
-0.01896926388144493,
0.028814071789383888,
0.02800796553492546,
-0.024406205862760544,
-0.07258401811122894,
0.026653017848730087,
-0.019295137375593185,
-0.06383689492940903,
0.06887935101985931,
-0.03425101190805435,
0.015890618786215782,
0.06579213589429855,
0.019329439848661423,
0.041334472596645355,
-0.009081577882170677,
-0.02459486946463585,
0.005111067555844784,
0.08788292109966278,
0.052791498601436615,
-0.03390798717737198,
0.040717028081417084,
0.005831419490277767,
-0.028814071789383888,
-0.019826825708150864,
0.022073637694120407,
-0.007911006920039654,
-0.020204152911901474,
0.02994605340063572,
-0.06373398751020432,
-0.01963816210627556,
-0.026687320321798325,
-0.08410964906215668,
-0.038041435182094574,
-0.007868128828704357,
0.027716394513845444,
0.0018351819599047303,
0.019775371998548508,
0.015376080758869648,
-0.0015682659577578306,
-0.009518934413790703,
0.012083044275641441,
0.0721723884344101,
-0.014372733421623707,
-0.017425652593374252,
-0.032295774668455124,
-0.07327006757259369,
-0.01261473260819912,
-0.02293119952082634,
-0.059308964759111404,
0.0397222563624382,
0.07375030219554901,
-0.027922209352254868,
0.0000899769802344963,
0.00006810245395172387,
0.033427756279706955,
0.005741375498473644,
0.0018737722421064973,
-0.0007691256469115615,
0.04304959625005722,
0.03358211740851402,
-0.02763063833117485,
0.024989347904920578,
-0.03965365141630173,
0.02421754226088524,
-0.010556584224104881,
0.01223740540444851,
0.03553735464811325,
-0.029345760121941566,
0.02533237263560295,
-0.05361475795507431,
-0.025829758495092392,
-0.012494673952460289,
-0.029482970014214516,
-0.016070706769824028,
0.06239618733525276,
0.021233227103948593,
0.06805609166622162,
0.04956706613302231,
0.06661539524793625,
-0.0027763559482991695,
0.011937258765101433,
0.03848736733198166,
0.04154028743505478,
0.006757586263120174,
-0.05193393677473068,
-0.10503415763378143,
0.02205648645758629,
0.024920742958784103,
0.008249743841588497,
0.032141413539648056,
-0.026670169085264206,
-0.014012557454407215,
0.0007894927402958274,
-0.013866772875189781,
0.021987881511449814,
-0.015959223732352257,
-0.04534786194562912,
-0.022365208715200424,
0.014424187131226063,
0.04867520183324814,
0.06273921579122543,
-0.018780600279569626,
0.019826825708150864,
-0.006757586263120174,
-0.0033230516128242016,
-0.06970261037349701,
0.008987246081233025,
0.04812636226415634,
0.021096017211675644,
-0.0005665266653522849,
0.013961104676127434,
0.006105839274823666,
0.036635033786296844,
-0.05961768701672554,
-0.041471682488918304,
-0.054197899997234344,
0.03327339515089989,
-0.051144979894161224,
-0.008695675060153008,
-0.017408501356840134,
-0.01972391828894615,
0.041986219584941864,
0.044387392699718475,
-0.07498519122600555,
-0.05567290633916855,
-0.023411434143781662,
-0.021747764199972153,
-0.042878083884716034,
0.01019640825688839,
0.02265677973628044,
0.02979169227182865,
-0.00432854238897562,
-0.019569557160139084,
-0.006092975847423077,
0.015015904791653156,
0.0047208769246935844,
-0.037526898086071014,
0.05735372379422188,
0.03680654615163803,
-0.00736216688528657,
0.04445599764585495,
-0.03500566631555557,
0.05104207247495651,
-0.0034666932187974453,
-0.053443245589733124,
0.0030293366871774197,
0.0693252831697464,
-0.06352817267179489,
0.008987246081233025,
0.03390798717737198,
0.0059171756729483604,
0.0011652118992060423,
-0.02533237263560295,
-0.053546153008937836,
0.025932665914297104,
-0.03233007714152336,
0.0071349130012094975,
-0.024148937314748764,
-0.03811004012823105,
-0.07086889445781708,
-0.007143488619476557,
-0.04263796657323837,
-0.053923480212688446,
-0.003818293334916234,
0.05286010354757309,
0.02469777688384056,
0.03377077728509903,
-0.0011276935692876577,
0.011499902233481407,
-0.03503996878862381,
-0.08308057487010956,
-0.022485267370939255,
0.013232177123427391,
0.062499094754457474,
0.0555356964468956,
0.010213559493422508,
-0.013446567580103874,
0.048572294414043427,
0.031026581302285194,
-0.004939555190503597,
0.03728678077459335,
0.016002101823687553,
0.0016433026175945997,
-0.013446567580103874,
-0.004836647771298885,
-0.06781597435474396,
-0.028505349531769753,
-0.00109767890535295,
0.025538187474012375,
0.006701844744384289,
0.03780131787061691,
-0.05910314992070198,
-0.010968213900923729,
-0.11752025038003922,
-0.014912997372448444,
-0.01444991398602724,
-0.03248443827033043,
-0.018025945872068405,
-0.0003400768036954105,
0.004281376488506794,
0.016388004645705223,
0.01718553528189659,
0.01733989641070366,
0.05371766537427902,
-0.011920107528567314,
-0.03130100294947624,
-0.011499902233481407,
-0.013678109273314476,
0.06301363557577133,
0.046033911406993866,
0.004733740352094173,
0.016593819484114647,
0.038555972278118134,
0.04671996086835861,
0.03553735464811325,
0.024732079356908798,
0.020581480115652084,
0.015401807613670826,
0.026155631989240646,
0.03270740434527397,
-0.018386121839284897,
0.02903703786432743,
0.012280283495783806,
-0.02294835075736046,
0.014046859927475452,
0.04723449796438217,
0.06579213589429855,
-0.04966997355222702,
0.03083791770040989,
0.008391241542994976,
-0.004097001161426306,
-0.03500566631555557,
0.07471077144145966,
-0.010162105783820152,
0.04027109593153,
-0.008901489898562431,
-0.012280283495783806,
0.03519432991743088,
0.006478878669440746,
-0.036120496690273285,
0.00355030526407063,
-0.0015189561527222395,
0.00879000686109066,
-0.07347588241100311,
-0.004888101480901241,
-0.0291913989931345,
-0.0014278402086347342,
0.018814902752637863,
-0.0015736257191747427,
-0.005857146345078945,
-0.012297434732317924,
-0.0630822405219078,
-0.0031686904840171337,
-0.07937590777873993,
0.039173416793346405,
0.00891864113509655,
0.03380507975816727,
-0.03339345380663872,
-0.009287392720580101,
0.03301612660288811,
0.01758001372218132,
-0.006761874072253704,
-0.02840244211256504,
0.03670363873243332,
-0.004493623040616512,
0.062361884862184525,
-0.046822868287563324,
0.019020717591047287,
-0.027716394513845444,
0.05653046444058418,
-0.006153005175292492,
-0.043769948184490204,
0.0008639934239909053,
-0.038418762385845184,
-0.03452543169260025,
0.007662313524633646,
-0.031163791194558144,
0.01809455081820488,
-0.04901822656393051,
0.03327339515089989,
-0.029242852702736855,
-0.022965501993894577,
0.0037218176294118166,
0.011028243228793144,
-0.0647287592291832,
0.05965198948979378,
-0.039687953889369965,
0.05210544914007187,
-0.05862291529774666,
0.03557165712118149,
0.00432854238897562,
-0.05773105099797249,
0.07182936370372772,
0.00854560174047947,
-0.01654236577451229,
0.010247861966490746,
0.04685717076063156,
0.016010677441954613,
0.03680654615163803,
-0.01616503857076168,
0.03462833911180496,
0.014775787480175495,
0.008622782304883003,
0.012597581371665001,
-0.06761015951633453,
0.007435059640556574,
0.012383190914988518,
-0.054712437093257904,
-0.01030789129436016,
-0.08356080949306488,
-0.022227998822927475,
0.02507510408759117,
-0.00024494106764905155,
-0.06486596912145615,
0.06637527793645859,
-0.015307475812733173,
-0.01185150258243084,
-0.012408917769789696,
-0.03793852776288986,
0.05653046444058418,
0.004026252310723066,
-0.010736672207713127,
0.017391350120306015,
0.03989376872777939,
0.02358294650912285,
-0.031403910368680954,
-0.0006624663947150111,
-0.020941656082868576,
-0.04572518914937973,
-0.025658246129751205,
-0.037389688193798065,
0.05937756970524788,
-0.00630307849496603,
0.027802150696516037,
-0.02685883268713951,
-0.007220669183880091,
0.009373148903250694,
-0.031386759132146835,
-0.04521065205335617,
0.028814071789383888,
-0.026087027043104172,
0.060200829058885574,
-0.021713461726903915,
-0.06256770342588425,
0.027459125965833664,
0.05711360648274422,
-0.07169215381145477,
0.011568507179617882,
0.03732108324766159,
-0.0753968209028244,
-0.017125505954027176,
-0.016327975317835808,
-0.02368585392832756,
0.015204568393528461,
-0.03704666346311569,
-0.018523331731557846,
-0.014750060625374317,
0.0017923038685694337,
0.017871584743261337,
0.005098204128444195,
0.021318983286619186,
-0.0214218907058239,
0.018643390387296677,
-0.022845443338155746,
0.0074264840222895145,
0.010470828041434288,
-0.02853965200483799,
0.009879110381007195,
0.04658275097608566,
0.030855068936944008,
0.01030789129436016,
0.02392597123980522,
-0.05117928236722946,
-0.004686574451625347,
0.015719106420874596,
-0.005754238925874233,
-0.034096650779247284,
-0.011568507179617882,
0.00592575129121542,
-0.015710530802607536,
-0.008944367989897728,
0.02227945253252983,
0.0090558510273695,
-0.0425693616271019,
-0.011105423793196678,
0.012803396210074425,
-0.04675426334142685,
-0.0007750213844701648,
0.030477741733193398,
0.03246728703379631,
-0.0007567981956526637,
-0.005428365431725979,
-0.04788624495267868,
0.03056349791586399,
-0.03095797635614872,
0.015041631646454334,
0.024920742958784103,
0.04191761463880539,
0.06555201858282089,
-0.03130100294947624,
-0.058417100459337234,
0.04023679345846176,
-0.015393231995403767,
0.008146836422383785,
0.0005858218064531684,
-0.017940189689397812,
0.027339067310094833,
0.05577581375837326,
-0.01759716495871544,
0.01908932253718376,
0.021679159253835678,
0.013094967231154442,
0.03862457722425461,
0.08013056218624115,
0.07450495660305023,
-0.0027420534752309322,
-0.0017204831819981337,
0.010179257020354271,
-0.019518103450536728,
0.010093500837683678,
-0.011319814249873161,
0.039687953889369965,
0.04013388603925705,
-0.00680903997272253,
0.03083791770040989,
0.06767876446247101,
0.0070191421546041965,
0.03519432991743088
] |
713,325
|
xmlschema.resources
|
find
| null |
def find(self, path: str,
namespaces: Optional[NamespacesType] = None,
ancestors: Optional[List[ElementType]] = None) -> Optional[ElementType]:
return next(self.iterfind(path, namespaces, ancestors), None)
|
(self, path: str, namespaces: Optional[~T] = None, ancestors: Optional[List[Optional[~T]]] = None) -> Optional[~T]
|
[
0.02438940666615963,
-0.055573005229234695,
-0.032525017857551575,
0.0014622756280004978,
-0.028117502108216286,
-0.020469680428504944,
0.037942949682474136,
-0.04302988201379776,
0.0016549954889342189,
0.022054992616176605,
0.05236754193902016,
0.025068826973438263,
-0.05163586139678955,
-0.006445772014558315,
-0.004350895993411541,
0.027472924441099167,
-0.010165156796574593,
0.027821345254778862,
-0.06919623166322708,
-0.003096583765000105,
0.0004012275312561542,
0.055642690509557724,
0.023866776376962662,
-0.033744487911462784,
0.027472924441099167,
-0.006127838511019945,
0.059335943311452866,
-0.003066096920520067,
-0.032594699412584305,
-0.01667190156877041,
-0.0037760029081255198,
-0.030103497207164764,
-0.04013799503445625,
-0.014929801225662231,
0.0011388981947675347,
0.016401875764131546,
-0.02898855321109295,
0.04296020045876503,
0.06950981169939041,
-0.014851407147943974,
-0.04386609047651291,
0.0191631056368351,
0.053970273584127426,
-0.034180011600255966,
-0.002406276296824217,
0.01770845241844654,
-0.0005318850744515657,
-0.002615328412503004,
-0.01684611290693283,
0.06978854537010193,
0.03242048993706703,
0.008187872357666492,
-0.045747559517621994,
-0.04581724479794502,
-0.024215197190642357,
0.023274462670087814,
0.005657471250742674,
-0.007430058903992176,
0.005526814144104719,
0.056583426892757416,
0.05062543973326683,
-0.06191425397992134,
0.02904081530869007,
0.033744487911462784,
-0.033430907875299454,
-0.01876242272555828,
0.013449016027152538,
-0.04700187221169472,
-0.0754677951335907,
0.0404864177107811,
-0.0409742034971714,
0.019877366721630096,
-0.025260457769036293,
-0.005539879668504,
0.028378818184137344,
-0.006280272267758846,
0.013649357482790947,
0.019180526956915855,
0.04247241094708443,
0.017760714516043663,
0.029511183500289917,
0.02266472764313221,
-0.06975370645523071,
0.004507685080170631,
0.019006317481398582,
0.027856187894940376,
0.043308619409799576,
-0.01722937449812889,
-0.033674802631139755,
0.016854822635650635,
-0.03759453073143959,
0.006977112498134375,
0.014363618567585945,
0.02944149821996689,
0.07651305198669434,
0.028518185019493103,
0.03780358284711838,
-0.03912757709622383,
0.014694618061184883,
-0.02163688838481903,
0.009137317538261414,
0.06414414197206497,
0.007765413261950016,
-0.004904013127088547,
0.029528604820370674,
0.09470058232545853,
-0.0505557581782341,
0.0579771064221859,
0.046757977455854416,
0.01876242272555828,
-0.039998628199100494,
-0.017473267391324043,
-0.0027938936837017536,
0.06383056193590164,
0.0044728429056704044,
-0.04769871383905411,
-0.004318231716752052,
0.03668863698840141,
0.05724542215466499,
-0.0014916735235601664,
-0.004126600455492735,
0.02566114068031311,
-0.024162935093045235,
0.030626127496361732,
0.017699740827083588,
-0.00023014780890662223,
0.02074841782450676,
0.013997777365148067,
-0.02477267012000084,
-0.019842524081468582,
0.04996344447135925,
-0.02745550498366356,
0.006005891598761082,
0.006580784916877747,
0.023588040843605995,
0.06933560222387314,
0.04205430671572685,
-0.0028962420765310526,
-0.08585071563720703,
0.0481516569852829,
0.04348282888531685,
0.00024865762679837644,
0.027873609215021133,
-0.032019808888435364,
-0.06268077343702316,
0.035277534276247025,
0.021619467064738274,
-0.0018433601362630725,
-0.02310025319457054,
0.025521771982312202,
-0.06362151354551315,
-0.10480476915836334,
0.01777813583612442,
0.11672073602676392,
-0.01590537838637829,
-0.013823567889630795,
-0.03006865456700325,
0.017926214262843132,
-0.014023909345269203,
-0.0692310780286789,
-0.02853560633957386,
0.005012894049286842,
-0.028709815815091133,
-0.05292501300573349,
-0.003177155740559101,
0.0024955589324235916,
-0.10989169776439667,
0.07518906146287918,
-0.008235780522227287,
-0.006397864315658808,
-0.014929801225662231,
0.010870707221329212,
-0.03588727116584778,
-0.03127070516347885,
-0.11135506629943848,
-0.01801331900060177,
0.0047690002247691154,
0.028204606845974922,
-0.01044389232993126,
0.040312204509973526,
0.023082831874489784,
-0.02426746115088463,
0.022124676033854485,
-0.020661313086748123,
-0.0027764728292822838,
0.05613048002123833,
0.00806157011538744,
-0.0012989536626264453,
0.04532945528626442,
0.02675866335630417,
0.0007850340334698558,
0.040242522954940796,
0.0618097260594368,
0.019424421712756157,
-0.06957949697971344,
0.0026784795336425304,
0.003220708342269063,
0.02189820446074009,
-0.061496149748563766,
-0.00012194703595014289,
0.04832587018609047,
0.021096836775541306,
0.014415881596505642,
0.014790433458983898,
0.003913193475455046,
0.011706915684044361,
0.033361226320266724,
-0.007630400359630585,
-0.009790604934096336,
0.012726044282317162,
-0.09100732952356339,
-0.02175883576273918,
0.025905035436153412,
-0.08877744525671005,
0.03287343680858612,
-0.009468316100537777,
-0.06567718833684921,
-0.015034327283501625,
-0.026706401258707047,
0.0025108023546636105,
0.07888231426477432,
0.021654309704899788,
0.03548658639192581,
0.003205464920029044,
0.004442356526851654,
-0.00869743712246418,
-0.05491100996732712,
-0.01679384894669056,
-0.005004183854907751,
-0.03376190736889839,
0.04762902855873108,
-0.008126898668706417,
0.08034567534923553,
-0.04508556053042412,
0.01567019335925579,
0.028047818690538406,
-0.019180526956915855,
0.05275080353021622,
0.037176426500082016,
0.0002505630545783788,
0.0035429969429969788,
-0.025190774351358414,
-0.012116309255361557,
0.003686720272526145,
-0.0426466204226017,
-0.004590434953570366,
0.00020115816732868552,
-0.048047132790088654,
0.042925357818603516,
-0.000010182101505051833,
0.018152687698602676,
0.041914939880371094,
-0.0014361441135406494,
-0.008057215251028538,
0.07964883744716644,
-0.0582210011780262,
-0.04282082989811897,
-0.028047818690538406,
0.05515490099787712,
0.016872243955731392,
0.007900426164269447,
-0.00774363661184907,
0.08849870413541794,
0.03996378555893898,
-0.09191322326660156,
0.008392569608986378,
-0.044075142592191696,
0.01672416552901268,
0.026654137298464775,
0.011132022365927696,
-0.07198359072208405,
0.04066062718629837,
0.027281293645501137,
-0.016741586849093437,
0.05386574938893318,
-0.04282082989811897,
0.016454139724373817,
0.02247309684753418,
-0.0011497864034026861,
-0.02999897114932537,
-0.06431835144758224,
-0.003917548339813948,
-0.014720749109983444,
0.019563788548111916,
0.012456018477678299,
-0.01056583970785141,
-0.025068826973438263,
-0.029267288744449615,
-0.05083449184894562,
0.032908279448747635,
0.08452671766281128,
-0.028901448473334312,
-0.014032620005309582,
-0.030434496700763702,
0.005065157078206539,
-0.010957811959087849,
0.007909136824309826,
-0.030800336971879005,
0.07511937618255615,
-0.03472006320953369,
-0.008971817791461945,
-0.023953882977366447,
0.0737953782081604,
-0.01588795706629753,
0.006354311481118202,
0.017055165022611618,
-0.020312892273068428,
0.02005157619714737,
-0.0027133214753121138,
0.048221342265605927,
-0.0524720661342144,
-0.03818684443831444,
-0.030852600932121277,
-0.0042289490811526775,
-0.045991454273462296,
-0.08013662695884705,
-0.021985309198498726,
-0.024371987208724022,
-0.024546196684241295,
0.013640646822750568,
-0.00756507134065032,
0.06672245264053345,
-0.011210416443645954,
-0.03076549619436264,
-0.06121741235256195,
-0.004594790283590555,
-0.03095712698996067,
0.031201019883155823,
-0.00601460225880146,
0.015914088115096092,
0.027333557605743408,
-0.0500679686665535,
0.026845769956707954,
0.019703157246112823,
-0.006040733773261309,
0.03965020924806595,
0.01761263608932495,
0.01075747050344944,
0.0005517558893188834,
0.04177556931972504,
0.04992860183119774,
-0.04748966172337532,
0.020504523068666458,
0.009886420331895351,
-0.0030247219838202,
0.013466437347233295,
0.05410964414477348,
0.020121261477470398,
-0.0008579845307394862,
-0.02024320885539055,
0.06383056193590164,
-0.009781894274055958,
0.03818684443831444,
-0.007560716476291418,
-0.0253998264670372,
-0.05808163061738014,
0.016924506053328514,
0.08515387028455734,
0.015678904950618744,
0.02796071395277977,
0.029964128509163857,
0.00045893460628576577,
-0.06553782522678375,
-0.05383090674877167,
0.004176686052232981,
0.024145513772964478,
-0.07616463303565979,
0.03860494866967201,
-0.005670537240803242,
-0.016393166035413742,
-0.0019076000899076462,
0.008009307086467743,
-0.04658376798033714,
-0.02024320885539055,
0.031131336465477943,
0.001282621524296701,
0.039232105016708374,
0.046444401144981384,
0.011794020421802998,
0.04257693514227867,
-0.012464729137718678,
0.027403241023421288,
0.02949376218020916,
0.017508110031485558,
0.03121844120323658,
0.005609563551843166,
0.040381889790296555,
-0.05348248779773712,
0.019825104624032974,
0.027472924441099167,
0.03745516017079353,
-0.019058579578995705,
-0.013962935656309128,
-0.0019446196965873241,
-0.09686078876256943,
-0.012125019915401936,
0.02438940666615963,
-0.03433680161833763,
0.010295813903212547,
-0.0012771774781867862,
0.030626127496361732,
-0.0021340730600059032,
-0.015678904950618744,
0.03311733156442642,
0.01206404622644186,
-0.003826088272035122,
0.012482150457799435,
0.01053099799901247,
-0.056653108447790146,
-0.012360203079879284,
-0.026915453374385834,
-0.02062647044658661,
0.0009445451432839036,
-0.018117845058441162,
0.03332638368010521,
-0.016776427626609802,
-0.0033491882495582104,
0.04902270808815956,
-0.001782386563718319,
-0.05236754193902016,
-0.07637368887662888,
-0.09964814782142639,
-0.022333728149533272,
0.013849698938429356,
0.023274462670087814,
-0.03174107149243355,
0.004115712363272905,
-0.004494619555771351,
-0.002739452989771962,
0.007046796847134829,
-0.018797265365719795,
-0.0488833412528038,
-0.013004780746996403,
-0.011367205530405045,
0.015408879145979881,
-0.009058922529220581,
-0.08752313256263733,
-0.053900592029094696,
0.01756037399172783,
-0.05139196664094925,
0.016776427626609802,
0.03825652599334717,
-0.05898752436041832,
0.00825320091098547,
-0.050660282373428345,
-0.04093936085700989,
-0.04553850740194321,
0.059022367000579834,
0.03672347962856293,
-0.03951083868741989,
-0.029215026646852493,
-0.10794054716825485,
0.04700187221169472,
0.008823739364743233,
0.00285704480484128,
-0.02937181480228901,
-0.05424901098012924,
0.055816899985075,
0.03909273445606232,
-0.042995039373636246,
-0.011820152401924133,
0.024528775364160538,
0.09163448959589005,
-0.08376019448041916,
0.02100973203778267,
-0.03397095948457718,
0.011541415937244892,
0.006763705518096685,
0.048674289137125015,
-0.07149580866098404,
0.07393474876880646,
-0.04320409148931503,
-0.047594185918569565,
-0.02956344559788704,
0.0368976891040802,
-0.0060973516665399075,
0.03196754306554794,
-0.02726387232542038,
-0.03158428147435188,
-0.029458919540047646,
0.0632382482290268,
-0.0831330344080925,
0.0008057215018197894,
-0.02087036520242691,
0.0006565541261807084,
-0.03102681040763855,
-0.000571626762393862,
0.029458919540047646,
-0.02482493221759796,
-0.013231253251433372,
0.036549270153045654,
0.024981722235679626,
-0.04731544852256775,
-0.006371732801198959,
0.05299469828605652,
-0.022194361314177513,
0.04564303532242775,
-0.02750776708126068,
0.007939622737467289,
-0.058569420129060745,
0.012482150457799435,
-0.005653116386383772,
0.07581621408462524,
0.03937147185206413,
-0.0546322725713253,
0.04010315239429474,
0.0131180165335536,
-0.0032185306772589684,
0.03275148943066597,
0.012473439797759056,
0.04296020045876503,
0.03357027843594551,
-0.013422884978353977,
-0.013640646822750568,
0.00004787373836734332,
-0.0019315539393574,
0.043308619409799576,
-0.026148928329348564,
0.012743465602397919,
0.007033730857074261,
-0.022943463176488876,
0.01506916992366314,
0.011480442248284817,
-0.010199998505413532,
0.03829136863350868,
-0.02088778465986252,
-0.008314174599945545,
-0.008244491182267666,
-0.014407170936465263,
0.004350895993411541,
0.06407445669174194,
0.0150953009724617,
-0.03940631449222565,
0.027629714459180832,
0.031375229358673096,
-0.014520407654345036,
0.0015297820791602135,
0.020016735419631004,
-0.0015733345644548535,
0.011837572790682316,
0.02968539297580719,
-0.027681976556777954,
-0.05815131589770317,
0.05156617611646652,
0.016114430502057076,
-0.004080870654433966,
-0.036932531744241714,
-0.04045157507061958,
0.02369256690144539,
0.06630434840917587,
0.03480716794729233,
-0.023640304803848267,
-0.008523226715624332,
0.016776427626609802,
0.018727580085396767,
0.00014481210382655263,
-0.04156651720404625,
-0.014825275167822838,
-0.008714857511222363,
0.005574721843004227,
0.02918018400669098,
0.02235114946961403,
-0.012969938106834888,
0.028239449486136436,
0.023135095834732056,
-0.04553850740194321,
0.0020230142399668694,
-0.044528089463710785,
0.026950296014547348,
0.04933628812432289,
0.018048161640763283,
0.025765666738152504,
-0.02675866335630417,
0.01261280756443739,
-0.009677368216216564,
0.09804541617631912,
-0.016428008675575256,
-0.03745516017079353,
0.009729631245136261,
-0.012168572284281254,
-0.010199998505413532,
-0.043447986245155334,
0.05957983806729317,
-0.023849356919527054,
0.03369222581386566,
-0.013962935656309128,
-0.022264044731855392,
-0.001602732460014522,
-0.12173798680305481,
-0.04156651720404625,
0.010496155358850956,
-0.02592245675623417,
-0.020643891766667366,
0.036479584872722626,
0.017961056903004646,
0.03759453073143959,
0.014764302410185337,
0.022420832887291908,
-0.045747559517621994,
-0.017002901062369347,
0.005147906951606274,
-0.004218060988932848,
0.03146233409643173,
0.0409742034971714,
0.03566079959273338,
-0.006911783944815397,
0.04902270808815956,
0.0018281167140230536,
0.03710674121975899,
0.04397061839699745,
0.03909273445606232,
-0.0035146877635270357,
0.03620084747672081,
0.04424935206770897,
-0.01241246610879898,
0.010043209418654442,
0.003601792734116316,
0.025695983320474625,
-0.05919657647609711,
0.00925926398485899,
-0.03926694765686989,
-0.00922442227602005,
0.008052859455347061,
0.028553027659654617,
-0.021358152851462364,
0.006158325355499983,
0.009058922529220581,
-0.06626950204372406,
0.044144827872514725,
0.056269846856594086,
0.04700187221169472,
-0.022194361314177513,
0.024946879595518112,
-0.030295128002762794,
-0.032768912613391876,
-0.008492739871144295,
0.04627019166946411,
-0.030277706682682037,
-0.053726378828287125,
0.010199998505413532,
-0.0879412367939949,
0.03867463022470474,
-0.0309048630297184,
0.04546882212162018,
-0.01135849580168724,
0.039162419736385345,
-0.030539022758603096,
0.05236754193902016,
0.033152174204587936,
0.03076549619436264,
0.010234840214252472,
-0.008318530395627022,
-0.008549358695745468,
0.024337144568562508,
0.06665276736021042,
0.007704439572989941,
0.02151494100689888,
0.012726044282317162,
0.01194209884852171,
0.03191528096795082,
-0.010583261027932167,
-0.02573082409799099,
-0.030922284349799156,
0.02081810124218464,
-0.0819484069943428,
-0.06400477141141891,
-0.0044728429056704044,
-0.03172365203499794,
-0.003752049058675766,
-0.018936632201075554,
-0.04156651720404625,
0.026253454387187958,
-0.019737999886274338,
-0.0023714343551546335,
-0.036618951708078384,
-0.011994361877441406,
-0.038848843425512314,
-0.03480716794729233,
-0.06104320287704468,
-0.026218613609671593,
-0.037838421761989594,
0.039685048162937164,
0.0035364641807973385,
0.033221855759620667,
0.02062647044658661,
0.05836036801338196,
0.011132022365927696,
0.029633130878210068,
0.04226335883140564,
-0.010078051127493382,
0.003142313798889518,
-0.0819484069943428,
0.02271699160337448,
0.034058064222335815,
0.012351492419838905,
0.051357124000787735,
0.024755248799920082,
0.01560922060161829,
-0.0003650244907476008,
-0.012264387682080269,
0.06529393047094345,
0.01954636722803116,
-0.00009785705333342776,
-0.04769871383905411,
-0.045991454273462296,
0.022072413936257362,
-0.0015657128533348441,
0.03196754306554794,
-0.054806482046842575,
0.05285533145070076,
-0.01541758980602026,
-0.03682800382375717,
0.019267631694674492,
-0.05452774465084076,
0.019842524081468582,
0.01909342221915722,
0.043761566281318665,
0.01273475494235754,
0.0059666940942406654,
0.004089580848813057,
0.012212124653160572,
-0.05132228136062622,
-0.011794020421802998,
-0.008936976082623005,
-0.005248077679425478,
0.02304798923432827,
0.05146164819598198,
0.023535778746008873,
-0.01375388354063034,
0.0563046894967556,
-0.029842181131243706,
-0.02675866335630417,
-0.0015232492005452514,
0.002242954447865486,
-0.02405840903520584,
-0.026392823085188866,
-0.00588829955086112,
-0.015043037943542004,
-0.030817758291959763,
-0.0337793305516243,
-0.01001707836985588,
0.07142612338066101,
0.005570366512984037,
0.015591799281537533,
-0.029702814295887947,
-0.04776839539408684,
-0.01753424108028412,
-0.0026414599269628525,
0.0018498930148780346,
0.021497519686818123,
-0.014729459770023823,
-0.025452088564634323,
0.0776280015707016,
0.011384626850485802,
-0.03397095948457718,
0.00823142472654581,
-0.022838937118649483,
-0.03135780990123749,
0.01190725713968277,
0.003233774099498987,
-0.014790433458983898,
-0.036793164908885956,
-0.018152687698602676,
0.003854397451505065,
0.008645174093544483,
-0.007225362118333578,
-0.05752415955066681,
0.010504866018891335
] |
713,326
|
xmlschema.resources
|
findall
| null |
def findall(self, path: str, namespaces: Optional[NamespacesType] = None) \
-> List[ElementType]:
return list(self.iterfind(path, namespaces))
|
(self, path: str, namespaces: Optional[~T] = None) -> List[Optional[~T]]
|
[
0.008850852027535439,
-0.03626859188079834,
-0.056271690875291824,
-0.028326187282800674,
-0.0053511750884354115,
0.04668543115258217,
-0.013496899977326393,
-0.07482127845287323,
0.06828047335147858,
0.008920066989958286,
0.04107902571558952,
-0.001451349351555109,
0.0003041669260710478,
-0.011887654662132263,
0.022737085819244385,
0.012086647562682629,
-0.007501162122935057,
0.04879648610949516,
-0.06291632354259491,
-0.020850980654358864,
-0.0016719717532396317,
0.020245350897312164,
0.01813429594039917,
-0.03779131919145584,
0.016377968713641167,
-0.008396629244089127,
0.056271690875291824,
-0.03851807862520218,
-0.009897726587951183,
-0.014967716298997402,
-0.03879493474960327,
-0.0073497542180120945,
-0.039383262395858765,
-0.04256714880466461,
-0.057794418185949326,
-0.02214876003563404,
0.011532927863299847,
0.041598137468099594,
0.06616941839456558,
0.018116993829607964,
0.005727530922740698,
0.03550723195075989,
0.018307333812117577,
-0.03166580572724342,
-0.004801781848073006,
-0.02742639370262623,
0.01563390903174877,
0.008409607224166393,
-0.016256842762231827,
0.053087808191776276,
-0.020401084795594215,
0.029156764969229698,
-0.05350309610366821,
-0.008920066989958286,
0.012995092198252678,
0.01596268080174923,
0.0016449347604066133,
0.048831094056367874,
0.05447210371494293,
0.037168387323617935,
0.038656506687402725,
-0.0771745815873146,
0.01266632229089737,
0.02284090779721737,
-0.011792483739554882,
0.009690082632005215,
-0.019916579127311707,
-0.07163739204406738,
-0.05371074005961418,
0.00042718555778265,
-0.02500387281179428,
0.00884652603417635,
0.022892819717526436,
-0.0003479669685475528,
0.02291012369096279,
0.019207127392292023,
-0.0024419871624559164,
0.04256714880466461,
0.03903719037771225,
-0.012796099297702312,
0.0053511750884354115,
-0.008496126160025597,
-0.0647159069776535,
0.06007850915193558,
-0.009344007819890976,
0.00541606405749917,
0.021456610411405563,
0.006000064313411713,
-0.02858574315905571,
0.056756194680929184,
-0.009932334534823895,
-0.02694188989698887,
0.0039560627192258835,
0.035403408110141754,
0.019432075321674347,
0.01225968450307846,
0.0029740766622126102,
-0.04550877958536148,
-0.0006894450052641332,
0.011204157955944538,
-0.008266851305961609,
0.032219525426626205,
0.01977814920246601,
-0.008656185120344162,
0.05052685737609863,
0.055544935166835785,
-0.06333161145448685,
0.02773785963654518,
0.05222262069582939,
0.05544111505150795,
-0.04357076436281204,
0.06222417205572128,
0.07142975181341171,
0.04104442149400711,
0.01168000977486372,
-0.050838325172662735,
-0.0017682237084954977,
-0.016992252320051193,
0.016611570492386818,
-0.004245900083333254,
-0.008214940316975117,
0.054541319608688354,
0.025972880423069,
0.030264204367995262,
0.03225412964820862,
0.03462474048137665,
0.005329545121639967,
0.009568956680595875,
-0.04073295369744301,
0.020297260954976082,
0.005057011730968952,
0.026111310347914696,
0.004163707140833139,
-0.016585614532232285,
0.008768659085035324,
0.011031120084226131,
0.042082641273736954,
-0.06506197899580002,
-0.007038287352770567,
0.041667353361845016,
-0.0028140172362327576,
-0.02123166248202324,
0.04727375879883766,
-0.0018244608072564006,
-0.006415353622287512,
0.005628034472465515,
0.055302683264017105,
-0.02818775735795498,
-0.04471280798316002,
-0.0019856016151607037,
-0.01095325406640768,
-0.043155472725629807,
0.009352659806609154,
0.07274483144283295,
-0.03921022638678551,
0.011584839783608913,
-0.026267044246196747,
0.03059297427535057,
-0.030004648491740227,
-0.02123166248202324,
-0.05931714549660683,
0.015244576148688793,
-0.05596022680401802,
0.0032833805307745934,
0.040179233998060226,
0.007622288074344397,
-0.10043077915906906,
0.04554338753223419,
-0.03287706524133682,
0.01360937487334013,
0.0008559933048672974,
-0.041909605264663696,
-0.05769059807062149,
-0.025021176785230637,
-0.06402375549077988,
-0.027685949578881264,
0.00023360019258689135,
0.03727221116423607,
0.008634555153548717,
0.035195764154195786,
0.02062603272497654,
-0.08471900224685669,
-0.007159413304179907,
-0.00606927927583456,
0.01437073852866888,
0.0516342967748642,
-0.02074715867638588,
0.007648243568837643,
0.019968491047620773,
0.022062240168452263,
0.020729854702949524,
0.019951187074184418,
0.014067922718822956,
0.008608600124716759,
-0.07399070262908936,
-0.0053771305829286575,
-0.0492117740213871,
0.024571280926465988,
-0.06994163244962692,
-0.0032228175550699234,
0.049834709614515305,
0.026716941967606544,
0.024623190984129906,
-0.032063789665699005,
0.0164039246737957,
-0.0198992770165205,
-0.0044167740270495415,
-0.025834452360868454,
0.007691503036767244,
-0.01724315620958805,
-0.04305165261030197,
0.018359245732426643,
0.00802027340978384,
-0.08022003620862961,
0.014898501336574554,
0.007726110052317381,
-0.07862809300422668,
-0.00018723163520917296,
0.021214358508586884,
-0.017943955957889557,
0.02396564930677414,
0.03727221116423607,
-0.04827737435698509,
-0.0017325348453596234,
0.003352595493197441,
0.0032011878211051226,
-0.007514139637351036,
-0.035714875906705856,
-0.016914384439587593,
-0.07696694135665894,
0.04384762421250343,
0.005238700658082962,
0.014119834639132023,
-0.033067405223846436,
0.012856663204729557,
0.0279455054551363,
0.01913791336119175,
0.05900568142533302,
0.03317122906446457,
-0.0002694243157748133,
0.009335355833172798,
-0.046097107231616974,
-0.054333675652742386,
0.002679913304746151,
-0.020331868901848793,
0.03969473019242287,
-0.021819988265633583,
-0.016265494748950005,
0.04851962625980377,
-0.0011442083632573485,
-0.011835743673145771,
-0.0037895143032073975,
0.013635329902172089,
-0.04457437992095947,
0.04644317924976349,
-0.05488739535212517,
-0.08181197941303253,
-0.0014481049729511142,
0.03557644411921501,
-0.0034802104346454144,
0.03671849146485329,
-0.04367458447813988,
0.017857437953352928,
0.04291322082281113,
-0.03211570158600807,
0.029762394726276398,
-0.008132747374475002,
0.0273398756980896,
-0.005251678638160229,
0.00844421423971653,
-0.0008419340592809021,
0.03337887302041054,
-0.030852530151605606,
0.00884652603417635,
-0.007912125438451767,
0.014145789667963982,
-0.009344007819890976,
0.05443749949336052,
-0.056064046919345856,
-0.031700413674116135,
-0.03678770363330841,
0.011723268777132034,
0.025436466559767723,
-0.009352659806609154,
-0.010148630477488041,
-0.001063637901097536,
-0.04720454290509224,
0.042151857167482376,
-0.10430681705474854,
0.010840779170393944,
0.06097830459475517,
-0.012614410370588303,
-0.0038068180438131094,
-0.035957127809524536,
0.025557592511177063,
0.02360227145254612,
-0.02259865589439869,
-0.059801649302244186,
0.05101136118173599,
-0.0052906121127307415,
-0.027997415512800217,
-0.013194085098803043,
0.03803357481956482,
-0.017424844205379486,
0.03176962584257126,
-0.002437661401927471,
-0.013817018829286098,
0.01540030911564827,
0.003224980551749468,
0.03119860403239727,
-0.014301523566246033,
-0.03772210702300072,
-0.008106792345643044,
-0.026024792343378067,
-0.015711776912212372,
-0.052118800580501556,
-0.04007541015744209,
-0.042082641273736954,
-0.006276923697441816,
-0.02609400823712349,
-0.018220815807580948,
0.0480005145072937,
-0.0033266397658735514,
-0.017623838037252426,
-0.02685537002980709,
0.01386892981827259,
-0.0026950540486723185,
0.007496836129575968,
0.013185433112084866,
-0.01067639421671629,
0.040110018104314804,
-0.02621513418853283,
0.004367026034742594,
0.022892819717526436,
0.051565080881118774,
0.0015594976721331477,
0.041390493512153625,
0.0012826381716877222,
0.00860427413135767,
0.02834349125623703,
0.023619575425982475,
-0.005809723399579525,
-0.0164039246737957,
0.012951833195984364,
-0.044608984142541885,
0.000753793225158006,
-0.012389462441205978,
0.06270867586135864,
0.021214358508586884,
0.011576187796890736,
0.08970247954130173,
-0.03524767607450485,
-0.004901278298348188,
0.02974509261548519,
0.010183238424360752,
-0.00924883782863617,
-0.022010330110788345,
0.08250413089990616,
-0.012752840295433998,
0.01736428216099739,
0.05153047293424606,
0.032669421285390854,
-0.03844886273145676,
-0.05547571927309036,
0.05917871743440628,
-0.0036943438462913036,
-0.008314436301589012,
0.026111310347914696,
0.038898758590221405,
-0.00012092325050616637,
-0.015504132024943829,
-0.005956804845482111,
-0.052118800580501556,
-0.037618283182382584,
0.049627065658569336,
-0.030904440209269524,
0.09226342290639877,
0.01292587723582983,
-0.03414023667573929,
0.06502737104892731,
-0.007012331858277321,
-0.018584193661808968,
0.06180888041853905,
-0.024536672979593277,
0.04703150689601898,
-0.0005780523642897606,
0.04948863387107849,
-0.018099689856171608,
-0.007868865504860878,
0.013514203950762749,
0.024778924882411957,
-0.02303124964237213,
-0.03220222145318985,
0.02633626013994217,
-0.056756194680929184,
0.004258877597749233,
0.03876033052802086,
0.00724593224003911,
-0.021612344309687614,
0.0038370995316654444,
0.004425426013767719,
-0.04900413006544113,
-0.032704029232263565,
0.03019498847424984,
-0.01998579502105713,
0.008535059168934822,
0.005312241613864899,
-0.034642044454813004,
-0.07447520643472672,
-0.016741348430514336,
0.018999483436346054,
0.0006159042241051793,
0.03436518460512161,
-0.0017022532410919666,
0.012467329390347004,
-0.01348824892193079,
-0.014067922718822956,
0.058763425797224045,
0.03059297427535057,
-0.020729854702949524,
-0.040663737803697586,
-0.08894111216068268,
0.0036986698396503925,
0.026595816016197205,
0.04346694052219391,
0.015054235234856606,
0.021733470261096954,
0.042601753026247025,
-0.006934464909136295,
-0.010295712389051914,
-0.0004374596173875034,
0.015227272175252438,
-0.10195350646972656,
-0.0353861041367054,
0.005632360465824604,
-0.040629129856824875,
-0.0674498975276947,
-0.06180888041853905,
-0.014630293473601341,
-0.03135433793067932,
-0.008911415003240108,
0.03524767607450485,
0.0026604468002915382,
-0.004460033494979143,
0.04845041036605835,
-0.027789771556854248,
-0.06876497715711594,
0.06011311709880829,
0.044124480336904526,
-0.04793129861354828,
-0.028083935379981995,
-0.0789741724729538,
0.10091528296470642,
-0.01825542375445366,
0.00932670384645462,
0.027893593534827232,
-0.05398759990930557,
0.02673424407839775,
-0.0059178718365728855,
-0.05647933855652809,
0.017701704055070877,
0.054333675652742386,
0.03879493474960327,
-0.056756194680929184,
0.01546087209135294,
-0.05485278740525246,
-0.01913791336119175,
-0.005191115662455559,
0.0771745815873146,
-0.039106402546167374,
0.0006445635226555169,
-0.03285976126790047,
-0.05021538957953453,
-0.06665392220020294,
0.04841580241918564,
0.006173101719468832,
0.0018839422846212983,
-0.026388170197606087,
-0.04533574357628822,
-0.04578563943505287,
0.049834709614515305,
-0.0899101197719574,
0.002147824037820101,
-0.02022804692387581,
-0.029848914593458176,
-0.031008264049887657,
0.06904183328151703,
0.0007948895799927413,
-0.03151006996631622,
-0.027685949578881264,
0.03955629840493202,
0.033517301082611084,
-0.05717148631811142,
-0.025055784732103348,
0.0710836723446846,
-0.016871124505996704,
-0.011818439699709415,
-0.0015530086820945144,
-0.014820634387433529,
0.0009700896916911006,
0.022460225969552994,
-0.027685949578881264,
0.04353615641593933,
0.08153512328863144,
-0.028637653216719627,
0.030246900394558907,
0.07070299237966537,
-0.03637241572141647,
0.018688015639781952,
-0.019847365096211433,
-0.008971977978944778,
0.05737913027405739,
-0.03574948385357857,
-0.009915030561387539,
0.02624974027276039,
-0.05987086519598961,
0.013393077999353409,
-0.014595686458051205,
-0.06464669108390808,
0.058278921991586685,
-0.04748140275478363,
0.03377685695886612,
0.0000050990206545975525,
-0.004676329903304577,
0.03682231158018112,
-0.020677942782640457,
-0.05374534800648689,
-0.021923812106251717,
0.015054235234856606,
0.02135278843343258,
0.10506817698478699,
-0.0067224944941699505,
-0.04097520560026169,
0.01873992756009102,
0.038933366537094116,
0.018809141591191292,
0.0340191088616848,
-0.01479467935860157,
0.017719008028507233,
0.014076574705541134,
0.034192148596048355,
0.041148241609334946,
-0.043120864778757095,
0.04976549372076988,
-0.02190650813281536,
0.02621513418853283,
-0.013133522123098373,
-0.0394870862364769,
0.04076756164431572,
0.05717148631811142,
0.04893491417169571,
-0.08022003620862961,
-0.063193179666996,
0.026561208069324493,
0.058798033744096756,
-0.028499223291873932,
0.012899922206997871,
-0.05807127803564072,
-0.05969782918691635,
-0.01290857419371605,
0.024415547028183937,
-0.0025263428688049316,
-0.036407023668289185,
0.05069989338517189,
0.0029524469282478094,
-0.0070253098383545876,
0.02427711710333824,
-0.016983600333333015,
-0.027080319821834564,
0.019674327224493027,
0.018514977768063545,
-0.016109762713313103,
0.015936724841594696,
-0.017312370240688324,
0.040905989706516266,
0.06038997694849968,
-0.0379643589258194,
-0.07239875942468643,
-0.015452220104634762,
-0.027772467583417892,
0.017589230090379715,
-0.043120864778757095,
0.0340191088616848,
-0.023429235443472862,
0.027651341632008553,
0.01001020148396492,
0.03092174418270588,
-0.009741993620991707,
-0.06783057749271393,
-0.03171771764755249,
0.023619575425982475,
-0.0032704027835279703,
0.02034917287528515,
0.03678770363330841,
-0.03803357481956482,
-0.02178538218140602,
-0.019518595188856125,
0.024917354807257652,
-0.06603098660707474,
-0.03702995553612709,
0.04481663182377815,
0.01280475128442049,
0.05796745792031288,
0.030662188306450844,
-0.031302426010370255,
-0.02950284071266651,
0.08783367276191711,
0.013107567094266415,
0.029208676889538765,
0.08146590739488602,
-0.028481921181082726,
-0.008028925396502018,
0.06824586540460587,
-0.005199767183512449,
-0.0009928008075803518,
0.013341167010366917,
-0.033309657126665115,
0.07765908539295197,
0.0019758683629333973,
-0.01962241716682911,
-0.03104287013411522,
-0.024692406877875328,
0.01877453364431858,
0.06329700350761414,
0.0198992770165205,
-0.003116832347586751,
-0.03751446306705475,
-0.04104442149400711,
0.07392148673534393,
0.07537499815225601,
0.028378097340464592,
-0.008067858405411243,
0.014379389584064484,
-0.014145789667963982,
-0.02071255072951317,
0.0026885652914643288,
-0.0353861041367054,
-0.040594521909952164,
-0.03457282856106758,
-0.012060691602528095,
-0.03137164190411568,
0.030662188306450844,
0.014829286374151707,
-0.00784291047602892,
0.006376420147716999,
0.012129906564950943,
-0.0382758267223835,
0.03457282856106758,
0.05969782918691635,
0.013540159910917282,
0.036891527473926544,
0.0113166319206357,
0.0026755875442177057,
0.024657798931002617,
0.023411931470036507,
0.02412138320505619,
-0.007522791624069214,
-0.02557489648461342,
0.03824121877551079,
0.008041903376579285,
0.0226332638412714,
0.014171745628118515,
-0.02943362481892109,
0.022062240168452263,
-0.10617561638355255,
-0.05938636139035225,
0.028897209092974663,
0.00043313371133990586,
-0.035887911915779114,
0.016819214448332787,
0.016862474381923676,
0.05170350894331932,
0.012467329390347004,
0.028083935379981995,
-0.023186983540654182,
0.05066528916358948,
-0.03497081622481346,
-0.01386892981827259,
-0.0066922130063176155,
-0.01737293414771557,
-0.07675929367542267,
0.015175361186265945,
-0.018307333812117577,
0.04696229100227356,
0.049315597862005234,
0.026751548051834106,
0.005424715578556061,
0.03834503889083862,
0.04004080593585968,
-0.048346590250730515,
-0.013194085098803043,
-0.04000619798898697,
0.04716993495821953,
-0.022062240168452263,
0.040352270007133484,
0.11780371516942978,
0.0638161152601242,
-0.0016687273746356368,
-0.008258199319243431,
0.010096719488501549,
0.014647597447037697,
0.004057722166180611,
-0.020608728751540184,
-0.018116993829607964,
-0.02299664169549942,
-0.006199057213962078,
0.00040122997597791255,
0.025298036634922028,
-0.043363116681575775,
0.06329700350761414,
-0.007401665672659874,
0.0030238248873502016,
-0.012155862525105476,
-0.04080216959118843,
0.032063789665699005,
-0.05076910927891731,
0.09150206297636032,
-0.020695246756076813,
0.007661221083253622,
0.004646048415452242,
0.030489152297377586,
-0.014569730497896671,
0.02178538218140602,
0.019708935171365738,
-0.01628279872238636,
0.03524767607450485,
0.011143594980239868,
0.03317122906446457,
0.016654828563332558,
0.033275049179792404,
-0.04523191973567009,
0.020556816831231117,
-0.024951962754130363,
-0.00961221568286419,
-0.03578408807516098,
-0.05388377979397774,
0.007613636087626219,
-0.03651084750890732,
-0.06122055649757385,
-0.012692277319729328,
0.013721848838031292,
0.031215908005833626,
0.023135071620345116,
0.009603563696146011,
-0.04990392550826073,
-0.08015082031488419,
0.015383006073534489,
0.018393851816654205,
-0.060528408735990524,
0.028931817039847374,
-0.03019498847424984,
0.0025436466094106436,
0.03844886273145676,
-0.0060952347703278065,
-0.004120448138564825,
0.039798554033041,
0.0119222616776824,
-0.07765908539295197,
-0.008292807266116142,
-0.016291450709104538,
-0.02226988598704338,
-0.018393851816654205,
-0.0844421461224556,
0.008833548054099083,
0.011853046715259552,
-0.009534348733723164,
-0.009897726587951183,
0.007639591582119465
] |
713,327
|
xmlschema.resources
|
get_absolute_path
| null |
def get_absolute_path(self, path: Optional[str] = None) -> str:
if path is None:
if self._lazy:
return f"/{self._root.tag}/{'/'.join('*' * int(self._lazy))}"
return f'/{self._root.tag}'
elif path.startswith('/'):
return path
else:
return f'/{self._root.tag}/{path}'
|
(self, path: Optional[str] = None) -> str
|
[
0.04226408153772354,
0.007262478582561016,
0.02097262069582939,
0.04449596628546715,
0.023842185735702515,
-0.04293718934059143,
0.04134298861026764,
0.01921899802982807,
0.027437997981905937,
-0.05143960565328598,
0.07042832672595978,
0.04803863912820816,
-0.017509659752249718,
-0.02355877310037613,
-0.007351045496761799,
0.0420515239238739,
0.06674394756555557,
-0.019608693197369576,
-0.004147141240537167,
-0.0013805351918563247,
0.04314975067973137,
0.0071340566501021385,
-0.043326884508132935,
-0.032397739589214325,
-0.012177936732769012,
0.04194524139165878,
0.005987116601318121,
-0.0005524355219677091,
-0.014418677426874638,
-0.07815135270357132,
0.05129789933562279,
-0.040599025785923004,
0.013258451595902443,
-0.007120771799236536,
-0.011425118893384933,
-0.0036400959361344576,
0.0005762378568761051,
0.03751690313220024,
-0.06833815574645996,
-0.10975199192762375,
0.04977454990148544,
0.012266503646969795,
-0.031458932906389236,
-0.06320127844810486,
0.021628016605973244,
-0.0008590981015004218,
-0.02423188090324402,
-0.005699274595826864,
-0.05572623759508133,
-0.0046099028550088406,
0.041980668902397156,
0.020582927390933037,
-0.038792263716459274,
-0.013205312192440033,
-0.03225603327155113,
0.043999992311000824,
0.0031064809300005436,
0.04857004061341286,
0.0019429344683885574,
0.016854263842105865,
-0.01188566628843546,
-0.013506438583135605,
0.02720772475004196,
-0.022460544481873512,
0.030378416180610657,
0.022690817713737488,
-0.008577696047723293,
-0.02428502030670643,
0.005132446996867657,
0.03794202208518982,
-0.033230267465114594,
0.040492746978998184,
-0.05565538629889488,
0.020299512892961502,
0.02072463370859623,
-0.07900159806013107,
0.020529787987470627,
0.039713360369205475,
0.04212237522006035,
-0.023470206186175346,
-0.06699194014072418,
-0.07297905534505844,
0.029616741463541985,
-0.06507889181375504,
0.011177131906151772,
-0.02515297569334507,
0.004160426091402769,
-0.003950079903006554,
0.024869561195373535,
0.0515458844602108,
0.015339772216975689,
0.0022451686672866344,
-0.04244121536612511,
0.007457325700670481,
0.025241542607545853,
-0.004804749507457018,
-0.001589774270541966,
-0.028748787939548492,
0.008108291774988174,
0.004045289009809494,
0.012851044535636902,
0.037658609449863434,
-0.005469000898301601,
0.02318679168820381,
0.01033574715256691,
0.028181960806250572,
0.05423831567168236,
-0.017226245254278183,
0.026711750775575638,
-0.028288239613175392,
-0.046161022037267685,
-0.05416746437549591,
0.011602252721786499,
0.010716584511101246,
-0.024214167147874832,
-0.006416665390133858,
-0.039359092712402344,
0.004153783433139324,
0.024037033319473267,
0.010388887487351894,
0.0073554739356040955,
-0.0013384659541770816,
-0.0813397616147995,
-0.030555550009012222,
0.021946856752038002,
0.041059575974941254,
-0.030679544433951378,
0.02984701655805111,
-0.056576479226350784,
-0.01861674338579178,
0.040847014635801315,
0.03278743475675583,
-0.003719806205481291,
0.03252173215150833,
-0.014170690439641476,
0.025011267513036728,
0.03613526001572609,
0.04715296998620033,
-0.027615131810307503,
0.10146214067935944,
0.0071074869483709335,
-0.041059575974941254,
0.003310184692963958,
-0.02261996455490589,
0.0736875906586647,
0.04052817448973656,
0.03129951283335686,
0.017934780567884445,
-0.05087277665734291,
-0.00007196053775260225,
0.022708531469106674,
-0.04577133059501648,
-0.0012189007829874754,
0.04414169862866402,
0.051262471824884415,
-0.030484696850180626,
-0.014206117019057274,
0.02159258909523487,
0.05019966885447502,
-0.06217390298843384,
0.025578096508979797,
-0.02088405378162861,
0.018227050080895424,
-0.052608687430620193,
-0.021008048206567764,
0.005579709075391293,
-0.01327616535127163,
0.007966584526002407,
0.024161025881767273,
0.026357483118772507,
-0.013081318698823452,
0.005672704428434372,
-0.03723348677158356,
-0.011894523166120052,
-0.008750401437282562,
0.012301930226385593,
-0.01231964398175478,
0.049172293394804,
0.0121602239087224,
0.04396456480026245,
-0.015596616081893444,
-0.030024150386452675,
0.01161996554583311,
0.017367951571941376,
0.03314170241355896,
0.0281465332955122,
0.011797099374234676,
-0.0281465332955122,
0.03872141242027283,
0.026056356728076935,
-0.09685666859149933,
0.043893713504076004,
0.0328228622674942,
-0.03147664666175842,
0.04279548302292824,
-0.03794202208518982,
0.055797092616558075,
-0.03464733809232712,
0.01678341068327427,
0.0311755184084177,
-0.009113525040447712,
0.00020965425937902182,
0.014799514785408974,
0.02609178237617016,
0.035479865968227386,
0.025843795388936996,
0.0425829254090786,
0.04176810756325722,
-0.05994201824069023,
0.06536230444908142,
-0.04927857592701912,
0.006319242063909769,
-0.03627696633338928,
-0.07390014827251434,
-0.004893316421657801,
-0.010158613324165344,
-0.07117228955030441,
0.04109499976038933,
-0.04959741607308388,
0.10139128565788269,
0.05423831567168236,
-0.07117228955030441,
0.069861501455307,
-0.012337356805801392,
0.023027371615171432,
-0.046834129840135574,
0.015862315893173218,
0.013311591930687428,
0.009396938607096672,
0.022921090945601463,
0.020246373489499092,
-0.04545248672366142,
0.03608211874961853,
-0.010716584511101246,
0.03659580647945404,
0.04361029714345932,
0.0025861510075628757,
-0.017987919971346855,
0.0023758048191666603,
-0.016260866075754166,
-0.011673105880618095,
-0.009768919087946415,
0.030838964506983757,
-0.0016329506179317832,
-0.016367146745324135,
-0.00572141632437706,
-0.014002413488924503,
-0.012062800116837025,
-0.0014048910234123468,
-0.03392108902335167,
-0.002307165414094925,
0.0860869437456131,
-0.029545888304710388,
-0.011611109599471092,
0.03719806298613548,
-0.023470206186175346,
-0.03299999609589577,
0.01391384657472372,
-0.029811589047312737,
0.05767470970749855,
-0.007869161665439606,
-0.03179548680782318,
-0.009033815003931522,
0.007612317800521851,
-0.04665699601173401,
-0.0363832451403141,
-0.04637358337640762,
-0.06217390298843384,
-0.05880836397409439,
0.036879222840070724,
-0.062032196670770645,
0.00007265246676979586,
-0.021309174597263336,
-0.01856360398232937,
0.027863118797540665,
0.012408210895955563,
-0.005761271342635155,
0.019520126283168793,
-0.02871336042881012,
-0.0033500397112220526,
-0.047294680029153824,
-0.007337760645896196,
0.050022535026073456,
-0.012815617956221104,
-0.003660023445263505,
-0.021840576082468033,
0.009131238795816898,
-0.002676931908354163,
-0.015508049167692661,
0.01629629358649254,
0.08877937495708466,
-0.004716182593256235,
-0.04240579158067703,
-0.006181963719427586,
0.008152575232088566,
0.007156198378652334,
0.06376810371875763,
-0.03060869127511978,
-0.003719806205481291,
-0.05083734914660454,
-0.019413845613598824,
0.021769722923636436,
0.017615938559174538,
0.004257849417626858,
0.027703698724508286,
0.005469000898301601,
-0.04343316704034805,
-0.0049995966255664825,
0.04010305181145668,
0.06490176171064377,
-0.05388404801487923,
-0.03716263547539711,
0.005185586865991354,
0.03748147562146187,
0.023363925516605377,
0.04247664287686348,
0.03886311873793602,
0.0032659012358635664,
0.015880029648542404,
0.008090578019618988,
-0.03459419682621956,
0.04364572465419769,
-0.0482512004673481,
-0.014285827055573463,
-0.05767470970749855,
-0.01570289582014084,
0.006093396805226803,
-0.0026149351615458727,
0.02855394035577774,
0.04155554994940758,
0.0029337757732719183,
0.022690817713737488,
-0.03900482505559921,
-0.005203300155699253,
0.03299999609589577,
-0.0006703400867991149,
0.021309174597263336,
0.0015942025929689407,
0.005960546433925629,
-0.053529780358076096,
0.06422865390777588,
-0.010716584511101246,
-0.011611109599471092,
0.025170687586069107,
0.027083732187747955,
0.035338159650564194,
0.01881159096956253,
0.022442830726504326,
0.016553137451410294,
-0.05643477290868759,
0.03294685482978821,
-0.06320127844810486,
-0.012939611449837685,
-0.012514490634202957,
0.027136871591210365,
0.07085344940423965,
-0.026056356728076935,
0.04102414846420288,
0.022761670872569084,
0.09458936005830765,
0.055797092616558075,
-0.08509499579668045,
0.003489532507956028,
-0.007120771799236536,
0.060083724558353424,
0.042193230241537094,
-0.0016517710173502564,
0.04382285848259926,
-0.001091585960239172,
0.003673308528959751,
-0.017146535217761993,
-0.005291867069900036,
0.05586794391274452,
-0.043574873358011246,
0.005097019951790571,
0.019768113270401955,
0.005278582219034433,
-0.021380029618740082,
-0.00012586174125317484,
-0.017181960865855217,
0.027048304677009583,
0.03565699979662895,
0.02283252403140068,
-0.0048578898422420025,
-0.025489529594779015,
-0.004242350347340107,
0.04031561315059662,
-0.04003220051527023,
-0.0220177099108696,
-0.03583413362503052,
0.05083734914660454,
-0.04637358337640762,
0.02685345709323883,
-0.09487277269363403,
-0.008923106826841831,
-0.04584218189120293,
0.0727664902806282,
0.016960544511675835,
0.04725925251841545,
0.013639288954436779,
0.050128817558288574,
0.006150965113192797,
-0.0039877207018435,
-0.0018289047293365002,
0.014099836349487305,
-0.014772944152355194,
0.04240579158067703,
0.012824474833905697,
-0.018067630007863045,
0.03422221541404724,
-0.05799354985356331,
-0.023417064920067787,
-0.026428336277604103,
-0.006735506001859903,
0.059198059141635895,
-0.024249592795968056,
-0.0214863084256649,
-0.01851046457886696,
0.012647341005504131,
-0.0333542600274086,
-0.020600641146302223,
0.038473423570394516,
-0.058631230145692825,
0.0046674711629748344,
0.0458776094019413,
-0.0055132838897407055,
0.0034696049988269806,
0.0017569441115483642,
0.02377133257687092,
0.056576479226350784,
-0.020016100257635117,
-0.04268920421600342,
-0.0860869437456131,
-0.007103058509528637,
0.01959097944200039,
0.017367951571941376,
0.024037033319473267,
-0.015206921845674515,
-0.00483131967484951,
-0.04414169862866402,
0.0035626001190394163,
0.0066956509836018085,
0.0019573266617953777,
0.054557155817747116,
0.04523992910981178,
-0.014551527798175812,
-0.06890498101711273,
0.013099031522870064,
0.039571650326251984,
-0.039500799030065536,
-0.002266203286126256,
-0.009565215557813644,
0.015826890245079994,
0.00808172207325697,
-0.03815458342432976,
-0.05877293646335602,
-0.03266344219446182,
-0.0015864530578255653,
-0.04818034544587135,
-0.005083735100924969,
-0.011327695101499557,
0.04892430827021599,
0.09947824478149414,
-0.04959741607308388,
0.030325276777148247,
-0.022761670872569084,
0.024922700598835945,
0.0031175517942756414,
-0.07503380626440048,
-0.043681152164936066,
0.02304508537054062,
-0.07032205164432526,
-0.05200643092393875,
0.02612720988690853,
0.01172624621540308,
-0.009768919087946415,
-0.010326890274882317,
0.029829302802681923,
0.016429143026471138,
-0.02839452028274536,
-0.006447663996368647,
-0.026658611372113228,
-0.00833856500685215,
0.023257644847035408,
0.004725039470940828,
0.03716263547539711,
-0.03634782135486603,
0.031724631786346436,
0.008095006458461285,
-0.015862315893173218,
0.03294685482978821,
0.08438646048307419,
-0.07361673563718796,
-0.028677934780716896,
-0.044602248817682266,
0.004286633804440498,
0.009334942325949669,
0.03601126745343208,
-0.02272624336183071,
-0.017013683915138245,
-0.029244761914014816,
-0.034346211701631546,
0.05962317809462547,
0.037339769303798676,
-0.009680353105068207,
0.005243155173957348,
-0.002955917501822114,
-0.007142913527786732,
-0.048888880759477615,
0.00844484567642212,
0.03066183067858219,
-0.03181320056319237,
0.024603860452771187,
0.03317712992429733,
0.01221336331218481,
0.041980668902397156,
-0.021999996155500412,
-0.026942024007439613,
0.09473106265068054,
-0.016154587268829346,
-0.020742347463965416,
-0.0003885868936777115,
-0.03964250534772873,
-0.0014292469713836908,
-0.025294682011008263,
-0.0713139995932579,
0.037091780453920364,
0.014170690439641476,
-0.01943155936896801,
0.03498389199376106,
0.02123832143843174,
-0.006323670502752066,
0.04180353507399559,
0.07687599211931229,
0.04449596628546715,
0.11138162761926651,
-0.048995159566402435,
-0.04927857592701912,
-0.09487277269363403,
-0.0019218998495489359,
0.006292671896517277,
0.012691624462604523,
-0.013984699733555317,
-0.041272133588790894,
0.010362316854298115,
-0.027190010994672775,
-0.008201287128031254,
0.06408694386482239,
0.08566182106733322,
0.031051523983478546,
-0.012195650488138199,
-0.008905393071472645,
0.029492748901247978,
0.02485184744000435,
0.027278577908873558,
-0.06309499591588974,
-0.02371819317340851,
0.044106271117925644,
-0.037339769303798676,
0.005150160286575556,
-0.04091786593198776,
-0.009963766671717167,
-0.05395490303635597,
0.0038238721899688244,
-0.011274555698037148,
0.01629629358649254,
-0.03103381209075451,
-0.0019351848168298602,
0.06911753863096237,
-0.010247180238366127,
-0.03578099235892296,
-0.021220607683062553,
0.0175982266664505,
-0.04814491793513298,
-0.004302132874727249,
0.043893713504076004,
0.020033814013004303,
0.00724033685401082,
0.06160707399249077,
0.08247341960668564,
0.06731078028678894,
-0.02077777497470379,
0.029829302802681923,
0.017181960865855217,
-0.010149756446480751,
-0.0017215174157172441,
0.0647246241569519,
0.01554347574710846,
-0.06348469108343124,
-0.09310143440961838,
-0.03751690313220024,
-0.05211271345615387,
0.0121602239087224,
0.028412234038114548,
0.0019252210622653365,
-0.02051207423210144,
-0.013860706239938736,
-0.03209661319851875,
-0.007244765292853117,
-0.0009875199757516384,
0.001548812142573297,
0.04516907408833504,
0.002920490689575672,
0.10082446038722992,
-0.042653776705265045,
-0.006133251823484898,
0.014135262928903103,
0.006336955353617668,
-0.08466987311840057,
0.040599025785923004,
0.009910626336932182,
0.031671494245529175,
0.011921092867851257,
0.018687598407268524,
-0.06660224497318268,
-0.0011901165125891566,
-0.0037308770697563887,
-0.005300723947584629,
-0.07616745680570602,
-0.001079961541108787,
-0.04779065400362015,
-0.034859899431467056,
-0.0333542600274086,
0.0021754223853349686,
-0.04364572465419769,
0.041272133588790894,
0.06096939370036125,
-0.02474556677043438,
-0.009184378199279308,
0.037658609449863434,
0.05969403311610222,
-0.020281801000237465,
-0.01161996554583311,
0.01249677687883377,
0.015764892101287842,
-0.03448791801929474,
0.0196441188454628,
0.05880836397409439,
0.01033574715256691,
-0.010592591017484665,
-0.08084378391504288,
-0.06607083976268768,
-0.09699837118387222,
-0.016074877232313156,
-0.002854065503925085,
0.038579702377319336,
-0.027969399467110634,
-0.015091785229742527,
0.0027809978928416967,
-0.02474556677043438,
0.021415455266833305,
-0.023222219198942184,
0.00895853340625763,
-0.002433373127132654,
0.032752007246017456,
0.05395490303635597,
0.04998710751533508,
-0.021663442254066467,
0.003947865683585405,
-0.009724635630846024,
-0.016854263842105865,
-0.05593879893422127,
-0.017421092838048935,
0.023735905066132545,
-0.029776163399219513,
0.006235103588551283,
0.013896132819354534,
-0.04304347187280655,
0.02293880470097065,
-0.03303541988134384,
-0.04318517819046974,
-0.008307566866278648,
-0.05820611119270325,
-0.06692108511924744,
-0.013347018510103226,
0.007346617057919502,
0.02288566529750824,
0.02015780657529831,
0.005318437237292528,
-0.011185988783836365,
0.02860707975924015,
0.005805554799735546,
-0.032291460782289505,
-0.021061187610030174,
0.033371973782777786,
0.008905393071472645,
0.008427131921052933,
0.049136869609355927,
0.07227052003145218,
-0.014524957165122032,
-0.011779386550188065,
-0.08197744190692902,
-0.02051207423210144,
0.018421897664666176,
0.018227050080895424,
0.01675684191286564,
0.010185183957219124,
-0.002006038324907422,
0.042901765555143356,
-0.025082120671868324,
0.03843799605965614,
0.007860304787755013,
0.013417872600257397,
-0.001370571437291801,
0.006908211391419172,
-0.007089773193001747,
0.015171495266258717,
-0.013364732265472412,
-0.10181640833616257,
0.03656037896871567,
-0.031671494245529175,
0.002783212112262845,
0.01268276758491993,
-0.036666661500930786,
0.03794202208518982,
-0.04283091053366661,
-0.0196441188454628,
0.0009349334286525846,
-0.010566020384430885,
0.00848912913352251,
-0.03645410016179085,
-0.04318517819046974,
0.03236231207847595,
-0.0411304272711277,
0.019201284274458885,
0.012532204389572144,
-0.012142510153353214,
-0.04077615961432457,
0.03470047563314438,
0.05452173203229904,
-0.04318517819046974,
0.023381639271974564,
0.031529784202575684,
0.010982285253703594,
0.04449596628546715,
-0.01865217089653015,
-0.006416665390133858,
-0.034665051847696304,
-0.03815458342432976,
-0.022549111396074295,
0.005889693275094032,
-0.0214863084256649,
-0.010433170944452286,
-0.01076972484588623,
0.04644443839788437,
-0.05622221156954765,
0.0027256435714662075,
0.03772946074604988,
-0.04343316704034805,
0.003203904489055276,
-0.010070046409964561,
0.031884051859378815,
0.034877609461545944,
0.028429947793483734,
0.007479467429220676,
-0.07545892149209976,
-0.0077363112941384315,
0.011354265734553337,
-0.002701287856325507,
-0.006071255076676607,
-0.05558453127741814,
0.00036229362012818456,
0.011974233202636242,
-0.0032061187084764242,
0.06819644570350647,
0.031671494245529175,
-0.07404185831546783,
0.019573265686631203
] |
713,328
|
xmlschema.resources
|
get_locations
|
Extracts a list of schema location hints from the XML resource.
The locations are normalized using the base URL of the instance.
:param locations: a sequence of schema location hints inserted before the ones extracted from the XML resource. Locations passed within a tuple container are not normalized.
:param root_only: if `True` extracts only the location hints of the root element.
:returns: a list of couples containing normalized location hints.
|
def get_locations(self, locations: Optional[LocationsType] = None,
root_only: bool = True) -> NormalizedLocationsType:
"""
Extracts a list of schema location hints from the XML resource.
The locations are normalized using the base URL of the instance.
:param locations: a sequence of schema location hints inserted \
before the ones extracted from the XML resource. Locations passed \
within a tuple container are not normalized.
:param root_only: if `True` extracts only the location hints of the \
root element.
:returns: a list of couples containing normalized location hints.
"""
if not locations:
location_hints = []
elif isinstance(locations, tuple):
location_hints = [x for x in locations]
else:
location_hints = normalize_locations(locations, self.base_url)
if root_only:
location_hints.extend([
(ns, normalize_url(url, self.base_url))
for ns, url in etree_iter_location_hints(self._root)
])
else:
try:
location_hints.extend([
(ns, normalize_url(url, self.base_url))
for ns, url in self.iter_location_hints()
])
except (ElementTree.ParseError, PyElementTree.ParseError, UnicodeEncodeError):
pass # a lazy resource containing malformed XML data after the first tag
return location_hints
|
(self, locations: Optional[~T] = None, root_only: bool = True) -> Optional[~T]
|
[
0.020942937582731247,
-0.06028702110052109,
0.04313887283205986,
-0.015734054148197174,
-0.008887323550879955,
0.01777464710175991,
0.03784048929810524,
-0.0017821635119616985,
0.030429910868406296,
-0.0025373175740242004,
0.008345850743353367,
-0.007759627420455217,
-0.020978737622499466,
-0.020674439147114754,
0.02420072816312313,
0.06365220993757248,
-0.09608691930770874,
-0.011089017614722252,
-0.022500233724713326,
-0.008945498615503311,
-0.02763751894235611,
-0.03148600831627846,
-0.021086137741804123,
-0.03784048929810524,
0.004645036533474922,
0.03619369491934776,
0.03705289214849472,
-0.0362652949988842,
0.04210067540407181,
-0.042458675801754,
-0.025632724165916443,
-0.009997121058404446,
0.0009252035524696112,
-0.02876521460711956,
0.020137440413236618,
-0.02531052567064762,
0.000538117194082588,
0.07453537732362747,
0.007831227034330368,
0.013165411539375782,
-0.015000156126916409,
-0.056957632303237915,
-0.024093329906463623,
-0.03247050568461418,
0.029230613261461258,
0.04718426242470741,
0.006752755027264357,
-0.019886841997504234,
-0.04009588062763214,
-0.0430314727127552,
0.04099087789654732,
0.003958126064389944,
-0.004385487176477909,
0.03665909171104431,
0.02532842569053173,
0.0060322824865579605,
-0.012637362815439701,
0.09136132895946503,
0.022589733824133873,
0.019958442077040672,
0.04883105680346489,
-0.005114910192787647,
-0.0028058167081326246,
-0.009746521711349487,
0.03069840930402279,
-0.055382438004016876,
0.008949973620474339,
-0.04059708118438721,
-0.030519410967826843,
0.08949973434209824,
-0.009191622957587242,
-0.04435607045888901,
-0.05642063543200493,
0.024361828342080116,
0.10976247489452362,
-0.0013480897760018706,
0.0326853021979332,
0.004671886097639799,
0.038807086646556854,
-0.009209522977471352,
-0.06691000610589981,
0.015107555314898491,
0.02908741496503353,
0.019904742017388344,
0.04353267326951027,
-0.013013261370360851,
0.027816519141197205,
-0.011017417535185814,
0.05341344326734543,
0.043282072991132736,
-0.039236683398485184,
0.04052548110485077,
-0.024898827075958252,
0.004358637146651745,
-0.00736582837998867,
0.03297170251607895,
-0.030412010848522186,
-0.07113438844680786,
-0.011438066139817238,
0.005262584425508976,
0.03182610496878624,
-0.036068394780159,
-0.011903464794158936,
0.012073514983057976,
0.04052548110485077,
0.010068720206618309,
-0.012789512053132057,
-0.03633689507842064,
0.016405301168560982,
0.023950129747390747,
0.009943420998752117,
-0.056241635233163834,
0.03377719968557358,
0.08928493410348892,
-0.039200883358716965,
-0.007567202672362328,
0.028550416231155396,
-0.0164411012083292,
0.0038015013560652733,
-0.01799839735031128,
0.009549621492624283,
0.030752109363675117,
-0.023932229727506638,
0.010355119593441486,
0.0031861907336860895,
0.06823460012674332,
0.022446533665060997,
0.036551691591739655,
-0.007428477983921766,
-0.012744762934744358,
0.04514366760849953,
0.009164772927761078,
-0.05688603222370148,
-0.0038328261580318213,
-0.016897549852728844,
0.015474504791200161,
0.010910018347203732,
0.019493043422698975,
-0.02983921207487583,
-0.004300462547689676,
-0.002152468776330352,
0.025829624384641647,
0.0460386648774147,
0.020334340631961823,
-0.06297201663255692,
0.007030204404145479,
-0.036551691591739655,
0.07611057907342911,
-0.02344893105328083,
-0.029982412233948708,
-0.019063444808125496,
-0.03594309464097023,
-0.0009369503823108971,
-0.013326510787010193,
-0.05062105134129524,
-0.034224700182676315,
-0.00708390399813652,
-0.021444136276841164,
0.0400242805480957,
-0.05821062996983528,
-0.031539708375930786,
-0.06583600491285324,
0.014293108135461807,
-0.05477383732795715,
-0.004403387196362019,
0.023574231192469597,
-0.011769215576350689,
-0.030895309522747993,
-0.0007613071356900036,
0.00622918177396059,
0.003609076840803027,
0.022500233724713326,
0.01931404322385788,
-0.0018436945974826813,
0.04908165708184242,
-0.007616427727043629,
0.05190984904766083,
-0.03571039438247681,
0.015984652563929558,
0.07109858840703964,
0.0326853021979332,
-0.0036963392049074173,
0.009155822917819023,
-0.032774802297353745,
0.03902188688516617,
0.028836814686655998,
-0.021641036495566368,
-0.008936548605561256,
-0.017917847260832787,
0.058855026960372925,
-0.030841609463095665,
0.04249447584152222,
0.015313404612243176,
0.04163527861237526,
-0.02880101464688778,
0.028228217735886574,
-0.01858014613389969,
-0.0005112672224640846,
-0.041098278015851974,
0.039200883358716965,
-0.07875976711511612,
-0.016584301367402077,
-0.016772251576185226,
0.05412944033741951,
-0.005472908727824688,
0.06766179949045181,
-0.015385004691779613,
-0.04800765961408615,
-0.05606263503432274,
0.009079748764634132,
0.009665971621870995,
0.037983689457178116,
-0.06379541009664536,
-0.044821467250585556,
-0.006980979349464178,
-0.049010057002305984,
0.004730061162263155,
0.015134405344724655,
-0.06411761045455933,
0.03479749709367752,
0.07804377377033234,
-0.052804846316576004,
0.08119416236877441,
-0.055847834795713425,
0.026330823078751564,
0.006690105423331261,
0.01020297035574913,
-0.07775737345218658,
-0.053234443068504333,
-0.005719033069908619,
0.03741088882088661,
-0.039594683796167374,
0.03220200538635254,
0.005320759490132332,
0.0070212543942034245,
-0.010068720206618309,
0.04496466740965843,
-0.016485851258039474,
0.08513215184211731,
0.0028751790523529053,
-0.04235127568244934,
-0.023144632577896118,
-0.04088348150253296,
-0.059606824070215225,
-0.03506599739193916,
0.004653986543416977,
-0.010927917435765266,
-0.02910531498491764,
0.04210067540407181,
-0.04464246705174446,
-0.023144632577896118,
0.04532266780734062,
0.007723827380686998,
-0.02269713394343853,
0.06354480981826782,
-0.036086294800043106,
-0.02536422573029995,
0.007558252662420273,
0.015644554048776627,
-0.03556719422340393,
-0.01707655005156994,
0.053986240178346634,
0.004289275035262108,
0.040704481303691864,
-0.04478566721081734,
-0.036873891949653625,
0.03148600831627846,
-0.02609812282025814,
-0.06572860479354858,
0.04306727275252342,
0.04933225363492966,
0.07833016663789749,
-0.045251067727804184,
-0.0033808525186032057,
0.0386996865272522,
0.04274507611989975,
0.038377486169338226,
-0.0460386648774147,
-0.0009626815444789827,
-0.027386918663978577,
-0.0036583016626536846,
0.0164411012083292,
0.017890997231006622,
0.046289265155792236,
0.05516763776540756,
-0.07503657788038254,
-0.041420478373765945,
0.03359819948673248,
-0.05040625110268593,
-0.02763751894235611,
0.023538431152701378,
-0.01576090417802334,
-0.021837936714291573,
-0.035030197352170944,
0.023305730894207954,
0.003982738126069307,
-0.017031800001859665,
-0.010167170315980911,
-0.012565762735903263,
-0.053234443068504333,
-0.05033465102314949,
-0.017801497131586075,
0.05158764868974686,
0.04872365668416023,
0.0830557569861412,
-0.012234614230692387,
-0.010918968357145786,
-0.03773308917880058,
-0.003286877879872918,
0.00439219968393445,
-0.028478816151618958,
-0.03716029226779938,
-0.01965414173901081,
-0.06179061904549599,
-0.03773308917880058,
0.0034546898677945137,
0.002196099841967225,
-0.019510943442583084,
0.0132459606975317,
0.06211281567811966,
-0.03492279723286629,
0.03377719968557358,
0.03329390287399292,
-0.04338947311043739,
-0.011223266832530499,
-0.009316922165453434,
0.010892118327319622,
0.010095570236444473,
-0.011160616762936115,
-0.01232411339879036,
-0.014507907442748547,
-0.08276935666799545,
-0.04242287576198578,
0.008900748565793037,
0.011071117594838142,
0.033866699784994125,
-0.00045001585385762155,
-0.03549559414386749,
0.04235127568244934,
-0.04116987809538841,
0.015385004691779613,
0.026044422760605812,
-0.019135043025016785,
0.040668681263923645,
-0.0386996865272522,
0.016530601307749748,
0.017631448805332184,
-0.01645900122821331,
0.021820036694407463,
-0.04915325716137886,
-0.04657566174864769,
-0.033455003052949905,
-0.04041808098554611,
-0.001577432849444449,
0.020173240453004837,
-0.007688027340918779,
-0.009746521711349487,
0.018794944509863853,
0.04474986717104912,
0.07575257867574692,
0.029355913400650024,
-0.008180275559425354,
0.009746521711349487,
-0.025668524205684662,
0.039916884154081345,
-0.02008374035358429,
0.09293652325868607,
-0.02160523645579815,
-0.012163014151155949,
-0.0627572163939476,
-0.004119225312024355,
-0.018651744350790977,
-0.030770009383559227,
-0.02003004029393196,
0.0196362417191267,
0.027315320447087288,
0.03565669432282448,
0.035406097769737244,
-0.044893067330121994,
-0.01435575820505619,
-0.013765059411525726,
0.03352660313248634,
0.03440370038151741,
-0.007356878370046616,
0.030913209542632103,
-0.043353673070669174,
-0.010086620226502419,
0.00679750507697463,
-0.07338978350162506,
0.03941568359732628,
0.04310307279229164,
-0.009155822917819023,
-0.05681443214416504,
-0.015313404612243176,
-0.028854714706540108,
-0.0047882357612252235,
0.013765059411525726,
0.0018134884303435683,
0.05706503242254257,
-0.00963912159204483,
0.03329390287399292,
-0.04990505427122116,
-0.012950612232089043,
-0.00016054014849942178,
-0.012601562775671482,
-0.0351375974714756,
0.013729259371757507,
-0.04399807006120682,
-0.007893877103924751,
0.015519254840910435,
0.010892118327319622,
-0.005808532703667879,
0.09064533561468124,
0.021820036694407463,
0.016432151198387146,
0.013138561509549618,
-0.052411045879125595,
0.12458363175392151,
0.010874218307435513,
-0.003027328522875905,
0.0006678918143734336,
-0.027458518743515015,
0.06247081607580185,
0.020316440612077713,
0.06784079968929291,
-0.0415278784930706,
-0.05309124290943146,
-0.08162376284599304,
-0.037625689059495926,
0.030841609463095665,
0.026617221534252167,
-0.0045711989514529705,
-0.04550166800618172,
-0.060430221259593964,
0.0207639392465353,
0.013890359550714493,
0.015572953969240189,
0.0020159815903753042,
-0.019922642037272453,
-0.032040905207395554,
0.014328908175230026,
-0.01584145426750183,
-0.0019309568451717496,
0.05634903535246849,
0.03266740217804909,
-0.05642063543200493,
-0.06966659426689148,
0.009889720939099789,
0.02951701357960701,
-0.03397409990429878,
-0.042458675801754,
-0.08835414052009583,
0.07582417875528336,
0.021444136276841164,
-0.0454658679664135,
0.04496466740965843,
0.041062477976083755,
0.005759308114647865,
-0.04961865395307541,
-0.0027454043738543987,
0.03105640783905983,
-0.04231547564268112,
0.024863027036190033,
-0.05892662703990936,
0.02047753892838955,
-0.025417925789952278,
-0.051301248371601105,
-0.01801629737019539,
0.008578550070524216,
-0.0014912893529981375,
0.022034835070371628,
-0.008744124323129654,
0.0082205506041646,
-0.03146810829639435,
0.014686906710267067,
0.006972029339522123,
-0.006869104690849781,
0.01322806067764759,
0.01496435608714819,
-0.0612536184489727,
-0.016584301367402077,
-0.0021121937315911055,
-0.00002740929448918905,
-0.03189770504832268,
0.006077032070606947,
-0.006900429725646973,
-0.030841609463095665,
-0.04038228094577789,
-0.037661489099264145,
0.04349687322974205,
0.023985929787158966,
0.05688603222370148,
0.0003070959646720439,
-0.05266164615750313,
-0.01345181092619896,
0.0037858388386666775,
0.0770413726568222,
0.0059964824467897415,
0.060430221259593964,
0.0499766543507576,
0.05294804275035858,
-0.03483329713344574,
0.08062136173248291,
0.005736933089792728,
0.01422150805592537,
-0.004891160409897566,
0.00871727429330349,
-0.031611308455467224,
0.0014823393430560827,
0.04689786210656166,
-0.03451109677553177,
0.005284959450364113,
0.09701771289110184,
0.024773526936769485,
-0.004891160409897566,
-0.01662905141711235,
0.022965632379055023,
0.03320440277457237,
0.06716060638427734,
0.016673801466822624,
-0.027476418763399124,
0.07070479542016983,
-0.02726162038743496,
0.018383245915174484,
0.012001914903521538,
-0.013872459530830383,
-0.019851041957736015,
-0.01440050732344389,
-0.0356924943625927,
-0.039165083318948746,
0.05864022672176361,
-0.03372349962592125,
0.0164411012083292,
-0.01379190944135189,
0.02078183926641941,
0.07074059545993805,
0.02951701357960701,
-0.036873891949653625,
-0.028532516211271286,
0.02690362185239792,
0.04507206752896309,
0.02414702996611595,
-0.032327305525541306,
-0.004962760489434004,
0.001001278287731111,
-0.0445350706577301,
-0.0409550778567791,
-0.010453569702804089,
0.018231095746159554,
0.025489525869488716,
0.08012016117572784,
-0.02160523645579815,
0.054344240576028824,
0.038449086248874664,
0.02201693505048752,
-0.032398905605077744,
-0.013093811459839344,
0.00041505502304062247,
-0.03171870857477188,
0.03182610496878624,
0.013389160856604576,
0.009352722205221653,
-0.05412944033741951,
0.056205835193395615,
-0.043711669743061066,
0.045967064797878265,
-0.04013168066740036,
-0.015018056146800518,
-0.06211281567811966,
0.010390919633209705,
0.010945817455649376,
0.0012787275481969118,
-0.04686206206679344,
-0.02985711209475994,
0.025489525869488716,
0.00481061078608036,
0.0009375097579322755,
-0.0454658679664135,
0.014051458798348904,
-0.0041863503865897655,
0.037303488701581955,
-0.007786476984620094,
0.023162532597780228,
-0.04718426242470741,
0.08241135627031326,
0.04811505973339081,
0.017685148864984512,
0.042530275881290436,
0.016620101407170296,
-0.04532266780734062,
0.027458518743515015,
0.0020730376709252596,
0.033437103033065796,
-0.016405301168560982,
0.0025082300417125225,
-0.044893067330121994,
-0.028675716370344162,
-0.037231892347335815,
-0.00876649934798479,
-0.01345181092619896,
-0.006891479715704918,
0.06171901896595955,
0.009316922165453434,
-0.0038753387052565813,
0.02531052567064762,
-0.058819226920604706,
-0.011867664754390717,
0.004662936087697744,
-0.042243875563144684,
-0.0041013252921402454,
0.008131051436066628,
-0.05788842961192131,
0.08233975619077682,
-0.0066274553537368774,
-0.019868941977620125,
-0.026044422760605812,
-0.04023908078670502,
0.05441584065556526,
-0.011053217574954033,
-0.05309124290943146,
-0.04074028134346008,
0.00041673314990475774,
0.02081763930618763,
0.02985711209475994,
-0.022195935249328613,
-0.005754833109676838,
-0.013872459530830383,
0.019135043025016785,
0.02532842569053173,
0.04385486990213394,
0.05441584065556526,
-0.038055289536714554,
0.01453475747257471,
-0.06794819980859756,
0.005343134514987469,
-0.02346683107316494,
0.029355913400650024,
-0.011885564774274826,
0.0075895776972174644,
0.02124723792076111,
-0.023932229727506638,
0.032774802297353745,
-0.0027454043738543987,
0.01724660024046898,
-0.0196362417191267,
0.012350963428616524,
0.005164134781807661,
0.02004794031381607,
0.02915901504456997,
0.052375245839357376,
-0.024522928521037102,
0.08090776205062866,
0.015286555513739586,
-0.000543431204278022,
-0.0066274553537368774,
0.024379728361964226,
-0.074034184217453,
-0.032345205545425415,
0.002443342935293913,
-0.008457724936306477,
-0.03069840930402279,
-0.007750677410513163,
-0.011509666219353676,
0.028836814686655998,
-0.05892662703990936,
0.024845127016305923,
-0.03930828347802162,
0.03374139964580536,
0.06354480981826782,
-0.03205880522727966,
-0.0028416167479008436,
0.011688665486872196,
0.021676836535334587,
0.03508389741182327,
-0.02271503396332264,
0.0015751953469589353,
-0.017631448805332184,
-0.04958285391330719,
-0.05717243254184723,
-0.02872941642999649,
0.010023970156908035,
0.005329709500074387,
-0.03229150548577309,
0.036909691989421844,
-0.03023301064968109,
0.045179467648267746,
-0.032774802297353745,
0.04843725636601448,
0.023717429488897324,
-0.01210931409150362,
0.019493043422698975,
-0.03819848597049713,
0.03773308917880058,
0.029373813420534134,
0.0039268010295927525,
0.060000624507665634,
-0.003942463546991348,
-0.03436790034174919,
0.05445164069533348,
-0.014660056680440903,
0.039952684193849564,
-0.015214955434203148,
-0.0764685720205307,
0.029194815084338188,
0.03214830532670021,
0.024075429886579514,
0.013254910707473755,
0.04048968106508255,
-0.049439653754234314,
0.07768577337265015,
0.034654296934604645,
-0.013111711479723454,
-0.006193381734192371,
-0.11506085842847824,
-0.030412010848522186,
-0.04338947311043739,
0.05949942395091057,
-0.02421862818300724,
0.0409550778567791,
0.01820424571633339,
-0.0018794945208355784,
-0.010041870176792145,
-0.013317560777068138,
-0.01530445460230112,
-0.001315646106377244,
0.058461226522922516,
0.028586216270923615,
-0.06422501057386398,
-0.030805809423327446,
-0.0001129234951804392,
-0.017747797071933746,
-0.0008340256754308939,
-0.03168290853500366,
0.025865424424409866,
0.025650624185800552,
-0.02192743495106697,
0.0075895776972174644,
0.054344240576028824,
-0.05559723824262619,
-0.0088783735409379,
0.05516763776540756,
0.03148600831627846,
-0.018723344430327415,
0.024451328441500664,
-0.06959499418735504,
-0.02309093251824379,
0.005047785118222237,
0.005311809480190277,
-0.056563835591077805,
0.03266740217804909,
-0.01584145426750183,
0.043747469782829285,
0.02727952040731907,
0.015107555314898491,
-0.0006203450611792505,
-0.04349687322974205,
0.0231088325381279,
-0.039952684193849564,
-0.009531722404062748,
-0.0010454688454046845,
-0.04199327528476715,
-0.033150702714920044,
-0.030770009383559227,
-0.007867027074098587,
0.008985773660242558,
0.04474986717104912,
-0.04242287576198578,
0.030089812353253365
] |
713,329
|
xmlschema.resources
|
get_namespaces
|
Extracts namespaces with related prefixes from the XML resource.
If a duplicate prefix is encountered in a xmlns declaration, and
this is mapped to a different namespace, adds the namespace using
a different generated prefix. The empty prefix '' is used only if
it's declared at root level to avoid erroneous mapping of local
names. In other cases it uses the prefix 'default' as substitute.
:param namespaces: is an optional mapping from namespace prefix to URI that integrate/override the namespace declarations of the root element.
:param root_only: if `True` extracts only the namespaces declared in the root element, otherwise scan the whole tree for further namespace declarations. A full namespace map can be useful for cases where the element context is not available.
:return: a dictionary for mapping namespace prefixes to full URI.
|
def get_namespaces(self, namespaces: Optional[NamespacesType] = None,
root_only: bool = True) -> NamespacesType:
"""
Extracts namespaces with related prefixes from the XML resource.
If a duplicate prefix is encountered in a xmlns declaration, and
this is mapped to a different namespace, adds the namespace using
a different generated prefix. The empty prefix '' is used only if
it's declared at root level to avoid erroneous mapping of local
names. In other cases it uses the prefix 'default' as substitute.
:param namespaces: is an optional mapping from namespace prefix to URI that \
integrate/override the namespace declarations of the root element.
:param root_only: if `True` extracts only the namespaces declared in the root \
element, otherwise scan the whole tree for further namespace declarations. \
A full namespace map can be useful for cases where the element context is \
not available.
:return: a dictionary for mapping namespace prefixes to full URI.
"""
namespaces = get_namespace_map(namespaces)
try:
for elem in self.iter():
if elem in self._xmlns:
update_namespaces(namespaces, self._xmlns[elem], elem is self._root)
if root_only:
break
except (ElementTree.ParseError, PyElementTree.ParseError, UnicodeEncodeError):
return namespaces # a lazy resource with malformed XML data
else:
return namespaces
|
(self, namespaces: Optional[~T] = None, root_only: bool = True) -> Optional[~T]
|
[
-0.04062771797180176,
-0.0031794558744877577,
-0.004857033956795931,
-0.021276600658893585,
-0.00503514101728797,
0.036641962826251984,
0.020121309906244278,
-0.020910758525133133,
0.1400982290506363,
0.017685571685433388,
-0.00818812195211649,
-0.0320015475153923,
0.0011053482303395867,
-0.0030711472500115633,
0.05017811805009842,
0.046635229140520096,
-0.01255415752530098,
-0.009097913280129433,
-0.011264082975685596,
-0.013930878601968288,
0.005704246927052736,
-0.009372293949127197,
-0.01425821054726839,
-0.02994127944111824,
0.010638300329446793,
-0.014624052681028843,
-0.010436124168336391,
-0.043130844831466675,
0.027765482664108276,
-0.02818908914923668,
-0.03569847717881203,
-0.014932130463421345,
0.0234909076243639,
-0.005179552361369133,
0.026205839589238167,
0.03271397575736046,
-0.04852220043540001,
0.016164440661668777,
0.009324157610535622,
-0.059227894991636276,
0.020833740010857582,
-0.08094735443592072,
0.005993069615215063,
-0.036930788308382034,
0.03340715169906616,
0.05079427361488342,
0.05187254399061203,
0.033734481781721115,
0.030595943331718445,
0.04124387353658676,
0.029652457684278488,
-0.01347838994115591,
-0.06446520984172821,
0.04066622629761696,
-0.04082026705145836,
0.022990280762314796,
-0.015471265651285648,
0.029151830822229385,
-0.017223456874489784,
-0.003988159354776144,
0.03562145680189133,
-0.04555695503950119,
0.0320015475153923,
0.03502455726265907,
-0.013420624658465385,
0.0014344857772812247,
-0.014479640871286392,
-0.04055069759488106,
-0.05402908846735954,
0.021584678441286087,
-0.02183499187231064,
-0.015182442963123322,
-0.009540773928165436,
0.005266199354082346,
0.055800531059503555,
-0.014287092722952366,
0.022412635385990143,
-0.03720035403966904,
0.008890923112630844,
-0.01756041683256626,
-0.05060172453522682,
-0.015423128381371498,
-0.07035719603300095,
0.07131993770599365,
0.04232214391231537,
-0.005969000980257988,
0.005728315562009811,
0.007600849028676748,
0.017637435346841812,
-0.02069895528256893,
-0.0950419008731842,
0.056147120893001556,
0.04436315596103668,
0.047366913408041,
0.006065275054425001,
-0.04532589763402939,
-0.0626167431473732,
-0.08372005075216293,
0.0196688212454319,
-0.01959180273115635,
0.015240207314491272,
-0.025666704401373863,
-0.030345631763339043,
-0.027726972475647926,
0.07366902381181717,
0.06450372189283371,
-0.02514682337641716,
0.014498895965516567,
0.020044291391968727,
0.019187450408935547,
-0.004055551253259182,
-0.05333591252565384,
0.049253884702920914,
0.0794069692492485,
-0.004736691247671843,
-0.030884766951203346,
0.005607972852885723,
-0.021430639550089836,
0.006103784777224064,
0.0054154242388904095,
-0.04413209855556488,
0.02813132479786873,
0.04444017633795738,
-0.001874940237030387,
0.01822470873594284,
0.03512083366513252,
0.03132762759923935,
0.04390104115009308,
0.07374604791402817,
0.06119188666343689,
-0.005237317178398371,
-0.003008569125086069,
-0.05206509307026863,
-0.03966497629880905,
0.011610670015215874,
0.0015608456451445818,
0.01908154785633087,
0.05383653938770294,
-0.02994127944111824,
0.030711473897099495,
-0.0013707040343433619,
0.002476654015481472,
0.0236834567040205,
0.06415713578462601,
-0.05518437922000885,
-0.047636479139328,
0.059073854237794876,
0.036873023957014084,
-0.0036006555892527103,
-0.01327621378004551,
0.019428135827183723,
-0.008091847412288189,
0.009256765246391296,
0.004440648015588522,
-0.06850872933864594,
-0.012332726269960403,
-0.021161071956157684,
0.01867719739675522,
-0.0391836054623127,
-0.019428135827183723,
-0.02181573584675789,
0.016212577000260353,
-0.0058197760954499245,
-0.10320595651865005,
0.06554348021745682,
0.01093675009906292,
-0.00436603557318449,
0.01734861359000206,
0.04209108650684357,
-0.01705978997051716,
0.011119671165943146,
0.002098777797073126,
0.019206704571843147,
-0.02662944607436657,
-0.022508909925818443,
-0.034023307263851166,
0.022431891411542892,
-0.04574950411915779,
-0.04236065223813057,
0.0795610100030899,
0.05464524030685425,
-0.07482431828975677,
-0.02976798638701439,
-0.00956002902239561,
0.009569656103849411,
0.017416004091501236,
0.0050303274765610695,
-0.010407241992652416,
0.028940027579665184,
0.006642920430749655,
0.0393376424908638,
0.052681248635053635,
0.0016583232209086418,
0.062193140387535095,
-0.003901512362062931,
-0.07074228674173355,
-0.007807838264852762,
-0.0024561958853155375,
0.005839030724018812,
0.06096082925796509,
-0.060729771852493286,
0.03454318642616272,
-0.03962646424770355,
0.05637817829847336,
0.01674208603799343,
-0.017184946686029434,
-0.014392994344234467,
-0.00508809182792902,
-0.01098488736897707,
0.0031240980606526136,
-0.027534423395991325,
0.016578419134020805,
-0.016886496916413307,
-0.02830461785197258,
-0.015606049448251724,
0.032155584543943405,
-0.04532589763402939,
0.0038870712742209435,
-0.021218836307525635,
-0.010773084126412868,
-0.04370849207043648,
0.02535862661898136,
0.0020723023917526007,
-0.018272845074534416,
-0.03831713646650314,
-0.022720713168382645,
0.06146145612001419,
0.00934822577983141,
0.005011072847992182,
-0.015837106853723526,
0.06912488490343094,
0.05194956436753273,
-0.0035019745118916035,
0.011292965151369572,
0.05187254399061203,
-0.07143546640872955,
0.027669208124279976,
0.003465871559455991,
0.10320595651865005,
-0.03011457249522209,
0.017733709886670113,
-0.05329740419983864,
-0.04994706064462662,
-0.04501781985163689,
-0.004257726948708296,
0.03635314106941223,
-0.038374900817871094,
0.018311355262994766,
0.05214211344718933,
0.0314239040017128,
-0.02052566222846508,
0.02967171184718609,
0.027938775718212128,
0.01016655657440424,
0.0023069707676768303,
-0.016347361728549004,
-0.11891790479421616,
0.014575915411114693,
-0.01271782349795103,
-0.028612695634365082,
0.02516607940196991,
0.029055556282401085,
-0.014392994344234467,
0.029248105362057686,
0.004520073998719454,
-0.03281025215983391,
0.02204679511487484,
-0.007446810137480497,
-0.03417734429240227,
0.0028810056392103434,
0.055762022733688354,
0.04517186060547829,
-0.027919521555304527,
-0.021064797416329384,
0.022374127060174942,
0.011629924178123474,
0.035525184124708176,
-0.00021225455566309392,
-0.0008989604539237916,
-0.029498418793082237,
-0.013516899198293686,
0.016838358715176582,
-0.01416193600744009,
0.004517667461186647,
0.027495915070176125,
-0.03824011608958244,
-0.0012563784839585423,
0.01600077375769615,
0.0315009206533432,
0.0019146533450111747,
0.057340919971466064,
-0.0007569559966214001,
-0.05768750607967377,
0.02539713680744171,
-0.005969000980257988,
-0.021584678441286087,
-0.025936271995306015,
-0.05144893750548363,
0.01097526028752327,
0.024126317352056503,
-0.044825270771980286,
-0.000139146315632388,
0.051063843071460724,
-0.035467419773340225,
0.09573507308959961,
0.013006646186113358,
0.037161845713853836,
0.0011643161997199059,
0.02657168172299862,
0.036930788308382034,
-0.04386252909898758,
-0.06639069318771362,
0.006435931194573641,
-0.0233946330845356,
-0.02990276925265789,
-0.027457404881715775,
0.015269089490175247,
-0.04297680780291557,
0.010734574869275093,
0.046173110604286194,
-0.03644941747188568,
0.005006258841603994,
0.002767883474007249,
0.010233948938548565,
-0.030210847035050392,
-0.017570042982697487,
-0.012207569554448128,
0.046558208763599396,
0.03808607906103134,
-0.0157119520008564,
0.006291519850492477,
-0.07016464322805405,
-0.10181960463523865,
0.005632041487842798,
-0.047636479139328,
-0.01252527441829443,
0.019254842773079872,
-0.044825270771980286,
0.03725811839103699,
0.020872248336672783,
0.022412635385990143,
-0.012794842943549156,
-0.04994706064462662,
-0.007398672867566347,
-0.06631367653608322,
-0.0033407150767743587,
-0.010715319775044918,
0.01867719739675522,
0.019331861287355423,
-0.062116120010614395,
-0.06180804222822189,
0.038528937846422195,
0.04055069759488106,
0.047906048595905304,
0.035409655421972275,
0.0031626077834516764,
-0.028997791931033134,
0.028728224337100983,
0.021353619173169136,
0.046519696712493896,
0.011398866772651672,
0.03444691374897957,
0.009945126250386238,
-0.021103307604789734,
0.023259848356246948,
-0.002991721034049988,
0.03159719705581665,
0.016819104552268982,
-0.017416004091501236,
-0.08510640263557434,
0.010946378111839294,
-0.032271116971969604,
-0.02851642109453678,
-0.01501877699047327,
-0.015760088339447975,
0.07751999795436859,
0.02811206877231598,
-0.019948016852140427,
0.002661981852725148,
-0.03406181558966637,
0.015172815881669521,
-0.016838358715176582,
-0.01672283001244068,
-0.00040736026130616665,
0.017570042982697487,
-0.03152017667889595,
0.06796959042549133,
-0.0627707839012146,
-0.027091562747955322,
0.01654953695833683,
-0.006416676100343466,
0.009290461428463459,
-0.02054491639137268,
0.012130550108850002,
-0.03517859801650047,
-0.004404545295983553,
-0.015153560787439346,
-0.040165599435567856,
0.026379134505987167,
0.0029700594022870064,
0.0077019366435706615,
-0.04351594299077988,
0.018609805032610893,
-0.014758836477994919,
-0.002630692906677723,
-0.004869068041443825,
0.033927030861377716,
-0.056031592190265656,
0.012053531594574451,
0.025743724778294563,
-0.00436603557318449,
-0.02377972938120365,
-0.005550208035856485,
-0.03171272575855255,
0.04836816340684891,
0.0019459425238892436,
-0.004380476661026478,
0.05780303478240967,
0.04293829947710037,
-0.006570714991539717,
-0.040127091109752655,
-0.01824396289885044,
0.04898431897163391,
-0.00858765933662653,
0.052796777337789536,
-0.04259170964360237,
-0.035659968852996826,
-0.03463946282863617,
-0.0042047761380672455,
0.052681248635053635,
0.007389045786112547,
-0.01761818118393421,
-0.04571099579334259,
-0.10759605467319489,
0.044825270771980286,
0.03735439479351044,
-0.003451430471614003,
-0.037219610065221786,
-0.010811594314873219,
-0.029344379901885986,
-0.009218255989253521,
-0.027438150718808174,
-0.060575734823942184,
0.00513622909784317,
-0.011389238759875298,
-0.015095796436071396,
-0.08479832112789154,
0.060498714447021484,
0.007807838264852762,
-0.04255320131778717,
-0.09157603234052658,
-0.06739194691181183,
0.03315683826804161,
-0.023375378921628,
-0.019168196246027946,
-0.007143546361476183,
-0.008809090591967106,
0.032174840569496155,
0.012968135997653008,
-0.05368249863386154,
0.008939060382544994,
-0.024145571514964104,
0.04863773286342621,
0.017040535807609558,
0.05187254399061203,
-0.020852994173765182,
-0.0001434335281373933,
-0.03517859801650047,
0.041898537427186966,
-0.011986139230430126,
0.0030061621218919754,
0.00311687751673162,
-0.012891116552054882,
-0.01647251658141613,
0.0468277744948864,
-0.05506884679198265,
-0.014672189950942993,
0.010590163059532642,
-0.008385484106838703,
-0.02046789787709713,
-0.00518436636775732,
0.0467892661690712,
-0.0073842317797243595,
-0.030230103060603142,
-0.025743724778294563,
-0.04255320131778717,
0.0024862815625965595,
-0.005983442068099976,
-0.0018063448369503021,
0.03306056559085846,
0.026244349777698517,
0.019909506663680077,
-0.04197555407881737,
-0.0015271496959030628,
-0.02021758444607258,
-0.04058920592069626,
0.00912198144942522,
0.006175990682095289,
0.011331474408507347,
0.005343218799680471,
0.050986822694540024,
-0.07393859326839447,
0.0118994927033782,
0.08918842673301697,
-0.047020323574543,
0.04517186060547829,
-0.09665931016206741,
-0.03523636236786842,
0.05969000980257988,
-0.001805141451768577,
-0.012140178121626377,
0.035428907722234726,
0.03319534659385681,
0.027630697935819626,
0.025839997455477715,
-0.06939445436000824,
0.017040535807609558,
0.029479162767529488,
0.030345631763339043,
-0.02385674975812435,
-0.03773948922753334,
0.024511413648724556,
-0.04440166428685188,
0.07024166733026505,
-0.052527207881212234,
0.03623761236667633,
-0.04844518378376961,
0.027187837287783623,
-0.016270341351628304,
-0.03286801651120186,
0.003865409642457962,
0.0025223842822015285,
0.013584291562438011,
0.018311355262994766,
-0.003964090719819069,
-0.008308464661240578,
0.031192844733595848,
-0.038220860064029694,
0.0018304134719073772,
-0.006354097742587328,
0.05622413754463196,
0.016087420284748077,
-0.007119477726519108,
0.02659093774855137,
-0.0008261530892923474,
0.055646494030952454,
0.019774721935391426,
-0.015432756394147873,
0.036718983203172684,
0.017473768442869186,
0.028863009065389633,
-0.051333408802747726,
0.0786752849817276,
0.03331087529659271,
0.04205257445573807,
-0.018725333735346794,
0.03255993872880936,
-0.013536154292523861,
-0.025531921535730362,
0.029440654441714287,
0.002661981852725148,
0.009434872306883335,
-0.002883412642404437,
0.06138443574309349,
-0.04082026705145836,
-0.0055742766708135605,
0.0030591129325330257,
0.01717531867325306,
0.01662655547261238,
0.08703188598155975,
-0.014084916561841965,
-0.0313853919506073,
0.049716003239154816,
-0.022951772436499596,
0.007287957705557346,
0.03741215914487839,
0.01869645155966282,
-0.08256476372480392,
0.018609805032610893,
0.027592189610004425,
0.021276600658893585,
-0.02506980486214161,
0.04463272541761398,
0.01031096838414669,
0.06966401636600494,
0.04266873002052307,
-0.00671993987634778,
0.024338120594620705,
0.036834511905908585,
-0.06519689410924911,
-0.029017047956585884,
0.027919521555304527,
0.03508232161402702,
-0.013959760777652264,
0.0039279880002141,
-0.06550497561693192,
-0.00039923712029121816,
-0.011495140381157398,
-0.008659865707159042,
-0.02978724054992199,
0.03604506328701973,
0.0948108434677124,
0.004305864218622446,
0.05641668662428856,
-0.040165599435567856,
-0.004089246969670057,
-0.0036897091194987297,
0.0472898930311203,
0.0021408977918326855,
-0.0020867434795945883,
-0.027399640530347824,
-0.05333591252565384,
0.07212863862514496,
-0.06531242281198502,
0.033676717430353165,
0.003015789669007063,
-0.032155584543943405,
0.012111295945942402,
-0.053990576416254044,
-0.07644172012805939,
-0.0035019745118916035,
0.035274870693683624,
-0.008953501470386982,
0.017319731414318085,
-0.02062193676829338,
0.005867913365364075,
0.005246944259852171,
-0.022797733545303345,
0.03585251420736313,
-0.01425821054726839,
0.0628478080034256,
-0.055646494030952454,
-0.0039279880002141,
-0.08063928037881851,
0.001998893218114972,
0.07162801176309586,
0.049523454159498215,
0.0633099228143692,
-0.013256958685815334,
0.012178687378764153,
0.006599597167223692,
-0.012159433215856552,
0.04844518378376961,
0.024318866431713104,
-0.03194378316402435,
-0.00031168776331469417,
0.019870996475219727,
-0.008130356669425964,
0.013112547807395458,
-0.01256378460675478,
-0.02499278448522091,
-0.0039376150816679,
0.049561962485313416,
-0.009276020340621471,
-0.0054154242388904095,
-0.005280640441924334,
-0.037161845713853836,
-0.02674497663974762,
0.00913160853087902,
-0.016087420284748077,
-0.023837493732571602,
-0.02972947619855404,
-0.025743724778294563,
0.0635794922709465,
-0.059304915368556976,
-0.054298654198646545,
-0.007509388495236635,
-0.03978050500154495,
0.04132089018821716,
-0.05225764214992523,
0.026379134505987167,
0.049561962485313416,
0.03473573550581932,
0.008756139315664768,
-0.003964090719819069,
0.03652643412351608,
0.01656879112124443,
-0.030923277139663696,
0.02222008816897869,
-0.05472226068377495,
-0.014999521896243095,
-0.02177722565829754,
-0.022335616871714592,
-0.043130844831466675,
-0.017396749928593636,
-0.00944450031965971,
-0.013536154292523861,
0.012323099188506603,
-0.038528937846422195,
-0.055723514407873154,
0.00862616952508688,
-0.027226347476243973,
0.06608261913061142,
0.0638875663280487,
-0.0009892175439745188,
0.08387409150600433,
-0.011581787839531898,
0.04370849207043648,
-0.021218836307525635,
0.0009049775544553995,
-0.019716957584023476,
-0.04097430408000946,
-0.011071533896028996,
-0.07597960531711578,
0.0036680474877357483,
0.06700684875249863,
-0.011235200800001621,
0.0072446344420313835,
-0.015971891582012177,
0.09766055643558502,
0.0014898433582857251,
-0.00014004888362251222,
-0.032078567892313004,
-0.03488977253437042,
-0.011331474408507347,
-0.04540291801095009,
0.011938001960515976,
0.018369119614362717,
-0.012765960767865181,
0.028863009065389633,
-0.012977764010429382,
0.0194762721657753,
0.017030907794833183,
0.011581787839531898,
-0.0020157413091510534,
0.02042938768863678,
0.02974873036146164,
-0.02195052057504654,
-0.016944261267781258,
0.03619910404086113,
0.02647540718317032,
0.038817763328552246,
0.005405797157436609,
-0.014604797586798668,
0.021642442792654037,
-0.021122561767697334,
0.06022914499044418,
-0.04417060688138008,
-0.05402908846735954,
-0.001035549445077777,
0.04047367721796036,
0.04397805780172348,
-0.019601428881287575,
0.08780208230018616,
-0.09750652313232422,
-0.063540980219841,
-0.02651391737163067,
0.0006600800552405417,
-0.016222205013036728,
0.04382402077317238,
-0.01267931330949068,
0.02988351508975029,
0.0035958418156951666,
-0.021045543253421783,
-0.005482816137373447,
-0.007239820435643196,
-0.01822470873594284,
-0.019139312207698822,
0.04409359022974968,
-0.035409655421972275,
-0.019302979111671448,
0.0006444355240091681,
-0.03927987813949585,
0.03190527483820915,
0.0237219650298357,
0.04286127910017967,
-0.027803992852568626,
-0.022797733545303345
] |
713,330
|
xmlschema.resources
|
get_nsmap
|
Returns the namespace map (nsmap) of the element. Returns `None` if no nsmap is
found for the element. Lazy resources have only the nsmap for the root element.
|
def get_nsmap(self, elem: ElementType) -> Optional[Dict[str, str]]:
"""
Returns the namespace map (nsmap) of the element. Returns `None` if no nsmap is
found for the element. Lazy resources have only the nsmap for the root element.
"""
try:
return self._nsmaps[elem]
except KeyError:
return getattr(elem, 'nsmap', None) # an lxml element
|
(self, elem: Optional[~T]) -> Optional[Dict[str, str]]
|
[
0.00502763269469142,
0.01529238373041153,
0.016892084851861,
-0.005327576771378517,
0.0028232824988663197,
0.04262061417102814,
0.027632936835289,
0.010207618586719036,
0.092173270881176,
0.008127054199576378,
0.008750746957957745,
-0.030965648591518402,
0.02530956082046032,
0.0034160290379077196,
-0.01629219576716423,
-0.009874346666038036,
-0.02123413048684597,
0.03492681309580803,
-0.06585437059402466,
-0.029956312850117683,
-0.00007952384476084262,
-0.015130508691072464,
0.06589245796203613,
-0.014121172949671745,
-0.0262998528778553,
-0.011093167588114738,
0.04010679945349693,
-0.03665982186794281,
0.023614639416337013,
-0.009003081358969212,
-0.047115013003349304,
-0.05320911481976509,
-0.009893391281366348,
0.017996640875935555,
0.046429429203271866,
0.04197311773896217,
0.006636856123805046,
0.021995894610881805,
-0.050581034272909164,
-0.07457655668258667,
0.012112024240195751,
-0.017910942435264587,
-0.02302427403628826,
-0.06196938455104828,
-0.00026512908516451716,
0.014416356571018696,
0.06029350683093071,
0.03243204206228256,
-0.0004377159057185054,
0.033479463309049606,
0.0444488450884819,
0.0339365229010582,
-0.003542195772752166,
0.04132561758160591,
-0.059722185134887695,
0.05107617750763893,
-0.04932412505149841,
0.05092382803559303,
-0.01610175520181656,
0.035421960055828094,
0.003908793907612562,
-0.03957356512546539,
0.007793783210217953,
0.008693614974617958,
-0.009969567880034447,
-0.010874160565435886,
0.018920278176665306,
-0.04113517701625824,
-0.02310044877231121,
-0.013016617856919765,
-0.038754671812057495,
-0.0036445576697587967,
-0.02751867286860943,
0.026756910607218742,
0.043306201696395874,
-0.04498207941651344,
0.050238240510225296,
-0.03483159467577934,
0.03406982868909836,
0.008607916533946991,
-0.04182076454162598,
0.015520911663770676,
-0.036221809685230255,
0.014749627560377121,
0.051304709166288376,
-0.025804705917835236,
0.045172519981861115,
0.01601605862379074,
-0.0037231144960969687,
-0.04201120510697365,
-0.040830474346876144,
0.049781184643507004,
0.0015758962836116552,
0.03774533420801163,
-0.020510457456111908,
-0.0037731050979346037,
-0.014483010396361351,
-0.024224048480391502,
-0.0034803026355803013,
-0.01695873960852623,
0.02056758850812912,
-0.033784169703722,
-0.04124944284558296,
-0.0014544903533533216,
0.017653847113251686,
0.02669977769255638,
0.011797797866165638,
-0.0011063411366194487,
0.0011337168980389833,
0.014949589967727661,
0.019805826246738434,
-0.05602763593196869,
-0.01071228552609682,
0.08021359890699387,
0.045705754309892654,
-0.007179612293839455,
-0.013645071536302567,
-0.010236184112727642,
0.03791673108935356,
0.029270725324749947,
-0.03132748603820801,
0.011264563538134098,
-0.036145634949207306,
-0.03483159467577934,
-0.0013997387140989304,
-0.03125130757689476,
0.020796118304133415,
0.024262137711048126,
-0.0038492814637720585,
0.03466019779443741,
0.03250821679830551,
-0.024604929611086845,
-0.04201120510697365,
0.007874720729887486,
0.04787677526473999,
-0.0317845419049263,
0.05362808331847191,
0.011797797866165638,
-0.050581034272909164,
0.039230771362781525,
0.000163957491167821,
0.01077894028276205,
-0.03439357876777649,
0.011654967442154884,
-0.02102464623749256,
-0.030603811144828796,
-0.0009063784382306039,
0.018177559599280357,
-0.007408140692859888,
-0.05061912164092064,
-0.017730023711919785,
-0.060064978897571564,
-0.03852614015340805,
0.03774533420801163,
-0.0346030630171299,
-0.010674198158085346,
0.014349701814353466,
0.0059560309164226055,
-0.006570201832801104,
-0.0837177038192749,
-0.027156835421919823,
0.027632936835289,
-0.009826736524701118,
-0.09293503314256668,
0.034222181886434555,
0.0169682614505291,
0.029137417674064636,
-0.005803678650408983,
0.055456314235925674,
-0.008988798595964909,
-0.03233681991696358,
-0.022414863109588623,
-0.0011545463930815458,
-0.0064940256997942924,
0.05042868107557297,
0.045972369611263275,
0.003089899430051446,
-0.006255974993109703,
-0.03780246526002884,
0.08181329816579819,
0.05496116727590561,
0.028604183346033096,
-0.038488052785396576,
0.04509634152054787,
-0.04182076454162598,
0.04079238325357437,
0.04882897809147835,
-0.01308327168226242,
-0.00911258440464735,
0.01614936627447605,
0.03557430952787399,
0.02171023190021515,
-0.021443616598844528,
0.028147125616669655,
0.002987537533044815,
-0.044029876589775085,
-0.003637416288256645,
-0.011597834527492523,
-0.012407207861542702,
0.02709970250725746,
0.01241672970354557,
-0.0033588968217372894,
-0.03907841816544533,
0.09598208218812943,
-0.016644511371850967,
-0.02390030026435852,
0.01335941068828106,
0.0262998528778553,
-0.06440702080726624,
0.04646751657128334,
-0.04185885190963745,
-0.022319642826914787,
-0.0048895631916821,
-0.04688648506999016,
0.05332338064908981,
0.006698749493807554,
-0.10687528550624847,
0.06250261515378952,
-0.03671695664525032,
-0.030603811144828796,
-0.021862585097551346,
0.006655900273472071,
0.060522034764289856,
-0.018729837611317635,
-0.012588126584887505,
-0.03490776941180229,
0.025804705917835236,
0.015787528827786446,
0.029765872284770012,
0.02517625316977501,
0.010636109858751297,
0.019748693332076073,
0.019805826246738434,
-0.024128828197717667,
0.07046303898096085,
-0.052713967859745026,
0.02157692424952984,
0.010217140428721905,
0.11129350960254669,
-0.03825952485203743,
0.01929163746535778,
-0.01629219576716423,
-0.055189698934555054,
0.019748693332076073,
-0.04132561758160591,
0.06162659078836441,
-0.012112024240195751,
0.005365665070712566,
0.005175224505364895,
-0.011702577583491802,
0.007531927432864904,
0.0034065069630742073,
-0.0012188201071694493,
-0.004772918298840523,
0.028946977108716965,
-0.037231143563985825,
-0.06730172038078308,
0.01575896330177784,
-0.007427184842526913,
-0.03203211724758148,
0.028699403628706932,
-0.02510007657110691,
0.07712845504283905,
-0.0036350355949252844,
0.0001515342155471444,
0.008031833916902542,
0.024757282808423042,
0.032146379351615906,
-0.03999253362417221,
0.01896788738667965,
0.13353697955608368,
0.004311100114136934,
0.0025090554263442755,
-0.014730582945048809,
0.05496116727590561,
-0.018986931070685387,
0.04399178922176361,
0.024928679689764977,
0.026547424495220184,
0.0432681143283844,
-0.012245332822203636,
-0.037821512669324875,
-0.04166841134428978,
0.059265125542879105,
-0.04467737302184105,
-0.053856611251831055,
0.012378641404211521,
0.05648469179868698,
0.0179680734872818,
-0.01823469065129757,
0.014911501668393612,
0.048981331288814545,
-0.10413294285535812,
0.0057084583677351475,
-0.06783495843410492,
-0.025004856288433075,
-0.023938387632369995,
-0.04014488682150841,
0.028889844194054604,
0.06543540209531784,
0.011112211272120476,
0.016263630241155624,
0.04814339429140091,
-0.008426997810602188,
0.025747574865818024,
0.05701792612671852,
0.016749253496527672,
0.011502614244818687,
0.0179680734872818,
0.02671882137656212,
-0.00824608001857996,
-0.031670279800891876,
-0.025995146483182907,
0.03391747921705246,
-0.022605303674936295,
0.03386034443974495,
0.007308159489184618,
-0.01614936627447605,
0.018510829657316208,
0.058922331780195236,
-0.048905156552791595,
0.01870127022266388,
-0.017530061304569244,
-0.016749253496527672,
0.0013330844230949879,
-0.07324346899986267,
0.054656464606523514,
-0.0202247966080904,
0.0780806615948677,
-0.012473861686885357,
-0.0539327897131443,
-0.022072069346904755,
-0.04692457243800163,
-0.0043039582669734955,
-0.0431157611310482,
0.011759709566831589,
0.01603510230779648,
-0.01809186115860939,
-0.022529127076268196,
0.0026590274646878242,
0.016206499189138412,
-0.006317868363112211,
-0.07640478760004044,
0.0074986000545322895,
-0.013407020829617977,
0.014663929119706154,
-0.003427931573241949,
-0.013511762954294682,
0.027156835421919823,
-0.04715310037136078,
-0.019263070076704025,
0.008165142498910427,
0.03625989705324173,
0.07152950018644333,
0.006774925626814365,
0.051647502928972244,
0.01588274911046028,
0.05583719536662102,
0.02302427403628826,
0.07263405621051788,
0.04292532056570053,
-0.019520165398716927,
-0.020472368225455284,
-0.06676848977804184,
0.0128547428175807,
0.003980209119617939,
0.03530769422650337,
0.044372670352458954,
0.02357655018568039,
-0.03387938812375069,
0.015082898549735546,
0.013492719270288944,
-0.07655713707208633,
-0.04639133810997009,
-0.006146471481770277,
0.021119866520166397,
0.026261763647198677,
-0.0016127941198647022,
-0.019520165398716927,
-0.056179989129304886,
0.0169682614505291,
0.039840180426836014,
0.014540142379701138,
0.03203211724758148,
-0.046238988637924194,
-0.038088127970695496,
0.04227782040834427,
-0.029270725324749947,
-0.028946977108716965,
0.009093540720641613,
0.03313666954636574,
-0.0024781087413430214,
-0.010359970852732658,
0.01783476583659649,
-0.014483010396361351,
-0.0008010409655980766,
-0.038011953234672546,
-0.03961165249347687,
0.021138910204172134,
0.012502428144216537,
0.00303752813488245,
-0.010664675384759903,
0.004137322772294283,
0.001102770329453051,
-0.015606610104441643,
0.011178865097463131,
-0.05469455197453499,
-0.022205378860235214,
0.020339060574769974,
-0.004527726210653782,
-0.04334428906440735,
0.002913741860538721,
0.00038058371865190566,
-0.1051994115114212,
0.03873562440276146,
0.015216207131743431,
0.04646751657128334,
0.044715460389852524,
-0.009588685818016529,
-0.05568484216928482,
-0.05964600667357445,
-0.038907021284103394,
0.02925168164074421,
0.04227782040834427,
0.038297612220048904,
-0.06524496525526047,
0.015359037555754185,
-0.0329652763903141,
-0.02805190533399582,
0.07651904970407486,
-0.023728903383016586,
0.010388536378741264,
0.007308159489184618,
-0.13947872817516327,
0.07655713707208633,
-0.011912061832845211,
-0.01409260742366314,
-0.019282113760709763,
-0.0034303120337426662,
-0.04132561758160591,
-0.0051847463473677635,
0.05937939137220383,
-0.01950112171471119,
0.03205116093158722,
0.029232637956738472,
0.01005526538938284,
-0.06516878306865692,
0.05416131764650345,
-0.031137043610215187,
-0.02589992620050907,
-0.06014115363359451,
-0.054313670843839645,
0.07130097597837448,
-0.018929800018668175,
0.03627894073724747,
-0.03938312456011772,
-0.06981553882360458,
0.005670370068401098,
-0.016311241313815117,
-0.01935829035937786,
-0.02883271314203739,
-0.020262883976101875,
0.07606199383735657,
-0.03818334639072418,
0.006703510414808989,
0.06730172038078308,
0.00281137996353209,
0.02256721630692482,
-0.02110082283616066,
-0.01755862683057785,
0.03846900910139084,
-0.021443616598844528,
0.02597610279917717,
-0.10626587271690369,
0.022624347358942032,
-0.022452950477600098,
-0.017749067395925522,
0.04833383485674858,
0.028147125616669655,
0.012083458714187145,
0.0017318195896223187,
0.038697537034749985,
0.04547722637653351,
-0.01309279352426529,
-0.05202838405966759,
-0.039497386664152145,
0.014901979826390743,
-0.007784260902553797,
0.0023364685475826263,
0.0074986000545322895,
-0.04795295372605324,
0.03018484078347683,
-0.0013342747697606683,
0.02978491596877575,
0.04582001641392708,
-0.021138910204172134,
0.07796639949083328,
0.011883496306836605,
0.00027703162049874663,
-0.0089840367436409,
0.009322069585323334,
-0.07114861905574799,
0.011112211272120476,
0.049705006182193756,
-0.0073652914725244045,
-0.02283383347094059,
-0.10040030628442764,
0.01495911180973053,
0.06044586002826691,
0.006417849566787481,
-0.010445669293403625,
0.02129126340150833,
0.0569036640226841,
0.0050609600730240345,
0.054389845579862595,
-0.007589059416204691,
0.0031803585588932037,
-0.014625840820372105,
0.01576848514378071,
0.009874346666038036,
0.018072817474603653,
-0.002494772430509329,
0.0446011982858181,
0.030622854828834534,
-0.000817109365016222,
0.017882375046610832,
-0.005160941276699305,
0.003904032986611128,
-0.05362808331847191,
-0.013054706156253815,
0.008398432284593582,
-0.03900224342942238,
-0.009541075676679611,
0.000028900854886160232,
-0.02738536335527897,
0.04174458980560303,
0.0022912388667464256,
-0.09034503996372223,
-0.0016306479228660464,
0.006527353078126907,
0.019396379590034485,
-0.05583719536662102,
0.03180358558893204,
0.02043428085744381,
0.040563855320215225,
0.0813562422990799,
-0.06848245114088058,
-0.003004200989380479,
-0.027023525908589363,
0.006651139352470636,
0.019215460866689682,
-0.014216393232345581,
0.03216542303562164,
-0.015035288408398628,
-0.010217140428721905,
-0.00772712891921401,
-0.013188013806939125,
-0.0758715495467186,
0.0019901045598089695,
0.011854929849505424,
0.016301719471812248,
-0.04646751657128334,
0.0007748553762212396,
0.04155414551496506,
-0.014444922097027302,
-0.0196344293653965,
-0.009293503127992153,
-0.028147125616669655,
0.0053418600000441074,
0.05869380384683609,
-0.0021626914385706186,
-0.02810903824865818,
0.011997760273516178,
-0.0529044084250927,
-0.00679396977648139,
0.055265873670578,
0.038221437484025955,
-0.04745780676603317,
0.05469455197453499,
-0.017482450231909752,
-0.014044997282326221,
0.037631068378686905,
0.06124570965766907,
0.019577298313379288,
0.03386034443974495,
0.010207618586719036,
-0.029365945607423782,
0.02030097134411335,
-0.031213220208883286,
-0.039421211928129196,
-0.06631143391132355,
-0.042772967368364334,
0.01361650601029396,
-0.02464301884174347,
0.007103435695171356,
-0.020719941705465317,
0.007174850907176733,
0.0006451176595874131,
-0.02643316052854061,
-0.045362960547208786,
0.04174458980560303,
0.022624347358942032,
0.019310681149363518,
0.03130844235420227,
0.0060798171907663345,
-0.006922517437487841,
0.008222274482250214,
0.018282301723957062,
0.017482450231909752,
0.01969156228005886,
-0.04540104791522026,
-0.06276923418045044,
0.054580286145210266,
-0.024395445361733437,
0.013168970122933388,
-0.07183420658111572,
-0.011416916735470295,
0.017929986119270325,
-0.028966020792722702,
-0.008460325188934803,
-0.018910756334662437,
0.019015498459339142,
0.012292942963540554,
0.024090740829706192,
0.027347275987267494,
-0.03650746867060661,
0.03157505765557289,
-0.029404034838080406,
0.024014564231038094,
0.02530956082046032,
0.03458401933312416,
0.01172162126749754,
0.02698543854057789,
-0.1188349574804306,
-0.00854602362960577,
0.05728454515337944,
0.04981927201151848,
0.027080658823251724,
-0.04448693245649338,
0.02850896306335926,
-0.00664161704480648,
0.002329327166080475,
0.026395073160529137,
0.010093353688716888,
0.04707692563533783,
0.02837565541267395,
0.0351172536611557,
0.008465086109936237,
0.031479839235544205,
-0.00724626611918211,
-0.03892606496810913,
-0.05507543310523033,
0.030679987743496895,
0.006574963219463825,
0.03473637253046036,
0.036297984421253204,
-0.04254443943500519,
-0.00187822082079947,
-0.05435175821185112,
-0.017520539462566376,
-0.05747498571872711,
-0.04159223660826683,
-0.08234652876853943,
0.004703883547335863,
0.00821751356124878,
-0.05522778630256653,
-0.014597275294363499,
-0.0022519605699926615,
-0.052523527294397354,
-0.03151792660355568,
-0.02344324253499508,
0.0718722939491272,
0.026928305625915527,
-0.04265870153903961,
-0.020339060574769974,
-0.02037714794278145,
0.00004641990744858049,
-0.022852877154946327,
-0.02182449772953987,
0.00393974082544446,
0.02224346622824669,
0.01328323408961296,
-0.0555705800652504,
0.01581609435379505,
-0.02690926194190979,
0.014273526147007942,
0.024281181395053864,
-0.03879275918006897,
0.04894324392080307,
-0.01495911180973053,
-0.01221676729619503,
-0.06379761546850204,
0.05709410458803177,
0.09689619392156601,
-0.008488891646265984,
-0.02816617116332054,
-0.021386483684182167,
0.0432681143283844,
0.043039582669734955,
0.0135593730956316,
0.03780246526002884,
-0.027747200801968575,
-0.03469828516244888,
-0.044106051325798035,
0.010940814390778542,
0.030356237664818764,
-0.04441075772047043,
-0.004558672662824392,
0.016663555055856705,
0.07830919325351715,
-0.030146753415465355,
0.010912248864769936,
-0.0013307039625942707,
-0.06992980092763901,
-0.02725205570459366,
-0.005089526064693928,
0.020262883976101875,
0.010740851983428001,
-0.04635325074195862,
-0.00888405553996563,
-0.052713967859745026,
-0.004894324578344822,
0.005537061486393213,
0.0025876122526824474,
-0.01218820083886385,
0.05035250633955002,
-0.004649132024496794,
-0.02150074765086174,
-0.05103809013962746,
0.06711128354072571,
-0.038430921733379364,
0.00827940646559,
-0.02123413048684597,
0.028528008610010147,
-0.028337566182017326,
-0.011883496306836605,
0.03304145112633705,
-0.014387790113687515,
-0.06992980092763901,
-0.04182076454162598,
0.054656464606523514,
-0.0032017831690609455,
0.003004200989380479,
0.06589245796203613,
0.02330993488430977,
-0.02544286847114563,
-0.005099047906696796,
-0.003156553488224745,
0.0010968190617859364,
0.02898506447672844,
0.03677408769726753,
0.021881628781557083,
0.0053085326217114925,
-0.008036594837903976,
-0.004332524724304676,
-0.02930881455540657,
0.014159261249005795,
-0.03376512601971626,
0.027004482224583626,
0.014654407277703285,
-0.03879275918006897,
0.009426811710000038,
-0.06901568919420242,
0.015016244724392891,
0.039421211928129196,
-0.009826736524701118,
-0.01308327168226242,
-0.023938387632369995
] |
713,331
|
xmlschema.resources
|
get_text
|
Gets the source text of the XML document. If the source text is not
available creates an encoded string representation of the XML tree.
Il the resource is lazy raises a resource error.
|
def get_text(self) -> str:
"""
Gets the source text of the XML document. If the source text is not
available creates an encoded string representation of the XML tree.
Il the resource is lazy raises a resource error.
"""
if self._text is not None:
return self._text
elif self._url is not None:
self.load()
if self._text is not None:
return self._text
return self.tostring(xml_declaration=True)
|
(self) -> str
|
[
-0.013040260411798954,
-0.058043867349624634,
0.05736645311117172,
-0.0038728592917323112,
0.028504958376288414,
-0.013263095170259476,
0.0157855786383152,
-0.0018450675997883081,
0.11052579432725906,
-0.024868303909897804,
0.027845369651913643,
-0.03100070171058178,
0.013557236641645432,
0.004062268417328596,
-0.011204106733202934,
0.05130536109209061,
-0.05251757800579071,
-0.04585037752985954,
-0.01645408198237419,
-0.006644917652010918,
-0.0389692559838295,
-0.03533260151743889,
0.009911667555570602,
0.0030372310429811478,
-0.022105159237980843,
0.03144637122750282,
-0.016284728422760963,
-0.05979088693857193,
-0.032034654170274734,
-0.01655212789773941,
0.015241863206028938,
-0.06692158430814743,
0.06791988015174866,
-0.01364636979997158,
-0.022461693733930588,
0.09569394588470459,
-0.012960040010511875,
-0.017737606540322304,
-0.00518758175894618,
-0.09769053757190704,
-0.04577907174825668,
0.004915723577141762,
0.0009715573396533728,
-0.027613621205091476,
-0.014573360793292522,
-0.02886149287223816,
-0.017630646005272865,
-0.0011620806762948632,
-0.07815243303775787,
-0.03171377256512642,
0.059327393770217896,
0.10539168864488602,
-0.0433189794421196,
0.003364797215908766,
-0.05982654169201851,
0.0013013520510867238,
-0.006609264295548201,
0.05526289716362953,
0.01184586901217699,
0.038363147526979446,
0.03545738756656647,
0.010794091038405895,
0.04182153195142746,
0.016774963587522507,
-0.020340310409665108,
0.027774062007665634,
0.019128093495965004,
-0.028273209929466248,
0.02599138766527176,
0.03679439425468445,
0.01192608941346407,
-0.006582524161785841,
-0.04096585139632225,
0.02221211977303028,
0.0419284924864769,
-0.05661772936582565,
-0.006983625702559948,
-0.0114804208278656,
0.010892138816416264,
-0.016142113134264946,
0.012193490751087666,
0.01796935498714447,
0.016142113134264946,
-0.04962964728474617,
0.042106762528419495,
-0.08613880723714828,
0.011186279356479645,
-0.001861780183389783,
0.02007290907204151,
0.04845308139920235,
0.013931597582995892,
0.043639861047267914,
-0.059327393770217896,
0.001992138335481286,
0.013316575437784195,
-0.0029770657420158386,
-0.002328617963939905,
-0.05900651216506958,
0.008039860054850578,
0.016890836879611015,
-0.014867501333355904,
0.09084507077932358,
-0.04203545302152634,
0.003674536943435669,
0.03337165713310242,
0.007313420530408621,
0.013744416646659374,
0.0017570480704307556,
0.06916775554418564,
-0.0019520281348377466,
-0.009474912658333778,
-0.09326950460672379,
0.013432448729872704,
0.029770657420158386,
0.04955833777785301,
-0.10717436671257019,
-0.06624417006969452,
0.018147621303796768,
-0.013788984157145023,
-0.039254482835531235,
0.027702754363417625,
-0.007652128580957651,
-0.09091638028621674,
-0.02370956540107727,
0.014448572881519794,
0.03649133816361427,
0.020375965163111687,
-0.013682023622095585,
0.05747341364622116,
-0.07594191282987595,
0.04895222932100296,
-0.0010657048551365733,
-0.0035698048304766417,
0.01574101112782955,
0.05747341364622116,
-0.02313910983502865,
-0.010241462849080563,
0.04902353510260582,
0.016971057280898094,
0.04114411771297455,
0.0019486856181174517,
-0.013628543354570866,
-0.0033937657717615366,
0.012648072093725204,
-0.024975264444947243,
-0.00021559213928412646,
0.0012144467327743769,
-0.0258309468626976,
-0.029271507635712624,
-0.02010856382548809,
0.07109304517507553,
-0.055762045085430145,
-0.03886229544878006,
-0.022782575339078903,
-0.009804707020521164,
0.009564046747982502,
-0.009769054129719734,
0.01864677108824253,
0.0003356441156938672,
-0.0009119492024183273,
0.01507250964641571,
-0.016052979975938797,
0.006368603091686964,
-0.018611116334795952,
0.020465098321437836,
0.029182374477386475,
0.011043665930628777,
-0.061680521816015244,
0.00162780424579978,
-0.04178588092327118,
-0.021035553887486458,
-0.015143816359341145,
-0.11109624803066254,
0.04952268674969673,
0.050663597881793976,
0.015206209383904934,
0.03082243539392948,
0.07487230747938156,
-0.034993890672922134,
0.06456845253705978,
-0.02670445665717125,
-0.01223805733025074,
-0.03736484795808792,
0.01884286478161812,
0.060860492289066315,
-0.01049103680998087,
0.025599200278520584,
-0.0075273411348462105,
0.0344412624835968,
-0.007478317711502314,
0.014332699589431286,
-0.05419329181313515,
-0.028326690196990967,
0.01955593377351761,
-0.03182073310017586,
-0.07551407068967819,
0.004124661907553673,
-0.04032408818602562,
-0.008365198038518429,
0.060860492289066315,
0.007362443953752518,
0.003257836913689971,
0.04385378211736679,
0.07070085406303406,
-0.019894642755389214,
-0.0006222646916285157,
-0.01038407627493143,
0.003587631508708,
-0.054335907101631165,
0.0706295445561409,
-0.002640585880726576,
-0.0031129946000874043,
-0.014475313015282154,
-0.001143139787018299,
0.02449394203722477,
-0.043639861047267914,
-0.11487551778554916,
0.0004244992742314935,
-0.046349525451660156,
0.016329294070601463,
0.03520781174302101,
-0.007032649125903845,
0.034084729850292206,
-0.0633205845952034,
0.007848222739994526,
-0.05308803543448448,
0.0360100157558918,
-0.036972660571336746,
0.00649784691631794,
-0.009528392925858498,
0.054300252348184586,
0.005807060748338699,
0.0415719598531723,
0.028308864682912827,
0.041429344564676285,
-0.02506439760327339,
-0.002350901486352086,
-0.017710866406559944,
-0.001320292940363288,
-0.059505660086870193,
-0.032070305198431015,
-0.011489334516227245,
-0.025652680546045303,
-0.008013119921088219,
-0.0026138457469642162,
0.02866539917886257,
-0.016436254605650902,
0.04970095306634903,
-0.018343716859817505,
-0.04973660781979561,
0.03242684155702591,
-0.016088632866740227,
-0.0546211339533329,
-0.04474511742591858,
-0.0058248876594007015,
-0.06299970299005508,
-0.0032979471143335104,
-0.0030260891653597355,
0.007456034421920776,
0.0060076117515563965,
-0.018539810553193092,
-0.02802363596856594,
-0.026829244568943977,
0.06510325521230698,
-0.014359439723193645,
-0.062108363956213,
-0.03683004528284073,
0.020999900996685028,
-0.05472809448838234,
0.015972759574651718,
0.08549705147743225,
0.02674011141061783,
-0.006462193559855223,
-0.015482524409890175,
0.003110766177996993,
-0.04549384117126465,
-0.022836055606603622,
0.02082163281738758,
0.01937766745686531,
-0.024886129423975945,
0.002716349670663476,
0.015125988982617855,
0.029681522399187088,
-0.004507937002927065,
0.02517135813832283,
-0.10617607086896896,
-0.007349073886871338,
-0.03235553577542305,
-0.006760791409760714,
-0.015491437166929245,
0.03297946974635124,
0.04520861431956291,
-0.031339410692453384,
-0.020732499659061432,
0.04684867337346077,
-0.0004097365017514676,
0.0010462068021297455,
0.00611902866512537,
-0.03477996960282326,
-0.0003153104626107961,
0.012532198801636696,
-0.015607311390340328,
-0.006716224364936352,
-0.0035230095963925123,
-0.02524266391992569,
0.014787280932068825,
-0.03900490701198578,
0.011721082031726837,
0.01795152761042118,
0.007968553341925144,
-0.011409114114940166,
-0.03221292048692703,
0.042962446808815,
0.07380270957946777,
-0.015250776894390583,
0.02953890897333622,
0.04171457141637802,
-0.016204508021473885,
0.042855486273765564,
0.012861993163824081,
-0.04182153195142746,
-0.002698522759601474,
0.014047471806406975,
-0.043461594730615616,
-0.0022116301115602255,
-0.04549384117126465,
0.013690936379134655,
0.02369173802435398,
0.003734702244400978,
0.022550826892256737,
0.002411066787317395,
-0.0017559339758008718,
0.018450677394866943,
0.026811417192220688,
-0.05469243973493576,
-0.0011325550731271505,
0.02798798307776451,
-0.05198277533054352,
0.004077867139130831,
-0.06535283476114273,
0.06635113060474396,
0.0020489611197263002,
-0.010927791707217693,
-0.016177767887711525,
0.01952028088271618,
0.03401342034339905,
-0.010312769562005997,
-0.048667002469301224,
0.07530014961957932,
-0.056546419858932495,
-0.06246490031480789,
-0.027934502810239792,
0.009884927421808243,
0.01731867901980877,
-0.023531297221779823,
0.015250776894390583,
0.012986780144274235,
0.02592008002102375,
0.03235553577542305,
-0.012148924171924591,
-0.0014261392643675208,
0.03718658164143562,
-0.04253460466861725,
0.03255162760615349,
-0.008882173337042332,
0.0014339385088533163,
0.017817826941609383,
0.09120160341262817,
0.028433650732040405,
0.006185878999531269,
-0.012665899470448494,
-0.03173159807920456,
-0.04699128866195679,
-0.015117076225578785,
-0.0005334095330908895,
-0.0053257388062775135,
-0.009840360842645168,
-0.04802523925900459,
-0.024939609691500664,
-0.028968453407287598,
0.013263095170259476,
0.07112869620323181,
-0.04617125913500786,
-0.02221211977303028,
0.0031954431906342506,
-0.04242764413356781,
-0.014867501333355904,
0.0086771659553051,
-0.021285127848386765,
-0.0009854844538494945,
0.06699289381504059,
-0.00793289951980114,
-0.004236079286783934,
0.010597997345030308,
-0.0037725840229541063,
-0.01572318561375141,
0.04560080170631409,
-0.004724086262285709,
0.0017191662918776274,
0.04100150242447853,
0.019912470132112503,
0.03173159807920456,
-0.06299970299005508,
0.0024288934655487537,
-0.034084729850292206,
0.04909484460949898,
0.03590305522084236,
-0.02590225450694561,
-0.016088632866740227,
0.013860290870070457,
-0.0431407131254673,
-0.03096504881978035,
-0.02092859335243702,
-0.05476374551653862,
0.020429445430636406,
-0.012229143641889095,
0.012870906852185726,
0.038541413843631744,
-0.006961342412978411,
-0.002796569839119911,
-0.061537910252809525,
0.0546211339533329,
0.020572058856487274,
0.028201904147863388,
-0.00021698485943488777,
-0.02222994528710842,
0.012692639604210854,
-0.03169594332575798,
0.039824940264225006,
0.05893520638346672,
0.004387606400996447,
-0.032819028943777084,
-0.04880961775779724,
-0.04057366028428078,
0.0140029052272439,
0.01934201270341873,
-0.031125489622354507,
-0.019983775913715363,
-0.015482524409890175,
0.009715573862195015,
0.010428642854094505,
-0.008498898707330227,
0.02362043224275112,
0.08342914283275604,
0.01650756224989891,
-0.03540390729904175,
-0.052268002182245255,
0.027577968314290047,
-0.018129795789718628,
-0.015696445479989052,
0.0025581372901797295,
0.06945297867059708,
0.028611918911337852,
-0.02797015570104122,
-0.08257346600294113,
-0.03401342034339905,
0.058043867349624634,
-0.001076846499927342,
-0.041286733001470566,
0.05611857771873474,
-0.04520861431956291,
0.049986179918050766,
0.04460250586271286,
-0.07964988052845001,
0.028433650732040405,
-0.0316602922976017,
-0.03451256826519966,
0.037828344851732254,
-0.0419284924864769,
-0.014600100927054882,
0.0403597392141819,
-0.00648447684943676,
-0.04513730853796005,
-0.020679019391536713,
0.024654382839798927,
-0.010553430765867233,
-0.07155653834342957,
0.000435640977229923,
0.025741813704371452,
-0.02581312134861946,
-0.007754632271826267,
0.0017035679193213582,
0.02301432192325592,
-0.011462594382464886,
-0.05405067652463913,
-0.002024449175223708,
0.034352127462625504,
0.0020110791083425283,
0.03406690061092377,
0.025367451831698418,
0.014724887907505035,
0.06385538727045059,
-0.005098447669297457,
-0.06029003858566284,
-0.04114411771297455,
-0.001624461729079485,
-0.02529614418745041,
0.04321201890707016,
-0.04620691016316414,
0.025510065257549286,
-0.020037256181240082,
-0.06535283476114273,
0.03312208503484726,
0.037863995879888535,
0.036348722875118256,
0.009920581243932247,
-0.005856084171682596,
0.0629640445113182,
0.037757035344839096,
0.011043665930628777,
-0.0000013796574194202549,
0.015384477563202381,
0.04460250586271286,
0.010170155204832554,
0.02233690582215786,
-0.022461693733930588,
0.0031375063117593527,
0.06816945970058441,
0.013067000545561314,
-0.007696695160120726,
0.0032712069805711508,
0.04895222932100296,
-0.03173159807920456,
-0.05597596615552902,
0.009546219371259212,
0.003906284458935261,
-0.07458708435297012,
0.04631387069821358,
-0.07137826830148697,
0.043497245758771896,
0.007264396641403437,
-0.042962446808815,
0.036366552114486694,
-0.03900490701198578,
0.0006868866039440036,
0.05041402205824852,
-0.05134101212024689,
0.0020723585039377213,
0.007148522883653641,
0.0165699552744627,
0.03108983486890793,
-0.016792789101600647,
-0.02092859335243702,
0.024244368076324463,
-0.0032600651029497385,
-0.025331798940896988,
0.002386554842814803,
0.05747341364622116,
0.037792690098285675,
0.04467381164431572,
-0.00934121198952198,
-0.01955593377351761,
0.019217226654291153,
-0.012648072093725204,
0.053016725927591324,
0.029075413942337036,
-0.026811417192220688,
0.04823916032910347,
0.018308062106370926,
0.030768955126404762,
0.020518578588962555,
-0.041999801993370056,
-0.05565508455038071,
0.053658489137887955,
0.022657787427306175,
0.04952268674969673,
0.01873590424656868,
-0.026080520823597908,
0.014555533416569233,
-0.06310666352510452,
0.020554231479763985,
-0.005700100213289261,
0.005980871617794037,
0.01934201270341873,
0.022176465019583702,
0.03089374117553234,
-0.0032689785584807396,
0.008837606757879257,
0.03463735803961754,
0.040074512362480164,
0.05116274580359459,
-0.02292518876492977,
0.05957696586847305,
0.01651647500693798,
0.01789804734289646,
-0.02955673635005951,
-0.014466400258243084,
0.0021759765222668648,
-0.006916775368154049,
-0.0417502261698246,
-0.032694242894649506,
-0.039218828082084656,
0.004612669348716736,
-0.04463815689086914,
0.08292999863624573,
-0.02675793692469597,
0.01662343554198742,
-0.014297045767307281,
0.009180771186947823,
-0.07594191282987595,
0.01443074643611908,
0.021891238167881966,
-0.0024199800100177526,
0.034102555364370346,
-0.007077216170728207,
0.0650676041841507,
-0.04392508789896965,
0.020037256181240082,
0.01946680061519146,
0.03946840390563011,
-0.006346319802105427,
-0.07041562348604202,
-0.0009242050582543015,
-0.03397776931524277,
-0.043532900512218475,
0.01581231877207756,
-0.005348022095859051,
-0.026062695309519768,
-0.025688333436846733,
0.00700145261362195,
0.032052479684352875,
0.044245969504117966,
-0.027774062007665634,
0.05458547919988632,
-0.05351587384939194,
0.04663475230336189,
0.008525638841092587,
-0.0403597392141819,
-0.04171457141637802,
0.01939549297094345,
0.057152532041072845,
-0.035564348101615906,
0.055191587656736374,
0.01648973487317562,
-0.02522483840584755,
0.024957437068223953,
0.04577907174825668,
0.046456485986709595,
0.005633249878883362,
-0.01934201270341873,
0.019235054031014442,
0.08257346600294113,
-0.08849193900823593,
-0.04763305187225342,
-0.05768733099102974,
0.045672111213207245,
-0.04239198938012123,
-0.04834612086415291,
0.03242684155702591,
-0.03654481843113899,
-0.038470108062028885,
-0.01593710668385029,
0.0662798210978508,
0.01789804734289646,
0.03381732851266861,
0.058614324778318405,
0.007781372405588627,
-0.0038238358683884144,
-0.007897245697677135,
0.024690035730600357,
0.013503756374120712,
0.003703505266457796,
0.01181021612137556,
-0.01656104251742363,
0.008730646222829819,
-0.0051430147141218185,
-0.02868322655558586,
-0.012024136260151863,
-0.01870025135576725,
-0.03950405865907669,
-0.02028683014214039,
0.06499629467725754,
0.01181021612137556,
-0.04674171283841133,
-0.0013559464132413268,
-0.004142488818615675,
0.03602784126996994,
-0.057259492576122284,
0.0017837882041931152,
0.0037436154671013355,
0.021231647580862045,
0.019181573763489723,
-0.022853881120681763,
-0.052268002182245255,
-0.0502714104950428,
0.01729193888604641,
-0.03900490701198578,
-0.0006991424597799778,
0.05326630175113678,
-0.06321362406015396,
-0.09234251827001572,
-0.024850476533174515,
-0.029735002666711807,
0.05387241020798683,
0.09426780790090561,
-0.02809494361281395,
0.02805928885936737,
-0.04324767366051674,
0.04809654504060745,
0.013102654367685318,
0.057259492576122284,
-0.01939549297094345,
0.0010896595194935799,
-0.07091477513313293,
-0.0005999812274239957,
-0.03675873950123787,
0.01648973487317562,
0.0033491989597678185,
-0.04545819014310837,
0.03943274915218353,
0.007531797979027033,
0.00029135579825378954,
-0.036972660571336746,
-0.03228422626852989,
0.01476945448666811,
-0.049451377242803574,
-0.0332290455698967,
0.031107662245631218,
-0.037008315324783325,
0.03586740046739578,
-0.0173543319106102,
-0.014421832747757435,
0.02586660161614418,
0.0010205808794125915,
0.023566951975226402,
0.10824397206306458,
-0.02288953587412834,
-0.06389103829860687,
0.045672111213207245,
0.011489334516227245,
0.0005002628895454109,
0.05262453854084015,
0.023638257756829262,
-0.006404256448149681,
0.0003643340023700148,
-0.015963846817612648,
0.028594091534614563,
-0.028932800516486168,
0.005196494981646538,
-0.019609414041042328,
-0.011516074649989605,
0.05333760753273964,
-0.03686570003628731,
0.01657886803150177,
0.017407812178134918,
-0.01934201270341873,
0.027898849919438362,
-0.010428642854094505,
-0.016418427228927612,
0.03946840390563011,
0.015651877969503403,
0.022105159237980843,
0.025010917335748672,
0.05280280485749245,
0.04100150242447853,
-0.0059452177956700325,
0.010918878950178623,
0.006898948457092047,
-0.012897646985948086,
0.03021632507443428,
-0.010259289294481277,
0.006751878187060356,
0.017006710171699524,
0.012006309814751148,
-0.00786604918539524,
0.02593790739774704,
-0.015304257161915302,
0.04820350557565689
] |
713,332
|
xmlschema.resources
|
get_xmlns
|
Returns the list of namespaces declarations (xmlns and xmlns:<prefix> attributes)
of the element. Returns `None` if the element doesn't have namespace declarations.
Lazy resources have only the namespace declarations for the root element.
|
def get_xmlns(self, elem: ElementType) -> Optional[List[Tuple[str, str]]]:
"""
Returns the list of namespaces declarations (xmlns and xmlns:<prefix> attributes)
of the element. Returns `None` if the element doesn't have namespace declarations.
Lazy resources have only the namespace declarations for the root element.
"""
return self._xmlns.get(elem)
|
(self, elem: Optional[~T]) -> Optional[List[Tuple[str, str]]]
|
[
-0.04644898697733879,
0.005255780182778835,
0.008800908923149109,
-0.02408669888973236,
0.05789612978696823,
0.03377274423837662,
0.019096918404102325,
-0.017601817846298218,
0.10368470847606659,
0.02236228995025158,
-0.013501759618520737,
-0.0690130665898323,
0.03437812253832817,
-0.026544898748397827,
-0.008640392683446407,
0.027847379446029663,
-0.018225541338324547,
0.027186967432498932,
-0.039991624653339386,
0.044431060552597046,
0.019151952117681503,
-0.017867816612124443,
0.03300226107239723,
-0.010062112472951412,
-0.039734795689582825,
-0.0029030616860836744,
0.055034346878528595,
-0.042706653475761414,
0.012281831353902817,
-0.008213875815272331,
-0.022784218192100525,
-0.020417742431163788,
0.002054615644738078,
0.007392947096377611,
0.007796532474458218,
0.05000787600874901,
0.0206745695322752,
-0.0002787546836771071,
-0.03140626475214958,
-0.05430055409669876,
0.03012213110923767,
-0.00025897673913277686,
0.00697560328990221,
-0.05727240815758705,
0.003946421202272177,
0.011942452751100063,
0.07165471464395523,
0.054153796285390854,
-0.025811107829213142,
0.018253058195114136,
0.05855654552578926,
0.07976311445236206,
-0.01588658057153225,
-0.0026760450564324856,
-0.024765456095337868,
0.04810001701116562,
0.009621838107705116,
0.04648567736148834,
-0.013171553611755371,
0.04193617030978203,
0.0365244597196579,
-0.02324283868074417,
0.016602028161287308,
0.023059390485286713,
-0.0010032302234321833,
0.007039810065180063,
0.04171603545546532,
-0.022912632673978806,
-0.05063159763813019,
-0.01042900886386633,
-0.02639814093708992,
-0.002763182856142521,
-0.02986530400812626,
0.03096599131822586,
0.032140057533979416,
-0.05918026715517044,
0.06196867302060127,
-0.04417423531413078,
0.0014893669867888093,
-0.037515077739953995,
-0.049787737429142,
0.030195510014891624,
-0.004276627209037542,
0.05279628187417984,
0.0871010273694992,
-0.03628597781062126,
-0.009195322170853615,
0.02511400729417801,
-0.03188323229551315,
0.004340833984315395,
-0.04619216173887253,
0.050338082015514374,
0.009016460739076138,
0.027095243334770203,
-0.01839064434170723,
-0.018775884062051773,
-0.05980398878455162,
-0.05529117211699486,
-0.007071913219988346,
-0.012584520503878593,
-0.012428590096533298,
-0.014960169792175293,
-0.01610671915113926,
0.021188223734498024,
0.010007078759372234,
0.01155721303075552,
-0.0073516713455319405,
-0.002069520764052868,
0.023462975397706032,
0.0021325808484107256,
0.04178941249847412,
-0.04798994958400726,
0.03722156211733818,
0.07187485694885254,
0.049934495240449905,
-0.04138582944869995,
-0.007631429471075535,
-0.011300385929644108,
0.0519157312810421,
0.014960169792175293,
0.01177734974771738,
0.025590971112251282,
-0.012538658455014229,
-0.024251801893115044,
0.0206745695322752,
-0.00969521701335907,
0.0014125482412055135,
0.007241602521389723,
0.023132769390940666,
0.02834268845617771,
0.025701038539409637,
0.012235969305038452,
-0.057125650346279144,
-0.035607222467660904,
0.02430683560669422,
-0.03590073809027672,
0.08291841298341751,
0.0028526135720312595,
-0.035332050174474716,
0.008690840564668179,
-0.022215530276298523,
0.04138582944869995,
-0.0025040628388524055,
0.01155721303075552,
-0.05110856145620346,
-0.0037515079602599144,
0.016271822154521942,
0.006494052708148956,
-0.009346666745841503,
-0.0317731611430645,
-0.01493265200406313,
-0.07389277964830399,
-0.018840091302990913,
0.012180935591459274,
-0.043146926909685135,
0.01761099137365818,
-0.04351382330060005,
0.030067097395658493,
0.0002874971251003444,
-0.05995074659585953,
-0.08181772381067276,
0.01810630038380623,
-0.009805286303162575,
-0.05844647437334061,
0.058593232184648514,
0.021536773070693016,
0.00428350642323494,
0.02639814093708992,
0.0064573632553219795,
0.010557422414422035,
-0.014143826439976692,
0.008833012543618679,
0.029755236580967903,
-0.01683133654296398,
0.033112332224845886,
0.032892193645238876,
0.004948504734784365,
0.04149589687585831,
-0.01635437272489071,
0.04417423531413078,
0.04156927391886711,
-0.0265265554189682,
-0.0038065421395003796,
0.009144873358309269,
-0.009154045954346657,
0.03193826600909233,
0.041239067912101746,
0.004054196644574404,
-0.009823630563914776,
0.015382099896669388,
0.026599934324622154,
0.04054196923971176,
0.007943290285766125,
0.050117943435907364,
-0.034891776740550995,
-0.04006500542163849,
-0.011016041971743107,
0.0028915961738675833,
0.00932373572140932,
-0.05301642045378685,
0.06196867302060127,
-0.0064619495533406734,
-0.002319468418136239,
0.05973060801625252,
0.04457781836390495,
0.001092087826691568,
0.001046799123287201,
-0.0020259518641978502,
-0.11806701868772507,
0.044027477502822876,
-0.04024844989180565,
-0.024380214512348175,
-0.024747110903263092,
-0.06629804521799088,
0.03991824388504028,
-0.010759214870631695,
-0.052245937287807465,
0.023132769390940666,
-0.0016292459331452847,
-0.03344253823161125,
-0.005897847469896078,
-0.02208711765706539,
0.03415798395872116,
0.040578655898571014,
-0.0007550024311058223,
-0.014611618593335152,
0.0434771329164505,
0.014171344228088856,
0.0019365210318937898,
-0.002884716959670186,
0.007186568342149258,
-0.006370225455611944,
0.02217884175479412,
-0.03958803787827492,
0.05283297225832939,
-0.002303416607901454,
0.037826940417289734,
0.04384402930736542,
0.09590651839971542,
-0.03637770190834999,
0.01027307752519846,
-0.018500711768865585,
-0.019445469602942467,
0.04575188457965851,
-0.009222839027643204,
0.08827508985996246,
0.003964765928685665,
-0.02005084604024887,
-0.0005423176335170865,
-0.009814457967877388,
-0.046742502599954605,
0.029351651668548584,
0.02395828440785408,
-0.031919918954372406,
0.04171603545546532,
-0.057162340730428696,
-0.05613503232598305,
0.01820719614624977,
-0.010603283531963825,
-0.03164475038647652,
0.014666653238236904,
-0.038450662046670914,
0.09091673791408539,
0.03588239476084709,
-0.024728765711188316,
0.04417423531413078,
0.02386656031012535,
-0.002524700714275241,
-0.05514441430568695,
0.029425030574202538,
0.050778355449438095,
-0.0020156328100711107,
-0.012914726510643959,
-0.019353745505213737,
0.025627659633755684,
-0.008626633323729038,
0.023279529064893723,
0.05532786250114441,
-0.00947508029639721,
0.02990199439227581,
-0.029736891388893127,
-0.06130826100707054,
-0.012749623507261276,
0.07059071958065033,
-0.050778355449438095,
-0.0412757582962513,
-0.016583682969212532,
0.029626822099089622,
-0.014428171329200268,
0.021720221266150475,
0.03243357315659523,
0.0424131341278553,
-0.0657477006316185,
-0.04388071969151497,
0.0026714587584137917,
0.004265161696821451,
0.01186907384544611,
-0.006856362335383892,
0.05044814944267273,
0.05848316475749016,
0.0015581599436700344,
0.02467373199760914,
0.02674669213593006,
-0.027939103543758392,
0.03729494288563728,
0.026783380657434464,
0.019463812932372093,
-0.018748367205262184,
0.024783799424767494,
0.007296637166291475,
0.01071335282176733,
-0.01820719614624977,
-0.009296217933297157,
-0.017785266041755676,
0.014648308046162128,
0.030800888314843178,
-0.030580751597881317,
-0.010832593776285648,
-0.004157386254519224,
0.04432099312543869,
-0.05026470124721527,
0.015272030606865883,
0.019757330417633057,
0.012988105416297913,
-0.010529904626309872,
-0.040175072848796844,
0.03940458968281746,
-0.01992243342101574,
0.055034346878528595,
0.0016579097136855125,
-0.060941364616155624,
-0.06398659944534302,
-0.06589445471763611,
-0.0033410433679819107,
-0.010227215476334095,
0.02595786564052105,
0.006544501055032015,
-0.041679345071315765,
0.00684260344132781,
-0.03003040701150894,
0.029516754671931267,
-0.026361452415585518,
-0.04094555228948593,
0.06006081402301788,
-0.028049170970916748,
0.018253058195114136,
-0.002341252751648426,
-0.0017129440093412995,
0.046962641179561615,
0.01751926727592945,
-0.0041803172789514065,
0.04751298576593399,
0.04615547135472298,
0.07481002062559128,
0.06699514389038086,
0.07022382318973541,
-0.009438389912247658,
0.08423923701047897,
0.02027098461985588,
0.0826248973608017,
0.027040207758545876,
-0.025517592206597328,
0.005824468098580837,
-0.0444677509367466,
0.009502597153186798,
-0.0012153418501839042,
0.03962472826242447,
0.0026508208829909563,
-0.004118403419852257,
0.00791118759661913,
-0.017409197986125946,
0.00792953185737133,
-0.08372558653354645,
-0.055694758892059326,
-0.03358929604291916,
0.01761099137365818,
0.030599096789956093,
0.025811107829213142,
0.03900100663304329,
-0.042706653475761414,
0.019353745505213737,
0.0040312656201422215,
0.03377274423837662,
0.025480901822447777,
-0.07158134132623672,
-0.027608897536993027,
0.01970229484140873,
-0.07976311445236206,
-0.055437929928302765,
0.05066828802227974,
0.10199698805809021,
-0.043146926909685135,
-0.030195510014891624,
-0.035607222467660904,
-0.04615547135472298,
-0.023591389879584312,
-0.036047495901584625,
-0.027755655348300934,
0.030599096789956093,
-0.0013987895799800754,
-0.002162391087040305,
-0.038890939205884933,
0.007558050099760294,
-0.012676244601607323,
-0.04575188457965851,
0.011676453985273838,
-0.020105881616473198,
-0.04663243517279625,
-0.021756911650300026,
0.024783799424767494,
-0.013355000875890255,
-0.01016300916671753,
0.03944128006696701,
-0.06387653201818466,
0.08460613340139389,
0.028049170970916748,
0.036010805517435074,
0.009649354964494705,
0.02471042051911354,
-0.014308929443359375,
-0.06930658221244812,
-0.04076210409402847,
0.0540437288582325,
0.061601776629686356,
0.018087955191731453,
-0.06017088517546654,
-0.015272030606865883,
-0.002222011797130108,
-0.05176897346973419,
0.03483673930168152,
0.013969551771879196,
0.015125272795557976,
-0.00023575911473017186,
-0.11271034181118011,
0.04116569086909294,
-0.0034465258941054344,
0.011006869375705719,
0.006952672265470028,
-0.0038638697005808353,
-0.0668850764632225,
0.00795704871416092,
0.059914056211709976,
-0.024857180193066597,
0.022160496562719345,
-0.013208243064582348,
0.008236806839704514,
-0.08152420818805695,
0.05044814944267273,
-0.04776981100440025,
-0.0019158831564709544,
-0.08761467784643173,
-0.01330913882702589,
0.0762409120798111,
-0.010218043811619282,
-0.014006241224706173,
-0.01626264862716198,
-0.018087955191731453,
-0.014290585182607174,
-0.05848316475749016,
-0.05466745048761368,
-0.001506565255112946,
0.018968503922224045,
0.05213586986064911,
-0.07136119902133942,
0.01251114159822464,
-0.001151708303950727,
0.006475707981735468,
0.0012268072459846735,
-0.029846960678696632,
-0.020711258053779602,
0.03674459829926491,
-0.047219470143318176,
0.0015340823447331786,
-0.05338331684470177,
0.011162799783051014,
-0.025811107829213142,
-0.00805335957556963,
0.049310773611068726,
0.03292888402938843,
0.009942871518433094,
-0.04094555228948593,
-0.008544081822037697,
0.03109440580010414,
-0.006971016991883516,
-0.02799413725733757,
-0.043146926909685135,
-0.004473833832889795,
-0.025939522311091423,
0.0013288501650094986,
-0.020197605714201927,
-0.027315380051732063,
0.009915354661643505,
0.003779025049880147,
0.007686463650316,
0.06130826100707054,
0.008135911077260971,
0.056318480521440506,
0.001177505706436932,
-0.02643483132123947,
0.008443186059594154,
0.022032083943486214,
-0.06717859208583832,
-0.012740450911223888,
0.05635517090559006,
-0.013180726207792759,
-0.027443794533610344,
-0.07829552888870239,
-0.035735633224248886,
0.04512816295027733,
-0.018253058195114136,
-0.014079620130360126,
0.04769643396139145,
0.022564081475138664,
0.03030557930469513,
0.043770648539066315,
-0.0028640790842473507,
-0.003969352226704359,
-0.0019560123328119516,
0.04604540392756462,
0.02671000175178051,
0.0074754985980689526,
0.00894308090209961,
0.012364382855594158,
0.06061115860939026,
-0.018821746110916138,
0.02032601833343506,
-0.027498828247189522,
-0.01741836965084076,
-0.0572357177734375,
0.014895962551236153,
0.04450444132089615,
-0.0008943080902099609,
-0.009282459504902363,
-0.022912632673978806,
-0.029920339584350586,
0.04597202315926552,
-0.05088842660188675,
-0.07792863249778748,
-0.015849892050027847,
-0.01739085279405117,
0.014501550234854221,
-0.021720221266150475,
0.013226587325334549,
0.015959959477186203,
-0.01233686599880457,
0.07910270243883133,
-0.059070196002721786,
0.018060438334941864,
0.01177734974771738,
0.033699363470077515,
0.027352070435881615,
-0.03428639844059944,
0.02727869153022766,
-0.01598747819662094,
0.019665606319904327,
-0.02368311397731304,
-0.004088593181222677,
-0.05235600844025612,
-0.005154883489012718,
0.005618089344352484,
0.021133188158273697,
-0.04494471475481987,
0.0038248870987445116,
0.06292260438203812,
0.002637062454596162,
-0.036671217530965805,
0.032892193645238876,
-0.03757011145353317,
0.014758377335965633,
0.051842354238033295,
-0.042082928121089935,
-0.015840718522667885,
0.005608917213976383,
-0.031516335904598236,
0.01119948923587799,
0.04810001701116562,
0.013492587022483349,
-0.07436974346637726,
0.02098643034696579,
-0.010016251355409622,
0.010786731727421284,
-0.006283087655901909,
0.04956759884953499,
-0.0068105002865195274,
0.024343525990843773,
0.014363964088261127,
0.005471331067383289,
-0.005104435607790947,
-0.030544061213731766,
-0.016602028161287308,
-0.06405998021364212,
-0.008791736327111721,
0.04112900048494339,
-0.024600353091955185,
0.031021026894450188,
-0.026031244546175003,
0.0032791297417134047,
-0.01085093803703785,
-0.017464231699705124,
-0.02577441930770874,
0.05444731190800667,
0.043807338923215866,
0.011749832890927792,
0.026508210226893425,
0.0005810136208310723,
-0.0063977427780628204,
0.02098643034696579,
0.015299548394978046,
0.03437812253832817,
0.022472357377409935,
-0.07458988577127457,
-0.030507372692227364,
0.04281672090291977,
-0.07040727138519287,
-0.006746293511241674,
-0.03599246218800545,
-0.014960169792175293,
0.03599246218800545,
-0.046999331563711166,
0.0034511121921241283,
-0.011548040434718132,
0.029846960678696632,
0.0334792286157608,
0.05008125305175781,
0.03562556579709053,
-0.021151533350348473,
-0.0048292637802660465,
-0.02746213786303997,
0.039147764444351196,
-0.020509466528892517,
0.06761886924505234,
0.005186987109482288,
0.01462079118937254,
-0.10617959499359131,
-0.00932373572140932,
0.03524032607674599,
-0.012914726510643959,
0.011621419340372086,
-0.03738666698336601,
-0.02674669213593006,
0.006815086584538221,
0.014538239687681198,
0.025132350623607635,
-0.00014876470959279686,
0.033112332224845886,
0.008236806839704514,
-0.005164056085050106,
-0.01929870992898941,
0.02639814093708992,
-0.043990787118673325,
-0.03535039350390434,
-0.020197605714201927,
0.03204833343625069,
-0.010557422414422035,
0.0030383544508367777,
0.03646942600607872,
-0.035295359790325165,
-0.006182191427797079,
-0.05022801458835602,
-0.009667700156569481,
-0.0014194274554029107,
-0.07147126644849777,
-0.042486514896154404,
0.045495059341192245,
-0.010869283229112625,
-0.05679544433951378,
-0.034231364727020264,
-0.02063787914812565,
-0.04024844989180565,
-0.03646942600607872,
-0.049310773611068726,
0.12254314124584198,
0.026820071041584015,
-0.01814298890531063,
-0.026196349412202835,
-0.0030933888629078865,
-0.018720850348472595,
-0.022343944758176804,
-0.007356257643550634,
0.01992243342101574,
0.02449028380215168,
-0.01526285894215107,
-0.026012901216745377,
-0.008264324627816677,
-0.0005755675374530256,
0.024637041613459587,
-0.0005494835204444826,
-0.02643483132123947,
0.0206745695322752,
-0.053309936076402664,
-0.025169041007757187,
-0.013758586719632149,
0.05521779507398605,
0.06365638971328735,
0.008388151414692402,
0.006549087353050709,
-0.02799413725733757,
0.09091673791408539,
0.022252220660448074,
-0.025664350017905235,
0.025352489203214645,
-0.019353745505213737,
-0.037111494690179825,
-0.02405000850558281,
0.017785266041755676,
0.040798794478178024,
-0.037551768124103546,
0.006480294279754162,
-0.05426386371254921,
0.11747997999191284,
-0.001554720220156014,
0.015272030606865883,
-0.03641439229249954,
-0.07748835533857346,
-0.0004531734448391944,
-0.07081085443496704,
0.05125531926751137,
-0.011410454288125038,
-0.014639136381447315,
0.02777400054037571,
-0.06237225979566574,
0.026599934324622154,
-0.010630801320075989,
-0.013226587325334549,
-0.013538449071347713,
0.0423397570848465,
-0.00803960021585226,
0.04688926413655281,
-0.11131613701581955,
0.04428430274128914,
-0.01920698583126068,
0.01591409742832184,
0.021885324269533157,
0.050961803644895554,
0.01557471975684166,
0.010107974521815777,
0.03819383680820465,
0.023132769390940666,
-0.06281252950429916,
-0.04813670739531517,
0.06006081402301788,
-0.03859741985797882,
-0.014373136684298515,
0.04024844989180565,
0.012346038594841957,
-0.05551131069660187,
-0.03265371173620224,
-0.016070028766989708,
-0.015226168558001518,
0.001158587634563446,
0.01598747819662094,
0.016712095588445663,
-0.0027952862437814474,
-0.005379607435315847,
0.018693333491683006,
-0.04817339777946472,
0.0063931564800441265,
-0.042486514896154404,
-0.0028296825475990772,
-0.023719802498817444,
-0.06952672451734543,
-0.004806332755833864,
-0.031571369618177414,
0.042559895664453506,
0.017189061269164085,
0.02768227644264698,
-0.0281225498765707,
0.009071494452655315
] |
713,333
|
xmlschema.resources
|
get_xpath_node
|
Returns an XPath node for the element, fetching it from the XPath root node.
Returns a new lazy element node if the matching element node is not found.
|
def get_xpath_node(self, elem: ElementType) -> ElementNode:
"""
Returns an XPath node for the element, fetching it from the XPath root node.
Returns a new lazy element node if the matching element node is not found.
"""
xpath_node = self.xpath_root.get_element_node(elem)
if xpath_node is not None:
return xpath_node
try:
return LazyElementNode(elem, nsmap=self._nsmaps[elem])
except KeyError:
return LazyElementNode(elem)
|
(self, elem: Optional[~T]) -> elementpath.xpath_nodes.ElementNode
|
[
-0.010470782406628132,
-0.04367148131132126,
0.02138865366578102,
0.005373988300561905,
0.02319488488137722,
0.04907229542732239,
0.011302364990115166,
0.022533196955919266,
0.04055975377559662,
0.0009388831676915288,
0.0555461160838604,
-0.008637725375592709,
0.04399338364601135,
0.01291187945753336,
-0.04284884035587311,
-0.024339428171515465,
0.012849287129938602,
0.05651182681322098,
-0.05154021456837654,
0.011168238706886768,
-0.007260696496814489,
0.007309876382350922,
0.04259847104549408,
-0.00009800989937502891,
-0.014905888587236404,
-0.018312692642211914,
0.03320964053273201,
0.01604148931801319,
-0.027790941298007965,
-0.016470693051815033,
-0.021138284355401993,
-0.026771582663059235,
-0.023910224437713623,
0.01086421962827444,
0.02441096305847168,
0.05583225190639496,
-0.012321723625063896,
0.06237760931253433,
-0.02712925337255001,
-0.04757007956504822,
-0.011972995474934578,
0.0020163634326308966,
0.021871507167816162,
-0.06155496835708618,
-0.06151920184493065,
-0.020655428990721703,
0.06692001968622208,
0.04710511118173599,
-0.07446684688329697,
-0.0007326641934923828,
0.02373139001429081,
0.019332051277160645,
0.01310859713703394,
0.06334331631660461,
-0.03676845505833626,
0.026199311017990112,
-0.054830778390169144,
0.029793892055749893,
0.01657799445092678,
0.0743953138589859,
0.010372423566877842,
-0.007193633355200291,
-0.015147315338253975,
0.06237760931253433,
-0.013573568314313889,
0.0006404524319805205,
0.023695623502135277,
-0.031242456287145615,
-0.0726427361369133,
0.008718200959265232,
-0.014727053232491016,
0.015773236751556396,
-0.018151741474866867,
-0.003907542210072279,
0.05325702950358391,
-0.04191889986395836,
0.025787990540266037,
-0.01793713867664337,
0.0776858776807785,
0.042276568710803986,
-0.011472257785499096,
0.04964456707239151,
-0.021066749468445778,
0.029150087386369705,
0.032315466552972794,
-0.025984710082411766,
0.04395761713385582,
0.007081861607730389,
0.0022220234386622906,
-0.03397862985730171,
-0.038485269993543625,
0.022390129044651985,
-0.00010946651309495792,
0.020995216444134712,
0.014271024614572525,
-0.022211292758584023,
0.02684311755001545,
0.005923905875533819,
0.021263469010591507,
0.01332319900393486,
-0.01541556790471077,
0.04370724782347679,
-0.048607323318719864,
0.010953636839985847,
0.05386506766080856,
0.017767246812582016,
0.031385522335767746,
0.013993830420076847,
0.024571914225816727,
-0.020691197365522385,
-0.01954665407538414,
-0.042670004069805145,
-0.039987482130527496,
0.07010328024625778,
0.03015156276524067,
-0.013332141563296318,
-0.01979702152311802,
0.022837216034531593,
0.0485357902944088,
-0.017686771228909492,
0.01915321685373783,
-0.015639111399650574,
-0.08555461466312408,
0.013779228553175926,
0.010515491478145123,
-0.013698752969503403,
0.04177583009004593,
-0.00821746326982975,
0.006446997635066509,
0.010470782406628132,
0.02670004963874817,
0.029489872977137566,
-0.03369249403476715,
-0.015531810000538826,
0.005521527025848627,
0.02712925337255001,
0.03167165815830231,
-0.002161666750907898,
-0.039808645844459534,
0.030473465099930763,
-0.02698618546128273,
-0.03272678330540657,
-0.0005661242175847292,
-0.016864130273461342,
-0.016068315133452415,
0.00578530877828598,
-0.0322081632912159,
0.04871462285518646,
0.022783564403653145,
-0.022980283945798874,
-0.01673000492155552,
-0.05136138200759888,
-0.0006572182173840702,
0.031296104192733765,
0.007148924749344587,
-0.02076273038983345,
-0.022944515570998192,
0.007479769177734852,
0.0007902266806922853,
-0.06824339181184769,
0.003782358020544052,
-0.0026668752543628216,
0.021960925310850143,
-0.04073858633637428,
0.005508114583790302,
0.023999642580747604,
0.0019973621238023043,
0.006751017179340124,
0.00817275419831276,
0.04206196591258049,
0.012241248041391373,
-0.01920686662197113,
-0.04706934466958046,
-0.01096257846802473,
-0.020065274089574814,
0.033674608916044235,
0.00913846306502819,
0.029257388785481453,
-0.018160684034228325,
0.050789110362529755,
-0.008065453730523586,
0.024822283536195755,
-0.007148924749344587,
-0.01847364380955696,
0.015209907665848732,
0.0554388165473938,
0.05830017477273941,
-0.004169088322669268,
-0.01906379871070385,
0.05840747430920601,
-0.01691778004169464,
0.016059372574090958,
0.057262931019067764,
0.031153038144111633,
-0.010524433106184006,
-0.019439352676272392,
-0.004097554367035627,
0.002403093734756112,
-0.019314168021082878,
0.10665713250637054,
0.004833012819290161,
0.03895023837685585,
0.03526623919606209,
0.0658470094203949,
0.0003984664799645543,
0.0049671391025185585,
0.04377878084778786,
0.02246166206896305,
-0.08455313742160797,
0.010291947983205318,
-0.12089238315820694,
-0.02144230343401432,
-0.056869495660066605,
0.02392810769379139,
-0.018563061952590942,
0.04968033358454704,
-0.11051996052265167,
0.03866410255432129,
-0.02571645751595497,
-0.0216390211135149,
0.013019179925322533,
0.02276568114757538,
0.014816470444202423,
-0.05014530196785927,
0.07496758550405502,
-0.053078196942806244,
-0.010256180539727211,
-0.014521392993628979,
-0.011463316157460213,
-0.004761478863656521,
0.030616533011198044,
-0.0022086109966039658,
0.0830509215593338,
-0.015871597453951836,
0.043599944561719894,
-0.036875754594802856,
0.02644968032836914,
0.03866410255432129,
0.06280681490898132,
0.02076273038983345,
-0.020244110375642776,
-0.028971252962946892,
-0.013206956908106804,
-0.012312781997025013,
-0.015361917205154896,
0.07257119566202164,
0.0002263379137730226,
0.03487280383706093,
-0.02737962268292904,
-0.044422585517168045,
-0.033084455877542496,
0.0107926856726408,
0.029543524608016014,
-0.03555237501859665,
0.05826440826058388,
-0.03855680301785469,
-0.000524209754075855,
-0.009639200754463673,
0.0005624915938824415,
-0.021424420177936554,
-0.005597532261162996,
0.022783564403653145,
0.08255018293857574,
0.02466133050620556,
-0.07718513906002045,
-0.059981223195791245,
-0.006433585193008184,
0.06591854244470596,
-0.02008315734565258,
0.030080027878284454,
0.05125407874584198,
0.03816336393356323,
0.040631286799907684,
0.019957974553108215,
0.047963518649339676,
-0.028577815741300583,
-0.01470916997641325,
0.07668440043926239,
-0.003049134975299239,
-0.0029552464839071035,
-0.08154871314764023,
-0.03841373324394226,
0.020780613645911217,
0.07961729168891907,
-0.0952116921544075,
-0.04882192611694336,
0.016998255625367165,
0.057692136615514755,
-0.003321858122944832,
-0.0260204765945673,
-0.019975857809185982,
0.03762686252593994,
-0.057799436151981354,
0.012500558979809284,
-0.05314972996711731,
-0.007841910235583782,
-0.04095318913459778,
-0.013206956908106804,
-0.0053784591145813465,
0.07346536964178085,
0.00792685616761446,
-0.0005230920505709946,
-0.035659678280353546,
-0.059730853885412216,
0.030652299523353577,
0.06438056379556656,
-0.0025349846109747887,
0.005874725989997387,
0.03869986906647682,
-0.013868645764887333,
-0.042920373380184174,
-0.014485626481473446,
-0.027093486860394478,
0.03569544479250908,
-0.009862744249403477,
-0.00804757047444582,
-0.00022647762671113014,
-0.05325702950358391,
0.055259980261325836,
0.028703000396490097,
-0.046067867428064346,
0.05397237092256546,
-0.02571645751595497,
0.007180220913141966,
-0.07940269261598587,
-0.04599633440375328,
0.0020890149753540754,
0.027361737564206123,
-0.00065665936563164,
-0.012053471989929676,
0.004904546774923801,
-0.029042785987257957,
-0.026235079392790794,
0.008771851658821106,
-0.029257388785481453,
-0.013037063181400299,
0.06259220838546753,
-0.017230741679668427,
0.00006542143819388002,
0.022586846724152565,
0.03705459088087082,
-0.015916304662823677,
-0.056726425886154175,
0.030598649755120277,
0.01575535349547863,
-0.0015882774023339152,
0.04878615960478783,
-0.0381275974214077,
0.03830643370747566,
-0.03755532577633858,
0.02110251784324646,
-0.04399338364601135,
0.01852729544043541,
0.01895649917423725,
0.03322752192616463,
0.017096616327762604,
0.0008254348067566752,
0.08290785551071167,
-0.03809183090925217,
0.0797603577375412,
0.006965619046241045,
-0.029060669243335724,
-0.01920686662197113,
-0.008271113969385624,
-0.029096437618136406,
0.005986497737467289,
0.01301023829728365,
0.06824339181184769,
-0.02888183481991291,
-0.04778468236327171,
0.01149908360093832,
0.005754012614488602,
-0.06513166427612305,
-0.022980283945798874,
-0.00610274076461792,
0.031385522335767746,
-0.012035587802529335,
-0.0039947242476046085,
0.046032100915908813,
-0.02718290314078331,
0.04367148131132126,
0.04127509146928787,
0.0032860911451280117,
0.012607859447598457,
-0.04299190640449524,
-0.028470514342188835,
0.03787722811102867,
0.008490186184644699,
0.006388876587152481,
-0.0004803393385373056,
0.002338266232982278,
-0.008548308163881302,
-0.004504404030740261,
-0.011865695007145405,
-0.04581749811768532,
-0.048893459141254425,
0.03662538528442383,
-0.014449859037995338,
-0.04109625890851021,
-0.002736173802986741,
0.03962981328368187,
0.04216926544904709,
-0.005847901105880737,
0.04696204140782356,
0.016175616532564163,
0.034944336861371994,
-0.04424375295639038,
-0.022640496492385864,
0.016166673973202705,
0.008132516406476498,
-0.07375150918960571,
0.011820985935628414,
0.0233379527926445,
-0.04613940045237541,
0.06151920184493065,
-0.013573568314313889,
0.05400813743472099,
0.04202619940042496,
-0.02387445792555809,
-0.03869986906647682,
-0.08204944431781769,
-0.04381454735994339,
-0.00230920547619462,
0.045102160423994064,
0.020011624321341515,
0.002082308754324913,
0.019510885700583458,
-0.03312022238969803,
-0.05833594128489494,
0.08548307418823242,
-0.024500379338860512,
-0.015326149761676788,
-0.03222604840993881,
-0.05332856625318527,
0.06852953135967255,
-0.05272052437067032,
-0.004555818624794483,
-0.014253140427172184,
-0.01929628476500511,
-0.024393079802393913,
0.009540840983390808,
0.0605892613530159,
0.02534090355038643,
0.02577010728418827,
-0.01833057589828968,
-0.026968302205204964,
-0.030652299523353577,
0.04649707302451134,
-0.04681897535920143,
-0.02251531183719635,
0.02636026218533516,
-0.017078731209039688,
0.09785845130681992,
0.006062502972781658,
-0.01657799445092678,
-0.05461617559194565,
-0.07511065155267715,
0.006737604737281799,
0.04127509146928787,
-0.013171189464628696,
-0.0430634431540966,
0.05833594128489494,
0.050359904766082764,
-0.10479724407196045,
-0.01814279891550541,
0.0396655797958374,
0.003681763308122754,
0.0036147001665085554,
0.009710734710097313,
-0.02791612595319748,
0.03734072670340538,
-0.05329279601573944,
-0.02825591340661049,
-0.0966423749923706,
0.016765771433711052,
-0.035480841994285583,
-0.034407831728458405,
0.06252067536115646,
0.04810658469796181,
-0.048607323318719864,
-0.030455581843852997,
-0.006831492763012648,
0.06820762902498245,
-0.01152590848505497,
-0.026628514751791954,
-0.043743014335632324,
-0.0020610720384866,
-0.007680958602577448,
-0.005302454344928265,
0.02752269059419632,
-0.017570527270436287,
0.031582240015268326,
-0.0090937539935112,
0.03948674350976944,
0.03723342344164848,
-0.011990879662334919,
0.028220145031809807,
0.010220414027571678,
0.012285957112908363,
-0.027880359441041946,
-0.0006415701936930418,
-0.03530200570821762,
0.02076273038983345,
0.05636875703930855,
0.029507756233215332,
-0.022640496492385864,
-0.031009970232844353,
0.05475924536585808,
0.013099655508995056,
-0.01142754964530468,
0.015692761167883873,
0.03097420372068882,
-0.026539098471403122,
-0.007269638124853373,
0.060946930199861526,
0.020297760143876076,
0.0003442571614868939,
0.01319801528006792,
0.040523987263441086,
0.035033755004405975,
0.04728394374251366,
0.055116914212703705,
0.028470514342188835,
-0.014843296259641647,
-0.0019951267167925835,
0.05100370943546295,
0.0007181338733062148,
0.016613760963082314,
-0.014896946027874947,
0.009397773072123528,
0.026950418949127197,
-0.03945097699761391,
-0.009809093549847603,
0.012285957112908363,
-0.004240622278302908,
0.027075601741671562,
-0.018509410321712494,
-0.027397505939006805,
0.030419815331697464,
-0.017248624935746193,
-0.009370948188006878,
-0.05021683871746063,
-0.008199580013751984,
-0.006567711476236582,
-0.04224080219864845,
0.04209773242473602,
-0.014110072515904903,
0.02577010728418827,
-0.03092055208981037,
-0.005382930394262075,
0.03666115179657936,
-0.04202619940042496,
0.041310857981443405,
0.007613895460963249,
0.001655340427532792,
-0.0009746501455083489,
-0.051719050854444504,
-0.024536147713661194,
-0.006585594732314348,
0.005977556109428406,
0.004446282517164946,
-0.03589216247200966,
0.05061027407646179,
0.03535565733909607,
0.005709304008632898,
-0.04985916614532471,
-0.004488755948841572,
-0.014306791126728058,
0.04002324864268303,
0.010631734505295753,
-0.01915321685373783,
0.007940269075334072,
-0.021317118778824806,
-0.02625296264886856,
-0.020548129454255104,
0.024732865393161774,
0.01138284057378769,
-0.08040416985750198,
0.016613760963082314,
-0.03354942426085472,
-0.04968033358454704,
0.00321008637547493,
0.009044574573636055,
-0.021460186690092087,
-0.0014217373682186007,
-0.04792775213718414,
-0.013484151102602482,
0.026735816150903702,
-0.05354316532611847,
-0.05801403895020485,
-0.03895023837685585,
-0.04206196591258049,
0.007470827549695969,
-0.013823936693370342,
0.031922027468681335,
-0.015174140222370625,
-0.04381454735994339,
0.026610631495714188,
-0.029883310198783875,
-0.07825814932584763,
-0.015227790921926498,
0.04989493265748024,
0.030992086976766586,
0.029203737154603004,
0.02811284549534321,
-0.03417534753680229,
0.004806187469512224,
-0.023016050457954407,
0.010345598682761192,
-0.01332319900393486,
0.019564537331461906,
-0.008400768972933292,
0.05801403895020485,
0.04828542098402977,
-0.02280144765973091,
-0.03458666801452637,
-0.05082487687468529,
0.01974337175488472,
-0.03553449362516403,
0.012625743634998798,
-0.053578931838274,
0.022783564403653145,
0.02188939042389393,
0.05765637010335922,
-0.010068404488265514,
-0.043492645025253296,
0.0884159728884697,
-0.08534000813961029,
0.016801537945866585,
0.06742075085639954,
0.02353467233479023,
-0.0037152948789298534,
0.033817678689956665,
-0.10479724407196045,
-0.04638976976275444,
-0.003413510974496603,
0.014870121143758297,
0.036160413175821304,
-0.06248491257429123,
-0.01135601568967104,
-0.06842222809791565,
0.019761255010962486,
-0.04381454735994339,
-0.004645236302167177,
0.029597174376249313,
-0.007175750099122524,
0.005226449575275183,
-0.019224749878048897,
0.00878079328685999,
0.0010283006122335792,
-0.017919255420565605,
-0.013779228553175926,
0.0017246389761567116,
0.028506280854344368,
0.02834532968699932,
0.021710556000471115,
-0.008990923874080181,
0.0018039969727396965,
-0.014727053232491016,
0.010166763328015804,
0.005476818419992924,
-0.05261322483420372,
-0.010130996815860271,
0.04892922565340996,
0.012777753174304962,
-0.0019772432278841734,
0.007113157771527767,
-0.02090579830110073,
-0.12089238315820694,
-0.04020208492875099,
-0.03744802623987198,
0.04445835202932358,
-0.008275584317743778,
-0.07207046449184418,
-0.024643447250127792,
-0.05747753381729126,
-0.034014396369457245,
-0.03623194992542267,
-0.044959090650081635,
0.031188804656267166,
0.014753878116607666,
0.004093083553016186,
-0.05372200161218643,
0.027558457106351852,
-0.04088165611028671,
0.01551392674446106,
0.021710556000471115,
-0.026485446840524673,
0.036196183413267136,
-0.10651405900716782,
-0.010953636839985847,
-0.05264899134635925,
0.030849019065499306,
0.057978272438049316,
-0.0312245711684227,
-0.05300666019320488,
-0.031778961420059204,
0.018053382635116577,
0.0606965608894825,
0.00980015192180872,
0.06556086987257004,
-0.021281352266669273,
-0.007452944293618202,
-0.037662629038095474,
0.008588545955717564,
0.018115974962711334,
-0.04277730733156204,
0.033585190773010254,
-0.04731971025466919,
0.07468145340681076,
-0.032941386103630066,
0.014092189259827137,
-0.020601779222488403,
-0.049036525189876556,
-0.00027523806784301996,
-0.004482049494981766,
0.0071578663773834705,
0.00853042397648096,
-0.05286359414458275,
0.019045915454626083,
0.007761434186249971,
-0.0432780422270298,
-0.03442571684718132,
0.030455581843852997,
0.007908972911536694,
0.03816336393356323,
-0.0048285420052707195,
-0.0337461456656456,
-0.03412169590592384,
0.03515893965959549,
-0.00567800784483552,
0.00846336130052805,
0.024714982137084007,
0.028720883652567863,
0.0009209996787831187,
-0.05043143779039383,
0.04599633440375328,
0.02348102070391178,
-0.03215451166033745,
-0.021513836458325386,
0.030598649755120277,
-0.008101220242679119,
-0.04531675949692726,
0.015496043488383293,
0.05758483335375786,
-0.003849420929327607,
0.03195779398083687,
0.027057718485593796,
-0.004748066421598196,
0.0215317215770483,
0.027147136628627777,
-0.013385791331529617,
0.025072650983929634,
0.05636875703930855,
0.021370768547058105,
-0.02382080815732479,
0.018267983570694923,
0.014306791126728058,
-0.02344525419175625,
-0.025197835639119148,
-0.04352841153740883,
-0.01227701548486948,
-0.0746099129319191,
0.010685384273529053,
-0.020583895966410637,
-0.009379889816045761,
0.03170742467045784,
0.032655250281095505
] |
713,334
|
xmlschema.resources
|
is_lazy
|
Returns `True` if the XML resource is lazy.
|
def is_lazy(self) -> bool:
"""Returns `True` if the XML resource is lazy."""
return bool(self._lazy)
|
(self) -> bool
|
[
0.04482397064566612,
-0.02668093517422676,
0.030674468725919724,
0.0050607710145413876,
0.07188360393047333,
0.04310262203216553,
0.07270985096693039,
0.01831517182290554,
0.0373188816010952,
-0.0434124656021595,
0.04943719133734703,
0.015165099874138832,
0.02690471149981022,
0.010483025573194027,
-0.020105376839637756,
-0.03556310385465622,
-0.026715362444519997,
0.023427583277225494,
-0.020793916657567024,
-0.04427314177155495,
-0.0646195039153099,
0.04444527626037598,
0.018177462741732597,
-0.040623877197504044,
0.00516405189409852,
0.00867130421102047,
0.01824631728231907,
0.024288257583975792,
0.03504670038819313,
0.01602577418088913,
-0.04978146404027939,
-0.0007832145784050226,
0.06103909760713577,
-0.005439468193799257,
0.01032810378819704,
0.05904233083128929,
0.011490016244351864,
0.05205364525318146,
-0.05050443112850189,
-0.04709615558385849,
-0.005353400483727455,
-0.023479223251342773,
-0.06403424590826035,
-0.0017105923034250736,
-0.01741146296262741,
-0.03921236842870712,
-0.022773470729589462,
0.05394713208079338,
-0.00565894041210413,
-0.036010656505823135,
0.08606753498315811,
0.04079601168632507,
0.004331348929554224,
0.044135432690382004,
-0.026577655225992203,
0.028006376698613167,
0.0017170473001897335,
0.09598251432180405,
-0.0013996732886880636,
0.021189827471971512,
0.0378008596599102,
0.000625065469648689,
0.019279127940535545,
-0.05411926656961441,
0.00617104209959507,
0.014459345489740372,
-0.00826678704470396,
-0.01790204644203186,
0.01948568969964981,
0.049643754959106445,
-0.05119296908378601,
0.04282720386981964,
-0.014941324479877949,
0.04492725431919098,
-0.002517475513741374,
-0.08737576007843018,
-0.01766105741262436,
-0.015070425346493721,
0.0014233419205993414,
-0.03351469710469246,
-0.03065725602209568,
-0.041209135204553604,
-0.025355495512485504,
-0.03504670038819313,
-0.03299829363822937,
-0.020157016813755035,
0.036354925483465195,
-0.012273230589926243,
0.02848835475742817,
0.06937043368816376,
-0.03797299787402153,
0.10624176263809204,
0.004570186138153076,
-0.03256795555353165,
0.05012573301792145,
0.023375943303108215,
0.033962249755859375,
0.006962863728404045,
0.009544889442622662,
-0.06510148197412491,
-0.015715932473540306,
0.007591156754642725,
-0.0007170501630753279,
-0.0006680992664769292,
0.05222577974200249,
-0.012643320485949516,
-0.003683690447360277,
0.030760537832975388,
0.04392886906862259,
-0.06286372989416122,
0.013400714844465256,
-0.09777271747589111,
0.0056890640407800674,
0.08930367231369019,
0.002424952806904912,
-0.05687342584133148,
-0.007134998682886362,
-0.008636876940727234,
0.014166716486215591,
0.0017600811552256346,
0.01117156632244587,
-0.018401239067316055,
-0.07229673117399216,
-0.022618548944592476,
0.026749789714813232,
0.032550740987062454,
0.0274383295327425,
0.02356529049575329,
0.04241408035159111,
0.025992395356297493,
0.019038138911128044,
0.03265402466058731,
-0.017970900982618332,
0.010973610915243626,
-0.01790204644203186,
-0.042620643973350525,
0.051502812653779984,
0.04861094430088997,
-0.03504670038819313,
0.03143186494708061,
-0.04699287563562393,
0.0243915393948555,
-0.03129415586590767,
0.047474853694438934,
0.027352262288331985,
-0.011197386309504509,
-0.038936953991651535,
0.050229012966156006,
-0.0069327400997281075,
-0.012161342427134514,
0.07112620770931244,
-0.046889591962099075,
-0.012531433254480362,
-0.010216216556727886,
-0.044961679726839066,
0.008873563259840012,
-0.044032152742147446,
-0.01754056289792061,
0.018814362585544586,
-0.10052688419818878,
-0.009975227527320385,
0.033376991748809814,
-0.06300143897533417,
-0.0087788887321949,
-0.02960723266005516,
-0.01018178928643465,
-0.023134954273700714,
-0.06885402649641037,
0.013607277534902096,
0.08124775439500809,
-0.000997307593934238,
0.0022140874061733484,
-0.01053466647863388,
0.025475990027189255,
0.028522782027721405,
0.05897347629070282,
0.037766434252262115,
0.001261965255253017,
-0.0375598706305027,
0.07505089044570923,
0.0013125299010425806,
-0.017161866649985313,
-0.04716501012444496,
-0.03344584256410599,
0.010982217267155647,
0.03229253739118576,
0.04723386466503143,
-0.038868099451065063,
0.06430966407060623,
0.060006286948919296,
-0.02082834392786026,
0.0030489424243569374,
0.01767827197909355,
-0.008688517846167088,
-0.023823494091629982,
-0.02368578501045704,
0.005568569526076317,
-0.01767827197909355,
0.03790414333343506,
0.03762872517108917,
-0.06382768601179123,
-0.020157016813755035,
0.00653682928532362,
0.013228580355644226,
0.006360390689224005,
0.028884265571832657,
-0.08262483030557632,
0.012583073228597641,
-0.047819122672080994,
0.014545413665473461,
-0.07160818576812744,
-0.03914351388812065,
0.004410961177200079,
0.0353565439581871,
0.03807627782225609,
0.003946196287870407,
-0.006541132461279631,
-0.013495389372110367,
-0.08531013876199722,
-0.008606753312051296,
0.06885402649641037,
0.015517977066338062,
0.025475990027189255,
-0.03251631557941437,
0.0054351650178432465,
-0.0303646270185709,
-0.012161342427134514,
0.009880552999675274,
-0.04083043709397316,
-0.0008052694029174745,
0.005684760864824057,
0.0490240678191185,
0.07835588604211807,
0.02836786024272442,
0.08889055252075195,
-0.011137139052152634,
0.009200619533658028,
0.07319182902574539,
-0.0006336722290143371,
0.01578478515148163,
-0.020862771198153496,
-0.01872829534113407,
-0.017325395718216896,
-0.07539515942335129,
-0.03842054679989815,
0.004428174812346697,
-0.010302283801138401,
0.027128487825393677,
-0.02621617168188095,
-0.015423302538692951,
-0.004953186493366957,
-0.015509369783103466,
-0.050229012966156006,
-0.08207400143146515,
-0.007733168080449104,
-0.06668512523174286,
-0.007126391865313053,
0.029693299904465675,
-0.010069902054965496,
0.02346201054751873,
0.00702311098575592,
-0.007784808520227671,
0.012187163345515728,
0.09605137258768082,
-0.03862711042165756,
-0.008469045162200928,
0.04155340790748596,
-0.016481932252645493,
-0.08262483030557632,
0.004733714275062084,
0.098048135638237,
-0.017798766493797302,
0.009364147670567036,
-0.02941788360476494,
0.022911177948117256,
-0.06348341703414917,
0.018039755523204803,
-0.037869714200496674,
-0.01032810378819704,
0.03428930789232254,
0.04386001452803612,
-0.005525535903871059,
0.013874086551368237,
0.04895521327853203,
-0.04527152329683304,
-0.09288408607244492,
-0.027197340503335,
0.05608160421252251,
-0.038351692259311676,
-0.025820260867476463,
0.020673422142863274,
0.03298107907176018,
0.052329059690237045,
-0.03621722012758255,
0.021034905686974525,
-0.021189827471971512,
0.005512625444680452,
-0.006769211497157812,
-0.0334114171564579,
0.008933810517191887,
0.03143186494708061,
-0.012953164055943489,
-0.04089929163455963,
-0.01056048646569252,
0.01208388153463602,
0.0022377558052539825,
-0.004144151695072651,
0.016086021438241005,
0.0032017123885452747,
0.041863247752189636,
-0.027765387669205666,
0.01184289250522852,
0.01651635952293873,
0.038041852414608,
-0.005577176343649626,
-0.03236139193177223,
0.01321997307240963,
-0.0003391598875168711,
0.01141255535185337,
0.055496346205472946,
-0.07594599574804306,
0.04382558912038803,
-0.019175846129655838,
0.006545436102896929,
-0.04392886906862259,
-0.007091965060681105,
0.056253742426633835,
0.006489492021501064,
-0.02392677403986454,
-0.0019838567823171616,
-0.030984312295913696,
-0.03859268128871918,
-0.005547052714973688,
0.041037000715732574,
-0.05518650263547897,
-0.0032899314537644386,
0.02129310742020607,
-0.05962758883833885,
0.032722875475883484,
-0.07752963900566101,
0.024494821205735207,
-0.021189827471971512,
-0.005912839900702238,
-0.0070876614190638065,
0.002622908214107156,
-0.0007143605616874993,
0.024666955694556236,
-0.037594299763441086,
0.09997604787349701,
-0.03177613392472267,
-0.04482397064566612,
-0.03029577247798443,
0.036113936454057693,
0.03745659068226814,
-0.015259774401783943,
-0.0022614244371652603,
-0.016955304890871048,
0.05515207722783089,
0.05470452457666397,
0.04850766435265541,
0.012126916088163853,
-0.004574489314109087,
-0.05184708163142204,
0.014347458258271217,
-0.027989162132143974,
-0.015836426988244057,
0.017970900982618332,
0.025062866508960724,
-0.019554544240236282,
-0.058009520173072815,
-0.03444422781467438,
-0.008714337833225727,
-0.06937043368816376,
-0.019743893295526505,
0.023909561336040497,
-0.031139234080910683,
0.0004219998954795301,
0.012281836941838264,
0.033841755241155624,
0.03348027169704437,
0.008197932504117489,
0.04802568629384041,
-0.01673152856528759,
-0.011429768986999989,
-0.044032152742147446,
-0.05222577974200249,
-0.026646509766578674,
-0.024649742990732193,
-0.04058944806456566,
-0.020742276683449745,
0.041450124233961105,
0.0016202213009819388,
-0.07498203963041306,
-0.012540039606392384,
-0.010319497436285019,
-0.0795264020562172,
0.05983414873480797,
-0.02702520601451397,
0.029452310875058174,
0.017712699249386787,
0.03112202137708664,
0.02545877732336521,
0.036113936454057693,
-0.00453145569190383,
-0.016989732161164284,
-0.004608916584402323,
0.03327370807528496,
-0.00440235435962677,
-0.014364671893417835,
-0.01619791053235531,
-0.02485630474984646,
-0.04182882234454155,
-0.07119506597518921,
-0.045719075947999954,
-0.002291548065841198,
-0.011507229879498482,
0.04241408035159111,
0.024150550365447998,
0.03205154836177826,
0.03573524206876755,
0.034254878759384155,
0.04241408035159111,
0.04065830260515213,
0.0012372208293527365,
-0.058250509202480316,
-0.02475302293896675,
0.01666267402470112,
-0.005633119959384203,
0.015698717907071114,
0.03704346716403961,
-0.030003143474459648,
-0.010044081136584282,
0.01651635952293873,
-0.05787181109189987,
0.021809512749314308,
-0.04699287563562393,
-0.014089255593717098,
-0.05002245306968689,
-0.06265716254711151,
0.0013093024026602507,
0.025252215564250946,
0.004948883317410946,
0.014123682864010334,
0.020638994872570038,
0.02222263813018799,
-0.010612127371132374,
-0.023892348632216454,
0.06238174811005592,
0.0756017193198204,
-0.03213761746883392,
-0.04988474398851395,
0.018883217126131058,
0.019038138911128044,
-0.02761046588420868,
-0.07849359512329102,
-0.02112097293138504,
0.001977401552721858,
-0.01482943631708622,
-0.041037000715732574,
0.035012274980545044,
-0.005056467838585377,
0.02194722183048725,
-0.028798196464776993,
-0.04475511983036995,
0.02458088845014572,
-0.03628607466816902,
-0.04141569882631302,
0.03687133267521858,
-0.04148455336689949,
-0.0014222660101950169,
0.005710580851882696,
-0.027231767773628235,
0.02094883844256401,
-0.09343491494655609,
-0.027920307591557503,
-0.01826353184878826,
-0.02836786024272442,
0.09185127168893814,
0.06399981677532196,
-0.0017439434304833412,
-0.032550740987062454,
0.00965677760541439,
0.02568255178630352,
-0.012858489528298378,
0.0016879995819181204,
-0.048301100730895996,
-0.04678631201386452,
-0.0027132791001349688,
0.01219576969742775,
0.003599774558097124,
-0.003498645266517997,
0.011989207938313484,
0.03652706369757652,
-0.005327580496668816,
0.023857921361923218,
-0.02451203390955925,
0.018625015392899513,
0.03607951104640961,
0.05446353554725647,
0.02544156275689602,
-0.03282615914940834,
-0.032791730016469955,
0.07594599574804306,
0.049988023936748505,
0.006140918470919132,
0.0005435702623799443,
-0.014519592747092247,
0.0021882671862840652,
0.00129101297352463,
-0.018969284370541573,
0.04565022140741348,
-0.002122640609741211,
0.02919410727918148,
0.04792240262031555,
0.06334570795297623,
0.003470673458650708,
0.029572805389761925,
0.046063344925642014,
0.035597532987594604,
-0.03690575808286667,
0.04912734776735306,
0.009467428550124168,
0.04065830260515213,
-0.026715362444519997,
-0.03704346716403961,
0.011343700811266899,
0.00767722399905324,
-0.016456112265586853,
-0.034254878759384155,
0.02287675067782402,
0.0570799894630909,
-0.0651359111070633,
0.00766431400552392,
-0.026009609922766685,
-0.01643889956176281,
0.019330767914652824,
-0.035666387528181076,
-0.03348027169704437,
-0.01667988859117031,
0.01649053953588009,
0.04582235589623451,
-0.035597532987594604,
0.05856035277247429,
0.031156448647379875,
0.019330767914652824,
0.00036175260902382433,
-0.005800951737910509,
0.02943509630858898,
-0.0027261890936642885,
-0.015010178089141846,
-0.019210273399949074,
-0.005521232262253761,
-0.015483549796044827,
-0.08840857446193695,
0.09515626728534698,
0.010112935677170753,
0.010345317423343658,
0.009527675807476044,
-0.02328987419605255,
0.051502812653779984,
0.035597532987594604,
-0.0291424673050642,
-0.021861154586076736,
0.02287675067782402,
-0.011722397990524769,
-0.02065620757639408,
0.01631840504705906,
-0.031087594106793404,
0.024064483121037483,
-0.017592204734683037,
0.057768531143665314,
-0.0368369035422802,
-0.005745008122175932,
0.053086455911397934,
0.030726110562682152,
0.0331704281270504,
0.025837473571300507,
-0.008796102367341518,
0.008821922354400158,
-0.003946196287870407,
0.036354925483465195,
-0.04792240262031555,
0.010947790928184986,
-0.03482292592525482,
0.011610510759055614,
-0.00044835807057097554,
0.0037955783773213625,
0.10045802593231201,
0.0021764328703284264,
-0.061865344643592834,
-0.01638725958764553,
0.012867096811532974,
0.027248982340097427,
-0.06430966407060623,
0.04017632454633713,
-0.0077202580869197845,
0.07078193873167038,
-0.04327475652098656,
0.02778260037302971,
-0.019571756944060326,
-0.008107561618089676,
0.030467906966805458,
0.0022700312547385693,
-0.011335094459354877,
-0.026491587981581688,
0.0063001434318721294,
-0.0382828414440155,
0.019984882324934006,
-0.0274383295327425,
0.0023216716945171356,
-0.016645461320877075,
-0.041381269693374634,
0.029228534549474716,
-0.02356529049575329,
-0.009174799546599388,
-0.003961258102208376,
-0.04189767688512802,
-0.02773096039891243,
-0.025957968086004257,
0.0009053229005075991,
-0.042964912950992584,
0.028591634705662727,
0.04272392392158508,
0.02105211839079857,
-0.042379654943943024,
-0.004137696698307991,
0.028402287513017654,
-0.060763679444789886,
-0.020845556631684303,
-0.0291424673050642,
0.03687133267521858,
-0.005714884493499994,
0.05890462175011635,
0.0011210296070203185,
0.00028778830892406404,
-0.0017815979663282633,
0.044548556208610535,
0.04169111326336861,
0.03129415586590767,
-0.05442911013960838,
-0.051502812653779984,
-0.017058584839105606,
-0.05153724178671837,
0.0014889683807268739,
-0.02726619504392147,
0.020277511328458786,
0.005831075366586447,
-0.01650775410234928,
0.0651359111070633,
-0.04234522581100464,
-0.04324033111333847,
0.020088162273168564,
0.019020926207304,
-0.00901127140969038,
-0.019675038754940033,
-0.0040236571803689,
0.007629887200891972,
0.005301760043948889,
0.004725107457488775,
-0.04410100355744362,
0.01831517182290554,
-0.041622258722782135,
-0.03807627782225609,
0.009949407540261745,
0.09797928482294083,
0.018883217126131058,
-0.04172554239630699,
-0.0353565439581871,
-0.030209705233573914,
-0.00817211251705885,
-0.04079601168632507,
0.07381151616573334,
0.06751137226819992,
-0.04799125716090202,
0.03649263456463814,
-0.007104875054210424,
-0.06458507478237152,
-0.03607951104640961,
-0.009166192263364792,
0.05143395811319351,
-0.01307365857064724,
0.022687401622533798,
-0.025785833597183228,
0.026164529845118523,
-0.03497784584760666,
0.05222577974200249,
-0.019399622455239296,
-0.03855825588107109,
0.024081695824861526,
-0.021499671041965485,
-0.030553974211215973,
-0.017308181151747704,
-0.018814362585544586,
0.076565682888031,
0.029503950849175453,
-0.03766315430402756,
-0.013727772049605846,
0.040864866226911545,
0.04368788003921509,
-0.040520597249269485,
0.034547507762908936,
-0.0005330807762220502,
-0.0015857943799346685,
-0.010904756374657154,
-0.056839000433683395,
0.013899906538426876,
-0.043137047439813614,
-0.011877319775521755,
0.01729096844792366,
0.04792240262031555,
-0.0022980032954365015,
0.05924889072775841,
0.0019817049615085125,
-0.08338222652673721,
-0.02007094956934452,
-0.052088070660829544,
0.0029757849406450987,
0.0033695439342409372,
0.024374326691031456,
0.017093012109398842,
-0.006511008832603693,
-0.023892348632216454,
-0.035838522017002106,
-0.019020926207304,
-0.01900371164083481,
0.04509938880801201,
-0.0021011237986385822,
-0.042861633002758026,
-0.030881032347679138,
0.008563719689846039,
0.02807522937655449,
-0.017377035692334175,
-0.044548556208610535,
0.03914351388812065,
0.030433479696512222,
-0.020811129361391068,
0.016602426767349243,
0.050986409187316895,
-0.0049876137636601925,
-0.03270566463470459,
0.05628816783428192,
-0.003031729022040963,
-0.004690680652856827,
-0.005938659887760878,
-0.02017422951757908,
-0.022067716345191002,
0.02229149080812931,
0.01018178928643465,
-0.009235046803951263,
0.0061280084773898125,
0.0020946685690432787,
0.04151897877454758,
0.002169977640733123,
0.015956921502947807,
0.04516824334859848,
0.018280744552612305,
-0.051330678164958954,
-0.0044496916234493256,
-0.037697579711675644,
-0.020139804109930992,
-0.05580618977546692,
0.006644413806498051,
-0.022136570885777473,
0.038110703229904175,
0.016774563118815422,
0.03394503518939018,
0.021689018234610558,
0.03136301040649414
] |
713,335
|
xmlschema.resources
|
is_loaded
|
Returns `True` if the XML text of the data source is loaded.
|
def is_loaded(self) -> bool:
"""Returns `True` if the XML text of the data source is loaded."""
return self._text is not None
|
(self) -> bool
|
[
0.04779726639389992,
0.009672453626990318,
0.017034310847520828,
0.0018942238530144095,
0.058793675154447556,
0.0346420556306839,
0.03899339586496353,
0.006628202274441719,
0.04870801046490669,
0.007897342555224895,
0.014605657197535038,
-0.02526475116610527,
0.05299188941717148,
0.004465182311832905,
-0.020879680290818214,
-0.015448939986526966,
-0.05670233070850372,
-0.015491103753447533,
-0.02035684511065483,
-0.05356531962752342,
-0.07056590169668198,
-0.005131375510245562,
0.02590564638376236,
0.004127868916839361,
0.011544540524482727,
-0.01878833957016468,
0.027187436819076538,
-0.022920425981283188,
-0.01312147919088602,
0.06486530601978302,
-0.0033794555347412825,
-0.04175936058163643,
0.03071235865354538,
-0.012387823313474655,
-0.013070882298052311,
0.08817364275455475,
0.03317474201321602,
-0.05818650871515274,
0.06786739826202393,
-0.04469398409128189,
-0.011856555938720703,
0.003491190494969487,
-0.01481647789478302,
0.03138698264956474,
-0.03022325411438942,
-0.054239947348833084,
-0.04351339116692543,
0.02526475116610527,
-0.03261817619204521,
-0.04708890989422798,
0.08439573645591736,
0.05646621435880661,
0.006101150531321764,
0.05950203165411949,
-0.023662513121962547,
0.0032403140794485807,
-0.011780659668147564,
0.10375750809907913,
0.006248725112527609,
0.006788426078855991,
0.04159070551395416,
-0.02148684486746788,
0.02187475375831127,
0.006417381577193737,
0.0344565324485302,
0.04067996144294739,
0.018956996500492096,
-0.04047757387161255,
-0.0046928683295845985,
0.04169189929962158,
-0.0247250497341156,
0.06270650774240494,
-0.02698504738509655,
0.04671786352992058,
-0.04199548065662384,
-0.04283876344561577,
-0.06638322025537491,
0.02094714343547821,
-0.0032318811863660812,
-0.0025572548620402813,
0.01594647765159607,
0.027693405747413635,
0.02173982933163643,
-0.05386890098452568,
0.005738539155572653,
-0.06955396384000778,
0.018316101282835007,
0.04860681667923927,
-0.0043766372837126255,
0.03450712934136391,
0.012986554764211178,
0.06118859723210335,
-0.0041826823726296425,
-0.0038390448316931725,
0.0008359040366485715,
-0.028519822284579277,
0.03572145849466324,
-0.028975196182727814,
-0.02570325881242752,
-0.05427367612719536,
-0.03636235371232033,
0.029514895752072334,
0.031066536903381348,
-0.009301409125328064,
0.030138924717903137,
0.03636235371232033,
-0.029666686430573463,
-0.02207714319229126,
0.030543701723217964,
-0.03703697770833969,
0.015347746200859547,
-0.11536107957363129,
0.0463130883872509,
0.06068262830376625,
0.03734055906534195,
-0.09957482665777206,
-0.017894459888339043,
0.002936732256785035,
-0.05990680679678917,
-0.015592298470437527,
0.041725631803274155,
0.022110873833298683,
-0.03774533420801163,
-0.03744175285100937,
0.02256624586880207,
-0.004494696855545044,
0.027491018176078796,
-0.011055436916649342,
0.0736691802740097,
-0.04847189411520958,
0.09478498250246048,
-0.021621769294142723,
-0.03202787786722183,
0.007277530152350664,
-0.00051361188525334,
-0.032651908695697784,
0.0355190709233284,
0.03322533890604973,
-0.015288716182112694,
0.04385070130228996,
-0.005907195620238781,
0.007813015021383762,
-0.009132752195000648,
0.008175626397132874,
-0.015676626935601234,
0.03595757484436035,
-0.03831876814365387,
0.016570506617426872,
0.002156695583835244,
-0.04877547547221184,
0.025028632953763008,
-0.08540767431259155,
-0.0454360730946064,
-0.04125339165329933,
-0.05363278463482857,
-0.04688652232289314,
-0.004311283119022846,
-0.005620479583740234,
0.024016693234443665,
-0.035890113562345505,
0.015086328610777855,
0.015710357576608658,
-0.024067290127277374,
0.0031496610026806593,
-0.031420715153217316,
0.026866989210247993,
-0.06267277151346207,
-0.05073188990354538,
-0.04607696831226349,
0.02840176224708557,
0.013315434567630291,
0.0027891576755791903,
-0.04533487930893898,
0.015474238432943821,
0.019446101039648056,
0.041388317942619324,
-0.009621855802834034,
0.04624562710523605,
0.007395589724183083,
0.04567219316959381,
-0.02222893387079239,
-0.0015621812781319022,
-0.03963429108262062,
0.015550133772194386,
0.02919444814324379,
0.04199548065662384,
0.017009012401103973,
-0.02683325670659542,
0.06314501166343689,
0.03233145922422409,
0.005548800341784954,
-0.06506769359111786,
-0.019159384071826935,
0.010229019448161125,
-0.015786252915859222,
-0.01673072949051857,
-0.0056795091368258,
-0.0009344627032987773,
-0.020930277183651924,
0.019597891718149185,
0.03179176151752472,
-0.06395456194877625,
0.007049843668937683,
0.03767787292599678,
-0.027356091886758804,
0.016309088096022606,
-0.05407128855586052,
0.05528561770915985,
-0.01912565343081951,
-0.004701301455497742,
-0.01814744435250759,
-0.08001066744327545,
-0.009208647534251213,
0.05707337707281113,
0.03774533420801163,
-0.01765834167599678,
-0.06132352352142334,
-0.03454086184501648,
-0.03508056327700615,
-0.00486995792016387,
0.09741602092981339,
0.045604731887578964,
0.021065203472971916,
-0.02516355738043785,
-0.012885360047221184,
-0.029852209612727165,
-0.001164784305728972,
0.010954243130981922,
-0.028249971568584442,
0.011460212990641594,
0.025349078699946404,
0.011704764328897,
0.010389243252575397,
0.005224136635661125,
0.07070082426071167,
0.0008496074005961418,
0.04607696831226349,
0.07778440415859222,
0.003535463009029627,
-0.03158937022089958,
-0.01697528176009655,
-0.006362568587064743,
-0.07360171526670456,
-0.08952289819717407,
-0.04688652232289314,
-0.03223026543855667,
-0.023662513121962547,
0.006952866446226835,
-0.05194621905684471,
-0.034709516912698746,
0.013981628231704235,
-0.009554393589496613,
-0.00516510708257556,
-0.06732769310474396,
-0.020339980721473694,
-0.04125339165329933,
-0.02688385359942913,
0.017641475424170494,
0.017245132476091385,
-0.013931031338870525,
0.02123386040329933,
0.002200968097895384,
-0.01604767143726349,
0.11360704898834229,
-0.01275886781513691,
-0.0008385392720811069,
0.020778486505150795,
0.003518597222864628,
-0.03879100829362869,
-0.06446053087711334,
0.04371577873826027,
0.0007331289234571159,
0.0013829837553203106,
-0.024893706664443016,
0.00848342478275299,
-0.034911904484033585,
0.02379743941128254,
-0.029717283323407173,
-0.00045695382868871093,
0.031909819692373276,
0.0449301041662693,
0.01165416743606329,
-0.006678799167275429,
-0.00575118837878108,
-0.014150284230709076,
-0.08318141102790833,
-0.03158937022089958,
-0.024539528414607048,
-0.05676979571580887,
-0.023780573159456253,
-0.001864708960056305,
0.010102527216076851,
0.03875727578997612,
-0.01025431789457798,
0.008184059523046017,
-0.0002532483485992998,
0.01417558267712593,
0.011342152953147888,
-0.04169189929962158,
-0.003362589981406927,
-0.0040772720240056515,
-0.03970175236463547,
0.003128579119220376,
-0.0060885013081133366,
-0.006788426078855991,
0.01194931659847498,
-0.02045803889632225,
0.001966957002878189,
0.005768054164946079,
0.01742222160100937,
0.0063752178102731705,
0.0027385607827454805,
0.024843109771609306,
0.006590254604816437,
0.03852115571498871,
-0.002304270165041089,
0.019462965428829193,
-0.017110206186771393,
0.0030294933822005987,
0.014184015803039074,
-0.04688652232289314,
0.01410812046378851,
-0.004062514752149582,
-0.013340733014047146,
-0.026614002883434296,
-0.01883893646299839,
0.07333187013864517,
-0.004954286385327578,
0.004536861088126898,
-0.012404689565300941,
0.026091167703270912,
-0.04034264758229256,
0.06618083268404007,
0.020289383828639984,
-0.0008980961283668876,
-0.008525588549673557,
-0.015912745147943497,
-0.03266877308487892,
0.05504949763417244,
-0.03774533420801163,
0.028368031606078148,
-0.001711864024400711,
0.01963162235915661,
0.007758201099932194,
0.06594470888376236,
0.038386229425668716,
-0.022060276940464973,
-0.0026521242689341307,
0.0908721461892128,
-0.031066536903381348,
-0.0872291699051857,
-0.04165816679596901,
-0.0088797677308321,
0.024016693234443665,
-0.0323820561170578,
-0.01629222184419632,
0.05676979571580887,
0.07683992385864258,
0.03831876814365387,
0.05488084256649017,
0.03133638575673103,
0.00041294502443633974,
-0.04934890568256378,
0.01386356819421053,
-0.030189521610736847,
-0.01324797235429287,
0.022313261404633522,
0.03764414042234421,
-0.0058523821644485,
-0.002776508452370763,
-0.023409528657794,
-0.04206294193863869,
-0.03879100829362869,
0.0036218995228409767,
0.027845196425914764,
-0.036126233637332916,
0.007686522323638201,
-0.006349918898195028,
0.007441970519721508,
-0.009023125283420086,
0.013897299766540527,
0.051878754049539566,
-0.04047757387161255,
-0.015314014628529549,
0.016865655779838562,
-0.015491103753447533,
-0.061256058514118195,
-0.02035684511065483,
-0.05774800106883049,
-0.04897786304354668,
0.04314234480261803,
0.021183263510465622,
-0.07083575427532196,
0.017978787422180176,
-0.047965921461582184,
-0.004092029761523008,
0.049382638186216354,
-0.004583241883665323,
0.014141852036118507,
0.03504683077335358,
0.01179752591997385,
0.0052620843052864075,
-0.000306744099361822,
0.03572145849466324,
-0.045301150530576706,
0.023814305663108826,
0.019159384071826935,
-0.040207721292972565,
-0.03649727627635002,
-0.01947983168065548,
0.009782079607248306,
-0.0355190709233284,
-0.04924771189689636,
-0.02084594964981079,
-0.048944130539894104,
0.032651908695697784,
0.04371577873826027,
0.005953576415777206,
0.015027298592031002,
0.05859128385782242,
-0.030746089294552803,
0.07616529613733292,
0.043243538588285446,
0.023729976266622543,
-0.014335806481540203,
-0.008006969466805458,
-0.009335139766335487,
-0.01160357054322958,
0.05147397890686989,
-0.011434914544224739,
-0.04439040273427963,
-0.011578272096812725,
-0.005131375510245562,
-0.007159470580518246,
-0.0008485532598569989,
-0.0069908141158521175,
-0.040646228939294815,
-0.03717190399765968,
-0.04024145379662514,
-0.012978121638298035,
-0.00246027740649879,
0.0011278906604275107,
0.027946390211582184,
0.02816564403474331,
-0.005768054164946079,
-0.052418455481529236,
-0.04057876765727997,
0.027288630604743958,
-0.003318317700177431,
-0.02084594964981079,
-0.06860948354005814,
0.06196441501379013,
0.030830416828393936,
-0.017009012401103973,
-0.04897786304354668,
0.007256448268890381,
0.05268830806016922,
0.013188942335546017,
-0.020339980721473694,
0.03285429626703262,
-0.07940350472927094,
0.032702505588531494,
-0.04263637587428093,
-0.03899339586496353,
0.07272470742464066,
-0.04671786352992058,
-0.04587458074092865,
0.029987134039402008,
-0.0033119930885732174,
0.033191610127687454,
-0.0021134773269295692,
0.006809508427977562,
0.012514316476881504,
-0.05545427277684212,
0.052519649267196655,
0.0011363235535100102,
-0.022144604474306107,
0.0755581334233284,
0.012725137174129486,
0.011704764328897,
-0.018619682639837265,
0.004785629455000162,
-0.003912832122296095,
-0.0013850919203832746,
-0.024252811446785927,
-0.05029338225722313,
-0.03659847006201744,
0.004924771375954151,
-0.005346412770450115,
-0.015727223828434944,
0.013188942335546017,
0.01410812046378851,
0.025180423632264137,
-0.0656411275267601,
-0.000150868552736938,
-0.040410108864307404,
0.04779726639389992,
0.03233145922422409,
0.016747595742344856,
0.008415961638092995,
-0.0054012262262403965,
0.02423594705760479,
0.03393369913101196,
0.05157517269253731,
0.029413701966404915,
-0.011266257613897324,
0.03889220207929611,
0.01968221925199032,
-0.015035731717944145,
-0.012227599509060383,
-0.026462212204933167,
-0.008403312414884567,
0.011662600561976433,
0.05862501636147499,
0.06962142139673233,
0.005692158360034227,
0.015389909967780113,
0.051440246403217316,
0.005574098788201809,
-0.0022937289904803038,
0.028806539252400398,
0.01747281849384308,
0.030897879973053932,
-0.08378857374191284,
-0.03197728097438812,
0.02364564873278141,
-0.05653367564082146,
-0.0014546627644449472,
-0.03997160121798515,
0.015373044647276402,
0.0719151496887207,
-0.026715196669101715,
0.03663220256567001,
-0.05933337286114693,
-0.003912832122296095,
0.07056590169668198,
0.0038474774919450283,
-0.013619016855955124,
-0.04341219738125801,
0.01963162235915661,
0.05191248655319214,
-0.043884433805942535,
0.04415428638458252,
0.010279616340994835,
0.02659713849425316,
0.0065691727213561535,
0.029025793075561523,
0.0039718616753816605,
0.046144433319568634,
0.05245218798518181,
-0.031471312046051025,
0.02184102311730385,
-0.029278777539730072,
-0.0382850356400013,
0.0755581334233284,
-0.004218521993607283,
-0.021992813795804977,
0.023561319336295128,
-0.005531935021281242,
0.018822070211172104,
0.037610411643981934,
-0.04337846487760544,
-0.04067996144294739,
0.06493277102708817,
0.013559986837208271,
-0.004519995767623186,
-0.006328837014734745,
-0.019884606823325157,
0.001735054305754602,
-0.01702587865293026,
0.04567219316959381,
-0.02511296048760414,
0.005228353198617697,
-0.019209980964660645,
0.04459279030561447,
0.0028334299568086863,
-0.025079229846596718,
0.02187475375831127,
-0.02217833697795868,
-0.028874000534415245,
0.034220412373542786,
-0.018181176856160164,
0.06975635141134262,
0.03197728097438812,
0.017304161563515663,
-0.02870534546673298,
-0.06021038815379143,
0.05123785883188248,
0.01904132403433323,
-0.028739076107740402,
-0.026614002883434296,
0.03135325387120247,
0.0038369365502148867,
-0.03521548956632614,
0.08540767431259155,
-0.026698332279920578,
0.08041544258594513,
-0.019193114712834358,
-0.0019943637307733297,
-0.07623276114463806,
0.01742222160100937,
0.015254984609782696,
-0.005814434494823217,
-0.03484444320201874,
-0.028469225391745567,
0.0068516721948981285,
-0.022212067618966103,
0.0607500895857811,
0.012117973528802395,
0.00909902062267065,
0.024269677698612213,
-0.07218500226736069,
0.01691625267267227,
-0.02595624327659607,
0.01481647789478302,
-0.007855178788304329,
0.02374684251844883,
0.0016728622140362859,
0.03508056327700615,
0.052856963127851486,
0.0008843927644193172,
0.060277849435806274,
0.027895793318748474,
0.0454360730946064,
-0.03885846957564354,
0.005329546984285116,
-0.02826683782041073,
0.0008443368715234101,
-0.006581821944564581,
-0.04213040694594383,
0.04371577873826027,
-0.018754608929157257,
0.04735875874757767,
-0.04341219738125801,
0.007838313467800617,
-0.016072969883680344,
0.034220412373542786,
0.006193911656737328,
0.057376958429813385,
-0.03629488870501518,
-0.0040941378101706505,
0.014605657197535038,
-0.03629488870501518,
-0.028030719608068466,
-0.008293685503304005,
0.008306334726512432,
-0.015229686163365841,
0.006328837014734745,
0.046144433319568634,
-0.01184812281280756,
-0.022161470726132393,
-0.02184102311730385,
0.05093427747488022,
-0.015811551362276077,
-0.009132752195000648,
0.0025024416390806437,
0.0031032804399728775,
-0.007817231118679047,
-0.03811638057231903,
-0.008820737712085247,
-0.008487640880048275,
-0.019985800608992577,
-0.033630117774009705,
0.017742669209837914,
0.1196112260222435,
0.011493943631649017,
-0.03022325411438942,
0.03572145849466324,
-0.032651908695697784,
-0.0360250398516655,
-0.07043097913265228,
0.08527275174856186,
0.03369757905602455,
-0.031909819692373276,
-0.009891706518828869,
-0.0022051844280213118,
-0.050900548696517944,
-0.09215393662452698,
0.030695492401719093,
0.010313347913324833,
-0.005962009076029062,
0.021942216902971268,
-0.04563846439123154,
-0.0261080339550972,
-0.035148024559020996,
0.061795759946107864,
-0.04749368503689766,
-0.03565399348735809,
0.08851096034049988,
-0.06085128337144852,
-0.07501843571662903,
0.019412368535995483,
-0.0019796062260866165,
0.06685545295476913,
0.06837336719036102,
-0.06732769310474396,
0.01829923503100872,
0.038925930857658386,
-0.014158717356622219,
-0.007277530152350664,
0.03007146343588829,
0.007964805699884892,
-0.023139677941799164,
-0.03233145922422409,
-0.037610411643981934,
-0.02330833487212658,
-0.08574499189853668,
0.021132666617631912,
-0.020829083397984505,
0.043007418513298035,
-0.010886779986321926,
0.010119393467903137,
-0.05558919906616211,
-0.046144433319568634,
0.007323910482227802,
-0.028030719608068466,
-0.04351339116692543,
0.011957749724388123,
0.003997160121798515,
0.012227599509060383,
0.005784919485449791,
0.009242379106581211,
-0.031015940010547638,
0.012817897833883762,
-0.0051398081704974174,
0.08770140260457993,
-0.0078762611374259,
-0.06284143030643463,
0.0058060018345713615,
0.007344992831349373,
-0.0012786274310201406,
0.002504549687728286,
-0.022212067618966103,
0.04577338695526123,
-0.04347965866327286,
-0.002494008745998144,
0.009967601858079433,
0.017641475424170494,
0.004256469663232565,
-0.05275576934218407,
0.03528295084834099,
-0.0077033881098032,
0.04587458074092865,
-0.02374684251844883,
-0.022313261404633522,
-0.007395589724183083,
0.0188895333558321,
0.008989393711090088,
-0.004545294214040041,
0.09518975764513016,
0.01643558032810688,
0.01579468511044979,
0.025534601882100105,
0.02698504738509655,
0.03895966336131096,
0.0687781423330307,
-0.04111846536397934,
-0.0027195869479328394,
-0.03110026754438877,
-0.03374817594885826,
-0.021351918578147888,
0.026715196669101715,
-0.009723050519824028,
-0.002936732256785035,
0.005337979644536972,
-0.011519242078065872,
-0.015507970005273819,
0.08135992288589478
] |
713,336
|
xmlschema.resources
|
is_local
|
Returns `True` if the resource is related with local XML data.
|
def is_local(self) -> bool:
"""Returns `True` if the resource is related with local XML data."""
return is_local_url(self._url)
|
(self) -> bool
|
[
0.04167114198207855,
0.00414303969591856,
-0.00495501421391964,
0.026105746626853943,
0.05028551444411278,
0.0037162606604397297,
0.026315852999687195,
0.01762269251048565,
0.03802929446101189,
0.031060760840773582,
-0.0060143014416098595,
-0.07893005013465881,
0.029309872537851334,
-0.01321045309305191,
-0.019417352974414825,
0.028942184522747993,
-0.051125939935445786,
-0.030903179198503494,
0.008570598438382149,
-0.04076068103313446,
-0.045803241431713104,
-0.010417785495519638,
0.037469010800123215,
-0.015687959268689156,
0.026350870728492737,
0.030903179198503494,
0.012475079856812954,
-0.02146589197218418,
0.01651087775826454,
0.008040955290198326,
-0.017885325476527214,
-0.006907254457473755,
0.07570841163396835,
-0.0027007453609257936,
0.020292796194553375,
0.06537817418575287,
-0.008566221222281456,
0.025948164984583855,
-0.045312993228435516,
-0.08950541168451309,
-0.03477264195680618,
0.02129080332815647,
-0.049690213054418564,
0.026543468236923218,
0.034982748329639435,
0.013621911406517029,
-0.03384467214345932,
0.01089052576571703,
0.010645401664078236,
-0.04948010668158531,
0.04324694350361824,
0.0556432344019413,
0.0024052828084677458,
0.04976024851202965,
-0.03900979459285736,
-0.014681199565529823,
0.01717621460556984,
0.09566853940486908,
-0.05728906765580177,
-0.02766403742134571,
0.00419118907302618,
0.007117361295968294,
0.04912992939352989,
-0.03767911717295647,
0.01108312327414751,
0.008097859099507332,
-0.016528386622667313,
-0.02566802315413952,
0.0010040251072496176,
0.07619865983724594,
-0.03165606036782265,
0.010802981443703175,
-0.046853773295879364,
0.04716893285512924,
0.009437288157641888,
-0.05119597539305687,
0.044542599469423294,
0.01081173587590456,
-0.033949725329875946,
-0.004530423786491156,
-0.004276544786989689,
-0.04114587604999542,
-0.001245319377630949,
-0.03813434764742851,
-0.03704879805445671,
-0.025387881323695183,
0.03946502506732941,
-0.0008721612975932658,
0.0534721314907074,
0.05623853579163551,
0.00745003018528223,
0.08733431249856949,
-0.04664366692304611,
-0.08138129115104675,
0.06107098609209061,
-0.0050600674003362656,
0.015241483226418495,
-0.036068301647901535,
-0.0029130405746400356,
-0.0846729651093483,
-0.031796131283044815,
0.03704879805445671,
-0.031148305162787437,
-0.00803220085799694,
0.023601975291967392,
0.012098638340830803,
0.004475708585232496,
-0.03436993807554245,
-0.001452143071219325,
-0.013744473457336426,
-0.014374793507158756,
-0.06012550741434097,
0.004661740269511938,
0.0680745393037796,
0.026105746626853943,
-0.04895484074950218,
-0.03436993807554245,
0.007156756240874529,
-0.025545461103320122,
-0.008369246497750282,
0.037819188088178635,
0.02713876962661743,
-0.019592441618442535,
-0.06751425564289093,
0.021535927429795265,
0.02197364903986454,
0.06870485842227936,
-0.01035650447010994,
-0.007520065642893314,
-0.014637426473200321,
0.013613156974315643,
0.015127675607800484,
-0.05718401446938515,
0.05984536558389664,
-0.006859105080366135,
-0.016694720834493637,
0.024757562205195427,
0.07346727699041367,
-0.03985022008419037,
0.06527312099933624,
-0.026018202304840088,
0.0510559044778347,
-0.0336170569062233,
0.030728090554475784,
-0.037118833512067795,
0.029870156198740005,
-0.050775762647390366,
-0.01311415433883667,
-0.03370460122823715,
-0.03400225192308426,
0.07353731244802475,
-0.06880991160869598,
-0.044717688113451004,
0.009095865301787853,
-0.06394244730472565,
0.0020222761668264866,
-0.029379907995462418,
-0.008627502247691154,
0.053437113761901855,
-0.03683869168162346,
-0.040480539202690125,
0.0064038741402328014,
0.010120134800672531,
-0.0021907989867031574,
-0.029502470046281815,
-0.016265753656625748,
-0.01577550359070301,
-0.09230683743953705,
-0.030710581690073013,
0.03988523781299591,
0.035157836973667145,
0.01622198149561882,
0.00012488759239204228,
0.021938631311058998,
0.02038034051656723,
0.011249457485973835,
0.046013347804546356,
-0.014322266913950443,
0.022726532071828842,
0.06520308554172516,
-0.007471916265785694,
-0.00035564921563491225,
-0.037644099444150925,
0.013184189796447754,
0.01540781743824482,
0.02109820581972599,
-0.011468319222331047,
-0.06705902516841888,
0.06537817418575287,
0.07949033379554749,
-0.01106561440974474,
-0.007922769524157047,
-0.0005985849420540035,
-0.018681978806853294,
-0.025055212900042534,
-0.03886972367763519,
0.0392899364233017,
-0.012133656069636345,
-0.024372367188334465,
0.032549016177654266,
0.0015954970149323344,
-0.03718886896967888,
-0.010951806791126728,
0.044752705842256546,
-0.029887665063142776,
0.06544820964336395,
-0.0580594576895237,
-0.002317738486453891,
-0.0006264897529035807,
0.06254173070192337,
-0.022954147309064865,
-0.039955273270606995,
-0.020520411431789398,
0.030255351215600967,
0.023111727088689804,
0.03015029802918434,
-0.117799773812294,
0.03225136548280716,
0.008544335141777992,
0.016195718199014664,
0.051651205867528915,
-0.03893975913524628,
0.04041050374507904,
-0.04944508895277977,
-0.002536599524319172,
-0.021238276734948158,
0.028644533827900887,
0.023321833461523056,
-0.058759815990924835,
-0.012615150772035122,
0.010338995605707169,
0.013551875948905945,
0.031463462859392166,
0.0077257947996258736,
0.03876467049121857,
-0.02321678027510643,
0.02584311179816723,
0.058199528604745865,
0.02018774300813675,
0.005195761099457741,
-0.012063620612025261,
-0.03211129456758499,
-0.004841206595301628,
-0.06930015981197357,
-0.031148305162787437,
-0.04748409241437912,
-0.017395075410604477,
0.024547455832362175,
0.002394339768216014,
-0.07914015650749207,
-0.010155152529478073,
0.014751235023140907,
-0.07829973101615906,
-0.05882985144853592,
0.04716893285512924,
-0.06509803235530853,
-0.0414610356092453,
0.019084682688117027,
0.011941058561205864,
-0.023356851190328598,
-0.03648851439356804,
-0.02675357460975647,
0.04093576967716217,
0.09889017790555954,
-0.0510559044778347,
-0.03950004279613495,
-0.01946987956762314,
-0.009253445081412792,
-0.02533535473048687,
0.004311562515795231,
0.11506838351488113,
0.006119355093687773,
0.0031997484620660543,
-0.006784692406654358,
0.01472497172653675,
-0.07059582322835922,
0.0013963334495201707,
-0.02960752323269844,
-0.037994276732206345,
-0.03067556396126747,
-0.007445652969181538,
0.02214873768389225,
0.0198550745844841,
-0.0006828464684076607,
0.007296827156096697,
-0.09342740476131439,
-0.04016537964344025,
-0.005191383883357048,
-0.03309179097414017,
-0.05469775199890137,
-0.005016295239329338,
0.07325717061758041,
0.00044729726505465806,
-0.033249370753765106,
-0.005025049671530724,
0.015994366258382797,
0.014917569234967232,
-0.00034415899426676333,
-0.0019839752931147814,
0.0198550745844841,
-0.02640339732170105,
-0.026613503694534302,
-0.010163906961679459,
-0.016292016953229904,
0.008378000929951668,
0.0362083725631237,
-0.003935121465474367,
0.011704688891768456,
0.012518852017819881,
0.04979526624083519,
-0.021518418565392494,
-0.0047449073754251,
-0.03380965441465378,
-0.003593698376789689,
0.02374204620718956,
0.016134437173604965,
0.025808094069361687,
-0.003795050550252199,
-0.008745687082409859,
0.03876467049121857,
-0.02997520938515663,
0.06268180161714554,
-0.027383893728256226,
-0.016362052410840988,
-0.0464685782790184,
-0.01587180234491825,
0.06352222710847855,
-0.013744473457336426,
-0.01655464991927147,
0.03580566868185997,
0.009402270428836346,
0.004893733188509941,
0.009174655191600323,
0.008194157853722572,
-0.005725405178964138,
0.017184969037771225,
-0.033757127821445465,
-0.052736759185791016,
0.0654832273721695,
-0.06800450384616852,
0.012317500077188015,
-0.005125725641846657,
-0.0024993931874632835,
-0.02708624303340912,
-0.01356063038110733,
0.05655369535088539,
-0.027173787355422974,
0.016195718199014664,
0.08810470253229141,
-0.03813434764742851,
-0.08929530531167984,
0.006079960148781538,
0.0005550863570533693,
0.030903179198503494,
-0.01929479092359543,
0.0078308479860425,
-0.005782308988273144,
0.021746033802628517,
0.07717916369438171,
0.07325717061758041,
0.0418812520802021,
-0.029887665063142776,
-0.016151946038007736,
-0.011827250942587852,
-0.020993152633309364,
-0.050250496715307236,
0.09188662469387054,
0.014331021346151829,
-0.003050923114642501,
-0.05333206057548523,
-0.031988732516765594,
-0.03690872713923454,
-0.025562969967722893,
-0.05462771654129028,
0.015083903446793556,
-0.006902877241373062,
0.01770148240029812,
-0.021325821056962013,
-0.0260707288980484,
0.01480376161634922,
0.02017023414373398,
0.0764087662100792,
-0.0015703280223533511,
0.00633821589872241,
0.01738632097840309,
-0.02144838310778141,
-0.0055897110141813755,
-0.009087110869586468,
-0.07094600051641464,
0.0069203865714371204,
0.06471283733844757,
-0.034982748329639435,
-0.030080262571573257,
0.02713876962661743,
-0.010514085181057453,
-0.05525803565979004,
0.004364089109003544,
-0.00727056385949254,
0.020590446889400482,
0.030588019639253616,
0.03407228738069534,
0.010067608207464218,
-0.05168622359633446,
-0.005313946399837732,
0.00562910595908761,
0.0001682494330452755,
0.0008004842675291002,
0.0033310651779174805,
-0.03914986550807953,
0.007344976998865604,
-0.007099852431565523,
-0.02356695756316185,
-0.04524295777082443,
-0.029187308624386787,
-0.02197364903986454,
0.02496766857802868,
0.04716893285512924,
0.005016295239329338,
0.036243390291929245,
0.04380722716450691,
0.01645835116505623,
0.026280835270881653,
0.05960024148225784,
-0.00787899736315012,
-0.03743399307131767,
-0.038729652762413025,
0.01071543712168932,
-0.028049232438206673,
0.014733726158738136,
0.055923376232385635,
0.012536360882222652,
-0.043492067605257034,
0.06506301462650299,
-0.042091358453035355,
0.03260154277086258,
0.04499782994389534,
-0.014637426473200321,
-0.02678859233856201,
-0.062471698969602585,
0.010837999172508717,
0.010330241173505783,
-0.05770928040146828,
-0.0059617748484015465,
0.008973303250968456,
-0.0033901575952768326,
-0.018541907891631126,
-0.05988038331270218,
0.02426731213927269,
0.01787657104432583,
0.008741309866309166,
-0.05179127678275108,
0.035192858427762985,
-0.015013867989182472,
-0.027418911457061768,
-0.09321729838848114,
0.004359711892902851,
0.017631446942687035,
0.018489381298422813,
-0.032881684601306915,
0.049865301698446274,
-0.021763542667031288,
0.03813434764742851,
-0.02818930335342884,
-0.07836976647377014,
0.06986044347286224,
-0.05581832304596901,
-0.06835468113422394,
0.0008716141455806792,
0.00838237814605236,
0.0030946952756494284,
-0.011932304129004478,
0.010268960148096085,
-0.012702695094048977,
-0.012553869746625423,
0.021483400836586952,
-0.005331455264240503,
-0.04478772357106209,
0.05669376626610756,
0.000885292945895344,
-0.006898500025272369,
-0.06117603927850723,
-0.03081563487648964,
0.022533932700753212,
-0.008194157853722572,
0.0051476117223501205,
-0.08558342605829239,
-0.02391713485121727,
0.019084682688117027,
0.009402270428836346,
0.042966801673173904,
0.042441535741090775,
0.008640633895993233,
0.01346433162689209,
-0.017325039952993393,
-0.0026832364965230227,
-0.007148001808673143,
0.019172227010130882,
0.06313703209161758,
0.030920688062906265,
0.004451633896678686,
0.026280835270881653,
-0.02071300894021988,
0.011118141002953053,
0.05067070946097374,
0.027243822813034058,
0.0028233074117451906,
0.0015298387734219432,
-0.013149172067642212,
-0.011643407866358757,
0.011188176460564137,
-0.00975244864821434,
0.004701135214418173,
0.0903458371758461,
0.03662858530879021,
0.023847099393606186,
0.024337349459528923,
0.004762416239827871,
0.001167623675428331,
0.05476778745651245,
-0.0449628122150898,
0.019785039126873016,
-0.040130361914634705,
0.06912507116794586,
-0.02638588845729828,
-0.03690872713923454,
-0.013499349355697632,
-0.07220663875341415,
0.019084682688117027,
-0.08285203576087952,
0.03760908171534538,
0.05329704284667969,
-0.004213075153529644,
0.035718124359846115,
-0.02885464020073414,
0.03844950720667839,
0.10155152529478073,
-0.04503284767270088,
-0.06800450384616852,
-0.040130361914634705,
0.022638987749814987,
0.0324089452624321,
-0.05960024148225784,
0.0002328134432900697,
-0.007555083371698856,
0.014112160541117191,
-0.04398231580853462,
0.021868595853447914,
0.011013087816536427,
0.021395856514573097,
0.010111380368471146,
0.014593654312193394,
-0.010978070087730885,
0.015828030183911324,
-0.03683869168162346,
0.09447793662548065,
0.013779491186141968,
-0.00003274366463301703,
0.024389876052737236,
-0.0386245995759964,
0.027418911457061768,
0.0057691773399710655,
-0.02372453734278679,
-0.05119597539305687,
0.0829220712184906,
-0.03967513144016266,
-0.020625464618206024,
0.009980063885450363,
-0.0567287839949131,
0.018174221739172935,
-0.005957397632300854,
0.03015029802918434,
-0.03967513144016266,
0.025300337001681328,
-0.000380818237317726,
0.04751911014318466,
-0.012168674729764462,
0.0058217039331793785,
-0.010470313020050526,
0.012133656069636345,
0.012054866179823875,
0.025808094069361687,
-0.042266447097063065,
0.020870588719844818,
-0.019014647230505943,
-0.004898110404610634,
-0.014068388380110264,
0.024039696902036667,
0.06285689026117325,
0.012291236780583858,
-0.03830943629145622,
-0.013551875948905945,
0.003064054762944579,
0.044752705842256546,
-0.03732893988490105,
0.04307185485959053,
-0.05665874853730202,
0.07094600051641464,
-0.07031567394733429,
0.03347698599100113,
-0.00117418949957937,
0.024757562205195427,
0.0005788874696008861,
-0.025825602933764458,
-0.04373719170689583,
-0.036593567579984665,
-0.03627840802073479,
-0.09223680198192596,
0.003138467436656356,
-0.024407384917140007,
-0.003911046776920557,
0.034632571041584015,
-0.05406743288040161,
-0.02726133167743683,
-0.02941492572426796,
0.06114102154970169,
0.020975643768906593,
-0.02055542916059494,
0.01845436356961727,
-0.020958134904503822,
0.010155152529478073,
-0.006609603762626648,
-0.002130612265318632,
0.027891652658581734,
0.014830024912953377,
-0.04230146482586861,
0.031270865350961685,
0.036068301647901535,
-0.013157926499843597,
-0.026508450508117676,
0.02358446642756462,
0.022744040936231613,
-0.013359278440475464,
0.036418478935956955,
0.02640339732170105,
0.021185750141739845,
-0.0580594576895237,
0.03865961730480194,
0.02358446642756462,
0.03365207463502884,
-0.01531151868402958,
-0.05259668827056885,
0.031235849484801292,
-0.02409222349524498,
-0.02216624654829502,
-0.033389441668987274,
0.00015402346616610885,
0.03561307117342949,
-0.03879968822002411,
0.031288374215364456,
-0.021045679226517677,
-0.0648178905248642,
0.031621042639017105,
0.0663236528635025,
-0.0028123643714934587,
-0.0024709412828087807,
0.05634358897805214,
-0.03757406398653984,
0.00921842735260725,
0.003683431539684534,
-0.049515124410390854,
-0.012974082492291927,
-0.038554564118385315,
-0.0013372410321608186,
0.015705468133091927,
0.060860879719257355,
0.04699384421110153,
-0.00022091287246439606,
-0.02797919698059559,
-0.020415358245372772,
-0.008767573162913322,
-0.05918002873659134,
0.07886001467704773,
0.043842244893312454,
-0.02500268630683422,
0.011004333384335041,
0.006959781516343355,
-0.032356418669223785,
-0.03669862076640129,
-0.023514430969953537,
0.021851086989045143,
-0.0060318103060126305,
0.01645835116505623,
0.007257432211190462,
0.04426245763897896,
0.011380774900317192,
0.06268180161714554,
-0.008356114849448204,
-0.024057205766439438,
0.03788922354578972,
0.023339342325925827,
-0.05728906765580177,
-0.031796131283044815,
-0.008592484518885612,
0.06880991160869598,
0.05371725559234619,
-0.0375390462577343,
-0.0062112766318023205,
0.02960752323269844,
0.012431307695806026,
0.0035564920399338007,
0.045803241431713104,
0.028486954048275948,
-0.007029816973954439,
-0.009647395461797714,
-0.022411370649933815,
0.003333253785967827,
-0.009446042589843273,
-0.010881771333515644,
-0.010794227011501789,
0.05189632996916771,
-0.018874576315283775,
-0.02867955155670643,
-0.011529600247740746,
-0.08383253961801529,
0.018471872434020042,
0.01750888302922249,
0.007957788184285164,
-0.02659599483013153,
0.04268665984272957,
0.02694617211818695,
0.014409811235964298,
-0.024197276681661606,
-0.03921990096569061,
-0.012632659636437893,
-0.00014513223140966147,
0.007800207938998938,
-0.0095510957762599,
-0.03792424127459526,
-0.0017837175400927663,
0.015530380420386791,
-0.012939064763486385,
0.022586459293961525,
-0.04237150028347969,
0.08404264599084854,
0.03193620592355728,
0.0008212761022150517,
0.010312732309103012,
0.05728906765580177,
-0.03314431756734848,
-0.010899280197918415,
0.053227007389068604,
0.013201698660850525,
0.002394339768216014,
-0.03662858530879021,
-0.029362399131059647,
-0.0012026414042338729,
0.028311865404248238,
-0.0037162606604397297,
-0.03050047531723976,
0.050250496715307236,
0.04590829461812973,
-0.0018614132422953844,
0.02992268279194832,
-0.022446388378739357,
0.01894461177289486,
0.02974759414792061,
-0.017395075410604477,
0.01810418628156185,
-0.0238996259868145,
0.0014773120637983084,
-0.027681546285748482,
0.007970919832587242,
0.0028714570216834545,
0.02691115438938141,
0.001664438284933567,
0.003851954359561205,
-0.004180246032774448,
0.05623853579163551
] |
713,337
|
xmlschema.resources
|
is_remote
|
Returns `True` if the resource is related with remote XML data.
|
def is_remote(self) -> bool:
"""Returns `True` if the resource is related with remote XML data."""
return is_remote_url(self._url)
|
(self) -> bool
|
[
0.05115460231900215,
-0.026693981140851974,
-0.015695564448833466,
0.027314359322190285,
0.04558892548084259,
-0.00004632063792087138,
0.036584582179784775,
0.023716166615486145,
0.023946592584252357,
0.04803498834371567,
0.0034608233254402876,
-0.07338186353445053,
0.031444303691387177,
-0.01986982300877571,
-0.00722740450873971,
-0.004657266661524773,
-0.025275975465774536,
-0.03530837595462799,
0.027615686878561974,
-0.04225660860538483,
-0.04098040238022804,
-0.0023685148917138577,
0.017654187977313995,
-0.03449302166700363,
0.035645149648189545,
0.06030074879527092,
0.02222725935280323,
-0.00976652279496193,
-0.005835984833538532,
0.049133941531181335,
-0.03683273121714592,
-0.02387569285929203,
0.07153845578432083,
-0.011822633445262909,
0.03521974757313728,
0.0862148255109787,
-0.007856644690036774,
0.053919717669487,
-0.07444536685943604,
-0.06579552590847015,
-0.051509104669094086,
0.0157576035708189,
-0.004963024519383907,
0.030398525297641754,
0.049240294843912125,
0.007138778921216726,
-0.04643972963094711,
0.024212470278143883,
-0.016324805095791817,
-0.07664328068494797,
0.03137340396642685,
0.04342646524310112,
0.010838891379535198,
0.04168940708041191,
-0.0315152071416378,
-0.012957039289176464,
-0.005454895552247763,
0.11379506438970566,
-0.043461915105581284,
-0.005007337313145399,
-0.016094379127025604,
-0.007386930286884308,
0.06692992895841599,
-0.04629793018102646,
-0.006531694903969765,
0.01953304558992386,
-0.03025672398507595,
-0.015686701983213425,
-0.018079590052366257,
0.0730273574590683,
-0.029264118522405624,
0.02100422792136669,
-0.03984599560499191,
0.028874168172478676,
0.017131296917796135,
-0.0487794391810894,
0.05122550204396248,
0.0315152071416378,
-0.014153482392430305,
-0.01363059226423502,
0.016493193805217743,
-0.017211059108376503,
0.0192494448274374,
-0.03470572084188461,
-0.03227738291025162,
-0.0203661248087883,
0.031337954103946686,
0.0037687967997044325,
0.023822518065571785,
0.03162155672907829,
-0.010147612541913986,
0.03949149325489998,
-0.034422118216753006,
-0.11648927628993988,
0.04321376234292984,
0.02715483494102955,
0.010971829295158386,
-0.02231588587164879,
0.011742870323359966,
-0.09748797863721848,
-0.03573377802968025,
0.047893185168504715,
-0.009872873313724995,
-0.018770867958664894,
0.026410380378365517,
0.0011316360905766487,
-0.010404625907540321,
-0.017246510833501816,
-0.027828387916088104,
0.00045946749742142856,
0.0034719014074653387,
-0.027420710772275925,
0.00038192025385797024,
0.03736448287963867,
0.036070551723241806,
-0.051828157156705856,
-0.03016809932887554,
0.010900928638875484,
-0.013674904592335224,
-0.008073776960372925,
0.02697758376598358,
0.03708088397979736,
0.009527234360575676,
-0.05338796228170395,
0.023397115990519524,
0.030522599816322327,
0.03825074061751366,
-0.022865362465381622,
0.006952665746212006,
-0.00796742644160986,
-0.014135757461190224,
-0.008977756835520267,
-0.0495593436062336,
0.052927110344171524,
-0.000895670847967267,
0.01106931734830141,
0.018469540402293205,
0.04941754415631294,
0.0063898940570652485,
0.02242223545908928,
-0.025346875190734863,
0.04714873433113098,
-0.0192494448274374,
0.01389646902680397,
-0.06515742093324661,
0.010280550457537174,
-0.05225355923175812,
-0.0088005056604743,
0.017742812633514404,
-0.03321681544184685,
0.03610600158572197,
-0.04941754415631294,
0.0027451729401946068,
0.008516904897987843,
-0.05228900909423828,
0.02756251022219658,
-0.021465081721544266,
0.002062757033854723,
0.04601432755589485,
-0.03270278498530388,
-0.032791413366794586,
0.009013206698000431,
0.0060043735429644585,
0.009075244888663292,
-0.018788592889904976,
-0.026268579065799713,
-0.006265818607062101,
-0.09777158498764038,
-0.031532932072877884,
0.07678508013486862,
-0.018185939639806747,
0.012336661107838154,
-0.004949730820953846,
-0.012354386039078236,
0.01974574662744999,
0.03835709020495415,
0.05732293426990509,
-0.0045996601693332195,
0.0339435413479805,
0.06898604333400726,
-0.031958334147930145,
-0.001162101048976183,
-0.03119615465402603,
0.0196393970400095,
0.021429629996418953,
0.022883087396621704,
0.007417948916554451,
-0.071573905646801,
0.057252030819654465,
0.06997864693403244,
-0.021021952852606773,
-0.0025922940112650394,
0.023538915440440178,
-0.009137282148003578,
-0.039881445467472076,
-0.04846039041876793,
0.04087405279278755,
0.022262709215283394,
-0.011042729951441288,
0.05299801006913185,
-0.00823773443698883,
-0.03846343979239464,
-0.03754173591732979,
0.06721353530883789,
0.0005860357196070254,
0.02520507387816906,
-0.050055645406246185,
-0.00966903567314148,
0.04846039041876793,
0.034209419041872025,
-0.01635139249265194,
-0.028874168172478676,
-0.012327798642218113,
0.021872758865356445,
0.022369060665369034,
0.04105130210518837,
-0.09046884626150131,
0.014082581736147404,
-0.011290880851447582,
0.016218455508351326,
0.05235990881919861,
-0.03488297387957573,
0.036070551723241806,
-0.04321376234292984,
-0.02522279880940914,
0.002231145277619362,
0.022085459902882576,
0.01861134171485901,
-0.0524662584066391,
-0.037931688129901886,
0.016900870949029922,
0.014632059261202812,
0.04736143350601196,
0.02697758376598358,
0.07136119902133942,
-0.023078063502907753,
0.00241947453469038,
0.06239230930805206,
0.009332258254289627,
0.04959479346871376,
-0.012584812007844448,
-0.027137108147144318,
-0.0017038240330293775,
-0.0664336308836937,
-0.038747042417526245,
-0.08238620311021805,
0.007750294636934996,
0.038215287029743195,
-0.014835897833108902,
-0.09365936368703842,
0.0043071964755654335,
-0.013205190189182758,
-0.0738072618842125,
-0.0704040452837944,
0.017866889014840126,
-0.06969504058361053,
-0.021429629996418953,
0.017866889014840126,
0.05338796228170395,
-0.021943658590316772,
-0.026623081415891647,
-0.018256839364767075,
0.017982101067900658,
0.12379200756549835,
-0.06278225779533386,
-0.023822518065571785,
-0.0276865866035223,
0.009190457873046398,
-0.040165048092603683,
0.016856558620929718,
0.12123959511518478,
-0.016236180439591408,
0.005268782377243042,
-0.016005754470825195,
-0.00025839853333309293,
-0.058599140495061874,
-0.0021026385948061943,
-0.009642447344958782,
-0.049133941531181335,
-0.08344971388578415,
-0.012788650579750538,
0.02974269725382328,
0.029778147116303444,
-0.026002703234553337,
-0.008711880072951317,
-0.10273461043834686,
-0.03569832444190979,
0.00380646251142025,
-0.04629793018102646,
-0.046368829905986786,
0.004706010688096285,
0.04672333225607872,
-0.024035219103097916,
-0.03477662056684494,
0.002858170308172703,
0.03711633384227753,
0.004036888480186462,
0.023290764540433884,
-0.01635139249265194,
0.01903674378991127,
-0.051190052181482315,
-0.005960060749202967,
-0.02859056554734707,
-0.014747273176908493,
0.0023330645635724068,
0.020082524046301842,
0.02612677961587906,
0.010980691760778427,
0.02160688117146492,
0.05360066518187523,
-0.004923142958432436,
0.00047026871470734477,
-0.05196995660662651,
-0.004265099298208952,
0.019054468721151352,
0.01739717274904251,
0.01831001602113247,
-0.006886196322739124,
-0.020029349252581596,
0.05012654885649681,
-0.034936148673295975,
0.036974530667066574,
-0.03506022319197655,
-0.021589156240224838,
-0.020862428471446037,
0.016998358070850372,
0.04888579249382019,
-0.0029445800464600325,
-0.0341385193169117,
0.04743233323097229,
0.02243996039032936,
0.00904865749180317,
0.030948001891374588,
0.032560985535383224,
0.02550640143454075,
-0.0276865866035223,
-0.02623312920331955,
-0.06646908074617386,
0.08033009618520737,
-0.032667335122823715,
-0.015385376289486885,
-0.0167767945677042,
0.023202139884233475,
-0.04473812133073807,
0.014428221620619297,
0.055514972656965256,
-0.026268579065799713,
0.01997617445886135,
0.05193450674414635,
-0.036974530667066574,
-0.0711839497089386,
0.02387569285929203,
-0.006744395941495895,
0.021730957552790642,
-0.03747083619236946,
0.004367018584161997,
-0.037718985229730606,
0.03630097955465317,
0.05689753219485283,
0.05966264382004738,
0.027438435703516006,
-0.006779845803976059,
0.005578971467912197,
0.023733891546726227,
-0.07043949514627457,
-0.016634995117783546,
0.053246162831783295,
0.013958506286144257,
0.01770736277103424,
-0.06863153725862503,
-0.025843176990747452,
-0.009801973588764668,
-0.01789347641170025,
-0.06636273115873337,
0.02355664037168026,
-0.00988173671066761,
0.001447918126359582,
-0.059627193957567215,
0.0031816530972719193,
0.003263631835579872,
0.024017494171857834,
0.062002357095479965,
-0.01946214586496353,
-0.017937788739800453,
0.02066745236515999,
-0.02704848349094391,
-0.036797281354665756,
-0.0002919100224971771,
-0.07621787488460541,
0.009075244888663292,
0.043071962893009186,
-0.047077830880880356,
-0.04062590003013611,
0.024513795971870422,
-0.037825338542461395,
-0.08784553408622742,
0.015615802258253098,
-0.00787880178540945,
0.0027052913792431355,
-0.006057548802345991,
0.04023594781756401,
0.05111915245652199,
-0.005025062244385481,
0.00009541082545183599,
0.01583736576139927,
-0.00004458967305254191,
0.007914251647889614,
-0.0010756911942735314,
-0.024673322215676308,
-0.026073602959513664,
-0.017636461183428764,
-0.04030684754252434,
-0.04271746054291725,
-0.018132764846086502,
-0.025151899084448814,
0.045234423130750656,
0.041618503630161285,
0.01059073954820633,
0.02747388556599617,
0.036797281354665756,
0.02860829047858715,
0.004564209841191769,
0.044100016355514526,
-0.025878626853227615,
-0.06246320903301239,
-0.0053972890600562096,
0.02440744638442993,
-0.03715178370475769,
0.014445946551859379,
0.028679192066192627,
0.026605356484651566,
0.01481817290186882,
0.060761600732803345,
-0.011911259032785892,
0.0528562106192112,
0.011308605782687664,
-0.022723563015460968,
-0.02612677961587906,
-0.019107643514871597,
0.018150489777326584,
-0.03662003204226494,
-0.04558892548084259,
-0.039278794080019,
0.004378096666187048,
0.0013515378814190626,
-0.02243996039032936,
-0.009864010848104954,
0.004794636275619268,
0.04293016344308853,
-0.007351479958742857,
-0.036797281354665756,
0.027420710772275925,
-0.011441543698310852,
-0.031940609216690063,
-0.08075550198554993,
-0.011999884620308876,
0.029069144278764725,
0.040803153067827225,
-0.0319051556289196,
0.03984599560499191,
-0.005804966203868389,
-0.0019652689807116985,
-0.0711839497089386,
-0.084371417760849,
0.026693981140851974,
-0.06363306194543839,
-0.03293321281671524,
-0.021961383521556854,
0.0366554819047451,
0.028466491028666496,
-0.00360040832310915,
-0.024815121665596962,
0.0034142949152737856,
0.008153540082275867,
0.002906914334744215,
0.015367650426924229,
0.00035284002660773695,
0.054380569607019424,
-0.04168940708041191,
-0.010333726182579994,
-0.10535792261362076,
-0.036265529692173004,
-0.00976652279496193,
-0.04484447091817856,
0.013027939014136791,
-0.0909651517868042,
-0.004865536466240883,
-0.015270163305103779,
0.030717575922608376,
0.029069144278764725,
0.0506228506565094,
0.006757689639925957,
0.008871406316757202,
0.0014069288736209273,
0.01285955123603344,
-0.021163754165172577,
0.010351451113820076,
0.05824463814496994,
0.051828157156705856,
0.007178660482168198,
0.011326330713927746,
-0.019213994964957237,
0.043568264693021774,
0.017033809795975685,
0.028750091791152954,
-0.028360139578580856,
0.020224325358867645,
0.012070784345269203,
-0.017751675099134445,
0.04619157686829567,
0.00439582159742713,
0.012159409932792187,
0.07749408483505249,
0.035769227892160416,
0.0353970006108284,
0.000831971294246614,
0.014587746933102608,
0.017636461183428764,
0.030912552028894424,
-0.04555347561836243,
0.06239230930805206,
-0.06997864693403244,
0.06512197107076645,
-0.01689200848340988,
-0.02151825651526451,
0.005450464319437742,
-0.0671071782708168,
0.007714844308793545,
-0.08337881416082382,
0.009491784498095512,
0.04714873433113098,
0.006212643347680569,
0.0043736654333770275,
-0.052749861031770706,
0.020348399877548218,
0.08217350393533707,
-0.0477159358561039,
-0.015101774595677853,
-0.05445146933197975,
0.033606767654418945,
0.018168214708566666,
-0.04030684754252434,
-0.04062590003013611,
-0.0025103155057877302,
-0.05512502044439316,
-0.03835709020495415,
0.02385796792805195,
-0.0030952433589845896,
0.03364221751689911,
-0.011299743317067623,
0.01974574662744999,
0.02944136969745159,
0.00740908645093441,
-0.021075129508972168,
0.06370396167039871,
0.043178312480449677,
0.008765055797994137,
-0.004652835428714752,
-0.03621235489845276,
0.019728021696209908,
0.029689522460103035,
-0.031231604516506195,
-0.030717575922608376,
0.04601432755589485,
-0.013728080317378044,
0.0022632721811532974,
0.037009984254837036,
-0.04849584028124809,
0.003443098161369562,
-0.022776737809181213,
0.00997922383248806,
-0.02871464192867279,
-0.006350012496113777,
0.01245187409222126,
0.09139055013656616,
-0.0007278363918885589,
0.0148624861612916,
0.004856674000620842,
0.009934911504387856,
0.012460736557841301,
-0.003567173844203353,
-0.048921242356300354,
0.05434511974453926,
-0.029069144278764725,
-0.015713289380073547,
-0.011813770979642868,
-0.009952636435627937,
0.051828157156705856,
0.03034535050392151,
-0.036584582179784775,
0.011760595254600048,
0.013728080317378044,
0.031054353341460228,
-0.045234423130750656,
0.018877217546105385,
-0.03506022319197655,
0.05711023136973381,
-0.030682126060128212,
0.03365994244813919,
0.004683854524046183,
0.0384988896548748,
-0.025807727128267288,
0.004112220369279385,
-0.07770678400993347,
-0.030522599816322327,
-0.039030641317367554,
-0.11819088459014893,
-0.030097197741270065,
-0.02706620842218399,
-0.008875837549567223,
0.043887317180633545,
-0.03436894342303276,
-0.0185227170586586,
-0.015881678089499474,
0.027420710772275925,
0.04459632188081741,
-0.02385796792805195,
0.038640689104795456,
-0.04293016344308853,
-0.006279112305492163,
0.016431156545877457,
0.005649871658533812,
0.04353281483054161,
0.0005893591442145407,
-0.05267896130681038,
0.05966264382004738,
0.008778349496424198,
-0.003669093130156398,
-0.04332011565566063,
0.05764198303222656,
0.019178545102477074,
0.008711880072951317,
0.055195923894643784,
0.03417396917939186,
-0.0021358730737119913,
-0.07494167238473892,
0.04597887769341469,
0.02160688117146492,
0.030522599816322327,
-0.008047189563512802,
0.00021242410002741963,
0.020596550777554512,
-0.057783786207437515,
-0.015358787961304188,
-0.045447126030921936,
0.019320344552397728,
0.03839254006743431,
-0.015261299908161163,
-0.005242194514721632,
-0.024141568690538406,
-0.03474117070436478,
0.022369060665369034,
0.0711839497089386,
-0.0048522427678108215,
-0.014339596033096313,
0.023893417790532112,
-0.030682126060128212,
0.043568264693021774,
0.009943773970007896,
-0.021624606102705002,
0.01614755392074585,
-0.029973123222589493,
-0.0001999611413339153,
-0.0012230310821905732,
0.038427989929914474,
0.05342341214418411,
0.013595142401754856,
-0.06373941153287888,
-0.022369060665369034,
0.015332200564444065,
-0.03034535050392151,
0.05927269160747528,
0.03286231309175491,
-0.01542968861758709,
0.017211059108376503,
0.0022632721811532974,
-0.06391666829586029,
-0.033376339823007584,
-0.04303651303052902,
0.013382441364228725,
-0.015341063030064106,
-0.004732598550617695,
-0.014844761230051517,
0.04487992078065872,
-0.009252496063709259,
0.049346644431352615,
0.028111988678574562,
0.009456334635615349,
-0.010954104363918304,
-0.0017858025385066867,
-0.05204085633158684,
-0.013134289532899857,
-0.024744221940636635,
0.08394601196050644,
0.048921242356300354,
-0.031851980835199356,
-0.020632002502679825,
0.024035219103097916,
0.024052944034337997,
0.018575891852378845,
0.047999538481235504,
0.0335535891354084,
-0.00941202137619257,
0.006265818607062101,
-0.038640689104795456,
0.0192494448274374,
-0.014835897833108902,
-0.01399395614862442,
0.016333667561411858,
0.024566970765590668,
-0.03365994244813919,
-0.008211147040128708,
0.003500704886391759,
-0.09110695123672485,
0.014313007704913616,
0.02336166612803936,
0.015722151845693588,
-0.01260253693908453,
0.03181653097271919,
0.041831206530332565,
-0.015261299908161163,
0.008552354760468006,
-0.020401576533913612,
-0.014889073558151722,
0.0011454838095232844,
0.023609817028045654,
0.0018456247635185719,
-0.0076926881447434425,
0.022386785596609116,
0.0026277441065758467,
0.008778349496424198,
0.03497159853577614,
-0.03057577647268772,
0.07153845578432083,
-0.008977756835520267,
-0.001867781043983996,
0.011654244735836983,
0.0417957566678524,
-0.02243996039032936,
-0.01265571266412735,
0.05976899340748787,
-0.02275901287794113,
0.0025125311221927404,
-0.04998474568128586,
-0.00023513435735367239,
-0.024956922978162766,
0.025772277265787125,
0.022386785596609116,
-0.009864010848104954,
0.01625390537083149,
0.02242223545908928,
-0.014632059261202812,
0.04459632188081741,
-0.02336166612803936,
0.03181653097271919,
0.02304261364042759,
-0.051402755081653595,
0.038215287029743195,
-0.01758328638970852,
-0.0034054324496537447,
-0.013346990570425987,
0.009101832285523415,
-0.022085459902882576,
0.004172042477875948,
0.0006768768071196973,
0.011361781507730484,
-0.002121471334248781,
0.05824463814496994
] |
713,338
|
xmlschema.resources
|
is_thin
|
Returns `True` if the XML resource is lazy and thin.
|
def is_thin(self) -> bool:
"""Returns `True` if the XML resource is lazy and thin."""
return bool(self._lazy) and self._thin_lazy
|
(self) -> bool
|
[
0.04267473146319389,
-0.03429645299911499,
0.03545442596077919,
0.01427032146602869,
0.05926100164651871,
0.007535343058407307,
0.035386309027671814,
0.04209574684500694,
0.0029587927274405956,
-0.04584212973713875,
0.031316373497247696,
0.015138802118599415,
0.027348611503839493,
-0.0026756853330880404,
-0.037838488817214966,
-0.028796078637242317,
-0.002207387238740921,
-0.0029992368072271347,
0.00598570192232728,
-0.03261058032512665,
-0.05115518718957901,
0.04696604609489441,
0.017088625580072403,
-0.01934497058391571,
0.0025394530966877937,
0.018084822222590446,
0.0032333857379853725,
0.0049256449565291405,
0.03482435271143913,
0.0011707453522831202,
-0.04638706147670746,
-0.015087714418768883,
0.0731566846370697,
-0.013861625455319881,
0.06614072620868683,
0.051291417330503464,
0.04424140229821205,
0.06038491800427437,
-0.05868201330304146,
-0.019889898598194122,
-0.007045758422464132,
-0.041687048971652985,
-0.03155478090047836,
0.02109896019101143,
-0.020026132464408875,
-0.017778299748897552,
0.012056548148393631,
0.05081460624933243,
0.00011647585779428482,
-0.029749704524874687,
0.0494522824883461,
0.006769036874175072,
0.013452928513288498,
0.07022769004106522,
-0.028796078637242317,
-0.0005800510989502072,
-0.005751552525907755,
0.0933871641755104,
-0.03317253664135933,
0.010472849011421204,
0.01043879147619009,
-0.006662605330348015,
0.04230009391903877,
-0.0524834506213665,
0.02838738262653351,
0.00742891151458025,
-0.02876202017068863,
0.00839956570416689,
0.0027033574879169464,
0.05255156755447388,
-0.016518153250217438,
0.002682071179151535,
-0.023040268570184708,
0.05582113936543465,
-0.03719138726592064,
-0.08548569679260254,
-0.005330084357410669,
-0.006287966854870319,
-0.014031914994120598,
-0.026871798560023308,
0.012831369414925575,
0.0017422819510102272,
-0.0327468104660511,
-0.05442475900053978,
-0.03886023163795471,
-0.008165416307747364,
0.042640674859285355,
0.012686622329056263,
0.016696957871317863,
0.041482701897621155,
-0.05418635159730911,
0.10912198573350906,
0.018544606864452362,
-0.026190638542175293,
0.08630309253931046,
0.04257255792617798,
-0.008821033872663975,
-0.0030141370370984077,
0.003671883139759302,
-0.08923207968473434,
-0.053403016179800034,
0.013546587899327278,
-0.009706543758511543,
-0.0014102159766480327,
0.04219792038202286,
-0.011273213662207127,
-0.0008216503774747252,
0.025015635415911674,
-0.0005122011061757803,
-0.04499068111181259,
0.00891469419002533,
-0.10190167278051376,
-0.05200663581490517,
0.056604474782943726,
0.0036548541393131018,
-0.04461603984236717,
0.003263186663389206,
-0.0014336309395730495,
0.015785904601216316,
0.009076469577848911,
0.021882295608520508,
-0.04870300740003586,
-0.0436624176800251,
-0.05370954051613808,
0.020775409415364265,
0.05370954051613808,
0.04890735447406769,
0.03504573181271553,
0.0007492770091630518,
0.009570310823619366,
0.005777096375823021,
0.028472527861595154,
-0.01323155127465725,
0.027331583201885223,
-0.056842878460884094,
-0.03773631528019905,
0.004240226931869984,
0.06508492678403854,
-0.001776339951902628,
0.02244425378739834,
-0.03565877676010132,
0.03194644674658775,
-0.0441051721572876,
0.020366711542010307,
-0.00009824948210734874,
0.001776339951902628,
-0.05347113311290741,
-0.010915604420006275,
0.013154920190572739,
0.01235455647110939,
0.03855370730161667,
-0.04727257043123245,
-0.009595855139195919,
-0.005666407756507397,
-0.06859290599822998,
0.026769625023007393,
-0.03913269564509392,
-0.0200942475348711,
0.019396057352423668,
-0.07118131965398788,
-0.01476416364312172,
0.011545677669346333,
-0.016535181552171707,
-0.03009028360247612,
-0.05561679229140282,
0.004097608849406242,
-0.06144071742892265,
-0.06447188556194305,
0.048021845519542694,
0.04546749219298363,
0.009136071428656578,
0.015709273517131805,
-0.009417049586772919,
0.03811095282435417,
0.05582113936543465,
0.05677476525306702,
0.04352618381381035,
-0.01839134469628334,
-0.02607143484055996,
0.043764591217041016,
0.003075867425650358,
-0.016909820958971977,
-0.04328777641057968,
-0.03264463692903519,
-0.017131198197603226,
0.04291313886642456,
0.05347113311290741,
-0.0696827620267868,
0.05442475900053978,
0.0566725917160511,
0.004597836174070835,
0.02375548705458641,
0.01953228935599327,
0.0065050870180130005,
-0.018493520095944405,
-0.021882295608520508,
0.03603341430425644,
-0.02648013085126877,
0.03254246339201927,
0.047000106424093246,
-0.07451900839805603,
-0.022103672847151756,
-0.001115401042625308,
0.04008632153272629,
0.049929097294807434,
0.0282000619918108,
-0.06188347190618515,
0.0036612399853765965,
-0.04219792038202286,
0.02852361463010311,
-0.06580014526844025,
-0.03603341430425644,
-0.006773293949663639,
0.07785669714212418,
0.0708407387137413,
0.022887008264660835,
-0.024266358464956284,
0.016773588955402374,
-0.08187554776668549,
-0.036884862929582596,
0.022563455626368523,
0.005568490829318762,
0.048771124333143234,
-0.0036356966011226177,
-0.019770696759223938,
0.0016475580632686615,
0.0012814339715987444,
0.027076147496700287,
0.00489158695563674,
0.04022255167365074,
-0.01495148241519928,
0.05496968701481819,
0.05752404034137726,
0.04315154626965523,
0.048771124333143234,
0.016756558790802956,
-0.004355172626674175,
0.052994322031736374,
0.013086804188787937,
-0.009110527113080025,
-0.009961978532373905,
-0.024470707401633263,
-0.02932397834956646,
-0.10299153625965118,
-0.03364935144782066,
-0.05466316640377045,
-0.01043027639389038,
0.013240065425634384,
-0.0318102166056633,
-0.026667451485991478,
-0.03664645925164223,
0.0068201241083443165,
-0.00518108019605279,
-0.07363349944353104,
0.00018864964658860117,
-0.06954652816057205,
-0.04407111182808876,
-0.01512177288532257,
-0.04304937273263931,
0.022529397159814835,
0.005083163268864155,
0.013904198072850704,
0.023704400286078453,
0.10067558288574219,
-0.03293413296341896,
0.004866043571382761,
-0.01226089708507061,
0.011426474899053574,
-0.06774145364761353,
0.0007370373932644725,
0.0705682709813118,
-0.024249330163002014,
-0.011545677669346333,
-0.01822105422616005,
-0.0015868921764194965,
-0.04420734569430351,
0.007250106893479824,
-0.014713075943291187,
-0.034773264080286026,
0.012882456183433533,
0.0018423274159431458,
0.01856163516640663,
0.021337365731596947,
0.0005630220985040069,
-0.024555852636694908,
-0.1214509978890419,
-0.04066530615091324,
0.039779797196388245,
-0.03780443221330643,
-0.03967762365937233,
-0.03259355202317238,
0.030567096546292305,
0.0406312495470047,
-0.0524834506213665,
0.01639043539762497,
-0.020962728187441826,
-0.024010922759771347,
-0.019872870296239853,
-0.025764912366867065,
-0.0233467910438776,
0.043798647820949554,
-0.02493049018085003,
-0.040699366480112076,
0.0010887931566685438,
0.01953228935599327,
0.024010922759771347,
0.029034484177827835,
0.00005108707046019845,
0.002784245414659381,
0.03507978841662407,
-0.03027760423719883,
-0.005172566045075655,
0.011732997372746468,
0.0352841354906559,
-0.005155536811798811,
-0.008706088177859783,
0.001325070858001709,
0.03511384502053261,
-0.017386632040143013,
0.06597043573856354,
-0.05714940279722214,
0.03637399524450302,
-0.005679179448634386,
0.01502811349928379,
-0.022716717794537544,
-0.020077219232916832,
0.06624290347099304,
0.0028417182620614767,
-0.06416536122560501,
-0.0011239155428484082,
-0.038213130086660385,
-0.009715057909488678,
0.0030567096546292305,
0.04499068111181259,
-0.046284884214401245,
-0.022546427324414253,
0.029426151886582375,
-0.04212980344891548,
0.01072828471660614,
-0.09529441595077515,
0.05905665457248688,
-0.002409606706351042,
0.026020348072052002,
0.0021499141585081816,
0.014142603613436222,
0.0054322583600878716,
0.0010073732119053602,
-0.04144864156842232,
0.08684802055358887,
-0.006109162233769894,
-0.0517682321369648,
0.000209270729101263,
0.031094996258616447,
0.0475790910422802,
0.022546427324414253,
0.003954990766942501,
-0.0334620326757431,
0.011732997372746468,
0.048192135989665985,
0.03272978216409683,
0.0008030249155126512,
0.01587104983627796,
-0.05646824091672897,
0.02852361463010311,
-0.02091164141893387,
0.006466771475970745,
0.03865588456392288,
0.029085572808980942,
-0.02566273882985115,
-0.03279789909720421,
-0.05980592966079712,
-0.0243685320019722,
-0.07608567923307419,
-0.03913269564509392,
0.04982692375779152,
-0.03027760423719883,
-0.031708043068647385,
-0.004614865407347679,
0.04304937273263931,
0.048941414803266525,
0.01734406128525734,
0.06641319394111633,
-0.005500374361872673,
-0.0220525860786438,
-0.05704722926020622,
-0.055071860551834106,
-0.03777037560939789,
-0.03354717791080475,
-0.042436327785253525,
-0.025935202836990356,
0.05210881307721138,
0.0028502328786998987,
-0.05244939401745796,
0.015879563987255096,
-0.03104390949010849,
-0.05915882810950279,
0.04778343811631203,
-0.01861272193491459,
0.018169967457652092,
0.0019732380751520395,
0.025407303124666214,
-0.006620032712817192,
0.02149062789976597,
0.026190638542175293,
-0.04516097158193588,
-0.030788473784923553,
0.02201852761209011,
0.037089213728904724,
0.007237334735691547,
-0.0032610578928142786,
-0.05115518718957901,
-0.03140151873230934,
-0.06763928383588791,
-0.016918335109949112,
-0.005457802210003138,
0.00612619100138545,
0.06113419309258461,
0.017241885885596275,
0.016867248341441154,
0.036510225385427475,
0.034398626536130905,
0.03654428571462631,
0.07124943286180496,
-0.005227910354733467,
-0.046455174684524536,
-0.03817906975746155,
0.01898736134171486,
-0.030601155012845993,
0.013444414362311363,
0.015334635972976685,
-0.008161159232258797,
-0.013580646365880966,
-0.016628840938210487,
-0.05922694504261017,
0.03169101104140282,
-0.03140151873230934,
0.0074544548988342285,
-0.05405012145638466,
-0.012882456183433533,
-0.026394985616207123,
0.015002570115029812,
0.009093498811125755,
-0.006568945944309235,
0.01618608646094799,
0.021984469145536423,
-0.0174206905066967,
-0.02607143484055996,
0.03009028360247612,
0.06862696260213852,
-0.024606939405202866,
-0.048021845519542694,
-0.026565276086330414,
-0.00846768170595169,
-0.030124342069029808,
-0.06280303746461868,
-0.029272891581058502,
0.0040145921520888805,
-0.0249475184828043,
-0.047034163028001785,
0.03375152498483658,
-0.02336381934583187,
0.019106565043330193,
-0.04121023789048195,
-0.03896240517497063,
0.020758379250764847,
-0.06614072620868683,
-0.02472614124417305,
0.022921064868569374,
-0.018067793920636177,
0.018748953938484192,
0.007582172751426697,
-0.030005140230059624,
0.06777551025152206,
-0.0624624565243721,
0.037293560802936554,
0.02126925066113472,
-0.03455188870429993,
0.09120745211839676,
0.0719987079501152,
-0.008361250162124634,
-0.020077219232916832,
-0.002226544776931405,
0.017131198197603226,
-0.005713237449526787,
0.019396057352423668,
-0.02590114437043667,
-0.04693198949098587,
-0.00469575310125947,
0.031094996258616447,
-0.008821033872663975,
-0.005943129304796457,
0.03279789909720421,
0.032082680612802505,
0.002682071179151535,
0.016398949548602104,
0.017088625580072403,
0.006926555186510086,
0.05381171405315399,
0.06038491800427437,
0.03298521786928177,
-0.024113096296787262,
-0.06331390887498856,
0.04982692375779152,
0.021984469145536423,
-0.008889149874448776,
0.021967440843582153,
-0.021797150373458862,
-0.009033896960318089,
-0.011903287842869759,
0.01861272193491459,
0.055650848895311356,
-0.015658186748623848,
0.03221891075372696,
0.05885230377316475,
0.04693198949098587,
0.0028779050335288048,
0.013580646365880966,
0.04499068111181259,
0.05503780394792557,
-0.05868201330304146,
0.0656639114022255,
-0.02072432078421116,
0.052245043218135834,
-0.03364935144782066,
-0.0282000619918108,
-0.0005475895595736802,
0.012048033997416496,
-0.011349843814969063,
-0.021694974973797798,
0.024249330163002014,
0.05442475900053978,
-0.02605440653860569,
0.00025051290867850184,
-0.048362426459789276,
-0.004976732190698385,
-0.004717039410024881,
-0.06767334043979645,
-0.018442431464791298,
0.036135587841272354,
0.0026565275620669127,
0.018084822222590446,
-0.05541244149208069,
0.06001028046011925,
0.06075955554842949,
0.010225928388535976,
0.023653313517570496,
0.0018987361108884215,
0.02181417867541313,
-0.044377636164426804,
-0.0313674621284008,
-0.002858747262507677,
-0.013589160516858101,
-0.00034696634975261986,
-0.08030887693166733,
0.07874220609664917,
-0.014338437467813492,
0.016867248341441154,
-0.02683774009346962,
-0.02739969827234745,
0.0555146150290966,
0.039200812578201294,
-0.023312732577323914,
0.013461442664265633,
0.010294044390320778,
-0.00017534573271404952,
-0.019430115818977356,
0.013555102981626987,
-0.02910260111093521,
0.007629002444446087,
-0.01956634782254696,
0.05704722926020622,
0.003940090071409941,
-0.00017933690105564892,
0.03278087079524994,
0.029034484177827835,
0.0270420890301466,
0.032304055988788605,
0.019600406289100647,
-0.03817906975746155,
-0.01840837486088276,
0.04304937273263931,
-0.032457318156957626,
-0.01592213660478592,
-0.022290991619229317,
0.0110262930393219,
-0.020588088780641556,
-0.015445324592292309,
0.0821480080485344,
-0.018817070871591568,
-0.04304937273263931,
-0.003020523115992546,
0.008565599098801613,
0.03606747090816498,
-0.06471028923988342,
0.05561679229140282,
-0.0066583482548594475,
0.05997622013092041,
-0.04352618381381035,
0.03405804559588432,
0.0009610755369067192,
0.03126528859138489,
0.012465245090425014,
0.00008135350071825087,
-0.02719535119831562,
-0.023295704275369644,
0.0013676434755325317,
-0.03473920747637749,
-0.024470707401633263,
-0.027246437966823578,
-0.024027952924370766,
0.018510548397898674,
-0.003940090071409941,
0.019259825348854065,
-0.023840632289648056,
-0.012967601418495178,
0.027093175798654556,
-0.04560372605919838,
-0.03283195570111275,
0.0015741203678771853,
-0.017914531752467155,
-0.02108193188905716,
0.011154009960591793,
0.061032019555568695,
0.008821033872663975,
-0.027518901973962784,
-0.011630822904407978,
0.047408800572156906,
-0.059874046593904495,
-0.003314273664727807,
-0.037293560802936554,
0.04291313886642456,
0.002443664940074086,
0.07594944536685944,
0.005147022195160389,
-0.02721237950026989,
0.0019253439968451858,
0.02528809942305088,
0.04393488168716431,
0.024232299998402596,
-0.03392181545495987,
-0.01504514180123806,
-0.014900395646691322,
-0.029221804812550545,
0.0015475124819204211,
-0.017275944352149963,
-0.017897503450512886,
0.01140944566577673,
-0.027638105675578117,
0.042810965329408646,
-0.015275034122169018,
-0.039405159652233124,
0.04499068111181259,
0.011196582578122616,
-0.010396218858659267,
-0.030192459002137184,
0.0378725491464138,
0.023278675973415375,
-0.016058368608355522,
-0.003016265807673335,
-0.0282000619918108,
-0.005342856049537659,
-0.04890735447406769,
-0.024794258177280426,
0.00867203064262867,
0.09604369103908539,
0.026190638542175293,
-0.02988593652844429,
-0.04921387881040573,
-0.019038448110222816,
-0.037089213728904724,
-0.03264463692903519,
0.0669240653514862,
0.0383153036236763,
-0.07111319899559021,
-0.009289332665503025,
-0.004823470953851938,
-0.06491463631391525,
-0.03582906350493431,
-0.03240623325109482,
0.030005140230059624,
-0.00584946945309639,
-0.002924734726548195,
-0.018663810566067696,
0.014994055032730103,
0.0013836082071065903,
0.05442475900053978,
-0.02203555591404438,
-0.021984469145536423,
-0.013563617132604122,
-0.004212554544210434,
-0.04826025292277336,
-0.0376000851392746,
-0.007152189966291189,
0.10278718918561935,
0.021115988492965698,
-0.0471363365650177,
0.00694358441978693,
0.022938095033168793,
0.0401884950697422,
-0.04308342933654785,
0.0383153036236763,
-0.006539145018905401,
-0.029749704524874687,
-0.024249330163002014,
-0.037838488817214966,
0.017590980976819992,
-0.020162364467978477,
-0.03027760423719883,
0.04277690872550011,
0.04219792038202286,
-0.005466316360980272,
0.0705682709813118,
0.04778343811631203,
-0.06167912110686302,
-0.0053939432837069035,
-0.045331262052059174,
-0.010174841620028019,
-0.0011973532382398844,
0.020162364467978477,
0.02871093340218067,
-0.016041340306401253,
-0.018067793920636177,
-0.00651785871013999,
-0.01953228935599327,
-0.04236821085214615,
0.04717039316892624,
0.01971960999071598,
-0.030975794419646263,
-0.019651493057608604,
-0.003250414738431573,
0.03290007263422012,
-0.028796078637242317,
-0.06689000129699707,
0.05459504947066307,
0.04216386377811432,
0.016228659078478813,
0.04093777388334274,
0.04121023789048195,
0.018442431464791298,
-0.040154438465833664,
0.06348419934511185,
-0.015658186748623848,
-0.00849322509020567,
-0.021763091906905174,
-0.03589718043804169,
-0.009093498811125755,
0.03332579880952835,
0.02833629585802555,
0.019464174285531044,
0.02297215349972248,
0.03579500690102577,
0.026548247784376144,
0.005351370666176081,
-0.0122523820027709,
0.09406832605600357,
0.03603341430425644,
-0.03923486918210983,
-0.005704722832888365,
-0.03732762113213539,
-0.0487370640039444,
-0.0019274725345894694,
0.000920631573535502,
-0.023806575685739517,
0.058171145617961884,
0.007284164894372225,
0.03685080632567406,
0.017727212980389595,
0.04696604609489441
] |
713,339
|
xmlschema.resources
|
iter
|
XML resource tree iterator. If tag is not None or '*', only elements whose
tag equals tag are returned from the iterator. In a lazy resource the yielded
elements are full over or at *lazy_depth* level, otherwise are incomplete and
thin for default.
|
def iter(self, tag: Optional[str] = None) -> Iterator[ElementType]:
"""
XML resource tree iterator. If tag is not None or '*', only elements whose
tag equals tag are returned from the iterator. In a lazy resource the yielded
elements are full over or at *lazy_depth* level, otherwise are incomplete and
thin for default.
"""
if not self._lazy:
yield from self._root.iter(tag)
return
resource = self.open()
tag = '*' if tag is None else tag.strip()
lazy_depth = int(self._lazy)
subtree_elements: Deque[ElementType] = deque()
ancestors = []
level = 0
try:
for event, node in self._lazy_iterparse(resource):
if event == "start":
if level < lazy_depth:
if level:
ancestors.append(node)
if tag == '*' or node.tag == tag:
yield node # an incomplete element
level += 1
else:
level -= 1
if level < lazy_depth:
if level:
ancestors.pop()
continue # pragma: no cover
elif level > lazy_depth:
if tag == '*' or node.tag == tag:
subtree_elements.appendleft(node)
continue # pragma: no cover
if tag == '*' or node.tag == tag:
yield node # a full element
yield from subtree_elements
subtree_elements.clear()
self._lazy_clear(node, ancestors)
finally:
# Close the resource only if it was originally opened by XMLResource
if resource is not self._source:
resource.close()
|
(self, tag: Optional[str] = None) -> Iterator[Optional[~T]]
|
[
0.029987279325723648,
-0.036332521587610245,
-0.042178284376859665,
-0.02512197755277157,
0.0034200483933091164,
0.05486876517534256,
0.009813850745558739,
-0.004883801098912954,
0.05316683650016785,
-0.03148571774363518,
0.03973638266324997,
0.014105675742030144,
-0.015474620275199413,
0.027915364131331444,
-0.06385940313339233,
0.027563877403736115,
-0.025991441681981087,
0.02628743089735508,
-0.07070412486791611,
0.04746906831860542,
-0.04258526861667633,
0.03918140381574631,
0.02610243856906891,
0.016954559832811356,
-0.0112845404073596,
0.009656607173383236,
0.013291709125041962,
-0.030838245525956154,
-0.0028881949838250875,
-0.04654410481452942,
-0.03648051619529724,
-0.014993639662861824,
-0.00819054152816534,
-0.03858942911028862,
0.00911550410091877,
0.003574979491531849,
-0.040661346167325974,
0.062120471149683,
-0.020645160228013992,
0.002136663068085909,
0.0169083122164011,
-0.004039773251861334,
-0.006206497550010681,
-0.06189848110079765,
0.01419817190617323,
-0.0024025896564126015,
0.08835240453481674,
0.017315294593572617,
-0.017481788992881775,
-0.036591511219739914,
0.1084795817732811,
0.047765057533979416,
-0.012486991472542286,
-0.025732452049851418,
-0.04561914503574371,
0.04587813466787338,
-0.040846336632966995,
0.020774655044078827,
0.023142557591199875,
0.02354954183101654,
0.0066042314283549786,
-0.030042776837944984,
0.018739737570285797,
0.017935020849108696,
-0.04584113508462906,
-0.030727248638868332,
0.0056468951515853405,
-0.056866686791181564,
-0.016325585544109344,
0.047210078686475754,
-0.05357382073998451,
0.00486992672085762,
0.005818013101816177,
0.02373453415930271,
-0.053758811205625534,
-0.045545145869255066,
-0.03379812464118004,
0.03646201640367508,
0.021829111501574516,
-0.06256445497274399,
-0.016260838136076927,
0.041364315897226334,
-0.022236095741391182,
0.02822985127568245,
0.01787027344107628,
0.010516822338104248,
0.028026359155774117,
-0.026601918041706085,
-0.02009018324315548,
0.06755924969911575,
-0.03224418684840202,
0.0596785694360733,
0.006317493040114641,
0.012061509303748608,
0.05549774318933487,
0.015178631991147995,
-0.04258526861667633,
0.017898021265864372,
-0.010785060934722424,
-0.003403861541301012,
0.021311132237315178,
0.01964620128273964,
0.017491038888692856,
0.029506299644708633,
0.01593710109591484,
0.024825990200042725,
0.0015296564670279622,
0.01946120709180832,
0.060048557817935944,
-0.0027818242087960243,
-0.02060816064476967,
-0.05760665610432625,
0.018545495346188545,
0.06966816633939743,
-0.03444559872150421,
-0.04166030511260033,
-0.004749681800603867,
0.014281419105827808,
0.03555555269122124,
-0.05176089331507683,
0.021810611709952354,
-0.006978841032832861,
-0.03159671276807785,
0.0041207075119018555,
-0.015243379399180412,
-0.00127182318829,
0.044028207659721375,
0.04188229516148567,
-0.035111572593450546,
-0.0009209156269207597,
0.021718116477131844,
0.0231795571744442,
0.01585385389626026,
-0.014993639662861824,
0.019313214346766472,
-0.08132269233465195,
0.00782980676740408,
0.0015597178135067225,
-0.06582032144069672,
0.029506299644708633,
0.01486414484679699,
-0.011682274751365185,
-0.022143598645925522,
0.05042894929647446,
-0.0654873326420784,
-0.029339805245399475,
0.03796045482158661,
0.030838245525956154,
0.0052167875692248344,
-0.008357034996151924,
-0.047839052975177765,
-0.03468608856201172,
0.032447680830955505,
0.04188229516148567,
0.012320498935878277,
0.02867383323609829,
-0.008986009284853935,
0.021126139909029007,
-0.040143366903066635,
-0.10574169456958771,
-0.03222568705677986,
0.05453578010201454,
-0.05205688253045082,
0.008222915232181549,
-0.023401547223329544,
0.017731528729200363,
-0.07828881591558456,
-0.02983928471803665,
0.026971902698278427,
-0.01530812680721283,
0.006807723082602024,
-0.015604115091264248,
0.025806449353694916,
0.019276214763522148,
0.006516359746456146,
0.06230546534061432,
0.01654757745563984,
0.015696611255407333,
-0.019257716834545135,
0.0587536096572876,
-0.026842407882213593,
-0.010914555750787258,
0.0003627586702350527,
-0.024733493104577065,
-0.01243149396032095,
0.04735807329416275,
0.0405503511428833,
-0.04188229516148567,
0.0000845473405206576,
-0.02090414986014366,
-0.012810728512704372,
-0.007358075585216284,
0.01199676189571619,
0.009971094317734241,
-0.03738697990775108,
0.03224418684840202,
-0.029006820172071457,
0.017324544489383698,
0.057310666888952255,
0.060492537915706635,
-0.06541334092617035,
0.017842523753643036,
0.03627702221274376,
0.02512197755277157,
-0.00342929782345891,
0.029506299644708633,
-0.023864028975367546,
-0.019849691540002823,
-0.05361081659793854,
0.025547459721565247,
-0.04883801192045212,
-0.008722394704818726,
0.02645392343401909,
0.03524106740951538,
0.03361313045024872,
0.030412761494517326,
-0.07873279601335526,
-0.049799975007772446,
-0.03657301142811775,
-0.0654873326420784,
0.025417964905500412,
0.03303965553641319,
-0.004763556178659201,
-0.06578332185745239,
0.024308010935783386,
-0.04106833040714264,
0.04458318650722504,
-0.01583535596728325,
-0.0315227173268795,
0.04861602187156677,
0.010775811038911343,
-0.014975140802562237,
0.0994519516825676,
-0.03416810929775238,
0.03762746974825859,
0.024733493104577065,
0.03829343989491463,
0.023346049711108208,
0.02946930006146431,
0.0011822175001725554,
-0.04273325949907303,
-0.02699040248990059,
-0.022883567959070206,
-0.08043472468852997,
-0.04913400113582611,
0.008727019652724266,
-0.007561567239463329,
0.03627702221274376,
0.00844490621238947,
-0.0009810382034629583,
-0.01992368884384632,
0.0009752571932040155,
-0.03888541832566261,
-0.05938258394598961,
0.05893860012292862,
-0.06730026006698608,
0.008740894496440887,
-0.021662618964910507,
0.0069742160849273205,
0.023697536438703537,
0.0382564440369606,
-0.04265926405787468,
0.043769218027591705,
0.1438501477241516,
-0.020645160228013992,
0.023031562566757202,
0.024382008239626884,
-0.04413920268416405,
-0.0016267775790765882,
0.03981037810444832,
0.05042894929647446,
-0.0005168227362446487,
0.01671406999230385,
0.030949240550398827,
0.0429922491312027,
-0.0001617238885955885,
0.006539484020322561,
0.047654058784246445,
-0.027230892330408096,
-0.0063729905523359776,
-0.02292056754231453,
0.0072054569609463215,
-0.012449993751943111,
0.030505258589982986,
-0.0310602355748415,
-0.08894438296556473,
-0.022791072726249695,
0.060566533356904984,
-0.009656607173383236,
0.0056468951515853405,
0.048912011086940765,
0.029191812500357628,
-0.045175161212682724,
-0.027138395234942436,
0.05316683650016785,
-0.04247426986694336,
-0.05823563039302826,
-0.01358769740909338,
-0.00885188952088356,
0.026749910786747932,
0.04092033579945564,
-0.04920799657702446,
0.02362353913486004,
0.004604000132530928,
-0.002973753958940506,
0.05497976392507553,
0.007260954473167658,
0.0003604462544899434,
-0.060159552842378616,
0.03710949048399925,
0.0004827147349715233,
-0.0019343275343999267,
0.02610243856906891,
-0.05879060924053192,
-0.034908078610897064,
-0.05453578010201454,
0.026786910369992256,
0.01688981242477894,
0.00342929782345891,
0.021033644676208496,
-0.07133309543132782,
0.07717885822057724,
0.015021388418972492,
-0.038441434502601624,
-0.019627701491117477,
0.05919758975505829,
0.04647010937333107,
0.06189848110079765,
-0.008042547851800919,
-0.019590701907873154,
-0.0038409060798585415,
-0.010563069954514503,
-0.05849462002515793,
0.07643888890743256,
-0.046877093613147736,
0.02665741555392742,
0.040402356535196304,
-0.016445830464363098,
0.001896172878332436,
-0.08376459032297134,
0.023568041622638702,
0.03627702221274376,
-0.0021609433460980654,
-0.030597755685448647,
-0.015641113743185997,
0.0025760200805962086,
0.04413920268416405,
-0.04051335155963898,
0.036869000643491745,
0.025251472368836403,
0.03231818601489067,
0.009804600849747658,
0.05771765112876892,
0.0005069950129836798,
0.021829111501574516,
-0.022698575630784035,
0.008759393356740475,
0.041771300137043,
-0.0007041275966912508,
0.05213087797164917,
0.024567000567913055,
0.018129263073205948,
-0.0177130289375782,
-0.016001848503947258,
0.051205914467573166,
-0.07162908464670181,
-0.013920683413743973,
0.056422702968120575,
-0.03773846477270126,
-0.008565151132643223,
-0.003581916680559516,
-0.02338304929435253,
-0.07566192001104355,
-0.032780665904283524,
0.00014915017527528107,
-0.058383625000715256,
0.014521908946335316,
0.0310602355748415,
0.032447680830955505,
0.01981269381940365,
0.040402356535196304,
0.08376459032297134,
0.041475310921669006,
-0.039514392614364624,
-0.05135390907526016,
-0.11166145652532578,
0.03107873536646366,
-0.009943345561623573,
-0.008287662640213966,
0.00249046110548079,
0.006719851400703192,
-0.021107640117406845,
-0.030246268957853317,
-0.002428026171401143,
-0.04817203804850578,
-0.05568273365497589,
0.07754884660243988,
-0.044657181948423386,
0.009013758040964603,
0.008925886824727058,
-0.003803907660767436,
0.023050062358379364,
-0.005725516937673092,
0.033224646002054214,
0.03903341293334961,
-0.04336223378777504,
0.03133772313594818,
-0.062453459948301315,
-0.007880679331719875,
0.032780665904283524,
-0.005827262997627258,
-0.051575902849435806,
-0.0040929582901299,
0.001951670623384416,
0.021884609013795853,
-0.056681692600250244,
0.042252279818058014,
0.05930858477950096,
0.002552896039560437,
0.03870042413473129,
-0.001460284343920648,
-0.037571970373392105,
0.02619493380188942,
0.050502944737672806,
-0.02736038714647293,
-0.048653021454811096,
0.03635102137923241,
-0.018295755609869957,
-0.051020924001932144,
0.023438546806573868,
-0.044213201850652695,
-0.031467217952013016,
-0.030727248638868332,
-0.04195629432797432,
0.02469649538397789,
-0.05956757441163063,
-0.06330442428588867,
-0.02114463970065117,
0.013014220632612705,
-0.005609896499663591,
0.011025551706552505,
0.027119895443320274,
0.05771765112876892,
-0.011959763243794441,
0.01576135866343975,
-0.004402820952236652,
-0.009656607173383236,
0.09360618889331818,
0.003988900221884251,
-0.019257716834545135,
-0.012644235044717789,
-0.025158975273370743,
0.03918140381574631,
-0.034908078610897064,
-0.04647010937333107,
-0.0008330442360602319,
0.04051335155963898,
-0.0014845646219328046,
-0.03204069659113884,
-0.005175164435058832,
0.011562029831111431,
0.02107064239680767,
0.05904959514737129,
-0.061639491468667984,
-0.02319805510342121,
-0.027656374499201775,
0.027822867035865784,
0.02512197755277157,
-0.027138395234942436,
-0.048283036798238754,
0.050058960914611816,
0.01446641143411398,
-0.017491038888692856,
-0.06522834300994873,
0.00016259103722404689,
-0.022532083094120026,
-0.05879060924053192,
0.019091222435235977,
0.032873161137104034,
-0.017417041584849358,
0.013892934657633305,
-0.02904381789267063,
0.09375418722629547,
-0.009934095665812492,
-0.0529448464512825,
-0.025880446657538414,
0.0405503511428833,
0.004990172106772661,
-0.010859058238565922,
0.009989593178033829,
-0.032429181039333344,
-0.008283037692308426,
-0.022458085790276527,
-0.009175626561045647,
-0.0019146720878779888,
-0.008250663988292217,
0.02680540829896927,
0.01699155941605568,
0.011747022159397602,
-0.040402356535196304,
-0.009143252857029438,
-0.06530234217643738,
0.04069834202528,
0.03470458835363388,
-0.0019389523658901453,
0.07769683748483658,
0.009915596805512905,
0.004557752050459385,
0.034297604113817215,
-0.0016857439186424017,
0.026860907673835754,
-0.021089142188429832,
0.011219792999327183,
-0.009249623864889145,
0.044287197291851044,
-0.05993755906820297,
0.017731528729200363,
0.032521676272153854,
0.03196669742465019,
-0.010304080322384834,
0.02443750575184822,
0.008703895844519138,
0.017898021265864372,
0.04095733165740967,
0.009887848049402237,
-0.03635102137923241,
-0.01217250432819128,
-0.01798126846551895,
-0.012098507955670357,
-0.015548617579042912,
0.06204647570848465,
-0.02016417868435383,
0.014632904902100563,
-0.03768296539783478,
-0.03302115574479103,
-0.032170191407203674,
0.024899987503886223,
-0.054905764758586884,
-0.015123134478926659,
0.02691640518605709,
0.040402356535196304,
0.019054224714636803,
0.043510228395462036,
0.04388021305203438,
0.0014695338904857635,
0.004044397734105587,
-0.017546536400914192,
-0.0026662040036171675,
0.037127990275621414,
0.0010602381080389023,
0.012644235044717789,
-0.03710949048399925,
-0.03141172230243683,
0.024363508448004723,
0.020682157948613167,
-0.03353913500905037,
-0.005748641211539507,
-0.01849924772977829,
-0.03265117108821869,
0.04883801192045212,
0.026786910369992256,
0.08605849742889404,
-0.10241182893514633,
-0.009499363601207733,
0.08776042610406876,
-0.004828303586691618,
0.028470341116189957,
-0.01761128380894661,
0.05042894929647446,
0.03966238722205162,
0.052870847284793854,
0.0015273441094905138,
0.008333911187946796,
0.0023124059662222862,
0.036869000643491745,
0.06474736332893372,
-0.013744940981268883,
-0.03929240256547928,
0.02292056754231453,
-0.04724707826972008,
0.03431610390543938,
-0.04913400113582611,
0.03472308814525604,
-0.03710949048399925,
0.017639031633734703,
0.0058550117537379265,
-0.02593594416975975,
0.05912359431385994,
-0.05568273365497589,
-0.02946930006146431,
0.008981384336948395,
-0.07932477444410324,
-0.026620415970683098,
-0.04913400113582611,
0.007658688351511955,
-0.026157936081290245,
0.0015342812985181808,
-0.03903341293334961,
-0.07355300337076187,
-0.04610012471675873,
0.00028543759253807366,
0.02027517557144165,
-0.004157705698162317,
0.03392761945724487,
-0.04006936773657799,
-0.0172505471855402,
0.0029991904739290476,
-0.012135505676269531,
0.020423168316483498,
0.057754650712013245,
0.0050317952409386635,
-0.04861602187156677,
0.044657181948423386,
0.004474505316466093,
-0.009471614845097065,
0.0016314024105668068,
-0.050058960914611816,
0.008255288936197758,
0.0005801248480565846,
-0.018563995137810707,
-0.03157821670174599,
-0.013014220632612705,
0.0030269392300397158,
0.042696263641119,
-0.06774424016475677,
-0.014087176881730556,
0.032355181872844696,
-0.05486876517534256,
-0.0014440974919125438,
0.04417620226740837,
0.056681692600250244,
-0.027397384867072105,
0.013726441189646721,
-0.028784828260540962,
-0.030486758798360825,
-0.01744478940963745,
0.05912359431385994,
0.021292634308338165,
-0.04436119645833969,
-0.03477858379483223,
-0.003033876419067383,
0.0047126831486821175,
-0.018073763698339462,
-0.025787951424717903,
-0.03185570240020752,
-0.0014279106399044394,
0.029191812500357628,
0.00016201293328776956,
0.034649088978767395,
-0.02441900596022606,
0.009457740001380444,
0.0382564440369606,
0.017130302265286446,
0.0009608046384528279,
-0.03361313045024872,
0.004673372488468885,
0.011895015835762024,
-0.018554745241999626,
0.013615446165204048,
0.07140709459781647,
0.029691291972994804,
-0.012098507955670357,
0.001896172878332436,
0.032429181039333344,
-0.024215513840317726,
-0.008241415023803711,
-0.0008885419811122119,
-0.004442131612449884,
-0.0540178008377552,
0.01066481601446867,
-0.0811007022857666,
0.04591513052582741,
-0.0008977915858849883,
-0.05916059389710426,
-0.03705399110913277,
0.011219792999327183,
-0.02724939025938511,
-0.011913514696061611,
-0.03196669742465019,
0.0038755922578275204,
-0.032429181039333344,
0.019350212067365646,
-0.013698692433536053,
-0.012089258059859276,
-0.00041045204852707684,
0.020811652764678,
-0.01486414484679699,
-0.07425598055124283,
0.07040813565254211,
-0.042696263641119,
0.028303848579525948,
-0.02691640518605709,
0.032170191407203674,
0.007136084605008364,
-0.050835929811000824,
0.012228002771735191,
-0.017185799777507782,
-0.0012336685322225094,
0.039255402982234955,
-0.051020924001932144,
0.05601571872830391,
-0.015789108350872993,
0.02364203706383705,
-0.010609318502247334,
0.024049021303653717,
0.04388021305203438,
-0.03770146518945694,
0.02132963202893734,
0.0371834859251976,
0.1013018786907196,
-0.002269626362249255,
0.046951089054346085,
-0.06659729033708572,
-0.06126950681209564,
-0.006035379599779844,
-0.03009827435016632,
0.028988320380449295,
0.0172505471855402,
0.036147527396678925,
0.03463058918714523,
0.009309746325016022,
-0.03276216611266136,
-0.041290320456027985,
0.02839634381234646,
-0.025288470089435577,
0.07969475537538528,
0.01565961353480816,
0.04436119645833969,
-0.03566654771566391,
0.03468608856201172,
-0.0017724591307342052,
0.0014475660864263773,
-0.012570238672196865,
0.018545495346188545,
0.01910972222685814,
-0.06408139318227768,
0.028007859364151955,
0.044657181948423386,
0.001999074826017022,
-0.04188229516148567,
-0.01938721165060997,
0.00031593244057148695,
-0.02514047734439373,
0.03725748509168625,
-0.014845645986497402,
-0.052537862211465836,
0.03126372769474983,
0.007820556871592999,
-0.014346166513860226,
0.02194010652601719,
0.015474620275199413,
-0.029765289276838303,
0.030671751126646996,
0.019664699211716652,
0.016159093007445335,
0.009194125421345234,
-0.014494160190224648,
-0.044472191482782364,
-0.06341541558504105,
0.009860098361968994,
-0.02362353913486004,
-0.007057462818920612,
0.022698575630784035,
0.0014556595124304295,
0.015548617579042912,
0.020645160228013992,
0.03281766548752785,
0.01972019672393799
] |
713,340
|
xmlschema.resources
|
iter_depth
|
Iterates XML subtrees. For fully loaded resources yields the root element.
On lazy resources the argument *mode* can change the sequence and the
completeness of yielded elements. There are four possible modes, that
generate different sequences of elements:
1. Only the elements at *depth_level* level of the tree
2. Only the elements at *depth_level* level of the tree removing
the preceding elements of ancestors (thin lazy tree)
3. Only a root element pruned at *depth_level*
4. The elements at *depth_level* and then a pruned root
5. An incomplete root at start, the elements at *depth_level* and a pruned root
:param mode: an integer in range [1..5] that defines the iteration mode.
:param ancestors: provide a list for tracking the ancestors of yielded elements.
|
def iter_depth(self, mode: int = 1, ancestors: Optional[List[ElementType]] = None) \
-> Iterator[ElementType]:
"""
Iterates XML subtrees. For fully loaded resources yields the root element.
On lazy resources the argument *mode* can change the sequence and the
completeness of yielded elements. There are four possible modes, that
generate different sequences of elements:\n
1. Only the elements at *depth_level* level of the tree\n
2. Only the elements at *depth_level* level of the tree removing\n
the preceding elements of ancestors (thin lazy tree)
3. Only a root element pruned at *depth_level*\n
4. The elements at *depth_level* and then a pruned root\n
5. An incomplete root at start, the elements at *depth_level* and a pruned root\n
:param mode: an integer in range [1..5] that defines the iteration mode.
:param ancestors: provide a list for tracking the ancestors of yielded elements.
"""
if mode not in (1, 2, 3, 4, 5):
raise XMLSchemaValueError(f"invalid argument mode={mode!r}")
if ancestors is not None:
ancestors.clear()
elif mode <= 2:
ancestors = []
if not self._lazy:
yield self._root
return
resource = self.open()
level = 0
lazy_depth = int(self._lazy)
# boolean flags
incomplete_root = mode == 5
pruned_root = mode > 2
depth_level_elements = mode != 3
thin_lazy = mode <= 2
try:
for event, elem in self._lazy_iterparse(resource):
if event == "start":
if not level:
if incomplete_root:
yield elem
if ancestors is not None and level < lazy_depth:
ancestors.append(elem)
level += 1
else:
level -= 1
if not level:
if pruned_root:
yield elem
continue
elif level != lazy_depth:
if ancestors is not None and level < lazy_depth:
ancestors.pop()
continue # pragma: no cover
elif depth_level_elements:
yield elem
if thin_lazy:
self._lazy_clear(elem, ancestors)
else:
self._lazy_clear(elem)
finally:
if self._source is not resource:
resource.close()
|
(self, mode: int = 1, ancestors: Optional[List[Optional[~T]]] = None) -> Iterator[Optional[~T]]
|
[
0.01763923279941082,
-0.027037961408495903,
-0.039797451347112656,
-0.01730695366859436,
0.02498733066022396,
0.05160757154226303,
0.002482593758031726,
-0.033721502870321274,
0.018721509724855423,
0.013110753148794174,
0.023164546117186546,
0.000021360749087762088,
-0.04351896792650223,
0.03751897066831589,
-0.02624049410223961,
0.040708839893341064,
-0.0030355998314917088,
0.0033180364407598972,
-0.025822773575782776,
0.05946832522749901,
-0.03167087212204933,
0.03131011128425598,
-0.0025965177919715643,
-0.00211827433668077,
0.002372229937463999,
0.004435915499925613,
0.015018980018794537,
0.003256327472627163,
-0.03294302150607109,
-0.025860747322440147,
-0.06937971711158752,
-0.009759489446878433,
-0.03089239075779915,
-0.00996834971010685,
-0.002359176054596901,
-0.022196192294359207,
-0.06759490817785263,
0.08149363100528717,
-0.0066360728815197945,
0.010490501299500465,
-0.00963132455945015,
-0.01967087760567665,
-0.04648099094629288,
-0.02231011539697647,
-0.02297467365860939,
-0.008900312706828117,
0.07424046844244003,
0.013224677182734013,
-0.03734808415174484,
-0.05544301122426987,
0.06383541226387024,
0.04067086800932884,
0.03093036450445652,
-0.007927211001515388,
-0.019860750064253807,
0.03820251300930977,
-0.03328479453921318,
-0.01762024499475956,
0.03896200656890869,
-0.031822770833969116,
0.010623413138091564,
-0.02859492413699627,
-0.0030522136949002743,
0.0438227653503418,
-0.06436705589294434,
-0.026829101145267487,
-0.05415187403559685,
-0.027873404324054718,
-0.01867404207587242,
0.06698731333017349,
-0.022101255133748055,
0.0057579088024795055,
0.022063281387090683,
0.027740493416786194,
-0.038031626492738724,
-0.006018984597176313,
-0.047696180641651154,
0.02388606406748295,
0.06881009787321091,
-0.029107581824064255,
-0.01698416844010353,
0.03224049136042595,
-0.00879113469272852,
0.020468344911932945,
0.028841758146882057,
0.021170876920223236,
0.03516453877091408,
-0.026506315916776657,
0.017041131854057312,
0.05893668159842491,
-0.03419618681073189,
0.043746814131736755,
0.0159398652613163,
0.019158218055963516,
0.01702214404940605,
0.02234809100627899,
-0.020202521234750748,
-0.023202519863843918,
0.006811705883592367,
-0.03524048998951912,
0.036113906651735306,
0.007049047388136387,
0.013756322674453259,
0.013860752806067467,
0.01199050061404705,
0.019784800708293915,
-0.04499997943639755,
0.020107585936784744,
0.05350630357861519,
-0.016851257532835007,
-0.020411383360624313,
-0.0432911179959774,
0.020696192979812622,
0.04450630769133568,
-0.020886065438389778,
-0.043101247400045395,
-0.010300627909600735,
0.010490501299500465,
0.03867719694972038,
-0.033132895827293396,
0.049746811389923096,
-0.01594935916364193,
-0.030379733070731163,
0.013556955382227898,
-0.004965187516063452,
0.007348097860813141,
0.03715820983052254,
0.009080692194402218,
-0.02430378645658493,
-0.01924366131424904,
0.036360740661621094,
0.00673100957646966,
0.0009968349477276206,
-0.04883541911840439,
0.03184175863862038,
-0.06672148406505585,
0.004654270131140947,
-0.0009469932410866022,
-0.060683514922857285,
0.017098093405365944,
-0.010566450655460358,
-0.023354418575763702,
0.020164547488093376,
0.02867087349295616,
-0.07127844542264938,
0.016803789883852005,
0.054379720240831375,
0.01793353632092476,
-0.02388606406748295,
0.005643984768539667,
-0.011344931088387966,
-0.03896200656890869,
0.02426581084728241,
0.029791126027703285,
0.004488131031394005,
0.011420880444347858,
-0.03594302013516426,
0.003059334121644497,
-0.016537966206669807,
-0.07906325161457062,
-0.05084807798266411,
0.05483541637659073,
-0.03964555263519287,
-0.022177204489707947,
-0.009598096832633018,
0.04667086526751518,
-0.07591135799884796,
-0.0269430261105299,
0.00673100957646966,
-0.017354421317577362,
0.04898731783032417,
0.027151886373758316,
0.06060756742954254,
-0.019860750064253807,
0.007613920606672764,
0.07405059784650803,
0.014401892200112343,
0.013908221386373043,
-0.02624049410223961,
0.09744299203157425,
-0.04181010648608208,
-0.02257593907415867,
-0.017544295638799667,
-0.04625314101576805,
0.014183538034558296,
0.03626580536365509,
0.06656958907842636,
-0.03820251300930977,
0.03594302013516426,
-0.0066408198326826096,
-0.020202521234750748,
-0.020753154531121254,
0.04518985375761986,
0.011098096147179604,
-0.008401894941926003,
0.019499991089105606,
-0.02724682353436947,
-0.028006315231323242,
0.0698733851313591,
0.05897465720772743,
-0.08270882070064545,
0.03533542528748512,
0.018075941130518913,
-0.014373411424458027,
0.015427207574248314,
0.04549365118145943,
-0.031727831810712814,
-0.03968352451920509,
-0.010718349367380142,
0.03387340158224106,
-0.06159490719437599,
-0.043101247400045395,
0.08498730510473251,
0.02329745702445507,
0.036702513694763184,
-0.01629113219678402,
-0.07241768389940262,
-0.029829099774360657,
-0.014924043789505959,
-0.03362656757235527,
-0.011506323702633381,
0.0418480820953846,
-0.037120234221220016,
-0.05346832796931267,
0.024037962779402733,
-0.025841759517788887,
0.031746819615364075,
-0.024531634524464607,
-0.031025301665067673,
0.02494935505092144,
-0.009436704218387604,
-0.00032842153450474143,
0.045113902539014816,
-0.002111154142767191,
0.04553162306547165,
0.003548257751390338,
0.014534803107380867,
0.013405056670308113,
0.015066448599100113,
-0.018901890143752098,
-0.05031643062829971,
-0.036455679684877396,
0.0007588999578729272,
-0.06618984043598175,
-0.06618984043598175,
0.014544297009706497,
-0.0007998414221219718,
0.0005868272273801267,
0.03755694255232811,
0.01861708052456379,
-0.011392399668693542,
0.001617483445443213,
-0.05297465994954109,
-0.001806169981136918,
0.06706325709819794,
-0.07496199011802673,
0.0007962812669575214,
-0.02867087349295616,
0.010300627909600735,
0.00043700533569790423,
0.022727837786078453,
-0.05756959319114685,
-0.004592561163008213,
0.10617716610431671,
-0.010063286870718002,
-0.012218348681926727,
0.03983542323112488,
-0.08217717707157135,
0.009275312535464764,
0.006787971593439579,
0.06512655317783356,
0.024132899940013885,
0.022044293582439423,
0.039455678313970566,
-0.012721513397991657,
-0.009237337857484818,
-0.0006182750221341848,
0.01433543674647808,
-0.04120251163840294,
-0.0051882886327803135,
0.00035512246540747583,
0.025443026795983315,
-0.0720379427075386,
0.037424031645059586,
-0.05612655729055405,
-0.05111389979720116,
-0.02863289788365364,
0.0246075838804245,
0.019158218055963516,
0.0022060908377170563,
0.04458225890994072,
0.028784796595573425,
0.025708848610520363,
-0.02094302885234356,
0.061329085379838943,
-0.07568351179361343,
-0.0026083849370479584,
-0.052025292068719864,
-0.021208850666880608,
0.023506317287683487,
0.01566454954445362,
-0.04629111662507057,
0.07997464388608932,
0.005558541510254145,
0.05684807524085045,
0.04188605770468712,
0.016443030908703804,
-0.05396199971437454,
-0.03491770476102829,
0.04693668708205223,
0.0028670872561633587,
-0.002149128820747137,
0.022462014108896255,
-0.043746814131736755,
-0.040101248770952225,
-0.07762021571397781,
0.007955692708492279,
-0.01961391419172287,
-0.010775311850011349,
0.044050611555576324,
-0.05897465720772743,
0.059088580310344696,
0.05346832796931267,
-0.012825943529605865,
-0.053392380475997925,
0.03303796052932739,
0.05282276123762131,
0.052025292068719864,
0.004509491380304098,
-0.04853162169456482,
-0.07799996435642242,
-0.036398716270923615,
-0.01347151305526495,
0.08870881795883179,
-0.04560757428407669,
0.03755694255232811,
0.06189870461821556,
-0.009056957438588142,
0.028348088264465332,
-0.025689860805869102,
0.039455678313970566,
0.047354407608509064,
-0.022462014108896255,
-0.03719618543982506,
-0.0192626491189003,
0.014905055984854698,
0.07218983769416809,
-0.022177204489707947,
0.04317719489336014,
0.0713164210319519,
0.025462012737989426,
-0.006318035069853067,
0.03791770339012146,
-0.004720725584775209,
-0.01634809374809265,
-0.042075928300619125,
0.0360189713537693,
0.019803788512945175,
-0.022139230743050575,
0.03231643885374069,
0.0017978630494326353,
-0.0018417712999507785,
-0.011895564384758472,
0.014174044132232666,
0.027056949213147163,
-0.07245565950870514,
-0.02491138130426407,
0.015066448599100113,
-0.0365506149828434,
-0.023753153160214424,
-0.02232910320162773,
-0.018104420974850655,
-0.03738605976104736,
-0.029506314545869827,
0.00881961639970541,
-0.013775309547781944,
0.006346515845507383,
0.04416453465819359,
0.04617719352245331,
0.04955693706870079,
0.02956327795982361,
0.056430354714393616,
0.02198733203113079,
-0.04181010648608208,
-0.02493036724627018,
-0.07959490269422531,
0.015901891514658928,
-0.028424037620425224,
-0.006332275457680225,
0.00353401736356318,
0.0018346509896218777,
0.019481003284454346,
-0.005245250649750233,
0.0009024916798807681,
-0.0352025143802166,
-0.002344935666769743,
0.04754428192973137,
-0.040708839893341064,
0.02067720517516136,
-0.00516930129379034,
-0.014354423619806767,
0.0045427195727825165,
0.0048749977722764015,
0.03362656757235527,
0.03863922134041786,
-0.042113903909921646,
0.01965188980102539,
-0.02456960827112198,
0.017781637609004974,
0.008477844297885895,
-0.009612337686121464,
-0.03453795984387398,
-0.02063923142850399,
0.04355693981051445,
0.05548098683357239,
-0.059278454631567,
0.04082276672124863,
0.060417693108320236,
0.018778471276164055,
0.017174042761325836,
0.02297467365860939,
-0.04450630769133568,
0.042759474366903305,
0.04484808072447777,
-0.017848093062639236,
-0.03922782838344574,
-0.004200947470963001,
-0.003949365112930536,
-0.03138606250286102,
0.07306325435638428,
-0.052025292068719864,
-0.04799997806549072,
-0.03396833688020706,
-0.04025314748287201,
0.010851260274648666,
-0.034462008625268936,
-0.06060756742954254,
-0.01995568722486496,
-0.010775311850011349,
-0.008055375888943672,
0.03292403370141983,
0.062392376363277435,
0.03584808483719826,
-0.006612338591367006,
0.04716453328728676,
0.008487338200211525,
0.0010994852054864168,
0.08415185660123825,
-0.010851260274648666,
0.012066449970006943,
-0.011886070482432842,
-0.015104423277080059,
0.0066835409961640835,
-0.03402530029416084,
-0.08848097175359726,
-0.009531641378998756,
0.012161387130618095,
0.04093668982386589,
-0.010291134007275105,
-0.025462012737989426,
0.03960757702589035,
-0.011069615371525288,
0.041392385959625244,
-0.03683542460203171,
-0.0016139233484864235,
0.021740496158599854,
0.031443022191524506,
0.02924049273133278,
-0.016481004655361176,
-0.060721490532159805,
0.05567086115479469,
0.012987335212528706,
-0.04359491541981697,
-0.05156959593296051,
0.027531633153557777,
-0.015531638637185097,
-0.05187339335680008,
-0.023449355736374855,
0.04332909360527992,
-0.027854416519403458,
-0.0034272135235369205,
-0.00006482394383056089,
0.05734174698591232,
-0.04017719626426697,
-0.05882275849580765,
-0.0680885761976242,
-0.006360756698995829,
0.008012654259800911,
-0.020183535292744637,
-0.014544297009706497,
-0.011506323702633381,
-0.056088581681251526,
-0.0007232986972667277,
-0.017050625756382942,
0.045797448605298996,
0.02690505050122738,
0.04025314748287201,
0.0021538755390793085,
0.022784799337387085,
-0.059696175158023834,
0.005791136529296637,
-0.007082275114953518,
0.061367060989141464,
-0.0002612241660244763,
-0.0413164347410202,
0.1289619654417038,
0.01797151006758213,
-0.013044297695159912,
0.023126570507884026,
0.011857589706778526,
0.03167087212204933,
-0.035145554691553116,
0.02624049410223961,
0.010537969879806042,
0.03968352451920509,
-0.010718349367380142,
0.06706325709819794,
0.019063282757997513,
0.03820251300930977,
0.0031946187373250723,
0.01635758765041828,
-0.031120238825678825,
0.007039553485810757,
0.021360749378800392,
0.029012644663453102,
-0.0035886059049516916,
0.0025443024933338165,
0.026753151789307594,
0.033778466284275055,
0.007575945928692818,
0.07120250165462494,
-0.008724679239094257,
0.026411380618810654,
0.010623413138091564,
0.0038686690386384726,
-0.08430375903844833,
-0.011905057355761528,
-0.019803788512945175,
-0.010063286870718002,
0.04750630632042885,
0.04518985375761986,
0.005420883651822805,
0.0022891603875905275,
0.03622782975435257,
-0.005852845497429371,
0.011743665672838688,
0.04632909223437309,
-0.028480999171733856,
0.04792402684688568,
0.008302210830152035,
0.032506313174963,
-0.0195759404450655,
0.022537963464856148,
0.026373405009508133,
0.03731010854244232,
-0.04397466406226158,
0.012237336486577988,
-0.03419618681073189,
-0.01083227340131998,
-0.0003334650245960802,
0.022841760888695717,
0.06991136074066162,
-0.09524045884609222,
-0.03159492090344429,
0.06584806740283966,
-0.02363923005759716,
0.010319615714251995,
0.01724999211728573,
0.00199960358440876,
0.05859490856528282,
0.044088587164878845,
0.056696176528930664,
0.021873407065868378,
-0.011392399668693542,
-0.004965187516063452,
0.05620250478386879,
-0.028044290840625763,
-0.03994935005903244,
0.03603795915842056,
-0.027835430577397346,
0.016737334430217743,
-0.06956958770751953,
0.010566450655460358,
-0.037101250141859055,
0.031158212572336197,
-0.0021455686073750257,
0.0003396952524781227,
0.03715820983052254,
-0.014382904395461082,
-0.011259488761425018,
0.022006317973136902,
-0.07048097997903824,
-0.003787972964346409,
-0.044734157621860504,
0.009033223614096642,
-0.012503158301115036,
-0.0033299035858362913,
-0.03755694255232811,
-0.037120234221220016,
-0.04424048587679863,
-0.015588600188493729,
0.03755694255232811,
-0.006275313440710306,
0.06463287770748138,
-0.015911385416984558,
-0.045797448605298996,
0.015446195378899574,
-0.0006342955748550594,
0.02557593770325184,
0.08977211266756058,
0.013367081992328167,
0.002144381869584322,
0.02764555625617504,
-0.06721515953540802,
-0.01569303125143051,
0.0010555770713835955,
-0.025898722931742668,
-0.008140819147229195,
0.0029098086524754763,
-0.05384807661175728,
-0.062696173787117,
0.012427208945155144,
-0.008696198463439941,
0.017810117453336716,
-0.07173414528369904,
-0.005981009919196367,
0.003080694703385234,
-0.05810123682022095,
0.0015498410211876035,
-0.007386072538793087,
0.03922782838344574,
-0.02789239212870598,
-0.002372229937463999,
-0.051455672830343246,
-0.028177201747894287,
-0.008321198634803295,
0.03453795984387398,
-0.0026012645103037357,
-0.05578478425741196,
-0.04389871284365654,
-0.007087022066116333,
-0.012208854779601097,
-0.010965184308588505,
-0.010993666015565395,
-0.05791136622428894,
-0.019405053928494453,
0.0033109162468463182,
0.04720250889658928,
0.028746822848916054,
-0.015075942501425743,
0.001279271556995809,
-0.004340978804975748,
0.020126573741436005,
0.011003158986568451,
-0.025120241567492485,
0.0418480820953846,
0.017857586964964867,
-0.013082272373139858,
0.04249365255236626,
0.03563922271132469,
0.013528474606573582,
-0.02832910045981407,
-0.020753154531121254,
0.0379936546087265,
-0.03620884194970131,
-0.038088589906692505,
-0.005672465544193983,
-0.013196196407079697,
-0.025822773575782776,
0.0018678788328543305,
-0.07982274889945984,
0.023392394185066223,
0.03694935142993927,
-0.014041132293641567,
-0.08453160524368286,
0.013025309890508652,
-0.06049364432692528,
0.03497466817498207,
-0.04127846285700798,
0.022044293582439423,
-0.02789239212870598,
0.049746811389923096,
-0.005710440222173929,
-0.03867719694972038,
0.01696518249809742,
0.06212655454874039,
-0.058405034244060516,
-0.021056951954960823,
0.047050610184669495,
-0.030531631782650948,
-0.0015415340894833207,
-0.03026580810546875,
0.029791126027703285,
-0.015075942501425743,
-0.05221516638994217,
-0.03030378371477127,
0.03548732399940491,
0.047696180641651154,
0.020050624385476112,
-0.05832908675074577,
0.025765810161828995,
-0.0009837811812758446,
-0.004834649618715048,
-0.010376577265560627,
-0.0030213594436645508,
0.030436694622039795,
-0.05624048039317131,
0.048075925558805466,
0.04199998080730438,
0.08187337964773178,
-0.023430367931723595,
0.04260757565498352,
-0.054683517664670944,
-0.07511388510465622,
-0.031025301665067673,
-0.013091766275465488,
0.014031639322638512,
0.05696199834346771,
0.014572777785360813,
0.011022146791219711,
0.016063284128904343,
0.015094929374754429,
-0.04188605770468712,
-0.0013492873404175043,
-0.05081010237336159,
0.0653923749923706,
0.026411380618810654,
0.02728479728102684,
0.0006348889437504113,
-0.013224677182734013,
0.012408222071826458,
-0.026202518492937088,
-0.022063281387090683,
-0.011468349024653435,
0.006545883137732744,
-0.045759472995996475,
0.020050624385476112,
0.020373407751321793,
-0.017107587307691574,
-0.054379720240831375,
-0.005530060734599829,
0.05111389979720116,
-0.07397464662790298,
0.05399997532367706,
-0.010594931431114674,
-0.0209240410476923,
0.05650630220770836,
0.023221507668495178,
-0.014952524565160275,
-0.021379737183451653,
0.021892394870519638,
-0.05954427644610405,
0.06812655180692673,
0.006156642455607653,
0.00862024910748005,
0.02388606406748295,
-0.009142400696873665,
-0.06056959182024002,
-0.06478478014469147,
-0.024816444143652916,
-0.016708852723240852,
-0.008928793482482433,
0.001053203595802188,
0.012408222071826458,
0.015066448599100113,
0.031480997800827026,
0.04963288828730583,
-0.002234571846202016
] |
713,341
|
xmlschema.resources
|
iter_location_hints
|
Yields all schema location hints of the XML resource. If tag
is not None or '*', only location hints of elements whose tag
equals tag are returned from the iterator.
|
def iter_location_hints(self, tag: Optional[str] = None) -> Iterator[Tuple[str, str]]:
"""
Yields all schema location hints of the XML resource. If tag
is not None or '*', only location hints of elements whose tag
equals tag are returned from the iterator.
"""
for elem in self.iter(tag):
yield from etree_iter_location_hints(elem)
|
(self, tag: Optional[str] = None) -> Iterator[Tuple[str, str]]
|
[
0.047483816742897034,
-0.008573951199650764,
0.013842178508639336,
-0.03269091621041298,
-0.0010984557447955012,
0.029847469180822372,
0.03494125232100487,
-0.016973458230495453,
0.034592363983392715,
-0.01800268143415451,
-0.01786312647163868,
-0.015543012879788876,
-0.01938079483807087,
-0.01037945318967104,
-0.030405692756175995,
0.03754047676920891,
-0.07905828952789307,
0.051810044795274734,
-0.06224182993173599,
0.0008727681124582887,
-0.026724910363554955,
-0.015874458476901054,
0.010815564543008804,
-0.023375574499368668,
-0.012560010887682438,
0.05334515497088432,
0.044797372072935104,
-0.02956835739314556,
0.07759295403957367,
-0.011670342646539211,
-0.05121693015098572,
-0.05721782520413399,
0.0019068974070250988,
-0.02784135565161705,
0.008896674029529095,
-0.03680780902504921,
0.01597912423312664,
0.06489338725805283,
0.024422243237495422,
-0.015883179381489754,
0.01959012821316719,
0.02126479521393776,
-0.024858353659510612,
-0.033877138048410416,
0.03862203285098076,
0.02754480019211769,
0.0090362299233675,
-0.03429580479860306,
-0.021299684420228004,
-0.022904574871063232,
0.07099895179271698,
0.021718351170420647,
-0.0016168833244591951,
-0.01692984811961651,
-0.01110339816659689,
-0.018613237887620926,
-0.025434020906686783,
0.06238138675689697,
0.01240301039069891,
0.04333203658461571,
0.010623675771057606,
-0.03237691521644592,
-0.028329800814390182,
0.012132621370255947,
-0.0426691472530365,
-0.08157029002904892,
0.023340685293078423,
-0.07940717786550522,
-0.010039285756647587,
0.041762035340070724,
-0.010745787061750889,
-0.03260369226336479,
-0.024492019787430763,
0.013650288805365562,
0.020061127841472626,
-0.03918025642633438,
-0.007919784635305405,
0.021509017795324326,
0.006838228087872267,
-0.05034470930695534,
-0.05338004603981972,
0.02805069088935852,
-0.0024705715477466583,
0.015185401774942875,
0.017697403207421303,
0.045006703585386276,
0.019485460594296455,
0.014086401090025902,
0.06304427236318588,
0.07556939870119095,
-0.0016823000041767955,
0.015499401837587357,
-0.0024116963613778353,
-0.01355434488505125,
0.02871358022093773,
0.06014849618077278,
-0.04211092367768288,
-0.018717903643846512,
-0.01828179322183132,
0.014164900407195091,
0.029952136799693108,
-0.03101624734699726,
0.03483658283948898,
0.030126580968499184,
0.0019428766099736094,
-0.01671179197728634,
-0.005525532178580761,
-0.023829130455851555,
0.03984314575791359,
0.008573951199650764,
-0.02545146644115448,
-0.06573072075843811,
0.032795581966638565,
0.06374205648899078,
-0.02972535789012909,
0.00007904520316515118,
0.023044129833579063,
0.008220701478421688,
0.026847021654248238,
-0.019485460594296455,
0.02407335303723812,
0.003946808632463217,
-0.026428354904055595,
-0.017741015180945396,
0.004526837263256311,
-0.003898836672306061,
0.03230713680386543,
0.09064140915870667,
-0.07242939621210098,
-0.013606677763164043,
0.0325164720416069,
-0.005259504541754723,
-0.0009534487035125494,
-0.003390766680240631,
-0.009751452133059502,
-0.03522036224603653,
0.01290889922529459,
0.004193211905658245,
-0.041099146008491516,
0.02907991223037243,
0.008482367731630802,
0.04563470557332039,
-0.01808990351855755,
-0.01671179197728634,
-0.05515937879681587,
0.0064675332978367805,
-0.04437870532274246,
0.01692984811961651,
0.019049348309636116,
-0.053624268621206284,
-0.023026686161756516,
-0.014164900407195091,
0.012935066595673561,
0.032359469681978226,
-0.04521603882312775,
0.023340685293078423,
0.01828179322183132,
0.003403850132599473,
0.014758012257516384,
-0.048984039574861526,
-0.011748842895030975,
-0.032935138791799545,
-0.007850006222724915,
-0.00457044830545783,
-0.024265242740511894,
0.013519455678761005,
-0.06876605749130249,
0.010972565039992332,
0.02871358022093773,
-0.016179734840989113,
-0.0020976962987333536,
-0.003576114075258374,
0.03809869661927223,
0.0015928971115499735,
0.06189294159412384,
0.05243804305791855,
0.03378991782665253,
-0.008390785194933414,
0.01821201480925083,
0.04057580977678299,
0.0006121915066614747,
0.013214177452027798,
0.007954672910273075,
0.004583531524986029,
-0.03375502675771713,
0.027091244235634804,
0.007897978648543358,
-0.048844486474990845,
-0.01569129154086113,
0.023253463208675385,
-0.0028848773799836636,
0.018787682056427002,
-0.0041648647747933865,
0.027893690392374992,
-0.038796477019786835,
0.055054713040590286,
0.020270461216568947,
0.031033692881464958,
-0.010894064791500568,
0.036772917956113815,
0.004398184362798929,
-0.0004712729714810848,
-0.02538168802857399,
0.07682539522647858,
0.02813791297376156,
0.0600089393556118,
0.005346726626157761,
-0.02117757312953472,
-0.0694638341665268,
0.010170119814574718,
0.031557027250528336,
-0.00045846219290979207,
-0.023619797080755234,
-0.033161915838718414,
0.03747069835662842,
0.045076481997966766,
-0.06095093861222267,
0.004457059316337109,
-0.05697360262274742,
0.024021020159125328,
0.08143073320388794,
-0.0990147516131401,
0.05226359888911247,
-0.03059758059680462,
0.057392269372940063,
0.0043785590678453445,
0.07347606122493744,
-0.06471893936395645,
-0.046681370586156845,
0.03876158967614174,
-0.009681674651801586,
-0.03169658035039902,
0.05603160336613655,
-0.001876369584351778,
0.05627582594752312,
0.05645027011632919,
0.016833903267979622,
0.013737511821091175,
0.027161022648215294,
-0.009742730297148228,
-0.03876158967614174,
-0.005782837979495525,
-0.018107349053025246,
-0.0296555794775486,
-0.05069359764456749,
-0.032010581344366074,
-0.010300952941179276,
-0.012568732723593712,
0.017749737948179245,
-0.0292892474681139,
-0.03490636125206947,
0.05721782520413399,
-0.013728789053857327,
-0.03991292044520378,
0.049856264144182205,
-0.0729876160621643,
0.010152675211429596,
-0.002213265746831894,
0.026410911232233047,
-0.02154390700161457,
-0.03356314077973366,
0.023096464574337006,
0.013868344947695732,
0.06859160959720612,
-0.021229906007647514,
0.03115580417215824,
0.0035652113147079945,
-0.031557027250528336,
-0.04064558818936348,
-0.002703891135752201,
0.051810044795274734,
0.060776494443416595,
-0.04141314700245857,
0.04685581848025322,
0.027021467685699463,
0.015194123610854149,
0.032551359385252,
0.03959892317652702,
-0.06384672224521637,
-0.0300044696778059,
0.01821201480925083,
0.008569590747356415,
0.008368979208171368,
0.040087368339300156,
-0.017025791108608246,
-0.06911494582891464,
-0.039808254688978195,
0.07752317935228348,
-0.026410911232233047,
-0.028033245354890823,
0.004284795373678207,
0.0012309246230870485,
-0.030388247221708298,
-0.022311463952064514,
0.013964289799332619,
0.018421348184347153,
0.011870954185724258,
0.024561798200011253,
0.01500223483890295,
-0.03230713680386543,
0.019206348806619644,
-0.03621469810605049,
0.04214581474661827,
0.05718293786048889,
0.026567911729216576,
0.03921514376997948,
-0.0021423976868391037,
-0.031120914965867996,
-0.015778513625264168,
0.02501535415649414,
-0.010239897295832634,
-0.01864812709391117,
0.003968614619225264,
-0.06674250215291977,
-0.02892291359603405,
-0.02342790924012661,
-0.010353286750614643,
0.011495898477733135,
-0.041901592165231705,
0.05236826464533806,
-0.02921946905553341,
0.033807363361120224,
0.03372013941407204,
-0.08415207266807556,
-0.04301803559064865,
0.021735796704888344,
0.011487176641821861,
-0.018787682056427002,
0.023393020033836365,
-0.00516792107373476,
0.0001617701054783538,
-0.03281302750110626,
-0.05432204529643059,
0.0361798070371151,
-0.00401658657938242,
0.033231694251298904,
-0.016214624047279358,
-0.008591395802795887,
0.0005372348241508007,
-0.04636737331748009,
0.047623373568058014,
0.03059758059680462,
-0.002614488359540701,
0.015412179753184319,
0.02227657474577427,
0.035830918699502945,
-0.04085492342710495,
-0.02674235589802265,
-0.0060270605608820915,
0.017828237265348434,
0.011713954620063305,
0.006812061183154583,
-0.013188011012971401,
-0.02813791297376156,
0.09566541016101837,
0.017313625663518906,
-0.0018425709567964077,
0.05020515248179436,
0.03361547365784645,
0.11297031491994858,
-0.003098572138696909,
-0.03645892068743706,
0.043646037578582764,
-0.043646037578582764,
0.08422184735536575,
-0.030318468809127808,
0.0621720515191555,
0.021718351170420647,
-0.012682121247053146,
-0.006899283733218908,
-0.025974798947572708,
-0.02218935266137123,
-0.0448322594165802,
-0.047623373568058014,
-0.015263902023434639,
-0.05432204529643059,
0.031626805663108826,
0.058683160692453384,
-0.05756671354174614,
0.01678157038986683,
0.025974798947572708,
0.06300938874483109,
0.078151173889637,
0.01290889922529459,
-0.04228536784648895,
-0.09657252579927444,
-0.04437870532274246,
0.018246904015541077,
-0.07836051285266876,
0.05669449269771576,
0.05010048672556877,
-0.05076337605714798,
-0.017453180626034737,
-0.018491126596927643,
-0.030702248215675354,
-0.03298747166991234,
0.011853509582579136,
-0.011513343080878258,
-0.025486353784799576,
-0.011696510016918182,
-0.008377701044082642,
-0.06698672473430634,
-0.05013537406921387,
0.02299179695546627,
0.04022692143917084,
-0.03827314451336861,
-0.0368775874376297,
0.015447068028151989,
-0.021509017795324326,
0.03487147390842438,
-0.036982253193855286,
-0.04532070457935333,
0.08833874017000198,
0.0019450571853667498,
-0.008020089939236641,
0.011801176704466343,
-0.018246904015541077,
0.06813805550336838,
-0.03133025020360947,
0.03021380305290222,
0.00703447824344039,
-0.09929385781288147,
0.013746233657002449,
0.05083315446972847,
-0.0031966972164809704,
-0.053624268621206284,
-0.002278682542964816,
-0.03349336236715317,
-0.04654181748628616,
0.0007642853306606412,
-0.034540027379989624,
0.011277842335402966,
0.02963813580572605,
-0.04427403584122658,
0.00046309587196446955,
-0.011138287372887135,
-0.04800715297460556,
0.01686006970703602,
0.03016147017478943,
-0.04940270632505417,
0.03802892193198204,
0.00399478105828166,
0.05756671354174614,
0.009917175397276878,
0.00871350709348917,
0.008233784697949886,
-0.026916800066828728,
0.043925147503614426,
-0.0015852651558816433,
-0.0036807807628065348,
-0.015290068462491035,
-0.06960339099168777,
0.03572625294327736,
-0.009917175397276878,
-0.02436990849673748,
0.020427461713552475,
-0.015604068525135517,
-0.03174891695380211,
-0.07047561556100845,
-0.013519455678761005,
-0.00531619880348444,
-0.014627179130911827,
0.015638956800103188,
-0.06862650066614151,
0.007972117513418198,
-0.024997910484671593,
-0.025120021775364876,
0.0006994137656874955,
-0.03295258432626724,
-0.016441402956843376,
0.0034888917580246925,
-0.041971366852521896,
-0.015290068462491035,
-0.04308781400322914,
-0.02300924062728882,
-0.02147412858903408,
-0.02517235465347767,
0.05013537406921387,
0.047100041061639786,
0.0006759727839380503,
0.008447479456663132,
-0.05306604504585266,
0.05690382421016693,
0.01334501150995493,
0.020881017670035362,
-0.023776797577738762,
-0.010492841713130474,
-0.05083315446972847,
-0.088199183344841,
0.017304902896285057,
-0.00828175712376833,
0.022154463455080986,
-0.009734008461236954,
-0.05791560560464859,
0.04134336858987808,
0.005468837916851044,
0.07263872772455215,
0.04469270259141922,
0.02110779471695423,
-0.006184060592204332,
-0.004553003702312708,
-0.07647650688886642,
0.05742716044187546,
-0.006419560872018337,
0.036982253193855286,
0.0006072852411307395,
0.004343670327216387,
-0.013240344822406769,
0.0035216002725064754,
0.03403414040803909,
0.0224161297082901,
-0.00766247883439064,
0.06042760610580444,
-0.0024335021153092384,
0.024404797703027725,
-0.05906693637371063,
-0.01569129154086113,
-0.007924145087599754,
0.04887937381863594,
0.008124756626784801,
0.001431535929441452,
0.011495898477733135,
0.0368775874376297,
0.006881839130073786,
0.03403414040803909,
-0.05697360262274742,
0.027736689895391464,
-0.041692256927490234,
-0.03220247104763985,
-0.03108602575957775,
0.04301803559064865,
-0.008774562738835812,
0.0238640196621418,
-0.047100041061639786,
0.018403904512524605,
0.03680780902504921,
0.0629047155380249,
-0.0484607070684433,
-0.04713492840528488,
0.04312270134687424,
0.054845377802848816,
0.032568804919719696,
-0.031557027250528336,
0.007130422629415989,
0.058962270617485046,
0.024840909987688065,
-0.09280452132225037,
-0.018683016300201416,
-0.004459240008145571,
-0.014417845755815506,
0.051461152732372284,
-0.023515131324529648,
-0.02175324037671089,
0.047972261905670166,
-0.03204547241330147,
-0.0549500472843647,
-0.01864812709391117,
-0.0032337666489183903,
-0.01686006970703602,
0.02328835241496563,
0.03283047303557396,
0.021317128092050552,
-0.07996539771556854,
0.01974712684750557,
0.012193677015602589,
0.01402534544467926,
-0.005835171323269606,
-0.06702160835266113,
-0.05299626663327217,
0.04015714302659035,
0.0037701837718486786,
-0.021160129457712173,
-0.0035586697049438953,
-0.02218935266137123,
-0.007618867326527834,
-0.0029982663691043854,
-0.011722676455974579,
-0.019502904266119003,
0.013545622117817402,
-0.035830918699502945,
0.003567391773685813,
0.03378991782665253,
0.05770627036690712,
-0.007396450731903315,
0.0657656118273735,
0.062137164175510406,
0.0013192371698096395,
0.0332491397857666,
-0.026428354904055595,
-0.028399579226970673,
-0.008866146206855774,
-0.050623819231987,
-0.02813791297376156,
-0.061509162187576294,
-0.013903234153985977,
-0.0231313519179821,
-0.013737511821091175,
-0.07277828454971313,
-0.01742701418697834,
-0.003187974914908409,
-0.0003963162889704108,
0.008848701603710651,
0.011853509582579136,
-0.003327530575916171,
-0.03269091621041298,
-0.021823018789291382,
0.015630235895514488,
0.008617563173174858,
-0.02464902028441429,
0.024683909490704536,
0.0003003717865794897,
-0.03349336236715317,
0.06908005475997925,
0.01611867919564247,
-0.05648515745997429,
-0.009742730297148228,
-0.01255128812044859,
0.05892738327383995,
0.0063846721313893795,
-0.005747949238866568,
-0.03143491595983505,
-0.010641120374202728,
0.06102071702480316,
0.024247797206044197,
0.0055429767817258835,
0.004398184362798929,
0.025782911106944084,
-0.01570001244544983,
0.007950312457978725,
0.03673803061246872,
0.019398238509893417,
0.00023495506320614368,
0.047623373568058014,
-0.04873981699347496,
0.004409086890518665,
-0.03267347067594528,
0.06921961158514023,
-0.04723959416151047,
-0.05407782271504402,
0.010152675211429596,
-0.029969580471515656,
0.05212404206395149,
0.028294911608099937,
0.002296126913279295,
0.01135634258389473,
0.04326225817203522,
0.04678604006767273,
0.014243400655686855,
0.0368775874376297,
0.03593558445572853,
0.017392124980688095,
0.06639361381530762,
0.004526837263256311,
0.008120395243167877,
0.04315759241580963,
0.030126580968499184,
-0.07201072573661804,
-0.0033864055294543505,
0.005032726563513279,
-0.002067168476060033,
-0.016441402956843376,
-0.0003821426653303206,
-0.030335914343595505,
-0.00871350709348917,
-0.03809869661927223,
0.023707019165158272,
-0.035464584827423096,
-0.001156785641796887,
0.007252533920109272,
0.01748806983232498,
-0.051391374319791794,
0.027666911482810974,
-0.006585283204913139,
-0.018717903643846512,
-0.029812579974532127,
-0.02430013194680214,
-0.011836064979434013,
-0.05331026762723923,
-0.07689517736434937,
-0.04165736958384514,
0.0007566534331999719,
-0.012891455553472042,
0.020636795088648796,
0.000027785070415120572,
-0.005172281991690397,
0.052682265639305115,
0.00784128438681364,
-0.007583978585898876,
0.07410406321287155,
0.04026181250810623,
0.0007795492419973016,
-0.06255582720041275,
0.06203249469399452,
0.015185401774942875,
0.01532495766878128,
-0.0027017106767743826,
-0.01432190090417862,
-0.00048653685371391475,
0.09022273868322372,
-0.07431339472532272,
0.05704338103532791,
0.01163545437157154,
-0.032865360379219055,
0.042634256184101105,
0.03530758619308472,
0.010370730422437191,
0.006947255693376064,
-0.008264312520623207,
-0.049995820969343185,
0.08722229301929474,
-0.002111869864165783,
-0.04057580977678299,
0.005525532178580761,
-0.1128307580947876,
-0.006807700265198946,
-0.0368775874376297,
0.04497181624174118,
-0.03133025020360947,
0.06775427609682083,
0.009603174403309822,
0.026498133316636086,
-0.015080735087394714,
-0.03928492218255997,
0.0012243830133229494,
0.01859579235315323,
0.0650329440832138,
-0.03087669238448143,
0.004147420171648264,
-0.05945071578025818,
0.05219382047653198,
-0.021509017795324326,
-0.003510697279125452,
-0.02522468753159046,
0.04455314949154854,
-0.003962072543799877,
-0.011373787187039852,
0.013493289239704609,
0.07947695255279541,
-0.03673803061246872,
-0.007243811618536711,
0.02970791421830654,
0.03959892317652702,
-0.021352017298340797,
0.022590573877096176,
-0.0012069385265931487,
-0.04207603633403778,
-0.006136088632047176,
0.002778030000627041,
-0.030894136056303978,
0.020706573501229286,
0.033301472663879395,
0.012900177389383316,
0.03722647577524185,
-0.011618009768426418,
-0.00893156323581934,
-0.041901592165231705,
0.08422184735536575,
-0.06227671727538109,
0.0012243830133229494,
0.048042040318250656,
-0.06454449892044067,
-0.010597508400678635,
0.012132621370255947,
0.013711344450712204,
0.011897120624780655,
-0.016005290672183037,
-0.03237691521644592,
0.028888024389743805
] |
713,342
|
xmlschema.resources
|
iterfind
|
Apply XPath selection to XML resource that yields full subtrees.
:param path: an XPath 2.0 expression that selects element nodes. Selecting other values or nodes raise an error.
:param namespaces: an optional mapping from namespace prefixes to URIs used for parsing the XPath expression.
:param ancestors: provide a list for tracking the ancestors of yielded elements.
|
def iterfind(self, path: str,
namespaces: Optional[NamespacesType] = None,
ancestors: Optional[List[ElementType]] = None) -> Iterator[ElementType]:
"""
Apply XPath selection to XML resource that yields full subtrees.
:param path: an XPath 2.0 expression that selects element nodes. \
Selecting other values or nodes raise an error.
:param namespaces: an optional mapping from namespace prefixes to URIs \
used for parsing the XPath expression.
:param ancestors: provide a list for tracking the ancestors of yielded elements.
"""
parser = XPath2Parser(namespaces, strict=False)
token = parser.parse(path)
if not self._lazy:
yield from self._select_elements(token, self.xpath_root, ancestors)
return
resource = self.open()
lazy_depth = int(self._lazy)
level = 0
path = path.replace(' ', '').replace('./', '')
select_all = '*' in path and set(path).issubset(('*', '/'))
if path == '.':
path_depth = 0
elif path.startswith('/'):
path_depth = path.count('/') - 1
else:
path_depth = path.count('/') + 1
if not path_depth:
raise XMLResourceError(f"cannot use path {path!r} on a lazy resource")
elif path_depth < lazy_depth:
raise XMLResourceError(f"cannot use path {path!r} on a lazy resource "
f"with lazy_depth=={lazy_depth}")
if ancestors is not None:
ancestors.clear()
elif self._thin_lazy:
ancestors = []
try:
for event, node in self._lazy_iterparse(resource):
if event == "start":
if ancestors is not None and level < path_depth:
ancestors.append(node)
level += 1
else:
level -= 1
if level < path_depth:
if ancestors is not None:
ancestors.pop()
continue
elif level == path_depth:
if select_all or \
node in self._select_elements(token, self.xpath_root):
yield node
if level == lazy_depth:
self._lazy_clear(node, ancestors)
finally:
if self._source is not resource:
resource.close()
|
(self, path: str, namespaces: Optional[~T] = None, ancestors: Optional[List[Optional[~T]]] = None) -> Iterator[Optional[~T]]
|
[
0.013794779777526855,
-0.07861340045928955,
-0.041365619748830795,
0.00764608895406127,
-0.033466845750808716,
0.039381567388772964,
0.041178446263074875,
-0.044959377497434616,
0.034683480858802795,
-0.0083854291588068,
0.056414470076560974,
0.02964848093688488,
-0.03239994868636131,
0.023116081953048706,
-0.0506494902074337,
0.025642940774559975,
0.010949723422527313,
0.026934446766972542,
-0.056901127099990845,
-0.004489854443818331,
-0.047766998410224915,
0.04327480494976044,
0.012475197203457355,
-0.004349473398178816,
0.006349903531372547,
-0.020963571965694427,
0.015853701159358025,
0.005231534596532583,
-0.0034861299209296703,
-0.035151418298482895,
-0.019597196951508522,
-0.007664806209504604,
-0.023209670558571815,
-0.04376145824790001,
-0.0010832739062607288,
-0.011848161928355694,
-0.0288997832685709,
0.03971848264336586,
0.035057831555604935,
-0.008942274376749992,
0.005816455464810133,
-0.0222176443785429,
0.010949723422527313,
-0.038632869720458984,
0.0008580792928114533,
-0.005760303232818842,
0.027552124112844467,
0.027533406391739845,
-0.025923702865839005,
0.006307789124548435,
0.04668138548731804,
0.036368053406476974,
-0.014141052961349487,
-0.019653350114822388,
-0.014131694100797176,
0.0783139169216156,
-0.03266199678182602,
0.036854710429906845,
0.04140305519104004,
0.01675214059650898,
0.04028000682592392,
-0.06569834053516388,
0.014010030776262283,
0.04671882092952728,
-0.04144049063324928,
-0.038071345537900925,
-0.013167744502425194,
-0.057762131094932556,
-0.08041027188301086,
0.056227296590805054,
-0.04694342985749245,
0.029236696660518646,
0.0125126326456666,
-0.0057556238025426865,
-0.007486990187317133,
-0.012091489508748055,
-0.04866543784737587,
0.030771529302001,
0.06659677624702454,
-0.013551452197134495,
0.011211767792701721,
0.011829444207251072,
-0.03953130915760994,
0.003460393287241459,
0.01756635122001171,
0.01948489248752594,
0.053606849163770676,
-0.01848350651562214,
0.025156287476420403,
0.07307302206754684,
-0.03767827898263931,
0.07561860233545303,
0.0120446952059865,
0.040616922080516815,
0.048141349107027054,
0.014927187003195286,
0.0064294529147446156,
-0.0003258010547142476,
0.008647473528981209,
-0.019840523600578308,
0.01722007803618908,
0.03342941030859947,
0.007875378243625164,
0.013766703195869923,
0.049638744443655014,
0.025287309661507607,
-0.02483808994293213,
0.022741733118891716,
0.08273123949766159,
-0.009873468428850174,
-0.0306030735373497,
-0.024351436644792557,
0.007510386873036623,
0.08220715075731277,
-0.02268557995557785,
-0.06221688911318779,
0.0037715714424848557,
0.00191737140994519,
0.053045324981212616,
-0.03734136372804642,
-0.004861864261329174,
0.011511247605085373,
-0.0515853613615036,
0.05424324423074722,
0.0029713993426412344,
0.004538987763226032,
0.04731777682900429,
0.03256840631365776,
0.01775352656841278,
-0.019054390490055084,
0.03799647465348244,
-0.029704634100198746,
0.004913337528705597,
-0.023771194741129875,
0.03348556533455849,
-0.019241565838456154,
0.017650580033659935,
0.0028099610935896635,
-0.06071949005126953,
0.02897465229034424,
0.00945232529193163,
-0.035825248807668686,
-0.0025034623686224222,
0.012550067156553268,
-0.02335941046476364,
0.0026625609025359154,
0.055590901523828506,
0.006757008843123913,
-0.004000860266387463,
0.006616627797484398,
-0.02700931765139103,
-0.06098153442144394,
0.020476918667554855,
0.05297045782208443,
-0.008404146879911423,
0.009910902939736843,
-0.0429004542529583,
0.018680039793252945,
-0.03590011969208717,
-0.08812187612056732,
-0.025923702865839005,
0.019166694954037666,
-0.03253097087144852,
-0.006466887891292572,
-0.025998573750257492,
0.04166509956121445,
-0.12151385098695755,
-0.026597533375024796,
-0.010397558100521564,
-0.01003256719559431,
-0.004749559331685305,
-0.004936734214425087,
-0.004705105442553759,
-0.03590011969208717,
-0.049077220261096954,
0.04686855897307396,
0.012185076251626015,
0.01675214059650898,
-0.029816938564181328,
0.08654960989952087,
-0.0007744355825707316,
-0.042675845324993134,
-0.0083854291588068,
-0.042114321142435074,
0.0027350911404937506,
0.061505623161792755,
0.030752811580896378,
-0.021412791684269905,
0.05476733297109604,
0.048815175890922546,
-0.04473476856946945,
0.006078500300645828,
0.048890046775341034,
0.037041883915662766,
-0.05394376441836357,
0.005872608162462711,
-0.031595099717378616,
0.004197394009679556,
0.00858664233237505,
0.08610038459300995,
-0.04387376457452774,
0.01593792997300625,
0.004805712029337883,
0.009031182155013084,
0.009190280921757221,
0.01642458513379097,
-0.023752477020025253,
-0.0065698339603841305,
-0.032325081527233124,
0.015002056956291199,
-0.08707369863986969,
-0.016022158786654472,
0.014945904724299908,
-0.02371504157781601,
0.04121588170528412,
0.026653684675693512,
-0.04859056696295738,
-0.017117131501436234,
-0.029723351821303368,
-0.01901695504784584,
0.05364428460597992,
0.036087293177843094,
-0.005914722103625536,
-0.05600268766283989,
0.008881442248821259,
-0.03488937392830849,
0.013167744502425194,
-0.018137233331799507,
-0.014094259589910507,
-0.0036358695942908525,
0.05394376441836357,
0.01147381216287613,
0.12031593173742294,
-0.031576380133628845,
0.04031744226813316,
0.02985437400639057,
0.0222176443785429,
0.06618499755859375,
0.03473963588476181,
0.021506380289793015,
-0.05787443369626999,
-0.023022495210170746,
-0.014318868517875671,
-0.08362968266010284,
-0.06135588511824608,
0.012372251600027084,
0.003607793478295207,
0.003979803062975407,
0.03522628918290138,
0.008025117218494415,
-0.015451275743544102,
0.020682809874415398,
-0.03852056339383125,
-0.03953130915760994,
0.07168792933225632,
-0.06970387697219849,
-0.031501512974500656,
-0.010612809099256992,
0.02107587829232216,
0.026953164488077164,
0.024781938642263412,
-0.020738963037729263,
0.0008340975036844611,
0.08610038459300995,
-0.07168792933225632,
0.006981618236750364,
-0.0027046753093600273,
-0.027084186673164368,
-0.015413841232657433,
0.028731325641274452,
-0.029255414381623268,
0.042675845324993134,
0.018820421770215034,
0.029236696660518646,
0.016583682969212532,
-0.014019389636814594,
-0.012690448202192783,
-0.005994271486997604,
-0.03584396466612816,
-0.011988542973995209,
-0.03178227320313454,
0.04368658736348152,
-0.016508813947439194,
0.038932349532842636,
-0.011408301070332527,
-0.0755062997341156,
-0.026597533375024796,
0.04215175658464432,
-0.05136075243353844,
0.0004965980187989771,
0.04769212752580643,
-0.010725113563239574,
0.013111591339111328,
-0.029592329636216164,
0.04840339347720146,
-0.0354134626686573,
-0.029124392196536064,
-0.04885261133313179,
-0.0033129930961877108,
0.0040757302194833755,
0.00891419779509306,
-0.020196156576275826,
0.04312506318092346,
0.01086549460887909,
0.04750495404005051,
0.005783699918538332,
0.00011983571312157437,
-0.0012224850943312049,
-0.02805749513208866,
0.04035487771034241,
-0.02738366648554802,
-0.03490809351205826,
0.007061167620122433,
-0.04859056696295738,
-0.012699807062745094,
-0.0926140695810318,
-0.011408301070332527,
-0.013616963289678097,
-0.008904838934540749,
0.008600680157542229,
-0.05113614350557327,
0.07764008641242981,
0.00786133948713541,
-0.008043834939599037,
-0.058323655277490616,
0.03181970864534378,
0.024912960827350616,
0.08550143241882324,
-0.012755959294736385,
-0.009602065198123455,
-0.01829633302986622,
-0.026410358026623726,
-0.025006547570228577,
0.05353198200464249,
-0.01365439873188734,
0.03378504514694214,
0.031127162277698517,
-0.014328227378427982,
0.017154566943645477,
-0.006883351597934961,
0.05892261490225792,
0.006509002298116684,
-0.008202933706343174,
-0.018071722239255905,
-0.013523376546800137,
0.004918016493320465,
0.04518398642539978,
-0.005189420189708471,
0.010987157933413982,
-0.011099463328719139,
0.05761238932609558,
-0.020832549780607224,
0.05375659093260765,
0.0083854291588068,
0.004485175013542175,
-0.01920413039624691,
-0.0016564965480938554,
0.03256840631365776,
-0.0040195779874920845,
0.02317223511636257,
0.03971848264336586,
0.0009662896627560258,
-0.04600755497813225,
-0.031576380133628845,
0.039306700229644775,
-0.02268557995557785,
-0.04331224039196968,
0.04941413551568985,
-0.0444352887570858,
-0.030827682465314865,
-0.007299815304577351,
-0.009358737617731094,
-0.05094897001981735,
-0.03331710770726204,
0.046082425862550735,
-0.037603408098220825,
0.016967391595244408,
0.029592329636216164,
0.011988542973995209,
0.056901127099990845,
0.024632198736071587,
0.038370825350284576,
0.029611047357320786,
-0.03926926478743553,
0.009283867664635181,
-0.07034027576446533,
0.06146819144487381,
-0.029442589730024338,
0.011567399837076664,
0.026279335841536522,
0.024220412597060204,
0.0028123008087277412,
0.008853365667164326,
-0.013354918919503689,
-0.04028000682592392,
-0.07251150161027908,
0.1056414321064949,
-0.03243738412857056,
0.024332718923687935,
-0.03721034154295921,
0.0006463378085754812,
0.016639836132526398,
0.016321638599038124,
0.025848833844065666,
0.030153853818774223,
-0.03597498685121536,
0.03329838812351227,
-0.04301276057958603,
-0.032325081527233124,
0.012924416922032833,
-0.03689214587211609,
-0.03397221863269806,
-0.008801893331110477,
0.009592706337571144,
0.034870658069849014,
-0.050312574952840805,
-0.012531350366771221,
0.05929696187376976,
0.03380376100540161,
0.01511436142027378,
-0.03511398285627365,
-0.07876313477754593,
0.022610710933804512,
0.012390969321131706,
-0.00402425741776824,
-0.01534833014011383,
-0.0017103092977777123,
-0.03174483776092529,
0.002110395347699523,
0.038183651864528656,
-0.027907757088541985,
-0.04424811154603958,
-0.06408863514661789,
-0.02438887022435665,
0.024445023387670517,
-0.035263724625110626,
-0.061617929488420486,
-0.03331710770726204,
0.017154566943645477,
-0.04660651460289955,
0.007426158525049686,
0.035638075321912766,
0.009892186149954796,
0.006031706463545561,
0.01773480884730816,
-0.0587354376912117,
-0.03133305534720421,
0.07726573944091797,
0.019185412675142288,
-0.02364017255604267,
-0.020046416670084,
-0.06532399356365204,
0.04319993406534195,
-0.02833825722336769,
-0.0382210835814476,
0.006158049684017897,
0.027177775278687477,
0.044173240661621094,
-0.01195110846310854,
-0.016546249389648438,
0.02427656576037407,
0.0234529972076416,
0.08595065027475357,
-0.06891774386167526,
0.03445887193083763,
-0.06012053042650223,
-0.00037990626879036427,
0.030453333631157875,
0.011333431117236614,
-0.07217458635568619,
0.031127162277698517,
-0.0352824404835701,
-0.0500505305826664,
-0.057088300585746765,
0.042301494628190994,
-0.02850671485066414,
-0.032980192452669144,
0.01138958428055048,
0.008661512285470963,
-0.029217978939414024,
0.04462246224284172,
-0.04634447023272514,
0.06509938091039658,
-0.026017291471362114,
-0.032980192452669144,
-0.0739714652299881,
0.03833338990807533,
0.002227379707619548,
-0.033635303378105164,
0.004744879901409149,
0.02523115649819374,
-0.003233443945646286,
-0.01114625670015812,
-0.029480023309588432,
0.04057948663830757,
-0.0372852124273777,
0.030060265213251114,
0.018979519605636597,
0.041066139936447144,
-0.06727060675621033,
-0.031950730830430984,
-0.052858151495456696,
0.0770411267876625,
0.0764421671628952,
-0.033654022961854935,
0.10908544808626175,
0.024145543575286865,
0.01345786452293396,
0.03378504514694214,
0.0049554514698684216,
0.032325081527233124,
-0.013214537873864174,
0.007472952362149954,
-0.0029597007669508457,
0.01562909223139286,
-0.06128101423382759,
0.027327515184879303,
0.04600755497813225,
0.013532734476029873,
-0.009892186149954796,
0.01370119210332632,
0.023041212931275368,
0.005123909097164869,
-0.0027163736522197723,
0.006859954912215471,
-0.03135177120566368,
0.003481450490653515,
-0.0128963403403759,
-0.005049039144068956,
0.002322136890143156,
0.0708269253373146,
-0.019559761509299278,
0.031763557344675064,
0.01882977969944477,
0.01995282992720604,
-0.010940364561975002,
0.00016173068434000015,
-0.039755918085575104,
-0.003149215364828706,
0.03361658751964569,
0.06015796586871147,
0.035638075321912766,
-0.047093167901039124,
0.06101896986365318,
-0.00001837931813497562,
0.0028637738432735205,
-0.015994083136320114,
-0.026953164488077164,
0.042788147926330566,
0.02098228968679905,
0.05046231299638748,
-0.04095383733510971,
0.004127203486859798,
0.01449668500572443,
0.03417811170220375,
-0.0434994138777256,
-0.016087669879198074,
-0.02635420486330986,
-0.05244636535644531,
0.02918054535984993,
0.029480023309588432,
0.04660651460289955,
-0.06831878423690796,
-0.017463404685258865,
0.04930182918906212,
-0.02287275530397892,
0.023509148508310318,
0.002678938675671816,
0.03273686394095421,
0.01890465058386326,
0.04301276057958603,
0.03039718046784401,
-0.02154381386935711,
0.03163253515958786,
-0.018417995423078537,
0.08415377140045166,
0.0036101331934332848,
-0.07996105402708054,
0.05061205476522446,
-0.009054578840732574,
0.03734136372804642,
-0.058323655277490616,
0.02100100740790367,
-0.023883499205112457,
0.03941900283098221,
0.016031518578529358,
-0.0016763838939368725,
0.052296627312898636,
-0.061617929488420486,
-0.03408452495932579,
-0.005933439824730158,
-0.05480476841330528,
-0.01892336830496788,
0.00868958793580532,
0.0003284332051407546,
-0.00224843667820096,
0.016405867412686348,
-0.00038370824768207967,
-0.05630216747522354,
-0.07239919900894165,
-0.02880619466304779,
0.03228764608502388,
0.03165125101804733,
0.0487777404487133,
-0.02803877927362919,
-0.005671394988894463,
0.02023359201848507,
-0.0004889940610155463,
0.02034589648246765,
0.0913412794470787,
-0.001810915768146515,
-0.007164113689213991,
0.06865569949150085,
0.005442106164991856,
-0.031501512974500656,
0.024538610130548477,
-0.04421067610383034,
0.013261331245303154,
-0.03189457952976227,
-0.027177775278687477,
-0.07756521552801132,
-0.023658888414502144,
0.015825625509023666,
0.039868224412202835,
-0.06502451002597809,
-0.014945904724299908,
0.022554557770490646,
-0.05731290951371193,
0.00764608895406127,
0.04084153100848198,
0.03239994868636131,
-0.038932349532842636,
0.010809342376887798,
-0.026279335841536522,
-0.0027257322799414396,
-0.025006547570228577,
0.07228688895702362,
0.009082655422389507,
-0.03979335352778435,
-0.0469059944152832,
-0.04604499042034149,
0.018680039793252945,
-0.03502039611339569,
-0.006523040123283863,
-0.04649420827627182,
0.007571219000965357,
-0.041365619748830795,
0.011904314160346985,
0.059334397315979004,
0.009035861119627953,
0.024725785478949547,
0.012905699200928211,
0.0067008561454713345,
0.023883499205112457,
-0.008404146879911423,
0.018511584028601646,
0.01899823732674122,
-0.029798220843076706,
0.058585699647665024,
0.05270840972661972,
0.022142773494124413,
0.012727883644402027,
-0.023771194741129875,
0.022573275491595268,
-0.05750008672475815,
-0.040504615753889084,
0.017294947057962418,
-0.02429528348147869,
-0.01675214059650898,
-0.00035533957998268306,
-0.03273686394095421,
0.0245573278516531,
-0.013551452197134495,
-0.02785160392522812,
-0.05645190551877022,
-0.016883162781596184,
-0.05027513951063156,
-0.04585781693458557,
-0.05364428460597992,
0.016462020576000214,
-0.034777071326971054,
0.02373375929892063,
-0.009307264350354671,
0.00541403004899621,
0.00978923961520195,
0.06289071589708328,
-0.003385523334145546,
-0.02294762432575226,
0.06135588511824608,
-0.045221421867609024,
0.012596861459314823,
-0.032980192452669144,
-0.002313948003575206,
0.02521243877708912,
-0.02006513439118862,
0.03301762789487839,
0.019840523600578308,
-0.01817466877400875,
0.049563877284526825,
-0.042600974440574646,
0.06105640530586243,
0.015451275743544102,
0.011249203234910965,
-0.015881778672337532,
-0.06876800209283829,
0.021150747314095497,
-0.04492194205522537,
0.02983565628528595,
-0.009059257805347443,
0.09980157762765884,
0.00031848953221924603,
0.02098228968679905,
-0.020008981227874756,
-0.052670978009700775,
0.023546583950519562,
-0.03780930116772652,
0.038820043206214905,
-0.0065604750998318195,
0.02768314629793167,
0.03406580537557602,
0.04686855897307396,
-0.03756597265601158,
-0.03455245867371559,
-0.012765318155288696,
-0.05446785315871239,
0.06951670348644257,
0.030565638095140457,
0.021712271496653557,
0.04039231315255165,
0.02824467048048973,
-0.02446374110877514,
-0.011979184113442898,
-0.01878298632800579,
-0.009873468428850174,
0.023789912462234497,
-0.062441498041152954,
0.022442253306508064,
0.009723728522658348,
-0.037397515028715134,
-0.038820043206214905,
-0.007618012372404337,
0.03852056339383125,
-0.027814168483018875,
0.044173240661621094,
-0.045146550983190536,
-0.04301276057958603,
0.04462246224284172,
0.02532474510371685,
-0.01199790183454752,
0.023265821859240532,
-0.019054390490055084,
-0.003916631918400526,
0.04686855897307396,
0.022273795679211617,
-0.003404240822419524,
-0.0037200981751084328,
-0.02072024531662464,
-0.03736007958650589,
-0.03956874459981918,
-0.0004673519579228014,
-0.023134799674153328,
0.01232545729726553,
-0.011333431117236614,
0.01058473251760006,
0.040092833340168,
0.012653013691306114,
0.011239844374358654,
0.020664094015955925
] |
713,343
|
xmlschema.resources
|
load
|
Loads the XML text from the data source. If the data source is an Element
the source XML text can't be retrieved.
|
def load(self) -> None:
"""
Loads the XML text from the data source. If the data source is an Element
the source XML text can't be retrieved.
"""
if self._url is None and not hasattr(self._source, 'read'):
return # Created from Element or text source --> already loaded
elif self._lazy:
raise XMLResourceError("cannot load a lazy XML resource")
resource = self.open()
try:
data = resource.read()
finally:
# We don't want to close the file obj if it wasn't originally
# opened by `XMLResource`. That is the concern of the code
# where the file obj came from.
if resource is not self._source:
resource.close()
if isinstance(data, bytes):
try:
text = data.decode('utf-8')
except UnicodeDecodeError:
text = data.decode('iso-8859-1')
else:
text = data
self._text = text
|
(self) -> NoneType
|
[
0.01817304641008377,
-0.03989516198635101,
0.01912856474518776,
0.010565301403403282,
0.008531413041055202,
-0.0032214613165706396,
0.03219641372561455,
0.0336342416703701,
0.05802270397543907,
-0.02773732878267765,
0.025771690532565117,
-0.022786833345890045,
0.027446122840046883,
0.007908050902187824,
-0.05365462228655815,
0.06417442113161087,
-0.07949911803007126,
-0.028610944747924805,
-0.06424722075462341,
-0.04011356458067894,
-0.05907832458615303,
-0.029338959604501724,
0.005655757617205381,
0.021167002618312836,
0.01800924353301525,
0.023787854239344597,
-0.027682727202773094,
-0.016407612711191177,
-0.020111383870244026,
-0.023442046716809273,
0.018182147294282913,
-0.029975971207022667,
0.03336123749613762,
-0.0002518188557587564,
0.004718440119177103,
0.07072655111551285,
0.006765978876501322,
-0.033379435539245605,
0.04815811663866043,
-0.03538147360086441,
-0.013368154875934124,
-0.021294405683875084,
0.026099298149347305,
-0.013477357104420662,
-0.01700822450220585,
-0.009773585945367813,
-0.008931820280849934,
0.044372446835041046,
-0.049759749323129654,
-0.02406085841357708,
0.04484565556049347,
0.09871868044137955,
-0.021986018866300583,
0.03832992911338806,
-0.03165040165185928,
0.02932075969874859,
-0.03731071203947067,
0.1078188568353653,
0.012840344570577145,
0.010847406461834908,
0.023915255442261696,
-0.01655321568250656,
0.04076877608895302,
0.004832191858440638,
-0.020038582384586334,
0.023824254050850868,
0.031723205000162125,
-0.028610944747924805,
0.005769509822130203,
0.030503781512379646,
-0.00023873736790847033,
0.04582847282290459,
-0.014960684813559055,
0.018045643344521523,
0.03989516198635101,
-0.018509753048419952,
-0.03894874081015587,
-0.005564756225794554,
0.012176032178103924,
0.020238785073161125,
0.025698889046907425,
0.04517326131463051,
-0.028738347813487053,
-0.024879874661564827,
0.02413365989923477,
-0.07746067643165588,
0.0448092557489872,
0.002356944838538766,
0.01219423208385706,
0.03316103294491768,
-0.01247633807361126,
0.09238496422767639,
-0.0647568330168724,
-0.009955589659512043,
0.060716357082128525,
-0.054164230823516846,
-0.0022921061608940363,
-0.02429746277630329,
0.020602792501449585,
0.026699908077716827,
-0.04302562028169632,
0.03700130432844162,
-0.021440008655190468,
-0.021622011438012123,
0.04262521117925644,
0.009873688220977783,
0.029830368235707283,
0.01598900556564331,
0.036364294588565826,
-0.0076850964687764645,
0.00046439323341473937,
-0.0896185114979744,
0.0029598313849419355,
0.09981070458889008,
0.008708866313099861,
-0.0832119882106781,
-0.03672830015420914,
0.011775624006986618,
-0.0022375050466507673,
-0.03367064148187637,
-0.00004215939770801924,
0.006897931452840567,
-0.08714325726032257,
0.014460175298154354,
0.005005095154047012,
0.024879874661564827,
0.02939355932176113,
-0.04877692833542824,
0.08430400490760803,
-0.06519364565610886,
0.04415404051542282,
-0.011056710965931416,
-0.0034057400189340115,
-0.008476811461150646,
0.01892836019396782,
-0.06373761594295502,
0.019547171890735626,
0.05365462228655815,
-0.0228414349257946,
0.030430980026721954,
0.019947580993175507,
0.001906486344523728,
-0.0042361305095255375,
0.027282319962978363,
-0.031395599246025085,
-0.025971895083785057,
-0.005987914279103279,
-0.018391450867056847,
-0.05103377252817154,
-0.015388392843306065,
0.018027443438768387,
-0.06956172734498978,
-0.05467384308576584,
-0.031850606203079224,
0.003191885771229863,
-0.02191321738064289,
-0.029484562575817108,
0.029266158118844032,
0.009127474389970303,
-0.03525407239794731,
-0.01773623749613762,
0.0273005198687315,
-0.0075986445881426334,
0.011147712357342243,
-0.0038152476772665977,
0.028683746233582497,
-0.011457118205726147,
-0.07746067643165588,
-0.0045341611839830875,
-0.029994171112775803,
-0.014815082773566246,
-0.024843472987413406,
-0.04786691069602966,
0.06330080330371857,
0.005696708336472511,
0.021986018866300583,
0.031887006014585495,
0.017135625705122948,
-0.009536981582641602,
0.06428362429141998,
-0.00585141172632575,
0.006520274095237255,
-0.03731071203947067,
-0.001419627107679844,
0.025535086169838905,
0.016043605282902718,
0.0372743122279644,
0.007621395401656628,
0.03534507378935814,
0.00716638658195734,
0.003908524289727211,
-0.04488205537199974,
-0.014360073953866959,
0.010465199127793312,
-0.04298922047019005,
-0.03434405475854874,
-0.02005678229033947,
-0.05733109265565872,
-0.01909216307103634,
0.06799649447202682,
-0.01492428407073021,
-0.0009043297613970935,
0.07964471727609634,
0.041460391134023666,
-0.02558968774974346,
0.0027346021961420774,
-0.028410742059350014,
0.03236021846532822,
-0.06118956580758095,
0.040623173117637634,
-0.006115316413342953,
-0.021986018866300583,
0.006988933309912682,
0.021440008655190468,
0.06191758066415787,
-0.026590706780552864,
-0.09893708676099777,
-0.024443065747618675,
-0.034471455961465836,
-0.019474370405077934,
0.07534943521022797,
0.05041496083140373,
-0.023915255442261696,
-0.04768490791320801,
0.007362040225416422,
-0.03461705893278122,
0.00712543586269021,
-0.035235870629549026,
-0.013723061420023441,
0.053436219692230225,
0.030885988846421242,
0.03530867397785187,
0.05693068355321884,
-0.017126526683568954,
0.06377401202917099,
-0.00940047949552536,
0.02668170817196369,
0.033980049192905426,
-0.016598716378211975,
-0.02922975644469261,
-0.014896984212100506,
-0.014123469591140747,
-0.04473645240068436,
-0.07145456224679947,
-0.029484562575817108,
0.012785743921995163,
-0.025607887655496597,
0.03064938448369503,
-0.01767253689467907,
-0.0663948655128479,
0.020675593987107277,
0.03720150887966156,
-0.041351187974214554,
-0.034871865063905716,
0.007266488391906023,
-0.0650116354227066,
0.0026231249794363976,
-0.0507061667740345,
-0.0004956750781275332,
-0.0012546863872557878,
0.010401498526334763,
-0.012421736493706703,
0.015497595071792603,
0.08262957632541656,
-0.0046069626696407795,
-0.037055905908346176,
-0.02859274484217167,
0.001362751005217433,
-0.022786833345890045,
0.0026595257222652435,
0.07855270057916641,
0.008963670581579208,
0.056311871856451035,
0.016489515081048012,
0.013022348284721375,
-0.024843472987413406,
0.0024752472527325153,
-0.02535308338701725,
0.04156959056854248,
0.023842453956604004,
0.002014550846070051,
0.017299430444836617,
0.026354102417826653,
0.003048558020964265,
0.033707041293382645,
-0.10658123344182968,
-0.04335322603583336,
-0.01680801995098591,
-0.0361458882689476,
-0.03307003155350685,
0.010565301403403282,
0.017927341163158417,
-0.02138540707528591,
-0.019474370405077934,
0.025971895083785057,
-0.015670498833060265,
-0.04113278537988663,
0.04528246447443962,
-0.02446126565337181,
0.002964381594210863,
0.0025298481341451406,
-0.04000436142086983,
0.03741991147398949,
0.00877256691455841,
-0.024406665936112404,
-0.04517326131463051,
-0.024170059710741043,
0.018327748402953148,
-0.008017253130674362,
0.024534067139029503,
0.051215775310993195,
-0.004361257888376713,
0.009800886735320091,
0.02604469656944275,
0.011821125634014606,
0.04087797924876213,
0.05259900167584419,
0.019911179319024086,
0.0312499962747097,
-0.012157831341028214,
-0.041351187974214554,
-0.008890869095921516,
0.003339763730764389,
-0.035854682326316833,
0.020602792501449585,
0.007407541386783123,
0.06370121240615845,
0.01837325096130371,
0.012567339465022087,
-0.005828660912811756,
-0.004611513111740351,
0.00956428237259388,
-0.006670427042990923,
0.040295567363500595,
-0.048667728900909424,
-0.010565301403403282,
0.0006609000847674906,
-0.06876090914011002,
0.04517326131463051,
-0.0728013888001442,
0.03862113505601883,
0.0008798729977570474,
-0.007544043939560652,
-0.035727281123399734,
0.012530938722193241,
0.002466147067025304,
-0.011074910871684551,
-0.06442923098802567,
0.07036253809928894,
-0.02300523780286312,
-0.0434260293841362,
-0.046520087867975235,
0.02620849944651127,
-0.0027710027061402798,
-0.028847549110651016,
-0.045064058154821396,
-0.007616844959557056,
0.04877692833542824,
0.03822072967886925,
-0.01985657773911953,
-0.006088016089051962,
0.009609783068299294,
-0.056384675204753876,
0.007148186210542917,
-0.0372743122279644,
-0.00309860915876925,
0.004076877608895302,
0.06821490079164505,
-0.03756551444530487,
0.013304453343153,
-0.0010374197736382484,
-0.04084157943725586,
-0.043972037732601166,
0.004120103549212217,
0.05077896639704704,
-0.05430983379483223,
-0.015179089270532131,
0.0013593384064733982,
-0.006461123004555702,
-0.004777591209858656,
0.02304163947701454,
0.0661400631070137,
-0.03534507378935814,
-0.036892104893922806,
-0.03194160759449005,
-0.0566030777990818,
-0.022259024903178215,
0.0043407827615737915,
0.00006444771133828908,
0.009536981582641602,
0.05915112793445587,
-0.0027573525439947844,
0.0034307653550058603,
0.030594782903790474,
-0.01039239764213562,
-0.00948238093405962,
0.04014996439218521,
-0.005123397801071405,
0.027082115411758423,
0.038075126707553864,
-0.01718112826347351,
0.03541787341237068,
-0.026790911331772804,
0.01880095899105072,
-0.027355121448636055,
0.03583648428320885,
0.047575708478689194,
-0.029484562575817108,
-0.012367135845124722,
0.026517905294895172,
-0.0010340071748942137,
-0.012849444523453712,
-0.004727540072053671,
-0.06490243971347809,
-0.0028460791800171137,
0.009973790496587753,
0.023969857022166252,
0.006665877066552639,
-0.0011187525233253837,
0.005332701839506626,
-0.05212579295039177,
0.0778246819972992,
0.016535015776753426,
-0.03367064148187637,
-0.03044917993247509,
-0.03782032057642937,
0.001383226364850998,
-0.025808092206716537,
-0.007484892848879099,
0.025007275864481926,
-0.022750433534383774,
-0.006192667875438929,
-0.04007716476917267,
-0.039967961609363556,
0.02737332135438919,
-0.009063772857189178,
-0.033142831176519394,
-0.028283338993787766,
-0.004932294134050608,
-0.019183166325092316,
0.012512738816440105,
-0.032851625233888626,
0.06599445641040802,
0.06239078938961029,
-0.022586630657315254,
-0.06377401202917099,
-0.05718548968434334,
0.0448092557489872,
-0.021822215989232063,
-0.0010414010612294078,
-0.002468422055244446,
0.06344641000032425,
0.04382643476128578,
-0.03678290173411369,
-0.07767908275127411,
-0.030376378446817398,
0.09668023884296417,
-0.01628931052982807,
-0.007871650159358978,
0.06399241834878922,
-0.05336341634392738,
0.018946561962366104,
0.033379435539245605,
-0.10061151534318924,
-0.020311586558818817,
-0.026317700743675232,
-0.03145020082592964,
0.021531010046601295,
-0.007835249416530132,
0.00029148993780836463,
0.027755528688430786,
-0.01664421707391739,
-0.007120885886251926,
-0.04604687914252281,
0.007089035119861364,
0.006665877066552639,
-0.03157760202884674,
0.026608906686306,
0.05540185421705246,
-0.024697870016098022,
0.038111526519060135,
0.007776098325848579,
0.05976993963122368,
-0.014178070239722729,
-0.04877692833542824,
-0.025808092206716537,
0.06766889244318008,
-0.0049277436919510365,
0.004429509397596121,
0.03898514434695244,
-0.007503093220293522,
0.07403901219367981,
-0.01810934580862522,
-0.02684551104903221,
-0.020475389435887337,
-0.023951657116413116,
0.007307439111173153,
0.034671660512685776,
-0.010874707251787186,
-0.021531010046601295,
-0.030430980026721954,
-0.07152736186981201,
0.004468185361474752,
0.04666569083929062,
0.024443065747618675,
0.03756551444530487,
0.004222480580210686,
0.06930691748857498,
0.04641088470816612,
-0.0144965760409832,
-0.0338890440762043,
-0.011074910871684551,
0.0217130146920681,
0.019619973376393318,
0.03529047220945358,
-0.0069070314057171345,
-0.012767543084919453,
0.09172974526882172,
-0.03985875844955444,
-0.012612840160727501,
0.03650989755988121,
0.05718548968434334,
0.007325639482587576,
-0.057076286524534225,
-0.010783705860376358,
-0.012257933616638184,
-0.07109055668115616,
-0.001848472747951746,
-0.04291641712188721,
0.015315592288970947,
0.0323784165084362,
-0.06508444249629974,
0.04014996439218521,
-0.09012811630964279,
0.011193213053047657,
0.03723790869116783,
-0.04364443197846413,
-0.014978885650634766,
-0.024898074567317963,
0.014269071631133556,
0.009864588268101215,
0.020311586558818817,
0.01204863004386425,
0.027682727202773094,
-0.0014059768291190267,
-0.06297320127487183,
-0.016735218465328217,
0.06497523933649063,
0.008313008584082127,
0.03650989755988121,
-0.00024200773623306304,
-0.012649240903556347,
0.009250326082110405,
0.012203332968056202,
0.017417732626199722,
-0.03543607518076897,
-0.007548593915998936,
0.0046388134360313416,
0.010383297689259052,
0.02211342193186283,
0.024843472987413406,
0.00035604427102953196,
-0.05449184030294418,
0.06293679773807526,
0.05041496083140373,
0.03623688966035843,
0.029247958213090897,
-0.028283338993787766,
-0.010110292583703995,
-0.0283015388995409,
0.039603956043720245,
0.005828660912811756,
-0.013431856408715248,
0.02535308338701725,
0.026736309751868248,
0.01718112826347351,
0.010610802099108696,
0.00956428237259388,
0.03210541233420372,
0.017927341163158417,
0.03832992911338806,
-0.01773623749613762,
0.020002180710434914,
-0.007689646445214748,
0.017590634524822235,
-0.03832992911338806,
-0.026536105200648308,
0.06515724211931229,
0.009864588268101215,
-0.046156078577041626,
-0.004538711626082659,
-0.0520893931388855,
-0.004154229070991278,
-0.04561007022857666,
0.06155357137322426,
-0.011511719785630703,
0.06078915670514107,
-0.017317630350589752,
-0.01213053148239851,
-0.07451222091913223,
-0.014623979106545448,
0.01324075274169445,
-0.029611963778734207,
0.013905065134167671,
-0.02058459259569645,
0.04331682622432709,
-0.06748688966035843,
0.03931275010108948,
0.02204062044620514,
0.030740385875105858,
0.027427922934293747,
-0.08845368772745132,
0.0186371561139822,
-0.019310567528009415,
-0.007107235491275787,
-0.004204280208796263,
-0.027609925717115402,
-0.03081318736076355,
-0.009627983905375004,
0.012485438026487827,
0.014733180403709412,
0.036892104893922806,
0.019437970593571663,
0.06279119849205017,
-0.06053435429930687,
0.025171080604195595,
-0.013768562115728855,
-0.017235727980732918,
-0.039967961609363556,
0.026099298149347305,
0.048303719609975815,
-0.013868664391338825,
0.04477285221219063,
0.033543240278959274,
-0.036619096994400024,
0.03214181214570999,
0.0627547949552536,
0.049759749323129654,
0.05285380780696869,
-0.048340119421482086,
0.03967675566673279,
0.04011356458067894,
-0.0647568330168724,
-0.03181420639157295,
-0.053436219692230225,
0.054855845868587494,
-0.011411617510020733,
-0.05103377252817154,
0.024534067139029503,
-0.01670791767537594,
-0.017071925103664398,
-0.02356944978237152,
0.048194520175457,
0.01598900556564331,
0.01694452203810215,
0.025334883481264114,
0.02194961905479431,
-0.021804016083478928,
0.005582956597208977,
0.040368370711803436,
-0.004900443367660046,
0.022495629265904427,
-0.0011830225121229887,
0.0007228950271382928,
0.049577746540308,
-0.005473754368722439,
-0.007111785467714071,
0.027318719774484634,
-0.03199620917439461,
-0.0021635661832988262,
-0.0646476298570633,
0.06027954816818237,
0.014787781983613968,
-0.004932294134050608,
0.016635116189718246,
-0.024734271690249443,
-0.0024524966720491648,
-0.10949328541755676,
-0.017490534111857414,
0.04713889956474304,
0.011475319042801857,
0.024734271690249443,
-0.023587649688124657,
-0.07138176262378693,
-0.07585904747247696,
0.05944233387708664,
-0.0278647318482399,
-0.021057801321148872,
0.049031734466552734,
-0.07913510501384735,
-0.0577315017580986,
0.03698310628533363,
-0.024898074567317963,
0.02220442332327366,
0.03525407239794731,
-0.058969125151634216,
0.0050460463389754295,
-0.05500144883990288,
0.029939571395516396,
0.0064292727038264275,
0.03206901252269745,
-0.009973790496587753,
-0.005086997058242559,
-0.06195398047566414,
-0.027591725811362267,
-0.030467379838228226,
-0.06279119849205017,
0.03760191798210144,
-0.00533725181594491,
0.06705007702112198,
0.045391663908958435,
0.0210214015096426,
-0.03352503851056099,
-0.04804891720414162,
0.026099298149347305,
-0.012822144664824009,
-0.016962723806500435,
-0.0040746028535068035,
-0.03763831779360771,
0.029466360807418823,
-0.024534067139029503,
-0.015097187831997871,
-0.00005310804408509284,
-0.01443287543952465,
0.019510772079229355,
0.09580662846565247,
-0.02733692154288292,
-0.04804891720414162,
0.01982017792761326,
-0.00392899988219142,
0.023715052753686905,
0.04186079651117325,
-0.004763940814882517,
0.019401568919420242,
-0.005769509822130203,
-0.05984273925423622,
0.024570468813180923,
-0.006297320127487183,
0.028974952176213264,
-0.030267177149653435,
-0.018318649381399155,
0.006379221566021442,
-0.012603740207850933,
0.02773732878267765,
-0.023059839382767677,
-0.0028620045632123947,
0.04855852574110031,
0.0010709766065701842,
-0.002896130084991455,
0.08568723499774933,
-0.03538147360086441,
0.011657321825623512,
0.023551248013973236,
0.09085613489151001,
0.025535086169838905,
0.002927980851382017,
-0.016171008348464966,
-0.00648842379450798,
-0.013413655571639538,
-0.018127545714378357,
-0.02025698684155941,
0.014269071631133556,
-0.006206318270415068,
0.0062882197089493275,
0.020238785073161125,
0.02644510380923748,
0.013914165087044239,
0.08102794736623764
] |
713,344
|
xmlschema.resources
|
open
|
Returns an opened resource reader object for the instance URL. If the
source attribute is a seekable file-like object rewind the source and
return it.
|
def open(self) -> IO[AnyStr]:
"""
Returns an opened resource reader object for the instance URL. If the
source attribute is a seekable file-like object rewind the source and
return it.
"""
if self.seek(0) == 0:
return cast(IO[AnyStr], self._source)
elif self._url is None:
raise XMLResourceError(f"can't open, {self!r} has no URL associated")
try:
return cast(IO[AnyStr], urlopen(self._url, timeout=self._timeout))
except URLError as err:
msg = "cannot access to resource %(url)r: %(reason)s"
raise XMLResourceError(msg % {'url': self._url, 'reason': err.reason})
|
(self) -> IO[~AnyStr]
|
[
0.02030230313539505,
-0.0642390325665474,
-0.04588502645492554,
-0.014530258253216743,
0.021194512024521828,
-0.017917009070515633,
0.03430451825261116,
0.04664977639913559,
0.05251286178827286,
-0.019992761313915253,
0.017416279762983322,
0.021194512024521828,
0.038565270602703094,
0.04803360998630524,
-0.01906413584947586,
0.07581954449415207,
-0.0652587041258812,
0.0007323168101720512,
-0.035834018141031265,
0.019847093150019646,
-0.038747355341911316,
0.025728389620780945,
-0.009377297013998032,
-0.030025558546185493,
0.008872015401721,
0.0935908854007721,
-0.024308137595653534,
-0.006791711784899235,
-0.033430516719818115,
-0.04945385828614235,
0.04257110506296158,
-0.012154068797826767,
0.012855090200901031,
0.04133293777704239,
0.040058355778455734,
0.07075762003660202,
-0.022177761420607567,
0.02063005231320858,
-0.012563756667077541,
-0.04748735949397087,
-0.033029936254024506,
-0.02188642881810665,
0.029315432533621788,
-0.03115447424352169,
-0.015386049635708332,
-0.006532242987304926,
-0.0545157790184021,
-0.023506971076130867,
-0.006846337113529444,
-0.05626378208398819,
0.06107078120112419,
0.09104171395301819,
-0.0167243629693985,
0.014712341129779816,
-0.023051762953400612,
0.0341588519513607,
-0.05429727956652641,
0.07625654339790344,
0.0013792819809168577,
-0.00960490107536316,
-0.0390751026570797,
-0.016196321696043015,
0.06114361807703972,
-0.01366536132991314,
-0.00858068186789751,
-0.012472715228796005,
-0.01821744814515114,
-0.020757511258125305,
0.025637347251176834,
0.042389024049043655,
0.03363081067800522,
0.04624919220805168,
-0.0422433577477932,
-0.0017309306422248483,
0.05178452655673027,
0.009044994600117207,
-0.03514210134744644,
-0.028186514973640442,
0.005831222049891949,
-0.03543343394994736,
0.049089692533016205,
0.03122730925679207,
-0.03929360583424568,
-0.031190892681479454,
0.013028069399297237,
-0.06664253771305084,
0.03008018247783184,
-0.02310638688504696,
-0.03348514437675476,
0.027694890275597572,
-0.008248379454016685,
0.08790987730026245,
-0.0801895409822464,
-0.05269494652748108,
0.0561545304954052,
-0.046868275851011276,
-0.026056138798594475,
-0.0140386326238513,
0.01730703003704548,
-0.010242193005979061,
-0.037654854357242584,
0.030535390600562096,
-0.07228711992502213,
0.027785930782556534,
0.014266236685216427,
-0.005753836594521999,
0.029024098068475723,
0.039548519998788834,
0.026037931442260742,
-0.009090514853596687,
-0.02221417799592018,
-0.045775774866342545,
-0.009932651184499264,
0.09475621581077576,
0.010251297615468502,
-0.030426140874624252,
-0.004463320132344961,
0.02585584670305252,
-0.0021155818831175566,
-0.06307370215654373,
-0.030298683792352676,
0.039912689477205276,
-0.05524411424994469,
-0.0006720016826875508,
0.07662070542573929,
0.04075027257204056,
-0.00874000508338213,
-0.0661691203713417,
0.052075862884521484,
-0.024745138362050056,
0.028386807069182396,
0.01798073947429657,
-0.005640034098178148,
0.031773559749126434,
-0.01771671697497368,
0.000048330348363379017,
-0.03140939027070999,
0.09504754841327667,
-0.03754560276865959,
0.033849310129880905,
0.03841960430145264,
0.0313001424074173,
-0.02784055657684803,
-0.01541336253285408,
-0.043700024485588074,
-0.011225443333387375,
0.0156227583065629,
0.0018754593329504132,
0.03554268553853035,
0.011343797668814659,
0.04879835993051529,
-0.07458136975765228,
-0.00656865956261754,
0.051238276064395905,
0.0038897572085261345,
-0.04402777552604675,
-0.04268035665154457,
0.013210153207182884,
0.006231805309653282,
-0.038893021643161774,
-0.04508385807275772,
0.012937027961015701,
-0.001781003549695015,
-0.03929360583424568,
-0.0002001495158765465,
-0.010415172204375267,
-0.009254390373826027,
-0.03994910418987274,
0.04821569100022316,
-0.024745138362050056,
-0.045921441167593,
-0.005239450838416815,
-0.049344610422849655,
0.02958855777978897,
0.020775718614459038,
0.028896640986204147,
-0.0016125764232128859,
0.03601610288023949,
0.004679544363170862,
0.023925762623548508,
-0.0022544204257428646,
-0.014393695630133152,
-0.05841236561536789,
-0.007506389636546373,
0.013729090802371502,
0.057538364082574844,
0.011016047559678555,
-0.0019107380649074912,
0.0261835977435112,
0.00731064984574914,
-0.0045247734524309635,
-0.0018435947131365538,
-0.02263297140598297,
-0.01077023521065712,
-0.031008807942271233,
-0.05823028087615967,
-0.054807111620903015,
-0.005111992359161377,
-0.00019332139345351607,
0.13139140605926514,
-0.048434194177389145,
0.08689021319150925,
-0.0072787851095199585,
0.0275128073990345,
-0.053568944334983826,
0.007119462359696627,
-0.0235251784324646,
-0.021831803023815155,
-0.04683185741305351,
0.06919170171022415,
-0.06584136933088303,
-0.03075389191508293,
-0.03337589278817177,
0.010761130601167679,
0.047851525247097015,
0.04067743942141533,
-0.09380938112735748,
-0.006664253771305084,
-0.04202485457062721,
0.0020177119877189398,
0.07250562310218811,
0.023233845829963684,
-0.036252811551094055,
-0.0437728576362133,
0.03838318586349487,
-0.019592177122831345,
-0.0051074400544166565,
-0.03406780958175659,
-0.05651869624853134,
0.02088497020304203,
0.022432679310441017,
0.004406419117003679,
0.09446488320827484,
0.015012779273092747,
0.05735627934336662,
0.004993638023734093,
-0.003618908114731312,
0.03297530859708786,
-0.04745094105601311,
0.002001779619604349,
-0.024399179965257645,
-0.02501826360821724,
-0.01707942597568035,
-0.0313001424074173,
-0.028368597850203514,
0.0051210965029895306,
-0.05444294586777687,
0.03339410200715065,
-0.0051620653830468655,
-0.06467603147029877,
0.06387487053871155,
0.04763302579522133,
-0.061981201171875,
-0.03275680914521217,
0.002940647304058075,
-0.021340178325772285,
-0.02767668105661869,
-0.0791698768734932,
-0.0007169535383582115,
-0.006741639226675034,
0.0122997360303998,
-0.008453222922980785,
0.05917711555957794,
0.03718143701553345,
-0.047013942152261734,
-0.043954938650131226,
-0.03173714131116867,
-0.013346715830266476,
0.02520034648478031,
0.01840863563120365,
0.042971689254045486,
0.033849310129880905,
0.00664604501798749,
0.0200473852455616,
0.01387475710362196,
-0.055389780551195145,
0.013319402933120728,
-0.04417344182729721,
0.03663518652319908,
-0.015877675265073776,
-0.06001469865441322,
0.035014644265174866,
0.02658418007194996,
0.0005661656614392996,
0.01788969710469246,
-0.0839768797159195,
-0.007879660464823246,
0.03008018247783184,
-0.02445380575954914,
-0.015759320929646492,
0.02354338765144348,
0.01674257218837738,
-0.024745138362050056,
-0.027804140001535416,
0.04151502251625061,
0.01674257218837738,
-0.05160244554281235,
0.005708315409719944,
0.026638805866241455,
-0.006673357915133238,
-0.024308137595653534,
-0.037509188055992126,
0.0033412310294806957,
0.053823862224817276,
-0.023506971076130867,
-0.01821744814515114,
-0.011671547777950764,
-0.0167243629693985,
-0.033521559089422226,
0.026147181168198586,
0.03188280761241913,
0.0057583884336054325,
0.0031477673910558224,
0.005835773888975382,
0.0007032972644083202,
0.052003029733896255,
0.00016899617912713438,
0.05841236561536789,
0.05036427825689316,
0.04504743963479996,
-0.05568111315369606,
0.06398411840200424,
0.015841258689761162,
-0.06172628328204155,
-0.009878026321530342,
-0.00025036471197381616,
-0.0018196962773799896,
0.043627191334962845,
-0.016223633661866188,
0.03747276961803436,
-0.008680827915668488,
0.010833963751792908,
0.03221055865287781,
0.02128555253148079,
-0.03532418608665466,
0.0200473852455616,
0.017425384372472763,
-0.05757478252053261,
0.034686893224716187,
-0.040568187832832336,
0.047196026891469955,
0.011953777633607388,
0.02221417799592018,
-0.029187973588705063,
-0.03106343373656273,
-0.013364924117922783,
0.02634747326374054,
-0.04249827191233635,
0.05997828394174576,
-0.09024054557085037,
-0.03925718739628792,
0.022742221131920815,
0.005166617222130299,
-0.010278609581291676,
-0.03397676721215248,
-0.009004025720059872,
-0.007547358050942421,
0.047523774206638336,
0.03048076666891575,
0.0005929091712459922,
-0.02825934812426567,
-0.005904055200517178,
-0.07895137369632721,
-0.02221417799592018,
-0.04737810790538788,
-0.003602975979447365,
0.036179978400468826,
0.024144262075424194,
-0.029479308053851128,
0.005043711047619581,
-0.0652587041258812,
-0.02825934812426567,
-0.03860168904066086,
-0.04140577092766762,
0.014630403369665146,
-0.007337962277233601,
0.005275867413729429,
-0.04715960845351219,
0.00895395316183567,
-0.0074107954278588295,
0.0416242741048336,
0.05731986463069916,
0.004711408633738756,
-0.012390777468681335,
-0.006741639226675034,
-0.07727620750665665,
-0.07093970477581024,
0.0227058045566082,
-0.0032046684063971043,
0.04530235752463341,
0.02277863770723343,
0.005721971858292818,
0.008321212604641914,
0.0326293520629406,
0.009331775829195976,
-0.02436276338994503,
0.006099794991314411,
0.03414064273238182,
0.03565193712711334,
0.03328485041856766,
-0.001404318492859602,
0.039803437888622284,
-0.03465047851204872,
0.027968015521764755,
-0.04599427431821823,
0.03546985238790512,
0.06478528678417206,
-0.002337496029213071,
0.002385292900726199,
-0.055025614798069,
-0.029934516176581383,
-0.03951210528612137,
-0.04373643919825554,
-0.04581218957901001,
0.025564514100551605,
-0.006632389035075903,
0.041223689913749695,
0.03514210134744644,
0.021576886996626854,
-0.0008170994115062058,
-0.00011181060835951939,
0.03437735140323639,
0.007847796194255352,
-0.02072109468281269,
-0.03017122484743595,
-0.05684644728899002,
0.04268035665154457,
0.005271315108984709,
0.006673357915133238,
0.040895938873291016,
-0.010005484335124493,
0.014475632458925247,
0.002965683816000819,
-0.045520856976509094,
0.04078668728470802,
0.012372569181025028,
-0.02733072265982628,
0.004688648506999016,
0.01953755132853985,
0.020903177559375763,
0.05509844794869423,
-0.034832559525966644,
0.04828852415084839,
0.08674454689025879,
-0.012937027961015701,
-0.04471969231963158,
-0.02254192903637886,
0.03031689114868641,
0.0060770343989133835,
-0.03372185304760933,
-0.011717068962752819,
-0.015376945957541466,
0.038492437452077866,
-0.0053077321499586105,
-0.09038621187210083,
-0.04104160517454147,
0.03496002033352852,
0.015877675265073776,
-0.01520396675914526,
0.009550276212394238,
0.008462327532470226,
0.00365532492287457,
0.06114361807703972,
-0.13139140605926514,
-0.0753825381398201,
0.009832505136728287,
0.0021269621793180704,
0.01139842253178358,
0.008562473580241203,
-0.0038100958336144686,
0.03448660299181938,
0.017043009400367737,
-0.03319380804896355,
-0.021340178325772285,
0.0248543880879879,
0.004008111543953419,
0.005175721365958452,
0.04734169319272041,
0.030590016394853592,
-0.03164609894156456,
-0.025418847799301147,
-0.04563010856509209,
0.0576840303838253,
0.02469051256775856,
-0.05782969668507576,
-0.01747090555727482,
0.041806355118751526,
0.013119110837578773,
0.046030692756175995,
0.036343853920698166,
0.01565007120370865,
0.10925006121397018,
-0.04424627497792244,
-0.0030772099271416664,
0.00606793025508523,
0.006864545401185751,
-0.008066295646131039,
0.02676626481115818,
-0.02651134692132473,
-0.0027403556741774082,
0.011908256448805332,
-0.0624910332262516,
-0.01582304947078228,
0.03577939420938492,
0.030608225613832474,
0.03561551868915558,
-0.027057597413659096,
0.012754944153130054,
0.035014644265174866,
-0.0355973094701767,
0.007374378852546215,
0.01922800950706005,
0.006436649244278669,
0.011134401895105839,
0.004647679626941681,
0.004568018019199371,
0.02195926196873188,
0.06569570302963257,
-0.0194829273968935,
-0.016888238489627838,
0.05626378208398819,
0.024089638143777847,
-0.012390777468681335,
-0.034595850855112076,
-0.046941109001636505,
-0.024308137595653534,
-0.0108157554641366,
0.041806355118751526,
-0.031682517379522324,
0.010497109964489937,
0.054078780114650726,
-0.05975978076457977,
-0.021394802257418633,
-0.06340145319700241,
0.015722904354333878,
0.040313269942998886,
-0.04176994040608406,
-0.005785700865089893,
-0.03488718718290329,
0.026292847469449043,
0.01185363158583641,
0.016341987997293472,
-0.007761306129395962,
0.008316660299897194,
-0.007938837632536888,
-0.08856537938117981,
0.012290631420910358,
0.050255026668310165,
0.00936819240450859,
-0.022887887433171272,
0.02867813967168331,
-0.02104884386062622,
0.05211227759718895,
0.02552809752523899,
0.003643944626674056,
0.0302258487790823,
0.007105805911123753,
-0.024635888636112213,
0.009181557223200798,
0.008976712822914124,
0.04628560692071915,
0.01200840249657631,
-0.06529511511325836,
0.047669440507888794,
-0.005453398916870356,
0.007388035301119089,
0.04865269362926483,
-0.02130376175045967,
-0.008699036203324795,
0.01871817745268345,
0.020739302039146423,
0.018417738378047943,
0.009268046356737614,
0.025000054389238358,
0.04209768772125244,
-0.006209045182913542,
0.008321212604641914,
0.03250189125537872,
0.05163886025547981,
0.02849605679512024,
0.03892943635582924,
-0.02263297140598297,
-0.021194512024521828,
-0.059869032353162766,
0.02865993231534958,
-0.053568944334983826,
-0.03435914218425751,
0.04482894018292427,
-0.02667522244155407,
-0.031937435269355774,
-0.007533702068030834,
-0.09366371482610703,
-0.04978160932660103,
-0.02973422408103943,
0.06150778383016586,
-0.018608925864100456,
0.04380927234888077,
-0.03332126885652542,
0.0071786390617489815,
0.012900611385703087,
-0.018244760110974312,
0.015549925155937672,
-0.051420360803604126,
0.007720337714999914,
0.005166617222130299,
0.025327805429697037,
-0.06037886440753937,
0.007674816530197859,
-0.012117652222514153,
0.0333394780755043,
0.04002193734049797,
-0.04828852415084839,
-0.01964680291712284,
-0.03157326579093933,
-0.01549530029296875,
0.03933002054691315,
-0.057465530931949615,
-0.0033958558924496174,
-0.025309596210718155,
-0.009495651349425316,
0.0470503568649292,
-0.016469446942210197,
0.023324888199567795,
0.03787335380911827,
-0.0449017733335495,
0.042971689254045486,
-0.001491946168243885,
0.013683569617569447,
-0.012172277085483074,
0.023670846596360207,
0.06267311424016953,
-0.0080799525603652,
0.053823862224817276,
0.010060109198093414,
-0.057538364082574844,
0.030954184010624886,
0.06547719985246658,
0.035415228456258774,
0.02412605471909046,
0.004948117304593325,
-0.007506389636546373,
0.006787159945815802,
-0.053241197019815445,
-0.014675924554467201,
-0.041551437228918076,
0.003236532909795642,
0.01697928085923195,
-0.019446510821580887,
0.018290281295776367,
-0.0161599051207304,
-0.0028564338572323322,
-0.009295359253883362,
0.05269494652748108,
-0.0009144002106040716,
0.030353307723999023,
-0.03506926819682121,
0.031773559749126434,
-0.03994910418987274,
0.02188642881810665,
0.058121033012866974,
-0.010069213807582855,
0.00365532492287457,
0.008840150199830532,
0.0013474173611029983,
-0.002339772181585431,
-0.011252756230533123,
-0.010415172204375267,
-0.009386400692164898,
-0.04100519046187401,
0.014566674828529358,
-0.039803437888622284,
0.06529511511325836,
0.012709423899650574,
0.013993111439049244,
0.02825934812426567,
-0.02345234528183937,
0.02088497020304203,
-0.047924358397722244,
-0.019009510055184364,
0.026893721893429756,
-0.02354338765144348,
0.050255026668310165,
-0.05557186156511307,
-0.019264427945017815,
-0.024981847032904625,
-0.0018458707490935922,
-0.007533702068030834,
-0.0004828055971302092,
0.03929360583424568,
-0.05491636320948601,
-0.0232702624052763,
0.008025327697396278,
-0.02021126076579094,
0.01689734309911728,
-0.02727609872817993,
-0.04075027257204056,
-0.018089989200234413,
-0.02436276338994503,
0.031864602118730545,
0.02385292947292328,
0.07144954055547714,
-0.009941755793988705,
0.04861627519130707,
-0.06405694782733917,
0.01666973903775215,
-0.04198843985795975,
-0.023397721350193024,
0.04118727147579193,
0.013537903316318989,
0.0368172712624073,
0.0017559670377522707,
0.012126756832003593,
0.007337962277233601,
-0.05418802797794342,
0.01797163486480713,
-0.01689734309911728,
-0.02594688907265663,
0.054879944771528244,
-0.04879835993051529,
0.007397139444947243,
-0.025455264374613762,
-0.05589961260557175,
0.016278259456157684,
-0.023670846596360207,
-0.0006139625911600888,
0.07039345800876617,
-0.08062653988599777,
-0.005548992659896612,
0.0032342569902539253,
0.0296613909304142,
0.010087422095239162,
0.023907555267214775,
-0.025910472497344017,
-0.030608225613832474,
0.014448320493102074,
-0.031354766339063644,
0.010041900910437107,
-0.01026950590312481,
0.06937378644943237,
-0.0028996786568313837,
-0.023343095555901527,
0.03951210528612137,
-0.04053177312016487,
-0.0025059231556952,
0.024963637813925743,
-0.047523774206638336,
0.03903868794441223,
-0.02492722123861313,
-0.028150098398327827,
0.04563010856509209,
0.0014304929645732045,
-0.02319742925465107,
0.060852281749248505,
0.07214145362377167,
0.05269494652748108,
-0.027112223207950592,
-0.049271777272224426,
0.008303004316985607,
-0.020593635737895966,
-0.0007607673178426921,
-0.03424989432096481,
0.04938102513551712,
0.01608707197010517,
0.03257472440600395,
-0.026638805866241455,
0.04027685523033142,
-0.04257110506296158,
-0.0020211259834468365
] |
713,345
|
xmlschema.resources
|
parse
| null |
def parse(self, source: XMLSourceType, lazy: Union[bool, int] = False) -> None:
if isinstance(lazy, bool):
pass
elif not isinstance(lazy, int):
msg = "invalid type %r for the attribute 'lazy'"
raise XMLSchemaTypeError(msg % type(lazy))
elif lazy < 0:
msg = "invalid value %r for the attribute 'lazy'"
raise XMLSchemaValueError(msg % lazy)
url: Optional[str]
if isinstance(source, str):
if is_url(source):
# source is a string containing a URL or a file path
url = self._get_parsed_url(source.strip())
with urlopen(url, timeout=self._timeout) as resource:
self._parse_resource(resource, url, lazy)
self._text = None
self._lazy = lazy
else:
# source is a string containing an XML document
resource = StringIO(source)
self._parse_resource(resource, None, lazy)
self._text = source
self._lazy = False
elif isinstance(source, bytes):
if is_url(source):
# source is a byte-string containing a URL or a file path
url = self._get_parsed_url(source.decode().strip())
with urlopen(url, timeout=self._timeout) as resource:
self._parse_resource(resource, url, lazy)
self._text = None
self._lazy = lazy
else:
resource = BytesIO(source)
self._parse_resource(resource, None, lazy)
self._text = source.decode()
self._lazy = False
elif isinstance(source, Path):
url = self._get_parsed_url(str(source))
with urlopen(url, timeout=self._timeout) as resource:
self._parse_resource(resource, url, lazy)
self._text = None
self._lazy = lazy
elif isinstance(source, StringIO):
self._parse_resource(source, None, lazy)
self._text = source.getvalue()
self._lazy = lazy
elif hasattr(source, 'read'):
# source is a readable resource (remote or local file)
url = getattr(source, 'url', None)
if url is not None:
self._access_control(url)
# Save remote urls for open new resources (non seekable)
if not is_remote_url(url):
url = None
self._parse_resource(cast(IO[str], source), url, lazy)
self._text = None
self._lazy = lazy
else:
# source is an Element or an ElementTree
if hasattr(source, 'tag') and hasattr(source, 'attrib'):
# Source is already an Element --> nothing to parse
self._root = cast(ElementType, source)
elif is_etree_document(source):
# Could be only an ElementTree object at last
self._root = source.getroot()
else:
raise XMLSchemaTypeError(
"wrong type %r for 'source' attribute: an ElementTree object or "
"an Element instance or a string containing XML data or an URL "
"or a file-like object is required." % type(source)
)
self._xpath_root = None
self._text = self._url = None
self._lazy = False
self._nsmaps = {}
self._xmlns = {}
if hasattr(self._root, 'xpath'):
nsmap = {}
lxml_nsmap = None
for elem in cast(Any, self._root.iter()):
if callable(elem.tag):
self._nsmaps[elem] = {}
continue
if lxml_nsmap != elem.nsmap:
nsmap = {k or '': v for k, v in elem.nsmap.items()}
lxml_nsmap = elem.nsmap
parent = elem.getparent()
if parent is None:
ns_declarations = [(k or '', v) for k, v in nsmap.items()]
elif parent.nsmap != elem.nsmap:
ns_declarations = [(k or '', v) for k, v in elem.nsmap.items()
if k not in parent.nsmap or v != parent.nsmap[k]]
else:
ns_declarations = None
self._nsmaps[elem] = nsmap
if ns_declarations:
self._xmlns[elem] = ns_declarations
self._parent_map = None
self._source = source
|
(self, source: Optional[~T], lazy: Union[bool, int] = False) -> NoneType
|
[
-0.009076078422367573,
-0.029295066371560097,
0.009265787899494171,
-0.019579967483878136,
0.0011906736763194203,
0.03658388555049896,
0.038121528923511505,
0.044332001358270645,
0.06785592436790466,
-0.053557850420475006,
0.03977898508310318,
0.02454235590994358,
0.03079276904463768,
0.029434852302074432,
-0.022126061841845512,
0.08251343667507172,
-0.038900334388017654,
0.0074036442674696445,
-0.04013843461871147,
0.00872162263840437,
-0.06378217041492462,
-0.04063766822218895,
0.014697456732392311,
0.029634546488523483,
0.017952464520931244,
0.007972771301865578,
0.006230443716049194,
-0.013629095628857613,
-0.033628419041633606,
-0.04137653484940529,
0.03626437485218048,
-0.006929371505975723,
-0.0009410565835423768,
-0.016604531556367874,
-0.008666707202792168,
0.05563466623425484,
-0.030613044276833534,
0.021906400099396706,
0.02102774754166603,
-0.04680820554494858,
-0.03947944566607475,
-0.01842174492776394,
-0.04059772938489914,
-0.015096844173967838,
-0.011402510106563568,
0.0013179784873500466,
-0.05052250623703003,
0.024162938818335533,
-0.0789588913321495,
-0.059069398790597916,
0.01264061126857996,
0.07943815737962723,
-0.030193688347935677,
0.01316979993134737,
-0.01186180580407381,
0.058749888092279434,
-0.06418155878782272,
0.10016636550426483,
0.03943950682878494,
0.036124590784311295,
0.01907074823975563,
0.0334087572991848,
0.0304732583463192,
0.0192404892295599,
-0.037462539970874786,
-0.027677547186613083,
0.029474791139364243,
-0.028416413813829422,
-0.046289000660181046,
0.014647533185780048,
-0.024023152887821198,
0.027517791837453842,
-0.008172464556992054,
0.011083000339567661,
0.034487102180719376,
-0.051481038331985474,
0.0002783231029752642,
0.004161117598414421,
0.0015526185743510723,
-0.007897886447608471,
0.01882113143801689,
0.0547160767018795,
-0.04517071694135666,
-0.057352032512426376,
0.048046305775642395,
-0.04201555624604225,
0.009340672753751278,
0.024003183469176292,
0.01486719585955143,
0.06282363831996918,
-0.010029615834355354,
0.06494039297103882,
-0.023743581026792526,
0.02058842033147812,
0.0006783345597796142,
0.01276042778044939,
-0.007398651912808418,
-0.04317377880215645,
0.018112219870090485,
0.01915062591433525,
-0.005152097437530756,
0.02556079439818859,
-0.04329359531402588,
0.01402848307043314,
0.055355094373226166,
0.0152366291731596,
0.025840364396572113,
0.02422284707427025,
0.08299270272254944,
-0.004385773092508316,
0.003577013500034809,
-0.13227711617946625,
-0.002987917046993971,
0.07172998040914536,
0.001547626219689846,
-0.04676826670765877,
-0.037342723459005356,
0.013119876384735107,
-0.035106152296066284,
-0.02516140602529049,
-0.02066829800605774,
0.000557894294615835,
-0.09161946922540665,
0.02735803835093975,
-0.008596814237535,
-0.0014590121572837234,
0.044411879032850266,
-0.04704783484339714,
0.0949743241071701,
-0.0173933207988739,
0.0059159258380532265,
0.009770014323294163,
0.017672892659902573,
0.020348789170384407,
0.014667502604424953,
-0.034487102180719376,
-0.04161616787314415,
0.05020299553871155,
-0.05567460507154465,
-0.007338743656873703,
0.0320308692753315,
0.01320973876863718,
0.000020047375073772855,
-0.03274976834654808,
-0.02891564927995205,
-0.03993874043226242,
0.04529053345322609,
-0.036244407296180725,
-0.02649935521185398,
0.022884897887706757,
0.007154027000069618,
-0.09665175527334213,
0.010099508799612522,
0.007119080517441034,
0.012980090454220772,
-0.015655986964702606,
-0.03672367334365845,
0.022844959050416946,
0.00814750324934721,
-0.0161252673715353,
-0.002561071654781699,
0.005202020984143019,
-0.023144500330090523,
-0.005356783512979746,
-0.01846168376505375,
0.02450241707265377,
0.014727410860359669,
-0.07632293552160263,
-0.006340275052934885,
-0.024901805445551872,
0.004862541798502207,
0.0071590193547308445,
-0.01842174492776394,
0.047886550426483154,
0.024162938818335533,
0.03754241764545441,
0.0527590773999691,
0.044292062520980835,
-0.03758235648274422,
0.06178523227572441,
-0.008656722493469715,
0.003804165171459317,
-0.05475601553916931,
-0.020608389750123024,
0.0011975382221862674,
0.015116813592612743,
0.005212005693465471,
-0.02556079439818859,
0.027298130095005035,
0.015166737139225006,
-0.011732005514204502,
-0.06581904739141464,
-0.0038790502585470676,
0.004914961289614439,
-0.016774270683526993,
-0.016674423590302467,
-0.02548091672360897,
-0.027577700093388557,
0.014547686092555523,
0.06454100459814072,
-0.05064232274889946,
-0.006679754238575697,
0.033588480204343796,
0.031631480902433395,
-0.038001712411642075,
-0.0038815464358776808,
-0.06490045040845871,
0.019000856205821037,
-0.08103570342063904,
0.01850162260234356,
-0.046009428799152374,
-0.010264256037771702,
-0.019869523122906685,
0.013079937547445297,
0.011522326618432999,
-0.041017085313797,
-0.0801171138882637,
-0.0032275496050715446,
-0.026818864047527313,
-0.03937959671020508,
0.053438033908605576,
0.028316566720604897,
-0.0030353444162756205,
-0.05639350041747093,
0.0629035159945488,
-0.03598480671644211,
0.028076935559511185,
-0.013439386151731014,
0.011252740398049355,
0.015865664929151535,
0.06849493831396103,
-0.001961990725249052,
0.10016636550426483,
0.026559263467788696,
0.0844305008649826,
-0.03259001299738884,
0.046169184148311615,
0.03670370206236839,
0.010364103130996227,
-0.00802768673747778,
-0.02969445288181305,
-0.04301402345299721,
-0.039918772876262665,
-0.11238761991262436,
-0.030273566022515297,
0.012301132082939148,
-0.02360379509627819,
0.03943950682878494,
-0.009600275196135044,
-0.006370229180902243,
-0.009755037724971771,
0.06182517111301422,
-0.011013107374310493,
-0.022365694865584373,
-0.013119876384735107,
-0.05603405460715294,
0.011622173711657524,
-0.005846033338457346,
-0.009779999032616615,
-0.0036518985871225595,
0.014477793127298355,
-0.057072460651397705,
0.0008486982551403344,
0.08235368132591248,
-0.03626437485218048,
-0.046328939497470856,
0.018980886787176132,
-0.01817212626338005,
-0.04113690182566643,
0.04521065577864647,
0.05483588948845863,
0.014238161034882069,
0.0205085426568985,
0.029914116486907005,
0.027957119047641754,
-0.015266583301126957,
-0.019540028646588326,
-0.008007717318832874,
0.07356715947389603,
-0.01776275411248207,
-0.009160948917269707,
0.019160611554980278,
0.008197426795959473,
0.012960121035575867,
0.01846168376505375,
-0.09361641108989716,
-0.04740728437900543,
-0.0011195328552275896,
-0.027258191257715225,
-0.019989339634776115,
0.0224655419588089,
-0.00244999211281538,
0.006869463250041008,
-0.021626828238368034,
0.01975969225168228,
0.002368866465985775,
-0.04149635136127472,
-0.0029679476283490658,
-0.046448756009340286,
-0.025660641491413116,
-0.022106092423200607,
-0.020688267424702644,
0.05946878343820572,
0.012321101501584053,
-0.029055433347821236,
-0.010114486329257488,
-0.019390258938074112,
-0.04561004042625427,
0.04916458949446678,
-0.0067446548491716385,
0.026359569281339645,
0.0024949233047664165,
-0.0123111167922616,
0.010473934933543205,
-0.02144710347056389,
0.00939059630036354,
0.016834178939461708,
-0.0017835143953561783,
0.04652863368391991,
-0.00020967838645447046,
-0.0676162913441658,
-0.0018234531162306666,
-0.0028081927448511124,
-0.00009540054452372715,
-0.03211074694991112,
0.0375024788081646,
0.0562736876308918,
0.03532581776380539,
0.009650197811424732,
-0.022006245329976082,
-0.01821206510066986,
0.01911068707704544,
-0.015196691267192364,
0.046488694846630096,
-0.05100177228450775,
0.006370229180902243,
0.0008973735966719687,
-0.07332752645015717,
0.047886550426483154,
-0.07652262598276138,
0.037023212760686874,
-0.004607932176440954,
-0.006460091099143028,
-0.018960917368531227,
0.027218252420425415,
-0.027497822418808937,
0.04205549508333206,
-0.09034143388271332,
0.09545359015464783,
-0.029295066371560097,
-0.04029818996787071,
-0.02422284707427025,
0.03826131299138069,
0.012590687721967697,
0.008626768365502357,
-0.0394594743847847,
-0.02250548079609871,
-0.002116753254085779,
0.022026214748620987,
0.01575583405792713,
-0.006420152727514505,
0.004395757801830769,
-0.03981892392039299,
-0.002903047250583768,
0.01715368963778019,
-0.0006056335405446589,
0.024043122306466103,
0.04684814438223839,
-0.021826522424817085,
-0.01365904975682497,
0.015496231615543365,
-0.04541034996509552,
-0.0683751255273819,
-0.018980886787176132,
0.004428207874298096,
-0.028496291488409042,
0.009889830835163593,
-0.003297442337498069,
0.0173933207988739,
-0.008277304470539093,
0.04756703972816467,
0.04325365647673607,
-0.026858802884817123,
-0.010953200049698353,
-0.04145641252398491,
-0.054955706000328064,
0.010014639236032963,
-0.002868100767955184,
-0.011612189002335072,
0.027178313583135605,
0.04900483414530754,
0.010503889061510563,
0.04041800647974014,
0.0109432153403759,
0.0363442525267601,
-0.0504026897251606,
0.03838112950325012,
0.0032525111455470324,
0.03310921788215637,
-0.010274240747094154,
-0.004577978048473597,
0.0176828783005476,
-0.04900483414530754,
0.028436383232474327,
-0.020029278472065926,
0.009854883886873722,
0.07356715947389603,
-0.027997057884931564,
-0.02703852765262127,
0.03396789729595184,
0.016524653881788254,
-0.026519324630498886,
-0.031871113926172256,
-0.03868066892027855,
0.004400750156491995,
0.007917854934930801,
0.00006529047823278233,
0.02536110021173954,
0.015426338650286198,
-0.008716629818081856,
-0.0064650834538042545,
0.04864538460969925,
0.017692862078547478,
-0.028715955093503,
-0.006919386796653271,
-0.014148298650979996,
0.004947411362081766,
-0.055315155535936356,
-0.027957119047641754,
0.07284826040267944,
-0.014647533185780048,
0.022006245329976082,
-0.051481038331985474,
-0.05847031623125076,
0.016894087195396423,
-0.004992342554032803,
-0.035225968807935715,
-0.010214333422482014,
0.028775863349437714,
-0.05751178786158562,
0.019090717658400536,
0.007628299295902252,
0.022086123004555702,
0.09393592178821564,
0.024841897189617157,
-0.03814149647951126,
-0.02508152835071087,
0.014587624929845333,
-0.06685744971036911,
-0.011522326618432999,
-0.02352391742169857,
-0.0014303061179816723,
0.06434131413698196,
-0.025740519165992737,
-0.10671631246805191,
-0.039299722760915756,
0.02009917050600052,
0.023883366957306862,
-0.03826131299138069,
0.03482658043503761,
-0.009750044904649258,
-0.003639417700469494,
0.08179453760385513,
-0.07959791272878647,
-0.053398095071315765,
0.028456352651119232,
-0.002129234140738845,
0.019669828936457634,
-0.03662382438778877,
0.005381745286285877,
-0.004914961289614439,
-0.04381280019879341,
-0.01858149841427803,
-0.01736336760222912,
0.0017847624840214849,
-0.018721284344792366,
-0.030453290790319443,
0.005102174356579781,
0.044611573219299316,
-0.06362241506576538,
0.024762019515037537,
0.00676961662247777,
0.0871463343501091,
-0.010993137955665588,
-0.029993994161486626,
-0.01833188161253929,
0.08211404830217361,
-0.012990075163543224,
0.019909461960196495,
0.037103090435266495,
-0.05032281205058098,
0.06122608855366707,
0.03666376322507858,
-0.04549022763967514,
-0.01486719585955143,
-0.02625972218811512,
0.024322692304849625,
0.048006366938352585,
0.03386805206537247,
-0.015665970742702484,
-0.0183718204498291,
-0.06118614971637726,
0.04880513995885849,
0.035385724157094955,
0.0422152504324913,
0.05411699414253235,
-0.01641482301056385,
0.06026756018400192,
-0.016225112602114677,
0.0041760946623981,
-0.024762019515037537,
0.028935616835951805,
0.04672832787036896,
0.019410228356719017,
0.009829922579228878,
0.0010165657149627805,
0.02797708846628666,
0.09529383480548859,
-0.030692921951413155,
-0.049923427402973175,
0.032729797065258026,
0.04509083926677704,
0.02102774754166603,
-0.022944806143641472,
-0.01037408784031868,
0.03566529601812363,
-0.017862601205706596,
0.009899815544486046,
-0.02781733311712742,
-0.035066213458776474,
0.06014774367213249,
-0.03378817439079285,
0.021866461262106895,
-0.014627563767135143,
0.0026209799107164145,
0.01025427132844925,
-0.010923245921730995,
-0.02102774754166603,
-0.005766155663877726,
-0.01145243365317583,
0.023623764514923096,
0.04852557182312012,
-0.019629891961812973,
0.06841506063938141,
-0.0011276453733444214,
-0.048206061124801636,
0.012111423537135124,
0.06581904739141464,
0.007538437377661467,
-0.0012343566631898284,
-0.004475635010749102,
-0.04381280019879341,
0.03199093043804169,
0.046408817172050476,
0.0011850573355332017,
-0.036364223808050156,
0.023064622655510902,
0.013878712430596352,
0.00872162263840437,
-0.002803200390189886,
0.014318038709461689,
-0.016484715044498444,
-0.08778535574674606,
0.030293535441160202,
0.02691871114075184,
0.025301191955804825,
0.04041800647974014,
-0.035924896597862244,
0.007129065226763487,
-0.02422284707427025,
0.03876054659485817,
0.0010053330333903432,
-0.023863397538661957,
0.02266523614525795,
0.046488694846630096,
0.021826522424817085,
-0.006924379151314497,
0.00024961712188087404,
0.033308908343315125,
0.05144109949469566,
0.039139967411756516,
-0.029674485325813293,
0.062384314835071564,
-0.015366430394351482,
0.019350320100784302,
-0.01850162260234356,
-0.007523460313677788,
0.018711300566792488,
-0.026279691606760025,
-0.03516606241464615,
-0.02602008916437626,
-0.07915858179330826,
-0.010134455747902393,
-0.025580763816833496,
0.011003122664988041,
-0.006460091099143028,
0.02602008916437626,
-0.030113810673356056,
0.0183718204498291,
-0.06749647110700607,
-0.04067760705947876,
0.04341341182589531,
-0.02442253939807415,
0.0512014664709568,
-0.022964775562286377,
0.010114486329257488,
-0.039020150899887085,
0.035106152296066284,
0.0392797514796257,
0.007972771301865578,
0.012540764175355434,
-0.06725683808326721,
0.015865664929151535,
-0.030892616137862206,
-0.047726795077323914,
0.0058011021465063095,
-0.006794578395783901,
-0.01341941673308611,
-0.012081469409167767,
-0.0453304722905159,
-0.028576169162988663,
0.017962448298931122,
0.03386805206537247,
0.06466082483530045,
-0.032490164041519165,
0.017333414405584335,
-0.009735068306326866,
-0.055474910885095596,
-0.04568991810083389,
0.0246222335845232,
0.05044262856245041,
0.013259662315249443,
0.02969445288181305,
0.012830320745706558,
-0.031012432649731636,
0.04537041112780571,
0.06897420436143875,
0.0593889057636261,
0.021247409284114838,
-0.051680728793144226,
-0.029614577069878578,
0.0019108190899714828,
-0.03949941322207451,
-0.012860274873673916,
-0.019410228356719017,
0.044212184846401215,
0.002316446974873543,
-0.004208544734865427,
0.030433321371674538,
0.024083061143755913,
0.0034172586165368557,
-0.0025810410734266043,
0.017263520509004593,
0.0061056348495185375,
0.00059720897115767,
0.08898351341485977,
0.019589953124523163,
0.010079539380967617,
0.016894087195396423,
0.036863457411527634,
0.020488573238253593,
0.006789586041122675,
0.04009849578142166,
0.03758235648274422,
-0.027497822418808937,
-0.008686675690114498,
-0.0014852219028398395,
-0.03308924660086632,
-0.034527041018009186,
0.015506216324865818,
-0.06961322575807571,
0.02446247823536396,
0.035924896597862244,
-0.01967981457710266,
0.04904477298259735,
-0.05659319460391998,
0.00943053513765335,
-0.07764091342687607,
-0.03696330636739731,
0.04385273903608322,
0.019999325275421143,
0.04704783484339714,
-0.04692802205681801,
-0.07252874970436096,
-0.058989521116018295,
0.012930166907608509,
0.008501959033310413,
-0.034606918692588806,
0.05611393228173256,
-0.05200023949146271,
-0.023883366957306862,
0.02532116137444973,
-0.002135474467650056,
0.02621978335082531,
-0.0024400074034929276,
-0.0562736876308918,
-0.008996201679110527,
-0.039639201015233994,
0.07372691482305527,
-0.004567993339151144,
0.058590132743120193,
-0.019749706611037254,
-0.013429401442408562,
-0.04680820554494858,
-0.03504624590277672,
-0.024961713701486588,
-0.04580973461270332,
0.06210474297404289,
0.04055779054760933,
0.07093120366334915,
0.024921774864196777,
0.0028980548959225416,
-0.02164679765701294,
-0.022166000679135323,
0.04365304484963417,
-0.012670565396547318,
-0.020768145099282265,
0.009280764497816563,
-0.0021741650998592377,
0.05755172669887543,
-0.015576109290122986,
-0.013928635977208614,
0.002432518871501088,
0.013489309698343277,
-0.028076935559511185,
0.086746945977211,
-0.005044762045145035,
-0.01984955370426178,
0.03482658043503761,
-0.003539570840075612,
0.016814209520816803,
0.07192967087030411,
-0.0007644524448551238,
-0.015256598591804504,
0.001734839053824544,
-0.06585898250341415,
0.01057378202676773,
0.001009077299386263,
0.006999264471232891,
-0.027417944744229317,
-0.04019834101200104,
-0.0031926031224429607,
-0.038980212062597275,
0.018631422892212868,
-0.03173132985830307,
-0.025700580328702927,
0.05088195577263832,
-0.0035645326133817434,
-0.0022353213280439377,
0.033388786017894745,
-0.05998798832297325,
-0.017712831497192383,
0.02168673649430275,
0.047846611589193344,
0.006954333279281855,
-0.022006245329976082,
-0.04121677950024605,
-0.01862143725156784,
-0.045849673449993134,
-0.020728206261992455,
-0.039299722760915756,
0.008397120051085949,
0.027058497071266174,
0.01931038126349449,
0.018311912193894386,
0.006834517233073711,
-0.0059708417393267155,
0.06733671575784683
] |
713,346
|
xmlschema.resources
|
seek
|
Change stream position if the XML resource was created with a seekable
file-like object. In the other cases this method has no effect.
|
def seek(self, position: int) -> Optional[int]:
"""
Change stream position if the XML resource was created with a seekable
file-like object. In the other cases this method has no effect.
"""
if not hasattr(self._source, 'read'):
return None
try:
if not self._source.seekable(): # type: ignore[union-attr]
return None
except AttributeError:
return None # pragma: no cover
except ValueError as err:
raise XMLResourceError(str(err)) from None
else:
return self._source.seek(position) # type: ignore[union-attr]
|
(self, position: int) -> Optional[int]
|
[
0.01381179504096508,
-0.01641022600233555,
-0.047434449195861816,
-0.04178416728973389,
0.05298009142279625,
-0.005515126511454582,
0.043458323925733566,
0.058944277465343475,
0.0649084597826004,
-0.05754914507269859,
0.02676907181739807,
-0.05385204777121544,
0.058281589299440384,
0.007472669240087271,
0.025670407339930534,
0.10142601281404495,
-0.019043534994125366,
-0.018572678789496422,
-0.05015495419502258,
0.01951439306139946,
0.017273463308811188,
0.0007378933951258659,
-0.0013787816278636456,
-0.051584962755441666,
-0.012346907518804073,
0.07443022727966309,
-0.010480919852852821,
0.003531424794346094,
0.012835203669965267,
-0.03770340979099274,
0.007943525910377502,
-0.010646591894328594,
0.031041661277413368,
0.005318936426192522,
-0.002207140438258648,
0.09319473803043365,
-0.006404522340744734,
0.06630358844995499,
0.07708097994327545,
-0.027257367968559265,
-0.040947090834379196,
0.01871219277381897,
-0.018311092630028725,
-0.03001275099813938,
-0.03302972391247749,
0.0033592134714126587,
-0.0487598218023777,
0.004353244323283434,
-0.00010558851499808952,
-0.005231740418821573,
0.08517273515462875,
0.10337918996810913,
0.004551614169031382,
-0.010419882833957672,
-0.025496015325188637,
-0.006286808289587498,
-0.02760615013539791,
0.05870012938976288,
-0.03003019094467163,
-0.01060299389064312,
0.02045610547065735,
0.03829634189605713,
-0.001804950530640781,
-0.06323430687189102,
-0.004163593519479036,
-0.06072307005524635,
0.025687845423817635,
-0.07014020532369614,
-0.003073647618293762,
0.06958214938640594,
-0.029681408777832985,
0.029507016763091087,
-0.027117855846881866,
0.01335837785154581,
-0.011710379272699356,
0.010201893746852875,
-0.0327332578599453,
0.0285129863768816,
0.03581998497247696,
-0.018572678789496422,
0.012538738548755646,
0.0650130957365036,
0.01627071388065815,
-0.027989812195301056,
-0.004063318483531475,
0.019688783213496208,
0.05357302352786064,
0.005632840562611818,
0.010463480837643147,
0.004067678470164537,
-0.00344640901312232,
0.08852104842662811,
-0.03791268169879913,
-0.039482202380895615,
0.08035953342914581,
0.0017569928895682096,
-0.030657999217510223,
-0.04956202208995819,
-0.003854048904031515,
0.0014725170331075788,
-0.04471394419670105,
0.07791805267333984,
-0.01782279647886753,
0.019113292917609215,
0.013340938836336136,
0.02424039877951145,
0.017430415377020836,
0.011379036121070385,
0.042028315365314484,
-0.008798044174909592,
0.013576366938650608,
-0.05217789113521576,
0.012573616579174995,
0.052456919103860855,
-0.029472138732671738,
-0.062362346798181534,
0.012608494609594345,
-0.01963646709918976,
-0.005872628651559353,
-0.01775304041802883,
0.03930781036615372,
-0.008658530190587044,
-0.05256155505776405,
-0.03763365373015404,
0.017718160524964333,
-0.007328796666115522,
0.02673419378697872,
0.025897115468978882,
0.07645317167043686,
-0.041888803243637085,
0.01944463513791561,
-0.0409122109413147,
0.013750758022069931,
-0.008619292639195919,
-0.03850561007857323,
0.0023804418742656708,
0.02364746667444706,
0.06096721813082695,
-0.12277150899171829,
0.027850298210978508,
0.029908116906881332,
0.015660343691706657,
-0.012503859587013721,
-0.0017014056211337447,
-0.02758871205151081,
0.023926492780447006,
-0.02207794599235058,
-0.0027532035019248724,
-0.029123356565833092,
0.014552958309650421,
0.03763365373015404,
-0.07055874168872833,
-0.015459793619811535,
0.03510497882962227,
0.005401771981269121,
-0.02605406753718853,
-0.012713129632174969,
-0.03189617767930031,
0.006243210285902023,
-0.025757603347301483,
-0.02931518666446209,
-0.02106647565960884,
0.024955403059720993,
-0.03426790237426758,
-0.0006719516823068261,
0.01102153304964304,
-0.08663762360811234,
0.005223020911216736,
0.045202236622571945,
-0.03196593374013901,
0.05235228314995766,
0.09500841051340103,
0.05137569084763527,
-0.002404420869424939,
0.03738950565457344,
0.016715411096811295,
0.025496015325188637,
0.012495140545070171,
-0.023978810757398605,
0.02118854969739914,
0.01641022600233555,
-0.015651624649763107,
-0.011980686336755753,
-0.01939231902360916,
0.02199074998497963,
0.05144545063376427,
-0.007442150730639696,
0.02772822417318821,
0.03165202960371971,
-0.018241334706544876,
-0.0037842923775315285,
0.006391442846506834,
-0.034477170556783676,
-0.029751164838671684,
-0.016654374077916145,
0.01133543811738491,
0.015119730494916439,
-0.007751695811748505,
0.020072445273399353,
0.07247704267501831,
-0.02026427537202835,
0.03522705286741257,
0.017378097400069237,
0.03843585401773453,
-0.06257161498069763,
0.03986586257815361,
0.012346907518804073,
0.006286808289587498,
-0.10840166360139847,
0.05915354564785957,
-0.04488833248615265,
-0.01512844953685999,
0.012067881412804127,
-0.03718023747205734,
0.0141605781391263,
0.022583680227398872,
-0.06257161498069763,
-0.027449198067188263,
-0.015826014801859856,
0.03405863046646118,
0.09821721166372299,
-0.010018783621490002,
-0.003394091734662652,
-0.03519217669963837,
0.05186398699879646,
0.0022038707975298166,
-0.0062257712706923485,
-0.1051231101155281,
-0.03881951421499252,
0.034756194800138474,
0.02767590805888176,
0.03759877383708954,
0.03325643017888069,
0.017299622297286987,
0.06895434111356735,
-0.013096790760755539,
0.02928030863404274,
0.02757127210497856,
-0.08698640763759613,
-0.01696827821433544,
-0.07868538051843643,
0.025443697348237038,
0.0020512782502919436,
0.04935275390744209,
-0.053224239498376846,
-0.019810857251286507,
-0.041923679411411285,
0.02516467124223709,
-0.016105040907859802,
-0.003073647618293762,
0.045167360454797745,
0.013933869078755379,
-0.056398164480924606,
-0.0049701533280313015,
0.06093233823776245,
-0.04732981324195862,
-0.06089745834469795,
-0.03184385970234871,
-0.01336709689348936,
0.0245194248855114,
-0.039342690259218216,
-0.0738024190068245,
0.004621370695531368,
-0.035279370844364166,
0.010820982977747917,
-0.026245897635817528,
-0.0323844738304615,
0.0001098120555980131,
-0.04133075103163719,
0.09382254630327225,
0.015346438623964787,
0.020979279652237892,
-0.016915960237383842,
0.02837347239255905,
0.06557115167379379,
-0.04938763007521629,
0.004233350045979023,
-0.017491452395915985,
0.06557115167379379,
0.01628815196454525,
0.02281038835644722,
0.02120598778128624,
-0.007851970382034779,
0.04781810939311981,
0.01500637549906969,
-0.04136562719941139,
0.001948823337443173,
0.045830048620700836,
-0.01946207508444786,
-0.02593199349939823,
-0.0013548028655350208,
0.04171441122889519,
-0.06787311285734177,
-0.06361796706914902,
0.03355289623141289,
0.014483202248811722,
-0.0897069126367569,
0.012059162370860577,
0.01784023456275463,
0.0042747678235173225,
-0.03669194132089615,
-0.012128918431699276,
-0.02206050604581833,
0.09172984957695007,
0.014666312374174595,
0.05266618728637695,
0.0034180704969912767,
-0.005776713602244854,
-0.029472138732671738,
0.039517078548669815,
0.0034006312489509583,
-0.010001343674957752,
-0.027117855846881866,
-0.0408075749874115,
0.040319278836250305,
0.019026096910238266,
0.037808045744895935,
0.05863037332892418,
0.033012282103300095,
0.050015438348054886,
-0.0814058855175972,
-0.01719498820602894,
-0.0028469387907534838,
-0.07770878821611404,
-0.029733724892139435,
0.021275745704770088,
-0.022130262106657028,
0.019810857251286507,
0.01619223691523075,
0.05102691054344177,
-0.03196593374013901,
0.013262461870908737,
-0.015982966870069504,
0.04394662007689476,
-0.038749758154153824,
-0.02526930719614029,
-0.00026676428387872875,
-0.021328061819076538,
0.04966665804386139,
-0.03001275099813938,
0.009975185617804527,
0.002613690448924899,
0.0489690899848938,
-0.03840097412467003,
0.029472138732671738,
0.010873300954699516,
0.0243973508477211,
-0.04160977527499199,
0.04206319525837898,
-0.014945338480174541,
-0.03826146200299263,
0.017334500327706337,
-0.0053712534718215466,
-0.02124086581170559,
-0.0012752367183566093,
-0.006273728795349598,
0.02861762046813965,
0.02122342772781849,
0.046771761029958725,
0.021014157682657242,
-0.036273401230573654,
-0.002862198045477271,
-0.012250992469489574,
-0.029977872967720032,
0.0031216051429510117,
-0.014945338480174541,
-0.07014020532369614,
-0.01265209261327982,
0.0008103747968561947,
0.015302841551601887,
-0.06239722669124603,
-0.06110673025250435,
-0.04380710795521736,
-0.028826890513300896,
-0.0002570910146459937,
-0.021345501765608788,
-0.017718160524964333,
0.03189617767930031,
0.003420250490307808,
-0.04136562719941139,
0.04977129027247429,
0.011379036121070385,
-0.05779329314827919,
0.031373005360364914,
-0.022391850128769875,
-0.023054536432027817,
-0.05434034392237663,
-0.041121479123830795,
-0.011309279128909111,
0.03752901777625084,
0.007825812324881554,
0.0024589181412011385,
0.018433166667819023,
-0.03979610651731491,
0.03801731392741203,
0.03770340979099274,
-0.01696827821433544,
0.0014834164176136255,
0.007633981294929981,
-0.0001791598624549806,
0.014239054173231125,
0.007895568385720253,
-0.07101216167211533,
0.04530687257647514,
0.00335485371761024,
-0.010428602807223797,
0.03920317441225052,
-0.014300091192126274,
-0.03840097412467003,
-0.0006092797848396003,
-0.03510497882962227,
-0.02026427537202835,
0.008780604228377342,
0.003302536206319928,
0.009687439538538456,
0.03515729680657387,
0.0490388497710228,
0.0050791483372449875,
0.01619223691523075,
0.042830515652894974,
-0.011213364079594612,
-0.0075598652474582195,
0.003540144534781575,
0.0121376384049654,
-0.005192502401769161,
-0.05786304920911789,
0.009356096386909485,
0.010236772708594799,
-0.03390168026089668,
0.060583554208278656,
-0.020089883357286453,
0.019026096910238266,
-0.016671814024448395,
0.023071976378560066,
0.02357771061360836,
-0.02106647565960884,
0.01262593362480402,
-0.010664030909538269,
-0.060688190162181854,
0.04635322093963623,
0.11781879514455795,
-0.026646997779607773,
0.032977405935525894,
0.04377222806215286,
-0.03020458295941353,
0.009504328481853008,
-0.05918842554092407,
0.03161715343594551,
-0.023281246423721313,
0.003727615112438798,
0.022112824022769928,
0.0021264846436679363,
0.03196593374013901,
-0.00937353540211916,
-0.0653270035982132,
-0.04820176959037781,
-0.06926824152469635,
-0.04739956930279732,
-0.019706223160028458,
-0.0652572438120842,
-0.0032741976901888847,
0.04809713363647461,
-0.013672281987965107,
-0.07610438764095306,
-0.0035227052867412567,
0.0064742788672447205,
-0.045027848333120346,
-0.001233818824402988,
-0.02692602388560772,
-0.015494671650230885,
0.0728258267045021,
-0.07080288976430893,
-0.02764103002846241,
-0.04415589198470116,
0.02537394128739834,
0.007891208864748478,
0.0011182845337316394,
0.04338856786489487,
0.08461468666791916,
0.02361258864402771,
0.0023324843496084213,
-0.0409819670021534,
0.02186867594718933,
0.009417133405804634,
-0.02835603430867195,
-0.0010158296208828688,
0.0010267291218042374,
-0.014300091192126274,
-0.004037159960716963,
0.04813201352953911,
0.029472138732671738,
-0.007795293349772692,
-0.016445104032754898,
-0.04781810939311981,
0.011195925064384937,
-0.0020937861409038305,
0.02849554643034935,
0.008684689179062843,
-0.03585486114025116,
-0.017412977293133736,
-0.010411163792014122,
-0.02781542018055916,
0.02369978465139866,
0.0007199093233793974,
0.017229866236448288,
0.012538738548755646,
0.018415726721286774,
-0.037040721625089645,
0.01545107364654541,
-0.0284083504229784,
0.032977405935525894,
0.03487826883792877,
0.017430415377020836,
0.01298343576490879,
0.015111010521650314,
0.06337381899356842,
0.012756727635860443,
0.04133075103163719,
0.04774835333228111,
-0.05838622525334358,
0.02120598778128624,
0.018415726721286774,
0.02751895599067211,
-0.029733724892139435,
-0.004891677293926477,
-0.03355289623141289,
-0.021572209894657135,
-0.026629559695720673,
0.00345948850736022,
-0.05207325890660286,
0.011248242110013962,
-0.03595949709415436,
-0.027100415900349617,
-0.07069825381040573,
0.07157021015882492,
0.012669531628489494,
0.020630497485399246,
0.009225302375853062,
-0.04154001921415329,
0.00847542006522417,
0.02033403143286705,
0.003014790592715144,
-0.000006922859938640613,
0.013558927923440933,
0.012094040401279926,
-0.02289758436381817,
-0.042830515652894974,
-0.011841172352433205,
0.06312967091798782,
-0.0032131606712937355,
-0.010393724776804447,
-0.0032131606712937355,
0.03512241691350937,
0.017395537346601486,
0.04460930824279785,
0.008035081438720226,
-0.009957746602594852,
0.006613791920244694,
-0.002024029614403844,
0.02511235512793064,
0.01855524070560932,
0.00546280900016427,
-0.022112824022769928,
-0.028652498498558998,
0.015294121578335762,
-0.0019935111049562693,
0.011553427204489708,
-0.06940776109695435,
0.06958214938640594,
0.0017373738810420036,
0.04310954362154007,
0.04300490766763687,
-0.010385004803538322,
0.019741101190447807,
0.052422039210796356,
-0.010219333693385124,
-0.009870550595223904,
0.015747539699077606,
0.029908116906881332,
0.020944401621818542,
0.057409632951021194,
-0.06026965007185936,
0.07861562073230743,
-0.04767859727144241,
0.006156014744192362,
-0.056398164480924606,
-0.005353814456611872,
0.010454761795699596,
0.016549739986658096,
-0.03829634189605713,
-0.029541894793510437,
-0.053189363330602646,
-0.0019041355699300766,
-0.060618434101343155,
0.027989812195301056,
-0.024257836863398552,
0.06804750859737396,
-0.05454961583018303,
-0.018311092630028725,
0.021781479939818382,
0.003110705642029643,
0.03836609795689583,
-0.03815682604908943,
0.05458449199795723,
-0.014247773215174675,
0.024205518886446953,
-0.0898464247584343,
0.0731746107339859,
0.017299622297286987,
0.05029446631669998,
0.025548333302140236,
-0.05636328458786011,
-0.004577773157507181,
-0.04799250140786171,
-0.05932793766260147,
0.011152327060699463,
0.010332687757909298,
0.018904022872447968,
-0.049143481999635696,
0.015015095472335815,
-0.007154405117034912,
0.0285304244607687,
-0.028792012482881546,
-0.0032197004184126854,
-0.06152527034282684,
0.027222489938139915,
0.023316124454140663,
0.007232881151139736,
-0.007232881151139736,
0.02921055071055889,
0.029559334740042686,
0.014936619438230991,
0.06281576305627823,
0.0006485178600996733,
-0.07812732458114624,
0.008196393959224224,
-0.03165202960371971,
0.026664437726140022,
0.025809919461607933,
0.013018314726650715,
0.04220270738005638,
-0.00015586227527819574,
-0.00982695259153843,
-0.023316124454140663,
-0.022566240280866623,
-0.000009102751391765196,
0.05775841698050499,
-0.020421227440238,
0.028303716331720352,
-0.005188142880797386,
-0.012085320428013802,
-0.03353545814752579,
0.016575897112488747,
-0.018032066524028778,
0.06082770228385925,
-0.012503859587013721,
-0.022531362250447273,
-0.021711723878979683,
0.01224227249622345,
-0.009591524489223957,
-0.006400162819772959,
-0.03442485257983208,
0.0008828561985865235,
0.02514723315834999,
0.02431015484035015,
-0.005493327509611845,
-0.019898053258657455,
-0.032419353723526,
-0.04464418441057205,
-0.02193843200802803,
-0.07429071515798569,
0.014631434343755245,
-0.011597025208175182,
-0.010655311867594719,
-0.007716817315667868,
-0.02587967738509178,
0.000770046841353178,
-0.02587967738509178,
-0.010995374992489815,
0.02043866738677025,
-0.019863175228238106,
0.03341338410973549,
-0.03826146200299263,
0.011998125351965427,
-0.02842579036951065,
0.03801731392741203,
-0.014779667370021343,
-0.05364277958869934,
0.03930781036615372,
-0.045167360454797745,
0.0142564931884408,
-0.012434103526175022,
-0.03770340979099274,
0.047573961317539215,
-0.020177079364657402,
-0.060548678040504456,
-0.03079751320183277,
0.02603662945330143,
0.016706692054867744,
0.015686502680182457,
0.04126099497079849,
0.006975654046982527,
0.016427665948867798,
-0.048445917665958405,
-0.060583554208278656,
-0.06748945266008377,
-0.05625864863395691,
0.0006506977370008826,
0.0031150656286627054,
0.022339532151818275,
-0.0014823265373706818,
-0.010306528769433498,
-0.011954527348279953,
-0.04970153421163559,
-0.023804418742656708,
0.01790999248623848,
-0.0012250992003828287,
0.021362939849495888,
-0.015756258741021156,
0.02286270633339882,
-0.02206050604581833,
-0.033709850162267685,
-0.031041661277413368,
0.006844860501587391,
-0.009059630334377289,
-0.0038845674134790897,
-0.014980217441916466,
-0.011579586192965508,
-0.03927293419837952,
0.04370247200131416,
0.05441009998321533,
-0.0015237444313243032,
0.0009776814840734005,
-0.020089883357286453,
0.010367565788328648,
0.0021068656351417303,
-0.01872963085770607,
0.004773963242769241,
0.010419882833957672,
-0.01789255253970623,
-0.007477029226720333,
0.06285064667463303,
-0.06933800131082535,
-0.02936750277876854,
0.023943932726979256,
-0.045830048620700836,
0.03909854218363762,
0.02450198493897915,
-0.027867738157510757,
0.05106178671121597,
0.025496015325188637,
-0.02040378749370575,
0.05395668372511864,
0.0654665157198906,
0.022513924166560173,
-0.042830515652894974,
-0.02347307652235031,
0.06612920016050339,
0.014073382131755352,
0.012163796462118626,
-0.05308472737669945,
0.0080917589366436,
-0.0019989609718322754,
0.08468443900346756,
-0.0012196495663374662,
0.04949226602911949,
-0.0326635017991066,
0.06250186264514923
] |
713,347
|
xmlschema.resources
|
subresource
|
Create an XMLResource instance from a subelement of a non-lazy XML tree.
|
def subresource(self, elem: ElementType) -> 'XMLResource':
"""Create an XMLResource instance from a subelement of a non-lazy XML tree."""
if self._lazy:
raise XMLResourceError("cannot create a subresource from a lazy XML resource")
for e in self._root.iter(): # pragma: no cover
if e is elem:
break
else:
msg = "{!r} is not an element or the XML resource tree"
raise XMLResourceError(msg.format(elem))
resource = XMLResource(elem, self.base_url, self._allow, self._defuse, self._timeout)
if not hasattr(elem, 'nsmap'):
for e in elem.iter():
resource._nsmaps[e] = self._nsmaps[e]
if e is elem:
ns_declarations = [(k, v) for k, v in self._nsmaps[e].items()]
if ns_declarations:
resource._xmlns[e] = ns_declarations
elif e in self._xmlns:
resource._xmlns[e] = self._xmlns[e]
return resource
|
(self, elem: Optional[~T]) -> xmlschema.resources.XMLResource
|
[
-0.007617239840328693,
-0.009666763246059418,
-0.013411630876362324,
-0.016622865572571754,
-0.03989487886428833,
0.006063568405807018,
0.05205979570746422,
0.002750800922513008,
0.009534535929560661,
-0.03148899972438812,
0.042463868856430054,
0.047450728714466095,
0.037533678114414215,
-0.003478051396086812,
-0.08099869638681412,
0.03594695031642914,
-0.02916557528078556,
0.029486699029803276,
-0.08175428211688995,
0.017397340387105942,
-0.008599500171840191,
0.011579337529838085,
0.03494579717516899,
0.04359724372625351,
0.007725854869931936,
0.0702693909406662,
-0.0006835681269876659,
0.00825948640704155,
0.01239159144461155,
-0.074387326836586,
-0.01126765925437212,
-0.005015194416046143,
-0.0024343999102711678,
0.03250903636217117,
0.0018098617438226938,
0.06785152107477188,
-0.0238009225577116,
0.06331800669431686,
-0.03492690995335579,
0.006937213242053986,
-0.014752794057130814,
-0.03621140494942665,
0.005676330998539925,
-0.05345762521028519,
0.04575066268444061,
0.042879439890384674,
0.08696781098842621,
0.05020861327648163,
-0.06494251638650894,
0.0002251996920676902,
0.04159494489431381,
0.060068994760513306,
-0.020948588848114014,
0.02274310402572155,
-0.042312752455472946,
0.027163274586200714,
-0.047035157680511475,
0.08107425272464752,
-0.0008665613713674247,
-0.0025737108662724495,
-0.003003449644893408,
-0.04378614202141762,
0.018266262486577034,
0.03080897219479084,
-0.04510841518640518,
0.0004864077491220087,
-0.016698425635695457,
-0.044541727751493454,
-0.053004276007413864,
0.05205979570746422,
0.007428343407809734,
0.03528581187129021,
-0.041443828493356705,
0.017227334901690483,
0.03477579355239868,
-0.04794185608625412,
0.023404240608215332,
-0.03766590356826782,
-0.018747948110103607,
-0.01333607267588377,
0.005921896081417799,
-0.0040730745531618595,
-0.049490805715322495,
0.04110381379723549,
0.045561764389276505,
-0.012221585027873516,
-0.010294843465089798,
-0.06180683895945549,
0.005435488186776638,
0.019314637407660484,
-0.034001316875219345,
0.07212056964635849,
-0.03383130952715874,
-0.04008377715945244,
0.051568664610385895,
-0.04174606129527092,
-0.062297970056533813,
-0.021383050829172134,
-0.004125020932406187,
-0.045599546283483505,
-0.0029349748510867357,
-0.02355535700917244,
-0.08795007318258286,
-0.018719613552093506,
0.06600033491849899,
0.04280387982726097,
0.06739816814661026,
0.02215752564370632,
0.015640605241060257,
-0.020117446780204773,
0.06101347506046295,
0.018360711634159088,
-0.04106603562831879,
0.09792379289865494,
-0.04355946555733681,
0.002023550681769848,
-0.013109397143125534,
-0.021836401894688606,
0.01801125332713127,
-0.03947930783033371,
0.016207294538617134,
-0.004004599526524544,
-0.04605289548635483,
0.006507474463433027,
-0.0020778581965714693,
-0.0007343339966610074,
0.00784863717854023,
0.0019279218977317214,
0.004042379092425108,
-0.013175510801374912,
0.005454378202557564,
0.0007479109335690737,
-0.0558754988014698,
-0.04695959761738777,
0.00459490017965436,
-0.06732261180877686,
0.053004276007413864,
0.062146853655576706,
-0.07272504270076752,
0.022610876709222794,
0.018729059025645256,
0.05916229262948036,
0.013392740860581398,
0.05719777196645737,
-0.029807820916175842,
-0.0599934346973896,
-0.018700724467635155,
0.01567838527262211,
-0.02272421307861805,
0.011626562103629112,
-0.059011176228523254,
-0.033793531358242035,
-0.021798621863126755,
-0.023215344175696373,
-0.00023493965272791684,
-0.030147835612297058,
-0.02710660547018051,
0.03698587790131569,
0.006838042754679918,
-0.09067018330097198,
-0.02914668433368206,
0.05610217526555061,
-0.021779732778668404,
-0.01777513325214386,
-0.0022702962160110474,
-0.016632311046123505,
-0.012334922328591347,
-0.04189717769622803,
0.015527267940342426,
0.0003736603248398751,
0.005378819536417723,
-0.014176660217344761,
0.011551002971827984,
0.00666331360116601,
-0.0009509743540547788,
0.015413930639624596,
0.07004271447658539,
-0.01292994525283575,
-0.024065377190709114,
0.06093791872262955,
0.035040248185396194,
0.02211974561214447,
0.05292871594429016,
0.0052702040411531925,
0.008972570300102234,
0.046204011887311935,
0.06467806547880173,
0.016481194645166397,
0.011418775655329227,
-0.02954336628317833,
-0.011721009388566017,
0.054439887404441833,
-0.006139126606285572,
0.01757679134607315,
-0.03947930783033371,
-0.02457539737224579,
-0.0134494099766016,
-0.021137485280632973,
0.05232425034046173,
0.09135020524263382,
-0.0641491487622261,
0.03120565414428711,
0.02875000238418579,
0.011125986464321613,
0.02147749811410904,
0.030450068414211273,
0.0024839851539582014,
0.015102251432836056,
-0.07257392257452011,
0.01633952185511589,
-0.06165572255849838,
0.008410603739321232,
0.0392904095351696,
0.004949080757796764,
0.016075067222118378,
0.0019597981590777636,
-0.09331472963094711,
-0.013883871026337147,
-0.0024048849008977413,
-0.0537976399064064,
0.024329831823706627,
-0.00939286407083273,
-0.003971542697399855,
-0.04616623371839523,
-0.023895369842648506,
-0.029826711863279343,
0.030223393812775612,
-0.020400790497660637,
-0.04159494489431381,
0.03432244062423706,
-0.014951135031878948,
-0.0014757516328245401,
0.09694153070449829,
-0.05659330263733864,
0.0032915163319557905,
0.019276857376098633,
0.01138099655508995,
0.021137485280632973,
0.09996387362480164,
-0.022667545825242996,
0.017841245979070663,
-0.03787368908524513,
-0.04389948025345802,
-0.053230952471494675,
-0.03573916107416153,
0.05353318527340889,
-0.0015383234713226557,
0.025482097640633583,
-0.023404240608215332,
-0.06773818284273148,
0.007688075769692659,
0.03158344700932503,
-0.05209757387638092,
-0.012977169826626778,
0.06781373918056488,
-0.02091081067919731,
-0.03645696863532066,
-0.07525625079870224,
-0.002363563748076558,
0.001887781429104507,
0.04049934819340706,
0.014384446665644646,
0.06384691596031189,
0.08402103185653687,
-0.06879600137472153,
-0.029637815430760384,
-0.03118676319718361,
0.012627711519598961,
-0.03430354967713356,
0.018757393583655357,
0.12112025171518326,
-0.010606521740555763,
0.046997375786304474,
0.03827037289738655,
0.023498687893152237,
0.002864138688892126,
0.01905962824821472,
0.02234642207622528,
0.016188405454158783,
-0.02253531850874424,
-0.033170174807310104,
-0.03284905105829239,
0.022818662226200104,
0.07994087785482407,
0.004542953800410032,
-0.10366623848676682,
0.022856440395116806,
0.10306177288293839,
-0.03133787959814072,
-0.0038723722100257874,
-0.012967724353075027,
0.03944152966141701,
-0.06520697474479675,
0.002443844685330987,
-0.02561432681977749,
0.030450068414211273,
-0.013005504384636879,
-0.01798291876912117,
0.026766592636704445,
0.0537976399064064,
0.005893561523407698,
0.006323300767689943,
-0.007810858078300953,
-0.022573096677660942,
-0.008807285688817501,
-0.008278376422822475,
0.011862682178616524,
-0.004887689370661974,
0.0002803928218781948,
0.025255423039197922,
0.02189307101070881,
-0.0014674874255433679,
-0.0258221123367548,
0.031923457980155945,
-0.008183928206562996,
0.013487189076840878,
0.03700476884841919,
-0.025123195722699165,
0.01593339443206787,
0.030846750363707542,
-0.04813075438141823,
0.04034823179244995,
0.008613667450845242,
-0.018719613552093506,
0.026124345138669014,
-0.02808886580169201,
0.015763388946652412,
0.03016672469675541,
-0.0006812069332227111,
0.011702120304107666,
-0.06339357048273087,
0.007886416278779507,
-0.03583361208438873,
0.011305438354611397,
-0.05194645747542381,
0.029278911650180817,
0.045599546283483505,
-0.010096502490341663,
-0.009458977729082108,
-0.011390441097319126,
0.048508547246456146,
0.024953188374638557,
-0.016811762005090714,
0.0206841342151165,
0.000020531395421130583,
-0.04110381379723549,
-0.012731604278087616,
-0.01841738075017929,
0.022894220426678658,
-0.043068334460258484,
-0.03963042423129082,
-0.013694975525140762,
0.023196455091238022,
0.0683426484465599,
0.00393140222877264,
0.007730577141046524,
-0.04484396055340767,
0.05039750784635544,
0.02750328741967678,
0.006639701779931784,
0.021364161744713783,
0.0021215404849499464,
-0.009208690375089645,
-0.059426747262477875,
-0.01589561626315117,
-0.015848392620682716,
0.010729304514825344,
0.012920500710606575,
-0.0724605843424797,
-0.027389951050281525,
0.026143236085772514,
-0.007570015732198954,
-0.019720764830708504,
-0.027748852968215942,
0.03808147460222244,
-0.01884239725768566,
-0.02295088954269886,
0.006356357596814632,
0.05904895439743996,
-0.029807820916175842,
0.02151527814567089,
0.05663108453154564,
0.04677070304751396,
-0.03538025915622711,
-0.03532359004020691,
-0.07076051831245422,
0.024934299290180206,
-0.022214194759726524,
0.008953680284321308,
0.041443828493356705,
0.024972079321742058,
0.03188567981123924,
-0.008660891093313694,
0.000992295448668301,
-0.02353646792471409,
-0.06683147698640823,
0.004646846558898687,
-0.035890281200408936,
0.005709387827664614,
0.0351158045232296,
-0.037080325186252594,
0.024556506425142288,
0.02085414156317711,
0.003950291778892279,
0.007787246257066727,
-0.022025298327207565,
0.038553714752197266,
-0.025746554136276245,
-0.0065310862846672535,
0.006535809021443129,
-0.02914668433368206,
-0.0351535826921463,
-0.034246884286403656,
-0.012854387052357197,
0.025765443220734596,
0.014903910458087921,
0.06380914151668549,
0.032150134444236755,
-0.025330981239676476,
-0.04824409261345863,
-0.022875331342220306,
0.00961009506136179,
0.08250986039638519,
-0.008396436460316181,
-0.02315867505967617,
-0.0476018451154232,
0.0010914659360423684,
-0.003735422622412443,
-0.0034001318272203207,
0.0028594164177775383,
-0.03243348002433777,
-0.03035562112927437,
-0.019682984799146652,
-0.10011499375104904,
0.09074573963880539,
-0.026218794286251068,
0.0011292451526969671,
0.006804985925555229,
-0.004540592432022095,
-0.023612026125192642,
-0.00299872737377882,
-0.012363256886601448,
0.017227334901690483,
0.01208935771137476,
-0.033019058406353,
-0.025482097640633583,
-0.0661892294883728,
0.06301577389240265,
-0.025482097640633583,
-0.015225034207105637,
0.04571288079023361,
-0.0206841342151165,
0.059011176228523254,
-0.036683645099401474,
-0.04484396055340767,
-0.07586071640253067,
0.026728812605142593,
0.005317428149282932,
-0.020778583362698555,
-0.04117937386035919,
-0.027257723733782768,
0.021855290979146957,
0.07759856432676315,
-0.07325395196676254,
-0.05190867930650711,
-0.013685530051589012,
0.04299277812242508,
0.007225280161947012,
0.03405798599123955,
-0.02625657245516777,
0.017208443954586983,
0.008542831055819988,
0.018058476969599724,
-0.018521273508667946,
0.0412927120923996,
-0.026502138003706932,
-0.02109970711171627,
0.029071126133203506,
-0.007503902073949575,
0.010937090031802654,
0.012429370544850826,
0.04450394585728645,
0.052210912108421326,
0.007588905282318592,
-0.038534827530384064,
-0.05311761423945427,
0.007366952020674944,
0.03373686224222183,
-0.024650955572724342,
0.03706143796443939,
-0.03182901069521904,
0.049301911145448685,
-0.03385020047426224,
0.05409987270832062,
-0.01655675284564495,
-0.032169025391340256,
0.022025298327207565,
0.0723850280046463,
0.0029255300760269165,
-0.026388799771666527,
0.0330379456281662,
-0.1158311516046524,
-0.030922308564186096,
0.0165473073720932,
-0.032943498343229294,
0.026917709037661552,
-0.053684301674366,
0.029184464365243912,
0.05904895439743996,
-0.03825148195028305,
-0.009860382415354252,
0.011286548338830471,
0.0037307001184672117,
0.04726183041930199,
0.05644218623638153,
0.01466779038310051,
-0.0031049815006554127,
0.032357919961214066,
0.015225034207105637,
-0.030450068414211273,
0.051153093576431274,
0.04140605032444,
0.04182162135839462,
0.0723850280046463,
0.03220680356025696,
0.0051238094456493855,
-0.0393281914293766,
0.00423127505928278,
-0.018691278994083405,
0.04004599526524544,
0.006483862176537514,
-0.036929208785295486,
0.023895369842648506,
-0.04439060762524605,
0.00043446128256618977,
0.03766590356826782,
-0.07695631682872772,
-0.08787451684474945,
0.015225034207105637,
-0.0007059995550662279,
-0.013128286227583885,
0.014639455825090408,
0.06184461712837219,
-0.0070883301086723804,
-0.058633383363485336,
-0.01354385819286108,
-0.002159319818019867,
0.040197111666202545,
-0.019531868398189545,
-0.009567593224346638,
0.05511991307139397,
-0.012920500710606575,
-0.012920500710606575,
0.031111204996705055,
0.0029255300760269165,
0.0124104805290699,
-0.03035562112927437,
-0.030034497380256653,
-0.02912779524922371,
0.023290902376174927,
0.016462303698062897,
0.0008193373214453459,
0.011305438354611397,
0.08205651491880417,
0.01738789677619934,
0.009699820540845394,
0.019890770316123962,
-0.014941690489649773,
0.019182410091161728,
0.02499096840620041,
-0.0027649682015180588,
0.01817181520164013,
-0.032754603773355484,
-0.019796323031187057,
0.005166311282664537,
0.027597736567258835,
0.043370570987463,
-0.03706143796443939,
0.04862188547849655,
0.05047306790947914,
0.010663190856575966,
-0.019475199282169342,
-0.017227334901690483,
-0.028825560584664345,
-0.009954830631613731,
-0.012023244053125381,
0.016821207478642464,
0.060862358659505844,
-0.026728812605142593,
-0.04057490453124046,
-0.005983287468552589,
-0.04253942519426346,
-0.024329831823706627,
-0.024443170055747032,
0.001694162841886282,
-0.02791886031627655,
-0.0014497784432023764,
-0.02376314252614975,
0.001409637974575162,
-0.03539915010333061,
-0.045561764389276505,
0.03430354967713356,
-0.009274804033339024,
0.007673908490687609,
-0.007130831945687532,
0.009869826957583427,
-0.02353646792471409,
-0.05103975534439087,
0.002918446436524391,
0.02540653944015503,
0.013553302735090256,
-0.03698587790131569,
-0.004061268642544746,
-0.016027843579649925,
0.009388141334056854,
-0.061920177191495895,
-0.08371879905462265,
0.02376314252614975,
-0.06139126792550087,
-0.04389948025345802,
-0.04835743084549904,
0.055082134902477264,
0.013619416393339634,
0.057159993797540665,
-0.06985381990671158,
0.02669103443622589,
0.037080325186252594,
-0.02791886031627655,
-0.006002177018672228,
0.0238009225577116,
0.052399806678295135,
-0.00868450291454792,
-0.010984314605593681,
-0.023083116859197617,
-0.0154989343136549,
0.004243080969899893,
0.047035157680511475,
0.06528253108263016,
0.024480948224663734,
0.015262813307344913,
0.032754603773355484,
0.02706882730126381,
-0.0034355497919023037,
0.015990063548088074,
-0.013166065327823162,
-0.005256037227809429,
0.02958114631474018,
-0.04442838951945305,
-0.05402431637048721,
-0.012741048820316792,
-0.002374189207330346,
0.03366130590438843,
0.03405798599123955,
0.025765443220734596,
0.022289752960205078,
0.05009527504444122,
0.024537617340683937,
-0.02704993635416031,
0.016396190971136093,
0.0557621605694294,
0.008434215560555458,
-0.06343134492635727,
0.009747044183313847,
-0.004004599526524544,
0.015196699649095535,
0.013251069001853466,
-0.012495484203100204,
-0.044163934886455536,
-0.0807720199227333,
-0.014847242273390293,
-0.026558807119727135,
0.0764274075627327,
-0.01272215973585844,
-0.01022872980684042,
-0.004368224646896124,
-0.0029703928157687187,
-0.026842150837183,
-0.05908673256635666,
-0.04148160666227341,
0.026388799771666527,
0.015347816981375217,
0.007924196310341358,
-0.010002054274082184,
-0.033151283860206604,
-0.018653500825166702,
0.0076502966694533825,
0.027597736567258835,
-0.04253942519426346,
-0.004153355490416288,
-0.07676742225885391,
0.010918200947344303,
-0.04031044989824295,
-0.021364161744713783,
0.014866131357848644,
-0.026407690718770027,
-0.005544103682041168,
-0.046657364815473557,
0.017246223986148834,
0.04646846652030945,
0.009553425945341587,
0.023517578840255737,
-0.002715382957831025,
0.013770533725619316,
-0.00929841585457325,
-0.0129393907263875,
0.05360874533653259,
-0.035040248185396194,
-0.021194154396653175,
0.02978893183171749,
0.04525953158736229,
-0.00377320172265172,
0.04480618238449097,
-0.01199490949511528,
-0.08409659564495087,
-0.035644713789224625,
-0.0144883394241333,
0.05519547313451767,
0.02704993635416031,
-0.03162122517824173,
0.011135431937873363,
-0.04646846652030945,
-0.04714849218726158,
0.019588537514209747,
-0.04374836012721062,
0.018700724467635155,
0.04057490453124046,
0.04771518334746361,
0.02810775674879551,
-0.03056340664625168,
-0.007130831945687532,
0.012221585027873516,
0.01924852281808853,
-0.026369910687208176,
-0.012495484203100204,
0.048697441816329956,
-0.05066196247935295,
0.04567510262131691,
0.011834347620606422,
0.011040983721613884,
-0.01107876282185316,
0.037911467254161835,
0.00666331360116601,
-0.024896521121263504,
0.020608576014637947,
-0.05908673256635666,
0.01363830640912056,
0.00563382962718606,
-0.006592477671802044,
0.017397340387105942,
0.03844038024544716,
-0.018662946298718452,
-0.023026447743177414,
-0.0010218104580417275,
0.0516442246735096,
0.007371674757450819,
-0.020363010466098785,
-0.037533678114414215,
-0.016377301886677742,
-0.02978893183171749,
-0.026615476235747337,
-0.01801125332713127,
0.013902761042118073,
-0.0002390717709204182,
0.016046732664108276,
-0.009633706882596016,
0.06263798475265503,
0.03405798599123955,
0.0024166908115148544
] |
713,348
|
xmlschema.resources
|
tostring
|
Serialize an XML resource to a string.
:param namespaces: is an optional mapping from namespace prefix to URI. Provided namespaces are registered before serialization. Ignored if the provided *elem* argument is a lxml Element instance.
:param indent: the baseline indentation.
:param max_lines: if truncate serialization after a number of lines (default: do not truncate).
:param spaces_for_tab: number of spaces for replacing tab characters. For default tabs are replaced with 4 spaces, provide `None` to keep tab characters.
:param xml_declaration: if set to `True` inserts the XML declaration at the head.
:param encoding: if "unicode" (the default) the output is a string, otherwise it’s binary.
:param method: is either "xml" (the default), "html" or "text".
:return: a Unicode string.
|
def tostring(self, namespaces: Optional[MutableMapping[str, str]] = None,
indent: str = '', max_lines: Optional[int] = None,
spaces_for_tab: int = 4, xml_declaration: bool = False,
encoding: str = 'unicode', method: str = 'xml') -> str:
"""
Serialize an XML resource to a string.
:param namespaces: is an optional mapping from namespace prefix to URI. \
Provided namespaces are registered before serialization. Ignored if the \
provided *elem* argument is a lxml Element instance.
:param indent: the baseline indentation.
:param max_lines: if truncate serialization after a number of lines \
(default: do not truncate).
:param spaces_for_tab: number of spaces for replacing tab characters. For \
default tabs are replaced with 4 spaces, provide `None` to keep tab characters.
:param xml_declaration: if set to `True` inserts the XML declaration at the head.
:param encoding: if "unicode" (the default) the output is a string, \
otherwise it’s binary.
:param method: is either "xml" (the default), "html" or "text".
:return: a Unicode string.
"""
if self._lazy:
raise XMLResourceError("cannot serialize a lazy XML resource")
if not hasattr(self._root, 'nsmap'):
namespaces = self.get_namespaces(namespaces, root_only=False)
_string = etree_tostring(
elem=self._root,
namespaces=namespaces,
indent=indent,
max_lines=max_lines,
spaces_for_tab=spaces_for_tab,
xml_declaration=xml_declaration,
encoding=encoding,
method=method
)
if isinstance(_string, bytes): # pragma: no cover
return _string.decode('utf-8')
return _string
|
(self, namespaces: Optional[MutableMapping[str, str]] = None, indent: str = '', max_lines: Optional[int] = None, spaces_for_tab: int = 4, xml_declaration: bool = False, encoding: str = 'unicode', method: str = 'xml') -> str
|
[
-0.017272746190428734,
-0.015999821946024895,
0.03212972357869148,
-0.09172488003969193,
0.008301882073283195,
-0.027038026601076126,
0.017551489174365997,
-0.01403933297842741,
0.005746742244809866,
-0.04764639213681221,
0.002169546205550432,
0.01177222654223442,
0.005519102327525616,
0.029509544372558594,
0.0012891843216493726,
0.06113753095269203,
-0.049690503627061844,
-0.10027298331260681,
-0.025142578408122063,
0.024733755737543106,
0.04125389829277992,
0.010462136939167976,
0.012404043227434158,
0.021741919219493866,
-0.008009202778339386,
0.005272879730910063,
-0.017542198300361633,
-0.031720902770757675,
-0.013323893770575523,
-0.025031080469489098,
-0.021741919219493866,
-0.036552440375089645,
0.0677158534526825,
-0.003830387257039547,
-0.0075539229437708855,
0.05470786988735199,
-0.018601419404149055,
0.003586487378925085,
0.013119482435286045,
-0.09596176445484161,
-0.02300555258989334,
-0.0060069020837545395,
-0.012487665750086308,
-0.04965334013104439,
0.004018538631498814,
0.01350043062120676,
0.01600911282002926,
0.031014753505587578,
-0.012534122914075851,
0.0014390083961188793,
0.04578810930252075,
0.020125212147831917,
-0.014894143678247929,
0.013779173605144024,
-0.06537441909313202,
0.03798331692814827,
-0.016417935490608215,
-0.007247306406497955,
0.013147356919944286,
-0.02640620991587639,
0.015879033133387566,
0.005184611305594444,
0.07730460166931152,
0.02984403632581234,
-0.050285156816244125,
0.0052171312272548676,
-0.002450611675158143,
-0.063070148229599,
0.0006132335984148085,
0.016436519101262093,
0.016715262085199356,
-0.019753554835915565,
-0.018285511061549187,
0.03868946433067322,
0.03445257991552353,
-0.012599162757396698,
-0.018666459247469902,
-0.024380682036280632,
-0.0227082259953022,
-0.06949980556964874,
0.0025156515184789896,
-0.02086852490901947,
-0.019437646493315697,
-0.03566046431660652,
0.030048446729779243,
-0.0515487901866436,
-0.016668803989887238,
-0.019288985058665276,
-0.00009538221638649702,
0.001481981249526143,
-0.045081961899995804,
0.07340220361948013,
-0.021370261907577515,
0.011084661819040775,
0.02432493306696415,
-0.025031080469489098,
0.006378558464348316,
-0.0259416401386261,
0.046382758766412735,
-0.035641878843307495,
0.026982279494404793,
0.00935645867139101,
-0.07340220361948013,
-0.007814083248376846,
0.007939516566693783,
0.02118443325161934,
-0.0011260038008913398,
0.030104195699095726,
0.03237130120396614,
-0.00847377348691225,
0.013519013300538063,
-0.015042806044220924,
0.011855849996209145,
0.023655951023101807,
0.01679888367652893,
-0.0497276708483696,
-0.05325840786099434,
-0.030011281371116638,
0.0094168521463871,
-0.058573100715875626,
0.0003960467001888901,
-0.021760500967502594,
-0.03729575127363205,
-0.020366789773106575,
0.006973209325224161,
0.0188337042927742,
0.005839656572788954,
0.05690064653754234,
0.028097249567508698,
-0.031051920726895332,
-0.026424793526530266,
-0.034638408571481705,
0.012050969526171684,
0.016074154525995255,
0.0685335025191307,
-0.08124416321516037,
-0.01070371363312006,
0.0857783704996109,
-0.025068245828151703,
0.11283498257398605,
0.06894232332706451,
0.023971859365701675,
-0.008394796401262283,
0.05166028439998627,
-0.020162377506494522,
-0.08280511945486069,
0.05708647519350052,
-0.009384332224726677,
-0.036794018000364304,
-0.014215869829058647,
0.05652898922562599,
-0.037778906524181366,
-0.034489743411540985,
-0.04786938801407814,
0.012264671735465527,
0.01792314648628235,
-0.011372695676982403,
-0.002687542699277401,
0.030420104041695595,
-0.08169014751911163,
-0.03828064352273941,
0.011186867952346802,
-0.02356303669512272,
-0.02878481335937977,
0.06388778984546661,
0.014076498337090015,
-0.0171147920191288,
-0.01093599945306778,
0.029398048296570778,
-0.04006459563970566,
-0.054522041231393814,
-0.05050814896821976,
-0.020775610581040382,
0.039618607610464096,
0.02001371420919895,
0.013165939599275589,
0.03038293868303299,
0.02347012236714363,
-0.058647431433200836,
0.044450145214796066,
0.010434262454509735,
-0.05500519648194313,
0.03305886685848236,
-0.013323893770575523,
0.009333229623734951,
-0.00483153760433197,
0.023135632276535034,
-0.005542330909520388,
0.03038293868303299,
-0.03612503409385681,
0.035400304943323135,
0.03212972357869148,
-0.006615489721298218,
0.030011281371116638,
-0.05797845125198364,
-0.07503749430179596,
-0.018034642562270164,
-0.05054531618952751,
0.04426431655883789,
0.014104372821748257,
-0.014977766200900078,
0.10205693542957306,
0.05701214447617531,
0.009337875060737133,
0.03965577483177185,
-0.0067827352322638035,
-0.06028272211551666,
-0.026647787541151047,
0.0046666148118674755,
0.04028759151697159,
0.04534212127327919,
-0.031330663710832596,
-0.0432608425617218,
-0.04786938801407814,
0.019530560821294785,
0.038169145584106445,
-0.02623896487057209,
0.023340042680501938,
-0.05218060687184334,
-0.02845032326877117,
0.030661679804325104,
0.009300709702074528,
-0.019307566806674004,
-0.05225493758916855,
-0.04887286201119423,
-0.0385408028960228,
0.053295575082302094,
-0.00922173261642456,
0.03514014557003975,
-0.005570205394178629,
0.048761364072561264,
0.005779262166470289,
0.05890759080648422,
0.015014931559562683,
0.003409950528293848,
0.018647875636816025,
-0.002931442577391863,
-0.015005640685558319,
-0.012617746368050575,
-0.0124319177120924,
-0.00017000391380861402,
-0.039469946175813675,
-0.029881201684474945,
-0.024882419034838676,
0.06440810859203339,
0.03053160011768341,
-0.03569762781262398,
0.000487218756461516,
-0.000008778756637184415,
-0.0014529455220326781,
0.03129349648952484,
-0.00676879845559597,
-0.05522818863391876,
-0.04909585416316986,
0.025681480765342712,
-0.020218126475811005,
-0.03460124135017395,
-0.040547750890254974,
0.006485410034656525,
0.0171147920191288,
0.01979072019457817,
-0.029286550357937813,
-0.019214652478694916,
0.04311218112707138,
0.010787337087094784,
-0.029639624059200287,
-0.0576811246573925,
0.014485321007668972,
-0.0005862304242327809,
0.00816715694963932,
0.03121916577219963,
0.017597945407032967,
-0.03577196225523949,
0.037240006029605865,
0.014336658641695976,
-0.019604893401265144,
-0.02170475386083126,
-0.04318651184439659,
0.06526292115449905,
-0.023191379383206367,
-0.017059044912457466,
-0.02532840706408024,
0.027911420911550522,
-0.0031799878925085068,
0.032798707485198975,
-0.07191557437181473,
-0.031163416802883148,
-0.0015145011711865664,
0.03592062368988991,
0.017179831862449646,
0.057049307972192764,
0.04519345983862877,
-0.08169014751911163,
-0.0009808253962546587,
0.08927194774150848,
-0.0587589293718338,
-0.011493484489619732,
-0.017597945407032967,
0.0006985985091887414,
-0.018378425389528275,
0.009138110093772411,
-0.048055216670036316,
0.07670994848012924,
-0.0036608187947422266,
0.012171758338809013,
0.014745480380952358,
-0.014856977388262749,
0.007744397036731243,
-0.0007665419834665954,
0.015786118805408478,
0.005690993741154671,
-0.016854632645845413,
0.04381832852959633,
-0.0113541129976511,
-0.011577107012271881,
0.06344180554151535,
-0.009579452686011791,
-0.03629228100180626,
0.03697984665632248,
0.006155564449727535,
-0.03690551221370697,
0.015451628714799881,
-0.015330839902162552,
-0.028673317283391953,
0.014076498337090015,
-0.0342295840382576,
0.03322611004114151,
0.044152818620204926,
0.029398048296570778,
-0.02538415417075157,
0.02516116015613079,
0.00262714852578938,
-0.003198570804670453,
0.019753554835915565,
-0.05340707302093506,
0.01875937357544899,
0.02545848675072193,
-0.033802181482315063,
-0.043075013905763626,
0.011930180713534355,
0.09432648122310638,
-0.01623210683465004,
0.0058350106701254845,
-0.015014931559562683,
-0.03785323724150658,
0.020961439236998558,
-0.015442336909472942,
0.015665331855416298,
0.035325970500707626,
-0.019809303805232048,
-0.0526265949010849,
0.031163416802883148,
0.023674534633755684,
0.029676789417862892,
-0.05883326008915901,
0.0014924340648576617,
0.004055703990161419,
0.027725592255592346,
0.012580580078065395,
0.008724641986191273,
-0.04418998584151268,
0.028264494612812996,
-0.015665331855416298,
-0.006336747203022242,
0.04868703335523605,
0.004220626782625914,
0.02685219794511795,
0.007163683418184519,
0.03644094243645668,
0.011818683706223965,
-0.0015052097151055932,
0.008585270494222641,
-0.052515096962451935,
-0.02155609056353569,
-0.015525960363447666,
0.03528880700469017,
0.01772802695631981,
0.003897750051692128,
-0.023990441113710403,
-0.048129547387361526,
0.02878481335937977,
0.0096352007240057,
0.019158905372023582,
-0.03474990278482437,
-0.023600202053785324,
-0.006889586802572012,
0.051511622965335846,
-0.022132158279418945,
-0.018554963171482086,
0.002061533508822322,
0.008111407980322838,
0.04340950772166252,
0.015879033133387566,
0.0056352452374994755,
-0.047609228640794754,
-0.02976970374584198,
0.010536468587815762,
-0.010499302297830582,
0.03305886685848236,
0.038020484149456024,
-0.035493217408657074,
0.03259429708123207,
0.020069463178515434,
-0.025718646124005318,
-0.05117713287472725,
0.045230623334646225,
0.05426188185811043,
-0.06061721220612526,
0.009653783403337002,
0.008306527510285378,
0.011344822123646736,
-0.027595512568950653,
-0.08183880895376205,
-0.05556268244981766,
0.0537043958902359,
-0.03973010554909706,
-0.02623896487057209,
0.0403619222342968,
0.028041500598192215,
-0.019288985058665276,
-0.07258456200361252,
0.04366966709494591,
0.011093953624367714,
0.002661991398781538,
-0.02861756831407547,
-0.054893698543310165,
-0.03268720954656601,
-0.004803663119673729,
0.018062517046928406,
0.053444236516952515,
0.031404994428157806,
-0.045527949929237366,
-0.02861756831407547,
-0.08235913515090942,
0.04129106178879738,
0.0012694400502368808,
-0.0021347033325582743,
-0.02025529183447361,
0.004404132254421711,
0.01861071027815342,
0.021370261907577515,
-0.05199477821588516,
0.010601508431136608,
0.037555914372205734,
-0.03527022525668144,
0.015265800058841705,
-0.07923721522092819,
0.040770743042230606,
0.008431961759924889,
0.030252857133746147,
0.016826758161187172,
0.0026666370686143637,
-0.029100721701979637,
-0.023693116381764412,
-0.05623166263103485,
-0.061806514859199524,
0.055116694420576096,
-0.02761409431695938,
-0.04846403747797012,
0.025179743766784668,
0.015042806044220924,
0.0017502709524706006,
0.0659690722823143,
0.01212530117481947,
-0.009203149937093258,
-0.014336658641695976,
-0.03735150024294853,
0.04181138053536415,
0.006629426963627338,
-0.03958144038915634,
0.041402559727430344,
0.02640620991587639,
-0.04203437641263008,
0.009481891989707947,
0.06314447522163391,
0.028413157910108566,
-0.027595512568950653,
0.009082361124455929,
-0.023581620305776596,
-0.0028106539975851774,
0.009035903960466385,
0.00997898355126381,
0.04084507375955582,
-0.001606253907084465,
-0.035400304943323135,
0.017439991235733032,
0.07291904836893082,
0.03776032477617264,
-0.0032264450564980507,
0.08808264881372452,
0.020292457193136215,
0.09596176445484161,
-0.05299824848771095,
0.0052589429542422295,
0.001864090794697404,
0.03785323724150658,
-0.03376501426100731,
-0.01211600936949253,
-0.08258212357759476,
-0.01822047121822834,
-0.00021007316536270082,
-0.07819657772779465,
-0.002116120420396328,
0.07005729526281357,
-0.019214652478694916,
0.04954184219241142,
0.005175319965928793,
0.04720040410757065,
0.04311218112707138,
-0.023693116381764412,
0.031646572053432465,
-0.033263277262449265,
0.0371285080909729,
0.022596729919314384,
-0.012915071099996567,
-0.030643098056316376,
0.015107845887541771,
0.018889453262090683,
0.010406388901174068,
-0.030977588146924973,
-0.02410193905234337,
0.06214100494980812,
-0.0017990508349612355,
0.000038472277083201334,
-0.0382063128054142,
0.015823286026716232,
0.023655951023101807,
0.03534455597400665,
-0.053667232394218445,
0.04489613324403763,
-0.02263389527797699,
-0.004731654655188322,
0.045156292617321014,
-0.03121916577219963,
0.01457823533564806,
0.07269605994224548,
-0.09990132600069046,
-0.026740701869130135,
0.07421985268592834,
-0.013899961486458778,
0.021667586639523506,
0.02516116015613079,
-0.036645352840423584,
-0.0052171312272548676,
-0.0094679556787014,
-0.03913545235991478,
0.06897948682308197,
0.051734618842601776,
0.03523305803537369,
-0.014262326993048191,
-0.022819723933935165,
-0.012915071099996567,
0.019902218133211136,
-0.008566687814891338,
0.014262326993048191,
0.003372784936800599,
0.029676789417862892,
-0.01085237693041563,
0.020496869459748268,
0.05132579430937767,
-0.03538171947002411,
0.04129106178879738,
-0.03995309770107269,
0.007841956801712513,
0.016269274055957794,
0.08020352572202682,
0.0663035586476326,
-0.05437337979674339,
0.013528305105865002,
-0.01679888367652893,
0.03842930495738983,
0.001751432311721146,
0.004984845872968435,
-0.0075306943617761135,
0.008520230650901794,
0.02763267792761326,
0.039395611733198166,
-0.03196248039603233,
0.022225072607398033,
0.05333274230360985,
-0.0004703780577983707,
0.0073309289291501045,
-0.020218126475811005,
-0.036719683557748795,
0.04296351969242096,
0.02042253687977791,
-0.03764882683753967,
0.05638032779097557,
0.02709377557039261,
-0.057495296001434326,
-0.014206578955054283,
-0.04846403747797012,
0.005542330909520388,
-0.04664291813969612,
0.07362519949674606,
-0.044301483780145645,
-0.000002309244109710562,
-0.012320420704782009,
0.004162555560469627,
-0.030977588146924973,
-0.010118354111909866,
0.03935844823718071,
-0.028022916987538338,
0.03452691063284874,
0.013974293135106564,
0.02423201873898506,
-0.055116694420576096,
0.04835253953933716,
0.011121828109025955,
0.11454460769891739,
-0.047832220792770386,
-0.02133309654891491,
0.023916110396385193,
-0.05883326008915901,
-0.009505121037364006,
-0.03251996263861656,
-0.03343052417039871,
-0.02532840706408024,
-0.040547750890254974,
-0.07265888899564743,
0.03283587098121643,
0.04742339998483658,
0.008938344195485115,
0.02294980362057686,
-0.0002020883548539132,
0.05389022454619408,
-0.02523549273610115,
-0.06325597316026688,
0.012366877868771553,
-0.0392841175198555,
0.029583875089883804,
-0.07355086505413055,
0.031051920726895332,
-0.010555051267147064,
-0.05284958705306053,
0.008785036392509937,
0.05690064653754234,
0.09165055304765701,
-0.022355152294039726,
-0.034861400723457336,
0.006517929956316948,
0.022187907248735428,
-0.018991658464074135,
-0.01888016238808632,
-0.02947237901389599,
0.022912638261914253,
0.02302413433790207,
-0.0569378100335598,
0.05050814896821976,
-0.09127889573574066,
-0.009690949693322182,
-0.01925181783735752,
0.014095081947743893,
-0.014736189506947994,
0.03835497424006462,
0.05411322042346001,
0.04188571497797966,
0.010517885908484459,
0.008139282464981079,
0.025718646124005318,
-0.000592908647377044,
-0.006155564449727535,
-0.007948808372020721,
-0.005277525633573532,
0.000732279906515032,
-0.028134414926171303,
-0.029398048296570778,
-0.0010899994522333145,
-0.018703624606132507,
-0.0515487901866436,
-0.006113753188401461,
0.07202707231044769,
0.03727716952562332,
-0.026294713839888573,
-0.010332057252526283,
0.005876821931451559,
0.00017406891856808215,
-0.005621307995170355,
-0.03742583468556404,
-0.02493816614151001,
0.013128774240612984,
0.0031846335623413324,
-0.03278012201189995,
-0.031720902770757675,
-0.0385408028960228,
-0.013407516293227673,
0.0011242616456001997,
0.006536512635648251,
-0.0411052331328392,
-0.028022916987538338,
0.02042253687977791,
-0.02707519382238388,
-0.010025440715253353,
0.024510761722922325,
0.08280511945486069,
0.04010176286101341,
-0.0028942767530679703,
0.0020626948680728674,
0.05418755114078522,
-0.03703559190034866,
0.05389022454619408,
-0.05199477821588516,
0.0353073887526989,
-0.03077317774295807,
-0.011670021340250969,
-0.00556555949151516,
0.0322783887386322,
-0.0010609638411551714,
-0.03920978680253029,
0.08518372476100922,
0.033950842916965485,
0.04017609357833862,
0.006267061457037926,
-0.07589230686426163,
-0.024529343470931053,
-0.03396942466497421,
0.012589871883392334,
0.015070680528879166,
-0.024808086454868317,
0.012478374876081944,
-0.056268829852342606,
-0.052217770367860794,
0.003749087220057845,
-0.06440810859203339,
0.02111010253429413,
0.09477246552705765,
0.016436519101262093,
0.02640620991587639,
0.0216304212808609,
-0.03668252006173134,
-0.005082405637949705,
0.026889365166425705,
-0.01081521064043045,
-0.0038280643057078123,
0.044450145214796066,
-0.027725592255592346,
0.012636329047381878,
-0.05664048716425896,
0.0024366744328290224,
0.0011747836833819747,
0.017300620675086975,
0.07633829116821289,
0.010527176782488823,
0.03309603035449982,
0.01635289564728737,
-0.03415525332093239,
0.0013820984167978168,
-0.003976726904511452,
-0.029100721701979637,
0.024845251813530922,
0.025792976841330528,
0.04734906926751137,
-0.002023206325247884,
0.010694422759115696,
0.062029507011175156,
-0.05493086576461792,
0.013862796127796173,
0.009147400967776775,
0.024417847394943237,
-0.011948764324188232,
-0.05240359902381897,
-0.004845474846661091,
-0.02540273778140545,
0.011010331101715565,
-0.008297236636281013,
0.10227993130683899,
0.014280909672379494,
-0.011725770309567451
] |
713,349
|
xmlschema.exceptions
|
XMLResourceError
|
Raised when an error is found accessing an XML resource.
|
class XMLResourceError(XMLSchemaException, OSError):
"""Raised when an error is found accessing an XML resource."""
| null |
[
0.03806665167212486,
-0.010483406484127045,
0.031769510358572006,
0.01097121275961399,
0.029818285256624222,
-0.031680818647146225,
0.005015538539737463,
0.039130955934524536,
0.09011117368936539,
-0.03267417103052139,
0.048283979296684265,
0.015317126177251339,
0.08436392992734909,
-0.00837253499776125,
-0.049632102251052856,
0.04313983768224716,
-0.04849684238433838,
0.07233727723360062,
-0.009028855711221695,
-0.013658584095537663,
-0.06815101206302643,
0.022598747164011,
-0.011157467029988766,
-0.006926853209733963,
0.01837700419127941,
0.12076316773891449,
0.009631962515413761,
-0.001416856306605041,
0.04292697831988335,
-0.07506899535655975,
-0.07251466065645218,
-0.032762862741947174,
0.04040812328457832,
0.008066547103226185,
0.002512203762307763,
0.03760545328259468,
0.01125502772629261,
0.023379238322377205,
-0.03100675903260708,
0.00928606279194355,
-0.08046147972345352,
0.009170763194561005,
-0.0316985584795475,
-0.05676294490695,
0.04257220774888992,
-0.001970073441043496,
-0.02336150035262108,
0.04374294355511665,
-0.10323760658502579,
0.009827084839344025,
-0.0054589989595115185,
0.020576568320393562,
0.005835940595716238,
0.0015942405443638563,
-0.021410273388028145,
0.06843482702970505,
-0.0185721255838871,
0.09493602812290192,
-0.02039918303489685,
-0.04186267405748367,
0.024372590705752373,
0.046971339732408524,
0.007875858806073666,
-0.017889197915792465,
-0.029516732320189476,
-0.015565464273095131,
0.014767235144972801,
-0.06917984038591385,
-0.048603273928165436,
0.059210848063230515,
-0.0018093188991770148,
0.052080001682043076,
-0.05942370742559433,
0.022031119093298912,
0.11572545766830444,
-0.038244035094976425,
-0.033791691064834595,
-0.00858539529144764,
-0.033135369420051575,
-0.01435038261115551,
0.051228560507297516,
-0.027263952419161797,
-0.030687468126416206,
0.006594257894903421,
0.04516201838850975,
0.012691839598119259,
0.03909547999501228,
-0.02274065464735031,
-0.026004524901509285,
0.05626627057790756,
-0.02987150102853775,
0.04164981096982956,
-0.05711771547794342,
-0.025898093357682228,
0.030261745676398277,
0.01903332583606243,
0.0105720991268754,
-0.04572964832186699,
0.007445701863616705,
-0.03554779663681984,
0.014031090773642063,
0.03228392452001572,
-0.039698585867881775,
-0.015086526982486248,
0.005073188338428736,
0.0029467951972037554,
0.0012505586491897702,
-0.0173038300126791,
0.03208880126476288,
-0.021587658673524857,
-0.018501171842217445,
-0.02270517870783806,
0.01687810756266117,
0.03739259019494057,
0.00013761133595835418,
-0.03849237412214279,
0.03368525952100754,
0.034359320998191833,
0.002332602394744754,
-0.024691881611943245,
0.05807558819651604,
-0.014811581000685692,
-0.045197494328022,
0.01608874835073948,
0.06208447366952896,
0.02744133584201336,
0.020789429545402527,
0.03623959422111511,
0.031130928546190262,
0.021960165351629257,
-0.025667494162917137,
-0.004953453782945871,
-0.006638603750616312,
-0.01659429259598255,
-0.00921510998159647,
-0.01908653974533081,
0.01604440063238144,
0.03682496026158333,
-0.06247471645474434,
-0.027938012033700943,
0.03774736076593399,
0.06293591856956482,
-0.017472343519330025,
0.012505586259067059,
-0.02584487944841385,
0.022616486996412277,
-0.052221909165382385,
-0.023432454094290733,
-0.03198237344622612,
0.025578802451491356,
0.004219526890665293,
-0.03075842186808586,
-0.031308311969041824,
-0.03340144455432892,
-0.0422174409031868,
-0.0001757212303346023,
-0.0073703136295080185,
-0.06478071212768555,
0.004230613354593515,
-0.06524191051721573,
-0.05956561490893364,
-0.018643079325556755,
0.0043170880526304245,
-0.0021164154168218374,
-0.015733979642391205,
0.01003994606435299,
-0.05449242889881134,
-0.06524191051721573,
0.004248351790010929,
-0.046403709799051285,
-0.01979607716202736,
0.012079864740371704,
-0.030971283093094826,
-0.024816051125526428,
0.001885815872810781,
0.012106471695005894,
0.048745181411504745,
0.03686043992638588,
-0.00994238443672657,
0.03081163577735424,
0.06180065870285034,
0.0023392541334033012,
0.0020454616751521826,
0.03267417103052139,
-0.0039889272302389145,
0.04008883237838745,
-0.02048787660896778,
0.026660846546292305,
0.0568339005112648,
0.00009187947580358014,
0.01866081915795803,
-0.0032439136411994696,
0.0044479090720415115,
0.01937035471200943,
0.002842581830918789,
-0.04924185574054718,
-0.01707322895526886,
-0.03198237344622612,
0.02827504277229309,
0.08826638013124466,
-0.029020056128501892,
0.08237722516059875,
0.009490055032074451,
0.012257249094545841,
-0.0041197482496500015,
0.010634182952344418,
-0.03086485154926777,
-0.05619531497359276,
-0.12459466606378555,
0.006456784904003143,
0.00807098113000393,
-0.018217358738183975,
0.00658982340246439,
0.04207553341984749,
0.05651460960507393,
-0.003443470923230052,
-0.02969411574304104,
-0.018465695902705193,
-0.03043912909924984,
-0.026891445741057396,
0.041472427546978,
0.01024393830448389,
0.04704229161143303,
-0.039130955934524536,
0.03368525952100754,
-0.02641250751912594,
0.018066581338644028,
-0.03845689445734024,
-0.029108747839927673,
-0.008261669427156448,
0.027405859902501106,
0.028824932873249054,
0.04633275419473648,
-0.02453223615884781,
0.04310436174273491,
-0.026891445741057396,
0.04541035741567612,
-0.0044811684638261795,
0.024656403809785843,
-0.02635929360985756,
-0.03418193757534027,
-0.03703782334923744,
-0.04615537077188492,
-0.01688697561621666,
0.0185721255838871,
-0.00942797027528286,
-0.0251353420317173,
0.038527850061655045,
-0.04707776755094528,
-0.03920190781354904,
0.003215088741853833,
0.0065100002102553844,
-0.05623079463839531,
-0.0641421303153038,
0.035760655999183655,
-0.09074976295232773,
-0.07223084568977356,
-0.029055533930659294,
0.04970305413007736,
-0.016071008518338203,
-0.0015388079918920994,
0.026199648156762123,
0.026288339868187904,
0.05796916037797928,
-0.04097575321793556,
-0.04065645858645439,
-0.01252332516014576,
0.020984550938010216,
0.027689674869179726,
0.048780657351017,
0.1005413681268692,
0.07783619314432144,
-0.00635478924959898,
0.013676322065293789,
-0.011157467029988766,
-0.0016452384879812598,
-0.012301594950258732,
0.03418193757534027,
0.05158332735300064,
0.015166349709033966,
0.006665211636573076,
-0.001949009019881487,
-0.012496717274188995,
0.07833286374807358,
-0.02687370777130127,
-0.0524347722530365,
-0.017277222126722336,
-0.011104251258075237,
-0.06580954045057297,
0.00391797348856926,
0.03842141851782799,
0.03255000337958336,
-0.03948572278022766,
-0.021498965099453926,
0.00611975509673357,
-0.012434632517397404,
-0.0328160785138607,
-0.027689674869179726,
0.034022290259599686,
0.018128665164113045,
0.038102127611637115,
0.05814654380083084,
0.025259511545300484,
0.014660804532468319,
-0.04069193825125694,
-0.035015642642974854,
0.04448796063661575,
-0.004241699818521738,
-0.03671853244304657,
0.04243030399084091,
0.008971205912530422,
0.017702944576740265,
-0.05328621715307236,
0.0060754092410206795,
0.04250125586986542,
0.06552572548389435,
0.03607994690537453,
-0.006217316258698702,
-0.003796021919697523,
0.05814654380083084,
-0.04746801406145096,
0.02607547864317894,
0.009889169596135616,
-0.048319458961486816,
-0.055698640644550323,
0.028062181547284126,
0.003842585487291217,
0.015645287930965424,
-0.02504665032029152,
-0.0013403594493865967,
-0.007024414371699095,
-0.0036430282052606344,
-0.00643904646858573,
-0.010944605804979801,
-0.03725068271160126,
-0.013614238239824772,
0.04395580664277077,
-0.05903346464037895,
0.013561022467911243,
-0.015290518291294575,
0.05083831399679184,
0.03425288945436478,
0.018359266221523285,
-0.01651446893811226,
0.01332155428826809,
-0.036789484322071075,
-0.034022290259599686,
-0.03746354579925537,
0.002576505532488227,
-0.021977903321385384,
-0.026802754029631615,
0.09344600141048431,
-0.049774009734392166,
0.023343762382864952,
0.011077643372118473,
-0.017090968787670135,
-0.04934828728437424,
0.02353888377547264,
0.029800547286868095,
0.022385885939002037,
0.014767235144972801,
-0.0030953544192016125,
-0.0437074676156044,
-0.04792921245098114,
-0.034731827676296234,
-0.03301120176911354,
0.027636459097266197,
-0.0008758344920352101,
0.005729509983211756,
-0.016478992998600006,
0.018784986808896065,
-0.028949102386832237,
-0.08769875019788742,
-0.016753938049077988,
0.0363992378115654,
0.010394714772701263,
0.01866081915795803,
0.0071397144347429276,
-0.05584054812788963,
0.015423556789755821,
-0.014199606142938137,
0.000594791432376951,
-0.0017838198691606522,
-0.05605340749025345,
-0.04317531734704971,
-0.06446141749620438,
-0.0356542244553566,
0.013543284498155117,
-0.03029722161591053,
0.09067880362272263,
0.019122017547488213,
-0.029232917353510857,
0.011459019966423512,
0.01640803925693035,
-0.004184050019830465,
-0.021498965099453926,
-0.00855878833681345,
-0.028008965775370598,
0.017933543771505356,
0.005685163661837578,
-0.05406670644879341,
0.04271411523222923,
-0.06616430729627609,
0.020044416189193726,
0.01913975551724434,
0.015432425774633884,
-0.0001834817958297208,
-0.022243980318307877,
-0.022492317482829094,
0.004425736144185066,
0.032709646970033646,
-0.022173026576638222,
-0.028771718963980675,
-0.06087825819849968,
0.013498937711119652,
0.015370341949164867,
0.02405329793691635,
0.03246130794286728,
0.019849292933940887,
-0.006363658234477043,
-0.016904715448617935,
-0.014102044515311718,
0.08280295133590698,
0.03137926757335663,
-0.05066093057394028,
-0.046545617282390594,
-0.022722916677594185,
0.00795124750584364,
-0.007804905064404011,
0.02570297196507454,
0.010439060628414154,
0.01894463412463665,
-0.038244035094976425,
-0.10529526323080063,
-0.013995613902807236,
-0.0662352591753006,
-0.05374741554260254,
-0.028257304802536964,
-0.02091359719634056,
0.02972959354519844,
0.022119810804724693,
0.003062094794586301,
0.08698921650648117,
0.05200904980301857,
-0.00012791063636541367,
-0.045942507684230804,
0.0027095437981188297,
0.049880437552928925,
-0.001847013016231358,
-0.008625307120382786,
-0.003011096967384219,
-0.04356556013226509,
0.06534834206104279,
-0.022208502516150475,
-0.024088775739073753,
-0.07088273018598557,
-0.04360103979706764,
-0.019707385450601578,
-0.00480711180716753,
0.014953488484025002,
-0.03668305277824402,
0.0407983660697937,
-0.0037938046734780073,
-0.09749036282300949,
-0.039130955934524536,
-0.0010781633900478482,
0.00841688085347414,
0.008310450240969658,
0.06609335541725159,
0.013020000420510769,
0.010909128934144974,
0.027973489835858345,
0.028221827000379562,
-0.0466165691614151,
0.009153025224804878,
0.012505586259067059,
0.0022749523632228374,
0.015237303450703621,
0.025294987484812737,
0.0039822752587497234,
0.06353902071714401,
-0.023645315319299698,
0.04345913231372833,
0.0024634231813251972,
-0.02536594122648239,
-0.039130955934524536,
0.01734817586839199,
-0.046226322650909424,
-0.010873652063310146,
0.021924687549471855,
0.026997875422239304,
0.029339347034692764,
-0.00017835428297985345,
-0.006190708838403225,
0.07804904878139496,
-0.046368230134248734,
-0.021889211609959602,
0.05853678658604622,
-0.020434660837054253,
-0.011556580662727356,
0.00844348780810833,
-0.1151578277349472,
-0.03389812260866165,
-0.017232876271009445,
0.03625733032822609,
-0.0005304896621964872,
0.04164981096982956,
0.01917523331940174,
0.11920218914747238,
-0.07102463394403458,
-0.026465723291039467,
0.03427062928676605,
0.055876024067401886,
0.03817307949066162,
0.01317964680492878,
-0.0181996189057827,
0.0034146460238844156,
0.045232973992824554,
0.0422174409031868,
0.04239482432603836,
0.024212943390011787,
-0.022155286744236946,
0.052541203796863556,
-0.00504214596003294,
-0.015556595288217068,
-0.05126403644680977,
-0.01550337951630354,
-0.026235124096274376,
-0.008580961264669895,
0.06701575219631195,
0.01637256145477295,
0.0029955757781863213,
0.038527850061655045,
-0.0575789138674736,
0.008656349033117294,
0.04764539748430252,
-0.03554779663681984,
-0.006323746871203184,
-0.027051091194152832,
0.01261201687157154,
0.018164142966270447,
0.04140147566795349,
0.006882507354021072,
0.01814640499651432,
0.007844816893339157,
-0.06204899400472641,
-0.05523744225502014,
-0.0010681855492293835,
-0.0111131202429533,
-0.025294987484812737,
0.0338626466691494,
-0.0143947284668684,
0.02025727555155754,
0.03517528995871544,
0.025011172518134117,
0.01684262976050377,
0.04083384573459625,
0.007405790500342846,
0.01997346244752407,
0.00958761665970087,
0.004749462008476257,
-0.015246172435581684,
0.019991200417280197,
-0.0145632429048419,
0.0323726162314415,
-0.00439469376578927,
-0.0007477853214368224,
-0.05417313799262047,
-0.008660783991217613,
-0.0042372653260827065,
-0.004261655732989311,
0.017090968787670135,
0.01665637642145157,
-0.01266523264348507,
-0.0031884810887277126,
0.024408066645264626,
-0.0055432566441595554,
0.0143769895657897,
0.004232830833643675,
0.0013603151310235262,
0.04211100935935974,
-0.0323726162314415,
-0.06208447366952896,
-0.04207553341984749,
0.04193362593650818,
0.01223951019346714,
-0.023059947416186333,
0.030651990324258804,
-0.027689674869179726,
-0.008962336927652359,
-0.04782278090715408,
-0.06375188380479813,
-0.013871445320546627,
-0.08869210630655289,
0.020878121256828308,
0.0422174409031868,
0.04498463496565819,
-0.07769428193569183,
-0.018909156322479248,
-0.034217413514852524,
-0.012532194145023823,
0.04782278090715408,
0.03597351536154747,
-0.03710877522826195,
0.03544136509299278,
0.022102072834968567,
-0.026199648156762123,
0.011698488146066666,
-0.03292251005768776,
0.021268365904688835,
0.004368085879832506,
-0.04342365264892578,
-0.009232847951352596,
-0.011592057533562183,
-0.02536594122648239,
-0.010403583757579327,
-0.008235061541199684,
0.010261676274240017,
-0.028665287420153618,
0.031592126935720444,
0.01223951019346714,
0.022297194227576256,
-0.01332155428826809,
0.01353441458195448,
-0.016097616404294968,
0.07691378891468048,
-0.002793801249936223,
0.007937943562865257,
-0.05811106786131859,
-0.0185721255838871,
0.016283869743347168,
0.022634224966168404,
0.028541117906570435,
-0.06545477360486984,
-0.032479047775268555,
0.01372066792100668,
0.04211100935935974,
0.03884714096784592,
0.05069640651345253,
0.03253226354718208,
0.025738447904586792,
0.04718419909477234,
-0.072053462266922,
0.00200555007904768,
-0.00928606279194355,
0.03471408784389496,
0.006079843733459711,
-0.08904687315225601,
0.030918067321181297,
-0.02339697629213333,
0.02011536993086338,
0.003226175205782056,
-0.02958768606185913,
-0.024656403809785843,
0.06314877420663834,
0.03171629458665848,
-0.04097575321793556,
-0.03537040948867798,
-0.009090940468013287,
0.03817307949066162,
0.0003411874349694699,
-0.024869265034794807,
0.012789401225745678,
0.01064305193722248,
0.018749510869383812,
-0.0222262404859066,
0.01848343387246132,
-0.06268757581710815,
-0.030456868931651115,
-0.004312653560191393,
0.002441250253468752,
0.0422174409031868,
0.06932175159454346,
-0.00025928582181222737,
-0.01945904828608036,
-0.0107406135648489,
-0.0072904909029603004,
-0.009871430695056915,
-0.008048808202147484,
0.016097616404294968,
0.04328174516558647,
0.0342351533472538,
-0.02034596912562847,
-0.04484272748231888,
-0.03945024684071541,
0.008718433789908886,
0.006532173603773117,
0.012736186385154724,
0.01064305193722248,
-0.051796186715364456,
-0.04572964832186699,
0.00472285458818078,
0.005361437797546387,
0.04122408851981163,
-0.06371640413999557,
-0.028168611228466034,
-0.0047760698944330215,
0.0287539791315794,
0.03480277955532074,
0.012496717274188995,
0.045091066509485245,
0.032195232808589935,
-0.000978384749032557,
-0.007383617572486401,
-0.008000027388334274,
-0.009436840191483498,
-0.04431057348847389,
-0.010394714772701263,
0.041578859090805054,
0.019707385450601578,
0.03166308254003525,
-0.01725948415696621,
0.003649679943919182,
-0.06964103877544403,
-0.0211441982537508,
-0.035388149321079254,
0.0028536685276776552,
0.025472372770309448,
0.010155245661735535,
0.005738378968089819,
-0.024798311293125153,
-0.031911417841911316,
0.02706882916390896,
-0.018589865416288376,
-0.047290630638599396,
0.015955708920955658,
-0.004048794507980347,
-0.014279428869485855,
0.044523436576128006,
0.05051902309060097,
0.049738530069589615,
0.022173026576638222,
-0.0742885023355484,
0.08259008824825287,
0.031201882287859917,
0.0018192967399954796,
-0.020523352548480034,
0.021357057616114616,
0.06662550568580627,
0.04502011090517044,
0.038385942578315735,
0.03668305277824402,
-0.0255078487098217,
-0.07343706488609314,
-0.010031077079474926,
0.01069626770913601,
-0.002651893999427557,
0.06364545226097107,
-0.030119838193058968,
0.05445695295929909,
0.011875872500240803,
-0.009303801693022251,
-0.01435038261115551,
0.04938376322388649,
0.014554373919963837,
-0.024975696578621864,
0.016168570145964622,
-0.010403583757579327,
-0.0026651977095752954,
-0.00733927171677351,
-0.007587609346956015,
0.0035831609275192022,
-0.03682496026158333,
-0.0005354785826057196,
0.004917976912111044,
0.02231493405997753,
-0.019902508705854416,
0.01678941585123539
] |
713,350
|
xmlschema.validators.schemas
|
XMLSchema10
|
XSD 1.0 schema class.
<schema
attributeFormDefault = (qualified | unqualified) : unqualified
blockDefault = (#all | List of (extension | restriction | substitution)) : ''
elementFormDefault = (qualified | unqualified) : unqualified
finalDefault = (#all | List of (extension | restriction | list | union)) : ''
id = ID
targetNamespace = anyURI
version = token
xml:lang = language
{any attributes with non-schema namespace . . .}>
Content: ((include | import | redefine | annotation)*, (((simpleType | complexType | group |
attributeGroup) | element | attribute | notation), annotation*)*)
</schema>
|
class XMLSchema10(XMLSchemaBase):
"""
XSD 1.0 schema class.
<schema
attributeFormDefault = (qualified | unqualified) : unqualified
blockDefault = (#all | List of (extension | restriction | substitution)) : ''
elementFormDefault = (qualified | unqualified) : unqualified
finalDefault = (#all | List of (extension | restriction | list | union)) : ''
id = ID
targetNamespace = anyURI
version = token
xml:lang = language
{any attributes with non-schema namespace . . .}>
Content: ((include | import | redefine | annotation)*, (((simpleType | complexType | group |
attributeGroup) | element | attribute | notation), annotation*)*)
</schema>
"""
meta_schema: XMLSchemaBase
meta_schema = os.path.join(SCHEMAS_DIR, 'XSD_1.0/XMLSchema.xsd') # type: ignore
BASE_SCHEMAS = {
XML_NAMESPACE: os.path.join(SCHEMAS_DIR, 'XML/xml_minimal.xsd'),
XSI_NAMESPACE: os.path.join(SCHEMAS_DIR, 'XSI/XMLSchema-instance_minimal.xsd'),
}
|
(source: xmlschema.resources.XMLResource, namespace: Optional[str] = None, validation: str = 'strict', global_maps: Optional[xmlschema.validators.global_maps.XsdGlobals] = None, converter: Optional[~T] = None, locations: xmlschema.namespaces.NamespaceResourcesMap = None, base_url: Optional[str] = None, allow: str = 'all', defuse: str = 'remote', timeout: int = 300, uri_mapper: Optional[~T] = None, build: bool = True, use_meta: bool = True, use_fallback: bool = True, use_xpath3: bool = False, loglevel: Union[str, int, NoneType] = None) -> None
|
[
0.04000366851687431,
-0.008262252435088158,
0.043107401579618454,
-0.016754411160945892,
0.03599947318434715,
-0.005704546347260475,
0.018411651253700256,
-0.03810694441199303,
0.037493862211704254,
-0.01722380332648754,
-0.04253263771533966,
0.013085491955280304,
0.0004232907376717776,
0.005704546347260475,
-0.0443335697054863,
0.009488418698310852,
0.0182392206043005,
0.03866254910826683,
-0.03598031401634216,
0.03306816890835762,
0.022205103188753128,
0.030328452587127686,
-0.025500424206256866,
0.03301069140434265,
0.02990695834159851,
0.06820549070835114,
0.009435731917619705,
-0.0316120944917202,
0.020193424075841904,
-0.06015877425670624,
-0.06962324678897858,
-0.022607438266277313,
0.035865359008312225,
-0.0033911156933754683,
0.029025651514530182,
-0.06717091053724289,
-0.007644379511475563,
0.04705412685871124,
-0.015566562302410603,
0.027856962755322456,
0.03301069140434265,
0.01300885621458292,
-0.030443405732512474,
-0.10292132198810577,
0.008401153609156609,
0.03645928204059601,
0.05073262378573418,
0.08299612253904343,
-0.061959706246852875,
0.021457906812429428,
0.07314847409725189,
-0.012759791687130928,
-0.01534623559564352,
0.000898669590242207,
-0.03619106113910675,
0.01217544637620449,
-0.020940618589520454,
0.07583071291446686,
-0.007069614250212908,
0.006547535769641399,
-0.022530803456902504,
0.046211134642362595,
0.011610260233283043,
-0.01778898760676384,
-0.043758802115917206,
-0.010470309294760227,
-0.01462777890264988,
-0.061155036091804504,
-0.02852752059698105,
0.05211206153035164,
-0.00980932917445898,
-0.027358831837773323,
-0.017999736592173576,
0.03078826516866684,
0.06885689496994019,
-0.02055744081735611,
-0.043643850833177567,
-0.06801389902830124,
-0.009066923521459103,
-0.06096344813704491,
0.004708286374807358,
-0.03006022982299328,
-0.00008337091276189312,
0.01934085413813591,
0.06609801948070526,
0.026937337592244148,
0.04517655819654465,
-0.014848105609416962,
0.04421861469745636,
0.0012896298430860043,
-0.03080742433667183,
0.046977490186691284,
-0.020768189802765846,
0.01761655882000923,
0.019312117248773575,
-0.0205765999853611,
-0.021898560225963593,
-0.06241951882839203,
-0.015183385461568832,
0.03559713438153267,
-0.0036808932200074196,
0.04958309233188629,
-0.034294333308935165,
0.006260152906179428,
-0.009445310570299625,
0.04268590733408928,
-0.012328716926276684,
-0.014407452195882797,
0.00589613476768136,
-0.02203267253935337,
-0.044678427278995514,
-0.05337654426693916,
0.06058027222752571,
0.07092604786157608,
0.00406407006084919,
-0.035118162631988525,
0.0275887381285429,
0.04598122835159302,
0.04479338228702545,
-0.04046348109841347,
0.025002293288707733,
0.0275887381285429,
0.005924873054027557,
0.020998094230890274,
0.10376431047916412,
0.017214223742485046,
0.04391207545995712,
0.0007795255514793098,
0.03624853491783142,
0.01653408445417881,
-0.0026032081805169582,
0.0203850120306015,
-0.0037455542478710413,
-0.021764449775218964,
0.04950645938515663,
-0.0426475889980793,
-0.006111671682447195,
0.022588279098272324,
-0.05724663287401199,
0.05935410410165787,
0.011955119669437408,
-0.009497998282313347,
0.03806862607598305,
-0.04341394454240799,
-0.12292315810918808,
-0.0006735531496815383,
-0.019254639744758606,
-0.00767311779782176,
-0.029389670118689537,
0.02295229770243168,
-0.020768189802765846,
-0.05916251614689827,
-0.020978936925530434,
-0.03875834494829178,
-0.02605603076517582,
-0.003867692081257701,
-0.008195196278393269,
-0.013095071539282799,
-0.016093431040644646,
-0.050081223249435425,
-0.05395130813121796,
0.0194558072835207,
0.0009238155907951295,
-0.061844754964113235,
-0.004035331774502993,
0.025423787534236908,
-0.013641098514199257,
-0.06855034828186035,
0.011600681580603123,
-0.006169148255139589,
-0.005685387644916773,
0.004200576804578304,
0.04866346716880798,
0.023986874148249626,
0.025730330497026443,
0.027933597564697266,
0.043873757123947144,
0.020978936925530434,
0.044678427278995514,
0.005603962577879429,
0.027914438396692276,
0.0002186802594223991,
-0.010470309294760227,
0.000757373112719506,
0.02044248767197132,
0.04356721416115761,
-0.017817726358771324,
0.011926381848752499,
0.03611442446708679,
0.01686936430633068,
0.019130107015371323,
0.012529885396361351,
0.005671018268913031,
0.03226349502801895,
-0.0012070073280483484,
-0.042226094752550125,
0.009943440556526184,
-0.03007938712835312,
0.014091331511735916,
0.07096436619758606,
0.04122983664274216,
-0.0024906499311327934,
0.05674850195646286,
-0.011399513110518456,
0.07525594532489777,
0.023335473611950874,
0.009924282319843769,
-0.07410641759634018,
-0.07242044061422348,
-0.013420771807432175,
-0.011016336269676685,
-0.026439206674695015,
-0.002679843455553055,
-0.003259398741647601,
0.014790629036724567,
-0.04632608965039253,
-0.008247883059084415,
-0.027205560356378555,
-0.033470503985881805,
-0.010767271742224693,
0.09065965563058853,
0.009507576934993267,
-0.006317629478871822,
-0.01028829999268055,
0.02371865138411522,
-0.005211206153035164,
0.08284284919500351,
-0.053338225930929184,
-0.01973361149430275,
0.006667278241366148,
0.02691817842423916,
-0.03442844748497009,
0.0046723634004592896,
-0.0037503440398722887,
0.04011862352490425,
-0.011600681580603123,
0.07621388882398605,
0.0038868507836014032,
0.055637288838624954,
-0.021055571734905243,
0.023373791947960854,
-0.012453249655663967,
-0.006954661104828119,
-0.011246242560446262,
-0.07226716727018356,
-0.011083392426371574,
-0.02523219957947731,
-0.010508626699447632,
-0.021687813103199005,
-0.030156023800373077,
-0.055675607174634933,
-0.04640272632241249,
0.014235022477805614,
-0.00008561609138268977,
0.03257003799080849,
-0.018603239208459854,
-0.11196429282426834,
-0.04716907814145088,
0.009004657156765461,
-0.043873757123947144,
0.023335473611950874,
0.008631059899926186,
0.0010339790023863316,
0.0630326047539711,
0.022569119930267334,
-0.03496489301323891,
-0.014742732048034668,
-0.011753952130675316,
0.011265401728451252,
-0.008717275224626064,
0.13510818779468536,
0.053261592984199524,
-0.036018628627061844,
0.018584080040454865,
-0.03335554897785187,
0.011035495437681675,
-0.04038684815168381,
0.01417754590511322,
0.028106026351451874,
-0.023067250847816467,
-0.01109297201037407,
-0.05444943904876709,
0.0028522731736302376,
0.049276553094387054,
0.03596115484833717,
-0.017108850181102753,
-0.054832614958286285,
-0.01842123083770275,
-0.02676490694284439,
0.0023385765962302685,
0.028834063559770584,
0.02682238444685936,
-0.006978609599173069,
-0.03868170827627182,
0.012060493230819702,
-0.015116329304873943,
-0.005580014083534479,
-0.017951838672161102,
-0.018287118524312973,
0.02519388310611248,
0.039812080562114716,
0.024025192484259605,
0.043835438787937164,
0.016840625554323196,
-0.020787347108125687,
-0.023335473611950874,
0.003170788986608386,
-0.02755041979253292,
0.038145262748003006,
0.057131677865982056,
-0.01890978030860424,
0.0458279587328434,
-0.055637288838624954,
-0.006983399391174316,
0.018191324546933174,
0.01883314549922943,
-0.003987434785813093,
-0.06981483101844788,
0.02988779917359352,
0.038317691534757614,
-0.032799944281578064,
0.005493799224495888,
0.017080111429095268,
-0.040693387389183044,
-0.0505027174949646,
-0.0536830872297287,
0.024714911356568336,
-0.01806679181754589,
-0.014886423014104366,
-0.030634993687272072,
-0.020250899717211723,
-0.038949932903051376,
-0.0027804274577647448,
0.04578964039683342,
0.014771469868719578,
-0.0033504031598567963,
0.03598031401634216,
-0.0865979865193367,
-0.023488745093345642,
-0.013631518930196762,
0.04709244146943092,
0.013085491955280304,
-0.0034581716172397137,
-0.048433560878038406,
-0.006787021178752184,
-0.0441419817507267,
0.0017350729322060943,
-0.032014429569244385,
-0.019034313037991524,
-0.006499638315290213,
-0.017932679504156113,
0.004990879446268082,
0.014618199318647385,
-0.006485269404947758,
0.07111763209104538,
-0.027742009609937668,
-0.01670651324093342,
0.05529242753982544,
-0.0010381699539721012,
0.005982349626719952,
0.04701580852270126,
0.003726395545527339,
-0.014349975623190403,
-0.01657240092754364,
0.0011177989654242992,
-0.03084574267268181,
-0.0017997340764850378,
0.007797650061547756,
0.008492158725857735,
-0.010412832722067833,
0.03462003543972969,
-0.067707359790802,
-0.0865979865193367,
-0.050196174532175064,
0.01739623211324215,
-0.006379895843565464,
-0.009062133729457855,
0.01503969356417656,
-0.03693825379014015,
-0.0486251525580883,
0.03858591616153717,
0.01260652020573616,
0.025711171329021454,
-0.04479338228702545,
-0.10039234906435013,
-0.06104008108377457,
0.04632608965039253,
0.014436190016567707,
-0.03992703557014465,
0.0628410130739212,
0.03862423449754715,
-0.026381731033325195,
-0.021017253398895264,
0.004634045995771885,
0.010470309294760227,
0.013631518930196762,
0.001453677425161004,
-0.01069063600152731,
0.03847096115350723,
0.015451609157025814,
-0.012922641821205616,
-0.0570550411939621,
-0.005551275797188282,
0.04034852981567383,
0.01610301062464714,
-0.04322235658764839,
0.03143966570496559,
-0.029811164364218712,
-0.024983134120702744,
0.11096803843975067,
0.03621022030711174,
0.0023792891297489405,
0.05778307840228081,
-0.015528244897723198,
0.055752240121364594,
0.030385930091142654,
0.052495237439870834,
0.039888717234134674,
0.0066193812526762486,
0.03693825379014015,
-0.02124715968966484,
-0.0027588738594204187,
0.0793176218867302,
0.07717183232307434,
0.003714421298354864,
0.0017686010105535388,
-0.04444852098822594,
-0.01840207166969776,
-0.04866346716880798,
0.04168964922428131,
0.01619880460202694,
0.04165133088827133,
-0.07161576300859451,
-0.07908771932125092,
0.010278720408678055,
-0.05621205270290375,
-0.023948557674884796,
-0.07337837666273117,
0.01963781751692295,
-0.005929662846028805,
-0.02356537990272045,
-0.0004738820716738701,
0.04352889955043793,
0.022243419662117958,
-0.018775667995214462,
-0.013181285932660103,
-0.015997637063264847,
0.052418600767850876,
-0.009076503105461597,
0.027167243883013725,
-0.06590642780065536,
-0.0316120944917202,
0.0761372521519661,
-0.01704179309308529,
-0.0456363707780838,
-0.06525503098964691,
0.023814445361495018,
-0.04425693303346634,
0.00393714290112257,
-0.050924211740493774,
0.004660389386117458,
-0.010728953406214714,
-0.004938192665576935,
-0.04027189314365387,
-0.06310924142599106,
0.041306473314762115,
0.020078470930457115,
0.002849878277629614,
0.001211198279634118,
-0.0014596645487472415,
0.02611350640654564,
-0.008439471945166588,
0.034984052181243896,
-0.03320227935910225,
0.01606469228863716,
0.003755133831873536,
-0.05659523233771324,
-0.023986874148249626,
-0.01934085413813591,
-0.023163044825196266,
0.009157928638160229,
0.014896002598106861,
0.04088497534394264,
0.015604879707098007,
0.021936878561973572,
-0.009536315687000751,
0.025672852993011475,
-0.049314867705106735,
-0.04969804733991623,
0.007960500195622444,
0.004923823289573193,
0.08046714961528778,
0.01885230466723442,
-0.003654549829661846,
0.05421953275799751,
-0.033642932772636414,
0.016725672408938408,
0.0658297911286354,
0.02379528619349003,
-0.0050435662269592285,
0.039735447615385056,
-0.08422228693962097,
-0.08222976326942444,
0.02379528619349003,
0.03883498162031174,
0.006365526467561722,
-0.03163125365972519,
-0.01578688807785511,
0.04709244146943092,
-0.03762797266244888,
-0.06916343420743942,
-0.02678406611084938,
0.03074994683265686,
0.026994813233613968,
0.016150906682014465,
-0.03689993545413017,
-0.01067147683352232,
0.017367493361234665,
0.013018435798585415,
-0.017463287338614464,
-0.03839432820677757,
-0.03762797266244888,
-0.036727506667375565,
0.034984052181243896,
-0.02442752756178379,
0.031113965436816216,
-0.06996810436248779,
-0.02364201657474041,
0.04559805244207382,
0.04594291374087334,
0.06874193996191025,
-0.007639589719474316,
0.0017494420753791928,
-0.0001652450446272269,
0.02592191845178604,
0.07533258199691772,
0.01743455044925213,
-0.02128547802567482,
-0.0070265065878629684,
-0.009497998282313347,
0.01617964543402195,
0.0314205065369606,
-0.009301619604229927,
0.009972179308533669,
-0.010412832722067833,
0.030194340273737907,
-0.044678427278995514,
0.0392756350338459,
0.0008507724851369858,
-0.0486251525580883,
0.04184291884303093,
-0.017549503594636917,
0.054104581475257874,
0.021879401057958603,
-0.03463919460773468,
-0.008501737378537655,
0.050962530076503754,
-0.008942391723394394,
0.04199618846178055,
0.006648119539022446,
-0.012252082116901875,
0.006743913516402245,
0.037321433424949646,
0.040655069053173065,
0.01661071926355362,
0.025672852993011475,
0.01097801886498928,
-0.061116717755794525,
-0.030539199709892273,
0.04429525136947632,
-0.0047537884674966335,
0.020787347108125687,
0.018354173749685287,
0.002191293053328991,
0.004231709986925125,
0.05015785992145538,
-0.020174264907836914,
0.006686437409371138,
0.0055177477188408375,
-0.022396691143512726,
0.014934320002794266,
-0.0426475889980793,
0.02825929783284664,
-0.04789711534976959,
0.015518665313720703,
-0.027109766378998756,
-0.002265533432364464,
0.02285650372505188,
0.006360736675560474,
-0.04437188804149628,
-0.035807881504297256,
0.0050435662269592285,
-0.01883314549922943,
-0.04942982271313667,
-0.039735447615385056,
0.027128925547003746,
-0.024025192484259605,
-0.06628960371017456,
0.045368146151304245,
-0.016505345702171326,
-0.05303168669342995,
0.04874010384082794,
0.010633159428834915,
0.035041529685258865,
0.012453249655663967,
0.002030837582424283,
0.01851702481508255,
0.003970670979470015,
0.06058027222752571,
-0.02136211283504963,
-0.02368033304810524,
-0.037551335990428925,
-0.007333048153668642,
-0.039122361689805984,
0.002928908448666334,
0.0015003770822659135,
-0.039084047079086304,
0.028968174010515213,
-0.020270058885216713,
-0.0768652930855751,
0.01503969356417656,
0.02132379449903965,
-0.004863951820880175,
-0.00731388945132494,
-0.018641557544469833,
0.06387559324502945,
-0.019436649978160858,
0.02848920412361622,
-0.008583162911236286,
-0.020940618589520454,
0.09602413326501846,
-0.03527143597602844,
0.0010770863154903054,
-0.08445218950510025,
0.010872645303606987,
-0.0021769239101558924,
-0.012616099789738655,
0.07004474103450775,
0.00029366917442530394,
0.02140043117105961,
0.02450416423380375,
-0.028106026351451874,
-0.009780590422451496,
0.027186403051018715,
-0.03806862607598305,
0.04046348109841347,
0.039084047079086304,
-0.0682821273803711,
0.02207099087536335,
0.013353715650737286,
-0.01062357984483242,
0.046977490186691284,
0.024120986461639404,
-0.053184956312179565,
0.09449142962694168,
-0.015145068056881428,
-0.02919808030128479,
0.005081883631646633,
0.03701489046216011,
-0.004957351367920637,
0.011677316389977932,
-0.041459742933511734,
0.05912419781088829,
-0.017875203862786293,
-0.031861159950494766,
-0.0012896298430860043,
0.037417225539684296,
-0.04161301255226135,
-0.014522405341267586,
0.00980932917445898,
-0.04149806126952171,
0.05828120931982994,
0.024714911356568336,
-0.011706055141985416,
-0.053989626467227936,
-0.02279902622103691,
-0.023852763697504997,
0.00019742592121474445,
-0.00553690642118454,
-0.02352706342935562,
0.07211389392614365,
0.004550226032733917,
0.022473325952887535,
-0.09449142962694168,
-0.018689453601837158,
-0.04019526019692421,
0.004863951820880175,
0.0031779734417796135,
-0.04674758389592171,
-0.035194799304008484,
-0.08085033297538757,
-0.029753686860203743,
0.0692017525434494,
-0.015068432316184044,
-0.04084666073322296,
0.016898101195693016,
0.018287118524312973,
0.054794300347566605,
0.002991174813359976,
-0.025672852993011475,
-0.02051912434399128,
-0.020346693694591522,
-0.037589654326438904,
0.027013972401618958,
0.01745370775461197,
0.07629052549600601,
-0.022569119930267334,
0.007984449155628681,
0.038298532366752625,
0.05739990249276161,
0.06000550463795662,
0.02670743130147457,
-0.01778898760676384,
-0.06130830571055412,
0.029657892882823944,
-0.04785879701375961,
-0.006082933396100998,
0.029619576409459114,
0.0300219114869833,
-0.005584803409874439,
-0.04042516648769379,
0.003838953794911504,
0.013861425220966339,
0.03285742178559303,
-0.024006033316254616,
0.031228918582201004,
-0.04038684815168381,
-0.022339213639497757,
0.0165532436221838,
0.010556523688137531,
0.01973361149430275,
0.030290136113762856,
-0.01024040300399065,
0.049238234758377075,
0.02117052488029003,
0.003223475767299533,
0.031937796622514725,
-0.037493862211704254,
0.011658158153295517,
0.014809788204729557,
-0.013717733323574066,
0.012299979105591774,
-0.046249452978372574,
0.046019546687603,
-0.06073354184627533,
0.009038185700774193,
-0.0010435583535581827,
0.03462003543972969,
-0.004758578259497881,
0.059622328728437424,
-0.040578436106443405,
-0.018775667995214462,
-0.03619106113910675,
-0.007735384162515402,
-0.0020224556792527437,
-0.008295780047774315,
0.0011136078974232078,
-0.02368033304810524,
-0.007481529377400875,
-0.054755982011556625,
-0.018603239208459854,
-0.010987598448991776,
-0.018564920872449875,
0.024101827293634415,
0.026285937055945396,
0.020710712298750877,
-0.014254181645810604,
0.010336196981370449
] |
713,352
|
xmlschema.validators.schemas
|
copy
|
Makes a copy of the schema instance. The new instance has independent maps
of shared XSD components.
|
def copy(self) -> SchemaType:
"""
Makes a copy of the schema instance. The new instance has independent maps
of shared XSD components.
"""
schema: SchemaType = object.__new__(self.__class__)
schema.__dict__.update(self.__dict__)
schema.source = _copy(self.source)
schema.errors = self.errors[:]
schema.warnings = self.warnings[:]
schema.namespaces = dict(self.namespaces)
schema.locations = NamespaceResourcesMap(self.locations)
schema.imports = self.imports.copy()
schema.includes = self.includes.copy()
schema.maps = self.maps.copy(validator=schema)
return schema
|
(self) -> Optional[~T]
|
[
0.03781022131443024,
-0.017615703865885735,
0.037791669368743896,
-0.03139101713895798,
-0.06857044994831085,
-0.0055147637613117695,
0.016855046153068542,
-0.01975852996110916,
0.027699047699570656,
0.02274550125002861,
-0.030222203582525253,
-0.017096230760216713,
-0.03925732523202896,
0.06593597680330276,
-0.03233719989657402,
0.009355153888463974,
-0.01942458376288414,
0.03239285945892334,
-0.024285366758704185,
-0.015148206613957882,
0.0013276712270453572,
-0.017578598111867905,
-0.0023329907562583685,
0.03790298476815224,
0.010176107287406921,
0.031724963337183,
-0.007982260547578335,
-0.0294800978153944,
0.050388891249895096,
-0.040296271443367004,
-0.00715666962787509,
-0.012541565112769604,
0.02278260700404644,
-0.00560288829728961,
0.025212997570633888,
-0.03803285211324692,
-0.025027472525835037,
0.03888627141714096,
0.0019584600813686848,
-0.00005442582187242806,
0.02209615893661976,
-0.024971814826130867,
-0.030463386327028275,
-0.017022021114826202,
0.043227583169937134,
0.033914171159267426,
-0.005417362321168184,
0.013163077645003796,
-0.017708467319607735,
0.002996246563270688,
0.018098071217536926,
0.05881177634000778,
-0.03810706362128258,
0.024155499413609505,
-0.020908791571855545,
0.01593669317662716,
0.0037592228036373854,
0.06062993034720421,
-0.0314466767013073,
0.03434088081121445,
-0.03884916752576828,
-0.004777297377586365,
-0.00030727763078175485,
-0.053468625992536545,
0.01477715466171503,
-0.04864494502544403,
-0.03287522494792938,
-0.0860099047422409,
0.0513165220618248,
0.020036820322275162,
-0.03922021761536598,
-0.0014958042884245515,
-0.020686160773038864,
0.03628890588879585,
0.06159466877579689,
0.002952184295281768,
0.034136805683374405,
-0.053283099085092545,
0.024303920567035675,
-0.08682622015476227,
-0.0015085592167451978,
-0.029943913221359253,
-0.0964735746383667,
0.009239200502634048,
0.027606284245848656,
0.0630788803100586,
0.03634456545114517,
-0.02615918032824993,
0.04838521033525467,
-0.010454395785927773,
0.015361561439931393,
0.043672844767570496,
-0.03617759048938751,
0.00731436675414443,
0.047160737216472626,
-0.03580654039978981,
-0.0718357115983963,
-0.027680495753884315,
-0.005890454165637493,
0.03480469807982445,
-0.025379972532391548,
0.01648399420082569,
-0.09276305139064789,
0.043858371675014496,
0.04790284112095833,
0.04845941811800003,
0.05202152207493782,
-0.06140914186835289,
-0.016817942261695862,
-0.01155827660113573,
-0.011669592000544071,
0.012356039136648178,
0.027123916894197464,
0.06181729957461357,
0.018116625025868416,
-0.007138117216527462,
0.01973997801542282,
0.00981433130800724,
0.053245991468429565,
0.03185483440756798,
-0.006029598414897919,
0.08215095847845078,
-0.0020094795618206263,
0.007008248940110207,
0.07246650010347366,
0.023413395509123802,
0.057030726224184036,
-0.056696780025959015,
0.00808893796056509,
-0.005960026290267706,
-0.00030930680804885924,
0.01588103547692299,
-0.012291104532778263,
0.028107205405831337,
-0.01909063570201397,
-0.02964707277715206,
-0.0008424044935964048,
0.02612207643687725,
-0.02589944377541542,
0.04537968710064888,
-0.015009062364697456,
0.03254127874970436,
0.063820980489254,
0.005459105595946312,
-0.05254099518060684,
-0.023190762847661972,
-0.030426282435655594,
0.046975210309028625,
-0.04122390225529671,
0.03794008865952492,
-0.024303920567035675,
-0.027958784252405167,
-0.01639123074710369,
0.0026715758722275496,
-0.06801386922597885,
-0.010259593836963177,
-0.043821267783641815,
-0.05153915286064148,
0.0032606213353574276,
-0.04523126408457756,
-0.03632601350545883,
0.0020836901385337114,
0.03294943645596504,
-0.10025830566883087,
-0.012012815102934837,
0.01440610270947218,
0.05606599152088165,
-0.08474832773208618,
-0.013246564194560051,
-0.027940232306718826,
-0.03448930382728577,
-0.015305903740227222,
0.027661941945552826,
0.04819968342781067,
-0.03276390954852104,
0.0582180917263031,
0.03786587715148926,
0.01961010880768299,
0.010500777512788773,
-0.014035049825906754,
0.04163205996155739,
-0.008084299974143505,
-0.0458991602063179,
0.04159495234489441,
0.01120577659457922,
0.00986071303486824,
-0.03565811738371849,
0.06460019201040268,
0.06875597685575485,
0.037606142461299896,
0.007894136011600494,
0.023617474362254143,
0.012189065106213093,
0.022021949291229248,
-0.015046167187392712,
-0.07717885822057724,
-0.033802855759859085,
-0.02903483621776104,
-0.06612150371074677,
0.1084214597940445,
-0.020333660766482353,
-0.030648913234472275,
0.0052040074951946735,
0.01962866261601448,
-0.0008829883299767971,
0.011317092925310135,
-0.043784160166978836,
-0.017170440405607224,
-0.020741818472743034,
-0.0063125258311629295,
0.004953546915203333,
-0.010853277519345284,
0.026789970695972443,
-0.030593255534768105,
-0.01448031235486269,
-0.07268913090229034,
-0.027235232293605804,
-0.04909020662307739,
-0.00948502216488123,
-0.0005954228690825403,
0.046381525695323944,
-0.007601932156831026,
-0.03855232521891594,
-0.007476702332496643,
-0.027661941945552826,
-0.006224400829523802,
-0.016901427879929543,
-0.06107519567012787,
-0.04215153306722641,
-0.0576615147292614,
0.014257681556046009,
-0.029684176668524742,
-0.0007281900034286082,
-0.05847783014178276,
0.03790298476815224,
-0.008487819693982601,
0.03480469807982445,
0.01653037592768669,
0.064006507396698,
0.0040421499870717525,
-0.01897004432976246,
-0.020222345367074013,
0.033635884523391724,
0.013673273846507072,
-0.02955430932343006,
-0.011753078550100327,
-0.04152074456214905,
-0.01308886706829071,
0.04845941811800003,
-0.0041928901337087154,
-0.010278146713972092,
-0.021335503086447716,
-0.023951420560479164,
0.037513379007577896,
0.04749468341469765,
0.023431947454810143,
-0.06589887291193008,
-0.08289306610822678,
0.008914529345929623,
-0.03480469807982445,
0.04300495237112045,
0.0021996439900249243,
0.023543262854218483,
0.015407943166792393,
-0.00652588065713644,
-0.04077863693237305,
-0.011855117976665497,
0.02281971089541912,
0.0007305090548470616,
0.014981233514845371,
0.09350515902042389,
0.08578727394342422,
0.00806574709713459,
0.033969830721616745,
-0.005292132031172514,
-0.04879336804151535,
-0.03309785947203636,
0.026548786088824272,
0.06048151105642319,
-0.018339255824685097,
0.020945897325873375,
0.0037360319402068853,
0.04456337168812752,
-0.010166830383241177,
-0.007008248940110207,
-0.00473787309601903,
-0.02871944196522236,
-0.01946168951690197,
-0.026678653433918953,
-0.04775442183017731,
-0.0020813709124922752,
0.037272196263074875,
-0.0015352285699918866,
-0.04118679463863373,
0.013951563276350498,
0.022003397345542908,
-0.046900998800992966,
-0.00235154340043664,
-0.012662156485021114,
0.04508284479379654,
0.014396825805306435,
0.02584378607571125,
0.02625194378197193,
0.07955359667539597,
-0.028478257358074188,
-0.01572333835065365,
0.0055147637613117695,
-0.010445119813084602,
0.05755019932985306,
0.06723466515541077,
-0.03907179832458496,
0.016901427879929543,
-0.040741533041000366,
0.04233705624938011,
0.020630503073334694,
-0.017550770193338394,
0.0015804505674168468,
-0.017550770193338394,
-0.000134506422909908,
0.05135362595319748,
-0.06296756118535995,
-0.003374256193637848,
0.009981304407119751,
-0.0289235208183527,
-0.020853133872151375,
-0.011780908331274986,
0.008311569690704346,
-0.01612221822142601,
0.010018410161137581,
-0.034006934612989426,
-0.024545103311538696,
0.007096373476088047,
0.02897917851805687,
0.0526152029633522,
-0.017114782705903053,
-0.03215167298913002,
0.03261549025774002,
-0.09565725922584534,
-0.04775442183017731,
-0.04148363694548607,
0.06070414185523987,
0.03176207095384598,
0.011799460276961327,
-0.09380199760198593,
-0.027532074600458145,
-0.040444690734148026,
-0.04953547194600105,
-0.020574845373630524,
-0.020073924213647842,
-0.015324456617236137,
-0.020964451134204865,
0.03252272680401802,
0.027532074600458145,
0.04222574084997177,
0.07895991206169128,
-0.03510154038667679,
-0.04972099885344505,
0.014396825805306435,
-0.03220733255147934,
0.011827289126813412,
0.05220704525709152,
0.01457307580858469,
-0.017114782705903053,
-0.023784447461366653,
0.03166930750012398,
0.018784519284963608,
-0.020315108820796013,
-0.030333518981933594,
-0.0736909732222557,
-0.004338991828262806,
-0.015240970067679882,
-0.033858515322208405,
-0.046529948711395264,
-0.06140914186835289,
0.021613791584968567,
-0.003821837715804577,
-0.03528706729412079,
-0.0040537454187870026,
-0.08764253556728363,
-0.017151888459920883,
0.056288622319698334,
0.0005322280339896679,
-0.0287379939109087,
0.020611951127648354,
-0.004392330534756184,
-0.026400364935398102,
0.03771745786070824,
-0.020166687667369843,
0.007305090315639973,
0.06300466507673264,
0.005862624850124121,
-0.02632615529000759,
0.02250431664288044,
0.04267100617289543,
0.033951278775930405,
0.020203793421387672,
-0.08816200494766235,
0.030463386327028275,
0.010537883266806602,
-0.008265187963843346,
0.023487605154514313,
-0.05740177631378174,
-0.007467425893992186,
0.020259451121091843,
-0.04096416383981705,
-0.06211414188146591,
0.03836679831147194,
0.033635884523391724,
0.008872786536812782,
0.02244865894317627,
0.02929457277059555,
-0.01268070936203003,
0.017448730766773224,
0.004888612776994705,
0.009424726478755474,
-0.030927201732993126,
0.11673302948474884,
-0.016910703852772713,
0.026622995734214783,
0.04281942546367645,
0.018385637551546097,
0.02933167852461338,
0.030741676688194275,
0.006530519109219313,
0.01155827660113573,
-0.02844115160405636,
-0.07009176164865494,
0.028162863105535507,
-0.0386265367269516,
0.03294943645596504,
0.021168528124690056,
0.046938106417655945,
-0.012541565112769604,
-0.05220704525709152,
0.03306075185537338,
-0.03896048292517662,
0.021521028131246567,
-0.02619628608226776,
0.012124131433665752,
0.03614048659801483,
0.034470751881599426,
-0.04964678734540939,
0.03870074450969696,
-0.03775456175208092,
-0.018543334677815437,
0.0057837762869894505,
-0.07150176167488098,
0.03988811373710632,
-0.005797690711915493,
-0.004436393268406391,
-0.0016569800209254026,
-0.0016511823050677776,
0.07235518097877502,
-0.040370482951402664,
-0.04419231787323952,
-0.0063125258311629295,
-0.0074164061807096004,
-0.08274464309215546,
-0.0315394401550293,
0.01659530960023403,
0.024582209065556526,
-0.0022506637033075094,
0.053171783685684204,
-0.0006591974524781108,
-0.020630503073334694,
-0.009359791874885559,
0.006943314801901579,
0.008622325956821442,
0.04107547923922539,
0.053097572177648544,
0.04808836802840233,
-0.018404189497232437,
0.03215167298913002,
-0.04500863328576088,
0.037197984755039215,
-0.0255654975771904,
-0.015166759490966797,
0.0006174540612846613,
-0.03832969442009926,
-0.01118722464889288,
-0.004642790649086237,
0.02929457277059555,
0.005292132031172514,
0.04278232157230377,
-0.0008557391702197492,
0.01925761066377163,
0.026864180341362953,
-0.043338898569345474,
-0.018422743305563927,
0.06537940353155136,
-0.030982859432697296,
0.06656676530838013,
-0.04163205996155739,
-0.01299610361456871,
-0.006581538822501898,
-0.01975852996110916,
0.03781022131443024,
0.07361675798892975,
0.056399937719106674,
-0.01955445110797882,
0.018329979851841927,
-0.056770987808704376,
-0.05484151840209961,
0.0526152029633522,
0.018357807770371437,
0.01948024146258831,
-0.030277861282229424,
-0.02940588817000389,
0.0192205049097538,
-0.033487461507320404,
-0.07814359664916992,
0.0041859326884150505,
0.014897746033966541,
0.05461888760328293,
0.01304248534142971,
-0.028088653460144997,
-0.028366941958665848,
0.02584378607571125,
-0.00811212882399559,
-0.04730915650725365,
-0.0012198342010378838,
0.03473048657178879,
-0.02215181663632393,
-0.06489703059196472,
-0.04612179100513458,
0.0002974215312860906,
-0.028162863105535507,
-0.01920195296406746,
0.05528677999973297,
-0.032003253698349,
0.029962467029690742,
-0.06537940353155136,
-0.004888612776994705,
0.004925718065351248,
0.01938747800886631,
0.036622852087020874,
-0.00789877399802208,
-0.05428493767976761,
-0.009035121649503708,
-0.00472627766430378,
-0.006530519109219313,
-0.005723480600863695,
0.02532431297004223,
0.0013636169023811817,
-0.0048236786387860775,
0.0830414891242981,
-0.021669449284672737,
0.012198342010378838,
-0.037086669355630875,
-0.027012601494789124,
0.003367298748344183,
-0.0025324313901364803,
0.021446818485856056,
-0.004257824271917343,
-0.013302221894264221,
0.03836679831147194,
0.034006934612989426,
-0.007087097503244877,
0.06478571891784668,
0.005584335885941982,
0.026827074587345123,
-0.07562044262886047,
0.04241126775741577,
0.031205492094159126,
-0.03922021761536598,
0.028515363112092018,
-0.018784519284963608,
0.024322472512722015,
-0.06448887288570404,
0.06753150373697281,
0.02634470723569393,
0.020649055019021034,
0.05584335699677467,
-0.006256868131458759,
0.04137232154607773,
0.020148135721683502,
0.014229852706193924,
0.027866020798683167,
-0.024285366758704185,
-0.011873670853674412,
0.018329979851841927,
0.01607583649456501,
0.009447917342185974,
-0.01916484721004963,
-0.0457136332988739,
-0.010537883266806602,
-0.03220733255147934,
0.009248476475477219,
0.05740177631378174,
-0.04122390225529671,
-0.028032995760440826,
0.05454467609524727,
-0.023784447461366653,
-0.011224329471588135,
-0.03168785944581032,
0.011743802577257156,
-0.01994405686855316,
-0.06189151108264923,
0.01977708376944065,
0.02862667851150036,
-0.03473048657178879,
0.07142755389213562,
0.020741818472743034,
0.03766179829835892,
0.015537811443209648,
-0.0020604992751032114,
-0.011530447751283646,
-0.005115882493555546,
0.06927544623613358,
-0.014433931559324265,
-0.00020509331079665571,
-0.0524296797811985,
-0.0074627879075706005,
-0.05725335702300072,
0.026697207242250443,
-0.05254099518060684,
-0.07068544626235962,
0.003346427110955119,
-0.0444149486720562,
-0.05536099150776863,
-0.013255840167403221,
0.021966291591525078,
0.0038774956483393908,
-0.007309728767722845,
-0.029814045876264572,
0.033580224961042404,
-0.0006093372940085828,
0.021669449284672737,
0.023617474362254143,
-0.004441031254827976,
0.03552825003862381,
-0.0815572738647461,
-0.01622425764799118,
-0.06894150376319885,
0.05127941444516182,
0.06096388027071953,
0.008575944229960442,
0.004916442092508078,
0.007476702332496643,
0.10797619819641113,
0.021650897338986397,
-0.043561529368162155,
0.0037035648711025715,
0.009341239929199219,
-0.08556464314460754,
0.009355153888463974,
0.010305975563824177,
-0.0822993814945221,
-0.010370909236371517,
-0.007031439337879419,
-0.056288622319698334,
0.04285652935504913,
0.013970116153359413,
0.015166759490966797,
0.07472991943359375,
0.02970273047685623,
-0.011799460276961327,
-0.02578812837600708,
0.047346264123916626,
-0.03951705992221832,
-0.002213558414950967,
-0.00976794958114624,
0.04189179465174675,
-0.037179432809352875,
0.040630217641592026,
0.0386265367269516,
0.02638181298971176,
-0.02267128974199295,
0.011771631427109241,
0.02614062838256359,
-0.05929414555430412,
0.027049707248806953,
-0.030908649787306786,
0.0028292732313275337,
-0.05539809539914131,
-0.0038705384358763695,
0.017216822132468224,
-0.010370909236371517,
-0.02317221090197563,
-0.04448916018009186,
0.03215167298913002,
0.033951278775930405,
-0.0001252301299246028,
-0.04307916387915611,
-0.03821837902069092,
0.027161022648215294,
0.01938747800886631,
-0.01297755166888237,
-0.043821267783641815,
-0.010732685215771198,
-0.026956943795084953,
-0.03970258682966232,
0.06534229218959808,
0.03810706362128258,
-0.014016497880220413,
0.01953589916229248,
0.010537883266806602,
-0.07417333871126175,
-0.01680866628885269,
0.01448031235486269,
0.029888255521655083,
-0.013951563276350498,
-0.006094532553106546,
0.023227868601679802,
0.021483924239873886,
0.034248121082782745,
-0.03176207095384598,
0.026400364935398102,
-0.0033232364803552628,
0.03176207095384598,
0.05510125309228897,
0.01914629526436329,
0.040147848427295685,
0.027995890006422997,
0.046715475618839264,
-0.03884916752576828,
-0.01916484721004963,
0.013710379600524902,
0.007824563421308994,
-0.03324627876281738,
0.011428408324718475,
-0.03884916752576828,
0.04096416383981705,
0.011892223730683327,
0.013719655573368073,
0.04775442183017731,
-0.008752194233238697,
-0.059628091752529144,
0.010324527509510517,
-0.006150190718472004,
0.009424726478755474,
0.028032995760440826,
-0.01422057580202818,
0.010092620737850666,
0.05443336069583893,
-0.02252287045121193,
0.02920180931687355,
0.037012457847595215,
0.006901571061462164,
0.010983145795762539,
0.023190762847661972,
0.02296813204884529,
0.00493963249027729,
0.0716501846909523,
-0.11309671401977539,
-0.02964707277715206,
0.018125900998711586,
0.00038989470340311527,
-0.004605685826390982,
0.020537739619612694,
-0.00284086843021214,
-0.01140057947486639,
-0.006651110947132111,
0.024767735973000526,
-0.018070243299007416,
-0.024118393659591675,
0.004659024532884359,
-0.023283526301383972,
-0.014971956610679626,
-0.03211456909775734,
0.01431333925575018,
-0.02897917851805687,
0.01666952110826969,
0.050314679741859436,
0.03836679831147194,
0.030166545882821083,
0.030110888183116913,
-0.013487747870385647
] |
713,354
|
xmlschema.validators.schemas
|
__getstate__
| null |
def __getstate__(self) -> Dict[str, Any]:
state = self.__dict__.copy()
state.pop('lock', None)
state.pop('xpath_tokens', None)
return state
|
(self) -> Dict[str, Any]
|
[
0.04462094604969025,
-0.019238093867897987,
0.0008244737982749939,
-0.013897156342864037,
-0.03610045462846756,
-0.003992306534200907,
-0.020202677696943283,
0.007966750301420689,
0.053766634315252304,
-0.054052434861660004,
-0.01158394105732441,
0.023632310330867767,
-0.032706547528505325,
0.05712481588125229,
-0.05905398353934288,
-0.0075246491469442844,
-0.012503867968916893,
0.003065680619329214,
-0.04976539686322212,
-0.038404736667871475,
-0.006872661877423525,
-0.004108414053916931,
0.03570747375488281,
0.040405355393886566,
-0.018612900748848915,
-0.03272441029548645,
-0.0042803422547876835,
-0.04601423442363739,
0.09460069239139557,
-0.019255956634879112,
-0.01706778071820736,
-0.029080424457788467,
-0.003617190523073077,
-0.019559621810913086,
-0.005300746764987707,
-0.030920280143618584,
-0.02048848196864128,
0.027222707867622375,
-0.00469341641291976,
-0.03585037589073181,
-0.02109581232070923,
-0.044871024787425995,
-0.040369629859924316,
-0.03722580149769783,
0.011834017932415009,
-0.0013095568865537643,
0.023257194086909294,
0.031724099069833755,
0.05898253247141838,
-0.033028073608875275,
0.05644603446125984,
0.01757686585187912,
-0.03697572275996208,
0.07102197408676147,
-0.009708360768854618,
-0.026097359135746956,
0.016478311270475388,
0.016719458624720573,
0.0063814385794103146,
0.06830684840679169,
-0.013263031840324402,
0.02077428437769413,
0.013209443539381027,
-0.03177768737077713,
0.0138346366584301,
-0.04601423442363739,
-0.012191271409392357,
0.010708670131862164,
-0.03079524077475071,
0.031027456745505333,
-0.016362205147743225,
-0.03997665271162987,
0.01142317708581686,
-0.0005889098392799497,
-0.011128442361950874,
-0.04676446691155434,
-0.02966989390552044,
0.01880939118564129,
0.012977228499948978,
-0.008828624151647091,
-0.04826493188738823,
0.04376353695988655,
-0.05916116014122963,
0.04579988121986389,
-0.0025364989414811134,
0.026490338146686554,
0.06702073663473129,
-0.0012582017807289958,
-0.05269487202167511,
-0.0011208824580535293,
-0.00898938812315464,
0.08223972469568253,
-0.05305212736129761,
0.025364989414811134,
0.0443708710372448,
-0.029294777661561966,
-0.03442136198282242,
0.02418605424463749,
-0.015361894853413105,
-0.02924118936061859,
-0.059982843697071075,
0.008408850990235806,
-0.0886702910065651,
0.006488614249974489,
-0.006488614249974489,
-0.019952600821852684,
0.02879462204873562,
-0.06284087151288986,
0.053552281111478806,
-0.03933359682559967,
-0.02657965198159218,
0.0005562547012232244,
-0.01612105779349804,
0.07830993831157684,
0.0554814487695694,
0.009217137470841408,
-0.08095361292362213,
-0.01787159964442253,
0.0034564263187348843,
-0.0015462372684851289,
-0.0024404870346188545,
0.031063180416822433,
-0.03686854988336563,
0.08245407789945602,
0.02081000991165638,
0.07416579872369766,
0.012637837789952755,
0.007984613068401814,
0.0658775195479393,
-0.00024910049978643656,
0.004831851925700903,
0.013405933044850826,
0.02390025183558464,
0.026311710476875305,
-0.015469071455299854,
0.019666798412799835,
0.05262342095375061,
0.025954456999897957,
-0.04404934123158455,
0.02288207970559597,
0.02509704977273941,
-0.0017628221539780498,
-0.0030880088452249765,
-0.01968466117978096,
0.02822301723062992,
0.013968607410788536,
-0.004204425495117903,
0.040548257529735565,
-0.02098863571882248,
-0.030205773189663887,
0.06448423117399216,
-0.03272441029548645,
-0.026811866089701653,
0.0048229205422103405,
-0.05705336481332779,
0.019095193594694138,
-0.028562407940626144,
0.0015707984566688538,
-0.03679709881544113,
-0.047121722251176834,
-0.03229570388793945,
-0.025990182533860207,
0.01026210281997919,
-0.12068019062280655,
0.028490956872701645,
0.023918112739920616,
0.060411546379327774,
-0.08995640277862549,
-0.015147543512284756,
-0.03420701250433922,
-0.0860980674624443,
0.011932263150811195,
-0.04554980620741844,
0.053409378975629807,
-0.044835299253463745,
0.060197193175554276,
-0.024061014875769615,
0.027365608140826225,
0.009940574876964092,
0.01029782835394144,
-0.02077428437769413,
-0.031170357018709183,
-0.09567245095968246,
0.05072997882962227,
0.02193535678088665,
-0.012611044570803642,
0.027437059208750725,
-0.006345713045448065,
0.05276632308959961,
0.05926833674311638,
-0.022346198558807373,
-0.009895918890833855,
0.028883935883641243,
0.01838068664073944,
-0.008909005671739578,
0.012218065559864044,
-0.06934288144111633,
-0.019559621810913086,
-0.02534712664783001,
0.05305212736129761,
-0.0038136797957122326,
-0.05176601558923721,
-0.012539593502879143,
0.029509129002690315,
-0.05276632308959961,
-0.007354953791946173,
-0.015549452975392342,
-0.014040057547390461,
0.008033735677599907,
0.053588006645441055,
-0.05515992268919945,
-0.02400742657482624,
-0.018041295930743217,
0.03719007596373558,
0.02509704977273941,
-0.05458831787109375,
0.02731201983988285,
0.033939070999622345,
0.0016802073223516345,
0.008163239806890488,
0.08223972469568253,
-0.0063189188949763775,
0.02418605424463749,
-0.08402599394321442,
-0.023542998358607292,
-0.017183886840939522,
-0.019345270469784737,
-0.038118936121463776,
-0.0544096902012825,
-0.04647866263985634,
0.07245098799467087,
-0.030241498723626137,
0.04340628534555435,
-0.030598752200603485,
0.05026555061340332,
-0.007462129928171635,
-0.016335410997271538,
-0.036439843475818634,
0.02418605424463749,
0.025222089141607285,
0.009270724840462208,
-0.03213494271039963,
0.06705646216869354,
0.017299994826316833,
0.005006012972444296,
0.023007117211818695,
0.04462094604969025,
0.04887226223945618,
0.0001741610176395625,
-0.0220425333827734,
0.04390643909573555,
0.002880355343222618,
-0.03754733130335808,
0.011083786375820637,
0.027990801259875298,
-0.02084573544561863,
-0.0024449527263641357,
0.038261838257312775,
0.03422487527132034,
-0.019184505566954613,
0.056160230189561844,
-0.03050943836569786,
-0.01314692385494709,
0.0014368284028023481,
0.042691778391599655,
0.028562407940626144,
0.058160848915576935,
0.013325550593435764,
-0.07559481263160706,
0.01880939118564129,
0.07205800712108612,
-0.03869054093956947,
-0.028080115094780922,
0.015085023827850819,
-0.014156165532767773,
-0.0648772120475769,
0.01943458430469036,
-0.022489100694656372,
-0.02432895451784134,
0.0038025155663490295,
0.02636529877781868,
0.017996639013290405,
0.044585220515728,
0.02945554070174694,
-0.023489410057663918,
-0.03363540396094322,
-0.02109581232070923,
-0.012459211982786655,
0.04097696393728256,
-0.021453065797686577,
0.0032085818238556385,
0.01775549352169037,
-0.030134322121739388,
-0.019166642799973488,
0.08488339930772781,
-0.008198965340852737,
-0.10346058011054993,
-0.0035970949102193117,
0.034814342856407166,
0.062019187957048416,
0.035135868936777115,
-0.01036927942186594,
-0.05744634196162224,
0.03451067581772804,
0.025954456999897957,
0.02091718465089798,
0.058053672313690186,
0.05055135115981102,
0.00922606885433197,
-0.00006757810479030013,
-0.0009266259730793536,
-0.0038784320931881666,
0.010217446833848953,
0.01776442490518093,
-0.020381305366754532,
-0.07337984442710876,
-0.014459830708801746,
-0.01572808064520359,
0.01713922992348671,
0.1091766357421875,
-0.06055444851517677,
-0.02298925444483757,
-0.0016121058724820614,
0.018255647271871567,
0.012718220241367817,
-0.018139541149139404,
-0.018434274941682816,
0.0003441354783717543,
0.019327407702803612,
0.015263650566339493,
-0.09352893382310867,
-0.03493937849998474,
-0.004159769043326378,
0.017389308661222458,
-0.023185744881629944,
0.021560240536928177,
0.0043741208501160145,
0.002989764092490077,
-0.007024494465440512,
-0.07277251034975052,
0.026776140555739403,
-0.03883344307541847,
-0.027955077588558197,
-0.02327505685389042,
-0.018210990354418755,
-0.017085643485188484,
0.03208135440945625,
0.001347515033558011,
0.08031056076288223,
-0.06376972794532776,
-0.04419224336743355,
0.006586859002709389,
0.027722861617803574,
0.08424034714698792,
0.05473121628165245,
-0.06091170012950897,
-0.024453993886709213,
0.01736251451075077,
0.00257445708848536,
0.012012644670903683,
0.04554980620741844,
0.011735773645341396,
-0.0546240396797657,
0.0014502254780381918,
0.03149188682436943,
-0.024453993886709213,
-0.015281513333320618,
0.009069770574569702,
0.014424105174839497,
-0.08181102573871613,
-0.0059884595684707165,
-0.06176910921931267,
-0.057910773903131485,
-0.0032041161321103573,
0.034778617322444916,
0.021846044808626175,
-0.03220639377832413,
-0.003985607996582985,
-0.03711862489581108,
0.01488853432238102,
0.05273059755563736,
0.0009980766335502267,
0.019416721537709236,
0.054338239133358,
0.0004373562696855515,
0.027437059208750725,
0.006801211275160313,
-0.009895918890833855,
0.06844975054264069,
0.03919069468975067,
-0.06984303891658783,
-0.02073855884373188,
-0.058268025517463684,
0.042870406061410904,
0.00862320326268673,
0.016496174037456512,
0.04569270834326744,
-0.040369629859924316,
-0.019452447071671486,
-0.018362823873758316,
0.042370252311229706,
0.034885793924331665,
-0.018791528418660164,
-0.024793384596705437,
-0.0023154483642429113,
-0.016004951670765877,
-0.0005556964897550642,
0.03676137328147888,
0.0027620152104645967,
-0.07780978828668594,
-0.0011644227197393775,
-0.03338532894849777,
0.0027888091281056404,
-0.06316239386796951,
0.028169428929686546,
-0.04190582036972046,
0.06359110027551651,
0.04426369443535805,
0.07016456127166748,
0.015924569219350815,
-0.01518326811492443,
0.020399168133735657,
-0.005992925260215998,
-0.010869434103369713,
-0.020935047417879105,
0.042584601789712906,
-0.020309854298830032,
-0.010905159637331963,
-0.006443957798182964,
0.05873245373368263,
0.03127753362059593,
0.011691116727888584,
-0.02120298705995083,
-0.0032420745119452477,
0.03174196183681488,
-0.02266772650182247,
-0.01036927942186594,
-0.04640721529722214,
-0.01151248998939991,
0.07070044428110123,
-0.03776168078184128,
0.05069425329566002,
0.05644603446125984,
0.03697572275996208,
0.06376972794532776,
-0.006167086306959391,
-0.042656052857637405,
0.04111986234784126,
0.05076570436358452,
-0.038261838257312775,
-0.02400742657482624,
-0.013155855238437653,
0.025883007794618607,
-0.020935047417879105,
-0.038083210587501526,
0.026454612612724304,
-0.03954795002937317,
-0.014683113433420658,
-0.01789839379489422,
0.024418268352746964,
0.006542202550917864,
-0.009708360768854618,
-0.034010522067546844,
0.051408760249614716,
-0.0026258123107254505,
-0.022971391677856445,
-0.015826324000954628,
-0.017514346167445183,
-0.03374258056282997,
0.019202368333935738,
0.0018432041397318244,
0.01249493658542633,
-0.04201299697160721,
-0.06330529600381851,
-0.045049652457237244,
-0.005858955439180136,
-0.005407922901213169,
-0.03367112949490547,
-0.029080424457788467,
-0.07177220284938812,
-0.007703275885432959,
0.025811556726694107,
0.009368970058858395,
0.0035301099997013807,
-0.019666798412799835,
-0.021524516865611076,
0.06941433250904083,
-0.00898938812315464,
0.02313215658068657,
-0.002317681210115552,
-0.07291541248559952,
-0.01463845744729042,
-0.023560861125588417,
-0.0053498693741858006,
0.025364989414811134,
0.008265949785709381,
-0.007712207268923521,
0.03188486397266388,
0.0274191964417696,
-0.028312331065535545,
-0.022024670615792274,
-0.03961940109729767,
0.03911924362182617,
0.054195336997509,
0.010503249242901802,
-0.03676137328147888,
-0.055695801973342896,
-0.007488924078643322,
0.032777998596429825,
-0.007091479375958443,
0.010190652683377266,
0.013861430808901787,
0.038619089871644974,
-0.017746562138199806,
-0.023007117211818695,
-0.03577892482280731,
-0.005733916535973549,
0.022721314802765846,
-0.016505105420947075,
0.012682494707405567,
0.010601493529975414,
0.06412698328495026,
0.06087597459554672,
-0.047336071729660034,
-0.053552281111478806,
0.0024873765651136637,
-0.008234689943492413,
-0.013513108715415001,
-0.007104876451194286,
-0.03188486397266388,
0.02488269843161106,
-0.07580916583538055,
-0.024579033255577087,
0.04226307570934296,
0.00020109457545913756,
-0.018139541149139404,
0.031509749591350555,
-0.015710217878222466,
-0.0551241971552372,
-0.007006631698459387,
0.04369208961725235,
-0.021310163661837578,
-0.017183886840939522,
0.0541238859295845,
-0.011369588784873486,
0.01739824004471302,
-0.021560240536928177,
0.029652031138539314,
-0.07091479748487473,
-0.010708670131862164,
0.0004074921307619661,
-0.07402289658784866,
0.023668035864830017,
-0.09145686775445938,
-0.010503249242901802,
-0.05973276495933533,
0.05005119740962982,
-0.005439182743430138,
0.040191005915403366,
-0.007252243347465992,
0.02063138224184513,
0.009654772467911243,
-0.04162001982331276,
0.001536189578473568,
0.022560549899935722,
-0.009949506260454655,
0.004903302527964115,
0.02956271730363369,
-0.022167572751641273,
0.03231356665492058,
0.03129539638757706,
0.013388070277869701,
0.047300346195697784,
-0.005113189108669758,
0.055767253041267395,
-0.0004150279564782977,
0.015576247125864029,
0.03363540396094322,
0.01939885877072811,
-0.02320360764861107,
0.10174576193094254,
0.00931538175791502,
-0.02313215658068657,
-0.04997974634170532,
-0.01020851545035839,
0.03324242681264877,
-0.057696420699357986,
0.06105460226535797,
0.056053053587675095,
-0.009610115550458431,
-0.03472502902150154,
0.016388999298214912,
0.05330220237374306,
-0.0014412940945476294,
-0.01469204481691122,
0.011083786375820637,
0.05215899273753166,
-0.011316000483930111,
-0.06541309505701065,
-0.00894919689744711,
0.01138745155185461,
0.03486793115735054,
0.06062589958310127,
-0.00984233058989048,
-0.02120298705995083,
0.017049917951226234,
-0.012548524886369705,
0.03794030845165253,
0.0005668606609106064,
-0.007622893899679184,
0.0037623245734721422,
-0.06369827687740326,
0.02600804530084133,
0.0006531038088724017,
0.007542511913925409,
-0.015111817978322506,
0.02727629616856575,
-0.0006023068563081324,
-0.06469858437776566,
-0.015424414537847042,
-0.01532617025077343,
-0.01135172601789236,
-0.0437278151512146,
0.02586514502763748,
-0.01073546428233385,
-0.06073307245969772,
0.028240879997611046,
0.010744395665824413,
-0.00793549045920372,
0.014977848157286644,
-0.002534266095608473,
-0.020863596349954605,
0.03558243811130524,
-0.06376972794532776,
0.018077021464705467,
0.06584179401397705,
0.04851500689983368,
0.009735154919326305,
-0.007926559075713158,
0.023542998358607292,
-0.00935110729187727,
0.013727460987865925,
0.0030388864688575268,
-0.015281513333320618,
-0.06869982182979584,
-0.017183886840939522,
-0.0071093421429395676,
-0.014477693475782871,
0.0658775195479393,
-0.0058544897474348545,
-0.014281203970313072,
0.0020084339193999767,
0.018005570396780968,
-0.024346817284822464,
-0.053480830043554306,
-0.015210062265396118,
-0.032706547528505325,
0.034957241266965866,
0.023489410057663918,
-0.03683282434940338,
-0.09638696163892746,
0.04630003869533539,
-0.06705646216869354,
0.0218996312469244,
0.04197727143764496,
0.026454612612724304,
-0.07187937945127487,
0.09953079372644424,
0.040441080927848816,
-0.011333863250911236,
0.046978820115327835,
0.007131670601665974,
0.03722580149769783,
-0.007864040322601795,
-0.057875048369169235,
-0.029794931411743164,
0.051480211317539215,
0.0012916942359879613,
0.03342105448246002,
0.010610424913465977,
-0.0220425333827734,
0.08281133323907852,
-0.014620594680309296,
-0.019738249480724335,
0.0020463920664042234,
0.04844355955719948,
-0.011494627222418785,
-0.005894680507481098,
0.05330220237374306,
-0.021988945081830025,
-0.015853118151426315,
-0.040619708597660065,
0.016076402738690376,
0.03879771754145622,
-0.035278771072626114,
-0.007730070035904646,
-0.008091788738965988,
-0.062412165105342865,
0.05705336481332779,
-0.02102436125278473,
0.018291372805833817,
0.003306826576590538,
0.014870671555399895,
-0.04111986234784126,
0.03933359682559967,
-0.01485280878841877,
-0.005095326341688633,
0.005908077582716942,
-0.023257194086909294,
0.0019514965824782848,
0.022453375160694122,
-0.013798912055790424,
-0.007877437397837639,
0.024346817284822464,
0.03997665271162987,
0.0025833884719759226,
-0.026794003322720528,
-0.029151875525712967,
-0.02488269843161106,
0.026936905458569527,
-0.051122959703207016,
0.031938452273607254,
0.007841711863875389,
0.03683282434940338,
0.03961940109729767,
0.07159357517957687,
-0.0043852850794792175,
-0.03961940109729767,
0.00837312638759613,
0.03209921717643738,
-0.03058088943362236,
0.020238403230905533,
-0.07170075178146362,
-0.004684485029429197,
0.00906083919107914,
-0.051051508635282516,
0.042906131595373154,
0.031134631484746933,
0.024382542818784714,
0.060054291039705276,
0.00865892879664898,
0.038011759519577026,
0.008837555535137653,
0.07287968695163727,
-0.029223326593637466,
-0.022524826228618622,
-0.007676481734961271,
-0.004074921365827322,
-0.002851328579708934,
-0.00915461778640747,
-0.011262413114309311,
0.02495414763689041,
0.017478620633482933,
-0.002904916414991021,
0.005858955439180136,
-0.022899940609931946,
-0.00878843292593956,
0.003132665529847145,
0.024579033255577087,
0.006122429855167866,
-0.04847928509116173,
-0.014066851697862148,
-0.04147711768746376,
0.043156206607818604,
0.01479922141879797,
-0.000736276910174638,
0.00705575430765748,
-0.01569235511124134
] |
713,355
|
xmlschema.validators.schemas
|
__init__
| null |
def __init__(self, source: Union[SchemaSourceType, List[SchemaSourceType]],
namespace: Optional[str] = None,
validation: str = 'strict',
global_maps: Optional[XsdGlobals] = None,
converter: Optional[ConverterType] = None,
locations: Optional[LocationsType] = None,
base_url: Optional[str] = None,
allow: str = 'all',
defuse: str = 'remote',
timeout: int = 300,
uri_mapper: Optional[UriMapperType] = None,
build: bool = True,
use_meta: bool = True,
use_fallback: bool = True,
use_xpath3: bool = False,
loglevel: Optional[Union[str, int]] = None) -> None:
super().__init__(validation)
self.lock = threading.Lock() # Lock for build operations
if loglevel is not None:
set_logging_level(loglevel)
elif build and global_maps is None:
logger.setLevel(logging.WARNING)
if allow == 'sandbox' and base_url is None and is_local_url(source):
# Allow sandbox mode without a base_url using the initial schema URL as base
assert isinstance(source, str)
base_url = os.path.dirname(normalize_url(source))
other_sources: List[SchemaSourceType]
if isinstance(source, list):
if not source:
raise XMLSchemaValueError(_("no XSD source provided!"))
other_sources = source[1:]
source = source[0]
else:
other_sources = []
if isinstance(source, XMLResource):
self.source = source
else:
self.source = XMLResource(
source, base_url, allow, defuse, timeout, uri_mapper=uri_mapper
)
logger.debug("Read schema from %r", self.source.url or self.source.source)
self.imports = {}
self._import_statements = set()
self.includes = {}
self.warnings = []
self.name = self.source.name
root = self.source.root
# Initialize schema's namespaces, the XML namespace is implicitly declared.
self.namespaces = self.source.get_namespaces({'xml': XML_NAMESPACE})
if 'targetNamespace' in root.attrib:
self.target_namespace = root.attrib['targetNamespace'].strip()
if not self.target_namespace:
# https://www.w3.org/TR/2004/REC-xmlschema-1-20041028/structures.html#element-schema
msg = _("the attribute 'targetNamespace' cannot be an empty string")
self.parse_error(msg, root)
elif namespace is not None and self.target_namespace != namespace:
msg = _("wrong namespace ({0!r} instead of {1!r}) for XSD resource {2}")
self.parse_error(msg.format(self.target_namespace, namespace, self.url), root)
if not self.target_namespace and namespace is not None:
# Chameleon schema case
self.target_namespace = namespace
if '' not in self.namespaces:
self.namespaces[''] = namespace
elif '' not in self.namespaces:
# If not declared map the default namespace to no namespace
self.namespaces[''] = ''
if self.target_namespace == XMLNS_NAMESPACE:
# https://www.w3.org/TR/xmlschema11-1/#sec-nss-special
msg = _(f"The namespace {XMLNS_NAMESPACE} cannot be used as 'targetNamespace'")
raise XMLSchemaValueError(msg)
logger.debug("Schema targetNamespace is %r", self.target_namespace)
logger.debug("Declared namespaces: %r", self.namespaces)
# Parses the schema defaults
if 'attributeFormDefault' in root.attrib:
self.attribute_form_default = root.attrib['attributeFormDefault']
if 'elementFormDefault' in root.attrib:
self.element_form_default = root.attrib['elementFormDefault']
if 'blockDefault' in root.attrib:
if self.meta_schema is None:
pass # Skip for XSD 1.0 meta-schema that has blockDefault="#all"
else:
try:
self.block_default = get_xsd_derivation_attribute(
root, 'blockDefault', XSD_ELEMENT_DERIVATIONS
)
except ValueError as err:
self.parse_error(err, root)
if 'finalDefault' in root.attrib:
try:
self.final_default = get_xsd_derivation_attribute(root, 'finalDefault')
except ValueError as err:
self.parse_error(err, root)
if converter is None:
self.converter = XMLSchemaConverter
else:
self.converter = self.get_converter(converter)
if self.meta_schema is None:
self.locations = NamespaceResourcesMap()
# Meta-schema maps creation (MetaXMLSchema10/11 classes)
self.maps = global_maps or XsdGlobals(self)
for child in self.source.root:
if child.tag == XSD_OVERRIDE:
self.include_schema(child.attrib['schemaLocation'], self.base_url)
return # Meta-schemas don't need to be checked and don't process imports
# Complete the namespace map with internal declarations, remapping
# identical prefixes that refer to different namespaces.
self.namespaces = self.source.get_namespaces(self.namespaces, root_only=False)
if isinstance(locations, NamespaceResourcesMap):
self.locations = locations
elif not locations:
self.locations = NamespaceResourcesMap()
elif isinstance(locations, tuple):
self.locations = NamespaceResourcesMap(locations)
else:
self.locations = NamespaceResourcesMap(
normalize_locations(locations, self.base_url)
)
if not use_fallback:
self.fallback_locations = {}
with self.meta_schema.lock:
if not self.meta_schema.maps.types:
self.meta_schema.maps.build()
# Create or set the XSD global maps instance
if isinstance(global_maps, XsdGlobals):
self.maps = global_maps
elif global_maps is not None:
raise XMLSchemaTypeError(
_("'global_maps' argument must be an %r instance") % XsdGlobals
)
elif use_meta and self.target_namespace not in self.meta_schema.maps.namespaces:
self.maps = self.meta_schema.maps.copy(self, validation)
else:
self.maps = XsdGlobals(self, validation)
if use_xpath3 and self.XSD_VERSION > '1.0':
self.use_xpath3 = True
if any(ns == VC_NAMESPACE for ns in self.namespaces.values()):
# For XSD 1.1+ apply versioning filter to schema tree. See the paragraph
# 4.2.2 of XSD 1.1 (Part 1: Structures) definition for details.
# Ref: https://www.w3.org/TR/xmlschema11-1/#cip
if prune_etree(root, selector=lambda x: not self.version_check(x)):
for k in list(root.attrib):
if k not in ('targetNamespace', VC_MIN_VERSION, VC_MAX_VERSION):
del root.attrib[k]
# Validate the schema document (transforming validation errors to parse errors)
if validation != 'skip':
for e in self.meta_schema.iter_errors(root, namespaces=self.namespaces):
self.parse_error(e.reason or e, elem=e.elem)
self._parse_inclusions()
self._parse_imports()
# Imports by argument (usually from xsi:schemaLocation attribute).
for ns in self.locations:
if ns not in self.maps.namespaces:
self._import_namespace(ns, self.locations[ns])
# XSD 1.1 default declarations (defaultAttributes, defaultOpenContent,
# xpathDefaultNamespace)
if self.XSD_VERSION > '1.0':
self.xpath_default_namespace = self._parse_xpath_default_namespace(root)
if 'defaultAttributes' in root.attrib:
try:
self.default_attributes = self.resolve_qname(root.attrib['defaultAttributes'])
except (ValueError, KeyError, RuntimeError) as err:
self.parse_error(err, root)
for child in root:
if child.tag == XSD_DEFAULT_OPEN_CONTENT:
self.default_open_content = XsdDefaultOpenContent(child, self)
break
_source: Union[SchemaSourceType, XMLResource]
for _source in other_sources:
if isinstance(_source, XMLResource):
resource: XMLResource = _source
else:
resource = XMLResource(_source, bas
|
(self, source: Union[~T, NoneType, List[Optional[~T]]], namespace: Optional[str] = None, validation: str = 'strict', global_maps: Optional[xmlschema.validators.global_maps.XsdGlobals] = None, converter: Optional[~T] = None, locations: Optional[~T] = None, base_url: Optional[str] = None, allow: str = 'all', defuse: str = 'remote', timeout: int = 300, uri_mapper: Optional[~T] = None, build: bool = True, use_meta: bool = True, use_fallback: bool = True, use_xpath3: bool = False, loglevel: Union[str, int, NoneType] = None) -> NoneType
|
[
0.03966348245739937,
-0.026373425498604774,
-0.0022425679489970207,
0.003934828098863363,
-0.004893345292657614,
0.005143954884260893,
0.023500457406044006,
0.013837780803442001,
-0.008582730777561665,
-0.0049863550812006,
-0.023211095482110977,
-0.0018020635470747948,
0.016566066071391106,
0.017878536134958267,
-0.039849501103162766,
0.05030792951583862,
-0.0217849463224411,
0.05249882489442825,
0.0034026058856397867,
-0.004952767863869667,
-0.018725959584116936,
-0.03600509837269783,
-0.021051201969385147,
0.031478624790906906,
0.03282209858298302,
0.03722456097602844,
-0.014189151115715504,
-0.02252902276813984,
0.025195302441716194,
-0.024389218538999557,
-0.027675561606884003,
-0.011781232431530952,
0.026931483298540115,
-0.014488848857581615,
0.06399069726467133,
-0.030176490545272827,
-0.006226484663784504,
0.049853213131427765,
0.021805614233016968,
0.0011251593241468072,
0.008164186961948872,
-0.020875517278909683,
-0.02135089971125126,
-0.06961261481046677,
0.011088826693594456,
0.05365628004074097,
-0.012287618592381477,
0.05948488786816597,
-0.035633061081171036,
0.006133474875241518,
0.05084531754255295,
0.030011139810085297,
-0.0034878647420555353,
0.04576078802347183,
-0.0249472763389349,
0.03856803476810455,
-0.04605014994740486,
0.09193494915962219,
0.02893636003136635,
-0.02151625044643879,
0.009393982589244843,
0.047827668488025665,
-0.020493144169449806,
0.019997091963887215,
-0.02691081538796425,
-0.02730352245271206,
0.008577563799917698,
-0.09160424768924713,
-0.039560139179229736,
0.07151414453983307,
-0.03263607993721962,
-0.00982802826911211,
-0.01935635879635811,
0.008097013458609581,
0.05841011181473732,
-0.011378190480172634,
0.015749648213386536,
-0.08064977079629898,
-0.014519852586090565,
-0.06006361544132233,
0.0217849463224411,
-0.0020849681459367275,
-0.04600881412625313,
-0.04156501591205597,
0.07304364442825317,
0.024058517068624496,
0.048613086342811584,
0.028833016753196716,
0.030341841280460358,
-0.0014804048696532845,
-0.01864328421652317,
0.05101066827774048,
-0.003927077632397413,
0.04927448928356171,
0.014705871231853962,
-0.026476768776774406,
-0.04650486633181572,
-0.08031906932592392,
-0.01280433963984251,
0.013290056958794594,
-0.0035731238313019276,
0.007926495745778084,
-0.06184113398194313,
0.012504640966653824,
0.029783781617879868,
0.033566176891326904,
-0.005828609690070152,
-0.021247556433081627,
0.02932906709611416,
-0.031375281512737274,
-0.049233149737119675,
-0.10913141816854477,
0.04902646318078041,
0.04336320236325264,
-0.009791857562959194,
-0.028833016753196716,
-0.009538664482533932,
0.061758458614349365,
0.049109138548374176,
-0.012959355488419533,
0.016917435452342033,
0.029515087604522705,
-0.020255452021956444,
-0.004389542620629072,
0.08515557646751404,
-0.008122849278151989,
0.05857546254992485,
0.025071289390325546,
0.07837619632482529,
0.004500637296587229,
0.0013899786863476038,
-0.007306430954486132,
-0.02354179508984089,
-0.010437758639454842,
0.014333833009004593,
-0.0476209819316864,
-0.03666650131344795,
0.03894007205963135,
-0.08532092720270157,
0.02835763245820999,
0.026766132563352585,
0.0031829995568841696,
0.017971547320485115,
-0.059732913970947266,
-0.07118344306945801,
-0.0027076166588813066,
0.005689095240086317,
-0.00013144082913640887,
-0.059567563235759735,
-0.0012698412174358964,
0.014974566176533699,
-0.08689175546169281,
-0.046752892434597015,
-0.017702851444482803,
-0.039002079516649246,
-0.004945017397403717,
-0.03236738592386246,
0.0074614472687244415,
-0.011088826693594456,
-0.0219709649682045,
-0.029783781617879868,
-0.02515396475791931,
0.02060682140290737,
-0.0653548389673233,
-0.0059991274029016495,
0.04828238487243652,
-0.026538776233792305,
-0.056921955198049545,
0.009533497504889965,
-0.007502784952521324,
-0.016927771270275116,
0.0357777439057827,
0.008422547951340675,
0.0012285035336390138,
0.022198321297764778,
0.06122107058763504,
0.0575006827712059,
0.0038521529641002417,
0.006500346586108208,
0.04278447479009628,
0.02207430824637413,
-0.024058517068624496,
-0.008892763406038284,
-0.007559624034911394,
-0.007569958455860615,
0.057045966386795044,
-0.021764276549220085,
0.002477675909176469,
0.03364885225892067,
0.03714188560843468,
0.005430734716355801,
-0.004704742226749659,
0.02655944414436817,
0.03127193823456764,
0.005875114351511002,
-0.03116859309375286,
0.004296532832086086,
-0.018560608848929405,
0.01959404908120632,
0.04935716465115547,
-0.011863907799124718,
-0.00032327338703908026,
0.02999047003686428,
0.009197629056870937,
0.007600961718708277,
-0.0004941141814924777,
-0.023996509611606598,
-0.049853213131427765,
-0.054235007613897324,
0.015408611856400967,
-0.03852669522166252,
-0.015656637027859688,
-0.02870900370180607,
-0.025298645719885826,
-0.0014041885733604431,
-0.04505804553627968,
-0.04993588849902153,
-0.011274846270680428,
-0.017764858901500702,
0.009414651431143284,
0.05320156365633011,
0.022777048870921135,
-0.02746887318789959,
-0.03158197179436684,
0.02387249656021595,
-0.008246862329542637,
0.04993588849902153,
-0.04156501591205597,
-0.0013499328633770347,
-0.005461737979203463,
0.016979442909359932,
-0.031209930777549744,
0.02999047003686428,
-0.006112806033343077,
0.08126983791589737,
-0.04700091481208801,
0.0799056887626648,
0.039456795901060104,
0.0378032885491848,
-0.011636550538241863,
-0.0043352870270609856,
-0.023376446217298508,
-0.00930614024400711,
-0.055805835872888565,
-0.06188247352838516,
-0.00637633353471756,
-0.02139223739504814,
-0.0029478915967047215,
0.009926204569637775,
-0.02080317586660385,
-0.032036684453487396,
0.01625603437423706,
-0.02521597035229206,
-0.0030770718585699797,
-0.0037849792279303074,
-0.041027624160051346,
-0.05307755246758461,
-0.01778552681207657,
0.027489542961120605,
-0.0515480600297451,
0.018550273030996323,
-0.012153271585702896,
-0.005694262217730284,
0.06663630157709122,
-0.02115454711019993,
-0.029949132353067398,
0.01457152422517538,
-0.04127565026283264,
-0.009016776457428932,
-0.008531059138476849,
0.052705515176057816,
0.07275427877902985,
-0.059567563235759735,
0.03697653487324715,
-0.022839056327939034,
-0.005012190900743008,
-0.030858561396598816,
-0.04270179942250252,
0.04352855309844017,
0.004177687224000692,
0.04020087048411369,
-0.011016485281288624,
0.011657219380140305,
0.043941929936409,
0.015398276969790459,
-0.031313274055719376,
-0.05026658996939659,
-0.036480482667684555,
-0.046422190964221954,
-0.03189200162887573,
-0.005125869531184435,
0.03476497158408165,
0.01412714459002018,
-0.022756380960345268,
0.017806196585297585,
-0.022343004122376442,
-0.02057581953704357,
-0.03077588602900505,
-0.029184386134147644,
0.02168160118162632,
0.000009395839697390329,
0.018157565966248512,
0.09937573224306107,
0.03898141160607338,
-0.016266368329524994,
-0.02403784729540348,
0.02459590695798397,
-0.0476209819316864,
0.055971186608076096,
0.043445877730846405,
0.000976602197624743,
0.02213631570339203,
-0.041978392750024796,
-0.03054852969944477,
0.03734857216477394,
-0.013641427271068096,
0.006975729484111071,
-0.0319746769964695,
0.046752892434597015,
0.030011139810085297,
-0.04873709753155708,
0.037823956459760666,
0.009636841714382172,
-0.04104829207062721,
-0.05766603350639343,
-0.04390059411525726,
0.037885963916778564,
0.013806778006255627,
-0.003562789410352707,
-0.05076264217495918,
-0.02308708243072033,
-0.02740686759352684,
-0.014788546599447727,
0.038671378046274185,
0.014850553125143051,
-0.02139223739504814,
0.012597651220858097,
-0.09656476974487305,
0.025236640125513077,
-0.010339581407606602,
0.04613282531499863,
0.06415604799985886,
-0.009362979792058468,
-0.04390059411525726,
-0.023748483508825302,
-0.045347411185503006,
0.026084061712026596,
-0.01974906586110592,
-0.021867621690034866,
-0.028791679069399834,
-0.03910542279481888,
0.012452969327569008,
0.00977635569870472,
0.038898736238479614,
0.05460704490542412,
-0.06779375672340393,
-0.015098579227924347,
0.012980024330317974,
0.015687640756368637,
0.03697653487324715,
0.023603802546858788,
0.0056425901129841805,
-0.03371085971593857,
-0.01069611869752407,
0.041751034557819366,
-0.0316026397049427,
0.010758125223219395,
-0.014499183744192123,
-0.01897398568689823,
-0.03937412053346634,
0.015119248069822788,
-0.0576246939599514,
-0.043941929936409,
-0.05555781349539757,
0.01533627137541771,
-0.007755978032946587,
0.000317944708513096,
0.017837198451161385,
-0.043445877730846405,
-0.046711552888154984,
0.04414861649274826,
0.042991165071725845,
-0.03567439690232277,
-0.017578838393092155,
-0.05092799291014671,
-0.07659868150949478,
0.044851358979940414,
0.010809797793626785,
-0.021888289600610733,
0.07060471922159195,
0.07482115924358368,
-0.01100615132600069,
0.03404156118631363,
0.024389218538999557,
0.0536976158618927,
0.017351482063531876,
-0.01677275449037552,
0.034682296216487885,
0.05621921271085739,
-0.030073145404458046,
-0.03027983382344246,
-0.021133877336978912,
0.0021288893185555935,
0.05435901880264282,
-0.0037694775965064764,
-0.06072501838207245,
0.05340825393795967,
-0.003516284516081214,
-0.015946000814437866,
0.10400554537773132,
-0.03488898277282715,
-0.014385504648089409,
0.010453260503709316,
-0.026352757588028908,
-0.005337724927812815,
0.024637244641780853,
0.05146538466215134,
0.049233149737119675,
0.01580131985247135,
0.014561190269887447,
-0.01923234574496746,
0.02436854876577854,
0.10681650787591934,
0.02432721108198166,
-0.005988792981952429,
-0.03466162458062172,
-0.07300230115652084,
-0.001264674006961286,
-0.08023639023303986,
0.02992846444249153,
0.02932906709611416,
0.04460333287715912,
-0.025360653176903725,
-0.09970642626285553,
0.00014968753384891897,
-0.025960048660635948,
-0.019759399816393852,
-0.045347411185503006,
0.03656315803527832,
-0.011440197005867958,
0.008670574054121971,
0.00408726092427969,
0.026600781828165054,
0.017547836527228355,
-0.01867428608238697,
0.004864925518631935,
-0.04168902710080147,
0.07205154001712799,
-0.048447735607624054,
0.011677888222038746,
-0.06899254769086838,
-0.01386878453195095,
0.07217554748058319,
-0.02393450401723385,
-0.0811871588230133,
-0.0458434633910656,
0.010401587933301926,
-0.023562464863061905,
-0.0019893748685717583,
-0.03453761339187622,
0.03408289700746536,
-0.018860306590795517,
0.031044580042362213,
-0.027386197820305824,
-0.05336691439151764,
0.08565162867307663,
-0.008035006932914257,
0.0004676322569139302,
-0.0002908168826252222,
0.02240500971674919,
0.015946000814437866,
-0.014902225695550442,
0.01887064054608345,
-0.04323919117450714,
0.007668135687708855,
-0.027220847085118294,
-0.023913834244012833,
-0.0031700816471129656,
0.006231651641428471,
-0.007678470108658075,
0.046752892434597015,
0.01746516115963459,
0.06729770451784134,
0.004534224513918161,
-0.013693098910152912,
-0.03418624401092529,
0.07647466659545898,
-0.06609891355037689,
-0.027778906747698784,
0.010778794065117836,
-0.011212839744985104,
0.05146538466215134,
0.051920097321271896,
-0.02538132108747959,
0.04253644868731499,
-0.05729399248957634,
0.04745563119649887,
0.034516945481300354,
0.0916869267821312,
-0.03038317896425724,
0.03385554254055023,
-0.0656028613448143,
-0.06316394358873367,
0.05406965687870979,
0.029577093198895454,
0.020317459478974342,
-0.040407560765743256,
-0.004826171323657036,
0.024533899500966072,
-0.04385925456881523,
-0.05014257878065109,
0.001317637856118381,
0.040366221219301224,
0.0477449931204319,
-0.01563596911728382,
-0.014013465493917465,
-0.005926786456257105,
0.04352855309844017,
0.009264802560210228,
-0.014881556853652,
0.005040610674768686,
0.004257778637111187,
0.009905535727739334,
-0.041978392750024796,
-0.005637423135340214,
0.035302359610795975,
-0.045140720903873444,
-0.011925914324820042,
0.04840639606118202,
0.0007744351751171052,
0.03216069936752319,
-0.05055595561861992,
0.000015229132259264588,
-0.029349736869335175,
0.028378302231431007,
0.06614024937152863,
0.04015953466296196,
-0.03790663182735443,
-0.07039803266525269,
-0.01353808306157589,
0.027096834033727646,
0.025133294984698296,
-0.03290477395057678,
0.006076635792851448,
0.02207430824637413,
0.01589432917535305,
-0.028605658560991287,
0.020162442699074745,
-0.002929806476458907,
-0.042040396481752396,
0.032326046377420425,
0.002214148174971342,
0.06502413749694824,
0.046587541699409485,
-0.026931483298540115,
-0.04003551974892616,
0.04886111244559288,
0.018043886870145798,
0.05514443665742874,
0.0038237334229052067,
0.025588009506464005,
-0.007973000407218933,
-0.02639409340918064,
0.00035330778337083757,
0.019170338287949562,
0.013372732326388359,
0.010964813642203808,
-0.045140720903873444,
-0.027324192225933075,
0.04497537016868591,
-0.006236819084733725,
0.00578727200627327,
0.02538132108747959,
-0.024017179384827614,
0.014726540073752403,
0.03418624401092529,
-0.020689496770501137,
-0.012980024330317974,
0.022156983613967896,
-0.031085917726159096,
0.0538216307759285,
-0.028378302231431007,
0.06027030572295189,
-0.041544344276189804,
0.05779004469513893,
-0.03734857216477394,
-0.008257197216153145,
0.05886482447385788,
0.03354550898075104,
-0.024182530120015144,
-0.0756065770983696,
0.009879699908196926,
-0.04177170246839523,
-0.04261912405490875,
-0.016142355278134346,
0.049563851207494736,
-0.0056115868501365185,
-0.04237109795212746,
0.051258694380521774,
-0.03912609443068504,
-0.0597742535173893,
0.05609520152211189,
0.006086970213800669,
0.03247072920203209,
-0.0005267321830615401,
-0.010256906040012836,
0.009016776457428932,
-0.005647757556289434,
0.04881977289915085,
0.019222009927034378,
-0.004477384965866804,
-0.06043565645813942,
0.006815546192228794,
-0.042495112866163254,
-0.03993217647075653,
-0.03741057962179184,
-0.04348721727728844,
0.05014257878065109,
0.0023058662191033363,
-0.051300033926963806,
-0.0015320769743993878,
0.019924750551581383,
0.004324952606111765,
-0.005050945095717907,
-0.022611698135733604,
0.05869947373867035,
-0.014953897334635258,
0.022735711187124252,
-0.004818420857191086,
0.04177170246839523,
0.047331616282463074,
-0.018849972635507584,
0.005332557950168848,
-0.063701331615448,
0.04237109795212746,
0.05667392909526825,
0.04452065750956535,
0.030341841280460358,
-0.0028729671612381935,
0.018012885004281998,
0.04902646318078041,
-0.007378771901130676,
0.02279771864414215,
0.02730352245271206,
-0.03247072920203209,
0.038671378046274185,
0.04390059411525726,
-0.03784462437033653,
0.03515767678618431,
0.04857174679636955,
-0.03321480751037598,
0.03645981475710869,
-0.011553875170648098,
-0.029907794669270515,
0.075110524892807,
0.04443798214197159,
-0.06163444742560387,
-0.012442635372281075,
0.04869576171040535,
0.015842657536268234,
-0.007125578820705414,
-0.02639409340918064,
0.05427634343504906,
-0.013145375065505505,
-0.054110992699861526,
-0.005869947373867035,
0.04218507930636406,
-0.06642961502075195,
-0.00850522331893444,
0.031044580042362213,
-0.057087305933237076,
-0.008634403347969055,
0.04943984001874924,
0.0008319203625433147,
-0.03426891937851906,
-0.04418995603919029,
0.008670574054121971,
0.0014132311334833503,
-0.03803064674139023,
-0.013424403965473175,
0.05212678760290146,
0.0438179187476635,
-0.02056548371911049,
-0.046876903623342514,
-0.028212951496243477,
-0.022839056327939034,
-0.010546269826591015,
-0.030011139810085297,
0.03449627384543419,
-0.02030712366104126,
-0.04286715015769005,
-0.011367855593562126,
0.048902448266744614,
0.01775452308356762,
-0.06667764484882355,
-0.010654781013727188,
0.0008661531028337777,
-0.01238062884658575,
-0.018353920429944992,
-0.008970271795988083,
0.024967944249510765,
-0.030734548345208168,
-0.03557105362415314,
0.015480952337384224,
0.004229358863085508,
0.05101066827774048,
-0.04385925456881523,
-0.003813399001955986,
0.018209237605333328,
0.04418995603919029,
0.055516473948955536,
0.0009843530133366585,
0.019180672243237495,
-0.053449589759111404,
0.0035369533579796553,
-0.04617416486144066,
-0.03472363203763962,
0.03741057962179184,
0.00579760642722249,
-0.005720098502933979,
-0.025422658771276474,
0.005683927796781063,
0.000992103829048574,
-0.003562789410352707,
-0.011987920850515366,
0.04526473581790924,
-0.033958885818719864,
-0.022487685084342957,
0.06692566722631454,
0.024864600971341133,
0.030465854331851006,
0.03666650131344795,
-0.03701787069439888,
0.02426520548760891,
0.03718322142958641,
-0.045016709715127945,
0.04848907142877579,
0.006169645581394434,
-0.019893746823072433,
-0.009735018014907837,
0.005673593375831842,
-0.009698848240077496,
-0.06981930136680603,
0.048943787813186646,
-0.050969332456588745,
0.04695957899093628,
0.019862744957208633,
-0.00023801448696758598,
-0.016369711607694626,
0.050803981721401215,
-0.025484666228294373,
-0.04724894091486931,
-0.0024079184513539076,
0.002582311863079667,
-0.02965976856648922,
-0.0070429034531116486,
0.009435320273041725,
0.010453260503709316,
-0.007740476168692112,
-0.04543008655309677,
-0.010256906040012836,
-0.023128420114517212,
-0.015553293749690056,
0.025463996455073357,
0.0871397852897644,
0.02521597035229206,
0.003219170030206442,
0.01238062884658575
] |
713,356
|
xmlschema.validators.schemas
|
__iter__
| null |
def __iter__(self) -> Iterator[XsdElement]:
yield from sorted(self.elements.values(), key=name_attribute)
|
(self) -> Iterator[xmlschema.validators.elements.XsdElement]
|
[
0.020628949627280235,
-0.007365003693848848,
-0.05309048667550087,
-0.0407027043402195,
-0.0020971610210835934,
-0.0020342678762972355,
-0.012916949577629566,
-0.019449161365628242,
0.07120370864868164,
0.033918920904397964,
-0.031524643301963806,
-0.033658675849437714,
0.043305180966854095,
0.0422641895711422,
-0.01717633381485939,
0.024359164759516716,
0.007820436730980873,
0.056039959192276,
-0.10652796924114227,
0.02220778539776802,
-0.005144225433468819,
0.02652789279818535,
-0.010626772418618202,
-0.01681198738515377,
0.023283474147319794,
0.03674694523215294,
0.03249623626470566,
-0.029182417318224907,
0.022433333098888397,
-0.012674052268266678,
-0.060273315757513046,
-0.01682066172361374,
0.02205163612961769,
-0.04111910238862038,
0.018980715423822403,
-0.02781178057193756,
-0.03539365902543068,
0.00788549892604351,
0.020056406036019325,
0.05277818813920021,
0.0864715650677681,
-0.027742382138967514,
-0.0038169631734490395,
-0.022797679528594017,
-0.009950128383934498,
0.01183258555829525,
0.02807202748954296,
0.05919762700796127,
0.004053354728966951,
0.006159190554171801,
0.03893302381038666,
0.016586439684033394,
0.04347867891192436,
0.015163753181695938,
-0.0239254180341959,
0.007889836095273495,
0.01645631529390812,
-0.012318381108343601,
0.021617891266942024,
0.04500546306371689,
-0.017046209424734116,
-0.043201081454753876,
-0.0012958155712112784,
-0.039939314126968384,
-0.005660382565110922,
-0.048336632549762726,
-0.012830200605094433,
-0.03955761715769768,
-0.03761443495750427,
0.02869662269949913,
0.0013879865873605013,
0.010366524569690228,
0.012587303295731544,
0.031160298734903336,
-0.03716333955526352,
0.031420547515153885,
-0.032183937728405,
0.01708091050386429,
0.056907448917627335,
-0.0945218876004219,
-0.014903505332767963,
0.07633925974369049,
-0.07120370864868164,
0.018356122076511383,
-0.024740859866142273,
0.011893309652805328,
0.03057040460407734,
-0.025400154292583466,
0.024844959378242493,
0.08494477719068527,
-0.0173932071775198,
0.05839953571557999,
-0.003482978790998459,
0.03934941813349724,
0.014782057143747807,
0.008909138850867748,
-0.04819783195853233,
-0.010227725841104984,
0.021669941022992134,
0.04209069162607193,
0.0023292149417102337,
0.0509738065302372,
0.04618525132536888,
0.02937326580286026,
0.019345063716173172,
0.009785305708646774,
-0.03584475442767143,
-0.05128610506653786,
0.031073549762368202,
0.037336837500333786,
-0.037024542689323425,
0.019501211121678352,
0.03364132344722748,
0.027152488008141518,
0.014799406751990318,
-0.0750206708908081,
0.014886155724525452,
0.002400783123448491,
0.04542186111211777,
-0.03841252997517586,
0.01292562484741211,
0.01546737551689148,
0.022641530260443687,
0.05218829587101936,
-0.058468934148550034,
-0.001933421939611435,
0.03934941813349724,
-0.006519199348986149,
-0.02194753848016262,
-0.014200837351381779,
0.015215802937746048,
-0.005981354508548975,
0.020906547084450722,
0.0059206304140388966,
0.04431147128343582,
-0.07550647109746933,
0.09028852730989456,
0.006302326451987028,
-0.0061028036288917065,
0.06134900823235512,
0.027568882331252098,
0.00047115638153627515,
0.06055091321468353,
0.021756689995527267,
-0.036399949342012405,
-0.032825883477926254,
-0.003571896580979228,
0.043825674802064896,
-0.019327713176608086,
-0.038273729383945465,
-0.03195839002728462,
0.00125244096852839,
0.0347864143550396,
-0.004484931472688913,
-0.012769476510584354,
-0.00005374381726142019,
-0.06790724396705627,
-0.005608333274722099,
-0.01759273000061512,
-0.021652590483427048,
-0.02791588008403778,
0.010626772418618202,
-0.0010962925152853131,
-0.027325985953211784,
-0.018442871049046516,
0.030431605875492096,
-0.03140319511294365,
-0.019275663420557976,
0.03678164258599281,
-0.000774778425693512,
0.004549993667751551,
-0.03103885054588318,
-0.03650404512882233,
-0.006666672881692648,
-0.06263289600610733,
0.027620932087302208,
0.02616354636847973,
0.07550647109746933,
0.043305180966854095,
0.030605103820562363,
0.0012513566762208939,
-0.038690127432346344,
-0.04087620601058006,
-0.03440471738576889,
0.009733255952596664,
0.007555851712822914,
0.012162232771515846,
0.017462605610489845,
0.013914565555751324,
-0.03450881689786911,
0.021600540727376938,
-0.000775862776208669,
0.001189547823742032,
0.025729801505804062,
-0.02812407724559307,
0.03834312781691551,
-0.06350038200616837,
0.01644764095544815,
0.03896772116422653,
0.04202129319310188,
-0.025365455076098442,
-0.008375631645321846,
-0.01315984781831503,
0.0017718515591695905,
0.014391685836017132,
0.03164609521627426,
0.000712969689629972,
-0.08085022121667862,
-0.056699249893426895,
-0.006818484049290419,
0.015441350638866425,
-0.03667754679918289,
0.006792459171265364,
-0.04903062433004379,
-0.006263289600610733,
-0.03443941846489906,
-0.036712244153022766,
-0.09028852730989456,
0.007221867796033621,
-0.06148780509829521,
0.013966615311801434,
0.04111910238862038,
-0.008609854616224766,
-0.05833013728260994,
0.049169424921274185,
-0.004137935116887093,
0.03031015582382679,
-0.0365387462079525,
-0.0854305699467659,
0.016369566321372986,
0.025469552725553513,
-0.02600739896297455,
0.028818070888519287,
-0.0391412228345871,
-0.0044502317905426025,
0.010097602382302284,
-0.009802655316889286,
0.041847795248031616,
-0.05059210956096649,
0.0014313611900433898,
-0.010054227896034718,
0.02911301888525486,
-0.011086543090641499,
0.01977880857884884,
-0.06679685413837433,
-0.017939725890755653,
-0.004233358893543482,
0.02173933945596218,
-0.011216666549444199,
0.004619393032044172,
0.003539365716278553,
-0.014539158903062344,
-0.005586646031588316,
-0.0032921305391937494,
0.021774038672447205,
-0.07252229750156403,
-0.05954462289810181,
-0.024307115003466606,
0.026788141578435898,
-0.01528520230203867,
0.06714385002851486,
-0.009073962457478046,
-0.006363051012158394,
0.06516596674919128,
0.028314925730228424,
0.04451967030763626,
0.023734569549560547,
-0.002022339729592204,
-0.004723491612821817,
0.017662128433585167,
0.0637085810303688,
-0.03077860176563263,
-0.07481247931718826,
0.018390821292996407,
0.008089358918368816,
0.044242072850465775,
0.0005410978919826448,
-0.0022966840770095587,
-0.05024511367082596,
0.0028432037215679884,
0.04615055397152901,
0.0014346142997965217,
-0.0365387462079525,
0.04597705602645874,
-0.035411007702350616,
-0.02455001324415207,
-0.04146609827876091,
-0.004489269107580185,
-0.013480819761753082,
-0.01852962002158165,
0.04563006013631821,
0.042576488107442856,
-0.01858166977763176,
-0.0530557855963707,
0.01863371953368187,
-0.06797663867473602,
0.02350902184844017,
-0.031212348490953445,
0.02684018947184086,
0.03844722732901573,
0.027360685169696808,
-0.014478434808552265,
0.04802433401346207,
0.0046324050053954124,
-0.03093475103378296,
0.05413147807121277,
0.03317287936806679,
0.018980715423822403,
-0.0447278656065464,
0.01946651190519333,
0.008241170085966587,
0.02677079103887081,
-0.05801783874630928,
-0.00830189511179924,
-0.022381283342838287,
-0.040980301797389984,
-0.013480819761753082,
0.001571244210936129,
0.03424856811761856,
0.06030801683664322,
-0.05666455253958702,
0.036052949726581573,
-0.043096981942653656,
-0.0360182523727417,
-0.02382132038474083,
0.035376306623220444,
0.007243555039167404,
-0.016386916860938072,
0.03124704770743847,
-0.040355708450078964,
0.005421822424978018,
-0.046115852892398834,
0.00600737938657403,
0.06936462968587875,
-0.029130367562174797,
0.05715034529566765,
0.03633054718375206,
0.006397750694304705,
0.009047937579452991,
-0.0626675933599472,
-0.030379556119441986,
0.007560189347714186,
-0.03273913264274597,
0.0025764501187950373,
-0.03771853446960449,
0.005833880975842476,
-0.025400154292583466,
-0.007508140057325363,
0.025191957131028175,
0.01614401862025261,
0.0401822105050087,
0.0254869032651186,
0.045491259545087814,
0.0334157757461071,
0.05950992554426193,
0.00540880998596549,
-0.025087857618927956,
0.053888577967882156,
-0.01354154385626316,
0.06780314445495605,
0.050314512103796005,
-0.02652789279818535,
-0.042784687131643295,
-0.05642165243625641,
0.02449796348810196,
-0.06388208270072937,
-0.0044762566685676575,
0.004701804369688034,
0.009958803653717041,
0.005148562602698803,
-0.024567361921072006,
0.02460206113755703,
-0.014860130846500397,
-0.07543706893920898,
-0.028193477541208267,
-0.04063330590724945,
0.024272415786981583,
0.060377415269613266,
-0.015736298635601997,
-0.026805490255355835,
0.06651925295591354,
0.02189548872411251,
0.034213870763778687,
0.051667798310518265,
-0.055137764662504196,
-0.04250708967447281,
0.08161360770463943,
-0.03260033577680588,
0.011988733895123005,
0.002726092468947172,
-0.015866421163082123,
-0.032461535185575485,
-0.04840603098273277,
0.03820433095097542,
-0.022589480504393578,
-0.04153549671173096,
0.02402951754629612,
-0.04677514731884003,
-0.028627222403883934,
-0.05610935762524605,
-0.0002557744737714529,
-0.02626764588057995,
-0.06030801683664322,
0.01315984781831503,
0.010991118848323822,
-0.09174591302871704,
-0.008232495747506618,
-0.018460221588611603,
0.0022793342359364033,
0.058885328471660614,
-0.05024511367082596,
0.0086966035887599,
-0.00743440305814147,
-0.07425728440284729,
0.04587295651435852,
-0.016777288168668747,
0.025469552725553513,
0.04091090336441994,
0.04670574888586998,
-0.00804598443210125,
-0.03513341024518013,
-0.019067466259002686,
0.0110518429428339,
0.0520147979259491,
-0.02179138921201229,
-0.04910002648830414,
0.00743440305814147,
0.027898529544472694,
-0.04809373617172241,
0.005365435499697924,
-0.009984828531742096,
0.03400567173957825,
-0.037961430847644806,
-0.0218434389680624,
0.08112781494855881,
-0.050314512103796005,
-0.04736504331231117,
-0.042368289083242416,
-0.006575586274266243,
0.00540880998596549,
0.014409035444259644,
0.03761443495750427,
0.02864457294344902,
-0.037024542689323425,
0.02225983515381813,
0.04032101109623909,
-0.017263082787394524,
0.07196710258722305,
0.023474322631955147,
-0.0021307761780917645,
0.0264584943652153,
-0.016543064266443253,
0.0843895822763443,
-0.09223170578479767,
-0.028314925730228424,
0.02614619769155979,
-0.01957061141729355,
-0.0947994813323021,
-0.019397111609578133,
0.0009385175071656704,
0.05027981474995613,
0.008601179346442223,
0.048128433525562286,
-0.03528955951333046,
-0.062043000012636185,
0.037649136036634445,
-0.015814371407032013,
0.017887676134705544,
0.003801781916990876,
0.04323578253388405,
0.0915377140045166,
-0.02807202748954296,
-0.00988940428942442,
-0.062251199036836624,
-0.05631755664944649,
-0.045699458569288254,
-0.031472597271203995,
0.02288442850112915,
-0.02423771470785141,
0.0033810485620051622,
0.025660401210188866,
-0.009178061038255692,
0.013177197426557541,
-0.011841260828077793,
0.006137503311038017,
0.006913908291608095,
0.031004149466753006,
-0.023856019601225853,
-0.04618525132536888,
-0.02199958637356758,
-0.0024593386333435774,
-0.03492521122097969,
0.003834313014522195,
0.028713971376419067,
0.046011753380298615,
0.006228589918464422,
0.06405557692050934,
-0.001280634431168437,
-0.031420547515153885,
-0.017297782003879547,
-0.00350900343619287,
-0.02319672517478466,
0.008995887823402882,
0.015094353817403316,
0.0187898688018322,
0.0895945355296135,
-0.01774020306766033,
-0.07772725075483322,
0.009256135672330856,
-0.02864457294344902,
0.009429633617401123,
-0.064749576151371,
-0.022277183830738068,
0.0022815028205513954,
0.038377828896045685,
-0.07092611491680145,
-0.03698984161019325,
-0.006081116385757923,
-0.010913044214248657,
0.01721970923244953,
0.032461535185575485,
-0.013515518978238106,
-0.04479726776480675,
0.013610943220555782,
-0.010444599203765392,
0.04642815142869949,
-0.03674694523215294,
-0.021496441215276718,
0.0375797376036644,
-0.022554781287908554,
0.045803558081388474,
-0.03643464669585228,
0.0012730439193546772,
0.012231631204485893,
-0.017766227945685387,
-0.0008279122994281352,
-0.004183478187769651,
0.03031015582382679,
-0.03584475442767143,
0.08279339969158173,
0.050002217292785645,
0.01214488223195076,
0.02014315500855446,
-0.020854497328400612,
0.018651070073246956,
0.0156668983399868,
-0.06457607448101044,
-0.025920649990439415,
-0.054825469851493835,
-0.026024747639894485,
-0.02796792984008789,
-0.009663856588304043,
-0.008995887823402882,
-0.002400783123448491,
-0.005608333274722099,
-0.019431812688708305,
-0.013064423575997353,
0.006527874153107405,
-0.0066536604426801205,
0.01800912618637085,
0.05538066476583481,
0.04792023450136185,
-0.029668213799595833,
-0.02744743414223194,
0.0037345513701438904,
0.02600739896297455,
0.020021706819534302,
0.0017772733699530363,
-0.012639353051781654,
0.049481719732284546,
0.010080252774059772,
0.024775560945272446,
-0.005100850481539965,
-0.004992414265871048,
-0.006280639208853245,
0.024949058890342712,
-0.01868576928973198,
-0.020316652953624725,
-0.021808739751577377,
-0.04792023450136185,
-0.0034699663519859314,
0.001986555755138397,
0.041813094168901443,
-0.04566475749015808,
-0.012413804419338703,
-0.03907182067632675,
0.007490789983421564,
0.027933230623602867,
-0.007451752666383982,
-0.027777081355452538,
-0.029963159933686256,
-0.08681856095790863,
-0.048232533037662506,
-0.043409280478954315,
-0.054304976016283035,
-0.023283474147319794,
0.0021936693228781223,
-0.05256999284029007,
-0.08973333239555359,
-0.02491435967385769,
0.02973761223256588,
0.06468017399311066,
0.051667798310518265,
0.050939105451107025,
0.02246803231537342,
-0.014877481386065483,
0.01957061141729355,
-0.03299938142299652,
0.03450881689786911,
0.061938900500535965,
-0.00864455383270979,
0.009386259131133556,
0.022086337208747864,
-0.021808739751577377,
-0.0003131102421320975,
-0.022919127717614174,
0.02007375657558441,
0.0015105197671800852,
0.01957061141729355,
-0.015450025908648968,
0.0017046210123226047,
0.0002069780748570338,
-0.016308842226862907,
0.0771026536822319,
-0.022710930556058884,
-0.05027981474995613,
0.034491464495658875,
-0.04039040952920914,
0.10035143047571182,
0.004213840700685978,
0.027638282626867294,
-0.05468666926026344,
0.034647613763809204,
-0.08154421299695969,
-0.030795952305197716,
0.0003171766293235123,
0.02775973081588745,
0.00035540046519599855,
-0.081405408680439,
-0.04701804369688034,
0.011025818064808846,
0.004393844865262508,
0.005617008078843355,
0.04427677020430565,
-0.017453931272029877,
0.05593585968017578,
0.009785305708646774,
-0.026614641770720482,
0.049377623945474625,
-0.042368289083242416,
-0.0007872486603446305,
0.01219693198800087,
-0.0011190641671419144,
-0.01037519983947277,
0.0025894625578075647,
-0.05003691464662552,
-0.03594885393977165,
0.0050054267048835754,
0.008531779982149601,
0.004237696528434753,
0.030379556119441986,
-0.008436355739831924,
0.0370592400431633,
-0.043166384100914,
-0.009820004925131798,
-0.0040273298509418964,
0.023387573659420013,
0.029442664235830307,
-0.09840824455022812,
0.001935590640641749,
-0.04687924683094025,
0.05624815449118614,
0.06336158514022827,
-0.05017571523785591,
-0.05715034529566765,
0.03730214014649391,
-0.036712244153022766,
0.021097395569086075,
-0.004545656032860279,
-0.030171358957886696,
-0.010297125205397606,
0.0073303040117025375,
0.002057039411738515,
-0.025920649990439415,
-0.013437445275485516,
-0.052604690194129944,
-0.02163523994386196,
-0.02755153365433216,
0.0029559775721281767,
-0.030535705387592316,
-0.009924104437232018,
-0.07182830572128296,
0.03716333955526352,
-0.02543485350906849,
0.0017111272318288684,
0.05128610506653786,
0.03553245589137077,
0.010982443578541279,
0.04792023450136185,
-0.008262857794761658,
0.023751920089125633,
0.021548490971326828,
0.05368037894368172,
0.04441557079553604,
0.03242683783173561,
0.019813507795333862,
0.008132733404636383,
0.05590115860104561,
0.06932993233203888,
0.05930172652006149,
0.011676437221467495,
0.005304710939526558,
-0.0739796832203865,
-0.06856653839349747,
0.048648931086063385,
-0.016317516565322876,
0.06880943477153778,
0.018199974671006203,
0.03594885393977165,
0.08418138325214386,
-0.01613534428179264,
0.03348517417907715,
0.0005069404141977429,
0.02947736531496048,
-0.0316634438931942,
0.060065120458602905,
-0.017922377213835716,
0.051147304475307465,
-0.08411198854446411,
0.0076209139078855515,
0.0060767787508666515,
0.012396454811096191,
-0.025868600234389305,
0.05694214999675751,
-0.019275663420557976,
-0.01099979318678379,
0.020680999383330345,
0.05558886379003525,
0.006718722637742758,
0.016907410696148872,
-0.020004356279969215,
0.06107141077518463,
-0.006701372563838959,
0.028939519077539444,
0.014877481386065483,
-0.022919127717614174,
0.0032574310898780823,
0.01328129693865776,
-0.00500976387411356,
-0.02075039967894554,
0.0022728280164301395,
-0.028939519077539444,
0.04639345034956932,
-0.0037670822348445654,
0.008423343300819397,
0.026805490255355835,
0.026180896908044815,
-0.033762771636247635,
-0.008648891001939774,
-0.014261562377214432,
-0.022849729284644127,
-0.003736720187589526,
-0.03955761715769768,
0.05076560750603676,
0.009967478923499584,
0.032929982990026474,
0.051771897822618484,
0.027742382138967514
] |
713,358
|
xmlschema.validators.schemas
|
__repr__
| null |
def __repr__(self) -> str:
if self.url:
return '%s(name=%r, namespace=%r)' % (
self.__class__.__name__, self.name, self.target_namespace
)
return '%s(namespace=%r)' % (self.__class__.__name__, self.target_namespace)
|
(self) -> str
|
[
-0.01014936063438654,
-0.020598268136382103,
0.026324903592467308,
-0.018395716324448586,
0.035276077687740326,
-0.038729678839445114,
0.01314483117312193,
-0.024210453033447266,
0.0698825791478157,
-0.006087854504585266,
-0.024492381140589714,
-0.005105515941977501,
0.006691353395581245,
0.04658838361501694,
-0.00009030463843373582,
0.025567226111888885,
0.011726387776434422,
-0.03457126021385193,
-0.007532728370279074,
0.009955535642802715,
-0.011056812480092049,
0.017964016646146774,
0.030888592824339867,
-0.08937075734138489,
-0.0031033961568027735,
0.03714384138584137,
-0.025849152356386185,
-0.008109796792268753,
-0.023523258045315742,
-0.017761381343007088,
-0.06396211683750153,
-0.058957915753126144,
0.033126384019851685,
-0.0025351375807076693,
0.020069655030965805,
0.0437338761985302,
-0.036298058927059174,
0.013197693042457104,
-0.036298058927059174,
-0.08013766258955002,
-0.011100863106548786,
0.012607408687472343,
-0.03485318645834923,
-0.03154054656624794,
0.014263727702200413,
0.01890670880675316,
0.041548945009708405,
0.034025028347969055,
-0.05363655090332031,
-0.06022658571600914,
-0.008219924755394459,
0.06427928060293198,
-0.04556639865040779,
0.010272703133523464,
-0.04771609231829643,
0.0043566483072936535,
0.035276077687740326,
0.02969040349125862,
-0.007612020242959261,
0.046870309859514236,
-0.03478270396590233,
-0.00636097090318799,
0.044544417411088943,
-0.017779001966118813,
-0.010034827515482903,
-0.007484272588044405,
-0.038941122591495514,
0.008065746165812016,
-0.019276736304163933,
0.017426593229174614,
0.06709855049848557,
-0.04493206366896629,
-0.019646765664219856,
0.01844857819378376,
0.011638285592198372,
-0.04623597487807274,
0.015356194227933884,
-0.006012967322021723,
-0.0034888426307588816,
-0.05740731954574585,
-0.02743498980998993,
-0.034483157098293304,
-0.02486240863800049,
-0.06727475672960281,
0.030923832207918167,
-0.07555635273456573,
-0.019858211278915405,
-0.04916096478700638,
-0.041407980024814606,
-0.0017345098312944174,
-0.021673113107681274,
0.0349765308201313,
-0.03647426515817642,
-0.0008210013620555401,
-0.03999834880232811,
-0.01525047142058611,
-0.012845284305512905,
-0.06470217555761337,
0.05437660962343216,
-0.04567212238907814,
0.035522762686014175,
-0.007845491170883179,
-0.06790909171104431,
0.03354927524924278,
-0.031381964683532715,
0.003032914362847805,
-0.02708258107304573,
0.03185771405696869,
-0.041302260011434555,
-0.011083242483437061,
-0.0011442258255556226,
0.03918780758976936,
0.011118483729660511,
-0.010396046563982964,
0.08352077752351761,
-0.058570269495248795,
-0.0423947237432003,
0.002909571398049593,
0.03432457521557808,
-0.012959817424416542,
-0.014994975179433823,
0.0435929149389267,
-0.03679143264889717,
-0.024897649884223938,
-0.013065539300441742,
0.044579654932022095,
-0.05754828453063965,
0.0018523463513702154,
0.0021419820841401815,
-0.13518384099006653,
0.0025087068788707256,
-0.00008445411367574707,
-0.08288644254207611,
0.015320952981710434,
0.07499250024557114,
0.022201726213097572,
-0.01869526319205761,
0.03957545757293701,
0.006594441365450621,
0.13335132598876953,
-0.008286001160740852,
0.016281265765428543,
-0.01075726468116045,
0.03619233891367912,
-0.022606994956731796,
-0.03964594006538391,
-0.000952053174842149,
0.06043803319334984,
0.020580647513270378,
-0.06026182696223259,
0.04020979255437851,
-0.005797117482870817,
0.041020333766937256,
-0.014483983628451824,
-0.013761546462774277,
0.041830871254205704,
-0.011541374027729034,
0.009541456587612629,
0.006479908712208271,
-0.041548945009708405,
-0.028915105387568474,
-0.017779001966118813,
-0.001495532924309373,
-0.044227249920368195,
0.011453271843492985,
-0.018607161939144135,
0.07703646272420883,
-0.0579359345138073,
0.013497239910066128,
0.047222718596458435,
-0.024668585509061813,
-0.05441185086965561,
-0.03788389638066292,
0.04898476228117943,
-0.021461669355630875,
0.05451757088303566,
0.032844457775354385,
0.09853337705135345,
-0.02715306356549263,
-0.0012202139478176832,
0.04500254616141319,
-0.0574425607919693,
-0.06093140318989754,
0.01858954131603241,
0.0423947237432003,
-0.04517875239253044,
0.013779166154563427,
0.010660353116691113,
0.03788389638066292,
0.04084412753582001,
0.006202387157827616,
0.008880690671503544,
0.0007461145869456232,
0.026642071083188057,
-0.0019173217006027699,
-0.09627795964479446,
-0.013567721471190453,
-0.038342028856277466,
0.027417369186878204,
0.028351252898573875,
0.0023545282892882824,
0.061142850667238235,
-0.04546067863702774,
0.022043142467737198,
0.026501107960939407,
0.0012763789854943752,
0.01052819937467575,
-0.018430957570672035,
0.044227249920368195,
0.013435568660497665,
0.0056341285817325115,
0.009197858162224293,
-0.012695510871708393,
-0.011144913733005524,
0.0002212188410339877,
-0.006744214799255133,
-0.07012926042079926,
0.00012024558236589655,
-0.03432457521557808,
0.026113459840416908,
0.04278237372636795,
-0.02419283427298069,
0.04648266360163689,
-0.053107939660549164,
-0.09825144708156586,
-0.032562531530857086,
0.05212119594216347,
0.0029602302238345146,
0.021743595600128174,
-0.021285464987158775,
0.02537340112030506,
-0.0432405062019825,
-0.006748619955033064,
0.04517875239253044,
0.03363737836480141,
0.014545654878020287,
-0.05719587579369545,
0.0282983910292387,
0.008611978963017464,
0.018748125061392784,
-0.03749625012278557,
-0.010677972808480263,
0.01637817732989788,
-0.007933593355119228,
0.04873807355761528,
-0.02965516224503517,
-0.015188800171017647,
0.03125862032175064,
0.007986454293131828,
-0.02126784436404705,
0.03213964030146599,
-0.03210440278053284,
-0.057971175760030746,
-0.0034469941165298223,
0.004299381747841835,
-0.06389163434505463,
-0.050218190997838974,
-0.020422063767910004,
0.030853351578116417,
0.02290654368698597,
-0.006061423569917679,
-0.02669493295252323,
-0.0037619592621922493,
0.035839930176734924,
0.0006971077527850866,
0.001154137309640646,
-0.04320526495575905,
-0.022677477449178696,
-0.012105226516723633,
0.012158088386058807,
0.1160128265619278,
0.0142372976988554,
-0.05124017596244812,
0.025197196751832962,
-0.03668570891022682,
-0.06279917061328888,
-0.010281513445079327,
-0.020633509382605553,
-0.06773288547992706,
-0.08182922005653381,
0.036086615175008774,
-0.05349558964371681,
0.03361975774168968,
-0.020739231258630753,
0.03407788649201393,
-0.05754828453063965,
-0.0006949052331037819,
0.01680987887084484,
0.0284041129052639,
0.018113790079951286,
0.05053535848855972,
0.03118813969194889,
-0.030888592824339867,
0.014616136439144611,
0.021074019372463226,
-0.011444461531937122,
0.02162025310099125,
0.02669493295252323,
-0.009744090959429741,
0.00466500548645854,
-0.0284041129052639,
-0.02012251690030098,
0.049619097262620926,
0.00807896163314581,
-0.05434136837720871,
0.020897815003991127,
0.006471098400652409,
0.03333783149719238,
0.026518728584051132,
0.01662486419081688,
0.017761381343007088,
-0.0007136269123293459,
-0.008448990061879158,
0.05155734345316887,
-0.007827870547771454,
0.07224371284246445,
-0.013823217712342739,
-0.044297728687524796,
0.02854507602751255,
0.052790772169828415,
-0.03717908263206482,
0.052966974675655365,
-0.041407980024814606,
-0.0035637295804917812,
0.03210440278053284,
-0.05060584098100662,
-0.024175213649868965,
0.030589045956730843,
-0.004460168071091175,
0.0357518270611763,
0.00799526460468769,
-0.03228060528635979,
-0.0020175378303974867,
0.018078548833727837,
0.005087895784527063,
0.004294976592063904,
0.013691064901649952,
-0.00004656333112507127,
-0.0068895830772817135,
-0.041654668748378754,
0.03534655645489693,
0.01973486691713333,
-0.02554960548877716,
-0.017082994803786278,
-0.044297728687524796,
0.026131078600883484,
-0.05656154081225395,
0.007805845234543085,
0.05504618585109711,
-0.044509176164865494,
-0.06611181050539017,
0.022571755573153496,
0.038623955100774765,
0.020175378769636154,
-0.026324903592467308,
-0.007136269006878138,
-0.027699297294020653,
-0.020422063767910004,
-0.006532769650220871,
0.0357518270611763,
0.034271713346242905,
-0.019311977550387383,
0.008127417415380478,
0.006479908712208271,
0.005669369362294674,
-0.01637817732989788,
0.06198862940073013,
0.0106691624969244,
0.07118649035692215,
-0.033020664006471634,
-0.05148686096072197,
-0.04221852123737335,
-0.011506132781505585,
-0.05423564463853836,
-0.030941452831029892,
0.0419013537466526,
0.041302260011434555,
-0.029126551002264023,
-0.03386644273996353,
-0.07175034284591675,
0.04806850105524063,
0.04221852123737335,
0.02005203440785408,
0.012017125263810158,
0.012792423367500305,
0.0008298115571960807,
0.025531984865665436,
0.03321448713541031,
-0.006012967322021723,
0.020686371251940727,
0.012448824942111969,
-0.013329845853149891,
0.034165989607572556,
0.030518563464283943,
-0.03300304338335991,
-0.0693187266588211,
-0.019082913175225258,
-0.017611607909202576,
-0.038588713854551315,
0.0015406853053718805,
0.027064962312579155,
0.009682419709861279,
-0.0009063502075150609,
-0.0062244124710559845,
0.02036920189857483,
0.013030298985540867,
0.03791913762688637,
0.03767245262861252,
-0.0006332337507046759,
-0.010360805317759514,
-0.02315322868525982,
-0.05465853586792946,
-0.10015445202589035,
-0.04866759479045868,
0.08020813763141632,
0.0074005755595862865,
-0.000905248976778239,
0.013691064901649952,
0.01869526319205761,
-0.01837809570133686,
-0.011479701846837997,
0.05099348723888397,
0.06223531439900398,
0.026677312329411507,
-0.010625111870467663,
-0.0020043225958943367,
-0.019435320049524307,
-0.0009531544637866318,
0.0851418599486351,
0.04292333871126175,
-0.03428933396935463,
0.007537133526057005,
0.0012554547283798456,
0.008255166001617908,
0.04563688114285469,
-0.04020979255437851,
0.01566455140709877,
0.001475709956139326,
-0.014668997377157211,
0.023963768035173416,
-0.028492216020822525,
-0.05927508324384689,
-0.00504824984818697,
0.05994465947151184,
0.00983219314366579,
0.017470644786953926,
-0.05405944213271141,
-0.025954876095056534,
0.0027311646845191717,
0.011003950610756874,
-0.024668585509061813,
0.011620665900409222,
-0.02262461557984352,
-0.02405186928808689,
-0.06315157562494278,
-0.04824470356106758,
-0.013849648647010326,
0.011188965290784836,
0.005153972189873457,
-0.007215560879558325,
-0.04845614731311798,
0.020457305014133453,
0.025285299867391586,
0.023752322420477867,
-0.008836639113724232,
-0.03201629966497421,
0.05131065472960472,
0.010211031883955002,
-0.06420880556106567,
-0.038377270102500916,
0.018748125061392784,
0.023523258045315742,
-0.01851905882358551,
0.022642236202955246,
-0.032879699021577835,
0.07724791020154953,
-0.016712965443730354,
0.018043307587504387,
-0.0012235176982358098,
-0.030994314700365067,
-0.053248900920152664,
-0.04257092997431755,
-0.009823382832109928,
0.00703054666519165,
-0.02628966234624386,
0.018325233832001686,
0.0019889045506715775,
0.06008562445640564,
0.030025191605091095,
0.02029872126877308,
0.021461669355630875,
0.06575939804315567,
-0.0855647474527359,
0.004220089875161648,
-0.009294770658016205,
0.009981966577470303,
-0.005228858906775713,
0.013999422080814838,
-0.061636220663785934,
0.01286290492862463,
0.007607615552842617,
-0.01987583190202713,
0.02976088598370552,
0.0032531695906072855,
0.029020827263593674,
0.023611359298229218,
0.020721610635519028,
0.041161295026540756,
0.012061175890266895,
-0.011929023079574108,
0.03330259025096893,
0.004590118769556284,
0.044403452426195145,
0.029337994754314423,
-0.0106691624969244,
-0.03349641337990761,
-0.006907203700393438,
0.041443221271038055,
0.01751469448208809,
-0.0028611153829842806,
0.03097669407725334,
0.012572168372571468,
-0.02391090616583824,
0.014175626449286938,
-0.04503778740763664,
0.04803325980901718,
-0.005880814511328936,
0.07745935767889023,
-0.07943284511566162,
0.08218162506818771,
0.032597772777080536,
0.002592403907328844,
0.0210563987493515,
-0.0038544663693755865,
-0.026201561093330383,
0.12256762385368347,
-0.10480624437332153,
0.020281100645661354,
0.010369615629315376,
0.038447752594947815,
0.031064797192811966,
-0.026166319847106934,
-0.06480789929628372,
-0.023646600544452667,
-0.03823630511760712,
-0.05515190586447716,
0.02854507602751255,
0.06100188568234444,
0.047504644840955734,
-0.0032487644348293543,
0.035469900816679,
0.0027575953863561153,
0.0008270583348348737,
-0.027752157300710678,
0.024351418018341064,
0.0570196732878685,
0.013884888961911201,
0.03788389638066292,
0.003530691144987941,
0.03672095015645027,
-0.020897815003991127,
-0.035522762686014175,
0.026272043585777283,
0.03696763515472412,
0.03129386156797409,
0.061918146908283234,
0.011127294041216373,
-0.02262461557984352,
-0.0424652062356472,
0.007770603988319635,
-0.014483983628451824,
-0.04613025486469269,
0.058499787002801895,
0.0280164647847414,
0.008735322393476963,
0.03647426515817642,
0.04299381747841835,
0.025602467358112335,
0.0425356887280941,
0.014017042703926563,
0.005131946410983801,
-0.012669079937040806,
0.03194581717252731,
-0.03363737836480141,
-0.058781713247299194,
-0.017611607909202576,
-0.05145161971449852,
0.008982008323073387,
0.05226215720176697,
-0.055645279586315155,
-0.046905551105737686,
-0.03522321581840515,
-0.008409344591200352,
0.009109755977988243,
0.04923144727945328,
-0.06396211683750153,
-0.00595129607245326,
-0.03243918716907501,
0.04905524104833603,
0.046976033598184586,
0.03753149136900902,
0.006052613258361816,
0.021814076229929924,
0.04849138855934143,
-0.0035240836441516876,
0.008100987412035465,
-0.010316754691302776,
0.03231584653258324,
-0.03324972838163376,
0.0005440303939394653,
-0.015796704217791557,
-0.002673898357897997,
-0.03643902391195297,
-0.056103408336639404,
-0.03370785713195801,
-0.04820946231484413,
-0.00913618691265583,
0.046976033598184586,
-0.050359152257442474,
-0.005259694531559944,
0.041231777518987656,
0.01002601720392704,
-0.02986660785973072,
0.03675619140267372,
-0.02036920189857483,
0.03240394964814186,
0.0059997523203492165,
-0.013047919608652592,
0.026624450460076332,
0.011514943093061447,
0.03636854141950607,
0.0016585218254476786,
-0.009911485016345978,
-0.06667566299438477,
-0.03996310755610466,
-0.0029998761601746082,
0.04271189123392105,
0.022131243720650673,
-0.03101193532347679,
-0.019928691908717155,
-0.0006167145911604166,
-0.015312142670154572,
-0.050359152257442474,
0.000601296778768301,
-0.07781176269054413,
0.015461916103959084,
-0.0013171262107789516,
-0.05909888073801994,
0.02265985682606697,
-0.04799801856279373,
-0.011056812480092049,
-0.002964635379612446,
0.06420880556106567,
-0.0013600760139524937,
0.03226298466324806,
0.04221852123737335,
-0.041548945009708405,
0.01851905882358551,
-0.022747959941625595,
-0.01669534482061863,
-0.0054358989000320435,
-0.06318681687116623,
-0.001960271503776312,
-0.04398056119680405,
0.04517875239253044,
0.04221852123737335,
0.007678097113966942,
-0.034729842096567154,
-0.008642815053462982,
-0.01588480733335018,
-0.018219511955976486,
0.05078204348683357,
-0.03777817636728287,
-0.03732004389166832,
-0.027752157300710678,
-0.013717494904994965,
0.014254918321967125,
-0.009849813766777515,
0.01994631253182888,
-0.05257932469248772,
-0.005982131697237492,
-0.017964016646146774,
-0.06294013559818268,
-0.030130913481116295,
0.034765083342790604,
0.032386329025030136,
-0.022219346836209297,
0.02322371117770672,
0.01613149233162403,
-0.04827994480729103,
-0.05412992462515831,
-0.025161955505609512,
-0.017100615426898003,
0.010466528125107288,
0.07266660034656525,
0.00941811315715313,
0.04334622621536255,
-0.07513345777988434,
0.03481794521212578,
-0.022677477449178696,
0.061565738171339035,
0.041231777518987656,
0.03756672888994217,
-0.04091461002826691,
0.04616549611091614,
0.025250058621168137,
0.0704464316368103,
-0.00790275726467371,
-0.022236967459321022,
0.014739478938281536,
0.026113459840416908,
0.038412511348724365,
-0.007664881646633148,
-0.03101193532347679,
0.026853516697883606,
-0.029302755370736122,
-0.010043637827038765,
0.02562008798122406,
-0.03996310755610466,
0.014616136439144611,
0.003081370610743761,
0.038095343858003616,
0.01998155377805233,
-0.010431286878883839,
0.0715036541223526,
0.08084247261285782,
-0.03453601896762848,
-0.021250223740935326,
0.014572085812687874,
0.01744421385228634,
-0.008127417415380478,
0.08041958510875702,
-0.022888923063874245,
-0.010431286878883839,
0.03989262506365776,
-0.022043142467737198,
0.02329419180750847,
-0.02979612536728382,
0.026025356724858284,
0.01959390379488468,
0.022959403693675995,
0.02294178307056427,
0.01286290492862463,
0.00872210692614317,
0.028316011652350426,
-0.0035945652052760124,
-0.030853351578116417,
0.02754071354866028,
0.0015935464762151241,
0.027100201696157455,
0.022783199325203896,
0.03599851205945015,
-0.01705656386911869,
-0.026606829836964607,
0.021708354353904724,
-0.07231419533491135,
0.04813897982239723,
0.003658439265564084,
0.02850983664393425,
-0.03314400464296341,
-0.03021901659667492,
-0.004002037458121777,
0.03240394964814186,
0.0010396046563982964,
-0.008783778175711632,
0.06230579689145088,
-0.027699297294020653,
-0.047081757336854935
] |
713,359
|
xmlschema.validators.schemas
|
__reversed__
| null |
def __reversed__(self) -> Iterator[XsdElement]:
yield from sorted(self.elements.values(), key=name_attribute, reverse=True)
|
(self) -> Iterator[xmlschema.validators.elements.XsdElement]
|
[
0.012667239643633366,
0.02979719266295433,
-0.03352184221148491,
-0.05080627277493477,
-0.03374497592449188,
-0.01674375683069229,
-0.03489498421549797,
0.00880527589470148,
0.08314377814531326,
0.011148200370371342,
-0.029436742886900902,
-0.01781652309000492,
0.016760921105742455,
0.036285288631916046,
-0.0022399385925382376,
0.07353177666664124,
0.006393694784492254,
0.03968381881713867,
-0.07929898053407669,
0.00137957907281816,
0.007033064030110836,
0.03153078258037567,
-0.014555309899151325,
-0.016992637887597084,
0.02459641546010971,
0.011251186020672321,
-0.005342382472008467,
-0.021472515538334846,
-0.011920592747628689,
-0.008534939028322697,
-0.054204799234867096,
-0.033075571060180664,
0.02964271418750286,
-0.051424186676740646,
0.0288531556725502,
-0.039958447217941284,
-0.030123313888907433,
0.03477483242750168,
0.030140478163957596,
0.056504812091588974,
0.08932291716337204,
-0.042430102825164795,
0.0013484688242897391,
-0.01176611427217722,
0.006900040898472071,
0.009345951490104198,
0.011019468307495117,
0.017559058964252472,
-0.012315372005105019,
0.0036409730091691017,
0.06168842688202858,
0.015525092370808125,
0.05327792838215828,
0.03872261941432953,
-0.02023668773472309,
-0.005239396821707487,
0.005363837815821171,
0.02444193698465824,
0.028561362996697426,
0.03508378937840462,
-0.019000859931111336,
-0.05090925842523575,
-0.031067349016666412,
-0.03621663153171539,
0.012735896743834019,
-0.02233072929084301,
-0.007110303267836571,
-0.04030173271894455,
-0.02148967981338501,
0.021318037062883377,
-0.029917342588305473,
0.021146394312381744,
0.012401193380355835,
0.015542256645858288,
-0.024081487208604813,
-0.014306427910923958,
0.0022249198518693447,
0.03528976067900658,
0.024665072560310364,
-0.08170197904109955,
-0.032457657158374786,
0.0621003694832325,
-0.04733908548951149,
0.01723293773829937,
-0.015336285345256329,
-0.004175211302936077,
0.0706481784582138,
-0.041228603571653366,
0.004827454220503569,
0.07195266336202621,
-0.03683454543352127,
0.020253852009773254,
-0.016606442630290985,
0.024407608434557915,
0.0050420076586306095,
-0.008466281928122044,
-0.05070328712463379,
-0.007796874735504389,
0.01955011673271656,
0.014237770810723305,
0.024407608434557915,
0.04486742988228798,
0.0073334393091499805,
0.04823163151741028,
0.03439721837639809,
0.02006504498422146,
-0.03834500536322594,
-0.05804959684610367,
0.015173224732279778,
0.005874474998563528,
-0.034551698714494705,
0.03662857413291931,
0.025368807837367058,
0.013997470960021019,
0.01817697286605835,
-0.0626152977347374,
0.012229550629854202,
0.008663671091198921,
0.05444509908556938,
-0.0408853180706501,
0.03110167756676674,
-0.015301956795156002,
-0.016683680936694145,
0.0353240892291069,
-0.08341840654611588,
0.0024137271102517843,
0.035598717629909515,
0.01597994565963745,
-0.04249875992536545,
0.002379398560151458,
0.009474683552980423,
-0.020717287436127663,
-0.021953115239739418,
0.0276859849691391,
0.047957003116607666,
-0.0531749427318573,
0.09666923433542252,
0.016838159412145615,
-0.00244376459158957,
0.07208997756242752,
0.021953115239739418,
0.022674014791846275,
0.07222729176282883,
0.04466145858168602,
-0.03336736187338829,
-0.03899724781513214,
0.0021991734392941,
0.06978996843099594,
-0.017782194539904594,
-0.028029270470142365,
-0.048059988766908646,
0.012040743604302406,
0.019000859931111336,
-0.010178418830037117,
0.000027975765988230705,
-0.00019792561943177134,
-0.08252586424350739,
0.013233660720288754,
-0.036182302981615067,
-0.012315372005105019,
-0.019326981157064438,
0.030552420765161514,
-0.010693347081542015,
-0.0575689971446991,
-0.012590000405907631,
0.025403136387467384,
0.038173362612724304,
-0.031496454030275345,
0.027188220992684364,
0.02826957032084465,
-0.017559058964252472,
-0.023412078619003296,
-0.033024076372385025,
-0.016014274209737778,
-0.07888703793287277,
0.021043408662080765,
0.031118841841816902,
0.0587361715734005,
0.0336419902741909,
0.04654952883720398,
-0.00010915409802692011,
-0.020322509109973907,
-0.030088985338807106,
-0.06721532344818115,
0.028715841472148895,
-0.02263968624174595,
-0.006204887758940458,
0.023772528395056725,
0.014340756461024284,
-0.041743531823158264,
0.00588305713608861,
-0.0027913411613553762,
0.0307927206158638,
0.000792238861322403,
-0.007565157022327185,
0.018794888630509377,
-0.06299290806055069,
0.04304801672697067,
0.054513756185770035,
0.016992637887597084,
-0.03474050387740135,
-0.015610913746058941,
0.012418357655405998,
-0.021163558587431908,
0.004810289945453405,
0.028509870171546936,
0.0018655428430065513,
-0.09165725857019424,
-0.049261488020420074,
0.003342743730172515,
0.04383757337927818,
-0.0005986043252050877,
0.018520258367061615,
-0.09701251983642578,
-0.01195492222905159,
-0.02590090036392212,
-0.04119427502155304,
-0.051424186676740646,
0.022244907915592194,
-0.039958447217941284,
0.000811012287158519,
0.0338994562625885,
-0.019944895058870316,
-0.05245404317975044,
0.036388274282217026,
0.004857491701841354,
0.005814400035887957,
-0.04991373047232628,
-0.055509284138679504,
0.025712093338370323,
0.01431501004844904,
-0.029127784073352814,
0.014486652798950672,
-0.04960477352142334,
0.021987443789839745,
0.013705678284168243,
-0.04534802958369255,
0.04081666097044945,
-0.03201138600707054,
0.02433895133435726,
-0.02118072286248207,
0.04246443137526512,
-0.0070459372363984585,
0.014932924881577492,
-0.05595555528998375,
0.006719816010445356,
0.022725507616996765,
0.005917385686188936,
-0.008891097269952297,
-0.003237612545490265,
0.018056822940707207,
-0.028818827122449875,
-0.0018387236632406712,
0.017679208889603615,
0.045210715383291245,
-0.07421834766864777,
-0.0481286458671093,
-0.06196305528283119,
0.03427707031369209,
-0.006797055248171091,
0.07435566931962967,
-0.023188943043351173,
-0.0149758355692029,
0.033607661724090576,
0.03232034295797348,
0.015035910531878471,
0.014512399211525917,
-0.013851574622094631,
0.014469488523900509,
0.027874791994690895,
0.06910339742898941,
-0.06340485066175461,
-0.09502145648002625,
0.0038469445426017046,
0.012152311392128468,
0.07147206366062164,
0.014392249286174774,
-0.0135855283588171,
-0.044421158730983734,
0.004694431088864803,
0.01670084521174431,
-0.0009397444082424045,
-0.019326981157064438,
0.03947784751653671,
-0.018245629966259003,
-0.01353403553366661,
-0.03348751366138458,
-0.03789873421192169,
0.008582140319049358,
0.0017443200340494514,
0.10264240205287933,
0.05636749789118767,
-0.02301730029284954,
-0.026347171515226364,
0.024630744010210037,
-0.08691991865634918,
0.021609829738736153,
-0.043082345277071,
0.04366593062877655,
0.053724199533462524,
0.013225078582763672,
-0.0350666269659996,
0.07511089742183685,
0.003128190292045474,
-0.021558336913585663,
0.04514205828309059,
0.021609829738736153,
0.003574461443349719,
-0.0201851949095726,
0.01544785313308239,
0.004600027110427618,
0.0076166498474776745,
-0.07648403942584991,
-0.001689608907327056,
-0.02590090036392212,
-0.019841909408569336,
-0.0017915217904374003,
-0.016889652237296104,
0.04448981583118439,
0.05969737097620964,
-0.05592122673988342,
0.02778897061944008,
-0.05290031433105469,
-0.043425630778074265,
-0.04414653033018112,
0.03405393287539482,
-0.039340533316135406,
-0.01014409027993679,
0.05595555528998375,
-0.051939114928245544,
0.026072543114423752,
-0.0481286458671093,
-0.0025553323794156313,
0.0762094110250473,
-0.013516871258616447,
0.04912417382001877,
0.05008537322282791,
0.030981527641415596,
0.009680654853582382,
-0.04507340118288994,
-0.016589278355240822,
0.007041646167635918,
-0.025574779137969017,
-0.022622521966695786,
-0.01670084521174431,
0.030243463814258575,
-0.014100456610321999,
0.00022219697711989284,
0.01980758085846901,
0.06416008621454239,
0.041228603571653366,
0.006638285703957081,
0.019309816882014275,
0.04493608698248863,
0.023892680183053017,
0.01689823530614376,
-0.010367225855588913,
0.05300329998135567,
-0.01426351722329855,
0.036388274282217026,
0.011096707545220852,
-0.01731017790734768,
-0.06615114212036133,
-0.051733143627643585,
0.04267040267586708,
-0.07071683555841446,
0.007483626715838909,
-0.007080265786498785,
0.0003207575064152479,
0.0068356748670339584,
-0.02890464849770069,
0.015233299694955349,
0.032921090722084045,
-0.04596594348549843,
-0.040748003870248795,
-0.03522110357880592,
0.005449659191071987,
0.05255702883005142,
0.009294458664953709,
-0.01670084521174431,
0.052316728979349136,
0.017061294987797737,
0.018314287066459656,
0.05444509908556938,
-0.03177108243107796,
-0.013010525144636631,
0.05547495558857918,
-0.010367225855588913,
0.026467321440577507,
0.00233863340690732,
-0.017782194539904594,
-0.04277338832616806,
-0.04160621762275696,
0.004582862835377455,
-0.009766476228833199,
-0.0336419902741909,
0.00679276417940855,
-0.02439044415950775,
-0.0030788430012762547,
-0.06319887936115265,
-0.0037611231673508883,
0.009637744165956974,
-0.05355255678296089,
0.012040743604302406,
0.01679524965584278,
-0.05949139967560768,
0.003971385303884745,
-0.0021455350797623396,
0.006767017766833305,
0.026879264041781425,
-0.06426306813955307,
0.007925606332719326,
-0.02138669416308403,
-0.08026017993688583,
0.07394371926784515,
-0.030346449464559555,
0.040953975170850754,
0.05623018369078636,
0.0492958165705204,
-0.007552283816039562,
-0.041228603571653366,
0.009526176378130913,
0.023892680183053017,
0.01944713108241558,
-0.006801346316933632,
-0.032543476670980453,
0.010006776079535484,
0.026827771216630936,
-0.0784064382314682,
0.052934642881155014,
0.006187723483890295,
0.008161615580320358,
-0.03178824856877327,
-0.03731514886021614,
0.06748995184898376,
-0.028252406045794487,
-0.035118117928504944,
-0.04833461716771126,
-0.023412078619003296,
0.018142644315958023,
0.0022978680208325386,
0.028887484222650528,
0.015267628245055676,
-0.03374497592449188,
0.027497177943587303,
0.06258096545934677,
-0.005548353772610426,
0.03889426216483116,
0.05118388682603836,
0.0031238992232829332,
0.008740910328924656,
-0.011628800071775913,
0.06388545781373978,
-0.0917259156703949,
-0.03587334603071213,
-0.007423551753163338,
-0.028286734595894814,
-0.08170197904109955,
-0.019773252308368683,
-0.0057929446920752525,
0.05276300013065338,
-0.0032612134236842394,
0.06330186873674393,
-0.039443518966436386,
-0.04445548728108406,
0.044215187430381775,
-0.011920592747628689,
-0.001327013480477035,
-0.022193415090441704,
0.0349293127655983,
0.08204526454210281,
-0.049845073372125626,
-0.012049325741827488,
-0.06810786575078964,
-0.03673155978322029,
-0.03000316396355629,
-0.02353222854435444,
-0.001115678227506578,
-0.00663399463519454,
-0.013645603321492672,
0.02627851441502571,
-0.01870906725525856,
-0.041331589221954346,
-0.013087764382362366,
-0.006535300053656101,
-0.00450562359765172,
-0.004956186283379793,
-0.015465017408132553,
-0.02773747779428959,
-0.020871765911579132,
0.005853019654750824,
-0.04160621762275696,
-0.007273363880813122,
0.03831067681312561,
0.04404354467988014,
-0.002542459173128009,
0.05502868443727493,
-0.01980758085846901,
-0.021163558587431908,
-0.028715841472148895,
-0.007672433741390705,
-0.046309228986501694,
0.019687430933117867,
0.008770947344601154,
0.0006066500791348517,
0.09261845797300339,
-0.014117620885372162,
-0.0656018853187561,
0.012684403918683529,
-0.04061068966984749,
0.013147839345037937,
-0.053518228232860565,
-0.006994444411247969,
0.009045575745403767,
0.015379196032881737,
-0.04740774258971214,
-0.029711371287703514,
-0.0006956897559575737,
0.02648448571562767,
0.03110167756676674,
0.009054157882928848,
0.0008925425936467946,
-0.05949139967560768,
0.01585979573428631,
0.00382334366440773,
0.021626994013786316,
-0.05959438532590866,
-0.019773252308368683,
0.053930170834064484,
-0.02375536412000656,
0.0492958165705204,
-0.04294503107666969,
0.038550976663827896,
-0.0105131221935153,
0.004342562984675169,
0.023944173008203506,
-0.02133520133793354,
0.02444193698465824,
-0.01227246131747961,
0.07057952135801315,
0.04349428787827492,
0.02990017831325531,
-0.010581779293715954,
-0.018743395805358887,
-0.009654908441007137,
0.011783278547227383,
-0.06247798353433609,
-0.010753422044217587,
-0.03693753108382225,
0.0014911468606442213,
-0.05001671612262726,
0.008389042690396309,
0.011465739458799362,
-0.015971364453434944,
-0.024613579735159874,
-0.015791138634085655,
-0.03250914812088013,
0.036491259932518005,
0.01416053157299757,
0.018365779891610146,
0.03232034295797348,
0.04922715947031975,
-0.016778085380792618,
-0.02327476441860199,
0.009474683552980423,
0.06388545781373978,
0.04394055902957916,
-0.004115136340260506,
0.00567279476672411,
0.05918244272470474,
0.02133520133793354,
-0.0002783831732813269,
0.01929265260696411,
-0.00743642495945096,
-0.0017303740605711937,
0.02353222854435444,
0.02008220925927162,
-0.04448981583118439,
0.005312344990670681,
-0.04188084602355957,
-0.0008630414959043264,
0.0016509892884641886,
0.016014274209737778,
-0.058083925396203995,
-0.0215411726385355,
-0.03038077801465988,
0.027994941920042038,
0.0599033422768116,
0.01723293773829937,
-0.02926510013639927,
-0.022090429440140724,
-0.05307195708155632,
-0.04260174557566643,
-0.044695787131786346,
-0.040061432868242264,
-0.026158364489674568,
-0.002396562835201621,
-0.0251628365367651,
-0.0972871482372284,
-0.0033298705238848925,
0.05523465573787689,
0.05437644198536873,
0.057671982795000076,
0.044318173080682755,
0.0021873731166124344,
-0.029985999688506126,
0.02643299289047718,
-0.05496002733707428,
0.026776278391480446,
0.06498397141695023,
0.008380460552871227,
0.0003379217814654112,
0.018211301416158676,
-0.010058268904685974,
0.012212386354804039,
-0.03831067681312561,
0.014100456610321999,
-0.00039236474549397826,
-0.012349700555205345,
0.019052352756261826,
0.005574100185185671,
-0.01766204461455345,
0.00010332092642784119,
0.07112877815961838,
-0.05197344347834587,
-0.024527758359909058,
0.031925562769174576,
-0.002379398560151458,
0.0750422403216362,
0.018056822940707207,
0.014967253431677818,
-0.06666606664657593,
0.019927730783820152,
-0.05969737097620964,
-0.05132120102643967,
-0.011268350295722485,
0.043322645127773285,
0.008041465654969215,
-0.05348389968276024,
-0.0656018853187561,
0.010392972268164158,
0.005303762853145599,
0.0056298840790987015,
0.05526898428797722,
-0.044524144381284714,
0.07497358322143555,
0.04414653033018112,
-0.03693753108382225,
0.013362392783164978,
-0.048849545419216156,
-0.004256741609424353,
0.020682958886027336,
0.021558336913585663,
-0.01664935238659382,
-0.02197027951478958,
-0.027462849393486977,
-0.0175333134829998,
0.02528298646211624,
0.017627716064453125,
-0.014915760606527328,
0.03242332860827446,
-0.03477483242750168,
0.03194272890686989,
-0.04270473122596741,
0.002722684061154723,
-0.0002736898313742131,
0.03189123421907425,
0.06742129474878311,
-0.08142735064029694,
-0.02169565111398697,
-0.034809160977602005,
0.03264646232128143,
0.06361082196235657,
-0.0610705129802227,
-0.052522700279951096,
0.02044265903532505,
-0.04157188907265663,
0.006127648521214724,
-0.001211154623888433,
-0.029608385637402534,
-0.015362031757831573,
0.015791138634085655,
-0.013122092932462692,
-0.04318533092737198,
0.008032883517444134,
-0.02185012958943844,
-0.028355391696095467,
0.010556032881140709,
-0.00689574982970953,
-0.019464295357465744,
-0.01460680365562439,
-0.06718099862337112,
0.010581779293715954,
-0.04898685961961746,
0.017327342182397842,
0.03151362016797066,
0.03110167756676674,
-0.008865350857377052,
0.07408103346824646,
0.0001916231121867895,
0.03462035581469536,
0.011946340091526508,
0.053209271281957626,
0.022828493267297745,
0.029556892812252045,
0.007818330079317093,
0.030775556340813637,
0.01689823530614376,
0.03841366246342659,
0.0676615983247757,
0.009225800633430481,
0.02123221568763256,
-0.06388545781373978,
-0.07971092313528061,
0.04325398802757263,
-0.008646506816148758,
0.043219659477472305,
0.014151949435472488,
0.0030252046417444944,
0.08781246095895767,
-0.011225439608097076,
0.040850989520549774,
-0.0005589118809439242,
-0.00520077720284462,
-0.012117982842028141,
0.04493608698248863,
-0.026089707389473915,
0.04081666097044945,
-0.11129319667816162,
-0.013551199808716774,
-0.006243507377803326,
0.015945617109537125,
-0.001279811724089086,
0.063130222260952,
-0.01944713108241558,
-0.006771308835595846,
0.01754189468920231,
0.04277338832616806,
0.008277474902570248,
0.03084421344101429,
-0.028029270470142365,
0.08286914974451065,
-0.013087764382362366,
0.07112877815961838,
-0.00488752918317914,
-0.0175333134829998,
-0.011628800071775913,
0.005539771635085344,
-0.007024481892585754,
-0.05423912778496742,
0.021266544237732887,
-0.028149420395493507,
0.020219523459672928,
-0.01670084521174431,
-0.006852839142084122,
0.025677764788269997,
0.05314061418175697,
-0.018537422642111778,
-0.04514205828309059,
-0.019824745133519173,
-0.008839604444801807,
0.008530647493898869,
-0.046309228986501694,
0.027359863743185997,
0.015138896182179451,
0.029917342588305473,
0.04150323197245598,
0.0017679209122434258
] |
713,360
|
xmlschema.validators.schemas
|
__setattr__
| null |
def __setattr__(self, name: str, value: Any) -> None:
if name == 'maps':
if self.meta_schema is None and hasattr(self, 'maps'):
msg = _("cannot change the global maps instance of a meta-schema")
raise XMLSchemaValueError(msg)
super().__setattr__(name, value)
self.notations = NamespaceView(value.notations, self.target_namespace)
self.types = NamespaceView(value.types, self.target_namespace)
self.attributes = NamespaceView(value.attributes, self.target_namespace)
self.attribute_groups = NamespaceView(value.attribute_groups,
self.target_namespace)
self.groups = NamespaceView(value.groups, self.target_namespace)
self.elements = NamespaceView(value.elements, self.target_namespace)
self.substitution_groups = NamespaceView(value.substitution_groups,
self.target_namespace)
self.identities = NamespaceView(value.identities, self.target_namespace)
value.register(self)
else:
if name == 'validation':
check_validation_mode(value)
super().__setattr__(name, value)
|
(self, name: str, value: Any) -> NoneType
|
[
0.06890439987182617,
-0.002019193721935153,
0.017431283369660378,
0.010902713052928448,
-0.033538199961185455,
0.02689771167933941,
0.00830993801355362,
-0.0051109385676681995,
0.029956813901662827,
0.002979826182126999,
-0.019567059352993965,
0.005026999395340681,
0.039581794291734695,
0.03568330407142639,
0.022756733000278473,
0.011163855902850628,
0.0049990201368927956,
0.04364816099405289,
0.0029331936966627836,
-0.008734295144677162,
0.008641029708087444,
-0.021264487877488136,
0.02766248770058155,
-0.011546243913471699,
0.025983711704611778,
0.03318379446864128,
-0.03514236584305763,
0.0021824080031365156,
0.05502652749419212,
-0.04006677120923996,
-0.060958199203014374,
-0.05875713750720024,
0.029173385351896286,
-0.008384549990296364,
0.09692129492759705,
-0.05972709879279137,
-0.06998627632856369,
0.046147670596838,
-0.011126549914479256,
-0.009858141653239727,
0.047527994960546494,
-0.009699591435492039,
-0.07498530298471451,
-0.037362080067396164,
0.04853526130318642,
0.07103084772825241,
-0.011770080775022507,
0.0829688087105751,
-0.0020028722938150167,
0.029826242476701736,
-0.009923427365720272,
-0.007657080888748169,
0.006887642201036215,
0.05446693301200867,
-0.04506579041481018,
0.07054587453603745,
0.004556010011583567,
0.09893582761287689,
0.04148440435528755,
0.006990233901888132,
-0.033388976007699966,
0.009452437981963158,
-0.025274895131587982,
-0.04678187519311905,
-0.029154732823371887,
-0.03805224224925041,
-0.015444733202457428,
-0.030199304223060608,
-0.01351414155215025,
0.05222856625914574,
0.010520325973629951,
-0.049505218863487244,
-0.005591254681348801,
0.01259081531316042,
0.03508640453219414,
0.06077167019248009,
-0.058980975300073624,
0.007363295182585716,
0.00668245879933238,
-0.02096603997051716,
0.023223059251904488,
0.010035346262156963,
-0.01740330457687378,
-0.02279403805732727,
-0.026319466531276703,
0.045923832803964615,
-0.040663670748472214,
-0.00721873389557004,
0.04730416089296341,
-0.03454546630382538,
-0.002595106838271022,
0.03700767084956169,
0.004322846420109272,
0.07692521810531616,
-0.02611428312957287,
-0.002837596694007516,
0.021935997530817986,
-0.09043003618717194,
-0.02014530450105667,
0.018382590264081955,
0.035515423864126205,
-0.01377528440207243,
-0.012077855877578259,
0.0019958773627877235,
0.009452437981963158,
-0.02079816162586212,
0.009690264239907265,
-0.032232485711574554,
-0.006407326087355614,
0.002197563648223877,
0.013924509286880493,
-0.028166120871901512,
0.004779846407473087,
0.0724484845995903,
-0.015565978363156319,
0.01566857099533081,
0.004082688596099615,
-0.017711080610752106,
0.05084824189543724,
-0.0007554489420726895,
0.006836346350610256,
0.02753191627562046,
0.026263507083058357,
0.029583752155303955,
0.06972513347864151,
0.03728746622800827,
0.046968404203653336,
0.05424309894442558,
0.05595917999744415,
-0.009970060549676418,
-0.01990281417965889,
-0.023633426055312157,
-0.02320440672338009,
-0.025629304349422455,
0.05704105645418167,
0.0010865407530218363,
0.015043692663311958,
0.008086101152002811,
-0.05204203724861145,
0.03909681364893913,
-0.0237080380320549,
0.025125671178102493,
0.025013752281665802,
-0.026580609381198883,
-0.0141763249412179,
0.007974183186888695,
-0.01232034619897604,
0.08610252290964127,
-0.036821138113737106,
-0.048684485256671906,
-0.008920826017856598,
0.0032106579747051,
-0.013001182116568089,
0.02755056880414486,
-0.07032203674316406,
0.03995485231280327,
-0.0051529076881706715,
0.0035580710973590612,
0.030106037855148315,
0.02070489712059498,
-0.011695468798279762,
0.005120264831930399,
-0.03245632350444794,
-0.07442570477724075,
0.0210779570043087,
0.041036732494831085,
0.008114080876111984,
-0.06830750405788422,
0.023260366171598434,
0.018345283344388008,
-0.017338018864393234,
-0.05655607581138611,
0.02161889523267746,
0.06491264700889587,
0.06931477040052414,
0.026002364233136177,
0.023894568905234337,
-0.005927009508013725,
0.011126549914479256,
0.05103477090597153,
0.04510309919714928,
0.03133714199066162,
-0.0329599566757679,
0.013411549851298332,
0.0018641401547938585,
0.029565099626779556,
-0.01763646863400936,
0.026823099702596664,
0.06230121850967407,
0.07013550400733948,
0.09236995130777359,
-0.009718243964016438,
-0.009802183136343956,
-0.005945662967860699,
-0.000523742928635329,
-0.025647956877946854,
-0.012525529600679874,
-0.04797567054629326,
-0.030796201899647713,
0.07151582837104797,
0.018923528492450714,
0.003390193684026599,
-0.010641570203006268,
0.04819950461387634,
0.035105057060718536,
-0.028818977996706963,
0.059242118149995804,
-0.03935795649886131,
-0.01750589720904827,
-0.03799628093838692,
0.016582569107413292,
-0.033015914261341095,
-0.005787111818790436,
0.013318284414708614,
0.033295709639787674,
-0.07293346524238586,
-0.032736118882894516,
-0.022365018725395203,
0.002581117209047079,
0.014325549826025963,
0.08886317908763885,
0.06263697147369385,
0.02609563060104847,
-0.05245240405201912,
0.004651606548577547,
-0.05375811830163002,
0.008146723732352257,
-0.1356450468301773,
-0.025274895131587982,
0.05248970910906792,
0.008016152307391167,
0.014885141514241695,
-0.02212252840399742,
-0.017701754346489906,
0.02781171165406704,
-0.0003745184512808919,
0.08520717918872833,
-0.05323583260178566,
-0.007587132044136524,
0.002732673194259405,
0.018904875963926315,
-0.015332815237343311,
-0.045252323150634766,
0.0037515966687351465,
-0.02624485455453396,
0.010100631974637508,
-0.05517575144767761,
0.02913607843220234,
0.006225458811968565,
0.005703173112124205,
0.019473794847726822,
-0.012068529613316059,
-0.022290406748652458,
0.034993138164281845,
-0.015323488041758537,
-0.033295709639787674,
-0.07714905589818954,
0.010977325960993767,
0.03137444704771042,
-0.02728942595422268,
-0.029863549396395683,
-0.0158271212130785,
0.005138917826116085,
0.02423032373189926,
0.016825059428811073,
-0.024995099753141403,
0.020350487902760506,
0.022290406748652458,
-0.0421559140086174,
-0.02212252840399742,
-0.03725016117095947,
0.03359416127204895,
-0.0157991424202919,
0.019324569031596184,
-0.016899671405553818,
-0.03637346625328064,
0.012348325923085213,
-0.007232723757624626,
0.002583448775112629,
-0.017860304564237595,
0.057264894247055054,
-0.049355994910001755,
0.034060485661029816,
0.0171328354626894,
-0.007433244492858648,
-0.05629493296146393,
-0.010697529651224613,
0.036895751953125,
0.0002086811000481248,
-0.058570608496665955,
-0.007964856922626495,
0.028371304273605347,
-0.03721285238862038,
0.04898293316364288,
0.0003966689691878855,
-0.02477126382291317,
-0.07218734174966812,
0.0566679947078228,
-0.01964167132973671,
-0.022980568930506706,
0.04726685211062431,
0.023745344951748848,
-0.0024878517724573612,
0.06371885538101196,
0.04584921896457672,
-0.019585711881518364,
0.03348224237561226,
0.011182509362697601,
-0.0008382218657061458,
0.060659751296043396,
-0.011826040223240852,
0.03846260905265808,
-0.11147068440914154,
0.01962301880121231,
0.07464954257011414,
0.04834873229265213,
0.01988416165113449,
-0.02531220205128193,
-0.002844591625034809,
0.0553622804582119,
0.012917243875563145,
-0.05234048515558243,
-0.0804319903254509,
-0.07196350395679474,
0.0128426318988204,
-0.019660325720906258,
0.061070118099451065,
-0.02848322130739689,
0.02055567130446434,
-0.016396040096879005,
-0.05491460859775543,
-0.045140404254198074,
0.021674854680895805,
0.004831142257899046,
-0.03732477128505707,
-0.02635677345097065,
-0.017058223485946655,
-0.028800323605537415,
-0.024304937571287155,
-0.01140634622424841,
0.021021997556090355,
0.0778205618262291,
-0.07084432244300842,
-0.06558416038751602,
-0.00576845882460475,
0.0003270114539191127,
-0.06271158903837204,
0.009471091441810131,
0.03346358984708786,
-0.005931673105806112,
-0.06804636120796204,
0.005815091542899609,
0.020089345052838326,
0.007102152332663536,
0.0243982020765543,
-0.041559018194675446,
-0.013085121288895607,
0.007936877198517323,
-0.0368584468960762,
-0.03812685236334801,
-0.0064306422136723995,
-0.032213833183050156,
0.02663656882941723,
-0.028147466480731964,
0.015537998639047146,
-0.011173183098435402,
-0.033799342811107635,
-0.00334356096573174,
0.0487217903137207,
-0.042230527848005295,
0.023409590125083923,
-0.043424323201179504,
-0.02898685447871685,
-0.0073399790562689304,
0.03493718057870865,
0.033687423914670944,
0.030796201899647713,
0.00681303022429347,
-0.059615179896354675,
-0.08058121800422668,
0.06364423781633377,
0.041559018194675446,
0.0408501997590065,
0.02937856875360012,
0.042230527848005295,
-0.03581387549638748,
0.060697056353092194,
0.028800323605537415,
-0.0027093568351119757,
0.021021997556090355,
0.014073733240365982,
0.03805224224925041,
0.0021252830047160387,
0.012795998714864254,
-0.008771601133048534,
0.011695468798279762,
-0.056071098893880844,
-0.016237488016486168,
0.032232485711574554,
0.01258148904889822,
-0.006071570795029402,
-0.03891028091311455,
0.0010643901769071817,
0.04073828086256981,
0.04006677120923996,
0.001934089115820825,
-0.009195958264172077,
0.02859514020383358,
0.012441590428352356,
0.044207751750946045,
-0.03622424229979515,
-0.011117223650217056,
0.010967998765408993,
-0.08087966591119766,
0.03307187557220459,
-0.018802283331751823,
0.039731018245220184,
-0.0016834386624395847,
0.004124657716602087,
-0.013737978413701057,
-0.019977426156401634,
0.038686446845531464,
0.013150407001376152,
0.049355994910001755,
0.01767377369105816,
-0.03917142376303673,
0.00734464218840003,
-0.05178089439868927,
0.010371101088821888,
0.04599844664335251,
-0.014978406950831413,
0.031318485736846924,
-0.007503193337470293,
-0.05827215686440468,
0.023763997480273247,
-0.06383077055215836,
-0.0064353058114647865,
-0.07610448449850082,
-0.04178285226225853,
-0.024603385478258133,
-0.00442077498883009,
-0.02053701877593994,
0.0050456528551876545,
0.01896083541214466,
-0.022290406748652458,
-0.013066467829048634,
-0.07356766611337662,
0.07606717944145203,
0.010641570203006268,
-0.02753191627562046,
-0.018681040033698082,
-0.00120312231592834,
0.014801203273236752,
0.007367958780378103,
0.0054420302622020245,
-0.02792363055050373,
-0.015286182053387165,
-0.09908505529165268,
0.035515423864126205,
-0.026058323681354523,
-0.04043983295559883,
-0.040663670748472214,
-0.02646869234740734,
-0.007190754637122154,
-0.03264285624027252,
0.08856472373008728,
-0.000826563686132431,
-0.002480856841430068,
0.004602642264217138,
-0.033015914261341095,
0.01647997833788395,
-0.03135579451918602,
0.04361085221171379,
-0.043424323201179504,
-0.03387395665049553,
-0.0037236169446259737,
-0.042640894651412964,
-0.01211516186594963,
-0.05584726110100746,
-0.03700767084956169,
0.015528672374784946,
0.049617137759923935,
0.056593384593725204,
0.01542608067393303,
0.004635285120457411,
0.012488223612308502,
0.05677991360425949,
-0.053832728415727615,
0.0007519514765590429,
0.0659572184085846,
-0.007764336187392473,
0.037082280963659286,
-0.005414050538092852,
0.005479336250573397,
-0.005833744537085295,
-0.00427854573354125,
0.014997060410678387,
-0.001484084059484303,
0.0157991424202919,
0.0016950968420132995,
-0.028781671077013016,
-0.057003751397132874,
-0.054355014115571976,
0.011303754523396492,
0.049244076013565063,
0.007787652313709259,
-0.05942864716053009,
0.012730713002383709,
0.003164025256410241,
-0.03189673274755478,
-0.022476937621831894,
-0.012040549889206886,
0.034713342785835266,
0.03792167082428932,
0.020984692499041557,
-0.04939330369234085,
-0.014735917560756207,
-0.002357280347496271,
-0.04167093709111214,
-0.02083546854555607,
0.008188692852854729,
-0.029975466430187225,
0.005036326125264168,
-0.027457304298877716,
-0.0019830535165965557,
-0.01804683543741703,
-0.03305322304368019,
-0.013131753541529179,
0.00695292791351676,
0.005008346401154995,
0.022365018725395203,
-0.021525630727410316,
-0.02977028302848339,
0.03213922306895256,
0.046856485307216644,
0.07729827612638474,
0.04159632325172424,
-0.006850336212664843,
0.01159287616610527,
0.019287263974547386,
-0.0020588315092027187,
-0.003224647603929043,
-0.006491264794021845,
0.02490183524787426,
0.024472814053297043,
-0.018923528492450714,
-0.055287670344114304,
-0.027457304298877716,
0.04838603734970093,
-0.0527508519589901,
-0.061592403799295425,
0.0002225251664640382,
0.011117223650217056,
0.016424018889665604,
-0.0487217903137207,
-0.03480660915374756,
0.03521697595715523,
-0.00589903024956584,
0.01325299870222807,
0.0474533848464489,
0.009303213097155094,
0.02268212102353573,
0.04760260879993439,
0.04678187519311905,
0.03861183300614357,
0.03805224224925041,
-0.05812293291091919,
-0.03732477128505707,
-0.010109958238899708,
0.04357354715466499,
-0.001513229450210929,
-0.04495387524366379,
0.027475956827402115,
-0.03626154735684395,
0.006178826093673706,
0.06759868562221527,
0.021395059302449226,
0.05424309894442558,
-0.0408501997590065,
-0.06577068567276001,
-0.06547223776578903,
0.035776566714048386,
-0.019958773627877235,
-0.02594640664756298,
0.030889466404914856,
-0.024883180856704712,
0.0025041732005774975,
0.08766938000917435,
-0.007363295182585716,
-0.02318575233221054,
-0.08468489348888397,
-0.0184292234480381,
-0.03943256661295891,
-0.005777785088866949,
0.005628560669720173,
-0.0184292234480381,
-0.0434616282582283,
-0.08237191289663315,
0.05525036156177521,
-0.024043794721364975,
-0.03385530412197113,
0.0061928159557282925,
-0.011005304753780365,
0.01481985580176115,
-0.0035720609594136477,
-0.004621295724064112,
0.005013009998947382,
0.022309059277176857,
0.01456803921610117,
-0.006248774938285351,
0.0022989895660430193,
0.009951407089829445,
0.0006971581024117768,
-0.018149426206946373,
0.013812590390443802,
-0.021376406773924828,
-0.04528962820768356,
0.05812293291091919,
-0.0085617545992136,
-0.07416456192731857,
0.01080944761633873,
-0.007932214066386223,
-0.025107018649578094,
-0.05722758546471596,
-0.019399182870984077,
0.005054979119449854,
0.013933835551142693,
0.02796093560755253,
-0.003977764863520861,
-0.04547616094350815,
0.03527293726801872,
-0.030870813876390457,
-0.005474673118442297,
-0.12408015131950378,
0.042864732444286346,
0.01674112118780613,
0.003411178244277835,
0.012656101025640965,
-0.0032153211068361998,
0.00045991450315341353,
-0.003560402663424611,
-0.01297320332378149,
0.06502456963062286,
0.022849997505545616,
-0.04111134260892868,
0.04417044669389725,
0.0063653565011918545,
-0.028408609330654144,
0.002457540715113282,
0.023428242653608322,
-0.015062346123158932,
0.007092826068401337,
-0.0047565302811563015,
0.0028049538377672434,
0.1134105995297432,
0.013728652149438858,
-0.04939330369234085,
-0.007713040336966515,
0.022626161575317383,
-0.021973304450511932,
-0.09110154211521149,
-0.0033575508277863264,
0.011285101063549519,
-0.006743080914020538,
0.030273916199803352,
0.016825059428811073,
0.0026044335681945086,
-0.03310918062925339,
-0.0009792856872081757,
0.029677018523216248,
-0.0395071804523468,
-0.012497549876570702,
-0.014894467778503895,
0.01323434617370367,
-0.0342470183968544,
-0.057115670293569565,
0.023428242653608322,
-0.021413711830973625,
0.008314601145684719,
0.011630183085799217,
-0.06386807560920715,
0.012656101025640965,
-0.00414797430858016,
-0.0070088873617351055,
-0.020592978224158287,
-0.016153549775481224,
0.026263507083058357,
0.0017335687298327684,
0.06819558888673782,
-0.023913223296403885,
-0.023353630676865578,
-0.06397999823093414,
0.004406785126775503,
0.03672787547111511,
-0.07091893255710602,
-0.02531220205128193,
0.024603385478258133,
-0.028949549421668053,
0.013075795024633408,
0.04312587529420853,
0.035235628485679626,
0.0283526498824358,
-0.023633426055312157,
-0.0355340801179409,
0.022066568955779076,
-0.010389754548668861,
-0.00026376591995358467,
-0.01192863192409277,
0.03005007840692997,
0.0026743824128061533,
0.050661709159612656,
0.000170354891452007,
0.00935450941324234,
-0.06707639992237091,
0.006729091051965952,
-0.022047916427254677,
-0.007768999319523573,
0.032997261732816696,
0.01482918206602335,
0.018149426206946373,
0.003597708884626627,
0.04152170941233635,
0.02714020200073719,
-0.039320651441812515,
-0.014726590365171432,
0.0038215455133467913,
-0.017114182934165,
-0.015407427214086056,
0.04376007616519928,
0.023801304399967194,
0.03333301842212677,
0.061219342052936554,
-0.04916946589946747,
0.04308856651186943,
-0.009932754561305046,
-0.011704795062541962,
0.0012754029594361782,
0.02255154959857464,
-0.013225018978118896,
0.04424505680799484,
0.021245835348963737,
0.05547419935464859,
-0.0005782448570244014,
0.011107897385954857,
-0.0309454258531332,
0.034843914210796356,
-0.016526611521840096,
0.03135579451918602,
-0.0024318925570696592,
0.11833500862121582,
-0.006066907662898302,
0.007256040349602699,
-0.012077855877578259,
0.014885141514241695,
0.024304937571287155,
-0.04320048540830612,
0.04387199506163597,
-0.0210966095328331,
0.03861183300614357,
-0.025647956877946854,
-0.03842530399560928,
0.027457304298877716,
-0.06409191340208054,
-0.002170749707147479,
0.06282350420951843,
0.042603589594364166,
-0.013346264138817787,
0.012562835589051247
] |
713,361
|
xmlschema.validators.schemas
|
__setstate__
| null |
def __setstate__(self, state: Dict[str, Any]) -> None:
self.__dict__.update(state)
self.lock = threading.Lock()
|
(self, state: Dict[str, Any]) -> NoneType
|
[
-0.007636737544089556,
0.012101433239877224,
-0.02291938103735447,
0.02827334776520729,
-0.015631018206477165,
-0.009607804007828236,
-0.05141275376081467,
0.035754233598709106,
0.003045985708013177,
-0.07356204092502594,
-0.04682887718081474,
0.06362420320510864,
-0.01936229318380356,
0.05786685273051262,
-0.0661911740899086,
-0.01989402249455452,
0.0008291085832752287,
0.026311447843909264,
-0.07781588286161423,
-0.030987001955509186,
-0.00968114659190178,
0.01500761043280363,
0.06652121245861053,
0.07301197946071625,
-0.008741451427340508,
-0.021855920553207397,
-0.007402959745377302,
-0.03375566378235817,
0.06461431831121445,
0.007279195357114077,
0.03731274977326393,
-0.013797466643154621,
-0.02110416628420353,
0.015841875225305557,
0.03412237390875816,
-0.03751444071531296,
-0.010157869197428226,
0.042391687631607056,
-0.03258218988776207,
-0.028475038707256317,
-0.00921817496418953,
-0.007586314808577299,
-0.018601369112730026,
0.012248116545379162,
0.030950332060456276,
0.043711841106414795,
0.026219770312309265,
0.052146174013614655,
0.07128844410181046,
-0.040118083357810974,
0.004457819275557995,
-0.014659236185252666,
-0.019398963078856468,
0.015539339743554592,
-0.026898184791207314,
0.03560755029320717,
0.04690222069621086,
0.030491944402456284,
-0.0014931976329535246,
0.0018003173172473907,
-0.04712224751710892,
-0.018161317333579063,
0.007283779326826334,
-0.04880911111831665,
-0.03304057940840721,
-0.020939145237207413,
-0.028713399544358253,
0.06336750090122223,
-0.0018301125383004546,
0.0108362827450037,
0.03250885009765625,
-0.0034172795712947845,
0.019985700026154518,
-0.027594933286309242,
-0.05467647314071655,
0.053979724645614624,
-0.108179472386837,
0.052732910960912704,
-0.021269185468554497,
0.006623700726777315,
0.01783127710223198,
-0.016272760927677155,
-0.026403125375509262,
0.04345514625310898,
-0.06069051846861839,
-0.014906764961779118,
0.009965346194803715,
-0.007966776378452778,
-0.04866242781281471,
-0.04341847449541092,
-0.011588038876652718,
0.08639689534902573,
-0.012504814192652702,
0.010891289450228214,
0.025504685938358307,
-0.007687160279601812,
-0.016428612172603607,
-0.0012525441125035286,
-0.04701223224401474,
-0.011423018760979176,
-0.0542730912566185,
-0.09593135863542557,
0.01200058776885271,
-0.06681457906961441,
-0.01601606234908104,
-0.08478337526321411,
0.0054227253422141075,
-0.057610154151916504,
-0.008223474025726318,
-0.03078531101346016,
0.00707292091101408,
-0.03181210160255432,
-0.03624929115176201,
0.03331561014056206,
-0.00016301409050356597,
0.05434643477201462,
0.0024821688421070576,
-0.06978493183851242,
0.0033095586113631725,
0.017125360667705536,
0.005752764642238617,
0.05739012733101845,
0.0031353712547570467,
0.0603238083422184,
0.007632153574377298,
0.04448193311691284,
-0.015200133435428143,
0.048405732959508896,
0.06916151940822601,
-0.050349295139312744,
-0.03232549503445625,
0.011202992871403694,
0.0354425311088562,
0.04022809490561485,
0.023286091163754463,
0.017629588022828102,
-0.04389519616961479,
-0.021929264068603516,
-0.0006772676715627313,
0.002447789767757058,
0.005056015215814114,
-0.01087295450270176,
0.018170485273003578,
-0.007833844050765038,
0.11654046922922134,
0.02897009626030922,
-0.028603386133909225,
0.013458260335028172,
0.00308494851924479,
0.0037541945930570364,
0.0566200390458107,
-0.02231430821120739,
0.016116907820105553,
0.026311447843909264,
-0.08500339835882187,
0.03920130804181099,
-0.008970645256340504,
-0.016721980646252632,
-0.0049689216539263725,
0.028401697054505348,
0.005771100055426359,
-0.037697795778512955,
0.0014427750138565898,
-0.028713399544358253,
-0.013678286224603653,
0.0253763385117054,
-0.020095713436603546,
-0.029685180634260178,
-0.010817947797477245,
-0.04591210186481476,
-0.04536203667521477,
-0.06897816807031631,
-0.022626012563705444,
0.06314747780561447,
0.01140468381345272,
0.045508719980716705,
-0.038834597915410995,
-0.02532133087515831,
-0.001506949309259653,
-0.023946167901158333,
-0.013614111579954624,
-0.00603696471080184,
-0.07345203310251236,
0.0540897361934185,
0.003103284165263176,
-0.011285502463579178,
-0.014384203590452671,
0.008030951023101807,
0.054529789835214615,
0.04411522299051285,
0.01749207079410553,
-0.03780781105160713,
-0.03507582098245621,
-0.023616129532456398,
-0.03151873126626015,
0.03868791460990906,
-0.04576541855931282,
-0.1050257682800293,
0.042941752821207047,
0.06699793040752411,
-0.0007574855117127299,
-0.03687269985675812,
0.011322174221277237,
0.012844020500779152,
0.04173160716891289,
-0.019417298957705498,
0.014815087430179119,
0.0031468309462070465,
0.08933057636022568,
0.003421863541007042,
-0.014998442493379116,
-0.04525202512741089,
-0.006779552903026342,
0.05313629284501076,
0.02946515567600727,
-0.07238857448101044,
0.038174521178007126,
0.04312510788440704,
0.050789348781108856,
-0.01387997716665268,
0.0757623016834259,
0.04455527663230896,
-0.008200554177165031,
-0.0744054764509201,
-0.021195843815803528,
-0.004370725713670254,
-0.005972790531814098,
-0.05060599371790886,
-0.05232952907681465,
0.018793892115354538,
0.0040888176299631596,
0.00016917368338909,
0.013439924456179142,
0.011267167516052723,
0.042355015873909,
-0.005321880336850882,
-0.004304259549826384,
-0.02290104515850544,
-0.05482315644621849,
0.027484921738505363,
0.020645778626203537,
-0.0043730176985263824,
0.03443407639861107,
-0.021929264068603516,
-0.030436936765909195,
-0.02169090136885643,
0.010744605213403702,
0.06663122028112411,
-0.04349181801080704,
0.013412421569228172,
-0.010469572618603706,
0.006664955988526344,
-0.05823356285691261,
-0.021947598084807396,
-0.0012067053467035294,
-0.0036968961358070374,
0.06498102843761444,
0.04437192156910896,
-0.010753773152828217,
0.008053869940340519,
-0.013375750742852688,
-0.06996828317642212,
-0.04176827892661095,
-0.011001302860677242,
0.06025046855211258,
0.019417298957705498,
0.04224500060081482,
0.0014966354938223958,
-0.06164396554231644,
0.0019836723804473877,
0.1433103084564209,
-0.008081373758614063,
0.00279616448096931,
0.05728011578321457,
-0.017327051609754562,
-0.05595995858311653,
0.035204168409109116,
-0.02766827680170536,
-0.04979922994971275,
-0.020609106868505478,
0.09109078347682953,
0.023102736100554466,
0.04030143842101097,
0.041841622442007065,
-0.025046298280358315,
-0.02533966675400734,
-0.00014697053120471537,
0.0626707524061203,
0.006706210784614086,
-0.028658393770456314,
0.017574580386281013,
0.028695063665509224,
0.02356112375855446,
0.023799484595656395,
0.035754233598709106,
-0.019545648247003555,
-0.08126295357942581,
0.04759896919131279,
0.02658648043870926,
0.043051764369010925,
0.046132128685712814,
-0.041218213737010956,
-0.057023417204618454,
0.04459194839000702,
0.020150719210505486,
-0.04165826737880707,
0.028511708602309227,
0.047342270612716675,
-0.0014634024119004607,
0.007453382480889559,
0.037019383162260056,
0.04231834411621094,
-0.05966373160481453,
0.030326923355460167,
0.031610410660505295,
-0.02159922383725643,
-0.021947598084807396,
-0.03379233554005623,
-0.020975816994905472,
0.05654669553041458,
-0.04998258501291275,
-0.0624873973429203,
-0.03727608174085617,
0.023304425179958344,
-0.02106749452650547,
-0.004730560351163149,
0.041841622442007065,
0.011560535058379173,
-0.004196538589894772,
-0.007843011990189552,
-0.10341224819421768,
-0.0036120943259447813,
0.04074149206280708,
0.01715286448597908,
-0.0628541111946106,
0.010579586029052734,
-0.012834853492677212,
-0.03978804498910904,
0.010845450684428215,
-0.014659236185252666,
0.012917363084852695,
0.027924973517656326,
-0.049065809696912766,
-0.0036189702805131674,
-0.020169055089354515,
-0.0033806085120886564,
0.014961771667003632,
0.011753058061003685,
0.08683694899082184,
-0.03967802971601486,
-0.08104293048381805,
0.005853609647601843,
0.024349549785256386,
0.039531346410512924,
0.03300390765070915,
-0.017675425857305527,
0.009080658666789532,
-0.04044812172651291,
-0.023707807064056396,
-0.05243954062461853,
-0.015429327264428139,
0.017372889444231987,
-0.030987001955509186,
-0.00559232896193862,
0.0251929834485054,
0.0295751690864563,
-0.04393186792731285,
-0.02889675460755825,
0.01927061565220356,
-0.036469317972660065,
0.021250849589705467,
-0.09211757034063339,
-0.04561873525381088,
0.09131081402301788,
0.05064266175031662,
0.007664240896701813,
-0.06930820643901825,
0.0047534797340631485,
-0.0150809520855546,
-0.0022289096377789974,
0.043711841106414795,
-0.056216657161712646,
0.07484553009271622,
0.05166945233941078,
-0.014338364824652672,
0.022644348442554474,
0.05504318326711655,
-0.0037954493891447783,
0.07634904235601425,
0.022736025974154472,
-0.0480390228331089,
0.012779846787452698,
0.001903454540297389,
0.013494931161403656,
-0.004762647207826376,
0.007027082145214081,
0.04437192156910896,
-0.02350611612200737,
0.01354993786662817,
-0.01533764973282814,
0.022442657500505447,
-0.0008302545757032931,
-0.03300390765070915,
0.00958946906030178,
0.046058785170316696,
0.008214306086301804,
0.014613397419452667,
0.059957098215818405,
0.0006652350421063602,
-0.08331653475761414,
0.001470278250053525,
-0.028475038707256317,
-0.015475166030228138,
-0.04642549529671669,
-0.009571133181452751,
-0.028016651049256325,
0.03447074815630913,
-0.06091054528951645,
0.029135117307305336,
0.04257504269480705,
0.04385852813720703,
0.03978804498910904,
0.01978400908410549,
0.028731735423207283,
-0.03151873126626015,
-0.0003930673701688647,
0.000860049738548696,
-0.03755111247301102,
0.053282976150512695,
0.027338236570358276,
-0.02764994092285633,
0.044775303453207016,
-0.029996884986758232,
0.0544564463198185,
0.04096151515841484,
-0.015777701511979103,
-0.009254845790565014,
-0.0411815419793129,
-0.012917363084852695,
0.008058453910052776,
0.0059590390883386135,
-0.017015347257256508,
0.016611967235803604,
-0.0004317438288126141,
0.02359779365360737,
-0.0023217331618070602,
-0.013467428274452686,
0.042465027421712875,
0.05588661879301071,
-0.018903905525803566,
-0.011313006281852722,
0.0005795738543383777,
-0.03551587089896202,
-0.00008394222822971642,
-0.02346944622695446,
0.025706376880407333,
-0.020260732620954514,
-0.01118465792387724,
-0.0017636463744565845,
-0.023231083527207375,
-0.013229066506028175,
-0.017822111025452614,
-0.061130572110414505,
0.09365775436162949,
-0.006009461358189583,
0.022626012563705444,
-0.013650783337652683,
-0.009433616884052753,
-0.003382900496944785,
0.008484754711389542,
-0.013467428274452686,
0.003728983225300908,
0.0006595051963813603,
-0.02526632510125637,
-0.03245384246110916,
-0.026403125375509262,
-0.01290819514542818,
-0.011826400645077229,
-0.04701223224401474,
-0.01328407321125269,
0.021525882184505463,
0.03602926433086395,
0.040118083357810974,
0.008723116479814053,
-0.002306835725903511,
-0.037092726677656174,
0.09079741686582565,
0.015438494272530079,
0.07708246260881424,
-0.004489906597882509,
-0.047818996012210846,
-0.02293771505355835,
0.025064634159207344,
-0.00961697194725275,
0.01989402249455452,
0.010423733852803707,
-0.09277765452861786,
0.004203414544463158,
0.021360863000154495,
-0.029043439775705338,
-0.014622564427554607,
-0.020279068499803543,
-0.004446359816938639,
0.02220429666340351,
0.024899614974856377,
0.004434899892657995,
-0.04767231270670891,
0.010011184960603714,
0.010295385494828224,
0.0108362827450037,
0.018142981454730034,
0.02411118894815445,
0.027851631864905357,
-0.031647078692913055,
0.023817820474505424,
-0.05489649996161461,
-0.04928583651781082,
0.01845468580722809,
-0.05262289568781853,
-0.03810117766261101,
0.0408148318529129,
0.023909498006105423,
0.07884266972541809,
-0.011331341229379177,
-0.024312878027558327,
-0.027374908328056335,
0.08228974044322968,
-0.048405732959508896,
-0.007554227951914072,
0.007219604682177305,
-0.027338236570358276,
-0.011423018760979176,
-0.031097015365958214,
0.05783018097281456,
0.02831001952290535,
0.01323823444545269,
0.0014874677872285247,
-0.019398963078856468,
-0.05361301451921463,
-0.0294834915548563,
0.012513982132077217,
-0.014906764961779118,
0.0480390228331089,
-0.00541814137250185,
-0.0011826400877907872,
0.023121070116758347,
-0.05551990866661072,
0.0007804048946127295,
-0.03430572897195816,
-0.037697795778512955,
-0.02053576521575451,
-0.054529789835214615,
-0.01082711573690176,
-0.027484921738505363,
-0.032710541039705276,
-0.058086879551410675,
0.05119272693991661,
-0.015539339743554592,
0.029905207455158234,
0.009855333715677261,
-0.0030734888277947903,
0.041291557252407074,
-0.00353646045550704,
0.010002017952501774,
0.047305602580308914,
-0.03313225507736206,
0.007856763899326324,
-0.0066282846964895725,
0.032802216708660126,
0.006490768399089575,
0.046792205423116684,
0.03755111247301102,
-0.015860211104154587,
0.041218213737010956,
0.022442657500505447,
0.003765654284507036,
0.03390234708786011,
0.022020941600203514,
0.02898843213915825,
-0.025578029453754425,
0.025009628385305405,
0.013485763221979141,
-0.028750071302056313,
-0.0324171707034111,
0.00393754942342639,
0.03010689839720726,
-0.023689471185207367,
0.06912485510110855,
0.0023492365144193172,
-0.02820000611245632,
-0.06633785367012024,
-0.01928894966840744,
0.0435284860432148,
-0.007467133924365044,
-0.022460993379354477,
0.01773959957063198,
0.0556299202144146,
-0.03784448280930519,
-0.007865930907428265,
0.018711382523179054,
-0.017107024788856506,
0.03799116611480713,
-0.004462403245270252,
-0.006564110517501831,
-0.00601404532790184,
-0.004835989326238632,
-0.019032252952456474,
0.07103174179792404,
-0.011459690518677235,
-0.022057611495256424,
-0.01049707643687725,
-0.0029245128389447927,
0.02411118894815445,
0.021397532895207405,
0.007247108034789562,
-0.010946296155452728,
0.001305258716456592,
0.01386164128780365,
-0.04030143842101097,
-0.00784759595990181,
-0.03507582098245621,
0.003722107270732522,
-0.04165826737880707,
-0.023231083527207375,
-0.020865803584456444,
-0.060433823615312576,
0.026751501485705376,
-0.02227763831615448,
-0.021525882184505463,
-0.07319533079862595,
-0.0329122319817543,
0.013678286224603653,
0.006417426746338606,
-0.02647646889090538,
0.06252407282590866,
0.027558263391256332,
0.012770678848028183,
0.05009259656071663,
-0.02235097996890545,
0.009396946057677269,
0.027374908328056335,
-0.008814794011414051,
0.05306294932961464,
-0.051009371876716614,
-0.009355691261589527,
0.01476924866437912,
-0.011322174221277237,
-0.024862943217158318,
0.0030872405041009188,
-0.004029226955026388,
-0.03205046057701111,
-0.000526286254171282,
-0.008677277714014053,
0.009209007024765015,
-0.009286932647228241,
0.015585178509354591,
-0.003013898618519306,
-0.008837712928652763,
0.056363340467214584,
-0.010432901792228222,
-0.077302485704422,
0.047268930822610855,
-0.03538752347230911,
0.014182512648403645,
0.04495865851640701,
0.02411118894815445,
-0.07524891197681427,
0.044775303453207016,
0.009451952762901783,
-0.001037674956023693,
0.027998315170407295,
-0.007911769673228264,
0.005587744992226362,
-0.010295385494828224,
0.003160582622513175,
-0.0278149601072073,
0.02713654562830925,
-0.03183043375611305,
0.05603330209851265,
0.03417738154530525,
-0.04800235107541084,
0.04037478193640709,
0.032178811728954315,
-0.023121070116758347,
-0.00482223741710186,
0.09219091385602951,
-0.01620858535170555,
-0.030271917581558228,
0.015933552756905556,
-0.011221328750252724,
-0.003153706667944789,
-0.0259630735963583,
-0.04019142687320709,
-0.023689471185207367,
-0.0556299202144146,
-0.05287959426641464,
-0.02462458238005638,
-0.09226425737142563,
0.011863071471452713,
-0.01645611599087715,
0.007260859943926334,
0.025394674390554428,
0.027466585859656334,
-0.03249051421880722,
0.018977247178554535,
-0.014035828411579132,
-0.022442657500505447,
0.007302114740014076,
0.027594933286309242,
-0.03514916077256203,
0.0529162660241127,
-0.023616129532456398,
0.0038412881549447775,
0.07169181853532791,
0.04059480503201485,
0.0010141825769096613,
0.004771815147250891,
-0.0742221251130104,
0.009497791528701782,
0.0077467504888772964,
-0.05717010423541069,
0.04268505424261093,
-0.012770678848028183,
-0.025541357696056366,
0.017822111025452614,
-0.03258218988776207,
-0.017354555428028107,
0.02893342636525631,
0.009736152365803719,
0.016135243698954582,
-0.020169055089354515,
0.01715286448597908,
-0.08441666513681412,
-0.025468016043305397,
-0.004987257067114115,
-0.034654103219509125,
0.05617998540401459,
0.055153198540210724,
0.00463888281956315,
0.06289078295230865,
-0.005560241639614105,
-0.002123480662703514,
0.02774161845445633,
-0.020169055089354515,
-0.029978549107909203,
0.026036415249109268,
-0.02049909345805645,
-0.023634465411305428,
-0.02469792403280735,
0.029153451323509216,
0.0022483912762254477,
0.03975137323141098,
0.004260712768882513,
0.012413136661052704,
0.061130572110414505,
-0.047855667769908905,
-0.04884578287601471,
0.01024037878960371,
0.01845468580722809,
-0.002544051269069314,
-0.05537322163581848,
-0.02235097996890545,
0.012880692258477211,
-0.002727406332269311,
0.02290104515850544,
0.022681018337607384,
0.0017636463744565845,
-0.004187370650470257
] |
713,363
|
xmlschema.validators.schemas
|
_import_namespace
| null |
def _import_namespace(self, namespace: str, locations: List[str]) -> None:
import_error: Optional[Exception] = None
for url in locations:
try:
logger.debug("Import namespace %r from %r", namespace, url)
self.import_schema(namespace, url, self.base_url)
except OSError as err:
# It's not an error if the location access fails (ref. section 4.2.6.2):
# https://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/#composition-schemaImport
logger.debug('%s', err)
if import_error is None:
import_error = err
except (XMLSchemaParseError, XMLSchemaTypeError, ParseError) as err:
if is_defuse_error(err):
# Consider defuse of XML data as a location access fail
logger.debug('%s', err)
if import_error is None:
import_error = err
else:
if namespace:
msg = _("cannot import namespace {0!r}: {1}").format(namespace, err)
else:
msg = _("cannot import chameleon schema: %s") % err
if isinstance(err, (XMLSchemaParseError, ParseError)):
self.parse_error(msg)
else:
raise type(err)(msg)
except XMLSchemaValueError as err:
self.parse_error(err)
else:
logger.info("Namespace %r imported from %r", namespace, url)
break
else:
if import_error is not None:
msg = "Import of namespace {!r} from {!r} failed: {}."
self.warnings.append(msg.format(namespace, locations, str(import_error)))
warnings.warn(self.warnings[-1], XMLSchemaImportWarning, stacklevel=4)
self.imports[namespace] = None
|
(self, namespace: str, locations: List[str]) -> NoneType
|
[
-0.023948650807142258,
-0.024413853883743286,
-0.028917018324136734,
-0.015695950016379356,
-0.009741351008415222,
0.04369186609983444,
0.013937481679022312,
0.06468182802200317,
-0.00026647408958524466,
-0.012513960711658001,
-0.042761459946632385,
0.002623745007440448,
-0.0018817461095750332,
-0.012197623029351234,
-0.014328252524137497,
0.03885375335812569,
-0.038146644830703735,
0.09155195206403732,
-0.027465585619211197,
-0.03243395313620567,
-0.07130631804466248,
-0.02765166573226452,
0.011239304207265377,
-0.04097507894039154,
-0.008275961503386497,
0.03234091401100159,
0.041458889842033386,
-0.014030522666871548,
0.03903983533382416,
-0.02901005931198597,
0.031205816194415092,
0.004912543576210737,
0.03477857634425163,
0.009178454987704754,
0.06646820157766342,
-0.031056951731443405,
-0.021176040172576904,
-0.011071830987930298,
0.008145704865455627,
-0.0021445858292281628,
0.029438044875860214,
-0.02238556742668152,
0.03623000904917717,
-0.046148136258125305,
0.010988094843924046,
0.05965763330459595,
-0.05738744139671326,
0.033215492963790894,
-0.03570898249745369,
-0.0058336458168923855,
-0.034685537219047546,
0.01711016707122326,
0.026553787291049957,
0.018105700612068176,
0.004191479180008173,
0.09944178909063339,
0.01957574300467968,
0.0256233811378479,
-0.02366952784359455,
0.004935803823173046,
0.022999636828899384,
0.00012117084406781942,
-0.019538525491952896,
0.03859324008226395,
-0.006210459861904383,
-0.03155937045812607,
0.032359521836042404,
-0.04726462438702583,
-0.03907705098390579,
0.023595096543431282,
0.023632312193512917,
0.0187848974019289,
-0.04879049211740494,
-0.02106439135968685,
0.09557130187749863,
0.019073322415351868,
0.013500191271305084,
-0.0020922503899782896,
0.032099008560180664,
-0.026684043928980827,
-0.022199487313628197,
-0.006405845284461975,
-0.01970599964261055,
0.028135476633906364,
0.0894678384065628,
-0.004668312147259712,
0.013676968403160572,
0.03256421163678169,
-0.016486793756484985,
0.022478608414530754,
-0.03135468065738678,
-0.0005573713569901884,
-0.006210459861904383,
0.010820621624588966,
-0.024823231622576714,
-0.009471532888710499,
-0.01684965193271637,
-0.10762936621904373,
-0.04131002724170685,
-0.0005684199277311563,
0.0421287827193737,
-0.061630092561244965,
-0.034238941967487335,
-0.020189810544252396,
0.023036852478981018,
-0.04793451726436615,
0.0026051367167383432,
-0.031001128256320953,
0.004698550328612328,
0.0049916282296180725,
-0.007378119509667158,
-0.10241909325122833,
0.06684036552906036,
0.05742465704679489,
-0.013611840084195137,
-0.0854484885931015,
0.054075196385383606,
0.020152593031525612,
0.04376629739999771,
0.00011826332774944603,
-0.008275961503386497,
0.03308523818850517,
0.012951251119375229,
0.02080387808382511,
0.10413103550672531,
0.003986789844930172,
0.006094159092754126,
0.016635660082101822,
0.079047292470932,
-0.02132490463554859,
0.02199479751288891,
-0.040305186063051224,
-0.0019038432510569692,
-0.042947541922330856,
-0.022683298215270042,
-0.02815408632159233,
-0.04384072870016098,
0.0591738224029541,
-0.04439897462725639,
-0.001335132634267211,
-0.0027307416312396526,
0.006754747591912746,
-0.023688137531280518,
-0.006489581894129515,
-0.04767400398850441,
0.04160775616765022,
-0.050762951374053955,
0.0012118538143113256,
-0.025716422125697136,
-0.014914408326148987,
-0.011527730152010918,
-0.05701528117060661,
-0.011527730152010918,
-0.0033355054911226034,
-0.0526609793305397,
-0.01912914775311947,
-0.026832908391952515,
0.010727581568062305,
0.006564014125615358,
-0.021548202261328697,
0.004912543576210737,
-0.06267214566469193,
0.026572395116090775,
-0.032154832035303116,
-0.03414589911699295,
0.04599927365779877,
0.015072576701641083,
0.004819503054022789,
-0.01898958720266819,
-0.023167109116911888,
-0.024804623797535896,
0.06419801712036133,
0.06550057977437973,
0.003351787570863962,
-0.012839602306485176,
0.007564200554043055,
0.032489776611328125,
-0.018701160326600075,
-0.01912914775311947,
0.08358767628669739,
-0.013937481679022312,
-0.031838491559028625,
-0.010848534293472767,
-0.032489776611328125,
0.0007594439084641635,
0.06043917313218117,
-0.03381095454096794,
0.020915526896715164,
0.06211390346288681,
0.05280984565615654,
0.020971350371837616,
0.02932639606297016,
0.03438780456781387,
0.047376275062561035,
0.018375517800450325,
-0.029047274962067604,
-0.03818386048078537,
0.005363790784031153,
-0.005842949729412794,
0.027353936806321144,
-0.011620771139860153,
0.05187943950295448,
0.005247490014880896,
0.03926313295960426,
0.05965763330459595,
0.03758840262889862,
-0.0445106215775013,
-0.04521773010492325,
-0.0771864801645279,
0.012411615811288357,
-0.03526238724589348,
-0.03529960289597511,
-0.038072213530540466,
-0.0016689157346263528,
-0.029345005750656128,
0.026888733729720116,
0.003037775633856654,
-0.012997771613299847,
0.013751400634646416,
-0.004310105927288532,
0.053554169833660126,
0.044920001178979874,
0.020450323820114136,
-0.08314108103513718,
-0.003395981853827834,
0.0003122675116173923,
0.017603281885385513,
-0.04186826944351196,
-0.0066663590259850025,
0.029996288940310478,
0.01177893951535225,
-0.025790853425860405,
-0.009415708482265472,
-0.0017514892388135195,
0.061816174536943436,
-0.048232246190309525,
0.02043171599507332,
0.031708236783742905,
0.07097136974334717,
0.009080762974917889,
-0.017212510108947754,
-0.021362122148275375,
-0.07606999576091766,
-0.0602530911564827,
-0.03596949577331543,
0.02087831124663353,
-0.04298475757241249,
-0.02966134250164032,
0.009010981768369675,
0.0026795691810548306,
-0.06114628165960312,
0.09021216630935669,
0.0070571294054389,
-0.010355418547987938,
-0.0015421479474753141,
-0.04704132676124573,
-0.06483069062232971,
-0.03336435928940773,
0.04454783722758293,
-0.06092298403382301,
0.005763865076005459,
0.018235957249999046,
0.03036845102906227,
0.03570898249745369,
-0.07659102231264114,
-0.023111285641789436,
0.025604773312807083,
-0.0249720960855484,
0.030647573992609978,
0.01512840110808611,
0.010429850779473782,
0.11507261544466019,
0.003147098235785961,
0.001424684189260006,
0.04625978693366051,
0.027986612170934677,
0.04000745713710785,
-0.016607746481895447,
-0.003126164199784398,
0.019854864105582237,
0.06914777308702469,
0.004000745713710785,
-0.033215492963790894,
0.01638444885611534,
0.040156323462724686,
-0.028061045333743095,
-0.034759968519210815,
-0.006066246889531612,
-0.026107192039489746,
-0.02848903089761734,
0.014886495657265186,
-0.0026190928183496,
0.03609975427389145,
0.010485675185918808,
-0.04384072870016098,
-0.015212138183414936,
-0.03403425216674805,
0.014002609997987747,
0.01336993370205164,
-0.01691478118300438,
-0.02601415105164051,
-0.01541682705283165,
0.0984741672873497,
0.026181625202298164,
0.06066247075796127,
-0.0627465769648552,
0.022813554853200912,
0.004068200010806322,
-0.004268237389624119,
-0.012867514975368977,
-0.017714930698275566,
-0.02484183944761753,
-0.049013786017894745,
-0.06784520298242569,
0.018552295863628387,
0.008755120448768139,
-0.013630447909235954,
-0.022515825927257538,
-0.018850024789571762,
0.016617050394415855,
0.026256056502461433,
0.0313732884824276,
0.03291776403784752,
-0.03070339746773243,
-0.0382210798561573,
-0.005577784031629562,
0.03974694386124611,
0.03948643058538437,
-0.011471905745565891,
-0.01457015797495842,
0.015007448382675648,
-0.051358409225940704,
-0.047450706362724304,
-0.009131934493780136,
0.030666181817650795,
-0.04324527084827423,
-0.03455527871847153,
-0.08529961854219437,
0.05187943950295448,
0.011211392469704151,
-0.026460746303200722,
-0.013965394347906113,
-0.02992185764014721,
0.002802848117426038,
0.006345368921756744,
-0.013993306085467339,
0.006740791257470846,
-0.0004212994535919279,
-0.014104954898357391,
-0.016412362456321716,
-0.050502438098192215,
0.0604763887822628,
-0.04678081348538399,
0.01794753223657608,
-0.00021617401216644794,
-0.0028098260518163443,
-0.04019353911280632,
-0.04425010830163956,
0.027688883244991302,
0.02184593304991722,
-0.011499818414449692,
-0.023446230217814445,
-0.003596019232645631,
-0.03368069604039192,
0.03836994245648384,
-0.028917018324136734,
0.03401564434170723,
0.006215111818164587,
-0.07130631804466248,
-0.015640124678611755,
0.011239304207265377,
-0.01911053992807865,
-0.022906595841050148,
-0.019761823117733,
-0.01297916378825903,
0.038072213530540466,
0.08217345923185349,
-0.006089507136493921,
-0.04369186609983444,
-0.018059181049466133,
0.0027749359142035246,
0.018096396699547768,
0.014197995886206627,
-0.010960182175040245,
0.025214001536369324,
-0.0565686859190464,
0.022032013162970543,
-0.014942320063710213,
-0.0802382156252861,
0.05251211300492287,
0.04767400398850441,
-0.012774473987519741,
0.042500946670770645,
0.006173243746161461,
0.006671010982245207,
-0.023129893466830254,
-0.02199479751288891,
-0.020580580458045006,
0.0748046413064003,
-0.017733538523316383,
-0.03959807753562927,
-0.028340166434645653,
-0.004768330603837967,
0.07971718907356262,
-0.004305453971028328,
0.0018968652002513409,
-0.011760331690311432,
-0.041272811591625214,
-0.00007545010885223746,
0.0033122452441602945,
-0.03915148600935936,
-0.029028667137026787,
0.030535925179719925,
-0.025381475687026978,
0.022032013162970543,
0.06200225651264191,
-0.02549312449991703,
0.050316356122493744,
-0.016663571819663048,
-0.006838484201580286,
-0.03582062944769859,
-0.041793838143348694,
0.11641240119934082,
0.012253446504473686,
0.0061825476586818695,
-0.08678827434778214,
-0.048492759466171265,
-0.07398588210344315,
-0.027800532057881355,
-0.016282105818390846,
-0.029549693688750267,
0.02523261122405529,
-0.00167473079636693,
-0.06940829008817673,
0.0627465769648552,
-0.04227764904499054,
-0.005163753405213356,
-0.013221069239079952,
0.020450323820114136,
-0.055973224341869354,
0.028898410499095917,
-0.013788617216050625,
0.03634165972471237,
0.024302205070853233,
-0.0151190971955657,
-0.0019445485668256879,
-0.025158178061246872,
0.0327875055372715,
-0.020859701558947563,
0.0016014613211154938,
-0.08745816349983215,
-0.06270936131477356,
0.04942316561937332,
-0.026702651754021645,
-0.05738744139671326,
0.014179387129843235,
0.048492759466171265,
0.02906588278710842,
0.018719768151640892,
0.005503351334482431,
0.004556663334369659,
-0.00487997941672802,
-0.008936549536883831,
-0.04123559221625328,
0.00010445260704727843,
0.03777448460459709,
0.0009478511055931449,
0.00040559886838309467,
0.05586157739162445,
0.005089320708066225,
0.001514235744252801,
0.012169710360467434,
0.0499441921710968,
-0.039523646235466,
0.00011157603148603812,
-0.004498512949794531,
0.015295874327421188,
0.002244604518637061,
0.07726091146469116,
-0.009676222689449787,
0.012960555963218212,
-0.028042437508702278,
0.04142167419195175,
-0.005894122179597616,
0.01428173203021288,
0.004075178410857916,
0.06345368921756744,
-0.057461872696876526,
0.05035357177257538,
0.0230182446539402,
0.041012294590473175,
-0.021473770961165428,
0.036136969923973083,
-0.0433197021484375,
0.06378863751888275,
-0.034908831119537354,
0.0017956835217773914,
0.014886495657265186,
0.024041691794991493,
-0.0342017225921154,
0.048678841441869736,
0.005787125322967768,
0.003351787570863962,
0.022069230675697327,
0.016505401581525803,
0.03792334720492363,
-0.0066012307070195675,
-0.004470600746572018,
0.04934873431921005,
-0.06639377027750015,
-0.050949033349752426,
0.0604763887822628,
0.05277262628078461,
0.03708598390221596,
-0.019799038767814636,
-0.017007822170853615,
-0.034499455243349075,
0.04882770776748657,
0.0602530911564827,
0.05887608975172043,
0.0019305924652144313,
-0.019538525491952896,
-0.0025702465791255236,
-0.002400447381660342,
-0.0564570352435112,
-0.026125799864530563,
0.0282285176217556,
0.01605880819261074,
-0.018449950963258743,
0.010448459535837173,
-0.018328998237848282,
0.023520663380622864,
0.0002794125466607511,
-0.05567549541592598,
0.01601228676736355,
0.042575377970933914,
0.012923339381814003,
-0.014933016151189804,
-0.051209546625614166,
0.017668409273028374,
-0.005521959625184536,
0.04506886750459671,
-0.017082253471016884,
-0.01793822832405567,
0.0161239355802536,
0.013146637007594109,
-0.0944548174738884,
0.01566803641617298,
0.012411615811288357,
0.0262746661901474,
0.062337201088666916,
0.02192036435008049,
0.038928188383579254,
0.00489393575116992,
0.01566803641617298,
-0.041012294590473175,
-0.0021329557057470083,
0.010522891767323017,
0.02121325582265854,
0.021027175709605217,
0.040305186063051224,
0.02374396100640297,
-0.02580946311354637,
-0.0012618631590157747,
-0.01724042370915413,
-0.02197618968784809,
-0.03291776403784752,
-0.08053594082593918,
-0.03851880878210068,
0.0759955644607544,
-0.020506147295236588,
-0.08254562318325043,
0.0183476060628891,
-0.02113882452249527,
0.001517724827863276,
0.025511732324957848,
-0.009052850306034088,
-0.03435058891773224,
0.03247116878628731,
-0.012914035469293594,
0.02958691120147705,
-0.008578343316912651,
0.004772982560098171,
-0.025027921423316002,
0.09899520128965378,
-0.002121325582265854,
-0.02426498755812645,
0.027223680168390274,
0.07104580104351044,
-0.03885375335812569,
-0.03435058891773224,
-0.03247116878628731,
0.0322478711605072,
-0.04086343199014664,
0.02406029962003231,
0.0063872369937598705,
-0.02139933779835701,
-0.033922601491212845,
-0.010625236667692661,
-0.029512478038668633,
-0.039635296911001205,
0.05210273712873459,
-0.012244142591953278,
-0.011983629316091537,
0.012960555963218212,
0.0004157751682214439,
0.013723487965762615,
-0.015695950016379356,
0.004165892954915762,
0.005038148257881403,
-0.008392262272536755,
-0.05325644090771675,
0.040156323462724686,
-0.03464831784367561,
-0.008694644086062908,
-0.0282843429595232,
-0.007196690421551466,
0.008699296042323112,
0.04387794807553291,
-0.05009305849671364,
-0.0005245163920335472,
-0.008759772405028343,
0.0000238779975916259,
0.008369001559913158,
0.029866032302379608,
0.05080016702413559,
-0.012616305612027645,
0.00012589555990416557,
0.009992560371756554,
0.02108299918472767,
5.542457870433282e-7,
-0.045887622982263565,
0.023129893466830254,
-0.08857464790344238,
-0.00022954860469326377,
0.035857848823070526,
0.05828063189983368,
-0.022162271663546562,
0.020189810544252396,
-0.008382958360016346,
0.03168962895870209,
-0.02458132617175579,
0.015779685229063034,
0.010513587854802608,
-0.010076296515762806,
0.0012130168033763766,
-0.023297365754842758,
-0.04395237937569618,
0.055117249488830566,
0.011555642820894718,
0.02223670296370983,
0.03948643058538437,
0.012755866162478924,
0.010876446031033993,
0.030684789642691612,
0.031577978283166885,
-0.06948272138834,
-0.05187943950295448,
0.03881653770804405,
0.02056197263300419,
0.00822944100946188,
-0.01996651291847229,
-0.02113882452249527,
0.07971718907356262,
-0.028451815247535706,
-0.013574623502790928,
0.02789357118308544,
-0.07357650250196457,
0.007266470696777105,
-0.025400083512067795,
-0.023818394169211388,
0.017379984259605408,
0.05820620059967041,
0.06624490767717361,
0.003928639460355043,
0.006708227097988129,
-0.00728507898747921,
-0.04585040733218193,
-0.016933389008045197,
-0.02223670296370983,
-0.01912914775311947,
-0.019929297268390656,
0.009238931350409985,
-0.018570903688669205,
-0.056345388293266296,
0.034685537219047546,
-0.026944557204842567,
0.0010106535628437996,
0.03513212874531746,
-0.01965017430484295,
0.029940465465188026,
0.03265725076198578,
0.007996839471161366,
0.04525494575500488,
-0.08634167909622192,
0.04793451726436615,
0.055191684514284134,
-0.030331235378980637,
-0.011397473514080048,
-0.0008641145541332662,
0.04339413717389107,
-0.0031564023811370134,
-0.026832908391952515,
0.027335328981280327,
-0.0034704143181443214,
0.022925203666090965,
-0.03237812966108322,
0.02997768111526966,
-0.036136969923973083,
0.10405660420656204,
0.022087838500738144,
-0.04577597603201866,
0.02660961076617241,
-0.03654634580016136,
0.007703761570155621,
-0.011267216876149178,
0.007536288350820541,
0.013472278602421284,
0.015174921602010727,
-0.04585040733218193,
0.0374581441283226,
0.0059639024548232555,
-0.047711219638586044,
0.003037775633856654,
-0.028340166434645653,
-0.028321558609604836,
-0.02660961076617241,
-0.0032936371862888336,
0.039635296911001205,
0.059471551328897476,
-0.01284890715032816,
0.03863045573234558,
-0.04272424429655075,
0.07994048297405243,
0.011732419952750206,
-0.06531450152397156,
0.0342017225921154,
0.07413475215435028,
0.030870871618390083,
0.0080619677901268,
0.046073704957962036,
-0.06631933897733688,
0.0027028294280171394,
0.027670273557305336,
-0.0697060152888298,
0.0204131081700325,
0.013797921128571033,
-0.025381475687026978,
-0.02145516313612461,
0.08969113975763321,
-0.00871790386736393,
0.008755120448768139,
-0.009545965120196342,
0.034108683466911316,
-0.019352445378899574,
-0.05880165845155716,
0.03818386048078537,
0.004654355812817812,
0.006010422948747873,
-0.03312245383858681,
-0.019296620041131973,
-0.015267962589859962,
-0.023167109116911888,
0.02225531078875065,
0.01749163307249546,
0.02439524605870247,
0.015165617689490318,
-0.00574060482904315
] |
713,364
|
xmlschema.validators.schemas
|
_parse_imports
|
Parse namespace import elements. Imports are done on namespace basis, not on
single resource. A warning is generated for a failure of a namespace import.
|
def _parse_imports(self) -> None:
"""
Parse namespace import elements. Imports are done on namespace basis, not on
single resource. A warning is generated for a failure of a namespace import.
"""
namespace_imports = NamespaceResourcesMap(map(
lambda x: (x.get('namespace'), x.get('schemaLocation')),
filter(lambda x: x.tag == XSD_IMPORT, self.source.root)
))
for namespace, locations in namespace_imports.items():
# Checks the namespace against the targetNamespace of the schema
if namespace is None:
namespace = ''
if namespace == self.target_namespace:
msg = _("if the 'namespace' attribute is not present on "
"the import statement then the imported schema "
"must have a 'targetNamespace'")
self.parse_error(msg)
continue
elif namespace == self.target_namespace:
msg = _("the attribute 'namespace' must be different "
"from schema's 'targetNamespace'")
self.parse_error(msg)
continue
# Register if the namespace has a xs:import statement
self._import_statements.add(namespace)
# Skip import of already imported namespaces
if self.imports.get(namespace) is not None:
continue
elif namespace in self.maps.namespaces:
self.imports[namespace] = self.maps.namespaces[namespace][0]
continue
locations = [url for url in locations if url]
if not namespace:
pass
elif not locations:
locations = self.get_locations(namespace)
elif all(is_remote_url(url) for url in locations):
# If all import schema locations are remote URLs and there are local hints
# that match a local file path, try the local hints before schema locations.
# This is not the standard processing for XSD imports, but resolve the problem
# of local processing of schemas tested to work from a http server, providing
# explicit local hints.
local_hints = [url for url in self.get_locations(namespace)
if url and url_path_is_file(url)]
if local_hints:
locations = local_hints + locations
if namespace in self.fallback_locations:
locations.append(self.fallback_locations[namespace])
self._import_namespace(namespace, locations)
|
(self) -> NoneType
|
[
-0.010492590256035328,
-0.029861420392990112,
0.012145470827817917,
0.009606793522834778,
-0.0031322529539465904,
0.03249141573905945,
0.04927590861916542,
0.04127633571624756,
0.01682101935148239,
-0.008150249719619751,
-0.038098424673080444,
-0.03165127709507942,
0.01762462966144085,
-0.0034313236828893423,
-0.06600560992956161,
0.029240448027849197,
-0.005205201450735331,
0.07875378429889679,
-0.02312205359339714,
-0.01563386805355549,
-0.05508381873369217,
-0.03473787382245064,
0.0006740507669746876,
0.006273637991398573,
0.010410402901470661,
0.03599807992577553,
0.03996133804321289,
-0.026720035821199417,
0.04624410718679428,
-0.038354117423295975,
0.00047343363985419273,
0.01218199823051691,
0.03656425699591637,
-0.02410830184817314,
0.048910632729530334,
-0.02587989717721939,
0.010510854423046112,
0.01637355610728264,
0.04197036102414131,
-0.02359691448509693,
0.018610879778862,
-0.0038582414854317904,
0.0321991965174675,
-0.05055437982082367,
0.01807209476828575,
0.049239382147789,
-0.038317590951919556,
0.03240009769797325,
-0.023779552429914474,
-0.0037075646687299013,
-0.0016140691004693508,
0.03970564529299736,
0.01271165069192648,
0.047412995249032974,
-0.004766868893057108,
0.065384641289711,
-0.012665990740060806,
0.06545769423246384,
-0.03353245556354523,
0.0006477964925579727,
0.010465194471180439,
0.018245602026581764,
-0.04145897552371025,
0.03093898855149746,
-0.02063816785812378,
-0.02438225969672203,
0.020546847954392433,
-0.06443491578102112,
-0.08693599700927734,
0.010483458638191223,
-0.022519346326589584,
-0.002629996743053198,
-0.040582310408353806,
-0.016437478363513947,
0.07082726806402206,
-0.026318229734897614,
0.048253133893013,
-0.04649979993700981,
0.0011477697407826781,
-0.051431044936180115,
0.012976475991308689,
-0.01937796175479889,
-0.04777827113866806,
-0.000328464200720191,
0.09124626964330673,
-0.006497370079159737,
0.017670290544629097,
0.022044485434889793,
-0.015652133151888847,
0.045878831297159195,
-0.024236150085926056,
0.01606306992471218,
-0.01243769284337759,
0.03554148226976395,
-0.001836659968830645,
-0.004303423222154379,
-0.030080586671829224,
-0.09993987530469894,
-0.019706711173057556,
0.015186403878033161,
0.01714976876974106,
-0.02113129198551178,
-0.06385047733783722,
0.00957026518881321,
0.0193962249904871,
-0.014017516747117043,
-0.0005998538108542562,
-0.030993780121207237,
0.032838430255651474,
-0.024984968826174736,
-0.017725082114338875,
-0.09723681956529617,
0.041349392384290695,
0.05113882198929787,
0.0023377747274935246,
-0.09782126545906067,
0.0407649464905262,
0.03512141481041908,
0.06370436400175095,
-0.005675496067851782,
0.0060727354139089584,
0.041166752576828,
0.007027022074908018,
0.00790825393050909,
0.10322736948728561,
-0.041641611605882645,
0.05563173443078995,
0.00818221177905798,
0.0630103349685669,
-0.02085733413696289,
0.00616862066090107,
-0.04204341769218445,
-0.020802542567253113,
-0.026044271886348724,
-0.012729913927614689,
-0.022683721035718918,
-0.03541363403201103,
0.05983242392539978,
-0.04649979993700981,
0.021916639059782028,
-0.0008464159909635782,
0.02567899413406849,
-0.04295661300420761,
-0.03747745230793953,
-0.08817794173955917,
0.02365170605480671,
0.0023092376068234444,
0.011268804781138897,
-0.02215406857430935,
0.006707404740154743,
-0.006387786939740181,
-0.08357544988393784,
-0.05526645854115486,
-0.024583162739872932,
-0.026847882196307182,
-0.01020036917179823,
-0.040838003158569336,
-0.007803236600011587,
0.0037144136149436235,
-0.050152573734521866,
-0.023505594581365585,
-0.044856052845716476,
0.037075646221637726,
-0.06311991810798645,
-0.005218899343162775,
0.045659665018320084,
0.0036596220452338457,
-0.03044586442410946,
-0.03802536800503731,
-0.035103149712085724,
-0.011533631011843681,
0.04197036102414131,
0.03187044709920883,
0.0011860097292810678,
0.013999252580106258,
-0.0034358897246420383,
0.043102722615003586,
0.02794371359050274,
0.012748178094625473,
0.055229928344488144,
0.005575045011937618,
-0.025277189910411835,
-0.001808122731745243,
-0.004817094653844833,
-0.0011032515903934836,
0.04595188423991203,
-0.008168513886630535,
-0.010894395411014557,
0.028071561828255653,
0.04014397785067558,
0.014291474595665932,
-0.005666364450007677,
0.03643641248345375,
0.05581437423825264,
-0.028783852234482765,
-0.026464341208338737,
-0.04197036102414131,
0.000313054071739316,
-0.002785239601507783,
0.03643641248345375,
-0.01686668023467064,
-0.003212157404050231,
0.017295880243182182,
0.061987560242414474,
0.043394945561885834,
0.012538143433630466,
-0.03718522936105728,
-0.05760423094034195,
-0.05785992741584778,
0.012483351863920689,
-0.04503869265317917,
-0.03296627849340439,
-0.0022647192236036062,
-0.022793304175138474,
-0.007967611774802208,
0.030098849907517433,
-0.03563280031085014,
0.013834877870976925,
0.00023215085093397647,
-0.0008521234849467874,
0.043102722615003586,
0.04240869730710983,
0.00010266290337312967,
-0.05804256349802017,
0.019724974408745766,
-0.0031824784819036722,
0.0447099432349205,
0.015131612308323383,
0.018455635756254196,
0.010474327020347118,
0.010054257698357105,
-0.03747745230793953,
0.0032258552964776754,
-0.004006635397672653,
0.07670823484659195,
-0.016428347676992416,
0.06133006140589714,
0.0517963208258152,
0.07846156507730484,
-0.005908360704779625,
-0.03519446775317192,
0.00942415464669466,
-0.06330255419015884,
-0.09095405042171478,
-0.071302130818367,
-0.00880774948745966,
-0.008223305456340313,
-0.04123980924487114,
-0.004641304723918438,
0.001437137951143086,
-0.05676409229636192,
0.05680062249302864,
0.013761823065578938,
0.002223625546321273,
-0.0025866199284791946,
-0.04584230110049248,
-0.07663518190383911,
-0.00855205487459898,
0.01737806759774685,
-0.056983258575201035,
-0.002422245219349861,
-0.018309524282813072,
0.011999359354376793,
0.029039546847343445,
-0.01460196077823639,
-0.027980241924524307,
0.021295666694641113,
-0.030500655993819237,
0.01206328347325325,
-0.008615978993475437,
0.0498238243162632,
0.06308338791131973,
-0.03190697357058525,
0.04102064296603203,
-0.0001602368865860626,
0.01910400390625,
-0.021551361307501793,
0.0035020962823182344,
0.010866999626159668,
0.017725082114338875,
0.037842728197574615,
-0.024711009114980698,
-0.045623134821653366,
0.02861947752535343,
0.018775254487991333,
-0.04595188423991203,
-0.04635369032621384,
-0.03802536800503731,
-0.06078214570879936,
-0.015350778587162495,
0.02010851539671421,
0.010830472223460674,
0.036326829344034195,
-0.02819940820336342,
-0.002655109390616417,
0.004684681538492441,
-0.002561507048085332,
-0.02816287986934185,
-0.031541693955659866,
0.03415342792868614,
-0.00008068918396020308,
-0.008319190703332424,
0.06728407740592957,
0.008976689539849758,
0.015369042754173279,
-0.03243662416934967,
0.02337774820625782,
-0.01685754768550396,
0.03040933609008789,
0.01243769284337759,
-0.0021528531797230244,
-0.014401057735085487,
-0.042627863585948944,
-0.05811562016606331,
0.018683934584259987,
-0.013286962173879147,
-0.022007957100868225,
-0.01736893691122532,
0.007378601469099522,
0.017460254952311516,
-0.024838857352733612,
0.05625270679593086,
0.025003232061862946,
-0.009387627243995667,
-0.054682012647390366,
-0.006593255326151848,
0.03824453428387642,
0.03577891364693642,
-0.0042531974613666534,
-0.03798884153366089,
0.004858188331127167,
-0.009853355586528778,
-0.05205201730132103,
0.022793304175138474,
0.001864055753685534,
-0.043394945561885834,
0.0025523751974105835,
-0.09606793522834778,
0.024254413321614265,
-0.0028263332787901163,
0.030372807756066322,
0.01957886293530464,
0.014008385129272938,
-0.01043779868632555,
-0.009122801013290882,
-0.046390216797590256,
-0.011296200565993786,
0.0019040079787373543,
-0.009182157926261425,
0.00021602728520520031,
-0.02869253233075142,
0.031614750623703,
-0.021496569737792015,
0.023195108398795128,
0.05384187400341034,
0.004858188331127167,
-0.038609810173511505,
-0.021533098071813583,
0.03468308225274086,
0.04043619707226753,
0.04098411276936531,
-0.01632789522409439,
0.024254413321614265,
-0.04522133246064186,
0.05687367543578148,
-0.04748605191707611,
0.030354544520378113,
-0.02266545780003071,
-0.022281916812062263,
-0.009319137781858444,
-0.009999466128647327,
-0.051686737686395645,
-0.03751397877931595,
-0.061439644545316696,
-0.0193962249904871,
0.01857435144484043,
0.0452943854033947,
0.007730180863291025,
-0.042920082807540894,
-0.03135905787348747,
0.04799743741750717,
0.04376022145152092,
-0.011515366844832897,
0.015031161718070507,
-0.041385918855667114,
-0.058736592531204224,
0.03415342792868614,
-0.0256059393286705,
-0.04679202288389206,
0.08247961848974228,
0.09175766259431839,
-0.04295661300420761,
0.045623134821653366,
-0.000027056918042944744,
0.03373336046934128,
-0.028729060664772987,
-0.010501722805202007,
-0.017907720059156418,
0.0628276988863945,
-0.03015364147722721,
-0.018272997811436653,
-0.030336281284689903,
0.0006997343734838068,
0.07532018423080444,
-0.0047257752157747746,
-0.03296627849340439,
0.014236683025956154,
0.005556780844926834,
-0.015980882570147514,
0.08722822368144989,
-0.029477879405021667,
-0.021423514932394028,
0.026500869542360306,
-0.05413409695029259,
0.017204562202095985,
0.040070921182632446,
-0.011287068948149681,
0.041568558663129807,
-0.00021488578931894153,
0.01271165069192648,
-0.027724547311663628,
-0.022957678884267807,
0.09373015910387039,
-0.005648100282996893,
-0.021167820319533348,
-0.058298259973526,
-0.05979589745402336,
-0.02208101376891136,
-0.0547550693154335,
0.026464341208338737,
-0.015414702706038952,
0.04014397785067558,
0.0016677192179486156,
-0.09373015910387039,
0.02166094444692135,
-0.035358842462301254,
0.011898908764123917,
-0.032820165157318115,
0.04653633013367653,
-0.06275463849306107,
0.0035340578760951757,
0.023761289194226265,
0.04620758071541786,
-0.002236182102933526,
-0.015049424953758717,
-0.023578651249408722,
-0.04945854842662811,
0.06604214012622833,
-0.04222605749964714,
0.006113829091191292,
-0.08116462081670761,
-0.025587676092982292,
0.0880318284034729,
-0.015542549081146717,
-0.09299959987401962,
0.000824156915768981,
0.05161368474364281,
0.003958692774176598,
-0.01613612473011017,
-0.006054471246898174,
0.004890149924904108,
-0.0016608702717348933,
0.0075429766438901424,
-0.03868286684155464,
0.02237323485314846,
0.049641188234090805,
0.02838204614818096,
0.004177859053015709,
0.013177379034459591,
0.021916639059782028,
0.00932370312511921,
-0.04343147203326225,
0.023761289194226265,
-0.026537396013736725,
0.015396438539028168,
-0.004540853668004274,
0.012136338278651237,
0.029477879405021667,
0.03897508978843689,
-0.0039244480431079865,
0.015615604817867279,
-0.03387947008013725,
0.04149550199508667,
0.016008278355002403,
0.01788032427430153,
-0.010081653483211994,
0.07539323717355728,
-0.0543532632291317,
-0.017003659158945084,
-0.024016983807086945,
0.028729060664772987,
0.0051549761556088924,
0.04810702055692673,
-0.02089386247098446,
0.06885477155447006,
-0.054682012647390366,
0.0462806336581707,
0.04149550199508667,
0.06268158555030823,
-0.021021708846092224,
0.03692953661084175,
-0.046645913273096085,
-0.062206726521253586,
0.04803396761417389,
0.013286962173879147,
0.07042546570301056,
0.018209073692560196,
0.00022173473553266376,
0.023761289194226265,
-0.06432533264160156,
-0.0342630110681057,
0.023213373497128487,
0.03488398343324661,
0.05486465245485306,
-0.01305866427719593,
-0.025697259232401848,
-0.017231957986950874,
0.07016976922750473,
0.04423508048057556,
0.011515366844832897,
0.00554308295249939,
-0.048947159200906754,
-0.0016117860795930028,
-0.015542549081146717,
-0.05807909369468689,
0.024272676557302475,
-0.0332767628133297,
0.031048571690917015,
0.006314731668680906,
0.011606686748564243,
0.032107874751091,
-0.008100024424493313,
0.01708584651350975,
-0.08671683073043823,
0.023048998787999153,
0.07455310225486755,
0.011761928908526897,
-0.050225630402565,
-0.06688227504491806,
0.03647293895483017,
0.014373661950230598,
0.04131286218762398,
-0.0341716930270195,
0.022738512605428696,
0.05954020097851753,
0.060964781790971756,
-0.09438765794038773,
0.009625056758522987,
-0.013369149528443813,
-0.018163414672017097,
0.07488185167312622,
0.023432539775967598,
0.03603460639715195,
0.018017303198575974,
-0.0008441330282948911,
-0.06549422442913055,
0.0029564632568508387,
-0.0047257752157747746,
0.008520092815160751,
0.021441778168082237,
0.02135045826435089,
-0.035559747368097305,
-0.0020421284716576338,
0.0022133521270006895,
-0.040838003158569336,
-0.0011546188034117222,
-0.010008598677814007,
-0.06859907507896423,
-0.03176086023449898,
0.05223465710878372,
-0.0256059393286705,
-0.04014397785067558,
0.03537710756063461,
0.001713378936983645,
0.010538250207901001,
0.03650946542620659,
0.00452715577557683,
-0.03766009211540222,
0.03740439563989639,
-0.02339601144194603,
0.05384187400341034,
-0.001528457272797823,
0.05961325764656067,
-0.00238571735098958,
0.04324883222579956,
-0.009707244113087654,
-0.018921364098787308,
0.04266439005732536,
0.07407823950052261,
-0.0025592241436243057,
-0.07320157438516617,
-0.03499356657266617,
-0.0063375611789524555,
-0.021533098071813583,
-0.005355878733098507,
0.000642659782897681,
-0.0246196910738945,
0.003958692774176598,
0.02434573322534561,
-0.043614111840724945,
-0.03941342234611511,
0.04123980924487114,
0.009579397737979889,
-0.0014131666393950582,
-0.012638594955205917,
0.005355878733098507,
0.027505381032824516,
-0.008214173838496208,
0.032308779656887054,
0.024711009114980698,
0.007762142922729254,
-0.0758315697312355,
0.02812635339796543,
-0.047157302498817444,
-0.0050545246340334415,
-0.01985282264649868,
0.0003986659285146743,
0.022263651713728905,
0.03645467385649681,
-0.03214440494775772,
-0.009122801013290882,
0.020419001579284668,
0.015706924721598625,
0.005136711988598108,
0.03097551502287388,
0.06571339070796967,
0.004045446403324604,
0.002819484332576394,
0.0035363410133868456,
0.0127025181427598,
0.013898801989853382,
-0.023249899968504906,
-0.00489471573382616,
-0.07312851399183273,
0.020254626870155334,
0.04218953102827072,
0.05208854377269745,
-0.005533951334655285,
-0.007643427699804306,
-0.005104750394821167,
0.047120772302150726,
-0.03724002093076706,
-0.006894609425216913,
0.0036185283679515123,
-0.019505808129906654,
0.02089386247098446,
-0.016957998275756836,
-0.06016117334365845,
0.05351312458515167,
0.0638139471411705,
0.010894395411014557,
0.03747745230793953,
0.0018880270654335618,
0.002474753884598613,
0.03135905787348747,
0.06724755465984344,
-0.08832405507564545,
-0.049202851951122284,
0.046390216797590256,
0.00842420756816864,
-0.00678959209471941,
-0.031121626496315002,
0.016026541590690613,
0.041093695908784866,
-0.030573710799217224,
-0.014519773423671722,
0.025204135105013847,
-0.057202424854040146,
0.012611199170351028,
0.01359744742512703,
-0.05048132315278053,
0.031340792775154114,
0.02036421000957489,
0.04657285660505295,
-0.017469387501478195,
-0.02208101376891136,
0.014866786077618599,
-0.034281276166439056,
-0.03198003023862839,
-0.031139889732003212,
0.01208154670894146,
-0.023761289194226265,
0.0037212625611573458,
-0.056910205632448196,
-0.036308564245700836,
0.00942415464669466,
-0.004844490438699722,
-0.04127633571624756,
0.03798884153366089,
-0.02237323485314846,
-0.015706924721598625,
0.026482604444026947,
0.04178772494196892,
0.044636886566877365,
-0.06001506373286247,
0.015643000602722168,
0.017295880243182182,
-0.023834343999624252,
-0.021934902295470238,
-0.01007252186536789,
0.03751397877931595,
-0.019304905086755753,
-0.03429953753948212,
-0.0001813544804463163,
-0.006218846421688795,
0.04777827113866806,
-0.03740439563989639,
-0.009707244113087654,
-0.02060163952410221,
0.10468848049640656,
0.006798723712563515,
-0.02971530891954899,
0.007670823484659195,
-0.0387924499809742,
0.06012464687228203,
-0.04167814180254936,
-0.025295453146100044,
-0.0009862487204372883,
0.011634082533419132,
-0.00647910637781024,
0.01935969665646553,
-0.011624949984252453,
-0.003333155531436205,
0.02014504373073578,
-0.044856052845716476,
0.01613612473011017,
-0.044417720288038254,
-0.00019919028272852302,
0.053914930671453476,
0.04624410718679428,
-0.0020010347943753004,
0.05727548152208328,
-0.008451603353023529,
0.06238936632871628,
0.034043844789266586,
-0.033368080854415894,
0.035596273839473724,
0.029733572155237198,
0.013871406204998493,
0.008880804292857647,
0.02819940820336342,
-0.05486465245485306,
-0.062243252992630005,
0.04306619614362717,
-0.08394072204828262,
0.039851754903793335,
0.0331854447722435,
-0.018473900854587555,
-0.011917171999812126,
0.06428880989551544,
-0.023688234388828278,
-0.0012567822122946382,
-0.0018800366669893265,
-0.032582737505435944,
-0.0317060686647892,
-0.02739579789340496,
0.035285789519548416,
0.0022841247264295816,
-0.014684148132801056,
-0.052198126912117004,
-0.011953700333833694,
0.003917599096894264,
-0.021240875124931335,
0.02567899413406849,
0.06359478086233139,
0.0029450482688844204,
0.0011557602556422353,
0.022957678884267807
] |
713,365
|
xmlschema.validators.schemas
|
_parse_inclusions
|
Processes schema document inclusions and redefinitions/overrides.
|
def _parse_inclusions(self) -> None:
"""Processes schema document inclusions and redefinitions/overrides."""
for child in self.source.root:
if 'schemaLocation' not in child.attrib:
continue
location = child.attrib['schemaLocation'].strip()
if child.tag == XSD_INCLUDE:
try:
logger.info("Include schema from %r", location)
self.include_schema(location, self.base_url)
except OSError as err:
# It is not an error if the location fail to resolve:
# https://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/#compound-schema
# https://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/#src-include
self.warnings.append("Include schema failed: %s." % str(err))
warnings.warn(self.warnings[-1], XMLSchemaIncludeWarning, stacklevel=3)
except (XMLSchemaParseError, XMLSchemaTypeError, ParseError) as err:
msg = _('cannot include schema {0!r}: {1}')
if isinstance(err, (XMLSchemaParseError, ParseError)):
self.parse_error(msg.format(location, err), child)
else:
raise type(err)(msg.format(location, err))
elif child.tag == XSD_REDEFINE:
try:
logger.info("Redefine schema %r", location)
schema = self.include_schema(location, self.base_url)
except OSError as err:
# If the xs:redefine doesn't contain components (annotation excluded)
# the statement is equivalent to an include, so no error is generated,
# otherwise fails.
self.warnings.append(_("Redefine schema failed: %s") % str(err))
warnings.warn(self.warnings[-1], XMLSchemaIncludeWarning, stacklevel=3)
if any(e.tag != XSD_ANNOTATION and not callable(e.tag) for e in child):
self.parse_error(err, child)
except (XMLSchemaParseError, XMLSchemaTypeError, ParseError) as err:
msg = _('cannot redefine schema {0!r}: {1}')
if isinstance(err, (XMLSchemaParseError, ParseError)):
self.parse_error(msg.format(location, err), child)
else:
raise type(err)(msg.format(location, err))
else:
schema.redefine = self
elif child.tag == XSD_OVERRIDE and self.XSD_VERSION != '1.0':
try:
logger.info("Override schema %r", location)
schema = self.include_schema(location, self.base_url)
except OSError as err:
# If the override doesn't contain components (annotation excluded)
# the statement is equivalent to an include, so no error is generated,
# otherwise fails.
self.warnings.append(_("Override schema failed: %s") % str(err))
warnings.warn(self.warnings[-1], XMLSchemaIncludeWarning, stacklevel=3)
if any(e.tag != XSD_ANNOTATION and not callable(e.tag) for e in child):
self.parse_error(str(err), child)
else:
schema.override = self
|
(self) -> NoneType
|
[
-0.009313286282122135,
-0.047012630850076675,
0.014022144488990307,
0.025196189060807228,
-0.04089871048927307,
0.01667087711393833,
0.029012642800807953,
-0.028386060148477554,
-0.040101245045661926,
0.008368666283786297,
-0.009579109027981758,
-0.050999972969293594,
-0.013044296763837337,
0.005140820052474737,
-0.03687339648604393,
0.02422783523797989,
-0.029392389580607414,
0.055367060005664825,
0.00864398293197155,
-0.05924047529697418,
-0.04511389881372452,
-0.02398099936544895,
-0.0544176921248436,
0.02124682441353798,
0.007518983446061611,
0.012740499339997768,
-0.008240501396358013,
-0.021702520549297333,
0.02432277239859104,
-0.007143983617424965,
-0.026050617918372154,
-0.008848096244037151,
0.04294934496283531,
-0.07340501993894577,
0.022841759026050568,
-0.058025285601615906,
-0.006185123231261969,
0.06281009316444397,
0.03949365019798279,
0.03292403370141983,
-0.02060125395655632,
-0.003301422344520688,
0.02293669618666172,
-0.03856327012181282,
0.005871832370758057,
0.08734172582626343,
-0.01928163506090641,
0.047316428273916245,
-0.06083540990948677,
0.03189871832728386,
0.037424031645059586,
0.027151884511113167,
-0.021550621837377548,
0.04625314101576805,
0.014439865946769714,
-0.0032610741909593344,
-0.02494935318827629,
0.05813920870423317,
0.02887973189353943,
-0.038677193224430084,
0.005387655459344387,
0.02124682441353798,
-0.014981004409492016,
-0.005620250012725592,
-0.0048156618140637875,
-0.011724676936864853,
0.027132896706461906,
-0.05548098310828209,
-0.05426579341292381,
0.04716452956199646,
-0.048683516681194305,
-0.02096201479434967,
-0.029050616547465324,
0.013462018221616745,
0.0797467902302742,
-0.01214239839464426,
0.029183529317378998,
-0.012408221140503883,
-0.0018346508732065558,
-0.03945567458868027,
0.0693417340517044,
0.006075946148484945,
-0.00947942491620779,
0.02128479816019535,
0.07127844542264938,
0.005572781898081303,
0.0035530044697225094,
-0.02031644433736801,
0.06296198815107346,
0.0036645550280809402,
0.002437498653307557,
0.02060125395655632,
0.0070585403591394424,
0.018721509724855423,
0.014107586815953255,
0.0425695963203907,
-0.04989870637655258,
-0.10192399471998215,
0.00005825995685881935,
-0.0055015794932842255,
0.002905061701312661,
0.05183541402220726,
-0.030455680564045906,
-0.0005476658698171377,
0.04826579615473747,
0.015351257286965847,
0.02922150306403637,
-0.03317086771130562,
0.027113908901810646,
-0.006275312975049019,
0.009204109199345112,
-0.07215186208486557,
-0.010091766715049744,
0.04055694118142128,
-0.008943033404648304,
-0.07511388510465622,
-0.02058226801455021,
0.050658199936151505,
0.04697465896606445,
0.005506325978785753,
-0.002412577858194709,
0.026848087087273598,
0.00630854070186615,
0.0073860720731318,
0.07735438644886017,
-0.06337971240282059,
0.011174044571816921,
0.0723797082901001,
0.05092402175068855,
-0.011193031445145607,
0.0034177196212112904,
-0.016120243817567825,
-0.042341750115156174,
-0.0678986981511116,
0.01165822148323059,
0.007381325121968985,
0.002646359382197261,
0.035430360585451126,
-0.026088593527674675,
-0.010006323456764221,
0.01724049635231495,
0.0011932351626455784,
0.027531631290912628,
-0.026810111477971077,
-0.09379741549491882,
0.04743035510182381,
-0.02259492501616478,
0.013509485870599747,
-0.061974648386240005,
0.019158218055963516,
-0.009707272984087467,
-0.06387338042259216,
-0.021721506491303444,
-0.055632881820201874,
-0.047316428273916245,
0.006332274992018938,
-0.040329091250896454,
0.013338600285351276,
-0.0282911229878664,
-0.020392393693327904,
0.0013908219989389181,
-0.05483541265130043,
0.0524430088698864,
-0.04397466033697128,
-0.021379735320806503,
0.040367066860198975,
-0.03330377861857414,
-0.05844300612807274,
0.004941453225910664,
-0.03022783249616623,
0.0009452130761928856,
0.05479743704199791,
0.015398725867271423,
-0.0011285594664514065,
0.022386062890291214,
0.06041768938302994,
0.03525947406888008,
0.02498732879757881,
0.0013314866228029132,
0.056620221585035324,
0.048683516681194305,
-0.03132909536361694,
0.034367069602012634,
-0.011430373415350914,
0.009374994784593582,
0.01428796723484993,
-0.0265822634100914,
-0.045075923204422,
0.050316426903009415,
0.020525304600596428,
0.04351896420121193,
-0.028499985113739967,
0.021683532744646072,
0.0017254737904295325,
-0.004561706446111202,
-0.04443035647273064,
-0.02231011353433132,
-0.006275312975049019,
0.04488605260848999,
-0.007143983617424965,
-0.019499989226460457,
-0.015379738062620163,
0.022481000050902367,
0.015674041584134102,
0.008178792893886566,
0.05882275104522705,
-0.011895563453435898,
-0.10556956380605698,
-0.034025296568870544,
0.014667713083326817,
-0.016215180978178978,
-0.03055061586201191,
0.008411387912929058,
-0.05574680492281914,
-0.00287183397449553,
0.020107584074139595,
-0.009721513837575912,
-0.004552212543785572,
-0.03918985277414322,
-0.010737336240708828,
0.031006311997771263,
0.01898733153939247,
-0.05624047666788101,
-0.043708838522434235,
0.005658224690705538,
-0.0043718330562114716,
0.024816442281007767,
-0.04610124230384827,
0.00864398293197155,
0.030987324193120003,
0.02796833962202072,
0.003488922258839011,
0.0007120249210856855,
-0.03918985277414322,
0.07154426723718643,
0.02329745516180992,
0.03364555165171623,
0.0049367062747478485,
0.06637971103191376,
-0.01589239574968815,
-0.03643668815493584,
-0.008506324142217636,
-0.03353162854909897,
-0.06254427134990692,
-0.06634173542261124,
-0.03945567458868027,
-0.032715171575546265,
0.021056950092315674,
0.018180370330810547,
0.026867074891924858,
-0.032715171575546265,
-0.0012662176741287112,
-0.01115505676716566,
-0.006014237180352211,
0.030075933784246445,
-0.012768980115652084,
-0.07143034040927887,
0.01331011950969696,
0.019338596612215042,
-0.031006311997771263,
0.06311389058828354,
-0.007215186022222042,
0.026848087087273598,
0.01823733188211918,
-0.02922150306403637,
-0.01794302836060524,
0.017715180292725563,
-0.0630379393696785,
-0.0052167694084346294,
0.005525313317775726,
-0.018436698243021965,
0.04845567047595978,
-0.037025295197963715,
0.026373403146862984,
0.011867081746459007,
0.04462022706866264,
-0.018170876428484917,
0.017392395064234734,
0.07230375707149506,
0.04887339100241661,
0.0477721244096756,
-0.02952530048787594,
0.020449355244636536,
0.06527844816446304,
0.015455687418580055,
-0.014781637117266655,
-0.04678478464484215,
-0.019841762259602547,
-0.054949335753917694,
-0.008368666283786297,
-0.001579508651047945,
0.01896834373474121,
0.011620246805250645,
-0.008520564995706081,
-0.00680221151560545,
0.0067499964497983456,
0.017800623551011086,
-0.02430378459393978,
-0.014363916590809822,
0.04644301161170006,
0.00607119919732213,
0.041392382234334946,
0.06596198678016663,
-0.010006323456764221,
0.015503155998885632,
-0.04097466170787811,
0.03558225929737091,
-0.048683516681194305,
0.01331961341202259,
0.0179620161652565,
-0.04864554479718208,
0.005026896018534899,
-0.09706323593854904,
-0.021854419261217117,
0.02289872244000435,
-0.07420249283313751,
0.021436696872115135,
-0.014696194790303707,
-0.001002175034955144,
-0.009598095901310444,
-0.033094920217990875,
0.033778462558984756,
0.004611548036336899,
-0.053392376750707626,
-0.01599682681262493,
-0.02398099936544895,
0.03127213567495346,
0.02263289876282215,
0.004851263016462326,
-0.05453161522746086,
-0.014050625264644623,
-0.06406325846910477,
-0.05624047666788101,
0.03953162580728531,
0.01656644605100155,
-0.057949334383010864,
0.02223416604101658,
-0.060645535588264465,
0.020183533430099487,
0.020050622522830963,
0.01821834407746792,
0.05453161522746086,
0.018797457218170166,
-0.009028475731611252,
-0.013813283294439316,
-0.037443019449710846,
-0.0027531629893928766,
-0.011534803546965122,
-0.00574366794899106,
0.021436696872115135,
-0.03522149845957756,
-0.002833859296515584,
0.008036388084292412,
0.017145561054348946,
0.056658197194337845,
-0.06611388921737671,
-0.03326580300927162,
-0.00878164079040289,
-0.006636072415858507,
0.012797461822628975,
0.013917714357376099,
0.010452525690197945,
0.006351262331008911,
0.0019651888869702816,
0.016841763630509377,
-0.004931959323585033,
-0.05240503326058388,
-0.03797466307878494,
-0.030322767794132233,
-0.013471512123942375,
-0.024778466671705246,
-0.03797466307878494,
-0.056316424161195755,
-0.08688602596521378,
0.013946195133030415,
-0.0003441453736741096,
0.024094924330711365,
0.043708838522434235,
-0.034006308764219284,
-0.04055694118142128,
0.00597151555120945,
0.061784777790308,
-0.031689856201410294,
-0.06489869952201843,
-0.07420249283313751,
-0.038050610572099686,
0.033740486949682236,
-0.0022725462913513184,
-0.010063285939395428,
0.05593667924404144,
0.06330376118421555,
-0.009004741907119751,
0.01263606920838356,
0.013509485870599747,
-0.05756958946585655,
0.0009938681032508612,
-0.040670864284038544,
-0.0035363903734833,
0.06786072254180908,
-0.00862499512732029,
-0.031746819615364075,
-0.030018970370292664,
-0.004041928332298994,
0.05453161522746086,
0.020487330853939056,
-0.052291110157966614,
0.023468341678380966,
0.025708846747875214,
0.00981645006686449,
0.07682274281978607,
-0.022044291719794273,
-0.05403794348239899,
0.007352843880653381,
0.04230377450585365,
0.01797151006758213,
-0.004179586190730333,
0.07348097115755081,
0.025405049324035645,
-0.006275312975049019,
0.021664544939994812,
-0.011629740707576275,
0.007438287138938904,
0.0978986844420433,
0.0671771764755249,
-0.022518975660204887,
-0.026867074891924858,
-0.06569616496562958,
-0.003607593011111021,
-0.08688602596521378,
0.025499986484646797,
0.02728479541838169,
0.07822780311107635,
-0.02859492041170597,
-0.08688602596521378,
-0.002074365969747305,
-0.042987316846847534,
0.00589081970974803,
-0.021531634032726288,
0.0060996804386377335,
-0.03797466307878494,
0.04416453465819359,
0.04617718979716301,
-0.001579508651047945,
-0.012047462165355682,
0.016395561397075653,
0.0007078714552335441,
-0.005373414605855942,
0.07534173130989075,
-0.0030901881400495768,
-0.010585437528789043,
-0.048341747373342514,
-0.017382901161909103,
0.0001365456118946895,
-0.024417707696557045,
-0.09007590264081955,
-0.04488605260848999,
0.037120234221220016,
-0.01565505564212799,
0.002627372043207288,
-0.0282911229878664,
0.0012958854204043746,
-0.022993657737970352,
-0.015550624579191208,
-0.024132898077368736,
0.03318985551595688,
0.06675945967435837,
-0.010917715728282928,
-0.02257593721151352,
-0.025784796103835106,
0.017762647941708565,
0.08111388236284256,
-0.02760758064687252,
0.026164542883634567,
-0.023411380127072334,
0.024151885882019997,
-0.021379735320806503,
-0.011905056424438953,
-0.0023757899180054665,
0.022746823728084564,
0.02358226478099823,
0.04674680903553963,
0.029012642800807953,
-0.028443021699786186,
-0.012037968263030052,
0.065012626349926,
-0.03055061586201191,
0.019727837294340134,
-0.06041768938302994,
-0.049329087138175964,
0.008349679410457611,
0.03911390155553818,
-0.023335430771112442,
0.017354421317577362,
-0.0445442795753479,
0.06398730725049973,
-0.05973414331674576,
0.04378478601574898,
0.01762024313211441,
0.06470882892608643,
-0.04393668472766876,
0.03127213567495346,
-0.10518981516361237,
-0.06854426860809326,
0.04955693334341049,
-0.0072958823293447495,
0.0371771939098835,
-0.004343352280557156,
0.034063272178173065,
0.024379733949899673,
-0.006023731082677841,
-0.04313921555876732,
0.01493353582918644,
0.08399995416402817,
0.06797464936971664,
0.013177207671105862,
-0.019803786650300026,
-0.017791129648685455,
0.06668350845575333,
0.03148099407553673,
0.013917714357376099,
-0.013528473675251007,
-0.060303766280412674,
0.0059145535342395306,
-0.0011463601840659976,
0.013167714700102806,
0.03387339785695076,
-0.03953162580728531,
-0.018180370330810547,
0.037386056035757065,
-0.058291107416152954,
-0.00899524800479412,
-0.019367078319191933,
0.009194615297019482,
-0.034689854830503464,
0.03093036264181137,
0.04917718842625618,
0.050961997359991074,
-0.0206582173705101,
-0.03827846050262451,
0.0295442882925272,
0.01830378733575344,
0.05889870226383209,
-0.009090185165405273,
0.04450630396604538,
-0.0019841762259602547,
0.026373403146862984,
-0.06288604438304901,
0.01147784199565649,
0.013575942255556583,
-0.023696189746260643,
-0.02422783523797989,
-0.015389231964945793,
0.06440503150224686,
0.042683519423007965,
0.01011075358837843,
-0.053392376750707626,
0.025348087772727013,
0.05574680492281914,
0.039037954062223434,
0.05126579478383064,
0.029658211395144463,
-0.013386068865656853,
0.015873409807682037,
-0.014487333595752716,
0.0132911317050457,
0.004884491208940744,
0.0015581478364765644,
-0.01164872758090496,
-0.03159492090344429,
0.04925313591957092,
0.005045883357524872,
0.010186702944338322,
0.017117079347372055,
-0.004374206531792879,
-0.04249364882707596,
0.03351264074444771,
-0.013566448353230953,
-0.0007998413639143109,
-0.004405060783028603,
-0.03288605809211731,
0.006498414091765881,
-0.06311389058828354,
0.03201264142990112,
-0.019803786650300026,
0.016499990597367287,
-0.02354429103434086,
-0.022139228880405426,
0.04386073723435402,
0.07556957751512527,
0.008022147230803967,
-0.07325312495231628,
-0.017354421317577362,
-0.020867077633738518,
-0.06444299966096878,
0.0007155850762501359,
0.07583539932966232,
0.016224674880504608,
-0.065012626349926,
0.01858859695494175,
-0.053999971598386765,
-0.03020884469151497,
0.03960757330060005,
0.05525313317775726,
-0.01893986389040947,
-0.01213290449231863,
0.013917714357376099,
0.01655695214867592,
-0.038696181029081345,
0.041050609201192856,
0.0001344688789686188,
-0.01062341220676899,
-0.01030062697827816,
0.027436694130301476,
-0.05020250380039215,
0.0056155030615627766,
0.009185121394693851,
-0.01599682681262493,
0.02164555713534355,
-0.007457274477928877,
-0.012379740364849567,
0.04545567184686661,
0.0031115489546209574,
-0.010870247147977352,
-0.019765812903642654,
-0.022101253271102905,
0.06755692511796951,
-0.027417706325650215,
0.01377530861645937,
-0.025063278153538704,
0.020791128277778625,
0.046329088509082794,
-0.02494935318827629,
0.008335438556969166,
-0.05354427546262741,
0.028386060148477554,
0.045987315475940704,
0.019462015479803085,
-0.0019485749071463943,
-0.02491137944161892,
-0.010832272469997406,
0.08779741823673248,
-0.02796833962202072,
0.010708854533731937,
0.012702524662017822,
-0.017999989911913872,
0.05415187031030655,
0.002795884618535638,
-0.044999975711107254,
0.012322777882218361,
0.018484167754650116,
0.026715176180005074,
0.022841759026050568,
-0.00795094482600689,
-0.01476265024393797,
0.03941769897937775,
0.05589870363473892,
-0.053050603717565536,
-0.014534802176058292,
0.07572147995233536,
0.032411374151706696,
0.030417704954743385,
-0.02162657119333744,
0.03531643748283386,
-0.00440743425861001,
-0.001997229875996709,
0.012569613754749298,
0.028367072343826294,
-0.044999975711107254,
0.025177201256155968,
-0.002360362559556961,
-0.05646832287311554,
0.009835437871515751,
0.02231011353433132,
0.023107582703232765,
-0.047696176916360855,
-0.07089869678020477,
-0.018417712301015854,
-0.03820250928401947,
-0.029107579961419106,
-0.05149364471435547,
-0.01331961341202259,
0.01923416741192341,
0.017221510410308838,
-0.09212653338909149,
-0.020354419946670532,
-0.00928955152630806,
0.003251580521464348,
-0.05692401900887489,
-0.002023337408900261,
0.031462009996175766,
-0.037006307393312454,
-0.00965505838394165,
0.021759482100605965,
0.005757908336818218,
0.01792404055595398,
-0.011620246805250645,
0.04408858343958855,
-0.0026487326249480247,
-0.034405045211315155,
0.011667715385556221,
0.05624047666788101,
0.009175627492368221,
-0.012930372729897499,
0.03525947406888008,
-0.033398717641830444,
0.06041768938302994,
0.0006331088370643556,
-0.018113914877176285,
-0.007305375766009092,
0.023829100653529167,
0.0020969135221093893,
-0.01627214252948761,
0.003975472413003445,
-0.0156265739351511,
0.05646832287311554,
-0.039075929671525955,
0.02094302698969841,
0.0007517796475440264,
0.06151895225048065,
-0.017098091542720795,
-0.008568033576011658,
0.012474676594138145,
-0.012474676594138145,
0.007504742592573166,
-0.06155692785978317,
0.01893036998808384,
0.011506322771310806,
-0.03677846118807793,
0.07253160327672958,
0.0179620161652565,
0.05772148817777634,
0.059316422790288925,
-0.014401891268789768,
0.022784797474741936,
0.021455684676766396,
-0.020145557820796967,
-0.012028474360704422,
0.03227846324443817,
-0.01624366268515587,
-0.023487329483032227,
0.028386060148477554,
-0.03334175422787666,
-0.047999974340200424,
0.05988604202866554,
-0.05054427683353424,
0.0344809927046299,
0.014050625264644623,
0.050961997359991074,
-0.017857585102319717,
0.0955442488193512,
-0.02656327746808529,
-0.040405042469501495,
0.005591769237071276,
-0.03195567801594734,
-0.03979744762182236,
0.02859492041170597,
-0.008795881643891335,
0.00796993263065815,
0.01756328158080578,
-0.02694302424788475,
0.02787340246140957,
-0.007262654136866331,
-0.008444615639746189,
0.039341751486063004,
0.08331640809774399,
0.022822773084044456,
0.025708846747875214,
0.013632903806865215
] |
713,366
|
xmlschema.validators.xsdbase
|
_parse_xpath_default_namespace
|
Parse XSD 1.1 xpathDefaultNamespace attribute for schema, alternative, assert, assertion
and selector declarations, checking if the value is conforming to the specification. In
case the attribute is missing or for wrong attribute values defaults to ''.
|
def _parse_xpath_default_namespace(self, elem: ElementType) -> str:
"""
Parse XSD 1.1 xpathDefaultNamespace attribute for schema, alternative, assert, assertion
and selector declarations, checking if the value is conforming to the specification. In
case the attribute is missing or for wrong attribute values defaults to ''.
"""
try:
value = elem.attrib['xpathDefaultNamespace']
except KeyError:
return ''
value = value.strip()
if value == '##local':
return ''
elif value == '##defaultNamespace':
default_namespace = getattr(self, 'default_namespace', None)
return default_namespace if isinstance(default_namespace, str) else ''
elif value == '##targetNamespace':
target_namespace = getattr(self, 'target_namespace', '')
return target_namespace if isinstance(target_namespace, str) else ''
elif len(value.split()) == 1:
return value
else:
admitted_values = ('##defaultNamespace', '##targetNamespace', '##local')
msg = _("wrong value {0!r} for 'xpathDefaultNamespace' "
"attribute, can be (anyURI | {1}).")
self.parse_error(msg.format(value, ' | '.join(admitted_values)), elem)
return ''
|
(self, elem: Optional[~T]) -> str
|
[
-0.015691446140408516,
0.05108588933944702,
0.04177108407020569,
-0.03067336603999138,
-0.009687762707471848,
-0.0046846927143633366,
0.032620012760162354,
0.004407249391078949,
0.07568279653787613,
0.008523411117494106,
0.01587337628006935,
-0.011661700904369354,
-0.024596910923719406,
0.017628997564315796,
0.005771723110228777,
0.021613260731101036,
0.0192117877304554,
0.03311122581362724,
0.0066086002625525,
0.04035203158855438,
0.010770244523882866,
-0.037586696445941925,
-0.024706067517399788,
-0.012289358302950859,
-0.0019853089470416307,
-0.021631455048918724,
0.02192254178225994,
-0.04650126025080681,
0.0007231709896586835,
-0.04613739997148514,
-0.020285174250602722,
-0.0454096794128418,
-0.006335705518722534,
0.05170445144176483,
0.07459121942520142,
0.0020876445341855288,
-0.03926045075058937,
0.03505787253379822,
-0.040570348501205444,
-0.07582834362983704,
0.003192868083715439,
-0.014517998322844505,
-0.029236119240522385,
-0.04602824151515961,
-0.00869169645011425,
0.02568848803639412,
0.06487616896629333,
0.0874718502163887,
-0.010915788821876049,
0.038932979106903076,
0.023032313212752342,
0.021012892946600914,
-0.011998270638287067,
0.06585858762264252,
-0.060145992785692215,
0.07018852233886719,
0.017165077850222588,
0.029945645481348038,
-0.0376230850815773,
0.05425146967172623,
0.003001841716468334,
0.021231207996606827,
0.042316872626543045,
0.019721191376447678,
-0.010124393738806248,
0.00498942518606782,
0.05668932944536209,
0.000027929068892262876,
-0.06378459185361862,
0.007677437737584114,
-0.01893889345228672,
-0.025361014530062675,
-0.08295999467372894,
-0.004630113486200571,
0.06716848164796829,
-0.024269435554742813,
0.017910989001393318,
-0.024978961795568466,
0.020976506173610687,
0.009524025022983551,
-0.008987332694232464,
0.01668296381831169,
-0.018011050298810005,
-0.01614627055823803,
0.044172558933496475,
-0.03181952238082886,
0.0069178808480501175,
0.048575259745121,
0.024760646745562553,
-0.029690945520997047,
-0.01882973499596119,
0.00020936141663696617,
0.03027312085032463,
0.08325108140707016,
-0.030727945268154144,
-0.056762099266052246,
-0.020739998668432236,
-0.06611329317092896,
0.049775995314121246,
-0.015009209513664246,
-0.020994700491428375,
0.023341594263911247,
-0.054651714861392975,
-0.041188906878232956,
0.019448297098279,
0.002415118273347616,
0.023887382820248604,
-0.013053463771939278,
0.023723646998405457,
-0.0192117877304554,
-0.030764330178499222,
-0.08514314889907837,
0.029690945520997047,
0.03791417181491852,
0.0022752596996724606,
0.013808472082018852,
-0.027107540518045425,
0.02194073423743248,
0.05829031020402908,
0.04126168042421341,
-0.001977349631488323,
0.032092418521642685,
-0.033238574862480164,
-0.012071042321622372,
0.04824778437614441,
-0.004195756278932095,
0.016200849786400795,
0.00185454695019871,
0.01401769183576107,
0.07357241213321686,
0.03616764396429062,
0.007277192082256079,
-0.03425738215446472,
-0.02830827794969082,
0.038350801914930344,
-0.00014419358922168612,
0.017419779673218727,
0.07120732963085175,
-0.047301750630140305,
0.0463557131588459,
0.0050485520623624325,
-0.0038250742945820093,
0.021249402314424515,
-0.04133445397019386,
-0.027380436658859253,
0.05286880210042,
0.045919083058834076,
0.013872147537767887,
-0.006663179025053978,
-0.02878129482269287,
0.0023787321988493204,
-0.01496372651308775,
-0.0603279247879982,
-0.0192117877304554,
0.01731971837580204,
-0.004466376733034849,
0.00648124935105443,
-0.006449411623179913,
-0.0034930522087961435,
-0.047811154276132584,
0.006099196616560221,
-0.005348736420273781,
0.05050371587276459,
-0.07633774727582932,
0.056034382432699203,
0.03805971518158913,
0.025361014530062675,
0.0042753503657877445,
0.006090100388973951,
-0.011043139733374119,
-0.005567051935940981,
0.011607121676206589,
-0.019139016047120094,
-0.00006690894952043891,
0.018793348222970963,
0.02179519087076187,
0.01655561290681362,
0.009878788143396378,
0.019593840464949608,
0.03629499673843384,
0.001298523973673582,
0.017228752374649048,
-0.01674663834273815,
0.029436243698000908,
0.009960656985640526,
0.03951515257358551,
0.016109883785247803,
0.003065517172217369,
-0.02230459451675415,
0.014718121849000454,
-0.0025265500880777836,
0.027871645987033844,
0.021413138136267662,
0.08019465953111649,
0.006440315395593643,
-0.05225023999810219,
0.06531280279159546,
-0.0032542694825679064,
0.023996541276574135,
0.006658630911260843,
0.04868441820144653,
0.010342709720134735,
0.008587086573243141,
0.048575259745121,
0.011816341429948807,
-0.021831577643752098,
0.010115297511219978,
0.021285787224769592,
-0.09554953128099442,
-0.002268437296152115,
-0.07178950309753418,
0.01600072719156742,
-0.08310553431510925,
-0.00541695998981595,
-0.0503217838704586,
0.021977121010422707,
-0.04475473240017891,
0.05188637971878052,
-0.010060718283057213,
0.02017601579427719,
0.004730174783617258,
0.01122506894171238,
0.06145589053630829,
-0.03176494315266609,
0.024742454290390015,
-0.026707295328378677,
0.08186841011047363,
-0.007067972794175148,
0.006290222983807325,
0.007800240535289049,
0.028690330684185028,
-0.059636589139699936,
0.033838942646980286,
0.006399380974471569,
0.05992767959833145,
-0.05708957463502884,
0.07713823765516281,
-0.010679279454052448,
0.04264434799551964,
-0.014481612481176853,
0.018056534230709076,
-0.08106791973114014,
-0.05297796055674553,
0.006876946892589331,
0.015363972634077072,
0.026325242593884468,
-0.05057648569345474,
0.006622245069593191,
0.020794577896595,
-0.020248787477612495,
-0.05057648569345474,
0.07102539390325546,
0.006453959736973047,
-0.03598571568727493,
0.049048274755477905,
0.01868419162929058,
-0.06527641415596008,
-0.0025561137590557337,
0.013399130664765835,
-0.026343436911702156,
0.008555249311029911,
-0.026743682101368904,
0.0009886748157441616,
0.016228139400482178,
-0.03442111983895302,
0.0023309756070375443,
-0.0008039023377932608,
0.007700179237872362,
0.03513064607977867,
0.007231710013002157,
0.09256588667631149,
0.0077138240449130535,
-0.03527618944644928,
-0.021977121010422707,
-0.008882722817361355,
0.009010073728859425,
-0.04151638224720955,
0.015964340418577194,
0.005676209926605225,
-0.038350801914930344,
-0.03200145438313484,
-0.005376026034355164,
-5.729722829528328e-7,
0.03922406584024429,
-0.01700134016573429,
0.011243262328207493,
-0.019048050045967102,
-0.070807084441185,
-0.013326358050107956,
0.003966069780290127,
0.015609577298164368,
0.04850248619914055,
-0.04086143523454666,
0.03573101386427879,
-0.03029131330549717,
-0.01763809472322464,
0.013571963645517826,
-0.046173784881830215,
0.009669569320976734,
0.03551269695162773,
-0.07375434041023254,
-0.0019580195657908916,
0.02179519087076187,
-0.05530666187405586,
0.0004053623415529728,
0.03149205073714256,
0.012498578056693077,
-0.01270779687911272,
0.06756872683763504,
-0.0016817136202007532,
-0.023960156366229057,
-0.01708320900797844,
-0.04864802956581116,
-0.0366770476102829,
0.018529551103711128,
0.061019256711006165,
0.039442382752895355,
-0.10828462243080139,
0.06156504526734352,
-0.013444612734019756,
-0.0238146111369133,
0.034075453877449036,
-0.048575259745121,
-0.045446064323186874,
-0.06120118871331215,
-0.028599366545677185,
-0.0005997998523525894,
0.04253518953919411,
0.014608963392674923,
0.0022968638222664595,
0.021012892946600914,
-0.028963224962353706,
-0.04439087212085724,
-0.04235325753688812,
0.03214699774980545,
-0.023487137630581856,
0.017692673951387405,
-0.01550951600074768,
-0.003213335294276476,
0.007463670335710049,
-0.0027403177227824926,
-0.03765946999192238,
-0.029690945520997047,
0.0020580808632075787,
-0.006876946892589331,
0.019466489553451538,
0.010233551263809204,
0.024887997657060623,
0.05472448468208313,
-0.06611329317092896,
-0.03214699774980545,
0.027107540518045425,
0.014736314304172993,
0.0398426279425621,
0.054760873317718506,
0.005312350578606129,
-0.002053532749414444,
0.02816273458302021,
0.027344049885869026,
0.053159888833761215,
0.00042838783701881766,
-0.02630705013871193,
0.010451867245137691,
-0.01040638517588377,
0.046428486704826355,
-0.011106815189123154,
0.04515497758984566,
0.04901188984513283,
0.0010307460324838758,
-0.034457504749298096,
0.027998996898531914,
-0.01507288496941328,
-0.04708343371748924,
-0.07808427512645721,
-0.020849155262112617,
0.08638027310371399,
0.015118367038667202,
-0.019866734743118286,
-0.0018568211235105991,
-0.08288721740245819,
0.011688990518450737,
0.01802014745771885,
-0.014554384164512157,
0.051413364708423615,
-0.037586696445941925,
-0.053669292479753494,
0.026379821822047234,
-0.004812043625861406,
-0.0428626611828804,
0.027980804443359375,
0.05301434546709061,
-0.025379208847880363,
0.040060944855213165,
0.007759306114166975,
-0.005680758040398359,
-0.0009761670953594148,
-0.02292315661907196,
-0.03576739877462387,
-0.010915788821876049,
-0.014599867165088654,
-0.01981215551495552,
0.013690218329429626,
-0.02628885768353939,
0.0314374715089798,
-0.008741727098822594,
0.022777611389756203,
0.002033065538853407,
-0.03729560971260071,
-0.035439927130937576,
0.06221999600529671,
0.00041360605973750353,
0.001703317859210074,
0.005930911749601364,
-0.04548245295882225,
0.052796028554439545,
0.04995792359113693,
-0.0130989458411932,
0.034839559346437454,
0.05214108154177666,
-0.045809924602508545,
-0.11054055392742157,
-0.007581924553960562,
0.0563618540763855,
0.05610715225338936,
0.06553111970424652,
0.0013462805654853582,
-0.012607735581696033,
-0.053269047290086746,
0.0034839557483792305,
0.0020342026837170124,
0.02241375297307968,
0.023396173492074013,
-0.05585245043039322,
-0.07844813168048859,
0.044063400477170944,
-0.00803220085799694,
-0.016473744064569473,
0.0006486934726126492,
0.016237234696745872,
-0.0646214708685875,
-0.0520683117210865,
0.005289609078317881,
0.018484069034457207,
0.0738271176815033,
-0.02692561224102974,
-0.033584240823984146,
-0.05057648569345474,
0.014736314304172993,
-0.10391830652952194,
0.00985149946063757,
-0.0882723405957222,
-0.042571574449539185,
0.0511222742497921,
0.0037409316282719374,
-0.00907374918460846,
-0.02481522597372532,
-0.0323835052549839,
0.030600594356656075,
0.048575259745121,
-0.04511859267950058,
0.01827484928071499,
0.047920312732458115,
0.042171329259872437,
-0.04035203158855438,
-0.026579944416880608,
0.07837536185979843,
-0.023996541276574135,
0.002458326518535614,
0.0022786709014326334,
0.010870305821299553,
-0.038714662194252014,
-0.01507288496941328,
-0.011743568815290928,
-0.03201964497566223,
0.0312737338244915,
-0.03343869745731354,
-0.04923020675778389,
0.03926045075058937,
0.03065517172217369,
0.012098331935703754,
-0.02004866488277912,
0.03816887363791466,
0.055270276963710785,
0.012453095056116581,
-0.037586696445941925,
-0.02829008549451828,
0.0005398198263719678,
-0.006344802211970091,
-0.009769630618393421,
0.051522523164749146,
0.008932753466069698,
0.0647670105099678,
-0.025524752214550972,
-0.013262682594358921,
0.030200347304344177,
-0.03362062945961952,
0.07561002671718597,
0.006799626629799604,
-0.008205034770071507,
-0.001229163259267807,
0.018920699134469032,
-0.0839788019657135,
-0.058035608381032944,
0.023650875315070152,
-0.002512905513867736,
-0.051777224987745285,
-0.10057079792022705,
0.0011580969439819455,
0.034966908395290375,
-0.02941804938018322,
-0.03343869745731354,
0.0028858615551143885,
0.007586473133414984,
-0.006967911496758461,
0.021249402314424515,
-0.031073611229658127,
0.03653150424361229,
-0.031364697962999344,
0.05796283856034279,
-0.008232323452830315,
-0.052905187010765076,
0.006949718575924635,
-0.05184999480843544,
0.036204032599925995,
-0.05119504779577255,
0.014499805867671967,
-0.051413364708423615,
0.012380323372781277,
-0.00675869220867753,
-0.006417573895305395,
0.013417323119938374,
0.03611306846141815,
0.034584857523441315,
0.05268687382340431,
0.017738156020641327,
0.07961248606443405,
-0.0319104865193367,
-0.014254200272262096,
-0.007395446766167879,
0.010706569068133831,
0.00839151255786419,
-0.006554021500051022,
-0.042462415993213654,
0.008614376187324524,
-0.006358446553349495,
0.0573078878223896,
-0.010188069194555283,
0.09045550227165222,
0.03565824404358864,
-0.0018431763164699078,
0.011388805694878101,
-0.023359786719083786,
0.047665610909461975,
-0.01284424401819706,
-0.0419166274368763,
-0.05559774860739708,
0.006890591233968735,
0.0165919978171587,
0.014681735076010227,
0.019284559413790703,
-0.05275964364409447,
-0.024978961795568466,
0.034220997244119644,
0.04850248619914055,
0.016291813924908638,
-0.028490208089351654,
-0.01759261265397072,
-0.06534918397665024,
-0.01058831438422203,
0.06327518820762634,
-0.06196529418230057,
-0.07018852233886719,
0.03687717020511627,
-0.03518522530794144,
-0.024706067517399788,
0.029563594609498978,
0.03467582166194916,
-0.0814317837357521,
0.00014369611744768918,
0.030600594356656075,
-0.015427648089826107,
0.032074224203825,
0.04184385761618614,
-0.05144974961876869,
0.02479703351855278,
-0.04122529551386833,
-0.0036022101994603872,
-0.0070998105220496655,
-0.058144766837358475,
-0.012898823246359825,
-0.08754462003707886,
0.04126168042421341,
-0.03201964497566223,
-0.0001452595752198249,
-0.02292315661907196,
-0.0018568211235105991,
0.0023537168744951487,
-0.03176494315266609,
0.02903599664568901,
-0.03904213756322861,
0.016728445887565613,
0.057380661368370056,
0.020230595022439957,
0.0638209730386734,
0.003597661852836609,
0.0009977712761610746,
-0.019866734743118286,
0.028999611735343933,
0.011889113113284111,
-0.002615241101011634,
-0.013035270385444164,
-0.010897595435380936,
0.00891456101089716,
0.03167397901415825,
-0.011234165169298649,
-0.00401610042899847,
-0.01697405055165291,
0.0007504604291170835,
-0.039187680929899216,
-0.0008630295051261783,
-0.04464557394385338,
0.006554021500051022,
-0.028399242088198662,
0.00422304542735219,
0.018393103033304214,
-0.03849634900689125,
-0.01671934872865677,
-0.021776998415589333,
0.01814749836921692,
0.03169217333197594,
0.04384508356451988,
-0.02543378621339798,
-0.01620994508266449,
-0.11104995757341385,
-0.0007891205605119467,
0.01893889345228672,
0.010624701157212257,
0.060764554888010025,
-0.032347120344638824,
-0.045809924602508545,
0.033820752054452896,
0.020485296845436096,
0.04490027576684952,
0.014590770937502384,
0.018584130331873894,
-0.0393696092069149,
-0.024269435554742813,
0.026015963405370712,
0.01740158535540104,
0.008614376187324524,
-0.008764468133449554,
-0.02607054077088833,
0.04115252196788788,
-0.008477929048240185,
0.001847724663093686,
0.026252470910549164,
-0.011880016885697842,
0.030727945268154144,
0.009760534390807152,
-0.037095487117767334,
-0.037950556725263596,
-0.03438473492860794,
0.007718372158706188,
0.05792644992470741,
-0.010806630365550518,
-0.0384235754609108,
0.024578716605901718,
-0.023159664124250412,
-0.04923020675778389,
-0.05399676784873009,
0.006590407341718674,
0.03214699774980545,
0.03827803209424019,
0.013071656227111816,
-0.04511859267950058,
-0.05345097929239273,
0.0242876298725605,
-0.011188683100044727,
-0.00421167491003871,
0.006772337015718222,
0.04813862591981888,
-0.02967275120317936,
-0.06291132420301437,
-0.0468287318944931,
0.014099559746682644,
0.0006316375220194459,
0.007868464104831219,
-0.046282943338155746,
0.012644121423363686,
-0.04271711781620979,
-0.06298410147428513,
-0.039078522473573685,
0.045700766146183014,
0.042062170803546906,
-0.02230459451675415,
-0.04479111731052399,
-0.03642234578728676,
0.07138925790786743,
-0.04097059369087219,
-0.011934595182538033,
0.02070361189544201,
0.015009209513664246,
-0.04384508356451988,
-0.008923657238483429,
0.041807468980550766,
0.023887382820248604,
-0.04060673341155052,
0.009887885302305222,
-0.0227048397064209,
0.09263865649700165,
0.026761874556541443,
-0.021831577643752098,
-0.06491255760192871,
-0.04897550493478775,
-0.0035385347437113523,
0.0016692059580236673,
-0.040206488221883774,
-0.016537418588995934,
-0.035476312041282654,
0.024378594011068344,
-0.053050730377435684,
-0.0058217537589371204,
-0.024214858189225197,
0.020867349579930305,
-0.002708479994907975,
0.009614990092813969,
0.0054533458314836025,
0.008955494500696659,
0.023487137630581856,
0.030618786811828613,
-0.03693174943327904,
0.08259613066911697,
0.043553996831178665,
0.05545220524072647,
0.020485296845436096,
-0.029472628608345985,
0.04970322176814079,
-0.055561363697052,
-0.031946875154972076,
-0.004821139853447676,
0.004166192375123501,
0.005880881100893021,
0.026634523645043373,
0.05781729146838188,
0.0038546377327293158,
-0.01216200739145279,
-0.033456891775131226,
-0.014135945588350296,
0.0004164486890658736,
0.06280217319726944,
-0.030455049127340317,
-0.03218338266015053,
-0.01295340247452259,
0.0025924998335540295,
-0.003533986397087574,
-0.04464557394385338,
0.043808698654174805,
0.0010966956615447998,
0.013362744823098183,
0.032201576977968216,
-0.03962431102991104,
0.04602824151515961,
0.007345416117459536,
0.014436130411922932,
-0.00754553871229291,
-0.004752916283905506,
-0.006967911496758461,
-0.012853341177105904
] |
713,367
|
xmlschema.validators.schemas
|
_validate_references
| null |
def _validate_references(self, source: XMLResource,
validation: str = 'lax',
id_map: Optional[Counter[str]] = None,
identities: Optional[IdentityMapType] = None,
**kwargs: Any) -> Iterator[XMLSchemaValidationError]:
# Check unresolved IDREF values
if id_map is not None:
for k, v in id_map.items():
if v == 0:
msg = _("IDREF %r not found in XML document") % k
yield self.validation_error(validation, msg, source.root)
# Check still enabled key references (lazy validation cases)
if identities is not None:
for identity, counter in identities.items():
if counter.enabled and isinstance(identity, XsdKeyref):
for error in cast(KeyrefCounter, counter).iter_errors(identities):
yield self.validation_error(validation, error, source.root, **kwargs)
|
(self, source: xmlschema.resources.XMLResource, validation: str = 'lax', id_map: Optional[Counter[str]] = None, identities: Optional[Dict[Union[xmlschema.validators.identities.XsdKey, xmlschema.validators.identities.XsdKeyref, str, NoneType], Union[xmlschema.validators.identities.IdentityCounter, xmlschema.validators.identities.KeyrefCounter]]] = None, **kwargs: Any) -> Iterator[xmlschema.validators.exceptions.XMLSchemaValidationError]
|
[
-0.0008708855602890253,
-0.03370688483119011,
-0.013682345859706402,
0.045477245002985,
-0.05375940352678299,
0.011052202433347702,
0.03243844583630562,
0.024342823773622513,
0.08729840815067291,
-0.0006925113848410547,
-0.04614877328276634,
-0.016349798068404198,
0.08065775781869888,
-0.0326436348259449,
0.006934440694749355,
0.010884320363402367,
-0.06726454198360443,
0.029416577890515327,
0.0014339882181957364,
-0.04491763934493065,
-0.04536532610654831,
0.0792400911450386,
0.01992194354534149,
-0.06685416400432587,
-0.024193596094846725,
0.07491248100996017,
0.028894279152154922,
0.011733055114746094,
0.008324126712977886,
-0.010362022556364536,
-0.027346039190888405,
0.02738334611058235,
0.009578575380146503,
-0.0012567798839882016,
0.010800379328429699,
-0.026749126613140106,
-0.04383573681116104,
0.03594530373811722,
0.06032543629407883,
-0.00212649954482913,
-0.0058292206376791,
0.048461806029081345,
0.013579752296209335,
-0.021768640726804733,
-0.0019551205914467573,
0.04771566763520241,
-0.05308787524700165,
0.030629055574536324,
-0.028968894854187965,
-0.06629455834627151,
0.021731333807110786,
-0.009093583561480045,
0.020780004560947418,
0.014792229980230331,
0.028987547382712364,
0.041224248707294464,
-0.02251478098332882,
0.07946393638849258,
0.06621994078159332,
-0.03079693764448166,
0.008533978834748268,
-0.004043147433549166,
0.02962176688015461,
-0.013673019595444202,
0.03228921815752983,
-0.04032887890934944,
-0.007237560115754604,
-0.06663031876087189,
0.012106125243008137,
0.050774842500686646,
0.0028213427867740393,
-0.010231447406113148,
-0.05286403372883797,
-0.02087327279150486,
0.031188661232590675,
0.0052649518474936485,
-0.00008736544259591028,
0.014997418038547039,
0.05491591989994049,
-0.036318376660346985,
0.02365264482796192,
-0.018000632524490356,
0.008174899034202099,
0.0016310159116983414,
0.03758681192994118,
-0.012367273680865765,
0.031319234520196915,
0.015062705613672733,
0.022309591993689537,
0.021824602037668228,
-0.01832706853747368,
0.05032715946435928,
-0.049618326127529144,
-0.060698505491018295,
-0.026823740452528,
0.04696952551603317,
-0.02835332788527012,
-0.010175487026572227,
-0.01060451753437519,
0.0024459408596158028,
0.0478275865316391,
-0.01889600045979023,
-0.016415085643529892,
0.06819721311330795,
-0.01829908974468708,
-0.03827699273824692,
0.008128264918923378,
-0.06219078600406647,
0.024865122511982918,
0.021358264610171318,
-0.01994059793651104,
-0.05375940352678299,
0.03753085434436798,
0.041336167603731155,
-0.023839179426431656,
-0.030983472242951393,
0.03547896817326546,
-0.05637089163064957,
-0.05734087526798248,
-0.04417150095105171,
0.03721374273300171,
-0.04294037073850632,
-0.04398496448993683,
0.018737446516752243,
0.067562997341156,
-0.008007016964256763,
-0.006794539280235767,
0.04294037073850632,
0.09252138435840607,
-0.04088848456740379,
0.014437813311815262,
-0.019884636625647545,
-0.027103543281555176,
0.021507492288947105,
0.048461806029081345,
-0.03555358201265335,
0.015706252306699753,
0.06133272498846054,
-0.04633530601859093,
-0.020369628444314003,
0.018616197630763054,
0.023111693561077118,
-0.0175063144415617,
0.02167537249624729,
-0.03695259615778923,
-0.02809217944741249,
-0.05819893628358841,
0.014372525736689568,
-0.02111576870083809,
0.04465649276971817,
-0.02145153097808361,
-0.03314727917313576,
0.007106985431164503,
0.021880561485886574,
-0.0793147087097168,
0.006188300438225269,
-0.010287408716976643,
-0.01960483379662037,
0.041671931743621826,
0.012003530748188496,
0.035161856561899185,
0.04096309840679169,
0.042156923562288284,
-0.030106758698821068,
0.006715261843055487,
0.03333381563425064,
-0.012320640496909618,
-0.06327269226312637,
0.03439706563949585,
0.029006201773881912,
-0.009988952428102493,
0.0012707700952887535,
0.055550139397382736,
-0.036187801510095596,
-0.013216008432209492,
-0.012255352921783924,
0.012451214715838432,
-0.009312762878835201,
-0.003499863902106881,
0.08349309116601944,
-0.020854618400335312,
0.02995752915740013,
0.01597672700881958,
-0.020015211775898933,
0.002865644870325923,
0.058236245065927505,
-0.024100329726934433,
0.015659617260098457,
0.035516273230314255,
-0.035963959991931915,
-0.012469868175685406,
-0.03473282605409622,
0.03320324048399925,
0.030461173504590988,
0.0004092112649232149,
0.00010805917554534972,
-0.042156923562288284,
-0.01161180716007948,
0.0014036762295290828,
0.009382713586091995,
-0.03943350911140442,
-0.015314527787268162,
-0.06704069674015045,
0.015771538019180298,
-0.06394421309232712,
0.04342535883188248,
-0.028875626623630524,
-0.02973368763923645,
0.008571285754442215,
-0.02389514073729515,
-0.0052649518474936485,
0.004640059545636177,
-0.04831257835030556,
-0.00018056010594591498,
0.008137592114508152,
0.01131335087120533,
-0.019530219957232475,
-0.023969754576683044,
0.0019551205914467573,
0.029994836077094078,
0.07170407474040985,
-0.01596740074455738,
0.018569564446806908,
-0.07409172505140305,
0.028036218136548996,
0.033762846142053604,
0.03879928961396217,
0.00008277493179775774,
0.021022500470280647,
0.017674196511507034,
0.02365264482796192,
0.020724045112729073,
-0.016405757516622543,
0.013859554193913937,
0.06327269226312637,
-0.088641457259655,
-0.0008708855602890253,
0.00547946710139513,
0.06815990805625916,
0.03344573453068733,
-0.01584615372121334,
0.014922804199159145,
0.0361691452562809,
-0.027308732271194458,
0.02342880330979824,
-0.015799518674612045,
-0.02648797817528248,
0.005619368515908718,
-0.0021230021957308054,
0.010660477913916111,
-0.017879385501146317,
-0.029938876628875732,
-0.02378321997821331,
-0.020444242283701897,
0.052416350692510605,
-0.025462035089731216,
-0.0653618797659874,
-0.05935545265674591,
0.012768324464559555,
-0.04443265125155449,
0.042156923562288284,
0.08670148998498917,
0.018103227019309998,
0.07827010750770569,
-0.009774437174201012,
-0.006281567737460136,
0.021824602037668228,
-0.005484130699187517,
0.03128192946314812,
-0.006276904605329037,
0.09692361205816269,
0.03639299049973488,
-0.018019286915659904,
0.04036618396639824,
-0.0034625569824129343,
-0.007237560115754604,
0.02354072406888008,
0.026506630703806877,
0.01786073110997677,
0.01422329805791378,
0.00972780305892229,
0.015016071498394012,
-0.022794583812355995,
-0.01125739049166441,
0.0489841066300869,
-0.027140850201249123,
-0.04129886254668236,
-0.00705568864941597,
-0.04853641986846924,
-0.04685760661959648,
0.0209851935505867,
0.009905011393129826,
-0.009905011393129826,
0.0006773553905077279,
-0.04044080153107643,
-0.02380187250673771,
0.016704214736819267,
-0.03628106787800789,
-0.03682202100753784,
0.018252454698085785,
-0.024118982255458832,
-0.013859554193913937,
0.04790220037102699,
-0.049021411687135696,
-0.06968949735164642,
-0.056743964552879333,
0.02007117122411728,
-0.03792257606983185,
0.01607932150363922,
0.03928428143262863,
-0.003241046564653516,
0.011742381379008293,
-0.051595594733953476,
-0.047044139355421066,
0.024510705843567848,
-0.06830913573503494,
-0.0002252993726870045,
0.028894279152154922,
0.0175156407058239,
0.04596223682165146,
-0.00048236799193546176,
0.016536332666873932,
-0.012675057165324688,
-0.03547896817326546,
-0.05305057018995285,
-0.010063566267490387,
0.03297939896583557,
-0.018588218837976456,
0.022589394822716713,
-0.027588535100221634,
0.009821070358157158,
-0.05536360293626785,
0.011994203552603722,
-0.017441026866436005,
-0.010707112029194832,
-0.030162718147039413,
0.026525285094976425,
0.0022477474994957447,
0.03426649048924446,
0.003252705093473196,
-0.001331393956206739,
0.019380992278456688,
-0.01595807448029518,
-0.03999311476945877,
-0.02589106559753418,
-0.0058432104997336864,
-0.02846524864435196,
-0.019175803288817406,
-0.0026954314671456814,
-0.03665413707494736,
-0.018093900755047798,
0.06681685894727707,
0.018923981115221977,
-0.05879585072398186,
0.028017565608024597,
-0.025219539180397987,
0.0004062966618221253,
-0.003674740670248866,
0.01680680923163891,
0.05353556200861931,
0.06562303006649017,
-0.01759958267211914,
-0.05734087526798248,
-0.05454285070300102,
-0.010072892531752586,
0.017758136615157127,
-0.004910535179078579,
-0.08819377422332764,
-0.012395254336297512,
-0.009074930101633072,
-0.026432016864418983,
0.003436908358708024,
-0.06159387528896332,
-0.017795443534851074,
0.010194140486419201,
-0.004656381439417601,
0.06256385892629623,
0.03204672411084175,
-0.016060668975114822,
-0.01994059793651104,
-0.024436092004179955,
0.03950812295079231,
0.009783763438463211,
0.00011374266614438966,
-0.0477902814745903,
-0.06189233064651489,
0.005801239982247353,
0.006794539280235767,
0.02296246588230133,
0.11042875051498413,
0.05737818405032158,
-0.05107329785823822,
0.010110200382769108,
-0.03717643767595291,
-0.0026814413722604513,
-0.034993976354599,
0.07446479052305222,
0.006934440694749355,
0.06286231428384781,
-0.07383057475090027,
0.00023710353707429022,
0.04137347638607025,
-0.08737301826477051,
0.013896861113607883,
0.006948430556803942,
0.009070266969501972,
-0.017814097926020622,
0.005390862934291363,
0.016853442415595055,
0.005745279602706432,
0.013514464721083641,
0.03314727917313576,
0.02600298635661602,
-0.0020378953777253628,
-0.00951328780502081,
-0.06603340804576874,
-0.03769873455166817,
0.002021573716774583,
-0.03275555372238159,
-0.0308902058750391,
0.012684383429586887,
-0.006547380238771439,
0.05618435889482498,
-0.00839407742023468,
-0.03193480148911476,
-0.05070022866129875,
0.003527844324707985,
-0.002336351666599512,
0.02355937659740448,
0.016275184229016304,
-0.013850227929651737,
0.02786833792924881,
0.06427998095750809,
-0.08155312389135361,
-0.030106758698821068,
0.009420020505785942,
-0.046111464500427246,
0.06088504195213318,
0.06715261936187744,
-0.014325892552733421,
0.021190382540225983,
0.011173449456691742,
0.03906043991446495,
0.001514431438408792,
0.015127993188798428,
-0.005936478264629841,
-0.019660795107483864,
0.08737301826477051,
0.010007605887949467,
0.04502956196665764,
-0.036542218178510666,
-0.042604606598615646,
0.034919362515211105,
-0.05107329785823822,
-0.02460397407412529,
0.013020146638154984,
0.008366096764802933,
0.0034392401576042175,
-0.02389514073729515,
-0.018746772781014442,
0.05331171676516533,
-0.03279286250472069,
-0.005372209474444389,
-0.010744418948888779,
-0.050439078360795975,
0.016834788024425507,
-0.007904423400759697,
0.01044596266001463,
0.025480687618255615,
0.0026161540299654007,
0.03430379554629326,
0.030591748654842377,
0.0065893507562577724,
0.011266717687249184,
-0.03297939896583557,
0.025965679436922073,
0.0419703871011734,
0.025107618421316147,
0.011033548042178154,
-0.01009154599159956,
0.06965219229459763,
-0.0007554669864475727,
0.041671931743621826,
-0.05002870038151741,
-0.024529360234737396,
-0.06521265208721161,
0.019996557384729385,
-0.028409289196133614,
-0.048237964510917664,
0.048461806029081345,
0.009009643457829952,
-0.046223387122154236,
-0.008515325374901295,
0.0303119458258152,
0.05409516766667366,
-0.08140389621257782,
0.03674740716814995,
0.01842966303229332,
0.042268842458724976,
-0.031766921281814575,
0.040776561945676804,
-0.008547969162464142,
-0.009545931592583656,
0.03374418988823891,
0.058833155781030655,
0.00997962523251772,
-0.014549734070897102,
-0.03042386658489704,
0.004381242208182812,
-0.02415628917515278,
-0.044843025505542755,
-0.031766921281814575,
0.09841589629650116,
0.07129369676113129,
-0.030349252745509148,
-0.04055272042751312,
-0.0023561709094792604,
0.009597228839993477,
0.002148650586605072,
0.0003631604486145079,
0.005381536204367876,
0.013589078560471535,
0.011546519584953785,
-0.006118349730968475,
0.019548874348402023,
-0.010632498189806938,
-0.1037134900689125,
-0.03286747634410858,
-0.01510001253336668,
-0.032363831996917725,
0.006057725753635168,
-0.05969121679663658,
0.023745913058519363,
-0.06968949735164642,
-0.06636917591094971,
0.03419187664985657,
0.062340013682842255,
-0.05681857839226723,
-0.07759857922792435,
0.05185674503445625,
0.03991850093007088,
0.061743102967739105,
-0.019436953589320183,
0.03161769360303879,
0.05584859475493431,
0.016396431252360344,
0.0031524423975497484,
0.007582650054246187,
-0.028763705864548683,
0.01171440165489912,
0.030162718147039413,
0.02493973635137081,
-0.006356182042509317,
0.019772715866565704,
0.014848190359771252,
-0.044731106609106064,
0.016536332666873932,
0.021526144817471504,
0.012805631384253502,
0.017580928280949593,
0.04070194810628891,
-0.0034532302524894476,
-0.02053750865161419,
-0.026543937623500824,
-0.031412504613399506,
-0.0338374599814415,
0.032345179468393326,
-0.08498536795377731,
0.01832706853747368,
0.056258972734212875,
0.01131335087120533,
-0.015696924179792404,
0.011527866125106812,
0.011891609989106655,
-0.03792257606983185,
-0.010119526647031307,
-0.0559978224337101,
-0.019035901874303818,
0.014848190359771252,
-0.030591748654842377,
0.043201517313718796,
-0.0009175193263217807,
0.040179651230573654,
-0.04353728145360947,
0.10438501834869385,
-0.012749671004712582,
-0.025275500491261482,
0.03353900462388992,
0.005563408136367798,
0.022458819672465324,
-0.04745451733469963,
-0.06278769671916962,
-0.08685071766376495,
-0.031076740473508835,
-0.015118665993213654,
0.03413591533899307,
0.047193367034196854,
-0.026655858382582664,
-0.03286747634410858,
0.03920966759324074,
0.061519261449575424,
0.041000403463840485,
0.030479827895760536,
-0.005348892882466316,
-0.032587673515081406,
-0.010119526647031307,
0.02064943127334118,
-0.037381626665592194,
0.004679698031395674,
-0.012348620221018791,
-0.0291554294526577,
-0.022458819672465324,
0.040179651230573654,
-0.054281700402498245,
-0.03932159021496773,
-0.020108478143811226,
-0.014008782804012299,
0.0617804117500782,
-0.07759857922792435,
-0.0015598994214087725,
0.03286747634410858,
-0.03827699273824692,
-0.005003802943974733,
-0.0116584412753582,
-0.002239586552605033,
0.020705390721559525,
-0.022533435374498367,
0.009289445355534554,
-0.023466110229492188,
-0.009643862023949623,
-0.021526144817471504,
0.017814097926020622,
0.0024529360234737396,
0.025611262768507004,
0.07961316406726837,
0.025107618421316147,
0.11915859580039978,
0.017814097926020622,
-0.0002774708846118301,
0.035161856561899185,
-0.08244849741458893,
-0.033650923520326614,
-0.031654998660087585,
0.049394480884075165,
0.0036001265980303288,
0.06025082245469093,
-0.016601620241999626,
0.005661339033395052,
0.030852897092700005,
0.01899859495460987,
-0.002168470062315464,
0.03641164302825928,
-0.004591093864291906,
-0.034583598375320435,
0.07998622953891754,
0.07192791998386383,
-0.04521609842777252,
-0.028614478185772896,
-0.01586480624973774,
0.021638065576553345,
-0.010156833566725254,
0.025480687618255615,
-0.03182287886738777,
-0.003171095857396722,
-0.056258972734212875,
-0.03988119587302208,
0.0326436348259449,
-0.006001765374094248,
-0.03449033200740814,
0.0792400911450386,
-0.07536016404628754,
-0.03441571816802025,
0.01009154599159956,
0.005838547367602587,
-0.0268050879240036,
-0.03534839302301407,
0.017282472923398018,
0.017683522775769234,
-0.006137003190815449,
0.015491736121475697,
-0.04965563118457794,
0.009135554544627666,
-0.01784207858145237,
-0.002121836179867387,
0.0018688481068238616,
0.02659989893436432,
-0.0134025439620018,
0.010100873187184334,
0.022813236340880394,
0.038761984556913376,
0.018588218837976456,
0.016060668975114822,
0.06905527412891388,
-0.052080586552619934,
-0.08841761946678162,
0.01786073110997677,
-0.049021411687135696,
-0.0030801601242274046,
0.0052696154452860355,
-0.005596051458269358,
-0.029938876628875732,
0.01596740074455738,
0.015230586752295494,
0.021302303299307823,
-0.028129486367106438,
-0.03042386658489704,
0.0019341353327035904,
-0.0007327329949475825,
-0.01702132448554039,
0.040067728608846664,
0.013216008432209492,
-0.036542218178510666,
0.008016344159841537,
-0.03902313485741615,
-0.004332276526838541,
-0.06898066401481628,
0.035852037370204926,
-0.025256846100091934,
0.010464616119861603,
-0.022570742294192314,
0.05573667585849762,
0.017888711765408516,
-0.006934440694749355,
-0.04349997639656067,
-0.0466710701584816,
0.04055272042751312,
0.037251051515340805,
-0.013999455608427525,
0.026189520955085754,
-0.02984560839831829,
0.0793147087097168,
0.04208230972290039,
-0.06704069674015045,
-0.000912273011635989,
-0.017543621361255646,
-0.020835965871810913,
-0.030703669413924217,
0.019418299198150635,
0.007358808070421219,
-0.021619413048028946,
-0.010772399604320526,
0.02191786840558052,
-0.02251478098332882,
0.0034532302524894476,
-0.037139128893613815,
0.03172961249947548,
-0.0008790464489720762,
0.02064943127334118,
-0.036187801510095596,
-0.0559605173766613,
-0.013085434213280678,
0.018746772781014442,
0.018933307379484177,
-0.05256557837128639,
0.014419159851968288,
-0.019679447636008263,
-0.019791368395090103,
-0.022458819672465324,
-0.002895956626161933,
-0.005959794856607914,
-0.0057779233902692795,
0.04234345629811287,
-0.013225335627794266,
-0.0011745878728106618,
0.05282672867178917,
0.03163634613156319,
0.0039125727489590645,
0.053684789687395096
] |
713,368
|
xmlschema.validators.schemas
|
add_schema
|
Add another schema source to the maps of the instance.
:param source: a URI that reference to a resource or a file path or a file-like object or a string containing the schema or an Element or an ElementTree document.
:param namespace: is an optional argument that contains the URI of the namespace that has to used in case the schema has no namespace (chameleon schema). For other cases, when specified, it must be equal to the *targetNamespace* of the schema.
:param build: defines when to build the imported schema, the default is to not build.
:return: the added :class:`XMLSchema` instance.
|
def add_schema(self, source: SchemaSourceType,
namespace: Optional[str] = None, build: bool = False) -> SchemaType:
"""
Add another schema source to the maps of the instance.
:param source: a URI that reference to a resource or a file path or a file-like \
object or a string containing the schema or an Element or an ElementTree document.
:param namespace: is an optional argument that contains the URI of the namespace \
that has to used in case the schema has no namespace (chameleon schema). For other \
cases, when specified, it must be equal to the *targetNamespace* of the schema.
:param build: defines when to build the imported schema, the default is to not build.
:return: the added :class:`XMLSchema` instance.
"""
locations = deepcopy(self.locations)
if namespace is None:
if '' in locations:
locations.pop('')
elif namespace in locations:
locations.pop(namespace)
return type(self)(
source=source,
namespace=namespace,
validation=self.validation,
global_maps=self.maps,
converter=self.converter,
locations=locations,
base_url=self.base_url,
allow=self.allow,
defuse=self.defuse,
timeout=self.timeout,
uri_mapper=self.uri_mapper,
build=build,
use_xpath3=self.use_xpath3,
)
|
(self, source: Optional[~T], namespace: Optional[str] = None, build: bool = False) -> Optional[~T]
|
[
-0.030001334846019745,
0.026946136727929115,
0.029361873865127563,
-0.0019416938303038478,
0.015835518017411232,
0.0032639107666909695,
-0.02318042702972889,
0.020924553275108337,
0.03135130554437637,
-0.0013566322159022093,
-0.045508239418268204,
-0.0050401887856423855,
-0.01686575822532177,
0.02096007950603962,
0.01568453386425972,
0.06987877190113068,
0.008370709605515003,
0.029912520200014114,
-0.04604112356901169,
0.01795816980302334,
-0.011083974502980709,
-0.0351703017950058,
0.02943292446434498,
0.013863849453628063,
0.03186642751097679,
0.07872463762760162,
-0.016155248507857323,
-0.05446068197488785,
-0.015027311630547047,
-0.053963322192430496,
0.013126693665981293,
-0.04039255902171135,
0.013624051585793495,
-0.030569743365049362,
0.047533199191093445,
0.023056088015437126,
-0.019094988703727722,
0.009911631233990192,
0.011385941877961159,
-0.02252320386469364,
0.03424663841724396,
-0.002449043095111847,
-0.02220347337424755,
-0.003352724714204669,
0.06600648909807205,
0.038651809096336365,
-0.0630933940410614,
-0.014334563165903091,
-0.04039255902171135,
-0.016625961288809776,
0.02355344593524933,
0.02937963791191578,
-0.0018384476425126195,
0.00904125440865755,
-0.049948934465646744,
0.008308540098369122,
-0.0445135235786438,
0.059327684342861176,
0.044158268719911575,
0.042310941964387894,
0.005346596706658602,
-0.010586616583168507,
-0.006807585246860981,
-0.0029930283781141043,
0.015782229602336884,
-0.009325459599494934,
-0.05943426117300987,
-0.08483503758907318,
0.00987610500305891,
0.05712509900331497,
-0.015577957034111023,
0.004822594579309225,
0.00033277456532232463,
0.0029153162613511086,
0.039113640785217285,
0.03358941525220871,
0.007109552621841431,
-0.056379061192274094,
0.017567388713359833,
-0.04987788572907448,
0.026573117822408676,
0.002739908639341593,
-0.057942185550928116,
0.008699321188032627,
0.05218704417347908,
0.055952753871679306,
-0.007185044232755899,
0.017371999099850655,
0.006581109948456287,
-0.03751498833298683,
-0.006829788442701101,
-0.010639904998242855,
0.012878014706075191,
0.011892180889844894,
0.006967450026422739,
-0.06707225739955902,
-0.004871442448347807,
-0.05936320871114731,
0.02252320386469364,
0.027319153770804405,
-0.008743728511035442,
-0.009636308066546917,
0.005049069877713919,
0.07403526455163956,
0.04593454673886299,
0.02822505682706833,
0.03353612869977951,
-0.03408677503466606,
-0.06369732320308685,
0.008606066927313805,
-0.012940185144543648,
-0.06234735623002052,
0.03209734335541725,
0.027123764157295227,
-0.004185354802757502,
-0.01730094663798809,
0.05367911979556084,
0.03950442001223564,
0.007802300620824099,
0.033660467714071274,
-0.010391226038336754,
0.056876420974731445,
0.03424663841724396,
-0.01510724425315857,
0.08952441066503525,
-0.012664861977100372,
0.028828991577029228,
-0.05492251366376877,
0.06401705741882324,
-0.04206226021051407,
-0.008348505944013596,
0.016794707626104355,
-0.044904306530952454,
-0.012087571434676647,
-0.005950530990958214,
-0.028154004365205765,
0.012727031484246254,
0.00911230593919754,
-0.026804033666849136,
0.03355389088392258,
-0.017052268609404564,
0.04458457604050636,
0.03007238544523716,
-0.06899063289165497,
-0.07687731087207794,
-0.017869355157017708,
-0.02381988801062107,
0.013801679946482182,
0.001291132066398859,
0.023020561784505844,
-0.02932634949684143,
-0.07986145466566086,
-0.018295662477612495,
0.033234160393476486,
-0.04131622612476349,
-0.018091389909386635,
-0.01738976128399372,
0.01617301069200039,
0.07019850611686707,
0.008845863863825798,
0.023944227024912834,
0.008153115399181843,
-0.018402239307761192,
-0.059753987938165665,
-0.03534793108701706,
0.019539056345820427,
0.02447710931301117,
-0.021990321576595306,
-0.027887564152479172,
-0.01744304969906807,
-0.02762112207710743,
-0.03200852870941162,
0.06582885980606079,
0.07559838891029358,
-0.011856655590236187,
-0.0032661310397088528,
0.015053955838084221,
0.040925443172454834,
0.001014143694192171,
0.01348194945603609,
0.055633023381233215,
0.01144811138510704,
-0.02932634949684143,
0.04820818454027176,
-0.017149964347481728,
0.02650206722319126,
-0.032505884766578674,
0.06710778176784515,
0.05208046734333038,
0.08987966179847717,
0.039113640785217285,
-0.035685423761606216,
-0.02683955989778042,
-0.028562549501657486,
-0.03341178968548775,
-0.0573737770318985,
-0.03607620298862457,
-0.01822461187839508,
-0.04852791130542755,
0.07673520594835281,
-0.027692172676324844,
0.00317953759804368,
-0.016048671677708626,
0.015426973812282085,
0.07659310102462769,
0.012975710444152355,
-0.021244283765554428,
-0.028740176931023598,
-0.0059860567562282085,
-0.04515298455953598,
0.03953994810581207,
-0.0490252710878849,
-0.033145345747470856,
-0.005257782526314259,
-0.0157467033714056,
-0.07538523524999619,
-0.0970558226108551,
-0.016625961288809776,
0.011075092479586601,
-0.0017307607922703028,
0.049806833267211914,
0.03334073722362518,
0.003035214962437749,
-0.02836715802550316,
0.010737599804997444,
-0.0016985657857730985,
0.028189530596137047,
-0.0629868134856224,
-0.004929171409457922,
-0.00008152837835950777,
0.015213820151984692,
-0.017149964347481728,
-0.00032694614492356777,
-0.040037304162979126,
0.07318264991044998,
0.00721612898632884,
0.02868688851594925,
0.04266619682312012,
0.07709046453237534,
-0.0008626049966551363,
0.03922021761536598,
-0.019166039302945137,
-0.028473734855651855,
-0.06934589147567749,
-0.07304054498672485,
0.014982904307544231,
-0.049380525946617126,
-0.01017807237803936,
0.012380656786262989,
0.0067987036891281605,
-0.04167148098349571,
0.018526578322052956,
0.02557840198278427,
0.03474399819970131,
-0.028118479996919632,
-0.011661265045404434,
-0.06447888910770416,
-0.09492429345846176,
-0.024690262973308563,
-0.09677162021398544,
0.005750699900090694,
0.012220792472362518,
-0.0040698968805372715,
0.07218793779611588,
-0.013810561038553715,
-0.06696567684412003,
-0.010675430297851562,
0.013943782076239586,
0.057338252663612366,
-0.0018351171165704727,
0.004267507698386908,
0.07197478413581848,
-0.0007110662409104407,
-0.008637151680886745,
0.017540745437145233,
-0.057338252663612366,
-0.04515298455953598,
0.0408899188041687,
0.062098678201436996,
-0.009698477573692799,
0.006390159949660301,
0.0008226387435570359,
0.006407922599464655,
-0.010329056531190872,
-0.007056264206767082,
0.014059239998459816,
-0.023482393473386765,
-0.014787513762712479,
-0.052400197833776474,
-0.0641946867108345,
0.03422887623310089,
0.06280918419361115,
-0.012442827224731445,
0.007966606877744198,
-0.007118433713912964,
0.014760869555175304,
-0.01992983929812908,
0.010790888220071793,
0.004416271112859249,
0.014263511635363102,
0.004318575840443373,
0.02220347337424755,
0.06597096472978592,
0.04611217603087425,
-0.039113640785217285,
-0.0222567617893219,
-0.02465473860502243,
-0.053217288106679916,
0.037124209105968475,
0.04710689187049866,
-0.02563169039785862,
0.053643595427274704,
-0.07652205228805542,
0.005870598368346691,
0.048741064965724945,
0.013242151588201523,
-0.056840892881155014,
-0.05602380633354187,
-0.009734002873301506,
0.020924553275108337,
-0.03378480672836304,
-0.02525867149233818,
0.02142191119492054,
-0.0805719643831253,
-0.01891735941171646,
-0.028615837916731834,
0.03025001287460327,
-0.017522981390357018,
0.04081886634230614,
-0.05001998692750931,
0.014982904307544231,
-0.009893868118524551,
0.04621875286102295,
0.03604067862033844,
-0.016572672873735428,
0.0013100049691274762,
0.02683955989778042,
-0.06558018177747726,
-0.03248812258243561,
-0.010888583958148956,
0.040925443172454834,
0.027123764157295227,
-0.0045339493080973625,
-0.04650295525789261,
0.022416627034544945,
-0.059753987938165665,
-0.028935568407177925,
-0.01348194945603609,
0.050766024738550186,
-0.028065191581845284,
-0.025063281878829002,
-0.026519829407334328,
0.057622455060482025,
0.007145077921450138,
0.07538523524999619,
-0.027230340987443924,
-0.0573737770318985,
0.007065145298838615,
0.018526578322052956,
-0.01133265346288681,
-0.023837650194764137,
-0.003818997647613287,
-0.010098139755427837,
0.02664416842162609,
-0.027319153770804405,
0.04724899306893349,
-0.016945691779255867,
-0.04167148098349571,
-0.03769261762499809,
-0.019396955147385597,
0.025560639798641205,
-0.09073227643966675,
-0.028029665350914,
0.05755140632390976,
0.031813137233257294,
-0.004667170345783234,
0.021581776440143585,
-0.031671036034822464,
-0.07016298174858093,
-0.042026735842227936,
0.04785292595624924,
0.03408677503466606,
-0.04643190652132034,
0.021848218515515327,
0.022310050204396248,
-0.026626406237483025,
0.007824504747986794,
0.0026000267826020718,
-0.052862029522657394,
0.03577423840761185,
0.0004704361199401319,
0.01900617405772209,
0.04241751879453659,
0.03644922375679016,
0.0245659239590168,
-0.0047559840604662895,
-0.06945246458053589,
0.013473068363964558,
0.041564904153347015,
-0.0169545728713274,
0.03216839209198952,
-0.04533061385154724,
0.0204982478171587,
0.055348820984363556,
-0.02419290505349636,
-0.038971539586782455,
-0.009698477573692799,
0.01348194945603609,
-0.01677694544196129,
0.04149385169148445,
0.003406012896448374,
0.005661885719746351,
-0.0434122309088707,
0.008832542225718498,
-0.05421200394630432,
0.008086505346000195,
0.07460367679595947,
0.005519783589988947,
-0.02257649227976799,
0.05001998692750931,
0.060535550117492676,
0.020835740491747856,
0.027834275737404823,
0.004074337426573038,
-0.00032195038511417806,
-0.02678627148270607,
-0.02220347337424755,
0.012869133614003658,
-0.04408721998333931,
0.04856343939900398,
-0.009867223910987377,
0.04053466394543648,
0.0526488795876503,
-0.03886496275663376,
-0.014103646390140057,
-0.04025045782327652,
-0.008845863863825798,
-0.02548958919942379,
0.02479683980345726,
-0.02905990742146969,
0.037905771285295486,
-0.03479728475213051,
-0.025205383077263832,
0.014059239998459816,
-0.0549580380320549,
-0.05282650515437126,
-0.023571208119392395,
0.05886584892868996,
0.018260136246681213,
-0.003989964257925749,
-0.01746969297528267,
-0.019965363666415215,
0.07183267921209335,
0.03904258832335472,
-0.022327814251184464,
-0.034299928694963455,
-0.007793419528752565,
-0.07389315962791443,
0.01262933574616909,
0.007167281582951546,
0.0035170302726328373,
-0.021119944751262665,
0.056094858795404434,
-0.0002964163722936064,
-0.04245304316282272,
0.02170611545443535,
-0.002453483873978257,
-0.03604067862033844,
0.05009103938937187,
0.035738710314035416,
0.02614681050181389,
0.008606066927313805,
-0.0034148942213505507,
-0.05307518318295479,
0.06959456950426102,
0.00434744032099843,
0.004342999774962664,
0.0017185489414259791,
-0.01781606674194336,
-0.01836671307682991,
0.029415162280201912,
0.030605269595980644,
0.013375372625887394,
0.006909721065312624,
0.022612018510699272,
-0.001412140903994441,
0.04000177979469299,
-0.06000266969203949,
0.0010996271157637239,
0.0888138934969902,
0.017398642376065254,
0.0431990809738636,
0.049522627145051956,
-0.04483325406908989,
-0.011075092479586601,
-0.01418357901275158,
0.0562724843621254,
0.059931617230176926,
0.0550646148622036,
0.023944227024912834,
0.018242374062538147,
-0.06035792455077171,
-0.1145344004034996,
0.0666104257106781,
0.05776455998420715,
-0.005826191511005163,
-0.02877570316195488,
0.007593587972223759,
-0.007500333711504936,
-0.011394822970032692,
-0.08128248155117035,
0.010577735491096973,
0.04838581010699272,
0.010728718712925911,
0.035134777426719666,
-0.028473734855651855,
0.015933213755488396,
0.06600648909807205,
-0.026253387331962585,
-0.012194148264825344,
0.01651938445866108,
0.009254408068954945,
-0.006843110546469688,
-0.023340292274951935,
-0.04245304316282272,
0.03369599208235741,
-0.020285094156861305,
-0.02312713861465454,
0.04160042852163315,
0.028971092775464058,
0.05694746971130371,
0.021528488025069237,
-0.01984102465212345,
0.004385186359286308,
0.02257649227976799,
0.05925663188099861,
0.007948843762278557,
0.00751809636130929,
-0.02580931782722473,
-0.061317116022109985,
0.00253341649658978,
-0.012247436679899693,
-0.01952129416167736,
0.005981615744531155,
0.0316532738506794,
0.06607753783464432,
-0.03348283842206001,
-0.004911408293992281,
0.0317065604031086,
-0.08035881072282791,
-0.03433545306324959,
0.03577423840761185,
0.038332078605890274,
0.05723167583346367,
0.017247658222913742,
0.015622364357113838,
0.04724899306893349,
0.018899597227573395,
0.02243439108133316,
-0.005026866681873798,
0.010808651335537434,
-0.030001334846019745,
-0.020782452076673508,
0.06153026595711708,
-0.045081932097673416,
0.02234557643532753,
0.005266664084047079,
-0.04909632354974747,
-0.037301838397979736,
0.03350060060620308,
-0.007380434777587652,
-0.004169812425971031,
-0.014743106439709663,
-0.0026644167955964804,
0.001291132066398859,
0.021386386826634407,
-0.013108931481838226,
0.055490922182798386,
-0.01239841990172863,
-0.006607753690332174,
-0.034299928694963455,
-0.00048514592344872653,
0.04639637842774391,
0.02211466059088707,
-0.018633155152201653,
-0.012504996731877327,
-0.07257871329784393,
0.0181890856474638,
0.040783341974020004,
-0.03563213348388672,
0.0040698968805372715,
0.0032949955202639103,
-0.007700164802372456,
-0.016679249703884125,
0.0008492828928865492,
-0.014938496984541416,
-0.03854523226618767,
-0.016332875937223434,
0.03993072733283043,
0.023144900798797607,
-0.06508282572031021,
0.030551981180906296,
-0.03524135425686836,
-0.00869488064199686,
0.00017401973309461027,
-0.01836671307682991,
-0.017398642376065254,
0.019734447821974754,
0.028740176931023598,
-0.02133309841156006,
0.022363338619470596,
-0.0537501685321331,
-0.01882854662835598,
-0.06202762573957443,
0.011323771439492702,
-0.06302233785390854,
-0.036342646926641464,
-0.00551534304395318,
0.013162219896912575,
-0.08625605702400208,
0.030427640303969383,
0.021439675241708755,
0.06064212694764137,
0.00030585285276174545,
0.018144678324460983,
0.021865980699658394,
-0.002613348886370659,
0.012735912576317787,
0.006803144700825214,
0.011607976630330086,
-0.012176385149359703,
-0.03085394762456417,
0.021457437425851822,
-0.0890270471572876,
0.04479772970080376,
0.042630668729543686,
0.016075314953923225,
0.03284337744116783,
0.037372887134552,
0.04394511505961418,
0.009822816587984562,
0.0008281896007247269,
0.03341178968548775,
0.0022303389851003885,
-0.0038212179206311703,
0.037905771285295486,
0.012673743069171906,
-0.04984235763549805,
-0.02687508426606655,
-0.02381988801062107,
-0.017025623470544815,
-0.006034904159605503,
-0.018437765538692474,
0.04426484555006027,
0.13293664157390594,
0.043554335832595825,
0.004100981634110212,
-0.007544740568846464,
0.03762156516313553,
-0.016625961288809776,
0.044300369918346405,
-0.05414095148444176,
0.06760513782501221,
-0.03460189327597618,
-0.0844087302684784,
-0.007327146362513304,
0.05232914909720421,
-0.04849238693714142,
-0.01842000149190426,
0.042772773653268814,
-0.07886674255132675,
-0.02392646297812462,
-0.009023492224514484,
-0.014529953710734844,
0.008002132177352905,
-0.014121409505605698,
-0.030409878119826317,
-0.02211466059088707,
-0.011954350396990776,
-0.03255917504429817,
-0.013126693665981293,
0.02618233673274517,
0.024583686143159866,
-0.04398064315319061,
-0.05648563802242279,
0.04316355288028717,
0.018437765538692474,
0.029130958020687103,
-0.018384477123618126,
-0.021777167916297913,
-0.016847996041178703,
-0.04437142238020897,
0.012922422029078007,
0.017336472868919373,
-0.00721612898632884,
-0.0021703895181417465,
0.020231805741786957,
-0.02433500811457634,
-0.05001998692750931,
0.02179493010044098,
0.02358897030353546,
0.026377728208899498,
-0.001703006448224187,
-0.007606910075992346,
-0.0019039479084312916,
-0.006829788442701101,
-0.026484303176403046,
0.0180825088173151,
0.02554287575185299,
0.007185044232755899,
0.024867890402674675,
0.00689195841550827,
-0.014467784203588963,
0.023979751393198967,
0.02410409227013588,
-0.030800659209489822,
-0.02548958919942379,
0.054389629513025284,
0.012256317771971226,
-0.0037412852980196476,
0.03239930793642998,
0.00016180782404262573,
0.022150184959173203,
-0.05559749901294708,
0.015178294852375984,
-0.020018652081489563,
-0.03216839209198952,
-0.037443939596414566,
0.024814601987600327,
-0.024494873359799385,
-0.0013732848456129432,
0.023979751393198967,
-0.0065322620794177055,
0.04152937978506088,
0.00046210980508476496,
0.011208313517272472,
-0.00010109519644174725,
0.04348328337073326,
0.045970071107149124,
-0.020018652081489563,
-0.022452153265476227,
0.03890048712491989,
0.03509925305843353,
0.005386563017964363,
0.003468182636424899,
-0.017221014946699142,
0.03067632019519806,
-0.026999425143003464,
-0.052719928324222565,
0.1043030396103859,
-0.009103424847126007,
0.0158532802015543,
0.033891383558511734,
-0.01781606674194336,
-0.03016120009124279,
-0.04419379681348801,
-0.005368799902498722,
-0.006376837845891714,
-0.002464585704728961,
-0.08611395210027695,
-0.0003882832534145564,
-0.050410766154527664,
-0.006963009480386972,
-0.003628047648817301,
0.06934589147567749,
0.013313203118741512,
-0.026022471487522125,
0.016847996041178703
] |
713,369
|
xmlschema.validators.schemas
|
build
|
Builds the schema's XSD global maps.
|
def build(self) -> None:
"""Builds the schema's XSD global maps."""
self.maps.build()
|
(self) -> NoneType
|
[
0.031185461208224297,
0.008238712325692177,
-0.008578979410231113,
-0.008983045816421509,
-0.02227046713232994,
0.005184816662222147,
-0.014070035889744759,
-0.006477830931544304,
0.017472704872488976,
0.014112569391727448,
-0.03531970456242561,
0.027068231254816055,
-0.004976403433829546,
0.03695298358798027,
0.0026477016508579254,
-0.011960381641983986,
-0.00991878006607294,
0.03804183751344681,
-0.03220625966787338,
-0.008417352102696896,
-0.030470900237560272,
-0.03378850221633911,
0.014308222569525242,
0.03668076917529106,
0.03043687343597412,
0.06294937431812286,
-0.008706578984856606,
0.0024116416461765766,
0.04916856437921524,
-0.08105157315731049,
-0.05998905375599861,
-0.009272272698581219,
0.030079593881964684,
-0.010948087088763714,
0.048147764056921005,
-0.013695742003619671,
0.04021954536437988,
0.03181495517492294,
0.007507138419896364,
0.010973607189953327,
0.08377370983362198,
-0.006996737793087959,
-0.04573186859488487,
-0.030913246795535088,
0.0625070258975029,
0.00533793680369854,
0.008812912739813328,
0.034009676426649094,
-0.04304376244544983,
0.02385270968079567,
-0.020858360454440117,
0.054238542914390564,
-0.01104166079312563,
0.022185401991009712,
-0.037361305207014084,
-0.00657991087064147,
-0.021896174177527428,
0.04910051077604294,
0.06883598864078522,
-0.016536971554160118,
-0.032580554485321045,
0.007430578116327524,
-0.032920822501182556,
-0.038280025124549866,
0.018867800012230873,
-0.006214124150574207,
-0.02477142959833145,
-0.08227653801441193,
0.010063393041491508,
0.06621593981981277,
-0.02022886648774147,
0.029620232060551643,
-0.013517102226614952,
-0.019786519929766655,
0.0098422197625041,
-0.004534056410193443,
-0.011432967148721218,
-0.08772080391645432,
0.003719542408362031,
-0.08111962676048279,
-0.03606829047203064,
-0.015805397182703018,
-0.0726810097694397,
-0.00938285980373621,
0.02924593910574913,
0.07200047373771667,
0.06060153245925903,
0.022559694945812225,
0.002790188416838646,
-0.003192128846421838,
0.01864662580192089,
0.042907655239105225,
-0.013202355243265629,
0.03725922480225563,
0.027221351861953735,
-0.03800781071186066,
-0.04685474932193756,
-0.013797822408378124,
-0.035898156464099884,
0.044064562767744064,
0.012938648462295532,
-0.062132734805345535,
-0.062132734805345535,
0.018102198839187622,
0.01038664672523737,
0.038552239537239075,
0.02817409858107567,
-0.05634819716215134,
-0.0001243436272488907,
0.004738216288387775,
-0.04692280292510986,
-0.04236322641372681,
0.06444654613733292,
0.005690963938832283,
-0.025026630610227585,
-0.0013153442414477468,
0.033771488815546036,
0.03470722213387489,
0.040900081396102905,
0.009297792799770832,
-0.012547341175377369,
0.016213716939091682,
-0.0016907011158764362,
-0.015941504389047623,
0.05124419555068016,
0.019429240375757217,
0.034213837236166,
0.03501346334815025,
0.03309095650911331,
-0.050733793526887894,
0.0071030715480446815,
-0.0018544545164331794,
-0.013950943015515804,
-0.0349113829433918,
0.029416073113679886,
-0.08316122740507126,
0.04879427328705788,
-0.045765895396471024,
-0.05172056704759598,
0.08180016279220581,
0.005856843665242195,
-0.0030921753495931625,
-0.01042067352682352,
-0.04569784179329872,
-0.045289523899555206,
0.017591798678040504,
-0.024805456399917603,
-0.002343588275834918,
-0.04549368470907211,
0.0025562550872564316,
0.02038198709487915,
-0.05903630703687668,
-0.04474509507417679,
-0.030470900237560272,
-0.07329348474740982,
-0.011977395042777061,
0.04709293693304062,
-0.011994407512247562,
0.06077166646718979,
-0.005231603514403105,
-0.04066189378499985,
0.04889635369181633,
-0.03317602351307869,
-0.06560345739126205,
-0.030062580481171608,
0.0283612459897995,
-0.0017045245040208101,
-0.07118383049964905,
0.0006752171320840716,
-0.046072136610746384,
-0.011569074355065823,
-0.033193036913871765,
0.00016933595179580152,
0.009110646322369576,
-0.010769447311758995,
-0.004967896733433008,
0.006609684322029352,
0.05270734056830406,
0.017089905217289925,
0.04600408300757408,
0.010914060287177563,
0.0035515357740223408,
-0.030300766229629517,
0.011900834739208221,
-0.0031751154456287622,
0.025537030771374702,
-0.01907195895910263,
0.04120631888508797,
0.040321625769138336,
-0.003149595344439149,
-0.007464604917913675,
0.006626697722822428,
0.0008182355668395758,
0.01427419576793909,
0.020364973694086075,
-0.01475907675921917,
0.015303503721952438,
-0.0009495572885498405,
-0.033159010112285614,
0.03834807872772217,
-0.012300647795200348,
0.012513315305113792,
-0.0008963905856944621,
0.000989963999018073,
0.018119212239980698,
0.020092759281396866,
-0.021181613206863403,
-0.04978104680776596,
0.018289346247911453,
-0.0017162211006507277,
0.02300204150378704,
-0.021470841020345688,
-0.013389501720666885,
-0.03807586431503296,
0.010505740530788898,
-0.07628783583641052,
-0.07805722206830978,
-0.027459537610411644,
-0.03263159468770027,
-0.01610312983393669,
0.014767583459615707,
0.005759017076343298,
0.032886795699596405,
-0.0726810097694397,
-0.04226114973425865,
0.010565287433564663,
0.02300204150378704,
-0.037973783910274506,
-0.04617421701550484,
-0.04746723175048828,
-0.000025968611225835048,
-0.04127437248826027,
-0.019242092967033386,
-0.039402905851602554,
0.02900775335729122,
-0.05879811942577362,
0.05138029903173447,
0.02485649660229683,
0.05961475893855095,
-0.011781740933656693,
0.02848033793270588,
-0.020092759281396866,
-0.03297186270356178,
-0.045765895396471024,
-0.04869219288229942,
-0.0018268078565597534,
-0.025026630610227585,
-0.0026817284524440765,
0.03237639367580414,
0.011985900811851025,
-0.04328195005655289,
-0.039164718240499496,
-0.005861097015440464,
0.02099446766078472,
0.012453768402338028,
-0.04018551856279373,
-0.05464686453342438,
-0.0479436032474041,
0.033771488815546036,
-0.04457496106624603,
0.03749741241335869,
0.05029144510626793,
0.002118161413818598,
0.058593958616256714,
0.03521762415766716,
-0.01042067352682352,
0.02449921704828739,
-0.0006055687554180622,
-0.006435297429561615,
-0.020518094301223755,
0.07193242013454437,
0.07812527567148209,
-0.03998136147856712,
-0.016817690804600716,
-0.004517043009400368,
-0.014520889148116112,
0.004568083211779594,
-0.0038577758241444826,
0.00872784573584795,
0.015354543924331665,
0.04896440729498863,
-0.04280557483434677,
0.03552386164665222,
0.07254490256309509,
-0.029416073113679886,
-0.012904621660709381,
-0.031117407605051994,
0.0074178180657327175,
-0.006256657652556896,
-0.07091162353754044,
-0.013074755668640137,
0.07798916846513748,
-0.026676924899220467,
0.004857310093939304,
0.02882060594856739,
-0.07513093203306198,
0.03947095945477486,
0.012036941014230251,
-0.02662588469684124,
0.02050108090043068,
0.018051158636808395,
0.021317720413208008,
0.04665059223771095,
0.03043687343597412,
0.0015237577026709914,
0.012606888078153133,
0.019820546731352806,
-0.02677900344133377,
0.04743320494890213,
0.04049175977706909,
-0.04893038049340248,
0.0145634226500988,
-0.002839101944118738,
0.05121016874909401,
0.021402787417173386,
-0.0393688790500164,
-0.018833773210644722,
-0.05029144510626793,
0.03834807872772217,
0.04426872357726097,
-0.02099446766078472,
-0.01446984987705946,
0.050733793526887894,
-0.05634819716215134,
-0.0566544383764267,
-0.028157085180282593,
0.03862029314041138,
-0.03848418593406677,
0.04164866730570793,
-0.0641743391752243,
-0.033924609422683716,
-0.017983105033636093,
0.05821966379880905,
0.0291268453001976,
0.03171287477016449,
0.02832721918821335,
0.023716602474451065,
-0.0698908194899559,
-0.05937657132744789,
-0.03991330787539482,
0.05753913149237633,
0.07125188410282135,
-0.046752672642469406,
-0.033771488815546036,
-0.008485405705869198,
-0.02534988336265087,
-0.024380123242735863,
-0.03521762415766716,
-0.04984910041093826,
-0.03841613233089447,
-0.007111578248441219,
0.0022096082102507353,
0.04198893532156944,
0.039130691438913345,
0.09568305313587189,
-0.005333683453500271,
-0.02010977268218994,
0.061043880879879,
-0.0012207074323669076,
0.07254490256309509,
0.044608987867832184,
0.005457030143588781,
-0.036204397678375244,
-0.05682457238435745,
0.009127659723162651,
-0.030487913638353348,
0.019701452925801277,
-0.015669289976358414,
0.014478356577455997,
-0.01900390535593033,
0.05331982299685478,
-0.03862029314041138,
-0.05553155764937401,
-0.01117776706814766,
0.04488120228052139,
0.07166020572185516,
0.016043584793806076,
0.0030219953041523695,
-0.07172825932502747,
-0.07009498029947281,
-0.006218377500772476,
0.032427433878183365,
0.010982113890349865,
0.01652846485376358,
0.004030035808682442,
-0.0510060079395771,
0.03140663355588913,
0.024686362594366074,
-0.014554915949702263,
0.03501346334815025,
0.03957303985953331,
0.009238245896995068,
-0.0007927155238576233,
0.040934108197689056,
0.06699854880571365,
0.047909580171108246,
0.026983164250850677,
-0.005444270092993975,
0.04443885758519173,
-0.009587019681930542,
-0.01154355425387621,
-0.06767908483743668,
-0.015864944085478783,
0.06958457827568054,
0.018697666004300117,
-0.09398171305656433,
-0.036544665694236755,
-0.0015418343245983124,
-0.0025839016307145357,
0.06863183528184891,
-0.0016492310678586364,
0.0024307817220687866,
-0.008306765928864479,
-0.009008565917611122,
-0.032614581286907196,
-0.016120143234729767,
0.04038967937231064,
0.019361186772584915,
0.04107021540403366,
-0.008536445908248425,
0.032240286469459534,
0.01360216923058033,
0.058900199830532074,
0.0465485118329525,
-0.014725049957633018,
-0.005274137016385794,
-0.0312875397503376,
0.02358049526810646,
-0.02570716291666031,
0.038824453949928284,
-0.011518034152686596,
0.06281326711177826,
-0.05141432583332062,
-0.05696067586541176,
-0.0022287480533123016,
-0.036510638892650604,
-0.005503816995769739,
-0.03372044861316681,
-0.0009213789599016309,
-0.003832255955785513,
0.043520133942365646,
-0.013270408846437931,
0.03953901305794716,
-0.010880033485591412,
-0.00024669349659234285,
0.05563363805413246,
-0.030045567080378532,
0.054238542914390564,
0.02601340413093567,
0.002773175248876214,
-0.026676924899220467,
-0.00665647117421031,
0.05151640623807907,
-0.03780364990234375,
0.01726854406297207,
-0.03875640034675598,
-0.03196807578206062,
-0.08663195371627808,
-0.038858480751514435,
-0.014401796273887157,
-0.002749781822785735,
-0.04716099053621292,
0.019752493128180504,
0.01999068073928356,
-0.039096664637327194,
0.03531970456242561,
-0.006898911204189062,
0.03140663355588913,
0.007328498177230358,
0.010505740530788898,
0.0327506884932518,
-0.010573793202638626,
0.016205210238695145,
-0.0627111867070198,
0.017285557463765144,
-0.043758321553468704,
-0.028225138783454895,
0.0364425852894783,
-0.009212725795805454,
-0.02570716291666031,
0.018697666004300117,
0.05924046412110329,
0.010233527049422264,
0.02744252420961857,
-0.01468251645565033,
-0.01059931330382824,
0.050733793526887894,
-0.06914222985506058,
-0.039402905851602554,
-0.02723836526274681,
-0.012853581458330154,
0.024652335792779922,
0.024601295590400696,
-0.032308340072631836,
0.04426872357726097,
-0.013227875344455242,
0.04600408300757408,
0.029450099915266037,
0.03698701038956642,
-0.028565404936671257,
-0.014248675666749477,
-0.02882060594856739,
-0.10827292501926422,
0.07894191890954971,
-0.005329430103302002,
0.027578631415963173,
-0.00894051231443882,
-0.01748971827328205,
0.01025054045021534,
-0.042635440826416016,
-0.03831405192613602,
-0.07063940912485123,
0.004644643049687147,
0.04185282811522484,
0.021402787417173386,
-0.018357397988438606,
-0.009153179824352264,
0.016460411250591278,
-0.03753143921494484,
0.02056913450360298,
0.003976869396865368,
0.0036195891443639994,
0.039402905851602554,
-0.028429299592971802,
-0.013389501720666885,
0.004061935935169458,
-0.04882830008864403,
-0.0011228807270526886,
0.01150102075189352,
-0.0032048888970166445,
0.021130574867129326,
-0.07724058628082275,
0.0021128447260707617,
0.024601295590400696,
-0.000704990467056632,
0.01641787774860859,
0.06196260079741478,
-0.050801847130060196,
-0.05199278146028519,
0.0011749841505661607,
0.029262952506542206,
-0.030266739428043365,
0.025843270123004913,
-0.03179794177412987,
0.038858480751514435,
0.048488032072782516,
0.007426324766129255,
-0.04120631888508797,
0.033584341406822205,
-0.04624227061867714,
-0.00872784573584795,
0.01389139611274004,
0.020245879888534546,
0.049304671585559845,
0.0050614699721336365,
-0.01111822109669447,
0.020143799483776093,
-0.012853581458330154,
-0.0023691081441938877,
-0.0016258377581834793,
0.02866748534142971,
-0.00632896414026618,
-0.016324304044246674,
0.03800781071186066,
-0.0393008254468441,
0.03412877023220062,
-0.061043880879879,
-0.002213861560449004,
-0.02077329345047474,
0.049610912799835205,
-0.0004359669692348689,
-0.00537621695548296,
0.013176835142076015,
-0.0435541607439518,
0.02870151214301586,
0.015320517122745514,
-0.01070990040898323,
0.026183538138866425,
0.02489052340388298,
-0.030198685824871063,
0.00450853630900383,
0.017932064831256866,
0.009816699661314487,
0.032427433878183365,
0.025996390730142593,
-0.01879974640905857,
-0.02747655101120472,
0.004223562777042389,
0.053387876600027084,
-0.052264995872974396,
-0.036816876381635666,
-0.0041342428885400295,
-0.02123265340924263,
0.008812912739813328,
-0.06080569326877594,
0.005695217289030552,
-0.019174039363861084,
-0.04617421701550484,
-0.01169667486101389,
-0.03159378096461296,
-0.04072994738817215,
0.0480797104537487,
0.021879160776734352,
0.03190002217888832,
-0.010905553586781025,
0.00607801740989089,
0.029348019510507584,
0.03950498625636101,
0.01937820017337799,
0.05209486186504364,
-0.0032516755163669586,
-0.08486256003379822,
-0.023682575672864914,
-0.008055818267166615,
-0.026693938300013542,
-0.07397402077913284,
-0.013772302307188511,
0.005946164019405842,
0.01699633151292801,
-0.048760246485471725,
-0.008413098752498627,
0.022202415391802788,
0.0005162486922927201,
-0.0077836052514612675,
0.012470781803131104,
0.019820546731352806,
0.0450853630900383,
-0.008349298499524593,
0.03040284663438797,
0.06812143325805664,
0.013704248704016209,
-0.018289346247911453,
-0.0233082827180624,
-0.07397402077913284,
0.07234074175357819,
0.06662425398826599,
0.022865934297442436,
0.02927996590733528,
0.015490650199353695,
0.04617421701550484,
0.007498631719499826,
0.0035664222668856382,
0.030777139589190483,
-0.012513315305113792,
-0.000608758709859103,
0.047603338956832886,
-0.00022688889293931425,
-0.0174556914716959,
-0.01088854018598795,
-0.019208066165447235,
-0.03831405192613602,
-0.0029815887100994587,
-0.012938648462295532,
0.03807586431503296,
0.12426546961069107,
0.017362117767333984,
-0.07322543859481812,
-0.04154658690094948,
0.009042592719197273,
-0.004431976471096277,
0.0009835839737206697,
-0.039096664637327194,
0.047841526567935944,
-0.054272569715976715,
-0.084454245865345,
0.0077027915976941586,
0.05590584874153137,
-0.006626697722822428,
-0.04705891013145447,
0.05263928696513176,
-0.03290380910038948,
-0.017038865014910698,
0.04181880131363869,
-0.056722491979599,
-0.023495428264141083,
0.011518034152686596,
-0.02284892089664936,
0.05274136736989021,
-0.008778885938227177,
0.013661716133356094,
0.025962363928556442,
0.06699854880571365,
0.0037323024589568377,
-0.010122939944267273,
0.007770845200866461,
-0.037361305207014084,
0.0014174242969602346,
-0.016205210238695145,
0.017353611066937447,
0.039402905851602554,
-0.025230789557099342,
-0.04899843409657478,
0.08180016279220581,
0.027884872630238533,
-0.027034204453229904,
0.027527591213583946,
0.025911323726177216,
-0.06652217358350754,
0.023716602474451065,
0.017932064831256866,
0.03725922480225563,
-0.02790188603103161,
-0.029926473274827003,
0.02832721918821335,
-0.006154577247798443,
0.05257123336195946,
-0.007541164755821228,
0.02677900344133377,
-0.0138148358091712,
0.02936503291130066,
0.0728851705789566,
0.027578631415963173,
-0.007375285029411316,
-0.03664674237370491,
0.004648896399885416,
-0.07302127778530121,
-0.0008522622520104051,
0.08690416067838669,
0.019242092967033386,
-0.035081516951322556,
0.033431220799684525,
0.028310205787420273,
0.02900775335729122,
-0.04154658690094948,
0.03981122747063637,
0.05726691707968712,
-0.04624227061867714,
-0.036272451281547546,
0.026847057044506073,
0.007949485443532467,
-0.01042067352682352,
-0.038211971521377563,
-0.057198863476514816,
0.010352619923651218,
0.0026732217520475388,
-0.01154355425387621,
0.0196163859218359,
0.04433677718043327,
-0.02439713664352894,
-0.032308340072631836,
0.005963177420198917,
0.025605084374547005,
-0.013483075425028801,
0.03691895678639412,
-0.027799805626273155,
0.03695298358798027,
0.02385270968079567,
-0.030658047646284103,
-0.025298843160271645,
0.061486225575208664,
-0.003770582377910614,
0.008196178823709488,
0.017812971025705338,
0.011858301237225533,
-0.03166183456778526,
0.009085126221179962,
0.0033622621558606625,
-0.01331294234842062,
-0.014614462852478027,
-0.05995502695441246,
0.013202355243265629,
-0.06597775220870972,
-0.06471876055002213,
0.008336538448929787,
0.10786460340023041,
0.023682575672864914,
0.003828002605587244,
-0.007183884736150503
] |
713,370
|
xmlschema.validators.schemas
|
check_validator
|
Checks the status of a schema validator against a validation mode.
|
def check_validator(self, validation: str = 'strict') -> None:
"""Checks the status of a schema validator against a validation mode."""
check_validation_mode(validation)
if self.built:
pass
elif self.meta_schema is None:
self.build() # Meta-schema lazy build
elif validation == 'skip' and self.validation == 'skip' and \
any(isinstance(comp, tuple) or comp.validation_attempted == 'partial'
for comp in self.iter_globals()):
pass
else:
raise XMLSchemaNotBuiltError(self, _("schema %r is not built") % self)
|
(self, validation: str = 'strict') -> NoneType
|
[
0.05449660122394562,
0.02872265689074993,
-0.0005972510552965105,
0.03267247602343559,
-0.0030738520435988903,
0.03500232473015785,
0.044667553156614304,
-0.02999679185450077,
0.01538973767310381,
-0.006357026752084494,
0.011922269128262997,
-0.022606806829571724,
0.05850102752447128,
-0.060612451285123825,
-0.006834827363491058,
0.004664246458560228,
-0.014288520440459251,
0.020495381206274033,
0.032344844192266464,
0.038515299558639526,
0.015380636788904667,
-0.004539107903838158,
-0.03669510409235954,
0.017209932208061218,
0.05577073618769646,
0.10047469288110733,
0.024973057210445404,
-0.0032399448100477457,
0.04608730599284172,
0.015307828783988953,
-0.014479640871286392,
0.010338700376451015,
0.10229488462209702,
0.017710484564304352,
0.03416503593325615,
0.025992365553975105,
0.006762019824236631,
-0.0057154083624482155,
-0.03187159076333046,
-0.006361577194184065,
0.005569792818278074,
0.03063386119902134,
-0.01778329350054264,
0.008104412816464901,
-0.005465131718665361,
-0.05336808040738106,
0.009110069833695889,
0.06119491159915924,
-0.09712553769350052,
-0.036931730806827545,
0.023371286690235138,
0.02530069276690483,
0.02864984981715679,
0.0020511308684945107,
-0.03724116459488869,
-0.012550235725939274,
0.018320249393582344,
0.06090368330478668,
0.08103502541780472,
-0.015043901279568672,
-0.06858489662408829,
0.009014509618282318,
-0.039607416838407516,
-0.053695715963840485,
-0.006921286694705486,
0.002768969628959894,
-0.018365753814578056,
-0.04721582680940628,
-0.003685892326757312,
0.060503240674734116,
-0.04255612939596176,
0.036476682871580124,
-0.04838074743747711,
-0.034328851848840714,
-0.05172990635037422,
-0.015999503433704376,
-0.05460581183433533,
-0.04936365410685539,
0.03267247602343559,
-0.07746744155883789,
0.027466723695397377,
0.036931730806827545,
-0.003619910217821598,
-0.003406037576496601,
0.033364150673151016,
0.037423182278871536,
0.020404372364282608,
0.025173278525471687,
0.016208825632929802,
0.019366860389709473,
-0.01695510372519493,
0.031070707365870476,
0.014051895588636398,
-0.017164425924420357,
0.012613942846655846,
0.032308436930179596,
-0.023243874311447144,
0.004595989361405373,
-0.01529872789978981,
-0.014534247107803822,
0.003599432995542884,
0.013032587245106697,
-0.005829170346260071,
0.02897748351097107,
0.0719340592622757,
0.011139585636556149,
-0.027484925463795662,
-0.0674927830696106,
-0.029050292447209358,
-0.0031148064881563187,
0.007412739098072052,
-0.04470395669341087,
0.0008310321718454361,
-0.007203416898846626,
0.02710268460214138,
-0.03789643198251724,
0.013414828106760979,
-0.004778008442372084,
-0.050346557050943375,
-0.04626932367682457,
0.03383740037679672,
-0.010429710149765015,
0.010657234117388725,
-0.038515299558639526,
0.06993184238672256,
0.037678010761737823,
0.008923499844968319,
0.06330633908510208,
0.1335294097661972,
0.0034583681263029575,
-0.0033286793623119593,
0.005515187047421932,
0.021824123337864876,
-0.0062660169787704945,
-0.007239820435643196,
-0.02484564483165741,
0.041973669081926346,
0.0011626487830653787,
-0.06501732021570206,
0.011157787404954433,
-0.033964816480875015,
0.023061854764819145,
-0.026028770953416824,
-0.053622908890247345,
-0.023953748866915703,
0.002159204799681902,
-0.08911668509244919,
0.0011842634994536638,
0.04051751270890236,
0.053804926574230194,
0.030433639883995056,
-0.051438674330711365,
-0.012149793095886707,
-0.02921411022543907,
-0.0626874715089798,
0.013123597018420696,
-0.01653645932674408,
-0.01920304447412491,
0.04302937909960747,
-0.03500232473015785,
-0.03560299053788185,
0.012550235725939274,
-0.05296763777732849,
-0.06210501119494438,
0.009064564481377602,
0.05096542462706566,
0.005569792818278074,
-0.04160962998867035,
0.037641607224941254,
0.03500232473015785,
0.0002489968028385192,
0.014497842639684677,
0.030888687819242477,
0.017419254407286644,
-0.046742573380470276,
0.053732119500637054,
0.06265106797218323,
0.023134661838412285,
0.03143474459648132,
0.022861633449792862,
-0.051402270793914795,
-0.013160000555217266,
-0.004338886588811874,
-0.0208958238363266,
-0.013260111212730408,
0.035730402916669846,
-0.01691870018839836,
-0.06523574143648148,
0.0010312534868717194,
-0.01958528533577919,
-0.015371535904705524,
-0.02322567254304886,
0.02206074818968773,
0.00988365150988102,
0.01161283627152443,
-0.0020317912567406893,
0.013469433411955833,
0.04506799578666687,
0.060794468969106674,
-0.04139120504260063,
0.04157322645187378,
-0.016481854021549225,
0.0311617162078619,
0.015944896265864372,
-0.05056498199701309,
0.035384565591812134,
-0.044412728399038315,
0.005169350188225508,
0.013205505907535553,
-0.03320033475756645,
-0.000921473081689328,
-0.030397234484553337,
-0.021860526874661446,
0.05238517373800278,
0.03676791489124298,
-0.05213034898042679,
-0.021005036309361458,
-0.08132625371217728,
-0.009096418507397175,
0.05191192403435707,
0.07855956256389618,
-0.01905742846429348,
0.04696099832653999,
-0.0635247603058815,
-0.021623902022838593,
0.011157787404954433,
0.018711591139435768,
-0.03048824518918991,
-0.0039657470770180225,
-0.006188658531755209,
-0.02732110768556595,
-0.04619651660323143,
-0.014998395927250385,
0.02766694501042366,
0.03631286323070526,
-0.030579254031181335,
0.026065174490213394,
0.05777294933795929,
0.050310153514146805,
0.010529820807278156,
0.04135480150580406,
-0.05442379415035248,
-0.02981477417051792,
-0.01852957159280777,
-0.04186445474624634,
0.01863878406584263,
-0.0522395595908165,
0.022297373041510582,
0.011348907835781574,
0.019385064020752907,
-0.10986689478158951,
0.024681827053427696,
0.030906889587640762,
0.01471626665443182,
0.00038167188176885247,
-0.006175007205456495,
-0.042082879692316055,
-0.06432564556598663,
0.03694993257522583,
-0.04980050027370453,
0.03656769171357155,
0.06381598860025406,
-0.011567330919206142,
0.10993970185518265,
0.015289627015590668,
-0.06257826089859009,
0.06625505536794662,
0.0009829045739024878,
0.008732379414141178,
0.024263182654976845,
-0.005374121945351362,
0.05882866308093071,
-0.03345515951514244,
0.03596702963113785,
0.00448222691193223,
-0.03653128817677498,
-0.009191978722810745,
0.029705561697483063,
0.057044871151447296,
0.014834579080343246,
0.03909775987267494,
0.042192090302705765,
0.011985975317656994,
0.017109820619225502,
-0.03585781529545784,
-0.041973669081926346,
-0.03789643198251724,
-0.04135480150580406,
-0.06993184238672256,
-0.04368465021252632,
0.02322567254304886,
-0.019385064020752907,
0.02837681956589222,
-0.02368072047829628,
0.005474232602864504,
-0.00874148029834032,
0.03957101330161095,
-0.03190799430012703,
-0.009592421352863312,
-0.03627645969390869,
0.036403875797986984,
-0.006994094233959913,
-0.00490542221814394,
0.006525394506752491,
0.0074764457531273365,
0.02473643235862255,
0.019821910187602043,
-0.015535353682935238,
0.03412863239645958,
0.008786985650658607,
-0.05296763777732849,
-0.004514080472290516,
-0.03669510409235954,
0.030542850494384766,
0.08584033697843552,
-0.021478286013007164,
0.022006142884492874,
-0.039716627448797226,
0.016409046947956085,
0.05911989137530327,
0.005710857920348644,
0.029978590086102486,
0.07237090170383453,
-0.02198794111609459,
-0.07288055866956711,
-0.04477676749229431,
0.01215889398008585,
-0.0031694122590124607,
-0.02262500859797001,
-0.03209001570940018,
0.0031034303829073906,
-0.06894893944263458,
0.08030694723129272,
0.03844249248504639,
0.017000610008835793,
0.03953460603952408,
0.033964816480875015,
-0.019421467557549477,
0.05355009809136391,
-0.013979087583720684,
0.04656055569648743,
0.06119491159915924,
0.025737538933753967,
-0.05744531378149986,
0.0104479119181633,
-0.017209932208061218,
-0.018220139667391777,
-0.010520719923079014,
-0.011339806951582432,
-0.030906889587640762,
-0.04950926825404167,
0.016208825632929802,
-0.02559192292392254,
-0.020313361659646034,
0.029123099520802498,
-0.03512973710894585,
0.01475267019122839,
0.03420143947005272,
-0.006357026752084494,
0.010784647427499294,
0.004398043267428875,
0.015771979466080666,
-0.0207138042896986,
0.01009297464042902,
0.018201937898993492,
-0.034419864416122437,
-0.003767800983041525,
-0.05118384584784508,
-0.019712697714567184,
-0.002255902625620365,
0.0208958238363266,
-0.05092902109026909,
0.012714053504168987,
-0.05322246626019478,
0.005073789972811937,
0.03438346087932587,
-0.01041150838136673,
0.022260969504714012,
-0.014561549760401249,
-0.0683300718665123,
0.027575934305787086,
0.06261466443538666,
-0.011676542460918427,
0.004495878703892231,
0.01623612828552723,
-0.06421643495559692,
-0.07754025608301163,
0.017865201458334923,
-0.03593062236905098,
0.0034447165671736,
0.017528465017676353,
-0.03199900686740875,
-0.005774564575403929,
-0.0029077595099806786,
0.006830276921391487,
0.04415789991617203,
0.020349765196442604,
0.01710071973502636,
0.011885864660143852,
-0.054933447390794754,
-0.03325494006276131,
-0.04543203487992287,
-0.05642600730061531,
0.05569792911410332,
0.0051647997461259365,
-0.0032308439258486032,
-0.003658589441329241,
0.0852578729391098,
-0.017801495268940926,
0.050310153514146805,
0.00046500260941684246,
-0.00536502106115222,
-0.00531951617449522,
-0.0020727457012981176,
-0.019366860389709473,
0.04255612939596176,
0.08460260182619095,
0.05183911696076393,
0.035693999379873276,
-0.009929156862199306,
-0.0018008542247116566,
0.04641494154930115,
0.08758772164583206,
0.01494379062205553,
-0.030506446957588196,
0.028922878205776215,
-0.0780499055981636,
0.02597416378557682,
-0.053841330111026764,
0.010930263437330723,
-0.021187055855989456,
0.0032353943679481745,
-0.014707165770232677,
-0.033546172082424164,
-0.045723266899585724,
-0.032199226319789886,
-0.05424177274107933,
-0.001214979332871735,
0.021168852224946022,
-0.03529355674982071,
0.04750705510377884,
0.011894965544342995,
0.017146224156022072,
0.016481854021549225,
0.01244102418422699,
0.054933447390794754,
0.0040522064082324505,
0.07797709852457047,
0.00930119026452303,
0.00683937780559063,
-0.047943901270627975,
0.03130733221769333,
0.042046476155519485,
-0.02499125897884369,
-0.019603487104177475,
-0.008805187419056892,
-0.07422749698162079,
-0.07455513626337051,
-0.04754345864057541,
-0.009983762167394161,
0.006971342023462057,
-0.02724830061197281,
-0.03370998799800873,
-0.02668404020369053,
-0.05777294933795929,
0.03052464872598648,
-0.021332670003175735,
0.039898645132780075,
0.008668672293424606,
0.052457984536886215,
-0.03003319725394249,
-0.018329350277781487,
0.024263182654976845,
-0.0007565180421806872,
0.016136016696691513,
0.015180415473878384,
0.014834579080343246,
0.011958672665059566,
0.00037200210499577224,
-0.032945506274700165,
-0.013851674273610115,
0.06479889899492264,
-0.011985975317656994,
0.025246087461709976,
-0.014971093274652958,
-0.025537317618727684,
-0.025082269683480263,
-0.01608141139149666,
-0.049181632697582245,
0.016663873568177223,
-0.014952891506254673,
0.005173900630325079,
0.05770014226436615,
-0.011567330919206142,
0.05784575641155243,
-0.026866059750318527,
0.009465007111430168,
0.010775546543300152,
0.01973089948296547,
0.011121383868157864,
-0.008127165026962757,
0.023844538256525993,
0.0017951660556718707,
0.08037975430488586,
0.03179878368973732,
-0.07899640500545502,
-0.04728863388299942,
-0.0062660169787704945,
-0.006352476309984922,
-0.03370998799800873,
-0.04528642073273659,
-0.0026506572030484676,
0.02530069276690483,
0.05518827214837074,
0.021132448688149452,
-0.01834755204617977,
0.019257649779319763,
-0.02664763666689396,
0.04393947497010231,
0.012413721531629562,
0.031598564237356186,
0.001995387487113476,
0.023698922246694565,
-0.003690442768856883,
-0.009264785796403885,
0.025537317618727684,
-0.049145229160785675,
-0.018092725425958633,
0.025428107008337975,
-0.044558342546224594,
0.05304044485092163,
0.005041936412453651,
0.026301799342036247,
0.01360594853758812,
-0.003226293483749032,
-0.022297373041510582,
0.029068494215607643,
0.03367358446121216,
-0.020167745649814606,
0.003051099833101034,
0.017237234860658646,
0.027612339705228806,
0.004366189707070589,
0.02702987752854824,
-0.0025095921009778976,
0.03454727679491043,
0.01717352867126465,
-0.00022951504797674716,
0.021623902022838593,
-0.034601882100105286,
-0.059374719858169556,
0.055879946798086166,
0.006443485617637634,
-0.009455906227231026,
-0.002905484288930893,
-0.009355795569717884,
0.025773942470550537,
0.07950606197118759,
0.07644813507795334,
-0.030506446957588196,
0.032272033393383026,
-0.03804204985499382,
-0.058355409651994705,
-0.0172918401658535,
-0.01510760746896267,
-0.04961848258972168,
0.021332670003175735,
-0.06254185736179352,
0.0241357684135437,
-0.0035129738971590996,
-0.01392448227852583,
0.03525715321302414,
0.012268105521798134,
-0.025810347869992256,
0.017464758828282356,
-0.029232311993837357,
-0.00902361050248146,
0.05777294933795929,
-0.019749101251363754,
-0.030652062967419624,
0.06326993554830551,
-0.07029588520526886,
0.0039839488454163074,
-0.004079509060829878,
-0.033546172082424164,
-0.05355009809136391,
-0.004238775931298733,
0.0076175108551979065,
-0.0034424413461238146,
-0.04135480150580406,
-0.0028531537391245365,
0.07237090170383453,
-0.023098258301615715,
-0.058173391968011856,
0.011776653118431568,
0.01796531118452549,
-0.008686874993145466,
-0.04848996177315712,
0.0012946127681061625,
-0.01598130166530609,
-0.051220253109931946,
0.04069953039288521,
0.01796531118452549,
-0.03077947534620762,
0.0053058648481965065,
-0.025628328323364258,
-0.005105643533170223,
0.02921411022543907,
0.021441882476210594,
-0.011030374094843864,
-0.01307809166610241,
-0.059338316321372986,
-0.034456267952919006,
-0.05784575641155243,
0.019385064020752907,
-0.042337704449892044,
-0.005947482772171497,
-0.004495878703892231,
-0.022188162431120872,
-0.03840608894824982,
0.03179878368973732,
0.030324427410960197,
0.012768658809363842,
-0.027193693444132805,
-0.05864664167165756,
-0.0006962241022847593,
0.004982780199497938,
0.019275851547718048,
-0.04015347361564636,
-0.05577073618769646,
-0.010575325228273869,
0.005929281003773212,
0.017719585448503494,
-0.07754025608301163,
0.03547557443380356,
-0.039898645132780075,
0.019530678167939186,
0.04535922780632973,
0.004065857734531164,
-0.014588852412998676,
0.023025451228022575,
-0.017992615699768066,
0.0020590941421687603,
-0.013651452958583832,
-0.01658196561038494,
0.022388383746147156,
0.030160609632730484,
0.005942932330071926,
0.05729969963431358,
-0.006220512092113495,
-0.045686863362789154,
0.06825726479291916,
-0.008554910309612751,
-0.01743745617568493,
0.051402270793914795,
0.021023238077759743,
0.04612370952963829,
-0.042082879692316055,
0.01976730301976204,
-0.00601574033498764,
0.01490738708525896,
-0.017128022387623787,
0.03618545085191727,
-0.006507192738354206,
-0.014088299125432968,
0.016854993999004364,
0.03105250559747219,
-0.049036018550395966,
-0.05919269844889641,
0.020349765196442604,
-0.10753704607486725,
-0.009483208879828453,
0.05689925700426102,
-0.02213355526328087,
-0.028577040880918503,
0.01962168887257576,
-0.04372105374932289,
0.0002627904759719968,
0.011139585636556149,
0.04728863388299942,
-0.037459585815668106,
0.035311758518218994,
-0.014534247107803822,
-0.05540669709444046,
-0.04029908776283264,
0.011075878515839577,
-0.019457871094346046,
-0.0031989903654903173,
0.03718655928969383,
0.014233915135264397,
-0.07237090170383453,
-0.013223707675933838,
0.02378993108868599,
0.0333823524415493,
-0.0530768483877182,
-0.09290269017219543,
-0.028540637344121933,
0.044376324862241745,
0.019676294177770615,
0.01531693059951067,
0.04929084703326225,
-0.030233418568968773,
0.00777222728356719,
0.03205361217260361,
0.007212517783045769,
0.0006547009106725454,
-0.03150755167007446,
-0.03391020745038986,
-0.0207138042896986,
0.010457012802362442,
0.04044470563530922,
0.015080304816365242,
0.0004322960157878697,
-0.01129430253058672,
0.051475077867507935,
-0.07371784746646881,
-0.015444343909621239,
0.0378236249089241,
0.03935258835554123,
-0.023171065375208855,
0.0033923860173672438,
0.019221246242523193,
-0.05231236666440964,
-0.0558435432612896,
0.004914523102343082,
0.048854000866413116,
-0.010220387950539589,
-0.0719340592622757,
0.07586567103862762,
-0.006825726479291916,
0.023899143561720848,
-0.016745781525969505,
-0.03010600432753563,
0.0639980137348175,
0.0360216349363327,
-0.018538672477006912,
-0.009728935547173023,
0.057117678225040436,
0.014952891506254673,
-0.035184346139431,
0.004846266005188227,
-0.0044617499224841595,
0.019803708419203758,
-0.034037623554468155,
-0.005478783044964075,
0.0659274160861969,
0.007585657294839621,
-0.02925051376223564,
-0.03474749997258186,
0.029414331540465355,
0.0026415560860186815,
-0.05194832757115364,
-0.0033878355752676725,
-0.00637977896258235,
0.010584426112473011,
-0.016436349600553513,
-0.014370429329574108,
0.032454054802656174,
-0.042301300913095474,
-0.06250545382499695,
0.003938443958759308,
0.027230098843574524,
-0.036258257925510406,
0.033582575619220734,
0.08103502541780472,
-0.01092116255313158,
0.05180271342396736,
-0.01247742772102356
] |
713,371
|
xmlschema.validators.schemas
|
clear
|
Clears the schema's XSD global maps.
|
def clear(self) -> None:
"""Clears the schema's XSD global maps."""
self.maps.clear()
self._xpath_node = None
self._annotations = None
self._components = None
self._root_elements = None
|
(self) -> NoneType
|
[
0.013377510942518711,
0.021957216784358025,
0.017142336815595627,
-0.041114289313554764,
-0.05880299583077431,
0.0038224507588893175,
-0.05364663526415825,
0.002454393310472369,
0.035684745758771896,
0.05470522493124008,
-0.05146115645766258,
-0.020966921001672745,
0.019139999523758888,
0.037597037851810455,
-0.018644852563738823,
-0.0030263736844062805,
-0.0085156774148345,
0.01250673457980156,
0.002960211830213666,
-0.08195539563894272,
-0.00666741281747818,
-0.014051935635507107,
0.009698054753243923,
0.03061375394463539,
-0.026242800056934357,
-0.013582399114966393,
0.005762488581240177,
-0.020283959805965424,
0.03623111546039581,
-0.016177652403712273,
-0.039201997220516205,
-0.0011460949899628758,
0.007457087282091379,
-0.023818286135792732,
-0.006483866833150387,
-0.04196799173951149,
0.026823317632079124,
0.006739977281540632,
0.051597751677036285,
0.03814340755343437,
0.059076178818941116,
0.018320444971323013,
-0.04087525233626366,
-0.0683644562959671,
0.055183298885822296,
0.04842197895050049,
0.02964053489267826,
0.040533773601055145,
-0.017774075269699097,
0.0019186952849850059,
-0.029162460938096046,
0.05016352981328964,
-0.021905994042754173,
0.07942843437194824,
-0.030443014577031136,
-0.014256823807954788,
-0.0055149151012301445,
0.05070989951491356,
0.041797250509262085,
-0.03326022997498512,
0.017193559557199478,
0.010278572328388691,
-0.07936014235019684,
-0.03209919482469559,
0.05248560011386871,
-0.020574219524860382,
0.005011230707168579,
-0.014530008658766747,
0.018030187115073204,
0.015144674107432365,
-0.06341298669576645,
-0.002499212743714452,
-0.02890635095536709,
-0.000050888644182123244,
0.019088776782155037,
-0.035957928746938705,
0.03831414505839348,
-0.03209919482469559,
0.010620052926242352,
-0.09062900394201279,
0.016484985128045082,
0.02800142578780651,
-0.0682961642742157,
0.021923067048192024,
0.038279999047517776,
0.05569551885128021,
0.08639464527368546,
0.044392503798007965,
0.008067484013736248,
-0.004541694652289152,
0.05344174802303314,
0.00553625775501132,
-0.00005999257700750604,
-0.02079618163406849,
0.04777316376566887,
-0.007038773037493229,
-0.07362326234579086,
-0.04364124685525894,
-0.023920729756355286,
-0.001980588771402836,
0.00780283659696579,
-0.03312363848090172,
-0.055763814598321915,
0.05012938380241394,
0.0017426192061975598,
0.04360710084438324,
0.07280370593070984,
-0.08168221265077591,
0.015230043791234493,
0.0747160017490387,
-0.03249190002679825,
0.01740698330104351,
0.021018143743276596,
0.059383511543273926,
0.0342334508895874,
0.01726185530424118,
-0.025628134608268738,
0.027386760339140892,
0.04531450197100639,
0.007401596289128065,
-0.02088155224919319,
0.016997206956148148,
-0.025952542200684547,
-0.043129026889801025,
0.06074943393468857,
0.019669294357299805,
0.028240462765097618,
0.048285387456417084,
-0.015554450452327728,
-0.018354592844843864,
0.01751796528697014,
0.004934397526085377,
-0.01688622683286667,
0.024142693728208542,
-0.01680939272046089,
-0.04456324502825737,
0.049275681376457214,
-0.058393217623233795,
-0.06703267991542816,
0.02892342396080494,
-0.03547985479235649,
0.00240530539304018,
-0.008673612959682941,
-0.005899081006646156,
0.01254088245332241,
0.01686915196478367,
-0.0031096097081899643,
-0.02086447738111019,
-0.09909772872924805,
-0.01742405816912651,
-0.04186554625630379,
-0.03483104333281517,
-0.04524620622396469,
-0.06809127330780029,
-0.08933138102293015,
0.019037555903196335,
0.014615378342568874,
0.015204433351755142,
-0.003406271105632186,
-0.007358911447227001,
-0.022298697382211685,
0.007606484927237034,
0.030784495174884796,
-0.06655460596084595,
-0.03667503967881203,
0.009732202626764774,
0.028120944276452065,
-0.025508616119623184,
-0.012353068217635155,
-0.04008984565734863,
-0.038177553564310074,
-0.02933320216834545,
-0.02153036557137966,
-0.02304995432496071,
0.03189430758357048,
0.039475180208683014,
0.0004585980495903641,
-0.0012869557831436396,
0.017774075269699097,
0.028138019144535065,
0.018679000437259674,
-0.03226993605494499,
-0.04483643174171448,
0.002657147590070963,
0.0037285436410456896,
0.009629759006202221,
-0.017500892281532288,
0.017031354829669,
-0.01189206913113594,
0.006727172061800957,
-0.001842929283156991,
0.023374361917376518,
-0.01249819714576006,
0.04452909901738167,
0.07444281876087189,
0.001052721287123859,
0.017150873318314552,
-0.009774887934327126,
-0.013292140327394009,
-0.02407439611852169,
-0.041148439049720764,
-0.005762488581240177,
0.0357871875166893,
-0.02182062342762947,
-0.013053104281425476,
0.03872392326593399,
-0.005779562518000603,
-0.043094877153635025,
-0.048012200742959976,
0.03653844818472862,
0.0071113379672169685,
-0.007674781139940023,
0.004545963369309902,
-0.08188709616661072,
0.015016618184745312,
-0.032423604279756546,
-0.08011139929294586,
-0.008374816738069057,
-0.023169472813606262,
0.006513746455311775,
-0.006078358273953199,
-0.001443823566660285,
0.002369023161008954,
-0.07416962832212448,
-0.012865289114415646,
0.03127964213490486,
-0.009083389304578304,
-0.0228279922157526,
-0.004870370030403137,
-0.0652228370308876,
0.040772806853055954,
0.005805173888802528,
0.008946796879172325,
-0.030494235455989838,
0.04804635047912598,
-0.04483643174171448,
0.021359624341130257,
-0.011610347777605057,
0.02149621769785881,
-0.048626866191625595,
-0.026276947930455208,
-0.03226993605494499,
-0.041797250509262085,
-0.0325772687792778,
-0.041216734796762466,
0.0683644562959671,
-0.026584280654788017,
-0.0066375331953167915,
0.03609452024102211,
-0.03448956087231636,
-0.03484811633825302,
-0.06126165762543678,
0.042343620210886,
-0.008818741887807846,
0.05982743576169014,
-0.07294029742479324,
-0.08366280049085617,
0.0030092995148152113,
-0.0129848076030612,
0.01384704653173685,
0.0585981048643589,
0.02216210402548313,
0.0071113379672169685,
0.06874008476734161,
0.07246223092079163,
0.026823317632079124,
0.059315215796232224,
0.03483104333281517,
-0.011687180958688259,
-0.017014281824231148,
0.06969623267650604,
-0.007128411903977394,
0.0030754616018384695,
-0.02214503102004528,
0.024313433095812798,
0.05101723223924637,
-0.01219086442142725,
0.00494720321148634,
0.035616450011730194,
0.035684745758771896,
0.049924492835998535,
-0.0648130550980568,
0.056788258254528046,
0.04090940207242966,
0.006628996226936579,
0.012933585792779922,
-0.015588599257171154,
-0.03057960607111454,
-0.015562987886369228,
-0.02238406613469124,
-0.0075339204631745815,
0.044119320809841156,
-0.03220164030790329,
0.040226440876722336,
0.007674781139940023,
-0.021991364657878876,
0.010176127776503563,
0.0037498860619962215,
-0.05265634134411812,
0.050914786756038666,
-0.003611159510910511,
0.007713197730481625,
0.0228109173476696,
0.025867171585559845,
0.04852442443370819,
-0.005975914187729359,
0.015528840012848377,
0.023630471900105476,
0.084687240421772,
0.046338945627212524,
-0.020420553162693977,
-0.012472586706280708,
-0.053817376494407654,
0.03209919482469559,
0.051905084401369095,
-0.04196799173951149,
0.0019336350960657,
-0.04944642260670662,
0.009228519164025784,
0.04985619708895683,
0.006103969644755125,
-0.023818286135792732,
0.024603692814707756,
-0.02402317523956299,
-0.09950751066207886,
-0.03445541486144066,
0.01350556593388319,
0.007375985383987427,
0.01984003558754921,
-0.04596331715583801,
-0.006868032738566399,
-0.023681694641709328,
-0.0009289344889111817,
-0.015136136673390865,
0.01006514672189951,
-0.016835004091262817,
-0.006804005242884159,
-0.04333391413092613,
-0.033687081187963486,
-0.011635958217084408,
-0.0004063087981194258,
0.052246563136577606,
-0.02310117706656456,
-0.023169472813606262,
-0.029367350041866302,
0.009143148548901081,
-0.015383710153400898,
-0.03249190002679825,
-0.01675816997885704,
-0.026550132781267166,
0.0308527909219265,
0.035684745758771896,
0.06805712729692459,
0.012421363964676857,
0.09308766573667526,
-0.009330962784588337,
-0.005954571533948183,
0.061637286096811295,
-0.0015740131493657827,
0.02535494975745678,
0.056822407990694046,
-0.0013520505744963884,
-0.059076178818941116,
-0.07560385018587112,
0.044699836522340775,
-0.01638254150748253,
0.008481529541313648,
-0.011635958217084408,
-0.004144723527133465,
-0.013556787744164467,
0.037255555391311646,
-0.0878971591591835,
-0.06949134171009064,
-0.033670008182525635,
0.017150873318314552,
0.05528574436903,
0.03978251293301582,
0.05436374619603157,
-0.039919108152389526,
-0.043777838349342346,
0.023510953411459923,
0.024552470073103905,
0.027540426701307297,
-0.021649884060025215,
-0.025269579142332077,
-0.03324315696954727,
-0.0008686418295837939,
0.012660400941967964,
-0.01641668938100338,
0.06740830838680267,
0.048012200742959976,
-0.021069366484880447,
-0.023937804624438286,
-0.016339857131242752,
0.053817376494407654,
0.1006685420870781,
0.021718179807066917,
0.020420553162693977,
-0.010935923084616661,
-0.010039535351097584,
0.024210989475250244,
-0.03814340755343437,
-0.025150060653686523,
0.04459739476442337,
0.03780192509293556,
-0.02929905243217945,
-0.05624188855290413,
-0.0195327028632164,
0.023596324026584625,
0.05310026556253433,
0.041797250509262085,
0.027728240936994553,
0.04493887349963188,
-0.0029858227353543043,
0.022213326767086983,
-0.016860615462064743,
0.040465474128723145,
0.03544570878148079,
0.078267402946949,
0.042446065694093704,
-0.03151867911219597,
0.04350465536117554,
0.0061637284234166145,
0.08728249371051788,
0.005062452983111143,
-0.013667769730091095,
-0.046646278351545334,
-0.03923614323139191,
-0.024245137348771095,
0.03232115879654884,
-0.02279384434223175,
0.023374361917376518,
-0.08188709616661072,
-0.05234900861978531,
-0.05310026556253433,
0.02540617249906063,
-0.004206616897135973,
0.006082626990973949,
-0.04101184383034706,
-0.01124325580894947,
0.024228062480688095,
-0.003276081522926688,
0.05081234499812126,
-0.01616057939827442,
0.034045636653900146,
0.05310026556253433,
-0.03752874210476875,
0.06679364293813705,
-0.002009401097893715,
0.017449669539928436,
-0.03776777908205986,
-0.0309381615370512,
0.007504040841013193,
-0.05661751702427864,
-0.010859089903533459,
-0.019942479208111763,
-0.0035706087946891785,
-0.03879221901297569,
-0.05463692918419838,
0.005152091849595308,
-0.00570699805393815,
-0.0025397634599357843,
0.019413184374570847,
-0.02641354128718376,
-0.011166422627866268,
0.052144117653369904,
0.0004972814349457622,
0.019344888627529144,
0.01742405816912651,
0.02345973066985607,
0.00749550387263298,
-0.044392503798007965,
-0.014137305319309235,
-0.05668581277132034,
0.0027361148968338966,
-0.026874540373682976,
-0.007879669778048992,
0.028428277000784874,
0.01006514672189951,
-0.0006370751070789993,
0.0308527909219265,
0.025815948843955994,
0.014137305319309235,
-0.022537732496857643,
0.015844710171222687,
-0.0015825501177459955,
0.028855128213763237,
-0.06942304968833923,
-0.04941227287054062,
-0.007294883951544762,
-0.04384613409638405,
-0.03647014871239662,
-0.015349562279880047,
-0.040533773601055145,
0.04306073114275932,
-0.030135681852698326,
0.03215041756629944,
0.012737234123051167,
0.0058905440382659435,
-0.05327100679278374,
-0.006445450242608786,
-0.018098482862114906,
-0.08858012408018112,
0.04780731350183487,
0.01755211316049099,
-0.0011887800646945834,
0.01076518278568983,
-0.03023812547326088,
-0.018303371965885162,
-0.015409321524202824,
-0.07594533264636993,
-0.045997463166713715,
0.01890096254646778,
0.038587331771850586,
-0.0019005541689693928,
-0.013147011399269104,
-0.005971645470708609,
-0.015153210610151291,
0.00828090962022543,
-0.005963108502328396,
-0.052246563136577606,
0.030955234542489052,
-0.009663906879723072,
0.00666314410045743,
-0.02663550339639187,
0.010773719288408756,
-0.07239393144845963,
-0.007405865006148815,
0.05050501227378845,
-0.023306064307689667,
0.045007169246673584,
-0.05391981825232506,
-0.012250623665750027,
0.00845164991915226,
0.022196251899003983,
0.016783781349658966,
0.03218456730246544,
-0.1269625574350357,
0.009996850974857807,
0.03199675306677818,
-0.00183012371417135,
-0.026242800056934357,
0.027523353695869446,
0.013590936549007893,
0.027898982167243958,
0.027813611552119255,
0.001586818601936102,
-0.006415570620447397,
0.008502871729433537,
0.029657607898116112,
-0.01915707252919674,
-0.033721230924129486,
0.03541155904531479,
0.0024223795626312494,
-0.022998731583356857,
-0.03358463570475578,
0.030169829726219177,
0.004217287991195917,
0.0391337014734745,
-0.013573861680924892,
-0.0029217952396720648,
-0.011311551555991173,
0.013872657902538776,
0.01661304198205471,
0.0325772687792778,
0.010483460500836372,
-0.024228062480688095,
-0.02445002645254135,
0.012310382910072803,
0.05234900861978531,
-0.001848264830186963,
-0.00357274292036891,
0.0454852432012558,
-0.07765273749828339,
0.010167591273784637,
-0.008494335226714611,
-0.0058435904793441296,
0.00690218061208725,
-0.004964277148246765,
-0.022503584623336792,
0.0005922557902522385,
0.04125088080763817,
-0.004631333518773317,
-0.035957928746938705,
0.042753398418426514,
-0.023510953411459923,
0.017313076183199883,
-0.020403478294610977,
0.0007011027773842216,
-0.05952010303735733,
-0.0651203915476799,
0.003212053794413805,
0.017270391806960106,
-0.006436913274228573,
-0.05801758915185928,
0.022264549508690834,
0.040192291140556335,
-0.04196799173951149,
-0.04691946133971214,
-0.017176484689116478,
0.029094165191054344,
0.049924492835998535,
0.04056791961193085,
0.029708830639719963,
-0.008204076439142227,
0.031057680025696754,
-0.0034126737155020237,
0.06095432490110397,
0.06296905875205994,
0.021035218611359596,
-0.00570699805393815,
-0.06358372420072556,
0.03780192509293556,
0.014905637130141258,
0.0007059048512019217,
-0.04787560924887657,
0.019259518012404442,
-0.019122924655675888,
-0.030340569093823433,
-0.0043922970071434975,
-0.018781444057822227,
-0.035889632999897,
-0.04381198808550835,
0.011781088076531887,
-0.0034873727709054947,
0.042104583233594894,
-0.012557956390082836,
0.051870934665203094,
0.010466386564075947,
0.11193741112947464,
0.03028934821486473,
-0.10046365112066269,
-0.045075464993715286,
-0.02834290638566017,
0.04258265718817711,
0.04903664439916611,
-0.040772806853055954,
0.024210989475250244,
0.015938617289066315,
0.04596331715583801,
0.033379748463630676,
-0.002153463428840041,
0.051563601940870285,
0.0017298137536272407,
-0.022008437663316727,
0.023203620687127113,
-0.00439656525850296,
-0.0308527909219265,
0.022213326767086983,
0.002226028125733137,
-0.05473937466740608,
0.0027233094442635775,
0.025252506136894226,
-0.0020446162670850754,
0.039884958416223526,
-0.0008355608442798257,
-0.07949673384428024,
-0.05586626008152962,
-0.0178594458848238,
-0.014026324264705181,
-0.04818294197320938,
-0.011396922171115875,
0.03937273845076561,
0.018064334988594055,
-0.015392247587442398,
-0.017791150137782097,
0.04265095293521881,
0.04162650927901268,
-0.05402226373553276,
0.008122975006699562,
-0.03510422632098198,
0.013898269273340702,
0.03063082881271839,
-0.016604503616690636,
-0.04531450197100639,
0.02933320216834545,
0.015844710171222687,
0.020762033760547638,
-0.01956685073673725,
0.017236243933439255,
-0.0039697145111858845,
0.05695899948477745,
-0.01399217639118433,
-0.0553540401160717,
-0.02086447738111019,
0.006193608045578003,
-0.01578495092689991,
-0.013420195318758488,
-0.014026324264705181,
0.0162886343896389,
-0.0031608317513018847,
-0.055763814598321915,
0.1072249710559845,
-0.023596324026584625,
-0.04609990864992142,
0.038177553564310074,
0.05815418064594269,
-0.06580334901809692,
0.04350465536117554,
-0.010799330659210682,
-0.0022687132004648447,
0.001962447538971901,
-0.039475180208683014,
0.015938617289066315,
0.014197064563632011,
0.0715743750333786,
-0.011303015053272247,
0.03155282512307167,
-0.06013476848602295,
0.06266172975301743,
0.07294029742479324,
0.012387216091156006,
-0.03474567085504532,
-0.006150923203676939,
0.027130650356411934,
0.006274709943681955,
0.011004218831658363,
0.002704101148992777,
-0.00013966031838208437,
-0.01493978500366211,
0.034660302102565765,
0.021410847082734108,
0.019771737977862358,
0.0011332894209772348,
0.04944642260670662,
0.055149149149656296,
-0.07703807204961777,
-0.048319533467292786,
0.024569544941186905,
0.016766708344221115,
-0.03481396660208702,
-0.020966921001672745,
-0.027523353695869446,
0.04715849831700325,
-0.023254843428730965,
-0.00875898264348507,
0.06413009762763977,
0.0309381615370512,
-0.0076790498569607735,
-0.04254850745201111,
-0.02506469190120697,
-0.009305352345108986,
-0.008784594014286995,
0.04657798260450363,
-0.008537020534276962,
0.01954977586865425,
-0.003273947164416313,
0.03944103419780731,
-0.020966921001672745,
0.059315215796232224,
-0.004277047235518694,
-0.025269579142332077,
0.005749682895839214,
0.01645083725452423,
-0.031723566353321075,
0.024842727929353714,
-0.01735576242208481,
0.005173434037715197,
-0.026601355522871017,
-0.00470816669985652,
-0.003538594814017415,
-0.012344530783593655,
-0.046338945627212524,
-0.007273541297763586,
0.09677565842866898,
0.043129026889801025,
0.010534683242440224,
-0.01446171198040247
] |
713,374
|
xmlschema.validators.schemas
|
create_any_attribute_group
|
Creates an attribute group related to schema instance that accepts any attribute.
:param parent: the parent component to set for the attribute group.
|
def create_any_attribute_group(self, parent: Union[XsdComplexType, XsdElement]) \
-> XsdAttributeGroup:
"""
Creates an attribute group related to schema instance that accepts any attribute.
:param parent: the parent component to set for the attribute group.
"""
attribute_group = self.xsd_attribute_group_class(
ATTRIBUTE_GROUP_ELEMENT, self, parent
)
attribute_group[None] = self.xsd_any_attribute_class(
ANY_ATTRIBUTE_ELEMENT, self, attribute_group
)
return attribute_group
|
(self, parent: Union[xmlschema.validators.complex_types.XsdComplexType, xmlschema.validators.elements.XsdElement]) -> xmlschema.validators.attributes.XsdAttributeGroup
|
[
-0.0018100276356562972,
0.020520145073533058,
0.05240956321358681,
0.034575752913951874,
0.006711509078741074,
-0.04870068281888962,
-0.0108839962631464,
-0.027036678045988083,
0.03301594406366348,
0.04065900668501854,
-0.005649972707033157,
0.016637956723570824,
-0.004805076401680708,
0.014592873863875866,
0.037088777869939804,
-0.005623975768685341,
0.002837984822690487,
0.0002425014681648463,
-0.006906484719365835,
-0.0019335125107318163,
0.04325868561863899,
0.02894311212003231,
-0.036048904061317444,
-0.007474082056432962,
0.04467984661459923,
0.08221923559904099,
-0.027157997712492943,
0.013223708607256413,
0.04949792101979256,
-0.03722742572426796,
-0.04270408675074577,
-0.07182051241397858,
0.001349667552858591,
0.0039038537070155144,
0.059688668698072433,
-0.017591172829270363,
-0.06246165931224823,
0.030918868258595467,
-0.02428101748228073,
0.051958952099084854,
0.11168228089809418,
-0.03889122232794762,
-0.10183815658092499,
-0.015797393396496773,
0.01646464504301548,
0.0210054200142622,
0.07903029024600983,
0.04887399822473526,
-0.022253265604376793,
-0.05923805758357048,
0.007023470476269722,
0.026638060808181763,
0.03611823171377182,
0.04409058392047882,
-0.04519978165626526,
0.026932692155241966,
-0.03528633341193199,
0.052998822182416916,
0.00936751626431942,
0.027695264667272568,
-0.04655161499977112,
0.017391864210367203,
0.0005434957565739751,
-0.0696021169424057,
-0.029515041038393974,
-0.04312003776431084,
-0.08242721110582352,
0.02415969967842102,
-0.02906442992389202,
0.012981072068214417,
-0.0883198156952858,
0.0015240628272294998,
0.002415536670014262,
0.03570228070020676,
-0.031161505728960037,
0.001842523692175746,
-0.009506165981292725,
0.01381296943873167,
0.0420108400285244,
-0.010390057228505611,
-0.005766958463937044,
0.006273895967751741,
-0.009142210707068443,
0.06571992486715317,
0.03656884282827377,
0.05851014703512192,
-0.03130015358328819,
0.008041678927838802,
0.007950689643621445,
-0.033934496343135834,
0.008111003786325455,
0.0496712327003479,
0.012201167643070221,
0.05899541825056076,
0.05958468094468117,
0.034385111182928085,
-0.027573946863412857,
0.04526910558342934,
0.08020881563425064,
0.02232259139418602,
-0.02256522886455059,
-0.03899521008133888,
0.026690054684877396,
-0.011117967776954174,
0.020953426137566566,
-0.00037505809450522065,
0.023050501942634583,
-0.04145624116063118,
0.019428279250860214,
0.0634668692946434,
-0.03622221574187279,
-0.06312024593353271,
0.028873786330223083,
0.01913364976644516,
-0.03539032116532326,
0.0008746842504478991,
0.015000157058238983,
-0.021819986402988434,
0.0154074402526021,
-0.04617032781243324,
0.025702176615595818,
0.05206293985247612,
0.04253077507019043,
0.03663816675543785,
0.056430403143167496,
0.03927250951528549,
-0.012088514864444733,
-0.010754012502729893,
0.006174241658300161,
0.05136968940496445,
-0.043397337198257446,
0.033830512315034866,
0.016525303944945335,
-0.03844061121344566,
-0.07133523374795914,
-0.03826729953289032,
0.03164678066968918,
0.010814671404659748,
-0.03516501188278198,
-0.024125035852193832,
-0.00263001024723053,
-0.012331152334809303,
0.05230557546019554,
-0.010260072536766529,
-0.025442207232117653,
-0.016170013695955276,
0.00026714426348917186,
-0.015511428005993366,
-0.05237489938735962,
-0.06516532599925995,
-0.042149487882852554,
-0.019670916721224785,
0.013171715661883354,
0.0199308842420578,
0.02630876749753952,
0.018596382811665535,
-0.054593294858932495,
-0.03225336968898773,
0.002380874240770936,
-0.009098881855607033,
-0.08201126009225845,
0.01861371286213398,
-0.01313705276697874,
-0.05081509053707123,
-0.014558211900293827,
-0.07549472898244858,
-0.008266984485089779,
-0.009462838061153889,
0.019601592794060707,
-0.0019974212627857924,
-0.03539032116532326,
-0.06055522710084915,
0.037054114043712616,
0.011681231670081615,
-0.08138733357191086,
0.0456850565969944,
0.04180286452174187,
0.00488306675106287,
0.06707175821065903,
0.018631044775247574,
0.05136968940496445,
-0.0018663540249690413,
0.014124931767582893,
0.027729926630854607,
0.042392127215862274,
-0.05015650391578674,
0.02870047464966774,
0.024142367765307426,
0.004865735769271851,
-0.017729822546243668,
-0.006507867481559515,
0.008046011440455914,
-0.046655602753162384,
0.009835458360612392,
0.0056543052196502686,
-0.0432240255177021,
-0.017114564776420593,
-0.026932692155241966,
-0.0011254451237618923,
0.010970652103424072,
-0.057296961545944214,
-0.0199308842420578,
0.03421179577708244,
0.0084316311404109,
-0.0014298243913799524,
-0.0318894162774086,
-0.022807864472270012,
-0.011351939290761948,
-0.07223646342754364,
-0.02348378114402294,
0.007777377963066101,
0.000574096164200455,
0.016750609502196312,
0.029393723234534264,
0.021022750064730644,
0.007344097830355167,
-0.04838872328400612,
-0.03819797560572624,
-0.04357064887881279,
0.03365720063447952,
-0.04894332215189934,
-0.024211691692471504,
0.05473194271326065,
-0.02826719358563423,
0.01897766813635826,
0.022305259481072426,
0.03263465687632561,
0.028804462403059006,
-0.03792067617177963,
0.014384899288415909,
0.004432455636560917,
-0.05785156041383743,
0.011230620555579662,
-0.026880698278546333,
-0.055667828768491745,
-0.027851246297359467,
0.0790996178984642,
0.0007625729776918888,
0.025719506666064262,
-0.002809821628034115,
0.03502636402845383,
-0.030624238774180412,
0.03247867524623871,
-0.007469749078154564,
-0.04225347563624382,
0.0059792655520141125,
-0.023778412491083145,
0.010095426812767982,
0.02459297887980938,
-0.019272299483418465,
-0.044749170541763306,
-0.016196010634303093,
-0.024142367765307426,
0.01200185902416706,
0.0729990303516388,
-0.06831961125135422,
-0.027521952986717224,
-0.03185475245118141,
0.022149279713630676,
-0.0016399652231484652,
0.03715810179710388,
0.07715852558612823,
0.014402231201529503,
0.03913385793566704,
0.03391716629266739,
0.01162057276815176,
0.03941115736961365,
-0.02124805748462677,
-0.00328859593719244,
-0.016767939552664757,
-0.0019540933426469564,
-0.0071707856841385365,
0.020156189799308777,
-0.03234002739191055,
-0.024107705801725388,
0.019584260880947113,
0.0078943632543087,
0.013405686244368553,
-0.03324124962091446,
-0.03168144077062607,
0.006265230476856232,
0.022149279713630676,
-0.017244547605514526,
0.0036265545058995485,
-0.030398933216929436,
0.04734884947538376,
-0.028353851288557053,
0.04457585886120796,
-0.049047309905290604,
-0.02180265448987484,
0.009246197529137135,
0.046655602753162384,
-0.07466282695531845,
-0.009688143618404865,
-0.06350152939558029,
-0.0022400582674890757,
0.010875330306589603,
-0.05102306604385376,
0.026846036314964294,
-0.014046940952539444,
0.06398680806159973,
0.03348388522863388,
0.05507856607437134,
0.02263455279171467,
-0.046586278825998306,
0.03433311730623245,
-0.005437665153294802,
0.025840826332569122,
-0.008934236131608486,
0.03854459896683693,
0.020554808899760246,
0.02339712530374527,
-0.019064323976635933,
-0.012391811236739159,
0.0056066447868943214,
0.04551174119114876,
0.07875299453735352,
-0.062253687530756,
0.038960546255111694,
0.0481460839509964,
-0.03299861401319504,
-0.040762994438409805,
-0.03140414133667946,
-0.03084954433143139,
0.0022487237583845854,
-0.013301699422299862,
0.09012226015329361,
-0.01837107725441456,
-0.04142157733440399,
0.025060921907424927,
0.004839738830924034,
-0.03398649021983147,
-0.04623965173959732,
0.04589302837848663,
-0.017478520050644875,
0.06821562349796295,
-0.017331205308437347,
-0.0616297610104084,
-0.008401301689445972,
-0.051646988838911057,
-0.020034871995449066,
0.10100626200437546,
-0.009514831006526947,
0.0008156498079188168,
-0.04575438052415848,
-0.03280796855688095,
0.0689781904220581,
-0.014185590669512749,
0.018197763711214066,
-0.0766732469201088,
-0.002508691744878888,
0.02483561635017395,
0.0441599078476429,
0.011187292635440826,
0.08117935806512833,
0.03216671571135521,
-0.05344943329691887,
0.08048611134290695,
-0.026898028329014778,
0.022131947800517082,
0.10128355771303177,
-0.0338825061917305,
0.03937649726867676,
-0.0338825061917305,
-0.030554912984371185,
0.004662094172090292,
0.009237531572580338,
-0.0025390214286744595,
-0.00853128544986248,
0.02655140496790409,
0.029428385198116302,
-0.03795533627271652,
0.017053905874490738,
-0.04086697846651077,
0.03412514179944992,
0.04551174119114876,
-0.011299945414066315,
0.004623098764568567,
0.02714066579937935,
-0.05597979202866554,
0.0364995151758194,
0.0025173574686050415,
0.03559829294681549,
-0.0023115493822842836,
-0.007339764852076769,
-0.03885655850172043,
0.07646527141332626,
0.030346939340233803,
-0.050884414464235306,
0.02097075805068016,
0.05206293985247612,
-0.026846036314964294,
0.0010068346746265888,
-0.030832212418317795,
0.01857905089855194,
-0.000730076979380101,
-0.009610152803361416,
0.0006028009811416268,
-0.027487291023135185,
-0.0009358850657008588,
-0.04492248222231865,
-0.038405947387218475,
0.010433385148644447,
-0.03409047797322273,
0.027175327762961388,
-0.051646988838911057,
0.03041626326739788,
-0.06908217817544937,
0.007686389144510031,
0.013795638456940651,
0.03234002739191055,
0.04707155004143715,
0.005823284853249788,
0.010728015564382076,
0.03695012629032135,
0.003934183623641729,
0.08811184018850327,
-0.002352711046114564,
0.04429855942726135,
0.004243978764861822,
0.043951936066150665,
0.009982774034142494,
-0.026360761374235153,
0.02140403725206852,
0.01090132724493742,
-0.009731471538543701,
-0.005580647848546505,
-0.004978388547897339,
-0.040312379598617554,
-0.01048537902534008,
-0.002558519132435322,
0.023015839979052544,
-0.08291248232126236,
-0.03072822466492653,
-0.01769516058266163,
-0.022426579147577286,
-0.03415980562567711,
-0.056257087737321854,
0.03284263238310814,
0.02228792943060398,
-0.006919483188539743,
-0.027244653552770615,
-0.011776553466916084,
0.013934288173913956,
0.011351939290761948,
-0.009376181289553642,
0.026100793853402138,
0.08630939573049545,
0.03764337673783302,
-0.02296384610235691,
0.023570438846945763,
-0.030104301869869232,
0.07043401151895523,
-0.003568061627447605,
0.008526952937245369,
0.01500882301479578,
0.01646464504301548,
-0.06523465365171432,
-0.016750609502196312,
-0.03476639464497566,
-0.00910754781216383,
-0.0018295252230018377,
0.008505288511514664,
-0.012261827476322651,
-0.020034871995449066,
0.03185475245118141,
0.03927250951528549,
-0.04363997280597687,
0.031993404030799866,
0.049532581120729446,
0.02634343132376671,
-0.06606654822826385,
0.02467963472008705,
0.006585857830941677,
-0.008704597130417824,
-0.0413869172334671,
0.009610152803361416,
-0.0077730449847877026,
-0.0576435849070549,
0.004722753074020147,
0.016793936491012573,
0.024939602240920067,
0.010537371970713139,
-0.022339923307299614,
-0.023327801376581192,
-0.012608450837433338,
0.007235778030008078,
-0.043674636632204056,
-0.061213813722133636,
0.01480951439589262,
-0.053830720484256744,
0.012608450837433338,
0.009315522387623787,
0.04204550012946129,
0.10045166313648224,
-0.005628308746963739,
0.050329819321632385,
0.007933358661830425,
0.006585857830941677,
-0.019948216155171394,
-0.012140508741140366,
-0.010130088776350021,
-0.1152871698141098,
-0.00694548012688756,
0.049289945513010025,
-0.00515170069411397,
-0.03124816156923771,
-0.08318977802991867,
-0.02838851325213909,
0.047660812735557556,
0.0060789198614656925,
0.012877085246145725,
-0.013085058890283108,
-0.018648376688361168,
0.013778307475149632,
-0.015060816891491413,
0.045615728944540024,
-0.025320889428257942,
0.010615362785756588,
-0.011923868209123611,
0.040762994438409805,
0.019584260880947113,
-0.0827738344669342,
0.042149487882852554,
-0.012435139156877995,
0.024939602240920067,
-0.03774736449122429,
-0.0177818164229393,
0.02097075805068016,
-0.05147367715835571,
0.04679425060749054,
0.003418580163270235,
-0.021178731694817543,
0.07078064233064651,
-0.022807864472270012,
-0.017192555591464043,
0.037123437970876694,
0.023709086701273918,
-0.01984422840178013,
-0.05046846717596054,
0.0030979528091847897,
0.014514883980154991,
-0.0028964774683117867,
0.012218499556183815,
0.01114396471530199,
0.02873513661324978,
-0.014315574429929256,
-0.03237469121813774,
0.02029483951628208,
0.026967354118824005,
0.01845773309469223,
0.019064323976635933,
0.001112446654587984,
0.04225347563624382,
-0.004200650844722986,
0.013864963315427303,
0.020398827269673347,
-0.012183836661279202,
-0.02953237295150757,
0.023466451093554497,
0.040485695004463196,
-0.013561667874455452,
-0.0013377523282542825,
-0.012305155396461487,
-0.015936043113470078,
0.01746118813753128,
-0.043743960559368134,
0.03591025620698929,
0.008427297696471214,
0.07937691360712051,
-0.05587580427527428,
-0.00001596874244569335,
-0.046586278825998306,
-0.06058989092707634,
-0.0019367621280252934,
0.013925623148679733,
-0.054627954959869385,
0.028648480772972107,
-0.03253066912293434,
-0.005641307216137648,
-0.02296384610235691,
-0.04149090498685837,
-0.0065251984633505344,
-0.01937628723680973,
-0.008600610308349133,
-0.028925780206918716,
0.04835405945777893,
0.03461041674017906,
-0.014870173297822475,
0.008674267679452896,
-0.04246145114302635,
-0.0147921834141016,
0.01698458008468151,
-0.005831950344145298,
-0.07459350675344467,
0.0038843562360852957,
-0.02842317521572113,
-0.05022583156824112,
0.022981176152825356,
0.022929184138774872,
0.018804356455802917,
0.02526889555156231,
-0.019757572561502457,
0.05261753499507904,
0.021594680845737457,
0.002374375006183982,
-0.02124805748462677,
-0.02480095438659191,
-0.0269846860319376,
-0.01925496757030487,
-0.025684844702482224,
0.04509579390287399,
-0.024887610226869583,
0.0007127457647584379,
-0.015442103147506714,
-0.04357064887881279,
-0.044471871107816696,
0.05570249259471893,
0.018596382811665535,
-0.05234023556113243,
-0.01821509562432766,
-0.002398205455392599,
-0.0374007374048233,
-0.00047065052785910666,
-0.019913554191589355,
-0.04180286452174187,
0.03240935131907463,
0.008336309343576431,
0.006572859361767769,
0.013570332899689674,
0.03216671571135521,
-0.020918764173984528,
-0.09518297761678696,
-0.08346708118915558,
0.012227164581418037,
-0.0014590707141906023,
0.022981176152825356,
0.04287739843130112,
-0.0050607118755578995,
0.02188931033015251,
0.030520251020789146,
-0.019029662013053894,
0.005615310277789831,
-0.009376181289553642,
-0.00703646894544363,
-0.0006764585850760341,
0.007378760259598494,
-0.002160984557121992,
-0.042634762823581696,
-0.07729717344045639,
-0.013752310536801815,
0.03871791064739227,
-0.05175097659230232,
-0.03332790732383728,
0.034107811748981476,
-0.016802603378891945,
-0.05570249259471893,
0.0456850565969944,
-0.061005838215351105,
0.014670864678919315,
0.028613818809390068,
-0.0008665602072142065,
0.057019662111997604,
0.04013906791806221,
0.006447208113968372,
-0.014679529704153538,
0.04963656887412071,
-0.06880488246679306,
-0.02005220390856266,
0.028613818809390068,
-0.0766732469201088,
0.05878744646906853,
-0.002363543026149273,
0.0022573894821107388,
-0.02156001888215542,
-0.0009656730690039694,
0.004027338698506355,
0.04547708109021187,
-0.009428175166249275,
0.007859701290726662,
0.032357357442379,
-0.0015273124445229769,
0.0019085989333689213,
-0.06197638809680939,
0.03875257447361946,
-0.0217679925262928,
0.014662198722362518,
-0.0286658126860857,
-0.0177818164229393,
-0.05840615928173065,
-0.03384784236550331,
-0.04190685227513313,
0.04932460933923721,
0.0007181617547757924,
-0.018648376688361168,
-0.0036135560367256403,
-0.021334713324904442,
0.11119700968265533,
-0.014818179421126842,
0.07639595121145248,
-0.00328859593719244,
-0.0005256229196675122,
-0.07258308678865433,
0.0358755923807621,
0.05258287489414215,
0.07383093237876892,
-0.004142157733440399,
0.051404353231191635,
0.08866643905639648,
0.012712438590824604,
0.012218499556183815,
0.067765012383461,
-0.06849291920661926,
-0.0021349878516048193,
0.013189046643674374,
0.022062623873353004,
0.021074743941426277,
0.034021154046058655,
0.011906537227332592,
-0.008669935166835785,
-0.03722742572426796,
0.07653459906578064,
0.003858359297737479,
-0.003578893607482314,
-0.0717511847615242,
-0.0005583897582255304,
-0.031785428524017334,
-0.017192555591464043,
0.02400371804833412,
0.03448909521102905,
-0.0024545318447053432,
0.018319083377718925,
0.0035767273511737585,
-0.011395267210900784,
0.006026926450431347,
0.03443710133433342,
-0.011282614432275295,
-0.032028064131736755,
-0.03847527503967285,
-0.020537476986646652,
0.00009301982208853588,
0.022790534421801567,
0.010216744616627693,
-0.011074639856815338,
-0.02627410553395748,
-0.0242290236055851,
-0.020398827269673347,
-0.006104916799813509,
-0.01389096025377512,
-0.005823284853249788,
-0.06617053598165512,
0.020589470863342285,
0.0191683117300272,
0.06062455475330353,
-0.014306909404695034,
-0.024107705801725388,
0.05015650391578674,
0.029359059408307076,
0.03128282353281975,
-0.04405592009425163,
-0.01701924204826355,
-0.035736944526433945,
0.001173105905763805,
-0.010346729308366776,
0.02578883245587349,
0.028093881905078888,
0.0036937128752470016,
-0.012183836661279202
] |
713,375
|
xmlschema.validators.schemas
|
create_any_content_group
|
Creates a model group related to schema instance that accepts any content.
:param parent: the parent component to set for the content group.
:param any_element: an optional any element to use for the content group. When provided it's copied, linked to the group and the minOccurs/maxOccurs are set to 0 and 'unbounded'.
|
def create_any_content_group(self, parent: Union[XsdComplexType, XsdGroup],
any_element: Optional[XsdAnyElement] = None) -> XsdGroup:
"""
Creates a model group related to schema instance that accepts any content.
:param parent: the parent component to set for the content group.
:param any_element: an optional any element to use for the content group. \
When provided it's copied, linked to the group and the minOccurs/maxOccurs \
are set to 0 and 'unbounded'.
"""
group: XsdGroup = self.xsd_group_class(SEQUENCE_ELEMENT, self, parent)
if isinstance(any_element, XsdAnyElement):
particle = _copy(any_element)
particle.min_occurs = 0
particle.max_occurs = None
particle.parent = group
group.append(particle)
else:
group.append(self.xsd_any_class(ANY_ELEMENT, self, group))
return group
|
(self, parent: Union[xmlschema.validators.complex_types.XsdComplexType, xmlschema.validators.groups.XsdGroup], any_element: Optional[xmlschema.validators.wildcards.XsdAnyElement] = None) -> xmlschema.validators.groups.XsdGroup
|
[
-0.013532302342355251,
0.021722441539168358,
-0.010993890464305878,
0.030248677358031273,
0.01726474240422249,
0.01564617268741131,
-0.01949359104037285,
0.007372009567916393,
0.04326799139380455,
0.012205606326460838,
-0.023137584328651428,
0.013266963884234428,
-0.043444883078336716,
-0.021633995696902275,
-0.020678773522377014,
-0.025490259751677513,
-0.0004483128141146153,
-0.002635703422129154,
-0.025773288682103157,
0.011029268614947796,
0.03725363314151764,
0.015531191602349281,
-0.010648949071764946,
-0.002781640039756894,
0.03665219619870186,
0.035661596804857254,
-0.02632165513932705,
-0.006438899785280228,
0.012444411404430866,
0.002248750301077962,
-0.004022100940346718,
-0.062266282737255096,
-0.02824978716671467,
-0.004156982060521841,
0.03228294476866722,
0.036263033747673035,
-0.04447086155414581,
0.04988378286361694,
-0.03458255156874657,
0.04110989719629288,
0.07776209712028503,
-0.017282431945204735,
-0.06541497260332108,
-0.019422834739089012,
0.010967356152832508,
0.019652795046567917,
0.12417878210544586,
0.07988481223583221,
0.020837977528572083,
-0.025790976360440254,
0.03394573554396629,
-0.020820287987589836,
0.0016064081573858857,
-0.011002735234797001,
-0.07471954077482224,
0.0389871820807457,
-0.017025936394929886,
0.08512083441019058,
0.02439352311193943,
0.013673816807568073,
-0.009198428131639957,
0.026905402541160583,
0.0036926381289958954,
-0.023562127724289894,
-0.002029845491051674,
0.010206717066466808,
-0.03016022965312004,
-0.013629593886435032,
-0.026958469301462173,
-0.01207293663173914,
-0.06665322184562683,
-0.02115638367831707,
0.014337165281176567,
0.06863442808389664,
-0.0014339376939460635,
-0.02419894188642502,
-0.032159119844436646,
-0.003913754131644964,
0.012860110029578209,
0.02550794929265976,
0.03168150782585144,
-0.015301231294870377,
-0.004342719446867704,
0.0607450045645237,
0.07104016840457916,
0.011082337237894535,
-0.015062426216900349,
0.01837916672229767,
0.03247752785682678,
-0.04064997658133507,
0.026445480063557625,
0.022093916311860085,
0.011020424775779247,
0.01321389526128769,
0.04348026216030121,
0.032159119844436646,
-0.017583148553967476,
0.012409033253788948,
0.03866877779364586,
0.02349136956036091,
-0.04592138156294823,
0.022341566160321236,
-0.01903367042541504,
-0.02510109543800354,
0.008619103580713272,
0.03122158721089363,
0.04323261231184006,
-0.03208836168050766,
0.008990579284727573,
0.05632268264889717,
-0.015451590530574322,
-0.02028960920870304,
-0.005125470459461212,
0.04464775323867798,
-0.018343787640333176,
-0.009074603207409382,
0.02115638367831707,
0.007031490560621023,
0.0026732932310551405,
-0.04871629178524017,
0.02662237361073494,
0.037112120538949966,
0.00994137767702341,
0.004019889980554581,
0.0673254206776619,
0.027559906244277954,
-0.0014096149243414402,
-0.03410493955016136,
-0.007495834492146969,
0.01982968859374523,
-0.02534874528646469,
0.02490651234984398,
0.009782174602150917,
-0.08865869790315628,
-0.09431926906108856,
-0.03325585648417473,
0.012046403251588345,
-0.02591480128467083,
-0.0723845511674881,
-0.02490651234984398,
-0.032159119844436646,
0.0230314489454031,
0.05639344081282616,
0.04899931699037552,
-0.0389871820807457,
-0.01599995791912079,
0.022076226770877838,
-0.013160827569663525,
-0.05069749057292938,
-0.03983626887202263,
-0.052006497979164124,
-0.027117673307657242,
0.015628483146429062,
0.05044984072446823,
-0.0010276369284838438,
0.0125240134075284,
-0.005886109545826912,
-0.02131558768451214,
-0.03852726146578789,
0.022783799096941948,
-0.04408169910311699,
0.022253120318055153,
0.01922825165092945,
0.0126566831022501,
-0.012302897870540619,
-0.0577024482190609,
0.00603646831586957,
-0.000474846747238189,
-0.014858999289572239,
-0.018697574734687805,
-0.00005655734275933355,
-0.0026644484605640173,
0.001500272424891591,
-0.008212250657379627,
-0.06279695779085159,
0.06467202305793762,
0.023296788334846497,
0.03293744847178459,
0.049317725002765656,
0.0009049174841493368,
0.042595796287059784,
-0.0022354833781719208,
0.04652281850576401,
0.02020116336643696,
0.028373612090945244,
-0.04291420429944992,
0.015716928988695145,
0.013673816807568073,
0.010250940918922424,
-0.03254828229546547,
-0.03475944325327873,
0.011374210007488728,
-0.03750128298997879,
-0.0020574848167598248,
-0.0189806018024683,
-0.004362619947642088,
-0.05950675532221794,
-0.05653495341539383,
0.009640660136938095,
0.009631815366446972,
-0.03323816508054733,
-0.043904803693294525,
0.05303247645497322,
-0.0290988739579916,
-0.007960177958011627,
-0.007296829950064421,
-0.0062398952431976795,
-0.008402409963309765,
-0.0698372945189476,
-0.0166986845433712,
-0.024163562804460526,
-0.031150830909609795,
0.025684840977191925,
-0.010878910310566425,
0.017830798402428627,
-0.023650573566555977,
-0.0820075273513794,
-0.050839003175497055,
-0.015752308070659637,
0.005483678076416254,
-0.048008717596530914,
0.00028192298486828804,
0.000459092203527689,
-0.027206119149923325,
0.002319507533684373,
0.011329987086355686,
0.030390191823244095,
-0.015769997611641884,
-0.03665219619870186,
-0.008632371202111244,
0.01569039560854435,
-0.031044695526361465,
-0.027188431471586227,
-0.07889421284198761,
-0.04376329109072685,
-0.03521936759352684,
0.07351666688919067,
0.021067937836050987,
0.013532302342355251,
-0.002149248030036688,
0.03366271033883095,
-0.029010426253080368,
0.016627928242087364,
-0.021846266463398933,
-0.03067321889102459,
0.031256966292858124,
-0.00380319613032043,
-0.02449965849518776,
0.026144763454794884,
-0.0172028299421072,
-0.031150830909609795,
-0.04878704622387886,
-0.015628483146429062,
-0.018962912261486053,
0.0658041387796402,
-0.03458255156874657,
-0.03576773405075073,
-0.03852726146578789,
0.014912066981196404,
0.01578768715262413,
0.022836865857243538,
0.05469526723027229,
0.03127465397119522,
0.05430610477924347,
0.021828576922416687,
0.03224756568670273,
-0.022430013865232468,
-0.0041149696335196495,
0.04305572062730789,
-0.00655387993901968,
0.029381901025772095,
-0.013594215735793114,
0.04323261231184006,
-0.06895282864570618,
0.011621859855949879,
0.015761151909828186,
0.004517401102930307,
0.04054383933544159,
-0.06028508394956589,
0.021032558754086494,
-0.009959067218005657,
0.0012017657281830907,
0.035502392798662186,
-0.023402923718094826,
0.01711438223719597,
0.04765493422746658,
-0.024888822808861732,
0.039907027035951614,
-0.062018632888793945,
-0.0369352251291275,
-0.04981302469968796,
0.045107677578926086,
-0.06601641327142715,
-0.016132628545165062,
-0.08837566524744034,
0.0058197746984660625,
0.001028189668431878,
-0.06711314618587494,
0.0058905319310724735,
0.020979491993784904,
0.11278688162565231,
0.021439412608742714,
0.04691198468208313,
0.028479747474193573,
-0.03437028080224991,
0.03529012203216553,
-0.025065716356039047,
0.015929201617836952,
0.0005721378256566823,
0.0076594604179263115,
0.00273962807841599,
0.011011580005288124,
0.01290433295071125,
-0.000034393913665553555,
0.0012824730947613716,
0.08759734034538269,
0.10542813688516617,
-0.054942917078733444,
0.025950180366635323,
0.030337123200297356,
-0.024764997884631157,
-0.06240779533982277,
-0.02879815548658371,
-0.003173015546053648,
0.02388053387403488,
-0.025472570210695267,
0.04160519689321518,
-0.004156982060521841,
-0.07004956901073456,
0.026233209297060966,
0.02126252092421055,
-0.04418783262372017,
-0.05816236883401871,
0.03141617029905319,
-0.028780465945601463,
0.035608530044555664,
-0.009817552752792835,
-0.0571717694401741,
0.021952401846647263,
-0.06258469074964523,
0.039482481777668,
0.06711314618587494,
-0.012294053100049496,
0.031186208128929138,
-0.014788242056965828,
-0.021580927073955536,
0.09347017854452133,
-0.016406811773777008,
0.021368656307458878,
-0.07705452293157578,
-0.019299009814858437,
0.034441038966178894,
0.04231276735663414,
-0.01072855107486248,
0.05911758914589882,
0.030690908432006836,
-0.010127115063369274,
0.07323364168405533,
-0.055544354021549225,
0.00498395599424839,
0.0976448506116867,
-0.05345701798796654,
0.03410493955016136,
-0.016725217923521996,
-0.07241993397474289,
0.0405084602534771,
-0.02403973788022995,
0.05688874050974846,
0.024517348036170006,
0.02069646306335926,
0.036103829741477966,
-0.027259187772870064,
-0.016221074387431145,
-0.02064339444041252,
0.03152230381965637,
0.03881029039621353,
-0.052254147827625275,
0.027259187772870064,
0.007575436029583216,
-0.06240779533982277,
0.044258590787649155,
0.003475944511592388,
0.04397556185722351,
-0.04652281850576401,
-0.033874981105327606,
-0.03037250228226185,
0.07394120842218399,
0.02020116336643696,
-0.06976653635501862,
0.0036638930905610323,
0.059895917773246765,
-0.022023160010576248,
-0.01691095530986786,
-0.053563155233860016,
-0.00021959588048048317,
-0.014885532669723034,
0.0005964605952613056,
0.03700598329305649,
-0.024128183722496033,
0.006744039710611105,
-0.0012824730947613716,
-0.038279611617326736,
-0.002737416885793209,
-0.016964023932814598,
0.01232058648020029,
-0.07974329590797424,
0.029328834265470505,
-0.05876380205154419,
0.009145360440015793,
0.0405084602534771,
0.025189541280269623,
0.017583148553967476,
0.007133204024285078,
0.02449965849518776,
0.04171133413910866,
-0.011223850771784782,
0.06962502747774124,
0.01014480460435152,
-0.007027068175375462,
-0.02490651234984398,
0.022306187078356743,
0.05582738295197487,
0.02161630615592003,
0.026586994528770447,
-0.010533968918025494,
-0.022943003103137016,
-0.03764279931783676,
-0.027206119149923325,
-0.033025894314050674,
-0.048963941633701324,
-0.02039574459195137,
-0.03658144176006317,
-0.052148010581731796,
-0.04645206034183502,
-0.015955734997987747,
-0.01689326763153076,
-0.03987164795398712,
-0.04004853963851929,
0.005182960536330938,
0.03739514946937561,
0.016371432691812515,
0.008782729506492615,
-0.010330541990697384,
-0.007849619723856449,
0.03355657309293747,
0.005147581920027733,
0.01797231286764145,
0.07259682565927505,
-0.010693172924220562,
0.01615031622350216,
0.032866690307855606,
-0.019599728286266327,
0.0905691385269165,
-0.008831375278532505,
-0.0027772176545113325,
-0.026604684069752693,
0.06417672336101532,
-0.057313282042741776,
-0.022960690781474113,
-0.014850154519081116,
0.0035467015113681555,
0.00089220330119133,
-0.008676594123244286,
-0.020625706762075424,
-0.006275273859500885,
0.006076269317418337,
0.000991152715869248,
-0.02934652380645275,
0.004922043532133102,
0.02439352311193943,
-0.012736285105347633,
-0.03792582452297211,
0.007672727108001709,
-0.02510109543800354,
-0.00603646831586957,
-0.05727790296077728,
0.019546659663319588,
-0.03636917099356651,
-0.029240388423204422,
0.04174671322107315,
0.03401649370789528,
-0.02485344558954239,
0.008106114342808723,
-0.014965134672820568,
-0.04160519689321518,
-0.008070736192166805,
0.024729620665311813,
-0.03958861902356148,
-0.05193573981523514,
-0.00875619612634182,
-0.033485814929008484,
0.008318386040627956,
-0.00857488065958023,
0.033220477402210236,
0.05501367524266243,
-0.011117715388536453,
0.008336075581610203,
0.02494189143180847,
0.0023217187263071537,
-0.04093300551176071,
0.007761173881590366,
-0.01376226358115673,
-0.11052265018224716,
-0.018892155960202217,
0.054235346615314484,
-0.012630149722099304,
-0.015716928988695145,
-0.0703325942158699,
-0.0029496881179511547,
0.017441634088754654,
-0.036616820842027664,
0.031133141368627548,
-0.04118065536022186,
-0.012479790486395359,
-0.02140403352677822,
-0.003451621625572443,
0.06460126489400864,
-0.0055190566927194595,
0.015371988527476788,
-0.01093197800219059,
0.042843446135520935,
-0.011303452774882317,
-0.05596889555454254,
0.07259682565927505,
0.009008267894387245,
0.023190652951598167,
-0.06368142366409302,
-0.04358639568090439,
0.02085566706955433,
0.009180738590657711,
0.04256041720509529,
-0.009826397523283958,
-0.0008391354349441826,
0.08547462522983551,
-0.02803751640021801,
-0.015044736675918102,
0.029293455183506012,
-0.00890655443072319,
-0.02363288402557373,
-0.009667194448411465,
-0.050839003175497055,
0.03665219619870186,
0.0009071286185644567,
0.013187361881136894,
0.04348026216030121,
0.051298923790454865,
0.04139292612671852,
-0.012886644341051579,
0.023296788334846497,
0.04294958338141441,
0.03785507008433342,
-0.013523458503186703,
0.004855708684772253,
0.05996667593717575,
0.018856776878237724,
-0.0022996070329099894,
-0.018131516873836517,
-0.0015555514255538583,
0.010772773995995522,
0.00012921469169668853,
0.05759631097316742,
0.03173457831144333,
-0.0012305108830332756,
0.01892753504216671,
0.0012537280563265085,
0.027966758236289024,
-0.057667069137096405,
-0.015371988527476788,
0.0031531150452792645,
0.09184276312589645,
0.004364830907434225,
-0.0028634530026465654,
-0.03380422294139862,
-0.06258469074964523,
0.027046917006373405,
0.02267766371369362,
-0.07252606749534607,
0.08108767867088318,
-0.05080362409353256,
0.006766151171177626,
-0.02550794929265976,
-0.060249704867601395,
0.017087848857045174,
-0.03405187278985977,
0.008225517347455025,
0.0012437778059393167,
0.02819672040641308,
0.01217022817581892,
0.02273073047399521,
0.022695351392030716,
-0.012807042337954044,
0.024322766810655594,
0.030584773048758507,
0.010330541990697384,
-0.016831355169415474,
0.02267766371369362,
-0.03923483192920685,
-0.05384618416428566,
0.008128226734697819,
-0.031009316444396973,
-0.01032169722020626,
0.03589155897498131,
-0.047442659735679626,
0.055898141115903854,
0.03962399810552597,
0.010896598920226097,
0.007088980637490749,
-0.03265441954135895,
0.029717998579144478,
-0.014222185127437115,
-0.01852068118751049,
0.027666041627526283,
-0.05126354843378067,
-0.026003248989582062,
-0.0597190260887146,
-0.05607503280043602,
-0.029788754880428314,
0.0349186472594738,
0.01166608277708292,
-0.06813912093639374,
0.029488038271665573,
0.02064339444041252,
-0.04747803881764412,
-0.042737312614917755,
-0.012957400642335415,
-0.019758930429816246,
0.01472632959485054,
-0.0009999973699450493,
0.01629183068871498,
-0.0018617971800267696,
0.03750128298997879,
-0.006664438173174858,
-0.10733857750892639,
-0.04493078216910362,
0.03382191061973572,
-0.01293086726218462,
-0.019617415964603424,
0.00009418161789653823,
0.021828576922416687,
0.0280905831605196,
0.029434969648718834,
-0.02596786990761757,
-0.010162494145333767,
-0.04188822582364082,
-0.025331055745482445,
-0.0025052449200302362,
0.036722954362630844,
-0.014717484824359417,
-0.05370466783642769,
-0.03799658268690109,
-0.008185716345906258,
0.08066313713788986,
-0.03789044916629791,
-0.039447106420993805,
0.04864553362131119,
-0.0020320566836744547,
-0.00608511408790946,
0.006947466637939215,
-0.05020219087600708,
0.02855050563812256,
0.049317725002765656,
-0.0323890820145607,
0.03279593214392662,
0.0019137595081701875,
0.01882139965891838,
-0.008451055735349655,
0.045213811099529266,
-0.04429396986961365,
-0.00822109542787075,
0.048857804387807846,
-0.058020852506160736,
0.015389678068459034,
-0.009914844296872616,
0.0066379038617014885,
0.029328834265470505,
-0.026074005290865898,
-0.0001279709249502048,
0.04585062712430954,
-0.018202273175120354,
0.0015555514255538583,
0.06219552457332611,
-0.031557682901620865,
0.009224961511790752,
-0.05232490226626396,
0.004612480755895376,
-0.014797086827456951,
-0.006872287020087242,
-0.054836783558130264,
-0.0273299440741539,
-0.06743155419826508,
-0.017220519483089447,
0.00875177327543497,
0.06523808091878891,
-0.030390191823244095,
-0.029381901025772095,
0.05349239706993103,
-0.016972867771983147,
0.09849393367767334,
-0.035962317138910294,
0.03806734085083008,
0.0025870578829199076,
-0.0027794288471341133,
-0.05282020568847656,
0.02702922746539116,
0.040968384593725204,
0.07514408230781555,
-0.0047097718343138695,
0.07733755558729172,
0.06180636212229729,
0.01095851231366396,
0.00005303330544847995,
0.09354093670845032,
-0.063752181828022,
0.01293086726218462,
-0.012134849093854427,
-0.0005953549989499152,
0.06488429754972458,
0.0905691385269165,
0.027046917006373405,
-0.02262459509074688,
-0.03465330973267555,
0.06619330495595932,
0.012011024169623852,
-0.01508011482656002,
-0.059435997158288956,
-0.021527860313653946,
0.006987267639487982,
-0.01608840376138687,
0.03488326817750931,
0.03470637649297714,
-0.012585925869643688,
0.038138099014759064,
0.010507435537874699,
-0.00024170748656615615,
0.012462100945413113,
0.0369352251291275,
0.0182199627161026,
-0.0017423945246264338,
-0.04287882521748543,
-0.05381080508232117,
-0.007119936868548393,
-0.00837587658315897,
0.009366475977003574,
-0.021633995696902275,
0.0013510191347450018,
-0.024163562804460526,
-0.004630170296877623,
0.013160827569663525,
-0.03877491131424904,
0.044506240636110306,
-0.05186498165130615,
0.008137070573866367,
0.018025381490588188,
0.057914718985557556,
-0.05172346904873848,
-0.0015168561367318034,
0.01608840376138687,
0.0384565033018589,
0.010259784758090973,
-0.03575004264712334,
-0.04072073474526405,
-0.05975440517067909,
0.030779356136918068,
0.008039779961109161,
0.02099718153476715,
0.0374659039080143,
0.00931340828537941,
0.0280905831605196
] |
713,376
|
xmlschema.validators.schemas
|
create_any_type
|
Creates a xs:anyType equivalent type related with the wildcards
connected to global maps of the schema instance in order to do a
correct namespace lookup during wildcards validation.
|
def create_any_type(self) -> XsdComplexType:
"""
Creates a xs:anyType equivalent type related with the wildcards
connected to global maps of the schema instance in order to do a
correct namespace lookup during wildcards validation.
"""
schema = self.meta_schema or self
any_type = self.xsd_complex_type_class(
elem=Element(XSD_COMPLEX_TYPE, name=XSD_ANY_TYPE),
schema=schema, parent=None, mixed=True, block='', final=''
)
assert isinstance(any_type.content, XsdGroup)
any_type.content.append(self.xsd_any_class(
ANY_ELEMENT, schema, any_type.content
))
any_type.attributes[None] = self.xsd_any_attribute_class(
ANY_ATTRIBUTE_ELEMENT, schema, any_type.attributes
)
any_type.maps = any_type.content.maps = any_type.content[0].maps = \
any_type.attributes[None].maps = self.maps
return any_type
|
(self) -> xmlschema.validators.complex_types.XsdComplexType
|
[
0.0032743802294135094,
-0.0040555233135819435,
0.06314203888177872,
0.0011535234516486526,
0.023644020780920982,
0.0004981124075129628,
-0.019380906596779823,
-0.036227915436029434,
0.007905595004558563,
0.0034477298613637686,
-0.031331323087215424,
0.05132858455181122,
-0.036090947687625885,
-0.02112724259495735,
-0.02657170221209526,
0.013311532326042652,
-0.009690453298389912,
0.04232297092676163,
-0.0005890674074180424,
0.015751266852021217,
0.028249554336071014,
0.04218600317835808,
-0.013183125294744968,
0.03275236114859581,
0.048178330063819885,
-0.021281331777572632,
-0.01718086563050747,
-0.04143267869949341,
0.015913916751742363,
-0.03198191896080971,
-0.047014106065034866,
-0.06714833527803421,
0.006257704459130764,
-0.028146829456090927,
0.027941377833485603,
-0.0042310128919780254,
-0.010101355612277985,
0.08581016212701797,
0.015948157757520676,
0.020750582218170166,
0.032837968319654465,
0.010289686731994152,
-0.05742364004254341,
-0.03776879981160164,
0.04787015542387962,
0.005619949195533991,
0.05786878615617752,
0.07430488616228104,
-0.04177509993314743,
-0.00878304336220026,
0.04040542244911194,
-0.013902205042541027,
-0.009955828078091145,
-0.0005449274904094636,
-0.03568004444241524,
0.03157101944088936,
-0.03478975594043732,
0.08553622663021088,
0.006022291257977486,
0.024739760905504227,
-0.052732501178979874,
0.03585125505924225,
0.007914155721664429,
-0.046397753059864044,
0.006257704459130764,
0.022325709462165833,
-0.03900150582194328,
-0.02907136082649231,
0.024123407900333405,
-0.003931396175175905,
-0.035645801573991776,
-0.0034177680499851704,
-0.027410628274083138,
0.026537461206316948,
0.052903711795806885,
-0.06262841075658798,
-0.0005377046181820333,
-0.03295781463384628,
-0.0030753493774682283,
-0.009870223701000214,
0.007242158520966768,
-0.015425968915224075,
-0.030167100951075554,
0.02833515964448452,
0.031639501452445984,
0.07909875363111496,
-0.0422544851899147,
-0.01658163219690323,
0.03968634456396103,
-0.0030560882296413183,
0.020134227350354195,
-0.025493083521723747,
-0.01934666559100151,
0.05115737393498421,
0.001722794841043651,
-0.009741815738379955,
-0.01902136765420437,
-0.033591289073228836,
0.029858922585844994,
0.03319750726222992,
-0.028557732701301575,
0.00982742104679346,
-0.012224352918565273,
0.03821394219994545,
0.04680865630507469,
0.03937816619873047,
0.03478975594043732,
-0.046431995928287506,
0.012301397509872913,
0.09094644337892532,
-0.019141213968396187,
-0.05013011768460274,
0.001033141859807074,
0.024089165031909943,
-0.024534311145544052,
0.026623064652085304,
0.025167785584926605,
0.018541980534791946,
-0.01920969784259796,
-0.016795644536614418,
0.03735789656639099,
0.03333447501063347,
0.0346699096262455,
0.013234488666057587,
0.06475140154361725,
0.04941103979945183,
0.018079714849591255,
-0.029704835265874863,
-0.01328585110604763,
0.03083481639623642,
-0.04115874692797661,
0.03309478238224983,
0.020288316532969475,
0.010888919234275818,
-0.052732501178979874,
0.024739760905504227,
0.004205331671983004,
-0.047014106065034866,
-0.054341871291399,
0.023815231397747993,
-0.0274448711425066,
0.040782082825899124,
0.0587933175265789,
-0.02922544814646244,
-0.060745105147361755,
-0.009801739826798439,
-0.0036917030811309814,
-0.022377071902155876,
-0.03455006331205368,
-0.01328585110604763,
-0.08074236661195755,
-0.05375975742936134,
-0.05862210690975189,
0.033591289073228836,
-0.050677988678216934,
-0.003989179618656635,
0.04889741167426109,
-0.027992740273475647,
-0.0478016696870327,
-0.01621353253722191,
-0.05656759440898895,
0.035337623208761215,
-0.027188057079911232,
-0.08204355835914612,
-0.021298451349139214,
-0.02051088958978653,
0.01647890731692314,
-0.0286262147128582,
-0.009485001675784588,
-0.01336289569735527,
-0.029259691014885902,
-0.03879605606198311,
0.006266264710575342,
0.00908266007900238,
-0.026657307520508766,
0.043179016560316086,
0.004584132228046656,
0.03302629664540291,
0.0625256821513176,
-0.00785423256456852,
0.040063004940748215,
-0.01491234079003334,
-0.04749349504709244,
-0.006557320710271597,
0.0522531159222126,
-0.004164669197052717,
0.013166004791855812,
0.01713806390762329,
0.0225825235247612,
0.028848787769675255,
0.004194630775600672,
0.04115874692797661,
-0.008303657174110413,
0.0236269012093544,
-0.005217607133090496,
-0.048486508429050446,
0.003982759080827236,
-0.02095603384077549,
-0.035611558705568314,
0.03338583931326866,
-0.0764278843998909,
-0.011325503699481487,
0.03155389800667763,
0.029995890334248543,
0.04694562405347824,
-0.024123407900333405,
0.038727570325136185,
-0.046397753059864044,
-0.023352965712547302,
-0.0637926310300827,
-0.011770647950470448,
-0.02674291282892227,
-0.010803314857184887,
-0.01871318928897381,
-0.018473496660590172,
0.007284961175173521,
-0.06985344737768173,
-0.05122585967183113,
-0.028009861707687378,
0.01218155026435852,
-0.014484317041933537,
0.023524174466729164,
0.020562252029776573,
-0.01963772065937519,
0.03663881495594978,
0.02775304764509201,
0.030047254636883736,
0.009835981763899326,
-0.013320093043148518,
-0.02316463552415371,
-0.00304538756608963,
-0.023198876529932022,
-0.02227434515953064,
-0.06136145815253258,
0.010495137423276901,
-0.03708396106958389,
0.08820709586143494,
-0.019089851528406143,
0.032666757702827454,
-0.016050882637500763,
0.05115737393498421,
-0.02713669277727604,
-0.002867757808417082,
-0.026948362588882446,
-0.08663196861743927,
0.03530338406562805,
-0.014364470727741718,
0.030013011768460274,
0.014681207947432995,
-0.040816325694322586,
-0.028711820021271706,
-0.03186207264661789,
0.015006505884230137,
-0.02595534920692444,
0.0819750726222992,
-0.05769757553935051,
-0.05420490354299545,
-0.06584714353084564,
0.02479112520813942,
-0.010923161171376705,
0.050712231546640396,
0.07882481813430786,
0.03513217344880104,
0.08238597214221954,
-0.0029683434404432774,
-0.018987124785780907,
-0.021777838468551636,
0.023541295900940895,
0.014056293293833733,
-0.025749897584319115,
0.02674291282892227,
0.026177920401096344,
0.031023146584630013,
-0.0038265306502580643,
-0.007182235363870859,
0.024568552151322365,
0.021486783400177956,
0.05239008367061615,
-0.04578140005469322,
0.009681892581284046,
-0.0359882190823555,
-0.03023558482527733,
0.051876455545425415,
-0.01845637522637844,
-0.021589508280158043,
0.018387891352176666,
-0.03208464756608009,
0.03876181319355965,
-0.05149979516863823,
-0.05057526379823685,
0.02215449884533882,
0.028232434764504433,
0.01033248845487833,
-0.031228598207235336,
-0.059272702783346176,
0.033402957022190094,
-0.06091631203889847,
-0.06451170891523361,
0.026195041835308075,
0.013705314137041569,
0.04619230329990387,
0.044035062193870544,
0.03482399508357048,
-0.025630051270127296,
-0.000248253665631637,
0.004034121986478567,
-0.0404396653175354,
0.0065530408173799515,
0.0330776609480381,
0.08676893264055252,
-0.008406382985413074,
-0.010298246517777443,
-0.05475277453660965,
0.00040849499055184424,
0.03759758919477463,
0.046842899173498154,
0.05560882017016411,
-0.07314066588878632,
0.04266538843512535,
0.04276811331510544,
-0.0037516264710575342,
-0.07067524641752243,
-0.0378030389547348,
-0.07430488616228104,
-0.01461272407323122,
-0.04530201479792595,
0.03350568562746048,
-0.013088960200548172,
-0.012113066390156746,
-0.0478016696870327,
0.041261471807956696,
-0.05581427365541458,
-0.054958224296569824,
0.0519791804254055,
0.013551225885748863,
-0.006668607238680124,
0.029276810586452484,
-0.06714833527803421,
-0.019603479653596878,
-0.00952780432999134,
0.0030667888931930065,
0.05160252004861832,
0.0011150013888254762,
-0.007396247237920761,
-0.0250821802765131,
0.02182920090854168,
0.02285645715892315,
-0.023575536906719208,
0.01541740819811821,
-0.05831392854452133,
-0.0006907230126671493,
-0.025338994339108467,
0.06742227077484131,
0.02304478920996189,
0.0903300940990448,
0.009613408707082272,
-0.03677578270435333,
0.08772771060466766,
-0.033557046204805374,
0.02407204546034336,
0.1056019738316536,
-0.013029037043452263,
0.0073662856593728065,
-0.024688398465514183,
-0.004126146901398897,
0.03199904039502144,
-0.0177201759070158,
0.022240104153752327,
0.020459525287151337,
-0.030903300270438194,
0.028728941455483437,
-0.05889604240655899,
-0.04992466792464256,
-0.03158813714981079,
0.04365840181708336,
0.04941103979945183,
-0.036946993321180344,
0.02554444596171379,
-0.01920969784259796,
-0.02953362464904785,
0.0118819335475564,
-0.0005007875734008849,
0.01121421717107296,
-0.031228598207235336,
-0.03794000670313835,
-0.05088344216346741,
0.03227297589182854,
-0.005649910774081945,
-0.044651418924331665,
0.05711546540260315,
0.059409670531749725,
-0.02891727164387703,
-0.004601253196597099,
-0.03954937681555748,
0.02643473446369171,
0.015776949003338814,
-0.02833515964448452,
0.029019996523857117,
-0.006587282754480839,
0.035919737070798874,
0.010032872669398785,
-0.06625805050134659,
-0.03869333118200302,
0.01919257640838623,
-0.005320332944393158,
-0.03804273530840874,
0.019517874345183372,
-0.01718086563050747,
0.004293076228350401,
0.08218052238225937,
0.038453634828329086,
0.012737981043756008,
0.04191206768155098,
-0.028455005958676338,
0.02686275914311409,
0.012857827357947826,
0.05369127541780472,
0.000638290133792907,
0.012532529421150684,
0.0046996986493468285,
0.06793589890003204,
0.007088070269674063,
0.01888439990580082,
0.03876181319355965,
0.00667288713157177,
0.019398028030991554,
-0.013268730603158474,
0.004828105680644512,
-0.03496096283197403,
-0.000144591715070419,
0.012686618603765965,
0.0036660218611359596,
-0.0714285746216774,
-0.10217778384685516,
-0.023215997964143753,
0.012292836792767048,
-0.0296705923974514,
-0.10697165131568909,
0.021538145840168,
0.003717384533956647,
-0.008136727847158909,
0.02023695409297943,
-0.012601013295352459,
-0.021914806216955185,
0.030047254636883736,
-0.019124092534184456,
-0.0043037766590714455,
0.053930968046188354,
0.036981236189603806,
-0.007772907614707947,
0.004224592354148626,
-0.0333515964448452,
0.09238460659980774,
-0.028009861707687378,
0.03323175013065338,
-0.019243938848376274,
0.02893439307808876,
-0.06321051716804504,
-0.014415833167731762,
-0.019261060282588005,
-0.03900150582194328,
-0.032820846885442734,
0.012027462013065815,
-0.038727570325136185,
-0.0021936206612735987,
0.010127037763595581,
-0.021349815651774406,
0.008680317550897598,
-0.0007645571022294462,
0.03360841050744057,
-0.00274791126139462,
-0.03294069319963455,
0.03954937681555748,
-0.00411116611212492,
0.06834679841995239,
-0.02374674752354622,
-0.007969798520207405,
0.022205861285328865,
-0.04608957841992378,
-0.006929701194167137,
0.02580126002430916,
0.02566429227590561,
-0.004034121986478567,
-0.01799410954117775,
-0.044480208307504654,
0.018798794597387314,
0.04232297092676163,
-0.03708396106958389,
-0.052013423293828964,
0.011779208667576313,
-0.015905356034636497,
0.07923571765422821,
0.011008765548467636,
0.022616764530539513,
0.023558417335152626,
-0.006797014269977808,
0.01261813472956419,
0.06872346252202988,
-0.002251403871923685,
0.013354334980249405,
0.019963018596172333,
-0.059238459914922714,
-0.12183262407779694,
0.006908300332725048,
0.04002876207232475,
-0.012720860540866852,
-0.035508833825588226,
-0.05588275566697121,
-0.02302766777575016,
0.016787083819508553,
-0.07259279489517212,
-0.01718086563050747,
-0.010794754140079021,
-0.010666347108781338,
0.0010968103306367993,
0.0038629125338047743,
0.06927133351564407,
-0.05786878615617752,
-0.019449390470981598,
-0.027342144399881363,
-0.017976989969611168,
0.01543452963232994,
-0.05242432653903961,
0.08943980187177658,
-0.002478256355971098,
0.02111012116074562,
-0.06368990242481232,
-0.027650322765111923,
0.04386385530233383,
-0.015819750726222992,
0.07190795987844467,
-0.016316257417201996,
-0.01977468840777874,
0.025321872904896736,
0.014261744916439056,
0.005491542164236307,
0.026982605457305908,
-0.03509793058037758,
0.03715244308114052,
-0.01297767460346222,
0.003193055745214224,
0.019860293716192245,
-0.0027564717456698418,
0.00465261610224843,
-0.007070949301123619,
0.039617858827114105,
0.023695385083556175,
-0.044788386672735214,
0.03557731956243515,
0.03852212056517601,
0.0021518883295357227,
-0.010572182014584541,
0.03633064031600952,
0.08622106909751892,
-0.05019860342144966,
-0.012969113886356354,
0.036501847207546234,
-0.024688398465514183,
0.007019586395472288,
0.04146692156791687,
0.030149979516863823,
0.036536090075969696,
0.011933296918869019,
0.05382824316620827,
-0.023558417335152626,
0.003422048408538103,
-0.02713669277727604,
0.03484111651778221,
0.031228598207235336,
0.06608683615922928,
0.007207916583865881,
-0.005748356226831675,
-0.025013696402311325,
-0.04793863743543625,
0.01115429401397705,
0.000763487012591213,
-0.022479796782135963,
0.0286262147128582,
-0.034327488392591476,
0.01965484209358692,
-0.03427612781524658,
-0.013037597760558128,
-0.01845637522637844,
-0.030047254636883736,
-0.014595603570342064,
-0.03937816619873047,
0.035200659185647964,
-0.003802989376708865,
-0.04413779079914093,
-0.047596219927072525,
-0.029636351391673088,
0.009202506393194199,
-0.005863922648131847,
0.002812114777043462,
-0.05310916155576706,
0.014783933758735657,
-0.017052458599209785,
-0.03722092881798744,
0.01712094247341156,
-0.020630735903978348,
-0.010478016920387745,
0.04677441343665123,
-0.03643336519598961,
0.03129708394408226,
0.02004862390458584,
0.019158335402607918,
-0.017925627529621124,
-0.01605944335460663,
0.026212163269519806,
-0.021572386845946312,
0.014886659570038319,
0.013457060791552067,
0.007100910879671574,
0.03172510489821434,
-0.014415833167731762,
-0.0349438451230526,
-0.06910012662410736,
0.0593411847949028,
-0.034909602254629135,
-0.01636762171983719,
-0.0040041604079306126,
0.02097315527498722,
-0.031177235767245293,
-0.008774482645094395,
-0.03537186607718468,
-0.029139844700694084,
0.0469798669219017,
-0.006154978647828102,
0.0469798669219017,
0.011642240919172764,
0.019980140030384064,
-0.00004333738615969196,
-0.06053965166211128,
-0.06547048687934875,
0.010512258857488632,
0.0014724010834470391,
-0.014878098852932453,
0.04047390818595886,
0.014373031444847584,
0.05413641780614853,
-0.00660012336447835,
-0.018764553591609,
-0.02461991459131241,
0.026075195521116257,
0.020408162847161293,
0.027205176651477814,
0.01676996238529682,
-0.04971921816468239,
-0.005307492334395647,
-0.005803999491035938,
-0.050677988678216934,
0.07026434689760208,
-0.01754896529018879,
0.018815916031599045,
0.06526502966880798,
0.0019603478722274303,
-0.03746062144637108,
0.026537461206316948,
-0.01888439990580082,
0.00487518822774291,
-0.027701685205101967,
-0.06872346252202988,
0.04369264468550682,
-0.043179016560316086,
0.05862210690975189,
-0.012044582515954971,
0.032701000571250916,
-0.06372414529323578,
-0.0012787203304469585,
0.041980549693107605,
-0.010520818643271923,
0.039172716438770294,
0.03670730069279671,
-0.0066643268801271915,
-0.029448021203279495,
0.0018683228408917785,
-0.021640870720148087,
0.013919326476752758,
0.014963703230023384,
-0.014270305633544922,
0.026948362588882446,
-0.022222982719540596,
-0.01712094247341156,
-0.03463566675782204,
-0.04437748342752457,
-0.08930283784866333,
0.04013149067759514,
-0.008526229299604893,
-0.061019036918878555,
-0.09204218536615372,
-0.0727982446551323,
-0.048452265560626984,
0.07992056012153625,
0.011488152667880058,
-0.03972058743238449,
0.016667237505316734,
-0.024311738088726997,
0.0632447600364685,
0.015246199443936348,
0.049958910793066025,
0.03199904039502144,
-0.0005360994837246835,
-0.04828105866909027,
0.01048657763749361,
0.05547185242176056,
0.10484865307807922,
0.016821326687932014,
0.007734385784715414,
0.0572524294257164,
0.00007329903746722266,
-0.0014552801148965955,
0.08327626436948776,
0.00631334725767374,
0.007982639595866203,
-0.0422544851899147,
-0.01239556260406971,
0.03086905926465988,
0.0906040295958519,
0.02200041152536869,
-0.009801739826798439,
0.002816394902765751,
0.03951513394713402,
0.01673572137951851,
0.000919180572964251,
-0.0038885939866304398,
0.035919737070798874,
-0.005803999491035938,
-0.037700314074754715,
-0.004113306291401386,
0.01647890731692314,
0.022257225587964058,
0.00450280774384737,
0.01033248845487833,
0.04975345730781555,
-0.01754896529018879,
0.028968634083867073,
0.009870223701000214,
-0.040508151054382324,
-0.058382414281368256,
0.016050882637500763,
-0.025287631899118423,
0.021794959902763367,
0.026058074086904526,
0.01647890731692314,
-0.0404396653175354,
-0.022188741713762283,
0.004528489429503679,
0.029584988951683044,
0.0026794273871928453,
0.04574715718626976,
-0.051123134791851044,
0.02111012116074562,
0.002454715082421899,
0.02244555577635765,
-0.0076530613005161285,
0.014236063696444035,
0.015665661543607712,
0.012943432666361332,
-0.015503013506531715,
-0.031194357201457024,
-0.03129708394408226,
-0.04324749857187271,
0.001294771209359169,
-0.013782358728349209,
0.03657033294439316,
0.02699972689151764,
-0.021931927651166916,
0.0013215227518230677
] |
713,377
|
xmlschema.validators.schemas
|
create_bindings
|
Creates data object bindings for XSD elements of the schema.
:param bases: base classes to use for creating the binding classes.
:param attrs: attribute and method definitions for the binding classes body.
|
def create_bindings(self, *bases: type, **attrs: Any) -> None:
"""
Creates data object bindings for XSD elements of the schema.
:param bases: base classes to use for creating the binding classes.
:param attrs: attribute and method definitions for the binding classes body.
"""
for xsd_component in self.iter_components():
if isinstance(xsd_component, XsdElement):
xsd_component.get_binding(*bases, replace_existing=True, **attrs)
|
(self, *bases: type, **attrs: Any) -> NoneType
|
[
-0.007899684831500053,
-0.051336582750082016,
-0.008872933685779572,
-0.04515145346522331,
-0.04715252295136452,
0.062178753316402435,
-0.0008845645934343338,
0.002260301262140274,
0.030707353726029396,
0.020374547690153122,
-0.015380963683128357,
0.07331198453903198,
0.009978070855140686,
-0.00010076418402604759,
-0.06043236330151558,
-0.0297795832157135,
0.041949737817049026,
0.06756345182657242,
-0.039293769747018814,
-0.06850941479206085,
-0.008586416020989418,
0.01602676510810852,
-0.0029697720892727375,
0.04442378878593445,
0.014171225018799305,
0.034454815089702606,
0.03059820458292961,
0.01354361604899168,
0.04089462757110596,
0.006544413510710001,
-0.04227718710899353,
-0.029051920399069786,
0.011397012509405613,
-0.04591549560427666,
0.08972077071666718,
-0.019719650968909264,
0.031998954713344574,
0.06614451110363007,
0.051736798137426376,
0.061160024255514145,
0.08579139411449432,
-0.03498236835002899,
-0.019937949255108833,
-0.030707353726029396,
0.05122743174433708,
0.04911721125245094,
0.01895560510456562,
0.061996836215257645,
-0.03481864556670189,
0.0019862910266965628,
-0.00027585795032791793,
-0.015098994597792625,
0.04129484295845032,
0.02772393822669983,
0.026832550764083862,
0.018846455961465836,
-0.048644229769706726,
0.10609317570924759,
-0.022448385134339333,
0.005853134207427502,
-0.02226646989583969,
-0.013689149171113968,
-0.02668701857328415,
-0.034891411662101746,
-0.016299637034535408,
0.0060941725969314575,
-0.046352095901966095,
-0.08389947563409805,
-0.009586951695382595,
-0.004798023961484432,
0.03976675122976303,
-0.015653837472200394,
-0.0634157806634903,
-0.0028083219658583403,
0.02353987842798233,
0.04442378878593445,
0.044933151453733444,
-0.023467112332582474,
0.012997869402170181,
-0.03892993927001953,
0.03649226948618889,
-0.020920293405652046,
-0.037183549255132675,
0.004820763599127531,
0.04995402321219444,
0.05108189955353737,
-0.08389947563409805,
0.002883362350985408,
0.05486574396491051,
-0.01166079007089138,
-0.008704661391675472,
0.00510728033259511,
0.016718043014407158,
0.03776567801833153,
0.02353987842798233,
-0.06588982790708542,
-0.049917642027139664,
-0.025104353204369545,
0.025304459035396576,
0.05985023081302643,
0.01570841111242771,
0.0006821834831498563,
-0.0495174266397953,
0.03414555639028549,
-0.014425907284021378,
-0.000720840587746352,
0.002172754378989339,
-0.0260139312595129,
-0.017245598137378693,
-0.03188980370759964,
0.00036354694748297334,
0.04820763319730759,
0.08251691609621048,
0.006981011014431715,
-0.0533740371465683,
0.020138056948781013,
0.0634157806634903,
0.049481041729450226,
0.047625504434108734,
-0.048062101006507874,
-0.02188444696366787,
0.026377761736512184,
-0.009050301276147366,
0.025795631110668182,
0.06647195667028427,
0.004134031943976879,
0.015108090825378895,
0.014689684845507145,
0.022866791114211082,
-0.02603212185204029,
-0.027232766151428223,
-0.032180868089199066,
-0.0642525926232338,
-0.05184594541788101,
0.011915471404790878,
-0.018182463943958282,
-0.005316483322530985,
0.005457467865198851,
-0.030525438487529755,
0.010196369141340256,
0.018264325335621834,
0.003358616726472974,
0.04828039929270744,
0.0023694506380707026,
-0.06978282332420349,
0.034491196274757385,
0.029925115406513214,
0.028688089922070503,
-0.03772929683327675,
0.008691017515957355,
-0.08033392578363419,
-0.017855016514658928,
0.008213489316403866,
0.0023376154713332653,
-0.07323922216892242,
0.03374534472823143,
-0.021375082433223724,
-0.0030311685986816883,
-0.036346737295389175,
0.0013211620971560478,
-0.014216704294085503,
0.050499770790338516,
0.008117984049022198,
-0.04831678420305252,
0.006062337197363377,
0.06065066158771515,
-0.0404944121837616,
-0.033836301416158676,
0.03461853787302971,
-0.002842431189492345,
0.003813405754044652,
0.01861906237900257,
0.022848598659038544,
-0.031598739326000214,
0.044059958308935165,
-0.017336556687951088,
0.05042700469493866,
-0.007285719737410545,
0.054902128875255585,
0.04180420562624931,
0.014880696311593056,
-0.005502946674823761,
0.03401821851730347,
0.0007344842306338251,
0.018646348267793655,
0.0271054245531559,
-0.017209215089678764,
0.03816589340567589,
0.00797245092689991,
0.0014564617304131389,
-0.009659718722105026,
0.05006317421793938,
-0.020902102813124657,
0.007804179098457098,
0.011014989577233791,
0.06319747865200043,
0.0022830406669527292,
0.019737843424081802,
-0.062178753316402435,
0.09845272451639175,
0.01959230937063694,
0.021393274888396263,
0.006735424976795912,
0.0015633371658623219,
0.06872771680355072,
-0.027578404173254967,
-0.0006179445772431791,
-0.08659182488918304,
0.02561371587216854,
-0.06516216695308685,
0.037201739847660065,
-0.01031461451202631,
-0.016818096861243248,
-0.024904245510697365,
0.001915798638947308,
0.022448385134339333,
0.007535853888839483,
-0.0776415765285492,
0.026377761736512184,
-0.01644517108798027,
-0.0011011578608304262,
-0.02435849793255329,
0.002218233421444893,
-0.006862766109406948,
0.016854479908943176,
0.009823442436754704,
0.024012859910726547,
-0.0391482375562191,
-0.02206636220216751,
-0.051736798137426376,
0.0013700518757104874,
0.03041628748178482,
0.00937774870544672,
0.03558269143104553,
0.08608245849609375,
-0.034036409109830856,
0.017191024497151375,
-0.013998405076563358,
0.01939220353960991,
0.01716373674571514,
0.0046979705803096294,
0.06749068945646286,
-0.05122743174433708,
-0.00765409879386425,
-0.04435102269053459,
-0.013816489838063717,
0.013434466905891895,
-0.004979939665645361,
-0.029270220547914505,
-0.03458215668797493,
0.016172297298908234,
-0.025304459035396576,
0.007695029955357313,
-0.018273422494530678,
-0.015326389111578465,
-0.029415752738714218,
-0.046133797615766525,
-0.039693985134363174,
0.002007893519476056,
-0.0701102688908577,
0.03711078315973282,
0.045769963413476944,
-0.022157320752739906,
0.09095779806375504,
0.0216661486774683,
0.016772618517279625,
0.025468183681368828,
-0.0012108756927773356,
-0.019665075466036797,
-0.03561907261610031,
0.06316109746694565,
0.03374534472823143,
0.002172754378989339,
0.0031789750792086124,
-0.03432747349143028,
0.026177654042840004,
0.015108090825378895,
0.010132699273526669,
-0.009018465876579285,
-0.016836289316415787,
0.03485503047704697,
-0.03601928800344467,
-0.00890022050589323,
0.03983951732516289,
0.03707439824938774,
0.014607822522521019,
-0.024012859910726547,
-0.03332693874835968,
-0.05235530808568001,
-0.020738378167152405,
0.020956676453351974,
0.023030515760183334,
-0.014535056427121162,
0.0009118519374169409,
-0.016017667949199677,
0.009887113235890865,
-0.007426704280078411,
-0.010178177617490292,
-0.0072538843378424644,
-0.004879885818809271,
0.02897915430366993,
0.053847018629312515,
0.015399155206978321,
0.04180420562624931,
-0.03567364811897278,
-0.11533448845148087,
0.024103816598653793,
-0.03754737973213196,
0.014635110273957253,
0.012634037993848324,
-0.019028371199965477,
0.02836064249277115,
0.000841359666083008,
0.05661213397979736,
0.05901341885328293,
-0.03581918030977249,
-0.00478892819955945,
-0.01312521006911993,
-0.027159998193383217,
0.052791908383369446,
-0.021193167194724083,
-0.01841895468533039,
-0.0049253650940954685,
-0.029725009575486183,
-0.025577332824468613,
0.012752283364534378,
-0.007772344164550304,
0.007158379070460796,
-0.013598190620541573,
-0.02854255773127079,
-0.0018680457724258304,
0.010169082321226597,
0.05766724422574043,
0.015071707777678967,
0.01873730681836605,
-0.030907459557056427,
0.06534408032894135,
-0.04580634832382202,
-0.03103480115532875,
-0.016054050996899605,
0.016909055411815643,
0.05508404225111008,
-0.024303924292325974,
0.003665599273517728,
0.01686357520520687,
-0.032017145305871964,
-0.008136175572872162,
-0.0008322638459503651,
-0.038056742399930954,
-0.00009252113522961736,
-0.0354735404253006,
-0.021120401099324226,
-0.015471921302378178,
0.016627086326479912,
0.06461641937494278,
-0.013625478371977806,
-0.027596596628427505,
0.08142542093992233,
-0.0005372195155359805,
-0.029124688357114792,
0.029252028092741966,
0.013816489838063717,
0.010278231464326382,
-0.0038588845636695623,
-0.008286255411803722,
0.0011170754441991448,
-0.003501875326037407,
0.0035177927929908037,
0.001268861349672079,
0.00782237108796835,
0.03518247604370117,
-0.024249348789453506,
-0.03194437921047211,
0.007285719737410545,
-0.029961498454213142,
-0.019101137295365334,
-0.013370797038078308,
0.012506697326898575,
0.04442378878593445,
0.01632692478597164,
-0.012161057442426682,
-0.029324794188141823,
0.058649588376283646,
-0.03987589851021767,
-0.007194762118160725,
-0.043841660022735596,
0.05064530298113823,
-0.00020422867964953184,
0.0034996012691408396,
0.026741594076156616,
0.0004732648085337132,
-0.007071969099342823,
-0.0542108491063118,
0.01405297964811325,
-0.012033716775476933,
-0.056757666170597076,
0.04122207313776016,
-0.01644517108798027,
0.025486376136541367,
-0.015972189605236053,
-0.06603536009788513,
-0.04798933491110802,
0.05915895476937294,
0.016354212537407875,
0.022539343684911728,
-0.05122743174433708,
0.015490113757550716,
0.04307761415839195,
0.02603212185204029,
0.022393809631466866,
-0.019283054396510124,
0.05224616080522537,
-0.02939756028354168,
-0.046606775373220444,
0.048462316393852234,
0.009013918228447437,
0.003799762111157179,
-0.015226335264742374,
-0.03485503047704697,
0.015599262900650501,
-0.02876085601747036,
-0.04838955029845238,
0.0114606823772192,
0.029925115406513214,
-0.02019263245165348,
0.04213165119290352,
-0.03456396237015724,
0.012151962146162987,
0.022211894392967224,
0.014435002580285072,
0.021502424031496048,
0.055738940834999084,
-0.07298453897237778,
-0.056575752794742584,
-0.0011454997584223747,
-0.04002143070101738,
0.007604071870446205,
-0.03671056777238846,
0.03210810199379921,
-0.06228790059685707,
-0.02726914919912815,
-0.002771938918158412,
0.024031050503253937,
-0.04609741270542145,
-0.028287876397371292,
0.004711613990366459,
0.006317018996924162,
-0.015399155206978321,
-0.041986119002103806,
-0.016727140173316002,
-0.004343234933912754,
-0.06316109746694565,
0.1184634417295456,
-0.012779571115970612,
0.004008965101093054,
-0.0542108491063118,
0.05730341374874115,
-0.09379567950963974,
-0.00849091075360775,
-0.025668291375041008,
-0.026359571143984795,
-0.0374746136367321,
0.0002465809229761362,
-0.03576460853219032,
-0.08746501803398132,
-0.005771272350102663,
-0.0022716710809618235,
-0.028906388208270073,
0.01656341552734375,
0.03665599226951599,
0.07069240510463715,
-0.0015917614800855517,
0.05351956933736801,
-0.03370895981788635,
0.015126282349228859,
-0.04318676516413689,
0.024667754769325256,
-0.015253623016178608,
-0.011651693843305111,
-0.022794025018811226,
-0.01718192920088768,
0.004445562604814768,
0.045951880514621735,
0.010196369141340256,
-0.018173368647694588,
-0.010269135236740112,
-0.03356342762708664,
-0.04653400927782059,
-0.04358697682619095,
-0.023667220026254654,
0.05413808301091194,
0.02792404405772686,
0.02437669038772583,
0.05835852399468422,
0.015108090825378895,
-0.03705620765686035,
0.060323212295770645,
0.012879624031484127,
0.04398719221353531,
-0.039693985134363174,
0.015690220519900322,
-0.03667418658733368,
-0.03381811082363129,
0.0383114255964756,
0.021957213059067726,
-0.02643233723938465,
0.016636181622743607,
0.017664004117250443,
-0.028651706874370575,
-0.02128412574529648,
-0.005225525703281164,
-0.043004848062992096,
0.007131091319024563,
-0.008718305267393589,
-0.012861432507634163,
-0.071274533867836,
0.021993596106767654,
0.015453729778528214,
-0.07436709851026535,
0.014071171171963215,
0.03900270536541939,
0.032999489456415176,
-0.07142006605863571,
0.034491196274757385,
-0.006880957633256912,
-0.010769403539597988,
-0.0399850495159626,
-0.048425931483507156,
0.02876085601747036,
0.057412564754486084,
0.08477266877889633,
-0.040094196796417236,
0.011751747690141201,
-0.059049803763628006,
0.011578927747905254,
0.02876085601747036,
0.03043447993695736,
-0.06883686035871506,
-0.029961498454213142,
0.04027611389756203,
0.04937189444899559,
-0.01957411877810955,
-0.017536664381623268,
-0.02250295877456665,
0.010560200549662113,
0.04798933491110802,
-0.04187697172164917,
-0.05271914228796959,
0.03585556522011757,
-0.014771546237170696,
0.043441444635391235,
-0.036328546702861786,
-0.019101137295365334,
0.08273521810770035,
-0.03523705154657364,
-0.05024508759379387,
-0.02541361004114151,
-0.040312495082616806,
-0.02208455465734005,
0.027469255030155182,
0.01815517619252205,
-0.0028151439037173986,
0.04456932097673416,
0.08011563122272491,
-0.013461754657328129,
0.05777639523148537,
-0.004429644905030727,
-0.009214024990797043,
-0.01521723996847868,
-0.012370260432362556,
-0.007549497298896313,
0.08797438442707062,
-0.03165331482887268,
-0.03392725810408592,
0.03276300057768822,
0.008136175572872162,
-0.028997346758842468,
-0.034691303968429565,
0.0032858506310731173,
-0.06687217205762863,
-0.015098994597792625,
-0.02561371587216854,
-0.07909690588712692,
-0.01584484800696373,
0.04311399534344673,
-0.030907459557056427,
-0.06778175383806229,
0.026632443070411682,
0.012561271898448467,
-0.045115068554878235,
-0.056757666170597076,
0.02148423157632351,
-0.059086184948682785,
-0.0391482375562191,
-0.0033836301881819963,
0.03729269653558731,
-0.0888475775718689,
-0.03983951732516289,
-0.03374534472823143,
-0.06687217205762863,
-0.056357454508543015,
0.09394121915102005,
-0.0029424848034977913,
0.025559142231941223,
0.058867886662483215,
-0.03672875836491585,
0.026614252477884293,
-0.013625478371977806,
-0.001441681175492704,
0.02670520916581154,
0.05653936788439751,
0.011178713291883469,
0.05715788155794144,
0.03856610879302025,
-0.020338164642453194,
-0.024540415033698082,
-0.022211894392967224,
0.01608133874833584,
0.0004272174264770001,
-0.012533985078334808,
0.014171225018799305,
-0.009277695789933205,
0.011633502319455147,
0.034254707396030426,
-0.002019263105466962,
0.017818633466959,
0.039512068033218384,
0.03649226948618889,
0.010378285311162472,
-0.0017827728297561407,
0.02872447296977043,
-0.047006990760564804,
0.032999489456415176,
-0.05730341374874115,
0.05333765223622322,
0.059086184948682785,
0.05348318815231323,
0.003933924715965986,
0.024540415033698082,
0.010287326760590076,
0.03270842507481575,
-0.04547889903187752,
0.04325953125953674,
-0.029670434072613716,
0.059704698622226715,
0.016399690881371498,
0.028851814568042755,
-0.019101137295365334,
-0.03852972388267517,
0.036783333867788315,
0.004222715739160776,
-0.03518247604370117,
-0.06683579087257385,
-0.0017429788131266832,
0.07105623185634613,
0.013725532218813896,
-0.027014466002583504,
0.003012977074831724,
0.034254707396030426,
-0.011215096339583397,
-0.01893741451203823,
-0.03787482902407646,
0.06672663986682892,
-0.02479509636759758,
-0.00578491622582078,
0.023849135264754295,
0.005857682321220636,
0.013625478371977806,
-0.0331268310546875,
0.043041229248046875,
-0.026978082954883575,
0.0035132449120283127,
-0.02439488284289837,
-0.019337628036737442,
-0.0379839763045311,
-0.014344044961035252,
-0.04631571099162102,
0.0068673137575387955,
-0.005421084817498922,
-0.013107018545269966,
0.024303924292325974,
-0.05522957444190979,
0.0012609024997800589,
-0.01955592632293701,
0.0019135246984660625,
-0.03712897375226021,
0.04536975175142288,
-0.0031971666030585766,
-0.011669885367155075,
-0.014234895817935467,
-0.06687217205762863,
-0.028615323826670647,
0.06847303360700607,
-0.012634037993848324,
-0.032817572355270386,
-0.0545382983982563,
0.008363570086658001,
-0.04682507365942001,
0.003590559121221304,
-0.017845921218395233,
0.05854044109582901,
0.003390451893210411,
-0.026086697354912758,
0.04791656881570816,
0.056211918592453,
0.04147675633430481,
-0.0027787608560174704,
-0.0073130070231854916,
0.01959230937063694,
0.023685410618782043,
-0.022211894392967224,
0.015053516253829002,
-0.02313966490328312,
-0.06981920450925827,
0.019337628036737442,
-0.05861320719122887,
0.04285931587219238,
0.0717838928103447,
-0.0059259007684886456,
-0.022211894392967224,
0.023921901360154152,
0.015244526788592339,
0.08178925514221191,
-0.028906388208270073,
-0.003185797017067671,
0.008954795077443123,
-0.023230621591210365,
-0.011715364642441273,
0.009559664875268936,
-0.002287588780745864,
0.040530797094106674,
-0.034491196274757385,
-0.03141682222485542,
0.013070635497570038,
0.004929912742227316,
-0.010669349692761898,
0.07203857600688934,
-0.02477690391242504,
-0.07967903465032578,
-0.006676302291452885,
-0.007795083336532116,
-0.0072356928139925,
0.0069082449190318584,
0.000711744767613709,
0.008340829983353615,
0.00719021400436759,
0.015799369663000107,
-0.011606215499341488,
0.01861906237900257,
-0.014098458923399448,
0.023303387686610222,
0.04838955029845238,
-0.031180333346128464,
0.014980749227106571,
0.011287863366305828,
-0.02834245003759861,
0.02295774780213833,
-0.02333977073431015,
-0.05814022570848465,
-0.06778175383806229,
0.00900027435272932,
0.029906924813985825,
0.010232752189040184,
-0.022175511345267296,
0.06203322112560272,
0.01646336168050766,
0.012033716775476933,
0.004236359614878893
] |
713,378
|
xmlschema.validators.schemas
|
create_element
|
Creates a xs:element instance related to schema component.
Used as dummy element for validation/decoding/encoding
operations of wildcards and complex types.
|
def create_element(self, name: str, parent: Optional[XsdComponent] = None,
text: Optional[str] = None, **attrib: Any) -> XsdElement:
"""
Creates a xs:element instance related to schema component.
Used as dummy element for validation/decoding/encoding
operations of wildcards and complex types.
"""
elem = Element(XSD_ELEMENT, name=name, **attrib)
if text is not None:
elem.text = text
return self.xsd_element_class(elem=elem, schema=self, parent=parent)
|
(self, name: str, parent: Optional[xmlschema.validators.xsdbase.XsdComponent] = None, text: Optional[str] = None, **attrib: Any) -> xmlschema.validators.elements.XsdElement
|
[
0.0547548308968544,
-0.018993986770510674,
0.07000072300434113,
-0.012701889500021935,
0.013353732414543629,
-0.02212645672261715,
-0.00045521516585722566,
0.0015300208469852805,
0.03603244572877884,
-0.027087707072496414,
0.01143441628664732,
0.01977257803082466,
0.024914896115660667,
-0.026906639337539673,
-0.021800534799695015,
0.029007023200392723,
0.037408556789159775,
0.010402331128716469,
-0.135148823261261,
-0.013073078356683254,
0.040559135377407074,
-0.004888824187219143,
0.0020256934221833944,
0.07764177024364471,
0.05747084319591522,
0.06025928631424904,
-0.029097557067871094,
0.01384261529892683,
-0.047693196684122086,
-0.055732596665620804,
0.0027725971303880215,
-0.012022886425256729,
0.013181718066334724,
-0.016477148979902267,
0.002374248346313834,
0.04657057672739029,
-0.03253784030675888,
-0.024733828380703926,
-0.01740964688360691,
-0.010411384515464306,
0.08263923227787018,
0.04171796515583992,
-0.05196639150381088,
-0.028481926769018173,
-0.005540667567402124,
0.01824255660176277,
0.05460997670888901,
0.040740203112363815,
-0.08604330569505692,
0.038458749651908875,
-0.0029242411255836487,
0.05015571415424347,
0.02277829870581627,
0.027268774807453156,
-0.053849492222070694,
-0.017110884189605713,
-0.00854638870805502,
0.0025598425418138504,
0.009379299357533455,
-0.0036507747136056423,
-0.036756716668605804,
0.056565504521131516,
0.039472728967666626,
0.030274495482444763,
-0.04906930774450302,
0.06004200503230095,
0.02790251187980175,
-0.05091619864106178,
-0.019863111898303032,
0.021221118047833443,
0.08242195099592209,
-0.029930468648672104,
-0.014440137892961502,
-0.0011825974797829986,
0.051097266376018524,
-0.005395813379436731,
0.026707464829087257,
0.010031143203377724,
0.03581516444683075,
-0.01252987515181303,
0.02286883257329464,
0.03722748905420303,
-0.05269065871834755,
0.044144272804260254,
0.069602370262146,
0.038241468369960785,
-0.07496196776628494,
-0.03871224448084831,
0.03541681542992592,
0.003768468741327524,
0.05030056834220886,
-0.002917451085522771,
-0.028156006708741188,
0.054066773504018784,
0.008143513463437557,
-0.030799591913819313,
0.031632501631975174,
-0.029369158670306206,
0.05116969347000122,
0.10081841796636581,
-0.01714709773659706,
0.06297529488801956,
-0.061635397374629974,
-0.04443398118019104,
0.022687764838337898,
0.00844227522611618,
0.00822046771645546,
-0.0378793329000473,
0.03385963290929794,
-0.015553703531622887,
0.03449337184429169,
0.013761134818196297,
0.019482869654893875,
0.01709277741611004,
-0.02348446287214756,
-0.0005369784776121378,
0.011008908040821552,
0.040993694216012955,
-0.02598319575190544,
-0.07851089537143707,
0.032429199665784836,
0.024824362248182297,
-0.03192221000790596,
0.0009500388405285776,
0.05019192770123482,
-0.01004019659012556,
-0.0019702413119375706,
-0.038639817386865616,
0.0015673660673201084,
0.021836748346686363,
0.01915694773197174,
0.03065473772585392,
0.003813735442236066,
-0.0654016062617302,
-0.019229374825954437,
-0.018486997112631798,
0.056963853538036346,
0.010855000466108322,
-0.047729410231113434,
0.037843119353055954,
0.007704424671828747,
-0.01566234417259693,
0.03686535730957985,
0.01793474145233631,
-0.047512128949165344,
-0.019175054505467415,
-0.04258709028363228,
-0.038241468369960785,
0.0030057216063141823,
0.026508290320634842,
-0.05975229665637016,
-0.03186789155006409,
-0.01666726917028427,
0.009180125780403614,
0.03445715829730034,
-0.027793871238827705,
0.0035262908786535263,
-0.012095313519239426,
0.009614687412977219,
-0.008324581198394299,
0.0014904123963788152,
-0.006043130066245794,
0.024027666077017784,
0.004436155315488577,
-0.011488736607134342,
0.00850564893335104,
0.0073422896675765514,
-0.016232706606388092,
0.01993553899228573,
-0.024770041927695274,
0.0063192578963935375,
-0.002824653871357441,
-0.034656330943107605,
0.025476206094026566,
-0.04867095872759819,
-0.014132322743535042,
0.037806905806064606,
0.047729410231113434,
0.03679293021559715,
-0.0442529134452343,
0.01228543370962143,
0.03557977452874184,
0.03288187086582184,
-0.0015164408832788467,
0.025295138359069824,
-0.03306293860077858,
0.028662994503974915,
0.05305279418826103,
0.04447019472718239,
-0.0023923551198095083,
-0.022198883816599846,
-0.034565798938274384,
0.014068949967622757,
0.020587380975484848,
-0.0049024042673408985,
-0.005382233299314976,
0.0024466754402965307,
-0.026291009038686752,
-0.0036190878599882126,
0.03237488120794296,
0.04345621541142464,
0.031379006803035736,
0.054682403802871704,
-0.00023736825096420944,
0.05671035870909691,
-0.01384261529892683,
0.03816904127597809,
-0.06478597223758698,
-0.037625838071107864,
0.010855000466108322,
-0.02388281188905239,
-0.0253132451325655,
-0.023466356098651886,
0.03608676418662071,
-0.0037028316874057055,
-0.019609617069363594,
-0.04515824839472771,
-0.02156514674425125,
0.03371477872133255,
0.0069077275693416595,
-0.028717314824461937,
0.03661186248064041,
0.042224954813718796,
-0.050481636077165604,
0.029948575422167778,
-0.009759541600942612,
0.0009534338605590165,
-0.03581516444683075,
-0.018975879997015,
-0.00015178554167505354,
0.011036068201065063,
-0.012194899842143059,
0.0022859780583530664,
-0.0705077052116394,
-0.05312522128224373,
-0.019265588372945786,
0.01587962545454502,
-0.050228141248226166,
0.014639312401413918,
-0.07974215596914291,
0.03773447871208191,
-0.015825305134058,
-0.0226153377443552,
0.06286665797233582,
-0.04334757477045059,
0.004264140967279673,
-0.04555659741163254,
0.03648511320352554,
-0.037408556789159775,
-0.06829868257045746,
-0.040993694216012955,
0.00766368443146348,
-0.012385020963847637,
-0.002851814031600952,
0.028807848691940308,
-0.00916201900690794,
-0.007835698314011097,
-0.05497211217880249,
-0.011099441908299923,
-0.012710942886769772,
0.022760191932320595,
0.025077857077121735,
0.03987107798457146,
0.06257694959640503,
0.027232561260461807,
-0.08604330569505692,
-0.00013848839444108307,
0.028264645487070084,
-0.042261168360710144,
0.006065763533115387,
0.030292602255940437,
-0.02348446287214756,
0.04385456442832947,
-0.006124610081315041,
0.004193977452814579,
0.00012625218369066715,
-0.0033904900774359703,
0.056963853538036346,
0.0019385545747354627,
-0.01617838628590107,
-0.046244654804468155,
-0.04407184571027756,
-0.015146301127970219,
0.05924530699849129,
-0.012176793068647385,
-0.027866298332810402,
-0.020587380975484848,
-0.022506697103381157,
-0.04189903289079666,
-0.019645830616354942,
-0.05011950060725212,
0.0431302934885025,
-0.06663285940885544,
-0.009714274667203426,
-0.010592452250421047,
0.06786412000656128,
-0.016757803037762642,
-0.004626275971531868,
-0.03809661418199539,
-0.015933945775032043,
0.08191496133804321,
0.039690010249614716,
-0.04577387869358063,
-0.014286230318248272,
-0.058448608964681625,
-0.006518432404845953,
-0.060802485793828964,
0.0003737347724381834,
0.009623740799725056,
-0.01919316127896309,
-0.053849492222070694,
0.026399649679660797,
-0.015707610175013542,
0.058448608964681625,
0.027395522221922874,
0.03686535730957985,
0.06916780769824982,
-0.1032085120677948,
0.056927639991045,
0.019482869654893875,
0.028934596106410027,
-0.046244654804468155,
-0.042876798659563065,
-0.0778590515255928,
-0.022325631231069565,
-0.06514810770750046,
0.04356485605239868,
-0.03664807602763176,
0.03624972701072693,
0.01396936271339655,
-0.020279567688703537,
-0.020496847108006477,
0.011506843380630016,
0.001643188064917922,
-0.07959730178117752,
0.008559969253838062,
0.04570145159959793,
-0.03313536196947098,
-0.006382631603628397,
-0.010773519985377789,
0.05859346315264702,
0.04457883536815643,
-0.06924023479223251,
0.01158832386136055,
0.009234446100890636,
-0.007364923134446144,
0.03078148514032364,
-0.045194461941719055,
0.04718620702624321,
-0.0030623050406575203,
-0.001047928468324244,
-0.05996957793831825,
-0.009515100158751011,
-0.016115013509988785,
0.08321864902973175,
0.004635329358279705,
-0.004012909717857838,
0.0906062051653862,
-0.03489172086119652,
-0.022361844778060913,
-0.0017212735256180167,
-0.011316722258925438,
0.02098572999238968,
-0.010411384515464306,
-0.05891938507556915,
-0.05413920059800148,
0.01640472188591957,
0.0675019845366478,
-0.036014337092638016,
0.03436662256717682,
0.017110884189605713,
-0.07894545793533325,
-0.015408849343657494,
-0.022017816081643105,
0.0020879353396594524,
0.025041643530130386,
0.024806255474686623,
-0.022705871611833572,
0.02410009317100048,
-0.0663069412112236,
0.0011950458865612745,
0.03313536196947098,
0.00955131370574236,
-0.04914173483848572,
-0.020279567688703537,
-0.007265335880219936,
0.045194461941719055,
0.03166871517896652,
0.007387556601315737,
-0.002235052641481161,
-0.008333634585142136,
0.03510899841785431,
0.008650503121316433,
-0.0019317645346745849,
-0.01086405385285616,
-0.009003584273159504,
0.01683023013174534,
0.00017809691780712456,
-0.04620844125747681,
0.04874338582158089,
-0.035434920340776443,
-0.015888677909970284,
0.010465704835951328,
0.002201102441176772,
0.012040993198752403,
-0.045013394206762314,
0.015381689183413982,
-0.011633590795099735,
0.031723037362098694,
0.07068877667188644,
0.010067356750369072,
-0.015888677909970284,
-0.011054174974560738,
-0.051712896674871445,
0.024426013231277466,
0.03624972701072693,
0.03827768191695213,
-0.04599115997552872,
-0.0726805180311203,
-0.05283551290631294,
-0.04595494642853737,
0.0038092087488621473,
0.011859925463795662,
0.07228217273950577,
0.020315781235694885,
0.036720503121614456,
-0.010845947079360485,
0.009813861921429634,
-0.027323095127940178,
-0.0004569126758724451,
-0.028880275785923004,
0.00970522128045559,
-0.05479104444384575,
-0.04153689742088318,
0.02413630671799183,
-0.037843119353055954,
-0.021927282214164734,
-0.07771419733762741,
0.015128194354474545,
-0.015354529023170471,
0.026870425790548325,
0.007808538619428873,
0.040305640548467636,
0.05841239541769028,
-0.023212861269712448,
0.03773447871208191,
-0.030636630952358246,
0.025331351906061172,
0.0074871438555419445,
-0.0019928747788071632,
0.08618815988302231,
0.012448394671082497,
0.08560874313116074,
-0.012095313519239426,
-0.07568623870611191,
-0.040740203112363815,
0.026906639337539673,
-0.05605851858854294,
-0.0033316430635750294,
-0.02598319575190544,
-0.048127759248018265,
0.036141086369752884,
0.007971499115228653,
-0.05667414516210556,
-0.0431302934885025,
0.0927790179848671,
-0.010999854654073715,
0.0006988076493144035,
0.023031793534755707,
0.029586439952254295,
0.016015425324440002,
-0.016151227056980133,
0.03031070902943611,
-0.006903200875967741,
0.047910477966070175,
-0.059897150844335556,
-0.055696383118629456,
0.005223799031227827,
0.005744368303567171,
0.0034946040250360966,
-0.004445208702236414,
0.06924023479223251,
-0.0031324687879532576,
0.04827261343598366,
-0.035054679960012436,
-0.017862314358353615,
0.04617222771048546,
-0.006925834342837334,
0.0004351279931142926,
0.0025621058885008097,
-0.03643079474568367,
0.044759899377822876,
0.021764321252703667,
0.0337509922683239,
-0.018396465107798576,
-0.019953645765781403,
0.025693487375974655,
-0.0016760065918788314,
-0.026291009038686752,
-0.016196493059396744,
0.010248423554003239,
-0.04189903289079666,
-0.04168175160884857,
-0.0048254504799842834,
0.031415220350027084,
-0.04251466318964958,
-0.048562321811914444,
0.0021309389267116785,
0.007781378459185362,
0.016323240473866463,
-0.060548990964889526,
-0.013127398677170277,
0.013136451132595539,
-0.0046126963570714,
0.0675744116306305,
-0.022905046120285988,
-0.0027318568900227547,
-0.00681266700848937,
-0.012412181124091148,
-0.02710581384599209,
-0.011099441908299923,
0.04885202646255493,
-0.06514810770750046,
0.02562106028199196,
0.013172664679586887,
0.03469254449009895,
-0.043492428958415985,
-0.0363764725625515,
0.006450532004237175,
0.07452740520238876,
0.03132468834519386,
-0.006206090562045574,
0.012213006615638733,
0.004293564707040787,
0.0060023898258805275,
0.018776705488562584,
-0.04682407155632973,
0.04693271219730377,
0.020569274201989174,
-0.001345558324828744,
0.009035271592438221,
0.019301801919937134,
0.026345329359173775,
-0.05164046958088875,
-0.02073223516345024,
0.01128050871193409,
-0.01117186900228262,
0.010972694493830204,
-0.01195951271802187,
-0.032646480947732925,
0.02540377900004387,
-0.04515824839472771,
-0.005599514115601778,
0.029242411255836487,
0.003838632255792618,
-0.04131961613893509,
0.002976298099383712,
-0.02466140128672123,
-0.018034329637885094,
0.03331642970442772,
-0.010510971769690514,
0.021438399329781532,
-0.0011045121354982257,
0.03791554644703865,
0.04783805087208748,
0.03519953414797783,
0.004418048541992903,
-0.0728253722190857,
0.008089193142950535,
-0.007278915960341692,
-0.007559570483863354,
0.009650900959968567,
0.020840875804424286,
0.01648620143532753,
-0.012973491102457047,
0.02855435386300087,
0.03460201248526573,
-0.005364126525819302,
-0.008161620236933231,
-0.0023335081059485674,
-0.04494096711277962,
-0.06051277741789818,
-0.06503947079181671,
-0.032954297959804535,
-0.0092253927141428,
-0.053414929658174515,
0.0205511674284935,
-0.008016766048967838,
-0.059317734092473984,
-0.039255447685718536,
0.006038603372871876,
0.00221355096437037,
0.01806148886680603,
-0.005463713780045509,
-0.031071193516254425,
0.008274787105619907,
-0.021637573838233948,
-0.055515315383672714,
0.06598102301359177,
-0.07496196776628494,
-0.053197648376226425,
0.026309115812182426,
-0.030600417405366898,
0.07467225939035416,
0.025784021243453026,
0.028608674183487892,
-0.008360794745385647,
-0.036014337092638016,
0.013208878226578236,
0.002232789294794202,
0.05566016957163811,
-0.041826605796813965,
-0.02527703158557415,
0.021239224821329117,
0.033877741545438766,
-0.026997173205018044,
0.005721734836697578,
0.013616280630230904,
0.04150068387389183,
-0.005545194260776043,
0.0024783622939139605,
0.0032343193888664246,
-0.013082131743431091,
0.03429419547319412,
-0.0453031025826931,
-0.00879083015024662,
0.035670310258865356,
0.031813569366931915,
0.0004628539609257132,
0.009877235628664494,
0.06677771359682083,
-0.0013014230644330382,
-0.03874845802783966,
-0.03170492872595787,
-0.03362424671649933,
0.03664807602763176,
0.012602302245795727,
0.04113854840397835,
0.03226624056696892,
0.025856448337435722,
0.021456506103277206,
0.01841457188129425,
-0.0040627033449709415,
0.011760338209569454,
0.005468240473419428,
0.05522560700774193,
0.04577387869358063,
-0.08560874313116074,
-0.04316650703549385,
0.02824653871357441,
-0.0007276652613654733,
-0.006436951924115419,
-0.002770333783701062,
-0.037843119353055954,
0.09343086183071136,
0.04298543930053711,
-0.04649814963340759,
0.0452306754887104,
-0.0289527028799057,
0.0326283760368824,
0.011932352557778358,
-0.05287172645330429,
0.06333743035793304,
0.023683637380599976,
0.00524643249809742,
0.0654016062617302,
0.018867239356040955,
0.006903200875967741,
-0.09531396627426147,
-0.018034329637885094,
-0.05877453088760376,
0.0463532954454422,
0.02886216901242733,
-0.038893312215805054,
-0.012882957234978676,
0.01566234417259693,
-0.02134786546230316,
-0.01222206000238657,
0.023448249325156212,
-0.004947671201080084,
0.010293690487742424,
-0.0389295257627964,
0.006500325631350279,
-0.06764683872461319,
0.007152168545871973,
-0.03228434547781944,
0.008252154104411602,
-0.054465122520923615,
0.00872745644301176,
-0.0662345141172409,
-0.09777648001909256,
-0.02658071741461754,
-0.00008027799776755273,
0.006160823628306389,
0.02453465387225151,
-0.05015571415424347,
0.03715506196022034,
0.03838632255792618,
0.026001302525401115,
0.038893312215805054,
0.029658867046236992,
0.02536756545305252,
-0.0473310612142086,
-0.008550915867090225,
0.016640108078718185,
0.0378793329000473,
-0.00458100950345397,
0.0389295257627964,
0.07662779092788696,
-0.0034946040250360966,
0.003673408180475235,
0.046643003821372986,
-0.040341854095458984,
-0.035489242523908615,
0.045629024505615234,
-0.0029808247927576303,
0.03534438833594322,
0.010049249976873398,
0.013462373055517673,
0.02873542159795761,
0.000041164577851304784,
0.04023321345448494,
0.029097557067871094,
-0.015128194354474545,
-0.029278624802827835,
0.012068153358995914,
-0.07517924904823303,
-0.05203881859779358,
-0.0022972947917878628,
0.007269862573593855,
-0.01618744060397148,
0.06073005869984627,
-0.027033386752009392,
0.05185775086283684,
0.011878032237291336,
-0.02221699059009552,
0.039508942514657974,
-0.031849782913923264,
-0.02484246902167797,
0.00035393048892728984,
-0.0046896496787667274,
0.013552906922996044,
-0.02169189415872097,
-0.031650610268116,
0.008817990310490131,
0.048091545701026917,
0.029930468648672104,
0.009994929656386375,
-0.004884297493845224,
0.06268558651208878,
-0.010619612410664558,
-0.06837110966444016,
-0.020840875804424286,
0.09350328892469406,
-0.040559135377407074,
-0.019319908693432808,
0.04787426441907883,
-0.008704823441803455,
-0.045846305787563324,
-0.027486056089401245,
-0.0029921415261924267,
-0.004304881207644939,
0.005056311842054129,
-0.013064024969935417,
-0.038857098668813705,
0.005757948383688927,
0.008052979595959187,
0.057217348366975784
] |
713,379
|
xmlschema.validators.schemas
|
create_empty_attribute_group
|
Creates an empty attribute group related to schema instance.
:param parent: the parent component to set for the attribute group.
|
def create_empty_attribute_group(self, parent: Union[XsdComplexType, XsdElement]) \
-> XsdAttributeGroup:
"""
Creates an empty attribute group related to schema instance.
:param parent: the parent component to set for the attribute group.
"""
return self.xsd_attribute_group_class(ATTRIBUTE_GROUP_ELEMENT, self, parent)
|
(self, parent: Union[xmlschema.validators.complex_types.XsdComplexType, xmlschema.validators.elements.XsdElement]) -> xmlschema.validators.attributes.XsdAttributeGroup
|
[
-0.005296456627547741,
0.05587739869952202,
0.03441166132688522,
0.004806611221283674,
0.01137141790241003,
-0.0539180189371109,
-0.0006680708029307425,
0.0038925239350646734,
0.052413489669561386,
0.02708147093653679,
-0.019978707656264305,
0.028463535010814667,
0.02160569466650486,
0.008305508643388748,
0.05048909783363342,
0.007859399542212486,
0.020101169124245644,
-0.029268281534314156,
0.013182098045945168,
-0.05356812849640846,
0.04555565118789673,
0.014931547455489635,
-0.02678406424820423,
0.024422308430075645,
0.012097439728677273,
0.060286011546850204,
-0.05188865587115288,
0.01625238172709942,
0.03054537996649742,
-0.03589869290590286,
-0.040447261184453964,
-0.03712330758571625,
-0.004209611564874649,
0.013689437881112099,
0.0534631609916687,
-0.019576333463191986,
-0.054407864809036255,
0.008729750290513039,
-0.04006238281726837,
0.052693404257297516,
0.12659013271331787,
-0.03666844964027405,
-0.11196473240852356,
-0.029145820066332817,
0.04405112564563751,
0.019418884068727493,
0.0932806208729744,
0.06605919450521469,
-0.028813425451517105,
-0.03757816553115845,
0.0065298182889819145,
0.07263711839914322,
0.028743445873260498,
0.056927070021629333,
-0.08677267283201218,
0.005808170419186354,
-0.004915951751172543,
0.009980606846511364,
0.0050559076480567455,
0.02678406424820423,
-0.0665840283036232,
0.054757751524448395,
-0.008406102657318115,
-0.0769757553935051,
-0.013418274000287056,
-0.017284555360674858,
-0.07127255201339722,
0.02218301221728325,
-0.014634140767157078,
0.014301745221018791,
-0.05741691589355469,
-0.007509509567171335,
-0.0047016441822052,
0.0337468720972538,
-0.01756446808576584,
0.005309577565640211,
0.002779436996206641,
0.02496463619172573,
0.044715914875268936,
-0.03950255736708641,
-0.022830309346318245,
0.024947142228484154,
-0.012526054866611958,
0.049159515649080276,
0.025734394788742065,
0.0466403104364872,
0.028463535010814667,
0.036108627915382385,
-0.029058348387479782,
-0.039887435734272,
0.020888421684503555,
0.048599693924188614,
0.015263942070305347,
0.033956803381443024,
0.06109075993299484,
0.01567506231367588,
-0.023337649181485176,
0.03267970681190491,
0.05062905326485634,
-0.002536701038479805,
0.0012978725135326385,
-0.038627833127975464,
-0.004203051328659058,
-0.023285165429115295,
-0.0011797846527770162,
-0.008983420208096504,
0.04356127977371216,
-0.043246377259492874,
0.005943752825260162,
0.03785807639360428,
-0.00926333200186491,
-0.050314150750637054,
0.04737507924437523,
0.00951700285077095,
-0.0048459735698997974,
-0.01220240630209446,
0.021273300051689148,
-0.006687268614768982,
0.03393930941820145,
-0.04608048498630524,
0.004467655438929796,
0.019698794931173325,
-0.007378301117569208,
0.009866892360150814,
0.05689208209514618,
0.015036514028906822,
-0.014319240115582943,
-0.019016509875655174,
0.05034914240241051,
0.028918391093611717,
-0.007098389323800802,
0.031437598168849945,
0.013864383101463318,
-0.05066404119133949,
-0.07571615278720856,
-0.03911767899990082,
0.07095765322446823,
0.023442616686224937,
-0.0323823019862175,
0.025454482063651085,
0.019576333463191986,
-0.06217541545629501,
0.03175250068306923,
0.0075444988906383514,
0.016217391937971115,
-0.0007249279296956956,
0.0032299200538545847,
-0.004218359012156725,
-0.045065805315971375,
-0.0606708899140358,
-0.028411051258444786,
-0.02211303450167179,
0.0328371562063694,
-0.0185791477560997,
0.03614361584186554,
0.026066789403557777,
-0.04303644597530365,
-0.021308287978172302,
0.011756297200918198,
-0.034394167363643646,
-0.053498148918151855,
0.04013235867023468,
0.014607898890972137,
-0.02165817841887474,
-0.023267671465873718,
-0.05146878957748413,
0.030125511810183525,
-0.03971249237656593,
0.01625238172709942,
-0.01445044856518507,
-0.0394325815141201,
-0.03379935398697853,
0.025401998311281204,
-0.009097134694457054,
-0.042546600103378296,
0.038452889770269394,
0.05587739869952202,
0.040727172046899796,
0.04268655553460121,
0.009823155589401722,
0.036633461713790894,
0.022270485758781433,
0.02377501130104065,
0.012639768421649933,
0.012158670462667942,
-0.053498148918151855,
0.019803762435913086,
0.022900287061929703,
-0.0019058060133829713,
-0.02680155821144581,
0.0005242879851721227,
-0.00688408175483346,
-0.01864912547171116,
0.012018714100122452,
0.039992403239011765,
-0.01794934645295143,
-0.003487963927909732,
-0.015552601777017117,
0.011231462471187115,
0.013278317637741566,
-0.04674527794122696,
-0.009254585020244122,
0.03743820637464523,
-0.024772197008132935,
-0.012709747068583965,
-0.018824070692062378,
-0.07844529300928116,
0.008935310877859592,
-0.0915311723947525,
0.012351109646260738,
0.009167112410068512,
0.00009697140922071412,
0.015395150519907475,
0.02183312363922596,
0.0009015129180625081,
-0.034184232354164124,
-0.03241728991270065,
-0.008279267698526382,
-0.033781860023736954,
0.021168332546949387,
-0.07284705340862274,
-0.029723137617111206,
0.06053093448281288,
-0.03339698165655136,
0.001191812101751566,
0.030737819150090218,
0.02052103728055954,
0.012036208994686604,
-0.04464593902230263,
0.020958399400115013,
0.018211763352155685,
-0.054582808166742325,
-0.010951550677418709,
-0.031437598168849945,
-0.05944627523422241,
-0.04356127977371216,
0.05181868001818657,
-0.012718494050204754,
-0.0032255465630441904,
-0.019873740151524544,
0.00951700285077095,
-0.02536701038479805,
0.027343887835741043,
0.03084278479218483,
-0.029320765286684036,
0.007531377952545881,
-0.028183622285723686,
0.00878223404288292,
0.039012711495161057,
0.009586980566382408,
-0.05962122231721878,
-0.015526359900832176,
-0.030195489525794983,
0.00653856573626399,
0.048949580639600754,
-0.05906139686703682,
-0.031000236049294472,
-0.019996201619505882,
0.01462539378553629,
-0.0069977957755327225,
0.040272314101457596,
0.021133342757821083,
-0.011808780953288078,
0.03084278479218483,
0.06329506635665894,
0.016234885901212692,
0.04394615814089775,
-0.0018161467742174864,
-0.014118053019046783,
0.01501901913434267,
0.04359626770019531,
-0.003984370268881321,
0.016217391937971115,
-0.05608733370900154,
-0.02080094814300537,
0.037018340080976486,
-0.022532902657985687,
-0.022025562822818756,
0.014380470849573612,
-0.030702829360961914,
0.010278012603521347,
0.017538225278258324,
-0.031490080058574677,
0.028690963983535767,
-0.019523849710822105,
0.06889329850673676,
-0.026206744834780693,
0.0029915578197687864,
-0.04629041999578476,
-0.0010802847100421786,
-0.02024112455546856,
0.06766868382692337,
-0.0656743124127388,
0.005143379792571068,
-0.036633461713790894,
-0.018946532160043716,
0.038102999329566956,
-0.015972469002008438,
-0.02746634930372238,
-0.004863467998802662,
0.04373622313141823,
0.03722827509045601,
0.042266685515642166,
0.022270485758781433,
-0.04674527794122696,
0.02251540869474411,
0.011607593856751919,
0.04020233824849129,
0.021343277767300606,
0.008489200845360756,
-0.03129764273762703,
0.04566061869263649,
0.003822545986622572,
-0.01499277725815773,
0.007330191321671009,
0.051608745008707047,
0.06899826973676682,
-0.057311948388814926,
0.06217541545629501,
0.04093710705637932,
-0.021343277767300606,
-0.051678720861673355,
-0.009193354286253452,
-0.015745040029287338,
-0.031944938004016876,
-0.019243938848376274,
0.0684734359383583,
-0.02325017750263214,
-0.03607363626360893,
0.043176401406526566,
-0.0038028648123145103,
-0.02524454891681671,
-0.038802776485681534,
0.03649350628256798,
-0.04065719246864319,
0.04384119063615799,
0.003964688628911972,
-0.060286011546850204,
-0.02074846439063549,
-0.04741006717085838,
-0.02394995652139187,
0.08726251125335693,
-0.030370434746146202,
-0.019908729940652847,
-0.025839360430836678,
-0.05822166055440903,
0.05762685090303421,
-0.04258158802986145,
0.009447024203836918,
-0.02930326946079731,
0.022218002006411552,
0.042616575956344604,
0.035478826612234116,
0.0034660957753658295,
0.11630336940288544,
0.02074846439063549,
-0.042721543461084366,
0.10734619200229645,
-0.019733784720301628,
0.03500647470355034,
0.08131438493728638,
0.021360771730542183,
0.02034609206020832,
-0.038277942687273026,
-0.020905915647745132,
-0.036108627915382385,
0.00957823358476162,
0.003595117712393403,
-0.03131513670086861,
0.040097370743751526,
0.018894048407673836,
-0.040097370743751526,
-0.01630486361682415,
-0.037193283438682556,
0.033431969583034515,
0.04478589445352554,
0.015692558139562607,
-0.00688408175483346,
0.01750323735177517,
-0.08005478233098984,
0.006053093355149031,
-0.0018894048407673836,
-0.012919680215418339,
-0.012438582256436348,
-0.03642352670431137,
-0.011633835732936859,
0.059656210243701935,
0.05986614525318146,
-0.027571314945816994,
-0.013523240573704243,
0.03589869290590286,
-0.016715984791517258,
-0.005436412524431944,
-0.012700999155640602,
0.018964026123285294,
0.014048075303435326,
0.011161484755575657,
-0.03593368083238602,
-0.014196778647601604,
-0.02433483488857746,
-0.014013086445629597,
-0.04058721661567688,
0.01829923689365387,
-0.012044955976307392,
0.041252005845308304,
-0.08544308692216873,
-0.0005152673693373799,
-0.08292388170957565,
0.023897472769021988,
-0.016488555818796158,
0.07480643689632416,
0.04205675423145294,
-0.01636609435081482,
0.009893134236335754,
0.03593368083238602,
-0.016742227599024773,
0.05678711459040642,
0.002484217518940568,
0.031717509031295776,
0.0028056788723915815,
0.004152754321694374,
0.02433483488857746,
-0.011056517250835896,
0.044890861958265305,
0.019961213693022728,
-0.009053398855030537,
-0.017074622213840485,
-0.03175250068306923,
-0.03182247653603554,
-0.02064349874854088,
0.011152736842632294,
0.02632920630276203,
-0.0742466151714325,
0.00400623818859458,
-0.03789306432008743,
-0.027326393872499466,
-0.023582572117447853,
-0.05465278774499893,
0.024492286145687103,
0.05661216750741005,
-0.017818138003349304,
-0.04975432902574539,
0.025384504348039627,
0.024807186797261238,
0.03199741989374161,
0.033484455198049545,
0.02337263897061348,
0.052238546311855316,
0.04989428445696831,
0.0190340057015419,
0.038452889770269394,
-0.004281776491552591,
0.07263711839914322,
-0.022043056786060333,
-0.029968060553073883,
-0.007150872610509396,
-0.02809615060687065,
-0.04975432902574539,
-0.025297032669186592,
-0.046955209225416183,
-0.020503541454672813,
0.04149692878127098,
-0.028341073542833328,
0.009044650942087173,
-0.03470906615257263,
0.09048149734735489,
0.054687775671482086,
-0.03535636514425278,
0.01807180792093277,
0.03621359542012215,
0.017372028902173042,
-0.054477840662002563,
0.025332020595669746,
-0.023984946310520172,
-0.029110830277204514,
-0.05188865587115288,
-0.0014192404923960567,
0.003065909259021282,
-0.0010097600752487779,
0.012298625893890858,
0.01675097458064556,
0.05192364379763603,
0.00818304717540741,
-0.008755992166697979,
-0.016742227599024773,
0.02370503358542919,
0.0025148328859359026,
-0.051958635449409485,
-0.039817459881305695,
0.0064729610458016396,
-0.03824295476078987,
-0.014861568808555603,
-0.0010261611314490438,
-0.003942820709198713,
0.07914507389068604,
-0.012587285600602627,
0.061475638300180435,
-0.019366400316357613,
0.035321373492479324,
-0.045625630766153336,
-0.00028865906642749906,
0.009525749832391739,
-0.09817907959222794,
-0.025559449568390846,
0.034796539694070816,
-0.03866282105445862,
-0.028813425451517105,
-0.07134252786636353,
-0.023302661255002022,
0.0042730290442705154,
-0.0027400744147598743,
0.0168734360486269,
-0.008511069230735302,
0.004334259778261185,
-0.0039362600073218346,
0.0066129169426858425,
0.0033720629289746284,
-0.034796539694070816,
0.020206134766340256,
-0.00009123102790908888,
0.02304024249315262,
0.042721543461084366,
-0.06035599112510681,
0.02746634930372238,
-0.06116073578596115,
0.03698335215449333,
-0.04328136891126633,
-0.0064817084930837154,
0.028341073542833328,
-0.034009288996458054,
0.06511449068784714,
-0.016208644956350327,
-0.031542565673589706,
0.08593293279409409,
-0.026294218376278877,
-0.01077660545706749,
0.0025279538240283728,
0.02902335859835148,
-0.03287214785814285,
-0.04394615814089775,
-0.0010228808969259262,
0.016462314873933792,
0.02524454891681671,
0.00029877308406867087,
-0.00827051978558302,
0.05279837176203728,
0.0101992879062891,
0.03327452018857002,
-0.0049509406089782715,
-0.0027991184033453465,
0.008458585478365421,
0.01915646716952324,
0.013190845027565956,
0.00653856573626399,
0.013479504734277725,
0.015097744762897491,
0.0094032883644104,
-0.005143379792571068,
0.00011453423940110952,
-0.00786377303302288,
0.027693776413798332,
-0.009586980566382408,
0.020678486675024033,
-0.02052103728055954,
0.0002751282008830458,
0.041636884212493896,
-0.055492520332336426,
0.0246847253292799,
-0.003669469151645899,
0.0724271908402443,
-0.0710626170039177,
-0.027378875762224197,
-0.034971486777067184,
-0.02998555451631546,
-0.0056069837883114815,
0.027833733707666397,
-0.03145509213209152,
0.034796539694070816,
-0.03276718035340309,
-0.015806270763278008,
-0.0023661297746002674,
-0.0502791628241539,
-0.01297216396778822,
-0.01715334691107273,
-0.027676282450556755,
-0.06053093448281288,
0.03486651927232742,
0.005226478911936283,
-0.025856856256723404,
0.0071858614683151245,
-0.025786878541111946,
0.010811594314873219,
0.03225984051823616,
-0.01023427676409483,
-0.05944627523422241,
0.013453262858092785,
0.0000958780074142851,
-0.06941813230514526,
0.006004983559250832,
0.02890089713037014,
0.046885233372449875,
0.05804671719670296,
0.0018314543412998319,
0.08026471734046936,
0.01812429167330265,
-0.003995303995907307,
-0.014144294895231724,
-0.010374232195317745,
-0.03358941897749901,
-0.04989428445696831,
-0.0346565842628479,
0.021360771730542183,
-0.0706077590584755,
0.009272079914808273,
0.0025170196313410997,
-0.07326692342758179,
-0.023670043796300888,
0.022760331630706787,
0.02940823696553707,
-0.0520985908806324,
-0.004880962427705526,
-0.02879592962563038,
-0.034061770886182785,
0.0219555851072073,
-0.0009069799561984837,
-0.03649350628256798,
0.025961821898818016,
0.023914966732263565,
-0.011266451328992844,
0.02844604104757309,
0.042721543461084366,
-0.014013086445629597,
-0.1241408959031105,
-0.05111889913678169,
0.016917170956730843,
0.018841564655303955,
0.00689720269292593,
0.049404438585042953,
0.046605322510004044,
0.03187496215105057,
0.029513204470276833,
-0.06168556958436966,
0.02360006608068943,
0.016514798626303673,
-0.022200508043169975,
-0.03131513670086861,
0.01501901913434267,
-0.005423292052000761,
-0.05916636437177658,
-0.05426790565252304,
-0.009726935997605324,
0.0071596200577914715,
-0.017127105966210365,
-0.09496009349822998,
0.009053398855030537,
-0.007330191321671009,
-0.046325407922267914,
0.02360006608068943,
-0.06546437740325928,
-0.009420782327651978,
0.03824295476078987,
-0.00440423795953393,
0.03180498257279396,
0.05171371251344681,
-0.016331106424331665,
0.0023508220911026,
0.06280522048473358,
-0.030422918498516083,
-0.020730970427393913,
0.019681300967931747,
-0.0788651630282402,
0.06952310353517532,
-0.0027859974652528763,
-0.0031424476765096188,
-0.060460954904556274,
0.01162508875131607,
0.0019998387433588505,
0.05066404119133949,
-0.009586980566382408,
0.015211459249258041,
0.05986614525318146,
0.01625238172709942,
-0.027571314945816994,
-0.05941128730773926,
0.04608048498630524,
-0.030877774581313133,
0.013916866853833199,
-0.0710626170039177,
-0.005882522091269493,
-0.050419118255376816,
-0.02137826569378376,
-0.026381690055131912,
0.04590554162859917,
-0.01450293231755495,
-0.023460110649466515,
0.0016554160974919796,
-0.008336124010384083,
0.07354683429002762,
-0.009307068772614002,
0.05759185925126076,
-0.02370503358542919,
0.02165817841887474,
-0.07760555297136307,
0.03869781270623207,
0.03677341714501381,
0.061475638300180435,
0.011231462471187115,
0.07382674515247345,
0.0842534601688385,
0.0407971516251564,
0.02645166777074337,
0.0606708899140358,
-0.08838216215372086,
-0.02758881077170372,
0.031140191480517387,
0.002101525664329529,
0.013418274000287056,
0.01017304603010416,
0.003678216366097331,
0.011773791164159775,
-0.025349516421556473,
0.042721543461084366,
-0.010697880759835243,
0.014966536313295364,
-0.04492584988474846,
-0.01139765977859497,
-0.071132592856884,
-0.05010421946644783,
-0.0007938124472275376,
-0.003627919824793935,
-0.000871990981977433,
0.025384504348039627,
0.005983115639537573,
-0.0058300388045609,
0.046325407922267914,
0.01658477634191513,
-0.003778809681534767,
-0.01738077588379383,
0.005064654629677534,
-0.013610713183879852,
-0.004305831156671047,
0.004362688399851322,
0.03518141806125641,
-0.009718189015984535,
-0.01071537472307682,
-0.010461704805493355,
-0.008471706882119179,
0.005786302499473095,
-0.031157685443758965,
0.03490150719881058,
-0.04513578489422798,
-0.03631855919957161,
-0.003297711256891489,
0.07494639605283737,
-0.029215797781944275,
-0.022777825593948364,
0.017354533076286316,
0.03455161675810814,
0.017888115718960762,
-0.036283571273088455,
0.0012552296975627542,
-0.03455161675810814,
0.0021179267205297947,
-0.007828784175217152,
-0.011143989861011505,
0.04069218412041664,
0.019313916563987732,
-0.025332020595669746
] |
713,380
|
xmlschema.validators.schemas
|
create_empty_content_group
| null |
def create_empty_content_group(self, parent: Union[XsdComplexType, XsdGroup],
model: str = 'sequence', **attrib: Any) -> XsdGroup:
if model == 'sequence':
group_elem = Element(XSD_SEQUENCE, **attrib)
elif model == 'choice':
group_elem = Element(XSD_CHOICE, **attrib)
elif model == 'all':
group_elem = Element(XSD_ALL, **attrib)
else:
msg = _("'model' argument must be (sequence | choice | all)")
raise XMLSchemaValueError(msg)
group_elem.text = '\n '
return self.xsd_group_class(group_elem, self, parent)
|
(self, parent: Union[xmlschema.validators.complex_types.XsdComplexType, xmlschema.validators.groups.XsdGroup], model: str = 'sequence', **attrib: Any) -> xmlschema.validators.groups.XsdGroup
|
[
-0.01248876377940178,
0.05064685270190239,
-0.010058370418846607,
-0.012670815922319889,
0.020389819517731667,
-0.00021106647909618914,
0.013808640651404858,
-0.005534379277378321,
0.05982227250933647,
0.007627977058291435,
-0.01795032247900963,
0.05847508832812309,
0.0033679611515253782,
-0.017258524894714355,
0.003586423583328724,
0.006649447605013847,
0.043328363448381424,
-0.07067257165908813,
0.02452239766716957,
-0.02066289633512497,
0.037083983421325684,
0.001303947065025568,
0.019242892041802406,
0.04336477443575859,
0.03888629749417305,
0.03102165274322033,
-0.06390023231506348,
0.015547236427664757,
-0.010877604596316814,
-0.02155495062470436,
-0.02858215570449829,
-0.02530522085726261,
-0.025651119649410248,
0.010012857615947723,
0.019406737759709358,
0.010158498771488667,
-0.04886274412274361,
0.03158601373434067,
-0.015337876975536346,
0.025997018441557884,
0.09240957349538803,
-0.024649834260344505,
-0.04642324894666672,
-0.01525595411658287,
0.004448894411325455,
0.018933402374386787,
0.139451801776886,
0.11345477402210236,
-0.009830805473029613,
-0.025414451956748962,
-0.012916586361825466,
0.06655819714069366,
-0.013899666257202625,
0.0027307793498039246,
-0.10318704694509506,
-0.01038606371730566,
0.006826948374509811,
0.03742988035082817,
0.04056117683649063,
0.042345285415649414,
-0.0447847805917263,
0.09088033437728882,
-0.021627772599458694,
-0.010167601518332958,
-0.024285729974508286,
0.015847623348236084,
-0.02872779779136181,
-0.008351633325219154,
-0.03599167242646217,
0.005215788260102272,
-0.057710468769073486,
-0.018259810283780098,
0.022137517109513283,
0.08651109039783478,
0.02497752755880356,
-0.03102165274322033,
-0.010404269210994244,
0.02441316656768322,
0.04686017334461212,
-0.002673888113349676,
0.012652610428631306,
0.024904707446694374,
-0.01038606371730566,
0.028982670977711678,
0.011979018338024616,
0.01812327280640602,
0.030074981972575188,
0.04569504037499428,
0.033188071101903915,
-0.04154425486922264,
0.006362715736031532,
0.01967981643974781,
0.01353556290268898,
-0.015055696479976177,
0.020990589633584023,
0.02665240503847599,
-0.021937260404229164,
0.023029571399092674,
0.0035636669490486383,
0.012607097625732422,
-0.03972373530268669,
0.03118550032377243,
-0.05403301864862442,
-0.06466485559940338,
-0.0111688869073987,
0.00022016908042132854,
0.024813681840896606,
-0.010804783552885056,
-0.004960915539413691,
0.020681101828813553,
0.02029879204928875,
-0.007236564997583628,
0.02805420570075512,
0.03914117068052292,
0.0010911738499999046,
-0.006567524280399084,
-0.000040855018596630543,
-0.017158396542072296,
0.022246748208999634,
-0.0809767097234726,
-0.01633916236460209,
-0.012033633887767792,
-0.041252974420785904,
0.009088943712413311,
0.06761409342288971,
0.03504500165581703,
-0.005083800759166479,
-0.02836369350552559,
0.04194476827979088,
0.019752636551856995,
-0.011569401249289513,
0.012798252515494823,
0.02055366523563862,
-0.10442499816417694,
-0.07223821431398392,
-0.032660119235515594,
0.019133660942316055,
-0.02612445503473282,
-0.058693550527095795,
0.050209928303956985,
-0.01613890565931797,
-0.009839908219873905,
0.037029366940259933,
0.06291715800762177,
0.007850990630686283,
-0.019861867651343346,
0.03124011494219303,
-0.018186990171670914,
-0.012516072019934654,
-0.018805967643857002,
-0.03513602539896965,
-0.0035318078007549047,
0.03222319483757019,
0.020571870729327202,
0.025414451956748962,
0.053705327212810516,
0.00045285423402674496,
-0.021409310400485992,
-0.011041451245546341,
-0.029911136254668236,
-0.023393675684928894,
0.05483404919505119,
0.03555474802851677,
0.044894009828567505,
0.010158498771488667,
-0.007140988018363714,
0.020134946331381798,
-0.04128938168287277,
0.0008886411087587476,
-0.014955568127334118,
-0.037866804748773575,
0.012088249437510967,
-0.01450043823570013,
-0.0669587105512619,
-0.027398819103837013,
0.03972373530268669,
0.041471436619758606,
0.05294070765376091,
0.027872154489159584,
-0.015183133073151112,
0.03446243330836296,
0.030420880764722824,
0.04544016718864441,
0.03231422230601311,
0.0018683081725612283,
-0.07573360949754715,
0.013644794002175331,
-0.0007447062525898218,
-0.003930046688765287,
-0.06178843230009079,
-0.03642859682440758,
-0.005133864935487509,
0.015064799226820469,
-0.015756595879793167,
-0.0017454230692237616,
0.006367267109453678,
-0.013790435157716274,
-0.03460807725787163,
0.04012424871325493,
0.0022688223980367184,
-0.014300180599093437,
-0.028654977679252625,
0.04704222455620766,
-0.03699295595288277,
-0.010185807012021542,
-0.016566727310419083,
-0.03699295595288277,
0.004974569659680128,
-0.07901054620742798,
0.02446778304874897,
0.00804214458912611,
0.0158294178545475,
0.001958196284249425,
0.006663101259618998,
0.03236883878707886,
-0.05993150174617767,
-0.053122758865356445,
0.015747493132948875,
-0.03426217660307884,
-0.011123374104499817,
-0.06852435320615768,
-0.011269016191363335,
0.01951596885919571,
-0.0201895609498024,
-0.005843867547810078,
-0.0019616098143160343,
0.012634405866265297,
-0.04398375004529953,
-0.021627772599458694,
0.04503965377807617,
0.024795476347208023,
-0.04383810982108116,
-0.009648753330111504,
-0.07322129607200623,
-0.07209257036447525,
-0.0440201610326767,
0.03253268450498581,
-0.012952996417880058,
-0.017977630719542503,
-0.02150033600628376,
0.024504192173480988,
-0.029182927682995796,
-0.00038316246354952455,
0.02914651855826378,
0.0014825855614617467,
0.004558125976473093,
0.0014473129995167255,
-0.04806171730160713,
0.03222319483757019,
0.014646079391241074,
-0.030730370432138443,
-0.022811109200119972,
-0.03191370889544487,
-0.02097238413989544,
0.04176271706819534,
-0.039650917053222656,
-0.03524525836110115,
-0.024431372061371803,
0.012652610428631306,
-0.02130007930099964,
0.030584728345274925,
0.023393675684928894,
-0.001641881070099771,
0.029492415487766266,
0.019861867651343346,
0.03884988650679588,
0.017877502366900444,
-0.007500540465116501,
0.013553767465054989,
0.02951062098145485,
0.051411472260951996,
-0.012516072019934654,
0.016803395003080368,
-0.05829303711652756,
0.013080433011054993,
0.04991864413022995,
-0.023229829967021942,
0.003961905837059021,
-0.01374492235481739,
-0.02581496722996235,
0.004603638779371977,
0.02270187810063362,
0.008811314590275288,
0.03528166934847832,
-0.0040574828162789345,
0.04616837576031685,
-0.027344202622771263,
-0.02643394283950329,
-0.05763764679431915,
-0.012971201911568642,
-0.07522387057542801,
0.06910692155361176,
-0.039213988929986954,
-0.004938159137964249,
-0.029656263068318367,
-0.01957058534026146,
0.04252733662724495,
-0.018860582262277603,
-0.038704246282577515,
-0.0026329264510422945,
0.04999146610498428,
0.01931571215391159,
0.058693550527095795,
0.04019707068800926,
-0.020899564027786255,
0.01056811586022377,
-0.012525174766778946,
-0.0003197287442162633,
0.02477727085351944,
-0.00830612052232027,
-0.05221249908208847,
0.053377632051706314,
0.07096385210752487,
0.002994754584506154,
-0.017895707860589027,
0.0895695611834526,
0.06783255934715271,
-0.04179912805557251,
0.054469943046569824,
-0.00018973226542584598,
-0.0010194908827543259,
-0.08811314404010773,
-0.019971098750829697,
-0.00012039607827318832,
0.007705349009484053,
-0.03118550032377243,
0.03185909241437912,
-0.02477727085351944,
-0.05960381031036377,
0.060040734708309174,
-0.0008607644122093916,
-0.001299395808018744,
-0.04857145994901657,
0.03593705594539642,
-0.04351041838526726,
0.046823762357234955,
0.011278118938207626,
-0.039650917053222656,
0.0004895490710623562,
-0.05789251998066902,
0.028818823397159576,
0.02060828171670437,
-0.029692674055695534,
-0.018623914569616318,
0.011396451853215694,
-0.03107626922428608,
0.07864644378423691,
-0.027052920311689377,
0.033916279673576355,
-0.009648753330111504,
0.021828029304742813,
0.024322140961885452,
0.037083983421325684,
-0.042236052453517914,
0.07085461914539337,
0.029346775263547897,
-0.017213013023138046,
0.09131725877523422,
-0.021063411608338356,
0.0007742897141724825,
0.06932538002729416,
-0.005994060542434454,
0.025705736130475998,
-0.011951711028814316,
-0.051083777099847794,
-0.04558580741286278,
0.02466803975403309,
0.06819666177034378,
-0.006899768952280283,
0.026615995913743973,
0.0403791218996048,
-0.020571870729327202,
-0.02390342205762863,
-0.0352998748421669,
0.025778556242585182,
0.040633995085954666,
-0.00856554415076971,
-0.02239239029586315,
0.02326623909175396,
-0.08731211721897125,
-0.006795089226216078,
-0.00194226682651788,
0.0314403735101223,
-0.04580426961183548,
-0.0484258197247982,
-0.033188071101903915,
0.06659460812807083,
0.07697156816720963,
-0.056144822388887405,
-0.036301158368587494,
0.07089103013277054,
0.0006110118702054024,
0.014118129387497902,
-0.00884772464632988,
0.013917871750891209,
-0.016985448077321053,
0.0028513886500149965,
-0.02550547942519188,
0.0018432759679853916,
-0.00437379814684391,
-0.021900849416851997,
-0.024030858650803566,
-0.002205104334279895,
-0.05847508832812309,
0.0021345592103898525,
-0.06870640814304352,
-0.02945600636303425,
-0.069725900888443,
0.038704246282577515,
-0.016439290717244148,
0.08352543413639069,
0.008401697501540184,
-0.015365185216069221,
0.010440679267048836,
0.04554940015077591,
-0.025123169645667076,
0.03278755769133568,
0.03801244869828224,
-0.04201759025454521,
-0.02055366523563862,
-0.0021504887845367193,
0.05599918216466904,
0.028545746579766273,
0.04740632697939873,
0.019297506660223007,
0.020371614024043083,
-0.03693833947181702,
-0.03586423397064209,
-0.01085029635578394,
-0.048170946538448334,
-0.003930046688765287,
-0.0021903126034885645,
-0.048753514885902405,
-0.010822989046573639,
-0.04201759025454521,
-0.029346775263547897,
-0.047770433127880096,
-0.07952029258012772,
0.0005663522752001882,
0.04806171730160713,
-0.026998303830623627,
-0.027508050203323364,
-0.021846234798431396,
0.03202293813228607,
0.05738277733325958,
0.02581496722996235,
0.04769761115312576,
0.04540375620126724,
-0.02519598975777626,
0.041143741458654404,
0.029801905155181885,
0.04951813071966171,
0.06648537516593933,
-0.023029571399092674,
-0.036628853529691696,
-0.02337547019124031,
0.03225960582494736,
-0.03841296210885048,
-0.02586958184838295,
-0.020444434136152267,
-0.002994754584506154,
0.014655182138085365,
-0.010631834156811237,
0.01727673038840294,
-0.04314631223678589,
0.06371818482875824,
0.03124011494219303,
-0.019861867651343346,
-0.011988121084868908,
0.015793006867170334,
-0.06852435320615768,
-0.03127652406692505,
0.03732065111398697,
-0.011733248829841614,
-0.046459659934043884,
-0.05720072239637375,
0.02270187810063362,
-0.03185909241437912,
0.008670223876833916,
0.017740963026881218,
0.04096169024705887,
0.02477727085351944,
0.005994060542434454,
0.0021345592103898525,
-0.05326840281486511,
0.0403791218996048,
-0.0016305027529597282,
-0.041143741458654404,
-0.014218257740139961,
-0.016949037089943886,
-0.028764208778738976,
-0.015310569666326046,
-0.029292158782482147,
-0.004046104848384857,
0.05472481623291969,
-0.0040574828162789345,
0.016748780384659767,
0.0053204684518277645,
-0.004143957514315844,
-0.08578287810087204,
0.02222854271531105,
-0.013726716861128807,
-0.07624335587024689,
-0.040633995085954666,
0.015064799226820469,
-0.03939604386687279,
-0.019060838967561722,
-0.0658663958311081,
0.005502520129084587,
-0.01843276061117649,
-0.0158294178545475,
0.037866804748773575,
-0.041362203657627106,
0.008988815359771252,
-0.030475497245788574,
-0.011469272896647453,
0.02160956710577011,
-0.030220624059438705,
0.03928681090474129,
0.007168295793235302,
0.026215480640530586,
-0.008729390799999237,
-0.040633995085954666,
0.0558171272277832,
-0.02617907151579857,
0.04700581356883049,
-0.045148883014917374,
-0.02046263962984085,
0.030384471639990807,
-0.006262587383389473,
0.0699443593621254,
0.0009790981421247125,
-0.01241594273597002,
0.09139008074998856,
-0.03479012846946716,
-0.025013938546180725,
-0.018878787755966187,
0.0410345084965229,
-0.0034248523879796267,
-0.019497763365507126,
-0.026415739208459854,
0.03994219750165939,
-0.007787272334098816,
0.025159580633044243,
0.02077212743461132,
0.07726284861564636,
0.07140077650547028,
0.022556237876415253,
-0.0175407063215971,
0.009143559262156487,
-0.028236258774995804,
0.004710594192147255,
-0.007800925988703966,
-0.018988018855452538,
0.017467884346842766,
-0.004974569659680128,
-0.01259799487888813,
-0.022028286010026932,
0.0259788129478693,
-0.03158601373434067,
0.02727138251066208,
0.014700694940984249,
0.0005817128694616258,
0.006135150790214539,
0.04915402829647064,
0.0405975840985775,
-0.031094472855329514,
-0.0009955966379493475,
-0.005420596804469824,
0.059640221297740936,
-0.010923117399215698,
-0.03914117068052292,
-0.008715737611055374,
-0.003695654682815075,
0.02119084820151329,
0.021099820733070374,
-0.04216323047876358,
0.06178843230009079,
-0.057127904146909714,
0.030420880764722824,
-0.04653247818350792,
-0.04267297685146332,
0.0026283750776201487,
-0.03202293813228607,
0.007364001590758562,
-0.050355568528175354,
0.03222319483757019,
-0.0005777304759249091,
-0.03473551198840141,
0.023466497659683228,
0.019115455448627472,
0.0929921343922615,
0.03293319791555405,
0.007473232690244913,
0.0036637955345213413,
-0.004380625206977129,
-0.016421087086200714,
-0.08388953655958176,
-0.023302650079131126,
-0.022028286010026932,
0.01743147522211075,
0.030129598453640938,
-0.03322448208928108,
0.07274796068668365,
0.021882643923163414,
0.0070226541720330715,
-0.002323437947779894,
-0.027362408116459846,
-0.003570494009181857,
-0.024686245247721672,
-0.026088044047355652,
-0.0031312936916947365,
-0.061351507902145386,
-0.004462548531591892,
-0.02415829338133335,
-0.05159352347254753,
-0.03593705594539642,
0.0034771922510117292,
0.0403791218996048,
-0.08876853436231613,
0.03826732188463211,
-0.024121884256601334,
-0.03808526694774628,
-0.00386632839217782,
-0.011624016799032688,
-0.016848908737301826,
-0.019752636551856995,
0.022629057988524437,
0.008756699040532112,
0.012725431472063065,
0.03819449990987778,
-0.0055389306508004665,
-0.08680237084627151,
0.005147519055753946,
0.023885216563940048,
-0.00042298634070903063,
-0.02175520919263363,
0.04019707068800926,
0.05585353821516037,
-0.0009261892992071807,
0.039213988929986954,
-0.06604845076799393,
0.015856724232435226,
-0.01093222014605999,
-0.04678735136985779,
0.0010115262120962143,
0.03928681090474129,
0.017995836213231087,
-0.06568434834480286,
-0.056399695575237274,
-0.0006326305447146297,
0.025068553164601326,
-0.019534174352884293,
-0.10151217132806778,
0.020007509738206863,
-0.004278220701962709,
-0.006180663593113422,
0.007045410573482513,
-0.03347935527563095,
0.0017568013863638043,
0.05490686744451523,
0.0038526745047420263,
0.02648855932056904,
0.054943278431892395,
-0.01132363174110651,
0.0337524339556694,
0.062079716473817825,
-0.015210440382361412,
-0.010813886299729347,
0.010741065256297588,
-0.03378884121775627,
0.022811109200119972,
-0.012871072627604008,
0.02634291723370552,
-0.033388327807188034,
-0.011259913444519043,
0.005001877434551716,
0.0673956349492073,
-0.012197480536997318,
0.012588892132043839,
0.07373104244470596,
-0.0156655702739954,
-0.02872779779136181,
-0.06280792504549026,
0.033024225383996964,
-0.04045194387435913,
-0.003584147896617651,
-0.04962736368179321,
-0.0336432009935379,
-0.069725900888443,
-0.021354693919420242,
0.014627874828875065,
0.04518529400229454,
-0.05286788567900658,
-0.03961450606584549,
0.04212682321667671,
0.0023461945820599794,
0.037611935287714005,
-0.022137517109513283,
0.030002161860466003,
0.00037349096965044737,
-0.006772332824766636,
-0.07719002664089203,
0.014363898895680904,
0.013216971419751644,
0.04503965377807617,
0.0029560686089098454,
0.09524957835674286,
0.05144788324832916,
0.041362203657627106,
0.01661224104464054,
0.10289576649665833,
-0.09022495150566101,
-0.033333711326122284,
0.018805967643857002,
-0.028618566691875458,
0.05497968941926956,
0.03877706453204155,
0.013198766857385635,
-0.021955465897917747,
-0.05232173204421997,
0.04201759025454521,
-0.005329570733010769,
-0.01821429841220379,
-0.015756595879793167,
0.006790537852793932,
-0.03895911946892738,
0.006826948374509811,
0.008460864424705505,
-0.018933402374386787,
-0.0009216379839926958,
0.02446778304874897,
0.0064446390606462955,
0.008756699040532112,
0.05971303954720497,
0.020499050617218018,
0.011232605203986168,
0.002890074858441949,
-0.01457325927913189,
-0.05618123337626457,
-0.006344510708004236,
-0.0005347775877453387,
0.04518529400229454,
0.004919954109936953,
-0.027872154489159584,
-0.012151967734098434,
0.004601363092660904,
0.02446778304874897,
-0.03994219750165939,
0.04314631223678589,
-0.022082902491092682,
-0.06156997010111809,
0.018714940175414085,
0.04977300390601158,
-0.052758656442165375,
0.0031267423182725906,
-0.007960221730172634,
0.031039858236908913,
0.017467884346842766,
0.017995836213231087,
0.007077269721776247,
-0.04940890148282051,
0.038230910897254944,
0.023775985464453697,
-0.026561379432678223,
0.019861867651343346,
0.014427617192268372,
-0.0011207573115825653
] |
713,381
|
xmlschema.validators.schemas
|
decode
|
Decodes XML data. Takes the same arguments of the method :meth:`iter_decode`.
|
def decode(self, source: Union[XMLSourceType, XMLResource],
path: Optional[str] = None,
schema_path: Optional[str] = None,
validation: str = 'strict',
*args: Any, **kwargs: Any) -> DecodeType[Any]:
"""
Decodes XML data. Takes the same arguments of the method :meth:`iter_decode`.
"""
data, errors = [], []
for result in self.iter_decode(source, path, schema_path, validation, *args, **kwargs):
if not isinstance(result, XMLSchemaValidationError):
data.append(result)
elif validation == 'lax':
errors.append(result)
elif validation == 'strict':
raise result
if not data:
return (None, errors) if validation == 'lax' else None
elif len(data) == 1:
return (data[0], errors) if validation == 'lax' else data[0]
else:
return (data, errors) if validation == 'lax' else data
|
(self, source: Union[~T, NoneType, xmlschema.resources.XMLResource], path: Optional[str] = None, schema_path: Optional[str] = None, validation: str = 'strict', *args: Any, **kwargs: Any) -> Optional[Any]
|
[
0.022575942799448967,
0.016141613945364952,
0.031148850917816162,
-0.0017620021244511008,
-0.00921912956982851,
-0.019581934437155724,
0.017155112698674202,
-0.007271164562553167,
0.10830502212047577,
0.003035850590094924,
0.02899167686700821,
0.024770310148596764,
0.027448181062936783,
-0.019414566457271576,
0.0083869444206357,
0.08911360800266266,
-0.013863563537597656,
0.03364075720310211,
-0.015964947640895844,
0.07096359133720398,
-0.014040227979421616,
-0.01638336479663849,
-0.017396865412592888,
0.02240857668220997,
0.023115236312150955,
0.06519872695207596,
0.017657214775681496,
-0.05233006924390793,
-0.040168069303035736,
-0.012729187496006489,
0.023412777110934258,
-0.0032497085630893707,
0.00013453282008413225,
-0.022724714130163193,
-0.021646127104759216,
0.09439496695995331,
-0.0391266755759716,
0.012022526934742928,
0.05969421565532684,
-0.00558354752138257,
-0.05389216169714928,
-0.02019561268389225,
0.01815931499004364,
-0.029512373730540276,
0.0013226638548076153,
-0.0044236015528440475,
-0.06144227087497711,
-0.07795581221580505,
-0.08308839797973633,
0.0026615995448082685,
0.04373856633901596,
-0.008154490031301975,
0.011985333636403084,
0.004202770069241524,
0.018122121691703796,
0.009186586365103722,
-0.016922658309340477,
0.11968597024679184,
0.05299953743815422,
0.0011895839124917984,
0.020641924813389778,
0.02787589654326439,
0.00014354041195474565,
0.028935886919498444,
-0.03916386887431145,
0.00052970479009673,
0.010832361876964569,
-0.08866729587316513,
-0.06832291185855865,
0.05642126128077507,
-0.029772723093628883,
0.015816178172826767,
-0.08338593691587448,
0.02696467749774456,
0.0795179009437561,
-0.030497979372739792,
-0.002554670674726367,
-0.026853099465370178,
0.02638819068670273,
-0.033027078956365585,
0.04901992157101631,
0.0038610626943409443,
-0.01742476038634777,
0.012013228610157967,
0.06400856375694275,
0.029400795698165894,
0.04206489399075508,
0.03594670444726944,
0.018466154113411903,
0.06549627333879471,
0.02778291516005993,
-0.026983272284269333,
-0.04585854709148407,
0.028601152822375298,
-0.021069640293717384,
-0.016699504107236862,
-0.011287971399724483,
-0.025681529194116592,
0.0400564931333065,
0.02750397101044655,
0.022482961416244507,
0.03734142705798149,
-0.07669126242399216,
0.05909913405776024,
0.024416979402303696,
0.042288050055503845,
0.013091815635561943,
0.0010820738971233368,
0.008410189300775528,
-0.022092439234256744,
0.04678836464881897,
-0.06341347843408585,
0.028024667873978615,
0.080112986266613,
-0.04065157473087311,
0.00229083513841033,
0.01431917306035757,
-0.004226015880703926,
-0.08346032351255417,
-0.014505136758089066,
-0.0015144385397434235,
0.03615126386284828,
-0.011892352253198624,
0.005657933186739683,
0.04983815923333168,
0.009967632591724396,
0.048313263803720474,
-0.028861502185463905,
0.061925776302814484,
0.017266690731048584,
0.04306909814476967,
-0.007150288205593824,
-0.009651494212448597,
0.004574696999043226,
-0.008163788355886936,
-0.03334321826696396,
0.0463048592209816,
0.026332400739192963,
-0.038196858018636703,
-0.01431917306035757,
0.01171568688005209,
0.031186044216156006,
0.06010333448648453,
-0.008963430300354958,
-0.04879676550626755,
-0.014105315320193768,
0.03364075720310211,
-0.0063459970988333225,
0.031353410333395004,
0.07449689507484436,
-0.04615608975291252,
-0.09037815779447556,
-0.006973623298108578,
-0.005555653013288975,
0.044965922832489014,
-0.05735107883810997,
-0.03695090487599373,
0.05009850859642029,
0.025625741109251976,
-0.010079210624098778,
-0.022575942799448967,
0.0008583368035033345,
-0.045151885598897934,
-0.06441768258810043,
0.010804466903209686,
-0.005736967548727989,
0.0018538215663284063,
0.0015609293477609754,
-0.007029412314295769,
-0.01900544762611389,
-0.01768510788679123,
-0.01431917306035757,
-0.01413321029394865,
-0.03289690613746643,
-0.06553345918655396,
-0.011055517010390759,
0.037378620356321335,
0.03166954964399338,
0.02194366790354252,
0.030219033360481262,
-0.00912149902433157,
0.02852676808834076,
-0.031093060970306396,
0.0031055868603289127,
0.017768792808055878,
0.06471522152423859,
-0.03192989528179169,
0.02927062101662159,
0.031911298632621765,
-0.0004253910155966878,
-0.03990771993994713,
-0.012031824328005314,
0.0026987921446561813,
0.010358154773712158,
-0.030721135437488556,
-0.04355260357260704,
0.024156631901860237,
0.06326471269130707,
-0.01732248067855835,
0.015379163436591625,
0.0674302875995636,
0.007447829470038414,
0.030033070594072342,
0.04373856633901596,
-0.06806256622076035,
0.027355199679732323,
0.002670897636562586,
-0.006253015715628862,
-0.04254839941859245,
-0.01935877837240696,
0.024119438603520393,
0.019340181723237038,
0.01649494282901287,
-0.06638889014720917,
0.0033287429250776768,
-0.005797405261546373,
-0.0764681026339531,
-0.05318550020456314,
0.01815001666545868,
0.0002068841567961499,
0.06914114952087402,
-0.015314077027142048,
-0.010451137088239193,
-0.02056754007935524,
0.06914114952087402,
-0.005690476391464472,
-0.041172273457050323,
-0.06493838131427765,
0.018735801801085472,
0.007638441864401102,
0.011055517010390759,
-0.028210630640387535,
0.06162823364138603,
-0.025607144460082054,
0.02296646684408188,
0.050172895193099976,
0.06486399471759796,
-0.015760388225317,
0.037378620356321335,
0.02556995116174221,
-0.002870808355510235,
-0.056272491812705994,
-0.014244787395000458,
-0.0366719588637352,
-0.0007374606793746352,
-0.008015017956495285,
-0.016364770010113716,
0.006104244850575924,
-0.02556995116174221,
-0.02676011621952057,
-0.05203252658247948,
0.03369654715061188,
0.03808528184890747,
0.012571117840707302,
0.04158139228820801,
-0.033659353852272034,
-0.03453338146209717,
-0.08241892606019974,
0.045635391026735306,
-0.028396593406796455,
0.04325506091117859,
-0.003226462984457612,
-0.012812870554625988,
0.07698880136013031,
-0.03643020987510681,
-0.06233489513397217,
0.0030939641874283552,
-0.00824282318353653,
0.024528557434678078,
0.020065438002347946,
0.014802677556872368,
0.009251673705875874,
-0.01777809113264084,
0.006332050077617168,
0.04920588433742523,
-0.018010543659329414,
0.001415645470842719,
-0.008977377787232399,
0.10034579038619995,
-0.018131420016288757,
0.005076797679066658,
0.004714169539511204,
-0.007447829470038414,
-0.01300813164561987,
0.019656319171190262,
-0.05355742573738098,
-0.023859089240431786,
-0.08866729587316513,
-0.0422508604824543,
0.014811975881457329,
0.07319515198469162,
-0.0007229322800412774,
-0.05649564787745476,
0.03875475004315376,
0.07817896455526352,
0.027355199679732323,
0.002096736105158925,
-0.026853099465370178,
0.018094228580594063,
-0.0008130082278512418,
0.017852475866675377,
-0.006671432871371508,
0.09833738952875137,
0.004002859815955162,
0.007522215135395527,
-0.005346444435417652,
-0.044222068041563034,
-0.03113025426864624,
-0.017062131315469742,
0.06813694536685944,
-0.017861774191260338,
-0.007331602741032839,
-0.06300435960292816,
-0.03094429150223732,
-0.011994631960988045,
-0.016178805381059647,
0.005630038678646088,
0.027485374361276627,
0.06966184824705124,
-0.004088867921382189,
0.02927062101662159,
-0.00041086264536716044,
-0.024249613285064697,
-0.04474276676774025,
-0.0665004700422287,
0.006564504001289606,
-0.03308286890387535,
0.00424228748306632,
0.05523109808564186,
-0.028694136068224907,
-0.007726774550974369,
0.005639336537569761,
0.03391970321536064,
0.011659897863864899,
0.023115236312150955,
-0.010897448286414146,
0.018010543659329414,
-0.028043264523148537,
0.049429040402173996,
-0.03159516304731369,
0.03704388812184334,
-0.021627530455589294,
0.02419382333755493,
0.002022350672632456,
0.0192657969892025,
0.005955474451184273,
-0.016281085088849068,
-0.004644433036446571,
0.026722924783825874,
-0.00851711817085743,
-0.01163200382143259,
-0.007201428525149822,
-0.016625117510557175,
0.012440944090485573,
0.0003794813237618655,
-0.025049254298210144,
-0.04864799603819847,
0.008879747241735458,
0.036262840032577515,
0.020493153482675552,
0.025086447596549988,
-0.0011924896389245987,
-0.05448724329471588,
-0.018512645736336708,
0.022166823968291283,
-0.012850062921643257,
-0.07044289261102676,
-0.006253015715628862,
-0.039052288979291916,
-0.0012378181563690305,
-0.015100219286978245,
-0.028489574790000916,
-0.09246094524860382,
-0.01111130602657795,
-0.01991666853427887,
0.015676705166697502,
0.023840492591261864,
0.0217577051371336,
-0.007015464827418327,
-0.024788906797766685,
0.018140718340873718,
0.027764318510890007,
-0.059657022356987,
-0.017954755574464798,
0.03512846678495407,
0.006871343590319157,
-0.05140025168657303,
0.02259453944861889,
-0.048313263803720474,
0.03797370195388794,
0.02824782393872738,
-0.03020043857395649,
0.02817343734204769,
-0.06144227087497711,
0.009009920991957188,
0.00828931387513876,
0.014681801199913025,
0.04440803453326225,
0.06597977131605148,
-0.02512364089488983,
-0.04823887720704079,
0.0073409005999565125,
-0.07230252772569656,
0.011148499324917793,
-0.006685380358248949,
0.0062437173910439014,
0.0453750416636467,
0.024063648656010628,
-0.02694608084857464,
0.034979693591594696,
0.11299129575490952,
0.024974869564175606,
0.04087473079562187,
-0.04838764667510986,
-0.005076797679066658,
0.01991666853427887,
-0.02231559529900551,
0.08405540883541107,
0.020158421248197556,
-0.025142235681414604,
-0.008094051852822304,
0.04158139228820801,
0.05716511607170105,
-0.06222331523895264,
-0.032543573528528214,
-0.007317655254155397,
-0.054524436593055725,
0.028024667873978615,
-0.023933475837111473,
0.03001447394490242,
0.015230393037199974,
-0.04392452910542488,
-0.017527040094137192,
-0.09104762226343155,
-0.04094911739230156,
0.017954755574464798,
-0.034496188163757324,
-0.0032706293277442455,
0.04236243665218353,
-0.031557969748973846,
0.01639266312122345,
0.01917281560599804,
0.02447276934981346,
0.007884843274950981,
-0.029326410964131355,
-0.04143261909484863,
-0.05909913405776024,
0.05790896713733673,
-0.019526144489645958,
-0.02307804487645626,
-0.02491907961666584,
0.0003913945984095335,
0.07605898380279541,
-0.0010814927518367767,
-0.044036105275154114,
-0.016625117510557175,
-0.00038413042784668505,
-0.013166200369596481,
-0.036541786044836044,
-0.030702538788318634,
0.0472346767783165,
-0.04957781359553337,
0.009260972030460835,
-0.08546872437000275,
-0.01236655842512846,
0.06687239557504654,
-0.03583512455224991,
0.02212963066995144,
0.03518425300717354,
0.003163700457662344,
-0.010572012513875961,
-0.01629968173801899,
0.0143656637519598,
0.019395971670746803,
0.07167024910449982,
0.001422619097866118,
0.004572372417896986,
-0.009428339079022408,
-0.015444250777363777,
-0.023189621046185493,
0.04760660231113434,
-0.05478478595614433,
0.021348586305975914,
-0.019154218956828117,
0.015909159556031227,
-0.029400795698165894,
0.01371479220688343,
0.01574179157614708,
-0.05244164541363716,
0.04344102367758751,
0.005797405261546373,
0.04106069356203079,
0.009474829770624638,
-0.020716309547424316,
0.011966737918555737,
-0.07103797793388367,
0.04697432741522789,
-0.049689389765262604,
0.02103244699537754,
-0.012487434782087803,
0.005578898824751377,
-0.04697432741522789,
0.008187034167349339,
-0.00614143768325448,
0.035630565136671066,
0.0024407680612057447,
0.014979342930018902,
-0.018019841983914375,
0.010032719001173973,
-0.004042376764118671,
-0.09454373270273209,
0.042920324951410294,
0.049689389765262604,
0.025328200310468674,
-0.027392392978072166,
0.023766107857227325,
0.039982106536626816,
0.049429040402173996,
-0.0007362983888015151,
-0.006815554574131966,
-0.02129279635846615,
0.026258016005158424,
0.019228603690862656,
0.031836915761232376,
0.002863834612071514,
0.0037122920621186495,
-0.07382742315530777,
-0.04299471154808998,
0.004084218759089708,
-0.022836292162537575,
-0.004867589101195335,
-0.006104244850575924,
-0.011613407172262669,
0.005625389516353607,
0.009549214504659176,
0.014895658940076828,
-0.030907098203897476,
0.03879194334149361,
-0.06531030684709549,
0.0027011167258024216,
0.03204147517681122,
0.050544820725917816,
-0.0667608231306076,
0.09789107739925385,
-0.004653731361031532,
-0.026908887550234795,
-0.0033031729981303215,
0.0764681026339531,
0.03717406094074249,
-0.016699504107236862,
-0.03585372120141983,
-0.014895658940076828,
0.03927544504404068,
0.031557969748973846,
0.009744476526975632,
-0.013891457580029964,
0.019767897203564644,
0.07966667413711548,
-0.0048257471062242985,
-0.02354295179247856,
-0.01861492544412613,
-0.016364770010113716,
-0.08293962478637695,
-0.011446040123701096,
0.018559135496616364,
0.025439778342843056,
0.002745283069089055,
-0.07877404987812042,
0.024881888180971146,
-0.014384260401129723,
-0.02231559529900551,
-0.0015376838855445385,
-0.025625741109251976,
0.012719889171421528,
0.0344775952398777,
-0.007917387410998344,
-0.010293068364262581,
-0.04150700569152832,
0.02343137376010418,
0.007982473820447922,
0.06066122278571129,
-0.02372891642153263,
0.05418970063328743,
-0.02398926392197609,
-0.01704353466629982,
-0.038122475147247314,
-0.03178112581372261,
-0.01657862775027752,
0.001811979804188013,
-0.018289489671587944,
0.015992842614650726,
-0.04764379560947418,
-0.02121841162443161,
0.01982368715107441,
0.015416356734931469,
0.019321585074067116,
-0.005662581883370876,
0.01477478351444006,
-0.02147875912487507,
-0.058504048734903336,
-0.04994973912835121,
0.02354295179247856,
0.03142779693007469,
0.0051046921871602535,
-0.006973623298108578,
-0.003912202548235655,
-0.02131139300763607,
0.010702187195420265,
0.03600249066948891,
0.028006071224808693,
-0.018931062892079353,
-0.07483162730932236,
0.00393312331289053,
-0.04013087600469589,
0.039796143770217896,
0.007275813724845648,
0.0019351805094629526,
-0.016997044906020164,
-0.09640336781740189,
-0.0167738888412714,
-0.023561548441648483,
-0.009051763452589512,
-0.017471250146627426,
0.034421805292367935,
-0.0018654442392289639,
0.08241892606019974,
-0.031557969748973846,
0.022389980033040047,
0.032376207411289215,
0.013305673375725746,
0.05969421565532684,
-0.02296646684408188,
0.0355747751891613,
-0.035723548382520676,
0.004293427336961031,
0.009958334267139435,
0.05381777510046959,
0.08234454691410065,
-0.00588573794811964,
-0.016913361847400665,
-0.02649976871907711,
0.022836292162537575,
-0.06482680141925812,
0.017722301185131073,
-0.05236726254224777,
0.045077502727508545,
0.020586136728525162,
0.007912738248705864,
0.02491907961666584,
0.050061315298080444,
-0.018949659541249275,
0.007075903005897999,
0.011604108847677708,
0.013817071914672852,
0.06326471269130707,
0.054598819464445114,
0.054896362125873566,
0.007061955984681845,
-0.018029140308499336,
0.03243199735879898,
-0.016439154744148254,
-0.029252024367451668,
0.024547154083848,
0.04838764667510986,
-0.044891536235809326,
-0.01947035640478134,
-0.004051675088703632,
-0.01832668110728264,
0.009321410208940506,
-0.046267665922641754,
-0.05311111360788345,
-0.02231559529900551,
0.04068876802921295,
0.01928439363837242,
-0.03624424338340759,
-0.04500311613082886,
-0.009763072244822979,
-0.0708148181438446,
0.00743388244882226,
0.033120062202215195,
-0.05749984830617905,
0.015620916150510311,
-0.015825476497411728,
-0.052404455840587616,
-0.015146709978580475,
0.002061867853626609,
0.018363874405622482,
-0.008461329154670238,
0.004346891772001982,
-0.030553767457604408,
-0.0022664275020360947,
-0.041283849626779556,
0.06579381227493286,
-0.05991737172007561,
-0.011836563237011433,
-0.02789449319243431,
-0.013240586034953594,
0.002959140809252858,
0.020623328164219856,
-0.004156279377639294,
0.0008873935439623892,
-0.025049254298210144,
0.0014760836493223906,
-0.004053999669849873,
-0.017303884029388428,
-0.012292173691093922,
-0.013844966888427734,
-0.01695055328309536,
-0.014058824628591537,
0.03555618226528168,
0.0026383541990071535,
-0.030516576021909714,
-0.013798476196825504,
-0.06114472821354866,
0.03300848230719566,
-0.02131139300763607,
-0.04954062029719353,
0.0004030173004139215,
-0.003998210653662682,
0.06255804747343063,
-0.026369594037532806,
0.0028754572849720716,
-0.0006909698131494224,
-0.006415733601897955,
-0.02129279635846615,
0.04466838017106056,
-0.009181937202811241,
-0.047197483479976654,
0.028322208672761917,
0.025774512439966202,
0.009479478932917118,
0.04232524335384369,
-0.024045053869485855,
0.022631732746958733,
-0.018224401399493217,
-0.021813493221998215,
-0.0169412549585104,
0.05028447136282921,
0.05616091191768646,
-0.013352164067327976,
-0.02419382333755493,
0.05928509682416916,
-0.010823063552379608,
0.062483664602041245,
-0.059991758316755295,
-0.012915150262415409,
0.018735801801085472,
-0.003279927419498563,
-0.037676163017749786,
0.014003035612404346,
-0.02056754007935524,
-0.030237630009651184,
0.01778738759458065,
-0.024323998019099236,
-0.04727186635136604,
-0.05597494915127754,
-0.014300576411187649,
-0.03403128311038017,
-0.029512373730540276,
-0.014895658940076828,
-0.009958334267139435,
0.06612854450941086,
-0.0015493066748604178,
-0.033027078956365585,
0.026908887550234795,
0.0026034859474748373,
-0.02287348359823227,
0.06806256622076035
] |
713,382
|
xmlschema.validators.schemas
|
encode
|
Encodes to XML data. Takes the same arguments of the method :meth:`iter_encode`.
:return: An ElementTree's Element or a list containing a sequence of ElementTree's elements if the argument *path* matches multiple XML data chunks. If *validation* argument is 'lax' a 2-items tuple is returned, where the first item is the encoded object and the second item is a list containing the errors.
|
def encode(self, obj: Any, path: Optional[str] = None, validation: str = 'strict',
*args: Any, **kwargs: Any) -> EncodeType[Any]:
"""
Encodes to XML data. Takes the same arguments of the method :meth:`iter_encode`.
:return: An ElementTree's Element or a list containing a sequence of ElementTree's \
elements if the argument *path* matches multiple XML data chunks. If *validation* \
argument is 'lax' a 2-items tuple is returned, where the first item is the encoded \
object and the second item is a list containing the errors.
"""
data, errors = [], []
result: Union[ElementType, XMLSchemaValidationError]
for result in self.iter_encode(obj, path, validation, *args, **kwargs):
if not isinstance(result, XMLSchemaValidationError):
data.append(result)
elif validation == 'lax':
errors.append(result)
elif validation == 'strict':
raise result
if not data:
return (None, errors) if validation == 'lax' else None
elif len(data) == 1:
if errors:
resource = XMLResource(data[0])
for e in errors:
e.source = resource
return (data[0], errors) if validation == 'lax' else data[0]
else:
return (data, errors) if validation == 'lax' else data
|
(self, obj: Any, path: Optional[str] = None, validation: str = 'strict', *args: Any, **kwargs: Any) -> Optional[Any]
|
[
0.014273823238909245,
-0.005425778683274984,
-0.017274297773838043,
0.009950456209480762,
0.01785905472934246,
-0.010909073986113071,
-0.0016308490885421634,
-0.04099050909280777,
0.053222477436065674,
-0.023888763040304184,
0.056673500686883926,
-0.0032089741434901953,
0.03930334374308586,
-0.028911922127008438,
-0.030426539480686188,
0.03704100474715233,
-0.03999354690313339,
-0.0016332456143572927,
-0.004800280090421438,
0.10790205746889114,
-0.016545748338103294,
-0.0009472345118410885,
0.010736523196101189,
0.03790375962853432,
0.055024679750204086,
0.07810820639133453,
0.015280372463166714,
-0.0161143708974123,
-0.03500873222947121,
0.012998861260712147,
0.040376994758844376,
-0.05533143877983093,
0.06376727670431137,
-0.0605846643447876,
0.02933371439576149,
0.00949990563094616,
-0.03778872638940811,
0.03383921831846237,
-0.0051094344817101955,
-0.031097570434212685,
-0.03451025113463402,
-0.022297456860542297,
-0.025921033695340157,
-0.06357555091381073,
0.02015015296638012,
-0.008004461415112019,
-0.027512339875102043,
0.05494799092411995,
-0.04344457387924194,
-0.025326689705252647,
0.04114389047026634,
-0.00955262966454029,
0.007199221756309271,
-0.01818498596549034,
-0.03006226383149624,
0.05636674538254738,
-0.02571013756096363,
0.10705847293138504,
0.06802354007959366,
-0.013593204319477081,
0.01725512556731701,
0.04421146586537361,
0.055063024163246155,
0.019258636981248856,
-0.06407403200864792,
0.019018983468413353,
-0.03700266033411026,
-0.07791648060083389,
-0.047394078224897385,
0.0507684163749218,
-0.03694514185190201,
-0.014925683848559856,
-0.015625474974513054,
0.019450360909104347,
0.0029597333632409573,
0.012289484031498432,
-0.014628511853516102,
0.036791764199733734,
0.03194115683436394,
0.007966116070747375,
0.051765378564596176,
0.001955580897629261,
-0.04237091913819313,
-0.012634586542844772,
0.06242521107196808,
0.02143470011651516,
-0.03506625071167946,
0.006307707168161869,
-0.010909073986113071,
0.023390281945466995,
0.00492250407114625,
0.0005287377862259746,
-0.026093585416674614,
0.022163251414895058,
-0.030464883893728256,
-0.013813686557114124,
-0.0019172362517565489,
-0.033532463014125824,
0.0280491653829813,
0.017868641763925552,
0.007357393857091665,
0.05050000175833702,
-0.10268717259168625,
0.04160402715206146,
0.008363942615687847,
-0.012970102950930595,
0.025671793147921562,
-0.046205393970012665,
0.019900912418961525,
-0.006494637578725815,
0.03920748084783554,
-0.04865945503115654,
0.03153853490948677,
0.053874336183071136,
-0.010401006788015366,
-0.017475608736276627,
-0.030637433752417564,
-0.007366979960352182,
-0.03543052449822426,
-0.04842938482761383,
0.04934965819120407,
0.03048405610024929,
-0.03447190672159195,
0.05372095853090286,
0.06606795638799667,
0.04267767816781998,
0.098622627556324,
-0.001059273025020957,
0.009236285462975502,
-0.03861313685774803,
0.05659681186079979,
-0.004757142160087824,
-0.03061826154589653,
0.0001298627903452143,
0.011158314533531666,
-0.033398255705833435,
0.02983219549059868,
-0.018846431747078896,
-0.05579157546162605,
-0.02699468657374382,
0.011091211810708046,
-0.016766231507062912,
0.04125892370939255,
0.031289294362068176,
-0.03213287889957428,
-0.000261972367297858,
0.016143128275871277,
-0.022527525201439857,
-0.002727268496528268,
0.01804119348526001,
-0.01025721337646246,
-0.062770314514637,
-0.0003070573729928583,
-0.004054954741150141,
-0.02900778315961361,
-0.023697039112448692,
-0.002128132153302431,
-0.006854119244962931,
0.032938119024038315,
-0.03556473180651665,
-0.05866742879152298,
-0.0024169159587472677,
-0.03328321874141693,
0.00015255509060807526,
0.05678853765130043,
0.04704897478222847,
-0.006916429847478867,
-0.02103208191692829,
0.0014451168244704604,
-0.02061028964817524,
0.01648823171854019,
-0.013526101596653461,
-0.05406606197357178,
0.011167900636792183,
-0.06829195469617844,
0.04401974380016327,
0.014618925750255585,
0.06587623804807663,
0.008157839998602867,
0.055063024163246155,
-0.017983675003051758,
0.032899774610996246,
0.0176289863884449,
0.0009747947915457189,
-0.0023054764606058598,
0.03395425155758858,
-0.0034678010269999504,
0.021089598536491394,
0.04344457387924194,
-0.016238991171121597,
0.0024660450872033834,
-0.0004915913450531662,
0.0015409785555675626,
-0.019201120361685753,
-0.046895597130060196,
-0.0208403579890728,
0.009638904593884945,
0.008522114716470242,
-0.012193622067570686,
0.08152088522911072,
0.053682614117860794,
-0.0212046317756176,
0.06231017783284187,
0.012279897928237915,
-0.0037553864531219006,
0.009173975326120853,
0.01702505722641945,
-0.019613325595855713,
-0.028029993176460266,
-0.005809225607663393,
0.05103682726621628,
-0.026841307058930397,
-0.05709529295563698,
-0.02758902870118618,
0.03360915184020996,
0.02515413984656334,
0.0005721751949749887,
-0.02827923372387886,
0.01781112514436245,
-0.026093585416674614,
0.03424184024333954,
-0.003903972217813134,
-0.01367948018014431,
-0.03964844346046448,
0.06932725757360458,
-0.04536180943250656,
0.01122541818767786,
-0.08443508297204971,
0.02051442675292492,
-0.019670844078063965,
0.0018621156923472881,
-0.012960516847670078,
0.04256264492869377,
-0.011647209525108337,
0.022048216313123703,
0.10644495487213135,
0.08788610994815826,
-0.05119020491838455,
0.02377372980117798,
-0.009284215979278088,
0.019383257254958153,
-0.06940395385026932,
-0.024348899722099304,
-0.02534586191177368,
-0.004409643355756998,
0.031001709401607513,
0.015462510287761688,
-0.01480106357485056,
-0.0036379557568579912,
-0.05099848285317421,
-0.029084473848342896,
0.06185004115104675,
-0.021012909710407257,
-0.052954062819480896,
0.023562833666801453,
-0.03581397235393524,
0.005119020584970713,
-0.044134777039289474,
0.046473804861307144,
-0.01804119348526001,
0.014906511642038822,
0.008397494442760944,
0.0200542900711298,
0.07588420808315277,
-0.05375930294394493,
-0.042294230312108994,
-0.023677866905927658,
0.016219818964600563,
-0.002784785581752658,
0.051343586295843124,
-0.027608200907707214,
0.013593204319477081,
0.01198272593319416,
0.055983297526836395,
0.012605828233063221,
0.005881121847778559,
0.03194115683436394,
0.007376566529273987,
0.007774392608553171,
0.004960848484188318,
-0.022009871900081635,
-0.015328303910791874,
-0.0009394457447342575,
-0.02992805652320385,
0.003882403252646327,
-0.06741002202033997,
-0.012126519344747066,
-0.030503228306770325,
-0.04302278161048889,
-0.04869779944419861,
0.02561427652835846,
0.06484092772006989,
-0.0713595300912857,
-0.0187793280929327,
0.039916858077049255,
0.015098235569894314,
-0.035181283950805664,
-0.04938800632953644,
0.04839104041457176,
-0.02126215025782585,
0.02643868699669838,
0.03161522373557091,
0.08267122507095337,
-0.002741647884249687,
0.04869779944419861,
0.0025259586982429028,
-0.036063212901353836,
0.0005748713156208396,
-0.045706912875175476,
0.049004558473825455,
-0.0523405484855175,
0.013343963772058487,
-0.0022479593753814697,
-0.01367948018014431,
0.02212490513920784,
-0.008105115965008736,
0.05172703415155411,
0.01588430255651474,
0.00457740155979991,
0.016593679785728455,
0.02594020590186119,
-0.002758423564955592,
-0.029084473848342896,
-0.09018678963184357,
0.005320330616086721,
-0.031155088916420937,
0.05172703415155411,
-0.005631881300359964,
0.043636295944452286,
-0.04517008364200592,
-0.030541572719812393,
-0.03512376919388771,
0.03272722288966179,
0.03790375962853432,
0.0048314351588487625,
0.00927462987601757,
0.03920748084783554,
-0.031423501670360565,
-0.0012366173323243856,
0.0035181285347789526,
0.021875664591789246,
0.019958429038524628,
-0.009197941049933434,
0.01895187981426716,
-0.03288060054183006,
-0.02116628736257553,
-0.020226841792464256,
-0.006422741338610649,
-0.021012909710407257,
0.051573652774095535,
-0.052493926137685776,
-0.012193622067570686,
0.005449743941426277,
-0.006782223004847765,
0.02126215025782585,
-0.015395406633615494,
-0.021223803982138634,
0.026055239140987396,
0.02126215025782585,
0.02015015296638012,
0.0523405484855175,
-0.025537585839629173,
-0.028106682002544403,
-0.03006226383149624,
0.048966214060783386,
0.006379603408277035,
-0.02965964376926422,
0.03684927895665169,
-0.024176348000764847,
0.009586181491613388,
-0.0011239796876907349,
-0.005061503499746323,
-0.08719590306282043,
-0.07929688692092896,
0.024157175794243813,
0.05168868973851204,
0.019402431324124336,
0.03232460096478462,
-0.05421943962574005,
-0.03920748084783554,
0.014149202965199947,
0.048506077378988266,
0.025365034118294716,
-0.042754366993904114,
0.0424092635512352,
-0.015941819176077843,
0.02640034258365631,
0.04467160254716873,
-0.025403380393981934,
0.035277146846055984,
0.0185971911996603,
-0.026189446449279785,
0.0040214029140770435,
-0.06426575779914856,
-0.01065024733543396,
-0.04256264492869377,
0.04793090373277664,
0.03799962252378464,
0.014542236924171448,
-0.007175256498157978,
-0.030694952234625816,
-0.01639236882328987,
-0.023946279659867287,
0.02047608233988285,
-0.0005634877015836537,
0.026246963068842888,
0.015663819387555122,
-0.01430258248001337,
-0.0032185602467507124,
0.03328321874141693,
0.04536180943250656,
-0.003978264983743429,
0.047164011746644974,
-0.05874411761760712,
0.008459804579615593,
0.01909567229449749,
-0.006926015950739384,
0.06925056874752045,
-0.034452736377716064,
-0.017868641763925552,
-0.03424184024333954,
0.02942957542836666,
0.05230220407247543,
0.039686787873506546,
-0.02735896036028862,
-0.04509339481592178,
-0.010592729784548283,
-0.02156890742480755,
-0.025729309767484665,
0.038037966936826706,
0.051803722977638245,
-0.05905087664723396,
-0.04079878702759743,
-0.05352923646569252,
-0.008766562677919865,
-0.015960991382598877,
-0.040376994758844376,
-0.02929536998271942,
0.04428815469145775,
0.009576594457030296,
-0.01858760416507721,
0.018856018781661987,
0.034452736377716064,
0.016315679997205734,
-0.01129252091050148,
-0.026707099750638008,
-0.07991040498018265,
0.06119817867875099,
-0.015011959709227085,
0.025365034118294716,
0.05303075537085533,
0.009173975326120853,
0.0810607448220253,
-0.015558372251689434,
-0.0431378148496151,
-0.011081625707447529,
0.061351560056209564,
-0.08029384911060333,
-0.04517008364200592,
-0.011330866254866123,
0.02034187689423561,
-0.026879651471972466,
0.04122057929635048,
-0.04789255931973457,
-0.034721147269010544,
0.026323653757572174,
-0.05096013844013214,
0.031059226021170616,
0.032343775033950806,
-0.03627410903573036,
0.011973139829933643,
-0.010343489237129688,
-0.006096811033785343,
0.005929052829742432,
0.07335345447063446,
0.011838933452963829,
-0.023026006296277046,
-0.005075882654637098,
-0.01864512264728546,
-0.0682152658700943,
0.02680296264588833,
-0.03502790629863739,
0.08819286525249481,
-0.005694191437214613,
-0.02814502827823162,
-0.03667672723531723,
0.06219514086842537,
0.00018887771875597537,
-0.042025819420814514,
0.06073804199695587,
0.02383124642074108,
0.049963176250457764,
-0.04536180943250656,
-0.00535867502912879,
0.02808750979602337,
-0.010410592891275883,
-0.03395425155758858,
-0.027646545320749283,
-0.07891344279050827,
-0.04091382026672363,
0.026285309344530106,
-0.08826955407857895,
0.0016524179372936487,
-0.0014055737992748618,
0.04244760796427727,
-0.011675968766212463,
0.0006063259788788855,
-0.009030182845890522,
0.013411067426204681,
-0.014379271306097507,
-0.11173652857542038,
-0.0036763004027307034,
0.00043047944200225174,
0.04026196151971817,
0.006739085074514151,
0.017283884808421135,
0.00929859559983015,
0.003824886167421937,
-0.00932256132364273,
-0.019958429038524628,
-0.030445711687207222,
0.011139142327010632,
0.030809985473752022,
0.011493830941617489,
0.034452736377716064,
-0.005104641430079937,
-0.0375586561858654,
-0.05421943962574005,
-0.011302107013761997,
0.005018365569412708,
-0.014906511642038822,
-0.029736334457993507,
0.004122057929635048,
0.017935745418071747,
0.004517487715929747,
0.047355733811855316,
0.01361237745732069,
0.03709851950407028,
0.04348291829228401,
0.036925967782735825,
0.006662395782768726,
0.01937367208302021,
-0.07772475481033325,
-0.008210564032196999,
0.012538724578917027,
0.0008807303966023028,
-0.011580106802284718,
0.05237889289855957,
0.016727885231375694,
-0.031135916709899902,
-0.0265345498919487,
-0.03360915184020996,
0.033532463014125824,
0.12017236649990082,
-0.0033911115024238825,
-0.03355163335800171,
0.009753938764333725,
0.0315001904964447,
-0.0017578660044819117,
-0.0022994852624833584,
-0.011129556223750114,
0.02331359311938286,
-0.10138344764709473,
-0.04125892370939255,
-0.002140115015208721,
0.005905087571591139,
0.027876613661646843,
-0.0545261986553669,
0.008843252435326576,
0.001298927585594356,
-0.020456910133361816,
0.04244760796427727,
-0.026515377685427666,
-0.051573652774095535,
0.015481682494282722,
0.019709188491106033,
-0.07074601948261261,
-0.029640471562743187,
0.01223196741193533,
-0.031787775456905365,
0.05218717083334923,
-0.0093609057366848,
-0.011973139829933643,
-0.05168868973851204,
0.05590660870075226,
-0.04194912686944008,
0.012663344852626324,
0.014666857197880745,
-0.042294230312108994,
-0.03061826154589653,
-0.017964502796530724,
-0.002655372256413102,
-0.022374145686626434,
0.01712092012166977,
0.07868337631225586,
-0.0015218062326312065,
-0.03976348042488098,
-0.029084473848342896,
-0.02699468657374382,
-0.11288686841726303,
-0.014312168583273888,
0.015472096391022205,
0.0021305286791175604,
0.023064350709319115,
0.02732061594724655,
-0.01163762342184782,
-0.028068337589502335,
0.019574981182813644,
0.0583990141749382,
0.026649583131074905,
0.020878702402114868,
-0.022335801273584366,
0.03312984108924866,
-0.03309149667620659,
-0.02268090471625328,
0.005401812959462404,
-0.06637471914291382,
-0.006633637472987175,
-0.07132118940353394,
0.028221717104315758,
0.026323653757572174,
0.0005542010767385364,
-0.059702735394239426,
-0.01494485605508089,
-0.03263135999441147,
0.01298927515745163,
0.010516040958464146,
0.03608238697052002,
0.03769286349415779,
-0.05026993155479431,
0.059012532234191895,
-0.028298405930399895,
0.06284700334072113,
-0.07876006513834,
-0.003451025113463402,
-0.01909567229449749,
0.019018983468413353,
0.05705694854259491,
-0.01019011065363884,
-0.020591117441654205,
-0.007323842495679855,
0.05145861953496933,
-0.05444950982928276,
-0.0027392511256039143,
-0.015462510287761688,
0.05686522647738457,
0.02657289430499077,
-0.0683302953839302,
-0.011254176497459412,
0.006149535067379475,
0.0018920724978670478,
0.042485956102609634,
-0.014868167228996754,
-0.01448471937328577,
0.060623008757829666,
0.11211997270584106,
0.05138193070888519,
-0.023716211318969727,
0.01708257384598255,
0.03880486264824867,
-0.01639236882328987,
-0.004699625074863434,
0.02070615068078041,
-0.0008028426673263311,
-0.035373009741306305,
0.0491962805390358,
-0.009629318490624428,
-0.014753133058547974,
0.02028435841202736,
-0.0560983307659626,
-0.06817691773176193,
0.012337414547801018,
0.036293283104896545,
0.02534586191177368,
-0.06691154092550278,
0.00561270909383893,
-0.005018365569412708,
-0.043866366147994995,
-0.006902050226926804,
0.020035117864608765,
-0.04566856473684311,
-0.04122057929635048,
-0.011896451003849506,
-0.029180334880948067,
-0.06138990446925163,
-0.05007820948958397,
0.027742408215999603,
-0.023562833666801453,
0.047624148428440094,
-0.04164237156510353,
-0.032382119446992874,
-0.05421943962574005,
0.03497038781642914,
-0.05418109521269798,
0.0016308490885421634,
-0.03500873222947121,
0.02442558854818344,
0.046167049556970596,
0.06426575779914856,
-0.03420349210500717,
0.04030030593276024,
-0.045515187084674835,
-0.011417141184210777,
-0.015865130349993706,
0.020648634061217308,
-0.013411067426204681,
0.007860668003559113,
-0.035967350006103516,
0.002049046102911234,
0.05939597636461258,
-0.011024108156561852,
0.042754366993904114,
-0.0008507735910825431,
-0.05260896310210228,
-0.010861143469810486,
-0.016421128064393997,
0.03410763293504715,
0.04290774464607239,
-0.0035708523355424404,
0.033992599695920944,
-0.017101746052503586,
0.012366173788905144,
-0.007160877343267202,
-0.02795330435037613,
-0.01361237745732069,
0.02363952249288559,
0.013296033255755901,
-0.00541619211435318,
0.03370501101016998,
0.004666073713451624,
0.02956378273665905,
0.028240889310836792,
-0.025767654180526733,
0.036331627517938614,
0.016373196616768837,
-0.002333036856725812,
0.006398775614798069,
0.015529613010585308,
-0.011043280363082886,
0.016219818964600563,
0.05475626513361931,
0.043176159262657166,
0.01361237745732069,
0.009408836252987385,
-0.004637314938008785,
-0.04559187591075897,
0.09195064753293991,
0.0176289863884449,
-0.04171906039118767,
0.014312168583273888,
0.008474184200167656,
-0.003894386114552617,
0.00909249298274517,
-0.020418565720319748,
0.04888952150940895,
-0.019958429038524628,
0.0018153830897063017,
0.02176063135266304,
-0.01771526224911213,
0.002700906479731202,
-0.023390281945466995,
0.01517492439597845,
-0.038306377828121185,
-0.021147115156054497,
0.013363135978579521,
0.03374335542321205,
0.022393319755792618,
0.043406229466199875
] |
713,383
|
xmlschema.validators.schemas
|
export
|
Exports a schema instance. The schema instance is exported to a
directory with also the hierarchy of imported/included schemas.
:param target: a path to a local empty directory.
:param save_remote: if `True` is provided saves also remote schemas.
:param remove_residuals: for default removes residual remote schema locations from redundant import statements.
:param exclude_locations: explicitly exclude schema locations from substitution or removal.
:param loglevel: for setting a different logging level for schema export.
:return: a dictionary containing the map of modified locations.
|
def export(self, target: Union[str, Path],
save_remote: bool = False,
remove_residuals: bool = True,
exclude_locations: Optional[List[str]] = None,
loglevel: Optional[Union[str, int]] = None) -> Dict[str, str]:
"""
Exports a schema instance. The schema instance is exported to a
directory with also the hierarchy of imported/included schemas.
:param target: a path to a local empty directory.
:param save_remote: if `True` is provided saves also remote schemas.
:param remove_residuals: for default removes residual remote schema \
locations from redundant import statements.
:param exclude_locations: explicitly exclude schema locations from \
substitution or removal.
:param loglevel: for setting a different logging level for schema export.
:return: a dictionary containing the map of modified locations.
"""
return export_schema(
schema=self,
target=target,
save_remote=save_remote,
remove_residuals=remove_residuals,
exclude_locations=exclude_locations,
loglevel=loglevel
)
|
(self, target: Union[str, pathlib.Path], save_remote: bool = False, remove_residuals: bool = True, exclude_locations: Optional[List[str]] = None, loglevel: Union[str, int, NoneType] = None) -> Dict[str, str]
|
[
0.009787852875888348,
-0.04314042255282402,
-0.02373092621564865,
-0.03948383033275604,
0.028421709313988686,
-0.03808028623461723,
0.02445116452872753,
0.024395762011408806,
-0.07014012336730957,
-0.01909554749727249,
-0.027738405391573906,
-0.046501535922288895,
0.008744430728256702,
-0.00922920648008585,
0.00852281879633665,
0.05953969433903694,
0.02836630493402481,
0.015891410410404205,
-0.0008235416607931256,
0.02779380790889263,
0.010738937184214592,
-0.024617373943328857,
0.01633463427424431,
-0.014727948233485222,
0.021791823208332062,
0.006385189015418291,
0.007774879224598408,
-0.019224820658564568,
0.023971006274223328,
0.020259009674191475,
0.011025185696780682,
0.007299337536096573,
0.06430434435606003,
0.032189108431339264,
-0.01304739248007536,
0.019686510786414146,
0.014432466588914394,
0.0938156470656395,
0.00785798393189907,
-0.06426741182804108,
-0.003668136429041624,
0.051746346056461334,
0.01784898154437542,
0.0031487338710576296,
0.07006625086069107,
0.04073962941765785,
-0.0044414689764380455,
-0.015466654673218727,
-0.0023661672603338957,
-0.05289134010672569,
0.008342759683728218,
0.051709409803152084,
-0.005226343870162964,
0.03139499947428703,
0.030286941677331924,
-0.042549457401037216,
0.006168194115161896,
0.027978485450148582,
-0.024506567046046257,
-0.04683395102620125,
-0.024525035172700882,
0.0404810830950737,
0.027332117781043053,
0.003688912373036146,
0.0334264412522316,
-0.016399269923567772,
-0.06168194115161896,
-0.05562455207109451,
-0.04764652997255325,
0.05097070708870888,
-0.024469632655382156,
-0.07538493722677231,
0.005669567734003067,
0.005711119621992111,
0.060093723237514496,
-0.021404003724455833,
0.03785867616534233,
-0.06242064759135246,
-0.014136984013020992,
-0.07630831748247147,
-0.05134005844593048,
-0.03789561241865158,
-0.08820148557424545,
-0.03205983340740204,
-0.007567118387669325,
-0.007073108572512865,
0.01955723762512207,
0.01864309050142765,
0.02757219783961773,
-0.021311664953827858,
0.02157021127641201,
0.041035111993551254,
-0.03034234419465065,
0.027960017323493958,
-0.034386757761240005,
-0.03800641745328903,
-0.02965904027223587,
-0.005909646861255169,
-0.0046053696423769,
-0.02217964455485344,
-0.01663011685013771,
0.022733673453330994,
0.01103441882878542,
0.08509891480207443,
0.032946281135082245,
-0.0537777878344059,
0.003241071943193674,
-0.04871765151619911,
-0.008185784332454205,
0.007867217995226383,
-0.017876682803034782,
0.045319605618715286,
-0.02753526158630848,
-0.010480389930307865,
0.027018167078495026,
-0.02555922418832779,
0.07080496102571487,
0.03420208394527435,
0.020757636055350304,
-0.04428541660308838,
-0.005471040494740009,
0.03091484121978283,
0.039594635367393494,
-0.021791823208332062,
0.03037927858531475,
0.006671437527984381,
0.02434035949409008,
0.0028324753511697054,
0.02951129898428917,
0.032226044684648514,
-0.023139961063861847,
0.012059373781085014,
-0.039520762860774994,
0.006103557534515858,
0.00577113963663578,
0.013712228275835514,
0.012853482738137245,
0.016426971182227135,
0.015956047922372818,
0.004986264742910862,
0.02509753219783306,
-0.010000230744481087,
-0.02430342324078083,
0.014884923584759235,
-0.031579677015542984,
-0.028643321245908737,
-0.043546710163354874,
-0.0016159190563485026,
0.015522057190537453,
0.050490546971559525,
0.018966274335980415,
-0.06330709159374237,
-0.005752671975642443,
-0.01636233553290367,
-0.04587363451719284,
0.013989242725074291,
0.04291881248354912,
0.0401856005191803,
0.0006838800618425012,
0.006135875824838877,
-0.0036358179058879614,
-0.00023603961744811386,
0.049123942852020264,
-0.01807059347629547,
-0.03340797498822212,
0.007913386449217796,
0.047942012548446655,
-0.0404810830950737,
-0.013435212895274162,
0.008024192415177822,
-0.03937302157282829,
-0.045245736837387085,
-0.006380571983754635,
0.020794570446014404,
-0.04007479548454285,
0.009123018011450768,
0.09248597919940948,
0.00442531006410718,
-0.028569450601935387,
0.03741545230150223,
0.09750917553901672,
-0.04953023046255112,
-0.015549758449196815,
-0.020720699802041054,
0.033481843769550323,
-0.008185784332454205,
-0.08849696069955826,
0.022585932165384293,
-0.00858283881098032,
0.04591057077050209,
0.014183152467012405,
0.020554490387439728,
0.007931854575872421,
0.011486876755952835,
-0.023158429190516472,
-0.09883884340524673,
-0.016306933015584946,
-0.02149634063243866,
-0.0008102679857984185,
0.01317666657269001,
-0.05100763961672783,
-0.023804796859622,
-0.03178282082080841,
-0.013038158416748047,
0.009035296738147736,
-0.015771370381116867,
-0.06194048747420311,
-0.08960502594709396,
-0.005817309021949768,
-0.005521826446056366,
0.03878206014633179,
0.011486876755952835,
-0.03588263690471649,
-0.039927054196596146,
0.02832937054336071,
-0.016306933015584946,
-0.04332510009407997,
0.027923082932829857,
0.01747039332985878,
0.030508553609251976,
-0.029141947627067566,
-0.023213831707835197,
0.013259770348668098,
0.018772363662719727,
-0.045171864330768585,
-0.02624252624809742,
-0.026648813858628273,
-0.042401716113090515,
0.01427549123764038,
-0.11095362156629562,
0.010951315052807331,
-0.03527320548892021,
-0.03695376217365265,
-0.027165908366441727,
0.027369052171707153,
0.038301900029182434,
0.012105542235076427,
0.0603892058134079,
0.07874604314565659,
0.0467231459915638,
0.006805327720940113,
-0.02976984716951847,
-0.02107158489525318,
-0.07283639907836914,
0.015189639292657375,
-0.02578083612024784,
0.02343544363975525,
-0.019834252074360847,
0.06563401967287064,
0.002527759177610278,
0.018162930384278297,
0.01663011685013771,
-0.0017117200186476111,
0.03543941304087639,
0.04288187623023987,
-0.019649576395750046,
-0.03205983340740204,
-0.01268727332353592,
0.02912347950041294,
-0.04956716299057007,
-0.02149634063243866,
-0.01422008778899908,
0.002068376401439309,
0.024137213826179504,
0.007613287307322025,
-0.019391030073165894,
-0.040333341807127,
-0.04543041065335274,
-0.021053116768598557,
0.005087836645543575,
-0.03303861990571022,
0.049345552921295166,
-0.06452596187591553,
-0.041145917028188705,
0.027092037722468376,
0.001879083109088242,
-0.06212516501545906,
-0.05898566544055939,
0.07896766066551208,
0.01883699931204319,
0.02563309483230114,
-0.06899512559175491,
0.04454396292567253,
-0.04720330610871315,
0.07675153762102127,
0.04967797175049782,
-0.09182114154100418,
-0.01067429967224598,
-0.013324406929314137,
-0.06393499672412872,
0.003935917280614376,
0.0062466817907989025,
-0.03399893641471863,
-0.01224405039101839,
0.013056626543402672,
0.0269258301705122,
-0.005554144736379385,
-0.07298414409160614,
-0.007881068624556065,
0.009520071558654308,
-0.014801818877458572,
0.0019264064030721784,
0.09758304804563522,
0.06600336730480194,
-0.01944643259048462,
0.020609894767403603,
0.01536508183926344,
-0.01865232363343239,
0.03414667770266533,
0.004127519205212593,
-0.0372123084962368,
-0.010526558384299278,
0.03808028623461723,
0.027055103331804276,
0.04435928910970688,
-0.006851497106254101,
-0.027128973975777626,
-0.06290080398321152,
-0.016999468207359314,
-0.029234284535050392,
-0.025300676003098488,
0.04299268126487732,
0.0028370923828333616,
-0.033777326345443726,
0.007567118387669325,
-0.06072162464261055,
-0.024211084470152855,
0.013361342251300812,
0.07926314324140549,
-0.012336388230323792,
-0.028273968026041985,
-0.04882846027612686,
0.06980770826339722,
0.052115701138973236,
0.06072162464261055,
0.009704748168587685,
0.005110921338200569,
-0.05543987452983856,
0.04037027806043625,
0.04801588132977486,
0.009233823046088219,
0.02494979090988636,
0.021090053021907806,
-0.039927054196596146,
-0.032521527260541916,
0.026648813858628273,
-0.03793254867196083,
-0.026574943214654922,
0.01959417387843132,
-0.02092384360730648,
-0.0016124563990160823,
0.06216210126876831,
-0.03399893641471863,
-0.011856229044497013,
0.013472148217260838,
-0.07217156141996384,
-0.05396246537566185,
-0.018809298053383827,
-0.030009927228093147,
-0.01317666657269001,
0.003310325788334012,
-0.0025462268386036158,
-0.018282970413565636,
-0.006108174100518227,
0.0012615711893886328,
-0.020757636055350304,
-0.00031135298195295036,
-0.04757265746593475,
-0.010572727769613266,
-0.04306655377149582,
0.0076502226293087006,
-0.016648583114147186,
-0.02581777051091194,
-0.020942311733961105,
0.015734435990452766,
0.05152473598718643,
0.006592949852347374,
-0.028237031772732735,
-0.01458020694553852,
-0.036251991987228394,
0.004746185149997473,
0.0040651909075677395,
-0.012641103938221931,
-0.04871765151619911,
0.06943835318088531,
-0.04967797175049782,
0.04853297770023346,
0.0014173919335007668,
-0.050675224512815475,
0.046390730887651443,
0.02247512713074684,
-0.034275952726602554,
0.01937256194651127,
0.055846165865659714,
0.04561508819460869,
0.012317920103669167,
-0.02062836103141308,
0.03663981333374977,
0.01682402566075325,
0.0007918003830127418,
0.004893926437944174,
-0.023029156029224396,
-0.027295181527733803,
-0.009972529485821724,
-0.013093561865389347,
-0.05071215704083443,
-0.0013550636358559132,
-0.0409243069589138,
0.05156167224049568,
0.053371500223875046,
0.03627045825123787,
-0.05285440385341644,
0.009612410329282284,
0.03224451094865799,
-0.035901106894016266,
0.06323322653770447,
0.009473903104662895,
0.033777326345443726,
0.030065329745411873,
-0.011902398429811,
0.08443408459424973,
-0.014820287004113197,
0.06086936593055725,
-0.030360812321305275,
0.011976269073784351,
-0.018467646092176437,
-0.07298414409160614,
-0.027442922815680504,
0.004483021330088377,
0.04949329420924187,
-0.006126641761511564,
-0.03627045825123787,
0.0028878783341497183,
-0.005789607297629118,
0.04325122758746147,
0.014829520136117935,
0.053556177765131,
0.017867447808384895,
-0.02947436459362507,
0.07357510924339294,
0.045061059296131134,
-0.07017705589532852,
-0.0057988413609564304,
0.019280223175883293,
0.037046100944280624,
-0.0101572060957551,
-0.019834252074360847,
0.047905076295137405,
0.08849696069955826,
0.07243011146783829,
0.057212769985198975,
-0.04007479548454285,
0.03451603278517723,
-0.05676954612135887,
-0.0013019691687077284,
-0.03656594082713127,
0.09654885530471802,
-0.029031140729784966,
0.0074701630510389805,
0.013869202695786953,
0.06186661869287491,
-0.03933608904480934,
0.00004887433897238225,
-0.020517555996775627,
-0.02574389986693859,
0.03815415874123573,
-0.03717537224292755,
-0.018255269154906273,
0.021311664953827858,
0.002661649603396654,
0.03257692977786064,
-0.007488630712032318,
0.0267780888825655,
0.0034696091897785664,
-0.0055956970900297165,
0.04735104739665985,
-0.015882177278399467,
0.02073916792869568,
-0.05292827636003494,
-0.04705556482076645,
-0.0030079178977757692,
-0.036473602056503296,
-0.025226805359125137,
-0.048052817583084106,
0.06622498482465744,
0.018929338082671165,
0.0058957962319254875,
-0.013573720119893551,
-0.0003387659089639783,
0.04428541660308838,
0.05784067139029503,
0.01697176694869995,
0.020979246124625206,
-0.05680648237466812,
-0.017525797709822655,
-0.000263019697740674,
0.04945635795593262,
0.09322468191385269,
0.039668504148721695,
-0.04853297770023346,
0.03449756279587746,
-0.04967797175049782,
0.01427549123764038,
0.027479859068989754,
-0.05255892500281334,
-0.024654308333992958,
0.038412705063819885,
-0.02210577391088009,
-0.013204367831349373,
0.030693229287862778,
-0.06515385955572128,
0.03534707799553871,
0.013647590763866901,
0.06482144445180893,
-0.03398047015070915,
0.03338950499892235,
-0.008984509855508804,
0.03189362585544586,
0.011302200146019459,
0.005087836645543575,
-0.04757265746593475,
0.02293681725859642,
-0.006348253693431616,
-0.027295181527733803,
-0.05787760391831398,
0.03145040199160576,
-0.052004892379045486,
0.05529213324189186,
0.013028925284743309,
0.005572612397372723,
0.027147440239787102,
0.018430711701512337,
-0.009492370299994946,
-0.038264963775873184,
-0.03181975707411766,
0.06345483660697937,
0.013204367831349373,
0.013813800178468227,
-0.014386297203600407,
-0.039742376655340195,
0.05898566544055939,
0.003952076658606529,
-0.08724116533994675,
-0.05148779973387718,
0.012945820577442646,
0.0057157366536557674,
0.03889286518096924,
0.01587294228374958,
0.05747131630778313,
-0.05281747132539749,
0.01933562569320202,
0.024432696402072906,
0.03098871186375618,
0.008407396264374256,
-0.0033934300299733877,
0.02688889391720295,
0.043953001499176025,
0.01146840862929821,
-0.013509083539247513,
0.011606915853917599,
0.021791823208332062,
-0.034996192902326584,
0.03614118695259094,
0.013610655441880226,
-0.002244973322376609,
0.014663311652839184,
0.00030442760908044875,
0.009053763933479786,
-0.02411874756217003,
-0.03926221653819084,
-0.05037974193692207,
0.02168101817369461,
0.02699970081448555,
-0.026482606306672096,
0.07608670741319656,
0.008176550269126892,
0.03289087861776352,
0.05093377083539963,
0.028089290484786034,
-0.013721461407840252,
0.012585701420903206,
-0.012484129518270493,
0.03464530408382416,
-0.021847225725650787,
-0.025429949164390564,
0.014423232525587082,
0.005581846460700035,
0.03355571627616882,
0.05134005844593048,
0.025116000324487686,
0.014035412110388279,
0.03918834775686264,
0.027479859068989754,
-0.05108151212334633,
0.008615157566964626,
-0.07002931833267212,
-0.051857151091098785,
0.009935594163835049,
0.05972437188029289,
-0.0069346013478934765,
-0.05296521261334419,
0.0030702464282512665,
0.0002552286605350673,
-0.013850735500454903,
-0.05100763961672783,
-0.054516494274139404,
0.008550520986318588,
0.02430342324078083,
0.003243380459025502,
-0.04181075096130371,
-0.093889519572258,
-0.05281747132539749,
-0.008915256708860397,
-0.058616310358047485,
0.01678709127008915,
-0.02836630493402481,
0.024469632655382156,
0.024931322783231735,
-0.032946281135082245,
-0.04022253677248955,
-0.039631571620702744,
-0.029437430202960968,
0.03878206014633179,
-0.0031879774760454893,
-0.0023303863126784563,
0.08310440927743912,
-0.04151527211070061,
0.029363559558987617,
0.02232738584280014,
0.033962003886699677,
-0.08369537442922592,
-0.02825549989938736,
-0.024894388392567635,
-0.0032479974906891584,
-0.0016574712935835123,
-0.00554491113871336,
0.02175488881766796,
-0.006071238778531551,
0.016648583114147186,
0.010785105638206005,
0.016648583114147186,
0.044987186789512634,
-0.03207830339670181,
0.03235531598329544,
-0.06511691957712173,
0.05636325851082802,
0.04602137580513954,
0.009201505221426487,
0.01933562569320202,
-0.05259585753083229,
0.009252291172742844,
0.022733673453330994,
-0.03737851604819298,
-0.028200097382068634,
0.058800987899303436,
0.0736120417714119,
-0.045356541872024536,
-0.029105011373758316,
0.05832082778215408,
0.01807059347629547,
0.007853366434574127,
-0.013056626543402672,
0.0203513465821743,
-0.033020153641700745,
-0.024284955114126205,
0.0367690846323967,
-0.022733673453330994,
-0.029751379042863846,
-0.03073016367852688,
-0.015974514186382294,
-0.002827858552336693,
-0.03326023370027542,
0.006177427712827921,
-0.01621459424495697,
-0.04705556482076645,
0.008610540069639683,
-0.026039382442831993,
0.023195365443825722,
-0.009067614562809467,
-0.04579976573586464,
-0.00771024264395237,
0.05917033925652504,
-0.03466377407312393,
0.03106258250772953,
-0.018670791760087013,
-0.0014947252348065376,
-0.024857452139258385,
0.05809921771287918,
0.018172165378928185,
-0.0083012068644166,
0.03198596462607384,
0.002938664285466075,
0.019243288785219193,
0.033167894929647446,
-0.034386757761240005,
0.02445116452872753,
0.07808121293783188,
-0.050342805683612823,
0.009127634577453136,
0.030083797872066498,
-0.0062512983568012714,
0.031801287084817886,
0.0005323876393958926,
0.05503358691930771,
0.014386297203600407,
-0.00134121289011091,
0.028384773060679436,
0.04081349819898605,
-0.003384196199476719,
-0.0305639561265707,
0.003945150878280401,
0.012899651192128658,
0.001028994214721024,
-0.07756412029266357,
-0.0006613726145587862,
-0.03782173991203308,
0.07808121293783188,
-0.00261548045091331,
0.005988134536892176,
-0.02160714752972126,
0.0016482374630868435,
0.006440591998398304,
0.0026085551362484694,
-0.029714444652199745,
-0.032152172178030014,
-0.029141947627067566,
-0.07749024778604507,
-0.016011450439691544,
0.08768438547849655,
0.008707495406270027,
0.029105011373758316,
0.0017971328925341368,
-0.020499087870121002,
0.04000092297792435,
0.014090814627707005,
0.00036617880687117577,
0.012659572064876556,
0.0400378592312336,
-0.008458182215690613,
0.012788845226168633,
0.009464669041335583,
0.0675177201628685,
-0.0065144626423716545,
-0.01290888525545597,
-0.028163161128759384,
0.024598905816674232,
-0.00030356194474734366,
0.04605831205844879,
-0.040333341807127,
0.024783581495285034,
0.0015512823592871428,
0.023195365443825722,
0.0471663698554039,
0.024543503299355507,
-0.03680602088570595,
-0.00987095758318901,
0.030693229287862778,
0.011569980531930923,
0.016094554215669632,
-0.03907754272222519,
-0.00909531582146883,
-0.04823749512434006,
-0.026667281985282898,
-0.019077079370617867,
0.06977076828479767,
0.025042129680514336,
-0.0024123364128172398,
-0.02232738584280014
] |
713,387
|
xmlschema.validators.schemas
|
get_converter
|
Returns a new converter instance.
:param converter: can be a converter class or instance. If it's an instance the new instance is copied from it and configured with the provided arguments.
:param kwargs: optional arguments for initialize the converter instance.
:return: a converter instance.
|
def get_converter(self, converter: Optional[ConverterType] = None,
**kwargs: Any) -> XMLSchemaConverter:
"""
Returns a new converter instance.
:param converter: can be a converter class or instance. If it's an instance \
the new instance is copied from it and configured with the provided arguments.
:param kwargs: optional arguments for initialize the converter instance.
:return: a converter instance.
"""
if converter is None:
converter = self.converter
if isinstance(converter, XMLSchemaConverter):
return converter.copy(keep_namespaces=False, **kwargs)
elif issubclass(converter, XMLSchemaConverter):
# noinspection PyCallingNonCallable
return converter(**kwargs)
else:
msg = _("'converter' argument must be a {0!r} subclass or instance: {1!r}")
raise XMLSchemaTypeError(msg.format(XMLSchemaConverter, converter))
|
(self, converter: Optional[~T] = None, **kwargs: Any) -> xmlschema.converters.default.XMLSchemaConverter
|
[
-0.009219557046890259,
-0.008367128670215607,
0.03270656615495682,
-0.033392321318387985,
-0.02407751977443695,
0.023106036707758904,
0.07729950547218323,
0.035163845866918564,
0.03304944187402725,
0.02897302806377411,
0.0037002041935920715,
0.03493526205420494,
-0.022305993363261223,
-0.008419512771070004,
-0.02563951164484024,
0.023220330476760864,
-0.013229302130639553,
0.0013143583200871944,
0.010162466205656528,
0.010000552050769329,
0.049259863793849945,
-0.04404052719473839,
0.05718410760164261,
0.07886149734258652,
0.013448361307382584,
0.02171548455953598,
-0.011143472045660019,
0.005966996308416128,
-0.03394472971558571,
0.04274521768093109,
-0.03529718518257141,
-0.01646757498383522,
0.03965933248400688,
0.054669685661792755,
-0.010010076686739922,
0.0916622057557106,
-0.06918477267026901,
0.0773376002907753,
-0.022648869082331657,
-0.030154045671224594,
0.013562653213739395,
-0.0010411288822069764,
-0.0015274652978405356,
-0.035201944410800934,
0.03032548353075981,
0.004981227219104767,
-0.039164066314697266,
-0.030230240896344185,
-0.08335698395967484,
0.01508654747158289,
0.046897828578948975,
-0.02952544018626213,
0.062479641288518906,
0.008457609452307224,
0.013257875107228756,
0.017200950533151627,
-0.0043335724622011185,
0.0963100790977478,
-0.0003285895800217986,
0.06198437511920929,
-0.07421362400054932,
0.04385003820061684,
-0.031677938997745514,
-0.011010131798684597,
-0.04655495285987854,
-0.02636335976421833,
-0.01819148100912571,
-0.050098005682229996,
0.030363580211997032,
0.05520304664969444,
-0.01029580645263195,
-0.018381968140602112,
-0.04800264909863472,
0.014115065336227417,
0.040802251547575,
-0.01698189042508602,
0.029315903782844543,
-0.02236313931643963,
0.0013250731863081455,
0.03236369043588638,
0.044497694820165634,
-0.004581205081194639,
-0.043659552931785583,
0.007128965109586716,
0.050745658576488495,
0.005219335667788982,
-0.023696545511484146,
-0.005433633457869291,
0.06560362130403519,
0.011505397036671638,
-0.029430195689201355,
-0.05021229758858681,
-0.0017905751010403037,
-0.003816877491772175,
0.000876834150403738,
-0.05406012758612633,
-0.05866990610957146,
0.021486900746822357,
0.04861220717430115,
0.04026889055967331,
-0.04240234196186066,
0.025753803551197052,
-0.03312563896179199,
0.051469508558511734,
0.01666758768260479,
-0.0046859728172421455,
0.031716037541627884,
0.00019033788703382015,
0.03293514996767044,
-0.031182674691081047,
0.0013345974730327725,
0.014048394747078419,
-0.020572563633322716,
0.0285349078476429,
-0.014210307970643044,
0.010762498714029789,
0.036516301333904266,
0.013848383910953999,
0.02520139142870903,
-0.036363910883665085,
-0.02712530642747879,
0.06251773983240128,
-0.017439058050513268,
0.0020298738963901997,
-0.012276868335902691,
-0.021086879074573517,
0.06038428470492363,
-0.01125776395201683,
0.04346906766295433,
0.033716145902872086,
0.032858956605196,
-0.02007729932665825,
-0.030401678755879402,
-0.011191094294190407,
0.03969743102788925,
-0.021886922419071198,
0.00561935780569911,
0.04884079098701477,
-0.08587140589952469,
0.04122132435441017,
0.02367749810218811,
0.048383623361587524,
0.029182562604546547,
-0.006414639763534069,
-0.03341136872768402,
-0.010762498714029789,
-0.009829114191234112,
0.04491676390171051,
-0.015934212133288383,
0.05200286954641342,
-0.049145571887493134,
0.006909905467182398,
0.004274045582860708,
-0.005543163046240807,
-0.00831474456936121,
0.024668028578162193,
-0.0036811556201428175,
0.01947726495563984,
-0.008805247955024242,
-0.06110813468694687,
0.04979322478175163,
0.032992295920848846,
0.019810616970062256,
-0.06381304562091827,
0.042211852967739105,
0.031277917325496674,
-0.05585070326924324,
-0.014372222125530243,
0.02584904618561268,
0.03352566063404083,
-0.015810396522283554,
-0.003950218204408884,
-0.04891698807477951,
-0.019848715513944626,
0.02240123599767685,
-0.030954089015722275,
0.08891919255256653,
0.02800154499709606,
0.010695829056203365,
0.05040278285741806,
0.044535793364048004,
-0.005509828217327595,
0.0014822246739640832,
0.009591005742549896,
0.047697871923446655,
0.021582143381237984,
-0.0068908566609025,
0.029258757829666138,
-0.057031720876693726,
-0.014534135349094868,
0.04125941917300224,
0.03657344728708267,
-0.025620462372899055,
-0.006052715238183737,
-0.017258096486330032,
-0.02527758665382862,
0.017981944605708122,
-0.02051541768014431,
-0.008171879686415195,
0.09173839539289474,
0.0209154412150383,
0.04034508392214775,
0.050745658576488495,
0.05604118853807449,
-0.038116391748189926,
-0.012734035961329937,
0.009476713836193085,
-0.04202136769890785,
0.006724180653691292,
-0.05055517330765724,
0.05249813571572304,
-0.02763962186872959,
-0.013095960952341557,
-0.03440190106630325,
0.007457554806023836,
-0.020972587168216705,
-0.012686414644122124,
-0.0707467645406723,
-0.010648206807672977,
0.02007729932665825,
0.025106148794293404,
0.0037121097557246685,
-0.029106369242072105,
0.015543715097010136,
0.03144935518503189,
0.01986776292324066,
0.014857962727546692,
-0.056955523788928986,
0.007571846712380648,
-0.0123625872656703,
-0.03939265012741089,
0.009119550697505474,
0.002971592592075467,
0.0011256573488935828,
0.03809734061360359,
-0.05722220614552498,
0.03777351230382919,
-0.019096292555332184,
0.029315903782844543,
0.012419733218848705,
0.036725837737321854,
0.05611738562583923,
-0.0063003478571772575,
0.09059547632932663,
-0.00699086207896471,
-0.0022120268549770117,
0.013181679882109165,
-0.02952544018626213,
-0.009410043247044086,
-0.002325128298252821,
0.024191811680793762,
-0.030058803036808968,
0.008800486102700233,
0.001198280486278236,
0.004133561626076698,
-0.01870579458773136,
-0.1513226330280304,
-0.0521552599966526,
-0.034439995884895325,
-0.0013215015642344952,
-0.005614595487713814,
0.026515750214457512,
-0.008100447244942188,
0.059927117079496384,
-0.012505452148616314,
-0.08823344111442566,
-0.014591281302273273,
-0.01979156956076622,
0.031277917325496674,
0.04663114622235298,
0.09547194093465805,
0.0385354608297348,
0.06400353461503983,
0.05131711810827255,
0.016496147960424423,
-0.08510945737361908,
-0.014991303905844688,
-0.04202136769890785,
0.036878228187561035,
-0.009971979074180126,
-0.008767150342464447,
-0.0029763549100607634,
0.01276260893791914,
0.021372608840465546,
0.01161968894302845,
-0.02331557311117649,
0.002931114286184311,
-0.026096679270267487,
-0.04640256240963936,
-0.03735444322228432,
0.045373935252428055,
0.0074766031466424465,
-0.008662383072078228,
-0.00608128821477294,
-0.009519573301076889,
0.014134113676846027,
-0.060841456055641174,
-0.0388592891395092,
0.005390773992985487,
-0.015067498199641705,
0.018410541117191315,
0.022648869082331657,
0.0192677304148674,
0.07158490270376205,
-0.03682108223438263,
0.03977362439036369,
-0.06861331313848495,
-0.02142975479364395,
-0.0021596429869532585,
0.05287910997867584,
-0.02531568333506584,
-0.00010945544636342674,
-0.058365125209093094,
0.09440521150827408,
0.02102973312139511,
-0.00905764289200306,
0.0912812277674675,
0.006481310352683067,
0.01847721077501774,
0.04625017195940018,
-0.028706347569823265,
0.04392623528838158,
-0.015524666756391525,
-0.02291555143892765,
-0.06015570089221001,
0.02508709952235222,
-0.05946994945406914,
-0.00727182999253273,
0.04621207341551781,
0.0033597094006836414,
0.003514479845762253,
0.03977362439036369,
0.012610220350325108,
-0.00885763205587864,
-0.03384948894381523,
-0.07691853493452072,
0.060917649418115616,
-0.04122132435441017,
0.010914888232946396,
-0.00820997729897499,
0.038764044642448425,
0.02259172312915325,
0.005743174348026514,
-0.06446070224046707,
-0.014657951891422272,
0.023067940026521683,
-0.043697651475667953,
-0.017562873661518097,
-0.004045461304485798,
-0.052307650446891785,
-0.033678051084280014,
-0.050707560032606125,
-0.019848715513944626,
0.034592386335134506,
-0.020686855539679527,
-0.02592524141073227,
-0.004766929894685745,
-0.006957526784390211,
0.02567760832607746,
-0.049907516688108444,
-0.04735499620437622,
0.003145411843433976,
0.015581812709569931,
-0.03213510662317276,
0.005200287327170372,
0.023067940026521683,
-0.003638296155259013,
-0.04255472868680954,
-0.00727182999253273,
-0.016429478302598,
0.035563867539167404,
0.022229798138141632,
-0.04205946624279022,
-0.04442150145769119,
-0.07082295417785645,
-0.04259282723069191,
-0.0378306582570076,
0.0315065011382103,
-0.03539242967963219,
0.010171989910304546,
0.052231453359127045,
0.03632581606507301,
-0.04670733958482742,
0.024553736671805382,
0.024934709072113037,
-0.0899859219789505,
0.010629158467054367,
0.02952544018626213,
0.018048616126179695,
-0.008167117834091187,
-0.0162675641477108,
0.03703061491250992,
-0.015496093779802322,
-0.028744444251060486,
0.039964109659194946,
-0.04084035009145737,
-0.026668138802051544,
0.036154378205537796,
0.019182011485099792,
0.011876845732331276,
-0.003633533837273717,
-0.05668884515762329,
0.032668471336364746,
-0.0006667034467682242,
-0.05287910997867584,
0.041373711079359055,
0.013486458919942379,
0.030458824709057808,
0.02527758665382862,
0.03579245135188103,
0.03590674325823784,
0.03068740852177143,
0.021086879074573517,
-0.02901112474501133,
-0.016058029606938362,
0.031144576147198677,
0.0062384395860135555,
0.002893016906455159,
-0.04564061388373375,
-0.0026834814343601465,
0.0003282919351477176,
-0.009710059501230717,
0.014686524868011475,
0.010219612158834934,
0.060803357511758804,
-0.017439058050513268,
0.00328113348223269,
0.032516080886125565,
-0.038725946098566055,
0.007262305822223425,
0.013457885943353176,
-0.06411782652139664,
-0.006152720656245947,
-0.12282583117485046,
-0.004259759094566107,
0.0247251745313406,
0.009105264209210873,
-0.02259172312915325,
-0.011686359532177448,
0.016486624255776405,
-0.004640732426196337,
-0.031182674691081047,
0.01666758768260479,
-0.06373684853315353,
-0.03316373750567436,
-0.022820306941866875,
-0.04510725289583206,
0.06427021324634552,
-0.023048890754580498,
-0.028439665213227272,
0.060879550874233246,
0.04781216382980347,
0.07954724878072739,
-0.019010573625564575,
-0.01414363831281662,
-0.0660988837480545,
-0.029620682820677757,
-0.04259282723069191,
-0.04506915435194969,
0.0014488894958049059,
0.03973552584648132,
-0.043621454387903214,
0.0435071624815464,
-0.04743118956685066,
-0.017896225675940514,
0.0021179739851504564,
0.018239101395010948,
-0.02468707785010338,
0.02748723141849041,
0.02135355956852436,
0.043011900037527084,
-0.0020810673013329506,
0.07230875641107559,
-0.05802224949002266,
0.019172487780451775,
0.010181514546275139,
0.0035097175277769566,
-0.05672693997621536,
0.0024191811680793762,
0.019286779686808586,
-0.042288050055503845,
0.04857410863041878,
0.02055351622402668,
-0.00007835253927623853,
-0.02981116995215416,
0.013848383910953999,
-0.006276537198573351,
-0.018162908032536507,
-0.01666758768260479,
0.06446070224046707,
-0.02752532996237278,
0.1094917580485344,
0.03152554854750633,
-0.03866880014538765,
0.010248185135424137,
-0.022706015035510063,
0.05169809237122536,
0.008200452663004398,
0.023696545511484146,
-0.013191204518079758,
0.056193578988313675,
-0.04205946624279022,
-0.026515750214457512,
0.004252615850418806,
0.01671520806849003,
-0.09074787050485611,
-0.07878530025482178,
0.036116279661655426,
0.003959742374718189,
-0.03495430946350098,
-0.019182011485099792,
0.007105153985321522,
-0.008486182428896427,
0.01855340600013733,
-0.01710570603609085,
-0.029430195689201355,
-0.02548712119460106,
-0.0348590686917305,
0.017458107322454453,
-0.005671741906553507,
-0.0013476934982463717,
0.040573667734861374,
-0.025544267147779465,
-0.024991855025291443,
-0.012038759887218475,
0.028553957119584084,
-0.06522265076637268,
-0.023734644055366516,
0.046135880053043365,
-0.033792342990636826,
-0.0034359039273113012,
-0.02291555143892765,
0.008938589133322239,
-0.022667918354272842,
-0.016286613419651985,
-0.04891698807477951,
-0.036040086299180984,
0.01714380271732807,
-0.04804074764251709,
0.012334014289081097,
0.0037597313057631254,
0.014505562372505665,
0.01125776395201683,
0.0013441218761727214,
0.024534687399864197,
0.03474477678537369,
-0.007705187425017357,
0.031144576147198677,
-0.017248570919036865,
0.016439002007246017,
-0.011553018353879452,
-0.03181127831339836,
-0.02251552790403366,
0.024096569046378136,
-0.021296413615345955,
0.05748888850212097,
-0.055469729006290436,
0.03659249469637871,
0.02567760832607746,
-0.03141125664114952,
-0.0273729395121336,
-0.0338304378092289,
-0.012038759887218475,
0.06122242659330368,
0.006524169817566872,
0.039011675864458084,
0.032630372792482376,
-0.009148123674094677,
0.00461692176759243,
-0.00195367936976254,
0.034192364662885666,
0.008519518189132214,
0.03809734061360359,
-0.03958313912153244,
0.03746873512864113,
0.05946994945406914,
0.015762774273753166,
-0.08556663244962692,
0.022534577175974846,
-0.004914557095617056,
0.0010518437484279275,
-0.013848383910953999,
-0.015162741765379906,
-0.0358305498957634,
-0.03714490681886673,
-0.05436490476131439,
0.0064289262518286705,
0.011295861564576626,
-0.03722110390663147,
-0.00010766963532660156,
0.0204011257737875,
0.056879330426454544,
-0.00800996646285057,
-0.02624906785786152,
0.005266957450658083,
-0.08053778111934662,
0.01556276436895132,
-0.030592165887355804,
0.05493636801838875,
-0.04830742999911308,
-0.04331667721271515,
0.05512685328722,
-0.029354002326726913,
-0.024668028578162193,
0.035506721585989,
-0.005738412030041218,
-0.04720260575413704,
-0.03343041613698006,
0.0557745061814785,
-0.015591337345540524,
0.005257433280348778,
-0.03565911203622818,
0.021067829802632332,
0.0044454834423959255,
0.018000993877649307,
-0.025029953569173813,
-0.03855450823903084,
-0.042935702949762344,
-0.07554702460765839,
0.018334345892071724,
0.005714601371437311,
0.045297738164663315,
-0.014667476527392864,
0.03177318349480629,
-0.05497446283698082,
0.0011560162529349327,
0.0494503490626812,
0.01875341683626175,
-0.0011619689175859094,
-0.0005348509293980896,
0.05794605612754822,
-0.016696160659193993,
0.013534080237150192,
-0.0580984465777874,
-0.018858183175325394,
0.017648592591285706,
-0.0005431847530417144,
0.030192142352461815,
0.053869642317295074,
0.002406085142865777,
0.030439775437116623,
-0.004743118770420551,
0.0013548367423936725,
0.0005378273199312389,
0.0028144409880042076,
-0.03240178897976875,
0.06362255662679672,
-0.013457885943353176,
0.005005038343369961,
0.05055517330765724,
-0.02832537330687046,
0.04861220717430115,
-0.03261132538318634,
0.018239101395010948,
-0.007019435055553913,
0.024915661662817,
-0.016162797808647156,
0.0027453897055238485,
0.04171659052371979,
0.014638903550803661,
-0.017600972205400467,
0.01606755331158638,
0.03068740852177143,
0.013086436316370964,
-0.03969743102788925,
0.004819313529878855,
-0.04023079201579094,
-0.05562211945652962,
-0.042288050055503845,
-0.034192364662885666,
-0.025620462372899055,
-0.004571680910885334,
-0.04522154480218887,
-0.04743118956685066,
-0.06495596468448639,
0.018886756151914597,
-0.0017655736301094294,
0.010781547985970974,
0.010038649663329124,
-0.0011798270279541612,
-0.03133506327867508,
0.02752532996237278,
-0.08152831345796585,
0.03666869178414345,
-0.043621454387903214,
-0.02556331641972065,
0.03506860136985779,
-0.027468184009194374,
0.04727879911661148,
-0.04251663386821747,
-0.01615327224135399,
0.026820529252290726,
-0.0070622945204377174,
0.0075385114178061485,
-0.007319451775401831,
-0.06522265076637268,
-0.08122353255748749,
-0.03775446489453316,
-0.04468818008899689,
-0.01601993292570114,
0.05718410760164261,
-0.034554287791252136,
-0.011524445377290249,
0.049183666706085205,
0.06446070224046707,
-0.021410705521702766,
-0.013848383910953999,
-0.01755334995687008,
0.0688038021326065,
0.005590784829109907,
-0.027658669278025627,
-0.022325042635202408,
0.062327250838279724,
-0.03590674325823784,
-0.03464953228831291,
-0.044497694820165634,
0.01218162477016449,
0.06647986173629761,
-0.01694379188120365,
-0.0039145019836723804,
0.021810727193951607,
-0.10659635812044144,
0.05981282517313957,
-0.01196256559342146,
0.04270711913704872,
0.03148745372891426,
-0.02880159020423889,
-0.07768047600984573,
0.005195525009185076,
-0.018362918868660927,
0.03280181065201759,
-0.02636335976421833,
0.00271919765509665,
0.017896225675940514,
0.05958424136042595,
-0.00849570706486702,
0.038364022970199585,
-0.006019379943609238,
0.02287745289504528,
-0.017010463401675224,
-0.0027334841433912516,
0.020096346735954285,
-0.03478287160396576,
0.05863180756568909,
-0.0011637547286227345,
-0.02992546185851097,
0.03710681200027466,
-0.010219612158834934,
0.00523838447406888,
-0.007262305822223425,
-0.02127736434340477,
-0.052345745265483856,
-0.0055050658993422985,
0.024591833353042603,
-0.006038428749889135,
-0.02127736434340477,
-0.003243036102503538,
-0.02087734267115593,
-0.014896060340106487,
0.021067829802632332,
0.02712530642747879,
0.07596609741449356,
0.01238163560628891,
-0.04484057053923607,
0.04282141104340553,
-0.022782210260629654,
0.031392209231853485,
0.008719529025256634
] |
713,388
|
xmlschema.validators.schemas
|
get_element
| null |
def get_element(self, tag: str, path: Optional[str] = None,
namespaces: Optional[NamespacesType] = None) -> Optional[XsdElement]:
if not path:
xsd_element = self.find(tag)
return xsd_element if isinstance(xsd_element, XsdElement) else None
elif path[-1] == '*':
xsd_element = self.find(path[:-1] + tag, namespaces)
if isinstance(xsd_element, XsdElement):
return xsd_element
obj = self.maps.elements.get(tag)
return obj if isinstance(obj, XsdElement) else None
else:
xsd_element = self.find(path, namespaces)
return xsd_element if isinstance(xsd_element, XsdElement) else None
|
(self, tag: str, path: Optional[str] = None, namespaces: Optional[~T] = None) -> Optional[xmlschema.validators.elements.XsdElement]
|
[
0.09232237935066223,
-0.005129522643983364,
-0.03210350126028061,
-0.008025875315070152,
0.029685363173484802,
-0.01124254148453474,
0.05070873349905014,
-0.02694239839911461,
0.008007830008864403,
0.028855254873633385,
0.0206805020570755,
-0.031634312123060226,
-0.030154554173350334,
-0.03466600552201271,
-0.003834735369309783,
0.031165119260549545,
0.01149518322199583,
0.07207497954368591,
-0.09795267134904861,
-0.004795674700289965,
0.05402916669845581,
-0.03464796021580696,
0.011089152656495571,
0.026581482961773872,
0.011477136984467506,
0.00543178990483284,
0.05092528462409973,
-0.01990453153848648,
-0.012460634112358093,
-0.044392701238393784,
0.016169048845767975,
-0.02039176970720291,
-0.00607692776247859,
0.005946095567196608,
-0.04262420907616615,
0.04417615011334419,
0.011025992222130299,
0.041541460901498795,
0.006027301773428917,
-0.04056698828935623,
-0.01813604310154915,
0.026996536180377007,
0.05478708818554878,
-0.09354949742555618,
0.010656052269041538,
0.0323200523853302,
0.041794102638959885,
0.052116308361291885,
-0.03026282973587513,
0.07932939380407333,
0.08315511047840118,
0.030172599479556084,
-0.04738830402493477,
-0.02095118910074234,
-0.07615333050489426,
-0.01188316848129034,
-0.018551096320152283,
0.03912332281470299,
0.012956894002854824,
0.014761474914848804,
-0.007380737457424402,
-0.0206805020570755,
0.021925663575530052,
0.050564367324113846,
-0.062005415558815,
0.020608318969607353,
0.05821579322218895,
-0.06604767590761185,
-0.018451843410730362,
0.021420380100607872,
-0.012704252265393734,
0.0008724022773094475,
-0.04984253644943237,
0.010277090594172478,
0.026166429743170738,
-0.03381785377860069,
0.02201589196920395,
-0.05327124148607254,
0.039448149502277374,
-0.014400558546185493,
-0.006049858871847391,
0.02638297900557518,
-0.0389067716896534,
0.06492883712053299,
0.02557091787457466,
0.04320167750120163,
0.03257269412279129,
-0.01671944558620453,
-0.016746515408158302,
-0.007719096727669239,
-0.010529732331633568,
-0.010033472441136837,
-0.018280409276485443,
0.037860117852687836,
0.04551154002547264,
-0.041288819164037704,
-0.026707803830504417,
-0.026509299874305725,
0.010159793309867382,
0.0335652120411396,
0.023098640143871307,
0.004985156003385782,
-0.02246703766286373,
0.021673021838068962,
-0.0010951552540063858,
0.06608376652002335,
0.031886953860521317,
0.029306400567293167,
0.008693570271134377,
-0.031129028648138046,
0.018984194844961166,
0.016692377626895905,
0.012866664677858353,
0.08972378075122833,
-0.015302849933505058,
-0.01728788949549198,
-0.00036768344580195844,
0.06853799521923065,
0.010962831787765026,
-0.03973688185214996,
-0.021257968619465828,
0.013759932480752468,
-0.043562594801187515,
-0.01165759563446045,
0.048001863062381744,
-0.02688826248049736,
-0.007042378652840853,
0.006108507979661226,
-0.04713566601276398,
0.015311872586607933,
0.02721308544278145,
0.021582793444395065,
0.013922344893217087,
-0.010800419375300407,
-0.01654801145195961,
-0.03930377960205078,
0.033493030816316605,
0.011865122243762016,
-0.04053089767694473,
0.07034257799386978,
0.005725034046918154,
0.004563334863632917,
-0.0016996900085359812,
-0.032735105603933334,
-0.06633640825748444,
-0.0018496958073228598,
0.03412463143467903,
-0.00555359898135066,
0.01961579918861389,
0.022557266056537628,
-0.060164742171764374,
-0.07059521973133087,
-0.014048665761947632,
0.052368950098752975,
0.01990453153848648,
-0.04681083932518959,
0.04190237820148468,
0.012189947068691254,
-0.01398550532758236,
-0.07644206285476685,
0.002781311050057411,
0.02353174053132534,
-0.03387198969721794,
-0.051611024886369705,
0.01514043752104044,
0.018415752798318863,
-0.0348825566470623,
0.12083476781845093,
0.0439956933259964,
0.03703000769019127,
-0.012839595787227154,
0.03771574795246124,
-0.037174373865127563,
-0.021131647750735283,
-0.05514800548553467,
0.030208691954612732,
0.0043715983629226685,
0.05078091844916344,
0.0076559362933039665,
0.010565823875367641,
0.024975406005978584,
-0.004240766167640686,
0.01423814706504345,
0.03807666525244713,
-0.011991443112492561,
0.072471983730793,
0.01943534053862095,
-0.015627674758434296,
-0.03394417464733124,
0.02844020165503025,
-0.008260470815002918,
0.020554181188344955,
0.029125941917300224,
0.011973396874964237,
-0.0349908322095871,
-0.002988837892189622,
0.022665541619062424,
0.00984399113804102,
-0.004800186492502689,
0.06027301773428917,
0.07615333050489426,
0.022430945187807083,
0.031688448041677475,
0.04002561420202255,
0.0010004147188737988,
-0.005919026676565409,
0.06528975069522858,
-0.030587652698159218,
-0.05244113504886627,
0.03517128899693489,
-0.05478708818554878,
-0.028404109179973602,
-0.009248479269444942,
-0.058865442872047424,
0.034774281084537506,
0.03574875742197037,
-0.10322204977273941,
-0.0068168058060109615,
-0.01319148950278759,
-0.01891201175749302,
0.028819164261221886,
0.005851354915648699,
0.019020287320017815,
0.03158017247915268,
0.03148994594812393,
-0.008887562900781631,
0.023658061400055885,
-0.013344879262149334,
-0.020897051319479942,
-0.004098655190318823,
0.04608900845050812,
-0.01963384449481964,
0.07398783415555954,
-0.0905899852514267,
0.03073202073574066,
0.005774660035967827,
0.0012508004438132048,
0.021636929363012314,
0.06316034495830536,
-0.03022673726081848,
0.053126875311136246,
-0.05063655227422714,
-0.03439531847834587,
0.06604767590761185,
-0.04056698828935623,
0.015763018280267715,
-0.072471983730793,
-0.010953808203339577,
0.001327495090663433,
-0.03203132003545761,
-0.009789853356778622,
0.05475099757313728,
0.034250952303409576,
0.0037219489458948374,
0.04500625655055046,
-0.04114445298910141,
-0.01961579918861389,
-0.03587507829070091,
0.005097942426800728,
-0.013931367546319962,
0.006523561663925648,
-0.02739354409277439,
0.10748086124658585,
0.051755391061306,
-0.03318624943494797,
-0.024109207093715668,
-0.013254649937152863,
0.01654801145195961,
0.01437349058687687,
0.002141812350600958,
-0.02096923440694809,
0.02039176970720291,
0.018496958538889885,
-0.026437116786837578,
0.06554239243268967,
-0.007678493391722441,
0.05193585157394409,
0.053126875311136246,
0.011558343656361103,
0.0019207512959837914,
-0.05489536374807358,
-0.04345431923866272,
0.009988357312977314,
0.05049218609929085,
-0.07113659381866455,
0.008892074227333069,
0.0009739099768921733,
0.05352388322353363,
0.007588264532387257,
0.008634922094643116,
0.04352650046348572,
0.04738830402493477,
-0.10257240384817123,
0.008883051574230194,
-0.03441336750984192,
0.03930377960205078,
-0.03977297246456146,
-0.03233809769153595,
0.057277411222457886,
0.018343569710850716,
0.033240389078855515,
0.02382047288119793,
0.05583374574780464,
-0.01228017546236515,
0.016322437673807144,
0.053162965923547745,
-0.013119306415319443,
-0.01086357980966568,
0.023621968924999237,
0.042804669588804245,
-0.04377914220094681,
-0.029306400567293167,
-0.03587507829070091,
0.022124167531728745,
-0.015555490739643574,
0.0029527461156249046,
-0.012108740396797657,
-0.04572809115052223,
-0.006753645837306976,
0.0019444363424554467,
-0.0035437466576695442,
0.03049742430448532,
-0.03177867829799652,
-0.06817708164453506,
-0.03284338116645813,
-0.04580027237534523,
-0.02979363687336445,
-0.03264487534761429,
0.07095614075660706,
0.013335855677723885,
0.01644875854253769,
-0.012207992374897003,
0.005030270665884018,
0.020012807101011276,
-0.008648456074297428,
-0.02511977218091488,
0.01994062401354313,
-0.04089181125164032,
-0.00996128935366869,
0.034792326390743256,
0.041469279676675797,
-0.010899671353399754,
-0.048543237149715424,
0.023928748443722725,
0.041361004114151,
0.024975406005978584,
0.029378583654761314,
0.00621227128431201,
-0.02015717327594757,
-0.03591116890311241,
0.05244113504886627,
-0.034792326390743256,
0.03080420382320881,
0.007913089357316494,
0.04038653150200844,
-0.019290974363684654,
0.01022295281291008,
0.14184008538722992,
0.02481299266219139,
0.04659428820014,
0.017901446670293808,
-0.015817156061530113,
-0.030677882954478264,
-0.0349908322095871,
0.042263295501470566,
0.01744127832353115,
-0.0465581975877285,
0.06572285294532776,
-0.055725470185279846,
-0.011910236440598965,
0.0022782839369028807,
0.010628984309732914,
-0.07947376370429993,
-0.026563437655568123,
-0.009519166313111782,
0.02123992145061493,
0.03253659978508949,
0.00665439385920763,
0.023333236575126648,
-0.009293593466281891,
0.01423814706504345,
0.03304188326001167,
0.024993451312184334,
0.021294059231877327,
-0.003458028892055154,
-0.032446373254060745,
0.033763717859983444,
-0.021059464663267136,
0.026292750611901283,
-0.02484908513724804,
0.018821783363819122,
-0.02818755991756916,
-0.02327909879386425,
0.011413976550102234,
-0.05821579322218895,
0.03354716673493385,
0.02044590562582016,
-0.010511686094105244,
-0.0061445995233953,
0.05771050974726677,
-0.0193631574511528,
-0.0032708037178963423,
-0.007710073608905077,
0.0544261708855629,
0.02039176970720291,
-0.04944552853703499,
-0.030858339741826057,
0.013155397959053516,
-0.01239747367799282,
0.02688826248049736,
-0.0440678745508194,
-0.007425852119922638,
-0.0018011977663263679,
-0.03836539760231972,
0.04471752420067787,
0.026040108874440193,
0.049048520624637604,
0.011477136984467506,
-0.06240242347121239,
-0.036055535078048706,
-0.07896848022937775,
-0.05734959617257118,
-0.05413743853569031,
0.03136362507939339,
-0.012577931396663189,
-0.037643566727638245,
0.004777628928422928,
0.028765026479959488,
-0.030623745173215866,
0.0336734876036644,
-0.03055156208574772,
-0.024434031918644905,
-0.061427947133779526,
-0.07120878249406815,
0.03302383795380592,
-0.02046395279467106,
-0.04973426088690758,
-0.028602613136172295,
0.07016212493181229,
-0.05078091844916344,
0.0037557848263531923,
0.055220186710357666,
0.008025875315070152,
-0.010466571897268295,
-0.03073202073574066,
-0.017603691667318344,
-0.03181476891040802,
0.0905177965760231,
0.032157640904188156,
-0.05478708818554878,
0.02874698117375374,
-0.05655558034777641,
0.07272462546825409,
0.006482958327978849,
0.009699624963104725,
-0.07723607867956161,
-0.05222458392381668,
-0.02407311461865902,
0.015230665914714336,
-0.0388706810772419,
-0.03829321637749672,
0.01357045117765665,
0.04940943792462349,
-0.08207236230373383,
-0.022701632231473923,
0.04327385872602463,
0.0021903105080127716,
-0.01813604310154915,
0.00121019734069705,
-0.05558110401034355,
0.05980382487177849,
-0.06622813642024994,
0.005869400687515736,
-0.044356610625982285,
0.008152196183800697,
-0.05659167096018791,
0.01819920353591442,
0.02403702400624752,
-0.0002847854921128601,
0.01343510765582323,
0.03948424011468887,
-0.042768578976392746,
-0.004432502668350935,
0.031688448041677475,
-0.03001018799841404,
0.013065168634057045,
0.01511336863040924,
0.03962860628962517,
0.006049858871847391,
0.004026472102850676,
-0.006974706891924143,
0.06135576590895653,
-0.04450097680091858,
-0.00995226576924324,
0.03132753074169159,
-0.010737258940935135,
0.02172715961933136,
-0.035333700478076935,
-0.0035708153154700994,
-0.017387140542268753,
0.0034986319951713085,
-0.0880635678768158,
0.029577087610960007,
0.013182466849684715,
-0.02789882756769657,
-0.06150013208389282,
-0.03618185594677925,
0.010304159484803677,
0.051105741411447525,
-0.00959134940057993,
-0.03977297246456146,
0.009898128919303417,
-0.007971738465130329,
-0.0022861789911985397,
0.06814099103212357,
0.0018688695272430778,
-0.03049742430448532,
-0.028566522523760796,
0.0014820124488323927,
-0.0024406963493674994,
-0.02017521858215332,
0.05121401697397232,
0.017522484064102173,
0.03407049551606178,
-0.009194341488182545,
-0.028801117092370987,
-0.02746572718024254,
-0.031959135085344315,
0.0012508004438132048,
-0.00672206562012434,
0.04219111055135727,
0.000762435607612133,
-0.030208691954612732,
0.023152777925133705,
0.018325522541999817,
0.017739035189151764,
-0.009871060028672218,
-0.061175305396318436,
-0.06030910834670067,
-0.011558343656361103,
0.000058366927987663075,
-0.03731874004006386,
0.019976714625954628,
0.010304159484803677,
-0.026581482961773872,
0.040206070989370346,
-0.05222458392381668,
0.015293826349079609,
0.03001018799841404,
-0.024145297706127167,
0.011305701918900013,
-0.016304392367601395,
0.046413831412792206,
0.004236254841089249,
-0.005932561121881008,
-0.029919957742094994,
-0.03782402351498604,
0.00864394474774599,
-0.023459557443857193,
-0.0040512848645448685,
-0.0028016124852001667,
0.003906918689608574,
-0.024704718962311745,
0.072471983730793,
0.01475245226174593,
-0.03381785377860069,
-0.00492199556902051,
-0.06420700252056122,
0.02979363687336445,
0.008580784313380718,
-0.03643449768424034,
-0.02869284339249134,
-0.0016760049620643258,
-0.03677736595273018,
0.018749600276350975,
0.07290508598089218,
-0.010250021703541279,
-0.03392612934112549,
0.006798760034143925,
0.001969249453395605,
-0.003807666478678584,
-0.010583869181573391,
0.04681083932518959,
-0.015438193455338478,
0.016105888411402702,
-0.035568296909332275,
-0.008544692769646645,
-0.010520708747208118,
-0.08041214197874069,
-0.08293855935335159,
0.01475245226174593,
-0.037390924990177155,
-0.022827953100204468,
0.014436651021242142,
-0.0019365412881597877,
0.024145297706127167,
-0.01916465349495411,
-0.02952294982969761,
-0.02170911245048046,
-0.05402916669845581,
0.008246936835348606,
0.011432022787630558,
0.027772506698966026,
0.03148994594812393,
0.004215952940285206,
-0.0028737958054989576,
0.018280409276485443,
-0.01887592114508152,
0.030605699867010117,
-0.013408039696514606,
0.013182466849684715,
-0.037066102027893066,
0.02407311461865902,
0.07442093640565872,
0.02353174053132534,
0.00031636565108783543,
0.006943126674741507,
0.023477602750062943,
-0.05406525731086731,
-0.025444597005844116,
0.010493640787899494,
0.012496725656092167,
-0.003527956549078226,
0.01633146032691002,
0.024704718962311745,
-0.018749600276350975,
0.04522280767560005,
-0.023477602750062943,
0.02277381718158722,
0.06536193192005157,
0.08438222110271454,
-0.02246703766286373,
0.030677882954478264,
-0.046413831412792206,
-0.03822103142738342,
0.019020287320017815,
0.04937334358692169,
0.015203597955405712,
-0.038654133677482605,
0.06442355364561081,
-0.02744768187403679,
0.008328142575919628,
-0.011350816115736961,
0.045114532113075256,
0.01757662184536457,
0.05475099757313728,
0.043346043676137924,
-0.008089035749435425,
0.01449981052428484,
0.026040108874440193,
-0.010800419375300407,
-0.03962860628962517,
-0.001388399745337665,
-0.005170125514268875,
0.07940157502889633,
-0.012965916655957699,
0.011504205875098705,
0.0045294989831745625,
-0.04421224072575569,
0.03441336750984192,
-0.013272695243358612,
-0.06085048243403435,
-0.018749600276350975,
0.008170241490006447,
-0.08156707882881165,
-0.022124167531728745,
-0.006514538545161486,
-0.02822365239262581,
-0.03125534951686859,
-0.01889396645128727,
-0.0673830658197403,
0.009000349789857864,
0.03004627861082554,
-0.032157640904188156,
-0.06442355364561081,
-0.003999403212219477,
0.004152792971581221,
-0.026491254568099976,
-0.037427015602588654,
0.004373854026198387,
0.013796024024486542,
0.012577931396663189,
-0.0006620557978749275,
-0.01643071323633194,
-0.02223244123160839,
-0.00039898164686746895,
0.05052827671170235,
-0.027014583349227905,
0.0491207018494606,
-0.03253659978508949,
-0.019760165363550186,
-0.11953546851873398,
0.03132753074169159,
0.01373286359012127,
0.004312949255108833,
-0.025516780093312263,
-0.005512996111065149,
0.05002299323678017,
0.03466600552201271,
-0.001244033221155405,
0.0349186472594738,
-0.0067671798169612885,
0.006595744751393795,
-0.003417425788938999,
0.015474284999072552,
0.03439531847834587,
-0.029342493042349815,
-0.0005983315058983862,
-0.028025148436427116,
0.03183281421661377,
-0.03618185594677925,
-0.011955351568758488,
0.026328841224312782,
-0.06131967157125473,
0.047460488975048065,
0.007881509140133858,
0.022593358531594276,
0.017251797020435333,
-0.018406730145215988,
0.03136362507939339,
-0.04161364585161209,
-0.04890415444970131,
-0.006591233424842358,
-0.004394155461341143,
-0.007904065772891045,
0.03497278690338135,
-0.018839828670024872,
0.010015426203608513,
-0.05449835583567619,
0.08048433065414429,
-0.014923887327313423,
0.048001863062381744,
0.02382047288119793,
0.0621136873960495,
-0.01710743084549904,
-0.06651686877012253,
0.028349973261356354,
-0.018424775451421738,
0.011053060181438923,
-0.00407384242862463,
0.012722298502922058,
-0.015086299739778042,
0.019778210669755936,
0.024524260312318802,
0.0036993916146457195,
-0.08135052770376205,
-0.012406496331095695,
0.01757662184536457,
-0.04089181125164032,
0.026292750611901283,
0.005801728926599026,
-0.053632158786058426,
0.058360159397125244,
0.03861803933978081,
-0.03800448402762413,
-0.015239689499139786,
-0.004249788820743561,
-0.009627440944314003,
0.023351281881332397,
0.005034781992435455,
-0.04042262211441994,
-0.00121019734069705,
-0.038942866027355194,
0.018451843410730362,
0.01862327940762043,
0.002564761321991682,
-0.0595150925219059,
0.018839828670024872
] |
713,389
|
xmlschema.validators.schemas
|
get_locations
|
Get a list of location hints for a namespace.
|
def get_locations(self, namespace: str) -> List[str]:
"""Get a list of location hints for a namespace."""
try:
return list(self.locations[namespace])
except KeyError:
return []
|
(self, namespace: str) -> List[str]
|
[
0.014255792833864689,
-0.029704611748456955,
0.005005521234124899,
-0.0728956013917923,
-0.0016598618822172284,
0.06511499732732773,
-0.004108590539544821,
-0.017298873513936996,
0.08243981003761292,
-0.03866095095872879,
-0.033249109983444214,
-0.038591790944337845,
-0.017143260687589645,
-0.058648452162742615,
0.008204213343560696,
0.033145368099212646,
-0.05705775320529938,
0.02635030820965767,
-0.05014166235923767,
-0.01134238950908184,
-0.018880929797887802,
-0.044332146644592285,
-0.003416981315240264,
-0.0722731500864029,
-0.011662258766591549,
0.049934178590774536,
0.05453338101506233,
-0.06622157245874405,
0.027249399572610855,
-0.012025353498756886,
-0.07185819000005722,
-0.0310013797134161,
-0.0024011803325265646,
-0.00138321821577847,
-0.005511260125786066,
-0.003021467477083206,
0.04360595718026161,
0.00041226387838833034,
0.027283979579806328,
0.017843514680862427,
-0.00556745333597064,
-0.009613366797566414,
-0.021059498190879822,
-0.017419904470443726,
0.02595263160765171,
0.029272357001900673,
-0.035998255014419556,
-0.011255938559770584,
0.004789393395185471,
0.010763167403638363,
0.015327787026762962,
-0.002239084569737315,
-0.049795858561992645,
-0.003337014000862837,
-0.0053340354934334755,
0.032298147678375244,
0.0009887849446386099,
0.03949088230729103,
0.044608790427446365,
0.051974426954984665,
0.05076410993933678,
-0.055536214262247086,
0.020540790632367134,
-0.003514238866046071,
-0.008437631651759148,
-0.029549000784754753,
0.030223319306969643,
-0.056020338088274,
-0.0409778393805027,
0.023168906569480896,
0.0038168178871273994,
-0.04768645018339157,
-0.04440130665898323,
-0.032972466200590134,
0.06705150753259659,
-0.0003536391886882484,
0.030292479321360588,
0.02553766779601574,
0.016987649723887444,
-0.022996002808213234,
-0.07248063385486603,
0.020264146849513054,
0.0051481653936207294,
0.01953795738518238,
0.07116658240556717,
0.010598910041153431,
0.020834725350141525,
0.03810766339302063,
0.009258917532861233,
0.0018932799575850368,
-0.06929923593997955,
-0.0012924445327371359,
0.0255549568682909,
0.01941692642867565,
-0.031606536358594894,
-0.00798376277089119,
-0.02403341792523861,
-0.07434798032045364,
-0.04817057400941849,
0.014307663775980473,
0.02036788873374462,
-0.05024540424346924,
0.010823682881891727,
0.04315640777349472,
0.050591208040714264,
0.006903123576194048,
-0.05027998238801956,
-0.009120595641434193,
0.011376970447599888,
0.02992938458919525,
-0.007214347831904888,
-0.03390613570809364,
0.04789393022656441,
0.050867851823568344,
0.027664365246891975,
0.007097638677805662,
-0.005351325497031212,
-0.010469233617186546,
0.010227169841527939,
0.009656592272222042,
-0.022183362394571304,
0.0486547015607357,
-0.0000300383944704663,
-0.01127322856336832,
0.03226356580853462,
0.020125824958086014,
-0.031226152554154396,
0.049657534807920456,
-0.01508572418242693,
-0.022615619003772736,
0.05584743618965149,
-0.047167740762233734,
-0.043502215296030045,
-0.0037930437829345465,
0.011074391193687916,
0.0007564474944956601,
0.0507986918091774,
-0.002239084569737315,
-0.005312422756105661,
0.042810603976249695,
-0.0023190518841147423,
0.04737522453069687,
-0.009570141322910786,
-0.031364474445581436,
-0.04851638153195381,
0.029013002291321754,
0.004858554340898991,
0.01791267655789852,
-0.00867969449609518,
-0.07434798032045364,
0.006436287425458431,
-0.016762876883149147,
-0.019503377377986908,
0.0014458952937275171,
-0.0641467496752739,
-0.024500252678990364,
-0.029427967965602875,
0.001140074455179274,
0.02866719849407673,
-0.02797558903694153,
-0.03264395147562027,
-0.04478169232606888,
-0.04042455181479454,
-0.05529414862394333,
0.028459714725613594,
0.022996002808213234,
0.01372844073921442,
0.009440464898943901,
-0.03478793799877167,
-0.011766000650823116,
-0.05844097211956978,
-0.002753468928858638,
0.028373263776302338,
0.017393968999385834,
0.051559459418058395,
-0.004447911400347948,
-0.01900196075439453,
0.01832764223217964,
0.01886363886296749,
0.051974426954984665,
-0.016866616904735565,
-0.024396512657403946,
-0.023013293743133545,
0.015466108918190002,
-0.01442005019634962,
0.030344350263476372,
-0.003538012970238924,
0.007041445467621088,
0.008571630343794823,
0.06642905622720718,
0.011013875715434551,
0.015042498707771301,
0.0287017785012722,
0.05370344966650009,
-0.05370344966650009,
-0.008550018072128296,
-0.026817142963409424,
0.020437050610780716,
-0.09357471764087677,
-0.004962295293807983,
0.01613178290426731,
-0.006937704049050808,
-0.009457754902541637,
0.06549538671970367,
0.0472714826464653,
0.07064787298440933,
-0.011178132146596909,
-0.032592080533504486,
-0.03186589106917381,
0.035323936492204666,
-0.010521103627979755,
-0.013045476749539375,
-0.029566289857029915,
-0.05000333860516548,
0.006643770262598991,
0.02323806658387184,
0.019313184544444084,
0.04194609448313713,
-0.022460006177425385,
0.012051288969814777,
0.09696359932422638,
-0.06359346210956573,
0.024500252678990364,
-0.005014166235923767,
-0.016762876883149147,
0.008225825615227222,
0.03997500613331795,
-0.05615866184234619,
-0.009717108681797981,
-0.029255066066980362,
0.039248816668987274,
-0.026402179151773453,
-0.004962295293807983,
-0.008018343709409237,
0.056608207523822784,
0.015881074592471123,
0.007551507093012333,
0.00689447857439518,
0.08216316252946854,
0.0017441518139094114,
-0.04709858074784279,
-0.013209734112024307,
-0.024102577939629555,
0.026955464854836464,
-0.02826952375471592,
0.03335285186767578,
-0.01734209805727005,
-0.03278227150440216,
0.08430714905261993,
-0.011852451600134373,
-0.04153112694621086,
0.06667111814022064,
-0.008779113180935383,
-0.0458882637321949,
-0.006150998640805483,
-0.04668361693620682,
-0.06428506970405579,
-0.012933090329170227,
0.02787184715270996,
-0.040355391800403595,
-0.01127322856336832,
0.01759280636906624,
-0.006107773166149855,
0.025866180658340454,
-0.020022084936499596,
0.019572537392377853,
0.025070831179618835,
-0.002286632778123021,
-0.06480377167463303,
0.04059745743870735,
0.07268811762332916,
0.07324140518903732,
-0.05868303403258324,
0.006440610159188509,
0.020696403458714485,
0.04315640777349472,
0.059893351048231125,
0.04412466287612915,
-0.03290330246090889,
-0.007456410676240921,
0.01378895714879036,
0.038868434727191925,
-0.0051697781309485435,
0.014177987352013588,
0.03866095095872879,
-0.04668361693620682,
-0.02306516468524933,
0.025364764034748077,
-0.02894384227693081,
0.016321975737810135,
0.023964256048202515,
-0.020696403458714485,
-0.010106137953698635,
-0.01844867318868637,
0.04900050535798073,
0.037623535841703415,
-0.0206445325165987,
0.014316309243440628,
0.009846785105764866,
-0.0004214493092149496,
-0.04571536183357239,
0.010382781736552715,
0.026799853891134262,
0.04792851209640503,
0.05339222401380539,
0.01064213551580906,
0.023929676041007042,
-0.0423610582947731,
0.018811767920851707,
-0.03248833864927292,
0.0014210406225174665,
-0.04945005103945732,
-0.0006138031021691859,
-0.06971420347690582,
-0.01071129646152258,
0.011083036661148071,
-0.07310308516025543,
-0.021906718611717224,
-0.01801641844213009,
0.051421139389276505,
-0.034079041332006454,
0.045680783689022064,
0.06366261839866638,
-0.05173236131668091,
-0.00007294314855244011,
0.033819686621427536,
0.013832182623445988,
0.020385179668664932,
0.010624845512211323,
-0.029946675524115562,
-0.0007737377309240401,
-0.0686076283454895,
-0.045819103717803955,
-0.006008354481309652,
0.0030733379535377026,
0.002677824115380645,
0.008999563753604889,
-0.0108582628890872,
0.004491136875003576,
-0.01775706373155117,
0.025347474962472916,
-0.034372974187135696,
-0.03834972530603409,
0.06027373671531677,
-0.005079004447907209,
0.013149218633770943,
-0.011238648556172848,
0.019624408334493637,
-0.0051006171852350235,
-0.019710859283804893,
-0.03425194323062897,
0.018396802246570587,
-0.028234941884875298,
0.024655865505337715,
0.02690359577536583,
-0.0019019250757992268,
0.006380094215273857,
0.0009709543664939702,
-0.0023341807536780834,
0.09412800520658493,
-0.005178423132747412,
-0.011809226125478745,
0.0015766526339575648,
-0.02334180846810341,
0.041704028844833374,
0.011143552139401436,
0.09046247601509094,
-0.0156908817589283,
0.037900179624557495,
-0.046372391283512115,
-0.041600290685892105,
-0.01759280636906624,
-0.01722106710076332,
-0.008199891075491905,
-0.018898218870162964,
-0.03432110324501991,
0.09378219395875931,
0.0066653829999268055,
-0.07078619301319122,
0.021681945770978928,
0.005200036335736513,
-0.0007580684614367783,
0.02704191766679287,
0.022840391844511032,
-0.025312894955277443,
-0.0000792919090599753,
-0.03535851836204529,
-0.014774500392377377,
-0.06217566132545471,
0.06376636028289795,
0.035687029361724854,
-0.035859934985637665,
-0.02884010039269924,
0.03333555907011032,
-0.042395640164613724,
-0.004218815825879574,
-0.015137595124542713,
-0.01993563398718834,
0.02868448942899704,
-0.022736649960279465,
0.02432735078036785,
-0.06902258843183517,
-0.03003312647342682,
0.037761859595775604,
0.008649436756968498,
-0.033525753766298294,
0.0075471848249435425,
0.001725780894048512,
-0.015128949657082558,
-0.028044750913977623,
-0.022632908076047897,
-0.035998255014419556,
0.0686076283454895,
-0.012829349376261234,
0.004711586982011795,
0.011160842142999172,
-0.09094659984111786,
0.08638197928667068,
0.019313184544444084,
-0.0005284326034598053,
-0.01882905885577202,
-0.0974477231502533,
0.056089501827955246,
0.019365055486559868,
0.045957427471876144,
-0.025762440636754036,
-0.037346892058849335,
-0.0385226272046566,
-0.02814849093556404,
-0.010962004773318768,
-0.01161903329193592,
0.05270061641931534,
-0.0033564656041562557,
-0.07829014956951141,
0.0053340354934334755,
-0.03672444447875023,
0.010797747410833836,
-0.017272938042879105,
0.005230294074863195,
-0.013909988105297089,
0.030897637829184532,
0.0136592797935009,
0.013979149051010609,
0.0682964026927948,
-0.0037433344405144453,
-0.0003887599741574377,
-0.060965344309806824,
0.007590410299599171,
0.011887031607329845,
-0.03807308152318001,
-0.07877428084611893,
-0.08167903870344162,
0.05754188075661659,
0.028217652812600136,
-0.012129095382988453,
0.034372974187135696,
-0.04585368558764458,
-0.005161133129149675,
-0.054567959159612656,
-0.01882905885577202,
0.014912821352481842,
0.013313475996255875,
0.01898466981947422,
-0.0409778393805027,
0.01250083465129137,
-0.03876469284296036,
-0.006367126479744911,
-0.012405739165842533,
0.007473701145499945,
0.01599346101284027,
-0.004257718566805124,
0.011463421396911144,
-0.05093701183795929,
-0.08382302522659302,
0.01379760168492794,
0.02650591917335987,
0.0068512530997395515,
0.05104075372219086,
0.04464336857199669,
-0.01748041994869709,
-0.01981460116803646,
-0.051421139389276505,
-0.010694006457924843,
0.002671340247616172,
0.017584161832928658,
-0.039248816668987274,
0.01708274520933628,
-0.03969836235046387,
-0.06348972022533417,
0.0010357927531003952,
0.03226356580853462,
0.011567162349820137,
-0.022511877119541168,
-0.0669131800532341,
0.03395800665020943,
0.03184860199689865,
0.06971420347690582,
0.01941692642867565,
-0.003978913649916649,
0.041461966931819916,
0.03273040056228638,
-0.031744860112667084,
0.0192613136023283,
0.03765811771154404,
0.01596752554178238,
-0.0339234285056591,
0.012327932752668858,
-0.009155175648629665,
0.018932800740003586,
0.005727387964725494,
-0.0015712494496256113,
0.04042455181479454,
0.06466545164585114,
0.006764801684767008,
-0.0031014347914606333,
-0.010633490048348904,
-0.03828056529164314,
0.03171027824282646,
0.027283979579806328,
0.07123573869466782,
-0.03293788433074951,
0.03662070259451866,
0.04779019206762314,
-0.010650780983269215,
0.01612313836812973,
-0.030344350263476372,
0.016866616904735565,
-0.025191862136125565,
-0.07898176461458206,
-0.0045689428225159645,
0.06348972022533417,
-0.030015835538506508,
0.011108971200883389,
0.005472357384860516,
0.016909843310713768,
0.06594493240118027,
0.01098794024437666,
-0.06217566132545471,
-0.02118052914738655,
0.036828186362981796,
0.028217652812600136,
0.03098408877849579,
-0.021249691024422646,
0.028044750913977623,
0.029531709849834442,
0.04851638153195381,
-0.05992792919278145,
-0.030084997415542603,
0.015103014186024666,
0.03143363445997238,
0.10332640260457993,
-0.029566289857029915,
0.015647657215595245,
-0.014912821352481842,
0.006916091311722994,
-0.054014671593904495,
-0.0013994278851896524,
-0.029860224574804306,
-0.025710569694638252,
0.009794914163649082,
0.007387250196188688,
0.017696548253297806,
-0.05467170104384422,
0.033508460968732834,
-0.0507986918091774,
0.016762876883149147,
-0.006163966376334429,
-0.022425426170229912,
-0.08873344957828522,
0.042672283947467804,
-0.0025459860917180777,
-0.04754812642931938,
0.0038557208608835936,
-0.012933090329170227,
-0.007819505408406258,
0.02553766779601574,
0.045404139906167984,
-0.0437442772090435,
0.022771229967474937,
-0.05010708048939705,
0.033249109983444214,
0.021751107648015022,
0.034770648926496506,
0.013149218633770943,
0.06573744863271713,
0.07718358188867569,
-0.01912299171090126,
-0.004149654880166054,
0.06144947186112404,
-0.02226981334388256,
0.016313331201672554,
0.03665528446435928,
0.061933595687150955,
-0.023739483207464218,
0.01667642593383789,
-0.03017144836485386,
-0.07344888895750046,
-0.02337638847529888,
-0.010728586465120316,
-0.014238502830266953,
0.018742607906460762,
0.03250562772154808,
0.022356264293193817,
-0.013010896742343903,
0.017705192789435387,
-0.006976607255637646,
0.022615619003772736,
-0.007473701145499945,
-0.03364678472280502,
0.029064873233437538,
-0.058786775916814804,
-0.0750395879149437,
0.0799500122666359,
-0.06611783057451248,
-0.049519214779138565,
-0.032592080533504486,
0.026004502549767494,
0.043502215296030045,
0.014394114725291729,
-0.021128658205270767,
0.012803413905203342,
-0.016771521419286728,
0.044712528586387634,
0.035721611231565475,
0.04837805777788162,
-0.020143115893006325,
-0.028442425653338432,
0.0029306935612112284,
-0.0005219487356953323,
0.017722483724355698,
0.009881365112960339,
0.01706545427441597,
0.040355391800403595,
-0.0799500122666359,
-0.030672864988446236,
0.008731565438210964,
0.02417173981666565,
-0.08735023438930511,
-0.023289937525987625,
0.01305412221699953,
-0.047997672110795975,
0.019901052117347717,
0.03582535311579704,
0.02565869875252247,
-0.012103159911930561,
-0.020955756306648254,
-0.04125448316335678,
0.030275190249085426,
0.05391092970967293,
0.013555538840591908,
0.018362222239375114,
0.03772727772593498,
0.014765854924917221,
0.029566289857029915,
0.026540501043200493,
0.031191570684313774,
-0.0890100970864296,
-0.013763021677732468,
0.02524373307824135,
-0.04429756477475166,
-0.0068512530997395515,
0.014221212826669216,
-0.07248063385486603,
0.02839055471122265,
-0.04983043670654297,
-0.009077370166778564,
-0.03686276823282242,
0.013365346007049084,
0.017393968999385834,
0.0185697041451931,
0.029877513647079468,
0.04602658748626709,
0.0071970573626458645,
0.0518706850707531,
-0.048550959676504135,
0.02607366442680359,
0.007097638677805662,
-0.03551412746310234,
-0.010728586465120316,
-0.029808353632688522,
0.0017722484190016985,
-0.05232023075222969,
-0.004715909715741873,
0.025918051600456238,
0.005130875390022993,
0.0819556787610054,
-0.015146239660680294,
0.002721049590036273,
0.02866719849407673,
0.004298782907426357,
0.0067129312083125114,
-0.0170741006731987,
0.0480322539806366,
0.07974253594875336,
0.05055662617087364,
0.06055038049817085,
-0.0015690881991758943,
-0.03665528446435928,
0.04409008100628853,
-0.03592909500002861,
0.030914928764104843,
0.01467075850814581,
-0.025191862136125565,
-0.018465964123606682,
0.02814849093556404,
-0.0003976752341259271,
0.003985397517681122,
-0.021145949140191078,
-0.06355887651443481,
0.08154071867465973,
0.025503085926175117,
-0.042948927730321884,
0.02048891969025135,
-0.07050955295562744,
0.026575081050395966,
-0.044159241020679474,
0.008104794658720493,
-0.03319723904132843,
0.03731231391429901,
-0.020558081567287445,
0.047859352082014084,
0.03997500613331795,
-0.010486523620784283,
0.013114637695252895,
0.02513999119400978,
0.06286726891994476,
0.006263385061174631,
0.0033391753677278757,
-0.05283893644809723,
0.013322120532393456,
-0.03931798040866852,
0.03914507478475571,
-0.05664278566837311,
0.03179673105478287,
-0.005437776912003756,
0.003490464761853218,
0.0057144202291965485,
0.03088034689426422,
-0.047859352082014084,
0.014835015870630741,
0.052942678332328796,
0.0206445325165987,
0.006544351577758789,
0.050729528069496155,
-0.02456941455602646,
-0.04315640777349472,
-0.012950381264090538,
-0.03962920233607292,
-0.02787184715270996,
0.03807308152318001,
0.02648863010108471,
0.04817057400941849,
0.021353431046009064,
-0.037104830145835876,
-0.02842513471841812,
-0.0626252070069313,
0.04135822504758835,
-0.05992792919278145,
-0.008135052397847176,
-0.003931365441530943,
-0.11231732368469238,
-0.008562985807657242,
-0.024915218353271484,
0.03439026325941086,
-0.0004522475355770439,
0.005757646169513464,
-0.03428652137517929,
0.0008547856705263257
] |
713,390
|
xmlschema.validators.schemas
|
get_schema
|
Returns the first schema loaded for a namespace. Raises a
`KeyError` if the requested namespace is not loaded.
|
def get_schema(self, namespace: str) -> SchemaType:
"""
Returns the first schema loaded for a namespace. Raises a
`KeyError` if the requested namespace is not loaded.
"""
try:
return cast(SchemaType, self.maps.namespaces[namespace][0])
except KeyError:
if not namespace:
return self
msg = _('the namespace {!r} is not loaded')
raise XMLSchemaKeyError(msg.format(namespace)) from None
|
(self, namespace: str) -> Optional[~T]
|
[
0.021587815135717392,
0.030929049476981163,
-0.005640598013997078,
-0.04262398183345795,
0.03528706729412079,
0.029678648337721825,
0.07509764283895493,
-0.013837164267897606,
0.07197163999080658,
-0.01066518947482109,
-0.04641196131706238,
-0.008178177289664745,
-0.03208750858902931,
-0.00979174766689539,
-0.00007208053284557536,
0.02971542440354824,
-0.026515867561101913,
0.06950761377811432,
-0.03105776757001877,
0.009736582636833191,
-0.0030225699301809072,
0.010233065113425255,
0.005447521340101957,
-0.008807975798845291,
0.017827415838837624,
0.01384635828435421,
0.017900967970490456,
-0.057555247098207474,
0.051560673862695694,
-0.009561894461512566,
-0.014839324168860912,
-0.01504159439355135,
0.04876565933227539,
0.015253059566020966,
0.012816615402698517,
0.04707393795251846,
-0.027986928820610046,
-0.0023950706236064434,
0.03651908040046692,
-0.026240043342113495,
0.01425089966505766,
-0.029329271987080574,
-0.028005316853523254,
-0.05406147614121437,
0.027306562289595604,
0.035415783524513245,
0.021036166697740555,
0.03468025475740433,
-0.004946441389620304,
0.03370567783713341,
0.024272499606013298,
0.02153264917433262,
-0.04788302257657051,
0.0028593740426003933,
-0.048103682696819305,
0.028336305171251297,
-0.054282136261463165,
-0.006311769597232342,
0.006890999618917704,
0.0343860425055027,
0.015225477516651154,
-0.040159955620765686,
0.0014549709158018231,
0.0631820559501648,
-0.03615131601691246,
-0.059651508927345276,
0.007387482561171055,
-0.05336272343993187,
-0.052590418606996536,
0.025964219123125076,
-0.014021046459674835,
0.019546717405319214,
-0.057371363043785095,
0.007042702753096819,
0.040159955620765686,
-0.016760896891355515,
0.023776017129421234,
-0.05266397073864937,
0.014177346602082253,
0.003431708551943302,
0.015390971675515175,
0.0062933810986578465,
-0.07862818986177444,
-0.007038105744868517,
0.02550451271235943,
0.030929049476981163,
0.04865533113479614,
0.022562392055988312,
-0.0031168097630143166,
-0.06391758471727371,
-0.05770235136151314,
-0.02195557951927185,
0.03291498124599457,
0.05457634851336479,
-0.004176433198153973,
-0.0701695904135704,
-0.042550429701805115,
-0.07671581208705902,
0.004475241992622614,
-0.008481583558022976,
0.012531598098576069,
-0.001691719749942422,
-0.011869620531797409,
0.03405505418777466,
0.04905987158417702,
0.06310850381851196,
0.01300049852579832,
0.008522957563400269,
-0.02971542440354824,
0.020852284505963326,
0.001967543503269553,
-0.013211962766945362,
0.054098255932331085,
0.08473309129476547,
0.006481860764324665,
-0.021734921261668205,
0.0167241208255291,
0.05865854397416115,
0.06285106390714645,
0.0001090366204152815,
-0.03539739549160004,
0.06340271234512329,
0.03719944506883621,
-0.03333790972828865,
0.11084441840648651,
0.002811104990541935,
0.015363389626145363,
-0.056562282145023346,
0.061600662767887115,
0.01711946725845337,
0.023665687069296837,
-0.001914677326567471,
-0.01798371598124504,
-0.0030202714260667562,
-0.031443919986486435,
0.00496023241430521,
0.01577712595462799,
0.006955358665436506,
-0.07219229638576508,
0.0578494593501091,
-0.0032340348698198795,
0.036702960729599,
0.029384436085820198,
-0.03887277841567993,
-0.05200199410319328,
0.017110273241996765,
-0.007309332489967346,
0.00798050407320261,
0.024107005447149277,
-0.005796898156404495,
-0.008472389541566372,
-0.07421500980854034,
0.021808473393321037,
0.021128108724951744,
-0.055164773017168045,
-0.03868889436125755,
-0.01967543549835682,
0.005369371268898249,
-0.037346553057432175,
-0.0803934633731842,
-0.0035834116861224174,
0.04346984252333641,
-0.04045416787266731,
-0.10540149360895157,
-0.007033508736640215,
0.0205580722540617,
0.022544004023075104,
0.03359534591436386,
-0.009143561124801636,
-0.01745045743882656,
-0.03561805561184883,
-0.0009820478735491633,
0.002245665993541479,
0.038321129977703094,
-0.025339018553495407,
0.03041417896747589,
0.009828523732721806,
0.006895596627146006,
0.022433673962950706,
0.03291498124599457,
0.04093226045370102,
-0.000011735084626707248,
-0.059761837124824524,
0.01658620871603489,
-0.018250346183776855,
0.07064768671989441,
-0.019178953021764755,
0.016246026381850243,
0.08399756252765656,
0.0499425083398819,
0.00701512023806572,
0.04328595846891403,
-0.02320598065853119,
-0.0014526724116876721,
-0.004734976217150688,
-0.029660260304808617,
-0.014085405506193638,
0.0017583771841600537,
-0.04736815020442009,
0.051818110048770905,
0.026920409873127937,
0.04468346759676933,
-0.004507421515882015,
0.05130323767662048,
0.01728496141731739,
0.030469343066215515,
0.017386097460985184,
0.000558830623049289,
-0.01793774589896202,
0.006311769597232342,
-0.05108258128166199,
-0.06310850381851196,
-0.048728883266448975,
-0.005704957060515881,
0.0075759622268378735,
-0.013386651873588562,
-0.0397186353802681,
-0.04876565933227539,
0.0060543338768184185,
-0.0010303170420229435,
0.042991746217012405,
0.03710750490427017,
0.039645083248615265,
-0.006118692923337221,
-0.035949043929576874,
-0.026240043342113495,
0.03868889436125755,
-0.07862818986177444,
-0.04199878126382828,
-0.01072035450488329,
0.02601938508450985,
-0.013478592969477177,
0.014278481714427471,
-0.03644552826881409,
0.08613059669733047,
-0.044242147356271744,
0.03982896730303764,
0.02320598065853119,
0.06711713969707489,
-0.0207971204072237,
0.031020991504192352,
-0.029421212151646614,
-0.05836433172225952,
0.007079479284584522,
-0.09002891182899475,
0.04755203425884247,
-0.03543417155742645,
-0.025099972262978554,
0.02811564691364765,
0.007199002895504236,
-0.06498410552740097,
0.02285660430788994,
0.05336272343993187,
-0.025339018553495407,
0.016898809000849724,
-0.08252649754285812,
-0.07344270497560501,
-0.0727071687579155,
0.03898310661315918,
-0.005190085619688034,
-0.014903683215379715,
0.022507227957248688,
0.008214954286813736,
0.03979219123721123,
-0.02248883992433548,
-0.05700359866023064,
-0.01700913906097412,
0.03754882141947746,
0.05556931346654892,
0.018664082512259483,
0.07678936421871185,
0.08716034144163132,
0.017110273241996765,
-0.011032954789698124,
0.007507006172090769,
-0.03521351516246796,
-0.0017917058430612087,
0.04946441203355789,
0.04004962369799614,
-0.009626252576708794,
0.00872522871941328,
-0.011961561627686024,
0.012154638767242432,
0.009672223590314388,
-0.020741954445838928,
0.014453170821070671,
-0.018756022676825523,
-0.06314527988433838,
-0.00941019132733345,
0.010527277365326881,
0.058253999799489975,
0.0015871365321800113,
-0.059835389256477356,
-0.003555829403921962,
-0.06270395964384079,
-0.014352034777402878,
-0.01049969531595707,
-0.013230351731181145,
0.0455293245613575,
0.03251044079661369,
-0.0005194682744331658,
-0.007948324084281921,
0.04420537129044533,
0.037879809737205505,
0.033301133662462234,
-0.011860426515340805,
-0.0023399058263748884,
-0.017367709428071976,
0.04196200519800186,
0.06538864225149155,
-0.05141356959939003,
0.022893380373716354,
-0.07303816080093384,
0.03377922996878624,
-0.014158958569169044,
0.045014455914497375,
-0.006803655531257391,
-0.0490230955183506,
0.007065688259899616,
0.07403112202882767,
-0.030285460874438286,
0.020944224670529366,
0.0631820559501648,
-0.03534223139286041,
-0.07803976535797119,
-0.005479700863361359,
-0.04685328155755997,
-0.009148158133029938,
-0.0027191636618226767,
-0.018847964704036713,
0.027674328535795212,
-0.038063693791627884,
0.0036776515189558268,
0.018636498600244522,
-0.018369870260357857,
-0.012559180147945881,
0.07292783260345459,
-0.08863139897584915,
-0.002484713215380907,
-0.008127610199153423,
0.06571963429450989,
-0.039645083248615265,
0.03069000132381916,
-0.04876565933227539,
0.007438050117343664,
-0.014499140903353691,
-0.0022491137497127056,
-0.004158044699579477,
0.024364441633224487,
-0.054980888962745667,
-0.0460074208676815,
-0.011970755644142628,
0.010334201157093048,
0.02072356641292572,
0.020263860002160072,
-0.036702960729599,
-0.048287563025951385,
0.05777590721845627,
-0.04788302257657051,
0.03931409493088722,
0.0005694613792002201,
0.01252240315079689,
-0.04302852228283882,
-0.0026088340673595667,
-0.03192201629281044,
0.0315910279750824,
-0.028869563713669777,
0.0007970160222612321,
-0.001583688659593463,
-0.0455293245613575,
0.009230905212461948,
-0.0003171974385622889,
-0.06825721263885498,
-0.009244696237146854,
-0.009736582636833191,
0.010030794888734818,
0.04883921146392822,
-0.0047717527486383915,
0.006118692923337221,
-0.038762446492910385,
0.042734310030937195,
-0.023426640778779984,
-0.010021600872278214,
0.006509443279355764,
-0.05192843824625015,
-0.0418148972094059,
-0.022360121831297874,
-0.060276709496974945,
-0.03993929550051689,
0.004293658304959536,
-0.009065411053597927,
-0.024051841348409653,
0.022268179804086685,
0.022360121831297874,
0.021551037207245827,
0.07197163999080658,
-0.05740813910961151,
-0.03230816870927811,
0.033816006034612656,
0.036905232816934586,
-0.007433453109115362,
-0.04700038582086563,
-0.01181445550173521,
0.07197163999080658,
-0.003332871710881591,
-0.03199556842446327,
0.012044308707118034,
0.009194129146635532,
-0.01886635273694992,
0.008817169815301895,
0.0188203826546669,
0.009754970669746399,
0.003211049595847726,
-0.05634162202477455,
0.015933426097035408,
0.02565161883831024,
0.042109109461307526,
0.0401967316865921,
0.007176017388701439,
0.053767263889312744,
-0.021311990916728973,
-0.0007625380530953407,
0.041300028562545776,
-0.036555856466293335,
-0.0047533647157251835,
-0.04615452513098717,
-0.027472056448459625,
0.01485771220177412,
-0.016200054436922073,
0.04346984252333641,
-0.03297014534473419,
0.04074838012456894,
0.0072449734434485435,
-0.09326524287462234,
0.02550451271235943,
-0.024143781512975693,
-0.019509941339492798,
-0.022010743618011475,
0.014085405506193638,
-0.03297014534473419,
0.06384403258562088,
-0.02408861741423607,
-0.016577014699578285,
0.020650014281272888,
-0.02997286058962345,
-0.01110650785267353,
-0.014609470963478088,
0.07840753346681595,
-0.03412860631942749,
0.0020192605443298817,
-0.050494156777858734,
-0.03103937953710556,
0.06799978017807007,
-0.005911824759095907,
0.02133037894964218,
-0.020925836637616158,
-0.03935087099671364,
-0.030469343066215515,
0.05597385764122009,
-0.012549986131489277,
-0.049170199781656265,
0.037346553057432175,
0.027324950322508812,
-0.05751847103238106,
-0.0014227913925424218,
0.02364729903638363,
-0.004167238716036081,
0.01577712595462799,
0.0808347836136818,
0.014131376519799232,
0.0025122957304120064,
0.018020492047071457,
0.005801495164632797,
-0.06167421489953995,
0.030046412721276283,
-0.017615951597690582,
0.02109133079648018,
-0.013754417188465595,
0.03730977326631546,
0.019160564988851547,
0.003822459140792489,
0.03721783310174942,
0.03157263994216919,
0.009672223590314388,
0.02576194889843464,
-0.0750240907073021,
-0.013074051588773727,
-0.028777623549103737,
-0.019988035783171654,
0.03677651658654213,
0.026148103177547455,
0.06641838699579239,
0.006343949120491743,
-0.015832290053367615,
0.04174134507775307,
-0.06799978017807007,
0.050052836537361145,
0.03607776015996933,
-0.007438050117343664,
0.02416217140853405,
0.04777269437909126,
-0.050494156777858734,
-0.0731852650642395,
0.0060727219097316265,
-0.019528329372406006,
-0.041042592376470566,
-0.07079479098320007,
-0.0005418789805844426,
0.08274716138839722,
-0.05556931346654892,
-0.04571320861577988,
0.012320132926106453,
0.0030225699301809072,
-0.005723345093429089,
-0.011924785561859608,
0.0014699113089591265,
0.018406646326184273,
0.007856382988393307,
0.04523511230945587,
0.009382608346641064,
-0.01455430593341589,
0.0024594294372946024,
-0.02362891100347042,
0.024143781512975693,
-0.0497218482196331,
-0.0006568055832758546,
0.004445361439138651,
-0.03501124307513237,
0.005571641959249973,
0.008214954286813736,
0.03006480075418949,
0.02664458565413952,
-0.01009515393525362,
0.01781822182238102,
0.009047023020684719,
-0.02866729348897934,
-0.05696682259440422,
-0.006334754638373852,
-0.040012847632169724,
-0.012770645320415497,
-0.012687898240983486,
-0.014085405506193638,
0.026405537500977516,
0.02144070900976658,
0.022452061995863914,
0.04464669153094292,
-0.02778465673327446,
0.04346984252333641,
-0.01411298755556345,
-0.00668413145467639,
0.021734921261668205,
-0.0031788700725883245,
0.07090511918067932,
-0.03887277841567993,
-0.04045416787266731,
0.0292741060256958,
0.032492052763700485,
0.0018870949279516935,
0.05218587443232536,
-0.010628413408994675,
0.011979949660599232,
0.0017193021485581994,
0.021642979234457016,
0.05281107500195503,
0.006417501717805862,
-0.04788302257657051,
0.0010941013460978866,
-0.047478482127189636,
0.0028984490782022476,
0.07826042175292969,
-0.0061830515041947365,
-0.024401217699050903,
0.0234634168446064,
-0.02019030787050724,
0.04339628666639328,
0.05310528725385666,
0.007828800939023495,
-0.013653281144797802,
-0.03024868480861187,
-0.0062887840904295444,
-0.006127886939793825,
-0.04093226045370102,
0.0469268336892128,
0.024842536076903343,
0.016531044617295265,
-0.007654112298041582,
-0.06119612231850624,
0.005116532556712627,
-0.0017066601430997252,
-0.01588745415210724,
-0.02866729348897934,
0.009203323163092136,
0.001631957828067243,
-0.035158347338438034,
0.06314527988433838,
0.028336305171251297,
0.0058336746878921986,
-0.061343226581811905,
0.014342840760946274,
-0.04383760690689087,
-0.018020492047071457,
0.07995214313268661,
0.003254721639677882,
0.005875048227608204,
0.021753309294581413,
0.0021652174182236195,
-0.03703395277261734,
0.017882579937577248,
0.06976504623889923,
-0.04736815020442009,
-0.021201660856604576,
-0.05148712173104286,
0.039277318865060806,
-0.005806092172861099,
0.01565760187804699,
-0.03651908040046692,
-0.006826640572398901,
-0.04196200519800186,
-0.04369049891829491,
-0.06244652345776558,
0.04894954338669777,
0.05354660749435425,
0.06402791291475296,
-0.013257933780550957,
0.022102685645222664,
0.02344502881169319,
-0.02681007981300354,
-0.0009602118516340852,
0.02920055389404297,
-0.0007665604935027659,
0.004268374294042587,
-0.04369049891829491,
-0.012687898240983486,
-0.13783837854862213,
-0.0038960122037678957,
0.06171099469065666,
-0.0001675055391388014,
0.02353696897625923,
-0.016209248453378677,
0.06362336874008179,
-0.03490091487765312,
0.018783604726195335,
0.03317241743206978,
0.037346553057432175,
-0.015335806645452976,
-0.028777623549103737,
0.023242758587002754,
-0.02099939063191414,
0.013165992684662342,
0.01825954020023346,
-0.05130323767662048,
-0.05601063370704651,
0.008458598516881466,
-0.014076211489737034,
0.07671581208705902,
0.0039052062202244997,
0.01932605914771557,
-0.04604419693350792,
-0.006343949120491743,
-0.027380116283893585,
0.009828523732721806,
-0.06031348556280136,
-0.019988035783171654,
0.006776073016226292,
0.0035811131820082664,
-0.024897700175642967,
0.005277430173009634,
-0.04468346759676933,
-0.02309565246105194,
-0.049354083836078644,
-0.0425136536359787,
0.060092825442552567,
0.020410966128110886,
0.0035259483847767115,
-0.040012847632169724,
0.02548612467944622,
-0.025173524394631386,
-0.014379617758095264,
0.01791016384959221,
-0.021459097042679787,
0.04170456901192665,
0.0015584048815071583,
-0.02099939063191414,
0.004502824507653713,
-0.05847465991973877,
0.0016756299883127213,
0.019473165273666382,
-0.0033581554889678955,
-0.03403666615486145,
-0.07461954653263092,
-0.02850179933011532,
-0.038321129977703094,
0.02769271656870842,
0.05126646161079407,
-0.030101578682661057,
-0.013781999237835407,
0.01433364674448967,
0.049427635967731476,
-0.023500192910432816,
0.04744170606136322,
0.024401217699050903,
0.003661561757326126,
0.007916145026683807,
-0.02441960573196411,
0.019197341054677963,
0.048986319452524185,
-0.03394472226500511,
0.032933369278907776,
-0.010655995458364487,
0.08649836480617523,
0.013064857572317123,
-0.05126646161079407,
0.015574853867292404,
-0.005879645235836506,
0.01507837139070034,
-0.007176017388701439,
-0.06487376987934113,
0.02795015089213848,
-0.0015377179952338338,
-0.007552976720035076,
-0.013147604651749134,
-0.06487376987934113,
-0.027030738070607185,
0.009690611623227596,
0.053656935691833496,
0.03357695788145065,
-0.003767294343560934,
-0.006845029070973396,
-0.028097257018089294,
0.06417501717805862,
0.0157955139875412,
-0.03824757784605026,
-0.020135141909122467,
0.05556931346654892,
0.06502088159322739,
-0.006238216534256935,
0.035544503480196,
0.005461312364786863,
0.030892273411154747,
0.00013884571671951562,
0.012412074021995068,
0.03148069605231285,
0.000436146481661126,
0.059835389256477356,
-0.007713874336332083,
-0.020778730511665344,
-0.03403666615486145,
-0.010858266614377499,
0.0030869287438690662,
0.06399113684892654,
-0.0036201882176101208,
-0.011639767326414585,
0.015694377943873405,
0.04126324877142906,
-0.05097224935889244,
-0.038578566163778305,
-0.0037971751298755407,
0.009304458275437355,
0.03208750858902931,
-0.049868956208229065,
-0.007906951010227203,
-0.008959678933024406,
-0.0325288288295269,
0.028152422979474068,
0.00017066601139958948,
-0.03219784051179886,
0.013018886558711529,
-0.041851673275232315
] |
713,391
|
xmlschema.validators.schemas
|
get_text
|
Returns the source text of the XSD schema.
|
def get_text(self) -> str:
"""Returns the source text of the XSD schema."""
return self.source.get_text()
|
(self) -> str
|
[
0.029240285977721214,
-0.03234877437353134,
0.08259697258472443,
-0.035491421818733215,
0.005888194311410189,
-0.04758378118276596,
0.028471702709794044,
-0.023467378690838814,
0.13322092592716217,
-0.007984715513885021,
-0.014995894394814968,
-0.03579885512590408,
-0.00019094465824309736,
-0.013757622800767422,
-0.027241971343755722,
0.05134129524230957,
-0.019709864631295204,
-0.0060162912122905254,
-0.0033817619550973177,
0.02263047732412815,
-0.03456912189722061,
-0.026046399027109146,
-0.011221300810575485,
-0.014568904414772987,
0.003994492813944817,
0.04450945183634758,
0.011716609820723534,
-0.06459507346153259,
-0.003783132880926132,
-0.04023955389857292,
-0.008433055132627487,
-0.0625796765089035,
0.02071756310760975,
-0.009325465187430382,
-0.012792625464498997,
0.06572232395410538,
0.002801055321469903,
-0.027327369898557663,
0.011631212197244167,
-0.025021623820066452,
-0.03965884447097778,
0.03181930631399155,
0.02929152548313141,
-0.026951618492603302,
-0.011870326474308968,
-0.009983030147850513,
-0.043757952749729156,
0.0022139439824968576,
-0.10357072949409485,
0.00036027294117957354,
0.04153760150074959,
0.07371558248996735,
-0.04556838795542717,
-0.007006908301264048,
-0.028967011719942093,
-0.0279422365128994,
0.007169164717197418,
0.04228910431265831,
0.05000908672809601,
0.03555973991751671,
0.01025630347430706,
0.018326416611671448,
0.02090543881058693,
-0.015636378899216652,
0.0075619956478476524,
0.01058935560286045,
0.024509234353899956,
-0.06616639345884323,
0.019129158928990364,
0.02618303708732128,
-0.002188324462622404,
-0.024919144809246063,
-0.03873654827475548,
0.01304881926625967,
0.04949669912457466,
-0.055132970213890076,
0.022425523027777672,
-0.057080045342445374,
-0.003748973598703742,
-0.05807065963745117,
0.029120728373527527,
0.04362131282687187,
-0.01459452323615551,
-0.042903970927000046,
0.06866001337766647,
-0.04280149191617966,
0.03311735764145851,
-0.0007781895692460239,
-0.00743816839531064,
0.04399706423282623,
0.04389458894729614,
0.004752400331199169,
-0.05643101781606674,
0.04710555449128151,
-0.027890997007489204,
-0.02840338461101055,
-0.009188828058540821,
-0.06777187436819077,
-0.009376703761518002,
0.050043247640132904,
-0.010034268721938133,
0.1194206029176712,
-0.029513560235500336,
0.06145242229104042,
0.050043247640132904,
0.02341613918542862,
0.00671655498445034,
-0.01681487262248993,
0.05352748557925224,
0.0010477270698174834,
-0.00894971378147602,
-0.05403987318277359,
0.04225494712591171,
-0.016200006008148193,
0.05626022443175316,
-0.06254551559686661,
-0.014628682285547256,
0.05246854946017265,
-0.015918193385004997,
-0.030879927799105644,
0.04799369350075722,
0.007737061474472284,
-0.04754962399601936,
-0.009018031880259514,
0.03311735764145851,
0.04532927647233009,
0.017344340682029724,
-0.0073869298212230206,
0.07460372149944305,
-0.037131063640117645,
0.029137808829545975,
-0.010691833682358265,
-0.009248606860637665,
0.007088036742061377,
0.036447878926992416,
-0.012562050484120846,
0.07070957124233246,
0.020632164552807808,
0.003885610494762659,
0.04741298779845238,
0.02109331451356411,
0.025107020512223244,
0.014611602760851383,
-0.022562159225344658,
-0.06667878478765488,
0.03265620768070221,
-0.015909653156995773,
0.023074548691511154,
-0.006972749251872301,
0.01868508942425251,
0.023757731541991234,
-0.048096172511577606,
-0.050999704748392105,
-0.03805336356163025,
-0.014816557988524437,
-0.00350558920763433,
-0.019812343642115593,
-0.00048303260700777173,
0.005798526108264923,
0.002416764385998249,
0.009752455167472363,
-0.013253774493932724,
0.016387881711125374,
-0.012408333830535412,
0.011315238662064075,
0.06029101088643074,
-0.011528734117746353,
-0.04976997151970863,
-0.013672225177288055,
-0.05550872161984444,
-0.01696004904806614,
-0.02215224876999855,
-0.10145285725593567,
0.05229775235056877,
0.05964198336005211,
0.04563670605421066,
0.04672980308532715,
0.12345139682292938,
0.008915554732084274,
0.03678947314620018,
-0.015644919127225876,
0.006131578702479601,
-0.0452951155602932,
0.028881613165140152,
0.048096172511577606,
-0.022784193977713585,
-0.004961625672876835,
0.02331366203725338,
0.03518398851156235,
-0.023621095344424248,
0.04047866538167,
-0.04259653761982918,
-0.02059800550341606,
0.026353832334280014,
-0.033271074295043945,
-0.08649112284183502,
0.004884767346084118,
-0.01783110946416855,
-0.06104251369833946,
0.02397976629436016,
0.023381980136036873,
-0.004163153935223818,
0.015004433691501617,
0.0674986019730568,
0.00353974848985672,
-0.0077584111131727695,
0.023552777245640755,
-0.044851046055555344,
-0.10480046272277832,
0.028915774077177048,
0.0051922001875936985,
-0.005017134360969067,
0.0029761213809251785,
-0.013732003048062325,
0.013330632820725441,
-0.06756692379713058,
-0.10466382652521133,
-0.025978080928325653,
-0.038394954055547714,
0.021998532116413116,
0.0366186760365963,
-0.015773016959428787,
0.03521814942359924,
-0.04276733472943306,
0.047242190688848495,
-0.034142132848501205,
0.031238600611686707,
-0.04345051944255829,
-0.025602329522371292,
-0.06049596518278122,
0.03101656399667263,
-0.017591994255781174,
0.0006095284479670227,
0.014526205137372017,
0.017216242849826813,
0.002803190378472209,
0.006494520232081413,
-0.022562159225344658,
0.03436416760087013,
-0.033954255282878876,
-0.04150344431400299,
-0.016720933839678764,
0.008488563820719719,
-0.011067585088312626,
-0.04457777366042137,
0.022323045879602432,
-0.02052968740463257,
0.042903970927000046,
-0.00503421388566494,
-0.03907813876867294,
0.01608898863196373,
-0.023518618196249008,
-0.011067585088312626,
-0.010837010107934475,
-0.019026681780815125,
-0.04170839861035347,
-0.05045315623283386,
-0.011537274345755577,
0.03545726090669632,
-0.01993190124630928,
-0.004252822138369083,
-0.020205173641443253,
-0.03508150950074196,
0.06712285429239273,
0.006033370736986399,
-0.0491209477186203,
-0.03128983825445175,
0.03931725397706032,
0.004207987803965807,
0.010410020127892494,
0.08683271706104279,
0.06879665702581406,
-0.03900982066988945,
-0.03344186767935753,
-0.0008763973019085824,
-0.03301487863063812,
-0.03552557900547981,
0.05144377425312996,
0.039453890174627304,
-0.023006228730082512,
0.022903751581907272,
0.002608909737318754,
0.02321118488907814,
0.013561206869781017,
0.013988197781145573,
-0.05728499963879585,
0.004773749969899654,
-0.07918105274438858,
-0.04444113373756409,
-0.003206696128472686,
0.014603063464164734,
0.04966749623417854,
-0.018155621364712715,
-0.03538894280791283,
0.04488520324230194,
0.009795154444873333,
0.03969300538301468,
-0.03716522455215454,
-0.04642236977815628,
0.01271576713770628,
0.0005436118226498365,
0.03214382007718086,
-0.023928528651595116,
0.009863472543656826,
-0.08403166383504868,
0.004304060712456703,
-0.023467378690838814,
-0.04174255579710007,
0.04116185009479523,
0.006054720375686884,
-0.05175120756030083,
0.0101196663454175,
-0.01296342071145773,
0.04061530530452728,
0.008535533212125301,
0.009470641613006592,
0.0037105444353073835,
0.0069642094895243645,
0.04314308613538742,
0.023074548691511154,
-0.024150563403964043,
0.009632897563278675,
0.041366804391145706,
-0.05564535781741142,
-0.05267350375652313,
-0.021315349265933037,
-0.030111346393823624,
0.0006346141453832388,
0.009342544712126255,
-0.014526205137372017,
-0.005704588256776333,
-0.02254508063197136,
0.043006449937820435,
0.013279394246637821,
-0.00806584395468235,
-0.03091408684849739,
0.07439876347780228,
-0.06900160759687424,
-0.027412768453359604,
-0.04297228902578354,
0.07378389686346054,
0.015149611048400402,
0.019043760374188423,
-0.027293210849165916,
0.010563736781477928,
0.03979548066854477,
-0.036755312234163284,
-0.038189999759197235,
0.06807930767536163,
-0.019675705581903458,
-0.025551090016961098,
-0.01619146578013897,
0.012638908810913563,
0.009914711117744446,
0.024509234353899956,
-0.01454328466206789,
-0.020256413146853447,
0.0626479983329773,
-0.015627840533852577,
0.018838806077837944,
-0.008270799182355404,
0.0010728127090260386,
-0.04901846870779991,
0.015533901751041412,
-0.011400637216866016,
-0.019419511780142784,
-0.012502271682024002,
0.06391188502311707,
0.04478272795677185,
0.034722838550806046,
-0.006801953073590994,
-0.012075281701982021,
-0.0645609125494957,
-0.03468868136405945,
-0.01304881926625967,
0.01858261227607727,
0.006708015222102404,
-0.03388593718409538,
-0.059881098568439484,
-0.024697110056877136,
0.022015612572431564,
0.039248935878276825,
-0.06196480989456177,
0.015158150345087051,
-0.03719938173890114,
-0.02813011221587658,
-0.033271074295043945,
-0.0037084093783050776,
-0.03894150257110596,
0.02244260162115097,
0.06114498898386955,
-0.04614909738302231,
0.015593680553138256,
0.013902799226343632,
0.02754940465092659,
-0.031750988215208054,
-0.011357937939465046,
-0.015491202473640442,
0.014790939167141914,
0.028642499819397926,
0.005922353360801935,
0.016012130305171013,
-0.06490250676870346,
0.015388725325465202,
-0.02707117609679699,
-0.023928528651595116,
0.014645762741565704,
-0.00030129493097774684,
-0.035286467522382736,
0.05564535781741142,
-0.017677392810583115,
-0.007651663385331631,
0.006567108444869518,
-0.06763523817062378,
0.006866001524031162,
0.015892572700977325,
0.008134162053465843,
0.03931725397706032,
-0.019966060295701027,
0.028198430314660072,
-0.05315173417329788,
0.024031005799770355,
0.038087520748376846,
0.058514729142189026,
-0.0032451250590384007,
-0.004316870588809252,
-0.02753232605755329,
0.007839539088308811,
0.028488783165812492,
0.05356164649128914,
0.007873698137700558,
0.005217819474637508,
-0.050418999046087265,
-0.06616639345884323,
-0.024919144809246063,
-0.008983872830867767,
-0.0366186760365963,
-0.020461367443203926,
0.00025205762358382344,
0.020085616037249565,
0.023757731541991234,
0.004880497232079506,
0.047822896391153336,
0.03812168166041374,
0.00786942895501852,
-0.00982931349426508,
-0.03583301231265068,
-0.0003114359569735825,
-0.03219505771994591,
-0.017967745661735535,
-0.018736327067017555,
0.042903970927000046,
0.06500498205423355,
-0.04997492581605911,
-0.04509016126394272,
-0.04413370415568352,
0.031750988215208054,
-0.05926623195409775,
-0.023860210552811623,
0.01725040189921856,
-0.028198430314660072,
0.04532927647233009,
0.026063479483127594,
-0.0683525875210762,
0.02688330039381981,
-0.03344186767935753,
-0.0385315902531147,
0.05373243987560272,
-0.0055679515935480595,
0.04727635160088539,
0.034910716116428375,
-0.01742119900882244,
-0.024201801046729088,
-0.03349310904741287,
0.05762659013271332,
0.005708858370780945,
-0.06602975726127625,
0.007681552786380053,
-0.007228943519294262,
-0.008228099904954433,
0.013851560652256012,
0.0023463109973818064,
0.0011123094009235501,
0.01387718040496111,
-0.01694296859204769,
0.01708814688026905,
0.019914820790290833,
-0.019914820790290833,
-0.012058202177286148,
-0.02005145698785782,
0.03033338114619255,
0.07433044910430908,
0.006281025242060423,
-0.06080339848995209,
0.007228943519294262,
-0.04966749623417854,
0.037985045462846756,
0.04563670605421066,
0.0039517940022051334,
0.06374108791351318,
0.010913868434727192,
-0.05376660078763962,
-0.009667057543992996,
0.019436592236161232,
0.04208415001630783,
-0.00894971378147602,
0.007818189449608326,
0.0365845151245594,
0.03234877437353134,
-0.03494487330317497,
-0.0443044975399971,
-0.004440697375684977,
0.03433000668883324,
0.04768626019358635,
0.006635427009314299,
-0.04307476803660393,
0.01936827413737774,
0.06917240470647812,
-0.015576601028442383,
0.026917459443211555,
-0.04802785441279411,
-0.001319399569183588,
-0.05885632336139679,
-0.050999704748392105,
0.01623416505753994,
0.034620363265275955,
-0.10814806818962097,
-0.012536430731415749,
-0.019487829878926277,
0.029991788789629936,
0.05383491888642311,
-0.012459572404623032,
0.036345403641462326,
-0.03407381474971771,
-0.008082923479378223,
0.059676144272089005,
-0.03381761908531189,
-0.017053985968232155,
-0.030367540195584297,
0.028659578412771225,
0.025448612868785858,
-0.035115670412778854,
-0.059573665261268616,
0.0255340114235878,
0.025602329522371292,
0.03209257870912552,
0.004577334504574537,
0.0037681881804019213,
0.009624358266592026,
0.0016962183872237802,
0.005909543950110674,
-0.02244260162115097,
0.007694362662732601,
-0.013518508523702621,
0.015619300305843353,
0.04478272795677185,
0.007028257939964533,
0.061213307082653046,
0.018428895622491837,
0.0014314844738692045,
-0.002993200905621052,
-0.05561119690537453,
0.004327545408159494,
0.07173434644937515,
0.03248541057109833,
0.057182520627975464,
-0.012297316454350948,
-0.02283543348312378,
-0.03043585829436779,
-0.04980413243174553,
0.019419511780142784,
0.0077840304002165794,
0.052058640867471695,
0.006947129964828491,
-0.012570589780807495,
0.03330523148179054,
0.006298104766756296,
0.0017143654404208064,
-0.0020719696767628193,
0.002177649876102805,
0.01666969619691372,
-0.032622046768665314,
0.06134994700551033,
0.01319399569183588,
-0.007886508479714394,
-0.01449204608798027,
-0.033663902431726456,
-0.008872855454683304,
-0.015004433691501617,
-0.014176073484122753,
-0.054176509380340576,
-0.020085616037249565,
-0.01926579512655735,
-0.006003481801599264,
0.03685779124498367,
0.004114049952477217,
0.006413392256945372,
-0.016738014295697212,
0.021622780710458755,
-0.0549280121922493,
-0.012109440751373768,
0.06223808601498604,
0.04785705730319023,
0.0654490515589714,
0.02302330918610096,
0.025961000472307205,
0.008795997127890587,
-0.007711442187428474,
0.047720421105623245,
0.017591994255781174,
-0.03352726623415947,
-0.07651663571596146,
-0.011955724097788334,
-0.05844641104340553,
-0.035901330411434174,
0.021024994552135468,
0.024526314809918404,
-0.042152468115091324,
-0.020666323602199554,
-0.00551671301946044,
0.03301487863063812,
0.055440399795770645,
-0.035286467522382736,
0.02447507530450821,
0.008518453687429428,
0.06602975726127625,
-0.018992522731423378,
-0.008142702281475067,
-0.035013191401958466,
-0.011904485523700714,
0.034910716116428375,
-0.023928528651595116,
0.020000219345092773,
-0.03740433603525162,
0.020666323602199554,
0.061520740389823914,
0.00447485689073801,
0.022784193977713585,
-0.052434392273426056,
0.013928418979048729,
-0.005935163237154484,
0.09967657923698425,
-0.05834393575787544,
-0.007532106246799231,
-0.049838289618492126,
0.05093138664960861,
-0.05868552625179291,
-0.0770631805062294,
0.01122984103858471,
-0.012485192157328129,
-0.049360062927007675,
-0.005533792544156313,
0.014423727057874203,
0.02088835835456848,
0.10322914272546768,
0.021451985463500023,
-0.013620985671877861,
0.0057173981331288815,
-0.00009894162212731317,
-0.011392096988856792,
0.017643233761191368,
-0.03120443969964981,
0.04884767532348633,
-0.04696891829371452,
-0.010845550335943699,
-0.04382627084851265,
0.0029953359626233578,
-0.019282875582575798,
-0.028557101264595985,
-0.011007806286215782,
-0.0142102325335145,
0.04645652696490288,
0.014415187761187553,
-0.03989795967936516,
-0.016601378098130226,
-0.0010888249380514026,
0.041469283401966095,
-0.032622046768665314,
0.032417092472314835,
0.004462047014385462,
0.053698282688856125,
0.0039453888311982155,
0.002760491333901882,
-0.07139275223016739,
-0.028727898374199867,
-0.03685779124498367,
-0.04498768225312233,
-0.0027668962720781565,
0.01137501746416092,
-0.046012457460165024,
-0.11969388276338577,
-0.04895015060901642,
0.009752455167472363,
0.024253040552139282,
0.05912959575653076,
-0.005409965291619301,
0.052161116153001785,
-0.03475699946284294,
0.024594632908701897,
0.0365845151245594,
0.02447507530450821,
0.010657674632966518,
0.022989150136709213,
-0.013791781850159168,
0.025756046175956726,
-0.011870326474308968,
0.013125677593052387,
-0.016703855246305466,
-0.033271074295043945,
0.01994897983968258,
0.04877935349941254,
-0.013766163028776646,
-0.030008867383003235,
-0.008992413058876991,
0.05287846177816391,
-0.05561119690537453,
-0.07965928316116333,
0.052639346569776535,
0.011981343850493431,
0.01571323722600937,
-0.004726781044155359,
-0.005444124341011047,
0.016157306730747223,
0.011631212197244167,
-0.0007104048854671419,
0.11901069432497025,
-0.07815627753734589,
-0.02987223118543625,
0.036174606531858444,
0.013296473771333694,
0.02765188179910183,
0.031187361106276512,
-0.006148658227175474,
0.02821550890803337,
0.017660312354564667,
0.03301487863063812,
0.017284560948610306,
0.013646605424582958,
0.012425413355231285,
-0.03579885512590408,
-0.005871114786714315,
0.08266529440879822,
-0.015149611048400402,
0.007553455885499716,
0.0000013426838449959178,
0.05362996459007263,
-0.0007333555840887129,
0.009410862810909748,
-0.012553510256111622,
0.012587669305503368,
0.016387881711125374,
0.003584582358598709,
0.0004899711930193007,
0.0014677786966785789,
-0.016994208097457886,
-0.01164829172194004,
0.0211787112057209,
-0.01789942756295204,
-0.05188784375786781,
0.019914820790290833,
0.014082135632634163,
0.006878811400383711,
0.022323045879602432,
-0.0012521486496552825,
0.021998532116413116,
-0.0004168491286691278,
-0.016908809542655945,
0.044338658452034
] |
713,392
|
xmlschema.validators.schemas
|
import_schema
|
Imports a schema for an external namespace, from a specific URL.
:param namespace: is the URI of the external namespace.
:param location: is the URL of the schema.
:param base_url: is an optional base URL for fetching the schema resource.
:param force: if set to `True` imports the schema also if the namespace is already imported.
:param build: defines when to build the imported schema, the default is to not build.
:return: the imported :class:`XMLSchema` instance.
|
def import_schema(self, namespace: str, location: str, base_url: Optional[str] = None,
force: bool = False, build: bool = False) -> Optional[SchemaType]:
"""
Imports a schema for an external namespace, from a specific URL.
:param namespace: is the URI of the external namespace.
:param location: is the URL of the schema.
:param base_url: is an optional base URL for fetching the schema resource.
:param force: if set to `True` imports the schema also if the namespace is already imported.
:param build: defines when to build the imported schema, the default is to not build.
:return: the imported :class:`XMLSchema` instance.
"""
if location == self.url:
return self
if not force:
if self.imports.get(namespace) is not None:
return self.imports[namespace]
elif namespace in self.maps.namespaces:
self.imports[namespace] = self.maps.namespaces[namespace][0]
return self.imports[namespace]
schema: SchemaType
url = normalize_url(location, base_url)
imported_ns = self.imports.get(namespace)
if imported_ns is not None and imported_ns.url == url:
return imported_ns
elif namespace in self.maps.namespaces:
for schema in self.maps.namespaces[namespace]:
if url == schema.url:
self.imports[namespace] = schema
return schema
locations = deepcopy(self.locations)
if namespace in locations:
locations.pop(namespace)
schema = type(self)(
source=url,
validation=self.validation,
global_maps=self.maps,
converter=self.converter,
locations=locations,
base_url=self.base_url,
allow=self.allow,
defuse=self.defuse,
timeout=self.timeout,
uri_mapper=self.uri_mapper,
build=build,
use_xpath3=self.use_xpath3,
)
if schema.target_namespace != namespace:
msg = _('imported schema {0!r} has an unmatched namespace {1!r}')
raise XMLSchemaValueError(msg.format(location, namespace))
self.imports[namespace] = schema
return schema
|
(self, namespace: str, location: str, base_url: Optional[str] = None, force: bool = False, build: bool = False) -> Optional[~T]
|
[
-0.004539738409221172,
-0.005045165773481131,
-0.011775089427828789,
0.003323981072753668,
0.02420586720108986,
0.05201802775263786,
0.01876000314950943,
0.0036381655372679234,
-0.027265751734375954,
-0.007130622398108244,
-0.040543463081121445,
-0.007863719947636127,
-0.04400404542684555,
0.01877821609377861,
-0.008009428158402443,
0.0376657135784626,
0.0047127678990364075,
0.07139728963375092,
-0.003276170464232564,
-0.0068209911696612835,
-0.013933399692177773,
-0.03267518803477287,
0.005118020344525576,
-0.009962836280465126,
0.05099806562066078,
0.0364818312227726,
0.01262202113866806,
-0.03285732492804527,
0.0248069167137146,
-0.03777499496936798,
0.05719068646430969,
0.03099953942000866,
0.09063085168600082,
0.023295188322663307,
0.06913881003856659,
-0.033476587384939194,
-0.006989466957747936,
0.028941402211785316,
-0.009935515932738781,
-0.027921441942453384,
0.0017132163047790527,
-0.03600827604532242,
0.020144235342741013,
-0.021328119561076164,
0.0501602403819561,
0.04283837601542473,
-0.021619537845253944,
0.030216354876756668,
-0.058502066880464554,
0.0043325587175786495,
0.001961376518011093,
0.03553472459316254,
0.007057767827063799,
0.022002022713422775,
-0.03744715079665184,
0.008182457648217678,
-0.03201949968934059,
0.053438685834407806,
0.015217458829283714,
0.03624505549669266,
-0.008442001417279243,
0.0053411368280649185,
-0.022894488647580147,
-0.009480176493525505,
-0.004699107725173235,
-0.023604819551110268,
-0.01549976971000433,
-0.06403899937868118,
-0.03741072490811348,
0.05099806562066078,
0.0010205304715782404,
0.029870295897126198,
-0.002668291563168168,
0.0027844032738357782,
0.10163185745477676,
0.03251126781105995,
0.05726354196667671,
-0.08145119994878769,
0.01250363327562809,
-0.060032010078430176,
0.013742157258093357,
-0.014224817976355553,
-0.04939527064561844,
0.0016642672708258033,
0.016556158661842346,
0.03810283914208412,
0.013241283595561981,
0.015272099524736404,
0.010509244166314602,
0.006010486278682947,
-0.009999264031648636,
0.014042682014405727,
-0.02467942051589489,
0.005254622083157301,
0.015691012144088745,
-0.04877600818872452,
-0.014124643057584763,
-0.07128801196813583,
-0.0004983125836588442,
-0.010873516090214252,
0.017603440210223198,
-0.008205224759876728,
-0.06924808770418167,
0.0009892259258776903,
0.00925250630825758,
-0.026664702221751213,
0.020453866571187973,
-0.03677324950695038,
-0.021929169073700905,
0.002067242981866002,
-0.027575382962822914,
-0.046699658036231995,
0.026409713551402092,
0.08013981580734253,
0.006588767748326063,
-0.0479746088385582,
0.05748210474848747,
0.06742672622203827,
0.05664427950978279,
0.016073497012257576,
-0.034277986735105515,
0.06134338676929474,
0.03919565677642822,
-0.003351301420480013,
0.12793229520320892,
0.035225093364715576,
0.020872779190540314,
-0.03025278076529503,
0.09405500441789627,
-0.047756046056747437,
0.011611166410148144,
0.01277683675289154,
-0.022402722388505936,
-0.03262054920196533,
-0.026901479810476303,
-0.005737282335758209,
-0.016656331717967987,
0.03028920851647854,
-0.06367472559213638,
0.017412196844816208,
-0.03099953942000866,
0.02446085773408413,
0.027848586440086365,
-0.06327402591705322,
-0.0722351148724556,
-0.003690529614686966,
-0.03282089903950691,
-0.015745652839541435,
-0.03010707162320614,
0.020308159291744232,
0.03293018043041229,
-0.052892278879880905,
-0.0008042440749704838,
-0.011656700633466244,
-0.08421966433525085,
-0.020526722073554993,
-0.025990799069404602,
-0.028303926810622215,
0.029305674135684967,
-0.026846839115023613,
-0.01809520646929741,
-0.0041003357619047165,
0.03737429529428482,
-0.04338478296995163,
-0.039742063730955124,
0.04892171546816826,
0.03843068704009056,
-0.026464354246854782,
-0.006725369952619076,
-0.03619041293859482,
-0.033731576055288315,
0.04272909462451935,
0.058538492769002914,
0.04203697666525841,
-0.012175788171589375,
0.005099806468933821,
0.0254443921148777,
-0.0002628164947964251,
0.005441311281174421,
0.06655247509479523,
0.03198307380080223,
-0.002943772356957197,
-0.0053639039397239685,
-0.013013613410294056,
-0.012175788171589375,
0.05577002838253975,
-0.04221911355853081,
0.04892171546816826,
0.07919271290302277,
0.06866525113582611,
0.01794039085507393,
0.008482981473207474,
0.014634623192250729,
-0.010664059780538082,
-0.00926161278039217,
-0.06651604920625687,
-0.028504276648163795,
0.010399962775409222,
-0.04418618232011795,
0.07664280384778976,
-0.022238800302147865,
-0.014252138324081898,
0.004753748420625925,
0.011702234856784344,
0.046189676970243454,
0.0016517454059794545,
-0.04294765740633011,
-0.08735240250825882,
-0.00992640946060419,
0.001689310884103179,
-0.014498021453619003,
-0.052054453641176224,
-0.046408239752054214,
-0.02500726655125618,
-0.010673166252672672,
-0.06287332624197006,
-0.060541991144418716,
0.0028458742890506983,
0.022657712921500206,
0.0056416611187160015,
0.06422113627195358,
0.013787691481411457,
0.046481095254421234,
-0.058793485164642334,
0.0027365926653146744,
0.005819243378937244,
0.034405481070280075,
-0.08560389280319214,
-0.025972586125135422,
0.012749516405165195,
0.0011417646892368793,
-0.06567822396755219,
0.021747032180428505,
-0.010108545422554016,
0.09405500441789627,
-0.01530852634459734,
0.03072633408010006,
0.05780994892120361,
0.06892023980617523,
0.010673166252672672,
0.040689170360565186,
-0.00037394787068478763,
-0.03089025616645813,
-0.06491325050592422,
-0.09048514068126678,
0.04425903409719467,
-0.0371193066239357,
-0.05383938550949097,
0.01885107159614563,
-0.028832120820879936,
-0.0771527886390686,
0.052564434707164764,
0.016701865941286087,
0.051763035356998444,
0.010108545422554016,
-0.0391228012740612,
-0.052382297813892365,
-0.07554998993873596,
0.00946196261793375,
-0.0503423772752285,
-0.022129517048597336,
-0.0025134761817753315,
0.045606840401887894,
0.06749958544969559,
-0.033676937222480774,
-0.07212583720684052,
-0.026136508211493492,
-0.022165944799780846,
0.06717173755168915,
0.011966331861913204,
-0.013988041318953037,
0.10330750793218613,
0.010864409618079662,
-0.0014923764392733574,
0.013350564986467361,
-0.017038818448781967,
-0.04527899622917175,
-0.017512371763586998,
0.0477924719452858,
-0.006438505835831165,
0.002941495506092906,
-0.03635433688759804,
-0.010245147161185741,
-0.001980728469789028,
-0.020107809454202652,
-0.0241694413125515,
-0.05504148453474045,
-0.016210099682211876,
-0.05081592872738838,
-0.040361326187849045,
0.0241694413125515,
0.0029460489749908447,
-0.01199365220963955,
-0.022275226190686226,
-0.04757390916347504,
-0.03196486085653305,
-0.017384875565767288,
0.014853186905384064,
0.0021082235034555197,
0.01822270266711712,
0.007226243615150452,
-0.011920797638595104,
0.06178051233291626,
0.0621083602309227,
0.058939192444086075,
-0.02537153847515583,
-0.008032195270061493,
-0.04480544477701187,
0.0035083936527371407,
0.03119988739490509,
-0.02475227601826191,
0.0196524690836668,
-0.05722711607813835,
-0.02589973248541355,
0.0014343205839395523,
0.0037110198754817247,
-0.04575255140662193,
-0.059777017682790756,
0.00941642839461565,
0.015645477920770645,
-0.009234292432665825,
0.028704626485705376,
0.02442442998290062,
-0.03207414224743843,
-0.05748210474848747,
-0.02395087666809559,
0.013268603943288326,
0.023969091475009918,
-0.005077039822936058,
-0.00937089417129755,
0.0155726233497262,
0.029433170333504677,
-0.0007535875192843378,
0.014161069877445698,
-0.010427283123135567,
-0.03792070597410202,
0.02529868297278881,
-0.08487535268068314,
0.04251053184270859,
0.009944622404873371,
0.0180587787181139,
0.03708288073539734,
0.03160058706998825,
-0.05999558046460152,
-0.015026215463876724,
-0.03205592557787895,
-0.011174040846526623,
-0.033968355506658554,
0.020963847637176514,
-0.03846711292862892,
-0.03915923088788986,
0.003986500669270754,
-0.011274214833974838,
0.008232545107603073,
0.028540702536702156,
-0.020071381703019142,
-0.04462330788373947,
-0.01855965331196785,
0.015062643215060234,
-0.014461594633758068,
-0.016692759469151497,
-0.05001453310251236,
-0.00935268122702837,
-0.0016722356667742133,
0.040944162756204605,
0.006994020659476519,
-0.017703615128993988,
-0.047209639102220535,
-0.06560537219047546,
0.006447612773627043,
0.006447612773627043,
-0.040434181690216064,
-0.03868567571043968,
-0.027976082637906075,
0.029342101886868477,
0.005974058993160725,
-0.0021526191849261522,
-0.033840861171483994,
-0.022566644474864006,
-0.022184157744050026,
0.04327550157904625,
0.040834881365299225,
0.010363535955548286,
-0.0028914082795381546,
0.01890571229159832,
-0.07128801196813583,
0.005140786990523338,
0.006575107574462891,
-0.06819169968366623,
0.046918220818042755,
0.02422408200800419,
-0.004223277326673269,
0.04946812242269516,
0.021182410418987274,
0.04451402649283409,
-0.006953039672225714,
-0.04877600818872452,
-0.02529868297278881,
0.06334688514471054,
-0.011611166410148144,
-0.021000275388360023,
-0.014024468138813972,
0.04826602712273598,
0.05759138613939285,
-0.012995399534702301,
-0.023021984845399857,
0.008569496683776379,
-0.03307588770985603,
-0.026846839115023613,
0.020126022398471832,
-0.021455615758895874,
-0.004981418140232563,
-0.004223277326673269,
-0.003920476417988539,
0.016820255666971207,
0.03211056813597679,
0.05128948390483856,
0.02555367350578308,
-0.03937779366970062,
0.035334374755620956,
0.012275963090360165,
-0.0027274859603494406,
0.07853702455759048,
0.0017485051648691297,
-0.009225185960531235,
-0.013796797953546047,
-0.04261981323361397,
-0.01792217791080475,
-0.027812158688902855,
0.025881517678499222,
0.003697359701618552,
0.011219574138522148,
0.01840483769774437,
-0.059777017682790756,
0.027976082637906075,
-0.008651457726955414,
0.03573507443070412,
-0.023823382332921028,
0.03119988739490509,
-0.059267036616802216,
0.04491472616791725,
-0.016738293692469597,
0.025972586125135422,
0.020799925550818443,
0.0016335317632183433,
-0.01525388564914465,
-0.016228312626481056,
0.09084941446781158,
-0.00915233138948679,
0.013878758996725082,
-0.028613558039069176,
-0.021054916083812714,
0.10148615390062332,
-0.01999852806329727,
-0.06961236149072647,
-0.0255354605615139,
0.027375033125281334,
-0.014015361666679382,
0.004822049289941788,
0.03813926875591278,
0.034369055181741714,
-0.00992640946060419,
-0.010372642427682877,
-0.05777352303266525,
-0.01943390630185604,
0.05114377290010452,
0.0046057626605033875,
-0.010427283123135567,
0.03926851227879524,
-0.009962836280465126,
0.020053168758749962,
-0.01776736229658127,
0.041563425213098526,
-0.021127769723534584,
0.0077453311532735825,
0.03140023723244667,
0.000366548600140959,
0.00968052539974451,
0.058502066880464554,
-0.02422408200800419,
-0.00918420497328043,
0.014170177280902863,
0.000904987973626703,
0.014261244796216488,
0.039559926837682724,
0.016556158661842346,
0.00912045780569315,
-0.035334374755620956,
0.01793128438293934,
0.03535258769989014,
0.021637750789523125,
0.08057694137096405,
0.06513181328773499,
-0.033986568450927734,
0.0602869987487793,
-0.015654584392905235,
0.03154594823718071,
0.04240125045180321,
0.034405481070280075,
-0.0017963157733902335,
0.052491579204797745,
-0.05784637853503227,
-0.03624505549669266,
0.06771814823150635,
-0.0074903410859405994,
-0.00024944086908362806,
-0.021801672875881195,
0.0034628596622496843,
0.046918220818042755,
-0.04527899622917175,
-0.09682346880435944,
0.060432709753513336,
0.06884738802909851,
0.027538955211639404,
-0.0005481153493747115,
-0.027156470343470573,
-0.01215757429599762,
0.06269119679927826,
0.016483303159475327,
-0.026737557724118233,
0.03302124887704849,
-0.017248274758458138,
-0.03061705268919468,
-0.01549976971000433,
-0.07198012620210648,
0.034277986735105515,
0.03223806247115135,
0.027283964678645134,
0.03626326844096184,
-0.006174408830702305,
0.047464627772569656,
0.0023450003936886787,
0.0016517454059794545,
-0.028176430612802505,
0.040798451751470566,
0.023204119876027107,
-0.0188328567892313,
0.0046057626605033875,
-0.06505896151065826,
-0.01292254589498043,
0.00958035048097372,
0.0248979851603508,
-0.027356820181012154,
-0.002319956663995981,
0.022584857419133186,
0.041017014533281326,
-0.04520614445209503,
0.05030594766139984,
0.01292254589498043,
-0.03631790727376938,
0.014015361666679382,
0.028941402211785316,
0.0742386132478714,
0.010527458041906357,
-0.017148099839687347,
-0.010472817346453667,
0.01795860379934311,
0.00007278323028003797,
0.022002022713422775,
-0.03089025616645813,
0.03737429529428482,
-0.004002437461167574,
-0.005846564192324877,
0.06203550472855568,
-0.03558936342597008,
-0.014470701105892658,
-0.014980682171881199,
-0.05671713501214981,
-0.04400404542684555,
0.034733325242996216,
-0.011001011356711388,
-0.04520614445209503,
0.02467942051589489,
0.008737972006201744,
0.05566074699163437,
0.04863029718399048,
-0.01779468171298504,
-0.005500505678355694,
0.007080534938722849,
-0.013714836910367012,
0.01932462491095066,
-0.022329866886138916,
0.01857786625623703,
0.01200275868177414,
0.03302124887704849,
-0.03646361827850342,
-0.045971114188432693,
0.06582393497228622,
0.0610155425965786,
-0.08276257663965225,
-0.01926998421549797,
0.03169165551662445,
-0.0009664588724263012,
-0.039487075060606,
-0.0033831752371042967,
-0.027010761201381683,
-0.03194664418697357,
-0.046626802533864975,
0.027010761201381683,
-0.029433170333504677,
-0.059522029012441635,
0.05092521011829376,
-0.01539959479123354,
-0.008856360800564289,
-0.029378527775406837,
-0.01793128438293934,
-0.007053214590996504,
-0.002242548856884241,
0.03886781260371208,
-0.03908637538552284,
0.016747400164604187,
-0.06170766055583954,
-0.04425903409719467,
-0.06928451359272003,
-0.01820448786020279,
-0.034696899354457855,
-0.047646764665842056,
0.009079476818442345,
-0.0017906241118907928,
-0.10607597976922989,
0.041308432817459106,
-0.0019181192619726062,
0.052600860595703125,
-0.01777646876871586,
0.007007680833339691,
0.05555146560072899,
-0.009744273498654366,
0.01925176940858364,
0.009270720183849335,
0.017057031393051147,
0.022020235657691956,
-0.04411332681775093,
-0.0038977093063294888,
-0.06549608707427979,
0.017312021926045418,
0.007850059308111668,
0.011374389752745628,
0.016292059794068336,
0.008824487216770649,
0.03810283914208412,
0.03868567571043968,
0.012685769237577915,
0.02500726655125618,
0.03323981165885925,
-0.021400973200798035,
-0.015390487387776375,
0.010199612937867641,
-0.02446085773408413,
0.013223069719970226,
0.022512003779411316,
-0.015754759311676025,
0.041272006928920746,
0.03103596530854702,
0.005600680597126484,
0.07402005046606064,
0.03846711292862892,
-0.010900836437940598,
-0.05023309588432312,
0.059704165905714035,
0.0053639039397239685,
-0.002245964016765356,
-0.021218838170170784,
-0.010545671917498112,
0.014115535654127598,
-0.04123557731509209,
-0.00489035015925765,
0.04207340255379677,
-0.08815380185842514,
-0.02564474195241928,
-0.01820448786020279,
-0.0786098763346672,
0.05023309588432312,
0.014151963405311108,
0.023368041962385178,
0.008482981473207474,
-0.003171442309394479,
-0.016701865941286087,
-0.014179283753037453,
0.0068892925046384335,
-0.009835341013967991,
0.04516971483826637,
0.006766350474208593,
0.0385763943195343,
-0.006010486278682947,
-0.07252653688192368,
0.0007513107848353684,
-0.0008389637223444879,
0.008788059465587139,
-0.005732729099690914,
-0.011875264346599579,
0.003934136591851711,
0.023604819551110268,
-0.01845037192106247,
0.021364547312259674,
-0.052163735032081604,
-0.013113788329064846,
0.04932241514325142,
-0.0020160172134637833,
-0.028996042907238007,
0.016537943854928017,
0.046444665640592575,
-0.014488914981484413,
-0.022766994312405586,
0.0373014435172081,
0.014780332334339619,
0.0604691356420517,
-0.022876275703310966,
0.03296660631895065,
-0.05373010411858559,
0.076424241065979,
0.03872210159897804,
-0.023440897464752197,
-0.0035949083976447582,
-0.03280268609523773,
0.034787967801094055,
-0.020053168758749962,
-0.03569864481687546,
0.026646489277482033,
-0.021528469398617744,
0.006761797238141298,
0.005254622083157301,
-0.0487031526863575,
-0.020836353302001953,
-0.01748505048453808,
0.0044167968444526196,
-0.011583846062421799,
-0.08043123781681061,
0.0008401020895689726,
0.027721092104911804,
0.034205131232738495,
0.013678410090506077,
0.05001453310251236,
-0.0188328567892313,
0.06214478611946106,
0.01961604133248329,
-0.01928819715976715,
0.022147731855511665,
0.03214699402451515,
0.0238962359726429,
-0.026956120505928993,
0.029342101886868477,
-0.010855302214622498,
-0.037847850471735,
0.02436978928744793,
-0.05999558046460152,
0.010491030290722847,
0.029597092419862747,
-0.033567655831575394,
-0.026172935962677002,
0.09347216784954071,
-0.04367620125412941,
0.03487903252243996,
0.02528047002851963,
0.00763149606063962,
0.0013443910283967853,
-0.027283964678645134,
-0.007904700003564358,
0.026518994942307472,
0.0033854518551379442,
-0.08072265237569809,
-0.023295188322663307,
-0.035097599029541016,
-0.040543463081121445,
0.011055652052164078,
0.016638118773698807,
0.014844079501926899,
-0.00016932951984927058,
-0.023204119876027107
] |
713,393
|
xmlschema.validators.schemas
|
include_schema
|
Includes a schema for the same namespace, from a specific URL.
:param location: is the URL of the schema.
:param base_url: is an optional base URL for fetching the schema resource.
:param build: defines when to build the imported schema, the default is to not build.
:return: the included :class:`XMLSchema` instance.
|
def include_schema(self, location: str, base_url: Optional[str] = None,
build: bool = False) -> SchemaType:
"""
Includes a schema for the same namespace, from a specific URL.
:param location: is the URL of the schema.
:param base_url: is an optional base URL for fetching the schema resource.
:param build: defines when to build the imported schema, the default is to not build.
:return: the included :class:`XMLSchema` instance.
"""
schema: SchemaType
url = normalize_url(location, base_url)
for schema in self.maps.namespaces[self.target_namespace]:
if url == schema.url:
logger.info("Resource %r is already loaded", location)
break
else:
schema = type(self)(
source=url,
namespace=self.target_namespace,
validation=self.validation,
global_maps=self.maps,
converter=self.converter,
locations=self.locations,
base_url=self.base_url,
allow=self.allow,
defuse=self.defuse,
timeout=self.timeout,
uri_mapper=self.uri_mapper,
build=build,
use_xpath3=self.use_xpath3,
)
if schema is self:
return self
elif location not in self.includes:
self.includes[location] = schema
elif self.includes[location] is not schema:
self.includes[url] = schema
return schema
|
(self, location: str, base_url: Optional[str] = None, build: bool = False) -> Optional[~T]
|
[
-0.023351803421974182,
-0.04452119395136833,
-0.03188139572739601,
0.008234056644141674,
0.02629805915057659,
0.059543460607528687,
0.030590135604143143,
-0.020932963117957115,
-0.09413468092679977,
0.012603426352143288,
-0.02775299921631813,
-0.013503671623766422,
-0.05412380397319794,
0.02922612801194191,
0.004405743442475796,
0.01856868527829647,
0.023242682218551636,
0.04368460550904274,
-0.0046785445883870125,
-0.02691640891134739,
-0.029771730303764343,
-0.001942573580890894,
0.023751912638545036,
-0.0019630338065326214,
0.012503399513661861,
0.041611313819885254,
-0.0032099636737257242,
-0.03797395899891853,
0.001434480887837708,
-0.054451167583465576,
0.03624621778726578,
0.005665176548063755,
0.05456028878688812,
-0.024370262399315834,
0.05619709566235542,
-0.030772002413868904,
0.009107021614909172,
0.029808104038238525,
-0.013685539364814758,
-0.016904596239328384,
0.007097383961081505,
-0.029262501746416092,
0.013267243281006813,
-0.019096100702881813,
0.05783390626311302,
0.07147397845983505,
-0.024988612160086632,
0.035864297300577164,
-0.04841316118836403,
-0.008975167758762836,
0.043757349252700806,
0.03137216717004776,
-0.010093653574585915,
0.022569771856069565,
-0.027352891862392426,
-0.02938980795443058,
-0.06008906289935112,
0.0713648572564125,
0.04957711696624756,
0.03708280995488167,
-0.021769555285573006,
-0.004864959046244621,
-0.011885049752891064,
0.000434777291957289,
0.024042900651693344,
-0.016868222504854202,
-0.03499133139848709,
-0.05710643529891968,
-0.030753815546631813,
0.060161810368299484,
-0.012103290297091007,
0.023042628541588783,
0.01239427924156189,
0.013194496743381023,
0.07820308208465576,
-0.0142129547894001,
0.005219601094722748,
-0.07151035219430923,
-0.002310855546966195,
-0.05750654265284538,
0.04648536443710327,
-0.018350442871451378,
-0.0364098995923996,
-0.031772274523973465,
0.010120933875441551,
0.03335452452301979,
0.020751096308231354,
0.0034350247588008642,
0.03329996392130852,
-0.024897677823901176,
-0.01640445925295353,
0.043757349252700806,
0.014485756866633892,
0.03020821325480938,
0.03315446898341179,
-0.03928340598940849,
-0.02855321764945984,
-0.039174288511276245,
-0.005319627933204174,
-0.012676173821091652,
-0.013658259063959122,
-0.007743014022707939,
-0.02791668102145195,
0.028607778251171112,
0.019769011065363884,
0.027334704995155334,
0.015222320333123207,
-0.044084712862968445,
-0.03542781248688698,
0.006210779305547476,
0.001932343584485352,
-0.04630349949002266,
0.011521314270794392,
0.06718190014362335,
-0.008702365681529045,
-0.047685690224170685,
0.003512318478897214,
0.057397421449422836,
0.03910154104232788,
0.00615621916949749,
-0.009538956917822361,
0.06747289001941681,
0.035864297300577164,
-0.009957253001630306,
0.13327260315418243,
0.019132474437355995,
-0.007829401642084122,
-0.02231515757739544,
0.05586973577737808,
-0.054451167583465576,
0.007124664261937141,
0.033754631876945496,
-0.03924703225493431,
-0.04302988201379776,
-0.011121205054223537,
0.022296970710158348,
-0.01858687214553356,
0.01709555648267269,
-0.040629226714372635,
0.04321174696087837,
-0.007956708781421185,
0.030080905184149742,
0.0509229339659214,
-0.05306897312402725,
-0.058852363377809525,
-0.010184586979448795,
-0.02988085150718689,
0.022569771856069565,
-0.052268754690885544,
0.01305809523910284,
0.021714994683861732,
-0.06776387989521027,
0.03564605489373207,
-0.014822212047874928,
-0.08227691799402237,
-0.02329724282026291,
-0.025006799027323723,
-0.01279438752681017,
0.0005049668252468109,
-0.045212291181087494,
0.0323178768157959,
-0.008102202787995338,
0.00233699893578887,
-0.04204779490828514,
-0.0633990541100502,
0.029317062348127365,
0.002060787519440055,
-0.02742563746869564,
-0.008906967006623745,
-0.0022096915636211634,
-0.014994985423982143,
0.017850307747721672,
0.043575484305620193,
0.05794302746653557,
-0.028826018795371056,
0.027643879875540733,
0.005756110418587923,
-0.0035282319877296686,
0.017450198531150818,
0.027043716982007027,
0.04830403998494148,
0.013612791895866394,
0.0024915863759815693,
-0.0060743787325918674,
0.012212411500513554,
0.01427660882472992,
-0.02858959138393402,
0.008438657969236374,
0.09027908742427826,
0.07893054932355881,
-0.01938708871603012,
-0.011357633396983147,
0.017704812809824944,
-0.029826290905475616,
-0.047685690224170685,
-0.095298632979393,
-0.01574973575770855,
0.0002601559681352228,
-0.00934799574315548,
0.05841588228940964,
-0.036700885742902756,
-0.03513682633638382,
-0.020241867750883102,
0.01075747050344944,
0.026698168367147446,
0.04281163960695267,
-0.026880035176873207,
-0.06521773338317871,
-0.004262522328644991,
0.013267243281006813,
-0.01534962747246027,
-0.05612434819340706,
-0.04677635431289673,
-0.02133307233452797,
-0.013194496743381023,
-0.04630349949002266,
-0.07842132449150085,
-0.0034259313251823187,
0.006333540193736553,
-0.00412157503888011,
0.08511404693126678,
0.01231243833899498,
0.059543460607528687,
-0.04728558287024498,
-0.02036917395889759,
-0.011339446529746056,
0.027171023190021515,
-0.08416833728551865,
-0.05070469528436661,
-0.006665448658168316,
0.02513410523533821,
-0.04815854877233505,
0.059870824217796326,
-0.008397737517952919,
0.05928884819149971,
0.00652904761955142,
0.020296426489949226,
0.09471666067838669,
0.09391644597053528,
-0.005851591005921364,
0.033572763204574585,
0.0030531028751283884,
-0.010066373273730278,
-0.07358364015817642,
-0.09580786526203156,
0.013430924154818058,
-0.04153856635093689,
-0.013876499608159065,
0.01617712527513504,
-0.025897949934005737,
-0.05274161323904991,
0.03902879357337952,
0.003885147161781788,
0.0026416273321956396,
0.03746473044157028,
-0.02329724282026291,
-0.05834313482046127,
-0.08540503680706024,
-0.003739653155207634,
-0.06485399603843689,
-0.02382465824484825,
-0.000008658248589199502,
0.06860046833753586,
0.044266581535339355,
-0.07456572353839874,
-0.07201957702636719,
-0.025079546496272087,
-0.030990242958068848,
0.01918703503906727,
-0.009720824658870697,
-0.029917225241661072,
0.09231600910425186,
-0.0011309892870485783,
-0.009593517519533634,
0.020605601370334625,
0.0008542095310986042,
-0.014494850300252438,
-0.013976527377963066,
0.051323045045137405,
-0.008938794024288654,
-0.0056242565624415874,
-0.027643879875540733,
0.04772206395864487,
0.02953530289232731,
-0.011021178215742111,
-0.0012969435192644596,
-0.07169222086668015,
0.011848676018416882,
-0.051650404930114746,
-0.05390556529164314,
0.03119029849767685,
0.004144308622926474,
-0.010111840441823006,
-0.02626168541610241,
-0.04903151094913483,
-0.01853231154382229,
-0.014076554216444492,
0.007979442365467548,
0.011039365082979202,
0.03775572031736374,
0.0012014630483463407,
0.0142129547894001,
0.07522045075893402,
0.05750654265284538,
0.004778571892529726,
-0.04186592623591423,
0.012785294093191624,
-0.0568518191576004,
-0.002500679809600115,
0.02135125920176506,
-0.032245129346847534,
0.056415338069200516,
-0.05416017770767212,
-0.008270430378615856,
-0.016213499009609222,
-0.020932963117957115,
-0.06936430931091309,
-0.02398834004998207,
-0.019769011065363884,
0.022224223241209984,
-0.02642536535859108,
0.02000543847680092,
0.03266342729330063,
-0.03793758526444435,
-0.039501648396253586,
-0.04073834791779518,
0.01574973575770855,
-0.014958612620830536,
-0.013549137860536575,
-0.009702637791633606,
0.012876228429377079,
-0.012194224633276463,
0.012894414365291595,
0.017704812809824944,
-0.003146309871226549,
-0.003462305059656501,
0.020641975104808807,
-0.04666723310947418,
0.030262773856520653,
0.0456124022603035,
0.03329996392130852,
0.05285073071718216,
0.008147669956088066,
-0.026334432885050774,
-0.02806217409670353,
-0.046630859375,
-0.0023642792366445065,
-0.027171023190021515,
0.038155827671289444,
-0.06350817531347275,
-0.05612434819340706,
-0.014549409970641136,
0.005392374936491251,
-0.007720280904322863,
0.03771934658288956,
-0.030262773856520653,
-0.03153584524989128,
0.023024441674351692,
0.002893968718126416,
0.043757349252700806,
0.017932148650288582,
-0.008311350829899311,
-0.02038736082613468,
0.017868494614958763,
0.0009854951640591025,
0.03053557500243187,
-0.026370806619524956,
-0.06649080663919449,
-0.059325218200683594,
-0.024206580594182014,
-0.020096372812986374,
-0.014513036236166954,
-0.01742291823029518,
-0.018950607627630234,
0.023733725771307945,
0.015495121479034424,
-0.00214717467315495,
-0.0006967803346924484,
-0.037028249353170395,
-0.03431842103600502,
0.013239962980151176,
0.08918788284063339,
0.0016538586933165789,
-0.019150661304593086,
0.0059106978587806225,
-0.03873780369758606,
-0.008452298119664192,
-0.01635899394750595,
-0.08642349392175674,
0.0672910213470459,
0.043102625757455826,
0.0208602175116539,
-0.0034986785613000393,
0.045867014676332474,
-0.019096100702881813,
-0.03775572031736374,
-0.049177005887031555,
-0.0018232229631394148,
0.07987625896930695,
-0.011303072795271873,
0.04644899070262909,
-0.04241153225302696,
0.02822585590183735,
0.03182683512568474,
-0.015067732892930508,
-0.049977224320173264,
0.014140208251774311,
-0.02447938174009323,
-0.02953530289232731,
-0.0028666884172707796,
-0.02677091397345066,
-0.0591069795191288,
-0.018068548291921616,
0.0699462890625,
-0.032263316214084625,
-0.0085886986926198,
0.09937246888875961,
0.0052968948148190975,
-0.04124757647514343,
0.06925519555807114,
0.04710371419787407,
0.025897949934005737,
0.0687095895409584,
0.036700885742902756,
-0.010539229027926922,
0.0009133165003731847,
-0.05201414227485657,
-0.026898222044110298,
-0.017231957986950874,
0.018641430884599686,
0.008966074325144291,
0.006192592903971672,
0.014240235090255737,
-0.04044736176729202,
0.015649709850549698,
-0.022715266793966293,
0.018186762928962708,
-0.002709827618673444,
-0.009143395349383354,
-0.03953802213072777,
0.05841588228940964,
-0.035900671035051346,
-0.035864297300577164,
0.034700341522693634,
-0.032263316214084625,
-0.03282710537314415,
-0.009939066134393215,
0.09107930958271027,
0.00134468381293118,
-0.0009388916078023612,
-0.006151672452688217,
-0.03280891850590706,
0.03131760656833649,
0.002853048499673605,
-0.03939252719283104,
-0.026498112827539444,
0.05561511963605881,
-0.0038260403089225292,
-0.008856953121721745,
-0.008329537697136402,
0.04412108659744263,
-0.008370457217097282,
0.005987991578876972,
-0.03877417743206024,
-0.013030815869569778,
0.037864841520786285,
-0.031754087656736374,
-0.00632899347692728,
0.029608050361275673,
0.005305988248437643,
0.04797668009996414,
-0.0022892586421221495,
0.013931060209870338,
-0.023369990289211273,
0.05401468649506569,
0.010493761859834194,
0.0022483384236693382,
0.02135125920176506,
0.007301985286176205,
-0.03140854090452194,
-0.004151128698140383,
0.02313356287777424,
-0.03431842103600502,
-0.0008723962819203734,
0.06805486977100372,
0.0005842497339472175,
0.003485038410872221,
-0.0499044768512249,
0.025661522522568703,
0.04877689853310585,
0.0456124022603035,
0.0877329409122467,
0.0364098995923996,
-0.03971989080309868,
0.0295534897595644,
0.004378463141620159,
0.05223238095641136,
0.062489718198776245,
0.04961348697543144,
0.019732637330889702,
0.05550599843263626,
-0.08205867558717728,
-0.04022911936044693,
0.08373185247182846,
-0.016468113288283348,
0.015040452592074871,
-0.026570860296487808,
0.00977538526058197,
0.02069653570652008,
-0.006374460179358721,
-0.05710643529891968,
0.06961892545223236,
0.07529319822788239,
0.04106571152806282,
0.02526141330599785,
-0.017268331721425056,
-0.012166944332420826,
0.05274161323904991,
0.014794931747019291,
0.006015271879732609,
0.014167488552629948,
0.02724377065896988,
-0.019441649317741394,
-0.01924159564077854,
-0.06696365773677826,
0.027225583791732788,
0.011221232824027538,
-0.017522946000099182,
-0.012039637193083763,
0.00537873525172472,
0.029808104038238525,
-0.010639255866408348,
-0.039829012006521225,
0.0182049497961998,
0.0564517118036747,
0.06914607435464859,
-0.021733181551098824,
0.0002425375278107822,
-0.04550328105688095,
-0.01845047064125538,
0.031772274523973465,
0.013449111022055149,
0.0030030892230570316,
-0.009939066134393215,
0.0030917497351765633,
0.038992419838905334,
-0.04775843769311905,
0.022296970710158348,
0.04714008793234825,
-0.019332528114318848,
-0.03282710537314415,
0.011730462312698364,
0.060198184102773666,
0.026207124814391136,
0.03764659911394119,
-0.013585511595010757,
0.02415201999247074,
0.01512229349464178,
0.01836862973868847,
0.0009491216624155641,
0.043102625757455826,
-0.0022244683932513,
0.008443204686045647,
0.06692728400230408,
-0.049358874559402466,
-0.00685640936717391,
-0.008961527608335018,
-0.027171023190021515,
-0.04041098803281784,
0.031917769461870193,
-0.002094887662678957,
0.008406830951571465,
-0.035700615495443344,
-0.0025847936049103737,
0.029753543436527252,
0.028498657047748566,
-0.02464306354522705,
0.028935139998793602,
0.027698440477252007,
-0.00024850506451912224,
-0.025406908243894577,
-0.029117006808519363,
0.03971989080309868,
-0.0009354816284030676,
0.023933779448270798,
-0.02431570179760456,
-0.05401468649506569,
0.05565149337053299,
0.055069517344236374,
-0.06816398352384567,
-0.004101114813238382,
0.008370457217097282,
-0.017686625942587852,
-0.04044736176729202,
0.02462487667798996,
-0.0014151574578136206,
-0.0372283048927784,
-0.059216100722551346,
0.043102625757455826,
-0.0005527070607058704,
-0.024406636133790016,
0.02777118608355522,
0.0031326699536293745,
0.004367096349596977,
-0.015631522983312607,
-0.011148485355079174,
0.005733376834541559,
0.002455212874338031,
-0.012821667827665806,
-0.04553965479135513,
0.002800761489197612,
-0.021751368418335915,
-0.019769011065363884,
-0.025734269991517067,
-0.016304433345794678,
-0.03277254477143288,
-0.07733011245727539,
0.008220416493713856,
-0.005333268083631992,
-0.09071557223796844,
0.06259883940219879,
-0.010539229027926922,
0.05783390626311302,
0.002971262438222766,
-0.0439755916595459,
0.07827582955360413,
0.021460380405187607,
0.047176461666822433,
0.024261141195893288,
0.04830403998494148,
0.03731923550367355,
-0.04470306262373924,
0.0380467064678669,
-0.05830676108598709,
0.0244430098682642,
-0.02153312787413597,
0.020896591246128082,
0.01664998196065426,
0.019623516127467155,
0.026552673429250717,
0.034245673567056656,
-0.0015458748675882816,
0.019277969375252724,
0.009202501736581326,
-0.013503671623766422,
0.030153652653098106,
0.010493761859834194,
-0.024570316076278687,
-0.028116734698414803,
-0.016413552686572075,
-0.0203509870916605,
0.02282438799738884,
0.021078458055853844,
0.01625896617770195,
0.10366454720497131,
-0.012521586380898952,
-0.0142129547894001,
-0.018350442871451378,
0.07594791799783707,
0.026989156380295753,
0.016049817204475403,
-0.036191657185554504,
0.03451847657561302,
-0.022569771856069565,
-0.03215419501066208,
0.01920522190630436,
0.03942890092730522,
-0.06641805917024612,
-0.026534486562013626,
-0.010702909901738167,
-0.05223238095641136,
0.030335519462823868,
-0.010493761859834194,
-0.014358448795974255,
-0.02415201999247074,
-0.034736715257167816,
-0.037682972848415375,
-0.04001087695360184,
-0.010466481558978558,
-0.07027365267276764,
0.04597613587975502,
0.015049546025693417,
0.0341547392308712,
0.01955077052116394,
-0.04710371419787407,
0.021769555285573006,
0.004212508909404278,
-0.021605873480439186,
-0.010730190202593803,
0.0012662532972171903,
0.0006143715581856668,
-0.027807559818029404,
-0.028171295300126076,
-0.009229782037436962,
-0.02298806793987751,
0.027152836322784424,
0.04757657274603844,
-0.022915320470929146,
-0.03499133139848709,
0.010984804481267929,
0.07071013003587723,
0.021733181551098824,
-0.0167681947350502,
0.05237787589430809,
-0.024388449266552925,
0.05288710445165634,
0.011885049752891064,
0.03662813827395439,
-0.04481218382716179,
0.03575517609715462,
0.032754357904195786,
-0.00031826834310777485,
-0.022460652515292168,
-0.03397287428379059,
0.05223238095641136,
-0.022224223241209984,
-0.0036532660014927387,
0.04346636310219765,
0.02677091397345066,
-0.011603154242038727,
0.013976527377963066,
-0.009511676616966724,
-0.01624077931046486,
-0.03410017862915993,
-0.000029979741157148965,
-0.0022631152532994747,
-0.012230598367750645,
-0.045248664915561676,
0.017577506601810455,
0.018641430884599686,
0.005574242677539587,
0.042302411049604416,
-0.04346636310219765,
0.04677635431289673,
0.0472492091357708,
-0.004533050581812859,
-0.01804126799106598,
0.04619437828660011,
0.009216141887009144,
-0.04150219261646271,
0.028535030782222748,
0.016704540699720383,
-0.00037083946517668664,
0.011512220837175846,
-0.04124757647514343,
-0.006910969968885183,
0.024333888664841652,
-0.014103834517300129,
-0.044593941420316696,
0.1020641103386879,
-0.03086293675005436,
0.01656814105808735,
0.022206036373972893,
0.005710643716156483,
-0.014403915964066982,
-0.009957253001630306,
-0.03971989080309868,
0.02100571058690548,
0.021751368418335915,
-0.05266886577010155,
-0.02231515757739544,
-0.06659992784261703,
-0.0335363894701004,
0.02084203064441681,
0.029480742290616035,
0.04364823177456856,
0.0017879861406981945,
-0.015822483226656914
] |
713,396
|
xmlschema.validators.schemas
|
is_valid
|
Like :meth:`validate` except that does not raise an exception but returns
``True`` if the XML data instance is valid, ``False`` if it is invalid.
|
def is_valid(self, source: Union[XMLSourceType, XMLResource],
path: Optional[str] = None,
schema_path: Optional[str] = None,
use_defaults: bool = True,
namespaces: Optional[NamespacesType] = None,
max_depth: Optional[int] = None,
extra_validator: Optional[ExtraValidatorType] = None,
validation_hook: Optional[ValidationHookType] = None,
allow_empty: bool = True,
use_location_hints: bool = False) -> bool:
"""
Like :meth:`validate` except that does not raise an exception but returns
``True`` if the XML data instance is valid, ``False`` if it is invalid.
"""
error = next(self.iter_errors(source, path, schema_path, use_defaults,
namespaces, max_depth, extra_validator,
validation_hook, allow_empty, use_location_hints), None)
return error is None
|
(self, source: Union[~T, NoneType, xmlschema.resources.XMLResource], path: Optional[str] = None, schema_path: Optional[str] = None, use_defaults: bool = True, namespaces: Optional[~T] = None, max_depth: Optional[int] = None, extra_validator: Optional[~T] = None, validation_hook: Optional[~T] = None, allow_empty: bool = True, use_location_hints: bool = False) -> bool
|
[
0.05451218783855438,
-0.03507993742823601,
0.011854034848511219,
0.003284195438027382,
-0.019814342260360718,
0.0139919463545084,
0.023180415853857994,
0.0063045634888112545,
0.03458867222070694,
0.008260524831712246,
0.04203042387962341,
-0.022307056933641434,
0.09796182066202164,
0.00014143760199658573,
-0.009274895302951336,
0.04446855187416077,
-0.040028974413871765,
0.005599507596343756,
0.03853698819875717,
0.07252522557973862,
-0.031440939754247665,
-0.006149906199425459,
-0.011735768057405949,
-0.018258672207593918,
0.033751703798770905,
0.08828208595514297,
0.03618983179330826,
-0.011235405690968037,
-0.006186296232044697,
0.001986665418371558,
-0.0009216899052262306,
-0.0014794800663366914,
0.052365176379680634,
0.011071650311350822,
-0.004089323803782463,
0.037226948887109756,
-0.024290310218930244,
-0.009807098656892776,
0.01670300029218197,
-0.0772923156619072,
-0.03948312625288963,
0.05069123953580856,
-0.026091614738106728,
0.03638997673988342,
-0.01833145134150982,
-0.008883703500032425,
-0.043449632823467255,
0.031204406172037125,
-0.0556766651570797,
-0.014737941324710846,
0.06284549087285995,
0.009688831865787506,
0.003495712298899889,
0.008660814724862576,
-0.0008779081981629133,
-0.0029976244550198317,
0.0036276259925216436,
0.10181915760040283,
0.08551644533872604,
-0.044796060770750046,
0.016357295215129852,
0.016830364242196083,
0.08085852861404419,
-0.06168101355433464,
-0.02640092931687832,
-0.04919924959540367,
-0.030185487121343613,
-0.081440769135952,
-0.022780125960707664,
0.09985409677028656,
-0.031841229647397995,
0.028802666813135147,
0.000155510293552652,
0.04457772150635719,
-0.011572012677788734,
0.010198291391134262,
-0.01637548953294754,
0.014019238762557507,
-0.0044486746191978455,
-0.04414104297757149,
0.009870781563222408,
-0.011535623110830784,
-0.01573866605758667,
-0.03129538148641586,
0.04763448238372803,
0.037881966680288315,
0.0013487035175785422,
0.03107704035937786,
0.04435938224196434,
0.06641171127557755,
0.01658473163843155,
0.04585137218236923,
-0.021833986043930054,
-0.057678114622831345,
0.027692772448062897,
0.01288205198943615,
0.03531647473573685,
-0.044796060770750046,
0.008124062791466713,
0.01267280988395214,
-0.01809491589665413,
0.028584327548742294,
0.024708794429898262,
0.07197937369346619,
0.02836598828434944,
0.08420640975236893,
-0.014082921668887138,
-0.02099701762199402,
0.0015056353295221925,
-0.007223410531878471,
0.004041561856865883,
-0.07197937369346619,
0.06757619231939316,
0.05636807531118393,
-0.014619673602283001,
-0.07408999651670456,
-0.0031045200303196907,
0.0473797507584095,
-0.08449752628803253,
-0.020724091678857803,
0.06088043376803398,
0.03165927901864052,
0.019905317574739456,
-0.014419528655707836,
0.08013073354959488,
-0.014865306206047535,
0.03664470836520195,
-0.0235443152487278,
0.0559677854180336,
0.004562393296509981,
0.023253194987773895,
-0.001959372777491808,
0.013336926698684692,
0.014055629260838032,
0.017512677237391472,
-0.0015897871926426888,
0.005899725016206503,
0.03744528815150261,
-0.07288912683725357,
0.021269941702485085,
0.03548022732138634,
0.018868204206228256,
0.02017824351787567,
-0.03973785415291786,
-0.06375524401664734,
0.018940983340144157,
-0.008947385475039482,
0.01553852017968893,
-0.0047807334922254086,
0.04032009467482567,
0.005517630372196436,
-0.09388614445924759,
-0.019122933968901634,
0.0033092135563492775,
-0.06004346162080765,
-0.052037667483091354,
-0.034079212695360184,
-0.0074326531030237675,
0.07903902977705002,
-0.039628684520721436,
-0.03586232289671898,
0.03275097906589508,
-0.022943880409002304,
-0.027146924287080765,
-0.03266000375151634,
0.012199739925563335,
-0.06528361886739731,
-0.016393685713410378,
-0.008924641646444798,
0.008915544487535954,
0.0454510822892189,
-0.01833145134150982,
0.04104789346456528,
0.008051282726228237,
-0.05633168667554855,
0.0031636536587029696,
0.03222332522273064,
-0.0063045634888112545,
-0.012509054504334927,
0.013391511514782906,
-0.00345704797655344,
-0.005494886543601751,
0.04363158345222473,
0.013800899498164654,
0.018185891211032867,
0.03999258577823639,
-0.018959177657961845,
-0.03995619714260101,
0.0019946256652474403,
0.02441767416894436,
-0.03966507688164711,
-0.005849688779562712,
0.018022136762738228,
0.029293932020664215,
-0.042976561933755875,
-0.02687399834394455,
0.011171722784638405,
-0.011799450032413006,
-0.010998871177434921,
0.027074143290519714,
0.05454857647418976,
-0.04454133287072182,
0.03784557804465294,
-0.019996292889118195,
-0.044796060770750046,
0.021015211939811707,
-0.05935205519199371,
-0.005103694275021553,
-0.036717489361763,
-0.026364538818597794,
-0.046470001339912415,
-0.03497076779603958,
-0.01005273126065731,
0.013919166289269924,
0.04068399593234062,
-0.005690482910722494,
-0.027401654049754143,
-0.040902335196733475,
-0.012681907042860985,
0.016639316454529762,
0.10225583612918854,
0.0134733896702528,
0.03537105768918991,
-0.0450144037604332,
0.060771264135837555,
-0.0054221064783632755,
0.030549386516213417,
-0.017267044633626938,
-0.000022192911274032667,
-0.013664436526596546,
0.01883181370794773,
-0.05876981467008591,
0.043522413820028305,
-0.013273244723677635,
-0.008337853476405144,
0.03584412857890129,
0.1073504313826561,
0.04239432513713837,
0.028584327548742294,
0.03475242853164673,
0.008888252079486847,
-0.04552386328577995,
-0.024799769744277,
-0.08558923006057739,
-0.029275737702846527,
-0.007077850867062807,
-0.059024542570114136,
-0.014919891022145748,
-0.004414559341967106,
-0.03187762200832367,
-0.04548747092485428,
0.05356604605913162,
-0.02017824351787567,
-0.019978098571300507,
-0.00659568328410387,
-0.010571288876235485,
-0.07641895115375519,
-0.053456876426935196,
0.016602927818894386,
-0.04221237450838089,
0.020560337230563164,
-0.013045807369053364,
-0.008356048725545406,
0.11040719598531723,
-0.03773640841245651,
-0.028256816789507866,
0.029275737702846527,
-0.03084050677716732,
0.040975116193294525,
-0.007277995347976685,
-0.005335680674761534,
0.07707397639751434,
0.0057996525429189205,
0.02019643783569336,
0.018604375422000885,
-0.03218693658709526,
-0.010161900892853737,
-0.06044375151395798,
0.0685587152838707,
-0.014883500523865223,
-0.01514732837677002,
0.021888570860028267,
0.004364523105323315,
-0.0003610568237490952,
0.016793975606560707,
-0.06342773139476776,
-0.05662280693650246,
-0.027292482554912567,
-0.06251797825098038,
-0.020087268203496933,
0.00598160270601511,
0.004610155243426561,
0.011390062980353832,
0.002990801353007555,
0.026346344500780106,
0.03575315326452255,
-0.000030935036193113774,
-0.05556749552488327,
-0.04148457571864128,
-0.01948683336377144,
-0.03531647473573685,
-0.03395184874534607,
0.06546556949615479,
-0.010835115797817707,
0.030640361830592155,
0.010816920548677444,
-0.03831864520907402,
-0.037554457783699036,
-0.005217412952333689,
0.05061845853924751,
-0.007678285241127014,
0.027001364156603813,
-0.033114880323410034,
-0.04275822266936302,
0.05869703367352486,
-0.06728506833314896,
0.015047255903482437,
-0.049963440746068954,
-0.020360192283988,
0.007337129209190607,
-0.0475253127515316,
0.06186296045780182,
-0.036772072315216064,
-0.056076955050230026,
-0.0898832455277443,
0.013145879842340946,
0.026437317952513695,
0.03180484101176262,
0.002738345880061388,
-0.02059672772884369,
-0.003691308433189988,
-0.036062467843294144,
0.08413362503051758,
0.018740838393568993,
0.026764828711748123,
-0.023944605141878128,
-0.012227032333612442,
-0.036044273525476456,
0.04588776081800461,
-0.0074326531030237675,
0.011089845560491085,
0.026037029922008514,
0.030403826385736465,
-0.0537479966878891,
0.03784557804465294,
-0.010343851521611214,
-0.0016591555904597044,
-0.007277995347976685,
0.02567312866449356,
-0.015656787902116776,
-0.0664844885468483,
0.03442491963505745,
0.004011995159089565,
-0.019759757444262505,
-0.027856528759002686,
-0.03324224427342415,
0.036135248839855194,
0.041302625089883804,
0.005149181932210922,
0.008501608856022358,
0.044796060770750046,
-0.031531915068626404,
-0.036517344415187836,
0.0009745691204443574,
0.01868625357747078,
0.021961351856589317,
0.007837491109967232,
-0.045196350663900375,
-0.04403187334537506,
0.018113112077116966,
0.005931566469371319,
-0.042248763144016266,
-0.06466498970985413,
-0.011317282915115356,
0.0150654511526227,
0.017257947474718094,
0.00041166163282468915,
0.011763060465455055,
0.006782182026654482,
-0.02965783141553402,
0.036117054522037506,
0.08078575134277344,
-0.00447824178263545,
-0.024199334904551506,
0.021251747384667397,
-0.049963440746068954,
-0.018295060843229294,
0.021251747384667397,
-0.06033458188176155,
-0.008724496699869633,
0.013773606158792973,
-0.021997742354869843,
-0.023235000669956207,
-0.0021754384506493807,
-0.040502045303583145,
-0.009097494184970856,
0.03991980478167534,
0.014082921668887138,
0.00974341668188572,
-0.022070521488785744,
0.0014465015847235918,
0.015747763216495514,
-0.03442491963505745,
0.020141853019595146,
-0.01604798063635826,
-0.014919891022145748,
-0.0034161091316491365,
0.01995990239083767,
-0.01604798063635826,
0.07940293103456497,
0.04610610008239746,
-0.010880603455007076,
0.0010433689458295703,
0.007719223853200674,
-0.021961351856589317,
0.034697845578193665,
0.011753962375223637,
0.03966507688164711,
0.01630271039903164,
-0.021688425913453102,
-0.02616439387202263,
0.03806391730904579,
0.04628805071115494,
0.020414777100086212,
0.026692049577832222,
-0.043049342930316925,
-0.04854423180222511,
-0.03666290268301964,
-0.0063000149093568325,
0.027710968628525734,
-0.015156425535678864,
-0.03504354879260063,
0.03871893510222435,
-0.033587951213121414,
-0.009001970291137695,
-0.00801034364849329,
-0.05232878774404526,
0.03107704035937786,
0.00504910945892334,
-0.0025359266437590122,
0.020414777100086212,
-0.015547618269920349,
0.02942129783332348,
0.023162221536040306,
-0.015192816033959389,
-0.04890812933444977,
-0.023653484880924225,
0.05025456100702286,
0.02741984836757183,
0.016975924372673035,
-0.03431575000286102,
-0.0019718818366527557,
0.04181208461523056,
-0.0008801826043054461,
-0.12379870563745499,
0.005276546813547611,
-0.042794615030288696,
-0.015747763216495514,
-0.04275822266936302,
-0.013855484314262867,
0.034079212695360184,
-0.033678922802209854,
-0.0008255976135842502,
-0.0648469403386116,
-0.03810030594468117,
0.01925029791891575,
-0.018395133316516876,
0.02831140346825123,
0.06626614928245544,
0.010680458508431911,
0.01085331104695797,
0.014110214076936245,
-0.028802666813135147,
-0.010598581284284592,
0.05072762817144394,
0.02481796406209469,
-0.0011826743138954043,
0.034133799374103546,
-0.03451589494943619,
-0.0023312328848987818,
0.030094511806964874,
-0.006636622361838818,
0.06368245929479599,
0.011189918033778667,
-0.0112536009401083,
-0.03737250715494156,
0.0049535855650901794,
0.031531915068626404,
-0.04079316556453705,
0.04730696976184845,
0.013391511514782906,
-0.03324224427342415,
-0.014319456182420254,
-0.008970129303634167,
0.010753238573670387,
-0.07474501430988312,
0.06073487177491188,
-0.022234275937080383,
0.05585861578583717,
-0.01275468710809946,
0.021761206910014153,
0.02989436686038971,
0.00039801537059247494,
0.05363882705569267,
-0.0004372483235783875,
-0.003425206756219268,
-0.015411155298352242,
-0.020014487206935883,
-0.0004838729801122099,
0.005517630372196436,
-0.05509442463517189,
0.04228515550494194,
0.05272907763719559,
0.06681200116872787,
0.06000707298517227,
0.018386036157608032,
0.03726333752274513,
0.018458815291523933,
0.026528293266892433,
-0.0515282079577446,
-0.005262900609523058,
0.06208130344748497,
0.05272907763719559,
-0.022634565830230713,
-0.011408258229494095,
0.038609765470027924,
-0.047343362122774124,
-0.012572737410664558,
0.0155840078368783,
-0.007732870057225227,
0.07441750168800354,
0.008183196187019348,
0.024999914690852165,
-0.008406084962189198,
-0.029293932020664215,
0.0356803722679615,
0.015465740114450455,
0.01642097719013691,
-0.10785989463329315,
-0.012891150079667568,
0.04235793277621269,
-0.012463567778468132,
-0.027856528759002686,
0.04839866980910301,
-0.00131686229724437,
-0.013273244723677635,
0.042103204876184464,
-0.019359467551112175,
0.04053843393921852,
-0.04454133287072182,
0.031095236539840698,
0.005144632887095213,
0.021433696150779724,
0.0775834321975708,
0.0663389265537262,
0.007123338058590889,
0.03948312625288963,
0.019414052367210388,
-0.0006879980210214853,
0.0032318849116563797,
0.013482486829161644,
-0.023799045011401176,
-0.05745977535843849,
-0.00953417457640171,
0.00562680047005415,
-0.053056586533784866,
0.027092337608337402,
-0.08580756932497025,
0.038609765470027924,
0.047416139394044876,
-0.029457686468958855,
0.013054904527962208,
-0.007050557993352413,
-0.0024608722887933254,
0.011071650311350822,
-0.02314402535557747,
-0.042321544140577316,
0.014610576443374157,
-0.009943561628460884,
-0.01800394058227539,
0.04261266440153122,
-0.060225412249565125,
0.04676112160086632,
-0.046615563333034515,
0.015438447706401348,
-0.03904644772410393,
-0.05302019789814949,
0.004762538243085146,
-0.02630995400249958,
-0.0007243879954330623,
0.015611300244927406,
0.022216081619262695,
-0.01573866605758667,
-0.03595329821109772,
0.035662177950143814,
0.007610054221004248,
0.03195039927959442,
-0.041157063096761703,
0.03737250715494156,
-0.0018695350736379623,
-0.0497450977563858,
-0.004107518587261438,
0.004685209598392248,
0.006459221243858337,
-0.03810030594468117,
-0.02234344556927681,
-0.000512018334120512,
0.01630271039903164,
0.005240156780928373,
0.00934312678873539,
0.00447824178263545,
-0.04421382397413254,
0.0008062654524110258,
-0.04239432513713837,
-0.0032569030299782753,
0.0021197162568569183,
-0.004671563394367695,
0.02987617254257202,
-0.046943072229623795,
0.0027087789494544268,
0.007032363209873438,
-0.019668782129883766,
-0.015847835689783096,
0.014874403364956379,
-0.021178966388106346,
0.0031500074546784163,
-0.02933032251894474,
0.023198610171675682,
-0.02862071804702282,
0.0009984499774873257,
0.058478694409132004,
-0.03542564436793327,
0.018185891211032867,
-0.05160098895430565,
0.004594234749674797,
-0.03640817105770111,
0.044796060770750046,
0.033515170216560364,
0.033278632909059525,
-0.012490860186517239,
-0.055130816996097565,
-0.006768535822629929,
-0.03418838232755661,
0.04235793277621269,
-0.029530467465519905,
0.04221237450838089,
0.008679009974002838,
0.009888976812362671,
0.05858786404132843,
0.02647370845079422,
-0.029621442779898643,
0.006140808574855328,
-0.0007528176647610962,
-0.04730696976184845,
0.09213942289352417,
0.06801287084817886,
0.03631719946861267,
0.01764913834631443,
0.0026405476965010166,
0.0028043026104569435,
-0.00691409595310688,
0.002488164696842432,
0.04934481158852577,
0.01885000802576542,
-0.05749616399407387,
-0.013455194421112537,
0.00916572567075491,
-0.04759809002280235,
-0.022525396198034286,
0.027292482554912567,
-0.1304216831922531,
-0.014092018827795982,
0.0031522817444056273,
0.016857657581567764,
-0.04395909234881401,
-0.03802752494812012,
-0.04563303291797638,
-0.021670231595635414,
-0.04497801139950752,
0.007823845371603966,
-0.07143352925777435,
0.056076955050230026,
-0.024690600112080574,
0.005472142715007067,
0.01564769074320793,
0.03948312625288963,
-0.015192816033959389,
-0.0017069174209609628,
0.09126606583595276,
0.014537796378135681,
-0.023198610171675682,
-0.05633168667554855,
0.02680121921002865,
0.008183196187019348,
-0.014110214076936245,
-0.06553834676742554,
-0.0018058526329696178,
0.07634617388248444,
-0.016120759770274162,
-0.040429264307022095,
0.01696682721376419,
0.014956280589103699,
0.02352612093091011,
0.01618444174528122,
-0.02463601529598236,
-0.04199403524398804,
-0.05382077768445015,
0.02312583103775978,
0.023435145616531372,
0.05232878774404526,
0.020251022651791573,
-0.021997742354869843,
0.01604798063635826,
-0.05946122482419014,
-0.0009341989643871784,
-0.009461394511163235,
0.012181544676423073,
-0.020705897361040115,
0.013982849195599556,
-0.02203413099050522,
-0.01578415371477604,
-0.02416294440627098,
-0.03937395662069321,
-0.023962799459695816,
-0.04148457571864128,
0.0005597802228294313,
-0.0030954224057495594,
-0.044723283499479294,
0.07208854705095291,
-0.033023905009031296,
0.015656787902116776,
0.020869651809334755,
-0.036135248839855194,
0.05866064503788948,
0.00611806521192193,
-0.00934312678873539,
-0.05014538764953613,
0.03662651404738426,
0.01760365255177021,
-0.02137911133468151,
0.007955758832395077,
0.030258266255259514,
0.015211010351777077,
-0.0389372743666172,
0.006836766842752695,
0.029057396575808525,
0.03373350948095322,
0.020287413150072098,
-0.043995484709739685,
0.017139678820967674,
0.0025177316274493933,
-0.04570581018924713,
0.048689790070056915,
0.020851457491517067,
0.031914010643959045,
-0.011599305085837841,
-0.07263439893722534,
-0.017285238951444626,
0.001324822660535574,
-0.04883534833788872,
-0.01948683336377144,
0.036535538733005524,
0.003816399024799466,
-0.019505027681589127,
0.04039287567138672,
0.03091328591108322,
0.0055449227802455425,
0.046615563333034515
] |
713,398
|
xmlschema.validators.schemas
|
iter_components
|
Iterates yielding the schema and its components. For default
includes all the relevant components of the schema, excluding
only facets and empty attribute groups. The first returned
component is the schema itself.
:param xsd_classes: provide a class or a tuple of classes to restrict the range of component types yielded.
|
def iter_components(self, xsd_classes: ComponentClassType = None) \
-> Iterator[Union[XsdComponent, SchemaType]]:
"""
Iterates yielding the schema and its components. For default
includes all the relevant components of the schema, excluding
only facets and empty attribute groups. The first returned
component is the schema itself.
:param xsd_classes: provide a class or a tuple of classes to \
restrict the range of component types yielded.
"""
if xsd_classes is None or isinstance(self, xsd_classes):
yield self
for xsd_global in self.iter_globals(self):
if not isinstance(xsd_global, tuple):
yield from xsd_global.iter_components(xsd_classes)
|
(self, xsd_classes: Optional[~T] = None) -> Iterator[Union[xmlschema.validators.xsdbase.XsdComponent, ~T, NoneType]]
|
[
0.047238659113645554,
0.026652831584215164,
-0.0657830759882927,
-0.03575333207845688,
-0.00999719649553299,
0.0294764656573534,
-0.007955783978104591,
-0.019517427310347557,
0.053610920906066895,
0.06231077015399933,
-0.011781047098338604,
-0.023218680173158646,
-0.003353067208081484,
0.02634757198393345,
-0.008685541339218616,
-0.027835704386234283,
-0.026729146018624306,
-0.010560015216469765,
0.03210931643843651,
-0.03403625637292862,
-0.049566250294446945,
0.062081824988126755,
-0.023752881214022636,
-0.019631898030638695,
0.01334549393504858,
0.002632849384099245,
0.04006509855389595,
-0.01354581955820322,
0.00983502808958292,
-0.024744968861341476,
0.003748948685824871,
0.01122776698321104,
-0.00587621470913291,
-0.05147411301732063,
0.028503457084298134,
-0.0176763404160738,
0.0030048824846744537,
0.053801704198122025,
0.06105158105492592,
0.04735313355922699,
0.06299760192632675,
0.0012746902648359537,
-0.018296396359801292,
-0.042812421917915344,
-0.006605971604585648,
0.0005234695854596794,
0.04079008847475052,
0.0526951439678669,
-0.0391874834895134,
0.002923798281699419,
0.0341888852417469,
-0.02894226461648941,
-0.013135628774762154,
0.0007714916719123721,
-0.007454970385879278,
0.034417830407619476,
-0.02621402218937874,
0.042278219014406204,
0.007521745748817921,
0.025641662999987602,
-0.016064196825027466,
-0.012334327213466167,
-0.0005938220419920981,
0.008256272412836552,
0.0007965323165990412,
-0.03808092325925827,
-0.012076766230165958,
-0.04674261808395386,
-0.007326189894229174,
0.021272659301757812,
-0.05620561167597771,
0.02173054777085781,
-0.01526289526373148,
0.02232198417186737,
-0.02562258578836918,
0.004240223206579685,
-0.021406210958957672,
-0.01835363171994686,
0.015577692538499832,
-0.058380573987960815,
0.01801975630223751,
0.0018112764228135347,
-0.07475002855062485,
0.03518097475171089,
0.040561143308877945,
0.0472768172621727,
-0.004411930684000254,
0.0027735542971640825,
-0.019708212465047836,
0.0715448185801506,
-0.015186580829322338,
0.016197746619582176,
0.037661194801330566,
0.026385730132460594,
0.0335211344063282,
0.01861119270324707,
-0.07681051641702652,
-0.021940411999821663,
-0.0024110605008900166,
0.029323836788535118,
0.04548342898488045,
0.021825939416885376,
0.04044667258858681,
0.02371472306549549,
0.036840811371803284,
0.0033554520923644304,
-0.05212278664112091,
-0.05525168031454086,
0.06223445385694504,
-0.002306128153577447,
-0.046055786311626434,
-0.0027807087171822786,
0.11088493466377258,
0.049566250294446945,
0.001751655712723732,
-0.030945520848035812,
0.05383986234664917,
0.07185007631778717,
0.027454132214188576,
-0.018382249400019646,
-0.010874812491238117,
0.04349924996495247,
0.05357276275753975,
0.03378823399543762,
0.0335211344063282,
0.028789635747671127,
0.040561143308877945,
0.021100953221321106,
-0.0010558823123574257,
0.025450877845287323,
0.007478818763047457,
0.004197296220809221,
0.007617138791829348,
-0.06288313120603561,
-0.008590147830545902,
0.00718310009688139,
-0.011447171680629253,
-0.034417830407619476,
-0.03914932534098625,
-0.002246507443487644,
-0.02125358209013939,
0.0033482976723462343,
0.00003498988735373132,
0.022417377680540085,
-0.08753270655870438,
0.0531148761510849,
0.00597637752071023,
0.02747321128845215,
-0.054145120084285736,
0.003307755570858717,
-0.04243084788322449,
-0.01535828784108162,
0.06051737815141678,
-0.00536586157977581,
-0.11821112036705017,
0.07005669176578522,
-0.004597947001457214,
0.029438309371471405,
-0.02159699611365795,
-0.006858763284981251,
-0.022398298606276512,
0.025527192279696465,
0.022073961794376373,
0.018887832760810852,
0.009753944352269173,
0.010645869188010693,
-0.09142474085092545,
-0.00677290977910161,
0.033616527915000916,
-0.011246846057474613,
0.06509624421596527,
0.011313620954751968,
-0.010226139798760414,
-0.05643455311655998,
-0.013240561820566654,
0.018782900646328926,
0.024325238540768623,
-0.039645370095968246,
0.03756580129265785,
0.02728242427110672,
-0.02272263541817665,
-0.03563886135816574,
-0.007578981574624777,
-0.03159419447183609,
0.014576065354049206,
0.04968072474002838,
-0.0038324175402522087,
-0.011122834868729115,
0.012601427733898163,
-0.035142816603183746,
-0.009668090380728245,
0.01420403178781271,
-0.02457326091825962,
0.031155385076999664,
0.026004157960414886,
0.03968352824449539,
-0.003570086555555463,
-0.0033983790781348944,
-0.009491613134741783,
0.06410416215658188,
-0.017647722736001015,
0.011036980897188187,
0.009267439134418964,
-0.029438309371471405,
0.0011828744318336248,
-0.015329670161008835,
0.008823861368000507,
-0.07463555783033371,
-0.01735200360417366,
-0.054068807512521744,
0.004595562350004911,
-0.016531623899936676,
-0.004555020481348038,
-0.01526289526373148,
0.009701477363705635,
0.04781102016568184,
-0.013078393414616585,
-0.11378488689661026,
-0.009815949015319347,
-0.01901184394955635,
-0.012076766230165958,
-0.023562094196677208,
-0.009653781540691853,
-0.022665400058031082,
0.014013245701789856,
-0.008265811949968338,
0.015472760424017906,
-0.03558162599802017,
-0.083716981112957,
-0.0670422688126564,
0.0005738490726798773,
-0.005227541550993919,
-0.0010385923087596893,
0.010884352028369904,
0.056052982807159424,
-0.020757537335157394,
0.044338710606098175,
0.03886314854025841,
-0.001954365987330675,
0.03687896952033043,
-0.01642669178545475,
-0.011542564257979393,
-0.031040912494063377,
-0.042812421917915344,
-0.01582571491599083,
0.0025565349496901035,
-0.023676566779613495,
0.02337130904197693,
0.023676566779613495,
0.05563325434923172,
-0.03390270471572876,
-0.027721233665943146,
-0.015720782801508904,
-0.04204927757382393,
-0.011895518749952316,
-0.05578588321805,
-0.09371417760848999,
0.023676566779613495,
-0.00987318530678749,
-0.02144436724483967,
0.020414121448993683,
-0.004822121001780033,
-0.014213571324944496,
0.1152348592877388,
0.037317778915166855,
0.028694242238998413,
0.0431939922273159,
-0.031040912494063377,
0.04754391685128212,
0.0040232036262750626,
0.1063060611486435,
0.07566580176353455,
0.014547446742653847,
0.022073961794376373,
0.019040461629629135,
0.006882611662149429,
-0.026767302304506302,
-0.02331407181918621,
-0.016006961464881897,
-0.0005971011705696583,
0.045140013098716736,
0.015205658972263336,
-0.007440661545842886,
-0.00466710701584816,
0.008995568379759789,
-0.002785478252917528,
-0.023218680173158646,
-0.006305483635514975,
-0.007464509457349777,
-0.011800126172602177,
0.01907861977815628,
0.01493855845183134,
-0.0025422258768230677,
-0.04823074862360954,
0.012029069475829601,
-0.019918078556656837,
-0.0007041202625259757,
0.0066393595188856125,
-0.035925038158893585,
0.02283710613846779,
0.04151507467031479,
-0.0024039060808718204,
0.019879920408129692,
0.04948993772268295,
0.027988333255052567,
-0.02463049627840519,
0.04113350063562393,
-0.022493692114949226,
0.017991136759519577,
0.07207902520895004,
-0.00913865864276886,
0.0012377253733575344,
0.01821054145693779,
0.016054658219218254,
-0.04285057634115219,
-0.03571517392992973,
0.02808372676372528,
-0.021940411999821663,
-0.044605810195207596,
0.030411317944526672,
-0.018859215080738068,
0.03907301276922226,
0.021024638786911964,
-0.002742551499977708,
-0.10508503019809723,
0.08837216347455978,
-0.036325689405202866,
0.008747546933591366,
-0.025260090827941895,
-0.04899389296770096,
-0.030296847224235535,
-0.024668654426932335,
-0.008523372933268547,
0.04494922608137131,
0.02661467343568802,
-0.04296505078673363,
0.05880030244588852,
-0.06952248513698578,
0.037107914686203,
-0.07455924153327942,
0.008966950699687004,
0.03283430263400078,
-0.003307755570858717,
-0.037050679326057434,
-0.06963695585727692,
-0.01449974998831749,
-0.028789635747671127,
-0.02537456341087818,
0.010560015216469765,
-0.023600252345204353,
0.014337582513689995,
-0.005985916592180729,
0.02754952572286129,
0.00843751896172762,
0.03296785429120064,
0.000257561361650005,
-0.005833287723362446,
0.05471747741103172,
0.01278267428278923,
0.04342293739318848,
0.06963695585727692,
0.02537456341087818,
-0.014118177816271782,
0.008561530150473118,
-0.02152068167924881,
-0.053420133888721466,
-0.014490211382508278,
-0.030220532789826393,
0.015654006972908974,
-0.0014237419236451387,
-0.011113295331597328,
-0.02411537431180477,
-0.06341733038425446,
-0.059372663497924805,
-0.045864999294281006,
0.010712644085288048,
-0.03386455029249191,
0.04800180345773697,
-0.015520456247031689,
-0.027835704386234283,
0.048116277903318405,
-0.006620280910283327,
0.020166100934147835,
-0.0341888852417469,
-0.047047875821590424,
-0.07116325199604034,
0.03581056743860245,
0.004714803770184517,
-0.027721233665943146,
0.02940015122294426,
0.018105609342455864,
-0.04105718806385994,
-0.034417830407619476,
-0.011008363217115402,
-0.019650977104902267,
-0.029018579050898552,
0.03800461068749428,
0.007192639168351889,
-0.02648112364113331,
-0.05292408913373947,
-0.01980360597372055,
-0.026175865903496742,
-0.005256159696727991,
0.04914652183651924,
0.010159364901483059,
-0.06761462241411209,
-0.008704619482159615,
-0.036650028079748154,
-0.03312048316001892,
0.07581843435764313,
-0.004819735884666443,
0.033807311207056046,
-0.013087932951748371,
0.029323836788535118,
-0.00012080641317879781,
-0.018925990909337997,
-0.03642108291387558,
0.027072560042142868,
0.052618831396102905,
0.07501713186502457,
-0.0048936656676232815,
-0.07688683271408081,
0.04120981693267822,
0.005704507231712341,
-0.016779646277427673,
-0.016340836882591248,
-0.04372819513082504,
-0.045063696801662445,
-0.004504939075559378,
-0.004710034001618624,
-0.008661692962050438,
0.0679580420255661,
-0.06807251274585724,
-0.04456765204668045,
0.023619329556822777,
-0.019507888704538345,
-0.06772910058498383,
0.0014857474016025662,
-0.027187032625079155,
-0.0364401638507843,
0.01364121213555336,
-0.012477416545152664,
0.04571237042546272,
-0.0362684540450573,
0.03518097475171089,
0.03392178565263748,
-0.023829195648431778,
0.03914932534098625,
-0.020299650728702545,
0.01555861346423626,
-0.04403345286846161,
-0.012410641647875309,
0.04246900603175163,
-0.023886431008577347,
-0.0078174639493227,
-0.0062482478097081184,
-0.020566750317811966,
-0.0504438690841198,
-0.044338710606098175,
-0.0018744743429124355,
-0.00913865864276886,
-0.06906460225582123,
0.005451715551316738,
-0.0018732819007709622,
-0.03422704339027405,
-0.03092644177377224,
0.021825939416885376,
-0.018658889457583427,
-0.024268003180623055,
0.005842827260494232,
0.03540991619229317,
-0.0002603933389764279,
0.041362445801496506,
-0.046513672918081284,
-0.02915213070809841,
-0.0357724092900753,
-0.020643066614866257,
-0.02377195842564106,
0.031040912494063377,
-0.028522536158561707,
0.005933450534939766,
0.04746760427951813,
0.06883566081523895,
-0.02106279507279396,
0.004772039595991373,
0.012258012779057026,
0.030029745772480965,
-0.045521583408117294,
0.0007506244000978768,
-0.03609674796462059,
0.05746480077505112,
0.00987318530678749,
-0.016846420243382454,
0.01016890350729227,
0.05448853597044945,
-0.041629545390605927,
0.040294043719768524,
-0.007140173111110926,
0.02171146869659424,
0.004273610655218363,
-0.0007261799182742834,
0.016731949523091316,
-0.0018398943357169628,
0.004149599466472864,
0.023085128515958786,
-0.03743224963545799,
0.009210202842950821,
-0.05364907532930374,
0.007412043400108814,
-0.022474613040685654,
-0.01367936935275793,
-0.04536895453929901,
0.010598172433674335,
-0.013841537758708,
0.024134453386068344,
-0.1053902879357338,
0.03205208107829094,
-0.027683075517416,
0.03046855516731739,
0.023142363876104355,
-0.025145620107650757,
-0.04521632567048073,
-0.04273610562086105,
0.0504438690841198,
-0.022951578721404076,
0.026404809206724167,
-0.04224006086587906,
-0.05971607565879822,
0.006768140010535717,
-0.03548623248934746,
0.06196735426783562,
-0.02915213070809841,
-0.016865499317646027,
0.026767302304506302,
0.005685428623110056,
-0.047124188393354416,
0.0481925904750824,
-0.02985803782939911,
-0.0661264955997467,
0.09066160023212433,
0.05849504470825195,
-0.007335728965699673,
0.028923185542225838,
0.05410696193575859,
0.03647831827402115,
0.0016026039374992251,
0.004223529249429703,
-0.03470400720834732,
0.04384266585111618,
0.02867516502737999,
0.01748555339872837,
-0.023523937910795212,
-0.03706975653767586,
0.08654061704874039,
0.03167050704360008,
0.015291512943804264,
-0.0013867771485820413,
0.02422984689474106,
-0.0066918255761265755,
0.032338257879018784,
0.057197701185941696,
0.02100555971264839,
-0.023390386253595352,
-0.01734246499836445,
0.07188823819160461,
-0.03458953648805618,
0.030811969190835953,
-0.0033101404551416636,
-0.016064196825027466,
0.06593570858240128,
0.010016274638473988,
0.0706290453672409,
-0.01364121213555336,
0.0035510079469531775,
0.05170305818319321,
0.013841537758708,
-0.06658437848091125,
0.0015477529959753156,
-0.043079521507024765,
-0.09043265134096146,
-0.023562094196677208,
-0.04483475536108017,
0.037107914686203,
-0.0585332028567791,
0.037603959441185,
-0.02985803782939911,
-0.018449025228619576,
-0.048917580395936966,
0.03138432651758194,
-0.06295944005250931,
-0.028255434706807137,
0.017170757055282593,
-0.019431574270129204,
-0.03794737160205841,
-0.025946922600269318,
0.018391788005828857,
-0.033807311207056046,
-0.05570956692099571,
-0.046399202197790146,
-0.007450200617313385,
0.00009531856630928814,
0.12904778122901917,
0.06330285966396332,
0.0486123226583004,
0.04987151175737381,
-0.04842153564095497,
0.06173841282725334,
0.014432975091040134,
0.04357556626200676,
-0.02224566973745823,
0.0021296509075909853,
0.006577353924512863,
0.035467151552438736,
0.032548122107982635,
0.017962519079446793,
0.005671119317412376,
-0.04842153564095497,
-0.0014130101772025228,
-0.021425288170576096,
-0.02749229036271572,
-0.012935304082930088,
0.004776809364557266,
-0.0319376066327095,
0.024248924106359482,
-0.00501767685636878,
-0.014576065354049206,
0.03395994007587433,
-0.01490040123462677,
0.04166770353913307,
0.022302905097603798,
0.047238659113645554,
-0.035524386912584305,
0.04590315744280815,
-0.060631852596998215,
0.01380338054150343,
-0.008337356150150299,
-0.010340611450374126,
-0.027301503345370293,
-0.037909217178821564,
-0.02985803782939911,
-0.0055232602171599865,
0.03386455029249191,
0.013240561820566654,
-0.004950901493430138,
0.009625162929296494,
-0.014471132308244705,
0.043804507702589035,
-0.011704732663929462,
0.043079521507024765,
-0.003353067208081484,
-0.017733575776219368,
0.022741714492440224,
-0.020280571654438972,
-0.03502834588289261,
-0.019107237458229065,
-0.05830426141619682,
-0.042545318603515625,
-0.027721233665943146,
0.021482525393366814,
-0.010283375158905983,
0.046055786311626434,
-0.0324336513876915,
0.07081983238458633,
0.005590035580098629,
-0.08760901540517807,
-0.032681673765182495,
0.06391337513923645,
-0.019956234842538834,
-0.0068778423592448235,
0.0036964823957532644,
-0.042354535311460495,
0.021139109507203102,
0.011866901069879532,
-0.055366151034832,
-0.04330846667289734,
0.03653555363416672,
-0.05204647406935692,
0.035982273519039154,
0.007326189894229174,
-0.055595096200704575,
0.0045001693069934845,
0.02993435226380825,
-0.04510185495018959,
-0.04197296127676964,
-0.01788620464503765,
-0.05143595486879349,
-0.004113827366381884,
-0.045063696801662445,
0.029705408960580826,
-0.04021772742271423,
-0.03750856593251228,
-0.027263347059488297,
0.03922564163804054,
-0.041896648705005646,
-0.04372819513082504,
0.033349424600601196,
0.04059930145740509,
-0.0024563721381127834,
0.0002902036940213293,
0.004729112610220909,
0.006739522330462933,
-0.026004157960414886,
-0.01155210379511118,
0.09829304367303848,
0.02484036237001419,
0.06402784585952759,
0.05960160493850708,
0.038576968014240265,
0.04384266585111618,
0.047849174588918686,
0.004724342841655016,
0.016445768997073174,
-0.03296785429120064,
-0.0436900369822979,
-0.0012675357284024358,
-0.03523821011185646,
0.024268003180623055,
0.03998878598213196,
0.07085799425840378,
-0.008046407252550125,
0.02058582939207554,
0.03363560512661934,
0.03207115828990936,
0.053801704198122025,
0.022226590663194656,
-0.007688683457672596,
-0.012792213819921017,
0.0024253693409264088,
0.02682453766465187,
0.0382717102766037,
0.07005669176578522,
-0.009162507019937038,
-0.03424612060189247,
0.03105999156832695,
-0.011151452548801899,
0.009930421598255634,
0.0258896853774786,
0.06143315136432648,
-0.0716211348772049,
-0.013927391730248928,
-0.018716124817728996,
0.0064962697215378284,
0.015291512943804264,
-0.02224566973745823,
-0.018000677227973938,
-0.020089786499738693,
0.0025565349496901035,
0.017600025981664658,
0.0037465638015419245,
-0.021940411999821663,
0.02052859403192997,
-0.0326053611934185,
0.02237921953201294,
0.023466700688004494,
0.013650751672685146,
0.05544246733188629,
-0.018506260588765144,
-0.0567016564309597,
-0.018687507137656212,
-0.04979519546031952,
-0.013297797180712223,
0.05880030244588852,
0.009486842900514603,
0.003524774918332696,
0.05822794511914253,
-0.006682286504656076,
0.043155837804079056,
0.0029977280646562576
] |
713,399
|
xmlschema.validators.schemas
|
iter_decode
|
Creates an iterator for decoding an XML source to a data structure.
:param source: the source of XML data. Can be an :class:`XMLResource` instance, a path to a file or a URI of a resource or an opened file-like object or an Element instance or an ElementTree instance or a string containing the XML data.
:param path: is an optional XPath expression that matches the elements of the XML data that have to be decoded. If not provided the XML root element is selected.
:param schema_path: an alternative XPath expression to select the XSD element to use for decoding. Useful if the root of the XML data doesn't match an XSD global element of the schema.
:param validation: defines the XSD validation mode to use for decode, can be 'strict', 'lax' or 'skip'.
:param process_namespaces: whether to use namespace information in the decoding process, using the map provided with the argument *namespaces* and the namespace declarations extracted from the XML document.
:param namespaces: is an optional mapping from namespace prefix to URI that integrate/override the root namespace declarations of the XML source. In case of prefix collision an alternate prefix is used for the root XML namespace declaration.
:param use_defaults: whether to use default values for filling missing data.
:param use_location_hints: for default schema locations hints provided within XML data are ignored in order to avoid the change of schema instance. Set this option to `True` to activate dynamic schema loading using schema location hints.
:param decimal_type: conversion type for `Decimal` objects (generated by `xs:decimal` built-in and derived types), useful if you want to generate a JSON-compatible data structure.
:param datetime_types: if set to `True` the datetime and duration XSD types are kept decoded, otherwise their origin XML string is returned.
:param binary_types: if set to `True` xs:hexBinary and xs:base64Binary types are kept decoded, otherwise their origin XML string is returned.
:param converter: an :class:`XMLSchemaConverter` subclass or instance to use for decoding.
:param filler: an optional callback function to fill undecodable data with a typed value. The callback function must accept one positional argument, that can be an XSD Element or an attribute declaration. If not provided undecodable data is replaced by `None`.
:param fill_missing: if set to `True` the decoder fills also missing attributes. The filling value is `None` or a typed value if the *filler* callback is provided.
:param keep_empty: if set to `True` empty elements that are valid are decoded with an empty string value instead of a `None`.
:param keep_unknown: if set to `True` unknown tags are kept and are decoded with *xs:anyType*. For default unknown tags not decoded by a wildcard are discarded.
:param process_skipped: process XML data that match a wildcard with `processContents='skip'`.
:param max_depth: maximum level of decoding, for default there is no limit. With lazy resources is set to `source.lazy_depth` for managing lazy decoding.
:param depth_filler: an optional callback function to replace data over the *max_depth* level. The callback function must accept one positional argument, that can be an XSD Element. If not provided deeper data are replaced with `None` values.
:param extra_validator: an optional function for performing non-standard validations on XML data. The provided function is called for each traversed element, with the XML element as 1st argument and the corresponding XSD element as 2nd argument. It can be also a generator function and has to raise/yield :exc:`XMLSchemaValidationError` exceptions.
:param validation_hook: an optional function for stopping or changing validated decoding at element level. The provided function must accept two arguments, the XML element and the matching XSD element. If the value returned by this function is evaluated to false then the decoding process continues without changes, otherwise the decoding process is stopped or changed. If the value returned is a validation mode the decoding process continues changing the current validation mode to the returned value, otherwise the element and its content are not decoded.
:param value_hook: an optional function that will be called with any decoded atomic value and the XSD type used for decoding. The return value will be used instead of the original value.
:param element_hook: an optional function that is called with decoded element data before calling the converter decode method. Takes an `ElementData` instance plus optionally the XSD element and the XSD type, and returns a new `ElementData` instance.
:param errors: optional internal collector for validation errors.
:param kwargs: keyword arguments with other options for converters.
:return: yields a decoded data object, eventually preceded by a sequence of validation or decoding errors.
|
def iter_decode(self, source: Union[XMLSourceType, XMLResource],
path: Optional[str] = None,
schema_path: Optional[str] = None,
validation: str = 'lax',
process_namespaces: bool = True,
namespaces: Optional[NamespacesType] = None,
use_defaults: bool = True,
use_location_hints: bool = False,
decimal_type: Optional[Type[Any]] = None,
datetime_types: bool = False,
binary_types: bool = False,
converter: Optional[ConverterType] = None,
filler: Optional[FillerType] = None,
fill_missing: bool = False,
keep_empty: bool = False,
keep_unknown: bool = False,
process_skipped: bool = False,
max_depth: Optional[int] = None,
depth_filler: Optional[DepthFillerType] = None,
extra_validator: Optional[ExtraValidatorType] = None,
validation_hook: Optional[ValidationHookType] = None,
value_hook: Optional[ValueHookType] = None,
element_hook: Optional[ElementHookType] = None,
errors: Optional[List[XMLSchemaValidationError]] = None,
**kwargs: Any) -> Iterator[Union[Any, XMLSchemaValidationError]]:
"""
Creates an iterator for decoding an XML source to a data structure.
:param source: the source of XML data. Can be an :class:`XMLResource` instance, a \
path to a file or a URI of a resource or an opened file-like object or an Element \
instance or an ElementTree instance or a string containing the XML data.
:param path: is an optional XPath expression that matches the elements of the XML \
data that have to be decoded. If not provided the XML root element is selected.
:param schema_path: an alternative XPath expression to select the XSD element \
to use for decoding. Useful if the root of the XML data doesn't match an XSD \
global element of the schema.
:param validation: defines the XSD validation mode to use for decode, can be \
'strict', 'lax' or 'skip'.
:param process_namespaces: whether to use namespace information in the \
decoding process, using the map provided with the argument *namespaces* \
and the namespace declarations extracted from the XML document.
:param namespaces: is an optional mapping from namespace prefix to URI that \
integrate/override the root namespace declarations of the XML source. \
In case of prefix collision an alternate prefix is used for the root \
XML namespace declaration.
:param use_defaults: whether to use default values for filling missing data.
:param use_location_hints: for default schema locations hints provided within \
XML data are ignored in order to avoid the change of schema instance. Set this \
option to `True` to activate dynamic schema loading using schema location hints.
:param decimal_type: conversion type for `Decimal` objects (generated by \
`xs:decimal` built-in and derived types), useful if you want to generate a \
JSON-compatible data structure.
:param datetime_types: if set to `True` the datetime and duration XSD types \
are kept decoded, otherwise their origin XML string is returned.
:param binary_types: if set to `True` xs:hexBinary and xs:base64Binary types \
are kept decoded, otherwise their origin XML string is returned.
:param converter: an :class:`XMLSchemaConverter` subclass or instance to use \
for decoding.
:param filler: an optional callback function to fill undecodable data with a \
typed value. The callback function must accept one positional argument, that \
can be an XSD Element or an attribute declaration. If not provided undecodable \
data is replaced by `None`.
:param fill_missing: if set to `True` the decoder fills also missing attributes. \
The filling value is `None` or a typed value if the *filler* callback is provided.
:param keep_empty: if set to `True` empty elements that are valid are decoded with \
an empty string value instead of a `None`.
:param keep_unknown: if set to `True` unknown tags are kept and are decoded with \
*xs:anyType*. For default unknown tags not decoded by a wildcard are discarded.
:param process_skipped: process XML data that match a wildcard with \
`processContents='skip'`.
:param max_depth: maximum level of decoding, for default there is no limit. \
With lazy resources is set to `source.lazy_depth` for managing lazy decoding.
:param depth_filler: an optional callback function to replace data over the \
*max_depth* level. The callback function must accept one positional argument, that \
can be an XSD Element. If not provided deeper data are replaced with `None` values.
:param extra_validator: an optional function for performing non-standard \
validations on XML data. The provided function is called for each traversed \
element, with the XML element as 1st argument and the corresponding XSD \
element as 2nd argument. It can be also a generator function and has to \
raise/yield :exc:`XMLSchemaValidationError` exceptions.
:param validation_hook: an optional function for stopping or changing \
validated decoding at element level. The provided function must accept two \
arguments, the XML element and the matching XSD element. If the value returned \
by this function is evaluated to false then the decoding process continues \
without changes, otherwise the decoding process is stopped or changed. If the \
value returned is a validation mode the decoding process continues changing the \
current validation mode to the returned value, otherwise the element and its \
content are not decoded.
:param value_hook: an optional function that will be called with any decoded \
atomic value and the XSD type used for decoding. The return value will be used \
instead of the original value.
:param element_hook: an optional function that is called with decoded element \
data before calling the converter decode method. Takes an `ElementData` \
instance plus optionally the XSD element and the XSD type, and returns a \
new `ElementData` instance.
:param errors: optional internal collector for validation errors.
:param kwargs: keyword arguments with other options for converters.
:return: yields a decoded data object, eventually preceded by a sequence of \
validation or decoding errors.
"""
self.check_validator(validation)
if isinstance(source, XMLResource):
resource: XMLResource = source
else:
resource = XMLResource(source, defuse=self.defuse, timeout=self.timeout)
if not schema_path and path:
schema_path = resource.get_absolute_path(path)
converter = self.get_converter(
converter,
namespaces=namespaces,
process_namespaces=process_namespaces,
source=resource,
**kwargs
)
namespaces = converter.namespaces
namespace = resource.namespace or namespaces.get('', '')
schema = self.get_schema(namespace)
kwargs = {
'converter': converter,
'namespaces': namespaces,
'source': resource,
'id_map': Counter[str](),
'identities': {},
'inherited': {},
}
if not use_defaults:
kwargs['use_defaults'] = False
if use_location_hints and not resource.is_lazy():
kwargs['use_location_hints'] = True
if self.XSD_VERSION == '1.1':
kwargs['errors'] = []
if decimal_type is not None:
kwargs['decimal_type'] = decimal_type
if datetime_types:
kwargs['datetime_types'] = True
if binary_types:
kwargs['binary_types'] = True
if filler is not None:
kwargs['filler'] = filler
if fill_missing:
kwargs['fill_missing'] = True
if keep_empty:
kwargs['keep_empty'] = True
if keep_unknown:
kwargs['keep_unknown'] = True
if process_skipped:
kwargs['process_skipped'] = True
if max_d
|
(self, source: Union[~T, NoneType, xmlschema.resources.XMLResource], path: Optional[str] = None, schema_path: Optional[str] = None, validation: str = 'lax', process_namespaces: bool = True, namespaces: Optional[~T] = None, use_defaults: bool = True, use_location_hints: bool = False, decimal_type: Optional[Type[Any]] = None, datetime_types: bool = False, binary_types: bool = False, converter: Optional[~T] = None, filler: Optional[~T] = None, fill_missing: bool = False, keep_empty: bool = False, keep_unknown: bool = False, process_skipped: bool = False, max_depth: Optional[int] = None, depth_filler: Optional[~T] = None, extra_validator: Optional[~T] = None, validation_hook: Optional[~T] = None, value_hook: Optional[~T] = None, element_hook: Optional[~T] = None, errors: Optional[List[xmlschema.validators.exceptions.XMLSchemaValidationError]] = None, **kwargs: Any) -> Iterator[Union[Any, xmlschema.validators.exceptions.XMLSchemaValidationError]]
|
[
0.05534426122903824,
-0.001936351298354566,
0.0019164145924150944,
0.0077852788381278515,
-0.009230689145624638,
0.009704185649752617,
0.01369650848209858,
-0.014025463722646236,
0.05478603392839432,
-0.010506637394428253,
0.015789860859513283,
0.01934855990111828,
0.030483203008770943,
0.0045829471200704575,
0.011962016113102436,
0.13237963616847992,
-0.040690790861845016,
0.07627778500318527,
-0.002818549983203411,
0.05813539773225784,
-0.0319385826587677,
-0.025917701423168182,
-0.013945717364549637,
0.03307497501373291,
0.022987008094787598,
0.02155156619846821,
0.008263759315013885,
-0.04800755903124809,
-0.05095818638801575,
-0.005113761872053146,
-0.004926855210214853,
0.003060282440856099,
-0.007361623924225569,
-0.029984787106513977,
-0.010735909454524517,
0.0456550270318985,
-0.05004109814763069,
0.02553890459239483,
0.010815655812621117,
-0.002601738553494215,
-0.01398559007793665,
-0.001923890900798142,
0.017145555466413498,
-0.025578778237104416,
0.015221665613353252,
0.044698067009449005,
-0.03654395788908005,
-0.04007275402545929,
-0.06834298372268677,
0.011782585643231869,
0.03897623345255852,
-0.01967751607298851,
0.010945244692265987,
0.05135692283511162,
0.020774034783244133,
-0.003162458073347807,
-0.06256134063005447,
0.09593536704778671,
0.06487400084733963,
-0.014922615140676498,
-0.005691925995051861,
0.021611375734210014,
-0.029486369341611862,
0.0349888950586319,
-0.038856614381074905,
-0.0014479022938758135,
0.00324220466427505,
-0.08397334814071655,
-0.06256134063005447,
0.051117680966854095,
-0.013596824370324612,
-0.0028011053800582886,
-0.028270231559872627,
0.028708837926387787,
0.04661198705434799,
-0.03975376486778259,
0.014165020547807217,
-0.05845438316464424,
0.00033362809335812926,
-0.0539088174700737,
0.05402844026684761,
0.05650058761239052,
-0.03251674771308899,
-0.003037853632122278,
0.08867841213941574,
0.026196815073490143,
0.05662021040916443,
0.038876552134752274,
0.0030278852209448814,
0.0405113622546196,
0.02553890459239483,
-0.011952047236263752,
-0.006643902976065874,
0.0349888950586319,
-0.02906769886612892,
-0.014623564667999744,
-0.02266802079975605,
-0.011064864695072174,
0.007052605040371418,
0.010995086282491684,
0.02982529252767563,
-0.003812892595306039,
-0.06000944599509239,
0.05107780918478966,
0.019777199253439903,
0.03967402130365372,
-0.01177261769771576,
-0.004283897113054991,
-0.003324443707242608,
-0.02737307921051979,
-0.005128714255988598,
-0.02653573825955391,
0.032855670899152756,
0.036603767424821854,
-0.00960450153797865,
0.010526574216783047,
-0.003526302520185709,
-0.006389710120856762,
-0.031141115352511406,
-0.0129688186571002,
0.010237491689622402,
0.0218107420951128,
-0.01777356117963791,
0.013058533892035484,
0.02906769886612892,
-0.007496196776628494,
0.04677148163318634,
0.03835819661617279,
0.09976321458816528,
0.014902678318321705,
-0.00017024067346937954,
-0.017853308469057083,
-0.014503944665193558,
0.01303859706968069,
0.02597751095890999,
-0.04824679717421532,
0.0009170878911390901,
0.011792553588747978,
-0.09370245784521103,
0.014563754200935364,
0.035567060112953186,
0.04118920862674713,
0.06922020018100739,
-0.009938441216945648,
-0.07548031955957413,
-0.052672743797302246,
0.021132895722985268,
-0.00468761520460248,
-0.04788793623447418,
0.049961354583501816,
-0.055982235819101334,
-0.06750564277172089,
-0.01041692215949297,
0.002509531332179904,
0.01859096623957157,
-0.01369650848209858,
-0.03969395533204079,
0.0761980414390564,
0.0030727428384125233,
0.00011868562432937324,
-0.012879103422164917,
-0.005377923138439655,
-0.008263759315013885,
-0.0349888950586319,
0.008637572638690472,
0.037560731172561646,
-0.052712615579366684,
-0.02195029892027378,
-0.006818349007517099,
0.012181319296360016,
0.03169934079051018,
-0.004717519972473383,
-0.017285112291574478,
-0.036145225167274475,
-0.04354173690080643,
0.02109302207827568,
0.07607842236757278,
0.013387489132583141,
0.005153635051101446,
0.05586261302232742,
-0.02067435160279274,
0.0216512493789196,
-0.009370245970785618,
-0.015102044679224491,
0.001028608763590455,
0.03889648988842964,
-0.04952274635434151,
0.021770868450403214,
0.04944299906492233,
-0.013387489132583141,
-0.006932985037565231,
0.008004582487046719,
0.014493975788354874,
0.009773964062333107,
-0.029406622052192688,
-0.03969395533204079,
0.008039471693336964,
0.04202654957771301,
0.033732883632183075,
0.02878858521580696,
-0.01040695421397686,
0.00815909169614315,
0.041587941348552704,
-0.0007656936068087816,
-0.09394169598817825,
-0.006354820914566517,
-0.029865166172385216,
-0.027452826499938965,
-0.021272452548146248,
-0.030064532533288002,
-0.011144611053168774,
-0.01440426055341959,
0.021451881155371666,
-0.04374110326170921,
0.022568337619304657,
-0.036843009293079376,
-0.04593414068222046,
-0.060248687863349915,
0.024422449991106987,
-0.0016223484417423606,
0.043143004179000854,
0.0010641210246831179,
-0.04081040993332863,
-0.0679442510008812,
0.04677148163318634,
-0.015570557676255703,
-0.019268814474344254,
-0.036882881075143814,
0.03526800870895386,
-0.02053479477763176,
0.016348088160157204,
-0.007835120894014835,
0.04744932800531387,
-0.00913100503385067,
0.07045627385377884,
0.01866074465215206,
0.03512845188379288,
0.01740473322570324,
0.013945717364549637,
0.01624840497970581,
-0.005447701551020145,
-0.047848064452409744,
-0.015082108788192272,
-0.06176387518644333,
-0.025558840483427048,
0.003917560447007418,
-0.004515660926699638,
0.04102971404790878,
-0.014344451017677784,
-0.030263900756835938,
-0.030443331226706505,
0.0038552579935640097,
0.016078943386673927,
0.02067435160279274,
0.015181791968643665,
-0.06296008080244064,
-0.06128539517521858,
-0.08293664455413818,
0.05777653679251671,
-0.039155665785074234,
0.047967683523893356,
-0.052393630146980286,
-0.03092181123793125,
0.11244294792413712,
-0.030722444877028465,
-0.024502195417881012,
0.025060422718524933,
-0.041986674070358276,
0.01468337420374155,
0.0009912274545058608,
-0.009754027239978313,
0.015889544039964676,
-0.034570224583148956,
0.01983701065182686,
-0.005622147582471371,
0.013826096430420876,
0.004418469499796629,
-0.04709047079086304,
0.049004390835762024,
-0.007217083126306534,
0.0018516203854233027,
-0.0028359945863485336,
-0.0028683918062597513,
-0.01789318211376667,
0.040870219469070435,
-0.05534426122903824,
-0.057417675852775574,
-0.05147654190659523,
-0.05506514757871628,
-0.018830206245183945,
0.04828667268157005,
-0.013227995485067368,
-0.04816704988479614,
0.02364491857588291,
0.0714929848909378,
-0.003506365930661559,
-0.035866111516952515,
-0.060806915163993835,
-0.015460905618965626,
-0.010426890105009079,
-0.02739301696419716,
0.004729980602860451,
0.10231511294841766,
0.03269617632031441,
-0.045694902539253235,
0.01289904024451971,
-0.03534775599837303,
-0.05486578121781349,
-0.00020248204236850142,
0.0744834840297699,
0.010377048514783382,
0.010117871686816216,
-0.03305503726005554,
-0.0031699342653155327,
-0.0025693413335829973,
-0.07344678044319153,
0.01677672751247883,
0.0391756035387516,
0.0916290432214737,
0.025558840483427048,
-0.0032845702953636646,
0.0075510223396122456,
-0.016836537048220634,
-0.047130342572927475,
-0.04473793879151344,
0.020574666559696198,
0.03393224999308586,
0.019368497654795647,
0.0339721255004406,
-0.058813244104385376,
-0.023565171286463737,
-0.04274427145719528,
0.016118817031383514,
0.03311484679579735,
0.035726554691791534,
-0.032576557248830795,
0.009848725982010365,
-0.05303160473704338,
0.05602210760116577,
-0.03506864234805107,
0.06132526695728302,
0.009355293586850166,
-0.011962016113102436,
-0.01880030147731304,
-0.014484007842838764,
-0.009205767884850502,
0.030283836647868156,
-0.030602823942899704,
0.036424338817596436,
0.04645249620079994,
-0.008891765028238297,
0.009913520887494087,
0.01418495737016201,
0.0384180061519146,
-0.0023998795077204704,
-0.06690753996372223,
-0.0456550270318985,
-0.0028584233950823545,
0.015401095151901245,
-0.00018861981516238302,
-0.023425614461302757,
0.013786223717033863,
-0.031141115352511406,
-0.020594604313373566,
0.02412339858710766,
-0.04980186000466347,
-0.06303982436656952,
-0.03227750584483147,
0.0047723460011184216,
-0.01489270944148302,
0.012161382474005222,
-0.016936220228672028,
-0.05901261046528816,
-0.04294363781809807,
-0.02735314331948757,
-0.019268814474344254,
0.012819293886423111,
0.05446704477071762,
-0.025837954133749008,
0.04266452416777611,
0.03546737879514694,
0.05143667012453079,
-0.0793081670999527,
-0.011154579930007458,
0.030722444877028465,
-0.024641752243041992,
0.011393819935619831,
-0.0074862283654510975,
-0.03963414579629898,
0.0065890769474208355,
0.030164217576384544,
0.009888599626719952,
0.025020549073815346,
-0.013108375482261181,
0.0024322764948010445,
-0.007202130276709795,
0.003209807677194476,
0.057377804070711136,
0.04960249364376068,
-0.04776831716299057,
-0.04102971404790878,
-0.006175390910357237,
0.01589951291680336,
0.05247337743639946,
0.020016439259052277,
-0.06276071071624756,
0.08923663944005966,
0.022767703980207443,
-0.024003779515624046,
0.08620626479387283,
0.06595057994127274,
0.006055770441889763,
-0.02169112302362919,
-0.007361623924225569,
-0.02179080620408058,
0.006504346150904894,
-0.016567392274737358,
0.0456550270318985,
0.026037320494651794,
-0.003162458073347807,
-0.011274199932813644,
0.03064269758760929,
0.044977180659770966,
-0.01383606530725956,
-0.05817526951432228,
-0.023724664002656937,
-0.03405187278985977,
0.03819870576262474,
-0.07340690493583679,
0.04780818894505501,
0.03718193247914314,
-0.04346198961138725,
-0.012779420241713524,
-0.0978492870926857,
-0.008393348194658756,
0.003770527197048068,
-0.04406009241938591,
-0.033433835953474045,
0.04382085055112839,
-0.027412952855229378,
0.015490810386836529,
0.018142390996217728,
0.07464297860860825,
-0.016497613862156868,
-0.01712561957538128,
-0.005527448374778032,
-0.042983509600162506,
0.08365436643362045,
-0.055105019360780716,
0.0009158418397419155,
-0.019019605591893196,
-0.009868662804365158,
0.06802399456501007,
-0.03762054070830345,
-0.06750564277172089,
-0.03835819661617279,
0.04021231085062027,
0.0008255037246271968,
-0.004926855210214853,
-0.032895542681217194,
0.0456550270318985,
-0.04374110326170921,
0.010815655812621117,
-0.04808730259537697,
-0.034430667757987976,
0.08636575192213058,
-0.049124013632535934,
0.023445550352334976,
0.0012049238430336118,
0.017205366864800453,
-0.013686539605259895,
0.01747451163828373,
-0.006105612497776747,
-0.01967751607298851,
0.04944299906492233,
-0.011832427233457565,
-0.00933037232607603,
-0.01191217452287674,
-0.0252398531883955,
-0.01587957702577114,
0.08062398433685303,
-0.037580665200948715,
0.03678319975733757,
-0.03973383083939552,
0.015112013556063175,
-0.029346812516450882,
0.03654395788908005,
-0.0108256246894598,
-0.04138857498764992,
0.05179552733898163,
-0.03355345502495766,
0.03363320231437683,
0.011353947222232819,
-0.005985992029309273,
0.00620529567822814,
-0.0718119665980339,
0.060966406017541885,
-0.02480124682188034,
0.06503349542617798,
-0.06535247713327408,
0.03393224999308586,
-0.039414841681718826,
0.007735436782240868,
0.02169112302362919,
0.008034487254917622,
0.03897623345255852,
-0.024761373177170753,
-0.008542872965335846,
0.0050664120353758335,
-0.0225085262209177,
-0.052553124725818634,
0.01923890970647335,
0.047568950802087784,
0.03490915149450302,
-0.03064269758760929,
0.0023587599862366915,
0.038996171206235886,
0.021770868450403214,
-0.014035431668162346,
-0.005323097109794617,
-0.007436386775225401,
0.030164217576384544,
0.02480124682188034,
0.011862332001328468,
0.0016696980455890298,
0.049403127282857895,
-0.08054424077272415,
-0.0333341509103775,
0.03696262836456299,
-0.030024660751223564,
0.009335356764495373,
-0.031599659472703934,
0.023884158581495285,
-0.003999799024313688,
0.030184153467416763,
-0.0055473847314715385,
0.02735314331948757,
-0.00020746621885336936,
-0.07452335953712463,
0.02537941001355648,
0.04039173945784569,
0.0838138610124588,
-0.046133507043123245,
0.03181896358728409,
-0.013357584364712238,
-0.015510747209191322,
0.015799829736351967,
0.042704395949840546,
0.05315122380852699,
-0.01738479733467102,
-0.044857557862997055,
-0.011104738339781761,
0.03895629942417145,
0.039574336260557175,
0.023006943985819817,
-0.04824679717421532,
0.03750092163681984,
0.07061576843261719,
0.019876882433891296,
-0.0018790332833305001,
-0.0069230166263878345,
0.05008097365498543,
-0.07336702942848206,
-0.01749444752931595,
0.05438729748129845,
0.04609363526105881,
0.012639863416552544,
-0.04302338510751724,
-0.008577762171626091,
-0.005447701551020145,
0.014663438312709332,
0.009405135177075863,
-0.006419615354388952,
0.005791609175503254,
0.015500779263675213,
0.004814711399376392,
-0.048127178102731705,
-0.037580665200948715,
0.013666602782905102,
-0.0225085262209177,
0.044578444212675095,
-0.015341285616159439,
0.062401849776506424,
-0.04561515524983406,
0.03377275913953781,
-0.044857557862997055,
0.0024160780012607574,
0.03837813436985016,
0.01629824750125408,
-0.030403457581996918,
0.004742440767586231,
-0.03261642903089523,
-0.04920375719666481,
-0.010676098987460136,
0.01981707289814949,
0.048844899982213974,
-0.014424197375774384,
-0.0022017585579305887,
-0.014075305312871933,
-0.060408178716897964,
-0.048406291753053665,
0.04489743337035179,
0.005462653934955597,
0.03293541818857193,
-0.002918233396485448,
-0.014503944665193558,
-0.0011133396765217185,
0.029566116631031036,
0.05945121869444847,
0.023764537647366524,
-0.01233084499835968,
-0.04106958955526352,
0.023266121745109558,
-0.06092653423547745,
0.013088438659906387,
-0.05135692283511162,
0.007860041223466396,
0.0031898708548396826,
-0.03991325944662094,
-0.05247337743639946,
-0.006967874243855476,
0.02023574337363243,
-0.008697382174432278,
0.036743324249982834,
-0.024362638592720032,
0.06862209737300873,
-0.027731940150260925,
0.008821986615657806,
0.009469929151237011,
-0.018222138285636902,
0.038996171206235886,
0.01645774021744728,
0.016397930681705475,
-0.013397458009421825,
-0.005851419642567635,
0.019547928124666214,
0.04944299906492233,
0.04290376231074333,
-0.0013606792781502008,
-0.028987951576709747,
-0.004052132833749056,
0.008856875821948051,
-0.013317710720002651,
0.043701231479644775,
-0.061086028814315796,
0.03817876800894737,
0.047568950802087784,
-0.008134170435369015,
0.022069919854402542,
0.06144488975405693,
-0.014135115779936314,
0.022289222106337547,
-0.005582273937761784,
-0.03636452928185463,
0.06056767329573631,
0.027751876041293144,
0.024422449991106987,
0.01233084499835968,
0.001172526739537716,
0.04752907529473305,
0.0076656583696603775,
-0.037839844822883606,
-0.00014282771735452116,
0.0069230166263878345,
-0.04521641880273819,
-0.01677672751247883,
-0.00324220466427505,
-0.019986534491181374,
0.010377048514783382,
0.00017288851086050272,
-0.0779125988483429,
-0.018022770062088966,
0.033274341374635696,
-0.012241129763424397,
-0.04234553501009941,
-0.031998392194509506,
-0.016368025913834572,
-0.03849775344133377,
0.03138035535812378,
0.024701563641428947,
-0.036703452467918396,
0.03682307153940201,
-0.028589218854904175,
-0.006633934564888477,
-0.040710728615522385,
-0.030543014407157898,
-0.016537487506866455,
-0.05666008219122887,
0.02978541888296604,
-0.04382085055112839,
0.014842867851257324,
-0.013387489132583141,
0.03122086077928543,
-0.07404487580060959,
-0.0593714714050293,
-0.028349976986646652,
-0.01673685386776924,
-0.003872702596709132,
0.0005233382107689977,
0.004819695372134447,
0.013716445304453373,
-0.02667529508471489,
0.009649359621107578,
-0.007177209481596947,
0.014793026261031628,
0.0286689642816782,
-0.048406291753053665,
-0.0026515801437199116,
-0.004428437910974026,
0.026296498253941536,
0.040311992168426514,
0.0250803604722023,
-0.01981707289814949,
-0.08245816081762314,
-0.0018416520906612277,
-0.03325440362095833,
-0.035706616938114166,
0.05785628408193588,
0.010785751044750214,
0.057098690420389175,
-0.003969894256442785,
0.03618509694933891,
-0.006030849646776915,
0.0216512493789196,
-0.040292058140039444,
0.0649537444114685,
-0.021212641149759293,
0.004361151717603207,
0.03538763150572777,
0.0020123599097132683,
0.048406291753053665,
0.05043983459472656,
-0.03177908807992935,
0.013138281181454659,
-0.01983701065182686,
-0.06634931266307831,
0.01432451419532299,
0.043860726058483124,
0.02018590271472931,
-0.026057258248329163,
-0.034311048686504364,
0.030204089358448982,
-0.0604480542242527,
0.08205942809581757,
-0.08245816081762314,
0.03480946645140648,
0.04617338255047798,
0.004572979174554348,
-0.041428446769714355,
-0.015391127206385136,
-0.0029630910139530897,
-0.03690281882882118,
-0.013806159608066082,
0.020265648141503334,
-0.03947465121746063,
-0.015191759914159775,
-0.0001210998379974626,
0.011752680875360966,
-0.016716917976737022,
-0.02922719158232212,
-0.023744601756334305,
0.012938913889229298,
0.018002834171056747,
-0.01612878404557705,
0.04780818894505501,
0.03610534965991974,
0.008188996464014053,
0.03291548043489456
] |
713,400
|
xmlschema.validators.schemas
|
iter_encode
|
Creates an iterator for encoding a data structure to an ElementTree's Element.
:param obj: the data that has to be encoded to XML data.
:param path: is an optional XPath expression for selecting the element of the schema that matches the data that has to be encoded. For default the first global element of the schema is used.
:param validation: the XSD validation mode. Can be 'strict', 'lax' or 'skip'.
:param namespaces: is an optional mapping from namespace prefix to URI.
:param use_defaults: whether to use default values for filling missing data.
:param converter: an :class:`XMLSchemaConverter` subclass or instance to use for the encoding.
:param unordered: a flag for explicitly activating unordered encoding mode for content model data. This mode uses content models for a reordered-by-model iteration of the child elements.
:param process_skipped: process XML decoded data that match a wildcard with `processContents='skip'`.
:param max_depth: maximum level of encoding, for default there is no limit.
:param kwargs: keyword arguments with other options for building the converter instance.
:return: yields an Element instance/s or validation/encoding errors.
|
def iter_encode(self, obj: Any,
path: Optional[str] = None,
validation: str = 'lax',
namespaces: Optional[NamespacesType] = None,
use_defaults: bool = True,
converter: Optional[ConverterType] = None,
unordered: bool = False,
process_skipped: bool = False,
max_depth: Optional[int] = None,
**kwargs: Any) -> Iterator[Union[ElementType, XMLSchemaValidationError]]:
"""
Creates an iterator for encoding a data structure to an ElementTree's Element.
:param obj: the data that has to be encoded to XML data.
:param path: is an optional XPath expression for selecting the element of \
the schema that matches the data that has to be encoded. For default the first \
global element of the schema is used.
:param validation: the XSD validation mode. Can be 'strict', 'lax' or 'skip'.
:param namespaces: is an optional mapping from namespace prefix to URI.
:param use_defaults: whether to use default values for filling missing data.
:param converter: an :class:`XMLSchemaConverter` subclass or instance to use for \
the encoding.
:param unordered: a flag for explicitly activating unordered encoding mode for \
content model data. This mode uses content models for a reordered-by-model \
iteration of the child elements.
:param process_skipped: process XML decoded data that match a wildcard with \
`processContents='skip'`.
:param max_depth: maximum level of encoding, for default there is no limit.
:param kwargs: keyword arguments with other options for building the \
converter instance.
:return: yields an Element instance/s or validation/encoding errors.
"""
self.check_validator(validation)
if not self.elements:
msg = _("encoding needs at least one XSD element declaration")
raise XMLSchemaValueError(msg)
converter = self.get_converter(
converter, namespaces=namespaces, source=obj, **kwargs
)
namespaces = converter.namespaces
kwargs = {
'level': 0,
'converter': converter,
'namespaces': namespaces,
}
if not use_defaults:
kwargs['use_defaults'] = False
if unordered:
kwargs['unordered'] = True
if process_skipped:
kwargs['process_skipped'] = process_skipped
if max_depth is not None:
kwargs['max_depth'] = max_depth
xsd_element = None
if path is not None:
match = re.search(r'[{\w]', path)
if match:
namespace = get_namespace(path[match.start():], namespaces)
schema = self.get_schema(namespace)
xsd_element = schema.find(path, namespaces)
elif len(self.elements) == 1:
xsd_element = list(self.elements.values())[0]
else:
root_elements = self.root_elements
if len(root_elements) == 1:
xsd_element = root_elements[0]
elif isinstance(obj, (converter.dict, dict)) and len(obj) == 1:
for key in obj:
match = re.search(r'[{\w]', key)
if match:
namespace = get_namespace(key[match.start():], namespaces)
schema = self.get_schema(namespace)
xsd_element = schema.find(key, namespaces)
if not isinstance(xsd_element, XsdElement):
if path is not None:
reason = _("the path %r doesn't match any element of the schema!") % path
else:
reason = _("unable to select an element for encoding data, "
"provide a valid 'path' argument.")
raise XMLSchemaEncodeError(self, obj, self.elements, reason, namespaces=namespaces)
else:
yield from xsd_element.iter_encode(obj, validation, **kwargs)
|
(self, obj: Any, path: Optional[str] = None, validation: str = 'lax', namespaces: Optional[~T] = None, use_defaults: bool = True, converter: Optional[~T] = None, unordered: bool = False, process_skipped: bool = False, max_depth: Optional[int] = None, **kwargs: Any) -> Iterator[Union[~T, NoneType, xmlschema.validators.exceptions.XMLSchemaValidationError]]
|
[
0.034791458398103714,
-0.013073809444904327,
-0.0423155315220356,
-0.0025440396275371313,
0.0029713204130530357,
0.0060506886802613735,
-0.005716721992939711,
-0.024045594036579132,
0.042001210153102875,
0.01313274446874857,
0.02192392386496067,
-0.013280082494020462,
0.03215901553630829,
-0.026147618889808655,
-0.025735070928931236,
0.07630153745412827,
-0.016609925776720047,
0.05779586359858513,
-0.011315573938190937,
0.10781227052211761,
-0.009591716341674328,
-0.006546727381646633,
-0.008609461598098278,
0.0446336530148983,
0.0364220030605793,
0.04227624088525772,
0.025794006884098053,
-0.015902703627943993,
-0.03408423811197281,
0.008309874683618546,
0.02135421521961689,
-0.02522430010139942,
0.032610855996608734,
-0.03903479874134064,
0.032001856714487076,
0.007062410935759544,
-0.03528258576989174,
0.05347394198179245,
-0.010755687952041626,
-0.01644294336438179,
-0.017739519476890564,
0.015244591981172562,
0.004115647170692682,
-0.06097836792469025,
0.02270972728729248,
0.031608954071998596,
0.003992865327745676,
0.08958162367343903,
-0.04644099995493889,
0.01029402855783701,
0.040272440761327744,
-0.025381460785865784,
0.012081732042133808,
-0.0062078493647277355,
-0.02019515633583069,
0.010765510611236095,
-0.03980095684528351,
0.03587194159626961,
0.0717831701040268,
-0.00852597039192915,
-0.009994440712034702,
0.01967456005513668,
0.020470187067985535,
0.042394109070301056,
-0.07040801644325256,
-0.007268684450536966,
-0.031078537926077843,
-0.08620266616344452,
-0.05783515423536301,
0.051234401762485504,
-0.010765510611236095,
-0.0068070245906710625,
-0.006802113261073828,
0.028897931799292564,
-0.04188333824276924,
-0.015794655308127403,
-0.0028067927341908216,
-0.01762164756655693,
0.005235417280346155,
-0.030233798548579216,
0.042394109070301056,
0.030646344646811485,
-0.0571279302239418,
0.007833480834960938,
0.06832563132047653,
0.0231222752481699,
-0.0008250938844867051,
0.005574295297265053,
0.002137631643563509,
0.012297827750444412,
-0.0000638465498923324,
-0.03323949873447418,
0.013388130813837051,
0.028642546385526657,
-0.03742390125989914,
0.00921354815363884,
-0.00982745736837387,
-0.019910302013158798,
0.01880035363137722,
0.014674884267151356,
0.0016023028874769807,
0.029231898486614227,
-0.01156113762408495,
0.0587388277053833,
0.0025219388771802187,
0.025126073509454727,
0.00665968656539917,
-0.053356073796749115,
0.019733496010303497,
-0.018368162214756012,
-0.0014930270845070481,
0.011482557281851768,
0.054141875356435776,
0.04001705348491669,
0.006237316876649857,
-0.023574111983180046,
-0.014144467189908028,
0.025794006884098053,
-0.00041960692033171654,
-0.05312032997608185,
0.04911273345351219,
0.036323778331279755,
-0.018338695168495178,
0.02777816168963909,
0.06408229470252991,
-0.002760135568678379,
0.07449419051408768,
0.032394759356975555,
0.031589310616254807,
0.009439467452466488,
0.03972237929701805,
-0.001831904868595302,
-0.021393505856394768,
-0.006139091681689024,
0.05681360885500908,
-0.033219851553440094,
0.006664597894996405,
-0.036520227789878845,
-0.10954103618860245,
-0.010893204249441624,
0.045733775943517685,
-0.028740771114826202,
0.04781615734100342,
0.00612435769289732,
-0.0599961131811142,
-0.0022763751912862062,
0.02469388209283352,
-0.03255191817879677,
-0.02155066654086113,
0.006070333532989025,
-0.03942770138382912,
-0.03131427988409996,
-0.007239216938614845,
0.03644164651632309,
-0.03400565683841705,
-0.019595980644226074,
-0.003929018508642912,
0.024418851360678673,
-0.003555761883035302,
-0.013073809444904327,
-0.032571565359830856,
0.02467423677444458,
-0.008491591550409794,
-0.007985730655491352,
0.031196407973766327,
0.07056517153978348,
-0.07103665918111801,
0.020843444392085075,
0.014272159896790981,
-0.005225594621151686,
0.030685635283589363,
-0.008457212708890438,
-0.0544561967253685,
-0.004427512641996145,
-0.050409309566020966,
0.044005006551742554,
0.02567613683640957,
0.04934847354888916,
-0.008182181045413017,
0.02879970706999302,
-0.03176611661911011,
0.027660291641950607,
0.029821250587701797,
-0.032394759356975555,
-0.01234694104641676,
0.036127325147390366,
-0.02432062476873398,
0.020057639107108116,
0.02976231649518013,
-0.03805254399776459,
-0.01572589762508869,
0.017169810831546783,
0.0020271281246095896,
-0.007853126153349876,
-0.03563619777560234,
-0.014272159896790981,
0.0038479825016111135,
0.011158413253724575,
0.03567548841238022,
0.07968049496412277,
0.01873159594833851,
-0.0066498639062047005,
0.05842450633645058,
-0.025499330833554268,
-0.030842795968055725,
0.012877358123660088,
0.014832044951617718,
-0.04255127161741257,
0.0013235881924629211,
-0.003791502909734845,
-0.018220823258161545,
-0.06243210658431053,
-0.042394109070301056,
-0.05241310968995094,
0.018004728481173515,
0.031255342066287994,
-0.008771534077823162,
-0.061371270567178726,
0.038248997181653976,
-0.023024048656225204,
0.007190104108303785,
0.01880035363137722,
-0.038897283375263214,
-0.05932817980647087,
0.06726479530334473,
-0.0389169305562973,
0.014331094920635223,
-0.06439661234617233,
0.025126073509454727,
-0.045340873301029205,
-0.0050733452662825584,
0.007931706495583057,
0.025951167568564415,
-0.013614049181342125,
0.048484090715646744,
0.05775657296180725,
0.0571279302239418,
-0.021845342591404915,
0.005495714955031872,
-0.001625631470233202,
0.0211577657610178,
-0.05968179181218147,
-0.030233798548579216,
-0.021668538451194763,
-0.04518371447920799,
0.03526294231414795,
0.014056064188480377,
0.01967456005513668,
0.0008152713417075574,
-0.03013557195663452,
-0.025420749559998512,
0.005603762809187174,
0.006193115375936031,
-0.034732524305582047,
0.003003243589773774,
-0.05740296095609665,
-0.037895385175943375,
-0.04989853501319885,
0.03940805792808533,
-0.02314191870391369,
0.031608954071998596,
-0.041844047605991364,
0.010500302538275719,
0.09484650939702988,
-0.04640170931816101,
-0.00958680547773838,
0.020411251112818718,
-0.014940093271434307,
0.026304779574275017,
0.03716851770877838,
-0.035361167043447495,
0.002561229048296809,
0.0009902354795485735,
0.058660246431827545,
-0.0062864297069609165,
0.038504380732774734,
0.01608933135867119,
0.004125469364225864,
-0.01917361095547676,
0.013584582135081291,
-0.004439791198819876,
-0.014439143240451813,
-0.008029932156205177,
-0.013731920160353184,
0.0005875110509805381,
-0.044987261295318604,
-0.020450541749596596,
-0.01821100153028965,
-0.0505271777510643,
-0.0385633185505867,
0.03272872418165207,
0.04541945457458496,
-0.0580316036939621,
-0.027090582996606827,
0.028269289061427116,
-0.0007047677063383162,
-0.03502720221877098,
-0.09044601023197174,
0.04522300511598587,
-0.004538016393780708,
0.011482557281851768,
0.029840895906090736,
0.07704805582761765,
0.0007851897971704602,
0.014370385557413101,
0.024183109402656555,
-0.0260690376162529,
-0.019055740907788277,
-0.01341759879142046,
0.05681360885500908,
-0.02039160579442978,
0.025715427473187447,
0.012121022678911686,
0.013535468839108944,
0.011482557281851768,
-0.06852208077907562,
0.06054617837071419,
-0.01585358940064907,
0.03074457123875618,
0.03724709525704384,
-0.020234445109963417,
0.018790531903505325,
-0.016649216413497925,
-0.10576917976140976,
-0.027306679636240005,
-0.007853126153349876,
0.04875912144780159,
0.010991429910063744,
0.04227624088525772,
-0.06636112183332443,
-0.0007858037133701146,
-0.07433703541755676,
0.025008203461766243,
0.051823753863573074,
0.01047083456069231,
0.000049995225708698854,
0.049073442816734314,
-0.022788308560848236,
0.001038120361045003,
-0.0036466203164309263,
0.03054811991751194,
0.026167264208197594,
-0.012170135043561459,
0.010510125197470188,
-0.05645999684929848,
-0.0407046340405941,
0.02546004019677639,
-0.019939769059419632,
-0.010873558931052685,
0.06852208077907562,
0.0034673588816076517,
-0.0036834548227488995,
0.03938841074705124,
0.011197702959179878,
0.01447843387722969,
-0.025420749559998512,
-0.037895385175943375,
0.025499330833554268,
0.00831969641149044,
0.0025035215076059103,
0.013270260766148567,
-0.02980160526931286,
-0.009184081107378006,
-0.037129227072000504,
0.04541945457458496,
-0.030194507911801338,
-0.058660246431827545,
0.008142891339957714,
0.017955614253878593,
0.002356183249503374,
0.0066498639062047005,
-0.0004272807855159044,
-0.07500496506690979,
-0.08698847144842148,
-0.005873882677406073,
0.03217866271734238,
-0.005333642940968275,
0.054534777998924255,
-0.030980311334133148,
-0.015441043302416801,
0.05107724294066429,
0.05268814042210579,
0.018525322899222374,
-0.025735070928931236,
0.014154289849102497,
-0.05233452841639519,
0.0751621276140213,
0.023240145295858383,
-0.0019141687080264091,
-0.0028485385701060295,
-0.005137191619724035,
-0.002170782769098878,
0.018810177221894264,
-0.016884956508874893,
-0.027915677055716515,
-0.028092483058571815,
0.045890938490629196,
0.03587194159626961,
-0.004348932299762964,
-0.030882086604833603,
-0.03206079080700874,
-0.03441820293664932,
0.026776261627674103,
0.04486939311027527,
0.026736970990896225,
-0.05021285638213158,
0.017857389524579048,
0.005903350654989481,
0.0058935279957950115,
0.09500367194414139,
0.0011087199673056602,
-0.0012965761125087738,
0.0317857600748539,
-0.006045777350664139,
-0.0027380348183214664,
0.01886911131441593,
0.0012597416061908007,
0.0462445504963398,
-0.020843444392085075,
-0.0022616414353251457,
-0.0299980565905571,
-0.01781809888780117,
0.04329778626561165,
0.0501735657453537,
-0.01438020821660757,
-0.05559561401605606,
-0.01332919578999281,
-0.006477969232946634,
-0.05288458988070488,
0.03441820293664932,
0.02742454968392849,
-0.06757912039756775,
-0.024006303399801254,
-0.059249602258205414,
0.005613585468381643,
-0.012631794437766075,
-0.05528129264712334,
-0.058070894330739975,
0.03993847221136093,
-0.0017361351056024432,
-0.006581106223165989,
0.027110228314995766,
0.034555718302726746,
-0.005770746152848005,
0.001025842153467238,
0.007862948812544346,
-0.02235611528158188,
0.11307715624570847,
-0.023574111983180046,
0.03255191817879677,
0.05264884978532791,
-0.03683454915881157,
0.06573247909545898,
-0.04663744941353798,
-0.05759941413998604,
-0.04164759814739227,
0.06777556985616684,
-0.03960450738668442,
-0.009670296683907509,
-0.03563619777560234,
0.026403004303574562,
-0.02934976853430271,
0.050841499119997025,
-0.04793402552604675,
-0.047108933329582214,
0.06109623983502388,
-0.04412287846207619,
0.035341523587703705,
0.024418851360678673,
-0.026933422312140465,
0.006924895104020834,
-0.006109623704105616,
-0.025342170149087906,
-0.029271189123392105,
0.06168559193611145,
-0.026344070211052895,
-0.027463840320706367,
-0.003506649052724242,
-0.04251198098063469,
-0.035125426948070526,
0.0369524210691452,
-0.028151419013738632,
0.08871723711490631,
-0.040233150124549866,
-0.0032488072756677866,
-0.05645999684929848,
0.047894734889268875,
-0.00872242171317339,
-0.030056992545723915,
0.032198306173086166,
0.001093986094929278,
0.034555718302726746,
-0.032630499452352524,
0.007902238517999649,
0.03893657401204109,
-0.037325676530599594,
0.008172358386218548,
-0.012838068418204784,
-0.025931522250175476,
-0.07535857707262039,
0.04585164785385132,
-0.053748972713947296,
-0.014674884267151356,
0.007190104108303785,
-0.0020786963868886232,
0.008805912919342518,
-0.03930982947349548,
-0.028544319793581963,
0.017199279740452766,
-0.02333837002515793,
-0.06808989495038986,
0.014881158247590065,
-0.026736970990896225,
0.02779780700802803,
0.03255191817879677,
-0.009076032787561417,
0.009675208479166031,
-0.0195468682795763,
0.019704028964042664,
-0.015234769321978092,
-0.027837097644805908,
0.005981930997222662,
0.013339018449187279,
0.03545939177274704,
0.021197054535150528,
0.0407046340405941,
-0.0407046340405941,
-0.051980916410684586,
0.05205949768424034,
-0.01746448688209057,
0.01163971796631813,
-0.024634946137666702,
0.018859289586544037,
0.040213506668806076,
0.013800677843391895,
0.004358754958957434,
0.06895427405834198,
0.0010000580223277211,
-0.009346152655780315,
0.053356073796749115,
0.03640235587954521,
0.04361210763454437,
-0.044358618557453156,
-0.046519581228494644,
0.03233582153916359,
0.03917231410741806,
-0.006217672023922205,
0.014252514578402042,
0.018721774220466614,
-0.027758516371250153,
-0.008815735578536987,
-0.021786408498883247,
0.04923060163855553,
0.12007080763578415,
-0.009522958658635616,
-0.05626354739069939,
-0.003948663827031851,
0.03567548841238022,
0.0010946000693365932,
0.001621947973035276,
-0.006247139535844326,
0.07025085389614105,
-0.10317602753639221,
-0.04345494508743286,
0.04836621880531311,
0.00872242171317339,
0.029447995126247406,
-0.04459436237812042,
0.012641617096960545,
0.028112128376960754,
-0.026186909526586533,
0.05622425675392151,
-0.021511375904083252,
-0.04447649046778679,
0.01840745285153389,
0.03547903895378113,
-0.09956133365631104,
-0.04526229575276375,
0.0025685958098620176,
-0.04864124953746796,
0.02314191870391369,
-0.03015521727502346,
0.022611502557992935,
-0.03699171170592308,
0.0781874731183052,
-0.07288329303264618,
0.030685635283589363,
0.010952139273285866,
-0.045537326484918594,
-0.028878286480903625,
-0.02390807867050171,
-0.02019515633583069,
-0.052806008607149124,
-0.016236668452620506,
0.04097966477274895,
0.03773822262883186,
-0.038288287818431854,
-0.04565519466996193,
-0.005819858983159065,
-0.10969819873571396,
-0.016826022416353226,
0.043572816997766495,
-0.005215771961957216,
0.06871853768825531,
0.027954967692494392,
-0.0035459392238408327,
0.002447041915729642,
0.006802113261073828,
0.09523940831422806,
0.031255342066287994,
-0.003850438166409731,
-0.007322708610445261,
0.05398471653461456,
-0.041804756969213486,
-0.031805407255887985,
-0.03235546872019768,
-0.030665989965200424,
0.0038553494960069656,
-0.03781680390238762,
-0.017572535201907158,
0.030410604551434517,
0.015244591981172562,
-0.03447713702917099,
-0.0023696892894804478,
-0.048680540174245834,
0.009699764661490917,
0.026403004303574562,
0.0285639651119709,
0.03404494747519493,
-0.026776261627674103,
0.033003754913806915,
-0.013604226522147655,
0.040822502225637436,
-0.07362981140613556,
-0.015097253955900669,
0.0007299379794858396,
0.0009435783722437918,
0.043415654450654984,
-0.05897456780076027,
-0.012690730392932892,
-0.003504193387925625,
0.013535468839108944,
-0.00781874731183052,
0.05422045662999153,
-0.023181209340691566,
0.040272440761327744,
0.05056646838784218,
-0.034202106297016144,
-0.014085531234741211,
0.015843767672777176,
0.004398045130074024,
0.044751521199941635,
-0.04655887186527252,
-0.04013492539525032,
0.06577177345752716,
0.05190233513712883,
0.04722680523991585,
-0.02997841127216816,
0.04361210763454437,
0.04620525985956192,
0.015028496272861958,
-0.04557661712169647,
0.003700644476339221,
-0.0303516685962677,
-0.07260826230049133,
0.02310262992978096,
-0.00528944144025445,
-0.013545291498303413,
-0.0021351759787648916,
-0.03875976800918579,
-0.08557402342557907,
0.02506713941693306,
0.006566372234374285,
-0.021039893850684166,
-0.06702905893325806,
0.02406523935496807,
-0.02958551049232483,
-0.01949775405228138,
0.017886856570839882,
-0.009901126846671104,
-0.02801390178501606,
-0.004567483905702829,
-0.0341038815677166,
0.015048141591250896,
-0.07806959748268127,
-0.06502525508403778,
0.024418851360678673,
-0.05940676108002663,
0.03932947665452957,
-0.08093778043985367,
-0.019988881424069405,
-0.0649859681725502,
0.03365204483270645,
-0.06577177345752716,
-0.016776910051703453,
-0.022984758019447327,
0.005957374349236488,
0.044555071741342545,
0.0385633185505867,
-0.02058805711567402,
0.03842580318450928,
-0.028681835159659386,
0.01409535389393568,
-0.0009693625615909696,
0.0317857600748539,
0.023377660661935806,
-0.03033202327787876,
-0.0076272073201835155,
0.030096283182501793,
0.057324379682540894,
0.006242228206247091,
0.03879905864596367,
-0.025558266788721085,
-0.0892673060297966,
-0.013731920160353184,
-0.010303851217031479,
0.046323128044605255,
0.0501735657453537,
0.017435019835829735,
0.02329907938838005,
0.002174466149881482,
0.023770563304424286,
-0.028053192421793938,
0.023161564022302628,
-0.020273735746741295,
0.01242552138864994,
-0.014085531234741211,
0.036539871245622635,
0.02015586569905281,
0.02764064632356167,
0.03852402791380882,
0.01322114747017622,
-0.015146366320550442,
0.049466345459222794,
-0.011885281652212143,
-0.03724709525704384,
0.027463840320706367,
0.027719225734472275,
-0.030194507911801338,
0.01439985353499651,
0.02388843335211277,
0.04471223056316376,
-0.03404494747519493,
0.044555071741342545,
-0.01038243155926466,
-0.014154289849102497,
0.08219506591558456,
0.028308579698204994,
-0.016020573675632477,
-0.013005051761865616,
0.006694065406918526,
-0.05095937103033066,
0.011521846987307072,
0.004854793660342693,
0.009228282608091831,
0.01897715963423252,
-0.026127973571419716,
0.02019515633583069,
-0.015293705277144909,
-0.006718621589243412,
-0.019350416958332062,
0.0010448733810335398,
0.0029369413387030363,
0.009763611480593681,
0.040056344121694565,
0.041844047605991364,
0.03549868240952492,
0.012553214095532894
] |
713,401
|
xmlschema.validators.schemas
|
iter_errors
|
Creates an iterator for the errors generated by the validation of an XML data against
the XSD schema/component instance. Accepts the same arguments of :meth:`validate`.
|
def iter_errors(self, source: Union[XMLSourceType, XMLResource],
path: Optional[str] = None,
schema_path: Optional[str] = None,
use_defaults: bool = True,
namespaces: Optional[NamespacesType] = None,
max_depth: Optional[int] = None,
extra_validator: Optional[ExtraValidatorType] = None,
validation_hook: Optional[ValidationHookType] = None,
allow_empty: bool = True,
use_location_hints: bool = False, validation: str = 'lax') \
-> Iterator[XMLSchemaValidationError]:
"""
Creates an iterator for the errors generated by the validation of an XML data against
the XSD schema/component instance. Accepts the same arguments of :meth:`validate`.
"""
self.check_validator(validation='lax')
if isinstance(source, XMLResource):
resource: XMLResource = source
else:
resource = XMLResource(source, defuse=self.defuse, timeout=self.timeout)
if not schema_path:
schema_path = resource.get_absolute_path(path)
converter = NamespaceMapper(namespaces, source=resource)
namespaces = converter.namespaces
namespace = resource.namespace or namespaces.get('', '')
try:
schema = self.get_schema(namespace)
except KeyError:
schema = self
identities: Dict[XsdIdentity, IdentityCounter] = {}
ancestors: List[ElementType] = []
prev_ancestors: List[ElementType] = []
kwargs: Dict[Any, Any] = {
'level': resource.lazy_depth or bool(path),
'source': resource,
'namespaces': namespaces,
'converter': converter,
'id_map': Counter[str](),
'identities': identities,
'inherited': {},
'validation': validation,
}
if not use_defaults:
kwargs['use_defaults'] = False
if use_location_hints and not resource.is_lazy():
kwargs['use_location_hints'] = True
if self.XSD_VERSION == '1.1':
kwargs['errors'] = []
if max_depth is not None:
kwargs['max_depth'] = max_depth
if extra_validator is not None:
kwargs['extra_validator'] = extra_validator
if validation_hook is not None:
kwargs['validation_hook'] = validation_hook
if path:
selector = resource.iterfind(path, namespaces, ancestors=ancestors)
else:
selector = resource.iter_depth(mode=4, ancestors=ancestors)
elem: Optional[ElementType] = None
for elem in selector:
if elem is resource.root:
if resource.lazy_depth:
kwargs['level'] = 0
kwargs['identities'] = {}
kwargs['max_depth'] = resource.lazy_depth
else:
if prev_ancestors != ancestors:
k = 0
for k in range(min(len(ancestors), len(prev_ancestors))):
if ancestors[k] is not prev_ancestors[k]:
break
path_ = f"{'/'.join(e.tag for e in ancestors)}/ancestor-or-self::node()"
xsd_ancestors = cast(List[XsdElement],
schema.findall(path_, converter.namespaces)[1:])
# Clear identity constraints counters
for k, e in enumerate(xsd_ancestors[k:], start=k):
for identity in e.identities:
if identity in identities:
identities[identity].reset(ancestors[k])
else:
identities[identity] = identity.get_counter(ancestors[k])
prev_ancestors = ancestors[:]
xsd_element = schema.get_element(elem.tag, schema_path, namespaces)
if xsd_element is None:
if XSI_TYPE in elem.attrib:
xsd_element = self.create_element(name=elem.tag)
elif elem is not resource.root and ancestors:
continue
else:
reason = _("{!r} is not an element of the schema").format(elem)
yield schema.validation_error(
'lax', reason, elem, source=resource, namespaces=namespaces
)
return
try:
for result in xsd_element.iter_decode(elem, **kwargs):
if isinstance(result, XMLSchemaValidationError):
yield result
else:
del result
except XMLSchemaStopValidation:
pass
else:
if elem is None and not allow_empty:
assert path is not None
reason = _("the provided path selects nothing to validate")
yield schema.validation_error(
'lax', reason, source=resource, namespaces=namespaces
)
return
if kwargs['identities'] is not identities:
for identity, counter in kwargs['identities'].items():
identities[identity].counter.update(counter.counter)
kwargs['identities'] = identities
yield from self._validate_references(**kwargs)
|
(self, source: Union[~T, NoneType, xmlschema.resources.XMLResource], path: Optional[str] = None, schema_path: Optional[str] = None, use_defaults: bool = True, namespaces: Optional[~T] = None, max_depth: Optional[int] = None, extra_validator: Optional[~T] = None, validation_hook: Optional[~T] = None, allow_empty: bool = True, use_location_hints: bool = False, validation: str = 'lax') -> Iterator[xmlschema.validators.exceptions.XMLSchemaValidationError]
|
[
0.013851500116288662,
-0.027439547702670097,
0.022636614739894867,
0.01484451163560152,
-0.02709503471851349,
0.012179592624306679,
0.01057861465960741,
-0.0400041863322258,
0.07952199876308441,
-0.010477286763489246,
0.015553805977106094,
-0.012939550913870335,
0.05252829194068909,
-0.00718920212239027,
-0.026183083653450012,
0.08073793351650238,
-0.017438501119613647,
0.05479803308844566,
-0.008253143168985844,
0.05856742709875107,
-0.009925050660967827,
0.014277076348662376,
0.002421732759103179,
-0.005512228235602379,
0.012949683703482151,
0.05820264667272568,
0.039963655173778534,
-0.018968550488352776,
0.02881760522723198,
-0.029486367478966713,
-0.03299230709671974,
0.0010614079656079412,
0.01214919425547123,
-0.030986018478870392,
0.00831900630146265,
0.0073310611769557,
-0.030864425003528595,
0.034309569746255875,
0.03206009417772293,
0.013405658304691315,
-0.03254646435379982,
0.01587805524468422,
-0.014885042794048786,
-0.029020261019468307,
-0.00451921671628952,
0.034025851637125015,
0.0003394478699192405,
0.03149265795946121,
-0.08398041874170303,
-0.01565513387322426,
0.028939198702573776,
0.020751917734742165,
0.003974580205976963,
0.006687629967927933,
0.044989511370658875,
0.01638469286262989,
-0.039619140326976776,
0.035160720348358154,
0.07538782805204391,
-0.05147448554635048,
0.03441089391708374,
0.009661599062383175,
0.009849054738879204,
0.006272186059504747,
-0.025433259084820747,
-0.05909432843327522,
0.0033716801553964615,
-0.0827239528298378,
-0.05147448554635048,
0.07465826719999313,
-0.02087351121008396,
-0.01556393876671791,
-0.0015845122979953885,
-0.011409501545131207,
0.037470992654561996,
-0.02804751507937908,
0.0034071446862071753,
-0.013709641061723232,
0.051150236278772354,
-0.06529558449983597,
0.03706568107008934,
0.03777497634291649,
-0.05001536384224892,
0.0546359084546566,
0.09532912075519562,
0.04421941936016083,
0.0440167635679245,
0.016739340499043465,
0.0015579137252643704,
0.053095728158950806,
-0.014398669824004173,
0.033012572675943375,
-0.01132844015955925,
-0.002745981328189373,
-0.005567958578467369,
0.050501737743616104,
-0.018522707745432854,
-0.03763311728835106,
0.03246540203690529,
0.00314622581936419,
0.010852199047803879,
0.013486720621585846,
0.000067010878410656,
0.07425295561552048,
0.014510130509734154,
0.006246854085475206,
-0.0018492309609428048,
-0.03813975676894188,
0.0599454827606678,
-0.005436232313513756,
-0.030945487320423126,
-0.020265545696020126,
0.038403209298849106,
0.05966176465153694,
-0.0068142893724143505,
-0.04786721616983414,
0.008992835879325867,
-0.007918762043118477,
-0.028878401964902878,
-0.03325575962662697,
0.04425995051860809,
-0.004040442872792482,
-0.011561493389308453,
0.022494755685329437,
0.0587700791656971,
-0.003736459882929921,
0.022616349160671234,
0.017945140600204468,
0.09200557321310043,
-0.024764496833086014,
0.007396923843771219,
-0.010006112977862358,
-0.0006190490676090121,
-0.016263099387288094,
0.03743046149611473,
-0.02444024756550789,
0.0005699684843420982,
0.019394125789403915,
-0.09759886562824249,
0.006338049191981554,
0.022251568734645844,
0.0225960835814476,
0.014783714897930622,
-0.01709398813545704,
-0.04385463893413544,
-0.012139061465859413,
0.018411247059702873,
0.006586302071809769,
-0.016080709174275398,
0.035444438457489014,
-0.033742133527994156,
-0.06456602364778519,
0.023568829521536827,
0.017904609441757202,
-0.05921592190861702,
-0.0010785069316625595,
-0.06630886346101761,
0.0027054501697421074,
0.02352829836308956,
-0.04474632441997528,
-0.033235494047403336,
-0.018664566799998283,
0.025149540975689888,
-0.032303277403116226,
-0.012848355807363987,
0.030296990647912025,
-0.08195386081933975,
-0.00019600581435952336,
-0.0043520256876945496,
0.004276030231267214,
0.010330361314117908,
-0.001760569284670055,
0.02257581800222397,
-0.025129275396466255,
-0.08462891727685928,
0.04689447209239006,
0.05650033801794052,
0.017620891332626343,
-0.007959293201565742,
0.04430048167705536,
0.007513450924307108,
0.005983402021229267,
0.01726624369621277,
-0.012463309802114964,
-0.0047573368065059185,
0.05358210206031799,
-0.040409497916698456,
0.009327217005193233,
0.03848427161574364,
0.011227112263441086,
-0.022251568734645844,
0.019475188106298447,
0.05443325266242027,
0.05200139060616493,
-0.02804751507937908,
-0.014925573952496052,
-0.030438849702477455,
-0.0006649632123298943,
0.02085324563086033,
0.024784762412309647,
-0.027621937915682793,
0.017154784873127937,
0.016040179878473282,
-0.010487419553101063,
-0.05070439353585243,
0.02960796095430851,
-0.03242487087845802,
-0.05467643961310387,
-0.03135079890489578,
0.0016465755179524422,
-0.04912368208169937,
-0.014013624750077724,
-0.018259257078170776,
-0.022271834313869476,
0.004314027726650238,
-0.020093288272619247,
0.0013045944506302476,
-0.047502439469099045,
0.023771485313773155,
0.005263975355774164,
0.06898391246795654,
-0.010619145818054676,
-0.01308140903711319,
-0.08223757892847061,
0.038119491189718246,
-0.012736895121634007,
-0.002159547060728073,
-0.04089587181806564,
0.021988116204738617,
0.007006812375038862,
0.027986718341708183,
-0.013851500116288662,
0.06898391246795654,
-0.017722219228744507,
0.013760305009782314,
0.003338748589158058,
0.04766456037759781,
0.007538782898336649,
0.04474632441997528,
0.03787630423903465,
-0.05528440698981285,
-0.04811040312051773,
0.0073209283873438835,
-0.05779733508825302,
-0.018147796392440796,
-0.013496853411197662,
-0.040409497916698456,
0.015938851982355118,
-0.004785201977938414,
-0.03331655636429787,
-0.044989511370658875,
0.02042767032980919,
-0.02087351121008396,
-0.02178546041250229,
0.021136963739991188,
-0.06258000433444977,
-0.05220404267311096,
-0.06983506679534912,
0.054311659187078476,
-0.0414227731525898,
0.048799432814121246,
0.002794112078845501,
-0.013365127146244049,
0.09776099026203156,
-0.0774143859744072,
-0.02358909510076046,
0.01060901302844286,
-0.029425570741295815,
0.019029347226023674,
0.046853940933942795,
-0.031938500702381134,
0.07948146760463715,
-0.03232354298233986,
0.03572815656661987,
-0.014672255143523216,
0.0016098442720249295,
-0.019130675122141838,
0.00872938334941864,
0.023386439308524132,
-0.0038327211514115334,
0.012807824648916721,
0.030074069276452065,
-0.0233053769916296,
0.003495806595310569,
0.003495806595310569,
-0.041625428944826126,
-0.059540171176195145,
-0.037896569818258286,
-0.093464694917202,
-0.02192731946706772,
0.050299081951379776,
-0.005740215536206961,
-0.022778471931815147,
-0.030580706894397736,
0.02460237219929695,
-0.025575118139386177,
-0.046489160507917404,
-0.06189097464084625,
-0.016577215865254402,
-0.006718028336763382,
0.0006465975311584771,
0.0057098171673715115,
0.06156672537326813,
-0.016830535605549812,
-0.01509783137589693,
-0.030986018478870392,
-0.002773846499621868,
-0.04786721616983414,
0.01943465694785118,
0.03905170410871506,
-0.018654434010386467,
0.027946187183260918,
-0.03017539717257023,
-0.04320614039897919,
0.04158489778637886,
-0.07332073897123337,
0.0009347482700832188,
-0.02014395222067833,
0.023690422996878624,
0.06067504361271858,
-0.022211037576198578,
0.055811312049627304,
-0.02050873078405857,
-0.06703842431306839,
-0.06164778769016266,
0.006728161126375198,
0.055527593940496445,
0.041828084737062454,
-0.02062019146978855,
-0.047421377152204514,
-0.016627879813313484,
-0.0520419217646122,
-0.0043266937136650085,
0.013719773851335049,
-0.0014616524567827582,
-0.009043499827384949,
0.0560544990003109,
-0.0359916090965271,
0.03686302527785301,
-0.01347658783197403,
0.03799789771437645,
0.03126973658800125,
-0.009697062894701958,
-0.024561841040849686,
-0.02859468385577202,
-0.04385463893413544,
0.03274912014603615,
-0.006439377088099718,
-0.0011564026353880763,
0.004270963836461306,
-0.01237211562693119,
0.06335009634494781,
0.0009138494497165084,
-0.0022646747529506683,
0.020893776789307594,
-0.04357092082500458,
-0.04482738673686981,
0.0074019902385771275,
0.016931863501667976,
0.042273927479982376,
0.01029996294528246,
-0.010006112977862358,
-0.04178755357861519,
-0.04115932062268257,
0.05005589500069618,
-0.016060443595051765,
-0.029911944642663002,
-0.04304401949048042,
-0.030317256227135658,
-0.028574418276548386,
-0.02093430794775486,
-0.02782459370791912,
-0.07802234590053558,
-0.05260935425758362,
0.008237943984568119,
0.014895175583660603,
0.025473790243268013,
0.05455484613776207,
-0.04875890165567398,
0.0010747071355581284,
0.03139133006334305,
0.038403209298849106,
-0.0017985671292990446,
-0.02215024083852768,
-0.03232354298233986,
-0.063836470246315,
0.035809218883514404,
0.012807824648916721,
-0.02646680176258087,
0.056176092475652695,
0.05370369553565979,
-0.03970020264387131,
0.029506633058190346,
-0.017104120925068855,
0.00536023685708642,
-0.014469599351286888,
0.03921382874250412,
0.02158280648291111,
0.02135988511145115,
-0.049853239208459854,
-0.0240146704018116,
0.010710340924561024,
0.021400416269898415,
0.055608656257390976,
0.02774353139102459,
-0.06116141378879547,
0.035464704036712646,
0.003931515850126743,
-0.026831582188606262,
0.08158908784389496,
0.03297204151749611,
0.01000104658305645,
0.028067780658602715,
-0.00024508644128218293,
0.018857089802622795,
-0.018016070127487183,
0.001978423912078142,
0.06647098809480667,
0.01963731274008751,
0.0036579309962689877,
-0.003845387138426304,
-0.011926272884011269,
0.08037315309047699,
0.027439547702670097,
0.0018834291258826852,
-0.016374560073018074,
-0.0745772048830986,
0.0025863901246339083,
-0.0507449246942997,
0.03757232055068016,
0.024055201560258865,
-0.01847204379737377,
0.015999648720026016,
-0.085196353495121,
-0.02788539044559002,
-0.028979729861021042,
-0.06124247610569,
0.010527950711548328,
0.04948846250772476,
0.01853284053504467,
0.05597343668341637,
0.037673648446798325,
0.047583501785993576,
0.026730254292488098,
0.014895175583660603,
-0.01777288317680359,
-0.020073022693395615,
0.07749544829130173,
-0.029810616746544838,
0.013699508272111416,
0.01429734192788601,
-0.06314744055271149,
0.0827239528298378,
-0.028878401964902878,
-0.08633122593164444,
0.010892730206251144,
0.008536861278116703,
-0.011743883602321148,
-0.03240460529923439,
-0.03177637606859207,
0.04150383546948433,
-0.010066909715533257,
0.030438849702477455,
-0.034816205501556396,
-0.045070573687553406,
-0.00959066953510046,
-0.02150174416601658,
0.03270858898758888,
0.025048213079571724,
-0.00024128664517775178,
0.015888188034296036,
0.0006516639259643853,
-0.03220194950699806,
-0.0039872461929917336,
0.014135217294096947,
-0.01954611763358116,
0.01760062575340271,
-0.007888363674283028,
-0.025433259084820747,
-0.009752793237566948,
0.08195386081933975,
-0.021258557215332985,
0.08308873325586319,
-0.05054226890206337,
0.011085253208875656,
-0.05573024973273277,
0.021846257150173187,
-0.022616349160671234,
-0.05046120658516884,
0.057473085820674896,
-0.02881760522723198,
-0.02658839523792267,
-0.01319286972284317,
-0.0025686577428132296,
0.05285254120826721,
-0.07141578197479248,
0.055243875831365585,
-0.014094687066972256,
0.06010760739445686,
-0.06448496133089066,
0.030580706894397736,
-0.07794128358364105,
0.01484451163560152,
0.034167710691690445,
0.026689723134040833,
0.0440167635679245,
-0.011166315525770187,
-0.03175611048936844,
0.04022710770368576,
-0.029081057757139206,
-0.041544366627931595,
0.029081057757139206,
0.040328435599803925,
0.06152619421482086,
-0.018269389867782593,
-0.03124947100877762,
0.025352196767926216,
0.023285111412405968,
0.03362054005265236,
0.00030889123445376754,
-0.005507161840796471,
0.023406704887747765,
0.015837524086236954,
0.02101537026464939,
0.01223025657236576,
0.04430048167705536,
-0.023062190040946007,
-0.047786153852939606,
0.04243605211377144,
0.001782101346179843,
0.028655480593442917,
-0.03212088719010353,
0.03568762540817261,
0.018573371693491936,
-0.02158280648291111,
0.009935183450579643,
0.032870713621377945,
-0.04827252775430679,
-0.07376658171415329,
0.03054017573595047,
0.052366167306900024,
0.0706862211227417,
-0.05110970512032509,
0.03303283825516701,
0.0053450376726686954,
-0.005228510592132807,
-0.01455066166818142,
-0.00118490110617131,
-0.004666141699999571,
-0.03690355643630028,
0.022332631051540375,
-0.020660722628235817,
0.042841363698244095,
0.05370369553565979,
0.006069530732929707,
-0.027865124866366386,
0.0233053769916296,
0.034795939922332764,
0.014976237900555134,
0.003262752667069435,
0.025716977193951607,
0.006241787690669298,
-0.06651151925325394,
-0.06318797171115875,
0.046124380081892014,
0.003802323015406728,
0.02895946428179741,
-0.05256882309913635,
-0.00588207459077239,
0.03637665510177612,
-0.016313763335347176,
0.03886931389570236,
-0.03736966475844383,
-0.00922588910907507,
-0.014165615662932396,
0.020731652155518532,
-0.05500068888068199,
-0.01753982901573181,
0.021197760477662086,
-0.013750172220170498,
0.0784681886434555,
-0.03082389384508133,
0.04600278660655022,
-0.05694618076086044,
0.08134590089321136,
-0.0032652858644723892,
-0.014307474717497826,
0.030317256227135658,
-0.03331655636429787,
-0.0008435533381998539,
-0.04640809819102287,
-0.03335708752274513,
-0.050785455852746964,
-0.0332760252058506,
-0.004772535990923643,
0.07781969010829926,
0.018005937337875366,
-0.040186576545238495,
-0.01619216986000538,
-0.030215928331017494,
-0.03355974331498146,
0.06557930260896683,
0.014814113266766071,
0.05147448554635048,
-0.023893076926469803,
-0.03949754685163498,
0.03655904158949852,
-0.010679942555725574,
0.032870713621377945,
0.05508175119757652,
-0.007062542252242565,
-0.04231445863842964,
0.047502439469099045,
-0.07538782805204391,
-0.0507449246942997,
-0.03923409432172775,
-0.01347658783197403,
0.05455484613776207,
-0.01952585205435753,
-0.03542417287826538,
-0.01726624369621277,
-0.016627879813313484,
-0.018694965168833733,
0.021420681849122047,
-0.03568762540817261,
0.04559747502207756,
-0.02500768192112446,
0.02178546041250229,
-0.010406357236206532,
0.0032450205180794,
0.019880499690771103,
-0.003148759016767144,
0.004759870003908873,
-0.05633821710944176,
0.03118867427110672,
0.015411946922540665,
0.06059398129582405,
0.02768273465335369,
-0.03353947773575783,
0.013233400881290436,
-0.04794827848672867,
-0.020812714472413063,
-0.02308245562016964,
0.05471697077155113,
-0.04288189485669136,
0.034167710691690445,
-0.008597657084465027,
-0.01619216986000538,
0.028371762484312057,
0.05127182975411415,
0.017104120925068855,
0.04705659672617912,
-0.051515016704797745,
-0.054027944803237915,
0.05783786624670029,
0.05577078089118004,
0.008359537459909916,
-0.012544372119009495,
0.010071976110339165,
0.03661983832716942,
0.019475188106298447,
-0.015685532242059708,
0.040328435599803925,
0.017671555280685425,
-0.04450313746929169,
-0.009382947348058224,
0.03582948446273804,
-0.04827252775430679,
-0.006571102887392044,
0.016790004447102547,
-0.08231864124536514,
-0.02502794750034809,
0.012807824648916721,
0.005073986016213894,
-0.05139342322945595,
-0.011743883602321148,
-0.012787559069693089,
-0.0003435643156990409,
-0.021258557215332985,
-0.017154784873127937,
-0.05070439353585243,
0.028148842975497246,
-0.03522151708602905,
-0.060188669711351395,
-0.010396224446594715,
-0.0193535964936018,
0.01498637069016695,
-0.005608489736914635,
0.05763521045446396,
-0.02859468385577202,
-0.013598180375993252,
-0.017012925818562508,
0.05098811164498329,
-0.009296818636357784,
-0.07453667372465134,
0.0067078955471515656,
-0.026831582188606262,
0.004531882703304291,
0.009200557135045528,
-0.028412293642759323,
0.04353038966655731,
-0.005674352869391441,
0.012250522151589394,
0.016151638701558113,
-0.025757508352398872,
0.020893776789307594,
-0.03195876628160477,
0.004346959292888641,
0.009904785081744194,
0.04831305891275406,
0.04385463893413544,
0.004296295344829559,
0.005522361025214195,
-0.07915721833705902,
-0.008830711245536804,
-0.04811040312051773,
0.05577078089118004,
0.02681131660938263,
0.0008961170678958297,
-0.00003671150989248417,
0.01408455427736044,
0.016293497756123543,
-0.0173473060131073,
-0.0093069514259696,
-0.05167714133858681,
0.06452549248933792,
0.02810831181704998,
0.0006909284275025129,
0.07765756547451019,
0.011672954075038433,
0.039396218955516815,
0.01777288317680359,
-0.07036197185516357,
0.02194758504629135,
0.01698252744972706,
-0.04036896675825119,
0.011632422916591167,
0.039396218955516815,
0.0008264542557299137,
-0.022636614739894867,
0.01821872591972351,
0.03376239910721779,
-0.07032144069671631,
0.034309569746255875,
-0.063836470246315,
0.01711425371468067,
0.04571906849741936,
0.03582948446273804,
-0.0412403829395771,
-0.0225960835814476,
-0.007163870148360729,
-0.04320614039897919,
0.031026549637317657,
-0.008040354587137699,
-0.03372186794877052,
-0.022048912942409515,
0.002629454480484128,
-0.022819003090262413,
-0.009990913793444633,
-0.01926240138709545,
-0.0029309045057743788,
0.0010329094948247075,
0.014803980477154255,
0.018401114270091057,
0.09127601236104965,
0.04466526210308075,
0.008400068618357182,
0.035383641719818115
] |
713,402
|
xmlschema.validators.schemas
|
iter_globals
|
Creates an iterator for XSD global definitions/declarations related to schema namespace.
:param schema: Optional argument for filtering only globals related to a schema instance.
|
def iter_globals(self, schema: Optional[SchemaType] = None) \
-> Iterator[Union[SchemaGlobalType, Tuple[Any, ...]]]:
"""
Creates an iterator for XSD global definitions/declarations related to schema namespace.
:param schema: Optional argument for filtering only globals related to a schema instance.
"""
if schema is None:
yield from self.notations.values()
yield from self.types.values()
yield from self.attributes.values()
yield from self.attribute_groups.values()
yield from self.groups.values()
yield from self.elements.values()
else:
def schema_filter(x: Union[XsdComponent, Tuple[ElementType, SchemaType]]) -> bool:
if isinstance(x, tuple):
return x[1] is schema
return x.schema is schema
yield from filter(schema_filter, self.notations.values())
yield from filter(schema_filter, self.types.values())
yield from filter(schema_filter, self.attributes.values())
yield from filter(schema_filter, self.attribute_groups.values())
yield from filter(schema_filter, self.groups.values())
yield from filter(schema_filter, self.elements.values())
|
(self, schema: Optional[~T] = None) -> Iterator[Union[~T, NoneType, Tuple[Any, ...]]]
|
[
0.04663516581058502,
-0.014912826009094715,
-0.04900827258825302,
-0.04854084178805351,
0.006157496012747288,
0.029933519661426544,
0.005968725774437189,
-0.036621369421482086,
0.04782171919941902,
0.025672713294625282,
-0.021663598716259003,
-0.02522326074540615,
-0.017043229192495346,
0.03266618773341179,
-0.04782171919941902,
-0.0022438904270529747,
-0.031371768563985825,
0.0678493082523346,
-0.011721714399755001,
-0.025672713294625282,
-0.02916046231985092,
0.01429258193820715,
-0.06651893258094788,
-0.007672149688005447,
-0.010157620534300804,
-0.003015824593603611,
-0.0007708105840720236,
-0.02482774294912815,
0.0611255057156086,
0.005883330013602972,
-0.017357846722006798,
-0.02885483391582966,
0.019218578934669495,
-0.04843297600746155,
0.03512918949127197,
-0.06810100376605988,
-0.02484571933746338,
0.07212809473276138,
0.004350697621703148,
0.03252236545085907,
0.05224432796239853,
0.005128249991685152,
-0.02141190506517887,
-0.007496863603591919,
-0.010813821107149124,
0.042608074843883514,
0.07637092471122742,
0.03552470728754997,
-0.014067855663597584,
0.019092731177806854,
0.042212553322315216,
0.02214900590479374,
-0.027884017676115036,
-0.0012618371983990073,
-0.0030854896176606417,
-0.009771091863512993,
-0.025780580937862396,
0.028225600719451904,
0.0036855083890259266,
0.005119261331856251,
-0.00959131121635437,
-0.003858547657728195,
0.003191110910847783,
0.0017067949520424008,
0.00929467286914587,
-0.04091813415288925,
-0.02653566002845764,
-0.04685090109705925,
-0.036297764629125595,
0.030994227156043053,
-0.06058616191148758,
-0.01461618673056364,
-0.006975498981773853,
0.008148569613695145,
-0.018571367487311363,
-0.04264402762055397,
-0.027290740981698036,
-0.054042138159275055,
-0.04296763613820076,
-0.07629901170730591,
0.03128187730908394,
0.04401036351919174,
-0.051812853664159775,
0.05310727655887604,
0.03796972706913948,
0.05447361245751381,
-0.026517681777477264,
0.028027841821312904,
0.06835269927978516,
0.034535910934209824,
-0.0005809170543216169,
-0.0008455320494249463,
0.054365742951631546,
0.04958357289433479,
0.024594027549028397,
0.0005295109003782272,
-0.06540428847074509,
-0.04106195643544197,
0.0026922188699245453,
-0.03264820948243141,
-0.023407472297549248,
-0.030311059206724167,
-0.029124505817890167,
0.02925035171210766,
0.05486913025379181,
0.042284466326236725,
0.020908517763018608,
-0.06756166368722916,
0.0615210235118866,
0.002766378689557314,
-0.059363652020692825,
0.0012674552854150534,
0.06076594442129135,
0.029286308214068413,
0.029466088861227036,
-0.024917632341384888,
-0.002301195403560996,
0.06723805516958237,
0.04429801180958748,
-0.01805899105966091,
-0.0555882528424263,
0.07331465184688568,
0.09319841861724854,
0.05098586156964302,
0.09384562820196152,
-0.03651349991559982,
0.02890876866877079,
0.012755454517900944,
0.008611504919826984,
0.029394177719950676,
-0.01326783001422882,
-0.01113742683082819,
-0.01853541098535061,
-0.012548706494271755,
-0.023281626403331757,
-0.010175598785281181,
0.013124005869030952,
0.010517182759940624,
-0.04170916974544525,
-0.011496988125145435,
-0.0037956242449581623,
0.031120073050260544,
-0.04961952939629555,
-0.011245295405387878,
-0.07723387330770493,
0.018841037526726723,
-0.029124505817890167,
0.02358725480735302,
-0.02207709476351738,
-0.03049083985388279,
-0.0068136961199343204,
-0.010346390306949615,
-0.008633977733552456,
0.0579613633453846,
-0.09240738302469254,
0.01878710463643074,
-0.010831799358129501,
0.01839158684015274,
-0.024755829945206642,
0.0029102033004164696,
-0.040774308145046234,
0.033942632377147675,
-0.0054788230918347836,
-0.03381678834557533,
0.0022888355888426304,
0.05073416978120804,
0.002564124995842576,
-0.03388869762420654,
0.02635587938129902,
-0.03237853944301605,
0.007483379915356636,
-0.046743035316467285,
0.019398359581828117,
-0.014643154107034206,
-0.030257124453783035,
0.06842461228370667,
0.014571242034435272,
0.0038001188077032566,
0.003330441191792488,
0.03983944654464722,
0.01238690409809351,
-0.05889622122049332,
-0.07371016591787338,
-0.029735760763287544,
0.01382515113800764,
0.02252654731273651,
-0.0030315553303807974,
-0.03088635765016079,
0.043866537511348724,
0.013582446612417698,
0.018643278628587723,
0.052531979978084564,
-0.0008747464162297547,
0.04239233583211899,
0.01957814022898674,
-0.006678860168904066,
-0.01768145151436329,
0.018841037526726723,
-0.02232878841459751,
0.01827472820878029,
-0.00043793502845801413,
-0.01991972327232361,
-0.0508420392870903,
-0.0014315054286271334,
-0.009851993061602116,
0.0373225137591362,
0.011371142230927944,
-0.046814944595098495,
-0.04185299202799797,
0.004024845082312822,
-0.03858098015189171,
-0.044046320021152496,
0.002676488133147359,
-0.01766347326338291,
0.0031506603118032217,
0.058177098631858826,
-0.053179189562797546,
-0.03286394849419594,
-0.011461032554507256,
-0.0023506353609263897,
0.028405381366610527,
-0.05019482597708702,
-0.028477294370532036,
-0.03523705527186394,
0.019668029621243477,
0.0015865664463490248,
0.028944725170731544,
-0.021375948563218117,
-0.039587754756212234,
-0.055552296340465546,
0.05130947008728981,
0.0319470651447773,
-0.004494522698223591,
-0.0396956242620945,
0.056666940450668335,
-0.004503511358052492,
0.06810100376605988,
0.017303911969065666,
0.030185213312506676,
0.017897188663482666,
-0.025996318086981773,
0.006274353247135878,
-0.024072661995887756,
-0.0297717172652483,
-0.06662680208683014,
0.038940541446208954,
-0.003289990359917283,
0.018481476232409477,
0.03940797224640846,
0.030580731108784676,
-0.06058616191148758,
-0.0007848559762351215,
-0.0022562502417713404,
-0.025277193635702133,
0.001619151677004993,
-0.008782297372817993,
-0.06306713819503784,
0.041493430733680725,
0.002160741714760661,
-0.01891295053064823,
0.0615210235118866,
0.02944811061024666,
-0.003615843364968896,
0.09485240280628204,
0.02358725480735302,
0.04257211834192276,
0.053646620362997055,
-0.016458941623568535,
-0.006728300359100103,
-0.023551298305392265,
0.026122163981199265,
0.04875658079981804,
-0.02371310070157051,
0.0006921564345248044,
0.008642966859042645,
0.009056462906301022,
-0.022059116512537003,
0.03182121738791466,
-0.014795968309044838,
-0.01497574895620346,
0.03539885953068733,
-0.024162553250789642,
0.03681912645697594,
0.009375574067234993,
0.0028135711327195168,
-0.004054059274494648,
-0.042140644043684006,
0.02247261255979538,
0.016270171850919724,
-0.03635169938206673,
0.01326783001422882,
0.0027821094263345003,
-0.003065264318138361,
-0.01258466299623251,
0.01202734187245369,
0.04045070335268974,
-0.0015573520213365555,
-0.012216111645102501,
0.00923174899071455,
0.06659084558486938,
0.052208371460437775,
0.02430637739598751,
0.01643197424709797,
0.024396268650889397,
0.025834515690803528,
0.02083660662174225,
0.07158875465393066,
-0.01583869755268097,
0.030275102704763412,
0.03264820948243141,
-0.005096788518130779,
-0.031893130391836166,
0.007649677339941263,
0.001720278523862362,
-0.017124131321907043,
-0.056738853454589844,
0.0036383159458637238,
-0.053646620362997055,
-0.04005518555641174,
0.043866537511348724,
-0.029915541410446167,
0.017915166914463043,
0.050158869475126266,
-0.04685090109705925,
-0.05727819353342056,
0.035830333828926086,
-0.0536106638610363,
-0.002492212690412998,
0.009146353229880333,
-0.017834264785051346,
-0.03286394849419594,
-0.027039047330617905,
-0.02232878841459751,
0.0671301856637001,
0.08996236324310303,
0.021645620465278625,
0.01382515113800764,
-0.021322013810276985,
0.009618277661502361,
-0.1039852723479271,
-0.0024450202472507954,
0.02306588925421238,
0.01689041592180729,
-0.02252654731273651,
-0.07119323313236237,
-0.04224850982427597,
-0.06029851362109184,
-0.013789194636046886,
0.0528196282684803,
-0.016665689647197723,
0.0023596242535859346,
0.051093731075525284,
0.023353539407253265,
0.04318337142467499,
0.06907182186841965,
-0.0030338026117533445,
-0.04063048213720322,
0.04512500390410423,
-0.02391085959970951,
0.062312059104442596,
0.07166066765785217,
0.06281544268131256,
-0.0035484253894537687,
-0.020009614527225494,
0.018247760832309723,
-0.03786185756325722,
-0.008054184727370739,
-0.007344049867242575,
0.01825674995779991,
-0.037753988057374954,
-0.01643197424709797,
0.0019023066852241755,
-0.04735428839921951,
-0.09010618925094604,
-0.020602891221642494,
-0.01189250685274601,
0.028405381366610527,
0.017043229192495346,
-0.028531229123473167,
-0.038329288363456726,
0.07802490890026093,
-0.009155342355370522,
0.04476544260978699,
-0.02311982400715351,
-0.04516096040606499,
-0.06680658459663391,
0.024396268650889397,
-0.0030742534436285496,
-0.05263984575867653,
0.05343088135123253,
0.000766877899877727,
-0.05501295626163483,
-0.006364244036376476,
0.04620369151234627,
0.01871519163250923,
0.002427042229101062,
-0.030724555253982544,
0.006921564694494009,
-0.033744875341653824,
0.0038091077003628016,
-0.01392403058707714,
-0.04810936748981476,
-0.027236806228756905,
-0.002829301869496703,
0.022958021610975266,
-0.08435320109128952,
-0.006827179808169603,
0.005564218852669001,
0.0035484253894537687,
0.09693785756826401,
0.003991135861724615,
-0.026715440675616264,
-0.002869752701371908,
-0.004577671177685261,
0.01813090406358242,
-0.005227129440754652,
0.04289572313427925,
0.04185299202799797,
0.07931933552026749,
0.0591479167342186,
0.012620619498193264,
-0.05616355314850807,
0.030311059206724167,
0.04976335167884827,
-0.02311982400715351,
-0.01878710463643074,
-0.04918805509805679,
-0.019686007872223854,
-0.04465757682919502,
0.0058249011635780334,
-0.039731577038764954,
0.06472112238407135,
-0.03789781406521797,
-0.08471275866031647,
0.030472861602902412,
-0.029088549315929413,
-0.022041138261556625,
-0.0027843567077070475,
0.020872563123703003,
0.02484571933746338,
0.04757002741098404,
0.037610165774822235,
0.0024225476663559675,
0.001060145441442728,
-0.021465839818120003,
0.029142484068870544,
-0.0192545335739851,
0.11484403908252716,
0.006508068647235632,
0.012962202541530132,
-0.06953924894332886,
-0.01871519163250923,
0.030203191563487053,
-0.057386063039302826,
0.021573707461357117,
-0.021591685712337494,
0.02101638726890087,
-0.012953213416039944,
-0.03171335160732269,
-0.033672962337732315,
0.03437410667538643,
0.006220418959856033,
-0.028621118515729904,
-0.07173258066177368,
0.012746465392410755,
0.004827117081731558,
0.014903836883604527,
0.00959131121635437,
0.028872812166810036,
0.023892881348729134,
0.0190567746758461,
0.024144574999809265,
0.00366977765224874,
-0.06867630034685135,
0.008719373494386673,
-0.044585663825273514,
-0.056019727140665054,
0.030724555253982544,
-0.025654735043644905,
-0.01938038133084774,
-0.0069979713298380375,
0.018805082887411118,
0.041421517729759216,
-0.006256375461816788,
0.011667780578136444,
-0.051417335867881775,
0.05303536355495453,
-0.07931933552026749,
-0.049907177686691284,
0.009735135361552238,
0.02772221527993679,
-0.0055282628163695335,
-0.002227035816758871,
-0.010202566161751747,
0.05616355314850807,
-0.019020820036530495,
0.042751897126436234,
0.02943013235926628,
0.024917632341384888,
0.01827472820878029,
0.022041138261556625,
0.009555354714393616,
-0.06313905119895935,
0.07270339876413345,
0.01317793969064951,
-0.026373857632279396,
-0.011523955501616001,
-0.09255120903253555,
-0.005083304829895496,
-0.014499329961836338,
-0.00711033446714282,
-0.004975436255335808,
0.033547114580869675,
0.0010977871716022491,
0.02628396824002266,
-0.09003427624702454,
-0.005357470829039812,
-0.002950653899461031,
0.010346390306949615,
0.02063884772360325,
-0.0492599681019783,
-0.05033865198493004,
-0.019146665930747986,
0.03480558097362518,
-0.007312587928026915,
-0.007200224790722132,
-0.046814944595098495,
-0.014634164981544018,
0.022706327959895134,
-0.05447361245751381,
0.04476544260978699,
0.006728300359100103,
-0.027380630373954773,
-0.02103436551988125,
0.017456725239753723,
-0.037538252770900726,
0.09420519322156906,
-0.07953506708145142,
-0.0559837706387043,
0.0642896518111229,
0.020944474264979362,
0.02989756315946579,
-0.0035708982031792402,
0.011739692650735378,
0.03908436745405197,
0.033475201576948166,
-0.009555354714393616,
-0.025043480098247528,
-0.013357720337808132,
-0.018571367487311363,
0.004159680567681789,
-0.07144492864608765,
-0.014211679808795452,
0.023802991956472397,
-0.04623964801430702,
-0.011155405081808567,
0.028279535472393036,
0.04580817371606827,
0.010193577036261559,
0.02542101964354515,
0.014760011807084084,
-0.0020697275176644325,
-0.084137462079525,
0.023227691650390625,
-0.003501232946291566,
-0.027380630373954773,
0.0030338026117533445,
-0.001232622773386538,
-0.02410861849784851,
0.08298686146736145,
-0.021699555218219757,
-0.0035371892154216766,
0.031641438603401184,
-0.029591936618089676,
0.02148381806910038,
0.02450413629412651,
-0.0512375570833683,
0.010067730210721493,
-0.0038203441072255373,
-0.047210462391376495,
0.0048226225189864635,
0.005420394241809845,
0.044981181621551514,
-0.01432853750884533,
0.02727276273071766,
0.00013469521945808083,
0.00866993423551321,
0.01048122625797987,
0.04836106300354004,
0.014382472261786461,
0.0074249510653316975,
-0.002158494433388114,
0.004863073118031025,
-0.06630319356918335,
-0.03291788324713707,
-0.008422735147178173,
-0.02200518175959587,
-0.04613177850842476,
-0.042536161839962006,
-0.006705827545374632,
0.01307007111608982,
0.09593109041452408,
0.052603889256715775,
-0.01733986847102642,
-0.001701176748611033,
-0.033151596784591675,
0.032881926745176315,
0.0009432879160158336,
0.05454552546143532,
0.010723930783569813,
-0.0532151460647583,
-0.02056693471968174,
0.016054434701800346,
-0.007065389305353165,
0.022418677806854248,
0.02306588925421238,
-0.021717533469200134,
0.01930846832692623,
-0.006382221821695566,
-0.06461325287818909,
-0.022508569061756134,
0.014553263783454895,
-0.0018247761763632298,
-0.017321890220046043,
0.036297764629125595,
0.0006275476771406829,
0.005735010839998722,
-0.044585663825273514,
0.011676769703626633,
0.02398277260363102,
-0.01327681913971901,
-0.040127094835042953,
-0.007069883868098259,
-0.1001020073890686,
0.04034283384680748,
0.02693117782473564,
-0.028567185625433922,
-0.013681326061487198,
-0.07895977050065994,
0.04163725674152374,
0.006431661546230316,
0.03926414996385574,
0.02326364815235138,
0.040127094835042953,
-0.006063110660761595,
0.013016137294471264,
0.03291788324713707,
-0.0008994663367047906,
0.051489248871803284,
-0.04821723699569702,
-0.016342082992196083,
0.03994731605052948,
0.00015351602633018047,
0.014742033556103706,
-0.01991972327232361,
-0.0057260217145085335,
-0.06608746200799942,
-0.034931428730487823,
0.04519691690802574,
-0.009213770739734173,
0.02916046231985092,
-0.009609289467334747,
0.04138556122779846,
-0.006872124969959259,
-0.031191986054182053,
0.012000375427305698,
0.025582822039723396,
-0.028207622468471527,
0.027164893224835396,
-0.0036135960835963488,
-0.036225851625204086,
0.06655488908290863,
0.03277405723929405,
-0.005267580505460501,
-0.08219582587480545,
0.06108954921364784,
-0.03987540304660797,
0.03897649794816971,
-0.025241238996386528,
-0.023820968344807625,
-0.018346641212701797,
0.018157871440052986,
-0.03061668761074543,
-0.03428421914577484,
0.0007224945002235472,
-0.02187933586537838,
-0.01702525094151497,
-0.027686258777976036,
0.016207247972488403,
0.004281032830476761,
-0.04857679829001427,
-0.01766347326338291,
0.09355797618627548,
0.008611504919826984,
-0.0033079686108976603,
0.03922819346189499,
0.036297764629125595,
0.0031012205872684717,
-0.030652644112706184,
0.01458922028541565,
-0.03552470728754997,
-0.0025349105708301067,
0.04271594062447548,
0.055156778544187546,
0.05303536355495453,
0.04336315393447876,
0.019542183727025986,
0.003179874736815691,
0.004710259381681681,
0.058644529432058334,
-0.013016137294471264,
-0.025115391239523888,
-0.041745126247406006,
-0.012359936721622944,
-0.0059597366489470005,
-0.035830333828926086,
0.02871100977063179,
0.022023160010576248,
0.037358470261096954,
-0.019865788519382477,
0.03572246432304382,
0.021843379363417625,
-0.01950622722506523,
0.057457976043224335,
0.00814407505095005,
0.03460782393813133,
-0.03041892871260643,
0.03311564028263092,
0.03272012248635292,
0.009078935720026493,
-0.0032854960300028324,
-0.01898486353456974,
-0.04908018559217453,
0.055228691548109055,
-0.007348544429987669,
-0.011973408050835133,
0.025438997894525528,
0.02655363827943802,
-0.08751734346151352,
-0.009074441157281399,
0.008485658094286919,
0.03120996430516243,
-0.049116142094135284,
0.03940797224640846,
-0.04544861242175102,
-0.03764611855149269,
-0.016656700521707535,
-0.03861693665385246,
0.003114704042673111,
0.03592022508382797,
-0.014301570132374763,
-0.006027154624462128,
0.028171665966510773,
-0.03457186743617058,
-0.02311982400715351,
0.08687013387680054,
-0.016845470294356346,
-0.029538001865148544,
-0.021573707461357117,
-0.031911108642816544,
-0.046419426798820496,
0.03219876065850258,
0.020063547417521477,
0.031515590846538544,
0.07982271909713745,
-0.010247510857880116,
0.011757670901715755,
-0.027290740981698036
] |
713,405
|
xmlschema.validators.xsdbase
|
parse_error
|
Helper method for registering parse errors. Does nothing if validation mode is 'skip'.
Il validation mode is 'lax' collects the error, otherwise raise the error.
:param error: can be a parse error or an error message.
:param elem: the Element instance related to the error, for default uses the 'elem' attribute of the validator, if it's present.
:param validation: overrides the default validation mode of the validator.
|
def parse_error(self, error: Union[str, Exception],
elem: Optional[ElementType] = None,
validation: Optional[str] = None) -> None:
"""
Helper method for registering parse errors. Does nothing if validation mode is 'skip'.
Il validation mode is 'lax' collects the error, otherwise raise the error.
:param error: can be a parse error or an error message.
:param elem: the Element instance related to the error, for default uses the 'elem' \
attribute of the validator, if it's present.
:param validation: overrides the default validation mode of the validator.
"""
if validation is not None:
check_validation_mode(validation)
else:
validation = self.validation
if validation == 'skip':
return
elif elem is None:
elem = self.elem
elif not is_etree_element(elem):
msg = "the argument 'elem' must be an Element instance, not {!r}."
raise XMLSchemaTypeError(msg.format(elem))
if isinstance(error, XMLSchemaParseError):
if error.namespaces is None:
error.namespaces = getattr(self, 'namespaces', None)
if error.elem is None:
error.elem = elem
if error.source is None:
error.source = getattr(self, 'source', None)
elif isinstance(error, Exception):
message = str(error).strip()
if message[0] in '\'"' and message[0] == message[-1]:
message = message.strip('\'"')
error = XMLSchemaParseError(self, message, elem)
elif isinstance(error, str):
error = XMLSchemaParseError(self, error, elem)
else:
msg = "'error' argument must be an exception or a string, not {!r}."
raise XMLSchemaTypeError(msg.format(error))
if validation == 'lax':
if error.stack_trace is None and logger.level == logging.DEBUG:
error.stack_trace = format_xmlschema_stack()
logger.debug("Collect %r with traceback:\n%s", error, error.stack_trace)
self.errors.append(error)
else:
raise error
|
(self, error: Union[str, Exception], elem: Optional[~T] = None, validation: Optional[str] = None) -> NoneType
|
[
-0.005034510511904955,
0.06006147712469101,
0.0361742340028286,
0.053639575839042664,
-0.01867176964879036,
-0.008189779706299305,
0.024109968915581703,
-0.009874136187136173,
0.025557680055499077,
-0.04116698354482651,
0.056497879326343536,
-0.020583491772413254,
0.10572008043527603,
-0.02689402922987938,
-0.04280029982328415,
0.05839104205369949,
-0.0221425648778677,
0.03823443874716759,
0.0006310538155958056,
0.05946754291653633,
-0.0022249286994338036,
-0.037250738590955734,
-0.027914851903915405,
0.02535351552069187,
0.037139374762773514,
0.06629777699708939,
0.036842409521341324,
-0.016889970749616623,
0.017344700172543526,
-0.01609187200665474,
0.01702917367219925,
-0.048294179141521454,
0.02548343874514103,
-0.007688648533076048,
-0.024035727605223656,
0.015442258678376675,
-0.03823443874716759,
0.005298996344208717,
-0.0070854355581104755,
0.06110085919499397,
-0.07773098349571228,
0.011191925033926964,
-0.034262511879205704,
-0.028787191957235336,
0.02206832356750965,
-0.022161126136779785,
0.02936256304383278,
0.09599442780017853,
-0.13823790848255157,
0.009530768729746342,
0.0018896814435720444,
0.04239197075366974,
0.025446318089962006,
-0.007377761881798506,
-0.0015184732619673014,
0.03786322847008705,
0.01742822304368019,
0.02184559963643551,
0.022216808050870895,
-0.02190127968788147,
-0.005131952464580536,
0.04525027051568031,
0.006069253198802471,
0.04847978428006172,
-0.025260714814066887,
-0.009182761423289776,
0.006923031993210316,
-0.05623803287744522,
-0.07368481904268265,
0.01750246435403824,
0.005275795701891184,
0.005062351003289223,
-0.07004697620868683,
-0.01638883911073208,
0.04521315172314644,
-0.027692127972841263,
-0.045287393033504486,
-0.017743749544024467,
-0.016407400369644165,
0.012092105112969875,
0.03661968186497688,
0.0926535502076149,
-0.025984570384025574,
0.04454497620463371,
0.08270516991615295,
-0.016509482637047768,
-0.031032999977469444,
-0.0023235308472067118,
0.005053070839494467,
0.03212806582450867,
-0.026318656280636787,
-0.055569857358932495,
-0.032666318118572235,
0.048294179141521454,
-0.05107824131846428,
0.021864159032702446,
0.01203642413020134,
-0.06830229610204697,
0.03732497990131378,
-0.012184906750917435,
0.003598398994654417,
0.02977089211344719,
-0.047811608761548996,
-0.020936138927936554,
0.056572120636701584,
-0.004749143961817026,
0.019878195598721504,
-0.040832895785570145,
0.05501304566860199,
-0.0016785567859187722,
0.023441793397068977,
-0.04925931990146637,
-0.007136476691812277,
0.0686735063791275,
0.01458847988396883,
0.015340176410973072,
0.05174641311168671,
-0.004187691956758499,
-0.02318194881081581,
-0.015748504549264908,
0.04970477148890495,
-0.02320050820708275,
-0.005540281534194946,
-0.018940895795822144,
0.04914795607328415,
0.019321383908391,
0.004816425498574972,
-0.004069369286298752,
0.08953540027141571,
-0.02494518645107746,
-0.000767356832511723,
-0.00904355850070715,
0.018467605113983154,
-0.054975926876068115,
-0.022866422310471535,
0.00022765499306842685,
-0.015702104195952415,
0.01115480437874794,
-0.11106547713279724,
0.004074009135365486,
0.0063058980740606785,
0.06084101274609566,
0.014551359228789806,
-0.011266167275607586,
-0.035728782415390015,
-0.010078300721943378,
-0.042354848235845566,
-0.0005275215953588486,
0.007243198808282614,
0.04257757216691971,
-0.03257351368665695,
-0.04521315172314644,
0.004593700636178255,
-0.019766833633184433,
-0.007173597346991301,
-0.030309144407510757,
0.01719621755182743,
0.02583608590066433,
0.0196740310639143,
-0.041129861027002335,
-0.03661968186497688,
-0.02171567641198635,
0.031311407685279846,
-0.04220636561512947,
0.011618814431130886,
0.025798965245485306,
0.03804883360862732,
0.03593294695019722,
-0.027487963438034058,
0.036898087710142136,
0.016648685559630394,
0.035951510071754456,
0.008922915905714035,
0.019933877512812614,
-0.096736840903759,
0.099558025598526,
0.05594106763601303,
0.020008118823170662,
-0.0206577330827713,
0.021585753187537193,
0.025873206555843353,
0.05675772577524185,
0.023478914052248,
0.01271387841552496,
0.012324110604822636,
0.02412852831184864,
-0.039236702024936676,
-0.004614581353962421,
0.010412388481199741,
0.022643696516752243,
0.05642363801598549,
-0.02136302925646305,
-0.005605242680758238,
0.01742822304368019,
-0.013688299804925919,
0.02008236013352871,
-0.007526244968175888,
-0.000846238574013114,
0.081220343708992,
0.030791714787483215,
0.013966706581413746,
0.04198364168405533,
0.003679600777104497,
0.009540049359202385,
0.01585986837744713,
-0.012370510958135128,
-0.018653208389878273,
-0.04573284462094307,
-0.06748563796281815,
0.017224058508872986,
-0.007526244968175888,
-0.023645957931876183,
0.0052340347319841385,
0.040238961577415466,
0.02928832173347473,
0.004282813984900713,
-0.0333530530333519,
0.011516732163727283,
0.05289715901017189,
-0.011312567628920078,
0.07877036929130554,
-0.023516036570072174,
0.049779012799263,
-0.03006785921752453,
-0.0013920305063948035,
0.01989675685763359,
0.02271793782711029,
-0.07557797431945801,
0.0009344004793092608,
0.06150918826460838,
0.006431180983781815,
-0.03262919560074806,
-0.016593003645539284,
-0.027803489938378334,
0.02542775683104992,
0.009363725781440735,
0.07457571476697922,
-0.0011246446520090103,
0.07546661794185638,
-0.05182065814733505,
0.000027840609618579037,
-0.059319060295820236,
-0.1009686142206192,
-0.0027446202002465725,
-0.012045703828334808,
-0.005298996344208717,
-0.02301490493118763,
0.0483684204518795,
-0.06730003654956818,
-0.016889970749616623,
-0.03816019743680954,
0.05716605484485626,
0.03259207308292389,
-0.007345281075686216,
0.03591438755393028,
-0.006793108768761158,
-0.011516732163727283,
-0.016889970749616623,
0.058094073086977005,
-0.02841598354279995,
0.06147206947207451,
-0.016231076791882515,
0.05208050087094307,
0.033018965274095535,
-0.031441330909729004,
-0.062251605093479156,
0.02741372026503086,
0.014467837288975716,
0.061137981712818146,
0.06700307130813599,
0.027376599609851837,
0.043654076755046844,
-0.017808711156249046,
0.03411402925848961,
0.0027446202002465725,
-0.006403340492397547,
-0.02724667824804783,
0.0375848226249218,
0.007939213886857033,
-0.004623861517757177,
-0.007864972576498985,
-0.02195696160197258,
-0.023460354655981064,
0.052860040217638016,
-0.0400533564388752,
-0.02266225777566433,
-0.018523287028074265,
0.0005246215150691569,
-0.03517197072505951,
0.01327069103717804,
0.009465807117521763,
0.00959573034197092,
-0.02893567457795143,
0.0026054170448333025,
-0.026875469833612442,
0.005428919102996588,
-0.00618061563000083,
-0.03782610967755318,
-0.010403107851743698,
-0.03576590493321419,
0.033779941499233246,
0.002162287477403879,
0.006895191036164761,
-0.01074647530913353,
0.012370510958135128,
0.009456527419388294,
0.012871642597019672,
-0.036304157227277756,
0.028323180973529816,
0.013010845519602299,
-0.0013398294104263186,
0.021103182807564735,
-0.11834115535020828,
-0.003978887107223272,
0.05801983177661896,
0.05868800729513168,
0.0631796270608902,
-0.08211123943328857,
0.002542775822803378,
0.027784928679466248,
0.021975520998239517,
-0.02342323400080204,
-0.015637142583727837,
-0.054975926876068115,
-0.04513891041278839,
-0.022847861051559448,
0.013623339124023914,
-0.017929352819919586,
0.029900815337896347,
-0.02977089211344719,
0.018950175493955612,
-0.032387908548116684,
-0.014653441496193409,
0.028842872008681297,
0.00043471952085383236,
-0.04796009138226509,
0.02570616453886032,
-0.038642767816782,
0.012017863802611828,
0.021214544773101807,
0.019469866529107094,
0.03218374401330948,
-0.015627862885594368,
0.006403340492397547,
-0.012630357407033443,
-0.03764050453901291,
-0.02464822120964527,
0.004315294791013002,
0.00525259505957365,
0.04866538569331169,
-0.03287047892808914,
0.02353459596633911,
-0.030624670907855034,
0.026726985350251198,
0.05211762338876724,
-0.01625891588628292,
-0.054344870150089264,
0.04198364168405533,
0.015869148075580597,
0.010867117904126644,
0.022328170016407967,
-0.05972738936543465,
-0.00819441955536604,
-0.040424566715955734,
0.044470734894275665,
-0.023868683725595474,
-0.02988225594162941,
0.01919146068394184,
-0.006649265997111797,
-0.006885910872370005,
0.039310943335294724,
-0.04621541500091553,
-0.008226900361478329,
-0.0660008043050766,
-0.015507220290601254,
0.06592656672000885,
0.019748272374272346,
0.024703901261091232,
-0.058094073086977005,
-0.05813119560480118,
0.0554213747382164,
0.016333159059286118,
0.008203700184822083,
-0.03322312980890274,
0.01954410783946514,
-0.052043382078409195,
-0.016249636188149452,
0.006259497255086899,
0.01602691225707531,
0.05337972939014435,
-0.008472825400531292,
-0.02366451919078827,
0.04302302375435829,
0.01179513894021511,
-0.025093670934438705,
0.01082999724894762,
-0.019339943304657936,
-0.014365755021572113,
-0.03313032537698746,
-0.027023952454328537,
-0.06351371109485626,
-0.004185371566563845,
-0.021994082257151604,
0.052043382078409195,
0.04892523214221001,
0.0038025632966309786,
-0.030086420476436615,
0.0483684204518795,
-0.04803433269262314,
0.055384255945682526,
0.04280029982328415,
0.015757786110043526,
-0.0015787946758791804,
-0.05972738936543465,
0.003473116084933281,
0.06626065075397491,
0.020639171823859215,
0.04725479707121849,
-0.037714745849370956,
-0.027803489938378334,
-0.040016237646341324,
0.007614406757056713,
0.04692070931196213,
0.044879063963890076,
-0.010291745886206627,
-0.022792179137468338,
-0.018179919570684433,
0.0008937995880842209,
-0.022829299792647362,
0.02565048262476921,
0.01377182174474001,
0.049927495419979095,
-0.02906559780240059,
-0.08775360137224197,
-0.014393595978617668,
-0.04291165992617607,
-0.05571833997964859,
-0.004677222575992346,
0.02860158681869507,
-0.017224058508872986,
0.027914851903915405,
0.011136244051158428,
0.033835623413324356,
0.04443361610174179,
0.0384942851960659,
-0.030216341838240623,
-0.039013974368572235,
0.0554213747382164,
-0.09792470932006836,
0.011544573120772839,
0.0435798354446888,
-0.021622873842716217,
0.05853952467441559,
-0.02765500731766224,
-0.011739457026124,
-0.030030738562345505,
-0.017038453370332718,
-0.05078127235174179,
0.019766833633184433,
0.004438257310539484,
-0.01579490676522255,
0.044767700135707855,
-0.004779304843395948,
-0.05367669835686684,
-0.07090075314044952,
0.08315062522888184,
-0.010551591403782368,
0.012101385742425919,
-0.003964967094361782,
0.023683078587055206,
-0.04461921751499176,
-0.04896235466003418,
0.008816192857921124,
0.024759583175182343,
0.0360257513821125,
-0.0038002433720976114,
0.004507858771830797,
-0.03788179159164429,
0.012992285192012787,
-0.02548343874514103,
0.01596195064485073,
-0.03134852647781372,
0.04762600362300873,
0.014542078599333763,
0.02184559963643551,
-0.012992285192012787,
0.031014440581202507,
-0.0029000635258853436,
-0.04937068372964859,
0.06039556488394737,
-0.046066928654909134,
-0.0026634184177964926,
0.008482106029987335,
0.0270053930580616,
0.019302822649478912,
-0.04666086286306381,
0.005382517818361521,
-0.017650946974754333,
-0.0014221911551430821,
-0.02719099633395672,
0.039830632507801056,
-0.04610405117273331,
-0.011396089568734169,
-0.002266689669340849,
0.06663186103105545,
-0.04510178789496422,
-0.03715793415904045,
0.033427294343709946,
0.015043210238218307,
-0.053936541080474854,
-0.1106942668557167,
0.034726522862911224,
0.048405542969703674,
0.05352821201086044,
-0.0434313528239727,
-0.0743158683180809,
0.011748737655580044,
0.014922567643225193,
0.030253462493419647,
0.007331360597163439,
-0.0012435473036020994,
0.012927323579788208,
0.007642247714102268,
0.01673220656812191,
0.003310712520033121,
0.03350153565406799,
-0.024796703830361366,
-0.04231772944331169,
-0.010004059411585331,
-0.024926627054810524,
0.013957425951957703,
0.05775998532772064,
0.037380658090114594,
0.006394060328602791,
-0.015572181902825832,
0.01252827513962984,
0.0063430191949009895,
0.03622991591691971,
-0.027970533818006516,
-0.006774548441171646,
0.003011425957083702,
0.055384255945682526,
-0.01418015081435442,
-0.012732438743114471,
-0.037788987159729004,
-0.018885213881731033,
-0.03634127601981163,
0.06551823765039444,
-0.030439067631959915,
-0.025279274210333824,
0.002403572667390108,
-0.0035032767336815596,
0.03474508225917816,
0.05575546249747276,
-0.005043790675699711,
-0.025464877486228943,
0.014458556659519672,
0.0554213747382164,
0.04703207314014435,
-0.030142100527882576,
-0.0347636416554451,
-0.020416447892785072,
-0.03645263984799385,
-0.00806913711130619,
0.020156601443886757,
-0.026207294315099716,
-0.022272488102316856,
-0.0647386983036995,
-0.02600312978029251,
0.004586740396916866,
-0.011498171836137772,
0.021864159032702446,
-0.03717649355530739,
-0.05066991224884987,
-0.010690794326364994,
0.021919840946793556,
-0.009530768729746342,
0.05337972939014435,
-0.01276956032961607,
-0.002286410192027688,
0.03118148446083069,
-0.015247374773025513,
0.036545440554618835,
-0.007164317183196545,
0.016936371102929115,
-0.00881155300885439,
0.008236180990934372,
0.0037747228052467108,
-0.04948204383254051,
-0.02108462154865265,
-0.00143147143535316,
-0.07424163073301315,
-0.019970998167991638,
-0.015562901273369789,
0.032035261392593384,
0.040944259613752365,
0.013168608769774437,
-0.06017284095287323,
-0.022495213896036148,
-0.04231772944331169,
-0.04190940037369728,
0.03816019743680954,
0.04190940037369728,
-0.034782201051712036,
0.009456527419388294,
-0.02507510967552662,
0.001307348720729351,
0.06291978061199188,
0.053157005459070206,
-0.0010672233765944839,
0.010403107851743698,
-0.05453047528862953,
-0.028137577697634697,
-0.03004929982125759,
-0.01006902102380991,
-0.02436981350183487,
0.013808942399919033,
0.04068441316485405,
0.02407284826040268,
-0.005772286560386419,
0.017270458862185478,
0.004983469378203154,
-0.025093670934438705,
0.0030369465239346027,
-0.0384942851960659,
-0.01016182266175747,
-0.02917695976793766,
0.004092569928616285,
-0.02013804204761982,
-0.04346847161650658,
0.009901977144181728,
0.021975520998239517,
0.019042978063225746,
-0.12725014984607697,
-0.01400382723659277,
-0.004732903558760881,
0.052748676389455795,
0.047811608761548996,
0.00839394424110651,
-0.015952669084072113,
-0.005642363801598549,
0.0015231133438646793,
-0.04814569652080536,
-0.0016692766221240163,
-0.012324110604822636,
0.05872512608766556,
0.018922334536910057,
-0.03348297253251076,
0.07075227051973343,
0.025669042021036148,
0.02765500731766224,
0.059207696467638016,
-0.038642767816782,
-0.012203468009829521,
0.03693521022796631,
0.04480482265353203,
0.03327880799770355,
0.02752508409321308,
-0.021567193791270256,
0.02971521206200123,
-0.019878195598721504,
-0.015033929608762264,
0.02008236013352871,
0.01285308226943016,
0.03069891408085823,
-0.0096606919541955,
0.024351254105567932,
0.01006902102380991,
-0.028620148077607155,
-0.040424566715955734,
-0.0885702595114708,
-0.020973259583115578,
0.03004929982125759,
0.017121976241469383,
-0.0187924113124609,
-0.013892464339733124,
-0.031905338168144226,
-0.07123484462499619,
-0.028787191957235336,
0.00753088528290391,
0.0019140419317409396,
0.03593294695019722,
-0.038828372955322266,
-0.08552635461091995,
-0.05905921384692192,
-0.02453685738146305,
0.04380255937576294,
0.05015021935105324,
0.016602283343672752,
-0.0721999853849411,
-0.0737590566277504,
-0.038642767816782,
0.018894493579864502,
-0.0005521721323020756,
-0.05564409866929054,
-0.05115248262882233,
-0.03606287017464638,
0.005182993598282337,
0.032035261392593384,
0.02125166542828083,
0.03140420839190483,
0.005804767366498709,
-0.04387680068612099,
0.011043442413210869,
0.03927382081747055,
0.00345687591470778,
-0.028211819007992744,
-0.03751058131456375,
-0.02043500728905201,
0.04796009138226509,
0.039422303438186646,
-0.024054287001490593,
0.0046354616060853004,
-0.04744039848446846,
-0.005781566724181175,
-0.0270053930580616,
0.046586621552705765,
-0.025520559400320053,
-0.009465807117521763,
0.02958528883755207,
-0.02548343874514103,
-0.01867176964879036,
-0.017289018258452415,
0.012936603277921677,
-0.02964097075164318,
0.03389130160212517,
-0.017103414982557297,
-0.03777042776346207,
0.04380255937576294,
-0.012398351915180683,
-0.022346729412674904,
0.05746302008628845,
-0.02466678060591221,
0.081220343708992,
0.02136302925646305,
-0.04944492504000664,
-0.006347659043967724,
0.04309726506471634,
0.03272199630737305,
-0.013066526502370834,
0.03559885919094086,
0.008704830892384052,
-0.018124237656593323,
-0.04328287020325661,
-0.040016237646341324,
0.03129284456372261,
-0.006537903565913439,
0.04443361610174179,
-0.028156137093901634,
0.042057882994413376,
-0.038308680057525635,
-0.07802794873714447,
-0.00455193966627121,
0.03522765263915062,
0.013975986279547215,
-0.021381588652729988,
0.0026657383423298597,
0.023813001811504364,
-0.005419638939201832,
-0.02225392870604992,
-0.0027330198790878057,
0.02952960692346096,
-0.01679716818034649,
0.003616959322243929,
0.05672060325741768,
0.027487963438034058,
-0.016704365611076355,
0.018421204760670662
] |
713,406
|
xmlschema.validators.schemas
|
raw_decoder
|
Returns a generator for decoding a resource.
|
def raw_decoder(self, source: XMLResource, path: Optional[str] = None,
schema_path: Optional[str] = None, validation: str = 'lax',
namespaces: Optional[NamespacesType] = None, **kwargs: Any) \
-> Iterator[Union[Any, XMLSchemaValidationError]]:
"""Returns a generator for decoding a resource."""
if path:
selector = source.iterfind(path, namespaces)
else:
selector = source.iter_depth(mode=2)
for elem in selector:
xsd_element = self.get_element(elem.tag, schema_path, namespaces)
if xsd_element is None:
if XSI_TYPE in elem.attrib:
xsd_element = self.create_element(name=elem.tag)
else:
reason = _("{!r} is not an element of the schema").format(elem)
yield self.validation_error(validation, reason, elem,
source=source, namespaces=namespaces)
continue
yield from xsd_element.iter_decode(elem, validation, **kwargs)
if 'max_depth' not in kwargs:
yield from self._validate_references(source, validation=validation, **kwargs)
|
(self, source: xmlschema.resources.XMLResource, path: Optional[str] = None, schema_path: Optional[str] = None, validation: str = 'lax', namespaces: Optional[~T] = None, **kwargs: Any) -> Iterator[Union[Any, xmlschema.validators.exceptions.XMLSchemaValidationError]]
|
[
0.019192367792129517,
-0.02503194287419319,
-0.03265431523323059,
0.0004309187061153352,
-0.029579896479845047,
0.011824682354927063,
0.029307018965482712,
-0.00917777232825756,
0.11395355314016342,
0.022539664059877396,
0.05100985988974571,
0.05093709006905556,
0.010751364752650261,
0.01774611882865429,
-0.005657655652612448,
0.09110462665557861,
-0.01595422439277172,
0.04493379220366478,
-0.06036045402288437,
0.024031391367316246,
-0.027069425210356712,
0.04249608889222145,
-0.00336093851365149,
0.01505372952669859,
0.02748783864080906,
0.08113551139831543,
0.007840673439204693,
-0.009332402609288692,
-0.06050598993897438,
-0.039658162742853165,
0.015099209733307362,
0.034837331622838974,
0.008313661441206932,
-0.0007123234099708498,
-0.023467445746064186,
0.042969074100255966,
-0.061743032187223434,
0.027033042162656784,
0.005944176577031612,
-0.020829632878303528,
-0.01966535672545433,
0.05050048977136612,
0.015608579851686954,
-0.038894109427928925,
0.013780302368104458,
0.004031761549413204,
-0.013125397264957428,
-0.07800652086734772,
-0.07374963164329529,
-0.03194483369588852,
0.05304734408855438,
0.04100435972213745,
0.0012813862413167953,
-0.002247826661914587,
0.03159919008612633,
0.008104454725980759,
-0.025541312992572784,
0.09066802263259888,
0.09117739647626877,
0.005452997516840696,
-0.01663641817867756,
-0.00742680998519063,
-0.004304639063775539,
0.02137538604438305,
-0.029652664437890053,
-0.040749672800302505,
-0.021393578499555588,
-0.09605280309915543,
-0.06803739815950394,
0.05046410486102104,
-0.03367305546998978,
0.008099907077848911,
-0.03787536546587944,
0.014899099245667458,
0.026487287133932114,
-0.03438253700733185,
-0.03409146890044212,
-0.023158185184001923,
0.0386030375957489,
-0.03420061990618706,
0.05239243805408478,
0.013907644897699356,
0.013098109513521194,
-0.022539664059877396,
0.06283453851938248,
-0.00897311419248581,
0.05388416722416878,
0.00946884136646986,
0.005780450534075499,
0.050209417939186096,
0.006717328913509846,
0.0037634323816746473,
-0.030707789584994316,
0.005766806658357382,
-0.03660193830728531,
0.012370436452329159,
-0.020520370453596115,
-0.010414816439151764,
0.027596987783908844,
0.023703940212726593,
0.03476456552743912,
0.037220459431409836,
-0.039658162742853165,
0.06945636123418808,
0.02377670630812645,
0.08033507317304611,
0.02042941190302372,
-0.009678047150373459,
0.02412235178053379,
-0.018828531727194786,
0.04227778688073158,
-0.015208360739052296,
0.04627998545765877,
0.06680035591125488,
-0.01875576563179493,
-0.013780302368104458,
0.013689343817532063,
-0.01365295983850956,
-0.01875576563179493,
-0.0338003970682621,
-0.006221601739525795,
0.009109552949666977,
-0.04682574048638344,
0.05126454308629036,
0.04285992309451103,
-0.004975462332367897,
0.021248044446110725,
-0.006499027367681265,
0.05253797024488449,
0.03392774239182472,
0.019829081371426582,
0.007922536693513393,
0.0008157893898896873,
-0.002079552272334695,
0.012224902398884296,
-0.06898337602615356,
0.01649997942149639,
0.007449549622833729,
-0.03005288355052471,
0.006844671908766031,
0.03472818061709404,
0.028815841302275658,
0.027378687635064125,
-0.010287472978234291,
-0.05730422958731651,
-0.043005459010601044,
0.0412590429186821,
0.005794094409793615,
0.01893768273293972,
0.056576553732156754,
-0.0427507720887661,
-0.05213775113224983,
0.05512120947241783,
0.08702965825796127,
0.04213225096464157,
-0.021793799474835396,
-0.03936709463596344,
0.05213775113224983,
0.019465245306491852,
-0.006353492848575115,
0.0063034649938344955,
0.0007970290607772768,
-0.01893768273293972,
-0.04657105356454849,
0.005398422013968229,
0.024013200774788857,
-0.024449804797768593,
-0.024813640862703323,
-0.008913991041481495,
0.0030721432995051146,
-0.004684393294155598,
-0.033509328961372375,
-0.019738122820854187,
-0.046170834451913834,
-0.02526843547821045,
0.007599632255733013,
0.03736599534749985,
0.044679105281829834,
-0.004670749418437481,
0.03318187594413757,
-0.020756864920258522,
0.008595634251832962,
0.007404070347547531,
-0.026087068021297455,
-0.0017248117364943027,
0.032199520617723465,
-0.008459195494651794,
-0.004393324255943298,
0.042605239897966385,
-0.028852224349975586,
-0.038130052387714386,
0.014407920651137829,
0.018428312614560127,
0.009496129117906094,
-0.01931971125304699,
-0.07280366122722626,
-0.010542158968746662,
0.0382755845785141,
0.03343656286597252,
0.03940347954630852,
0.01847379095852375,
0.027797099202871323,
-0.009109552949666977,
0.027160385623574257,
-0.06661844253540039,
0.05177391692996025,
0.009450649842619896,
0.017764311283826828,
-0.024759065359830856,
-0.004250063560903072,
-0.04384228214621544,
0.008950375020503998,
0.011024242267012596,
-0.05806828290224075,
0.009032238274812698,
-0.0033723083324730396,
-0.07334940880537033,
-0.0412590429186821,
0.018064476549625397,
0.01623619720339775,
0.06869230419397354,
0.014944578520953655,
-0.05144646391272545,
-0.05253797024488449,
0.03410965949296951,
-0.02115708403289318,
-0.019974617287516594,
-0.039076026529073715,
-0.016854720190167427,
-0.004431981593370438,
0.02299445867538452,
0.01140626985579729,
0.07036595046520233,
-0.014962770976126194,
0.022048484534025192,
0.017073022201657295,
0.06989296525716782,
0.0060078478418290615,
0.04144096374511719,
0.029943732544779778,
-0.018701190128922462,
-0.0397673137485981,
-0.01930151879787445,
-0.07436815649271011,
-0.017236748710274696,
0.02323095314204693,
-0.01559948455542326,
0.012434108182787895,
0.00955070462077856,
-0.027942633256316185,
-0.04653467237949371,
0.016709186136722565,
0.011078817769885063,
0.02230316959321499,
0.03900326043367386,
-0.02839742787182331,
-0.041295427829027176,
-0.10194694995880127,
0.03940347954630852,
-0.007981660775840282,
0.01448978390544653,
0.010287472978234291,
-0.02786986529827118,
0.11169776320457458,
-0.014598933979868889,
-0.05945086106657982,
0.009296019561588764,
0.0006924261106178164,
0.008477387018501759,
0.0021125248167663813,
-0.004889051429927349,
0.03969454765319824,
-0.019065026193857193,
0.005043681710958481,
0.01910140924155712,
-0.01364386361092329,
0.011315311305224895,
0.039476245641708374,
0.04864492267370224,
-0.022230401635169983,
-0.002637813799083233,
0.03958539664745331,
0.028342852368950844,
0.0007754262769594789,
0.036874815821647644,
-0.041841182857751846,
-0.027724331244826317,
-0.046716589480638504,
-0.06170664727687836,
-0.025195669382810593,
0.0760418027639389,
-0.01281613577157259,
-0.05348394811153412,
0.011715531349182129,
0.09772644937038422,
0.02192114107310772,
-0.014526166953146458,
-0.05879595875740051,
-0.02079324796795845,
-0.010087363421916962,
0.0018942231545224786,
-0.027415070682764053,
0.07742437720298767,
0.04449718818068504,
-0.028324661776423454,
-0.010023691691458225,
-0.048171933740377426,
-0.037802599370479584,
-0.023121802136301994,
0.06851039081811905,
0.005089161451905966,
-0.0017202638555318117,
-0.004247789736837149,
-0.021320810541510582,
0.00015846779569983482,
-0.0526835061609745,
0.012188518419861794,
0.05399331822991371,
0.05010026693344116,
0.01593603380024433,
0.0017202638555318117,
0.0319812186062336,
-0.010032787919044495,
-0.03176291659474373,
-0.09248720854520798,
0.027378687635064125,
-0.007067521568387747,
0.029234252870082855,
0.01732770726084709,
-0.03549223765730858,
-0.0039749122224748135,
-0.01839192770421505,
0.00985086988657713,
0.007472289260476828,
0.034837331622838974,
-0.0008243167540058494,
0.021102510392665863,
-0.02654186263680458,
0.0324723944067955,
-0.06236155331134796,
0.07167576253414154,
0.006576342508196831,
0.013425561599433422,
-0.02039302885532379,
-0.030143843963742256,
-0.000007132827249733964,
0.007922536693513393,
-0.013298219069838524,
-0.00007731522782705724,
-0.0007634878857061267,
0.014598933979868889,
-0.009018594399094582,
0.018864916637539864,
-0.009127745404839516,
-0.015554005280137062,
-0.03600160777568817,
-0.04344206303358078,
0.029452554881572723,
-0.02546854503452778,
0.0341278500854969,
0.0445699542760849,
0.03580150008201599,
-0.03660193830728531,
-0.046898506581783295,
0.0024922790471464396,
-0.008322756737470627,
-0.043915048241615295,
-0.00015974690904840827,
-0.03525574505329132,
-0.0024740872904658318,
-0.027160385623574257,
-0.013007150031626225,
-0.07294919341802597,
-0.0013837151927873492,
-0.013962220400571823,
-0.010523967444896698,
0.015199264511466026,
0.028506578877568245,
0.0026150739286094904,
0.024195117875933647,
0.047080427408218384,
0.070911705493927,
-0.012215806171298027,
-0.04045860469341278,
0.04478825628757477,
-0.04737149551510811,
-0.00622614985331893,
0.003379130270332098,
-0.04944536089897156,
0.014034988358616829,
0.019210560247302055,
-0.04449718818068504,
0.021775607019662857,
-0.03083513304591179,
-0.015453949570655823,
-0.04748064652085304,
0.02950713038444519,
0.04642552137374878,
0.058577656745910645,
-0.025177476927638054,
-0.021630072966217995,
0.020156534388661385,
-0.03283623233437538,
0.026869315654039383,
0.02525024488568306,
-0.042787156999111176,
0.06680035591125488,
0.04995473474264145,
-0.010060075670480728,
0.04842662066221237,
0.03476456552743912,
0.002194388071075082,
0.032399628311395645,
-0.02379489876329899,
-0.006758260540664196,
-0.01931971125304699,
0.0020090590696781874,
0.007585988380014896,
-0.014871811494231224,
0.011097009293735027,
-0.019228752702474594,
0.02244870364665985,
0.04049498960375786,
-0.051373694092035294,
-0.01913779228925705,
-0.032417818903923035,
-0.018901299685239792,
0.010332953184843063,
-0.007058425806462765,
0.03098066709935665,
-0.01105153001844883,
-0.02710581012070179,
-0.020647713914513588,
-0.053010959178209305,
-0.030525870621204376,
-0.030143843963742256,
-0.06483563780784607,
0.02950713038444519,
0.05293819308280945,
-0.05050048977136612,
0.007417714223265648,
0.016026992350816727,
0.03254516422748566,
0.006048779468983412,
-0.015071921981871128,
-0.042605239897966385,
-0.0478808656334877,
0.11671870946884155,
0.006517218891531229,
-0.012297669425606728,
-0.03718407824635506,
-0.030871516093611717,
0.062470704317092896,
-0.028542963787913322,
-0.01013284269720316,
0.0015929210931062698,
0.06370774656534195,
-0.009887252934277058,
-0.02728772722184658,
-0.05381139740347862,
0.053192876279354095,
-0.014280577190220356,
0.05945086106657982,
-0.09605280309915543,
-0.002177333226427436,
0.04733511060476303,
-0.030962474644184113,
0.042423319071531296,
0.03691120073199272,
-0.01112429704517126,
-0.0076951393857598305,
0.015117401257157326,
-0.03531032055616379,
0.006890151184052229,
0.03541947156190872,
-0.03805728256702423,
0.029852773994207382,
-0.002455895533785224,
-0.050791557878255844,
-0.02728772722184658,
0.030962474644184113,
-0.05010026693344116,
0.03514659404754639,
-0.033873166888952255,
-0.004788996186107397,
-0.05479375645518303,
0.018337352201342583,
0.021211659535765648,
-0.020338453352451324,
0.03141726925969124,
0.0168183371424675,
0.03791175037622452,
-0.026068875566124916,
-0.022175826132297516,
-0.012352244928479195,
-0.09125015884637833,
0.03954901173710823,
0.0034109659027308226,
0.06516309082508087,
-0.05275627225637436,
0.01782798208296299,
-0.044460803270339966,
-0.00014553454820998013,
0.02375851571559906,
0.047990016639232635,
0.06701865792274475,
-0.010032787919044495,
-0.03596522659063339,
0.04202309995889664,
0.014180522412061691,
-0.028488388285040855,
0.015845073387026787,
0.011660955846309662,
0.03272708132863045,
-0.028852224349975586,
-0.006630918011069298,
0.020884208381175995,
0.03772983327507973,
0.007376782596111298,
0.025923341512680054,
0.005985108204185963,
0.03845750540494919,
0.02950713038444519,
-0.0014030439779162407,
0.020083768293261528,
-0.023831281810998917,
-0.06217963621020317,
-0.07105724513530731,
0.02988915704190731,
-0.006549054756760597,
0.05381139740347862,
-0.028888607397675514,
0.0066763972863554955,
-0.015481237322092056,
-0.01873757317662239,
0.03729322925209999,
0.015417566522955894,
0.004970914218574762,
-0.07113000750541687,
0.025723231956362724,
0.05148284509778023,
0.047808099538087845,
-0.03882133960723877,
0.07647840678691864,
-0.0074631934985518456,
-0.02021110989153385,
0.0010238583199679852,
0.014226001687347889,
0.055630579590797424,
-0.0400947667658329,
0.007699687033891678,
-0.033509328961372375,
-0.013152685016393661,
0.01254325918853283,
0.023139992728829384,
-0.04442442208528519,
0.029798198491334915,
0.06287092715501785,
-0.011260735802352428,
0.0030880612321197987,
0.03329102694988251,
0.007108453195542097,
-0.08877607434988022,
-0.016363540664315224,
0.028924992308020592,
0.0430782251060009,
0.007886153645813465,
-0.04897237569093704,
0.01847379095852375,
-0.0061943139880895615,
-0.0017043460393324494,
0.018646614626049995,
0.024013200774788857,
0.03218132629990578,
0.02281253971159458,
0.04133181273937225,
-0.03099885955452919,
-0.045370396226644516,
0.03418242558836937,
-0.010942379012703896,
0.0690925270318985,
-0.03374582156538963,
0.07851588726043701,
-0.04406058415770531,
-0.005512121133506298,
-0.04551592841744423,
-0.005985108204185963,
0.015171976760029793,
-0.03158099576830864,
0.05737699568271637,
0.020302070304751396,
-0.06243431940674782,
-0.06581799685955048,
-0.013461945578455925,
0.016872910782694817,
0.013216355815529823,
-0.015326607041060925,
0.010496679693460464,
-0.05992384999990463,
-0.021211659535765648,
-0.06221602112054825,
0.048208318650722504,
0.012643313966691494,
0.06265262514352798,
-0.020884208381175995,
-0.014289673417806625,
0.02565046399831772,
-0.020866015926003456,
0.02155730500817299,
0.03385497257113457,
-0.03765706345438957,
-0.03691120073199272,
0.010851419530808926,
-0.03172653168439865,
0.044096969068050385,
0.006881055422127247,
-0.013316411525011063,
0.000778837245889008,
-0.07866142690181732,
-0.03501925244927406,
-0.026450904086232185,
0.0021113879047334194,
-0.007044781930744648,
0.02672378160059452,
-0.03174472227692604,
0.06265262514352798,
-0.018018996343016624,
0.026832932606339455,
-0.00645354762673378,
0.005621272139251232,
0.04507932811975479,
-0.03729322925209999,
-0.023685747757554054,
-0.00457296846434474,
0.007144836708903313,
0.008618374355137348,
0.05279265716671944,
0.06650929152965546,
-0.03194483369588852,
0.002057949546724558,
-0.043332912027835846,
-0.020520370453596115,
-0.06254347413778305,
0.03845750540494919,
-0.07153023034334183,
0.023831281810998917,
-0.006894699297845364,
0.02599610947072506,
-0.0028856771532446146,
0.04478825628757477,
-0.001274564303457737,
0.015908746048808098,
0.013871261849999428,
-0.01837373711168766,
0.08521047979593277,
0.03856665641069412,
0.057849984616041183,
-0.020574945956468582,
0.019556205719709396,
0.04336929693818092,
0.01966535672545433,
-0.017209460958838463,
0.019374286755919456,
0.06469010561704636,
-0.0957617312669754,
-0.009678047150373459,
-0.023722130805253983,
-0.03820281848311424,
-0.041513729840517044,
-0.012425011955201626,
-0.05046410486102104,
-0.029252443462610245,
-0.014044083654880524,
-0.04860853776335716,
-0.05992384999990463,
-0.013307315297424793,
-0.021047934889793396,
-0.07567796856164932,
0.031235352158546448,
0.021648263558745384,
-0.0838278979063034,
0.015835978090763092,
-0.02172103151679039,
-0.017864365130662918,
-0.018300969153642654,
0.016308965161442757,
-0.007504125125706196,
-0.013671151362359524,
0.022375937551259995,
-0.04642552137374878,
0.008964018896222115,
-0.02801540121436119,
0.04024030268192291,
-0.06425350159406662,
-0.04718957841396332,
0.02113889344036579,
0.00228648423217237,
-0.04045860469341278,
0.051337312906980515,
0.0014633043901994824,
-0.002383128274232149,
-0.020302070304751396,
0.012343148700892925,
-0.03634725511074066,
-0.04449718818068504,
-0.028906799852848053,
-0.01310720480978489,
0.0016418115701526403,
-0.017400475218892097,
0.04395143315196037,
0.03627448529005051,
0.0015622223727405071,
-0.01587236113846302,
-0.07153023034334183,
0.0397673137485981,
-0.056139953434467316,
-0.03969454765319824,
0.016527267172932625,
0.03634725511074066,
0.031817492097616196,
0.00585321756079793,
-0.0002606546622700989,
-0.05810466781258583,
0.010141938924789429,
-0.05879595875740051,
0.053192876279354095,
-0.027360495179891586,
0.012097558937966824,
0.024213310331106186,
0.010560350492596626,
0.01299805473536253,
0.040749672800302505,
-0.0472259595990181,
-0.025577696040272713,
-0.006608177907764912,
-0.037056732922792435,
-0.014698989689350128,
0.02559588849544525,
0.05141007900238037,
-0.013680247589945793,
-0.033727630972862244,
0.06770994514226913,
-0.04289630800485611,
0.05806828290224075,
-0.042605239897966385,
-0.016427211463451385,
0.034837331622838974,
0.01825549080967903,
-0.04999111592769623,
0.017091212794184685,
-0.011751914396882057,
-0.04682574048638344,
0.01605428010225296,
0.016509074717760086,
-0.043332912027835846,
-0.05588526651263237,
-0.01649997942149639,
-0.03969454765319824,
-0.036474596709012985,
0.0028401976451277733,
-0.029616281390190125,
0.02395862527191639,
0.049481745809316635,
-0.022394128143787384,
0.03882133960723877,
0.00612154696136713,
-0.0034587194677442312,
0.03472818061709404
] |
713,407
|
xmlschema.validators.schemas
|
resolve_qname
|
QName resolution for a schema instance.
:param qname: a string in xs:QName format.
:param namespace_imported: if this argument is `True` raises an `XMLSchemaNamespaceError` if the namespace of the QName is not the *targetNamespace* and the namespace is not imported by the schema.
:returns: an expanded QName in the format "{*namespace-URI*}*local-name*".
:raises: `XMLSchemaValueError` for an invalid xs:QName is found, `XMLSchemaKeyError` if the namespace prefix is not declared in the schema instance.
|
def resolve_qname(self, qname: str, namespace_imported: bool = True) -> str:
"""
QName resolution for a schema instance.
:param qname: a string in xs:QName format.
:param namespace_imported: if this argument is `True` raises an \
`XMLSchemaNamespaceError` if the namespace of the QName is not the \
*targetNamespace* and the namespace is not imported by the schema.
:returns: an expanded QName in the format "{*namespace-URI*}*local-name*".
:raises: `XMLSchemaValueError` for an invalid xs:QName is found, \
`XMLSchemaKeyError` if the namespace prefix is not declared in the \
schema instance.
"""
qname = qname.strip()
if not qname or ' ' in qname or '\t' in qname or '\n' in qname:
msg = _("{!r} is not a valid value for xs:QName")
raise XMLSchemaValueError(msg.format(qname))
if qname[0] == '{':
try:
namespace, local_name = qname[1:].split('}')
except ValueError:
msg = _("{!r} is not a valid value for xs:QName")
raise XMLSchemaValueError(msg.format(qname))
elif ':' in qname:
try:
prefix, local_name = qname.split(':')
except ValueError:
msg = _("{!r} is not a valid value for xs:QName")
raise XMLSchemaValueError(msg.format(qname))
else:
try:
namespace = self.namespaces[prefix]
except KeyError:
msg = _("prefix {!r} not found in namespace map")
raise XMLSchemaKeyError(msg.format(prefix))
else:
namespace, local_name = self.namespaces.get('', ''), qname
if not namespace:
if namespace_imported and self.target_namespace \
and '' not in self._import_statements:
msg = _("the QName {!r} is mapped to no namespace, but this requires "
"that there is an xs:import statement in the schema without "
"the 'namespace' attribute.")
raise XMLSchemaNamespaceError(msg.format(qname))
return local_name
elif namespace_imported and self.meta_schema is not None and \
namespace != self.target_namespace and \
namespace not in {XSD_NAMESPACE, XSI_NAMESPACE} and \
namespace not in self._import_statements:
msg = _("the QName {0!r} is mapped to the namespace {1!r}, but this "
"namespace has not an xs:import statement in the schema.")
raise XMLSchemaNamespaceError(msg.format(qname, namespace))
return f'{{{namespace}}}{local_name}'
|
(self, qname: str, namespace_imported: bool = True) -> str
|
[
0.028234314173460007,
0.03852906823158264,
0.017815643921494484,
0.0015775756910443306,
0.011400486342608929,
0.020322605967521667,
0.04182720184326172,
0.019884126260876656,
0.07191076129674911,
-0.035821929574012756,
-0.010971538722515106,
0.0021316336933523417,
0.005757436156272888,
0.00288586737588048,
-0.00896978098899126,
0.04075959697365761,
0.02491711638867855,
0.09288155287504196,
-0.03624134510755539,
0.00898884516209364,
-0.008941183798015118,
0.011619726195931435,
0.0035817164462059736,
-0.01967441849410534,
0.01980786770582199,
0.01880699023604393,
0.009150892496109009,
-0.04880475625395775,
-0.010104110464453697,
-0.0008394275209866464,
0.023315710946917534,
-0.01144814770668745,
0.04461059719324112,
-0.004596893675625324,
0.052083827555179596,
0.0002819439978338778,
-0.019579095765948296,
0.004677916876971722,
0.02956881932914257,
-0.056888047605752945,
0.015051310881972313,
-0.026289749890565872,
0.02323945239186287,
-0.06142536178231239,
0.04289480671286583,
0.055820442736148834,
0.013163939118385315,
0.07484667003154755,
-0.032924145460128784,
0.04640264809131622,
0.05871822312474251,
0.030293265357613564,
-0.018168333917856216,
0.0159378033131361,
-0.01887371577322483,
0.026709165424108505,
-0.02278190851211548,
0.036775149405002594,
-0.03378204256296158,
-0.02119956724345684,
0.015909207984805107,
0.024345185607671738,
-0.006848870776593685,
0.026594780385494232,
-0.04625013470649719,
-0.011209842748939991,
0.04114088416099548,
-0.08670470118522644,
-0.099134661257267,
-0.011524404399096966,
-0.013335518538951874,
-0.007578082382678986,
-0.08769604563713074,
-0.03946322202682495,
0.10859058797359467,
0.008345423266291618,
0.00905557069927454,
-0.052693888545036316,
-0.005114014260470867,
-0.04895727336406708,
0.031055839732289314,
-0.011410018429160118,
-0.06786911934614182,
-0.01462236326187849,
0.011400486342608929,
0.01268733013421297,
-0.004177477676421404,
0.0034387337509542704,
0.009427324868738651,
-0.023639803752303123,
-0.017377162352204323,
-0.01439359039068222,
0.006162554025650024,
0.08556084334850311,
-0.03004542924463749,
-0.06336992979049683,
-0.01724371314048767,
-0.06657274067401886,
-0.011505340225994587,
0.015270550735294819,
0.006977555342018604,
0.023906705901026726,
-0.09196646511554718,
0.02369699813425541,
0.00983720924705267,
0.03780462220311165,
-0.003226642729714513,
-0.04766089469194412,
0.03498309850692749,
-0.04735586792230606,
-0.016709910705685616,
-0.07824012637138367,
0.007292116992175579,
0.06741157174110413,
-0.0056049213744699955,
-0.07419848442077637,
0.014889263547956944,
0.025126824155449867,
0.04781341180205345,
-0.017930028960108757,
0.041255272924900055,
0.03406800702214241,
0.014879731461405754,
-0.020818280056118965,
0.04659329354763031,
-0.004051176365464926,
0.04701270908117294,
0.011247971095144749,
0.07621930539608002,
-0.030255137011408806,
0.0076019130647182465,
-0.014698619954288006,
-0.029473498463630676,
0.013335518538951874,
0.041102755814790726,
0.045144401490688324,
0.0256796907633543,
0.07789696753025055,
-0.07412222772836685,
0.05219821259379387,
0.00976095162332058,
0.043276093900203705,
-0.027376418933272362,
-0.03509748354554176,
-0.05826067924499512,
0.01719605177640915,
-0.017615467309951782,
0.01634768769145012,
-0.02787209302186966,
-0.019378921017050743,
-0.032580990344285965,
-0.062454838305711746,
-0.0452587865293026,
-0.01628096215426922,
-0.01206773892045021,
-0.006825040560215712,
-0.005523897707462311,
-0.01836850866675377,
-0.012048674747347832,
-0.02850121632218361,
-0.024059221148490906,
-0.04007328301668167,
0.012630137614905834,
-0.07313087582588196,
0.013068617321550846,
0.025889398530125618,
0.021638046950101852,
-0.04937668889760971,
-0.033972688019275665,
-0.0013082915684208274,
-0.029530690982937813,
0.04785154014825821,
0.031837478280067444,
0.020513249561190605,
-0.04971984773874283,
-0.0121439965441823,
-0.0020077151712030172,
0.03155151382088661,
-0.01571856439113617,
0.003681804286316037,
0.019617224112153053,
-0.020513249561190605,
-0.01619517244398594,
-0.03355327248573303,
0.017663128674030304,
0.06588642299175262,
-0.02304880879819393,
0.058108165860176086,
0.06588642299175262,
0.033191047608852386,
-0.014698619954288006,
-0.006329366937279701,
0.016900554299354553,
0.022038398310542107,
-0.028215250000357628,
-0.03559315577149391,
-0.014917860738933086,
0.014936924912035465,
0.010895281098783016,
0.029225662350654602,
0.02445957250893116,
0.012477622367441654,
-0.030884260311722755,
0.04910978674888611,
0.045296914875507355,
-0.016776636242866516,
-0.0009609628468751907,
-0.02245781384408474,
-0.04011141136288643,
-0.02228623442351818,
-0.032447539269924164,
-0.06687776744365692,
-0.022057462483644485,
-0.01612844690680504,
-0.0255462396889925,
0.023735126480460167,
-0.03797620162367821,
0.005562026519328356,
0.04072146862745285,
0.000847768213134259,
0.05456219241023064,
0.04205597564578056,
0.0566592738032341,
-0.023468226194381714,
0.004351439885795116,
-0.005628752056509256,
0.047127094119787216,
-0.005247464869171381,
-0.010752297937870026,
-0.01051399391144514,
0.024268928915262222,
-0.01191522367298603,
0.0563923716545105,
-0.026366008445620537,
0.049948617815971375,
0.019769739359617233,
0.048080313950777054,
0.040950242429971695,
0.09821957349777222,
-0.0016776635311543941,
-0.04068334028124809,
0.025584369897842407,
-0.040454570204019547,
-0.026594780385494232,
-0.036317601799964905,
-0.018397105857729912,
0.006848870776593685,
0.008102352730929852,
-0.012410897761583328,
0.0011319463374093175,
-0.05090183764696121,
0.05074932053685188,
0.008007030934095383,
-0.020989859476685524,
0.053037043660879135,
-0.024859923869371414,
-0.07438912987709045,
-0.0192168727517128,
-0.008269165642559528,
-0.056277986615896225,
-0.009498816914856434,
-0.022095590829849243,
0.04411492496728897,
0.020532313734292984,
-0.027223903685808182,
-0.042818550020456314,
-0.016166575253009796,
-0.032009057700634,
0.005519131664186716,
-0.019245469942688942,
0.029225662350654602,
0.03839561715722084,
-0.022362492978572845,
0.012277446687221527,
-0.0013523779343813658,
-0.007630509324371815,
-0.0303504578769207,
0.010838087648153305,
0.003789041191339493,
-0.02293442375957966,
-0.03517374023795128,
-0.056583017110824585,
0.013602419756352901,
0.03157057613134384,
0.04518252983689308,
-0.009846741333603859,
-0.013659613206982613,
-0.03000730089843273,
-0.015508855693042278,
0.0019255002262070775,
0.008612323552370071,
-0.011095456779003143,
-0.007854515686631203,
-0.031227419152855873,
-0.023716062307357788,
-0.016071254387497902,
-0.027624255046248436,
-0.029225662350654602,
-0.007864047773182392,
0.08022282272577286,
0.005585857201367617,
0.048042181879282,
-0.0062531097792088985,
0.02091360092163086,
0.033839236944913864,
0.006124425213783979,
-0.003545970655977726,
-0.011133585125207901,
-0.0008251292747445405,
0.011877095326781273,
-0.03254285827279091,
0.010695105418562889,
-0.137034609913826,
-0.0768674910068512,
0.059557054191827774,
0.07568550109863281,
-0.023582611232995987,
-0.031246483325958252,
0.018206462264060974,
0.007763959933072329,
0.010018320754170418,
-0.0031408530194312334,
-0.023601675406098366,
-0.027376418933272362,
-0.053342074155807495,
-0.05120686814188957,
-0.07709626853466034,
0.014889263547956944,
0.017815643921494484,
-0.008345423266291618,
0.0027547997888177633,
0.005647816229611635,
-0.035821929574012756,
-0.021618982776999474,
-0.016757570207118988,
-0.059976473450660706,
0.032104380428791046,
-0.04159843176603317,
-0.00784974917769432,
0.02041792869567871,
0.02259126491844654,
0.0056430501863360405,
0.00491383858025074,
-0.013888385146856308,
-0.003419669345021248,
-0.038452811539173126,
-0.05421903729438782,
0.011886627413332462,
0.06150162220001221,
0.005423809867352247,
-0.03915819153189659,
-0.04133152961730957,
0.005967144388705492,
-0.0033672424033284187,
0.05437155067920685,
0.036184150725603104,
-0.0318756066262722,
0.022572200745344162,
0.009322470985352993,
0.04533504322171211,
-0.011819901876151562,
-0.03961573541164398,
0.017148390412330627,
-0.02556530386209488,
0.019083423539996147,
-0.03780462220311165,
-0.01654786244034767,
-0.014222011901438236,
-0.01952190324664116,
0.010838087648153305,
-0.0005799735081382096,
-0.02893969602882862,
-0.05902325361967087,
-0.030750811100006104,
-0.04724147915840149,
0.01880699023604393,
0.033801108598709106,
-0.00897931307554245,
-0.038815032690763474,
-0.10126987099647522,
0.05669740214943886,
0.006353197619318962,
-0.03393455967307091,
0.019274067133665085,
-0.053799618035554886,
-0.01639534905552864,
-0.0001554936752654612,
0.004136965610086918,
-0.0607009157538414,
0.08007030934095383,
0.03000730089843273,
-0.010466332547366619,
0.061997294425964355,
0.026442265138030052,
0.008331124670803547,
-0.028958760201931,
-0.08327312022447586,
-0.05608734115958214,
-0.004570679739117622,
0.011734113097190857,
-0.04365738108754158,
-0.005352318752557039,
-0.015813885256648064,
0.05093996599316597,
0.02678542397916317,
0.017215115949511528,
0.005843225866556168,
-0.000013562876119976863,
-0.02430705726146698,
0.05509599670767784,
-0.004132199566811323,
-0.05715494602918625,
-0.01371680572628975,
-0.06024337187409401,
-0.01121937483549118,
0.04724147915840149,
0.018997633829712868,
0.0012087994255125523,
0.05048242211341858,
0.034906841814517975,
-0.06241670995950699,
-0.03622228279709816,
0.05448593571782112,
0.02278190851211548,
-0.018397105857729912,
-0.021142372861504555,
-0.052388858050107956,
0.01114311721175909,
-0.0192168727517128,
0.007763959933072329,
-0.012134464457631111,
0.025450918823480606,
0.0346590019762516,
-0.06531449407339096,
0.030464844778180122,
-0.028215250000357628,
0.005099716130644083,
-0.00902220793068409,
-0.009160424582660198,
-0.06329367309808731,
0.001386932097375393,
-0.01945517770946026,
0.03301946818828583,
0.0017157922266051173,
-0.03852906823158264,
-0.0006255492917262018,
-0.009427324868738651,
0.03961573541164398,
-0.05120686814188957,
0.036146022379398346,
-0.038757842034101486,
-0.007806854788213968,
0.030598295852541924,
0.005705009214580059,
-0.00735884252935648,
-0.04407679662108421,
0.04304732009768486,
-0.016948213800787926,
-0.011286100372672081,
-0.027967413887381554,
0.0052331662736833096,
0.03826216608285904,
-0.014746281318366528,
-0.01377399917691946,
0.0019076273310929537,
0.08479826897382736,
-0.01276358775794506,
-0.00014134433877188712,
0.03157057613134384,
-0.015032246708869934,
0.057193074375391006,
-0.002184060635045171,
0.021943077445030212,
-0.015842482447624207,
0.043733637779951096,
-0.0011730538681149483,
-0.034296780824661255,
0.07034748047590256,
0.04655516520142555,
0.04209410399198532,
0.002151889493688941,
-0.011400486342608929,
0.04026392474770546,
0.021466467529535294,
0.036184150725603104,
0.003641292452812195,
0.04270416125655174,
-0.025908462703227997,
-0.021161437034606934,
0.03765210881829262,
0.0452587865293026,
0.07274959236383438,
0.07923147082328796,
-0.0033720084466040134,
0.04258977621793747,
-0.045601945370435715,
0.03980638086795807,
0.03111303225159645,
0.011267036199569702,
0.02741454727947712,
0.0034244353882968426,
-0.06508571654558182,
-0.043276093900203705,
0.09333910048007965,
-0.0001370995450997725,
-0.001509658875875175,
0.01917874440550804,
0.03898661211133003,
0.024192670360207558,
-0.07061438262462616,
-0.052388858050107956,
0.004918604623526335,
0.05574418604373932,
0.0066200983710587025,
-0.02417360618710518,
-0.017081664875149727,
-0.017930028960108757,
0.04518252983689308,
0.04861411452293396,
-0.00319566298276186,
-0.027490805834531784,
-0.012248850427567959,
-0.04114088416099548,
0.014326865784823895,
-0.07438912987709045,
0.01719605177640915,
-0.02493618056178093,
0.05383775010704994,
-0.03277163207530975,
0.030865196138620377,
0.021618982776999474,
0.010618847794830799,
-0.0009591755224391818,
-0.07267333567142487,
0.07019496709108353,
0.131086528301239,
-0.08411195129156113,
-0.03458274528384209,
-0.0241545420140028,
0.04114088416099548,
0.02598472125828266,
0.0255462396889925,
-0.03170402720570564,
0.005399979650974274,
-0.0077115329913794994,
0.07175824791193008,
-0.05113060772418976,
0.03797620162367821,
0.0342586524784565,
-0.024688344448804855,
-0.0019445645157247782,
-0.011133585125207901,
0.03158964216709137,
-0.010065981186926365,
-0.025126824155449867,
0.003555502975359559,
-0.006944192573428154,
0.015032246708869934,
-0.019083423539996147,
0.005724073853343725,
0.032123442739248276,
0.02337290346622467,
0.07221578806638718,
0.038776904344558716,
-0.019493306055665016,
-0.010714169591665268,
-0.013030488975346088,
-0.06558139622211456,
0.03406800702214241,
0.015842482447624207,
-0.02865373156964779,
-0.054142776876688004,
0.04098837077617645,
0.032428473234176636,
-0.0071586668491363525,
0.03559315577149391,
0.05948079749941826,
-0.08670470118522644,
0.032104380428791046,
-0.002092313254252076,
0.05315143242478371,
-0.00026987981982529163,
0.011343292891979218,
0.026861680671572685,
-0.027071388438344002,
0.0064342208206653595,
-0.026556652039289474,
0.05048242211341858,
0.008679049089550972,
-0.060472145676612854,
-0.07396971434354782,
0.0014667641371488571,
-0.007516123354434967,
0.0030383821576833725,
0.033343564718961716,
-0.0452587865293026,
-0.027605190873146057,
0.01945517770946026,
0.03669888898730278,
-0.057803135365247726,
-0.004465825855731964,
0.023582611232995987,
0.040187668055295944,
-0.00046618314809165895,
-0.0019397984724491835,
-0.0030240837950259447,
-0.014679555781185627,
-0.00650094635784626,
0.011591129936277866,
0.007058578543365002,
0.00885062851011753,
-0.07404597103595734,
0.002990721259266138,
-0.00012153528223279864,
-0.008607557974755764,
-0.035860057920217514,
-0.003121788613498211,
-0.05155002698302269,
-0.036184150725603104,
-0.03096051886677742,
0.007034748326987028,
0.024345185607671738,
0.028405893594026566,
-0.014650959521532059,
0.04068334028124809,
0.024573957547545433,
0.01911201886832714,
-0.006739250849932432,
-0.016071254387497902,
-0.023792318999767303,
-0.005952845793217421,
0.0024616853334009647,
-0.010170835070312023,
-0.09471173584461212,
-0.042208489030599594,
0.04056895524263382,
0.013383179903030396,
0.04258977621793747,
-0.022267170250415802,
-0.02587033435702324,
0.04053082689642906,
0.05574418604373932,
-0.026995131745934486,
-0.0013547609560191631,
-0.0045539988204836845,
-0.003998749423772097,
0.014059964567422867,
-0.10996322333812714,
-0.01145767979323864,
0.015280083753168583,
0.007020450197160244,
0.02383044734597206,
0.01887371577322483,
0.008030860684812069,
0.12102054804563522,
0.024516765028238297,
-0.08319686353206635,
-0.034449294209480286,
0.0508255809545517,
0.04933856055140495,
0.03810965269804001,
-0.07000432163476944,
0.010761830024421215,
0.009999255649745464,
0.002671393333002925,
-0.004287097603082657,
0.05631611496210098,
-0.03719456493854523,
-0.009336769580841064,
-0.057841263711452484,
-0.050063006579875946,
0.02430705726146698,
-0.004306161776185036,
-0.03370578587055206,
-0.027014195919036865,
0.005690711084753275,
0.025336531922221184,
-0.010113642551004887,
0.0017384311649948359,
-0.035078421235084534,
0.03812871873378754,
-0.03587912395596504,
0.019226405769586563,
-0.011400486342608929,
0.004384802654385567,
-0.0030622126068919897,
0.04255164787173271,
-0.02524121105670929,
-0.029473498463630676,
-0.05528663843870163,
0.010113642551004887,
-0.013669145293533802,
-0.004763706587255001,
0.05044429376721382,
-0.046822063624858856,
-0.009107997640967369,
0.015222890302538872,
-0.0018504343461245298,
-0.013678677380084991,
-0.006315068807452917,
0.03698485717177391,
0.030464844778180122,
0.02695700339972973,
-0.022019334137439728,
-0.006925128400325775,
0.05372336134314537,
-0.03309572488069534,
-0.0012975678546354175,
-0.011657855473458767,
0.08365440368652344,
0.00792600680142641,
-0.051626283675432205,
-0.029835721477866173,
-0.006591502111405134,
0.030312329530715942,
-0.06020524352788925,
-0.014889263547956944,
0.030140750110149384,
0.02789115719497204,
0.023601675406098366,
0.013354582712054253,
-0.00820720661431551,
-0.010266156867146492,
-0.009846741333603859,
-0.018940439447760582,
0.008588493801653385,
-0.05452406406402588,
0.02834870107471943,
0.015184761956334114,
0.021580854430794716,
-0.003131320932880044,
0.0814429372549057,
-0.020036641508340836,
0.07355029881000519,
0.04293293505907059,
-0.028539344668388367,
0.04891914501786232,
0.031227419152855873,
0.01763453148305416,
0.02337290346622467,
0.02274378016591072,
0.02789115719497204,
0.01682429574429989,
0.035860057920217514,
0.011047795414924622,
0.04910978674888611,
-0.001695536426268518,
-0.005562026519328356,
-0.018997633829712868,
0.04011141136288643,
-0.0013356966665014625,
0.018768861889839172,
-0.001109307399019599,
-0.02383044734597206,
-0.03067455254495144,
-0.050253648310899734,
0.005409511737525463,
0.018664006143808365,
-0.013812127523124218,
-0.05593482777476311,
-0.028672795742750168,
0.026404136791825294,
-0.03919631987810135,
0.0495673306286335,
-0.0016168958973139524,
-0.00036311644362285733,
0.0025498580653220415,
0.03265724703669548
] |
713,408
|
xmlschema.validators.schemas
|
simple_type_factory
|
Factory function for XSD simple types. Parses the xs:simpleType element and its
child component, that can be a restriction, a list or a union. Annotations are
linked to simple type instance, omitting the inner annotation if both are given.
|
def simple_type_factory(self, elem: ElementType,
schema: Optional[SchemaType] = None,
parent: Optional[XsdComponent] = None) -> XsdSimpleType:
"""
Factory function for XSD simple types. Parses the xs:simpleType element and its
child component, that can be a restriction, a list or a union. Annotations are
linked to simple type instance, omitting the inner annotation if both are given.
"""
if schema is None:
schema = self
annotation = None
try:
child = elem[0]
except IndexError:
return cast(XsdSimpleType, self.maps.types[XSD_ANY_SIMPLE_TYPE])
else:
if child.tag == XSD_ANNOTATION:
annotation = XsdAnnotation(child, schema, parent)
try:
child = elem[1]
except IndexError:
msg = _("(restriction | list | union) expected")
schema.parse_error(msg, elem)
return cast(XsdSimpleType, self.maps.types[XSD_ANY_SIMPLE_TYPE])
xsd_type: XsdSimpleType
if child.tag == XSD_RESTRICTION:
xsd_type = self.xsd_atomic_restriction_class(child, schema, parent)
elif child.tag == XSD_LIST:
xsd_type = self.xsd_list_class(child, schema, parent)
elif child.tag == XSD_UNION:
xsd_type = self.xsd_union_class(child, schema, parent)
else:
msg = _("(restriction | list | union) expected")
schema.parse_error(msg, elem)
return cast(XsdSimpleType, self.maps.types[XSD_ANY_SIMPLE_TYPE])
if annotation is not None:
xsd_type._annotation = annotation
try:
xsd_type.name = get_qname(schema.target_namespace, elem.attrib['name'])
except KeyError:
if parent is None:
msg = _("missing attribute 'name' in a global simpleType")
schema.parse_error(msg, elem)
xsd_type.name = 'nameless_%s' % str(id(xsd_type))
else:
if parent is not None:
msg = _("attribute 'name' not allowed for a local simpleType")
schema.parse_error(msg, elem)
xsd_type.name = None
if 'final' in elem.attrib:
try:
xsd_type._final = get_xsd_derivation_attribute(elem, 'final')
except ValueError as err:
xsd_type.parse_error(err, elem)
return xsd_type
|
(self, elem: Optional[~T], schema: Optional[~T] = None, parent: Optional[xmlschema.validators.xsdbase.XsdComponent] = None) -> xmlschema.validators.simple_types.XsdSimpleType
|
[
0.05460687726736069,
0.01032249815762043,
0.05621408671140671,
0.007911683060228825,
0.00951889343559742,
0.018071547150611877,
0.04385387524962425,
-0.0018834492657333612,
0.027265170589089394,
0.02070239745080471,
-0.048024967312812805,
0.03755896911025047,
0.0022242639679461718,
-0.017057472839951515,
-0.012101909145712852,
0.04607335478067398,
0.009308424778282642,
0.036927565932273865,
-0.058357033878564835,
0.03669796511530876,
-0.004792930092662573,
0.005830919835716486,
-0.001853553345426917,
0.051315922290086746,
0.012905513867735863,
0.021965203806757927,
-0.05629061907529831,
-0.025734495371580124,
-0.018616849556565285,
-0.09191711246967316,
-0.0026762918569147587,
-0.029159383848309517,
-0.0022123055532574654,
-0.032890405505895615,
0.06784722208976746,
0.048024967312812805,
-0.040907323360443115,
0.07209485024213791,
-0.0020998965483158827,
0.020319728180766106,
0.009815461933612823,
-0.007921249605715275,
-0.0867128074169159,
-0.0474509634077549,
0.007849499583244324,
0.04526975005865097,
0.06792376190423965,
0.020931998267769814,
-0.0711381807923317,
0.02137206681072712,
0.03711890056729317,
0.05705595761537552,
-0.026365898549556732,
0.008815738372504711,
-0.02615543082356453,
-0.022022604942321777,
-0.020109258592128754,
0.06620174646377563,
0.014082221314311028,
-0.00129150808788836,
0.02384028211236,
0.03386621177196503,
-0.020204925909638405,
0.017229674383997917,
-0.05345886945724487,
-0.006888043135404587,
0.024222951382398605,
-0.03090052679181099,
-0.014665791764855385,
0.0475274994969368,
0.004627903923392296,
-0.0059074535965919495,
-0.028087910264730453,
0.03734850138425827,
0.08081970363855362,
-0.010934768244624138,
0.0394149124622345,
-0.10018276423215866,
0.015182395465672016,
-0.038400840014219284,
0.04932604357600212,
-0.011652273125946522,
-0.03478461876511574,
0.02540922537446022,
0.03438281640410423,
0.02858537994325161,
-0.05342060327529907,
-0.02229047380387783,
0.04833110421895981,
0.016263434663414955,
-0.02232873998582363,
-0.003522947197780013,
0.008954456076025963,
0.02870018035173416,
0.015976432710886,
-0.0025303992442786694,
-0.05372673645615578,
-0.058318767696619034,
0.015612898394465446,
0.008466552942991257,
0.009011856280267239,
0.02858537994325161,
-0.07339593023061752,
0.007251578848809004,
0.030326522886753082,
0.07217138260602951,
0.04396867752075195,
0.014637092128396034,
0.005859619937837124,
0.004795321729034185,
-0.026518967002630234,
-0.07339593023061752,
-0.021161599084734917,
0.04232319816946983,
-0.05020618066191673,
-0.0028006592765450478,
0.02854711189866066,
0.050474051386117935,
-0.00534301670268178,
-0.045690685510635376,
0.04396867752075195,
0.010265097953379154,
-0.04664735868573189,
-0.021620802581310272,
0.05502781271934509,
-0.015727698802947998,
0.020319728180766106,
-0.045767221599817276,
0.04917297512292862,
0.043241605162620544,
-0.025849295780062675,
0.03595175966620445,
-0.024127284064888954,
0.03256513923406601,
-0.017717577517032623,
-0.0037286316510289907,
-0.01742100901901722,
0.015431130304932594,
-0.08962109684944153,
0.047297894954681396,
-0.026748567819595337,
0.006859343033283949,
0.0399506501853466,
-0.003948666620999575,
-0.06597214937210083,
0.022022604942321777,
0.004902947228401899,
0.036047425121068954,
-0.021639935672283173,
0.00828000158071518,
-0.039223577827215195,
-0.04607335478067398,
-0.012293243780732155,
-0.011929708532989025,
0.020357994362711906,
-0.05709422379732132,
0.014732759445905685,
-0.017631476745009422,
-0.010810401290655136,
0.009002289734780788,
-0.02848971262574196,
0.006079654674977064,
-0.016024267300963402,
-0.06700535118579865,
0.02135293371975422,
0.05345886945724487,
-0.009825028479099274,
0.001351300161331892,
-0.01192014105618,
0.0016921147471293807,
0.00453941198065877,
0.03231640160083771,
0.02144860103726387,
0.06800029426813126,
0.016866140067577362,
0.017028773203492165,
0.023515013977885246,
0.04366254061460495,
0.02215653844177723,
-0.029216783121228218,
0.025887561962008476,
0.05613755062222481,
-0.011929708532989025,
-0.02066412940621376,
0.018396815285086632,
0.0394914485514164,
0.00839958619326353,
0.009241458028554916,
0.024108150973916054,
0.01312554907053709,
-0.012494144961237907,
0.03248860314488411,
0.005658718757331371,
-0.004510711412876844,
-0.005830919835716486,
0.015612898394465446,
-0.014063088223338127,
-0.039261847734451294,
-0.00473792152479291,
0.03589435666799545,
-0.04228493198752403,
0.07006670534610748,
0.012637645937502384,
0.025677094236016273,
0.011872307397425175,
0.018597716465592384,
0.01984139159321785,
0.02001359313726425,
-0.03465068340301514,
-0.012943780981004238,
-0.0316658653318882,
-0.010819967836141586,
-0.023495880886912346,
0.005414767190814018,
0.019496988505125046,
-0.07714608311653137,
-0.07014323770999908,
-0.01590946689248085,
-0.03028825670480728,
-0.0278774406760931,
-0.007509880233556032,
0.018004579469561577,
0.0047666216269135475,
-0.01435009017586708,
0.028719313442707062,
0.0029226350598037243,
0.017210541293025017,
-0.07626594603061676,
-0.02466302178800106,
0.006859343033283949,
-0.000014929325516277459,
-0.08495253324508667,
0.009394525550305843,
-0.052004724740982056,
-0.016273001208901405,
-0.03826690837740898,
0.07041110843420029,
-0.03715716674923897,
0.04262933507561684,
-0.04618815705180168,
0.0005904464051127434,
-0.06666094809770584,
-0.04343293979763985,
-0.0038577825762331486,
-0.0398358516395092,
0.04588202014565468,
-0.0318189337849617,
0.0035325137432664633,
-0.025160491466522217,
-0.04442787915468216,
-0.04060118645429611,
0.01226454321295023,
0.0034344547893851995,
-0.006275772582739592,
0.044848814606666565,
-0.04848417267203331,
-0.06187758967280388,
-0.050359249114990234,
-0.004319377243518829,
-0.03428714722394943,
0.001619168440811336,
-0.045690685510635376,
0.05143072083592415,
0.03097706101834774,
-0.036965832114219666,
-0.06199238821864128,
0.014005688019096851,
-0.008500036783516407,
0.05311446636915207,
-0.020415395498275757,
0.06712015718221664,
0.009576293639838696,
0.012082776054739952,
0.004022808745503426,
-0.018042845651507378,
-0.007462047040462494,
-0.04278240352869034,
0.05246393010020256,
0.06428840011358261,
-0.039453182369470596,
-0.04714483022689819,
-0.026538100093603134,
0.01513456180691719,
0.06616348028182983,
-0.027379970997571945,
-0.0007043502409942448,
0.013594318181276321,
0.02774350717663765,
-0.02456735447049141,
-0.011298304423689842,
-0.022041738033294678,
0.021850403398275375,
0.01266634650528431,
-0.024930890649557114,
-0.028470579534769058,
0.043279871344566345,
-0.004168701358139515,
-0.02215653844177723,
0.0006565166404470801,
-0.027456505224108696,
0.017679311335086823,
0.0160051342099905,
-0.026767700910568237,
-0.00008318568143295124,
-0.013326450251042843,
-0.026710301637649536,
-0.04148132726550102,
-0.059160638600587845,
0.0278774406760931,
0.019248254597187042,
-0.051239389926195145,
0.03507161885499954,
-0.05001484602689743,
0.0630638599395752,
0.06562774628400803,
0.036908432841300964,
0.036181360483169556,
-0.06413533538579941,
0.055066078901290894,
0.09130483865737915,
-0.016024267300963402,
-0.03470808267593384,
-0.013498651795089245,
-0.03271820396184921,
-0.020224060863256454,
-0.037788569927215576,
-0.013230782933533192,
-0.02058759517967701,
0.017995012924075127,
0.027533039450645447,
-0.022424407303333282,
-0.028030509129166603,
0.031225796788930893,
-0.005706552416086197,
-0.03641096130013466,
-0.0005596535047516227,
0.0554870143532753,
-0.04982351139187813,
-0.05173685774207115,
-0.062221989035606384,
0.06895696371793747,
0.012034942395985126,
-0.02374461479485035,
0.032086800783872604,
-0.035339489579200745,
-0.012886380776762962,
0.04396867752075195,
-0.006275772582739592,
0.09329471737146378,
-0.029216783121228218,
-0.0007563693216070533,
-0.04224666580557823,
0.005328666884452105,
0.0476422980427742,
0.07779662311077118,
0.04186399653553963,
-0.03545428812503815,
0.0868658795952797,
0.004599203821271658,
-0.021869536489248276,
0.0475657656788826,
-0.04151959344744682,
0.028202710673213005,
-0.048063233494758606,
-0.00493643106892705,
-0.01266634650528431,
0.022615741938352585,
-0.016186902299523354,
0.017995012924075127,
-0.006275772582739592,
0.012541978619992733,
-0.015211095102131367,
-0.041710928082466125,
-0.07829409092664719,
-0.024892622604966164,
0.014216155745089054,
0.004407869186252356,
-0.002116638235747814,
-0.010379898361861706,
-0.0629873275756836,
0.024414286017417908,
0.03553082421422005,
0.011795774102210999,
0.02546662651002407,
-0.03824777156114578,
-0.05150725692510605,
-0.006242289207875729,
0.0316467322409153,
-0.03788423910737038,
0.047374431043863297,
-0.011700106784701347,
0.008165201172232628,
0.023247145116329193,
-0.030441325157880783,
0.01657913811504841,
0.017880212515592575,
-0.05177512392401695,
0.01756451092660427,
-0.029101982712745667,
0.0278774406760931,
-0.021199867129325867,
-0.041749194264411926,
-0.012207143008708954,
0.028929781168699265,
-0.028853246942162514,
-0.03543515503406525,
0.026652900502085686,
0.018875151872634888,
-0.03644922748208046,
0.0796717032790184,
0.032852139323949814,
0.024873489513993263,
0.0012083972105756402,
-0.04305027052760124,
0.024280352517962456,
-0.007835148833692074,
0.02223307266831398,
0.045728955417871475,
-0.0030757025815546513,
-0.004551370162516832,
-0.033789679408073425,
0.01901865191757679,
0.04909644275903702,
0.07515620440244675,
-0.04285893589258194,
0.020090125501155853,
-0.016952238976955414,
0.029178516939282417,
-0.043241605162620544,
0.03336874395608902,
0.028948914259672165,
0.04029505327343941,
-0.039338380098342896,
-0.11977541446685791,
0.005606101825833321,
-0.004764229990541935,
-0.0276669729501009,
-0.037616368383169174,
0.0064240568317472935,
-0.04040985181927681,
0.03664056211709976,
0.032909538596868515,
0.008696154691278934,
0.03419148176908493,
0.005137332249432802,
0.0018690992146730423,
-0.026691166684031487,
0.06444147229194641,
-0.018597716465592384,
-0.041749194264411926,
0.020434528589248657,
-0.026691166684031487,
0.0869424119591713,
0.019630923867225647,
-0.0317998006939888,
-0.030364790931344032,
-0.00713199470192194,
-0.011700106784701347,
0.030326522886753082,
-0.0008723658975213766,
0.010112030431628227,
0.011652273125946522,
-0.01427355594933033,
-0.03660229593515396,
-0.01391958724707365,
0.055142611265182495,
0.04335640370845795,
-0.015191962011158466,
0.008074317127466202,
0.012168875895440578,
0.059964243322610855,
-0.028968049213290215,
0.03553082421422005,
-0.029561186209321022,
0.013642151840031147,
-0.0043624271638691425,
-0.021965203806757927,
-0.016502603888511658,
0.0019551997538655996,
0.024950023740530014,
-0.018090680241584778,
0.04048638790845871,
0.005276049952954054,
0.019343921914696693,
-0.04113692417740822,
-0.05468340963125229,
0.004792930092662573,
-0.005974420811980963,
-0.015182395465672016,
0.030670925974845886,
-0.01892298460006714,
0.06562774628400803,
0.060882650315761566,
0.0029082850087434053,
-0.014311823062598705,
-0.029905587434768677,
0.0318954661488533,
0.021735602989792824,
-0.00419500982388854,
-0.0031928950920701027,
0.0476422980427742,
-0.08066663891077042,
-0.12176530063152313,
0.023687215521931648,
0.04197879508137703,
-0.027437372133135796,
-0.03310087323188782,
0.001013475120998919,
-0.029006315395236015,
-0.01912388578057289,
-0.030001254752278328,
0.02774350717663765,
0.008801388554275036,
0.022558340802788734,
0.012895947322249413,
-0.0001337099529337138,
0.07860022783279419,
0.025045691058039665,
0.006562774535268545,
-0.04350947216153145,
-0.0019611790776252747,
-0.03266080468893051,
-0.0630638599395752,
0.07779662311077118,
-0.008873138576745987,
0.0400271862745285,
-0.036870162934064865,
-0.00418305117636919,
0.023476747795939445,
-0.0007862653583288193,
0.06268119066953659,
-0.029063716530799866,
0.0008406761335209012,
0.004412652458995581,
0.03664056211709976,
0.0048742471262812614,
0.0011246883077546954,
-0.03405754640698433,
0.005299966782331467,
0.017861079424619675,
0.029771653935313225,
0.036123961210250854,
-0.004453311208635569,
0.03023085556924343,
0.005414767190814018,
0.029140248894691467,
-0.009834595024585724,
-0.012235843576490879,
-0.02227133885025978,
-0.01892298460006714,
-0.004032375290989876,
-0.02049192786216736,
0.025198757648468018,
0.044887080788612366,
-0.018827317282557487,
0.01312554907053709,
-0.03576042503118515,
0.011652273125946522,
0.01066690031439066,
0.04706829413771629,
-0.006256639026105404,
-0.012455877847969532,
0.0553339459002018,
0.08173811435699463,
0.030498724430799484,
-0.012742879800498486,
0.01890385150909424,
0.02686336822807789,
0.0015892725205048919,
-0.009600210003554821,
-0.006624958012253046,
-0.007299412507563829,
0.03011605516076088,
-0.0044485279358923435,
-0.0035038136411458254,
0.01584249921143055,
0.009542809799313545,
-0.020109258592128754,
-0.05062711611390114,
0.006916743237525225,
-0.03489941731095314,
-0.01900908537209034,
-0.04350947216153145,
-0.022443540394306183,
0.002171647036448121,
-0.04680042713880539,
0.04063945636153221,
-0.014742325991392136,
-0.09275898337364197,
-0.0000778791363700293,
-0.021104199811816216,
-0.005897887051105499,
-0.0199753250926733,
-0.013517784886062145,
-0.04063945636153221,
0.0034775051753968,
0.027150370180606842,
-0.041749194264411926,
0.04117519035935402,
0.01987965777516365,
-0.06865083426237106,
0.0037166732363402843,
0.006395356729626656,
-0.0031713698990643024,
0.04618815705180168,
0.014235289767384529,
0.02229047380387783,
-0.09237631410360336,
0.048675503581762314,
0.006581908091902733,
0.03266080468893051,
0.017287075519561768,
0.022539207711815834,
0.004355252254754305,
-0.0024431028869003057,
-0.005433900747448206,
-0.04270586743950844,
-0.045652419328689575,
0.013623018749058247,
-0.03478461876511574,
0.005893103778362274,
0.01428312249481678,
-0.0000704051271895878,
-0.0002379723300691694,
-0.04534628614783287,
-0.01737317629158497,
0.057553429156541824,
-0.025141358375549316,
0.04025678709149361,
0.016416503116488457,
0.05376500263810158,
0.04385387524962425,
-0.03344527631998062,
-0.0879373550415039,
-0.03489941731095314,
0.03585609048604965,
-0.04125172644853592,
0.025868428871035576,
0.02227133885025978,
0.07588327676057816,
0.0012903122697025537,
-0.03095792792737484,
0.00633795652538538,
0.024892622604966164,
0.004077817313373089,
-0.05219605937600136,
0.04622642323374748,
-0.08104930818080902,
-0.02770524099469185,
0.04132825881242752,
-0.055180881172418594,
0.09406005591154099,
-0.021850403398275375,
0.006868909578770399,
0.06868910044431686,
0.009126657620072365,
-0.02537095919251442,
-0.02225220575928688,
0.018435081467032433,
0.025964096188545227,
0.026614634320139885,
-0.08610054105520248,
0.07798795402050018,
0.004596812184900045,
-0.02458648756146431,
0.013441250659525394,
0.0399506501853466,
0.002537574153393507,
-0.01391958724707365,
-0.0558314174413681,
-0.04944084212183952,
0.02933158352971077,
0.03411494567990303,
-0.032966941595077515,
-0.01811937987804413,
0.009715011343359947,
0.030441325157880783,
0.024414286017417908,
-0.026002362370491028,
0.0002686157531570643,
0.06746456027030945,
0.00795951671898365,
-0.03281387314200401,
-0.0555252805352211,
-0.005424334201961756,
-0.07033457607030869,
0.033024340867996216,
-0.07335765659809113,
-0.0077873156405985355,
-0.07496487349271774,
-0.04151959344744682,
-0.06199238821864128,
0.03392361104488373,
0.02627023123204708,
-0.025944963097572327,
-0.03912791237235069,
-0.00836610235273838,
0.05058884993195534,
-0.012274110689759254,
0.05081845074892044,
0.052731797099113464,
-0.015737265348434448,
-0.009365824982523918,
-0.004309810232371092,
0.03520555421710014,
0.060691315680742264,
-0.027322571724653244,
0.013173382729291916,
0.10622893273830414,
-0.010016363114118576,
-0.0005261699552647769,
0.041749194264411926,
-0.006806726101785898,
-0.06516854465007782,
-0.03340701013803482,
-0.05632888525724411,
-0.0315319299697876,
0.06501547247171402,
0.014091788791120052,
-0.00358752254396677,
0.013823919929564,
-0.027647839859128,
0.046456024050712585,
0.022099139168858528,
-0.006318822968751192,
0.02317061275243759,
-0.02854711189866066,
-0.02290274389088154,
-0.0475274994969368,
-0.021869536489248276,
0.008782255463302135,
0.046532560139894485,
-0.048101503401994705,
-0.0016586312558501959,
0.010829534381628036,
0.012647212482988834,
0.03086226060986519,
0.015000627376139164,
-0.05973464250564575,
-0.01435009017586708,
0.005170815624296665,
0.029561186209321022,
-0.02229047380387783,
0.03386621177196503,
-0.015230229124426842,
0.016167767345905304,
0.04848417267203331,
-0.013221216388046741,
-0.011795774102210999,
0.033005207777023315,
-0.017000073567032814,
-0.052808329463005066,
-0.044045209884643555,
0.03488028421998024,
-0.031225796788930893,
-0.040907323360443115,
-0.029924720525741577,
0.038496509194374084,
-0.0636378675699234,
-0.04611162096261978,
-0.0019599830266088247,
0.01744014210999012,
-0.004285893402993679,
0.01737317629158497,
0.009102740325033665,
0.0474509634077549,
-0.03631529584527016,
0.006663225125521421
] |
713,411
|
xmlschema.validators.schemas
|
to_objects
|
Decodes XML data to Python data objects.
:param source: the XML data. Can be a string for an attribute or for a simple type components or a dictionary for an attribute group or an ElementTree's Element for other components.
:param with_bindings: if `True` is provided the decoding is done using :class:`DataBindingConverter` that used XML data binding classes. For default the objects are instances of :class:`DataElement` and uses the :class:`DataElementConverter`.
:param kwargs: other optional keyword arguments for the method :func:`iter_decode`, except the argument *converter*.
|
def to_objects(self, source: Union[XMLSourceType, XMLResource], with_bindings: bool = False,
**kwargs: Any) -> DecodeType['dataobjects.DataElement']:
"""
Decodes XML data to Python data objects.
:param source: the XML data. Can be a string for an attribute or for a simple \
type components or a dictionary for an attribute group or an ElementTree's \
Element for other components.
:param with_bindings: if `True` is provided the decoding is done using \
:class:`DataBindingConverter` that used XML data binding classes. For \
default the objects are instances of :class:`DataElement` and uses the \
:class:`DataElementConverter`.
:param kwargs: other optional keyword arguments for the method \
:func:`iter_decode`, except the argument *converter*.
"""
if with_bindings:
return self.decode(source, converter=dataobjects.DataBindingConverter, **kwargs)
return self.decode(source, converter=dataobjects.DataElementConverter, **kwargs)
|
(self, source: Union[~T, NoneType, xmlschema.resources.XMLResource], with_bindings: bool = False, **kwargs: Any) -> Optional[xmlschema.dataobjects.DataElement]
|
[
0.0015500161098316312,
-0.03752068802714348,
0.016463344916701317,
-0.07046567648649216,
0.0019526771502569318,
0.005980431102216244,
-0.03135265037417412,
0.06109466031193733,
0.04202316701412201,
0.002112826332449913,
-0.034811876714229584,
-0.005486256442964077,
0.007810708601027727,
0.0061680348590016365,
0.004564254079014063,
0.06676851958036423,
-0.04842913895845413,
0.010816939175128937,
-0.01262891385704279,
0.033732011914253235,
-0.01497166883200407,
0.018568163737654686,
-0.018275320529937744,
0.06757383793592453,
0.01808314025402069,
0.04883180186152458,
0.017662176862359047,
-0.006982508115470409,
-0.061277687549591064,
-0.026246177032589912,
-0.016051532700657845,
-0.009975011460483074,
-0.003990004770457745,
-0.039607200771570206,
0.0070923250168561935,
0.08163037151098251,
0.010414278134703636,
0.04180353507399559,
0.04883180186152458,
-0.012125588022172451,
-0.026209572330117226,
-0.04509803280234337,
0.002635599346831441,
0.026703746989369392,
0.03682518005371094,
0.03148077055811882,
-0.0487951934337616,
-0.022219566628336906,
-0.017753690481185913,
-0.021176308393478394,
0.049051433801651,
0.006071945186704397,
0.043890051543712616,
0.04575693607330322,
0.017653025686740875,
0.00783816259354353,
-0.05359052121639252,
0.13485483825206757,
0.02719792164862156,
0.035379260778427124,
-0.007078597787767649,
0.050552260130643845,
-0.0019572528544813395,
-0.04132766276597977,
-0.05212629958987236,
0.014651370234787464,
-0.0189982783049345,
-0.04938088357448578,
-0.025697093456983566,
0.05245574936270714,
-0.025276130065321922,
0.007339412346482277,
0.010331915691494942,
0.05399318411946297,
0.04857556149363518,
-0.0028460812754929066,
0.03741087019443512,
-0.001495107775554061,
-0.009608956053853035,
-0.01676534116268158,
0.030291089788079262,
0.018778646364808083,
-0.09085497260093689,
0.010450883768498898,
0.06047236546874046,
0.04374362900853157,
-0.029723703861236572,
0.050442446023225784,
0.01459646224975586,
-0.013077331706881523,
0.02943086065351963,
-0.0006663353415206075,
-0.043707024306058884,
0.0541762113571167,
0.012070679105818272,
-0.050112996250391006,
-0.03331104665994644,
0.016719583421945572,
0.006648482754826546,
0.06438916176557541,
-0.004408680833876133,
-0.0044887554831802845,
-0.06973356753587723,
0.053407493978738785,
0.009508291259407997,
0.032707057893276215,
0.018220411613583565,
0.00009058442810783163,
0.02320791780948639,
-0.0014459191588684916,
-0.0016312346560880542,
0.0019206473371014,
0.019529059529304504,
0.02555067278444767,
-0.019821904599666595,
-0.011411779560148716,
0.03891169652342796,
0.014083984307944775,
-0.10732746869325638,
-0.07994651794433594,
-0.020316079258918762,
0.049124643206596375,
-0.009856043383479118,
0.0342261865735054,
0.00634648697450757,
0.0003757788217626512,
0.07123439759016037,
-0.048172902315855026,
0.026484113186597824,
-0.014267012476921082,
0.005765373818576336,
-0.026136361062526703,
-0.04213298484683037,
-0.01744254305958748,
0.0006892138044349849,
-0.01303157489746809,
0.047184549272060394,
0.039607200771570206,
-0.0525655671954155,
0.0045276484452188015,
0.04561051353812218,
0.03724614530801773,
0.06131429225206375,
0.025642186403274536,
-0.0690014585852623,
-0.03598325327038765,
0.07112457603216171,
0.020279472693800926,
-0.05527437850832939,
-0.015667174011468887,
-0.0593009851872921,
-0.053517311811447144,
0.016353528946638107,
-0.024086451157927513,
-0.032139670103788376,
-0.029796915128827095,
-0.02536764368414879,
0.0025166315026581287,
0.004001443739980459,
0.008465033024549484,
0.00949913915246725,
0.0487951934337616,
-0.03964380919933319,
-0.006927599664777517,
0.018632223829627037,
0.02423287183046341,
-0.024891773238778114,
-0.03825279697775841,
0.028259482234716415,
-0.04630601778626442,
0.012043225578963757,
-0.005920947529375553,
0.018440045416355133,
0.027014894410967827,
-0.023756999522447586,
-0.026008240878582,
0.030583934858441353,
0.016573160886764526,
0.03406146168708801,
0.013965016230940819,
-0.0006228662678040564,
0.01269297394901514,
-0.05285841226577759,
0.014056529849767685,
0.0013704202137887478,
-0.011173843406140804,
-0.017140546813607216,
0.02743585780262947,
0.022622227668762207,
-0.02805815264582634,
0.007508712820708752,
0.009274930693209171,
-0.015658022835850716,
0.014303618110716343,
-0.05014960095286369,
0.0033219533506780863,
-0.03085847571492195,
-0.01665552332997322,
-0.04857556149363518,
0.07562705874443054,
-0.037063118070364,
-0.0027477038092911243,
0.07405301928520203,
0.01927282102406025,
-0.05853227153420448,
0.004923446103930473,
-0.011594806797802448,
-0.032542333006858826,
0.02657562680542469,
-0.055054742842912674,
0.07504137605428696,
-0.02697828784584999,
0.0008516509551554918,
-0.025276130065321922,
0.01052409503608942,
0.040741972625255585,
-0.05908135324716568,
-0.07826266437768936,
0.003855021670460701,
-0.038362614810466766,
0.004131851252168417,
-0.004607723094522953,
-0.04700152203440666,
-0.027399253100156784,
0.030840173363685608,
0.0005779672646895051,
-0.024617230519652367,
-0.029046501964330673,
0.024342689663171768,
-0.038069769740104675,
0.033841829746961594,
0.01596917025744915,
0.0024022390134632587,
-0.03713632747530937,
0.08082504570484161,
0.00889972411096096,
0.03155398368835449,
-0.022549016401171684,
0.0007446940871886909,
-0.012418432161211967,
0.024562321603298187,
-0.07379678636789322,
-0.009865195490419865,
-0.07203971594572067,
0.0028918383177369833,
-0.009608956053853035,
0.011960862204432487,
-0.009416776709258556,
-0.013955865055322647,
-0.04886840656399727,
0.024763653054833412,
-0.012866850011050701,
0.03574531897902489,
-0.004433847032487392,
-0.016783643513917923,
-0.0673908144235611,
-0.004319454543292522,
-0.03411636874079704,
0.0005493692005984485,
-0.057690344750881195,
0.031791917979717255,
-0.032542333006858826,
-0.03682518005371094,
0.12028583139181137,
0.004058639984577894,
0.0037978256586939096,
-0.008661787956953049,
-0.007124354597181082,
0.03455563634634018,
-0.029247833415865898,
0.027747005224227905,
-0.011384325101971626,
0.021469153463840485,
0.014413434080779552,
0.028039850294589996,
0.016289468854665756,
0.009155962616205215,
-0.04403647407889366,
0.05241914466023445,
-0.012537400238215923,
-0.010231250897049904,
-0.0017033019103109837,
-0.008501638658344746,
-0.047880057245492935,
0.027454160153865814,
-0.08917111158370972,
-0.044219501316547394,
-0.01032276451587677,
-0.027399253100156784,
-0.05395657569169998,
0.036239493638277054,
0.022219566628336906,
-0.061790164560079575,
0.00921087060123682,
0.0017055897042155266,
0.05102813243865967,
-0.05110134556889534,
-0.011549049988389015,
0.006662209518253803,
0.0023175887763500214,
-0.008927177637815475,
0.01927282102406025,
0.07906798273324966,
0.02668544463813305,
-0.05205309018492699,
-0.002248953329399228,
-0.03462884947657585,
-0.0533708892762661,
-0.023885119706392288,
0.02189011685550213,
0.04454895108938217,
0.01242758333683014,
0.014559856615960598,
0.000025988509150920436,
-0.013425084762275219,
-0.05655556917190552,
0.010441732592880726,
0.04048573598265648,
0.05088170990347862,
0.03131604567170143,
-0.014761187136173248,
-0.026191269978880882,
-0.024910075590014458,
-0.004184471443295479,
0.011576504446566105,
0.05377354845404625,
0.04711133986711502,
0.00011753812577808276,
0.0767984390258789,
-0.06607301533222198,
0.0020384714007377625,
-0.021688787266612053,
0.0407053679227829,
0.040851790457963943,
0.0052895015105605125,
-0.04008307307958603,
0.03479357436299324,
-0.0555306151509285,
0.029815219342708588,
0.010771182365715504,
-0.010103130713105202,
0.01647249609231949,
-0.00603076396510005,
-0.02253071404993534,
0.02622787468135357,
-0.001590053434483707,
0.007284503895789385,
-0.0778966024518013,
0.06072860211133957,
0.001882897806353867,
-0.0243975967168808,
0.021633878350257874,
0.034409213811159134,
0.024196267127990723,
0.022915072739124298,
-0.061570532619953156,
0.020096445456147194,
0.038069769740104675,
0.008117279969155788,
-0.010652214288711548,
-0.007609378080815077,
0.017991626635193825,
-0.006625603884458542,
-0.014834398403763771,
-0.01223540399223566,
-0.022603925317525864,
-0.020517408847808838,
-0.041144635528326035,
-0.004827356431633234,
0.01722290925681591,
0.01785435527563095,
0.008007463067770004,
-0.0754806399345398,
0.007833587005734444,
0.011750380508601665,
-0.02930274046957493,
0.01513639371842146,
0.013736232183873653,
0.0253310389816761,
0.021487455815076828,
0.03466545417904854,
0.02137763984501362,
-0.06288833171129227,
0.006067369598895311,
0.028076454997062683,
0.017662176862359047,
0.022786952555179596,
0.01956566609442234,
-0.025532368570566177,
-0.00517510948702693,
0.009517442435026169,
0.015841050073504448,
-0.005692162550985813,
0.030712055042386055,
-0.03752068802714348,
-0.05326107144355774,
-0.022274475544691086,
0.014907609671354294,
0.035104721784591675,
-0.03096829354763031,
-0.029247833415865898,
-0.01226285845041275,
-0.02578860893845558,
0.014935063198208809,
-0.017186304554343224,
-0.014477494172751904,
0.0474407896399498,
-0.06790328770875931,
0.021084794774651527,
0.013818594627082348,
0.07182008773088455,
0.025404250249266624,
0.02326282486319542,
-0.03986344113945961,
0.009444231167435646,
0.017241213470697403,
-0.001566031132824719,
0.0340980663895607,
0.04356060177087784,
-0.018110593780875206,
-0.03345746919512749,
0.028241179883480072,
0.010359370149672031,
-0.05183345451951027,
-0.026593931019306183,
0.00002468372076691594,
-0.01494421437382698,
0.0016483935760334134,
0.016490798443555832,
0.050442446023225784,
-0.0017971035558730364,
-0.03843582421541214,
-0.04235261678695679,
-0.1304621696472168,
0.00311604724265635,
0.025074800476431847,
-0.014257860369980335,
-0.03938756883144379,
0.06632925570011139,
-0.005431347992271185,
-0.024141358211636543,
-0.018110593780875206,
0.00989264901727438,
0.009046145714819431,
-0.07247898727655411,
-0.018888462334871292,
-0.020956676453351974,
0.046342622488737106,
-0.03742917254567146,
-0.0025074800942093134,
0.031737010926008224,
-0.006085672415792942,
0.08792652189731598,
-0.05465208366513252,
-0.03946078196167946,
-0.07365036010742188,
0.044622164219617844,
-0.019931720569729805,
-0.023226220160722733,
-0.019474150612950325,
-0.004960051737725735,
-0.08880505710840225,
0.05754392221570015,
-0.07042907178401947,
-0.07028265297412872,
0.061790164560079575,
-0.0226405318826437,
-0.04293830692768097,
0.028698749840259552,
0.0002693939604796469,
0.05476189777255058,
0.02965049259364605,
0.04806308448314667,
-0.0053581371903419495,
0.053700339049100876,
0.01659146510064602,
-0.041437480598688126,
-0.002473162254318595,
-0.019638875499367714,
-0.05670199170708656,
0.0067674508318305016,
-0.015776991844177246,
0.1008116751909256,
-0.03600155562162399,
-0.04572032764554024,
0.02674035169184208,
0.06365704536437988,
-0.019126398488879204,
-0.0252029187977314,
0.03285348042845726,
-0.002298142062500119,
0.06998980790376663,
-0.025916727259755135,
-0.01653655618429184,
-0.021652180701494217,
-0.009046145714819431,
0.05267538130283356,
-0.002231794409453869,
-0.0005805410910397768,
-0.02275034785270691,
0.03223118558526039,
-0.043597206473350525,
-0.03781352937221527,
-0.014889306388795376,
0.017204606905579567,
0.036697059869766235,
0.04652564972639084,
0.004660343751311302,
-0.018449196591973305,
0.009361868724226952,
-0.05062547326087952,
0.005994158331304789,
0.06032594293355942,
-0.016792794689536095,
0.0011908242013305426,
-0.0007075166213326156,
0.03548907861113548,
0.06438916176557541,
-0.10330085456371307,
-0.02840590476989746,
0.022713743150234222,
0.045244455337524414,
0.03576362133026123,
0.032981596887111664,
-0.03660554811358452,
0.030199576169252396,
-0.11084159463644028,
0.004598571918904781,
-0.008002887479960918,
-0.011201297864317894,
0.03016297146677971,
-0.05007638782262802,
-0.04180353507399559,
-0.026539022102952003,
0.024031542241573334,
-0.008346064947545528,
-0.00004811627513845451,
0.03016297146677971,
-0.009416776709258556,
0.05428602546453476,
0.03728275001049042,
0.043194547295570374,
-0.027124710381031036,
0.04784344881772995,
0.006049066781997681,
-0.013498296029865742,
0.026191269978880882,
0.057800158858299255,
0.026539022102952003,
0.03215797245502472,
-0.021011583507061005,
-0.04282848909497261,
0.04711133986711502,
0.11208618432283401,
0.015749536454677582,
-0.04806308448314667,
0.009737075306475163,
0.02309809997677803,
-0.030016548931598663,
-0.02024286799132824,
-0.021414244547486305,
0.0482461117208004,
-0.04403647407889366,
0.027417555451393127,
0.01894337125122547,
0.052382539957761765,
0.034592241048812866,
-0.04476858302950859,
-0.018174653872847557,
-0.0326155424118042,
0.020041536539793015,
0.03484848141670227,
-0.0032624693121761084,
-0.02390342205762863,
0.06343741714954376,
0.004495618864893913,
-0.05864208564162254,
-0.01951075717806816,
-0.0014150332426652312,
-0.030126364901661873,
-0.012757033109664917,
-0.010084828361868858,
-0.02725283056497574,
-0.03576362133026123,
0.006584422662854195,
-0.06753723323345184,
-0.047770239412784576,
-0.012546551413834095,
0.028369300067424774,
-0.043890051543712616,
0.060765210539102554,
-0.04740418493747711,
-0.04378023371100426,
0.026209572330117226,
0.025806911289691925,
-0.037392567843198776,
-0.03243251517415047,
0.007618529722094536,
0.024251176044344902,
-0.06343741714954376,
-0.012711276300251484,
0.05161382257938385,
-0.02498328685760498,
0.01066136546432972,
0.026593931019306183,
0.009883497841656208,
-0.05867869406938553,
0.008291156962513924,
0.05406639352440834,
0.013562355190515518,
0.017479149624705315,
-0.02018795907497406,
0.014587311074137688,
-0.0018325651763007045,
-0.022311082109808922,
-0.003690296784043312,
0.007531591225415468,
-0.0185956172645092,
-0.0525655671954155,
-0.015099788084626198,
0.021743694320321083,
-0.01249164342880249,
0.02018795907497406,
0.04967372864484787,
0.008876845240592957,
0.014056529849767685,
0.004340045154094696,
0.03107810951769352,
0.028936685994267464,
0.009252051822841167,
0.052272722125053406,
-0.016207106411457062,
0.0541762113571167,
-0.010441732592880726,
-0.022567320615053177,
0.042279407382011414,
0.014257860369980335,
0.056482359766960144,
0.03228609263896942,
-0.062083009630441666,
0.0657801702618599,
0.010469187051057816,
-0.0050790198147296906,
0.0264109019190073,
-0.01956566609442234,
-0.001690718694590032,
0.04612299054861069,
-0.014724581502377987,
-0.04220619797706604,
0.009256627410650253,
-0.01540178433060646,
-0.04846574366092682,
-0.025642186403274536,
-0.008414700627326965,
0.012921757996082306,
0.05747070908546448,
-0.001449350849725306,
0.009718772955238819,
0.003088593017309904,
0.023482458665966988,
-0.004179895855486393,
0.010194645263254642,
0.026539022102952003,
0.01614304631948471,
0.004992081318050623,
0.020261170342564583,
0.015191302634775639,
0.03865545988082886,
-0.007668862119317055,
0.052199508994817734,
-0.077091284096241,
0.009256627410650253,
0.029760310426354408,
-0.001086727250367403,
0.008844815194606781,
-0.01973039098083973,
0.005133928265422583,
-0.03484848141670227,
-0.0401562862098217,
0.0024823136627674103,
-0.07064870744943619,
0.010450883768498898,
-0.011512444354593754,
-0.026667142286896706,
-0.055640432983636856,
-0.02686847187578678,
-0.003438633633777499,
-0.07577348500490189,
0.023354338482022285,
-0.060435760766267776,
0.0029467465355992317,
0.013022423721849918,
0.05490832030773163,
-0.05457887053489685,
-0.018504103645682335,
-0.053627125918865204,
-0.019766995683312416,
0.0060536423698067665,
-0.012143890373408794,
-0.0020579181145876646,
0.05629933252930641,
-0.008465033024549484,
0.0028712477069348097,
-0.01474288385361433,
0.044109683483839035,
-0.010423429310321808,
-0.010633911937475204,
0.03131604567170143,
0.05355391651391983,
0.03850903734564781,
0.0019595406483858824,
0.04059555381536484,
-0.07811623811721802,
-0.08594982326030731,
0.03894830122590065,
-0.014715430326759815,
-0.046562258154153824,
0.04923446103930473,
-0.03170040249824524,
0.07701807469129562,
-0.014623916707932949,
0.024159660562872887,
0.06376686692237854,
-0.026008240878582,
0.0030977444257587194,
0.049929965287446976,
0.01820210926234722,
0.0016506813699379563,
-0.021707089617848396,
-0.004937173333019018,
0.06142411008477211,
0.05014960095286369,
-0.027984941378235817,
-0.017927566543221474,
-0.04546409100294113,
-0.03096829354763031,
0.021688787266612053,
0.011915105395019054,
0.019071489572525024,
-0.0008190491353161633,
-0.05618951469659805,
0.0377403199672699,
-0.0017181729199364781,
0.03135265037417412,
-0.016490798443555832,
-0.03257893770933151,
0.03850903734564781,
-0.008739574812352657,
-0.026758655905723572,
0.017360180616378784,
-0.029449163004755974,
0.023409247398376465,
0.02589842490851879,
-0.017991626635193825,
0.002793460851535201,
-0.0022523850202560425,
-0.03199324756860733,
-0.0014184649335220456,
0.01029531005769968,
-0.0746753141283989,
-0.03552568331360817,
0.054432447999715805,
0.01756151206791401,
-0.03975362330675125,
0.010505791753530502,
0.0264109019190073,
0.0032693329267203808,
0.0371912345290184
] |
713,412
|
xmlschema.validators.schemas
|
validate
|
Validates an XML data against the XSD schema/component instance.
:param source: the source of XML data. Can be an :class:`XMLResource` instance, a path to a file or a URI of a resource or an opened file-like object or an Element instance or an ElementTree instance or a string containing the XML data.
:param path: is an optional XPath expression that matches the elements of the XML data that have to be decoded. If not provided the XML root element is selected.
:param schema_path: an alternative XPath expression to select the XSD element to use for decoding. Useful if the root of the XML data doesn't match an XSD global element of the schema.
:param use_defaults: Use schema's default values for filling missing data.
:param namespaces: is an optional mapping from namespace prefix to URI.
:param max_depth: maximum level of validation, for default there is no limit. With lazy resources is set to `source.lazy_depth` for managing lazy validation.
:param extra_validator: an optional function for performing non-standard validations on XML data. The provided function is called for each traversed element, with the XML element as 1st argument and the corresponding XSD element as 2nd argument. It can be also a generator function and has to raise/yield :exc:`XMLSchemaValidationError` exceptions.
:param validation_hook: an optional function for stopping or changing validation at element level. The provided function must accept two arguments, the XML element and the matching XSD element. If the value returned by this function is evaluated to false then the validation process continues without changes, otherwise the validation process is stopped or changed. If the value returned is a validation mode the validation process continues changing the current validation mode to the returned value, otherwise the element and its content are not processed. The function can also stop validation suddenly raising a `XmlSchemaStopValidation` exception.
:param allow_empty: for default providing a path argument empty selections of XML data are allowed. Provide `False` to generate a validation error.
:param use_location_hints: for default schema locations hints provided within XML data are ignored in order to avoid the change of schema instance. Set this option to `True` to activate dynamic schema loading using schema location hints.
:raises: :exc:`XMLSchemaValidationError` if the XML data instance is invalid.
|
def validate(self, source: Union[XMLSourceType, XMLResource],
path: Optional[str] = None,
schema_path: Optional[str] = None,
use_defaults: bool = True,
namespaces: Optional[NamespacesType] = None,
max_depth: Optional[int] = None,
extra_validator: Optional[ExtraValidatorType] = None,
validation_hook: Optional[ValidationHookType] = None,
allow_empty: bool = True,
use_location_hints: bool = False) -> None:
"""
Validates an XML data against the XSD schema/component instance.
:param source: the source of XML data. Can be an :class:`XMLResource` instance, a \
path to a file or a URI of a resource or an opened file-like object or an Element \
instance or an ElementTree instance or a string containing the XML data.
:param path: is an optional XPath expression that matches the elements of the XML \
data that have to be decoded. If not provided the XML root element is selected.
:param schema_path: an alternative XPath expression to select the XSD element \
to use for decoding. Useful if the root of the XML data doesn't match an XSD \
global element of the schema.
:param use_defaults: Use schema's default values for filling missing data.
:param namespaces: is an optional mapping from namespace prefix to URI.
:param max_depth: maximum level of validation, for default there is no limit. \
With lazy resources is set to `source.lazy_depth` for managing lazy validation.
:param extra_validator: an optional function for performing non-standard \
validations on XML data. The provided function is called for each traversed \
element, with the XML element as 1st argument and the corresponding XSD \
element as 2nd argument. It can be also a generator function and has to \
raise/yield :exc:`XMLSchemaValidationError` exceptions.
:param validation_hook: an optional function for stopping or changing \
validation at element level. The provided function must accept two arguments, \
the XML element and the matching XSD element. If the value returned by this \
function is evaluated to false then the validation process continues without \
changes, otherwise the validation process is stopped or changed. If the value \
returned is a validation mode the validation process continues changing the \
current validation mode to the returned value, otherwise the element and its \
content are not processed. The function can also stop validation suddenly \
raising a `XmlSchemaStopValidation` exception.
:param allow_empty: for default providing a path argument empty selections \
of XML data are allowed. Provide `False` to generate a validation error.
:param use_location_hints: for default schema locations hints provided within \
XML data are ignored in order to avoid the change of schema instance. Set this \
option to `True` to activate dynamic schema loading using schema location hints.
:raises: :exc:`XMLSchemaValidationError` if the XML data instance is invalid.
"""
for error in self.iter_errors(source, path, schema_path, use_defaults,
namespaces, max_depth, extra_validator,
validation_hook, allow_empty, use_location_hints,
validation='strict'):
raise error
|
(self, source: Union[~T, NoneType, xmlschema.resources.XMLResource], path: Optional[str] = None, schema_path: Optional[str] = None, use_defaults: bool = True, namespaces: Optional[~T] = None, max_depth: Optional[int] = None, extra_validator: Optional[~T] = None, validation_hook: Optional[~T] = None, allow_empty: bool = True, use_location_hints: bool = False) -> NoneType
|
[
0.05446868762373924,
-0.011842668987810612,
0.027898594737052917,
-0.01336096040904522,
-0.0029061036184430122,
-0.00030306511325761676,
0.03653387352824211,
-0.014404784888029099,
0.056897953152656555,
-0.0004670523921959102,
0.020914457738399506,
-0.028202254325151443,
0.07291591912508011,
-0.01210836973041296,
-0.018266936764121056,
0.08525203168392181,
-0.031447600573301315,
0.013750022277235985,
0.022831300273537636,
0.08722580969333649,
0.0013261322164908051,
-0.021104244515299797,
-0.00802796334028244,
0.000908602203708142,
0.02129402942955494,
0.08692215383052826,
0.03862152621150017,
-0.03074539080262184,
-0.019775738939642906,
-0.029170164838433266,
0.013740533031523228,
0.0061063761822879314,
0.03334546461701393,
-0.01391134038567543,
-0.018580084666609764,
0.03334546461701393,
-0.017023837193846703,
-0.005261826794594526,
0.028980378061532974,
-0.013237599283456802,
-0.05678408220410347,
0.019680846482515335,
-0.002744785277172923,
-0.011795222759246826,
0.02051590569317341,
0.03719812631607056,
-0.03835582360625267,
0.03725506365299225,
-0.0896550789475441,
-0.014167551882565022,
0.04475162550806999,
-0.002450616331771016,
-0.007558241952210665,
0.015315759927034378,
0.006016227882355452,
0.008388557471334934,
-0.02038305625319481,
0.07819198071956635,
0.1085577979683876,
-0.0616426095366478,
0.029303014278411865,
0.02193930372595787,
0.04524507001042366,
-0.01605592668056488,
-0.041297513991594315,
-0.04277784749865532,
-0.0011333804577589035,
-0.07413055747747421,
-0.05325405299663544,
0.0810767337679863,
-0.048737138509750366,
0.01897863671183586,
-0.012582835741341114,
0.001655886066146195,
0.032035939395427704,
-0.0010456042364239693,
0.004436256363987923,
-0.021673602983355522,
0.001674864673987031,
-0.04482753947377205,
0.05496213212609291,
0.021654624491930008,
-0.022565599530935287,
-0.00031759560806676745,
0.05754322558641434,
0.029037313535809517,
0.02125607244670391,
0.02083854377269745,
0.029910331591963768,
0.04710497707128525,
0.021237093955278397,
0.027025578543543816,
-0.030138075351715088,
-0.011595946736633778,
0.010779865086078644,
-0.003916716203093529,
0.01361717190593481,
-0.05196350812911987,
0.012924451380968094,
0.02440652623772621,
-0.002314207376912236,
0.036875490099191666,
-0.00453589390963316,
0.08692215383052826,
0.03594553843140602,
0.03399073705077171,
-0.0011369389249011874,
-0.008398046717047691,
-0.0017353590810671449,
-0.005603442434221506,
-0.008383812382817268,
-0.07841972261667252,
0.04577647149562836,
0.07804015278816223,
-0.016862519085407257,
-0.027898594737052917,
-0.023913081735372543,
0.03702731803059578,
-0.06251563131809235,
-0.018399788066744804,
0.02321087196469307,
0.03748280555009842,
0.006756394635885954,
-0.010846290737390518,
0.09178068488836288,
-0.008108622394502163,
0.018077151849865913,
0.006267694756388664,
0.06213605776429176,
0.0009507110808044672,
0.025108736008405685,
-0.010770375840365887,
0.002751902211457491,
-0.0002007583825616166,
0.023685337975621223,
-0.016577839851379395,
0.04076611250638962,
0.0391339473426342,
-0.05203942209482193,
0.012393049895763397,
0.04099385440349579,
0.015334738418459892,
0.013607682660222054,
-0.05268469452857971,
-0.040196750313043594,
-0.02531750127673149,
0.012478453107178211,
-0.010827312245965004,
-0.03763463720679283,
0.07060052454471588,
-0.02531750127673149,
-0.08236728608608246,
0.0085261519998312,
-0.0393996499478817,
-0.00920938327908516,
-0.03822297230362892,
-0.04721884801983833,
-0.0004394740390125662,
0.07693938910961151,
-0.028335103765130043,
-0.034730903804302216,
-0.001718752784654498,
0.017393920570611954,
-0.028581826016306877,
-0.014006233774125576,
0.042208489030599594,
-0.05784688517451286,
0.013341981917619705,
-0.005627165548503399,
0.001443562563508749,
0.034180525690317154,
-0.00605418486520648,
0.0207056924700737,
-0.0022335483226925135,
-0.07018300145864487,
0.010314889252185822,
0.05340588465332985,
0.0059355683624744415,
-0.002238292945548892,
0.024197760969400406,
-0.024064911529421806,
0.020231226459145546,
0.03192206844687462,
-0.00585016468539834,
-0.013693085871636868,
0.06574199348688126,
-0.03757769986987114,
0.010485696606338024,
0.014015723019838333,
0.02226193994283676,
-0.025564223527908325,
-0.005878632888197899,
0.004524032585322857,
0.01436682790517807,
-0.04338516294956207,
-0.03514843434095383,
-0.010751397348940372,
-0.018712935969233513,
0.016084395349025726,
0.027841659262776375,
0.043309248983860016,
-0.023514531552791595,
0.05298835411667824,
-0.009868890978395939,
-0.03575574979186058,
0.027936553582549095,
-0.04611808806657791,
-0.026930686086416245,
-0.03581268712878227,
-0.02782268077135086,
-0.029986245557665825,
-0.022242961451411247,
-0.024691205471754074,
-0.02668396383523941,
0.031049048528075218,
-0.04721884801983833,
-0.018352340906858444,
-0.04725680500268936,
-0.011567478999495506,
0.025469331070780754,
0.08418922871351242,
0.011482074856758118,
-0.0017673855181783438,
-0.022413769736886024,
0.050141558051109314,
-0.010884247720241547,
0.006011483259499073,
-0.0502554289996624,
0.025848902761936188,
-0.026475198566913605,
0.014328870922327042,
-0.03909599035978317,
0.07056257128715515,
-0.0131332166492939,
0.001747220754623413,
0.02594379521906376,
0.07037278264760971,
0.02226193994283676,
0.01856110617518425,
0.029853396117687225,
0.006362587679177523,
-0.0696895569562912,
-0.00478736124932766,
-0.0770532637834549,
-0.028467955067753792,
-0.009859401732683182,
-0.04702906310558319,
0.005489570554345846,
0.02622847631573677,
-0.03693242743611336,
-0.05515191704034805,
0.055341705679893494,
-0.011861647479236126,
0.0035039307549595833,
-0.010324378497898579,
-0.013000366277992725,
-0.07394076883792877,
-0.056252676993608475,
0.018950168043375015,
-0.0505211316049099,
0.02581094577908516,
-0.020857522264122963,
0.002517041750252247,
0.10590079426765442,
-0.06035206466913223,
-0.0499897301197052,
0.01700485870242119,
-0.045093242079019547,
0.04323333501815796,
0.014357338659465313,
-0.04566260054707527,
0.0810767337679863,
-0.013693085871636868,
0.023704316467046738,
-0.0025977008044719696,
-0.00848345085978508,
-0.025146692991256714,
-0.021464837715029716,
0.10795048624277115,
-0.002706828061491251,
0.011074034497141838,
0.018266936764121056,
-0.007804964203387499,
-0.007083775941282511,
0.007069542072713375,
-0.06410983204841614,
-0.0639200508594513,
-0.06991729885339737,
-0.06771577149629593,
-0.008269940502941608,
0.034920692443847656,
0.004429139196872711,
-0.02057284116744995,
0.006082653068006039,
0.04520711302757263,
-0.028448976576328278,
-0.038469694554805756,
-0.055341705679893494,
-0.02285027876496315,
-0.011339735239744186,
-0.013323002494871616,
-0.002687849337235093,
0.05093866214156151,
-0.008189281448721886,
-0.0037364191375672817,
-0.011690840125083923,
-0.029986245557665825,
-0.07010708004236221,
0.03023296780884266,
0.056024935096502304,
-0.005399422254413366,
0.018077151849865913,
-0.0691581517457962,
-0.05640450865030289,
0.04775024950504303,
-0.05446868762373924,
0.034730903804302216,
-0.04053836688399315,
0.009887869469821453,
0.019310763105750084,
-0.02089547924697399,
0.03146658092737198,
-0.027708809822797775,
-0.05405115708708763,
-0.09937214106321335,
-0.001424583955667913,
0.043802693486213684,
0.03406665101647377,
0.007781241089105606,
-0.04372677952051163,
-0.021104244515299797,
-0.021313007920980453,
0.05799871310591698,
0.021218115463852882,
0.012725175358355045,
-0.019083019345998764,
0.023097001016139984,
-0.04292967543005943,
0.037824422121047974,
-0.0026475198101252317,
0.044220224022865295,
0.048509396612644196,
0.0010758514981716871,
-0.04091794043779373,
0.0015752267790958285,
-0.012146327644586563,
0.02668396383523941,
-0.014679974876344204,
0.02899935655295849,
0.0011072847992181778,
-0.013152195140719414,
0.03581268712878227,
-0.019367698580026627,
-0.03186513110995293,
-0.002685477025806904,
-0.05526578798890114,
-0.019984504207968712,
0.015078526921570301,
0.018124597147107124,
-0.0048775095492601395,
-0.0002858657098840922,
-0.023514531552791595,
-0.051432106643915176,
-0.018134087324142456,
0.037387914955616,
0.004251214675605297,
-0.022869257256388664,
-0.05549353361129761,
-0.028714677318930626,
-0.009052809327840805,
0.011482074856758118,
-0.04942036792635918,
-0.07591454684734344,
-0.017346473410725594,
0.035736773163080215,
0.041563212871551514,
0.024273676797747612,
0.016767624765634537,
-0.010087145492434502,
-0.020421013236045837,
0.04501732438802719,
0.05310222506523132,
-0.0282781682908535,
-0.04456183686852455,
-0.02617153897881508,
-0.04657357558608055,
-0.009992252103984356,
0.024045933037996292,
-0.05021747201681137,
0.008046941831707954,
0.025184649974107742,
-0.01488874014467001,
0.022110112011432648,
-0.010751397348940372,
0.021673602983355522,
0.02932199276983738,
0.028676720336079597,
0.03224470466375351,
0.027025578543543816,
-0.026892727240920067,
-0.026152560487389565,
0.017488813027739525,
-0.011396671645343304,
0.028448976576328278,
-0.010381313972175121,
-0.027803702279925346,
0.022015217691659927,
0.021502794697880745,
-0.036514896899461746,
0.10164957493543625,
0.06308498978614807,
0.021920325234532356,
0.005048317369073629,
0.015885118395090103,
-0.010447739623486996,
0.009982762858271599,
0.0018397415988147259,
0.06866470724344254,
0.010409781709313393,
-0.004777871537953615,
-0.033819928765296936,
0.014063169248402119,
0.06748802959918976,
0.009935316629707813,
0.019585952162742615,
-0.028031446039676666,
-0.05112844705581665,
-0.012858026660978794,
-0.039020076394081116,
0.040196750313043594,
0.023970017209649086,
0.004839552100747824,
-0.013123727403581142,
-0.06198422610759735,
-0.030213989317417145,
-0.012355091981589794,
-0.04213257133960724,
-0.0025977008044719696,
0.06691867113113403,
-0.018029704689979553,
0.024558356031775475,
-0.014015723019838333,
0.06262949854135513,
0.03074539080262184,
-0.02977748028934002,
-0.03302282840013504,
-0.01700485870242119,
0.04680131748318672,
-0.02622847631573677,
-0.002238292945548892,
-0.0029179654084146023,
-0.011576968245208263,
0.06152873858809471,
0.004920211620628834,
-0.10643219202756882,
-0.03962739184498787,
-0.03607838973402977,
-0.014651507139205933,
-0.03296589106321335,
-0.050103601068258286,
0.04702906310558319,
-0.03592655807733536,
0.006803841330111027,
-0.07618024945259094,
-0.05386137217283249,
0.05188759043812752,
-0.020421013236045837,
0.015154440887272358,
0.05811258405447006,
0.0008670864626765251,
0.019984504207968712,
-0.017868386581540108,
-0.020402034744620323,
0.00023411927395500243,
0.06798147410154343,
0.007453859318047762,
-0.0042630759999156,
-0.0065239062532782555,
-0.01534422766417265,
0.0032026448752731085,
0.07447216659784317,
-0.008013729006052017,
0.06456532329320908,
-0.00007120695227058604,
0.015998991206288338,
-0.04053836688399315,
0.009280553087592125,
0.001198619487695396,
-0.05355771258473396,
0.07375098019838333,
0.008388557471334934,
0.009309020824730396,
0.013332491740584373,
-0.02285027876496315,
0.003698461689054966,
-0.0805453360080719,
0.059403132647275925,
-0.040804069489240646,
0.06399596482515335,
-0.011728797107934952,
0.03444622457027435,
-0.012402539141476154,
-0.01345585286617279,
0.05515191704034805,
0.007876134477555752,
-0.0029701567254960537,
0.0009418148547410965,
-0.013493810780346394,
0.0037293019704520702,
-0.017773492261767387,
-0.09041422605514526,
0.020079396665096283,
0.08138038963079453,
0.06426165997982025,
0.02243274822831154,
-0.01350330002605915,
0.011595946736633778,
0.055759232491254807,
0.0218444112688303,
-0.036192260682582855,
-0.027993489056825638,
0.03140964359045029,
0.024937927722930908,
0.0007520284852944314,
-0.0007205951260402799,
0.03683753311634064,
-0.040614280849695206,
-0.04608013108372688,
0.036325111985206604,
0.015315759927034378,
0.04410635307431221,
-0.016454478725790977,
0.019623911008238792,
0.027386171743273735,
-0.008744406513869762,
0.031181899830698967,
0.0049439347349107265,
0.0032026448752731085,
-0.12085595726966858,
0.01261130440980196,
0.026987621560692787,
0.04365086555480957,
-0.03332648426294327,
0.042208489030599594,
0.0015028708148747683,
-0.010257952846586704,
0.034825798124074936,
0.023248828947544098,
0.015069037675857544,
-0.05754322558641434,
0.007748028263449669,
-0.02681681327521801,
0.04638378694653511,
0.07485174387693405,
0.03275712579488754,
-0.024975886568427086,
0.04319537803530693,
0.059403132647275925,
0.020591821521520615,
-0.02471018396317959,
-0.00046141809434629977,
-0.008606811985373497,
-0.06851287931203842,
-0.026209497824311256,
0.03146658092737198,
-0.0032595808152109385,
0.035414136946201324,
-0.08008984476327896,
0.02937893010675907,
0.0124974325299263,
-0.022318877279758453,
0.022186025977134705,
-0.030593562871217728,
-0.011434628628194332,
0.0004510391445364803,
0.009128724224865437,
-0.030726412311196327,
-0.017299026250839233,
-0.03152351453900337,
-0.000053303279855754226,
0.039513520896434784,
-0.0525328665971756,
0.05796075612306595,
-0.037653613835573196,
0.026608048006892204,
-0.017071284353733063,
-0.016350096091628075,
0.003596451599150896,
-0.030726412311196327,
-0.014926698058843613,
0.0005990132340230048,
0.0031219858210533857,
-0.023685337975621223,
-0.016084395349025726,
0.0039973752573132515,
0.04429613798856735,
0.0057695056311786175,
-0.023191893473267555,
0.057353440672159195,
-0.027575958520174026,
-0.060541849583387375,
0.026759877800941467,
0.009982762858271599,
0.026247454807162285,
-0.022926192730665207,
-0.014765379019081593,
0.008061176165938377,
0.012193773873150349,
0.03717914968729019,
0.0263992827385664,
-0.003328378312289715,
-0.061187125742435455,
0.001139904372394085,
-0.07568680495023727,
-0.0027020834386348724,
-0.011301778256893158,
0.00432001193985343,
0.0113587137311697,
-0.027253322303295135,
-0.023837167769670486,
0.0036296641919761896,
0.018096130341291428,
-0.002036644844338298,
0.013351471163332462,
-0.0029464333783835173,
0.044675711542367935,
-0.05537966266274452,
0.02266049198806286,
-0.032130829989910126,
0.0014696582220494747,
0.03822297230362892,
-0.015382184647023678,
0.012829557992517948,
-0.04748454689979553,
-0.005555995739996433,
-0.014717932790517807,
0.060276150703430176,
0.03490171208977699,
0.006300907116383314,
-0.02471018396317959,
-0.044713668525218964,
0.007966282777488232,
-0.00443388381972909,
0.0482436940073967,
-0.041525255888700485,
0.03917190432548523,
-0.00011483558046165854,
-0.0038740141317248344,
0.033535249531269073,
0.020876500755548477,
-0.008061176165938377,
0.009992252103984356,
-0.047598421573638916,
-0.05241899564862251,
0.10726725310087204,
0.06243971362709999,
0.06930997967720032,
-0.007942559197545052,
0.004967658314853907,
0.04323333501815796,
-0.027708809822797775,
-0.00662354426458478,
0.07109396904706955,
0.014955165795981884,
-0.0696895569562912,
-0.024748142808675766,
0.03469294682145119,
-0.0408799834549427,
0.0009886682964861393,
-0.00029209308559075,
-0.12951020896434784,
-0.027196386829018593,
0.011633903719484806,
0.03827990964055061,
-0.024368569254875183,
-0.04528302699327469,
-0.018456723541021347,
-0.02248968370258808,
-0.05834032967686653,
-0.006025717128068209,
-0.026570091024041176,
0.05363362655043602,
-0.005911845248192549,
-0.05526578798890114,
0.008825065568089485,
0.020914457738399506,
0.0025289033073931932,
-0.0046640001237392426,
0.05587310716509819,
0.0076531353406608105,
-0.03588860109448433,
-0.035546984523534775,
0.04592829942703247,
-0.03774850815534592,
-0.029758501797914505,
-0.03827990964055061,
0.011425139382481575,
0.016758136451244354,
-0.011045566760003567,
-0.005494315177202225,
-0.0013024089857935905,
-0.0014791474677622318,
0.000660100718960166,
0.03106802888214588,
-0.028164297342300415,
-0.020364077761769295,
-0.05382341146469116,
-0.0001226197782671079,
0.023495551198720932,
0.03228266164660454,
0.058074627071619034,
-0.032320618629455566,
0.005252337548881769,
-0.03674263879656792,
-0.0020473203621804714,
-0.020174290984869003,
-0.010390803217887878,
-0.00768634770065546,
0.016444988548755646,
0.00768634770065546,
-0.017716556787490845,
-0.019073529168963432,
-0.027746766805648804,
-0.03364912420511246,
-0.024064911529421806,
0.04163912683725357,
-0.011206884868443012,
-0.033364441245794296,
0.09982762485742569,
-0.015069037675857544,
0.0251277144998312,
0.02860080450773239,
-0.028676720336079597,
0.04273989051580429,
0.014907718636095524,
-0.020914457738399506,
-0.005399422254413366,
0.028202254325151443,
0.024330612272024155,
-0.011624414473772049,
0.016663242131471634,
0.030954156070947647,
-0.01204194501042366,
-0.021825432777404785,
-0.014518656767904758,
0.032814063131809235,
0.0325673408806324,
0.022907214239239693,
-0.05230512097477913,
-0.0037150681018829346,
-0.03974126651883125,
-0.044941410422325134,
0.042853761464357376,
0.03776748478412628,
-0.0016665614675730467,
-0.01324708852916956,
-0.040424495935440063,
-0.01700485870242119,
-0.0030365819111466408,
-0.05522783100605011,
-0.012089391238987446,
0.024653248488903046,
-0.0028705187141895294,
-0.008877256885170937,
0.07295387983322144,
0.03917190432548523,
0.01778298243880272,
0.04843347892165184
] |
713,413
|
xmlschema.validators.xsdbase
|
validation_error
|
Helper method for generating and updating validation errors. If validation
mode is 'lax' or 'skip' returns the error, otherwise raises the error.
:param validation: an error-compatible validation mode: can be 'lax' or 'strict'.
:param error: an error instance or the detailed reason of failed validation.
:param obj: the instance related to the error.
:param elem: the element related to the error, can be `obj` for elements.
:param source: the XML resource or data related to the validation process.
:param namespaces: is an optional mapping from namespace prefix to URI.
:param kwargs: other keyword arguments of the validation process.
|
def validation_error(self, validation: str,
error: Union[str, Exception],
obj: Any = None,
elem: Optional[ElementType] = None,
source: Optional[Any] = None,
namespaces: Optional[NamespacesType] = None,
**kwargs: Any) -> XMLSchemaValidationError:
"""
Helper method for generating and updating validation errors. If validation
mode is 'lax' or 'skip' returns the error, otherwise raises the error.
:param validation: an error-compatible validation mode: can be 'lax' or 'strict'.
:param error: an error instance or the detailed reason of failed validation.
:param obj: the instance related to the error.
:param elem: the element related to the error, can be `obj` for elements.
:param source: the XML resource or data related to the validation process.
:param namespaces: is an optional mapping from namespace prefix to URI.
:param kwargs: other keyword arguments of the validation process.
"""
check_validation_mode(validation)
if elem is None and is_etree_element(obj):
elem = cast(ElementType, obj)
if isinstance(error, XMLSchemaValidationError):
if error.namespaces is None and namespaces is not None:
error.namespaces = namespaces
if error.source is None and source is not None:
error.source = source
if error.obj is None and obj is not None:
error.obj = obj
elif is_etree_element(error.obj) and elem is not None:
if elem.tag == error.obj.tag and elem is not error.obj:
error.obj = elem
elif isinstance(error, Exception):
error = XMLSchemaValidationError(self, obj, str(error), source, namespaces)
else:
error = XMLSchemaValidationError(self, obj, error, source, namespaces)
if error.elem is None and elem is not None:
error.elem = elem
if validation == 'strict' and error.elem is not None:
raise error
if error.stack_trace is None and logger.level == logging.DEBUG:
error.stack_trace = format_xmlschema_stack()
logger.debug("Collect %r with traceback:\n%s", error, error.stack_trace)
if 'errors' in kwargs and error not in kwargs['errors']:
kwargs['errors'].append(error)
return error
|
(self, validation: str, error: Union[str, Exception], obj: Optional[Any] = None, elem: Optional[~T] = None, source: Optional[Any] = None, namespaces: Optional[~T] = None, **kwargs: Any) -> xmlschema.validators.exceptions.XMLSchemaValidationError
|
[
0.003030377207323909,
0.037282537668943405,
0.04279061034321785,
0.044963862746953964,
0.0016990251606330276,
-0.04436434432864189,
0.017620215192437172,
0.014772502705454826,
0.07220447063446045,
-0.05103398486971855,
0.025816751644015312,
-0.018613167107105255,
0.1226014718413353,
-0.027109462767839432,
-0.015737352892756462,
0.0950985699892044,
-0.027596572414040565,
0.010266749188303947,
0.015493798069655895,
0.08018555492162704,
0.03421000763773918,
-0.0003105902287643403,
-0.024767594411969185,
0.028926752507686615,
0.03475331887602806,
0.11750556528568268,
0.03016325831413269,
-0.01529708132147789,
0.011119188740849495,
-0.029582476243376732,
-0.00777500169351697,
-0.05219555273652077,
0.034416090697050095,
0.025048619136214256,
-0.006346462294459343,
0.0017201020382344723,
-0.014922382310032845,
0.01400437019765377,
-0.021563919261097908,
0.0074799261055886745,
-0.09577303379774094,
0.0310625359416008,
-0.03287982568144798,
-0.024730125442147255,
0.044963862746953964,
-0.016271298751235008,
0.0067679984495043755,
0.08490676432847977,
-0.13564099371433258,
0.006524444092065096,
0.02757783606648445,
0.019053436815738678,
0.015437593683600426,
-0.02604157105088234,
0.017048798501491547,
0.04376482963562012,
-0.014688195660710335,
0.04608796164393425,
0.051633503288030624,
-0.03098759613931179,
0.008945935405790806,
0.04331519082188606,
0.01231822557747364,
0.025161029770970345,
-0.03160585090517998,
-0.011437683366239071,
-0.027427956461906433,
-0.0403175987303257,
-0.07231688499450684,
0.04844856262207031,
-0.005241100210696459,
0.008974038064479828,
-0.029713619500398636,
-0.0259291622787714,
0.027109462767839432,
-0.008402622304856777,
-0.05103398486971855,
-0.024261752143502235,
0.011765544302761555,
-0.022406991571187973,
0.04530109465122223,
0.06842001527547836,
-0.02769024670124054,
0.006449504289776087,
0.09412435442209244,
-0.027746452018618584,
-0.06879471242427826,
-0.005840618629008532,
0.019240787252783775,
-0.011025514453649521,
-0.03462217375636101,
-0.03130609169602394,
-0.04953518882393837,
0.0068288869224488735,
-0.03156837821006775,
0.01278659887611866,
0.010425996035337448,
-0.05504326522350311,
0.053282178938388824,
-0.009817110374569893,
0.009241010993719101,
-0.0001943750394275412,
-0.02898295782506466,
0.03694530948996544,
0.07209206372499466,
-0.011756177060306072,
0.024767594411969185,
-0.03949325904250145,
0.025198498740792274,
-0.011353375390172005,
-0.0066228024661540985,
-0.026210185140371323,
-0.022500667721033096,
0.05725398659706116,
0.008472878485918045,
-0.0033722897060215473,
0.014350966550409794,
-0.008145016618072987,
-0.052345432341098785,
-0.04102952778339386,
0.053207240998744965,
-0.030406814068555832,
-0.03396645188331604,
-0.0171799436211586,
0.06538495421409607,
-0.0007043167715892196,
0.009381523355841637,
0.00020623074669856578,
0.09075206518173218,
-0.03113747574388981,
-0.015915334224700928,
-0.010707019828259945,
-0.04769916459918022,
-0.04279061034321785,
-0.0024940893054008484,
0.009447094984352589,
0.0214889794588089,
0.021545184776186943,
-0.08115977793931961,
0.01969042606651783,
0.01674903929233551,
0.06778302788734436,
0.02855205349624157,
-0.014781869947910309,
-0.036308322101831436,
-0.011990363709628582,
-0.020702112466096878,
0.020102594047784805,
0.0004841811896767467,
0.04354000836610794,
-0.03368542715907097,
-0.0346783809363842,
0.019521811977028847,
-0.019933979958295822,
-0.03171825781464577,
-0.036495670676231384,
-0.011531357653439045,
-0.007278525736182928,
0.065422423183918,
-0.005236416589468718,
-0.04039253666996956,
-0.009826477617025375,
0.0042832763865590096,
-0.04548844322562218,
0.043277718126773834,
0.031249886378645897,
0.04121687635779381,
0.00753144733607769,
-0.0259291622787714,
0.021151751279830933,
-0.01472566556185484,
0.020683377981185913,
0.011306538246572018,
0.031362295150756836,
-0.09457399696111679,
0.10813809186220169,
0.03293602913618088,
0.016112051904201508,
-0.013105092570185661,
0.03953073173761368,
0.015053527429699898,
0.04582567140460014,
0.026303861290216446,
0.005938977003097534,
-0.00980774313211441,
0.049947358667850494,
-0.04428940638899803,
0.025310909375548363,
0.016271298751235008,
0.009854580275714397,
0.03027566894888878,
-0.02643500454723835,
-0.00037938260356895626,
0.02259434200823307,
-0.03156837821006775,
0.013573466800153255,
-0.023830847814679146,
-0.031512174755334854,
0.08340796828269958,
0.025442052632570267,
0.015868498012423515,
0.046350251883268356,
0.004978811368346214,
0.012936478480696678,
0.018294671550393105,
0.0004352946998551488,
0.0008419015211984515,
-0.03651440516114235,
-0.054143987596035004,
0.0010175416246056557,
0.011699971742928028,
-0.029151571914553642,
-0.028289765119552612,
0.031324826180934906,
0.037750910967588425,
-0.016730304807424545,
-0.01940940134227276,
0.0030069584026932716,
0.05118386447429657,
0.016683466732501984,
0.0703684464097023,
-0.03915603086352348,
0.027353016659617424,
-0.022837895900011063,
0.01674903929233551,
0.013151930645108223,
0.019746629521250725,
-0.07478989660739899,
0.0060326517559587955,
0.01789187081158161,
0.00113229313865304,
-0.04174145311117172,
0.026547415181994438,
0.00036357500357553363,
0.02302524633705616,
0.035671330988407135,
0.0601016990840435,
-0.012524309568107128,
0.06201266124844551,
-0.029057897627353668,
-0.013601568527519703,
-0.04046747833490372,
-0.02729681320488453,
0.00931595079600811,
0.015493798069655895,
0.010266749188303947,
-0.01208403892815113,
0.05369434878230095,
-0.05436880514025688,
-0.045713260769844055,
-0.04436434432864189,
0.0744151920080185,
-0.012889641337096691,
-0.02388705313205719,
0.01937193237245083,
0.00214280909858644,
-0.007985769771039486,
-0.035165488719940186,
0.04440181702375412,
-0.03495940566062927,
0.0512213371694088,
0.005704790353775024,
0.026135245338082314,
0.05043446645140648,
-0.035596393048763275,
-0.06965652108192444,
-0.005119323264807463,
0.030725307762622833,
0.04927290230989456,
0.07688821107149124,
0.03349807858467102,
0.03286109119653702,
-0.020777052268385887,
0.05635470896959305,
-0.01418235246092081,
-0.01671157032251358,
-0.04357747733592987,
0.03878133371472359,
0.013283074833452702,
-0.028776872903108597,
-0.013517261482775211,
-0.011615664698183537,
-0.003978833556175232,
0.038968682289123535,
-0.012880273163318634,
-0.028064945712685585,
-0.00014124391600489616,
-0.06647157669067383,
-0.04417699575424194,
0.008196537382900715,
0.00916138757020235,
0.009301899001002312,
-0.027952535077929497,
0.007784368935972452,
-0.03956820070743561,
0.018266569823026657,
0.00978900771588087,
-0.0588277205824852,
0.0035104600246995687,
0.0009537257137708366,
0.0166740994900465,
0.03392898291349411,
-0.005063118413090706,
-0.020383618772029877,
-0.00020857261552009732,
-0.01863190159201622,
0.007760950364172459,
-0.050771698355674744,
0.014631991274654865,
0.004355874378234148,
-0.019090907648205757,
0.010875634849071503,
-0.0855812206864357,
-0.015222141519188881,
0.06575965136289597,
0.044776514172554016,
0.05054687708616257,
-0.05609242245554924,
-0.006889775395393372,
0.061525553464889526,
0.024767594411969185,
-0.02302524633705616,
-0.030612897127866745,
-0.052307963371276855,
-0.03503434360027313,
-0.06785796582698822,
0.006786733400076628,
0.010070032440125942,
0.029470065608620644,
-0.010913104750216007,
-0.008046657778322697,
-0.06943169981241226,
0.014388436451554298,
0.026547415181994438,
0.024093138054013252,
-0.01891292631626129,
0.04946025088429451,
-0.020102594047784805,
0.029863499104976654,
0.024655185639858246,
0.02765277586877346,
0.04522615298628807,
-0.0247863307595253,
-0.0028149252757430077,
-0.023193860426545143,
-0.05050940811634064,
-0.002487063640728593,
-0.016533587127923965,
0.008833525702357292,
0.0129645811393857,
-0.06965652108192444,
0.03647693619132042,
-0.0442519374191761,
-0.014781869947910309,
0.023156389594078064,
-0.01628066599369049,
-0.07149254530668259,
0.026135245338082314,
0.03885627165436745,
-0.0005690738908015192,
-0.010538405738770962,
-0.06827013194561005,
-0.006547862663865089,
-0.03617717698216438,
0.018060484901070595,
0.0029367024544626474,
-0.0366455502808094,
-0.006725844461470842,
-0.016018375754356384,
-0.026547415181994438,
0.020027654245495796,
-0.04548844322562218,
-0.006421401631087065,
-0.05017217993736267,
0.0037235699128359556,
0.0571790486574173,
0.002960121026262641,
-0.00028234143974259496,
-0.05005976930260658,
-0.03156837821006775,
0.07456507533788681,
0.02381211332976818,
0.007002185098826885,
-0.016571057960391045,
0.014154249802231789,
-0.029245246201753616,
-0.02083325758576393,
0.019484341144561768,
0.01628066599369049,
0.044926393777132034,
-0.01043536327779293,
-0.017273617908358574,
0.08700507879257202,
0.02933892235159874,
-0.008168435655534267,
-0.010585242882370949,
-0.0030069584026932716,
0.009348737075924873,
-0.014379069209098816,
-0.032711211591959,
-0.06025157868862152,
0.02667856030166149,
-0.03790079057216644,
0.0429779589176178,
0.046350251883268356,
0.01870684139430523,
-0.013807653449475765,
0.06396109610795975,
-0.047474347054958344,
0.04859844222664833,
0.009086447767913342,
-0.007526763714849949,
-0.0021521765738725662,
-0.05395663529634476,
0.0023231329396367073,
0.06216254085302353,
0.012421267107129097,
0.045638322830200195,
-0.026416270062327385,
-0.01294584572315216,
-0.0017259566811844707,
0.0025901058688759804,
0.08041037619113922,
0.024580245837569237,
-0.003428494557738304,
-0.01407930999994278,
-0.022800426930189133,
-0.003629895392805338,
-0.0009941229363903403,
0.026022836565971375,
0.0012880273861810565,
0.0356900654733181,
-0.025048619136214256,
-0.07246676087379456,
-0.013030152767896652,
-0.045675791800022125,
-0.03548398241400719,
0.014753768220543861,
0.03805067017674446,
0.006084172986447811,
0.03926844149827957,
-0.028758138418197632,
0.03231777623295784,
0.06201266124844551,
-0.011625031940639019,
-0.014791238121688366,
-0.03550271689891815,
0.02690337784588337,
-0.08400748670101166,
0.025235969573259354,
0.08603086322546005,
-0.007292576599866152,
0.034697115421295166,
-0.01698322594165802,
-0.025666872039437294,
-0.06628423184156418,
-0.039006151258945465,
-0.06298688054084778,
-0.026566149666905403,
-0.016617894172668457,
-0.015222141519188881,
0.023043980821967125,
-0.000139121591928415,
-0.028608258813619614,
-0.10221785306930542,
0.03726380318403244,
0.015016057528555393,
0.011203495785593987,
0.0173391904681921,
0.015325183980166912,
-0.04185386374592781,
-0.054069045931100845,
-0.0020620147697627544,
0.03349807858467102,
0.050659287720918655,
0.025835486128926277,
-0.0037142024375498295,
-0.029470065608620644,
0.019634220749139786,
-0.014369701966643333,
0.039867959916591644,
-0.0214889794588089,
0.05594254285097122,
0.0042832763865590096,
0.009601658210158348,
-0.02843964472413063,
0.00988268293440342,
0.006182531360536814,
-0.06418591737747192,
0.08235881477594376,
-0.028458379209041595,
0.027990005910396576,
-0.03196181356906891,
0.012037200853228569,
-0.007723480463027954,
-0.05598001182079315,
-0.009985724464058876,
-0.006880408152937889,
-0.013873226009309292,
-0.021563919261097908,
0.03063163161277771,
-0.050734225660562515,
-0.032224103808403015,
0.024973679333925247,
0.08175929635763168,
-0.038931213319301605,
-0.059876877814531326,
0.02521723322570324,
-0.0013196425279602408,
-0.044027116149663925,
-0.10289230942726135,
0.03574627265334129,
0.050659287720918655,
0.07808724790811539,
-0.03248639032244682,
-0.06096350774168968,
0.000959580356720835,
0.04267819970846176,
0.03070657141506672,
-0.0020690402016043663,
-0.019034702330827713,
0.02636006474494934,
0.012908375822007656,
0.00631367601454258,
0.022406991571187973,
0.03287982568144798,
-0.020739583298563957,
-0.0518583245575428,
0.009152020327746868,
0.00823400728404522,
0.007283209357410669,
0.033348198980093,
0.05672940984368324,
0.012917743064463139,
-0.009409625083208084,
0.04500133544206619,
-0.010285483673214912,
0.038069404661655426,
-0.027090728282928467,
-0.0018383662682026625,
0.007217636797577143,
0.03557765856385231,
-0.022425727918744087,
0.01337675005197525,
-0.05129627510905266,
-0.004960076417773962,
-0.0015362653648480773,
0.054181456565856934,
-0.051670972257852554,
-0.023250063881278038,
0.004601770546287298,
-0.022894101217389107,
0.06182531267404556,
0.09884556382894516,
-0.03409759700298309,
-0.023680968210101128,
0.016852080821990967,
0.07194218039512634,
0.051521092653274536,
-0.02384958229959011,
-0.024336691945791245,
0.0049834949895739555,
0.010285483673214912,
-0.018107322975993156,
-0.004669684451073408,
0.002243509516119957,
-0.001373505569063127,
-0.06190025433897972,
-0.020533498376607895,
0.021563919261097908,
-0.03447229415178299,
0.055867601186037064,
-0.01980283483862877,
-0.03863145411014557,
-0.0393059104681015,
0.011812381446361542,
-0.02529217302799225,
0.03836916387081146,
-0.007887410931289196,
0.010070032440125942,
0.04009277746081352,
-0.055005792528390884,
0.04455169662833214,
-0.022481931373476982,
0.01678651012480259,
-0.023362474516034126,
-0.008543134666979313,
-0.003629895392805338,
-0.04620037227869034,
-0.02589169144630432,
-0.0058125159703195095,
-0.04001783952116966,
-0.04605049267411232,
-0.021976089105010033,
0.048973143100738525,
0.057403866201639175,
4.391002335069061e-7,
-0.06804531812667847,
0.008393255062401295,
-0.02341867983341217,
-0.03608350083231926,
0.04365241900086403,
0.03919349983334541,
0.005868720822036266,
0.019203316420316696,
-0.027821391820907593,
0.002536243060603738,
0.01319876778870821,
0.0353715717792511,
-0.006997501477599144,
-0.003999910317361355,
-0.041404224932193756,
-0.017704522237181664,
-0.049947358667850494,
-0.02105807699263096,
-0.04114193469285965,
-0.003423810936510563,
0.042415913194417953,
-0.0074190376326441765,
-0.030537957325577736,
0.018697474151849747,
-0.003817244665697217,
-0.007526763714849949,
0.004369925707578659,
-0.02482379972934723,
0.0046813939698040485,
-0.031399764120578766,
0.010660182684659958,
-0.03709518909454346,
-0.07464001327753067,
-0.0005702448543161154,
0.016224460676312447,
0.02471139095723629,
-0.10109375417232513,
0.005095904693007469,
0.013151930645108223,
0.03597109019756317,
0.07033097743988037,
-0.0021006555762141943,
-0.00323646143078804,
-0.0032036753837019205,
0.0053956639021635056,
-0.026153981685638428,
0.020140064880251884,
-0.026247655972838402,
0.049984827637672424,
0.016261931508779526,
-0.0650477260351181,
0.02812114916741848,
0.004590061027556658,
0.011868586763739586,
0.07452760636806488,
-0.060813628137111664,
-0.029526270925998688,
0.05260772258043289,
0.07141760736703873,
0.01954054646193981,
-0.020683377981185913,
0.010285483673214912,
0.02306271530687809,
-0.011344008147716522,
-0.017910605296492577,
0.026584884151816368,
-0.012168345972895622,
0.0121402433142066,
0.015268978662788868,
0.03095012716948986,
-0.029095366597175598,
-0.022032292559742928,
-0.024898739531636238,
-0.08940315246582031,
-0.02058970369398594,
0.02381211332976818,
0.03016325831413269,
-0.033554282039403915,
-0.021133016794919968,
-0.01167187001556158,
-0.05789097398519516,
-0.02733428217470646,
-0.013123827986419201,
-0.015025424771010876,
0.036889102309942245,
-0.05275760218501091,
-0.0855812206864357,
-0.02722187340259552,
-0.02047729305922985,
0.01052903849631548,
0.059914350509643555,
0.005864037200808525,
-0.052495311945676804,
-0.08513158559799194,
-0.017086269333958626,
0.0028453695122152567,
-0.02259434200823307,
-0.0740404948592186,
-0.06399856507778168,
-0.03031313791871071,
0.026341330260038376,
0.0479239858686924,
0.01789187081158161,
0.006604067515581846,
0.01262735202908516,
-0.033010970801115036,
-0.01172807440161705,
0.03153090924024582,
-0.010791327804327011,
-0.01689891889691353,
-0.05301988869905472,
-0.0018090929370373487,
0.030575428158044815,
0.05391916632652283,
-0.014322863891720772,
0.00841198954731226,
-0.05099651589989662,
-0.0072129531763494015,
-0.029095366597175598,
0.03533410280942917,
-0.02105807699263096,
-0.010950574651360512,
0.0020058099180459976,
-0.004627530928701162,
0.017798196524381638,
0.004046747926622629,
-0.03199928253889084,
-0.0007622780394740403,
0.015053527429699898,
-0.006983450148254633,
-0.012655454687774181,
0.031437236815690994,
-0.008856944739818573,
0.008219956420361996,
0.04511374235153198,
-0.03548398241400719,
0.04964759945869446,
0.04076723754405975,
-0.010341688990592957,
-0.018369611352682114,
0.009269113652408123,
0.020421087741851807,
0.010772592388093472,
0.019109642133116722,
0.04537603259086609,
-0.009353420697152615,
-0.022725487127900124,
-0.011428315192461014,
0.054893385618925095,
-0.0022751246578991413,
0.02122669108211994,
-0.01472566556185484,
0.01690828613936901,
-0.015362653881311417,
-0.07565170526504517,
0.026247655972838402,
0.010978677310049534,
0.03782585263252258,
-0.04961013048887253,
-0.0046813939698040485,
0.018257202580571175,
0.011943526566028595,
-0.01628066599369049,
-0.025985365733504295,
0.014613255858421326,
-0.020533498376607895,
0.01513783447444439,
0.04076723754405975,
0.04387723654508591,
0.005124006886035204,
0.03941832110285759
] |
713,414
|
xmlschema.validators.schemas
|
version_check
|
Checks if the element is compatible with the version of the validator and XSD
types/facets availability. Invalid vc attributes are not detected in XSD 1.0.
:param elem: an Element of the schema.
:return: `True` if the schema element is compatible with the validator, `False` otherwise.
|
def version_check(self, elem: ElementType) -> bool:
"""
Checks if the element is compatible with the version of the validator and XSD
types/facets availability. Invalid vc attributes are not detected in XSD 1.0.
:param elem: an Element of the schema.
:return: `True` if the schema element is compatible with the validator, \
`False` otherwise.
"""
if VC_MIN_VERSION in elem.attrib:
vc_min_version = elem.attrib[VC_MIN_VERSION]
if not XSD_VERSION_PATTERN.match(vc_min_version):
if self.XSD_VERSION > '1.0':
msg = _("invalid attribute vc:minVersion value")
self.parse_error(msg, elem)
elif vc_min_version > self.XSD_VERSION:
return False
if VC_MAX_VERSION in elem.attrib:
vc_max_version = elem.attrib[VC_MAX_VERSION]
if not XSD_VERSION_PATTERN.match(vc_max_version):
if self.XSD_VERSION > '1.0':
msg = _("invalid attribute vc:maxVersion value")
self.parse_error(msg, elem)
elif vc_max_version <= self.XSD_VERSION:
return False
if VC_TYPE_AVAILABLE in elem.attrib:
for qname in elem.attrib[VC_TYPE_AVAILABLE].split():
try:
if self.resolve_qname(qname) not in self.maps.types:
return False
except XMLSchemaNamespaceError:
return False
except (KeyError, ValueError) as err:
self.parse_error(str(err), elem)
if VC_TYPE_UNAVAILABLE in elem.attrib:
for qname in elem.attrib[VC_TYPE_UNAVAILABLE].split():
try:
if self.resolve_qname(qname) not in self.maps.types:
break
except XMLSchemaNamespaceError:
break
except (KeyError, ValueError) as err:
self.parse_error(err, elem)
else:
return False
if VC_FACET_AVAILABLE in elem.attrib:
for qname in elem.attrib[VC_FACET_AVAILABLE].split():
try:
facet_name = self.resolve_qname(qname)
except XMLSchemaNamespaceError:
pass
except (KeyError, ValueError) as err:
self.parse_error(str(err), elem)
else:
if self.XSD_VERSION == '1.0':
if facet_name not in XSD_10_FACETS:
return False
elif facet_name not in XSD_11_FACETS:
return False
if VC_FACET_UNAVAILABLE in elem.attrib:
for qname in elem.attrib[VC_FACET_UNAVAILABLE].split():
try:
facet_name = self.resolve_qname(qname)
except XMLSchemaNamespaceError:
break
except (KeyError, ValueError) as err:
self.parse_error(err, elem)
else:
if self.XSD_VERSION == '1.0':
if facet_name not in XSD_10_FACETS:
break
elif facet_name not in XSD_11_FACETS:
break
else:
return False
return True
|
(self, elem: Optional[~T]) -> bool
|
[
0.09276048839092255,
-0.003390243276953697,
-0.04401351511478424,
0.0023953584022819996,
-0.015345562249422073,
-0.008340809494256973,
0.02244574762880802,
-0.05599985271692276,
0.018141737207770348,
0.005950222723186016,
0.0018728647846728563,
-0.0053633120842278,
0.03939457982778549,
-0.02742733061313629,
-0.02750367671251297,
0.0009787806775420904,
-0.007591663394123316,
0.032771557569503784,
0.00849350169301033,
0.01649075374007225,
-0.03153093159198761,
0.00587864825502038,
-0.05466379597783089,
0.019697289913892746,
0.07462829351425171,
0.08611837774515152,
0.02706468664109707,
0.006184032652527094,
0.020174453034996986,
-0.025117861106991768,
-0.06195484474301338,
0.015326475724577904,
0.016214000061154366,
-0.023781804367899895,
0.021701373159885406,
0.015164240263402462,
0.03855477273464203,
-0.024258967489004135,
0.005439658183604479,
0.04267745837569237,
-0.001987383933737874,
0.0019826123025268316,
-0.01401904970407486,
-0.04985399171710014,
-0.04111236706376076,
-0.026243966072797775,
-0.026243966072797775,
0.06920772045850754,
-0.0569160059094429,
0.0114805418998003,
0.06882598996162415,
0.0062269773334264755,
0.04867062717676163,
-0.0011857501231133938,
-0.012368065305054188,
0.03330598026514053,
0.004757315386086702,
0.12070315331220627,
-0.0014469968155026436,
0.00849350169301033,
-0.006551448255777359,
0.0011356479953974485,
-0.02206401713192463,
-0.008851373568177223,
-0.05653427541255951,
-0.017149237915873528,
0.02742733061313629,
-0.0836753100156784,
-0.05443475767970085,
0.04859428107738495,
-0.04863245412707329,
-0.012711622752249241,
-0.04458611086010933,
0.013188785873353481,
0.003247094340622425,
-0.04737274348735809,
0.014906572178006172,
0.01800813153386116,
0.0008362281951121986,
-0.06374897807836533,
0.05260245129466057,
-0.02399175614118576,
0.020651616156101227,
-0.06561946123838425,
0.07222339510917664,
0.04897601157426834,
-0.01403813622891903,
0.01992632821202278,
0.04943408817052841,
0.08489684015512466,
-0.012043594382703304,
0.0350237637758255,
-0.007367396727204323,
0.011423282325267792,
0.02401084266602993,
0.03893650323152542,
0.034298475831747055,
-0.06004619225859642,
-0.048250723630189896,
0.015822725370526314,
0.025728629902005196,
0.03752410039305687,
-0.049281395971775055,
-0.011509171687066555,
0.02647300437092781,
0.03513828292489052,
-0.04565495625138283,
-0.024812476709485054,
0.007710954174399376,
-0.041188713163137436,
-0.0017285230569541454,
-0.08138492703437805,
0.03151184692978859,
0.058671966195106506,
-0.008388525806367397,
-0.060351576656103134,
-0.02299925684928894,
0.002913080155849457,
-0.012263089418411255,
-0.042333900928497314,
0.06962762773036957,
0.023858150467276573,
-0.00127760402392596,
-0.00023351164418272674,
0.01996450126171112,
-0.023743631318211555,
0.03256160393357277,
0.05706869810819626,
-0.004358883947134018,
0.047296397387981415,
-0.009800928644835949,
-0.006823431234806776,
-0.00625560712069273,
-0.015832269564270973,
0.011375566013157368,
-0.06962762773036957,
-0.02742733061313629,
-0.007553490344434977,
-0.08283550292253494,
0.009877274744212627,
0.004654725082218647,
0.04901418462395668,
-0.009810471907258034,
-0.03406943753361702,
-0.04210486263036728,
0.025194207206368446,
-0.020174453034996986,
-0.02492699585855007,
-0.023686371743679047,
-0.014362607151269913,
-0.04157044366002083,
-0.05119004845619202,
-0.04195217415690422,
-0.03811578080058098,
-0.017101522535085678,
-0.0521443746984005,
-0.014687078073620796,
-0.08650010824203491,
0.012062680907547474,
-0.05596167966723442,
-0.03336323797702789,
0.01197679154574871,
-0.015364648774266243,
-0.015593687072396278,
0.03643616661429405,
0.026396658271551132,
-0.029679538682103157,
-0.0299658365547657,
-0.008460099808871746,
0.04935774207115173,
0.039699964225292206,
0.08566030114889145,
-0.012167656794190407,
0.009858188219368458,
-0.012196286581456661,
0.02443074621260166,
0.033821314573287964,
-0.013751838356256485,
0.05348043143749237,
0.0047477721236646175,
0.009653007611632347,
-0.0034665893763303757,
-0.01590861566364765,
0.015708206221461296,
0.010593018494546413,
0.031740885227918625,
0.010898402892053127,
-0.012043594382703304,
0.004855133593082428,
-0.011881358921527863,
0.003822075668722391,
-0.006317638326436281,
0.05367129668593407,
0.04660928249359131,
-0.01846620813012123,
-0.0045545208267867565,
-0.0012394309742376208,
-0.0013634932693094015,
0.021815892308950424,
-0.05050293356180191,
0.053823988884687424,
-0.040730636566877365,
0.04863245412707329,
0.028267137706279755,
-0.001844234997406602,
-0.0006668352871201932,
0.013856814242899418,
-0.07546810060739517,
-0.045731302350759506,
0.0077300406992435455,
-0.056801486760377884,
-0.012797512114048004,
0.02057527005672455,
-0.011337392963469028,
-0.013179242610931396,
-0.02798083983361721,
0.015145153738558292,
-0.028305310755968094,
-0.025862235575914383,
-0.017807723954319954,
0.058748312294483185,
0.015899071469902992,
0.024258967489004135,
-0.0028844503685832024,
0.028190791606903076,
-0.01810356415808201,
0.030156701803207397,
0.0500066839158535,
-0.022732045501470566,
0.026625696569681168,
0.021224210038781166,
-0.015650946646928787,
0.0459221675992012,
-0.0054587447084486485,
-0.025843149051070213,
0.006122001446783543,
0.04508236050605774,
0.06699369102716446,
0.05546543002128601,
-0.04993033781647682,
0.045807648450136185,
-0.03807760775089264,
-0.041226886212825775,
0.020804308354854584,
-0.01603267714381218,
-0.05012120306491852,
-0.006737541873008013,
0.00489092105999589,
-0.007648922968655825,
-0.018752506002783775,
-0.08963029831647873,
-0.025308726355433464,
-0.0279235802590847,
-0.023915410041809082,
-0.007510545663535595,
-0.07535358518362045,
-0.06138224899768829,
0.0015376578085124493,
0.07726223766803741,
-0.023819977417588234,
0.024774303659796715,
0.022693872451782227,
0.05962628871202469,
0.07050560414791107,
-0.020632529631257057,
-0.00589773477986455,
0.0879506841301918,
-0.005086557939648628,
-0.025175120681524277,
0.015316932462155819,
0.007591663394123316,
0.014190828427672386,
-0.05241158604621887,
0.04859428107738495,
0.013370107859373093,
-0.00971981044858694,
0.00099786720238626,
-0.04137957841157913,
0.010822056792676449,
0.03343958407640457,
-0.012826141901314259,
-0.015059264376759529,
-0.048212550580501556,
0.11818373203277588,
-0.04618937894701958,
-0.035329148173332214,
-0.02000267431139946,
-0.056686967611312866,
-0.03800126165151596,
0.005873876623809338,
-0.0328860767185688,
-0.01640486530959606,
0.05306052789092064,
-0.032256219536066055,
-0.003726643044501543,
0.02347641997039318,
0.06974214315414429,
-0.06058061495423317,
-0.0011511557968333364,
-0.018380319699645042,
0.021644113585352898,
0.04111236706376076,
0.057297736406326294,
0.006756628397852182,
0.029622279107570648,
0.024907909333705902,
0.004389899782836437,
-0.029259636998176575,
0.027789974585175514,
0.020155366510152817,
-0.03355410322546959,
-0.0010676522506400943,
-0.03309602662920952,
-0.026606610044836998,
0.04401351511478424,
0.03733323514461517,
0.012453954666852951,
-0.06195484474301338,
0.0013575287302955985,
0.025308726355433464,
-0.009314222261309624,
0.04813620448112488,
0.0025838378351181746,
-0.019830895587801933,
-0.0797816589474678,
-0.07126906514167786,
0.050770144909620285,
-0.03303876891732216,
0.006775714922696352,
-0.04458611086010933,
-0.02551867812871933,
-0.02752276323735714,
0.020308058708906174,
0.060351576656103134,
0.041761308908462524,
-0.007453286089003086,
0.017292387783527374,
-0.04092150181531906,
0.04599851369857788,
0.038344819098711014,
0.07459012418985367,
0.028820646926760674,
-0.03861203044652939,
-0.03546275570988655,
-0.016080394387245178,
-0.021625027060508728,
0.015755923464894295,
0.049777645617723465,
-0.013446453958749771,
0.03601626306772232,
-0.04809803143143654,
-0.018695246428251266,
0.0025599796790629625,
0.04660928249359131,
0.016777051612734795,
0.0019802264869213104,
0.020785221830010414,
0.00752008892595768,
0.030290307477116585,
0.05813754349946976,
0.06500869244337082,
0.0225220937281847,
-0.03139732778072357,
-0.033783141523599625,
-0.0033711567521095276,
-0.05466379597783089,
0.019697289913892746,
-0.019201040267944336,
0.003881721058860421,
-0.0310346819460392,
0.01175729651004076,
0.025270553305745125,
0.0003280495875515044,
-0.12429141998291016,
0.02053709700703621,
-0.016786595806479454,
0.0033926290925592184,
0.03893650323152542,
-0.002941709943115711,
-0.0279235802590847,
0.048708800226449966,
0.052335239946842194,
0.014448496513068676,
-0.007496230769902468,
0.0006280658417381346,
-0.05634341016411781,
-0.003967610653489828,
-0.007281507831066847,
0.02097608707845211,
0.08459145575761795,
0.04111236706376076,
0.030633864924311638,
-0.03168362379074097,
0.02046075090765953,
0.00014150865899864584,
0.038249388337135315,
0.002043450716882944,
-0.005253564566373825,
0.053213220089673996,
-0.016662532463669777,
-0.025728629902005196,
0.0370660237967968,
-0.029374156147241592,
0.0551600456237793,
-0.0033258262556046247,
0.0031230319291353226,
0.012482584454119205,
0.014152655377984047,
-0.0144962128251791,
0.07069647312164307,
-0.03634073585271835,
-0.005339453928172588,
0.006231748964637518,
-0.05851927399635315,
0.002941709943115711,
0.05504552647471428,
0.016166282817721367,
0.017845897004008293,
0.02156776748597622,
-0.021663200110197067,
-0.014925658702850342,
-0.010793427005410194,
0.029622279107570648,
0.058862827718257904,
-0.02446891926229,
-0.041723135858774185,
-0.02549959160387516,
0.011566431261599064,
-0.05050293356180191,
0.024335313588380814,
0.03004218265414238,
0.052335239946842194,
-0.05145725980401039,
-0.1213139221072197,
-0.036359820514917374,
-0.024678871035575867,
-0.06474147737026215,
-0.041723135858774185,
0.011556887999176979,
-0.01805584877729416,
-0.03309602662920952,
0.042868323624134064,
0.0034665893763303757,
0.0052821943536400795,
0.014200371690094471,
0.007648922968655825,
-0.010755253955721855,
0.05061745271086693,
-0.04321188107132912,
-0.06268013268709183,
-0.07752944529056549,
0.012912031263113022,
-0.013360564596951008,
-0.0441662073135376,
-0.02593858167529106,
0.01102246530354023,
-0.05355677753686905,
-0.02941232919692993,
-0.012119940482079983,
-0.010077683255076408,
0.0012931118253618479,
-0.014133568853139877,
-0.020250799134373665,
-0.018389862030744553,
-0.054740142077207565,
0.0894012600183487,
-0.009376253001391888,
-0.006727998610585928,
0.005201077088713646,
0.03868837654590607,
-0.009142443537712097,
-0.043288227170705795,
0.057183217257261276,
-0.008312179706990719,
0.023171035572886467,
0.016777051612734795,
-0.02746550366282463,
0.02456435188651085,
0.00411791680380702,
0.012873858213424683,
0.03147367388010025,
0.05191533640027046,
0.03155001997947693,
0.03256160393357277,
-0.019229669123888016,
-0.020651616156101227,
0.00435649836435914,
0.008822743780910969,
-0.06279465556144714,
-0.03168362379074097,
-0.05054110661149025,
-0.01502109132707119,
0.025117861106991768,
0.051228221505880356,
0.08718722313642502,
-0.04321188107132912,
0.01946825161576271,
0.020613443106412888,
0.021415075287222862,
0.0010145679116249084,
0.010125399567186832,
-0.02607218734920025,
-0.03683698549866676,
0.022693872451782227,
0.02895425260066986,
0.003917508292943239,
-0.006527590099722147,
-0.003941366448998451,
0.035806313157081604,
-0.05447293072938919,
-0.04794533923268318,
-0.04962495341897011,
0.07760579138994217,
0.05882465839385986,
0.03868837654590607,
0.013017007149755955,
-0.004497261252254248,
-0.03132098168134689,
0.02408718876540661,
0.01403813622891903,
-0.004511576145887375,
-0.018685704097151756,
0.05493100732564926,
-0.05038841441273689,
0.0028152617160230875,
0.04607485979795456,
-0.04962495341897011,
-0.06405436247587204,
0.03912736847996712,
-0.05489283427596092,
0.031721796840429306,
-0.03643616661429405,
0.022827478125691414,
-0.02250300720334053,
0.005334682296961546,
-0.019267842173576355,
0.0004097637429367751,
-0.031664539128541946,
-0.053823988884687424,
0.007319680880755186,
0.007028611376881599,
-0.006074285134673119,
0.006303323432803154,
0.022770218551158905,
-0.0030610007233917713,
0.013656405732035637,
-0.0071001858450472355,
-0.043746303766965866,
-0.009061325341463089,
-0.05119004845619202,
0.010163572616875172,
0.05596167966723442,
0.06264196336269379,
-0.00972458254545927,
-0.0155173409730196,
0.0032303936313837767,
-0.0017368734115734696,
-0.016748422756791115,
0.03811578080058098,
-0.027121946215629578,
-0.0097054960206151,
0.006866375915706158,
0.029736798256635666,
-0.041761308908462524,
-0.03050025925040245,
-0.034336648881435394,
0.021262383088469505,
-0.06978031992912292,
0.014582102186977863,
0.04565495625138283,
0.035195544362068176,
0.004664268344640732,
-0.012740252539515495,
-0.030156701803207397,
-0.025881322100758553,
0.00044286693446338177,
-0.016109023243188858,
-0.004933865740895271,
-0.004807417280972004,
-0.013570516370236874,
0.02044166438281536,
-0.035290975123643875,
0.016338061541318893,
-0.048327069729566574,
0.032198961824178696,
-0.010068139992654324,
-0.0026410971768200397,
0.023247381672263145,
-0.001735680503770709,
-0.02301834337413311,
-0.06222205609083176,
-0.0019444392528384924,
-0.007367396727204323,
-0.07405570149421692,
-0.0044280728325247765,
0.02595766820013523,
-0.01052621565759182,
0.0025695229414850473,
0.009710267186164856,
-0.006952265277504921,
-0.027293724939227104,
0.01453438587486744,
0.033286891877651215,
-0.02956501953303814,
-0.007391254883259535,
-0.002298732753843069,
-0.012282175943255424,
0.013952246867120266,
0.045807648450136185,
0.003068158170208335,
0.009614834561944008,
-0.01807493530213833,
-0.004573607351630926,
-0.03240891173481941,
0.012005421333014965,
-0.0015400436241179705,
-0.03351593017578125,
0.028591608628630638,
-0.0006393984658643603,
0.03853568434715271,
-0.025213293731212616,
0.03887924179434776,
0.01025900524109602,
0.009061325341463089,
-0.01372320856899023,
0.0004515155160333961,
-0.012024507857859135,
-0.01695837266743183,
0.008994522504508495,
-0.002622010884806514,
0.08146127313375473,
-0.003457046113908291,
0.039814483374357224,
-0.08817972242832184,
-0.03242800012230873,
0.016366692259907722,
-0.004385128151625395,
0.020269885659217834,
0.004657111130654812,
0.0200408473610878,
0.04034890606999397,
0.011165614239871502,
-0.0010241111740469933,
0.04000534862279892,
-0.0027413014322519302,
0.07397935539484024,
0.0430973619222641,
-0.053709469735622406,
0.07187983393669128,
0.01698700338602066,
-0.01695837266743183,
0.019869068637490273,
0.02893516607582569,
-0.06145859509706497,
0.03542458266019821,
0.009190159849822521,
-0.024220794439315796,
0.04401351511478424,
0.002140076132491231,
0.017368733882904053,
0.0071717603132128716,
-0.040234386920928955,
0.05096101015806198,
-0.041303232312202454,
0.009848644956946373,
0.014820682816207409,
0.06764262914657593,
-0.01604222133755684,
-0.05218254774808884,
0.0049958969466388226,
-0.046800147742033005,
0.030691124498844147,
0.04134140536189079,
-0.003199378028512001,
-0.050731971859931946,
-0.04164678975939751,
-0.04218120872974396,
0.006775714922696352,
-0.03597809001803398,
0.049205049872398376,
0.03403126448392868,
0.04989216476678848,
-0.03296242281794548,
-0.04015804082155228,
-0.013417824171483517,
-0.0739411786198616,
-0.03758135810494423,
0.00599793903529644,
0.015794096514582634,
-0.06008436530828476,
-0.05913003906607628,
-0.05294600874185562,
0.04000534862279892,
0.030786557123064995,
-0.041265059262514114,
-0.026778388768434525,
0.031779058277606964,
0.1003950983285904,
0.003540549660101533,
-0.03141641244292259,
0.04546409100294113,
-0.04756360873579979,
-0.04993033781647682,
0.07630790770053864,
-0.0018824080470949411,
0.044280726462602615,
-0.029087858274579048,
-0.02544233202934265,
0.04653293639421463,
0.037848569452762604,
0.008932491764426231,
0.01599450409412384,
-0.00649418868124485,
-0.08077415823936462,
0.012711622752249241,
-0.017626401036977768,
-0.01705380529165268,
0.010927032679319382,
0.08130858093500137,
0.0001620863185962662,
-0.009839101694524288,
0.03147367388010025,
-0.005019755102694035,
0.0021269540302455425,
-0.05557994917035103,
0.07367397099733353,
-0.010650278069078922,
0.010430783964693546,
0.02502242848277092,
-0.00540148513391614,
0.02794266678392887,
0.012282175943255424,
-0.06016071140766144,
0.05538908392190933,
-0.002107867505401373,
-0.02954593300819397,
-0.017273301258683205,
0.05160995200276375,
-0.04458611086010933,
-0.00426345132291317,
0.0441662073135376,
-0.009409654885530472,
-0.021682286635041237,
-0.012358522042632103,
-0.012721166014671326,
0.0711163729429245,
0.01249212771654129,
0.023132862523198128,
-0.005721184425055981,
-0.010755253955721855,
0.006804344709962606,
-0.06512320786714554,
-0.01894337125122547,
-0.020269885659217834,
0.054778315126895905,
-0.017368733882904053,
0.009109041653573513,
-0.01795087195932865,
-0.03132098168134689,
-0.05393850803375244,
0.009123357012867928,
0.019773636013269424,
-0.00008775325841270387,
0.023705458268523216,
0.040768809616565704,
0.030290307477116585,
-0.008087913505733013,
0.02698834054172039
] |
713,480
|
xmlschema.validators.schemas
|
XMLSchema11
|
XSD 1.1 schema class.
<schema
attributeFormDefault = (qualified | unqualified) : unqualified
blockDefault = (#all | List of (extension | restriction | substitution)) : ''
defaultAttributes = QName
xpathDefaultNamespace = (anyURI | (##defaultNamespace | ##targetNamespace| ##local)) : ##local
elementFormDefault = (qualified | unqualified) : unqualified
finalDefault = (#all | List of (extension | restriction | list | union)) : ''
id = ID
targetNamespace = anyURI
version = token
xml:lang = language
{any attributes with non-schema namespace . . .}>
Content: ((include | import | redefine | override | annotation)*,
(defaultOpenContent, annotation*)?, ((simpleType | complexType |
group | attributeGroup | element | attribute | notation), annotation*)*)
</schema>
<schema
attributeFormDefault = (qualified | unqualified) : unqualified
blockDefault = (#all | List of (extension | restriction | substitution)) : ''
elementFormDefault = (qualified | unqualified) : unqualified
finalDefault = (#all | List of (extension | restriction | list | union)) : ''
id = ID
targetNamespace = anyURI
version = token
xml:lang = language
{any attributes with non-schema namespace . . .}>
Content: ((include | import | redefine | annotation)*, (((simpleType | complexType | group |
attributeGroup) | element | attribute | notation), annotation*)*)
</schema>
|
class XMLSchema11(XMLSchemaBase):
"""
XSD 1.1 schema class.
<schema
attributeFormDefault = (qualified | unqualified) : unqualified
blockDefault = (#all | List of (extension | restriction | substitution)) : ''
defaultAttributes = QName
xpathDefaultNamespace = (anyURI | (##defaultNamespace | ##targetNamespace| ##local)) : ##local
elementFormDefault = (qualified | unqualified) : unqualified
finalDefault = (#all | List of (extension | restriction | list | union)) : ''
id = ID
targetNamespace = anyURI
version = token
xml:lang = language
{any attributes with non-schema namespace . . .}>
Content: ((include | import | redefine | override | annotation)*,
(defaultOpenContent, annotation*)?, ((simpleType | complexType |
group | attributeGroup | element | attribute | notation), annotation*)*)
</schema>
<schema
attributeFormDefault = (qualified | unqualified) : unqualified
blockDefault = (#all | List of (extension | restriction | substitution)) : ''
elementFormDefault = (qualified | unqualified) : unqualified
finalDefault = (#all | List of (extension | restriction | list | union)) : ''
id = ID
targetNamespace = anyURI
version = token
xml:lang = language
{any attributes with non-schema namespace . . .}>
Content: ((include | import | redefine | annotation)*, (((simpleType | complexType | group |
attributeGroup) | element | attribute | notation), annotation*)*)
</schema>
"""
meta_schema: XMLSchemaBase
meta_schema = os.path.join(SCHEMAS_DIR, 'XSD_1.1/XMLSchema.xsd') # type: ignore
XSD_VERSION = '1.1'
BASE_SCHEMAS = {
XML_NAMESPACE: os.path.join(SCHEMAS_DIR, 'XML/xml_minimal.xsd'),
XSI_NAMESPACE: os.path.join(SCHEMAS_DIR, 'XSI/XMLSchema-instance_minimal.xsd'),
XSD_NAMESPACE: os.path.join(SCHEMAS_DIR, 'XSD_1.1/xsd11-extra.xsd'),
VC_NAMESPACE: os.path.join(SCHEMAS_DIR, 'VC/XMLSchema-versioning.xsd'),
}
xsd_complex_type_class = Xsd11ComplexType
xsd_attribute_class = Xsd11Attribute
xsd_any_attribute_class = Xsd11AnyAttribute
xsd_group_class = Xsd11Group
xsd_element_class = Xsd11Element
xsd_any_class = Xsd11AnyElement
xsd_atomic_restriction_class = Xsd11AtomicRestriction
xsd_union_class = Xsd11Union
xsd_key_class = Xsd11Key
xsd_keyref_class = Xsd11Keyref
xsd_unique_class = Xsd11Unique
|
(source: xmlschema.resources.XMLResource, namespace: Optional[str] = None, validation: str = 'strict', global_maps: Optional[xmlschema.validators.global_maps.XsdGlobals] = None, converter: Optional[~T] = None, locations: xmlschema.namespaces.NamespaceResourcesMap = None, base_url: Optional[str] = None, allow: str = 'all', defuse: str = 'remote', timeout: int = 300, uri_mapper: Optional[~T] = None, build: bool = True, use_meta: bool = True, use_fallback: bool = True, use_xpath3: bool = False, loglevel: Union[str, int, NoneType] = None) -> None
|
[
0.04817900061607361,
-0.00886667799204588,
0.02975875698029995,
0.008218486793339252,
0.03099709376692772,
-0.01054520346224308,
0.022367440164089203,
-0.022696373984217644,
0.027185341343283653,
-0.015198636800050735,
-0.04682457447052002,
0.015101891942322254,
0.01125144213438034,
0.008315231651067734,
-0.040865082293748856,
0.0098921749740839,
0.02463127300143242,
0.02385731413960457,
-0.01764628477394581,
0.03146146982908249,
0.006897917483001947,
0.022967258468270302,
-0.004617154598236084,
0.04992041364312172,
0.022096553817391396,
0.06462565064430237,
0.00933105405420065,
-0.032003242522478104,
0.01684330217540264,
-0.06969508528709412,
-0.07995005697011948,
-0.0381949208676815,
0.019397368654608727,
0.006893080193549395,
0.04945603758096695,
-0.0576213113963604,
-0.009113377891480923,
0.053712815046310425,
-0.014289233833551407,
0.04407701641321182,
0.033106133341789246,
0.023064004257321358,
-0.020122956484556198,
-0.10982490330934525,
-0.005224229302257299,
0.02946852147579193,
0.036975931376218796,
0.06868893653154373,
-0.06172329932451248,
0.020954962819814682,
0.08598694205284119,
-0.032177381217479706,
0.00779764587059617,
0.004070545081049204,
-0.04941733926534653,
0.022580279037356377,
-0.01464719045907259,
0.08250412344932556,
-0.0004229569749440998,
0.014511747285723686,
-0.03376400098204613,
0.04074898734688759,
-0.007778296712785959,
-0.006109445821493864,
-0.061336319893598557,
-0.013302435167133808,
-0.02465062215924263,
-0.06040756776928902,
-0.018584711477160454,
0.04980431869626045,
-0.020413191989064217,
-0.025637421756982803,
-0.00534999743103981,
0.01976500079035759,
0.055299434810876846,
-0.02186436578631401,
-0.06017538160085678,
-0.056499071419239044,
0.005146833136677742,
-0.06861153990030289,
0.015643663704395294,
-0.034015536308288574,
-0.0018732247408479452,
0.014473049901425838,
0.08025963604450226,
0.05112005025148392,
0.029894201084971428,
-0.0037924034986644983,
0.047056760638952255,
0.009248820133507252,
-0.03550541028380394,
0.04601191356778145,
-0.023025305941700935,
0.03271915391087532,
0.0373242162168026,
-0.03502168506383896,
-0.017007768154144287,
-0.07890520989894867,
-0.011570700444281101,
0.031848449259996414,
0.0008132625371217728,
0.036666348576545715,
-0.0412907600402832,
0.00600786367431283,
-0.00600786367431283,
0.04156164452433586,
-0.04682457447052002,
-0.0036472859792411327,
0.014153791591525078,
-0.024437783285975456,
-0.06981118023395538,
-0.05518333986401558,
0.036376114934682846,
0.04636019840836525,
-0.001476570381782949,
-0.04361264035105705,
0.020335795357823372,
0.018720153719186783,
0.04663108289241791,
-0.03304808586835861,
0.042838677763938904,
0.03566019982099533,
-0.005601534619927406,
0.02526978962123394,
0.08335547894239426,
0.0019034575670957565,
0.04918514937162399,
0.016388600692152977,
0.026411380618810654,
0.0006312610348686576,
0.00006590752309421077,
0.019890768453478813,
-0.008658676408231258,
-0.015556593425571918,
0.036666348576545715,
-0.03616327419877052,
-0.016301529482007027,
0.02712729386985302,
-0.07387447357177734,
0.06245856359601021,
0.002394438488408923,
-0.0030571415554732084,
0.02109040692448616,
-0.03879473730921745,
-0.1250719130039215,
-0.0030111875385046005,
-0.01543082483112812,
-0.00817978847771883,
-0.06094934046268463,
0.004629247356206179,
-0.02497955597937107,
-0.04790811613202095,
-0.03529256954789162,
-0.03099709376692772,
-0.012228566221892834,
0.009292355738580227,
0.0019010389223694801,
-0.019290950149297714,
-0.00904081854969263,
-0.028868703171610832,
-0.043341752141714096,
0.017539866268634796,
0.005258089862763882,
-0.06849545240402222,
0.01187060959637165,
0.03792403265833855,
-0.026082448661327362,
-0.07507410645484924,
0.008629652671515942,
0.0017776890890672803,
-0.0018333174521103501,
0.02772711217403412,
0.039936330169439316,
0.018962016329169273,
0.008039508014917374,
0.05069437250494957,
0.040091123431921005,
0.015101891942322254,
0.04326435551047325,
0.017104513943195343,
0.029333079233765602,
-0.012760663405060768,
-0.012054424732923508,
-0.002336391480639577,
0.045508839190006256,
0.06253595650196075,
-0.010351713746786118,
-0.009577753953635693,
0.05684735253453255,
0.005209717433899641,
0.039452604949474335,
0.01396030094474554,
0.017868798226118088,
0.05034609138965607,
-0.002301321364939213,
-0.045508839190006256,
0.013824858702719212,
-0.0395686998963356,
0.0030861650593578815,
0.056228186935186386,
0.04547014459967613,
0.007081733085215092,
0.05735042691230774,
0.001572106033563614,
0.07627374678850174,
0.002280763117596507,
0.016814278438687325,
-0.07143649458885193,
-0.05379021167755127,
-0.006926940754055977,
-0.00011828586139017716,
-0.02929438091814518,
0.014695563353598118,
-0.007144616916775703,
0.012663918547332287,
-0.06122022494673729,
-0.015372778289020061,
-0.02836562879383564,
-0.02927503176033497,
0.002099366160109639,
0.08080141246318817,
0.013757136650383472,
-0.0017111769411712885,
0.00534999743103981,
0.013553972356021404,
-0.011967354454100132,
0.07015946507453918,
-0.028578467667102814,
-0.003286910941824317,
0.006530286278575659,
0.03159691020846367,
-0.0316549576818943,
0.004089894238859415,
0.0013495925813913345,
0.03237087279558182,
0.0019760162103921175,
0.06303903460502625,
0.02169022522866726,
0.03796273097395897,
-0.029178287833929062,
0.017172234132885933,
-0.011106324382126331,
-0.00010316945554222912,
0.006617357023060322,
-0.05305495113134384,
-0.014366630464792252,
-0.009751894511282444,
-0.005229066591709852,
-0.01635957695543766,
-0.029816804453730583,
-0.053093649446964264,
-0.050307393074035645,
0.013108945451676846,
0.004926738329231739,
0.014115093275904655,
-0.03382204845547676,
-0.12445274740457535,
-0.04187123104929924,
0.019735977053642273,
-0.05320974066853523,
0.019600534811615944,
-0.0012492196401581168,
0.0031659796368330717,
0.059633608907461166,
0.026604870334267616,
-0.04338045045733452,
-0.0116964690387249,
-0.01024529431015253,
-0.003637611400336027,
-0.015130915679037571,
0.0842842310667038,
0.04175513610243797,
-0.04183253273367882,
0.03796273097395897,
-0.04136815667152405,
-0.0065206121653318405,
-0.05239708349108696,
-0.01278001256287098,
0.010651622898876667,
-0.018884621560573578,
-0.018168708309531212,
-0.01954248733818531,
-0.004602642729878426,
0.046437591314315796,
0.029952246695756912,
-0.016814278438687325,
-0.055260736495256424,
-0.03951065242290497,
-0.02556002512574196,
-0.008329743519425392,
0.012518800795078278,
0.007338107097893953,
0.03364790603518486,
-0.027378831058740616,
0.03322222828865051,
-0.0022698792163282633,
-0.019571511074900627,
-0.0024766717106103897,
-0.0190103892236948,
0.003267561784014106,
0.05259057506918907,
0.04899166151881218,
0.06094934046268463,
0.016988418996334076,
0.006240051705390215,
-0.027398180216550827,
0.003330446081236005,
-0.022541580721735954,
0.034634705632925034,
0.07012076675891876,
-0.013002526015043259,
0.01945541612803936,
-0.04806290939450264,
0.007347781676799059,
0.002754813525825739,
0.00026075798086822033,
0.0030789091251790524,
-0.05673125758767128,
0.035447362810373306,
0.05073307082056999,
-0.016436973586678505,
-0.0026096960064023733,
0.012422055937349796,
-0.040710289031267166,
-0.05069437250494957,
-0.07147519290447235,
0.022115902975201607,
-0.016108039766550064,
-0.0020715519785881042,
-0.035892389714717865,
-0.027378831058740616,
-0.04725025221705437,
-0.01943606697022915,
0.07093342393636703,
0.006423866841942072,
-0.010796740651130676,
0.03134537488222122,
-0.09163685142993927,
-0.022115902975201607,
-0.010516179725527763,
0.04392222315073013,
0.004883203189820051,
-0.024128198623657227,
-0.04992041364312172,
-0.024921508505940437,
-0.06431606411933899,
0.013108945451676846,
-0.008537745103240013,
-0.018516989424824715,
0.005959491245448589,
-0.020432541146874428,
-0.009592264890670776,
0.013437878340482712,
0.007144616916775703,
0.05855006352066994,
-0.01945541612803936,
-0.027978649362921715,
0.033415716141462326,
0.025482628494501114,
0.003465889021754265,
0.038697995245456696,
0.01572106033563614,
-0.0024633691646158695,
-0.015024496242403984,
0.012528475373983383,
-0.050926558673381805,
0.0017063396517187357,
0.013137969188392162,
0.020374493673443794,
-0.03533126786351204,
0.02604375034570694,
-0.07046904414892197,
-0.06586398929357529,
-0.056228186935186386,
0.010874136351048946,
-0.029023494571447372,
-0.0103226900100708,
0.02356707863509655,
-0.04508316144347191,
-0.040207214653491974,
0.046398892998695374,
0.029429825022816658,
-0.004411571193486452,
-0.01930062472820282,
-0.08126578480005264,
-0.058046989142894745,
0.053403232246637344,
0.014860029332339764,
-0.03500233590602875,
0.07077863067388535,
0.03796273097395897,
0.00774927344173193,
0.009698684327304363,
-0.001318150432780385,
0.004718736745417118,
0.015014821663498878,
-0.007962112314999104,
0.00045046882587485015,
0.031113186851143837,
0.003705332987010479,
-0.006501263007521629,
-0.046592384576797485,
0.00285155838355422,
0.03920106962323189,
0.015779107809066772,
-0.03490559011697769,
0.0395686998963356,
-0.028636515140533447,
-0.024457132443785667,
0.11067626625299454,
0.004000405315309763,
-0.006336796563118696,
0.05533813312649727,
-0.01821708120405674,
0.047521136701107025,
0.02712729386985302,
0.06543830782175064,
0.025947004556655884,
0.021129105240106583,
0.03293199464678764,
-0.021361293271183968,
-0.018159033730626106,
0.065012626349926,
0.09171424806118011,
-0.004157615825533867,
-0.012615545652806759,
-0.05862746015191078,
-0.006273912265896797,
-0.052977554500103,
0.027320783585309982,
0.010100176557898521,
0.028114093467593193,
-0.06431606411933899,
-0.08830881863832474,
-0.009069842286407948,
-0.046398892998695374,
-0.036666348576545715,
-0.07495801150798798,
0.017472144216299057,
-0.007241362240165472,
-0.02031644620001316,
0.014676214195787907,
0.01945541612803936,
0.008740909397602081,
-0.029874851927161217,
-0.015014821663498878,
-0.021941762417554855,
0.058395273983478546,
-0.013050897978246212,
0.011464281007647514,
-0.05348062887787819,
-0.015730734914541245,
0.037749893963336945,
-0.023044655099511147,
-0.058046989142894745,
-0.05073307082056999,
0.038523852825164795,
-0.040710289031267166,
0.010177572257816792,
-0.059749703854322433,
0.020954962819814682,
-0.004982366692274809,
-0.0017885728739202023,
-0.01496644876897335,
-0.057002145797014236,
0.04206471890211105,
0.044270504266023636,
-0.019378021359443665,
-0.021438688039779663,
-0.0038504505064338446,
0.03792403265833855,
-0.0030498856212943792,
0.03314483165740967,
-0.04763723164796829,
0.03500233590602875,
0.020838869735598564,
-0.05406109616160393,
-0.029100891202688217,
-0.011193394660949707,
-0.02292856201529503,
0.03935585916042328,
0.01775270514190197,
0.04152294620871544,
-0.000008243164302257355,
0.00237629865296185,
-0.0033788185101002455,
0.049688223749399185,
-0.05398370325565338,
-0.03925911337137222,
0.01706581562757492,
-0.001657967222854495,
0.07816994935274124,
0.005485440604388714,
0.014608493074774742,
0.06806977093219757,
-0.017094839364290237,
0.008358766324818134,
0.042413000017404556,
0.02217395044863224,
-0.015159939415752888,
0.027069246396422386,
-0.07201696932315826,
-0.07577066868543625,
0.01876852661371231,
0.05224229022860527,
0.01658209040760994,
-0.04887556657195091,
-0.008141090162098408,
0.029681362211704254,
-0.035718247294425964,
-0.059130534529685974,
-0.012276938185095787,
0.02962331473827362,
0.01854601316154003,
0.01967792958021164,
-0.02633398398756981,
-0.022831816226243973,
0.0046582710929214954,
0.01644664816558361,
-0.016243483871221542,
-0.021051708608865738,
-0.026933804154396057,
-0.01231563650071621,
0.01726897992193699,
-0.01549854688346386,
0.04361264035105705,
-0.08196235448122025,
-0.02666291780769825,
0.06172329932451248,
0.053558021783828735,
0.0474824383854866,
-0.002150157233700156,
-0.002127180341631174,
0.004713899455964565,
0.042374301701784134,
0.04291607439517975,
0.02219329960644245,
-0.012189867906272411,
0.030513368546962738,
-0.004513153340667486,
0.020838869735598564,
0.025482628494501114,
-0.019049087539315224,
0.025056950747966766,
-0.012112472206354141,
0.03827231749892235,
-0.029410475865006447,
0.019571511074900627,
-0.002325507579371333,
-0.02790125273168087,
0.011319163255393505,
0.0027741624508053064,
0.06772148609161377,
0.038078825920820236,
-0.015121241100132465,
-0.0162531565874815,
0.03585369139909744,
-0.017501167953014374,
0.03144212067127228,
-0.003693239763379097,
-0.013389505445957184,
0.01956183649599552,
0.019948815926909447,
0.00290718674659729,
-0.016349902376532555,
0.02232874184846878,
0.022522231563925743,
-0.04121336340904236,
-0.021516084671020508,
0.0440383180975914,
-0.014831006526947021,
0.006182004697620869,
0.019706953316926956,
0.0016881999326869845,
-0.02246418595314026,
0.04051680117845535,
-0.04585712403059006,
0.0064722392708063126,
0.015730734914541245,
-0.03813687339425087,
0.015363103710114956,
-0.029371777549386024,
0.04465748369693756,
-0.06063975766301155,
0.03436381742358208,
-0.03225477784872055,
0.011725491844117641,
0.014705237932503223,
0.003763379994779825,
-0.05766000971198082,
-0.03639546409249306,
0.01084511261433363,
-0.004075382370501757,
-0.06512872129678726,
-0.03068750910460949,
0.026624219492077827,
-0.04078768566250801,
-0.03848515450954437,
0.06574789434671402,
0.007483224384486675,
-0.053712815046310425,
0.03502168506383896,
0.01706581562757492,
0.0056837680749595165,
0.02076147310435772,
0.011270790360867977,
0.017810752615332603,
0.0007951228180900216,
0.06694752722978592,
-0.008358766324818134,
-0.013650717213749886,
-0.016417624428868294,
-0.018004242330789566,
-0.04941733926534653,
0.005146833136677742,
0.010777391493320465,
-0.06741190701723099,
0.029836153611540794,
-0.01742377132177353,
-0.04992041364312172,
0.014511747285723686,
0.027823857963085175,
0.0014717330923303962,
-0.02062603086233139,
-0.030339227989315987,
0.05870485678315163,
-0.007725086994469166,
0.01418281439691782,
-0.002325507579371333,
-0.012276938185095787,
0.08529037982225418,
-0.025463279336690903,
0.02915893867611885,
-0.08436162769794464,
0.027688413858413696,
-0.01764628477394581,
-0.01177386473864317,
0.04461878538131714,
0.017336701974272728,
0.024728018790483475,
0.02169022522866726,
-0.03362855687737465,
-0.025231091305613518,
0.03289329633116722,
-0.06443215906620026,
0.03705332800745964,
0.05255187675356865,
-0.09279778599739075,
0.042374301701784134,
0.007725086994469166,
-0.015101891942322254,
0.0761963501572609,
0.008136252872645855,
-0.061026737093925476,
0.06214897707104683,
0.0010533110471442342,
-0.04744374006986618,
0.012073773890733719,
0.02122584916651249,
0.008586117066442966,
0.02219329960644245,
-0.03616327419877052,
0.059633608907461166,
-0.004467199556529522,
-0.03020378388464451,
-0.0011059161042794585,
0.059169232845306396,
-0.04562493413686752,
0.03150016814470291,
0.00842165108770132,
-0.03407358378171921,
0.03842710703611374,
0.024282991886138916,
-0.013370157219469547,
-0.06923071295022964,
-0.019968165084719658,
-0.007521922700107098,
0.003117607207968831,
-0.011677119880914688,
-0.009771243669092655,
0.07263613492250443,
0.012867082841694355,
0.01386355608701706,
-0.0996086373925209,
-0.015159939415752888,
-0.04310956597328186,
-0.010583901777863503,
0.023044655099511147,
-0.04670847952365875,
-0.0595175139605999,
-0.07159128785133362,
-0.0474824383854866,
0.06412257254123688,
-0.02062603086233139,
-0.032641757279634476,
0.005572511348873377,
0.014734260737895966,
0.05193270742893219,
-0.012247915379703045,
-0.039007578045129776,
-0.01644664816558361,
-0.036511559039354324,
-0.04512185975909233,
0.014453700743615627,
0.016524042934179306,
0.07902130484580994,
-0.008353929035365582,
-0.022870514541864395,
0.034750796854496,
0.035892389714717865,
0.04508316144347191,
0.046128008514642715,
0.006104608532041311,
-0.06772148609161377,
0.027552971616387367,
-0.034789495170116425,
-0.008247509598731995,
0.04051680117845535,
0.031132536008954048,
-0.006075585260987282,
-0.0206453800201416,
0.018449269235134125,
0.049223847687244415,
0.024766715243458748,
-0.020800171419978142,
0.028268884867429733,
-0.032003242522478104,
-0.028578467667102814,
0.017636610195040703,
0.005911118350923061,
0.027978649362921715,
0.049069054424762726,
-0.019290950149297714,
0.049688223749399185,
0.0034828195348381996,
0.0067914980463683605,
0.030281180515885353,
-0.022096553817391396,
-0.023450983688235283,
0.019290950149297714,
-0.0424903966486454,
0.02279311791062355,
-0.06772148609161377,
0.06265205144882202,
-0.06431606411933899,
0.02509564906358719,
0.0212451983243227,
0.03538931533694267,
0.00028675817884504795,
0.032777201384305954,
-0.03146146982908249,
-0.02323814481496811,
-0.030629461631178856,
-0.01324438862502575,
-0.014086069539189339,
-0.015798455104231834,
0.027417529374361038,
-0.017897821962833405,
-0.008769933134317398,
-0.0710495188832283,
-0.0316549576818943,
0.010574227198958397,
-0.014618167653679848,
0.04074898734688759,
0.02772711217403412,
0.03649220988154411,
-0.007057546637952328,
0.028965448960661888
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.