index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
sequencelengths 768
768
|
---|---|---|---|---|---|---|
9,629 | asyncclick.decorators | confirmation_option | Add a ``--yes`` option which shows a prompt before continuing if
not passed. If the prompt is declined, the program will exit.
:param param_decls: One or more option names. Defaults to the single
value ``"--yes"``.
:param kwargs: Extra arguments are passed to :func:`option`.
| def confirmation_option(*param_decls: str, **kwargs: t.Any) -> t.Callable[[FC], FC]:
"""Add a ``--yes`` option which shows a prompt before continuing if
not passed. If the prompt is declined, the program will exit.
:param param_decls: One or more option names. Defaults to the single
value ``"--yes"``.
:param kwargs: Extra arguments are passed to :func:`option`.
"""
def callback(ctx: Context, param: Parameter, value: bool) -> None:
if not value:
ctx.abort()
if not param_decls:
param_decls = ("--yes",)
kwargs.setdefault("is_flag", True)
kwargs.setdefault("callback", callback)
kwargs.setdefault("expose_value", False)
kwargs.setdefault("prompt", "Do you want to continue?")
kwargs.setdefault("help", "Confirm the action without prompting.")
return option(*param_decls, **kwargs)
| (*param_decls: str, **kwargs: Any) -> Callable[[~FC], ~FC] | [
0.04213264212012291,
0.05648474022746086,
0.04799426719546318,
-0.06337659060955048,
0.06454891711473465,
-0.03438819572329521,
-0.021208422258496284,
0.05648474022746086,
-0.013721529394388199,
-0.05577424168586731,
0.03556051850318909,
-0.01352614164352417,
-0.022842571139335632,
-0.005533017683774233,
-0.03751439228653908,
-0.02023148350417614,
0.011199254542589188,
-0.017185216769576073,
-0.014680704101920128,
0.02786935865879059,
0.06344763934612274,
0.04131556674838066,
-0.019236784428358078,
-0.005812777206301689,
-0.003590244799852371,
-0.03454805538058281,
0.023357683792710304,
-0.0013666021404787898,
-0.08483368903398514,
0.031421858817338943,
0.08256008476018906,
-0.010888410732150078,
0.0030418275855481625,
0.03474344313144684,
-0.0047692302614450455,
0.04994814097881317,
0.014272166416049004,
0.12206388264894485,
0.016208278015255928,
-0.05680446699261665,
-0.0009369717445224524,
-0.011288067325949669,
0.029379170387983322,
0.004533877596259117,
-0.018668385222554207,
0.018721671774983406,
-0.029752181842923164,
0.03996561840176582,
-0.03506316989660263,
0.0034548055846244097,
0.08113908767700195,
-0.033802032470703125,
0.03500988334417343,
-0.016687866300344467,
-0.003523635445162654,
0.03540065512061119,
0.0250984076410532,
0.032949432730674744,
-0.010062454268336296,
0.02413923293352127,
0.02085317112505436,
0.016963183879852295,
0.0022680489346385,
-0.009529579430818558,
0.021918920800089836,
-0.018348660320043564,
-0.015497778542339802,
-0.01802005246281624,
-0.016261566430330276,
-0.0090855173766613,
-0.04479701817035675,
0.015400084666907787,
-0.028277894482016563,
-0.0007576814969070256,
0.028277894482016563,
-0.0364486426115036,
-0.04849161580204964,
-0.013472854159772396,
0.013899154029786587,
0.029698895290493965,
-0.05495716631412506,
-0.021528147161006927,
-0.03106660768389702,
0.0005756159080192447,
-0.004973499104380608,
0.03932616859674454,
-0.011101560667157173,
-0.024068184196949005,
0.07417618483304977,
0.037869643419981,
-0.0007682280265726149,
-0.008206273429095745,
0.054601915180683136,
0.03921959176659584,
0.01297550369054079,
-0.02790488302707672,
0.04128004238009453,
-0.014920497313141823,
0.0031439620070159435,
-0.03209683299064636,
-0.032327745109796524,
0.0034370431676506996,
0.043482594192028046,
-0.014307691715657711,
0.051546767354011536,
-0.035809192806482315,
-0.015915198251605034,
-0.015444491058588028,
0.06959346681833267,
-0.046537742018699646,
-0.02104855887591839,
-0.09542013704776764,
-0.02957455813884735,
-0.03740781918168068,
-0.012664660811424255,
0.010266723111271858,
-0.035471707582473755,
-0.0426655188202858,
-0.012398223392665386,
-0.04188396781682968,
-0.023126771673560143,
-0.004183067940175533,
0.022078784182667732,
-0.038295943289995193,
0.031226469203829765,
-0.012513679452240467,
0.03209683299064636,
0.016856608912348747,
-0.055312417447566986,
0.047212716192007065,
0.06309238821268082,
0.006936254911124706,
-0.019627559930086136,
-0.054317716509103775,
-0.02060449682176113,
0.015915198251605034,
-0.011616673320531845,
0.008761351928114891,
0.01488497294485569,
-0.042772091925144196,
0.0174605343490839,
0.003259418299421668,
-0.06248846650123596,
0.03687494248151779,
0.0030995558481663465,
-0.04628906771540642,
-0.04021429270505905,
-0.0651528388261795,
-0.020391346886754036,
0.029876520857214928,
0.012522560544312,
0.025844432413578033,
-0.020640021190047264,
-0.026554932817816734,
-0.004143102560192347,
0.03715914487838745,
-0.024458957836031914,
-0.01383698545396328,
-0.014565248042345047,
-0.035382892936468124,
0.012149548158049583,
-0.018632858991622925,
0.043447066098451614,
0.06934478878974915,
0.013543903827667236,
0.01144792977720499,
-0.012247242033481598,
0.08049963414669037,
0.0320257805287838,
-0.01762927882373333,
0.024743158370256424,
-0.007833261042833328,
0.019343359395861626,
-0.044299669563770294,
-0.007362555246800184,
0.07208020985126495,
-0.0015819723485037684,
-0.04056954383850098,
0.026412833482027054,
-0.09748058766126633,
0.0396103672683239,
-0.01937888376414776,
-0.02838446944952011,
-0.026324020698666573,
0.04728376865386963,
0.00874358881264925,
0.014547484926879406,
0.04728376865386963,
0.04824294149875641,
-0.04032086953520775,
-0.047496918588876724,
-0.03591576963663101,
-0.028419995680451393,
0.08099699020385742,
-0.04579171910881996,
-0.0666804164648056,
-0.003319366602227092,
0.007522417698055506,
0.03239879384636879,
-0.07858128845691681,
0.009476291947066784,
-0.04088926687836647,
0.0015342356637120247,
-0.01421887893229723,
0.044725969433784485,
0.03403294458985329,
-0.005843861494213343,
-0.02719438262283802,
-0.024458957836031914,
-0.04049849510192871,
0.0637318417429924,
-0.040143243968486786,
-0.0012666881084442139,
-0.019059158861637115,
-0.025080645456910133,
0.00728706456720829,
0.08071278780698776,
0.00416752602905035,
-0.039148543030023575,
0.008028648793697357,
0.0041497633792459965,
-0.009609511122107506,
0.07339464128017426,
0.06412261724472046,
0.08938088268041611,
-0.007939836010336876,
-0.023890558630228043,
-0.024228045716881752,
-0.007398080080747604,
-0.011634435504674911,
-0.029840994626283646,
-0.012273885309696198,
-0.002890846459195018,
-0.05655578896403313,
0.013384041376411915,
-0.03621773049235344,
0.03522303327918053,
0.035187505185604095,
-0.02079988457262516,
0.04589829221367836,
0.02634178288280964,
0.060996413230895996,
-0.005848302040249109,
0.04380231723189354,
0.019503220915794373,
0.03106660768389702,
0.06309238821268082,
0.00765563640743494,
0.027372008189558983,
0.04366021603345871,
0.004482810385525227,
0.005004583392292261,
-0.0051289210096001625,
-0.018064459785819054,
0.0008520447881892323,
0.02834894508123398,
-0.04881134256720543,
0.03341125696897507,
-0.015853028744459152,
0.05023234337568283,
-0.018206559121608734,
0.026874657720327377,
-0.024405671283602715,
0.048598192632198334,
0.031226469203829765,
0.0061147394590079784,
-0.008459389209747314,
-0.06707119196653366,
0.019201260060071945,
-0.019876234233379364,
-0.03669732064008713,
-0.0032727401703596115,
0.00728706456720829,
-0.005715083330869675,
0.032274458557367325,
0.009840423241257668,
0.01533791609108448,
-0.04795874282717705,
-0.030977794900536537,
0.011945279315114021,
-0.010000285692512989,
-0.011572266928851604,
0.046360116451978683,
0.045969340950250626,
-0.08668098598718643,
0.04685746878385544,
-0.05520584061741829,
-0.01417447254061699,
0.0037678696680814028,
0.024210283532738686,
0.012646897695958614,
0.08177853375673294,
0.0622042641043663,
0.02094198390841484,
0.06724881380796432,
0.06270161271095276,
0.050409965217113495,
-0.017904596403241158,
0.019307835027575493,
-0.02481420896947384,
0.08462053537368774,
0.02023148350417614,
-0.05261251702904701,
-0.007597907911986113,
-0.01587079092860222,
-0.005146683659404516,
0.02680360898375511,
-0.05339406803250313,
0.00043601379729807377,
0.02738977037370205,
0.006501073949038982,
-0.03131528198719025,
0.00862813275307417,
0.03174158185720444,
0.009138804860413074,
-0.01856181025505066,
0.03843804448843002,
-0.07865233719348907,
0.009005585685372353,
-0.030569257214665413,
-0.02747858315706253,
-0.0032061308156698942,
0.012966622598469257,
-0.027638444676995277,
-0.06891848891973495,
-0.010373298078775406,
-0.04035639390349388,
-0.009414123371243477,
0.02996533177793026,
0.01627044752240181,
-0.04923764243721962,
0.016510240733623505,
-0.05385589227080345,
0.02747858315706253,
-0.06266608834266663,
0.03362440690398216,
-0.015098122879862785,
0.005173327401280403,
0.010817361064255238,
-0.0018561809556558728,
0.020000571385025978,
0.028260132297873497,
0.0033970775548368692,
-0.00033082650043070316,
-0.05357168987393379,
-0.008299526758491993,
-0.02547142095863819,
0.005826098844408989,
0.04547199234366417,
0.01120813563466072,
-0.04575619101524353,
0.029876520857214928,
0.014947141520678997,
0.037194669246673584,
0.0728972852230072,
-0.024547770619392395,
0.056946564465761185,
0.012327172793447971,
-0.0057683708146214485,
-0.07673398405313492,
-0.018295371904969215,
-0.020444633439183235,
0.005457527004182339,
0.004023205488920212,
-0.02405042015016079,
-0.0027598480228334665,
0.0014565247111022472,
-0.02042687125504017,
-0.025649046525359154,
-0.027975933626294136,
-0.018259847536683083,
-0.006598767824470997,
-0.0032238932326436043,
-0.05211516469717026,
0.016909897327423096,
-0.004875805228948593,
-0.005519696045666933,
0.003681277623400092,
-0.0117854168638587,
-0.014378741383552551,
0.025151696056127548,
-0.019627559930086136,
0.01460077241063118,
0.046679843217134476,
-0.044725969433784485,
-0.036661792546510696,
0.005284342914819717,
0.007464689202606678,
0.007833261042833328,
-0.01955650933086872,
-0.02261165902018547,
-0.00523549597710371,
0.002875304315239191,
0.0031084369402378798,
-0.01946769654750824,
-0.03062254562973976,
0.004160864744335413,
-0.015861909836530685,
-0.08540208637714386,
0.0009253150783479214,
0.060179341584444046,
0.0031350806821137667,
0.051653340458869934,
-0.03683941811323166,
-0.04913106560707092,
-0.0015120325842872262,
-0.04341154173016548,
-0.054744016379117966,
0.011492335237562656,
0.008210713975131512,
0.004533877596259117,
-0.003321586875244975,
0.006034808233380318,
0.04934421554207802,
-0.010195673443377018,
0.027602920308709145,
-0.04454834386706352,
0.010186792351305485,
0.022362984716892242,
-0.006825239397585392,
0.03309153392910957,
-0.06188454106450081,
0.008139664307236671,
0.05790574103593826,
0.060570113360881805,
0.01984070986509323,
0.03630654513835907,
0.0304449200630188,
-0.02314453385770321,
-0.08639678359031677,
-0.03454805538058281,
0.04202606901526451,
0.039716944098472595,
-0.038722243160009384,
-0.027265433222055435,
0.03362440690398216,
0.006185789592564106,
-0.014929378405213356,
-0.003021844895556569,
0.030853457748889923,
-0.03556051850318909,
-0.007016186136752367,
-0.04021429270505905,
0.005919352173805237,
-0.038295943289995193,
0.011057154275476933,
-0.026945708319544792,
-0.03701704367995262,
0.00861481111496687,
-0.002644391730427742,
0.050445493310689926,
0.030071906745433807,
0.001732953591272235,
0.02127947099506855,
-0.014849447645246983,
-0.04991261661052704,
0.006398939527571201,
0.0037745307199656963,
-0.08859933912754059,
-0.01498266588896513,
0.060570113360881805,
-0.013037673197686672,
0.027993695810437202,
-0.011723248288035393,
0.020533446222543716,
0.03506316989660263,
0.0031794870737940073,
0.034796733409166336,
-0.031563956290483475,
-0.004627130459994078,
-0.027176620438694954,
-0.03421057015657425,
-0.005755049176514149,
0.022362984716892242,
0.037194669246673584,
0.02600429579615593,
-0.02738977037370205,
0.015195815823972225,
0.0006766401347704232,
0.011527860537171364,
-0.021261708810925484,
0.07417618483304977,
-0.003230554051697254,
0.024991832673549652,
0.016279328614473343,
-0.04891791567206383,
0.03918406739830971,
-0.08234693855047226,
-0.018472997471690178,
-0.008836842142045498,
0.007211573887616396,
-0.0159862469881773,
0.03993009403347969,
-0.0027398651000112295,
0.08454948663711548,
0.018011171370744705,
0.026750320568680763,
-0.04380231723189354,
0.01621715910732746,
-0.04106689244508743,
-0.02470763400197029,
0.02939693257212639,
0.00047930987784639,
-0.03257641941308975,
-0.016226040199398994,
-0.03396189585328102,
-0.0849047377705574,
0.037194669246673584,
-0.07229336351156235,
0.050125766545534134,
-0.032984957098960876,
-0.023748459294438362,
0.05865176394581795,
0.022878095507621765,
0.06675146520137787,
0.026466120034456253,
-0.005635152105242014,
-0.03794069215655327,
0.03039163164794445,
-0.02467210777103901,
-0.051795441657304764,
-0.002573341829702258,
-0.0035658213309943676,
-0.0379762202501297,
-0.01610170304775238,
-0.0005184428882785141,
-0.00899670459330082,
-0.04874029383063316,
0.036626268178224564,
-0.04209711775183678,
-0.009867067448794842,
0.02976994588971138,
0.036146681755781174,
0.031563956290483475,
-0.014156710356473923,
-0.022007733583450317,
-0.03850909322500229,
0.12384013086557388,
0.013801460154354572,
-0.0018972567049786448,
0.05950436368584633,
0.04241684451699257,
-0.03701704367995262,
0.06835009157657623,
0.028650907799601555,
0.012344935908913612,
0.02380174584686756,
-0.011145967058837414,
0.02023148350417614,
0.023677408695220947,
-0.07360778748989105,
0.010000285692512989,
-0.026927946135401726,
0.04383784160017967,
-0.013330753892660141,
0.011989685706794262,
0.08277323842048645,
-0.005266580265015364,
0.004480590112507343,
-0.008521557785570621,
-0.04135109484195709,
-0.02227417193353176,
-0.020924221724271774,
-0.0715828612446785,
0.033233631402254105,
0.038615670055150986,
0.08476263284683228,
-0.043447066098451614,
0.06461996585130692,
0.001422109897248447,
0.06675146520137787,
-0.03438819572329521,
-0.021918920800089836,
0.01683884672820568,
-0.058758340775966644,
0.027887120842933655,
0.03897091746330261,
-0.01799340918660164,
-0.03893539309501648,
0.014396503567695618,
-0.07673398405313492,
-0.0235708337277174,
-0.03875776752829552,
-0.028508808463811874,
-0.02046239748597145,
0.05023234337568283,
0.05058759078383446,
-0.027745019644498825,
0.00522217433899641,
0.0049246521666646,
-0.047354817390441895,
-0.013588310219347477,
0.0144586730748415,
-0.026821371167898178,
0.04326944425702095,
-0.001806223881430924,
0.029983095824718475,
0.012531441636383533,
0.009751610457897186,
-0.01185646653175354,
-0.0003938278532586992,
-0.03524079546332359,
0.0098493043333292,
0.010693022981286049,
0.07673398405313492,
0.011634435504674911,
-0.07865233719348907,
-0.027602920308709145,
-0.03751439228653908,
-0.016901016235351562,
-0.022487321868538857,
-0.03271852061152458,
-0.0073048267513513565,
0.017620397731661797,
-0.04493911936879158,
0.06465549021959305,
-0.0775865837931633,
-0.04330496862530708,
-0.00693181436508894,
0.07410513609647751,
-0.033393494784832,
-0.018597334623336792,
0.018970346078276634,
-0.00697622075676918,
-0.009067755192518234,
0.0011295838048681617,
-0.041812919080257416,
0.005395358428359032,
-0.05804784223437309,
-0.03390860557556152,
-0.02241627126932144,
0.007615670561790466,
0.04646669328212738,
-0.01706087775528431,
0.017442772164940834,
-0.044583868235349655,
-0.05822546407580376,
-0.02385503426194191,
0.017709210515022278,
-0.042061593383550644,
-0.003201690036803484,
0.04802979156374931,
-0.011865347623825073,
0.011607792228460312,
0.01808222196996212,
0.02232745848596096,
-0.043908894062042236,
0.006687580142170191,
0.010870648548007011,
-0.05005471780896187,
0.026945708319544792,
0.036146681755781174,
-0.052079640328884125,
0.032079070806503296,
0.013224178925156593,
0.02314453385770321,
-0.03811831772327423,
-0.038295943289995193,
0.0098493043333292,
-0.0011601131409406662,
0.030427157878875732,
-0.028544332832098007,
-0.0006649834685958922,
0.004045408684760332,
0.026448357850313187,
-0.010897291824221611,
-0.0773734375834465,
-0.0683145672082901,
0.043340492993593216,
-0.026945708319544792,
-0.0027309840079396963,
-0.009316429495811462,
0.00796648021787405,
0.008237358182668686,
0.01318865455687046,
-0.028686432167887688,
-0.04842056706547737,
0.00521329278126359,
-0.018242085352540016,
0.022718233987689018,
0.04490359127521515,
-0.02518722042441368,
0.07360778748989105,
-0.031936969608068466,
-0.029592320322990417,
-0.04213264212012291,
0.037052568048238754,
-0.019769659265875816,
-0.032700758427381516,
-0.031137658283114433,
-0.02037358470261097,
0.03016071952879429,
-0.021972209215164185,
0.004334049299359322,
0.045400943607091904,
-0.05644921585917473,
-0.057799164205789566,
0.014867209829390049,
0.020355822518467903,
-0.005439764820039272,
0.10430138558149338,
-0.007047270890325308,
-0.019911758601665497,
0.03936169296503067,
-0.04483254253864288,
0.03087121993303299,
0.020391346886754036,
-0.07275518774986267,
-0.01955650933086872,
0.017069758847355843,
-0.0348144955933094,
0.0501968152821064,
0.016767797991633415,
-0.023339921608567238,
-0.0005256588920019567,
0.014307691715657711,
-0.0077311270870268345,
-0.03522303327918053,
0.04156424477696419,
-0.012495916336774826,
-0.014813922345638275,
0.010790716856718063,
0.008299526758491993,
-0.05669789016246796,
0.019254546612501144,
-0.04628906771540642,
0.01875719614326954,
-0.051120467483997345,
0.05435324087738991,
-0.03708809241652489,
0.03598681837320328,
-0.020835408940911293,
-0.032665230333805084,
0.03953931853175163,
0.026412833482027054,
0.02051568403840065,
0.010861766524612904,
0.0364486426115036,
-0.0410313680768013,
0.0441930927336216,
-0.0037279040552675724,
0.06621859222650528,
0.04767454043030739,
-0.009547342546284199,
0.027372008189558983,
0.01388139184564352,
0.0027687293477356434,
0.0004382340994197875,
0.030800169333815575,
0.0018328676233068109,
0.005661795847117901,
-0.033997420221567154,
0.04490359127521515,
0.07382094115018845,
0.0236241202801466,
0.05353616550564766,
-0.02175905928015709,
0.07374988496303558,
-0.020195959135890007,
-0.0034925509244203568,
-0.062381889671087265,
0.08433633297681808,
0.03826041892170906,
-0.030693594366312027,
-0.015559947118163109,
-0.006350092589855194,
-0.0027309840079396963,
0.08298638463020325
] |
9,632 | asyncclick.utils | echo | Print a message and newline to stdout or a file. This should be
used instead of :func:`print` because it provides better support
for different data, files, and environments.
Compared to :func:`print`, this does the following:
- Ensures that the output encoding is not misconfigured on Linux.
- Supports Unicode in the Windows console.
- Supports writing to binary outputs, and supports writing bytes
to text outputs.
- Supports colors and styles on Windows.
- Removes ANSI color and style codes if the output does not look
like an interactive terminal.
- Always flushes the output.
:param message: The string or bytes to output. Other objects are
converted to strings.
:param file: The file to write to. Defaults to ``stdout``.
:param err: Write to ``stderr`` instead of ``stdout``.
:param nl: Print a newline after the message. Enabled by default.
:param color: Force showing or hiding colors and other styles. By
default Click will remove color if the output does not look like
an interactive terminal.
.. versionchanged:: 6.0
Support Unicode output on the Windows console. Click does not
modify ``sys.stdout``, so ``sys.stdout.write()`` and ``print()``
will still not support Unicode.
.. versionchanged:: 4.0
Added the ``color`` parameter.
.. versionadded:: 3.0
Added the ``err`` parameter.
.. versionchanged:: 2.0
Support colors on Windows if colorama is installed.
| def echo(
message: t.Optional[t.Any] = None,
file: t.Optional[t.IO[t.Any]] = None,
nl: bool = True,
err: bool = False,
color: t.Optional[bool] = None,
) -> None:
"""Print a message and newline to stdout or a file. This should be
used instead of :func:`print` because it provides better support
for different data, files, and environments.
Compared to :func:`print`, this does the following:
- Ensures that the output encoding is not misconfigured on Linux.
- Supports Unicode in the Windows console.
- Supports writing to binary outputs, and supports writing bytes
to text outputs.
- Supports colors and styles on Windows.
- Removes ANSI color and style codes if the output does not look
like an interactive terminal.
- Always flushes the output.
:param message: The string or bytes to output. Other objects are
converted to strings.
:param file: The file to write to. Defaults to ``stdout``.
:param err: Write to ``stderr`` instead of ``stdout``.
:param nl: Print a newline after the message. Enabled by default.
:param color: Force showing or hiding colors and other styles. By
default Click will remove color if the output does not look like
an interactive terminal.
.. versionchanged:: 6.0
Support Unicode output on the Windows console. Click does not
modify ``sys.stdout``, so ``sys.stdout.write()`` and ``print()``
will still not support Unicode.
.. versionchanged:: 4.0
Added the ``color`` parameter.
.. versionadded:: 3.0
Added the ``err`` parameter.
.. versionchanged:: 2.0
Support colors on Windows if colorama is installed.
"""
if file is None:
if err:
file = _default_text_stderr()
else:
file = _default_text_stdout()
# There are no standard streams attached to write to. For example,
# pythonw on Windows.
if file is None:
return
# Convert non bytes/text into the native string type.
if message is not None and not isinstance(message, (str, bytes, bytearray)):
out: t.Optional[t.Union[str, bytes]] = str(message)
else:
out = message
if nl:
out = out or ""
if isinstance(out, str):
out += "\n"
else:
out += b"\n"
if not out:
file.flush()
return
# If there is a message and the value looks like bytes, we manually
# need to find the binary stream and write the message in there.
# This is done separately so that most stream types will work as you
# would expect. Eg: you can write to StringIO for other cases.
if isinstance(out, (bytes, bytearray)):
binary_file = _find_binary_writer(file)
if binary_file is not None:
file.flush()
binary_file.write(out)
binary_file.flush()
return
# ANSI style code support. For no message or bytes, nothing happens.
# When outputting to a file instead of a terminal, strip codes.
else:
color = resolve_color_default(color)
if should_strip_ansi(file, color):
out = strip_ansi(out)
elif WIN:
if auto_wrap_for_ansi is not None:
file = auto_wrap_for_ansi(file) # type: ignore
elif not color:
out = strip_ansi(out)
file.write(out) # type: ignore
file.flush()
| (message: Optional[Any] = None, file: Optional[IO[Any]] = None, nl: bool = True, err: bool = False, color: Optional[bool] = None) -> NoneType | [
-0.02036612667143345,
-0.027992209419608116,
0.011902670376002789,
0.004097150173038244,
0.1000063568353653,
-0.03824007138609886,
-0.017275819554924965,
0.025001589208841324,
0.02282840386033058,
-0.025699399411678314,
0.03050433099269867,
0.009684626944363117,
0.01031764131039381,
0.02482215128839016,
0.00889709684997797,
0.03140151873230934,
0.000978805241174996,
-0.0181032232940197,
0.024204090237617493,
0.047132182866334915,
0.042945314198732376,
0.004964430350810289,
0.0387185700237751,
0.010068423114717007,
0.00730708334594965,
0.008852236904203892,
-0.007855363190174103,
-0.006379990838468075,
-0.03696407005190849,
0.007332005072385073,
-0.014364947564899921,
-0.08589062839746475,
0.041230689734220505,
0.004613032564520836,
0.007646020036190748,
0.011713264510035515,
-0.009569985792040825,
-0.0035264401230961084,
-0.008782455697655678,
-0.03441207483410835,
-0.0028136756736785173,
0.039595816284418106,
0.02390502765774727,
-0.018980473279953003,
-0.04462005943059921,
0.017156193032860756,
0.008966878056526184,
0.08341837674379349,
-0.06770765036344528,
0.013746886514127254,
0.002401219215244055,
-0.014883322641253471,
0.015949977561831474,
0.018771128728985786,
-0.021053969860076904,
0.0362662598490715,
-0.0313018299639225,
-0.04605555906891823,
-0.06088903546333313,
-0.053751423954963684,
-0.02715483494102955,
0.013537542894482613,
0.01444469764828682,
-0.00045077374670654535,
-0.007227333262562752,
0.012480856850743294,
0.04162944108247757,
-0.0034367216285318136,
-0.05139879882335663,
0.0040547833777964115,
-0.013069012202322483,
0.024842089042067528,
-0.013936292380094528,
0.012201732024550438,
0.004079705104231834,
0.0588952898979187,
-0.017634693533182144,
0.08174363523721695,
0.012032263912260532,
0.0037407679483294487,
0.0428655631840229,
-0.0066491467878222466,
0.049684178084135056,
0.045417558401823044,
0.01813312992453575,
-0.020495720207691193,
-0.006743849720805883,
0.037063758820295334,
-0.03772169351577759,
-0.017913818359375,
0.00464044651016593,
-0.013178667984902859,
-0.03349495306611061,
0.03698400780558586,
-0.030803393572568893,
-0.03720331937074661,
0.041788939386606216,
0.02655671164393425,
-0.008528253063559532,
0.031840141862630844,
-0.046095434576272964,
0.05319317430257797,
0.05092030018568039,
-0.0667506530880928,
0.0015738140791654587,
-0.04081200435757637,
-0.04781005531549454,
0.04410168528556824,
0.013746886514127254,
-0.0018778605153784156,
0.003484073095023632,
-0.047491054981946945,
0.011404233053326607,
-0.06986089795827866,
0.03861888125538826,
-0.017325662076473236,
-0.042945314198732376,
0.003172550117596984,
-0.005091531667858362,
-0.014574291184544563,
-0.025141151621937752,
-0.014165572822093964,
0.021592281758785248,
-0.06722915172576904,
0.007431692443788052,
-0.046693556010723114,
-0.013178667984902859,
-0.006399928126484156,
0.05993203818798065,
0.008453487418591976,
-0.016019757837057114,
0.005123930051922798,
0.08652862161397934,
-0.026397211477160454,
-0.0017345600062981248,
0.040433190762996674,
-0.11141058802604675,
0.039137255400419235,
0.03273732587695122,
0.04884680360555649,
0.014992978423833847,
-0.04553718492388725,
-0.02807195857167244,
-0.002938284771516919,
-0.00406973622739315,
-0.0473315566778183,
0.07711813598871231,
-0.06898365169763565,
-0.005076578352600336,
0.08198288083076477,
0.0010193032212555408,
0.028849519789218903,
-0.058496538549661636,
0.048886679112911224,
0.025579774752259254,
-0.019369253888726234,
0.014364947564899921,
-0.0675082802772522,
-0.03887806832790375,
0.012740043923258781,
-0.02179165557026863,
-0.01844216138124466,
0.062204908579587936,
0.005328289233148098,
-0.015581133775413036,
0.03592732176184654,
-0.04629480838775635,
0.029028957709670067,
0.09059587121009827,
-0.018352441489696503,
-0.032637640833854675,
-0.03074358031153679,
-0.016887038946151733,
0.009614845737814903,
-0.04326431080698967,
0.05020255222916603,
-0.005103992763906717,
-0.029866332188248634,
-0.024602839723229408,
-0.0708976462483406,
-0.023605965077877045,
-0.045736558735370636,
0.008064706809818745,
-0.018980473279953003,
0.006918302271515131,
-0.0003059155715163797,
0.010477141477167606,
0.005966288037598133,
-0.0074167391285300255,
-0.04150981456041336,
-0.000852326862514019,
0.03050433099269867,
0.07257239520549774,
0.05383117124438286,
-0.021193532273173332,
-0.013936292380094528,
0.010766234248876572,
-0.06503602862358093,
0.07229326665401459,
-0.10750284790992737,
-0.01316870003938675,
0.054429296404123306,
0.06862477213144302,
0.0016062124632298946,
0.033674389123916626,
-0.0066092717461287975,
0.007521410938352346,
-0.005552585702389479,
-0.025699399411678314,
-0.056383166462183,
0.007277177181094885,
0.003077847184613347,
-0.03257782757282257,
-0.006210522260516882,
0.04908605292439461,
0.006579365581274033,
0.036704882979393005,
0.016388600692152977,
-0.09115412086248398,
0.025220900774002075,
0.0020473289769142866,
0.007177489809691906,
0.010133219882845879,
0.058496538549661636,
-0.013118855655193329,
0.012829762883484364,
0.016697632148861885,
0.012889575213193893,
0.062204908579587936,
-0.03742263466119766,
-0.009654720313847065,
-0.006584350019693375,
-0.05945353955030441,
0.045736558735370636,
-0.044141560792922974,
-0.026756085455417633,
-0.05534641817212105,
0.004652907140552998,
-0.07484526932239532,
0.03257782757282257,
-0.03730300813913345,
-0.03666501119732857,
0.018621597439050674,
0.08509312570095062,
0.06595315784215927,
-0.026397211477160454,
0.027892522513866425,
0.0230676531791687,
-0.04605555906891823,
0.023805340752005577,
0.011753139086067677,
-0.03319589048624039,
0.027852647006511688,
-0.05048167705535889,
0.009928860701620579,
0.017634693533182144,
-0.04398206248879433,
-0.06156691163778305,
0.008264081552624702,
0.06017128750681877,
-0.0037357837427407503,
0.02898908220231533,
-0.022529343143105507,
0.020954282954335213,
0.057579416781663895,
-0.04338393732905388,
-0.10710409283638,
-0.0013221035478636622,
0.02272871695458889,
0.03026508167386055,
-0.0074566141702234745,
0.04139019176363945,
-0.02412433922290802,
0.01084598433226347,
-0.02238978073000908,
0.004610540345311165,
-0.01373691763728857,
-0.02645702473819256,
0.005447913892567158,
-0.007935113273561,
-0.010746296495199203,
0.006998052354902029,
0.02494177594780922,
-0.007471567485481501,
0.0031899954192340374,
0.0007476551691070199,
-0.035668134689331055,
-0.06679052859544754,
-0.008508316241204739,
-0.05658254399895668,
0.0531134232878685,
0.014903259463608265,
0.01954868994653225,
-0.004119580145925283,
-0.050162676721811295,
0.0018516926793381572,
-0.08286012709140778,
-0.0588952898979187,
0.01206216961145401,
-0.1139625832438469,
0.029627082869410515,
-0.028709959238767624,
0.11284608393907547,
0.008393675088882446,
-0.0056871636770665646,
0.007830441929399967,
-0.03315601497888565,
-0.04442068561911583,
-0.012849699705839157,
-0.02250940538942814,
-0.019339347258210182,
-0.010367484763264656,
-0.0028859488666057587,
-0.0022217819932848215,
-0.006763787008821964,
-0.02296796627342701,
0.007013005670160055,
-0.040652502328157425,
0.038898006081581116,
-0.021173594519495964,
-0.004037337843328714,
-0.04306493699550629,
0.015441571362316608,
0.07392814010381699,
0.04625493288040161,
-0.03770175948739052,
0.022529343143105507,
0.001328333979472518,
0.0568217933177948,
0.021372968330979347,
0.02932802028954029,
0.040512941777706146,
0.0010255336528643966,
0.010327610187232494,
-0.06599302589893341,
-0.0074964892119169235,
-0.011005484499037266,
0.00016791088273748755,
0.03349495306611061,
0.01584031991660595,
-0.04872718080878258,
0.020555533468723297,
0.002492183819413185,
-0.04832842946052551,
0.005692148115485907,
0.031820204108953476,
0.003553854301571846,
0.021891342476010323,
-0.00893198698759079,
0.05323304608464241,
0.03120214305818081,
0.0189206600189209,
0.017255881801247597,
-0.042506687343120575,
-0.008034801110625267,
0.013527574017643929,
0.010287734679877758,
0.0013457792811095715,
0.01682722568511963,
-0.008966878056526184,
-0.02053559571504593,
0.018482035025954247,
0.030763518065214157,
-0.0013719472335651517,
-0.036126699298620224,
0.02282840386033058,
0.0333753265440464,
-0.009709548205137253,
0.033355388790369034,
0.07333002239465714,
0.049923427402973175,
-0.04049300402402878,
-0.0003613666631281376,
-0.03231864050030708,
0.00999365746974945,
0.0419883131980896,
-0.014943134970963001,
-0.010068423114717007,
0.05869591608643532,
-0.010357515886425972,
0.05403054505586624,
0.009455345571041107,
-0.032777201384305954,
-0.01235126331448555,
0.007820473052561283,
-0.0010791156673803926,
0.007441661320626736,
0.038000818341970444,
-0.03365445137023926,
-0.04374281316995621,
-0.05706104263663292,
0.024562964215874672,
0.06403915584087372,
-0.02041597105562687,
-0.001064785523340106,
0.003070370526984334,
0.01153382658958435,
0.05925416573882103,
-0.045497309416532516,
0.0020548056345432997,
-0.03931669145822525,
0.05694141611456871,
0.008986814878880978,
-0.012680231593549252,
-0.03491051122546196,
0.024981651455163956,
-0.044939059764146805,
-0.006100866012275219,
0.033455077558755875,
0.05383117124438286,
0.015062759630382061,
0.02217046730220318,
-0.035528574138879776,
0.018352441489696503,
0.032159142196178436,
-0.00222676619887352,
-0.036146633327007294,
-0.03522951155900955,
0.024064527824521065,
-0.041469939053058624,
-0.026736149564385414,
-0.041788939386606216,
0.0013619784731417894,
0.08780462294816971,
0.062324535101652145,
-0.03213920444250107,
-0.013368074782192707,
-0.0074964892119169235,
0.0795106366276741,
-0.02725452370941639,
0.06950202584266663,
-0.06906340271234512,
-0.011832889169454575,
0.021193532273173332,
0.020695095881819725,
-0.019857721403241158,
-0.016438445076346397,
-0.04210793972015381,
0.01781412959098816,
-0.00976437609642744,
-0.011115140281617641,
-0.03106258064508438,
-0.042267438024282455,
0.010247860103845596,
-0.013637229800224304,
0.01438488531857729,
0.04848793148994446,
-0.033096201717853546,
-0.009510173462331295,
0.054907795041799545,
0.0600915364921093,
-0.00028893756098113954,
0.00418936088681221,
-0.044580183923244476,
0.009216096252202988,
-0.052674800157547,
0.01194254495203495,
-0.00010007675882661715,
-0.04063256457448006,
0.019897596910595894,
0.02412433922290802,
0.03347501531243324,
-0.035309262573719025,
0.029746707528829575,
0.002259164582937956,
0.020715031772851944,
0.0005975011154077947,
-0.008543206378817558,
-0.02691558562219143,
-0.008762518875300884,
0.019618472084403038,
0.009265939705073833,
0.02191128022968769,
0.043782684952020645,
0.023825278505682945,
0.04533781111240387,
-0.005049164406955242,
-0.03812044486403465,
-0.09147311747074127,
0.030564142391085625,
-0.037761569023132324,
0.014664010144770145,
-0.004623000975698233,
-0.05159817636013031,
-0.017086412757635117,
0.014943134970963001,
0.07711813598871231,
-0.007521410938352346,
0.07117677479982376,
0.032976578921079636,
0.0333753265440464,
0.0284108966588974,
-0.006404912564903498,
-0.03431238606572151,
-0.019179847091436386,
-0.01444469764828682,
-0.05650279298424721,
-0.027174772694706917,
-0.01937922276556492,
-0.10335584729909897,
-0.007675926201045513,
-0.010656578466296196,
-0.017943723127245903,
-0.01002854760736227,
0.03516969829797745,
-0.08238162845373154,
0.05319317430257797,
0.036246322095394135,
0.024263901636004448,
0.023127466440200806,
0.00883728452026844,
0.054110296070575714,
0.002229258418083191,
-0.04031356796622276,
0.01530200894922018,
-0.03281707689166069,
-0.029866332188248634,
-0.06399928033351898,
0.02908877097070217,
-0.02980651892721653,
0.008936971426010132,
0.04800942912697792,
-0.0085481908172369,
0.015900133177638054,
-0.04382256045937538,
0.10542934387922287,
0.014863384887576103,
0.0014978025574237108,
-0.016029726713895798,
0.002422402845695615,
-0.0037681821268051863,
0.010586797259747982,
-0.023247091099619865,
-0.05092030018568039,
-0.02143278159201145,
-0.0019750557839870453,
-0.02853052131831646,
0.05000317841768265,
-0.01017309445887804,
-0.02655671164393425,
0.016049664467573166,
0.035668134689331055,
-0.08222213387489319,
-0.015760570764541626,
-0.007925144396722317,
-0.017993567511439323,
0.03471113741397858,
-0.052674800157547,
0.008393675088882446,
-0.003651049453765154,
-0.03816032037138939,
-0.0403534397482872,
0.03760207071900368,
0.06878427416086197,
-0.046693556010723114,
0.05969278886914253,
-0.011673389002680779,
0.0033420186955481768,
-0.005781866610050201,
-0.038439445197582245,
-0.018870815634727478,
0.06224478408694267,
-0.04150981456041336,
-0.046573933213949203,
0.05207667499780655,
-0.0064946310594677925,
0.0390973798930645,
-0.03014545701444149,
0.032777201384305954,
-0.02701527252793312,
0.0310825165361166,
0.06324166059494019,
0.000017542637579026632,
-0.024862026795744896,
0.04143006354570389,
0.007471567485481501,
0.04473968595266342,
0.0630422830581665,
0.010586797259747982,
0.0005261623300611973,
-0.07807513326406479,
-0.013427887111902237,
-0.041788939386606216,
-0.018182974308729172,
-0.026496898382902145,
-0.017315693199634552,
-0.010397391393780708,
-0.03696407005190849,
-0.01699669472873211,
0.005652273073792458,
-0.013956230133771896,
-0.00011713264393620193,
0.031222078949213028,
-0.022310029715299606,
0.04661380872130394,
-0.0056423041969537735,
0.033455077558755875,
0.0290090199559927,
0.03142145276069641,
0.0026068242732435465,
-0.013986135832965374,
0.013457792811095715,
-0.038559067994356155,
0.011394265107810497,
0.0473315566778183,
0.01646835170686245,
-0.01834247261285782,
-0.0021270790603011847,
-0.00629027234390378,
0.059094663709402084,
-0.06926277279853821,
0.04027369245886803,
-0.01978793926537037,
-0.05115954950451851,
-0.009430423378944397,
-0.03323576599359512,
-0.021632155403494835,
-0.001300920033827424,
0.004186869133263826,
0.0419883131980896,
0.042745936661958694,
-0.01612941361963749,
-0.006449772045016289,
-0.009794282726943493,
0.0048323445953428745,
0.06535503268241882,
-0.07217364758253098,
-0.0006897118873894215,
-0.047012556344270706,
-0.06583353132009506,
-0.037741631269454956,
0.07572251558303833,
-0.0020523134153336287,
0.017315693199634552,
-0.024064527824521065,
-0.056662291288375854,
-0.009769360534846783,
-0.007361911237239838,
0.017056506127119064,
-0.022688841447234154,
0.02193121798336506,
-0.021313156932592392,
0.0013831621035933495,
-0.055705294013023376,
0.036126699298620224,
0.0337541401386261,
0.004007431678473949,
-0.004563188645988703,
0.054110296070575714,
-0.06212516129016876,
-0.010347547940909863,
0.028809646144509315,
0.01096560899168253,
0.009335720911622047,
0.03142145276069641,
0.02284834161400795,
0.055705294013023376,
0.02609814889729023,
0.05012280121445656,
0.01861162856221199,
0.04031356796622276,
0.0005389347788877785,
0.0313018299639225,
0.0027090038638561964,
-0.01450450997799635,
0.012131950818002224,
0.02250940538942814,
0.008702706545591354,
0.00330712809227407,
-0.0424269400537014,
0.0025744258891791105,
0.061846036463975906,
-0.004368798341602087,
-0.05997191369533539,
0.028151709586381912,
-0.005268476903438568,
-0.0006984345382079482,
0.0021358015947043896,
0.017704473808407784,
-0.04003444314002991,
0.03969550505280495,
-0.01687707006931305,
-0.015202322043478489,
-0.0162789449095726,
0.001416806597262621,
0.03407313674688339,
0.015022884123027325,
0.007197427097707987,
-0.05662241950631142,
-0.08230187743902206,
-0.00502673489972949,
0.008159410208463669,
-0.04426118731498718,
-0.06029091402888298,
0.0036385885905474424,
0.03170057758688927,
-0.019110066816210747,
-0.03931669145822525,
-0.05139879882335663,
-0.03170057758688927,
0.046454306691884995,
-0.03281707689166069,
0.03540894761681557,
0.010108297690749168,
-0.04848793148994446,
0.027972271665930748,
-0.007660973351448774,
-0.017196068540215492,
0.030344830825924873,
0.004959445912390947,
-0.05829716473817825,
0.052355799823999405,
0.026038337498903275,
-0.005991210229694843,
-0.030643893405795097,
0.007082786411046982,
0.006230459548532963,
-0.0004987483262084424,
-0.03568807244300842,
0.009898954071104527,
-0.03772169351577759,
0.027812771499156952,
0.030663831159472466,
-0.0473315566778183,
0.037861257791519165,
0.02446327731013298,
-0.08597037196159363,
-0.0284108966588974,
0.023705653846263885,
0.001137681887485087,
0.027174772694706917,
0.04158956557512283,
-0.00878744013607502,
0.04932530224323273,
-0.012012326158583164,
0.010477141477167606,
0.009973719716072083,
-0.03812044486403465,
0.022808466106653214,
-0.01594000868499279,
-0.05307354778051376,
-0.016029726713895798,
0.01849200390279293,
-0.07484526932239532,
0.0313018299639225,
-0.011045359075069427,
0.042945314198732376,
0.05115954950451851,
-0.00033893701038323343,
0.05251529812812805,
-0.016069602221250534,
-0.03598713502287865,
-0.08325888216495514,
0.07899226248264313,
0.07344964146614075,
0.017196068540215492,
-0.02135303243994713,
-0.0006897118873894215,
0.014135667122900486,
-0.011773076839745045,
-0.026516836136579514,
0.05825728923082352,
0.004266618750989437,
0.014474604278802872,
0.04593593254685402,
0.029308082535862923,
-0.01912003569304943,
0.04410168528556824
] |
9,633 | asyncclick.termui | echo_via_pager | This function takes a text and shows it via an environment specific
pager on stdout.
.. versionchanged:: 3.0
Added the `color` flag.
:param text_or_generator: the text to page, or alternatively, a
generator emitting the text to page.
:param color: controls if the pager supports ANSI colors or not. The
default is autodetection.
| def echo_via_pager(
text_or_generator: t.Union[t.Iterable[str], t.Callable[[], t.Iterable[str]], str],
color: t.Optional[bool] = None,
) -> None:
"""This function takes a text and shows it via an environment specific
pager on stdout.
.. versionchanged:: 3.0
Added the `color` flag.
:param text_or_generator: the text to page, or alternatively, a
generator emitting the text to page.
:param color: controls if the pager supports ANSI colors or not. The
default is autodetection.
"""
color = resolve_color_default(color)
if inspect.isgeneratorfunction(text_or_generator):
i = t.cast(t.Callable[[], t.Iterable[str]], text_or_generator)()
elif isinstance(text_or_generator, str):
i = [text_or_generator]
else:
i = iter(t.cast(t.Iterable[str], text_or_generator))
# convert every element of i to a text type if necessary
text_generator = (el if isinstance(el, str) else str(el) for el in i)
from ._termui_impl import pager
return pager(itertools.chain(text_generator, "\n"), color)
| (text_or_generator: Union[Iterable[str], Callable[[], Iterable[str]], str], color: Optional[bool] = None) -> NoneType | [
0.025939997285604477,
-0.05475040152668953,
-0.03692551329731941,
-0.001081386930309236,
0.07689862698316574,
0.03487015888094902,
0.00590471550822258,
-0.03049367107450962,
0.007729729171842337,
0.019153781235218048,
0.04964745044708252,
0.018852565437555313,
0.03208834305405617,
0.021244574338197708,
-0.017408501356840134,
-0.002613489981740713,
0.016894662752747536,
-0.006303383503109217,
0.021900160238146782,
0.021155981346964836,
0.03201746940612793,
-0.032442715018987656,
0.048619773238897324,
-0.03820125013589859,
-0.030192455276846886,
0.006223650183528662,
-0.048903271555900574,
-0.021598944440484047,
-0.04089447483420372,
0.030157018452882767,
0.052163489162921906,
-0.10687845200300217,
-0.025461595505475998,
0.0520571768283844,
0.04231196269392967,
0.06541698426008224,
-0.011756275780498981,
0.08242681622505188,
-0.012527033686637878,
-0.032354120165109634,
-0.023547988384962082,
0.018285570666193962,
-0.03270849213004112,
0.005638937000185251,
-0.024398479610681534,
-0.01819697767496109,
0.07796173542737961,
-0.023831486701965332,
-0.033045146614313126,
-0.025408439338207245,
0.07484326511621475,
0.006888096686452627,
0.00819484144449234,
-0.019260093569755554,
0.051844555884599686,
0.018710816279053688,
-0.0108260503038764,
0.024274449795484543,
-0.015317710116505623,
-0.062369391322135925,
-0.03386019915342331,
-0.007007697131484747,
0.012349847704172134,
0.04925764352083206,
0.013802771456539631,
-0.03386019915342331,
0.04784015566110611,
0.002498319372534752,
-0.008615657687187195,
-0.03616361692547798,
-0.02896987274289131,
0.03322233259677887,
-0.037776004523038864,
0.010657723993062973,
-0.028048507869243622,
0.0293242447078228,
-0.05673488229513168,
0.033080581575632095,
0.031273286789655685,
-0.007729729171842337,
0.06357425451278687,
0.023672018200159073,
0.013412962667644024,
0.026825925335288048,
0.04156778007745743,
-0.04844258725643158,
-0.06158977374434471,
-0.008216990157961845,
0.045217808336019516,
0.035171374678611755,
0.014316610060632229,
-0.03572065010666847,
0.0018227986292913556,
0.05060425400733948,
-0.03162765875458717,
0.020500393584370613,
0.007455090992152691,
0.025195816531777382,
-0.054573215544223785,
0.03150362893939018,
-0.0005584119935519993,
0.02719801478087902,
0.05765624716877937,
-0.019472716376185417,
0.01784260757267475,
-0.02590455859899521,
-0.040008544921875,
0.06105821579694748,
0.070697121322155,
-0.03106066584587097,
-0.015813829377293587,
0.015034212730824947,
0.04776928201317787,
-0.08689189702272415,
0.009922402910888195,
0.024876881390810013,
-0.0007220319821499288,
-0.026258930563926697,
-0.0022967704571783543,
-0.01779831014573574,
-0.038343001157045364,
-0.03084804303944111,
0.03256674483418465,
0.002127336570993066,
-0.053722724318504333,
0.006059753242880106,
-0.007508246693760157,
-0.04061097651720047,
-0.019667619839310646,
0.028332004323601723,
0.0559198297560215,
-0.0012126150541007519,
0.011773994192481041,
-0.04149690642952919,
0.06343250721693039,
0.02104966901242733,
-0.09107348322868347,
0.05269504711031914,
-0.046812478452920914,
0.007087430916726589,
-0.02450479194521904,
-0.005510477349162102,
-0.07519763708114624,
0.016132764518260956,
-0.021421758458018303,
-0.03628764674067497,
0.041319720447063446,
0.004863749258220196,
0.0734257847070694,
0.06488543003797531,
0.003669960191473365,
0.01980936899781227,
0.0405755415558815,
0.0680747702717781,
0.02964317984879017,
0.02228996902704239,
-0.0009246882400475442,
0.0038183534052222967,
0.004445148166269064,
0.04939939081668854,
0.032442715018987656,
-0.022945556789636612,
-0.014972197823226452,
0.012881405651569366,
-0.040150295943021774,
0.02989123947918415,
-0.01658458821475506,
0.027251170948147774,
0.019454997032880783,
-0.0020464956760406494,
0.04486343637108803,
-0.05078143998980522,
0.005767396651208401,
-0.01724017597734928,
-0.0051162391901016235,
0.02273293398320675,
-0.0144052030518651,
0.031113820150494576,
-0.019773932173848152,
-0.047095976769924164,
-0.03109610266983509,
-0.006702051497995853,
-0.02735748328268528,
0.0029169206973165274,
0.021439477801322937,
-0.025815965607762337,
0.05195086821913719,
0.013882504776120186,
-0.008185982704162598,
-0.017585687339305878,
-0.05195086821913719,
0.02298099361360073,
0.025497032329440117,
0.0008311119745485485,
-0.024912318214774132,
-0.008509346283972263,
-0.025886841118335724,
-0.07874135673046112,
0.037173572927713394,
-0.01667318120598793,
-0.039193492382764816,
0.027853602543473244,
0.01952587254345417,
0.028580063953995705,
0.01908290758728981,
0.050072699785232544,
0.014121705666184425,
0.057018380612134933,
-0.023122742772102356,
-0.02843831665813923,
-0.029271088540554047,
-0.07076799869537354,
0.03816581517457962,
0.025603342801332474,
-0.0005312804714776576,
0.05673488229513168,
-0.017931200563907623,
-0.03157450258731842,
-0.01524683553725481,
-0.004061983898282051,
0.04723772406578064,
-0.032194655388593674,
0.015362005680799484,
0.014263453893363476,
0.07112237066030502,
-0.048017341643571854,
-0.02808394469320774,
-0.016690898686647415,
-0.005249128211289644,
0.0063565392047166824,
0.0427372083067894,
-0.0024739562068134546,
-0.01638968288898468,
0.048619773238897324,
0.031202413141727448,
-0.07980447262525558,
0.0035481450613588095,
-0.006715340539813042,
-0.019384123384952545,
0.01823241636157036,
-0.03541943430900574,
0.05946354195475578,
0.0058648488484323025,
-0.010985517874360085,
-0.019313247874379158,
0.028101662173867226,
-0.015858126804232597,
-0.02836744114756584,
-0.013634445145726204,
-0.019029751420021057,
-0.011525934562087059,
-0.004566963296383619,
-0.009337689727544785,
-0.06991750746965408,
-0.007375357672572136,
0.04592655226588249,
0.04847802594304085,
0.03915805369615555,
0.03724445030093193,
0.05326204374432564,
-0.04631635919213295,
-0.010524834506213665,
-0.08675014972686768,
0.01703641191124916,
0.04054010286927223,
-0.018338726833462715,
-0.022201376035809517,
-0.016690898686647415,
-0.04029204323887825,
0.015308850444853306,
-0.009133926592767239,
0.044402752071619034,
0.005271276459097862,
-0.004633408039808273,
-0.0064096953719854355,
0.03749250993132591,
-0.03791775554418564,
0.00006928240327397361,
-0.012509315274655819,
-0.028456034138798714,
0.006542584393173456,
-0.00589585630223155,
-0.04245370998978615,
-0.055140212178230286,
0.025443876162171364,
-0.024239012971520424,
0.006560303270816803,
0.015858126804232597,
0.027853602543473244,
-0.028385160490870476,
0.06158977374434471,
-0.0006832726066932082,
0.03166309744119644,
-0.03541943430900574,
-0.04231196269392967,
0.021829286590218544,
-0.026382960379123688,
0.001851591281592846,
-0.053935348987579346,
-0.07119324058294296,
0.0323895588517189,
-0.08979775011539459,
0.001829443033784628,
0.031716253608465195,
-0.012677641585469246,
0.10000364482402802,
0.03873280808329582,
-0.012305551208555698,
-0.0023698597215116024,
-0.07034274935722351,
-0.023388521745800972,
-0.005226979963481426,
-0.035206813365221024,
0.023512551560997963,
-0.06162520870566368,
0.01626565307378769,
-0.008810562081634998,
-0.001219259575009346,
-0.01404197234660387,
-0.013554710894823074,
-0.058187805116176605,
0.00033443814027123153,
0.005510477349162102,
-0.036783766001462936,
0.023884641006588936,
0.01879940927028656,
-0.030422795563936234,
0.0073354910127818584,
0.04117797315120697,
0.062369391322135925,
-0.037067264318466187,
0.03343495354056358,
0.005838271230459213,
0.09879878163337708,
-0.02583368495106697,
0.004566963296383619,
-0.016044171527028084,
0.03201746940612793,
-0.01860450580716133,
-0.07108692824840546,
-0.005164965055882931,
-0.00427682138979435,
-0.027942195534706116,
-0.0028416167479008436,
0.054006222635507584,
0.05145474523305893,
0.02843831665813923,
0.007712010759860277,
0.06112908944487572,
0.007025415543466806,
-0.0010276774410158396,
0.05202174186706543,
0.02213050238788128,
-0.04146147146821022,
-0.0189234409481287,
0.030440514907240868,
0.04266633465886116,
0.016779491677880287,
-0.034604381769895554,
-0.022325407713651657,
-0.02824341133236885,
0.04277264326810837,
0.038874559104442596,
0.01265106350183487,
-0.04206390306353569,
0.0175591092556715,
-0.006374258082360029,
0.01895887777209282,
0.05992422625422478,
0.03972505033016205,
0.012943420559167862,
0.0027818165253847837,
0.05446690693497658,
0.03417913615703583,
-0.013067450374364853,
-0.001862665405496955,
-0.05553001910448074,
-0.016522573307156563,
0.022360844537615776,
0.04447362944483757,
0.043127015233039856,
0.03813037648797035,
0.08200157433748245,
0.0066444664262235165,
-0.002799535170197487,
-0.010143885388970375,
-0.03703182563185692,
0.0576208122074604,
-0.025798248127102852,
-0.037421632558107376,
-0.041922152042388916,
-0.0019357545534148812,
-0.0054617514833807945,
-0.011773994192481041,
-0.002914705779403448,
-0.0301215797662735,
-0.017045270651578903,
0.060916468501091,
-0.07356753200292587,
-0.006480569485574961,
0.04574936628341675,
0.046706169843673706,
-0.028456034138798714,
-0.014839308336377144,
-0.012659923173487186,
-0.01345725916326046,
0.01598215661942959,
-0.02771185338497162,
-0.02342395856976509,
0.05655769631266594,
0.004221451003104448,
-0.019915679469704628,
0.000687702267896384,
-0.02748151309788227,
-0.025195816531777382,
-0.05471496656537056,
-0.00807524099946022,
0.019827088341116905,
0.027215734124183655,
-0.00300329877063632,
0.031999748200178146,
-0.016460558399558067,
-0.007884766906499863,
0.001572523731738329,
0.06850001960992813,
-0.00938198622316122,
-0.0025448305532336235,
-0.02469969540834427,
0.028332004323601723,
-0.035330843180418015,
0.008651095442473888,
-0.07803261280059814,
0.010267915204167366,
0.01667318120598793,
0.048300839960575104,
0.03169853240251541,
0.004232524894177914,
0.025018630549311638,
0.0320529043674469,
-0.042524583637714386,
0.07852873206138611,
-0.05028532072901726,
0.004352125339210033,
0.03201746940612793,
0.013147183693945408,
0.013421822339296341,
0.021155981346964836,
-0.0019302174914628267,
-0.03373616933822632,
-0.004321117885410786,
0.02647155337035656,
0.027658699080348015,
-0.02888127975165844,
-0.01767428033053875,
0.04054010286927223,
-0.01808180846273899,
0.08561616390943527,
0.037669695913791656,
-0.05404165759682655,
0.10879205912351608,
0.03106066584587097,
0.034568943083286285,
0.006002167705446482,
-0.04117797315120697,
-0.004130643326789141,
0.020748453214764595,
-0.009833809919655323,
0.02875724993646145,
-0.025355283170938492,
-0.009266816079616547,
0.019472716376185417,
-0.0037962051574140787,
-0.042205650359392166,
0.029271088540554047,
-0.006586880888789892,
0.048017341643571854,
-0.010622287169098854,
-0.007397505920380354,
-0.05226980149745941,
0.029111621901392937,
-0.023884641006588936,
0.008318872191011906,
0.03809494152665138,
-0.020518111065030098,
-0.06548786163330078,
-0.0012070779921486974,
0.0768277496099472,
0.017904622480273247,
0.03524224832653999,
0.028544627130031586,
-0.005692092701792717,
-0.011800572276115417,
-0.0009523734916001558,
-0.008690961636602879,
-0.04089447483420372,
-0.013262354768812656,
0.036854639649391174,
0.02345939539372921,
0.022360844537615776,
-0.026223493739962578,
-0.0020619994029402733,
0.041674092411994934,
0.0849074199795723,
-0.037386197596788406,
0.04904501885175705,
-0.03763425722718239,
0.07590638101100922,
0.03378932550549507,
-0.0378468818962574,
0.031149258837103844,
0.05680575594305992,
0.010693160817027092,
-0.007521535735577345,
-0.049789201468229294,
-0.021847005933523178,
-0.044048380106687546,
0.01724017597734928,
-0.05014357343316078,
0.017771732062101364,
-0.011906883679330349,
0.02555018849670887,
0.050639692693948746,
-0.06609029322862625,
-0.008814992383122444,
-0.0049169049598276615,
0.0064451321959495544,
-0.0035924415569752455,
0.036252208054065704,
-0.004159436095505953,
-0.004965631291270256,
-0.006369828246533871,
0.026081744581460953,
0.01102981436997652,
-0.028066225349903107,
0.02776500955224037,
-0.00650714710354805,
-0.0739927738904953,
0.06676359474658966,
0.08256857097148895,
0.02590455859899521,
-0.0175591092556715,
0.023831486701965332,
-0.03157450258731842,
-0.03277936577796936,
0.04784015566110611,
-0.019915679469704628,
0.014706418849527836,
-0.0007131727179512382,
0.014972197823226452,
0.023069586604833603,
-0.04879695922136307,
-0.05553001910448074,
0.0008554750238545239,
0.07867047935724258,
-0.05772712454199791,
0.08462392538785934,
-0.04124884679913521,
0.01142848189920187,
0.015769533812999725,
-0.02257346734404564,
0.0493285171687603,
0.022608904168009758,
-0.049222204834222794,
-0.0136964600533247,
0.08313556015491486,
-0.02349483221769333,
-0.04032748192548752,
-0.00673748878762126,
-0.012783952988684177,
-0.029625460505485535,
0.037067264318466187,
-0.04426100477576256,
-0.035295404493808746,
0.027091704308986664,
0.02836744114756584,
-0.007982218638062477,
0.012500455603003502,
0.020659860223531723,
0.043091580271720886,
0.036571141332387924,
-0.03752794489264488,
0.009160504676401615,
0.023813767358660698,
-0.04507606104016304,
-0.010046432726085186,
-0.026772769168019295,
-0.029147058725357056,
-0.02101423218846321,
-0.038874559104442596,
-0.021067388355731964,
-0.01835644617676735,
0.026737332344055176,
-0.05163193121552467,
-0.013226917944848537,
0.04684791713953018,
-0.04096534848213196,
0.0180729478597641,
0.02859778329730034,
-0.016699759289622307,
-0.0020464956760406494,
-0.0580814965069294,
0.026329806074500084,
0.004039835650473833,
-0.049789201468229294,
0.049115896224975586,
-0.011756275780498981,
-0.008420753292739391,
-0.0216521006077528,
0.0304582342505455,
0.01936640404164791,
-0.046458110213279724,
0.02462882176041603,
-0.01844503916800022,
0.000538755499292165,
-0.03852018713951111,
-0.022626623511314392,
-0.0630781352519989,
-0.004779586102813482,
0.030192455276846886,
-0.0005528749898076057,
-0.020961076021194458,
0.06616116315126419,
-0.021191418170928955,
0.033523548394441605,
-0.02205962873995304,
0.04337507486343384,
-0.00695897126570344,
-0.05354553833603859,
0.0309720728546381,
-0.057585373520851135,
0.004201517440378666,
0.05744362622499466,
0.017302190884947777,
-0.016983255743980408,
-0.048229966312646866,
-0.10000364482402802,
-0.010259055532515049,
0.033523548394441605,
-0.022555748000741005,
-0.07356753200292587,
-0.03873280808329582,
-0.013687600381672382,
-0.06247570365667343,
-0.018099525943398476,
0.023069586604833603,
-0.011508215218782425,
-0.018409600481390953,
0.037457071244716644,
0.04904501885175705,
-0.0032845812384039164,
0.0417095310986042,
0.041390594094991684,
-0.0007646673475392163,
0.020500393584370613,
-0.12204555422067642,
0.020872483029961586,
0.025780528783798218,
-0.015937859192490578,
0.019330967217683792,
0.009266816079616547,
0.015574629418551922,
0.0020365288946777582,
0.0471668504178524,
-0.007884766906499863,
0.03515365719795227,
0.009922402910888195,
-0.029147058725357056,
-0.014210298657417297,
0.0005622879834845662,
-0.00649828789755702,
-0.00710071949288249,
0.009612328372895718,
0.025195816531777382,
-0.06470824033021927,
0.010338789783418179,
0.022520311176776886,
0.022803807631134987,
-0.03487015888094902,
-0.07009468972682953,
-0.006259087473154068,
-0.009231378324329853,
-0.04231196269392967,
-0.045536741614341736,
-0.008704250678420067,
-0.057904310524463654,
0.05822324380278587,
-0.018817128613591194,
-0.005656655877828598,
0.03873280808329582,
-0.08965599536895752,
-0.026241213083267212,
0.011951180174946785,
-0.015459458343684673,
-0.046139173209667206,
-0.011862587183713913,
0.013280073180794716,
-0.048265404999256134,
-0.07498501986265182,
-0.008456191048026085,
0.005599070340394974,
0.009390845894813538,
-0.010551412589848042,
0.0027928906492888927,
-0.047025103121995926,
-0.04089447483420372,
-0.05000182241201401,
-0.03607502207159996,
0.0042280955240130424,
0.05772712454199791,
-0.039547864347696304,
-0.045536741614341736,
0.0016090682474896312,
0.031875718384981155,
-0.015317710116505623,
-0.04993094876408577,
-0.02152807079255581,
0.003047595266252756,
0.05627420172095299,
-0.020199177786707878,
0.008123967796564102,
0.0034949893597513437,
0.03547259047627449,
-0.010710879229009151,
-0.018099525943398476,
0.005408595781773329,
0.02973177097737789,
-0.08646665513515472,
0.014006534591317177,
0.026577865704894066,
0.03166309744119644,
-0.0047928751446306705,
0.007060852833092213,
-0.0045713926665484905,
-0.05861305072903633,
-0.07101605832576752,
-0.019437279552221298,
-0.0020985440351068974,
-0.04720228910446167,
0.020535830408334732,
-0.05000182241201401,
-0.02209506556391716,
-0.005067512858659029,
-0.044367317110300064,
-0.026967674493789673,
0.05379359796643257,
-0.03249587118625641,
0.032921116799116135,
0.0007663284195587039,
0.03573836758732796,
0.016841506585478783,
-0.009736358188092709,
-0.0171072855591774,
-0.007215890567749739,
0.04624548554420471,
0.05602613836526871,
0.0290407482534647,
-0.0012923487229272723,
0.011844868771731853,
-0.04231196269392967,
0.01046281959861517,
-0.07590638101100922,
0.059357233345508575,
-0.002777386922389269,
-0.07867047935724258,
0.07257529348134995,
-0.01611504517495632,
-0.019596746191382408,
0.04592655226588249
] |
9,634 | asyncclick.termui | edit | Edits the given text in the defined editor. If an editor is given
(should be the full path to the executable but the regular operating
system search path is used for finding the executable) it overrides
the detected editor. Optionally, some environment variables can be
used. If the editor is closed without changes, `None` is returned. In
case a file is edited directly the return value is always `None` and
`require_save` and `extension` are ignored.
If the editor cannot be opened a :exc:`UsageError` is raised.
Note for Windows: to simplify cross-platform usage, the newlines are
automatically converted from POSIX to Windows and vice versa. As such,
the message here will have ``\n`` as newline markers.
:param text: the text to edit.
:param editor: optionally the editor to use. Defaults to automatic
detection.
:param env: environment variables to forward to the editor.
:param require_save: if this is true, then not saving in the editor
will make the return value become `None`.
:param extension: the extension to tell the editor about. This defaults
to `.txt` but changing this might change syntax
highlighting.
:param filename: if provided it will edit this file instead of the
provided text contents. It will not use a temporary
file as an indirection in that case.
| def edit(
text: t.Optional[t.AnyStr] = None,
editor: t.Optional[str] = None,
env: t.Optional[t.Mapping[str, str]] = None,
require_save: bool = True,
extension: str = ".txt",
filename: t.Optional[str] = None,
) -> t.Optional[t.AnyStr]:
r"""Edits the given text in the defined editor. If an editor is given
(should be the full path to the executable but the regular operating
system search path is used for finding the executable) it overrides
the detected editor. Optionally, some environment variables can be
used. If the editor is closed without changes, `None` is returned. In
case a file is edited directly the return value is always `None` and
`require_save` and `extension` are ignored.
If the editor cannot be opened a :exc:`UsageError` is raised.
Note for Windows: to simplify cross-platform usage, the newlines are
automatically converted from POSIX to Windows and vice versa. As such,
the message here will have ``\n`` as newline markers.
:param text: the text to edit.
:param editor: optionally the editor to use. Defaults to automatic
detection.
:param env: environment variables to forward to the editor.
:param require_save: if this is true, then not saving in the editor
will make the return value become `None`.
:param extension: the extension to tell the editor about. This defaults
to `.txt` but changing this might change syntax
highlighting.
:param filename: if provided it will edit this file instead of the
provided text contents. It will not use a temporary
file as an indirection in that case.
"""
from ._termui_impl import Editor
ed = Editor(editor=editor, env=env, require_save=require_save, extension=extension)
if filename is None:
return ed.edit(text)
ed.edit_file(filename)
return None
| (text: Optional[~AnyStr] = None, editor: Optional[str] = None, env: Optional[Mapping[str, str]] = None, require_save: bool = True, extension: str = '.txt', filename: Optional[str] = None) -> Optional[~AnyStr] | [
0.07193822413682938,
-0.04226232320070267,
0.0316506028175354,
0.019783934578299522,
0.06315356492996216,
-0.038276009261608124,
0.03189052268862724,
0.02652006968855858,
0.009578229859471321,
0.003967860247939825,
0.03240726515650749,
-0.02971281297504902,
-0.05145299434661865,
0.04115501418709755,
-0.028051847591996193,
0.008166410028934479,
-0.02480373904109001,
-0.04639628157019615,
0.003128150012344122,
0.0051905144937336445,
0.02777501940727234,
-0.08149799704551697,
-0.007391292601823807,
0.0024291607551276684,
0.03401286527514458,
0.004597642458975315,
0.0620831698179245,
0.016923384740948677,
0.037685442715883255,
-0.044070929288864136,
0.045842625200748444,
-0.09190671145915985,
-0.020651327446103096,
0.03093085251748562,
-0.036947235465049744,
0.0003137377789244056,
-0.026944538578391075,
-0.0002438100054860115,
0.07795460522174835,
-0.07433739304542542,
-0.0367073193192482,
0.03990006074309349,
0.02268139459192753,
0.03672577440738678,
-0.056029874831438065,
0.005961017683148384,
0.0133430827409029,
-0.04742977023124695,
-0.028107212856411934,
-0.006519286427646875,
0.02162945084273815,
-0.04558425396680832,
0.024360815063118935,
0.013518407009541988,
-0.03726097568869591,
-0.01114691887050867,
-0.00856319535523653,
0.009495181031525135,
0.03755625709891319,
-0.073783740401268,
0.0059241075068712234,
-0.024250084534287453,
0.016849564388394356,
0.0330531969666481,
-0.04137647524476051,
-0.004378487356007099,
-0.007091396488249302,
-0.022515298798680305,
0.026501614600419998,
-0.006759203504770994,
0.048500169068574905,
0.010713222436606884,
0.020651327446103096,
-0.04890618100762367,
0.04237305372953415,
0.025578856468200684,
-0.039567869156599045,
0.06813646107912064,
0.019765479490160942,
-0.017883053049445152,
0.08533667027950287,
0.002410705666989088,
0.031281501054763794,
0.08939681202173233,
-0.03242572024464607,
-0.009130692109465599,
0.027664288878440857,
-0.01041793916374445,
0.0037671602331101894,
-0.024840649217367172,
0.04957056790590286,
-0.04366491734981537,
-0.027036814019083977,
-0.07035107910633087,
0.006666927598416805,
-0.052855588495731354,
0.014837951399385929,
-0.048131063580513,
-0.028790054842829704,
0.014690309762954712,
-0.02480373904109001,
0.020632872357964516,
0.030008094385266304,
0.010491760447621346,
0.04676538333296776,
-0.014524213038384914,
0.02033758908510208,
0.019544018432497978,
0.044735316187143326,
-0.044735316187143326,
-0.013666048645973206,
-0.014404254965484142,
-0.03748243674635887,
-0.025652676820755005,
0.01771695725619793,
0.0203191339969635,
-0.0378330834209919,
0.005504252389073372,
-0.006546969059854746,
-0.0017855369951575994,
-0.029602080583572388,
0.0163881853222847,
-0.06643858551979065,
0.01040871161967516,
-0.00459302868694067,
-0.015022502280771732,
0.02288440242409706,
0.021260347217321396,
0.03552618995308876,
-0.06204625964164734,
-0.039494048804044724,
-0.036467403173446655,
0.038312919437885284,
-0.026317061856389046,
0.016305137425661087,
0.01487486157566309,
0.007921879179775715,
-0.006699224002659321,
-0.04322199150919914,
-0.007677347864955664,
-0.022607574239373207,
0.028181033208966255,
-0.02783038653433323,
-0.02269984968006611,
-0.031964343041181564,
-0.017190983518958092,
0.010657856240868568,
-0.000898535770829767,
0.06326429545879364,
0.08548431843519211,
0.034640341997146606,
0.015659205615520477,
-0.06204625964164734,
0.00986428465694189,
0.0178369153290987,
-0.004353111609816551,
0.0002686091174837202,
0.0014937147498130798,
-0.03419741615653038,
0.09264491498470306,
0.0000703963523847051,
0.045215148478746414,
0.027701199054718018,
0.03613520786166191,
0.012060449458658695,
0.06806264072656631,
-0.04942292720079422,
0.00122726836707443,
-0.005462728440761566,
-0.034474246203899384,
-0.006689996458590031,
-0.027498193085193634,
-0.0659218430519104,
-0.00506594218313694,
0.020743602886795998,
0.03759316727519035,
-0.007562003098428249,
0.006754589732736349,
-0.042852889746427536,
0.01843670755624771,
0.014367344789206982,
-0.0003526666259858757,
-0.05311395972967148,
0.044107839465141296,
0.024250084534287453,
-0.008018768392503262,
-0.03310856223106384,
-0.002784422831609845,
0.026852261275053024,
-0.016609646379947662,
0.02223847061395645,
-0.026815351098775864,
0.0073728375136852264,
-0.006602334789931774,
-0.07245496660470963,
-0.019931575283408165,
0.0002513074141461402,
-0.03860820084810257,
0.01899036206305027,
-0.01362913753837347,
0.009928877465426922,
-0.008936912752687931,
0.07692112028598785,
0.050973162055015564,
-0.021168071776628494,
0.008798498660326004,
0.030598660930991173,
-0.07788078486919403,
0.05326160043478012,
0.05551312863826752,
0.00477988738566637,
-0.046507012099027634,
-0.01906418427824974,
0.02788575179874897,
0.06651240587234497,
0.05363070219755173,
-0.03733479604125023,
0.045990265905857086,
-0.012531056068837643,
0.07020343840122223,
0.020762057974934578,
0.03161369264125824,
0.057247914373874664,
0.05883505940437317,
0.06536819040775299,
-0.025154387578368187,
0.04122883453965187,
-0.010860863141715527,
-0.024360815063118935,
0.017209438607096672,
-0.003967860247939825,
-0.010768587701022625,
-0.07920955866575241,
-0.040785908699035645,
0.043443452566862106,
-0.022349203005433083,
-0.03209352865815163,
-0.040933553129434586,
0.03986315056681633,
0.023124318569898605,
0.023179683834314346,
0.03423432633280754,
0.04576880484819412,
0.03532318025827408,
-0.011110007762908936,
-0.0019747023470699787,
-0.009393678046762943,
0.005361224990338087,
-0.02604023553431034,
-0.08304823189973831,
0.04137647524476051,
0.045990265905857086,
-0.019544018432497978,
0.0191010944545269,
-0.028365585952997208,
0.07533397525548935,
0.052228111773729324,
0.00246376427821815,
-0.009075326845049858,
0.049201466143131256,
-0.025615766644477844,
-0.029915818944573402,
-0.004733749199658632,
0.0025352779775857925,
0.05566077306866646,
-0.04875854030251503,
-0.03674422949552536,
0.043406542390584946,
0.02858704701066017,
-0.00788496807217598,
-0.061012767255306244,
0.10608027875423431,
0.029417529702186584,
-0.016323592513799667,
0.0037233291659504175,
-0.015105551108717918,
0.03240726515650749,
0.010491760447621346,
0.03997388482093811,
-0.03607984259724617,
-0.005356611218303442,
0.02290285751223564,
-0.032499540597200394,
0.01709870807826519,
-0.03473261743783951,
-0.06621712446212769,
-0.04133956506848335,
0.004913687240332365,
-0.040859729051589966,
0.041561026126146317,
0.04455076530575752,
0.05890887975692749,
0.01838134229183197,
-0.008332505822181702,
-0.004043987486511469,
-0.006546969059854746,
-0.059757817536592484,
-0.023124318569898605,
0.017550859600305557,
-0.03805454447865486,
0.0378330834209919,
0.0191010944545269,
-0.04514132812619209,
-0.028919240459799767,
0.043332722038030624,
0.010925456881523132,
-0.040748998522758484,
-0.0580599419772625,
0.07555543631315231,
0.031226135790348053,
0.06640167534351349,
-0.0430743508040905,
-0.015105551108717918,
0.08924917131662369,
-0.024600733071565628,
0.034492701292037964,
-0.004251608159393072,
-0.06315356492996216,
-0.01548388134688139,
-0.02605869062244892,
0.02984199859201908,
-0.038977302610874176,
-0.007146761752665043,
0.021131161600351334,
-0.02786729671061039,
-0.04067517817020416,
0.004350804723799229,
-0.0013230044860392809,
0.014108971692621708,
-0.023327326402068138,
0.01362913753837347,
0.02790420688688755,
0.034640341997146606,
-0.018049148842692375,
-0.07367300987243652,
-0.025486581027507782,
0.02220156043767929,
-0.052301932126283646,
0.05706336349248886,
0.04259451478719711,
0.006883775815367699,
0.019544018432497978,
-0.015124006196856499,
-0.01546542625874281,
0.003432660363614559,
0.01646200567483902,
0.058687418699264526,
0.00346957053989172,
0.032684095203876495,
-0.03096776269376278,
-0.04728212580084801,
-0.01039948407560587,
0.005901038181036711,
-0.06846865266561508,
-0.10157721489667892,
-0.03351457417011261,
0.04060135781764984,
-0.014321206137537956,
-0.01893499679863453,
-0.11589842289686203,
-0.11146918684244156,
0.001682880218140781,
-0.02655697986483574,
0.042151592671871185,
-0.03157678246498108,
-0.024231629446148872,
-0.013749096542596817,
0.01588989607989788,
0.04543660953640938,
-0.030857032164931297,
0.07415284216403961,
-0.008729292079806328,
-0.01581607386469841,
0.06869011372327805,
0.019783934578299522,
-0.012180407531559467,
-0.056694261729717255,
-0.024471545591950417,
0.012743290513753891,
0.010740905068814754,
0.05839213728904724,
-0.021924734115600586,
0.01649891585111618,
0.02033758908510208,
-0.027535103261470795,
0.004479990806430578,
-0.0027751950547099113,
0.00601176917552948,
0.03624593839049339,
-0.06522054970264435,
-0.02976817823946476,
0.01654505357146263,
0.024360815063118935,
-0.0025675746146589518,
-0.015087096020579338,
0.03630130738019943,
-0.02731364034116268,
0.00585490046069026,
-0.05455346032977104,
0.015373150818049908,
-0.037002600729465485,
0.12202553451061249,
0.06625403463840485,
-0.003956325352191925,
0.015363923273980618,
0.07588762789964676,
-0.0272029098123312,
0.02783038653433323,
-0.013841371983289719,
0.045288968831300735,
-0.04432930052280426,
0.024859104305505753,
0.03340384364128113,
-0.04886927083134651,
-0.016932612285017967,
-0.0007630056352354586,
0.010657856240868568,
-0.051563724875450134,
0.00440616998821497,
-0.046580832451581955,
0.004378487356007099,
-0.0038848118856549263,
-0.04008461534976959,
0.03045101836323738,
-0.0007883814978413284,
-0.01895345188677311,
0.01546542625874281,
-0.026962993666529655,
0.024932924658060074,
-0.023548787459731102,
-0.04126574471592903,
-0.06584802269935608,
-0.05329851061105728,
-0.019857754930853844,
-0.03233344480395317,
-0.007382065057754517,
0.0012157338205724955,
-0.01300166267901659,
-0.0012791735352948308,
-0.008041837252676487,
0.018095286563038826,
-0.0027428986504673958,
-0.024453090503811836,
-0.01969165913760662,
-0.01831674948334694,
0.04506750777363777,
0.042151592671871185,
0.02777501940727234,
-0.01203276589512825,
-0.017209438607096672,
0.0927925631403923,
0.07179058343172073,
-0.01359222736209631,
0.03368067368865013,
0.02081742323935032,
-0.0659218430519104,
0.007169830612838268,
0.031170770525932312,
-0.01548388134688139,
0.08821567893028259,
-0.020688237622380257,
0.041450295597314835,
0.032075073570013046,
-0.08378644287586212,
-0.00017676585412118584,
-0.039604779332876205,
-0.007340541109442711,
-0.013204669579863548,
0.006394714117050171,
0.013149303384125233,
0.01143297366797924,
-0.021131161600351334,
-0.0037187153939157724,
0.008111043833196163,
0.003448808565735817,
0.04694993421435356,
0.049164555966854095,
-0.029435984790325165,
-0.052892498672008514,
-0.01652659848332405,
0.007940334267914295,
0.020060762763023376,
-0.05555003881454468,
-0.004228539299219847,
0.010971594601869583,
-0.019876210018992424,
0.001031758962199092,
-0.02033758908510208,
0.02476682886481285,
0.021943189203739166,
-0.002349572954699397,
-0.019488651305437088,
-0.005614983383566141,
-0.02102043107151985,
0.005098238587379456,
0.009365995414555073,
-0.04137647524476051,
0.028642412275075912,
-0.011073097586631775,
-0.05495947599411011,
0.025708042085170746,
-0.04576880484819412,
0.09441661089658737,
0.015354695729911327,
-0.02469300851225853,
0.0177446398884058,
-0.054073628038167953,
0.0297312680631876,
0.024563821032643318,
-0.016932612285017967,
0.021943189203739166,
0.006510058883577585,
0.04864780977368355,
-0.036522768437862396,
0.056657351553440094,
-0.040896642953157425,
0.016600418835878372,
0.00427698390558362,
0.018778128549456596,
-0.0033496120013296604,
-0.03930949792265892,
-0.026390882208943367,
0.02148181013762951,
-0.022976677864789963,
0.026907628402113914,
-0.0191010944545269,
-0.01956247352063656,
-0.02338269166648388,
0.0328686460852623,
-0.000005816800694447011,
-0.005416590254753828,
0.05872432887554169,
0.06551583111286163,
-0.04990275949239731,
0.0146072618663311,
-0.03993697091937065,
0.017375536262989044,
0.02476682886481285,
-0.005338156130164862,
0.05027186498045921,
-0.024323904886841774,
0.0018962679896503687,
-0.05385216698050499,
0.022570664063096046,
0.030893942341208458,
-0.027018358930945396,
0.02974972315132618,
-0.0683579221367836,
0.0420408621430397,
0.017578542232513428,
-0.043443452566862106,
0.005370452534407377,
0.057284824550151825,
0.04890618100762367,
-0.07773314416408539,
0.038386739790439606,
0.02157408557832241,
0.006666927598416805,
0.0016851871041581035,
-0.02840249612927437,
0.006883775815367699,
0.002724443329498172,
-0.003774080891162157,
-0.00919528491795063,
0.059204161167144775,
0.02733209729194641,
0.04835252836346626,
-0.024600733071565628,
0.011866670101881027,
-0.013509179465472698,
-0.018242929130792618,
0.031299956142902374,
0.04539969936013222,
-0.0072759478352963924,
0.004429239314049482,
0.046617742627859116,
0.021832458674907684,
0.031336866319179535,
-0.025726497173309326,
0.05761701986193657,
-0.05340924113988876,
-0.011968173086643219,
-0.03176133707165718,
-0.008235616609454155,
0.013121620751917362,
0.04163484647870064,
-0.023050498217344284,
-0.0030566363129764795,
-0.05259721353650093,
-0.011968173086643219,
0.017449356615543365,
0.061197321861982346,
0.005172059405595064,
-0.032001253217458725,
0.059314895421266556,
0.014072061516344547,
-0.003900960087776184,
-0.001848976593464613,
-0.01592680625617504,
-0.03244417533278465,
-0.05566077306866646,
-0.04133956506848335,
-0.030174192041158676,
-0.015105551108717918,
0.0005265488871373236,
-0.002724443329498172,
-0.006842251867055893,
0.01303857285529375,
0.012632559053599834,
0.007921879179775715,
-0.0314660519361496,
-0.0011528709437698126,
-0.0066254036501049995,
-0.06259991228580475,
0.017467811703681946,
0.011165373958647251,
0.01900881715118885,
0.01361990999430418,
0.037611622363328934,
0.012835565954446793,
-0.013176986016333103,
0.028217943385243416,
0.011516021564602852,
-0.03414205089211464,
-0.007155989296734333,
0.04802033305168152,
-0.019138004630804062,
-0.008147954009473324,
-0.028107212856411934,
-0.06071748584508896,
-0.00253297109156847,
0.00027899016276933253,
0.01575148105621338,
-0.021241892129182816,
0.03041410818696022,
-0.06071748584508896,
0.006888389587402344,
0.01176516618579626,
0.0316506028175354,
-0.01911954954266548,
0.0007203280692920089,
-0.021703271195292473,
0.013112393207848072,
-0.032075073570013046,
-0.01577916368842125,
0.08437700569629669,
-0.02528357319533825,
0.01906418427824974,
0.026741530746221542,
-0.003949404694139957,
-0.01704334281384945,
-0.015290102921426296,
0.005684190429747105,
-0.00587335554882884,
0.011949717998504639,
0.06625403463840485,
0.011008504778146744,
-0.05023495480418205,
0.05259721353650093,
0.04872163012623787,
0.014441165141761303,
0.0005709566175937653,
0.020577507093548775,
0.014727219939231873,
-0.03045101836323738,
-0.018722763285040855,
-0.02472991868853569,
-0.02984199859201908,
0.03759316727519035,
0.011562159284949303,
0.022552208974957466,
-0.025800317525863647,
0.041524115949869156,
0.02338269166648388,
0.07869281619787216,
0.007705030497163534,
0.017541632056236267,
0.01654505357146263,
-0.024268539622426033,
0.014634944498538971,
-0.015585385262966156,
-0.007331313565373421,
-0.014459620229899883,
-0.04554734379053116,
-0.007741940673440695,
-0.00891845766454935,
-0.007769623771309853,
0.034381967037916183,
0.04130265489220619,
-0.03541545942425728,
-0.03609829768538475,
0.003220425918698311,
-0.07810225337743759,
-0.03823909908533096,
0.045325879007577896,
-0.047872692346572876,
-0.004230846185237169,
0.005914879962801933,
-0.014210475608706474,
0.03377294912934303,
0.02910379134118557,
0.023659519851207733,
0.013047800399363041,
-0.04606408625841141,
-0.0074189756996929646,
-0.03237035498023033,
-0.081276535987854,
-0.0008460538811050355,
0.005679576192051172,
-0.09397368878126144,
-0.028993060812354088,
-0.006994506809860468,
0.03724252060055733,
0.02419471926987171,
0.0382021889090538,
-0.008683154359459877,
0.021407989785075188,
-0.026114055886864662,
0.0018501300364732742,
0.0020093058701604605,
-0.006265528034418821,
0.02079896815121174,
0.03473261743783951,
-0.0655527412891388,
0.026353972032666206,
0.018667398020625114,
-0.07699494063854218,
-0.013370765373110771,
0.016692694276571274,
-0.025006745010614395,
0.02102043107151985,
-0.01302934531122446,
-0.019544018432497978,
-0.059757817536592484,
-0.0292145237326622,
-0.030580205842852592,
0.003633360145613551,
-0.06876393407583237,
-0.020780513063073158,
0.04694993421435356,
-0.021943189203739166,
0.019396375864744186,
-0.09552392363548279,
-0.036984145641326904,
0.013822916895151138,
0.011248421855270863,
-0.017264805734157562,
-0.006749975960701704,
-0.01330617256462574,
0.06252609193325043,
-0.02795957215130329,
0.005458114668726921,
0.01485640648752451,
0.06319047510623932,
0.0367073193192482,
0.028826965019106865,
-0.014016696251928806,
0.004297745879739523,
0.02604023553431034,
0.08349115401506424,
0.008729292079806328,
0.05621442571282387,
-0.015317785553634167,
-0.08356497436761856,
0.04008461534976959,
-0.056029874831438065,
-0.03526781499385834,
0.02020840346813202
] |
9,636 | asyncclick.utils | format_filename | Format a filename as a string for display. Ensures the filename can be
displayed by replacing any invalid bytes or surrogate escapes in the name
with the replacement character ``�``.
Invalid bytes or surrogate escapes will raise an error when written to a
stream with ``errors="strict". This will typically happen with ``stdout``
when the locale is something like ``en_GB.UTF-8``.
Many scenarios *are* safe to write surrogates though, due to PEP 538 and
PEP 540, including:
- Writing to ``stderr``, which uses ``errors="backslashreplace"``.
- The system has ``LANG=C.UTF-8``, ``C``, or ``POSIX``. Python opens
stdout and stderr with ``errors="surrogateescape"``.
- None of ``LANG/LC_*`` are set. Python assumes ``LANG=C.UTF-8``.
- Python is started in UTF-8 mode with ``PYTHONUTF8=1`` or ``-X utf8``.
Python opens stdout and stderr with ``errors="surrogateescape"``.
:param filename: formats a filename for UI display. This will also convert
the filename into unicode without failing.
:param shorten: this optionally shortens the filename to strip of the
path that leads up to it.
| def format_filename(
filename: "t.Union[str, bytes, os.PathLike[str], os.PathLike[bytes]]",
shorten: bool = False,
) -> str:
"""Format a filename as a string for display. Ensures the filename can be
displayed by replacing any invalid bytes or surrogate escapes in the name
with the replacement character ``�``.
Invalid bytes or surrogate escapes will raise an error when written to a
stream with ``errors="strict". This will typically happen with ``stdout``
when the locale is something like ``en_GB.UTF-8``.
Many scenarios *are* safe to write surrogates though, due to PEP 538 and
PEP 540, including:
- Writing to ``stderr``, which uses ``errors="backslashreplace"``.
- The system has ``LANG=C.UTF-8``, ``C``, or ``POSIX``. Python opens
stdout and stderr with ``errors="surrogateescape"``.
- None of ``LANG/LC_*`` are set. Python assumes ``LANG=C.UTF-8``.
- Python is started in UTF-8 mode with ``PYTHONUTF8=1`` or ``-X utf8``.
Python opens stdout and stderr with ``errors="surrogateescape"``.
:param filename: formats a filename for UI display. This will also convert
the filename into unicode without failing.
:param shorten: this optionally shortens the filename to strip of the
path that leads up to it.
"""
if shorten:
filename = os.path.basename(filename)
else:
filename = os.fspath(filename)
if isinstance(filename, bytes):
filename = filename.decode(sys.getfilesystemencoding(), "replace")
else:
filename = filename.encode("utf-8", "surrogateescape").decode(
"utf-8", "replace"
)
return filename
| (filename: Union[str, bytes, os.PathLike[str], os.PathLike[bytes]], shorten: bool = False) -> str | [
-0.02728678099811077,
0.03364431858062744,
0.007984430529177189,
0.04388389363884926,
0.022298268973827362,
-0.0421210378408432,
0.02130431868135929,
-0.0281682088971138,
0.03133760020136833,
-0.023779820650815964,
-0.004456372000277042,
0.016475213691592216,
-0.008936186321079731,
0.06608839333057404,
0.022467054426670074,
0.021829424425959587,
-0.019485199823975563,
0.016315806657075882,
0.038163986057043076,
0.06695107370615005,
0.02747431956231594,
-0.04170845448970795,
0.011327295564115047,
-0.03066246397793293,
0.005855874624103308,
0.043208759278059006,
-0.007759385276585817,
-0.0015143693890422583,
-0.050935324281454086,
-0.0611748993396759,
0.047072041779756546,
-0.005401094909757376,
0.023854834958910942,
0.014674849808216095,
0.005115099251270294,
-0.035801004618406296,
-0.03844529390335083,
-0.0008503676508553326,
-0.10367101430892944,
-0.05753666162490845,
-0.04920997470617294,
0.006329407915472984,
0.008068823255598545,
-0.04418395459651947,
-0.012865107506513596,
0.02897462248802185,
0.0032678497955203056,
0.02081671915948391,
-0.0611748993396759,
0.044333986937999725,
0.044146448373794556,
0.022298268973827362,
-0.06485064327716827,
-0.015790700912475586,
-0.0493600033223629,
0.013652767054736614,
0.010136429220438004,
0.05104784667491913,
-0.003889069426804781,
-0.06713860481977463,
0.01613764651119709,
-0.040545716881752014,
0.026949211955070496,
-0.03919544443488121,
-0.026630397886037827,
-0.013043268583714962,
0.03512587025761604,
-0.04118334874510765,
-0.043021220713853836,
-0.016100138425827026,
0.024042373523116112,
0.025786476209759712,
-0.010905335657298565,
-0.03752635419368744,
0.052698180079460144,
0.04598432034254074,
-0.09864499419927597,
-0.035801004618406296,
-0.00582774356007576,
-0.034750793129205704,
0.05907447263598442,
-0.08356694132089615,
0.03694498911499977,
-0.019991552457213402,
0.016315806657075882,
-0.018744423985481262,
-0.029518483206629753,
-0.016428329050540924,
-0.007745319977402687,
0.020047813653945923,
0.008068823255598545,
-0.02355477400124073,
0.017234742641448975,
0.018303709104657173,
-0.020460397005081177,
-0.020085321739315987,
0.0044891913421452045,
-0.019100746139883995,
-0.028149455785751343,
-0.014065350405871868,
-0.024098634719848633,
-0.059862133115530014,
0.02355477400124073,
-0.010108298622071743,
0.0047517442144453526,
-0.018303709104657173,
0.0024286173284053802,
0.06811380386352539,
0.017300382256507874,
-0.05134790763258934,
-0.02591775357723236,
-0.09759478271007538,
0.006090296898037195,
-0.03589477390050888,
0.0681513100862503,
-0.06027471646666527,
0.029312191531062126,
0.009090905077755451,
0.021979454904794693,
-0.04298371076583862,
0.013033892028033733,
-0.01327769085764885,
-0.09541933983564377,
-0.02325471304357052,
0.018303709104657173,
-0.03831401467323303,
0.013287068344652653,
0.034994594752788544,
0.05296073481440544,
0.03240656852722168,
-0.03964553400874138,
0.10187064856290817,
0.015968861058354378,
-0.012799468822777271,
0.04257112741470337,
-0.04005811735987663,
-0.014524819329380989,
0.08386699855327606,
-0.003017017850652337,
0.08521727472543716,
0.016287676990032196,
-0.037113770842552185,
-0.0031248521991074085,
0.0009236247278749943,
0.0005324321100488305,
-0.07006420195102692,
0.03919544443488121,
-0.08889301866292953,
-0.01000515278428793,
0.06597587466239929,
0.023517265915870667,
0.04020814970135689,
0.014543572440743446,
0.0009160059853456914,
0.06650097668170929,
-0.09699466079473495,
0.014065350405871868,
-0.03512587025761604,
-0.014206004329025745,
-0.007065494544804096,
-0.005635517183691263,
0.005171360448002815,
0.00011677171278279275,
0.009104970842599869,
-0.005152606870979071,
-0.004313374403864145,
-0.02156687155365944,
0.04519665986299515,
0.031318847090005875,
0.00732335913926363,
0.04598432034254074,
-0.0021086304914206266,
-0.026067784056067467,
0.09759478271007538,
-0.015659423545002937,
0.0015448443591594696,
0.013680897653102875,
-0.00853766780346632,
0.0027474318630993366,
-0.06668851524591446,
0.015968861058354378,
-0.04680948704481125,
0.018031779676675797,
0.023648543283343315,
0.04718456417322159,
-0.030362404882907867,
0.007407751400023699,
0.006076231598854065,
0.019335169345140457,
-0.05521119013428688,
-0.008687698282301426,
0.0101926913484931,
0.014515441842377186,
-0.009090905077755451,
-0.01725349761545658,
-0.04429647698998451,
0.01745041273534298,
-0.07111441344022751,
-0.007243655622005463,
-0.05164796859025955,
-0.07013921439647675,
0.053373318165540695,
0.05378590151667595,
-0.06773872673511505,
0.02629282884299755,
0.04579678177833557,
0.03315671905875206,
-0.0014264610363170505,
-0.04002061113715172,
0.02062918059527874,
0.012227478437125683,
-0.04275866597890854,
-0.052885718643665314,
0.03557595983147621,
-0.0024567479267716408,
-0.012855730950832367,
0.009067462757229805,
0.06710109859704971,
-0.03632611408829689,
0.010014529339969158,
-0.018481871113181114,
-0.01625954546034336,
-0.003839840879663825,
0.02261708490550518,
0.019541461020708084,
0.029237175360322,
0.0418584831058979,
0.07280225306749344,
0.042158544063568115,
0.005569878965616226,
-0.001943362643942237,
-0.06473812460899353,
0.0020172058138996363,
-0.003624172182753682,
-0.020272858440876007,
0.008064134046435356,
-0.004634533077478409,
-0.022392038255929947,
0.032819151878356934,
-0.02143559418618679,
0.003007640829309821,
-0.05858687311410904,
0.008036003448069096,
0.008045380935072899,
0.03927046060562134,
-0.09917010366916656,
-0.03066246397793293,
0.025073831900954247,
-0.03788267821073532,
0.006826383527368307,
0.04152091592550278,
0.030193619430065155,
-0.030268635600805283,
0.026892950758337975,
-0.025017570704221725,
0.008673633448779583,
-0.06308778375387192,
-0.05217307433485985,
-0.01401846669614315,
0.026780428364872932,
-0.029612252488732338,
0.016878420487046242,
-0.016493968665599823,
0.0023582905996590853,
0.011674241162836552,
-0.0315251387655735,
-0.012377508915960789,
-0.017150351777672768,
0.021773163229227066,
-0.010042660869657993,
-0.010717797093093395,
0.094444140791893,
-0.017872372642159462,
0.002573959296569228,
-0.009770730510354042,
-0.004723613616079092,
0.008926809765398502,
0.001202587503939867,
0.040470704436302185,
-0.04407143220305443,
-0.03401939570903778,
-0.028937114402651787,
0.026255320757627487,
0.03484456241130829,
0.044784076511859894,
0.007351490203291178,
0.012883861549198627,
-0.044333986937999725,
-0.03520088642835617,
0.02486754022538662,
0.04099581018090248,
0.028937114402651787,
0.023085929453372955,
-0.05344833433628082,
-0.05914948880672455,
-0.03570723906159401,
0.018472494557499886,
-0.10074541717767715,
0.003537435783073306,
-0.053185779601335526,
-0.025842737406492233,
0.02237328514456749,
0.05884942784905434,
-0.00847203005105257,
-0.025073831900954247,
0.0079469233751297,
-0.05296073481440544,
-0.06672602146863937,
-0.01439354196190834,
-0.009808237664401531,
0.02661164291203022,
-0.012630685232579708,
-0.010117676109075546,
0.029087144881486893,
0.06987666338682175,
0.0654507651925087,
-0.025092585012316704,
-0.0201228279620409,
0.027343042194843292,
-0.016840914264321327,
0.018463118001818657,
0.000009015194336825516,
0.007234278600662947,
0.030699972063302994,
0.02355477400124073,
-0.047522131353616714,
-0.006268457975238562,
-0.013671521097421646,
0.01305264513939619,
0.03135635703802109,
-0.00690139876678586,
0.03626985102891922,
-0.022710852324962616,
-0.041783470660448074,
-0.09219368547201157,
0.011149134486913681,
0.05014766380190849,
0.0029396582394838333,
-0.008303245529532433,
0.04137088358402252,
0.06267520040273666,
0.03596979007124901,
0.0006892021629028022,
-0.03167517110705376,
-0.06207508221268654,
-0.0057011554017663,
0.004965068772435188,
-0.05104784667491913,
0.021923193708062172,
-0.03503210097551346,
-0.029237175360322,
-0.00020380107162054628,
-0.03833276778459549,
-0.04380888119339943,
0.012761961668729782,
-0.031637661159038544,
0.004824415314942598,
0.0560738667845726,
0.0008761541685089469,
0.023461004719138145,
-0.008800221607089043,
-0.07010170817375183,
-0.01682215929031372,
-0.04257112741470337,
0.019335169345140457,
0.004646254237741232,
0.0670635923743248,
-0.018669409677386284,
-0.09399405121803284,
0.022073224186897278,
-0.008143838495016098,
0.023779820650815964,
0.006034035701304674,
-0.05663647875189781,
-0.04133337736129761,
0.03638237342238426,
0.0070139216259121895,
-0.002749776002019644,
-0.02841200865805149,
-0.013821551576256752,
0.08206663280725479,
0.055061161518096924,
0.003612451022490859,
0.031693924218416214,
-0.026705412194132805,
-0.008448587730526924,
-0.04245860502123833,
0.00949880015105009,
-0.02940596081316471,
0.009958268143236637,
-0.006127804517745972,
-0.0010390777606517076,
0.07133945822715759,
0.03551970049738884,
0.04924748092889786,
0.006568518932908773,
-0.006099673919379711,
0.02723051980137825,
-0.0016315806424245238,
0.03439447283744812,
-0.04939751327037811,
0.008434521965682507,
-0.011486703529953957,
0.02747431956231594,
-0.02574896812438965,
0.04763465374708176,
0.04362134262919426,
0.015996992588043213,
0.007801581174135208,
0.028993377462029457,
0.04605933651328087,
-0.01243377011269331,
-0.047897208482027054,
-0.010952220298349857,
0.06121240556240082,
0.010670912452042103,
-0.11784888803958893,
-0.04354632645845413,
0.016597114503383636,
-0.024267418310046196,
-0.04287118837237358,
0.029124652966856956,
-0.051197875291109085,
0.045084137469530106,
-0.009015889838337898,
-0.03248158469796181,
0.012452524155378342,
0.03385061025619507,
0.06672602146863937,
-0.001568286563269794,
0.008739271201193333,
-0.029312191531062126,
0.006334096193313599,
-0.05003514140844345,
0.010295837186276913,
-0.03482580929994583,
0.0049978881143033504,
0.001613999018445611,
0.007539027836173773,
-0.001957427943125367,
0.04718456417322159,
-0.01868816278874874,
-0.011721125803887844,
-0.01112100388854742,
-0.03957052156329155,
-0.027211764827370644,
-0.005912135820835829,
0.030249880626797676,
-0.004672040697187185,
-0.011664864607155323,
0.009826991707086563,
0.018660031259059906,
0.01429977361112833,
-0.03028738871216774,
0.021529363468289375,
-0.050822801887989044,
-0.05637392774224281,
-0.020179089158773422,
-0.04815975949168205,
0.027868147939443588,
-0.0418584831058979,
0.034431979060173035,
0.01868816278874874,
0.038107722997665405,
0.004522010218352079,
0.0017991927452385426,
0.05461106821894646,
0.04590930417180061,
-0.022223254665732384,
0.006676353048533201,
0.006380980834364891,
-0.05333581194281578,
-0.038970399647951126,
0.05989963933825493,
0.006906087044626474,
0.03690747916698456,
-0.01024895254522562,
0.038163986057043076,
0.007140509784221649,
0.018153678625822067,
0.016090761870145798,
-0.014871763996779919,
-0.023385990411043167,
0.040358178317546844,
0.054498545825481415,
0.03628860414028168,
0.04628438130021095,
0.029330944642424583,
-0.000367750326404348,
0.027436811476945877,
0.017056582495570183,
0.020854227244853973,
-0.03670118749141693,
0.011646110564470291,
0.006727925967425108,
0.05052274093031883,
-0.007126444485038519,
0.021285563707351685,
-0.00179567642044276,
-0.010905335657298565,
0.032819151878356934,
-0.09849496185779572,
0.005818367004394531,
0.012733831070363522,
0.013596505858004093,
0.042346082627773285,
0.020029058679938316,
0.02111678011715412,
0.03167517110705376,
-0.026761673390865326,
0.009170608595013618,
0.04898492991924286,
0.037863925099372864,
0.025017570704221725,
0.03900790587067604,
0.00008761541539570317,
0.005246375687420368,
0.008978382684290409,
0.06462559849023819,
0.0297810360789299,
-0.04609684273600578,
-0.014965533278882504,
-0.02741805650293827,
-0.008021938614547253,
-0.044896598905324936,
-0.013877812772989273,
0.04512164369225502,
0.008575175888836384,
-0.02792440913617611,
0.004421208519488573,
-0.00690139876678586,
0.03439447283744812,
0.006226262077689171,
-0.025148848071694374,
0.003455387894064188,
-0.006123116239905357,
-0.06796377897262573,
0.03559471294283867,
-0.022485807538032532,
0.014187250286340714,
0.03418818116188049,
0.035050854086875916,
-0.037807662039995193,
-0.03173143044114113,
0.027080489322543144,
-0.047822192311286926,
0.018097417429089546,
-0.039420489221811295,
0.05378590151667595,
-0.020516658201813698,
-0.025261370465159416,
-0.020854227244853973,
0.030568696558475494,
0.06136243790388107,
-0.024886293336749077,
0.029143406078219414,
0.02081671915948391,
0.022485807538032532,
-0.013455851934850216,
0.002061746083199978,
-0.015818830579519272,
0.010473998263478279,
0.04245860502123833,
-0.057874228805303574,
-0.0075437165796756744,
0.010380228981375694,
0.013193299062550068,
0.007750008255243301,
-0.022654591128230095,
-0.013877812772989273,
0.007046740967780352,
0.06886395812034607,
0.057874228805303574,
-0.007937545888125896,
-0.0407707653939724,
0.0265553817152977,
0.07317733019590378,
0.005940266419202089,
0.01576256938278675,
0.0418584831058979,
0.03608231246471405,
-0.01950395293533802,
-0.051197875291109085,
0.02143559418618679,
-0.007103002164512873,
0.025598937645554543,
0.038482800126075745,
0.05228559672832489,
-0.04193349927663803,
-0.023010913282632828,
-0.008893989957869053,
-0.020235352218151093,
0.059787116944789886,
-0.009648830629885197,
0.03109380230307579,
-0.016343938186764717,
0.000619461468886584,
-0.004196162801235914,
0.02679918147623539,
0.03595103695988655,
0.0049791340716183186,
-0.028243225067853928,
0.011449195444583893,
0.03396313264966011,
0.0547235906124115,
0.052885718643665314,
0.029762282967567444,
-0.016053253784775734,
-0.07276474684476852,
-0.006957660429179668,
-0.014824879355728626,
0.046396903693675995,
-0.030006082728505135,
-0.029087144881486893,
-0.03214401379227638,
0.04553423076868057,
0.00033698236802592874,
-0.0786159336566925,
-0.0675887018442154,
-0.019597722217440605,
-0.023517265915870667,
0.07479015737771988,
0.0009658207418397069,
0.007960988208651543,
0.02921842224895954,
-0.01218059379607439,
0.010230198502540588,
0.0066247801296412945,
-0.040733255445957184,
-0.05802426114678383,
-0.02055416628718376,
-0.01775985024869442,
-0.01621266081929207,
0.0140841044485569,
-0.0101926913484931,
-0.050710279494524,
-0.012114955112338066,
0.01969149149954319,
-0.016681505367159843,
-0.007098313886672258,
0.07160200923681259,
-0.07118942588567734,
0.02342349849641323,
0.016878420487046242,
0.0281682088971138,
0.07047678530216217,
-0.027886902913451195,
-0.03441322594881058,
0.011918040923774242,
-0.017337888479232788,
0.006681041792035103,
0.07126444578170776,
-0.026517875492572784,
-0.06646347045898438,
0.04354632645845413,
0.009695715270936489,
0.017150351777672768,
-0.09106846153736115,
0.026780428364872932,
0.04812225326895714,
0.10547138005495071,
-0.049997635185718536,
0.018303709104657173,
0.05089781805872917,
-0.02773687243461609,
-0.016465837135910988,
-0.0011310885893180966,
-0.05247313529253006,
-0.05228559672832489,
-0.01056776661425829,
-0.0046743848361074924,
0.011017858050763607,
0.004062542226165533,
-0.0320502445101738,
0.06770122051239014,
0.007271786220371723,
0.013765290379524231,
0.07494018971920013,
-0.003743727458640933,
-0.0458717979490757,
0.03808896988630295,
-0.010436490178108215,
0.01720661297440529,
-0.06132492795586586,
-0.007778138853609562,
-0.0070139216259121895,
-0.027024228125810623,
-0.0023090618196874857,
0.004646254237741232,
-0.0029044949915260077,
0.0088189747184515,
-0.0015764913987368345,
-0.07584036886692047,
0.00101622159127146,
-0.03428194671869278,
-0.02111678011715412,
0.06908900290727615,
0.01963523030281067,
-0.005171360448002815,
-0.04260863736271858,
0.003155326936393976,
-0.020291613414883614,
0.035238392651081085,
-0.003457732032984495,
-0.02149185538291931,
0.037807662039995193,
-0.020291613414883614,
0.01863190159201622,
0.02873082272708416,
-0.04062073305249214,
0.010305213741958141,
-0.006798252929002047,
0.0013010449474677444,
0.0014698291197419167,
-0.006141869816929102,
-0.04669696465134621,
-0.03912042826414108,
-0.02361103519797325,
0.07208961248397827,
-0.0009054569527506828,
-0.0009429645724594593,
0.012536915950477123,
0.010661535896360874,
0.033119212836027145,
-0.008050069212913513,
0.002859954722225666,
-0.03291292116045952,
0.020535411313176155,
-0.03807021677494049,
0.005602698307484388,
0.02167939394712448,
0.06451307237148285,
-0.060799822211265564,
-0.012508785352110863,
0.02479252591729164,
-0.006085608620196581,
0.015575031749904156,
0.03351304307579994,
0.05146043002605438,
0.03009985014796257,
0.025092585012316704,
0.017150351777672768,
-0.07846590131521225,
-0.04268364980816841,
0.031862709671258926,
0.02124805748462677,
0.041033316403627396,
0.009451915509998798,
-0.02124805748462677,
0.047709669917821884,
-0.00800318457186222,
0.0013995023909956217,
-0.07662802934646606,
0.027624348178505898,
0.08889301866292953,
-0.013680897653102875,
-0.02623656764626503,
0.05367337912321091,
0.021660640835762024,
-0.04118334874510765,
-0.06263769418001175,
0.010436490178108215,
-0.03463827073574066,
-0.004233670420944691,
-0.043658848851919174,
0.03079374134540558,
-0.02929343655705452,
0.003612451022490859
] |
9,638 | asyncclick.utils | get_app_dir | Returns the config folder for the application. The default behavior
is to return whatever is most appropriate for the operating system.
To give you an idea, for an app called ``"Foo Bar"``, something like
the following folders could be returned:
Mac OS X:
``~/Library/Application Support/Foo Bar``
Mac OS X (POSIX):
``~/.foo-bar``
Unix:
``~/.config/foo-bar``
Unix (POSIX):
``~/.foo-bar``
Windows (roaming):
``C:\Users\<user>\AppData\Roaming\Foo Bar``
Windows (not roaming):
``C:\Users\<user>\AppData\Local\Foo Bar``
.. versionadded:: 2.0
:param app_name: the application name. This should be properly capitalized
and can contain whitespace.
:param roaming: controls if the folder should be roaming or not on Windows.
Has no effect otherwise.
:param force_posix: if this is set to `True` then on any POSIX system the
folder will be stored in the home folder with a leading
dot instead of the XDG config home or darwin's
application support folder.
| def get_app_dir(app_name: str, roaming: bool = True, force_posix: bool = False) -> str:
r"""Returns the config folder for the application. The default behavior
is to return whatever is most appropriate for the operating system.
To give you an idea, for an app called ``"Foo Bar"``, something like
the following folders could be returned:
Mac OS X:
``~/Library/Application Support/Foo Bar``
Mac OS X (POSIX):
``~/.foo-bar``
Unix:
``~/.config/foo-bar``
Unix (POSIX):
``~/.foo-bar``
Windows (roaming):
``C:\Users\<user>\AppData\Roaming\Foo Bar``
Windows (not roaming):
``C:\Users\<user>\AppData\Local\Foo Bar``
.. versionadded:: 2.0
:param app_name: the application name. This should be properly capitalized
and can contain whitespace.
:param roaming: controls if the folder should be roaming or not on Windows.
Has no effect otherwise.
:param force_posix: if this is set to `True` then on any POSIX system the
folder will be stored in the home folder with a leading
dot instead of the XDG config home or darwin's
application support folder.
"""
if WIN:
key = "APPDATA" if roaming else "LOCALAPPDATA"
folder = os.environ.get(key)
if folder is None:
folder = os.path.expanduser("~")
return os.path.join(folder, app_name)
if force_posix:
return os.path.join(os.path.expanduser(f"~/.{_posixify(app_name)}"))
if sys.platform == "darwin":
return os.path.join(
os.path.expanduser("~/Library/Application Support"), app_name
)
return os.path.join(
os.environ.get("XDG_CONFIG_HOME", os.path.expanduser("~/.config")),
_posixify(app_name),
)
| (app_name: str, roaming: bool = True, force_posix: bool = False) -> str | [
-0.0011180179426446557,
0.0111449109390378,
-0.0581604465842247,
-0.0324472077190876,
0.013411513529717922,
-0.0297761932015419,
-0.018913431093096733,
-0.04078003019094467,
0.0690702348947525,
-0.03293626755475998,
-0.015217270702123642,
-0.052818413823843,
-0.00855383649468422,
0.03863569349050522,
0.04811592027544975,
-0.01664682850241661,
0.020446443930268288,
0.006136754993349314,
0.027462566271424294,
0.019299035891890526,
0.08705256879329681,
-0.033669859170913696,
-0.00990345235913992,
-0.06643683463335037,
0.0010592368198558688,
0.005144528578966856,
0.018838191404938698,
0.047589242458343506,
-0.0460844412446022,
-0.0024946732446551323,
-0.008944143541157246,
0.01640230044722557,
0.07922761887311935,
-0.005506620742380619,
-0.01099443156272173,
-0.015602875500917435,
-0.012085409834980965,
0.0017246396746486425,
-0.036133963614702225,
-0.07644374668598175,
-0.008271686732769012,
-0.04085526987910271,
0.02377581037580967,
0.0030354599002748728,
0.03487369790673256,
0.026315156370401382,
-0.021217653527855873,
0.02789519540965557,
-0.0014377875486388803,
0.06673779338598251,
-0.02507369965314865,
-0.029249513521790504,
-0.05864950641989708,
0.02655968628823757,
0.02610824815928936,
0.03002072311937809,
0.007796735502779484,
-0.061358142644166946,
0.019082721322774887,
0.004989346489310265,
0.011859689839184284,
0.014399036765098572,
0.07396082580089569,
-0.030190011486411095,
-0.024340109899640083,
-0.01263089943677187,
-0.05296889320015907,
-0.02750018611550331,
-0.035287514328956604,
0.010646446608006954,
-0.002783876610919833,
0.03991477191448212,
-0.006512954365462065,
-0.06647446006536484,
0.025995386764407158,
0.01946832612156868,
0.0072747585363686085,
0.03703684359788895,
-0.013552588410675526,
0.03289864957332611,
-0.024735119193792343,
0.020126674324274063,
-0.0175591129809618,
0.003620920469984412,
-0.052291736006736755,
0.07839997857809067,
-0.052291736006736755,
0.026540877297520638,
0.05018501728773117,
-0.08171053975820541,
0.08592396974563599,
0.015170246362686157,
0.026164676994085312,
0.06967215240001678,
-0.013242223300039768,
-0.006696351803839207,
-0.029757382348179817,
-0.009019384160637856,
0.006710459012538195,
-0.018480801954865456,
-0.016091935336589813,
0.023023411631584167,
-0.00559596810489893,
-0.041344329714775085,
0.020596925169229507,
-0.06726447492837906,
0.013326868414878845,
0.030284062027931213,
0.045444902032613754,
-0.02586371824145317,
-0.03647254407405853,
-0.02704874612390995,
-0.03999001160264015,
-0.00011609282228164375,
-0.00377140031196177,
0.08110862225294113,
-0.012414584867656231,
-0.039801910519599915,
0.011784450151026249,
0.022327441722154617,
-0.011680995114147663,
0.04382724687457085,
0.05172743648290634,
-0.024057960137724876,
0.014116887003183365,
0.0352310873568058,
0.03336889669299126,
0.0017540303524583578,
-0.010909786447882652,
0.022158151492476463,
0.05469941347837448,
0.013101148419082165,
-0.009437905624508858,
-0.09781187772750854,
0.0742994099855423,
0.01171861495822668,
0.041833389550447464,
0.038165442645549774,
0.018875811249017715,
0.05488751083612442,
0.04126909002661705,
-0.03002072311937809,
0.021368132904171944,
0.04676160216331482,
0.03904950991272926,
0.013947597704827785,
-0.008817176334559917,
0.03953856974840164,
0.03874855116009712,
0.03735661506652832,
0.04209672659635544,
0.02486678957939148,
0.01387235801666975,
0.024340109899640083,
-0.006461226847022772,
0.018762951716780663,
0.0007694456144236028,
0.00042528181802481413,
-0.0202019140124321,
0.01773780770599842,
-0.006893856450915337,
-0.055602289736270905,
0.02413319982588291,
-0.027970435097813606,
-0.02804567478597164,
-0.013486753217875957,
-0.0007812018156982958,
0.023023411631584167,
0.02274126186966896,
-0.011069671250879765,
-0.00167526351287961,
-0.03353818878531456,
-0.029456423595547676,
-0.07663184404373169,
-0.03669826313853264,
0.02650325745344162,
-0.07166600972414017,
-0.03163838014006615,
0.025600377470254898,
-0.030190011486411095,
0.004215785767883062,
0.003444576868787408,
-0.0015118519077077508,
-0.01980690471827984,
-0.009169863536953926,
0.08757925033569336,
-0.03333127871155739,
0.06049288436770439,
0.056354690343141556,
0.07602992653846741,
-0.041193850338459015,
0.000849388015922159,
0.020935503765940666,
-0.012019574642181396,
0.022854121401906013,
-0.026315156370401382,
0.013138768263161182,
0.049319759011268616,
-0.030190011486411095,
-0.00824817456305027,
-0.04830402135848999,
0.03620920330286026,
-0.026465637609362602,
0.011116696521639824,
0.0077638179063797,
-0.0379021018743515,
-0.03521227464079857,
-0.03363223746418953,
0.0016070774290710688,
0.00807888526469469,
0.06391630321741104,
-0.038259491324424744,
0.008403357118368149,
0.0024782144464552402,
0.010176197625696659,
0.02659730613231659,
0.01749327778816223,
0.03493012487888336,
-0.006282532121986151,
0.030039532110095024,
-0.10518538951873779,
-0.05330747365951538,
0.01798233762383461,
0.018809976056218147,
0.013881762512028217,
-0.040253348648548126,
-0.0018269189167767763,
-0.04676160216331482,
0.06150862202048302,
0.06034240499138832,
-0.005106908734887838,
-0.03897427022457123,
0.021480992436408997,
-0.036829933524131775,
0.05368367210030556,
-0.025844907388091087,
0.053382713347673416,
-0.05379653349518776,
-0.017333393916487694,
0.01525489054620266,
-0.01533013116568327,
-0.033161990344524384,
0.019825715571641922,
0.05191553384065628,
0.07080075144767761,
-0.025393469259142876,
0.04796544089913368,
0.008299902081489563,
0.04006525129079819,
0.006776294205337763,
-0.005356140900403261,
0.06173434481024742,
-0.020672164857387543,
-0.027387326583266258,
0.014474277384579182,
-0.06000382453203201,
-0.07572896778583527,
0.049959298223257065,
0.011445870622992516,
0.06369058042764664,
0.05925142765045166,
-0.00535143818706274,
-0.031920529901981354,
-0.03718732297420502,
-0.05962762609124184,
-0.004406237043440342,
0.022948171943426132,
0.002077326877042651,
-0.005826390348374844,
0.040704790502786636,
0.06485679745674133,
0.0365665927529335,
0.008389249444007874,
-0.044955842196941376,
-0.004961131140589714,
0.02789519540965557,
0.02189481258392334,
0.011003836058080196,
0.0366230234503746,
-0.017935313284397125,
-0.04582110419869423,
-0.0001222648425027728,
0.0035104118287563324,
-0.006348367314785719,
-0.00794251263141632,
-0.03976428881287575,
-0.05048597604036331,
-0.03654778376221657,
0.020690973848104477,
0.043225325644016266,
0.029305944219231606,
-0.083817258477211,
-0.03436582535505295,
-0.014163912273943424,
0.01713588833808899,
-0.028892124071717262,
0.03726256266236305,
-0.034158919006586075,
-0.011850285343825817,
-0.0566556490957737,
-0.009118136018514633,
0.09337272495031357,
-0.05093741789460182,
-0.0002651030954439193,
0.020239533856511116,
0.004434451926499605,
0.010147982276976109,
-0.054962750524282455,
0.03660421445965767,
0.03323723003268242,
-0.020333584398031235,
-0.060116685926914215,
0.05985334515571594,
0.01937427558004856,
-0.007768520154058933,
0.025750858709216118,
0.007820247672498226,
-0.03178885951638222,
0.02674778737127781,
-0.022365061566233635,
0.00920278113335371,
0.04563300311565399,
-0.07384796440601349,
-0.056843750178813934,
-0.0026804215740412474,
-0.005896927788853645,
-0.020540494471788406,
0.07542800903320312,
0.02923070266842842,
0.04224720597267151,
-0.05296889320015907,
0.0018410264747217298,
-0.007688577752560377,
0.03842878341674805,
0.04804068058729172,
0.008991168811917305,
0.026672545820474625,
-0.021180033683776855,
0.00579817546531558,
-0.045106325298547745,
0.037431854754686356,
-0.014530707150697708,
-0.03556966409087181,
-0.028403064236044884,
0.027387326583266258,
0.03451630845665932,
-0.014812856912612915,
0.0595523864030838,
0.018001148477196693,
-0.020841453224420547,
0.010712281800806522,
-0.010016312822699547,
-0.04717542231082916,
-0.049470238387584686,
-0.00438977824524045,
-0.02456582896411419,
-0.023061031475663185,
-0.007378213107585907,
-0.014681186527013779,
0.036039914935827255,
-0.025581568479537964,
-0.04269864782691002,
0.006338961888104677,
0.03675469383597374,
-0.04296198487281799,
0.01986333541572094,
-0.07166600972414017,
0.015217270702123642,
-0.027669476345181465,
0.013994622975587845,
-0.030585022643208504,
-0.01655277982354164,
0.05631706863641739,
-0.023493660613894463,
0.060304783284664154,
-0.007919000461697578,
-0.01508560124784708,
-0.014521301724016666,
-0.03690517321228981,
-0.002652206690981984,
-0.008083587512373924,
0.027556614950299263,
0.059815727174282074,
0.03538156673312187,
0.012076005339622498,
-0.03592705354094505,
0.004904701374471188,
-0.010843951255083084,
0.051840294152498245,
-0.017512088641524315,
-0.053871773183345795,
0.053570814430713654,
0.02665373682975769,
0.010486561805009842,
-0.08705256879329681,
-0.029644522815942764,
0.01709826849400997,
0.021236464381217957,
0.0018081089947372675,
-0.008986466564238071,
0.0581604465842247,
-0.010147982276976109,
0.07298270612955093,
-0.0005163926398381591,
-0.003975958563387394,
0.06891975551843643,
0.024396538734436035,
-0.07121457159519196,
-0.038710933178663254,
-0.02407676912844181,
0.0008629076764918864,
-0.03011477179825306,
0.0015118519077077508,
-0.015621685422956944,
0.017972933128476143,
0.00970594771206379,
-0.042134348303079605,
0.01564989984035492,
0.07572896778583527,
-0.0010733442613855004,
-0.04326294735074043,
-0.05770900845527649,
-0.007114873733371496,
0.02847830392420292,
0.023061031475663185,
0.04800305888056755,
-0.04266102612018585,
-0.004650766495615244,
-0.019280225038528442,
-0.005309116095304489,
0.03660421445965767,
-0.059514764696359634,
-0.015621685422956944,
-0.04141956940293312,
-0.0081118019297719,
-0.039162371307611465,
0.03184529021382332,
-0.035343945026397705,
-0.08456965535879135,
-0.01865009218454361,
-0.03017120249569416,
-0.05037311837077141,
0.011671590618789196,
0.07121457159519196,
-0.024264870211482048,
0.03709327429533005,
-0.030998840928077698,
-0.0257132388651371,
0.010458347387611866,
0.019242605194449425,
0.03987715020775795,
-0.028421875089406967,
-0.01661861501634121,
0.009560170583426952,
-0.023361990228295326,
-0.0021572692785412073,
-0.039011891931295395,
-0.017276963219046593,
-0.058085206896066666,
0.07038693130016327,
0.024998458102345467,
-0.018236272037029266,
0.07238078862428665,
0.011050861328840256,
-0.004483828321099281,
-0.04988405853509903,
0.009414393454790115,
-0.005802877712994814,
-0.0363973043859005,
-0.03786448389291763,
0.003148319898173213,
-0.011756235733628273,
0.029606902971863747,
0.03927523270249367,
-0.026917075738310814,
0.0013860601466149092,
0.015414775349199772,
0.035193465650081635,
0.016599804162979126,
-0.0363973043859005,
0.005116313695907593,
0.020427634939551353,
-0.0350053645670414,
0.02798924595117569,
-0.005675910506397486,
-0.0665120780467987,
-0.02149980328977108,
-0.005788770504295826,
-0.04642302170395851,
0.04860498011112213,
0.03265411779284477,
-0.017248747870326042,
-0.0434134267270565,
-0.011690400540828705,
-0.0042957281693816185,
0.049470238387584686,
0.048228781670331955,
0.0161953903734684,
0.0002245440991828218,
-0.03585181385278702,
-0.03833473101258278,
-0.046535883098840714,
-0.013543182983994484,
-0.012969478964805603,
-0.04687445983290672,
-0.03477964550256729,
-0.07238078862428665,
-0.02204529196023941,
0.03938809037208557,
-0.007194816134870052,
-0.03649135306477547,
-0.022816501557826996,
0.012677923776209354,
-0.04224720597267151,
-0.0004720128490589559,
-0.02671016752719879,
0.0030636750161647797,
-0.002184308599680662,
-0.044504404067993164,
-0.005831092596054077,
-0.0431877076625824,
-0.048228781670331955,
-0.010646446608006954,
0.06056812405586243,
-0.046836841851472855,
0.03859807178378105,
0.0745251253247261,
0.02531822770833969,
-0.03714970499277115,
0.00940028578042984,
-0.07403606921434402,
0.030735502019524574,
0.021575042977929115,
0.07189173251390457,
0.05680612847208977,
-0.02129289321601391,
-0.06564681977033615,
0.07681994140148163,
-0.04811592027544975,
0.022233393043279648,
0.01956237480044365,
0.024396538734436035,
0.013467943295836449,
0.003524519270285964,
-0.04096812754869461,
-0.008426869288086891,
0.01847139745950699,
-0.0074675604701042175,
0.04743875935673714,
-0.03536275774240494,
-0.049470238387584686,
0.03538156673312187,
0.04819115996360779,
0.08818116784095764,
-0.014953931793570518,
-0.10616350919008255,
0.013787712901830673,
0.047476381063461304,
-0.027707096189260483,
-0.008107099682092667,
-0.0458587221801281,
0.03848521038889885,
0.01898867078125477,
-0.05285603553056717,
0.02144337259232998,
-0.009912857785820961,
-0.04439154639840126,
0.031882911920547485,
-0.011831475421786308,
-0.010843951255083084,
0.03953856974840164,
0.003477494465187192,
0.016759689897298813,
-0.0042651621624827385,
-0.018574852496385574,
0.04029097035527229,
0.07497656345367432,
0.019214391708374023,
-0.018969861790537834,
-0.003968905191868544,
-0.01877235621213913,
-0.02750018611550331,
0.007514585740864277,
0.027481375262141228,
-0.022515542805194855,
-0.03421534597873688,
0.016327058896422386,
0.0434134267270565,
-0.016242414712905884,
-0.01661861501634121,
0.02198886312544346,
0.023155082017183304,
0.02620229683816433,
-0.004584931768476963,
0.03654778376221657,
-0.030208822339773178,
-0.052291736006736755,
-0.014925716444849968,
0.01567811518907547,
-0.0006283707916736603,
0.0013825332280248404,
0.007777925115078688,
0.0417957678437233,
-0.024509400129318237,
-0.013806522823870182,
-0.012837808579206467,
-0.02695469558238983,
0.03032168187201023,
-0.05473703145980835,
0.0420214869081974,
-0.017004217952489853,
-0.011558730155229568,
-0.00240650144405663,
-0.011060265824198723,
0.01072168629616499,
0.09510324150323868,
0.0031389149371534586,
-0.04382724687457085,
0.003924231510609388,
-0.033556997776031494,
-0.01220767479389906,
-0.02541227824985981,
-0.01640230044722557,
-0.012818998657166958,
-0.033011507242918015,
-0.08276389539241791,
-0.005577158182859421,
0.010213817469775677,
-0.02307984046638012,
-0.03325603902339935,
0.015170246362686157,
0.025431089103221893,
0.04085526987910271,
-0.042171966284513474,
-0.003985363990068436,
0.04924451932311058,
-0.03538156673312187,
-0.018367942422628403,
-0.004596687853336334,
-0.026164676994085312,
0.01240517944097519,
0.03146909177303314,
-0.020766213536262512,
0.007754412945359945,
-0.006658731494098902,
-0.04175814613699913,
0.03991477191448212,
0.08434393256902695,
-0.02065335400402546,
-0.007599230390042067,
-0.00010859822214115411,
-0.050109777599573135,
-0.008981763385236263,
0.023550091311335564,
-0.011887905187904835,
0.03596467524766922,
0.06485679745674133,
-0.03927523270249367,
-0.052329353988170624,
-0.039199989289045334,
-0.009466120973229408,
0.013101148419082165,
-0.06414201855659485,
-0.054511312395334244,
0.012471014633774757,
0.007622743025422096,
-0.02307984046638012,
-0.004006525035947561,
0.06948405504226685,
-0.023211510851979256,
0.041381947696208954,
0.019656425341963768,
-0.025299418717622757,
-0.004758924245834351,
0.055489432066679,
-0.008666696958243847,
-0.03075431101024151,
0.05962762609124184,
0.0014918663073331118,
-0.02125527337193489,
-0.050749316811561584,
0.025148939341306686,
-0.02941880375146866,
0.011916120536625385,
0.007980132475495338,
-0.017634352669119835,
0.07042454928159714,
0.04266102612018585,
-0.006597599480301142,
-0.007373510859906673,
-0.006447119638323784,
0.052818413823843,
0.04834163933992386,
-0.0101291723549366,
0.01922379620373249,
-0.05616658926010132,
0.014963336288928986,
0.07862570136785507,
-0.0008858323562890291,
-0.017634352669119835,
0.019844524562358856,
0.059326667338609695,
0.047288279980421066,
-0.01664682850241661,
0.002079678000882268,
-0.01344913337379694,
-0.0028332527726888657,
0.03135623037815094,
-0.07967905700206757,
-0.03397081792354584,
-0.03131861239671707,
-0.017577923834323883,
0.023418420925736427,
-0.049357376992702484,
-0.009583682753145695,
-0.05515085160732269,
0.011633970774710178,
0.006780996453016996,
-0.01199136022478342,
-0.037431854754686356,
-0.034704405814409256,
0.023418420925736427,
0.01050537172704935,
-0.01015738770365715,
0.021161222830414772,
-0.07072551548480988,
0.026540877297520638,
-0.04115622863173485,
-0.032616499811410904,
0.03404605761170387,
0.00800364464521408,
0.007693280465900898,
0.033651046454906464,
0.09051360934972763,
0.00526209082454443,
0.05123837664723396,
0.04224720597267151,
0.01285661943256855,
-0.04424106329679489,
0.0759170651435852,
0.04175814613699913,
0.0691830962896347,
-0.032428398728370667,
-0.03513703495264053,
-0.03002072311937809,
0.016599804162979126,
-0.029211893677711487,
-0.008845391683280468,
-0.02441534958779812,
0.03555085510015488,
0.03602110594511032,
-0.00993166770786047,
0.03299269825220108,
0.022760070860385895,
-0.02659730613231659,
0.0027086366899311543,
-0.04333818703889847,
-0.0065317642875015736,
0.003230613423511386,
-0.01196314487606287,
-0.03186409920454025,
0.04454202577471733,
0.008647887036204338,
0.01449308730661869,
0.02456582896411419,
-0.061696723103523254,
-0.05033549666404724,
-0.015866214409470558
] |
9,639 | asyncclick.utils | get_binary_stream | Returns a system stream for byte processing.
:param name: the name of the stream to open. Valid names are ``'stdin'``,
``'stdout'`` and ``'stderr'``
| def get_binary_stream(name: "te.Literal['stdin', 'stdout', 'stderr']") -> t.BinaryIO:
"""Returns a system stream for byte processing.
:param name: the name of the stream to open. Valid names are ``'stdin'``,
``'stdout'`` and ``'stderr'``
"""
opener = binary_streams.get(name)
if opener is None:
raise TypeError(f"Unknown standard stream '{name}'")
return opener()
| (name: "te.Literal['stdin', 'stdout', 'stderr']") -> <class 'BinaryIO'> | [
0.02215048111975193,
-0.08486909419298172,
-0.035479508340358734,
-0.04412488639354706,
-0.03757482394576073,
0.0032816343009471893,
-0.011656294576823711,
0.03863128647208214,
0.029809828847646713,
-0.028876621276140213,
0.04134286940097809,
0.04349100962281227,
-0.05444299429655075,
-0.009041551500558853,
-0.0011131365317851305,
0.023770390078425407,
0.014992953278124332,
0.008755426853895187,
-0.057577166706323624,
0.03385959938168526,
0.008227195590734482,
0.06514847278594971,
0.020530574023723602,
-0.017273150384426117,
-0.0035787641536444426,
0.06278904527425766,
-0.031676243990659714,
-0.015362714417278767,
-0.09029226750135422,
-0.03491606190800667,
0.03972296044230461,
-0.03225729987025261,
0.029246382415294647,
-0.04532220959663391,
0.01341706421226263,
0.03151777759194374,
-0.006840589921921492,
0.06546541303396225,
-0.004280871246010065,
-0.01760769635438919,
0.053985197097063065,
-0.034599121659994125,
-0.03054935298860073,
-0.00016823603073135018,
-0.0015109603991732001,
-0.006171497516334057,
-0.05373868718743324,
-0.01857611909508705,
-0.014376684091985226,
0.06247210502624512,
0.02308368869125843,
0.010793517343699932,
0.02410493604838848,
-0.014147783629596233,
0.00018735688354354352,
0.017563676461577415,
-0.030091552063822746,
-0.027432790026068687,
-0.03216926008462906,
0.04458268731832504,
-0.05345696583390236,
-0.005326327867805958,
0.049301549792289734,
-0.01158586423844099,
-0.013469887897372246,
0.0043887184001505375,
0.020037557929754257,
-0.07522007822990417,
-0.027010206133127213,
0.06064090505242348,
0.03391242399811745,
0.013672376051545143,
-0.057788457721471786,
0.012395817786455154,
0.003994746133685112,
0.05824625864624977,
-0.018998704850673676,
0.008372459560632706,
-0.0138660604134202,
0.03164102882146835,
0.06539498269557953,
0.012633522041141987,
-0.027415182441473007,
-0.004095990210771561,
-0.016331138089299202,
-0.05085102468729019,
0.02667566016316414,
0.02495010569691658,
-0.009244040586054325,
-0.022801965475082397,
-0.016401568427681923,
0.0021184259094297886,
0.011647490784525871,
0.06007745862007141,
0.03609577566385269,
-0.05525295063853264,
-0.023576704785227776,
0.056591134518384933,
-0.02385842800140381,
-0.0012952660908922553,
-0.058492764830589294,
0.03343701362609863,
-0.023770390078425407,
-0.027221497148275375,
0.006360779982060194,
0.0461321622133255,
0.066486656665802,
-0.005185466259717941,
-0.021622249856591225,
0.0010933278826996684,
-0.0015571806579828262,
-0.02496771328151226,
-0.03412371501326561,
-0.0173787958920002,
-0.041096363216638565,
0.02681652083992958,
0.017273150384426117,
0.029175952076911926,
-0.043984025716781616,
0.007615328300744295,
-0.034458260983228683,
0.04539263993501663,
0.032715100795030594,
0.0007164131384342909,
0.04423053190112114,
0.08064324408769608,
-0.002273593796417117,
-0.06247210502624512,
0.04458268731832504,
0.06300033628940582,
0.05782367289066315,
-0.013610748574137688,
-0.00048393651377409697,
0.02660522796213627,
-0.004452546127140522,
-0.0008198583382181823,
0.00783542450517416,
0.03518017753958702,
0.008051118813455105,
0.019597366452217102,
0.027872983366250992,
-0.033560268580913544,
-0.0010025381343439221,
-0.031852323561906815,
-0.019614974036812782,
0.002460675546899438,
0.05916185677051544,
-0.044653117656707764,
0.009305667132139206,
0.02134052664041519,
0.04514613375067711,
-0.008517722599208355,
-0.041835885494947433,
0.09163045138120651,
0.05969008803367615,
-0.007399634458124638,
0.023277373984456062,
-0.04820987209677696,
-0.06697967648506165,
0.0031099594198167324,
-0.033753953874111176,
0.06384550780057907,
-0.07180418074131012,
-0.0926164835691452,
-0.0386665016412735,
-0.013540318235754967,
-0.008662986569106579,
0.02211526595056057,
0.10219506919384003,
-0.038208700716495514,
-0.04454747214913368,
0.05141447111964226,
-0.08092497289180756,
0.06388071924448013,
0.045639149844646454,
-0.021763112396001816,
-0.003996946848928928,
0.038208700716495514,
0.0027908198535442352,
-0.044793978333473206,
0.006307957228273153,
0.004038765095174313,
-0.0649724006652832,
-0.03718745335936546,
0.013628357090055943,
0.040110331028699875,
0.014165391214191914,
-0.018664157018065453,
0.02947528287768364,
-0.03771568462252617,
-0.0371522381901741,
0.02572484314441681,
0.013628357090055943,
-0.012607110664248466,
0.008711407892405987,
-0.04130765423178673,
-0.06585278362035751,
0.040110331028699875,
0.0017035446362569928,
-0.0060966648161411285,
0.014130176045000553,
0.1075478047132492,
-0.005775324068963528,
0.040075115859508514,
-0.03602534532546997,
-0.02322455123066902,
0.04458268731832504,
0.021833542734384537,
-0.011409787461161613,
0.020970765501260757,
-0.003743836423382163,
0.00603503780439496,
-0.023242158815264702,
0.06581756472587585,
0.028859013691544533,
-0.012994479387998581,
-0.015503576025366783,
-0.027925806120038033,
-0.02206244319677353,
0.02297804318368435,
0.05468950420618057,
0.030707821249961853,
0.023770390078425407,
0.034563906490802765,
-0.026129821315407753,
-0.007558103650808334,
0.026904558762907982,
-0.043948810547590256,
-0.010494186542928219,
-0.0004503718519117683,
0.05233007296919823,
-0.032767921686172485,
-0.03142973780632019,
0.003988143056631088,
-0.041871100664138794,
0.02387603558599949,
-0.023418236523866653,
-0.004533981904387474,
-0.03581405431032181,
-0.01670970395207405,
0.028207529336214066,
-0.03340179845690727,
0.024157758802175522,
0.06278904527425766,
0.005594845395535231,
-0.05134404078125954,
-0.009103178977966309,
0.00693743210285902,
-0.033718738704919815,
0.0056344629265367985,
0.05060451850295067,
-0.04535742476582527,
0.011092848144471645,
-0.06634579598903656,
0.036518361419439316,
-0.010555814020335674,
-0.03037327527999878,
-0.07219155132770538,
0.03317289799451828,
0.015970179811120033,
-0.03658879175782204,
0.032750315964221954,
-0.002731393789872527,
0.01570606417953968,
-0.0010350024094805121,
-0.05437256395816803,
-0.07409318536520004,
-0.04225847125053406,
0.025284651666879654,
-0.0028128293342888355,
-0.023471059277653694,
0.004648431669920683,
-0.010423756204545498,
-0.0037592430599033833,
-0.013672376051545143,
-0.09620845317840576,
0.05085102468729019,
0.07705127447843552,
0.05602768808603287,
-0.030250022187829018,
-0.02204483561217785,
0.01604941487312317,
0.0017981859855353832,
-0.027045421302318573,
-0.031183229759335518,
-0.04042727127671242,
-0.03051413781940937,
-0.08155884593725204,
-0.021868757903575897,
-0.06553584337234497,
0.03597252443432808,
-0.01333783008158207,
-0.04694211855530739,
-0.03954688459634781,
0.030091552063822746,
0.029774613678455353,
-0.054126057773828506,
-0.03234533593058586,
0.048456378281116486,
-0.06021831929683685,
0.009420117363333702,
0.006365181878209114,
0.057612381875514984,
0.049336764961481094,
-0.07289586216211319,
-0.06574713438749313,
0.0014251228421926498,
-0.046554747968912125,
-0.06303555518388748,
0.024650774896144867,
-0.024685990065336227,
-0.0007719874265603721,
0.02588331326842308,
-0.014966541901230812,
-0.012404621578752995,
-0.002493690000846982,
0.06504283100366592,
0.005110633559525013,
0.022449811920523643,
0.06095784530043602,
-0.0119996452704072,
0.014508741907775402,
0.015600418671965599,
-0.0440896712243557,
-0.037293098866939545,
0.024263404309749603,
0.0065544648095965385,
-0.01943889632821083,
0.0440896712243557,
0.04039205610752106,
-0.021974405273795128,
0.00738202640786767,
0.058563195168972015,
0.04514613375067711,
-0.017827792093157768,
0.041025932878255844,
0.04151894897222519,
0.01829439587891102,
-0.03297921642661095,
-0.09120786190032959,
0.041166793555021286,
0.026006566360592842,
0.03940602391958237,
-0.02487967535853386,
-0.04141329973936081,
0.0007895951275713742,
-0.016665684059262276,
-0.015353910624980927,
0.02414015121757984,
-0.04454747214913368,
0.04271627217531204,
0.0013271800708025694,
-0.08015023171901703,
-0.008574947714805603,
0.022661104798316956,
0.00919121690094471,
0.05426691845059395,
0.02123488113284111,
-0.019157173112034798,
-0.009340882301330566,
-0.028876621276140213,
0.06511326134204865,
-0.027344752103090286,
-0.03887779265642166,
-0.021657466888427734,
-0.031007152050733566,
0.04979456588625908,
0.03616620600223541,
0.0018631143029779196,
0.04606173187494278,
-0.0323101207613945,
-0.012307779863476753,
-0.02223852090537548,
0.02678130567073822,
-0.06370464712381363,
0.008640976622700691,
0.02410493604838848,
-0.05993659794330597,
0.01942128874361515,
-0.016903387382626534,
0.028189921751618385,
0.03711702302098274,
-0.003237615106627345,
0.019791049882769585,
0.018065495416522026,
-0.04912547022104263,
-0.07367060333490372,
0.01206127181649208,
0.03968774527311325,
-0.008108343929052353,
0.003961731679737568,
-0.015468360856175423,
0.04084985330700874,
0.0005606950726360083,
0.008817053399980068,
0.00692422641441226,
0.010934378951787949,
0.048315517604351044,
-0.017185110598802567,
0.033542659133672714,
0.006241928320378065,
0.06021831929683685,
-0.0267989132553339,
0.00045807522838003933,
-0.07712170481681824,
-0.026922166347503662,
0.03521539270877838,
-0.020689042285084724,
0.01161227561533451,
-0.06761354953050613,
-0.015292284078896046,
-0.019650189206004143,
-0.05152011662721634,
-0.041025932878255844,
0.02667566016316414,
0.0009574184659868479,
0.040885068476200104,
-0.013566729612648487,
0.006963843945413828,
-0.030126767233014107,
-0.0002117050316883251,
0.041061148047447205,
0.020072773098945618,
0.008847867138683796,
0.041131578385829926,
0.025319866836071014,
0.013980510644614697,
0.0423993319272995,
-0.008918298408389091,
0.03817348554730415,
0.026305897161364555,
0.006510445382446051,
-0.02665805257856846,
-0.02200962044298649,
0.024351444095373154,
-0.028788583353161812,
-0.016612861305475235,
0.006633699405938387,
0.015961376950144768,
0.05254136398434639,
0.04870288819074631,
0.0030329255387187004,
0.007954277098178864,
0.030091552063822746,
-0.0360429547727108,
-0.0051238397136330605,
-0.04169502481818199,
0.03303203731775284,
0.05704893544316292,
-0.03422936052083969,
0.03576122969388962,
-0.07606524974107742,
0.05134404078125954,
-0.035479508340358734,
0.020618611946702003,
-0.031024759635329247,
0.03393002972006798,
0.0011136868270114064,
-0.017942242324352264,
-0.03704659268260002,
0.028859013691544533,
-0.00391331035643816,
0.025284651666879654,
-0.037222668528556824,
-0.011946821585297585,
-0.06440895050764084,
0.010749498382210732,
0.014209411107003689,
0.0496889166533947,
0.006360779982060194,
0.0726141408085823,
0.07053642719984055,
-0.004908145405352116,
-0.0038913008756935596,
0.030038729310035706,
-0.041835885494947433,
-0.06307076662778854,
-0.03234533593058586,
-0.016648076474666595,
-0.018083103001117706,
-0.0463082417845726,
-0.04250497743487358,
-0.015318695455789566,
0.05247093364596367,
-0.04504048451781273,
-0.06345813721418381,
0.05722501128911972,
0.01936846598982811,
0.07592438161373138,
0.009455332532525063,
0.041871100664138794,
0.11445002257823944,
-0.021569427102804184,
0.0030197198502719402,
-0.005674079991877079,
0.04606173187494278,
0.015864534303545952,
0.012818402610719204,
0.00964021310210228,
0.02229134365916252,
-0.03672965243458748,
-0.0258657056838274,
0.005511208903044462,
-0.05416127294301987,
0.020601004362106323,
0.029123129323124886,
-0.018716981634497643,
-0.03683530166745186,
0.04349100962281227,
0.034546300768852234,
-0.00857935007661581,
-0.03979339450597763,
-0.07958678901195526,
-0.022537851706147194,
-0.02959853783249855,
0.0077958074398338795,
0.013945295475423336,
-0.0028964660596102476,
-0.04356143996119499,
0.0007235662778839469,
0.08162927627563477,
0.045639149844646454,
-0.04676603898406029,
-0.03142973780632019,
0.006360779982060194,
-0.05993659794330597,
-0.02479163557291031,
-0.04225847125053406,
0.03433500602841377,
0.011515432968735695,
0.06659230589866638,
-0.0390186533331871,
-0.06518369168043137,
-0.030971936881542206,
0.02479163557291031,
-0.043984025716781616,
-0.04320928454399109,
0.055886827409267426,
-0.04081463813781738,
-0.028348390012979507,
0.014922522008419037,
0.019984735175967216,
0.04148373007774353,
0.04451225697994232,
-0.008944709785282612,
-0.009983563795685768,
0.01206127181649208,
0.020900335162878036,
0.07585395127534866,
-0.038384776562452316,
-0.014852091670036316,
-0.033665914088487625,
-0.03775089979171753,
-0.00645322073251009,
-0.006303555332124233,
-0.02401689812541008,
0.021727897226810455,
0.011075240559875965,
-0.02778494358062744,
0.020601004362106323,
0.022396989166736603,
0.039089083671569824,
-0.033243328332901,
0.004758480004966259,
-0.03385959938168526,
0.019667796790599823,
0.03292639181017876,
-0.013100125826895237,
0.04718862473964691,
0.0068317861296236515,
0.04433617740869522,
0.025425512343645096,
0.06937432289123535,
0.000989882624708116,
0.09219389408826828,
0.06493718177080154,
0.02861250564455986,
0.07627654075622559,
-0.014209411107003689,
-0.0016419176245108247,
-0.010027582757174969,
-0.03841999173164368,
-0.0519074872136116,
-0.04673082381486893,
0.014394291676580906,
-0.022784357890486717,
-0.02667566016316414,
-0.035655584186315536,
-0.004538383800536394,
0.04165980964899063,
-0.01523065660148859,
-0.04683647304773331,
-0.006594082340598106,
0.011638686992228031,
-0.004903743509203196,
-0.006285947281867266,
-0.012413425371050835,
0.01841765083372593,
0.0011907204752787948,
0.017044249922037125,
-0.050463657826185226,
-0.018276788294315338,
-0.01427103765308857,
0.028207529336214066,
0.0368000827729702,
0.02037210389971733,
-0.02567202039062977,
-0.03197557479143143,
-0.050217147916555405,
0.03482802212238312,
0.016199080273509026,
0.002682972699403763,
-0.02660522796213627,
0.08184056729078293,
0.002458474598824978,
0.048350732773542404,
0.0038846980314701796,
-0.013478691689670086,
-0.03169385343790054,
0.011004810221493244,
0.041061148047447205,
0.01940368115901947,
-0.01472883764654398,
-0.029968298971652985,
-0.03396524488925934,
0.03516256809234619,
-0.0031627824064344168,
0.041871100664138794,
0.0386665016412735,
-0.008649780414998531,
-0.008346048183739185,
0.029352029785513878,
-0.010388541035354137,
-0.023242158815264702,
-0.02681652083992958,
-0.013205772265791893,
0.007668151520192623,
-0.012598306871950626,
0.01341706421226263,
0.06778962910175323,
-0.004032162483781576,
-0.0011544045992195606,
0.03153538331389427,
-0.04820987209677696,
-0.004591206554323435,
0.005396758671849966,
0.02766169048845768,
0.030637390911579132,
0.03223969042301178,
-0.009288059547543526,
-0.0013502901419997215,
-0.02030167356133461,
0.04127243906259537,
0.0352858230471611,
0.055957257747650146,
-0.009569782763719559,
0.019755834713578224,
0.004461349919438362,
0.03220447525382042,
0.003523740218952298,
-0.017977457493543625,
-0.05923229083418846,
-0.02304847352206707,
0.047575995326042175,
-0.07109987735748291,
-0.021481389179825783,
-0.049160685390233994,
-0.018153535202145576,
-0.033542659133672714,
-0.04528699442744255,
0.010872752405703068,
0.05233007296919823,
0.018047887831926346,
-0.08198143541812897,
-0.02030167356133461,
0.011286533437669277,
0.002533307299017906,
0.026200251653790474,
0.01522185280919075,
0.014112568460404873,
-0.049371980130672455,
0.04137808457016945,
-0.005229485686868429,
-0.0047452738508582115,
-0.037433963268995285,
-0.015582811087369919,
-0.02672848291695118,
0.009763467125594616,
-0.0018543105106800795,
-0.05152011662721634,
-0.01928042620420456,
0.035567544400691986,
0.009763467125594616,
0.008029109798371792,
-0.027978628873825073,
0.046589963138103485,
-0.00556843401864171,
-0.0032816343009471893,
-0.005339534021914005,
0.0496889166533947,
0.04437139257788658,
-0.050322793424129486,
0.047575995326042175,
-0.03986382484436035,
-0.0057621183805167675,
-0.032574236392974854,
-0.029704183340072632,
0.005132643505930901,
0.018769804388284683,
0.013249791227281094,
-0.003235414158552885,
-0.029087914153933525,
0.032574236392974854,
0.02204483561217785,
0.005612452980130911,
-0.012122898362576962,
-0.07958678901195526,
0.10268808156251907,
-0.06768397986888885,
0.018223965540528297,
-0.0004421182384248823,
0.007324801757931709,
0.0386665016412735,
-0.017405208200216293,
0.011665098369121552,
0.03208122029900551,
-0.040920283645391464,
-0.024633167311549187,
0.007945472374558449,
0.042997993528842926,
0.013760413974523544,
0.020777082070708275,
-0.01841765083372593,
-0.007976286113262177,
0.011242513544857502,
0.011462610214948654,
0.01784539967775345,
-0.021076412871479988,
0.015644438564777374,
-0.007051882334053516,
0.007219155319035053,
0.023735174909234047,
-0.04025119170546532,
-0.023418236523866653,
0.018787411972880363,
-0.0659584328532219,
0.062753826379776,
-0.03581405431032181,
-0.003435701597481966,
0.0535978265106678,
0.03209882974624634,
-0.047470349818468094,
-0.01343467179685831,
0.0732480138540268,
-0.007720974739640951,
-0.027397574856877327,
-0.004762881901115179,
-0.006994657218456268,
-0.044829193502664566,
0.005423170514404774,
-0.03209882974624634,
0.057788457721471786,
-0.006211114581674337,
0.004864125978201628,
-0.01008040551096201,
0.013496299274265766,
-0.059478797018527985,
-0.014526349492371082
] |
9,640 | asyncclick.globals | get_current_context | Returns the current click context. This can be used as a way to
access the current context object from anywhere. This is a more implicit
alternative to the :func:`pass_context` decorator. This function is
primarily useful for helpers such as :func:`echo` which might be
interested in changing its behavior based on the current context.
To push the current context, :meth:`Context.scope` can be used.
.. versionadded:: 5.0
:param silent: if set to `True` the return value is `None` if no context
is available. The default behavior is to raise a
:exc:`RuntimeError`.
| def get_current_context(silent: bool = False) -> t.Optional["Context"]:
"""Returns the current click context. This can be used as a way to
access the current context object from anywhere. This is a more implicit
alternative to the :func:`pass_context` decorator. This function is
primarily useful for helpers such as :func:`echo` which might be
interested in changing its behavior based on the current context.
To push the current context, :meth:`Context.scope` can be used.
.. versionadded:: 5.0
:param silent: if set to `True` the return value is `None` if no context
is available. The default behavior is to raise a
:exc:`RuntimeError`.
"""
try:
return t.cast("Context", _local.stack[-1])
except (AttributeError, IndexError) as e:
if not silent:
raise RuntimeError("There is no active click context.") from e
return None
| (silent: bool = False) -> Optional[ForwardRef('Context')] | [
-0.004485233686864376,
-0.07176373898983002,
0.051836974918842316,
-0.027887197211384773,
0.04670121148228645,
-0.032646339386701584,
0.06614863872528076,
-0.032834649085998535,
0.05358313396573067,
-0.016905222088098526,
-0.0375937893986702,
-0.08237764984369278,
-0.03533405438065529,
-0.01676826924085617,
0.009107421152293682,
0.04016167297959328,
0.007981833070516586,
-0.046256110072135925,
0.03779922053217888,
0.025233719497919083,
0.07950162142515182,
-0.016862424090504646,
0.03629273176193237,
-0.08792427182197571,
-0.04081220179796219,
0.04629034921526909,
-0.0029359448235481977,
0.005807692650705576,
0.004177087917923927,
0.010699507780373096,
0.04509200528264046,
-0.0044509950093925,
-0.0005911478074267507,
-0.03687478229403496,
-0.02631223015487194,
0.01229159440845251,
-0.03999048098921776,
0.011735220439732075,
0.03095153532922268,
-0.058410752564668655,
-0.07498215138912201,
-0.016785386949777603,
-0.0022597359493374825,
0.05306955799460411,
-0.008807835169136524,
-0.02246040664613247,
-0.0023966897279024124,
-0.041428495198488235,
0.045434389263391495,
-0.005743495654314756,
0.055123865604400635,
0.0024116691201925278,
-0.0006649743882007897,
0.0033660652115941048,
-0.035128623247146606,
-0.001993318321183324,
-0.0034901793114840984,
0.006727850530296564,
-0.051083728671073914,
0.015321695245802402,
0.014020634815096855,
0.08128201961517334,
0.05673306807875633,
0.015176181681454182,
0.019669974222779274,
0.03341670334339142,
-0.001810356741771102,
0.048550087958574295,
-0.02273431420326233,
0.010716627351939678,
-0.07169526070356369,
-0.00959531869739294,
-0.04005895555019379,
-0.008208662271499634,
0.002441627671942115,
-0.1055913046002388,
-0.040401339530944824,
-0.02538779191672802,
0.022323453798890114,
0.03153358772397041,
-0.04557134211063385,
0.005816252436488867,
-0.0040315743535757065,
0.05738360062241554,
0.0037170089781284332,
0.03285176679491997,
0.0025272236671298742,
0.04615339636802673,
-0.018300438299775124,
0.02703123725950718,
-0.03690902143716812,
0.05450757220387459,
-0.0029573438223451376,
0.030711866915225983,
0.02026914805173874,
-0.008961907587945461,
0.015013549476861954,
0.006749249529093504,
-0.0014786719111725688,
0.006804886739701033,
-0.04813922569155693,
0.04916637763381004,
0.00959531869739294,
-0.03810736536979675,
-0.001898092683404684,
0.0555347241461277,
0.018779775127768517,
0.03951114043593407,
0.08272003382444382,
-0.00618431530892849,
-0.013875121250748634,
-0.04365399107336998,
-0.006723570637404919,
0.020525936037302017,
0.03543676808476448,
-0.04920061677694321,
-0.04067524895071983,
-0.00936420913785696,
-0.011264441534876823,
0.021621564403176308,
-0.05909552052617073,
-0.01693946123123169,
0.03571067750453949,
-0.047522932291030884,
0.004468114580959082,
0.05002233758568764,
-0.022135142236948013,
-0.07333870232105255,
0.027065474539995193,
0.021672923117876053,
0.01900232583284378,
0.0026042601093649864,
0.041051872074604034,
0.02475438080728054,
0.01247134618461132,
-0.014457174576818943,
0.04074372723698616,
0.049543000757694244,
-0.060054197907447815,
0.09045791625976562,
-0.07409194856882095,
0.003383184317499399,
-0.03701173886656761,
0.014106230810284615,
-0.02062865160405636,
-0.041496969759464264,
0.01529601588845253,
-0.059951480478048325,
0.0009784699650481343,
0.03574491664767265,
0.0786798968911171,
-0.033108558505773544,
0.010588232427835464,
0.02850348874926567,
0.02127918042242527,
0.005944646429270506,
-0.018574345856904984,
0.002636358607560396,
0.04848160967230797,
-0.0673469826579094,
-0.0018317557405680418,
-0.0033703448716551065,
-0.02256312221288681,
-0.04043557867407799,
0.0336221344769001,
0.03408435359597206,
-0.015099145472049713,
0.04824193939566612,
0.04283227026462555,
0.005687858443707228,
-0.00921869557350874,
0.0829254612326622,
0.004234865307807922,
0.015544245019555092,
-0.015184741467237473,
-0.017119212076067924,
-0.01693946123123169,
0.00627847108989954,
0.04940604791045189,
0.02292262576520443,
0.006616575643420219,
-0.023624513298273087,
-0.023179413750767708,
0.008589564822614193,
0.04933756962418556,
-0.026774447411298752,
0.06070472672581673,
0.015150503255426884,
0.029290972277522087,
-0.008396973833441734,
-0.016913780942559242,
0.010922057554125786,
0.02814398519694805,
-0.013352985493838787,
-0.05334346741437912,
0.05022776871919632,
-0.03478623926639557,
-0.028178224340081215,
-0.014919393695890903,
-0.010066096670925617,
0.030489318072795868,
-0.07731036096811295,
0.05981452763080597,
-0.03449521213769913,
-0.010596792213618755,
0.02429216168820858,
-0.005760614760220051,
-0.035847630351781845,
-0.09573063254356384,
0.04813922569155693,
-0.04765988886356354,
0.016588516533374786,
-0.010100334882736206,
0.010340004228055477,
0.005867610219866037,
0.05235055088996887,
0.002647058106958866,
-0.013866562396287918,
-0.05960909649729729,
0.009809308685362339,
0.014482853934168816,
-0.06152644753456116,
0.054199427366256714,
0.054747242480516434,
-0.025695938616991043,
0.01824907958507538,
0.04365399107336998,
0.01999524049460888,
0.031824614852666855,
-0.03975081071257591,
0.01675114966928959,
0.003535117255523801,
-0.023145174607634544,
-0.010194490663707256,
-0.11421938240528107,
-0.10168812423944473,
-0.006175755988806486,
0.036566637456417084,
0.020423220470547676,
-0.04375670850276947,
0.038483988493680954,
0.006128678098320961,
0.0422159768640995,
0.04574253410100937,
-0.002518664114177227,
-0.011230203323066235,
0.005259878002107143,
-0.025815771892666817,
0.047454457730054855,
-0.004806218668818474,
-0.01754719205200672,
0.0020093675702810287,
-0.02766464650630951,
0.01283084973692894,
-0.03625849261879921,
-0.04902942478656769,
-0.06926432996988297,
0.03440961614251137,
-0.041154585778713226,
0.013164673931896687,
0.021604446694254875,
0.07402347773313522,
0.02547338791191578,
0.020252028480172157,
-0.029393687844276428,
-0.014251744374632835,
-0.0017547192983329296,
-0.04724902659654617,
-0.007181509397923946,
0.04868704080581665,
-0.0026620374992489815,
0.013960717245936394,
0.03632696717977524,
0.005401111673563719,
-0.0320642851293087,
-0.04464690759778023,
-0.050741344690322876,
0.07374956458806992,
-0.07025724649429321,
0.022032426670193672,
-0.008384134620428085,
0.04649578034877777,
-0.00773788383230567,
-0.011110369116067886,
-0.011469872668385506,
0.0006184315425343812,
-0.008606684394180775,
-0.008144465275108814,
0.003847542917355895,
-0.013361545279622078,
-0.009946262463927269,
0.02266583777964115,
0.05026200786232948,
-0.043345846235752106,
0.029564879834651947,
0.009304291568696499,
-0.11243898421525955,
-0.051460351794958115,
0.03951114043593407,
0.016973698511719704,
0.026175275444984436,
-0.007429738063365221,
-0.044064853340387344,
0.040880680084228516,
-0.0012475625844672322,
0.08402109146118164,
-0.0028075508307665586,
0.01493651233613491,
-0.003513718256726861,
-0.019241994246840477,
0.0033211272675544024,
-0.020936796441674232,
0.005816252436488867,
-0.023881301283836365,
-0.055945586413145065,
-0.04666697233915329,
-0.0003624458331614733,
-0.09723712503910065,
0.014654045924544334,
0.02220361866056919,
-0.017110653221607208,
0.021792758256196976,
0.07676254957914352,
-0.0263978261500597,
-0.030249647796154022,
0.06036234274506569,
0.01990964449942112,
0.009646676480770111,
-0.00935564935207367,
0.046084918081760406,
-0.002803270937874913,
0.04427028447389603,
-0.015749676153063774,
0.011743779294192791,
-0.042147502303123474,
0.027099713683128357,
-0.016674112528562546,
0.031927332282066345,
0.0019152119057253003,
-0.10114030539989471,
0.0009950542589649558,
-0.007245706859976053,
0.006903322413563728,
-0.018608583137392998,
-0.014602688141167164,
-0.02110798843204975,
0.03560796007514,
-0.00030012120259925723,
0.07710493355989456,
-0.08230917155742645,
0.016845304518938065,
-0.02831517718732357,
-0.05094677582383156,
-0.02127918042242527,
-0.08354175835847855,
0.008525367826223373,
0.01809500716626644,
-0.02336772531270981,
0.050844062119722366,
-0.011914972215890884,
0.050638630986213684,
0.03132816031575203,
-0.04974843189120293,
-0.008367015048861504,
-0.058581944555044174,
0.009475484490394592,
0.030797462910413742,
-0.025627460330724716,
-0.018009411171078682,
0.016280371695756912,
0.028092628344893456,
0.004344000015407801,
0.07689949870109558,
0.020594412460923195,
-0.03625849261879921,
0.021073751151561737,
-0.008525367826223373,
-0.009141659364104271,
-0.010468398220837116,
0.01963573694229126,
0.003935278858989477,
0.026363587006926537,
-0.038141604512929916,
-0.02867468073964119,
0.047625649720430374,
-0.02566169947385788,
-0.00771648483350873,
-0.007626608945429325,
-0.039237234741449356,
0.0060773203149437904,
-0.030540674924850464,
-0.06679916381835938,
-0.010656709782779217,
0.017769742757081985,
0.06245088577270508,
-0.011623945087194443,
0.045263197273015976,
-0.005431069992482662,
0.015792474150657654,
0.04673545062541962,
0.052110884338617325,
0.01725616678595543,
0.023350605741143227,
-0.09169050306081772,
-0.03408435359597206,
0.03149935230612755,
-0.014508532360196114,
-0.051836974918842316,
-0.018762657418847084,
-0.03452945128083229,
-0.026175275444984436,
0.04447571560740471,
-0.027151070535182953,
0.013575535267591476,
0.0032761893235147,
-0.009347089566290379,
-0.03343382105231285,
0.023453321307897568,
0.03779922053217888,
0.015201861038804054,
-0.01315611507743597,
-0.03304008021950722,
0.007951874285936356,
-0.042592599987983704,
-0.021792758256196976,
0.02220361866056919,
-0.004037994425743818,
0.0006564147770404816,
0.016913780942559242,
-0.001892742933705449,
-0.04272955283522606,
-0.041873592883348465,
0.04286650940775871,
-0.017667027190327644,
-0.0383470356464386,
-0.001449783332645893,
0.018403153866529465,
-0.009792189113795757,
-0.01634884811937809,
0.0794331431388855,
-0.0324922651052475,
-0.004320461302995682,
-0.01224023662507534,
0.03257786110043526,
0.002469446277245879,
-0.10880971699953079,
-0.04700935631990433,
0.05406247451901436,
0.015689758583903313,
0.009381328709423542,
0.014628366567194462,
0.017196249216794968,
0.10524892061948776,
-0.02829805761575699,
-0.03232107311487198,
0.023675870150327682,
-0.11675302684307098,
0.01891672983765602,
-0.006736409850418568,
0.039682336151599884,
0.01182937528938055,
0.008563886396586895,
0.005063007120043039,
-0.03379332646727562,
0.016845304518938065,
0.005764894653111696,
-0.02821246162056923,
-0.020508816465735435,
-0.08593844622373581,
-0.04502352699637413,
0.022682955488562584,
0.018677061423659325,
-0.017050735652446747,
-0.010382802225649357,
0.050467438995838165,
0.02793855406343937,
-0.05495266988873482,
-0.02610679902136326,
0.04902942478656769,
-0.03348517790436745,
-0.01601502299308777,
-0.039031803607940674,
-0.016734030097723007,
0.006432543974369764,
-0.021399015560746193,
0.015176181681454182,
0.01871129870414734,
-0.01283940952271223,
0.019687093794345856,
0.017684146761894226,
-0.04878975450992584,
0.07922771573066711,
0.03418706730008125,
-0.057589031755924225,
0.0050416081212460995,
0.06467638164758682,
-0.01843739114701748,
0.03495743125677109,
-0.0029166857711970806,
0.03865518048405647,
0.021159347146749496,
-0.03242378681898117,
0.020440340042114258,
-0.029753191396594048,
0.018865371122956276,
-0.03509438410401344,
0.0008768246625550091,
-0.025901367887854576,
-0.014782439917325974,
0.016845304518938065,
0.007806360721588135,
0.009749391116201878,
0.05193968862295151,
-0.04283227026462555,
0.013361545279622078,
-0.012488465756177902,
-0.02273431420326233,
-0.057760223746299744,
0.06135525554418564,
-0.0189852062612772,
-0.022631598636507988,
0.023761466145515442,
0.028349416330456734,
-0.008782155811786652,
0.012942124158143997,
0.034666404128074646,
0.012360071763396263,
0.04673545062541962,
-0.010297206230461597,
0.00004039064151584171,
0.04940604791045189,
0.02629511058330536,
-0.02264871820807457,
0.044612668454647064,
0.027784481644630432,
-0.03372484818100929,
-0.04166816174983978,
-0.019327590242028236,
0.01584383100271225,
-0.03704597428441048,
-0.006034522317349911,
-0.007194349076598883,
0.03951114043593407,
0.08361023664474487,
0.038038890808820724,
-0.04584525153040886,
-0.04896094650030136,
0.033741965889930725,
-0.05882161483168602,
-0.003226971486583352,
-0.010476958006620407,
-0.02119358442723751,
-0.008901990018785,
-0.030848821625113487,
-0.04502352699637413,
-0.016948020085692406,
0.03773074224591255,
0.05673306807875633,
-0.00917589757591486,
0.005174282006919384,
0.013678250834345818,
-0.019978120923042297,
-0.06484757363796234,
-0.06888771057128906,
0.02119358442723751,
-0.06806598603725433,
0.0005170537042431533,
0.04300346225500107,
0.01241998840123415,
-0.041599687188863754,
0.0035458167549222708,
-0.02840077318251133,
0.05197392776608467,
0.008114506490528584,
0.01761567033827305,
0.04293498396873474,
-0.028263820335268974,
0.028469249606132507,
0.005576583556830883,
0.02420656569302082,
0.03033524379134178,
-0.037388358265161514,
-0.026260871440172195,
-0.003079318441450596,
-0.023984016850590706,
-0.05272717401385307,
0.014731082133948803,
0.012582621537148952,
-0.015963666141033173,
0.010528315789997578,
0.08210374414920807,
0.056116778403520584,
0.057965654879808426,
-0.0029766031075268984,
0.07053115218877792,
-0.030198290944099426,
-0.007990391924977303,
0.036566637456417084,
0.05423366650938988,
-0.02648342214524746,
-0.03216699883341789,
-0.0031948729883879423,
-0.015920868143439293,
0.011846494860947132,
-0.018026530742645264,
-0.032372429966926575,
-0.028554845601320267,
-0.04139425605535507,
-0.0442018061876297,
-0.02949640341103077,
0.006843405310064554,
-0.038689419627189636,
-0.013096197508275509,
0.003986636642366648,
-0.004279803019016981,
0.01843739114701748,
0.00017600689898245037,
0.011076129972934723,
-0.014679724350571632,
-0.00945836491882801,
-0.001632744912058115,
0.01871129870414734,
-0.025182360783219337,
-0.0316876620054245,
-0.000023639224309590645,
-0.03899756446480751,
0.014414376579225063,
0.009740832261741161,
-0.03728564456105232,
0.024446235969662666,
0.01613485813140869,
-0.031379517167806625,
0.0038603823632001877,
0.023076698184013367,
0.021056631579995155,
0.004733462352305651,
0.01031432580202818,
0.010922057554125786,
-0.023487558588385582,
0.07498215138912201,
-0.022631598636507988,
-0.029085541144013405,
0.015510006807744503,
0.049543000757694244,
0.014808118343353271,
0.008709399029612541,
-0.01910504139959812,
0.005820532329380512,
0.049919623881578445,
0.003550096647813916,
-0.01845451071858406,
0.026004083454608917,
0.008242900483310223,
-0.03004421852529049,
-0.0864177867770195,
-0.019122160971164703,
-0.0063426680862903595,
0.007690805941820145,
-0.01242854818701744,
-0.016862424090504646,
-0.004596508573740721,
0.024548949673771858,
-0.02667173370718956,
0.038963329046964645,
-0.00038197243702597916,
0.01247134618461132,
-0.0305064357817173,
-0.01653715968132019,
0.04868704080581665,
-0.03086593933403492,
0.04228445515036583,
0.051391877233982086,
0.005144323222339153,
0.04218173772096634,
-0.022083783522248268,
-0.03327975049614906,
-0.046358827501535416,
0.0313110388815403,
0.005324074998497963,
-0.03086593933403492,
0.007027436513453722,
0.035402532666921616,
0.015124823898077011,
0.02850348874926567,
-0.04427028447389603,
-0.00912453979253769,
0.03725140541791916,
-0.018043650314211845,
-0.00912453979253769,
-0.07559844106435776,
-0.029616236686706543,
0.055945586413145065,
-0.005610821768641472,
0.05738360062241554,
-0.04129153862595558,
-0.028982827439904213,
-0.02848636917769909,
-0.00657377764582634,
0.0027026955503970385,
-0.008033190853893757,
0.013250269927084446,
-0.002274715341627598,
0.055945586413145065,
-0.04868704080581665,
0.02018355205655098,
0.004853296559303999,
0.056390684098005295,
0.0027005558367818594,
-0.01611773855984211,
0.032303955405950546,
0.07648864388465881,
0.00963811669498682,
0.006685052532702684,
0.03625849261879921,
0.001643444411456585,
0.0011223783949390054,
-0.05361737310886383,
0.009013265371322632,
-0.008610963821411133,
0.03992200270295143,
0.0040315743535757065,
-0.047180548310279846,
-0.031910210847854614,
-0.031276799738407135,
0.07552996277809143,
0.06029386445879936,
0.011512670665979385,
-0.01643444411456585,
0.04118882492184639,
-0.03461504727602005,
-0.037491075694561005,
-0.04327736794948578,
0.014457174576818943,
0.09894904494285583,
0.057589031755924225,
0.019943881779909134,
0.013943598605692387,
-0.020388981327414513,
-0.031756140291690826,
-0.0032911684829741716,
0.014431496150791645,
0.05378856509923935,
-0.05543201044201851,
0.05163154378533363,
-0.017324643209576607,
-0.01679394766688347,
0.006633694749325514,
-0.05217935889959335,
0.006817726418375969,
-0.011718100868165493,
0.011641064658761024,
0.027989912778139114,
-0.0037833459209650755,
-0.06351228058338165,
-0.0023260728921741247,
0.018300438299775124,
-0.02740785852074623,
0.023624513298273087,
0.026603255420923233,
0.02266583777964115,
0.0022490364499390125,
-0.05193968862295151,
-0.025370672345161438,
0.06892194598913193,
-0.04485233500599861,
0.009244374930858612,
-0.008003232069313526,
0.06601168215274811
] |
9,641 | asyncclick.utils | get_text_stream | Returns a system stream for text processing. This usually returns
a wrapped stream around a binary stream returned from
:func:`get_binary_stream` but it also can take shortcuts for already
correctly configured streams.
:param name: the name of the stream to open. Valid names are ``'stdin'``,
``'stdout'`` and ``'stderr'``
:param encoding: overrides the detected default encoding.
:param errors: overrides the default error mode.
| def get_text_stream(
name: "te.Literal['stdin', 'stdout', 'stderr']",
encoding: t.Optional[str] = None,
errors: t.Optional[str] = "strict",
) -> t.TextIO:
"""Returns a system stream for text processing. This usually returns
a wrapped stream around a binary stream returned from
:func:`get_binary_stream` but it also can take shortcuts for already
correctly configured streams.
:param name: the name of the stream to open. Valid names are ``'stdin'``,
``'stdout'`` and ``'stderr'``
:param encoding: overrides the detected default encoding.
:param errors: overrides the default error mode.
"""
opener = text_streams.get(name)
if opener is None:
raise TypeError(f"Unknown standard stream '{name}'")
return opener(encoding, errors)
| (name: "te.Literal['stdin', 'stdout', 'stderr']", encoding: Optional[str] = None, errors: Optional[str] = 'strict') -> <class 'TextIO'> | [
0.0016996717313304543,
-0.0690874382853508,
0.011911015957593918,
-0.03915901854634285,
-0.0029910672456026077,
0.04870913177728653,
0.0031796731054782867,
-0.03310588002204895,
0.10466072708368301,
0.008884445764124393,
0.03086923435330391,
-0.019242236390709877,
-0.047857075929641724,
-0.025632647797465324,
0.014245291240513325,
0.03436620905995369,
-0.0207865871489048,
-0.000948021886870265,
-0.026520205661654472,
0.00966549664735794,
0.014342921786010265,
0.039798058569431305,
0.008826754987239838,
-0.017893150448799133,
0.003962942399084568,
0.02943139150738716,
-0.03072722628712654,
-0.035218264907598495,
-0.06234200671315193,
-0.03541352599859238,
0.02096409723162651,
0.019188983365893364,
0.012612185440957546,
-0.035537783056497574,
-0.037064384669065475,
0.01950850337743759,
-0.052117351442575455,
-0.019242236390709877,
0.059679336845874786,
-0.03255559131503105,
0.009230593219399452,
0.044413354247808456,
0.02463858388364315,
-0.0003430962678976357,
-0.014129908755421638,
-0.00917734019458294,
-0.05648413300514221,
-0.008928824216127396,
-0.04846061393618584,
0.04416484013199806,
0.021283619105815887,
0.0378454327583313,
0.0010761629091575742,
-0.003117544110864401,
-0.03163253515958786,
-0.016490809619426727,
-0.04778607189655304,
-0.03780993074178696,
-0.010242408141493797,
-0.06259052455425262,
-0.019171232357621193,
0.026910729706287384,
0.07160810381174088,
0.03692237287759781,
-0.0367448627948761,
-0.024958103895187378,
0.048957645893096924,
-0.050839267671108246,
0.01754700392484665,
0.027656277641654015,
0.012026398442685604,
-0.018283676356077194,
-0.04874463379383087,
-0.03859098255634308,
0.03330114111304283,
0.05438949540257454,
-0.032662101089954376,
0.01626892015337944,
-0.021745147183537483,
0.02960890345275402,
0.02352026291191578,
0.07519383728504181,
-0.017227482050657272,
0.03603481501340866,
-0.002123480197042227,
-0.0697619840502739,
-0.00881344173103571,
0.002589447656646371,
-0.0063415952026844025,
-0.04828310385346413,
0.002409717533737421,
-0.01947300136089325,
0.030638469383120537,
0.029147373512387276,
0.021940410137176514,
-0.009967265650629997,
-0.034135445952415466,
-0.013473115861415863,
-0.035555534064769745,
-0.002589447656646371,
0.0012015303364023566,
0.08570250868797302,
-0.016357677057385445,
-0.0177600160241127,
0.02502910979092121,
0.015771888196468353,
0.012487927451729774,
-0.01452930923551321,
0.051762327551841736,
0.018620947375893593,
0.010987956076860428,
0.010686187073588371,
0.0032728665973991156,
-0.009949514642357826,
0.017475998029112816,
-0.03752591088414192,
-0.005480664782226086,
0.027691779658198357,
-0.07022351771593094,
-0.04175068438053131,
-0.038697488605976105,
0.02149663120508194,
0.01743162050843239,
-0.011662499979138374,
0.054851025342941284,
0.07476780563592911,
-0.007779437582939863,
-0.054318491369485855,
0.07853104919195175,
0.0222244281321764,
0.046969518065452576,
-0.029094120487570763,
0.0488511398434639,
0.00917734019458294,
0.02976866438984871,
0.024940352886915207,
-0.0005594383110292256,
0.05222385749220848,
0.01701446808874607,
0.022117922082543373,
0.0367448627948761,
-0.0255261417478323,
-0.06322956830263138,
-0.018443435430526733,
-0.05552557110786438,
0.006177396979182959,
0.01120097003877163,
-0.08392739295959473,
0.008422916755080223,
0.046614497900009155,
0.053253423422575,
-0.002312086056917906,
-0.039052512496709824,
0.08485045284032822,
0.04363230615854263,
0.033886928111314774,
0.03638983890414238,
-0.02627168968319893,
-0.04643698409199715,
0.04853162169456482,
-0.00427802512422204,
0.041111644357442856,
-0.02442556992173195,
-0.031721290200948715,
-0.016375428065657616,
-0.02151438221335411,
-0.03670936077833176,
-0.022526198998093605,
0.06230650469660759,
-0.05140730366110802,
-0.015647631138563156,
0.06014086678624153,
-0.045158904045820236,
0.0470760278403759,
0.02353801392018795,
-0.03876849263906479,
0.016242293640971184,
0.06464965641498566,
-0.011387357488274574,
-0.0166594460606575,
-0.05055525153875351,
-0.020325057208538055,
-0.08982077240943909,
-0.03129526227712631,
-0.016774827614426613,
0.01839018240571022,
-0.013437613844871521,
0.002791367005556822,
-0.0011260879691690207,
-0.0536794513463974,
-0.0029089683666825294,
0.004535416606813669,
0.00994063913822174,
-0.0048904395662248135,
-0.017200855538249016,
-0.02092859521508217,
-0.041466664522886276,
-0.014760074205696583,
-0.012647688388824463,
0.0020447096321731806,
-0.012887328863143921,
0.10182054340839386,
0.028561586514115334,
0.03773892670869827,
-0.03287511318922043,
0.000600210449192673,
0.024478822946548462,
-0.005604922771453857,
-0.04228321835398674,
0.07760798931121826,
-0.016331050544977188,
-0.00908858422189951,
-0.020449314266443253,
0.06940696388483047,
0.02224217914044857,
-0.007908133789896965,
0.016020404174923897,
-0.02536638081073761,
0.0031219818629324436,
0.015958275645971298,
0.0477505698800087,
-0.004459974355995655,
0.010952454060316086,
0.04803458973765373,
-0.028579337522387505,
-0.0010428795358166099,
0.04466187208890915,
-0.003212956478819251,
0.019757019355893135,
-0.005995447747409344,
0.0598568469285965,
0.008711372502148151,
-0.015647631138563156,
0.03656735271215439,
-0.03930102661252022,
-0.019810274243354797,
-0.01968601532280445,
-0.0730636939406395,
-0.02227768301963806,
-0.0739157497882843,
-0.000282908818917349,
-0.03805844858288765,
0.019419748336076736,
0.0761168971657753,
0.008942137472331524,
-0.024780593812465668,
-0.04104064032435417,
0.01536361314356327,
-0.00939035415649414,
-0.040188584476709366,
0.049348171800374985,
-0.020680079236626625,
0.018106164410710335,
-0.03951403871178627,
-0.009754251688718796,
-0.010961329564452171,
-0.01387251727283001,
-0.033372145146131516,
0.03862648457288742,
-0.00330614997074008,
-0.0216741431504488,
0.04306427016854286,
-0.026875227689743042,
0.03866198658943176,
0.017183104529976845,
-0.08619954437017441,
-0.09067282825708389,
0.008112271316349506,
-0.02481609582901001,
0.009061957709491253,
-0.013925770297646523,
0.05999885872006416,
-0.0014345140662044287,
-0.022650456055998802,
-0.03186329826712608,
-0.044768378138542175,
0.03422420099377632,
0.057833217084407806,
0.04565593600273132,
-0.0036700484342873096,
-0.02536638081073761,
0.017475998029112816,
-0.024141551926732063,
-0.06589223444461823,
0.04363230615854263,
-0.06745433807373047,
-0.031171003356575966,
-0.04675650596618652,
-0.009203966706991196,
-0.034117694944143295,
0.015452368184924126,
-0.041999198496341705,
-0.035750798881053925,
-0.04576244205236435,
0.04846061393618584,
0.015416866168379784,
-0.07973812520503998,
-0.031721290200948715,
0.0064791664481163025,
-0.0787440612912178,
0.03278635814785957,
-0.01130747701972723,
-0.0017595818499103189,
0.051371801644563675,
-0.07696894556283951,
-0.04295776039361954,
-0.0312420092523098,
-0.014405051246285439,
-0.02778053656220436,
-0.00822321604937315,
-0.025046860799193382,
-0.03131301328539848,
-0.007273530121892691,
0.011822259984910488,
-0.03230707719922066,
0.02282796800136566,
0.04061461240053177,
-0.01565650664269924,
0.01949075236916542,
0.05350194126367569,
-0.010730564594268799,
-0.03269760310649872,
0.013464240357279778,
-0.06411711871623993,
-0.009763128124177456,
-0.009754251688718796,
0.01949075236916542,
-0.03525376692414284,
0.051016781479120255,
0.041289154440164566,
-0.023040981963276863,
0.018443435430526733,
0.023946288973093033,
-0.0007466573733836412,
-0.07675593346357346,
-0.0045709190890192986,
0.05421198531985283,
0.0017973030917346478,
-0.009825256653130054,
-0.05570308119058609,
0.04434235021471977,
-0.002363120671361685,
0.009780879132449627,
-0.04278025031089783,
-0.03511175885796547,
0.049348171800374985,
0.00007994947372935712,
-0.030212441459298134,
0.05012922361493111,
-0.042922258377075195,
0.06251952052116394,
0.017955278977751732,
-0.04352579638361931,
-0.02847282961010933,
-0.0013557433849200606,
0.03583955392241478,
0.04480388015508652,
0.04167968034744263,
-0.02609417773783207,
-0.0543539933860302,
-0.04920616373419762,
0.05371495336294174,
-0.01139623299241066,
-0.029307134449481964,
-0.04409383609890938,
-0.04633047804236412,
0.09131187200546265,
0.04356130212545395,
0.008063456043601036,
0.07590387761592865,
-0.006190710701048374,
-0.0037876497954130173,
0.0029333760030567646,
0.048957645893096924,
-0.06624726206064224,
0.026324942708015442,
0.021993663161993027,
-0.05921780690550804,
-0.017378367483615875,
0.01038441713899374,
0.03370941802859306,
0.0426737442612648,
-0.00675430940464139,
-0.001762910163961351,
0.010890325531363487,
-0.05712317302823067,
-0.10501575469970703,
0.005449600517749786,
0.05020022764801979,
-0.017928652465343475,
0.006097516976296902,
-0.03749040886759758,
0.07618790119886398,
0.0010645136935636401,
0.010322288610041142,
0.05122979357838631,
-0.013295604847371578,
0.053395431488752365,
-0.0312420092523098,
0.05112328752875328,
0.0025117865297943354,
0.03456147015094757,
0.0011227596551179886,
0.012026398442685604,
-0.033762671053409576,
0.03488099202513695,
0.014502682723104954,
0.0006662225350737572,
0.006417037453502417,
-0.005844563245773315,
0.003244020976126194,
-0.02518886886537075,
-0.006257277447730303,
-0.0499517098069191,
-0.00013521377695724368,
-0.034312956035137177,
-0.03291061520576477,
0.01636655256152153,
0.0052809645421803,
-0.010073772631585598,
-0.029679907485842705,
0.007699557580053806,
-0.029094120487570763,
0.029005365446209908,
0.04803458973765373,
-0.0005511174676939845,
-0.01798190549015999,
0.030922487378120422,
-0.0009291613241657615,
0.036496344953775406,
0.02130137011408806,
-0.016517436131834984,
0.009656621143221855,
-0.006851940415799618,
-0.0001992843026528135,
0.009022017940878868,
-0.03855548053979874,
0.007051640655845404,
-0.01333110686391592,
-0.01074831560254097,
0.07419977337121964,
0.0004967545974068344,
0.013792636804282665,
0.07498081773519516,
0.01000276766717434,
0.023467008024454117,
-0.0255261417478323,
0.014706820249557495,
0.012150656431913376,
-0.03163253515958786,
0.026608960703015327,
-0.014103281311690807,
0.0011493864003568888,
-0.011271975003182888,
0.00026876336778514087,
-0.0330171212553978,
0.046223971992731094,
0.002126808511093259,
-0.04448435828089714,
0.01872745342552662,
0.016730450093746185,
-0.0027070490177720785,
0.027105992659926414,
-0.04175068438053131,
0.030176939442753792,
-0.0371708907186985,
-0.014085530303418636,
0.0530049093067646,
0.01809728890657425,
-0.04082762449979782,
0.042922258377075195,
0.10963104665279388,
-0.02756752260029316,
0.003370497841387987,
0.013668378815054893,
-0.017973029986023903,
-0.07760798931121826,
-0.041644178330898285,
0.020697830244898796,
0.02245519310235977,
-0.006545733194798231,
-0.051904335618019104,
0.05012922361493111,
0.03147277235984802,
-0.059679336845874786,
-0.02423030696809292,
0.0977022796869278,
-0.024567579850554466,
0.0692649558186531,
0.009683247655630112,
0.04629497602581978,
0.03580405190587044,
0.011733504012227058,
-0.011662499979138374,
-0.054709017276763916,
0.01754700392484665,
-0.026608960703015327,
-0.016029279679059982,
-0.004881564062088728,
0.03933652862906456,
-0.009700998663902283,
-0.005986572243273258,
0.043667808175086975,
-0.00730459438636899,
0.06677979230880737,
0.04505239799618721,
-0.014360672794282436,
-0.0011155483080074191,
0.04654349386692047,
0.01798190549015999,
-0.009434731677174568,
-0.025419633835554123,
-0.024177053943276405,
-0.043135274201631546,
0.016197916120290756,
-0.045691438019275665,
-0.022934474050998688,
-0.009887386113405228,
-0.016402054578065872,
0.005809060763567686,
0.01570088416337967,
0.07040102779865265,
-0.06308755278587341,
-0.03585730493068695,
0.03505850210785866,
-0.028614839538931847,
-0.040508102625608444,
-0.013934645801782608,
-0.0016797017306089401,
0.01286070141941309,
0.07075604796409607,
-0.03196980431675911,
-0.0677383542060852,
-0.01929549127817154,
0.041999198496341705,
-0.03752591088414192,
-0.07498081773519516,
0.03695787489414215,
0.010313413105905056,
0.02389303594827652,
-0.005849000997841358,
0.044058334082365036,
0.0027625213842839003,
0.01730736345052719,
0.02701723761856556,
-0.05754920095205307,
0.0161091610789299,
0.01625116914510727,
0.06301654875278473,
-0.009487984701991081,
-0.01471569575369358,
-0.052649885416030884,
-0.022916723042726517,
0.0050635128282010555,
-0.020839840173721313,
0.013206848874688148,
0.025597145780920982,
0.03340764716267586,
-0.007504295092076063,
0.006816438399255276,
0.03456147015094757,
0.027674028649926186,
-0.031153252348303795,
-0.000908636546228081,
0.03969155251979828,
-0.018106164410710335,
0.047715067863464355,
0.024390067905187607,
0.023413754999637604,
-0.030389953404664993,
0.04079212248325348,
0.013260102830827236,
0.05438949540257454,
0.01636655256152153,
0.0651111826300621,
0.04395182430744171,
0.05122979357838631,
0.06464965641498566,
0.0002615519624669105,
0.012097402475774288,
0.015727510675787926,
-0.0382714606821537,
-0.06812887638807297,
-0.012922830879688263,
0.05502853915095329,
-0.017689011991024017,
0.014449428766965866,
-0.01507959421724081,
-0.06283903867006302,
0.02353801392018795,
-0.009097459726035595,
-0.0017185324104502797,
0.006230650469660759,
0.04941917583346367,
0.02960890345275402,
0.004810559097677469,
0.02353801392018795,
0.020307306200265884,
0.0011394013417884707,
0.024052796885371208,
-0.08307533711194992,
-0.007411101367324591,
-0.03385142609477043,
0.03638983890414238,
0.04359680414199829,
0.02685747668147087,
0.0007305704057216644,
-0.04618846997618675,
-0.011866637505590916,
0.03314138203859329,
0.01878070831298828,
-0.041289154440164566,
-0.03596381098031998,
-0.005942194722592831,
0.037241894751787186,
0.02037831023335457,
0.015106220729649067,
-0.0031597032211720943,
0.014547060243785381,
-0.014795576222240925,
0.09692122787237167,
0.029360387474298477,
0.0015132847474887967,
-0.026715466752648354,
-0.009692123159766197,
0.05012922361493111,
-0.009967265650629997,
0.0014555936213582754,
-0.04721803590655327,
-0.06457865238189697,
-0.004850499331951141,
0.03141951933503151,
-0.022863470017910004,
-0.017955278977751732,
-0.0335674062371254,
0.0279402956366539,
-0.04473287612199783,
-0.020254051312804222,
0.002904530381783843,
0.026946231722831726,
-0.06010536476969719,
0.002962221624329686,
0.005391909275203943,
-0.03567979484796524,
-0.029679907485842705,
-0.028242066502571106,
0.017156478017568588,
0.010792694054543972,
0.04068561643362045,
0.007912571541965008,
-0.001148276962339878,
0.009532363153994083,
0.08122922480106354,
-0.019810274243354797,
0.05218835547566414,
-0.0057646832428872585,
-0.004810559097677469,
-0.020112043246626854,
0.04043709859251976,
0.0027713968884199858,
0.009576740674674511,
-0.028721345588564873,
0.005032448563724756,
0.051762327551841736,
-0.016765952110290527,
-0.04838960990309715,
-0.05034223571419716,
0.016907962039113045,
0.009399229660630226,
-0.014626940712332726,
-0.008591552264988422,
0.03653184697031975,
0.038697488605976105,
-0.04835410788655281,
0.029910672456026077,
0.02426581084728241,
0.051016781479120255,
-0.009993892163038254,
0.013881392776966095,
-0.025774657726287842,
-0.0787440612912178,
0.04363230615854263,
-0.0211238581687212,
-0.03278635814785957,
-0.07341872155666351,
-0.03239583224058151,
-0.016765952110290527,
-0.008090082556009293,
0.03363841399550438,
-0.01258555892854929,
-0.020254051312804222,
0.04377431422472,
-0.008578239008784294,
0.025064611807465553,
0.01021578162908554,
0.023644519969820976,
-0.0056226737797260284,
-0.023981790989637375,
0.010091523639857769,
0.020733332261443138,
0.026040924713015556,
-0.05502853915095329,
0.053395431488752365,
-0.08662556856870651,
-0.007286843378096819,
-0.0536794513463974,
-0.01425416674464941,
-0.02352026291191578,
0.016410930082201958,
-0.025437384843826294,
-0.01707659848034382,
-0.05091027170419693,
0.07995113730430603,
0.0164464320987463,
0.021177111193537712,
-0.04377431422472,
0.0036944563034921885,
0.08321735262870789,
-0.02667996473610401,
0.010482048615813255,
0.03125976026058197,
-0.006936258636415005,
0.03862648457288742,
-0.01168912649154663,
-0.019029224291443825,
0.06830639392137527,
-0.06724132597446442,
-0.011280850507318974,
0.015496746636927128,
-0.009132961742579937,
-0.00945248268544674,
0.042567238211631775,
-0.027425512671470642,
-0.02902311645448208,
-0.016118036583065987,
0.021603139117360115,
0.021993663161993027,
-0.002636044519022107,
-0.019064726307988167,
-0.00039080248097889125,
-0.0015177226159721613,
0.004440004006028175,
-0.08868470042943954,
-0.0662117600440979,
0.03986906260251999,
-0.05769120901823044,
0.04210570827126503,
-0.01525710616260767,
-0.01147611252963543,
0.009550114162266254,
0.054673515260219574,
-0.07377374172210693,
-0.013925770297646523,
0.04778607189655304,
-0.0008359678322449327,
0.01038441713899374,
0.004335716366767883,
-0.001625338918529451,
-0.04412933811545372,
0.04913515970110893,
-0.04380981624126434,
0.07277967780828476,
0.03223607316613197,
0.03544902801513672,
0.0075531103648245335,
-0.015807392075657845,
-0.04593995213508606,
0.006643364671617746
] |
9,642 | asyncclick.termui | getchar | Fetches a single character from the terminal and returns it. This
will always return a unicode character and under certain rare
circumstances this might return more than one character. The
situations which more than one character is returned is when for
whatever reason multiple characters end up in the terminal buffer or
standard input was not actually a terminal.
Note that this will always read from the terminal, even if something
is piped into the standard input.
Note for Windows: in rare cases when typing non-ASCII characters, this
function might wait for a second character and then return both at once.
This is because certain Unicode characters look like special-key markers.
.. versionadded:: 2.0
:param echo: if set to `True`, the character read will also show up on
the terminal. The default is to not show it.
| def getchar(echo: bool = False) -> str:
"""Fetches a single character from the terminal and returns it. This
will always return a unicode character and under certain rare
circumstances this might return more than one character. The
situations which more than one character is returned is when for
whatever reason multiple characters end up in the terminal buffer or
standard input was not actually a terminal.
Note that this will always read from the terminal, even if something
is piped into the standard input.
Note for Windows: in rare cases when typing non-ASCII characters, this
function might wait for a second character and then return both at once.
This is because certain Unicode characters look like special-key markers.
.. versionadded:: 2.0
:param echo: if set to `True`, the character read will also show up on
the terminal. The default is to not show it.
"""
global _getchar
if _getchar is None:
from ._termui_impl import getchar as f
_getchar = f
return _getchar(echo)
| (echo: bool = False) -> str | [
-0.013347680680453777,
-0.051655612885951996,
0.0175227839499712,
0.026098918169736862,
0.02911728248000145,
-0.007112135645002127,
0.03620230779051781,
-0.01201923843473196,
0.0368710458278656,
-0.07171779870986938,
0.03179224207997322,
0.013148865662515163,
-0.017640266567468643,
0.05422212928533554,
0.008630355820059776,
-0.01036546379327774,
0.0009923778707161546,
-0.010772129520773888,
0.028177432715892792,
0.04695636406540871,
0.024851808324456215,
-0.02134544402360916,
0.09239450842142105,
-0.01248916331678629,
-0.041678741574287415,
0.038750749081373215,
0.03681682422757149,
-0.01835419051349163,
-0.01025701966136694,
-0.03777474910020828,
0.05313768610358238,
-0.0677415132522583,
-0.012353608384728432,
-0.010049168020486832,
-0.020297149196267128,
0.08776754885911942,
-0.03632882609963417,
0.0038497711066156626,
-0.02073092758655548,
-0.023333588615059853,
0.0003086707729380578,
-0.030635502189397812,
0.007197987288236618,
-0.04218481481075287,
-0.036997564136981964,
-0.027056841179728508,
-0.015362936072051525,
0.005340879783034325,
-0.018381301313638687,
-0.005887619219720364,
0.052884649485349655,
0.03535282611846924,
-0.05140257626771927,
-0.03472023457288742,
0.007523320149630308,
-0.06445203721523285,
-0.059788934886455536,
-0.060801081359386444,
-0.050281986594200134,
0.0290449857711792,
-0.052270133048295975,
-0.01567923277616501,
-0.007658875547349453,
0.027671359479427338,
0.007722134701907635,
-0.051257986575365067,
0.08386355638504028,
-0.028068987652659416,
0.0005504110595211387,
-0.004717325326055288,
-0.019483817741274834,
0.07909201085567474,
-0.07591097801923752,
-0.056029532104730606,
-0.018083080649375916,
-0.03641919791698456,
-0.03419608995318413,
0.012118645943701267,
-0.03784704580903053,
0.018923522904515266,
0.01389893889427185,
0.026370028033852577,
0.022393738850951195,
0.025592844933271408,
-0.04460673779249191,
0.014920121990144253,
-0.024255365133285522,
0.026695361360907555,
-0.035913124680519104,
0.04576347768306732,
0.008964724838733673,
-0.01248916331678629,
-0.01650160178542137,
0.06503040343523026,
-0.00029398559127002954,
-0.05440286919474602,
0.01820959895849228,
0.07721231132745743,
0.0041525112465023994,
-0.026623064652085304,
-0.023315515369176865,
0.06354833394289017,
0.012100571766495705,
0.014603826217353344,
-0.02781595103442669,
0.016176268458366394,
-0.01667330414056778,
0.03824467584490776,
0.046197254210710526,
-0.06029500812292099,
-0.02450840175151825,
-0.0017464043339714408,
0.03517208620905876,
-0.03466601297259331,
0.011883683502674103,
-0.017604118213057518,
-0.020459815859794617,
0.07077795267105103,
0.011856571771204472,
0.0015554972924292088,
0.016682341694831848,
0.0160587877035141,
0.03969059884548187,
-0.07887512445449829,
0.012263238430023193,
0.08400814980268478,
-0.03088853880763054,
0.0290449857711792,
-0.018028857186436653,
0.04240170493721962,
-0.0029822171200066805,
0.04663103073835373,
0.055559609085321426,
-0.0037390675861388445,
0.022086480632424355,
0.05469205230474472,
-0.014341752976179123,
0.05783693492412567,
-0.04269088804721832,
0.015769602730870247,
-0.009326205588877201,
0.0009336372604593635,
0.06163248419761658,
-0.0275809895247221,
-0.05024584010243416,
-0.009543094784021378,
0.0649581104516983,
-0.05230627954006195,
-0.00020121493434999138,
0.007324505597352982,
0.012516274116933346,
0.0356239378452301,
-0.045980364084243774,
0.05114953964948654,
0.035063643008470535,
0.000614517426583916,
-0.032460980117321014,
0.040124375373125076,
0.011522201821208,
0.03885919228196144,
-0.025755511596798897,
0.025556696578860283,
0.014079679735004902,
-0.06907898932695389,
0.016194341704249382,
0.030201725661754608,
-0.04370303452014923,
0.03363579511642456,
0.0585237517952919,
-0.0073470985516905785,
-0.023478182032704353,
0.03258749842643738,
0.03258749842643738,
-0.04576347768306732,
0.017233598977327347,
0.002693032380193472,
-0.030780095607042313,
0.029623355716466904,
0.035822752863168716,
-0.01667330414056778,
0.004138955846428871,
-0.09405732154846191,
-0.03385268151760101,
-0.015055677853524685,
0.059788934886455536,
0.03204527869820595,
0.07583868503570557,
0.026514621451497078,
-0.01620337925851345,
0.01897774450480938,
-0.020459815859794617,
0.0855986699461937,
-0.027382174506783485,
-0.027544841170310974,
-0.019031966105103493,
-0.03674452751874924,
0.007789912633597851,
-0.022863663733005524,
-0.014676122926175594,
-0.01698056235909462,
-0.05367990583181381,
0.03242483362555504,
0.03542512282729149,
0.03488290309906006,
0.017070934176445007,
-0.02656884305179119,
0.007306431885808706,
-0.011359536089003086,
-0.010175686329603195,
-0.044968217611312866,
-0.07150091230869293,
-0.027671359479427338,
0.005566805135458708,
-0.016772711649537086,
0.002907661721110344,
-0.01921270787715912,
-0.03195490688085556,
-0.013889902271330357,
0.022610627114772797,
0.03708793595433235,
0.0029551060870289803,
-0.006904284469783306,
0.062030114233493805,
0.018688559532165527,
0.028828097507357597,
-0.02689417637884617,
-0.050824206322431564,
0.054185979068279266,
-0.04453444108366966,
-0.04149800166487694,
-0.00020643945026677102,
-0.06000582128763199,
0.00836828164756298,
0.021146630868315697,
-0.02197803556919098,
-0.029135357588529587,
0.0029686614871025085,
0.040522005409002304,
0.014504419639706612,
-0.0022231072653084993,
-0.0026501065585762262,
0.012543385848402977,
0.07851364463567734,
0.05371605604887009,
-0.01681789755821228,
0.016528712585568428,
0.04572732746601105,
0.0649581104516983,
-0.05313768610358238,
0.010238945484161377,
0.018706634640693665,
0.03549741953611374,
0.001122285146266222,
-0.030201725661754608,
-0.02380351349711418,
0.009705760516226292,
-0.012416867539286613,
0.0023044403642416,
-0.004703769460320473,
0.06611485034227371,
-0.03632882609963417,
0.06362062692642212,
-0.02411077357828617,
0.01106131449341774,
-0.05100494995713234,
-0.05114953964948654,
-0.03179224207997322,
0.05686093866825104,
0.039365265518426895,
0.001471904804930091,
0.018381301313638687,
0.03162957355380058,
-0.03502749651670456,
-0.006696432828903198,
-0.012299385853111744,
-0.017875228077173233,
-0.003571882611140609,
0.021381592378020287,
0.0030341800302267075,
-0.07504342496395111,
-0.04992050677537918,
0.043449997901916504,
-0.01806500554084778,
-0.000584582332521677,
-0.08191156387329102,
-0.03593119606375694,
-0.00031996704638004303,
-0.03148498386144638,
-0.007749245967715979,
0.006999173201620579,
0.027237582951784134,
-0.002711106324568391,
0.0065111736766994,
-0.037594009190797806,
0.047209400683641434,
-0.05740315839648247,
-0.02788824774324894,
-0.059644341468811035,
-0.0024964772164821625,
-0.013302495703101158,
0.0023518847301602364,
0.020532112568616867,
-0.05733086168766022,
-0.00944368727505207,
-0.047426287084817886,
-0.010202797129750252,
0.03553356975317001,
-0.05953589826822281,
0.014341752976179123,
-0.021074334159493446,
-0.04319696128368378,
0.011187832802534103,
-0.029171504080295563,
0.054511312395334244,
-0.08820132911205292,
0.004649547394365072,
-0.034611791372299194,
-0.00821465253829956,
0.04876376688480377,
-0.001961033558472991,
-0.008702651597559452,
-0.011431831866502762,
0.038606155663728714,
0.02327936701476574,
-0.008011319674551487,
0.02188766561448574,
-0.007613690569996834,
-0.006099989637732506,
0.027924396097660065,
0.044895920902490616,
-0.05230627954006195,
-0.0010742759332060814,
-0.05729471519589424,
0.00023355052690021694,
-0.0580899715423584,
0.005309250205755234,
-0.008955688215792179,
0.02888232097029686,
-0.03781089559197426,
-0.009023466147482395,
0.019303077831864357,
-0.015606936067342758,
0.05255931615829468,
-0.011657757684588432,
0.015010492876172066,
0.02712913788855076,
0.04800465703010559,
0.07001884281635284,
0.04261859133839607,
-0.07526031136512756,
-0.019791075959801674,
-0.0039785485714674,
0.03204527869820595,
-0.04229326173663139,
-0.0011550443014129996,
0.011540275998413563,
0.014540567062795162,
0.025484399870038033,
0.028864245861768723,
-0.02927994914352894,
-0.00280373590067029,
-0.02027907595038414,
-0.030093280598521233,
-0.008449614979326725,
-0.07103098928928375,
0.008431540802121162,
-0.012543385848402977,
-0.018019821494817734,
-0.012453015893697739,
0.027382174506783485,
0.009787093847990036,
0.08429733663797379,
-0.024002328515052795,
0.006538284942507744,
0.0009336372604593635,
0.01859818957746029,
0.011784275993704796,
-0.016320860013365746,
0.019989890977740288,
0.02712913788855076,
0.05407753586769104,
-0.013989308848977089,
-0.06336759030818939,
-0.0053047314286231995,
-0.0023134774528443813,
-0.01596841588616371,
-0.050498876720666885,
-0.04326925799250603,
0.0013928308617323637,
-0.004308399744331837,
-0.03155727684497833,
0.021164704114198685,
0.06076493114233017,
0.013284421525895596,
0.02665921300649643,
-0.0403774119913578,
-0.006429840810596943,
-0.028593135997653008,
-0.0010742759332060814,
0.018399374559521675,
-0.005078806076198816,
0.12955473363399506,
0.05639101192355156,
-0.038063932210206985,
-0.022158775478601456,
0.0397990420460701,
-0.018833152949810028,
-0.08292371034622192,
-0.025159066542983055,
-0.0462334007024765,
-0.033364683389663696,
0.01988144777715206,
-0.027942469343543053,
-0.010763092897832394,
0.022249147295951843,
-0.022755220532417297,
-0.03349120169878006,
-0.016637155786156654,
0.013175977393984795,
0.06062033772468567,
-0.07583868503570557,
-0.023857736960053444,
-0.03650956600904465,
0.014305604621767998,
0.019556114450097084,
0.014025457203388214,
0.033292386680841446,
0.04890836030244827,
0.041678741574287415,
0.020098336040973663,
0.0011770720593631268,
-0.07056106626987457,
-0.020495964214205742,
-0.03481060639023781,
-0.026008548215031624,
0.008960206992924213,
0.018706634640693665,
0.019176559522747993,
-0.007898356765508652,
0.013447088189423084,
0.004025992937386036,
0.01728782244026661,
-0.015489454381167889,
-0.0005323370569385588,
-0.0006540543981827796,
0.01781196892261505,
0.04645029082894325,
0.0671631395816803,
-0.009850353002548218,
-0.03679874911904335,
0.04146185517311096,
0.05317383259534836,
0.0068862102925777435,
-0.02067670412361622,
0.07251305878162384,
-0.024363810196518898,
-0.018001746386289597,
0.0277978777885437,
-0.01890544779598713,
0.030147504061460495,
-0.037304822355508804,
0.07873053103685379,
0.038750749081373215,
-0.012434941716492176,
-0.010320278815925121,
-0.00043688350706361234,
0.05216168612241745,
0.052884649485349655,
-0.014829752035439014,
0.05407753586769104,
-0.015028566122055054,
0.0277978777885437,
-0.08162237703800201,
-0.028484690934419632,
0.018417449668049812,
-0.01447730790823698,
-0.03209950029850006,
-0.0005035315407440066,
-0.0009997205343097448,
-0.02326129376888275,
-0.055559609085321426,
-0.000981646473519504,
-0.026785731315612793,
-0.05339072272181511,
0.02749061957001686,
0.048583026975393295,
0.03656378760933876,
0.008314060047268867,
0.0068139140494167805,
0.021526185795664787,
0.014233308844268322,
0.07211542874574661,
-0.01271508913487196,
-0.00012898935528937727,
-0.0012346830917522311,
0.042835481464862823,
0.03385268151760101,
0.06741617619991302,
0.03466601297259331,
-0.013763383962213993,
-0.016537748277187347,
0.044751331210136414,
0.04091963171958923,
-0.01689922995865345,
-0.0012482386082410812,
0.004423622041940689,
-0.011522201821208,
-0.023622773587703705,
0.03708793595433235,
-0.05198094621300697,
0.03571430966258049,
-0.005639101378619671,
0.06741617619991302,
-0.06589795649051666,
0.01629374921321869,
-0.029008839279413223,
0.02127314917743206,
-0.04992050677537918,
0.04731784388422966,
0.006407248321920633,
0.04041355848312378,
0.02665921300649643,
-0.027906322851777077,
-0.000557753664907068,
-0.015272566117346287,
0.07554949820041656,
0.0325513519346714,
0.039148375391960144,
-0.052197836339473724,
0.034846752882003784,
-0.013004274107515812,
0.013230198994278908,
-0.009705760516226292,
0.038606155663728714,
-0.05870449170470238,
-0.04504051432013512,
-0.09629850089550018,
0.06474122405052185,
-0.04391992464661598,
0.022700997069478035,
0.017775820568203926,
-0.030237874016165733,
-0.002934772754088044,
-0.03578660637140274,
-0.002720143413171172,
0.017323970794677734,
-0.008616799488663673,
-0.026171213015913963,
0.004265474155545235,
0.03781089559197426,
-0.03535282611846924,
-0.035913124680519104,
-0.007984207943081856,
0.004136696457862854,
0.006592507008463144,
0.03555164113640785,
-0.024526476860046387,
0.04746243730187416,
-0.033220089972019196,
-0.03363579511642456,
0.03327431157231331,
-0.02987639233469963,
0.016185306012630463,
-0.016384119167923927,
-0.009353317320346832,
-0.06900669634342194,
-0.03173802047967911,
0.04402836784720421,
-0.0045546586625278,
-0.044895920902490616,
0.026695361360907555,
0.05653560534119606,
0.044353701174259186,
-0.008201097138226032,
-0.022447960451245308,
0.04670332744717598,
-0.0017509228782728314,
-0.03791934251785278,
-0.01190175674855709,
0.0675969198346138,
-0.024164995178580284,
-0.014513456262648106,
-0.0006489711231552064,
0.006185841280966997,
-0.003074846463277936,
-0.05039042979478836,
0.025249438360333443,
-0.04883606359362602,
-0.034846752882003784,
-0.093045175075531,
-0.0001421918859705329,
0.011323387734591961,
0.03842541575431824,
-0.01068175956606865,
0.030942760407924652,
-0.007360653951764107,
-0.03838926553726196,
0.04001593217253685,
0.0021598481107503176,
0.0044010295532643795,
0.0494505800306797,
0.0014628678327426314,
0.021164704114198685,
0.0018864781595766544,
0.062247004359960556,
0.006863617803901434,
0.02481565997004509,
-0.023062478750944138,
0.025249438360333443,
-0.01036546379327774,
-0.03634690120816231,
-0.006750654894858599,
-0.028322024270892143,
0.014278493821620941,
-0.05060731992125511,
0.013410939835011959,
0.004317436832934618,
-0.10229907929897308,
0.008309541270136833,
-0.0049477689899504185,
0.008372800424695015,
0.041895631700754166,
-0.022104553878307343,
0.017342044040560722,
0.026315806433558464,
0.013510347343981266,
-0.012859681621193886,
0.0431608147919178,
-0.0009438039269298315,
0.006795839872211218,
0.010898647829890251,
0.011016128584742546,
0.038750749081373215,
-0.0027178842574357986,
0.004699251148849726,
-0.050209689885377884,
-0.00764080137014389,
0.022755220532417297,
-0.024436105042696,
0.055342718958854675,
-0.030617428943514824,
0.0402328185737133,
0.023080551996827126,
0.01612204685807228,
0.031087353825569153,
0.004694732371717691,
-0.07005499303340912,
0.008386355824768543,
0.05306538939476013,
-0.031015057116746902,
-0.0013544235844165087,
0.03708793595433235,
0.0325513519346714,
0.007283839397132397,
-0.017649302259087563,
-0.057041678577661514,
0.01121494360268116,
-0.05624642223119736,
0.0016639415407553315,
-0.030942760407924652,
0.026478473097085953,
0.01528160274028778,
0.010844425298273563,
-0.02488795667886734,
-0.06390981376171112,
-0.08140549063682556,
-0.08270681649446487,
-0.054728202521800995,
-0.014947233721613884,
-0.03712408244609833,
0.03479253128170967,
-0.012190941721200943,
-0.03564201295375824,
-0.07128402590751648,
-0.009723834693431854,
-0.007274802308529615,
0.024291513487696648,
0.014386937953531742,
0.03828082233667374,
-0.0025981436483561993,
0.08458652347326279,
0.013004274107515812,
-0.020261002704501152,
0.013239236548542976,
0.014775529503822327,
-0.04334155470132828,
0.0457996241748333,
-0.014621900394558907,
0.04225711151957512,
-0.09969642013311386,
0.0170438215136528,
0.03618423268198967,
-0.07793527096509933,
0.002467106794938445,
-0.06286151707172394,
0.01056427787989378,
0.007717616390436888,
-0.0009658316848799586,
-0.04717325046658516,
-0.007369691040366888,
0.03397919982671738,
-0.014341752976179123,
0.02349625527858734,
0.016863081604242325,
0.026153139770030975,
0.0555957555770874,
-0.039365265518426895,
-0.0024716253392398357,
-0.0035876973997801542,
-0.007478135172277689,
0.005033621098846197,
0.0006376748206093907,
-0.013157903216779232,
0.012841607443988323,
0.02111048251390457,
-0.06752462685108185,
-0.04149800166487694,
0.07880282402038574,
0.007252209819853306,
0.09731064736843109,
-0.028448542580008507,
-0.029442615807056427,
0.023152848705649376,
0.016311824321746826,
0.059355154633522034,
0.02036944590508938,
-0.05675249546766281,
-0.0076814680360257626,
-0.003845252562314272,
-0.003736808430403471,
-0.00840894877910614,
-0.043522294610738754,
0.013266347348690033,
-0.0058379159308969975,
-0.00019528438861016184,
-0.05776464194059372,
0.011928868480026722,
-0.04102807864546776,
0.03385268151760101,
0.008449614979326725,
-0.04319696128368378,
-0.024616846814751625,
-0.012037312611937523,
-0.007017246913164854,
0.014558641240000725,
-0.016113009303808212,
-0.01420619711279869,
0.028466617688536644,
0.03332853317260742,
0.016835970804095268,
-0.005779175087809563,
-0.022484108805656433,
-0.020568260923027992,
0.04431755095720291,
0.027617137879133224,
0.0649581104516983,
-0.08321288973093033,
0.03356349840760231,
0.03244290500879288,
0.056897085160017014,
-0.07721231132745743,
0.03027402237057686,
-0.04731784388422966,
0.02073092758655548,
-0.0200441125780344,
0.013302495703101158,
0.028828097507357597,
0.02373121865093708
] |
9,644 | asyncclick.decorators | group | Creates a new :class:`Group` with a function as callback. This
works otherwise the same as :func:`command` just that the `cls`
parameter is set to :class:`Group`.
.. versionchanged:: 8.1
This decorator can be applied without parentheses.
| def group(
name: t.Union[str, _AnyCallable, None] = None,
cls: t.Optional[t.Type[GrpType]] = None,
**attrs: t.Any,
) -> t.Union[Group, t.Callable[[_AnyCallable], t.Union[Group, GrpType]]]:
"""Creates a new :class:`Group` with a function as callback. This
works otherwise the same as :func:`command` just that the `cls`
parameter is set to :class:`Group`.
.. versionchanged:: 8.1
This decorator can be applied without parentheses.
"""
if cls is None:
cls = t.cast(t.Type[GrpType], Group)
if callable(name):
return command(cls=cls, **attrs)(name)
return command(name, cls, **attrs)
| (name: Union[str, NoneType, Callable[..., Any]] = None, cls: Optional[Type[~GrpType]] = None, **attrs: Any) -> Union[asyncclick.core.Group, Callable[[Callable[..., Any]], Union[asyncclick.core.Group, ~GrpType]]] | [
-0.001841388875618577,
-0.01347927562892437,
0.005205697845667601,
-0.008828969672322273,
-0.017657939344644547,
-0.041292954236269,
-0.02879222482442856,
0.027134865522384644,
0.03882454335689545,
0.00003111338446615264,
0.039635591208934784,
0.004826620686799288,
0.057126034051179886,
-0.01728767715394497,
-0.009741399437189102,
-0.02313251607120037,
-0.005373197142034769,
-0.06107548624277115,
-0.0557507760822773,
-0.0338524654507637,
0.0576549768447876,
0.08477221429347992,
0.0230267271399498,
0.003975901287049055,
0.023679092526435852,
0.09351743012666702,
0.052718158811330795,
0.04922712594270706,
-0.026147501543164253,
-0.016529522836208344,
0.015692027285695076,
-0.01251835934817791,
0.0025852173566818237,
0.017587412148714066,
-0.025671452283859253,
-0.02209225855767727,
-0.027787230908870697,
0.04898028448224068,
-0.020029373466968536,
-0.02983248420059681,
0.04143400490283966,
0.005417275708168745,
-0.039706118404865265,
-0.032565366476774216,
0.01640610210597515,
0.04238610714673996,
0.08018802106380463,
0.012342044152319431,
-0.08343221992254257,
-0.03801349550485611,
-0.012412570416927338,
-0.006713190581649542,
0.00821627490222454,
-0.023873038589954376,
-0.014528349041938782,
0.003405081806704402,
0.02355567179620266,
0.005218921694904566,
0.03335878252983093,
-0.023784881457686424,
-0.005474578123539686,
0.029479853808879852,
0.00892153475433588,
-0.008035552687942982,
-0.04270347207784653,
-0.022339100018143654,
-0.06879808008670807,
-0.024772245436906815,
-0.04823976010084152,
0.02551276795566082,
-0.03496324643492699,
0.04235084354877472,
0.03759033977985382,
-0.026306185871362686,
-0.027628546580672264,
0.04488977789878845,
-0.037872444838285446,
0.015436370857059956,
0.0935879573225975,
0.032071683555841446,
-0.0187422763556242,
-0.00012197410978842527,
0.02607697620987892,
0.006457533687353134,
0.013690853491425514,
-0.023731987923383713,
-0.0035373179707676172,
-0.007422857917845249,
-0.03337641432881355,
-0.08745219558477402,
-0.025759609416127205,
0.0008689019596204162,
-0.016714654862880707,
-0.030096955597400665,
-0.0005735744489356875,
-0.02694091945886612,
-0.010094028897583485,
0.04383188858628273,
0.03699086979031563,
0.04771081730723381,
-0.03960033133625984,
0.0052233291789889336,
0.0061137196607887745,
-0.01930648274719715,
-0.013408749364316463,
-0.07362911105155945,
-0.0019383621402084827,
0.04686450585722923,
-0.10635315626859665,
0.008731995709240437,
0.030026430264115334,
-0.011328233405947685,
0.06329705566167831,
0.006951215676963329,
0.028051702305674553,
0.014069930650293827,
-0.055151306092739105,
-0.04756976291537285,
0.007158385589718819,
-0.03952980414032936,
-0.030696427449584007,
0.03362325578927994,
-0.016229787841439247,
0.015127819962799549,
0.04418451711535454,
0.007286213804036379,
-0.0051704347133636475,
-0.012095203623175621,
0.07320595532655716,
-0.0019438719609752297,
0.033006150275468826,
0.03314720466732979,
-0.008493971079587936,
-0.024684088304638863,
0.023255936801433563,
0.016282683238387108,
0.009238901548087597,
0.031948260962963104,
-0.03126063570380211,
0.03882454335689545,
0.04340873286128044,
-0.03126063570380211,
-0.024754613637924194,
0.037837181240320206,
0.047851867973804474,
-0.03563324362039566,
0.017913594841957092,
-0.055574461817741394,
-0.05088448524475098,
-0.01833675056695938,
-0.027240654453635216,
-0.04284452274441719,
0.06682335585355759,
0.060934435576200485,
0.024631192907691002,
0.07299437373876572,
-0.03570377081632614,
0.0021113711409270763,
0.010543632321059704,
0.00288274884223938,
-0.029638538137078285,
0.054622359573841095,
0.005906549748033285,
-0.008061999455094337,
0.0005115887615829706,
-0.009415216743946075,
0.014977952465415001,
0.015506897121667862,
0.004769318271428347,
0.04199821129441261,
-0.02267409861087799,
-0.0031670567113906145,
0.033975884318351746,
0.028545385226607323,
-0.0722891166806221,
0.03614455834031105,
0.033922988921403885,
0.017181888222694397,
0.02792828343808651,
-0.03302378207445145,
0.03468114510178566,
0.026729341596364975,
0.052224479615688324,
-0.0001998694788198918,
0.003923006821423769,
-0.0009041649173013866,
0.03945927694439888,
0.03531587868928909,
-0.053141314536333084,
-0.07369963079690933,
-0.035809557884931564,
-0.021986469626426697,
0.002397882752120495,
-0.0026777826715260744,
0.014784005470573902,
-0.03808402270078659,
-0.04481925070285797,
0.04189242422580719,
0.03030853345990181,
0.026182765141129494,
0.025741977617144585,
0.0250190868973732,
0.04277399927377701,
0.04379662498831749,
-0.007524238899350166,
-0.0001374705316266045,
-0.03383483365178108,
0.054199203848838806,
-0.03081984631717205,
-0.02840433269739151,
0.03124300204217434,
0.006171022076159716,
-0.06125180050730705,
0.09076692163944244,
-0.00017700364696793258,
-0.042597685009241104,
0.06245074421167374,
0.03418746218085289,
0.039247699081897736,
0.04876870661973953,
-0.012139282189309597,
0.03663823753595352,
0.031965892761945724,
0.005615630187094212,
-0.0015130023239180446,
-0.02798117697238922,
-0.015727290883660316,
-0.006933583877980709,
-0.0009317141375504434,
-0.009565084241330624,
0.013285328634083271,
-0.07927118241786957,
-0.0010270343627780676,
0.007938578724861145,
-0.06245074421167374,
-0.03312957286834717,
0.03727297484874725,
0.00590214179828763,
-0.01205994002521038,
0.017569780349731445,
0.0004242577706463635,
0.015595054253935814,
0.030590638518333435,
0.10557737201452255,
-0.018530698493123055,
-0.0061401668936014175,
-0.01371730025857687,
0.01085218321532011,
0.03305904567241669,
0.026235658675432205,
-0.06590651720762253,
-0.0070878597907722,
-0.018442539498209953,
-0.004123565275222063,
-0.04728766158223152,
0.020858054980635643,
-0.07969433814287186,
-0.0490860715508461,
0.01224507112056017,
0.01965911313891411,
0.011927704326808453,
0.0006452024099417031,
-0.0424213670194149,
0.023749619722366333,
0.07313542813062668,
0.037801917642354965,
0.0144137442111969,
-0.06206284835934639,
0.0020452530588954687,
0.019077273085713387,
-0.013126645237207413,
0.04002348706126213,
0.03547456115484238,
-0.03769613057374954,
-0.0530707910656929,
-0.03314720466732979,
0.003828237531706691,
-0.05582130327820778,
0.012967961840331554,
-0.07870697975158691,
0.05836023762822151,
-0.00936232227832079,
-0.034469567239284515,
-0.040164537727832794,
0.024736981838941574,
0.07052596658468246,
-0.009573900140821934,
0.013399933464825153,
-0.041187163442373276,
0.015339397825300694,
-0.004176459740847349,
0.007268582470715046,
-0.05405815318226814,
-0.008599760010838509,
0.005496617406606674,
-0.0012408162001520395,
-0.03175431489944458,
-0.0037444881163537502,
-0.024772245436906815,
-0.05359973385930061,
0.002108065178617835,
-0.051766060292720795,
0.03274168074131012,
0.03321772813796997,
-0.0374845527112484,
-0.012941515073180199,
-0.012800462543964386,
-0.03406404331326485,
-0.051342904567718506,
0.010790472850203514,
0.004822212737053633,
0.014907426200807095,
0.02075226604938507,
-0.04136347770690918,
0.028510121628642082,
0.0644959956407547,
0.06442546844482422,
-0.007722593378275633,
0.024913297966122627,
0.057090770453214645,
0.02076989784836769,
-0.03321772813796997,
-0.039247699081897736,
0.003228766843676567,
0.0007091165753081441,
0.014307955279946327,
-0.008520417846739292,
0.021968837827444077,
0.0451013557612896,
0.04905080795288086,
-0.041292954236269,
0.0000768622849136591,
0.02452540397644043,
0.01691741682589054,
-0.08470168709754944,
0.015692027285695076,
0.01788714900612831,
-0.030026430264115334,
0.00468556908890605,
-0.04372609779238701,
0.025336453691124916,
0.03649718686938286,
-0.027152497321367264,
0.02840433269739151,
-0.021281210705637932,
0.00010255191591568291,
0.04771081730723381,
-0.03030853345990181,
0.04876870661973953,
-0.0030480441637337208,
0.05984128266572952,
-0.018583592027425766,
-0.023467514663934708,
-0.030555374920368195,
0.05821918323636055,
0.000293674529530108,
0.045066092163324356,
0.04608871787786484,
-0.0010606443975120783,
-0.0916837528347969,
0.022815149277448654,
-0.04658240079879761,
0.03330588713288307,
0.007162793539464474,
-0.01154862716794014,
-0.011716126464307308,
0.02399645932018757,
-0.021827787160873413,
0.009503373876214027,
0.02687039226293564,
0.04231557995080948,
0.028580646961927414,
0.017146624624729156,
0.042104002088308334,
-0.08322063833475113,
0.04284452274441719,
0.07334700226783752,
-0.041292954236269,
0.00047742773313075304,
-0.0738406851887703,
0.03836612403392792,
0.0039692893624305725,
0.08921534568071365,
0.04637082293629646,
0.018195699900388718,
-0.009014099836349487,
0.024454878643155098,
0.06287389993667603,
-0.026182765141129494,
-0.06149864196777344,
0.0618160106241703,
-0.015982946380972862,
0.03427562117576599,
0.006911544594913721,
-0.026376711204648018,
-0.017560966312885284,
0.01012929156422615,
-0.010376133024692535,
-0.059911809861660004,
-0.0019350561778992414,
-0.0065721385180950165,
-0.005968259647488594,
0.06400231271982193,
-0.04178663343191147,
0.04637082293629646,
-0.03307667747139931,
0.020505424588918686,
-0.004240373615175486,
-0.037801917642354965,
-0.005470170173794031,
0.04492504149675369,
0.01154862716794014,
-0.05839550122618675,
-0.0038502770476043224,
0.04333820566534996,
0.0045974114909768105,
0.02694091945886612,
0.023273568600416183,
-0.031031424179673195,
-0.045559775084257126,
-0.015233608894050121,
0.0018424908630549908,
-0.012209807522594929,
0.05345868319272995,
0.04101084917783737,
0.020928580313920975,
0.05345868319272995,
-0.03755507618188858,
0.020505424588918686,
-0.02976195700466633,
-0.016079919412732124,
0.01085218321532011,
-0.03228326141834259,
0.04235084354877472,
0.005531880538910627,
-0.011151918210089207,
-0.02069937065243721,
0.012342044152319431,
0.058078132569789886,
0.04682924225926399,
-0.05772550404071808,
-0.05426973104476929,
-0.020999105647206306,
0.016996758058667183,
-0.039811909198760986,
-0.040129274129867554,
0.037837181240320206,
-0.01741109788417816,
0.02933880127966404,
0.0020584766753017902,
0.10240370035171509,
0.09647952020168304,
0.031031424179673195,
0.02977958880364895,
0.051237113773822784,
-0.014590059407055378,
0.02018805779516697,
-0.07080806791782379,
-0.015418739058077335,
-0.039741382002830505,
0.003576988819986582,
0.01870701275765896,
-0.006241547875106335,
0.009997055865824223,
-0.062380217015743256,
0.04905080795288086,
0.05627972260117531,
-0.022427257150411606,
0.016123998910188675,
-0.0576549768447876,
0.0018347770674154162,
-0.022903308272361755,
-0.0141757195815444,
0.049332913011312485,
-0.031084319576621056,
0.025406979024410248,
0.016467813402414322,
-0.030960898846387863,
-0.051201850175857544,
0.038295600563287735,
-0.026676446199417114,
0.017146624624729156,
0.041716109961271286,
0.009512189775705338,
-0.041575055569410324,
-0.007506607566028833,
0.019094904884696007,
-0.015304134227335453,
-0.033993516117334366,
-0.026306185871362686,
0.0028518936596810818,
0.024454878643155098,
-0.015700843185186386,
-0.013117829337716103,
-0.02738170698285103,
0.04143400490283966,
0.008163380436599255,
-0.013496906496584415,
-0.04721713438630104,
-0.0722891166806221,
0.012668226845562458,
0.06125180050730705,
-0.03907138481736183,
-0.050743430852890015,
0.04573608934879303,
-0.07630909234285355,
0.02694091945886612,
-0.02071700245141983,
-0.02357330359518528,
0.017181888222694397,
-0.006810163613408804,
0.008626206777989864,
-0.0606875941157341,
0.0031317935790866613,
0.005593590904027224,
-0.004928001668304205,
0.0008534743683412671,
0.0006980968755669892,
-0.03305904567241669,
-0.022779887542128563,
0.047358185052871704,
0.0202585831284523,
-0.03461061790585518,
0.06364968419075012,
-0.023203043267130852,
-0.017067283391952515,
0.03189536929130554,
-0.01562150102108717,
0.03383483365178108,
-0.020981475710868835,
0.08209222555160522,
0.04682924225926399,
-0.03081984631717205,
-0.01644136570394039,
-0.027646178379654884,
-0.013302960433065891,
-0.06668230146169662,
0.058501288294792175,
-0.07807224243879318,
0.01831911876797676,
-0.00842344481498003,
-0.02307962253689766,
-0.05095500871539116,
-0.0022987057454884052,
-0.013329407200217247,
0.00988245103508234,
0.05162500590085983,
-0.03602113574743271,
0.006766085047274828,
0.018565960228443146,
0.005337934009730816,
-0.02695855125784874,
-0.042139265686273575,
-0.000362823047908023,
0.023326463997364044,
0.03517482429742813,
-0.008793706074357033,
-0.04044664278626442,
-0.04460767284035683,
-0.012015861459076405,
-0.021968837827444077,
0.01587715744972229,
0.009917713701725006,
-0.001078275847248733,
-0.02015279419720173,
-0.007638843730092049,
0.05236553028225899,
0.03949454054236412,
0.03321772813796997,
0.01180428359657526,
-0.07327647507190704,
0.02219804748892784,
0.010102844797074795,
-0.014493086375296116,
-0.0335879921913147,
0.06788124144077301,
0.028651174157857895,
0.019447535276412964,
-0.0614633783698082,
-0.09499847888946533,
-0.01934174634516239,
-0.008291209116578102,
-0.025883030146360397,
-0.0006198571063578129,
-0.08660588413476944,
0.028051702305674553,
-0.01934174634516239,
-0.010005871765315533,
-0.04235084354877472,
0.026253290474414825,
0.04270347207784653,
0.030449585989117622,
0.017560966312885284,
0.04086979851126671,
0.019377009943127632,
-0.017199520021677017,
-0.033446937799453735,
0.0024728167336434126,
-0.017428729683160782,
0.03221273422241211,
0.004853067919611931,
0.01347927562892437,
-0.014537164941430092,
0.04496030509471893,
0.05106079950928688,
0.009177191182971,
-0.049403440207242966,
-0.035827189683914185,
-0.03621508181095123,
-0.05158974230289459,
-0.05236553028225899,
-0.029074329882860184,
-0.012879804708063602,
0.06601230055093765,
0.022515414282679558,
-0.03302378207445145,
-0.025318821892142296,
0.004518069792538881,
0.021492788568139076,
-0.0009537534788250923,
0.004328531213104725,
0.02069937065243721,
0.013787826523184776,
0.0337643064558506,
0.04760502651333809,
-0.02646486833691597,
-0.017243599519133568,
0.023396989330649376,
0.015489265322685242,
-0.006431086454540491,
-0.044537149369716644,
0.02454303577542305,
-0.033517464995384216,
-0.039741382002830505,
0.031119583174586296,
-0.05335289239883423,
-0.011504548601806164,
0.017023205757141113,
0.008599760010838509,
-0.08547747135162354,
-0.04185716062784195,
0.01059652678668499,
0.022815149277448654,
-0.019094904884696007,
-0.01870701275765896,
-0.03469877690076828,
0.011769020929932594,
0.025600925087928772,
0.008255945518612862,
-0.08653535693883896,
-0.009750214405357838,
0.035880085080862045,
-0.04302084073424339,
-0.045030828565359116,
0.06548336148262024,
0.017657939344644547,
-0.04101084917783737,
-0.034487199038267136,
-0.027804862707853317,
0.01495150476694107,
0.014537164941430092,
0.0028805448673665524,
0.028122229501605034,
0.04707608371973038,
-0.03609166294336319,
-0.008097262121737003,
0.011195996776223183,
-0.048945020884275436,
0.0014876570785418153,
-0.03286509960889816,
-0.046511873602867126,
0.02456066757440567,
-0.014114009216427803,
0.003420509397983551,
-0.05977075546979904,
-0.017596228048205376,
0.05441078171133995,
-0.0036849817261099815,
0.013399933464825153,
0.03274168074131012,
-0.00792976375669241,
0.030096955597400665,
-0.0015085944905877113,
-0.03801349550485611,
0.018671749159693718,
0.08533641695976257,
-0.011927704326808453,
-0.05010869726538658,
0.03723771125078201,
-0.02879222482442856,
0.03727297484874725,
0.043549783527851105,
-0.007400818634778261,
-0.022268574684858322,
-0.003347779391333461,
-0.017640307545661926,
-0.018010567873716354,
-0.048945020884275436,
-0.02651776373386383,
0.04658240079879761,
0.015445186756551266,
-0.006841018795967102,
-0.04672345146536827,
-0.023820145055651665,
0.008044367656111717,
0.010270344093441963,
-0.0015769165474921465,
0.004150012508034706,
0.06498967856168747,
-0.00759917264804244,
-0.02159857749938965,
0.01637084037065506,
-0.012033493258059025,
0.032441943883895874,
0.049332913011312485,
-0.01632676087319851,
0.026288554072380066,
-0.032565366476774216,
-0.01930648274719715,
-0.017032021656632423,
-0.013338223099708557,
0.02646486833691597,
0.023714356124401093,
-0.035421665757894516,
0.0017047448782250285,
-0.04344399645924568,
-0.025689082220196724,
-0.009512189775705338,
0.015577422454953194,
-0.0173582024872303,
0.03649718686938286,
0.05204816162586212,
-0.026359079405665398,
-0.06379073858261108,
0.06389652192592621,
-0.03365851566195488,
0.015577422454953194,
-0.03896559774875641,
-0.04619450867176056,
0.019888322800397873,
-0.04104611277580261,
0.016635311767458916,
0.026147501543164253,
-0.09901845455169678,
0.002044151071459055,
-0.040199801325798035,
0.0338524654507637,
0.047922395169734955,
-0.005809576250612736,
0.000858984247315675,
-0.0037929746322333813,
0.020099900662899017,
0.04637082293629646,
0.1023331731557846,
-0.008317655883729458,
-0.062309689819812775,
0.034346144646406174,
0.050320275127887726,
0.03554508835077286,
-0.026658814400434494,
-0.017032021656632423,
0.04196295142173767,
0.049332913011312485,
-0.07482805103063583,
-0.02020568959414959,
-0.04086979851126671,
0.0017576393438503146,
0.00935350637882948
] |
9,645 | asyncclick.decorators | help_option | Add a ``--help`` option which immediately prints the help page
and exits the program.
This is usually unnecessary, as the ``--help`` option is added to
each command automatically unless ``add_help_option=False`` is
passed.
:param param_decls: One or more option names. Defaults to the single
value ``"--help"``.
:param kwargs: Extra arguments are passed to :func:`option`.
| def help_option(*param_decls: str, **kwargs: t.Any) -> t.Callable[[FC], FC]:
"""Add a ``--help`` option which immediately prints the help page
and exits the program.
This is usually unnecessary, as the ``--help`` option is added to
each command automatically unless ``add_help_option=False`` is
passed.
:param param_decls: One or more option names. Defaults to the single
value ``"--help"``.
:param kwargs: Extra arguments are passed to :func:`option`.
"""
def callback(ctx: Context, param: Parameter, value: bool) -> None:
if not value or ctx.resilient_parsing:
return
echo(ctx.get_help(), color=ctx.color)
ctx.exit()
if not param_decls:
param_decls = ("--help",)
kwargs.setdefault("is_flag", True)
kwargs.setdefault("expose_value", False)
kwargs.setdefault("is_eager", True)
kwargs.setdefault("help", _("Show this message and exit."))
kwargs["callback"] = callback
return option(*param_decls, **kwargs)
| (*param_decls: str, **kwargs: Any) -> Callable[[~FC], ~FC] | [
0.030881090089678764,
0.04610158130526543,
0.05703099071979523,
-0.053290050476789474,
0.0845012217760086,
-0.018833063542842865,
-0.03434696048498154,
0.023967687040567398,
-0.07892648875713348,
-0.027470232918858528,
-0.0038097070064395666,
-0.03271488472819328,
-0.025948183611035347,
-0.031192835420370102,
-0.022463975474238396,
0.01843879744410515,
-0.06322921812534332,
-0.037152666598558426,
-0.020410126075148582,
0.030459318310022354,
0.08780205249786377,
-0.007394773885607719,
-0.0041856346651911736,
-0.03137621283531189,
-0.001088242046535015,
-0.018998105078935623,
0.005707683507353067,
-0.016889242455363274,
-0.044011056423187256,
0.010186725296080112,
0.025984860956668854,
-0.04467121884226799,
-0.037336044013500214,
0.027635274454951286,
-0.04239731654524803,
0.01422107219696045,
0.010168387554585934,
0.10577323287725449,
0.04676174372434616,
-0.013881820254027843,
0.007303084246814251,
0.010782708413898945,
0.012909909710288048,
-0.0032435229513794184,
-0.016394117847085,
0.020556829869747162,
0.013533399440348148,
0.028038708493113518,
-0.07936660200357437,
-0.07067441940307617,
0.0713345855474472,
0.0064962152391672134,
0.00276673655025661,
-0.0414804182946682,
0.02030009962618351,
-0.0004767864302266389,
0.04030679166316986,
-0.015834810212254524,
0.01470702700316906,
-0.021161982789635658,
0.009205645881593227,
0.03361344337463379,
0.009049773216247559,
0.016109880059957504,
0.0031930936966091394,
-0.00483663147315383,
0.018833063542842865,
-0.006542060058563948,
-0.0264616459608078,
0.009774121455848217,
-0.01743021234869957,
0.00664750300347805,
-0.026204915717244148,
0.0008206227794289589,
0.006404525134712458,
-0.03216474503278732,
-0.05596739053726196,
-0.041627123951911926,
-0.0018246249528601766,
0.004518009722232819,
-0.05699431523680687,
0.013652595691382885,
-0.030569344758987427,
0.0377761535346508,
0.01406519953161478,
-0.015101293101906776,
0.054280299693346024,
-0.04298413172364235,
0.04830213263630867,
0.00952655915170908,
-0.00809161551296711,
-0.03938989341259003,
0.017696112394332886,
0.009829135611653328,
-0.02477455697953701,
-0.04749526455998421,
-0.004293370060622692,
-0.00032091393950395286,
-0.005762697663158178,
-0.008875562809407711,
-0.008403360843658447,
-0.003101404057815671,
0.0573977492749691,
0.042764075100421906,
0.05772783234715462,
-0.02675505355000496,
0.01723766326904297,
-0.024316107854247093,
0.011305339634418488,
-0.02536137029528618,
-0.029469069093465805,
-0.04393770173192024,
-0.01322165410965681,
-0.032274775207042694,
-0.0046899281442165375,
0.09359684586524963,
0.005519719794392586,
-0.016091542318463326,
0.0024618683382868767,
-0.0616154782474041,
-0.06876727193593979,
-0.04789869859814644,
-0.03482374548912048,
-0.08435451984405518,
0.016724200919270515,
-0.01106694620102644,
-0.010856060311198235,
-0.01890641637146473,
-0.021510403603315353,
0.0487055666744709,
0.03905981034040451,
0.04195720702409744,
0.004896229598671198,
-0.02548973634839058,
0.0087884571403265,
-0.0222439207136631,
-0.02112530544400215,
0.026773391291499138,
-0.015110461972653866,
0.0045707314275205135,
-0.008618831634521484,
-0.006198223680257797,
-0.044891275465488434,
0.027378544211387634,
-0.024462811648845673,
-0.053986892104148865,
-0.03876640275120735,
-0.0663466677069664,
-0.021602092310786247,
0.06821713596582413,
0.04085692763328552,
-0.005446367897093296,
0.009370687417685986,
-0.02504962496459484,
0.027616936713457108,
-0.005070440471172333,
-0.006684178952127695,
-0.014725365675985813,
0.00904060434550047,
-0.01183713972568512,
0.049072325229644775,
-0.0591215156018734,
0.05736107379198074,
0.017320184037089348,
-0.0310644693672657,
-0.022574003785848618,
0.009361517615616322,
0.05472041293978691,
0.02338087186217308,
0.05332672968506813,
0.0004779325390700251,
0.0030463901348412037,
0.03817959129810333,
0.022225582972168922,
0.029652448371052742,
0.07390189915895462,
-0.018943091854453087,
0.004896229598671198,
0.026149902492761612,
-0.10327927768230438,
-0.03271488472819328,
-0.0164583008736372,
-0.028203750029206276,
-0.022427299991250038,
0.027396881952881813,
-0.010892735794186592,
0.01905311830341816,
0.05233648046851158,
-0.043607618659734726,
-0.020905250683426857,
-0.04452451691031456,
-0.04888894781470299,
-0.07738610357046127,
0.027745302766561508,
-0.019566580653190613,
-0.004522594157606363,
0.00797700323164463,
-0.0003002837474923581,
0.04507465660572052,
-0.02015339583158493,
0.008710521273314953,
0.008142044767737389,
-0.013936834409832954,
-0.03588734567165375,
0.029744137078523636,
0.10100536793470383,
0.02913898602128029,
-0.008669260889291763,
-0.044194433838129044,
-0.011442874558269978,
0.024261094629764557,
-0.06759364157915115,
-0.029579095542430878,
0.03522718325257301,
0.011030270718038082,
0.037024300545454025,
-0.015458882786333561,
0.03960995003581047,
-0.04786202311515808,
0.028772227466106415,
0.01934652589261532,
-0.0685838907957077,
0.05948827415704727,
0.06454955041408539,
0.06080860644578934,
0.02321583218872547,
0.030037544667720795,
-0.04426778480410576,
0.0019025611691176891,
-0.0295607578009367,
-0.02281239628791809,
-0.03346673771739006,
0.000977068324573338,
-0.026571674272418022,
0.023619266226887703,
-0.03557560220360756,
0.03040430322289467,
0.05431697517633438,
0.01028758380562067,
-0.015284672379493713,
0.021895499899983406,
0.036749228835105896,
0.0016549989813938737,
0.04687177389860153,
-0.020226746797561646,
0.0037867845967411995,
0.053546782582998276,
0.005097947083413601,
0.036180753260850906,
0.018668022006750107,
-0.017256001010537148,
0.0008154652314260602,
0.01485373079776764,
-0.0037638619542121887,
0.004905398935079575,
0.01203885767608881,
-0.045441415160894394,
0.01345087867230177,
-0.050906118005514145,
-0.002892809920012951,
-0.052703239023685455,
-0.014303592965006828,
0.0027942436281591654,
0.08046688139438629,
0.056920964270830154,
-0.025379708036780357,
0.019291512668132782,
-0.058754757046699524,
-0.011809633113443851,
0.012515643611550331,
0.01043428760021925,
-0.03971997648477554,
-0.03957327455282211,
-0.0013077242765575647,
0.025856494903564453,
0.020776884630322456,
0.019970016553997993,
-0.07423198223114014,
-0.015092124231159687,
0.03781283274292946,
-0.0038165836594998837,
-0.04104030877351761,
-0.011919660493731499,
0.06887730211019516,
-0.030716048553586006,
0.07584571838378906,
-0.02044680155813694,
0.10151883214712143,
0.009237737394869328,
0.023986024782061577,
0.025709791108965874,
0.1306394785642624,
-0.011800464242696762,
-0.0018234788440167904,
0.04661504179239273,
0.06612660735845566,
0.05604074150323868,
-0.004045807756483555,
0.05255653336644173,
-0.03385183587670326,
0.02448114939033985,
-0.0439743772149086,
-0.024279432371258736,
-0.011727112345397472,
-0.01723766326904297,
-0.002174191875383258,
0.0295607578009367,
-0.04342424124479294,
0.0635959729552269,
0.04261736944317818,
0.00825207307934761,
0.01762275956571102,
-0.03880307823419571,
0.029597435146570206,
0.015156307257711887,
0.02297743782401085,
0.013194147497415543,
-0.054096922278404236,
-0.006867558229714632,
0.02169378288090229,
-0.029579095542430878,
-0.019951678812503815,
0.02912064827978611,
-0.04833880811929703,
-0.045441415160894394,
-0.054390329867601395,
-0.0464683398604393,
-0.017549408599734306,
0.07232483476400375,
-0.029487406834959984,
-0.02913898602128029,
-0.01861300878226757,
-0.016476638615131378,
-0.021051954478025436,
-0.055673982948064804,
0.018851401284337044,
-0.0031266186852008104,
0.0334300622344017,
-0.038142915815114975,
-0.026773391291499138,
0.008770119398832321,
0.05879143252968788,
-0.029028957709670067,
0.01945655420422554,
-0.002915732329711318,
-0.00012736271310131997,
0.021345362067222595,
-0.00404122332111001,
0.01859467104077339,
-0.0010962649248540401,
-0.009086448699235916,
-0.00640911003574729,
0.010470963083207607,
0.041737150400877,
0.08112704753875732,
-0.03486042469739914,
0.023582590743899345,
0.031302861869335175,
0.010250908322632313,
-0.03876640275120735,
-0.04562479257583618,
-0.0809803381562233,
-0.0020458262879401445,
0.020373450592160225,
-0.04342424124479294,
-0.036034051328897476,
0.02827710285782814,
-0.005487628281116486,
0.0023426718544214964,
-0.022207245230674744,
-0.008907654322683811,
-0.026571674272418022,
0.0036836336366832256,
-0.039976708590984344,
0.007518555037677288,
-0.008481296710669994,
0.00735351350158453,
0.039426568895578384,
-0.00959074217826128,
-0.04357094317674637,
0.008563817478716373,
0.01406519953161478,
0.07247153669595718,
0.009306504391133785,
-0.01679755188524723,
-0.036749228835105896,
-0.0025718959514051676,
0.028222089633345604,
0.012249743565917015,
-0.01331334374845028,
0.0023289183154702187,
-0.01853048801422119,
-0.04261736944317818,
0.010819383896887302,
-0.05218977481126785,
0.02578314207494259,
0.03570396825671196,
0.012983260676264763,
-0.09418365359306335,
0.0023117265664041042,
0.047825347632169724,
-0.025801481679081917,
0.058314647525548935,
0.0006997070158831775,
-0.017925335094332695,
0.025819819420576096,
-0.03335671126842499,
-0.030000869184732437,
-0.015587248839437962,
0.03979332745075226,
0.0023197494447231293,
-0.02266569249331951,
-0.07767951488494873,
0.049622464925050735,
0.0284421443939209,
0.0484488345682621,
0.0029409469570964575,
0.06275242567062378,
0.017127634957432747,
-0.007734025828540325,
0.033558428287506104,
-0.11274164915084839,
0.01987832598388195,
0.10122542828321457,
0.039536599069833755,
-0.010443456470966339,
-0.014303592965006828,
-0.007133458275347948,
-0.005331756081432104,
-0.06322921812534332,
-0.02800203301012516,
0.08567485213279724,
0.026920095086097717,
-0.05303332209587097,
0.006867558229714632,
-0.02717682532966137,
-0.0019300681306049228,
-0.010095035657286644,
-0.004864138551056385,
-0.0032458151690661907,
0.0250863004475832,
-0.035905685275793076,
0.003005129750818014,
0.005987337324768305,
-0.022225582972168922,
0.011919660493731499,
-0.02308746613562107,
-0.00029885111143812537,
0.012506474740803242,
-0.02284907177090645,
0.09425701200962067,
0.02536137029528618,
0.022170567885041237,
0.03300829231739044,
0.0013123088283464313,
-0.11934331059455872,
-0.021620430052280426,
0.009219398722052574,
-0.022995775565505028,
0.004495087545365095,
0.02017173357307911,
-0.00482746260240674,
0.029377378523349762,
-0.03876640275120735,
-0.02662668749690056,
0.02578314207494259,
0.048228781670331955,
0.022500650957226753,
-0.03392518684267998,
-0.03869305178523064,
0.011745450086891651,
-0.03740939497947693,
-0.015917330980300903,
0.03232978656888008,
0.0039197346195578575,
0.015037110075354576,
-0.03335671126842499,
0.01246062945574522,
-0.00201258878223598,
-0.024536162614822388,
-0.010846891440451145,
0.01791616715490818,
0.016284089535474777,
0.028460482135415077,
-0.002746106358245015,
-0.02869887463748455,
0.05402357131242752,
-0.05152960866689682,
-0.025673115625977516,
-0.033246684819459915,
-0.03363177925348282,
-0.023344196379184723,
0.04331421107053757,
-0.05141958221793175,
0.07665258646011353,
0.029065633192658424,
0.06553979218006134,
-0.01726517081260681,
-0.015303010120987892,
-0.012497305870056152,
-0.001590816187672317,
0.0033054135274142027,
0.046835098415613174,
-0.028460482135415077,
0.0504293330013752,
-0.03531887009739876,
-0.01905311830341816,
0.021161982789635658,
-0.0641094371676445,
0.00023910953314043581,
-0.05024595558643341,
-0.02926735207438469,
0.08127374947071075,
0.041076984256505966,
0.024297770112752914,
0.031431227922439575,
-0.03341172635555267,
-0.019768299534916878,
0.060845281928777695,
-0.0005604532780125737,
-0.05413359776139259,
0.015000434592366219,
-0.028625523671507835,
-0.027836991474032402,
-0.0021260548382997513,
-0.021748796105384827,
-0.022720707580447197,
0.011158635839819908,
0.060001738369464874,
0.005116285290569067,
-0.023839320987462997,
0.02004336751997471,
0.037886183708906174,
0.0031655868515372276,
-0.021785471588373184,
0.03154125437140465,
-0.04874224215745926,
0.09645756334066391,
-0.044854599982500076,
0.0025191744789481163,
0.03040430322289467,
0.03781283274292946,
-0.007472710218280554,
-0.038032885640859604,
0.01246062945574522,
-0.03583233430981636,
-0.011259494349360466,
0.02070353366434574,
0.0593782477080822,
-0.01169043593108654,
-0.027140149846673012,
0.03839964419603348,
-0.0209969412535429,
0.029212336987257004,
-0.019236497581005096,
0.05163963884115219,
0.05196972191333771,
-0.00017707572260405868,
-0.03271488472819328,
-0.017356859520077705,
-0.0693540871143341,
-0.014239409938454628,
-0.026571674272418022,
0.014156889170408249,
0.04536806046962738,
0.05251985788345337,
0.07137125730514526,
-0.02281239628791809,
0.040380142629146576,
-0.03986668214201927,
0.02802037075161934,
0.03251316770911217,
0.01407436840236187,
-0.009196477010846138,
-0.013670933432877064,
0.07368183881044388,
0.041223686188459396,
-0.009948331862688065,
0.035795658826828,
-0.014752872288227081,
-0.06080860644578934,
-0.019786637276411057,
-0.069794200360775,
0.01569727621972561,
0.005262988619506359,
0.024151066318154335,
0.020208409056067467,
-0.02910231053829193,
0.025269679725170135,
-0.019254837185144424,
0.004391936585307121,
-0.0789998397231102,
0.001206865650601685,
-0.0165224839001894,
0.034640368074178696,
0.003014298854395747,
-0.013890989124774933,
-0.013139133341610432,
0.044891275465488434,
0.036602526903152466,
-0.05615077167749405,
-0.03236646205186844,
-0.017952842637896538,
-0.012130547314882278,
0.06542976945638657,
0.03080773912370205,
-0.025856494903564453,
0.02717682532966137,
-0.04566146805882454,
0.006363264750689268,
-0.037739478051662445,
-0.058754757046699524,
-0.020611843094229698,
-0.013762624002993107,
-0.006927156820893288,
0.033668458461761475,
0.017017608508467674,
-0.04943908378481865,
0.05618744716048241,
0.0005971291684545577,
-0.013799299485981464,
0.017531070858240128,
0.04327753558754921,
0.005042933393269777,
0.0001227782340720296,
-0.026076549664139748,
0.010681849904358387,
0.008770119398832321,
-0.04855886474251747,
0.00525381974875927,
-0.01863134652376175,
-0.000058094017731491476,
-0.011397029273211956,
-0.016559159383177757,
0.02112530544400215,
-0.03876640275120735,
-0.034805409610271454,
0.018649684265255928,
0.053290050476789474,
0.003846382722258568,
-0.01943821646273136,
0.03861970081925392,
0.008751781657338142,
-0.04760529100894928,
0.023454224690794945,
0.05813126638531685,
0.0038807664532214403,
0.015568910166621208,
0.046541690826416016,
-0.03482374548912048,
0.017035946249961853,
0.006702516693621874,
-0.05108949914574623,
-0.004068730399012566,
0.061652153730392456,
-0.0056710075587034225,
-0.04104030877351761,
-0.06143209710717201,
0.02437112107872963,
0.009416531771421432,
-0.02363760396838188,
-0.06465957313776016,
0.037996210157871246,
-0.01266234740614891,
0.01989666372537613,
-0.026131562888622284,
-0.074525386095047,
-0.038546349853277206,
0.0233625341206789,
-0.002347256289795041,
-0.01499126572161913,
-0.0015724783297628164,
0.017017608508467674,
0.034915436059236526,
-0.0056710075587034225,
-0.008242904208600521,
-0.03630911931395531,
0.029230674728751183,
-0.08941579610109329,
0.011672098189592361,
0.0770193487405777,
0.026149902492761612,
0.024847907945513725,
-0.018649684265255928,
-0.02294076234102249,
0.01337752677500248,
0.022922424599528313,
-0.008522557094693184,
0.010131711140275002,
-0.025233004242181778,
-0.025563087314367294,
0.0019403832266107202,
-0.05923154577612877,
-0.0008274994906969368,
-0.0015885239699855447,
-0.04243399202823639,
-0.054940465837717056,
-0.05820462107658386,
0.10217899829149246,
-0.019566580653190613,
0.06341259181499481,
0.0576544813811779,
-0.013826806098222733,
0.06836383789777756,
0.011002764105796814,
0.033943526446819305,
-0.0035140076652169228,
-0.041517093777656555,
-0.0015289257280528545,
-0.0025375124532729387,
-0.01126866415143013,
0.04078357666730881,
-0.02339921146631241,
-0.005441783461719751,
0.010883566923439503,
-0.0678137019276619,
0.010003346018493176,
0.011415367014706135,
0.03931654244661331,
0.01736602932214737,
0.02603987418115139,
-0.015752289444208145,
0.0467250682413578,
-0.027818653732538223,
-0.00006074442353565246,
-0.03718934208154678,
-0.020795224234461784,
-0.04679842293262482,
0.018723035231232643,
-0.035337209701538086,
-0.016834229230880737,
-0.07151796668767929,
0.029285689815878868,
0.004433196969330311,
0.016806721687316895,
0.0005481324624270201,
0.022060541436076164,
0.024316107854247093,
-0.0059231542982161045,
0.0037271862383931875,
0.02028176188468933,
0.04463454335927963,
-0.039830002933740616,
-0.027415219694375992,
0.03249482810497284,
0.005542641971260309,
-0.007215979043394327,
0.018512150272727013,
0.026663364842534065,
-0.00453176349401474,
-0.01700843870639801,
-0.05853470414876938,
0.04701847583055496,
0.053400080651044846,
0.0646229013800621,
0.05196972191333771,
-0.053290050476789474,
0.06022179126739502,
-0.021327024325728416,
-0.01831960119307041,
-0.03306330367922783,
0.060955312103033066,
0.007903652265667915,
-0.0264616459608078,
-0.022757383063435555,
0.015018772333860397,
-0.02070353366434574,
0.0551605224609375
] |
9,646 | asyncclick.termui | launch | This function launches the given URL (or filename) in the default
viewer application for this file type. If this is an executable, it
might launch the executable in a new session. The return value is
the exit code of the launched application. Usually, ``0`` indicates
success.
Examples::
click.launch('https://click.palletsprojects.com/')
click.launch('/my/downloaded/file', locate=True)
.. versionadded:: 2.0
:param url: URL or filename of the thing to launch.
:param wait: Wait for the program to exit before returning. This
only works if the launched program blocks. In particular,
``xdg-open`` on Linux does not block.
:param locate: if this is set to `True` then instead of launching the
application associated with the URL it will attempt to
launch a file manager with the file located. This
might have weird effects if the URL does not point to
the filesystem.
| def launch(url: str, wait: bool = False, locate: bool = False) -> int:
"""This function launches the given URL (or filename) in the default
viewer application for this file type. If this is an executable, it
might launch the executable in a new session. The return value is
the exit code of the launched application. Usually, ``0`` indicates
success.
Examples::
click.launch('https://click.palletsprojects.com/')
click.launch('/my/downloaded/file', locate=True)
.. versionadded:: 2.0
:param url: URL or filename of the thing to launch.
:param wait: Wait for the program to exit before returning. This
only works if the launched program blocks. In particular,
``xdg-open`` on Linux does not block.
:param locate: if this is set to `True` then instead of launching the
application associated with the URL it will attempt to
launch a file manager with the file located. This
might have weird effects if the URL does not point to
the filesystem.
"""
from ._termui_impl import open_url
return open_url(url, wait=wait, locate=locate)
| (url: str, wait: bool = False, locate: bool = False) -> int | [
0.06363031268119812,
-0.08692704141139984,
-0.019348736852407455,
-0.00706904660910368,
0.09581892937421799,
-0.014404850080609322,
0.03695466369390488,
-0.032490938901901245,
-0.07561656832695007,
0.05363583564758301,
0.002609767485409975,
0.017490332946181297,
0.039017580449581146,
0.041151631623506546,
-0.016138765960931778,
-0.015400740318000317,
0.041720714420080185,
-0.0123952841386199,
-0.016743414103984833,
0.036385584622621536,
0.041151631623506546,
-0.010145638138055801,
0.010492421686649323,
-0.04901205748319626,
-0.022887704893946648,
0.04702027514576912,
-0.035051800310611725,
-0.00293876719661057,
-0.06000242382287979,
-0.028169482946395874,
0.061105016618967056,
-0.013008823618292809,
-0.0316728837788105,
-0.0018495115218684077,
-0.0008119400008581579,
0.020060086622834206,
-0.021393869072198868,
0.04417487233877182,
0.05431161820888519,
-0.051110539585351944,
-0.04132946953177452,
-0.05406264588236809,
-0.031192723661661148,
-0.004557089880108833,
-0.030250184237957,
-0.002152947010472417,
-0.06003798916935921,
-0.05498740077018738,
-0.05651680380105972,
-0.04310784488916397,
0.006620006635785103,
0.03699023276567459,
0.046415627002716064,
0.0032566520385444164,
0.014102526009082794,
0.03880417346954346,
0.006144290789961815,
0.02911202237010002,
-0.007438059896230698,
-0.004514853470027447,
0.018157223239541054,
0.0284718070179224,
-0.010945907793939114,
0.04495735839009285,
0.03745260834693909,
0.004119164776057005,
0.018406197428703308,
0.01552522648125887,
-0.021465003490447998,
-0.02685348503291607,
0.05402707681059837,
-0.007002357393503189,
-0.06636901199817657,
-0.009958907961845398,
0.08856315165758133,
0.032490938901901245,
0.00001563894511491526,
-0.014636038802564144,
0.00033205622457899153,
0.05936220660805702,
0.030445804819464684,
-0.04061811789870262,
-0.003934658132493496,
-0.007771505508571863,
-0.0005443499539978802,
0.047055840492248535,
0.04573984444141388,
-0.009425395168364048,
0.0006718928925693035,
0.04961670562624931,
0.03457164019346237,
0.040582552552223206,
-0.049118757247924805,
-0.013720174320042133,
-0.0315483994781971,
0.005721926223486662,
0.022460894659161568,
0.0035211853682994843,
-0.003914651460945606,
0.012315257452428341,
-0.015276254154741764,
-0.03140613064169884,
-0.0013115527108311653,
-0.05249767377972603,
-0.04517076164484024,
-0.034767258912324905,
0.004770494997501373,
0.08785180002450943,
0.017641494050621986,
-0.016289928928017616,
-0.0330955870449543,
0.001531626796349883,
-0.047055840492248535,
0.03254428878426552,
-0.03195742517709732,
-0.011692825704813004,
0.045277465134859085,
-0.0034856179263442755,
-0.0025141797959804535,
0.029449915513396263,
-0.07095722109079361,
0.047838326543569565,
-0.014858335256576538,
0.024915054440498352,
-0.034767258912324905,
0.05769053474068642,
-0.0016405523056164384,
-0.022069651633501053,
0.007807072717696428,
0.0325087234377861,
0.008407275192439556,
-0.0323842354118824,
-0.01824614219367504,
0.03487396240234375,
0.009967800229787827,
0.007904883474111557,
-0.03446493670344353,
0.04879865050315857,
-0.008709599263966084,
0.05360026657581329,
-0.07654132694005966,
-0.020184572786092758,
0.028667429462075233,
0.017943818122148514,
0.006486628204584122,
-0.03318450599908829,
-0.024043649435043335,
-0.036261096596717834,
0.012999932281672955,
0.07988467067480087,
0.03039245493710041,
-0.003336678957566619,
0.010848096571862698,
0.006268776953220367,
-0.0013182215625420213,
-0.05893539637327194,
0.005975345149636269,
0.015374064445495605,
0.02343900315463543,
0.017303602769970894,
0.03608325868844986,
0.02904088795185089,
0.02934321202337742,
0.022834355011582375,
-0.0510038398206234,
0.025484135374426842,
-0.06981906294822693,
0.09176422655582428,
0.024345973506569862,
0.032490938901901245,
0.041009362787008286,
0.0386619046330452,
-0.041649576276540756,
-0.012617581523954868,
0.02827618643641472,
0.011239339597523212,
-0.02151835523545742,
-0.03780828416347504,
0.07753721624612808,
-0.018993061035871506,
0.01824614219367504,
-0.016778983175754547,
-0.032988883554935455,
-0.02664007991552353,
0.006170966662466526,
-0.0034255976788699627,
-0.04773162677884102,
0.032633207738399506,
0.02939656376838684,
0.05306675285100937,
-0.05071929842233658,
0.03741704300045967,
0.05388480797410011,
-0.0027520377188920975,
-0.03307780250906944,
-0.012137419544160366,
-0.07223765552043915,
-0.010172314010560513,
-0.05587659031152725,
-0.0023385651875287294,
-0.0012048500357195735,
-0.00019881693879142404,
0.02953883446753025,
-0.0008569551864638925,
0.03247315436601639,
-0.01973997987806797,
0.03702579811215401,
-0.05818847939372063,
0.05719258636236191,
0.03898201137781143,
-0.0001415059668943286,
-0.006006466690450907,
-0.013560120947659016,
-0.011203772388398647,
-0.006344357971101999,
-0.012733175419270992,
-0.010243448428809643,
0.002694240305572748,
0.011621690355241299,
-0.006082047708332539,
0.010670258663594723,
0.012893229722976685,
0.01831727847456932,
0.07348251342773438,
0.03081926517188549,
-0.019046412780880928,
0.009772178716957569,
-0.0512528121471405,
0.010892556048929691,
0.004463724792003632,
-0.03784385323524475,
-0.12349046766757965,
-0.006259885150939226,
0.002723139012232423,
0.017161333933472633,
-0.041436173021793365,
-0.02905867248773575,
0.030552508309483528,
-0.02747591771185398,
0.004045806359499693,
0.03089039959013462,
0.06804068386554718,
0.03976449742913246,
0.00009920006414176896,
-0.001972886500880122,
-0.04716254398226738,
-0.020984843373298645,
-0.018352845683693886,
-0.04211195558309555,
-0.02875634841620922,
0.06693809479475021,
0.01531182136386633,
0.000028620746888918802,
-0.0032033007591962814,
-0.011924014426767826,
0.07081495225429535,
0.004712697584182024,
-0.01303549949079752,
-0.04808729887008667,
0.06185193359851837,
-0.019828898832201958,
-0.061531826853752136,
0.04837184026837349,
-0.02528851293027401,
-0.029449915513396263,
-0.026533376425504684,
-0.03923098370432854,
0.003496732795611024,
0.03138834610581398,
-0.0379505529999733,
-0.013577904552221298,
0.07319797575473785,
0.031850721687078476,
-0.024666082113981247,
-0.011417177505791187,
-0.044210441410541534,
-0.009389827959239483,
-0.059540044516325,
0.019775547087192535,
-0.011479420587420464,
-0.04808729887008667,
0.04766048863530159,
-0.02329673245549202,
0.016707846894860268,
-0.00926534179598093,
-0.004975008312612772,
-0.046131085604429245,
0.08009807765483856,
-0.05946891009807587,
0.0012304142583161592,
0.04161401093006134,
0.028365105390548706,
0.06676025688648224,
-0.06804068386554718,
-0.0006118726450949907,
0.014493768103420734,
-0.02151835523545742,
0.05217756703495979,
-0.015952037647366524,
-0.009185314178466797,
0.0008202761528082192,
-0.011701717041432858,
0.0067178173922002316,
-0.0080960588529706,
0.017374739050865173,
0.011683933436870575,
-0.037737149745225906,
-0.0892033651471138,
0.014973930083215237,
-0.00922977365553379,
0.025164026767015457,
-0.009843314066529274,
-0.020184572786092758,
0.011826204136013985,
-0.03734590485692024,
0.050683729350566864,
-0.03019683249294758,
-0.05744156241416931,
0.0533868633210659,
-0.01569417305290699,
0.0555209144949913,
0.02806278131902218,
-0.01838841289281845,
0.039515525102615356,
-0.02861407771706581,
0.015222902409732342,
0.01584533415734768,
-0.0034722802229225636,
-0.08714044839143753,
-0.004270326346158981,
-0.013426742516458035,
0.08429504930973053,
0.02541300095617771,
-0.00041124955168925226,
-0.09140855073928833,
0.031921859830617905,
-0.019757762551307678,
-0.0077270460315048695,
0.043499089777469635,
-0.017703738063573837,
0.009020814672112465,
-0.003014348214492202,
-0.04837184026837349,
-0.018921926617622375,
-0.0003567867970559746,
0.017205793410539627,
0.04879865050315857,
0.02443489246070385,
0.06989019364118576,
-0.08386823534965515,
-0.028578510507941246,
-0.022105220705270767,
-0.0884920135140419,
-0.06615560501813889,
-0.029805589467287064,
0.03140613064169884,
0.05079043284058571,
-0.08152078092098236,
0.006424385122954845,
-0.040582552552223206,
-0.033629100769758224,
-0.026195485144853592,
-0.08187645673751831,
-0.04858524724841118,
-0.03915984928607941,
-0.034269314259290695,
0.045846547931432724,
0.03471390902996063,
-0.05167962238192558,
0.0042191981337964535,
0.022549813613295555,
0.023812461644411087,
0.010519096627831459,
0.058473020792007446,
0.03282883018255234,
-0.03165510296821594,
-0.0011064836289733648,
-0.03531855717301369,
-0.01732138730585575,
0.02498619072139263,
0.010999258607625961,
0.016672279685735703,
0.030499156564474106,
0.005868642590939999,
0.04268103465437889,
-0.03862633928656578,
-0.03202855959534645,
0.009087503887712955,
-0.034980665892362595,
-0.05584102123975754,
-0.008820747025310993,
0.008327247574925423,
0.0381995253264904,
0.0467357337474823,
0.04876308515667915,
-0.03416261076927185,
0.012208554893732071,
0.047340381890535355,
0.008536207489669323,
0.008651801384985447,
0.008545098826289177,
0.09041266143321991,
-0.05004351586103439,
-0.007215762510895729,
-0.014209228567779064,
0.010883663780987263,
-0.022567598149180412,
-0.04260990023612976,
0.0009442067821510136,
-0.11595014482736588,
-0.03117493912577629,
0.007202425040304661,
-0.07917331904172897,
-0.0093720443546772,
0.033131152391433716,
0.06491073966026306,
-0.008260559290647507,
-0.021109329536557198,
0.002500841859728098,
-0.011559447273612022,
0.030801480636000633,
-0.021144896745681763,
0.008002694696187973,
-0.0036301109939813614,
0.06740047037601471,
0.002105153165757656,
0.040795955806970596,
0.013969147577881813,
0.03702579811215401,
-0.00030343548860400915,
-0.009020814672112465,
-0.02258538082242012,
0.03791498765349388,
-0.03410926088690758,
0.007838194258511066,
0.029805589467287064,
0.029645536094903946,
-0.040369145572185516,
0.006708925124257803,
0.02443489246070385,
-0.06170966476202011,
-0.04438827559351921,
-0.008211653679609299,
0.024737216532230377,
0.020789220929145813,
-0.003750151488929987,
0.0032499830704182386,
-0.02747591771185398,
0.016165442764759064,
0.01582755148410797,
0.004854967817664146,
-0.013106634840369225,
0.06907214224338531,
-0.011203772388398647,
-0.029449915513396263,
0.030516941100358963,
-0.06494630873203278,
0.10428399592638016,
0.0012237452901899815,
0.0555209144949913,
0.02856072597205639,
-0.0481584370136261,
0.03990676999092102,
-0.0820898562669754,
-0.051110539585351944,
-0.0077270460315048695,
0.017436981201171875,
-0.03745260834693909,
0.012839877977967262,
-0.023990299552679062,
0.010572448372840881,
0.0035745366476476192,
0.04417487233877182,
0.030588075518608093,
0.035976555198431015,
0.04019130766391754,
0.029378779232501984,
-0.046984706073999405,
-0.012235230766236782,
-0.043356817215681076,
0.018655169755220413,
-0.06836079061031342,
-0.023901380598545074,
0.03876860812306404,
-0.026035431772470474,
0.033842504024505615,
-0.021251598373055458,
-0.01324890460819006,
0.039515525102615356,
0.014742741361260414,
-0.018779655918478966,
0.03330899029970169,
0.020113438367843628,
0.001240417594090104,
0.031281642615795135,
0.08009807765483856,
0.004381475038826466,
0.018370628356933594,
-0.03627888113260269,
-0.054098211228847504,
0.05132394656538963,
-0.008767396211624146,
0.042432062327861786,
0.023883596062660217,
-0.05039919167757034,
0.015329604968428612,
0.025608621537685394,
-0.004223644267767668,
-0.0035945435520261526,
0.009861097671091557,
0.008473964408040047,
0.04552643746137619,
0.05555648356676102,
-0.018423980101943016,
0.01448487676680088,
-0.02607099898159504,
0.05534307658672333,
-0.061105016618967056,
0.023527920246124268,
0.007633680943399668,
-0.005641899537295103,
-0.045704275369644165,
0.010394610464572906,
-0.025395216420292854,
-0.005592993926256895,
0.015800874680280685,
0.07597224414348602,
0.07383818924427032,
0.012635365128517151,
0.06601333618164062,
0.051964160054922104,
0.047411516308784485,
0.011354933492839336,
-0.036812394857406616,
0.05445388704538345,
-0.017436981201171875,
-0.005157291889190674,
0.03855520114302635,
-0.01363125629723072,
0.08002693951129913,
0.023118894547224045,
0.03361131623387337,
-0.03585207089781761,
0.0019539911299943924,
0.008963017724454403,
-0.05918436869978905,
0.002234085462987423,
-0.02486170269548893,
0.05971788242459297,
-0.017588144168257713,
0.01363125629723072,
0.019419871270656586,
0.02799164690077305,
0.03460720553994179,
-0.03734590485692024,
0.084935262799263,
0.039942335337400436,
-0.05769053474068642,
0.016156550496816635,
-0.02690683677792549,
-0.009469854645431042,
-0.01952657476067543,
0.01924203336238861,
-0.0619230680167675,
0.0037145838141441345,
-0.011559447273612022,
0.01959770917892456,
0.012457527220249176,
-0.008082721382379532,
-0.09852205961942673,
0.054098211228847504,
0.019900033250451088,
0.023527920246124268,
0.03293553367257118,
-0.0169657114893198,
-0.013889120891690254,
0.0036790163721889257,
0.02728029526770115,
-0.032206397503614426,
0.05904209986329079,
-0.051537349820137024,
-0.046842437237501144,
-0.04054698348045349,
0.01544519979506731,
-0.024257054552435875,
0.023705758154392242,
-0.0018695183098316193,
-0.034198179841041565,
-0.06942781805992126,
-0.04012017324566841,
0.04630892351269722,
-0.027226943522691727,
-0.010679150931537151,
0.04773162677884102,
0.021856246516108513,
-0.005619669798761606,
0.006366587709635496,
0.01725025288760662,
0.0013571236049756408,
-0.03460720553994179,
0.010856988839805126,
-0.05857972055673599,
0.015089524909853935,
-0.02911202237010002,
0.000166861733305268,
-0.01961549185216427,
-0.008611788041889668,
0.0467357337474823,
0.0048860893584787846,
0.0008580666617490351,
0.01356901228427887,
0.007700370159000158,
-0.01437817420810461,
0.03663455694913864,
-0.07102835923433304,
0.03745260834693909,
-0.018406197428703308,
-0.0062109800055623055,
0.02854294329881668,
0.026248836889863014,
-0.029147591441869736,
-0.03915984928607941,
0.03947995975613594,
0.014093633741140366,
0.0016005388461053371,
-0.01973997987806797,
-0.06021582707762718,
0.03096153400838375,
0.027458133175969124,
-0.04132946953177452,
0.034909531474113464,
0.014947254210710526,
0.01590757817029953,
0.010990366339683533,
0.035958774387836456,
-0.09546325355768204,
0.02094927430152893,
-0.0073580327443778515,
0.022763218730688095,
-0.012244122102856636,
-0.022140787914395332,
-0.0042436509393155575,
-0.004574873484671116,
0.013346715830266476,
0.03233088552951813,
0.006259885150939226,
0.020077871158719063,
0.07647018879652023,
0.07511862367391586,
0.05004351586103439,
0.026604512706398964,
-0.004730481654405594,
0.00042819970985874534,
0.022887704893946648,
-0.01760592684149742,
0.025804242119193077,
-0.00042875544750131667,
-0.05580545589327812,
-0.010945907793939114,
0.05139508098363876,
-0.015427416190505028,
-0.021465003490447998,
-0.06697365641593933,
-0.024594947695732117,
-0.023705758154392242,
-0.014324822463095188,
0.024203704670071602,
-0.0379505529999733,
-0.026533376425504684,
0.015107308514416218,
-0.026746783405542374,
0.0026075446512550116,
0.04047584906220436,
-0.009425395168364048,
0.09219104051589966,
-0.003189962822943926,
-0.04844297468662262,
-0.0040880427695810795,
-0.0060020205564796925,
-0.05306675285100937,
-0.007887099869549274,
-0.061602961272001266,
0.007322465069591999,
-0.019295385107398033,
0.017072414979338646,
-0.008971909061074257,
-0.020931491628289223,
0.013471201993525028,
-0.04189854860305786,
-0.01654779352247715,
0.0019306499743834138,
0.04346352070569992,
-0.04758935421705246,
-0.04438827559351921,
-0.08756726235151291,
0.021625058725476265,
0.0054151564836502075,
0.012670932337641716,
-0.009003031067550182,
-0.015489659272134304,
0.06444836407899857,
0.03585207089781761,
0.01097258273512125,
0.015409632585942745,
-0.03784385323524475,
0.004952778574079275,
-0.022478679195046425,
0.03855520114302635,
0.025484135374426842,
-0.0015049511566758156,
-0.007864870131015778,
-0.041365038603544235,
0.008954125456511974,
-0.0024830582551658154,
-0.007540316320955753,
-0.017926035448908806,
-0.04801616445183754,
0.01860181801021099,
-0.016716739162802696,
0.042645469307899475,
-0.022976623848080635,
-0.0013182215625420213,
0.0215894915163517,
-0.011746176518499851,
0.017134657129645348,
-0.006504411809146404,
-0.046913571655750275,
0.0169657114893198,
-0.0013737957924604416,
-0.04659346491098404,
-0.004443718120455742,
0.002394139301031828,
-0.012155203148722649,
0.008340585976839066,
-0.033060017973184586,
-0.02818726748228073,
-0.0033566856291145086,
-0.024559378623962402,
0.006726709194481373,
-0.021429436281323433,
-0.049474433064460754,
0.005050589330494404,
-0.062456581741571426,
-0.00669114151969552,
-0.041080497205257416,
-0.03699023276567459,
-0.009523206390440464,
-0.03837736323475838,
0.06996133178472519,
0.026391107589006424,
-0.033344559371471405,
-0.044779520481824875,
-0.003681239439174533,
0.04609552025794983,
0.02308332733809948,
0.027529267594218254,
-0.0010720276040956378,
0.03883974254131317,
-0.0005318457260727882,
-0.0069356681779026985,
0.00009155860607279465,
0.0502924881875515,
-0.04780276119709015,
-0.03734590485692024,
-0.023759109899401665,
-0.009149746969342232,
-0.01186177134513855,
-0.01448487676680088
] |
9,647 | asyncclick.decorators | make_pass_decorator | Given an object type this creates a decorator that will work
similar to :func:`pass_obj` but instead of passing the object of the
current context, it will find the innermost context of type
:func:`object_type`.
This generates a decorator that works roughly like this::
from functools import update_wrapper
def decorator(f):
@pass_context
def new_func(ctx, *args, **kwargs):
obj = ctx.find_object(object_type)
return ctx.invoke(f, obj, *args, **kwargs)
return update_wrapper(new_func, f)
return decorator
:param object_type: the type of the object to pass.
:param ensure: if set to `True`, a new object will be created and
remembered on the context if it's not there yet.
| def make_pass_decorator(
object_type: t.Type[T], ensure: bool = False
) -> t.Callable[["t.Callable[te.Concatenate[T, P], R]"], "t.Callable[P, R]"]:
"""Given an object type this creates a decorator that will work
similar to :func:`pass_obj` but instead of passing the object of the
current context, it will find the innermost context of type
:func:`object_type`.
This generates a decorator that works roughly like this::
from functools import update_wrapper
def decorator(f):
@pass_context
def new_func(ctx, *args, **kwargs):
obj = ctx.find_object(object_type)
return ctx.invoke(f, obj, *args, **kwargs)
return update_wrapper(new_func, f)
return decorator
:param object_type: the type of the object to pass.
:param ensure: if set to `True`, a new object will be created and
remembered on the context if it's not there yet.
"""
def decorator(f: "t.Callable[te.Concatenate[T, P], R]") -> "t.Callable[P, t.Coroutine[t.Any, t.Any, R]]":
def new_func(*args: "P.args", **kwargs: "P.kwargs") -> "t.Coroutine[t.Any, t.Any, R]":
ctx = get_current_context()
obj: t.Optional[T]
if ensure:
obj = ctx.ensure_object(object_type)
else:
obj = ctx.find_object(object_type)
if obj is None:
raise RuntimeError(
"Managed to invoke callback without a context"
f" object of type {object_type.__name__!r}"
" existing."
)
return ctx.invoke(f, obj, *args, **kwargs)
return update_wrapper(new_func, f)
return decorator # type: ignore[return-value]
| (object_type: Type[~T], ensure: bool = False) -> Callable[[ForwardRef('t.Callable[te.Concatenate[T, P], R]')], ForwardRef('t.Callable[P, R]')] | [
-0.010495706461369991,
0.008955009281635284,
0.011168872937560081,
-0.007594454567879438,
0.06318283081054688,
0.009609213098883629,
0.011415384709835052,
-0.0035364937502890825,
0.01875384710729122,
-0.0507434718310833,
0.01626976765692234,
0.00534266559407115,
0.013444365002214909,
-0.01004060823470354,
-0.02942969650030136,
0.03940393775701523,
-0.019512344151735306,
0.020877638831734657,
0.03346869349479675,
-0.018981395289301872,
0.047595709562301636,
0.005437477957457304,
0.058062970638275146,
-0.08351055532693863,
-0.048467978835105896,
-0.019009839743375778,
0.01964508183300495,
0.05138819292187691,
-0.007698747795075178,
0.014326118864119053,
0.05021252483129501,
-0.024859750643372536,
-0.02449946478009224,
-0.010761180892586708,
0.03227405995130539,
-0.022792844101786613,
-0.048012882471084595,
0.13288873434066772,
0.02338068000972271,
-0.062045082449913025,
-0.03009338118135929,
0.005939982365816832,
-0.03559248894453049,
0.02358926646411419,
-0.006532558239996433,
-0.014733810909092426,
-0.023266905918717384,
0.04186905175447464,
-0.027230054140090942,
-0.045547764748334885,
0.044865116477012634,
-0.07653237879276276,
0.08077996969223022,
-0.015871556475758553,
0.04497889056801796,
-0.01712307706475258,
-0.018621109426021576,
0.009727728553116322,
0.02671806886792183,
0.01695241592824459,
0.038209304213523865,
0.02275492064654827,
0.0057503581047058105,
0.04702683538198471,
-0.01871592178940773,
-0.04516851529479027,
-0.04952987655997276,
0.014250269159674644,
0.002818291774019599,
0.013709839433431625,
-0.044637568295001984,
0.008528354577720165,
0.01892450824379921,
-0.038209304213523865,
-0.009158855304121971,
-0.06075563654303551,
-0.015511270612478256,
-0.011775671504437923,
0.09693595767021179,
0.006935509853065014,
-0.019322719424962997,
0.011273167096078396,
-0.07512915879487991,
-0.008580501191318035,
0.021655099466443062,
0.01712307706475258,
-0.053094811737537384,
-0.027533452957868576,
-0.01773935556411743,
-0.0010897472966462374,
-0.02899356000125408,
0.005622361321002245,
0.0020040920935571194,
-0.04171735420823097,
-0.029733095318078995,
-0.022337745875120163,
0.0036455278750509024,
-0.0018867620965465903,
-0.008893380872905254,
0.03547871112823486,
0.05123649537563324,
0.0215982124209404,
0.006437746342271566,
0.025750985369086266,
0.05810089781880379,
-0.03608551248908043,
-0.0006287231808528304,
0.01226869411766529,
0.0468372106552124,
0.026111271232366562,
-0.011206798255443573,
-0.09526726603507996,
-0.016999822109937668,
-0.02497352473437786,
-0.023039355874061584,
-0.03358247131109238,
-0.015634525567293167,
-0.03362039476633072,
-0.03559248894453049,
-0.026850806549191475,
0.06151413545012474,
-0.02451842650771141,
-0.003595751477405429,
-0.03608551248908043,
-0.001929427613504231,
0.014601074159145355,
-0.03274812176823616,
0.0032141325064003468,
0.009514400735497475,
-0.051350269466638565,
-0.02207227237522602,
0.012259213253855705,
-0.06219677999615669,
0.04615456238389015,
0.026661181822419167,
0.038000717759132385,
-0.03874025121331215,
0.011519677937030792,
-0.052222542464733124,
0.003967889118939638,
-0.02850053831934929,
-0.012989266775548458,
-0.00990787148475647,
-0.0037190073635429144,
0.003640787210315466,
-0.004091145005077124,
-0.01237298734486103,
0.0037355993408709764,
0.02961932122707367,
0.022679070010781288,
0.032842934131622314,
0.004655277356505394,
0.08009731769561768,
0.04990912601351738,
-0.04569946601986885,
0.0037450806703418493,
-0.04721646010875702,
0.014373524114489555,
0.0009724172996357083,
-0.006646332796663046,
-0.03252057358622551,
0.02692665532231331,
-0.019474418833851814,
0.011367978528141975,
0.055787477642297745,
0.015530233271420002,
0.033734168857336044,
-0.027362791821360588,
-0.0019898703321814537,
-0.005593917798250914,
-0.022679070010781288,
-0.006115384865552187,
0.08260036259889603,
0.02091556414961815,
0.021067263558506966,
0.08692379295825958,
-0.053777460008859634,
-0.012847048230469227,
-0.023475492373108864,
-0.020536314696073532,
0.03504257649183273,
-0.010865474119782448,
-0.03434096649289131,
0.010457782074809074,
0.016544723883271217,
0.032217174768447876,
0.016867084428668022,
0.005740876775234938,
0.044561717659235,
-0.018915027379989624,
-0.08009731769561768,
0.07725295424461365,
0.044182468205690384,
-0.014800178818404675,
-0.002273121615871787,
0.02140858769416809,
-0.08153846114873886,
0.03500465303659439,
-0.038190342485904694,
0.03470125421881676,
-0.0291452594101429,
0.009993202053010464,
0.013738282956182957,
0.008016368374228477,
0.031079428270459175,
0.023684078827500343,
0.027742039412260056,
0.0678475871682167,
-0.07061610370874405,
-0.02404436469078064,
0.01058103796094656,
0.012998748570680618,
0.03502361476421356,
0.0619313083589077,
0.02002432942390442,
-0.023987477645277977,
0.0459270142018795,
0.0030102862510830164,
0.04031413421034813,
0.045130591839551926,
-0.023759929463267326,
0.00823917705565691,
-0.03071914240717888,
0.009784615598618984,
0.0498332753777504,
-0.05282934010028839,
0.03149660304188728,
-0.04433416947722435,
0.002507781842723489,
-0.06121073663234711,
-0.014980322681367397,
-0.025807872414588928,
-0.03316529467701912,
0.05832844600081444,
0.002763774711638689,
-0.052905190736055374,
0.015397495590150356,
0.012866010889410973,
-0.06716494262218475,
0.028784973546862602,
-0.00601109117269516,
0.038872987031936646,
0.002735330956056714,
0.00181209750007838,
-0.018061717972159386,
0.0017895796336233616,
0.042172450572252274,
0.004863864276558161,
-0.012467799708247185,
0.011500716209411621,
-0.0436515212059021,
0.03803864121437073,
-0.033070482313632965,
-0.023930590599775314,
-0.0628415048122406,
-0.03720429539680481,
0.01660161092877388,
-0.06526869535446167,
-0.04281717538833618,
0.008751163259148598,
-0.012894454412162304,
-0.014989803545176983,
-0.03477710112929344,
0.06507907062768936,
-0.009106708690524101,
-0.06109695881605148,
-0.018147049471735954,
-0.059162791818380356,
-0.05104687064886093,
0.030226118862628937,
0.0954948142170906,
-0.010884436778724194,
0.0859377458691597,
0.01312200352549553,
-0.015018247067928314,
-0.01025867648422718,
0.006854919716715813,
0.03326010704040527,
-0.006333452649414539,
0.008006887510418892,
0.021939534693956375,
0.00217593926936388,
-0.045775312930345535,
-0.054042935371398926,
-0.06682361662387848,
-0.007878891192376614,
0.003723747795447707,
0.05218461528420448,
-0.018971914425492287,
0.01315992884337902,
-0.0038896691985428333,
-0.006086941342800856,
0.07194346934556961,
0.026016458868980408,
0.043348122388124466,
0.0548393577337265,
-0.08699964731931686,
-0.0041432916186749935,
0.00034013864933513105,
-0.044561717659235,
0.009898390620946884,
0.04459964483976364,
-0.04971950128674507,
0.017398033291101456,
0.0450168177485466,
-0.01550178974866867,
0.013709839433431625,
-0.06166583299636841,
-0.05195706710219383,
0.02030876651406288,
0.024404652416706085,
0.011623972095549107,
-0.032653309404850006,
-0.004754830151796341,
0.012183363549411297,
-0.020650090649724007,
0.004648166708648205,
-0.04676136001944542,
0.030908767133951187,
0.049984972923994064,
-0.021218962967395782,
-0.034416817128658295,
0.04213452711701393,
0.02916422300040722,
0.051615744829177856,
0.037545617669820786,
0.0033705725800246,
0.045964937657117844,
0.0016438059974461794,
0.059845440089702606,
-0.11415384709835052,
0.033544544130563736,
-0.006769588682800531,
0.036445796489715576,
-0.044220395386219025,
0.037735242396593094,
0.0276472270488739,
-0.03388587012887001,
0.0024129697121679783,
-0.010249195620417595,
0.008428801782429218,
-0.017654025927186012,
-0.018450448289513588,
0.006053756922483444,
-0.04695098474621773,
-0.026661181822419167,
0.016298212110996246,
0.02895563654601574,
0.10262469202280045,
0.044675491750240326,
-0.007158318534493446,
-0.016449911519885063,
-0.037526655942201614,
-0.016260286793112755,
-0.008333989419043064,
0.008793828077614307,
0.026414670050144196,
-0.028898747637867928,
-0.024442575871944427,
-0.047974955290555954,
0.018886582925915718,
0.01259105559438467,
0.035516638308763504,
-0.013842576183378696,
0.011586046777665615,
0.055408231914043427,
0.009727728553116322,
-0.032008588314056396,
-0.0013617397053167224,
0.01679123565554619,
-0.0039110020734369755,
0.025940608233213425,
0.03272916004061699,
-0.017217889428138733,
0.009580769576132298,
-0.04190697893500328,
0.010884436778724194,
-0.03925223648548126,
-0.006589445751160383,
0.09996994584798813,
0.00601109117269516,
-0.020593203604221344,
0.034682292491197586,
-0.02425295300781727,
-0.011794633232057095,
-0.0034582738298922777,
-0.006423524115234613,
0.014544186182320118,
-0.0023477862123399973,
-0.028784973546862602,
0.025769947096705437,
-0.026433631777763367,
0.05506690591573715,
-0.039328087121248245,
0.02922111004590988,
-0.016174955293536186,
0.006262343842536211,
0.027135241776704788,
-0.05453595891594887,
-0.03921431303024292,
0.04414454475045204,
-0.015539714135229588,
0.04786118119955063,
-0.014383005909621716,
-0.02186368592083454,
0.020650090649724007,
0.0392901636660099,
0.014212343841791153,
0.018583184108138084,
0.03360143303871155,
-0.04122433066368103,
-0.04793703183531761,
0.015103578567504883,
0.0034985688980668783,
0.04141395539045334,
-0.05009875074028969,
-0.030434705317020416,
-0.0008035331266000867,
-0.012790161184966564,
0.01768246851861477,
0.05544615536928177,
-0.006712701637297869,
-0.014240787364542484,
0.011225760914385319,
0.028235062956809998,
0.001595214707776904,
-0.0020159436389803886,
0.009272630326449871,
0.01740751415491104,
0.014876029454171658,
-0.023058319464325905,
-0.029752058908343315,
-0.031041502952575684,
0.0008047182927839458,
-0.04588908702135086,
-0.002943917876109481,
0.020100180059671402,
0.04903685301542282,
0.04569946601986885,
0.08669624477624893,
0.006764848250895739,
0.03405652940273285,
0.029353847727179527,
0.04247584939002991,
-0.005318962503224611,
-0.004437209572643042,
-0.005304740741848946,
-0.011718783527612686,
-0.014098568819463253,
0.03720429539680481,
0.07880787551403046,
0.03667334467172623,
0.029296958819031715,
0.005665027070790529,
-0.07368801534175873,
0.008400358259677887,
0.01964508183300495,
-0.027723077684640884,
-0.035099465399980545,
0.042020753026008606,
0.03401860594749451,
-0.03828515484929085,
-0.005432737059891224,
-0.04145187884569168,
-0.03570626303553581,
-0.023058319464325905,
0.01012593973428011,
0.009841502644121647,
-0.030339892953634262,
-0.022830769419670105,
0.04038998484611511,
-0.048240430653095245,
-0.0038161897100508213,
-0.005371109116822481,
0.0841173529624939,
0.07050232589244843,
-0.03214132413268089,
-0.01979678124189377,
0.005622361321002245,
-0.012553131207823753,
-0.0180522371083498,
-0.01660161092877388,
0.06341037899255753,
0.002292084041982889,
-0.02895563654601574,
0.005172003526240587,
0.009248927235603333,
-0.0016852862900123,
0.02559928596019745,
0.062310557812452316,
-0.05275348946452141,
0.07289159297943115,
0.005655545741319656,
0.00023925257846713066,
-0.009571288712322712,
0.020991412922739983,
-0.0032022809609770775,
0.015122540295124054,
0.006295527797192335,
-0.05017459765076637,
0.007883631624281406,
0.02874704822897911,
0.03667334467172623,
-0.033070482313632965,
0.022394634783267975,
-0.053132738918066025,
-0.02406332828104496,
-0.03549767658114433,
-0.039555635303258896,
0.025959571823477745,
0.013103041797876358,
0.06424472481012344,
0.022811807692050934,
0.00233474955894053,
-0.04971950128674507,
-0.012439356185495853,
0.02963828295469284,
0.014563148841261864,
-0.0038754474371671677,
-0.09731520712375641,
-0.005086672957986593,
0.03547871112823486,
0.0454719141125679,
-0.03358247131109238,
0.06109695881605148,
-0.033753130584955215,
0.04941610246896744,
0.009609213098883629,
0.03585796058177948,
-0.0070635066367685795,
0.03367727994918823,
0.020650090649724007,
0.0038280412554740906,
0.01569141447544098,
0.045547764748334885,
-0.029259035363793373,
-0.03208443894982338,
-0.03580107539892197,
0.03426511585712433,
-0.009466994553804398,
0.05040214955806732,
0.01226869411766529,
-0.022432558238506317,
0.03445474058389664,
-0.02097245119512081,
-0.004178846254944801,
0.04338604584336281,
-0.07683578133583069,
-0.10573452711105347,
-0.055825404822826385,
-0.02565617300570011,
-0.03504257649183273,
-0.00028591795125976205,
0.09124723076820374,
-0.08009731769561768,
0.01817549206316471,
-0.006930769421160221,
-0.0020076476503163576,
-0.029334884136915207,
0.0057930233888328075,
-0.0008811605512164533,
0.049567800015211105,
0.00964713841676712,
-0.028784973546862602,
0.004972897935658693,
-0.006480411626398563,
0.0747499093413353,
0.03341180831193924,
-0.024177102372050285,
-0.04558568820357323,
0.031515564769506454,
-0.02315313182771206,
-0.021541323512792587,
-0.03716636821627617,
-0.023646155372262,
0.05908694118261337,
-0.0318758487701416,
-0.0163930244743824,
0.0159379243850708,
-0.06507907062768936,
-0.011339535005390644,
-0.034170303493738174,
-0.029031485319137573,
-0.07289159297943115,
-0.018915027379989624,
-0.05954204127192497,
0.029922720044851303,
0.05836636945605278,
-0.015558676794171333,
-0.0012740384554490447,
-0.06625474244356155,
0.00295576942153275,
-0.040845081210136414,
-0.021275850012898445,
0.058669768273830414,
-0.006338193546980619,
-0.024613238871097565,
0.037071555852890015,
-0.013112522661685944,
-0.00617701280862093,
-0.03947978466749191,
0.0003496198623906821,
-0.027704115957021713,
0.017976386472582817,
-0.04232415184378624,
-0.029562434181571007,
-0.05184329301118851,
-0.008812790736556053,
-0.026130232959985733,
-0.03071914240717888,
0.005470661912113428,
0.017132557928562164,
0.05567370355129242,
0.03094669058918953,
-0.04786118119955063,
-0.006129606626927853,
-0.12993060052394867,
0.010846511460840702,
0.012060107663273811,
0.06928873062133789,
-0.011775671504437923,
-0.00933899823576212,
-0.007134615443646908,
-0.02385474182665348,
-0.011093023233115673,
-0.012183363549411297,
-0.007599194999784231,
-0.08328300714492798,
0.0026689625810831785,
-0.04296887293457985,
-0.026680143550038338,
0.026869768276810646,
0.017312701791524887,
-0.025902684777975082,
0.04770948365330696,
-0.02430984005331993,
-0.011045617051422596,
0.03392379358410835,
-0.004015295300632715,
-0.02829195000231266,
-0.022660108283162117,
-0.012107513844966888,
0.0014233676483854651,
-0.01202218234539032,
-0.009850984439253807,
-0.037147406488657,
0.040693383663892746,
-0.017758319154381752,
0.03413238003849983,
0.008054293692111969,
0.014240787364542484,
0.07759428024291992,
0.014316637068986893,
0.04050375893712044,
0.021882647648453712,
0.05753202363848686,
0.05703900009393692,
-0.04281717538833618,
0.024613238871097565,
0.003344499273225665,
0.03100357949733734,
0.00685017928481102,
-0.004038998391479254,
0.014515742659568787,
-0.013643470592796803,
-0.00856153853237629,
-0.017208408564329147,
-0.020213954150676727,
0.04550984129309654,
-0.007025581784546375,
0.004633944481611252,
-0.009514400735497475,
-0.03453059121966362,
-0.009282111190259457,
-0.014070125296711922,
-0.05275348946452141,
-0.029107335954904556,
-0.023892665281891823,
-0.01571037620306015,
-0.006911806762218475,
-0.02493559941649437,
-0.0211431123316288,
-0.038228265941143036,
0.03403756767511368,
-0.0498332753777504,
0.0046220929361879826,
0.06898533552885056,
-0.014771735295653343,
-0.029315922409296036,
-0.10125939548015594,
0.026016458868980408,
0.004164624493569136,
0.03343077003955841,
-0.02051735296845436,
-0.046685509383678436,
-0.07558426260948181,
-0.0763048306107521,
0.02831091359257698,
0.03737495467066765,
0.00331605551764369,
0.006020572502166033,
0.006665295455604792,
0.038910914212465286,
-0.011633452959358692,
-0.02047942765057087,
0.005115116480737925,
0.003939445596188307,
-0.04657173529267311,
0.03498569130897522,
-0.0076418607495725155,
-0.011699821799993515,
0.023513417690992355,
0.06428264826536179,
-0.01457262970507145,
0.005864132661372423,
-0.05927656590938568,
-0.038379963487386703,
0.038910914212465286,
0.00036710084532387555,
-0.004297361243516207,
0.01826082356274128,
0.03631306067109108,
0.05525653064250946,
-0.044637568295001984,
0.052450090646743774,
-0.0069070663303136826,
0.011775671504437923,
0.0234186053276062,
0.023570304736495018,
-0.09071628004312515,
0.08009731769561768,
-0.00502030411735177,
-0.038436852395534515,
-0.006053756922483444,
0.053777460008859634,
0.008438282646238804,
-0.007376386784017086,
-0.013491771183907986,
-0.09261252731084824,
-0.015871556475758553,
-0.033734168857336044,
0.060717713087797165,
-0.03403756767511368,
0.006532558239996433,
0.06325867772102356,
-0.021332737058401108,
0.01801431179046631,
-0.0022991951555013657,
0.05495313182473183,
-0.029088372364640236,
0.05969373881816864,
0.017540251836180687,
-0.004297361243516207,
-0.01906672678887844,
0.05263971537351608,
-0.010770661756396294,
-0.018023792654275894,
0.008177549578249454,
-0.02472701296210289,
-0.030472630634903908,
-0.03921431303024292,
-0.043765295296907425,
0.02872808650135994,
-0.020346691831946373,
0.021674061194062233,
0.005864132661372423,
-0.03003649413585663,
0.0649273693561554
] |
9,648 | asyncclick.utils | open_file | Open a file, with extra behavior to handle ``'-'`` to indicate
a standard stream, lazy open on write, and atomic write. Similar to
the behavior of the :class:`~click.File` param type.
If ``'-'`` is given to open ``stdout`` or ``stdin``, the stream is
wrapped so that using it in a context manager will not close it.
This makes it possible to use the function without accidentally
closing a standard stream:
.. code-block:: python
with open_file(filename) as f:
...
:param filename: The name of the file to open, or ``'-'`` for
``stdin``/``stdout``.
:param mode: The mode in which to open the file.
:param encoding: The encoding to decode or encode a file opened in
text mode.
:param errors: The error handling mode.
:param lazy: Wait to open the file until it is accessed. For read
mode, the file is temporarily opened to raise access errors
early, then closed until it is read again.
:param atomic: Write to a temporary file and replace the given file
on close.
.. versionadded:: 3.0
| def open_file(
filename: str,
mode: str = "r",
encoding: t.Optional[str] = None,
errors: t.Optional[str] = "strict",
lazy: bool = False,
atomic: bool = False,
) -> t.IO[t.Any]:
"""Open a file, with extra behavior to handle ``'-'`` to indicate
a standard stream, lazy open on write, and atomic write. Similar to
the behavior of the :class:`~click.File` param type.
If ``'-'`` is given to open ``stdout`` or ``stdin``, the stream is
wrapped so that using it in a context manager will not close it.
This makes it possible to use the function without accidentally
closing a standard stream:
.. code-block:: python
with open_file(filename) as f:
...
:param filename: The name of the file to open, or ``'-'`` for
``stdin``/``stdout``.
:param mode: The mode in which to open the file.
:param encoding: The encoding to decode or encode a file opened in
text mode.
:param errors: The error handling mode.
:param lazy: Wait to open the file until it is accessed. For read
mode, the file is temporarily opened to raise access errors
early, then closed until it is read again.
:param atomic: Write to a temporary file and replace the given file
on close.
.. versionadded:: 3.0
"""
if lazy:
return t.cast(
t.IO[t.Any], LazyFile(filename, mode, encoding, errors, atomic=atomic)
)
f, should_close = open_stream(filename, mode, encoding, errors, atomic=atomic)
if not should_close:
f = t.cast(t.IO[t.Any], KeepOpenFile(f))
return f
| (filename: str, mode: str = 'r', encoding: Optional[str] = None, errors: Optional[str] = 'strict', lazy: bool = False, atomic: bool = False) -> IO[Any] | [
-0.02017536573112011,
-0.0558323934674263,
0.007414352614432573,
0.006415993440896273,
0.07010277360677719,
0.03675474971532822,
0.04110778123140335,
-0.0036054477095603943,
0.0555674247443676,
-0.07051914930343628,
0.037038642913103104,
0.007300795055925846,
-0.018566636368632317,
0.03853381425142288,
0.017970459535717964,
0.03488105162978172,
-0.02873002365231514,
0.005829280242323875,
-0.05605950579047203,
0.07453151047229767,
0.040010061115026474,
0.012841450050473213,
-0.037568576633930206,
-0.024774441495537758,
0.011308425106108189,
0.04462806135416031,
-0.05087371915578842,
0.007792877033352852,
-0.018102943897247314,
-0.04012361913919449,
0.03213674575090408,
0.015945352613925934,
0.004582514520734549,
-0.0033144569024443626,
-0.02089456282556057,
-0.03404829651117325,
-0.01162070780992508,
0.04792122542858124,
-0.013655278831720352,
-0.04985170438885689,
-0.037436094135046005,
-0.012831986881792545,
0.002101995050907135,
0.012633262202143669,
-0.07063271105289459,
-0.019910398870706558,
-0.027840491384267807,
-0.014686758629977703,
-0.006098979152739048,
-0.025739679113030434,
0.06105603277683258,
0.019276369363069534,
0.02170839160680771,
-0.010863658972084522,
-0.02458517998456955,
0.03548669070005417,
-0.038382403552532196,
0.02890036068856716,
-0.028843581676483154,
-0.03179607540369034,
0.0212541613727808,
0.034597158432006836,
0.03102009929716587,
-0.0394422747194767,
-0.03247741982340813,
-0.007679319940507412,
-0.016636161133646965,
-0.03380225598812103,
-0.0069128074683249,
0.02026999741792679,
0.03049016371369362,
0.04182697832584381,
0.03281809017062187,
-0.014014876447618008,
0.047656260430812836,
0.01567092165350914,
-0.049094654619693756,
0.02121630869805813,
0.027613377198576927,
0.005185788497328758,
0.0010007246164605021,
-0.02980881929397583,
0.009444191120564938,
0.05041949078440666,
-0.017998849973082542,
-0.05034378543496132,
0.035410985350608826,
0.010220167227089405,
-0.027575524523854256,
0.025607196614146233,
0.008464758284389973,
0.030830835923552513,
-0.045952897518873215,
-0.040237173438072205,
0.015368103049695492,
-0.04398456960916519,
0.002062959596514702,
0.056703001260757446,
-0.0497002936899662,
-0.009529359638690948,
-0.04913250729441643,
-0.010589228011667728,
0.006198341958224773,
-0.013068565167486668,
0.011781580746173859,
-0.001824015867896378,
0.041637714952230453,
0.039555829018354416,
0.018878920003771782,
-0.060715362429618835,
-0.048337604850530624,
-0.01570877432823181,
0.012406147085130215,
0.055718835443258286,
-0.03457823023200035,
-0.00811462290585041,
0.017449988052248955,
0.0002308113471372053,
-0.037757840007543564,
-0.023752424865961075,
-0.024339137598872185,
-0.008933182805776596,
-0.05776286870241165,
0.009936273097991943,
0.08509235084056854,
0.005308808758854866,
-0.007106801029294729,
-0.05708152428269386,
0.06105603277683258,
0.033518362790346146,
0.002039301907643676,
-0.013816151767969131,
0.06408423185348511,
-0.0016998124774545431,
-0.019645432010293007,
-0.04209194704890251,
0.036944009363651276,
0.045044440776109695,
-0.04035073146224022,
0.06158596649765968,
0.03876093029975891,
-0.02661028690636158,
-0.028805729001760483,
0.017052536830306053,
-0.03804173320531845,
-0.02638317085802555,
0.026913106441497803,
-0.09455546736717224,
-0.022049063816666603,
0.07926306873559952,
0.08562228828668594,
-0.03399151936173439,
-0.01981576718389988,
0.0768783688545227,
0.07112479209899902,
-0.04201624169945717,
0.019967177882790565,
-0.012604872696101665,
-0.024604104459285736,
0.024206655099987984,
-0.04459020867943764,
0.04674779996275902,
-0.04084281623363495,
0.027405187487602234,
0.0248501468449831,
0.019020866602659225,
-0.0494353249669075,
-0.023165712133049965,
0.05980690196156502,
-0.07207110524177551,
-0.007622540928423405,
0.02481229417026043,
0.017251262441277504,
0.052236407995224,
0.01159231923520565,
-0.016740255057811737,
0.021045973524451256,
-0.009131908416748047,
0.0053987083956599236,
-0.012955008074641228,
0.004454762674868107,
-0.0686265304684639,
-0.01217903196811676,
-0.04424953833222389,
0.0248501468449831,
0.013059101998806,
0.004102261271327734,
-0.0062456573359668255,
0.0425083227455616,
-0.012746819294989109,
0.007201432250440121,
-0.016938980668783188,
-0.0009273855248466134,
-0.02373349852859974,
-0.05390191823244095,
-0.06567403674125671,
-0.0583685077726841,
-0.03215567395091057,
0.03130399063229561,
0.05015452206134796,
-0.06892934441566467,
0.07055700570344925,
0.06310006976127625,
-0.004133016336709261,
-0.03313983604311943,
0.05443185195326805,
0.020118586719036102,
-0.021594833582639694,
-0.01233990490436554,
0.05658944323658943,
0.000752909283619374,
-0.03295057639479637,
-0.06033683568239212,
0.05246352404356003,
0.03402937203645706,
0.04576363414525986,
-0.007759756408631802,
0.036451928317546844,
-0.07157901674509048,
0.030054861679673195,
0.07733259350061417,
0.018093479797244072,
-0.061169590801000595,
0.01796099729835987,
0.058784887194633484,
-0.03594091907143593,
0.04746699705719948,
-0.003851488698273897,
-0.026534581556916237,
0.047353439033031464,
-0.002233295701444149,
-0.0022202839609235525,
-0.014147360809147358,
-0.0004941521910950541,
0.013683667406439781,
-0.012197958305478096,
0.014961188659071922,
-0.006482235621660948,
-0.06627967208623886,
-0.021329866722226143,
0.021329866722226143,
-0.031682517379522324,
0.037436094135046005,
0.06317577511072159,
-0.008611436933279037,
-0.06453846395015717,
-0.01186674926429987,
0.04485517740249634,
-0.017099853605031967,
-0.008100428618490696,
0.05352339148521423,
0.02566397376358509,
-0.03467286378145218,
0.008105159737169743,
-0.03389688581228256,
0.009094055742025375,
-0.008057844825088978,
-0.05409117788076401,
-0.024414842948317528,
0.02246544137597084,
-0.006179415620863438,
-0.019106034189462662,
0.024055244401097298,
0.003846757346764207,
0.048564717173576355,
-0.05041949078440666,
-0.05954193323850632,
-0.05897414684295654,
0.041486307978630066,
-0.013967561535537243,
-0.0011893955525010824,
0.03480534628033638,
0.013854003511369228,
0.0175919346511364,
-0.029752040281891823,
-0.022616850212216377,
0.006751934066414833,
0.011024531908333302,
0.06105603277683258,
0.035013534128665924,
-0.07051914930343628,
0.028521835803985596,
-0.03817421570420265,
0.0053466614335775375,
-0.0037142736837267876,
0.018983013927936554,
-0.0321178212761879,
-0.009259660728275776,
0.005526460707187653,
-0.006037469021975994,
0.02102704718708992,
0.017733881250023842,
0.015046356245875359,
-0.024168802425265312,
0.022484367713332176,
0.010182314552366734,
-0.07525070756673813,
-0.057384345680475235,
0.06495483964681625,
-0.049094654619693756,
0.004731558728963137,
-0.018859993666410446,
0.02520974539220333,
0.01477192621678114,
-0.01429877057671547,
-0.04091852158308029,
-0.026193909347057343,
-0.06468986719846725,
-0.018462542444467545,
-0.0010575033957138658,
0.025285448879003525,
-0.020781006664037704,
-0.011876212432980537,
-0.009699695743620396,
-0.02890036068856716,
0.03209889307618141,
-0.012529167346656322,
-0.029562778770923615,
0.08213985711336136,
0.005299345590174198,
-0.007111532613635063,
-0.020516037940979004,
0.010929900221526623,
0.036906156688928604,
-0.01877482421696186,
-0.01577501744031906,
0.06540906429290771,
0.01393917202949524,
0.02026999741792679,
0.029657410457730293,
-0.030509090051054955,
0.049775999039411545,
-0.013749909587204456,
0.004476054571568966,
-0.14414221048355103,
0.04182697832584381,
-0.0010817525908350945,
-0.029657410457730293,
0.07453151047229767,
-0.019777914509177208,
0.02890036068856716,
0.009250197559595108,
-0.03471071645617485,
-0.04141060262918472,
-0.0532962791621685,
-0.024925852194428444,
0.08002012223005295,
-0.031095804646611214,
0.07218465954065323,
-0.1111348494887352,
0.023582087829709053,
-0.019238518550992012,
-0.040767110884189606,
-0.0699513629078865,
-0.049511030316352844,
-0.005190520081669092,
-0.00401709321886301,
0.04178912565112114,
0.01972113735973835,
-0.030679427087306976,
-0.03209889307618141,
-0.04133489727973938,
-0.0550374910235405,
-0.0029430296272039413,
0.01294554490596056,
-0.009335365146398544,
0.07949018478393555,
0.048110488802194595,
-0.10530556738376617,
0.015434344299137592,
0.019210128113627434,
-0.0067992499098181725,
-0.026421023532748222,
0.057384345680475235,
-0.016664549708366394,
0.0031725100707262754,
0.025134040042757988,
-0.0394422747194767,
-0.001599266892299056,
0.06431134790182114,
0.0427732914686203,
0.003619642462581396,
-0.0014596858527511358,
0.01743106171488762,
-0.0527663417160511,
-0.01609676331281662,
-0.02706451527774334,
0.009392144158482552,
0.002614186145365238,
-0.019342612475156784,
0.005611628759652376,
0.00006572430720552802,
0.05776286870241165,
0.03539206087589264,
0.02787834405899048,
0.006543745752424002,
0.04742914438247681,
-0.0047410218976438046,
-0.01795153319835663,
0.05624876916408539,
-0.033934738487005234,
0.0563623271882534,
0.025682900100946426,
-0.0035463033709675074,
-0.01730804145336151,
0.05465896800160408,
0.04659638926386833,
-0.020818857476115227,
0.02026999741792679,
-0.0033239200711250305,
-0.01922905445098877,
-0.027613377198576927,
-0.04814834147691727,
-0.0005110083147883415,
0.05257708206772804,
0.03552454337477684,
-0.026950959116220474,
-0.020288923755288124,
0.02517189271748066,
-0.033385876566171646,
0.02859754115343094,
-0.019910398870706558,
-0.05060875043272972,
0.015159914270043373,
0.0017151900101453066,
-0.019172275438904762,
0.04440094530582428,
0.016513139009475708,
0.02148127742111683,
0.036224812269210815,
-0.03232600912451744,
0.001840576296672225,
-0.007499520666897297,
-0.015065282583236694,
0.007991602644324303,
-0.0334426574409008,
-0.04633142426609993,
-0.01780012436211109,
0.050949424505233765,
0.03102009929716587,
0.001188212656415999,
0.014781389385461807,
0.0365087054669857,
-0.0013295679818838835,
-0.07237391918897629,
-0.030471237376332283,
0.029335664585232735,
0.013910782523453236,
0.054734669625759125,
0.02458517998456955,
0.03751179575920105,
-0.020913489162921906,
0.0732823833823204,
-0.0012905326439067721,
-0.06340288370847702,
-0.013314606621861458,
-0.02967633679509163,
0.004248939920216799,
-0.003879878204315901,
0.03137969598174095,
0.020288923755288124,
0.0012727893190458417,
-0.0031748758628964424,
-0.09357130527496338,
0.004473688546568155,
-0.018604489043354988,
-0.03876093029975891,
0.024887999519705772,
-0.052387818694114685,
-0.006094247568398714,
0.013513331301510334,
-0.002450947416946292,
-0.02827579528093338,
-0.00006328459858195856,
0.03578950837254524,
0.013248364441096783,
0.007650930434465408,
-0.02967633679509163,
0.028559688478708267,
-0.013863466680049896,
0.007707708980888128,
-0.045990750193595886,
-0.014109508134424686,
0.016276562586426735,
0.010248555801808834,
0.014932799153029919,
0.06393282115459442,
0.02471766248345375,
-0.010844732634723186,
0.031587887555360794,
0.02174624428153038,
0.03787139430642128,
-0.010570302605628967,
-0.04602860286831856,
-0.007594151888042688,
0.08584940433502197,
-0.0004015910380985588,
0.03389688581228256,
-0.048072636127471924,
-0.011563929729163647,
-0.012510241009294987,
-0.058065690100193024,
0.03454037755727768,
0.030281975865364075,
-0.00368115259334445,
0.02664813958108425,
-0.02706451527774334,
-0.0489053912460804,
0.04875398054718971,
-0.02556934393942356,
0.050987277179956436,
0.0010858926689252257,
0.01850985735654831,
-0.014601590111851692,
0.0025337496772408485,
0.025739679113030434,
0.009094055742025375,
0.012453462928533554,
-0.003084976226091385,
-0.011384130455553532,
0.023108933120965958,
-0.022578997537493706,
0.008975766599178314,
0.009491506963968277,
-0.011469298042356968,
-0.026685990393161774,
0.05882273614406586,
-0.02017536573112011,
0.03164466470479965,
0.004090432543307543,
0.06442490220069885,
-0.05821709707379341,
-0.026118203997612,
0.005625823512673378,
0.011062384583055973,
-0.0047978004440665245,
-0.05269063636660576,
0.021916579455137253,
-0.008696604520082474,
0.016863275319337845,
0.014024339616298676,
0.058557771146297455,
-0.05840636044740677,
0.017459452152252197,
0.02621283568441868,
-0.07596990466117859,
-0.012169568799436092,
-0.012273663654923439,
0.0703677386045456,
-0.03853381425142288,
-0.018008312210440636,
-0.04443879798054695,
0.029505999758839607,
0.014696221798658371,
0.012500777840614319,
-0.00006339549145195633,
0.02719699963927269,
-0.014904409646987915,
-0.017686566337943077,
-0.029203180223703384,
0.017289115116000175,
0.024698736146092415,
-0.07725688815116882,
-0.04655853658914566,
0.003801807528361678,
-0.005294614005833864,
0.09561533480882645,
0.04201624169945717,
-0.019342612475156784,
-0.06317577511072159,
0.0394422747194767,
0.049965258687734604,
0.021500201895833015,
-0.004651122260838747,
0.038382403552532196,
-0.025947868824005127,
0.02863539382815361,
0.0325152724981308,
0.022522220388054848,
0.0025786994956433773,
-0.009174492210149765,
-0.06631752848625183,
-0.08766631782054901,
0.009349560365080833,
-0.005384513642638922,
0.04973814636468887,
-0.0004285017785150558,
0.0419783890247345,
-0.006775591988116503,
-0.05269063636660576,
-0.0010166936554014683,
-0.047126322984695435,
0.036584410816431046,
-0.027708007022738457,
0.02876787632703781,
-0.005147935822606087,
-0.0229196697473526,
0.01697683334350586,
0.0453094057738781,
-0.0006145111983641982,
-0.07256318628787994,
-0.03219352662563324,
-0.03192855790257454,
0.005247298628091812,
-0.016106225550174713,
0.03673582151532173,
0.0054602185264229774,
0.010390503332018852,
-0.03153110668063164,
0.0619644932448864,
-0.022219398990273476,
-0.019285833463072777,
0.0011533173965290189,
-0.01932368613779545,
0.013248364441096783,
0.032307084649801254,
0.0014644174370914698,
-0.023619940504431725,
-0.0027443040162324905,
-0.01886945590376854,
-0.014648905955255032,
0.014223065227270126,
0.030509090051054955,
0.030376607552170753,
0.0216516125947237,
0.029335664585232735,
0.00683237100020051,
-0.023979539051651955,
-0.026042498648166656,
-0.028843581676483154,
-0.0216516125947237,
-0.007759756408631802,
0.015566827729344368,
0.0281811635941267,
-0.017355358228087425,
-0.05371265485882759,
0.0001687096373643726,
0.031852852553129196,
0.048072636127471924,
0.014478569850325584,
-0.04371960088610649,
-0.06468986719846725,
0.0035936187487095594,
-0.010769027285277843,
-0.015822332352399826,
-0.04390886425971985,
0.008038918487727642,
-0.0276512298732996,
0.07362305372953415,
-0.03539206087589264,
0.06650678813457489,
0.020516037940979004,
-0.01118540484458208,
-0.033026278018951416,
0.012936081737279892,
-0.051176540553569794,
0.054280441254377365,
-0.039290864020586014,
0.0778246745467186,
0.04565007984638214,
0.034559305757284164,
0.0022995376493781805,
-0.003413819707930088,
0.06938357651233673,
-0.026534581556916237,
-0.024301284924149513,
0.001842942088842392,
-0.04602860286831856,
-0.010646007023751736,
0.04394671693444252,
-0.03270453214645386,
0.053826212882995605,
0.026099277660250664,
0.01780012436211109,
0.07737044990062714,
-0.011412519961595535,
0.014904409646987915,
0.04534725844860077,
0.020648522302508354,
0.03580843657255173,
0.005710991565138102,
0.013447090052068233,
0.013068565167486668,
-0.0327802374958992,
-0.047391291707754135,
-0.006444382946938276,
-0.018207037821412086,
0.03902589529752731,
-0.02634531818330288,
-0.035373132675886154,
0.02661028690636158,
0.06715027987957001,
-0.06147241219878197,
-0.033575139939785004,
-0.06855082511901855,
-0.019550800323486328,
-0.02197335846722126,
0.025417933240532875,
0.04436309263110161,
-0.012122253887355328,
0.016626697033643723,
-0.0024935314431786537,
0.07911165803670883,
-0.06590115278959274,
-0.026402097195386887,
-0.03580843657255173,
-0.04345463588833809,
0.02664813958108425,
0.03936656937003136,
-0.035051386803388596,
0.0009315256029367447,
0.014696221798658371,
-0.019106034189462662,
0.01939939148724079,
0.055718835443258286,
0.0017364820232614875,
-0.056854408234357834,
0.02242758870124817,
-0.03334802761673927,
0.006704618688672781,
-0.03467286378145218,
-0.0361112542450428,
-0.0014987211907282472,
-0.0037568577099591494,
-0.0017613227246329188,
-0.010144461877644062,
-0.04799693077802658,
0.053107015788555145,
0.019276369363069534,
-0.007040559314191341,
0.029789892956614494,
0.011554466560482979,
-0.01939939148724079,
-0.014469106681644917,
0.007319721393287182,
-0.020421408116817474,
-0.008843283168971539,
-0.006709350273013115,
0.01868019439280033,
0.01815972290933132,
-0.011024531908333302,
0.01861395128071308,
-0.05708152428269386,
-0.046180013567209244,
0.04731558635830879,
-0.03804173320531845,
0.05980690196156502,
0.00892845168709755,
-0.03385903313755989,
0.024887999519705772,
-0.06052609905600548,
0.005067499354481697,
0.01485709473490715,
0.07566708326339722,
0.02053496427834034,
0.00462036719545722,
-0.018169185146689415,
-0.0003430380020290613,
-0.003922461997717619,
-0.04228121042251587,
-0.12756282091140747,
0.012122253887355328,
-0.02751874551177025,
0.01648475043475628,
-0.05462111532688141,
0.03395366668701172,
0.01067439652979374,
0.03285594284534454
] |
9,649 | asyncclick.decorators | option | Attaches an option to the command. All positional arguments are
passed as parameter declarations to :class:`Option`; all keyword
arguments are forwarded unchanged (except ``cls``).
This is equivalent to creating an :class:`Option` instance manually
and attaching it to the :attr:`Command.params` list.
For the default option class, refer to :class:`Option` and
:class:`Parameter` for descriptions of parameters.
:param cls: the option class to instantiate. This defaults to
:class:`Option`.
:param param_decls: Passed as positional arguments to the constructor of
``cls``.
:param attrs: Passed as keyword arguments to the constructor of ``cls``.
| def option(
*param_decls: str, cls: t.Optional[t.Type[Option]] = None, **attrs: t.Any
) -> t.Callable[[FC], FC]:
"""Attaches an option to the command. All positional arguments are
passed as parameter declarations to :class:`Option`; all keyword
arguments are forwarded unchanged (except ``cls``).
This is equivalent to creating an :class:`Option` instance manually
and attaching it to the :attr:`Command.params` list.
For the default option class, refer to :class:`Option` and
:class:`Parameter` for descriptions of parameters.
:param cls: the option class to instantiate. This defaults to
:class:`Option`.
:param param_decls: Passed as positional arguments to the constructor of
``cls``.
:param attrs: Passed as keyword arguments to the constructor of ``cls``.
"""
if cls is None:
cls = Option
def decorator(f: FC) -> FC:
_param_memo(f, cls(param_decls, **attrs))
return f
return decorator
| (*param_decls: str, cls: Optional[Type[asyncclick.core.Option]] = None, **attrs: Any) -> Callable[[~FC], ~FC] | [
0.0510057732462883,
0.038993675261735916,
0.07251071184873581,
-0.022636778652668,
0.05082321912050247,
-0.036054544150829315,
-0.07218211144208908,
0.022454222664237022,
-0.030011987313628197,
-0.020263567566871643,
-0.002635632874444127,
-0.032659027725458145,
-0.0011820414802059531,
-0.008214959874749184,
-0.001933938474394381,
0.06002397462725639,
-0.037533238530159,
-0.004910720512270927,
-0.040052492171525955,
0.03229391947388649,
0.12829941511154175,
0.038592055439949036,
-0.017461353912949562,
0.008415769785642624,
0.007306750398129225,
-0.031326379626989365,
0.015526274219155312,
0.046113308519124985,
-0.048778604716062546,
-0.004237550310790539,
0.08090822398662567,
-0.02011752314865589,
-0.004107479937374592,
0.037533238530159,
-0.028533292934298515,
-0.018593192100524902,
0.04720863699913025,
0.09704606235027313,
0.021541450172662735,
-0.026999834924936295,
-0.02311141975224018,
0.00795938353985548,
0.0031696052756160498,
-0.037460215389728546,
-0.008027841337025166,
0.03357180207967758,
0.01481431070715189,
0.022052602842450142,
-0.09018200635910034,
-0.08156542479991913,
0.06787382066249847,
-0.012194651179015636,
0.04487193748354912,
-0.04501798003911972,
0.012404588982462883,
0.053232938051223755,
0.02424325980246067,
0.026744257658720016,
-0.01165611483156681,
0.01444920152425766,
0.0024393866769969463,
-0.03176451101899147,
0.03050488419830799,
-0.016731135547161102,
-0.006471562664955854,
-0.02150493860244751,
-0.06257973611354828,
0.013509045355021954,
-0.00901820044964552,
0.03296937048435211,
-0.02902619168162346,
0.0118204141035676,
-0.006937077268958092,
-0.036784764379262924,
-0.0415494404733181,
-0.018419764935970306,
-0.059220731258392334,
-0.024133726954460144,
0.014476585201919079,
0.03128986805677414,
-0.057176120579242706,
0.005006561521440744,
0.0024987170472741127,
0.01672200672328472,
0.0024074395187199116,
-0.019953224807977676,
-0.028752358630299568,
-0.0587460920214653,
-0.01630213111639023,
-0.004696218762546778,
-0.01777169667184353,
0.003867876948788762,
-0.005640938878059387,
-0.008972561918199062,
-0.03563467040657997,
-0.009620631113648415,
0.017151011154055595,
-0.0006400822894647717,
-0.0011877462966367602,
0.017479609698057175,
-0.015261569991707802,
-0.01501512061804533,
0.09595073014497757,
0.03895716369152069,
0.027200644835829735,
-0.08134635537862778,
-0.029610365629196167,
0.02216213569045067,
-0.018730107694864273,
-0.025283820927143097,
0.01731530949473381,
-0.008703293278813362,
-0.04414171725511551,
0.0011101604904979467,
0.018027272075414658,
0.055642660707235336,
-0.027784818783402443,
-0.04629586264491081,
0.004673399496823549,
-0.014011070132255554,
-0.052101101726293564,
-0.0068412357941269875,
-0.02462662383913994,
-0.014038453809916973,
-0.01184779778122902,
-0.05626334622502327,
-0.0025375098921358585,
-0.003892978187650442,
-0.005038508679717779,
0.006275316700339317,
0.05991443991661072,
0.012002969160676003,
0.022490734234452248,
-0.02776656486093998,
0.03247647359967232,
-0.025283820927143097,
-0.050312064588069916,
0.027857841923832893,
-0.055642660707235336,
0.018218955025076866,
-0.006873182952404022,
0.00695989653468132,
-0.025922762230038643,
0.004242113791406155,
0.032403454184532166,
-0.04771978780627251,
-0.04552913457155228,
-0.033955167979002,
-0.028350738808512688,
0.032129619270563126,
0.0032654465176165104,
-0.012212906964123249,
0.03641965612769127,
0.052977364510297775,
-0.0015984942438080907,
-0.005440128967165947,
-0.021742260083556175,
0.013509045355021954,
0.0041417088359594345,
-0.03242170810699463,
0.0020366255193948746,
-0.061630453914403915,
0.06429575383663177,
0.0016726570902392268,
0.005586172454059124,
-0.014202753081917763,
-0.04523704573512077,
0.04801187664270401,
0.0005596441333182156,
0.059293754398822784,
0.022746311500668526,
-0.03676651045680046,
0.09244567900896072,
-0.005640938878059387,
0.006905130110681057,
0.04939929023385048,
0.009648013859987259,
-0.029847687110304832,
0.053378984332084656,
-0.09449029713869095,
0.02050088904798031,
0.018264593556523323,
0.018136804923415184,
-0.0021895149257034063,
0.01898568496108055,
0.0032061163801699877,
0.019259516149759293,
0.022746311500668526,
-0.057285651564598083,
-0.04771978780627251,
0.03284158557653427,
-0.023257464170455933,
-0.04625935107469559,
0.006006048526614904,
-0.023220952600240707,
-0.026999834924936295,
-0.018930917605757713,
0.03444806486368179,
0.05075019598007202,
0.05232016742229462,
0.016557708382606506,
-0.014230135828256607,
0.01991671323776245,
0.010478637181222439,
0.04888813942670822,
0.01757088676095009,
0.018465403467416763,
0.025521142408251762,
-0.012441100552678108,
-0.0040983520448207855,
-0.0006206858670338988,
-0.04136688634753227,
-0.009693652391433716,
0.0041850656270980835,
0.00038906963891349733,
0.0187666192650795,
0.03291460499167442,
0.05239318683743477,
-0.009392437525093555,
0.042243149131536484,
0.047573745250701904,
-0.03364482522010803,
0.031782764941453934,
0.057504717260599136,
0.051042284816503525,
-0.019679391756653786,
-0.0006189743871800601,
-0.039650872349739075,
0.01385589875280857,
0.018930917605757713,
-0.06845799833536148,
0.021870048716664314,
0.022472478449344635,
0.014166241511702538,
0.03497747331857681,
-0.0038655949756503105,
0.00799589417874813,
0.06425923854112625,
-0.03289635106921196,
-0.014887332916259766,
0.008406641893088818,
0.07849850505590439,
-0.018803130835294724,
0.10376407206058502,
-0.005805238150060177,
0.04560215398669243,
0.015206803567707539,
0.04812140762805939,
0.05746820941567421,
0.03203834220767021,
-0.026799025014042854,
0.04381312057375908,
-0.011163217946887016,
0.04487193748354912,
-0.006480690557509661,
0.050640664994716644,
-0.04220663756132126,
0.03508700802922249,
-0.04779281094670296,
0.020391356199979782,
-0.018136804923415184,
-0.018821386620402336,
0.009538481011986732,
0.04881511628627777,
0.023494785651564598,
-0.004860518034547567,
0.02670774795114994,
-0.07813339680433273,
-0.05005648732185364,
0.04677050560712814,
-0.031180337071418762,
-0.002672143978998065,
0.01318957470357418,
0.012906614691019058,
0.045456111431121826,
0.014704777859151363,
0.010862002149224281,
-0.06038908287882805,
-0.03470364212989807,
-0.02502824366092682,
0.016694623976945877,
-0.028350738808512688,
0.008771752007305622,
0.038665078580379486,
-0.060827214270830154,
0.06896915286779404,
-0.025612419471144676,
0.08485140651464462,
0.0319470651447773,
0.03169148787856102,
0.021212851628661156,
0.08638487011194229,
0.027620520442724228,
0.017808208242058754,
0.0869690403342247,
0.023001886904239655,
0.02057391032576561,
0.04476240277290344,
0.02017229050397873,
-0.04980091378092766,
0.017141882330179214,
-0.03702208399772644,
-0.003986537456512451,
0.03335273638367653,
0.019807180389761925,
0.007649040315300226,
-0.024024194106459618,
-0.010314338840544224,
0.04848651960492134,
0.05907468870282173,
0.04987393319606781,
0.017625652253627777,
-0.042644768953323364,
0.019734159111976624,
0.05155343562364578,
0.04195106029510498,
-0.023476529866456985,
-0.050713684409856796,
0.014960354194045067,
-0.019807180389761925,
-0.006937077268958092,
0.005928462836891413,
-0.016676368191838264,
-0.05206459015607834,
-0.07141538709402084,
-0.0046414523385465145,
0.0017764850053936243,
0.01738833077251911,
0.029884198680520058,
-0.017945123836398125,
-0.04060015827417374,
0.01178390346467495,
-0.041658975183963776,
0.03030407428741455,
-0.05659194663167,
0.016411663964390755,
-0.025119520723819733,
-0.01971590332686901,
0.03050488419830799,
-0.0033726973924785852,
0.022600267082452774,
0.05235667899250984,
-0.04403218626976013,
0.006293572019785643,
-0.01454960647970438,
-0.003299675416201353,
-0.00035598158137872815,
-0.008780878968536854,
0.009666269645094872,
0.0012402307474985719,
0.005125222261995077,
-0.017808208242058754,
0.0003023561730515212,
-0.008242342621088028,
0.06133836507797241,
-0.02710936777293682,
0.038263458758592606,
0.01904045045375824,
0.0035598159302026033,
-0.0909852460026741,
-0.06999145448207855,
-0.027675287798047066,
0.00034828006755560637,
-0.014576990157365799,
-0.0023572370409965515,
0.011564837768673897,
0.013143936172127724,
-0.06915170699357986,
0.008639398962259293,
-0.00280449609272182,
0.022326435893774033,
-0.03561641648411751,
0.037533238530159,
-0.007311314344406128,
-0.0012664729729294777,
0.025922762230038643,
-0.03300588205456734,
0.023147931322455406,
-0.00607450632378459,
-0.018748363479971886,
0.00031376583501696587,
-0.026214849203824997,
0.06969936937093735,
0.02429802529513836,
0.0283689945936203,
-0.019934969022870064,
0.031125569716095924,
-0.00022377207642421126,
0.058563534170389175,
-0.023805128410458565,
-0.01857493631541729,
-0.0209207646548748,
0.014093220233917236,
-0.026999834924936295,
-0.051370881497859955,
0.0007941127987578511,
0.02369559556245804,
0.016146959736943245,
-0.060352571308612823,
-0.009187063202261925,
0.04801187664270401,
-0.05940328910946846,
0.14436422288417816,
0.013892409391701221,
0.015270697884261608,
0.01571795716881752,
-0.02130412869155407,
-0.04483542591333389,
0.00882651749998331,
-0.007188089657574892,
-0.016877178102731705,
-0.018392382189631462,
-0.03521479293704033,
0.04089224338531494,
0.042389191687107086,
0.034247253090143204,
0.021614471450448036,
-0.015288952738046646,
0.0053305961191654205,
-0.007649040315300226,
0.048048388212919235,
-0.06988192349672318,
-0.0007313596433959901,
0.0909852460026741,
0.07262024283409119,
0.0030053062364459038,
0.026452170684933662,
-0.003548406297340989,
-0.009004509076476097,
-0.05659194663167,
-0.028661081567406654,
0.041585952043533325,
0.013773749582469463,
-0.002510126680135727,
-0.008639398962259293,
-0.023659083992242813,
-0.017224032431840897,
-0.053634561598300934,
0.013801132328808308,
-0.010469510219991207,
-0.035397350788116455,
-0.09449029713869095,
0.00226481887511909,
0.028861891478300095,
-0.04333847761154175,
-0.04761025682091713,
-0.003856467315927148,
-0.01591876707971096,
0.0437035858631134,
-0.001039420603774488,
0.07042958587408066,
0.05943979695439339,
-0.008630272001028061,
0.05162645876407623,
0.005339724011719227,
-0.06721662729978561,
-0.0037651900202035904,
-0.024535346776247025,
-0.04443380609154701,
-0.00544469291344285,
0.0071150679141283035,
-0.022928865626454353,
0.050239041447639465,
-0.025740208104252815,
-0.06458783894777298,
0.049435801804065704,
0.06531805545091629,
-0.0026630160864442587,
-0.04855953902006149,
-0.05151692405343056,
-0.0041348631493747234,
-0.05042159929871559,
-0.020062757655978203,
-0.006905130110681057,
-0.03840950131416321,
0.02955560013651848,
0.01810942217707634,
-0.006006048526614904,
-0.040782712399959564,
0.01524331420660019,
0.0018711852608248591,
0.046843525022268295,
0.0132899796590209,
0.0011586516629904509,
0.003701295703649521,
0.029884198680520058,
0.009068402461707592,
-0.042243149131536484,
0.003637401619926095,
0.030723949894309044,
-0.031527191400527954,
0.0094198202714324,
0.01105368509888649,
-0.03096127137541771,
0.06721662729978561,
0.059768397361040115,
0.047318167984485626,
-0.008716985583305359,
0.006631297990679741,
-0.05651892349123955,
-0.02849678322672844,
-0.0021244799718260765,
0.030121520161628723,
-0.03547037020325661,
0.033955167979002,
-0.07466485351324081,
-0.04406869411468506,
0.03760626167058945,
-0.054109200835227966,
0.027547499164938927,
-0.0034776662942022085,
-0.005120658315718174,
0.011071939952671528,
0.019076962023973465,
0.042243149131536484,
0.024188492447137833,
-0.0491437166929245,
-0.06860404461622238,
0.01385589875280857,
-0.021267618983983994,
-0.03640139847993851,
0.008228651247918606,
0.03760626167058945,
-0.026087060570716858,
-0.03170974552631378,
0.0021552860271185637,
0.022691544145345688,
-0.029884198680520058,
0.05586172640323639,
-0.04739119112491608,
0.015425869263708591,
0.036328379064798355,
0.013536428101360798,
0.020683443173766136,
-0.00872611254453659,
0.03010326437652111,
-0.0008340466301888227,
0.10069715231657028,
-0.007233728654682636,
-0.02469964511692524,
0.024553602561354637,
0.04100177809596062,
-0.011592221446335316,
0.025867994874715805,
-0.015617551282048225,
-0.05155343562364578,
-0.012340695597231388,
-0.014942099340260029,
0.03950482979416847,
-0.004198757465928793,
-0.0755046084523201,
0.06268927454948425,
-0.0418415293097496,
0.04227966070175171,
-0.0036716307513415813,
0.04479891434311867,
0.050969261676073074,
-0.04023504629731178,
-0.035123515874147415,
-0.030979527160525322,
-0.015115526504814625,
0.005148041527718306,
-0.026689492166042328,
-0.011181472800672054,
0.021012041717767715,
-0.03662046417593956,
0.07086771726608276,
0.002146158367395401,
0.022545501589775085,
-0.025612419471144676,
0.020537398755550385,
0.0072017814964056015,
-0.029811175540089607,
-0.019496837630867958,
-0.04834047332406044,
0.05900166556239128,
0.02017229050397873,
-0.016329513862729073,
0.009721036069095135,
-0.04523704573512077,
-0.031216846778988838,
0.014193625189363956,
-0.08565464615821838,
0.011071939952671528,
-0.02783958613872528,
0.017598269507288933,
0.020482633262872696,
-0.015480635687708855,
-0.04677050560712814,
-0.01804552786052227,
-0.00028024992207065225,
-0.015471507795155048,
0.009209882467985153,
-0.03417423367500305,
0.019332539290189743,
-0.009821441024541855,
-0.009529353119432926,
-0.002154144924134016,
0.028588060289621353,
0.009675397537648678,
-0.030979527160525322,
-0.002373210620135069,
-0.05998746305704117,
0.024425813928246498,
0.06363855302333832,
-0.022600267082452774,
-0.05020253360271454,
0.041111309081315994,
-0.045273557305336,
-0.03150893375277519,
-0.023494785651564598,
-0.007717498578131199,
0.02464487962424755,
0.03682127594947815,
0.004723601974546909,
0.041914548724889755,
-0.039322275668382645,
-0.024918710812926292,
0.05914771184325218,
0.028186440467834473,
-0.061155810952186584,
-0.0037765996530652046,
0.020482633262872696,
0.013153063133358955,
-0.0150790149345994,
-0.012477611191570759,
-0.04735467955470085,
0.007484741043299437,
-0.04618632793426514,
-0.008233215659856796,
-0.014038453809916973,
0.024206748232245445,
0.01652119681239128,
0.0028729538898915052,
-0.011902564205229282,
-0.07086771726608276,
-0.05933026596903801,
0.027474476024508476,
0.0603160597383976,
-0.06582920998334885,
0.010487765073776245,
0.022655034437775612,
0.017497863620519638,
-0.032056599855422974,
0.02995721995830536,
0.03589024767279625,
-0.016229109838604927,
0.01831023208796978,
0.017196649685502052,
-0.03390040248632431,
0.03547037020325661,
-0.020135778933763504,
-0.028058651834726334,
-0.022143879905343056,
0.061557430773973465,
-0.043776609003543854,
-0.022636778652668,
-0.03683952987194061,
0.07079470157623291,
0.017762567847967148,
-0.02729192189872265,
-0.024078959599137306,
0.02429802529513836,
-0.016466431319713593,
-0.005622683558613062,
-0.05312340706586838,
-0.08120031654834747,
-0.0621781200170517,
0.011866052635014057,
0.012002969160676003,
-0.033590059727430344,
-0.004426950588822365,
-0.03307890519499779,
-0.018355870619416237,
-0.012979636900126934,
-0.05352502688765526,
-0.007790520321577787,
-0.021924814209342003,
0.012860976159572601,
0.04388613998889923,
0.001984141068533063,
-0.009511098265647888,
0.03010326437652111,
-0.044506825506687164,
-0.05841749161481857,
0.035780712962150574,
0.012477611191570759,
-0.007886361330747604,
0.013025275431573391,
-0.052977364510297775,
0.01676764525473118,
0.0041850656270980835,
-0.06685151904821396,
0.005033944733440876,
0.021212851628661156,
-0.07360603660345078,
-0.030924759805202484,
-0.04585773125290871,
0.06984541565179825,
0.019533349201083183,
0.04582121968269348,
0.057760294526815414,
-0.0826607495546341,
0.028149928897619247,
-0.007950255647301674,
-0.015617551282048225,
-0.0005045924917794764,
-0.012559760361909866,
0.02769354172050953,
0.0075714546255767345,
0.00968452449887991,
0.03430202230811119,
0.014576990157365799,
0.03296937048435211,
0.041257355362176895,
0.008557249791920185,
0.034794919192790985,
-0.033863890916109085,
0.0009572710259817541,
0.0187666192650795,
-0.014193625189363956,
-0.0015060759615153074,
0.030742205679416656,
-0.019003940746188164,
-0.002993896370753646,
-0.04866907373070717,
-0.016658112406730652,
-0.023677339777350426,
0.026616469025611877,
-0.045273557305336,
0.03262251988053322,
-0.01732443831861019,
0.013947175815701485,
-0.024863945320248604,
-0.01818244531750679,
-0.04030806943774223,
-0.024790924042463303,
0.013344746083021164,
-0.038665078580379486,
0.04965486750006676,
-0.05049461871385574,
0.04308290034532547,
0.01277882605791092,
-0.050567641854286194,
0.01141879428178072,
-0.013016147539019585,
-0.01631125994026661,
0.03589024767279625,
0.031016036868095398,
0.021194595843553543,
-0.017744313925504684,
-0.02970164455473423,
0.049435801804065704,
0.1128918007016182,
0.07243768870830536,
-0.004897028673440218,
-0.02316618710756302,
0.03453934192657471,
0.0218517929315567,
-0.04176850616931915,
-0.049034181982278824,
-0.005357979331165552,
0.05195505544543266,
-0.07689202576875687,
-0.02816818468272686,
-0.014038453809916973,
0.0004846255760639906,
0.029281767085194588
] |
9,651 | asyncclick.decorators | pass_context | Marks a callback as wanting to receive the current context
object as first argument.
| def pass_context(f: "t.Callable[te.Concatenate[Context, P], R]") -> "t.Callable[P, R]":
"""Marks a callback as wanting to receive the current context
object as first argument.
"""
def new_func(*args: "P.args", **kwargs: "P.kwargs") -> "R":
return f(get_current_context(), *args, **kwargs)
return update_wrapper(new_func, f)
| (f: 't.Callable[te.Concatenate[Context, P], R]') -> 't.Callable[P, R]' | [
0.0032442377414554358,
-0.038728948682546616,
0.033662982285022736,
0.037407390773296356,
0.01960308849811554,
0.03746245801448822,
-0.001548699103295803,
0.017015039920806885,
0.05884597450494766,
-0.04199612885713577,
-0.02226455695927143,
-0.02720203809440136,
-0.02830333635210991,
-0.00326488702557981,
0.003838479286059737,
0.034195274114608765,
-0.011857299134135246,
-0.0044350153766572475,
0.013114613480865955,
-0.0008087650639936328,
0.039059337228536606,
-0.008929683826863766,
0.0009498687577433884,
-0.04977862909436226,
0.007966049015522003,
-0.0185109693557024,
0.014160845428705215,
-0.0038728949148207903,
0.01774006150662899,
0.02819320559501648,
0.05429394915699959,
-0.04361136630177498,
-0.024283600971102715,
-0.016225777566432953,
0.01973157376050949,
0.023274078965187073,
-0.09037978202104568,
0.07767815887928009,
0.010774356313049793,
-0.08964558690786362,
-0.0280830767005682,
-0.026357710361480713,
-0.04023405537009239,
0.0399036668241024,
0.017574867233633995,
0.03536999225616455,
0.005612026434391737,
0.009406913071870804,
0.05275212973356247,
-0.01431686244904995,
0.02402663230895996,
-0.0410049632191658,
0.024283600971102715,
0.014555476605892181,
0.01250889990478754,
0.048310231417417526,
-0.029019178822636604,
-0.010719291865825653,
0.040270764380693436,
-0.03019389510154724,
0.007938516326248646,
0.022062651813030243,
0.05256858095526695,
0.05473446473479271,
0.0105265649035573,
-0.02237468585371971,
-0.04284045845270157,
0.010783534497022629,
-0.011398425325751305,
0.03313068673014641,
-0.03469086065888405,
-0.0056670913472771645,
0.02644948475062847,
-0.04812668263912201,
-0.014500412158668041,
-0.008787433616816998,
-0.046658288687467575,
0.006791332270950079,
0.011719636619091034,
0.025825416669249535,
-0.04151890054345131,
-0.042253099381923676,
-0.005203628912568092,
0.06677531450986862,
0.01250889990478754,
-0.019364474341273308,
-0.011664572171866894,
-0.014335216954350471,
-0.030689479783177376,
0.016124825924634933,
-0.02149364911019802,
0.014739026315510273,
-0.012306994758546352,
-0.023751307278871536,
0.011884830892086029,
-0.06699557602405548,
-0.022191137075424194,
0.00415969081223011,
0.02136516384780407,
0.01685902290046215,
0.028578659519553185,
0.032653458416461945,
0.0003450157237239182,
-0.04041760414838791,
0.09045320004224777,
-0.00875531230121851,
-0.007034535054117441,
-0.02665138989686966,
0.059763722121715546,
0.008438688702881336,
-0.01783183589577675,
-0.0930228978395462,
0.012637384235858917,
-0.010067691095173359,
-0.026908358559012413,
0.007695313543081284,
-0.023494338616728783,
-0.009930028580129147,
0.0010726174805313349,
-0.001894001616165042,
0.02435702085494995,
-0.015005173161625862,
0.04636460915207863,
-0.06615124642848969,
-0.038288429379463196,
0.0037352326326072216,
-0.01730871945619583,
0.005690034944564104,
-0.01360101904720068,
-0.059102945029735565,
0.01907079480588436,
0.02246646024286747,
0.019309408962726593,
-0.03909604623913765,
0.018143869936466217,
-0.02477918565273285,
-0.045777250081300735,
0.051393866539001465,
-0.064389169216156,
0.06266380846500397,
-0.022448105737566948,
0.054367367178201675,
-0.004393716808408499,
0.032781943678855896,
-0.010719291865825653,
-0.008998515084385872,
-0.042473357170820236,
0.01584950089454651,
-0.004106920678168535,
0.015702661126852036,
0.05378000810742378,
0.004352417774498463,
0.0454101525247097,
0.03213952109217644,
-0.015142835676670074,
0.02424689196050167,
0.0027601257897913456,
0.0019674215000122786,
0.046438027173280716,
-0.02588048204779625,
0.047208935022354126,
-0.003464497160166502,
0.03599406033754349,
0.004198695067316294,
0.043794915080070496,
0.01960308849811554,
0.017593221738934517,
-0.013913053087890148,
-0.01641850359737873,
0.02070438489317894,
0.0348193421959877,
-0.03302055969834328,
0.10007119923830032,
-0.0009475743863731623,
-0.011921540834009647,
0.05333948880434036,
-0.027954591438174248,
-0.00007915573223726824,
0.04757603630423546,
0.061525799334049225,
0.01642768271267414,
-0.0176207534968853,
-0.019125860184431076,
-0.022998753935098648,
0.04023405537009239,
0.0025306888855993748,
0.019566379487514496,
0.03215787559747696,
0.051614124327898026,
-0.06350813060998917,
-0.005919471848756075,
0.009599640034139156,
0.032451555132865906,
-0.039720114320516586,
-0.0674360916018486,
-0.008021114394068718,
-0.04563041031360626,
-0.01007686834782362,
0.04342781752347946,
0.009728124365210533,
-0.014931753277778625,
-0.02920272760093212,
0.01509694755077362,
0.02964324690401554,
0.002454974688589573,
0.058221906423568726,
0.013839633204042912,
0.04746590554714203,
-0.08384542167186737,
-0.02477918565273285,
0.04860391095280647,
-0.06060805171728134,
-0.00831020437180996,
0.049411531537771225,
0.009636349976062775,
0.002411381807178259,
-0.02402663230895996,
0.011334182694554329,
0.009838254190981388,
0.0165194571018219,
-0.015399804338812828,
-0.0036732847802340984,
-0.007676958572119474,
-0.04772287607192993,
0.04585066810250282,
-0.034433890134096146,
0.0605713427066803,
-0.04394175484776497,
-0.04441898316144943,
-0.023604467511177063,
-0.0008408862049691379,
-0.009728124365210533,
0.022154426202178,
0.002171620260924101,
-0.0026362298522144556,
-0.09669388830661774,
0.061415668576955795,
-0.003540211357176304,
-0.048860881477594376,
-0.012986128218472004,
0.009471154771745205,
0.005093499086797237,
0.07143747061491013,
0.00831479299813509,
-0.012426302768290043,
-0.014573832042515278,
0.027275457978248596,
0.04662157595157623,
0.010177820920944214,
0.06079160049557686,
-0.04585066810250282,
0.03472756966948509,
-0.047759585082530975,
-0.004854884929955006,
-0.04724564775824547,
0.022870270535349846,
-0.03588392958045006,
-0.028009656816720963,
-0.030487574636936188,
0.01807045005261898,
0.0031203418038785458,
0.017473913729190826,
-0.05275212973356247,
0.06872093677520752,
-0.00523575022816658,
-0.03458072990179062,
-0.041592322289943695,
-0.07180456817150116,
-0.02006196230649948,
0.020539190620183945,
0.057891517877578735,
0.002549043856561184,
0.05341291055083275,
0.01587703265249729,
-0.029331212863326073,
-0.034745924174785614,
-0.03568202629685402,
0.01718941144645214,
-0.0030515107791870832,
-0.008681892417371273,
0.056900352239608765,
-0.01885053515434265,
-0.04438227415084839,
-0.03146038576960564,
-0.03494782745838165,
0.0377010703086853,
0.03127683699131012,
0.03924288600683212,
0.03935301676392555,
-0.04944824054837227,
0.007245616987347603,
0.020869581028819084,
0.0520179346203804,
0.04889759048819542,
0.006268215831369162,
0.038728948682546616,
-0.08979242295026779,
-0.023219013586640358,
0.012270284816622734,
-0.008796610869467258,
0.02270507626235485,
-0.040821414440870285,
-0.0297350212931633,
0.03184584155678749,
0.03505795821547508,
-0.012683271430432796,
0.032543327659368515,
-0.016372617334127426,
-0.0825972855091095,
0.018979020416736603,
0.011994960717856884,
0.011481022462248802,
-0.08597459644079208,
-0.04144548252224922,
-0.029019178822636604,
0.0026064030826091766,
0.00476769870147109,
-0.0348193421959877,
0.01641850359737873,
0.003060688264667988,
-0.0027899525593966246,
-0.0418492890894413,
0.01818057894706726,
0.01896066591143608,
0.003994496539235115,
0.045446861535310745,
0.012132623232901096,
-0.019786637276411057,
0.027293812483549118,
0.03577380254864693,
-0.03263510391116142,
0.02380637265741825,
-0.031680647283792496,
-0.02136516384780407,
-0.08707588911056519,
0.05609273165464401,
0.009292194619774818,
0.0003260872035752982,
0.04944824054837227,
-0.038728948682546616,
-0.01752897910773754,
0.03171735629439354,
-0.03792133182287216,
0.025807062163949013,
-0.030579349026083946,
0.033112332224845886,
-0.021530358120799065,
0.0654904693365097,
0.10007119923830032,
-0.025605157017707825,
-0.01708845980465412,
-0.05576234310865402,
-0.020539190620183945,
-0.003251120913773775,
-0.03689345344901085,
0.045006342232227325,
-0.021860746666789055,
0.013077903538942337,
-0.008576351217925549,
-0.00898474920541048,
0.014381105080246925,
-0.011398425325751305,
0.04331768676638603,
0.018868889659643173,
0.04482279345393181,
0.09706098586320877,
0.022099362686276436,
-0.040931541472673416,
-0.055138275027275085,
0.0286337248980999,
0.038068171590566635,
0.007511763833463192,
0.061856187880039215,
-0.008085356093943119,
-0.0023746718652546406,
-0.050733085721731186,
-0.013316517695784569,
-0.005295403767377138,
-0.05935991555452347,
0.030597705394029617,
0.021732263267040253,
-0.0365997739136219,
0.02435702085494995,
-0.025036154314875603,
-0.013701971620321274,
0.007043712772428989,
-0.02413676120340824,
-0.047208935022354126,
-0.01029712799936533,
0.0032304716296494007,
-0.05069637671113014,
-0.006731678731739521,
-0.005570727866142988,
0.003062982577830553,
0.00702535780146718,
-0.02059425599873066,
-0.014931753277778625,
-0.024522215127944946,
0.03160722553730011,
-0.04298729822039604,
0.036397870630025864,
-0.020667675882577896,
0.036507997661828995,
-0.00786509644240141,
0.026577970013022423,
0.06615124642848969,
-0.017226122319698334,
0.05069637671113014,
-0.004572677426040173,
0.03599406033754349,
-0.06424233317375183,
-0.01940118335187435,
-0.01707928255200386,
0.021732263267040253,
-0.01653781160712242,
-0.00959046185016632,
-0.061305537819862366,
-0.01695079728960991,
-0.012261107563972473,
0.005712978541851044,
0.018364129588007927,
0.029771732166409492,
0.015473224222660065,
0.02909259870648384,
0.0021027892362326384,
-0.013958941213786602,
-0.007286916021257639,
-0.009163709357380867,
0.003960080910474062,
-0.00016333039093296975,
-0.03869223967194557,
-0.033644627779722214,
-0.0009705181000754237,
0.01652863435447216,
-0.058772556483745575,
-0.0030193894635885954,
-0.02017209120094776,
0.04298729822039604,
0.031111642718315125,
0.08729615062475204,
0.01565677300095558,
0.024265246465802193,
0.024613989517092705,
-0.011279118247330189,
-0.042913876473903656,
-0.030560994520783424,
-0.060754891484975815,
0.0271102637052536,
-0.04353794455528259,
0.009829076938331127,
0.053486328572034836,
0.047869715839624405,
-0.03327752649784088,
0.018364129588007927,
-0.0231272391974926,
-0.016767248511314392,
-0.005249516107141972,
-0.06237012520432472,
-0.05223819240927696,
0.06336129456758499,
0.014004828408360481,
-0.006359990686178207,
0.026522904634475708,
-0.03395666182041168,
-0.00237008323892951,
-0.04728235676884651,
0.05043940618634224,
-0.0010599984088912606,
-0.040491022169589996,
0.005763454828411341,
0.06112198904156685,
-0.008769078180193901,
-0.034874409437179565,
-0.00028880368336103857,
0.09551917016506195,
0.060204241424798965,
-0.05319264903664589,
-0.03169900178909302,
0.05043940618634224,
0.03153380751609802,
-0.017024217173457146,
0.012114267796278,
0.03459908440709114,
-0.0011896303622052073,
0.01481244619935751,
-0.0001210279660881497,
0.07070327550172806,
-0.028945758938789368,
0.03116670809686184,
0.044345565140247345,
-0.058442167937755585,
0.08046811074018478,
0.03362627327442169,
-0.03437882289290428,
-0.013857988640666008,
-0.02962489239871502,
0.02457728050649166,
-0.0006762652774341404,
0.010269595310091972,
-0.03307562321424484,
-0.028229916468262672,
-0.0007927044644020498,
-0.01929105445742607,
-0.021970877423882484,
0.023274078965187073,
-0.016051406040787697,
-0.04959508031606674,
-0.015280497260391712,
-0.07547555863857269,
0.03428705036640167,
-0.0028037189040333033,
-0.01008604560047388,
0.05289896950125694,
-0.01350006740540266,
-0.054807886481285095,
-0.06104857102036476,
-0.020667675882577896,
-0.010985438711941242,
-0.009076523594558239,
-0.08927848190069199,
-0.007043712772428989,
0.017997030168771744,
0.07029946893453598,
-0.030909739434719086,
0.03792133182287216,
-0.05763454735279083,
0.025807062163949013,
-0.005382589530199766,
0.01927269995212555,
-0.026376064866781235,
-0.056129444390535355,
0.003003329038619995,
0.026412775740027428,
-0.025293122977018356,
0.011664572171866894,
0.008479987271130085,
-0.03434211388230324,
-0.03169900178909302,
-0.022539880126714706,
-0.036195963621139526,
0.009406913071870804,
-0.007185963448137045,
-0.004932893440127373,
0.04526331275701523,
-0.021089838817715645,
-0.024632345885038376,
0.0042904699221253395,
-0.032781943678855896,
-0.047759585082530975,
-0.0370219387114048,
-0.07679712027311325,
-0.06941843032836914,
0.019437894225120544,
0.06952855736017227,
-0.059433333575725555,
-0.014876688830554485,
0.0105265649035573,
0.05891939625144005,
-0.010765179060399532,
0.00290467101149261,
0.006979470606893301,
0.08208334445953369,
0.016262486577033997,
-0.01201331615447998,
0.04118851199746132,
-0.0075576514936983585,
0.06684873253107071,
0.03380982205271721,
-0.0665917620062828,
-0.026706455275416374,
0.044308852404356,
0.013839633204042912,
-0.004574971739202738,
-0.06013082340359688,
-0.052164774388074875,
0.022209491580724716,
0.013206387870013714,
-0.01586785539984703,
0.08289096504449844,
-0.032653458416461945,
-0.0660778284072876,
-0.006272804923355579,
0.0010479530319571495,
-0.01574854925274849,
0.015133657492697239,
0.03274523466825485,
0.0349845364689827,
0.08362516015768051,
-0.002581165172159672,
0.01828153245151043,
-0.04496963322162628,
-0.03118506260216236,
-0.022668365389108658,
-0.04394175484776497,
0.06655505299568176,
-0.04173916205763817,
-0.04592408984899521,
0.028284979984164238,
-0.013922231271862984,
-0.023219013586640358,
-0.03294713795185089,
0.008333148434758186,
-0.06754622608423233,
-0.016326729208230972,
-0.027055198326706886,
-0.03171735629439354,
-0.04860391095280647,
-0.015335562638938427,
-0.0820099264383316,
0.05099005624651909,
-0.007594361435621977,
0.027495717629790306,
0.04129864275455475,
-0.03975682705640793,
0.03704029321670532,
0.029900215566158295,
-0.09434445202350616,
0.028707144781947136,
0.010728469118475914,
0.000002540834429964889,
-0.0030675712041556835,
-0.007681547198444605,
-0.05466104671359062,
0.005593671463429928,
0.0025765763130038977,
-0.03423198685050011,
0.009172887541353703,
-0.04221639037132263,
-0.04823681339621544,
0.01860274374485016,
-0.024724120274186134,
-0.006208562292158604,
0.02909259870648384,
-0.0216037780046463,
0.09221527725458145,
-0.034305404871702194,
0.003606748068705201,
0.029771732166409492,
-0.03358956053853035,
-0.0029528529848903418,
-0.013757036067545414,
0.015491579659283161,
-0.03832513839006424,
-0.07518187910318375,
0.04251006990671158,
-0.0041092149913311005,
-0.0012596085434779525,
-0.02149364911019802,
0.01795114204287529,
-0.035186443477869034,
0.025972256436944008,
0.010489854961633682,
0.004173457156866789,
0.05840545520186424,
0.0036686959210783243,
0.04067457467317581,
0.03357120603322983,
0.022888625040650368,
0.035626962780952454,
0.02323736809194088,
-0.0019972482696175575,
0.011857299134135246,
0.03459908440709114,
0.08707588911056519,
-0.030359089374542236,
-0.01642768271267414,
-0.020777804777026176,
-0.020759450271725655,
0.04309742525219917,
-0.021328454837203026,
0.03039580024778843,
-0.025036154314875603,
-0.052164774388074875,
-0.018529323861002922,
-0.036966871470212936,
-0.05300910025835037,
-0.021291743963956833,
0.043024007230997086,
-0.009517042897641659,
0.0011718489695340395,
0.00675003370270133,
0.011398425325751305,
0.013435824774205685,
0.016326729208230972,
-0.026412775740027428,
0.008732368238270283,
0.03610419109463692,
0.031221773475408554,
-0.018263177946209908,
-0.027569137513637543,
0.00652977405115962,
0.004083976615220308,
0.015812791883945465,
-0.008553407154977322,
-0.04383162409067154,
-0.037627652287483215,
-0.05539524555206299,
-0.04823681339621544,
0.032359778881073,
-0.0105265649035573,
-0.029129307717084885,
0.04118851199746132,
0.04386833310127258,
-0.05880926549434662,
0.055248405784368515,
-0.027844462543725967,
0.0220259428024292,
-0.07275903224945068,
-0.00207755109295249,
0.02466905489563942,
-0.01564759574830532,
-0.013646906241774559,
0.04463924095034599,
0.06416891515254974,
0.004166574217379093,
0.005102676805108786,
-0.006176441442221403,
-0.019878413528203964,
0.01508777029812336,
0.0031593460589647293,
-0.01829070970416069,
0.02940463274717331,
0.032102812081575394,
-0.03680167719721794,
0.03654471039772034,
0.024926025420427322,
0.06596769392490387,
0.0024090874940156937,
0.0407479926943779,
-0.06655505299568176,
0.06372839212417603,
-0.0076448372565209866,
-0.041702449321746826,
-0.016436859965324402,
0.02015373669564724,
0.011655393987894058,
0.021732263267040253,
0.01852014660835266,
-0.06890448927879333,
-0.06321445107460022,
-0.0035012071020901203,
0.05517498403787613,
-0.021548712626099586,
0.06104857102036476,
0.07944022864103317,
-0.014527943916618824,
-0.006125965155661106,
-0.021879103034734726,
-0.0110129714012146,
0.014885866083204746,
0.03766436129808426,
0.06181947886943817,
-0.02543996274471283,
0.00027216950547881424,
0.0542205274105072,
0.00859470572322607,
0.0030859261751174927,
0.004311119206249714,
-0.039059337228536606,
-0.029221083968877792,
-0.045226600021123886,
-0.0015257553895935416,
0.038178298622369766,
-0.033112332224845886,
0.08046811074018478,
0.006864752154797316,
-0.006896873004734516,
0.12048190087080002
] |
9,652 | asyncclick.decorators | pass_obj | Similar to :func:`pass_context`, but only pass the object on the
context onwards (:attr:`Context.obj`). This is useful if that object
represents the state of a nested system.
| def pass_obj(f: "t.Callable[te.Concatenate[t.Any, P], R]") -> "t.Callable[P, R]":
"""Similar to :func:`pass_context`, but only pass the object on the
context onwards (:attr:`Context.obj`). This is useful if that object
represents the state of a nested system.
"""
def new_func(*args: "P.args", **kwargs: "P.kwargs") -> "R":
return f(get_current_context().obj, *args, **kwargs)
return update_wrapper(new_func, f)
| (f: 't.Callable[te.Concatenate[t.Any, P], R]') -> 't.Callable[P, R]' | [
0.018872501328587532,
-0.028741437941789627,
0.002782542956992984,
0.027765590697526932,
-0.015834487974643707,
-0.0011185408802703023,
0.011047317646443844,
0.0011490361066535115,
0.01674589142203331,
-0.04378420114517212,
-0.02489328756928444,
-0.032681647688150406,
-0.02001405693590641,
-0.0073418631218373775,
-0.028410017490386963,
0.05600989982485771,
-0.058145713061094284,
-0.004317659884691238,
0.014904672279953957,
0.04183250665664673,
0.03293941915035248,
0.005491437390446663,
0.029514748603105545,
0.0041772667318582535,
0.014287863858044147,
-0.017150960862636566,
0.01935121789574623,
0.02498534880578518,
-0.013431696221232414,
0.02627420239150524,
0.07821500301361084,
-0.021836863830685616,
-0.019314393401145935,
-0.0014718248276039958,
0.014518016017973423,
-0.0035972828045487404,
-0.058992672711610794,
0.07556364685297012,
-0.043636903166770935,
-0.08918867260217667,
-0.024469807744026184,
0.001945938915014267,
-0.039438921958208084,
0.04974975064396858,
0.020455949008464813,
0.024156801402568817,
0.02601643279194832,
0.03778182342648506,
0.05678321048617363,
-0.024709166958928108,
0.03888655826449394,
-0.04356325417757034,
0.03538823872804642,
-0.008441992104053497,
0.016534151509404182,
0.023493962362408638,
-0.03096931241452694,
0.004494877066463232,
0.032865770161151886,
-0.03761611506342888,
0.008395961485803127,
0.0187159962952137,
0.03575648367404938,
0.019848346710205078,
-0.0021795437205582857,
-0.0411696694791317,
-0.05350584164261818,
0.035314589738845825,
-0.020511185750365257,
0.038591962307691574,
-0.036529794335365295,
0.0072129773907363415,
0.040654126554727554,
-0.029312215745449066,
-0.038297366350889206,
-0.030545832589268684,
-0.019388042390346527,
0.011406355537474155,
0.01861472986638546,
0.02030865103006363,
-0.029625222086906433,
-0.05538388341665268,
-0.08123460412025452,
0.010135913267731667,
-0.034467630088329315,
-0.019682636484503746,
-0.017132548615336418,
-0.050559889525175095,
-0.03815006837248802,
0.005201445426791906,
-0.008897693827748299,
0.02909126877784729,
-0.03907068073749542,
-0.0524011068046093,
0.0019977232441306114,
-0.04978657513856888,
0.007673282641917467,
0.014398337341845036,
-0.006702039390802383,
0.020916253328323364,
0.0392916239798069,
0.011544446460902691,
-0.055973075330257416,
0.010393684729933739,
0.09184002876281738,
-0.03940209746360779,
0.017371905967593193,
-0.04378420114517212,
0.05313759669661522,
0.038297366350889206,
-0.006927588488906622,
-0.023236190900206566,
-0.029514748603105545,
0.016672242432832718,
-0.01571480929851532,
-0.015944961458444595,
-0.048019006848335266,
-0.036805979907512665,
-0.0072405957616865635,
-0.015401802025735378,
0.05085448548197746,
-0.0016686052549630404,
0.0032865768298506737,
-0.04684062674641609,
0.004469560459256172,
0.02852049097418785,
0.013404078781604767,
-0.025298357009887695,
-0.012501880526542664,
-0.040470004081726074,
0.010458126664161682,
0.010881607420742512,
-0.049050088971853256,
-0.01619352586567402,
0.02393585443496704,
-0.012860918417572975,
-0.030656306073069572,
0.028004949912428856,
-0.058771729469299316,
-0.004062190651893616,
0.002513264771550894,
0.023088892921805382,
0.006605375092476606,
0.0383341908454895,
-0.01600019820034504,
0.026034845039248466,
-0.02255493961274624,
0.03225816786289215,
-0.021855276077985764,
0.017638882622122765,
0.039880815893411636,
0.011056523770093918,
0.0579984150826931,
0.042237576097249985,
-0.05368996039032936,
0.011636507697403431,
-0.007723915856331587,
-0.046435557305812836,
0.048019006848335266,
0.000997135415673256,
0.0049022468738257885,
0.0374135822057724,
0.020916253328323364,
0.008059938438236713,
0.05181191861629486,
0.01182983536273241,
0.033896852284669876,
-0.030380122363567352,
-0.014545634388923645,
0.016239555552601814,
0.0093533955514431,
-0.04411562159657478,
0.05199604108929634,
0.03873926028609276,
0.0022808106150478125,
0.11371371895074844,
-0.0477244108915329,
-0.017712531611323357,
0.01953534036874771,
0.029330627992749214,
0.009302761405706406,
-0.01145238522440195,
0.015760838985443115,
-0.023696495220065117,
0.026071669533848763,
0.03435715660452843,
-0.007931053638458252,
0.023641258478164673,
0.02964363433420658,
-0.037929121404886246,
0.0013809147058054805,
0.042237576097249985,
0.02601643279194832,
-0.015742426738142967,
-0.0673886388540268,
-0.02264700084924698,
-0.06683626770973206,
-0.01384597085416317,
0.034854285418987274,
0.03640091046690941,
-0.023273015394806862,
-0.019848346710205078,
0.02143179625272751,
0.008580083027482033,
-0.032055631279945374,
0.03656661882996559,
0.01182983536273241,
0.0720653310418129,
-0.04179568216204643,
0.0036364085972309113,
0.050265293568372726,
-0.043268658220767975,
-0.02881508693099022,
0.03991764038801193,
0.03398891165852547,
0.00645807757973671,
0.013072659261524677,
-0.008764205500483513,
0.025187883526086807,
0.031650565564632416,
-0.013956444337964058,
-0.0058274599723517895,
-0.06698356568813324,
-0.03947574645280838,
0.036051079630851746,
-0.040654126554727554,
0.02097149007022381,
-0.06109166517853737,
-0.013763115741312504,
-0.08476974815130234,
-0.02609008178114891,
-0.042789943516254425,
0.005288903135806322,
0.006407443899661303,
0.04893961548805237,
-0.02205781079828739,
0.0458095408976078,
-0.0024695356842130423,
-0.05490516871213913,
-0.031098198145627975,
0.02863096445798874,
-0.038113243877887726,
0.032773707062006,
-0.003940209746360779,
-0.009316571056842804,
0.036492969840765,
0.039696693420410156,
0.04474163427948952,
0.0041496483609080315,
0.018651554360985756,
-0.00800470169633627,
0.059066321700811386,
-0.07151296734809875,
-0.016773510724306107,
-0.07405385375022888,
-0.015862107276916504,
-0.0002784844546113163,
-0.04264264553785324,
-0.03965986892580986,
0.024396158754825592,
-0.011931102722883224,
-0.032515935599803925,
-0.01664462499320507,
0.07696297764778137,
0.0012036972912028432,
-0.023972678929567337,
-0.07939338684082031,
-0.07917243987321854,
-0.012695209123194218,
0.01785982958972454,
0.0851379930973053,
-0.05538388341665268,
0.06812512129545212,
0.04525717720389366,
-0.03227657824754715,
-0.04109602048993111,
-0.025095822289586067,
0.02122926153242588,
0.01682874746620655,
0.007760740350931883,
0.02666085958480835,
-0.025390418246388435,
-0.02879667468369007,
-0.06617343425750732,
-0.03907068073749542,
0.02601643279194832,
0.014932290650904179,
0.049823399633169174,
0.017058899626135826,
-0.07151296734809875,
0.017841417342424393,
0.03308671712875366,
0.04433656856417656,
0.0280601866543293,
0.031761039048433304,
0.07305958867073059,
-0.09382855147123337,
-0.03815006837248802,
0.019958820194005966,
-0.016423678025603294,
0.04069095104932785,
-0.026992278173565865,
-0.013312017545104027,
0.025114234536886215,
0.05634131655097008,
-0.011332706548273563,
0.03518570587038994,
-0.0126307662576437,
-0.07792041450738907,
0.01234537735581398,
0.026439912617206573,
0.012814887799322605,
-0.035019997507333755,
0.0036479162517935038,
-0.008745793253183365,
-0.016119876876473427,
-0.006876954808831215,
-0.03921797499060631,
0.00850643403828144,
-0.007714709732681513,
-0.008998960256576538,
-0.041206493973731995,
0.007194565609097481,
0.03351019695401192,
0.01953534036874771,
0.015272916294634342,
0.02178162708878517,
0.006338398437947035,
0.017537616193294525,
0.025003761053085327,
-0.035222530364990234,
0.018651554360985756,
0.021487032994627953,
0.009385616518557072,
-0.03308671712875366,
0.044667985290288925,
0.027434172108769417,
0.0126307662576437,
0.0318346843123436,
-0.00007087975973263383,
0.015420213341712952,
0.032700058072805405,
-0.023991091176867485,
0.028373192995786667,
-0.04871866852045059,
0.028391605243086815,
-0.012225697748363018,
0.04761393740773201,
0.0982474759221077,
-0.03386002779006958,
-0.0411328449845314,
-0.020787369459867477,
-0.01925915665924549,
-0.01341328490525484,
-0.039144326001405716,
0.06370619684457779,
0.0009211851865984499,
0.01389200147241354,
-0.02581389807164669,
-0.06562106311321259,
0.025961196050047874,
-0.025022173300385475,
-0.007926450110971928,
-0.003265863284468651,
0.0430477149784565,
0.08653731644153595,
0.016782715916633606,
-0.037634529173374176,
-0.05313759669661522,
0.026587210595607758,
0.022941594943404198,
0.016147496178746223,
0.03373114392161369,
-0.03525935485959053,
0.010504157282412052,
-0.004184171557426453,
-0.0018930038204416633,
0.000129460750031285,
-0.04360007867217064,
0.06679944694042206,
0.038960207253694534,
-0.028686201199889183,
0.03977034240961075,
-0.0026375469751656055,
0.009970203973352909,
0.02189210057258606,
-0.017915066331624985,
-0.0005089245969429612,
0.018412195146083832,
-0.00828088540583849,
-0.024838052690029144,
-0.008124381303787231,
0.04367372766137123,
-0.0011783805675804615,
0.011360324919223785,
-0.023972678929567337,
0.011074936017394066,
-0.0002777652407530695,
-0.025372005999088287,
-0.04282676801085472,
0.05295347422361374,
-0.011093348264694214,
0.028851909562945366,
-0.014002474956214428,
-0.0009620372438803315,
0.04761393740773201,
0.016598593443632126,
0.036437734961509705,
0.010025440715253353,
0.07873054593801498,
-0.028041774407029152,
-0.03673233091831207,
-0.019572163000702858,
0.009012769907712936,
0.000028265596483834088,
0.008128983899950981,
-0.025279944762587547,
0.0023487056605517864,
-0.005519055761396885,
-0.01600019820034504,
0.03430192172527313,
0.0224628783762455,
-0.0038711640518158674,
0.03211086988449097,
-0.01796109601855278,
-0.03354702144861221,
0.02205781079828739,
-0.025758661329746246,
0.056083548814058304,
0.027250049635767937,
-0.032976243644952774,
-0.05770381912589073,
-0.0008734285365790129,
0.016055434942245483,
-0.023125717416405678,
-0.029680458828806877,
-0.0050035142339766026,
0.012419026345014572,
0.03356543183326721,
0.10443397611379623,
-0.011240645311772823,
-0.007898831740021706,
0.03209245577454567,
0.008138190023601055,
-0.06201227381825447,
0.0003014997055288404,
-0.017795387655496597,
-0.017353493720293045,
-0.00029243744211271405,
0.05059671401977539,
0.11312452703714371,
-0.0005840118392370641,
-0.02572183683514595,
0.023328252136707306,
-0.04105919599533081,
-0.03713739663362503,
0.031668975949287415,
-0.04967610538005829,
-0.017427142709493637,
0.04978657513856888,
-0.000545461312867701,
-0.039623044431209564,
0.02693704143166542,
-0.024672342464327812,
-0.05556800588965416,
-0.010596218518912792,
0.04754028841853142,
0.013956444337964058,
-0.02702910266816616,
-0.045330826193094254,
0.060281530022621155,
-0.012336171232163906,
-0.054684221744537354,
-0.00790343526750803,
0.10583329945802689,
0.06470045447349548,
-0.04750346392393112,
-0.030380122363567352,
-0.011461591348052025,
-0.0007054172456264496,
-0.0308772511780262,
-0.01258473563939333,
0.0757845938205719,
0.003960923757404089,
-0.006260146386921406,
0.011737775057554245,
0.08837854117155075,
0.012455849908292294,
0.03264482319355011,
0.056562263518571854,
-0.02675292082130909,
0.07865689694881439,
-0.006039200350642204,
-0.03954939544200897,
-0.03669550642371178,
-0.0036456147208809853,
-0.01900138519704342,
0.006987428292632103,
-0.03619837760925293,
-0.05306394770741463,
-0.01955375075340271,
0.024064740166068077,
-0.04544129967689514,
-0.0011720512993633747,
0.001667454489506781,
-0.040064938366413116,
-0.0477244108915329,
-0.009611166082322598,
-0.059066321700811386,
0.04098554700613022,
0.0012508785584941506,
-0.007636458147317171,
0.0037399772554636,
0.03021441213786602,
-0.03789229691028595,
-0.010494951158761978,
0.0020874827168881893,
0.006292367819696665,
-0.03767135366797447,
-0.08175014704465866,
0.027912888675928116,
-0.009302761405706406,
0.0514804981648922,
-0.026218965649604797,
0.04474163427948952,
-0.07331736385822296,
0.04164838790893555,
-0.0008734285365790129,
0.04577271640300751,
-0.012170461006462574,
-0.04455751180648804,
-0.020916253328323364,
0.0058504752814769745,
0.0023038259241729975,
0.017325876280665398,
0.012805681675672531,
-0.035019997507333755,
-0.05641496554017067,
0.01557671744376421,
-0.00645807757973671,
0.010402890853583813,
-0.003005790989845991,
-0.0014994431985542178,
0.05321124568581581,
-0.007797564845532179,
-0.045404475182294846,
0.013146307319402695,
-0.04080142453312874,
-0.057188279926776886,
-0.04256899654865265,
-0.04441021382808685,
-0.09095624834299088,
0.02047436125576496,
0.1271914541721344,
-0.06230686977505684,
0.004879232030361891,
0.010108294896781445,
0.02402791567146778,
-0.01955375075340271,
-0.015558305196464062,
-0.010817164555191994,
0.07224945724010468,
0.03481746092438698,
-0.00042664509965106845,
0.010688279755413532,
-0.023088892921805382,
0.07003999501466751,
0.03958621993660927,
-0.04227440059185028,
-0.032700058072805405,
0.039144326001405716,
0.03290259465575218,
-0.03378637880086899,
-0.05022846907377243,
-0.02244446612894535,
0.02562977559864521,
-0.0008009304874576628,
0.011194614693522453,
0.039328448474407196,
-0.06790417432785034,
-0.06609978526830673,
-0.004833201412111521,
-0.03542506322264671,
-0.03781864792108536,
-0.008156602270901203,
0.0022152173332870007,
0.02505899779498577,
0.048608195036649704,
-0.022849535569548607,
-0.0271211639046669,
-0.020603246986865997,
-0.028373192995786667,
-0.034651752561330795,
-0.023254603147506714,
0.05137002468109131,
-0.03892338275909424,
-0.049823399633169174,
0.026789745315909386,
0.016589388251304626,
-0.029975054785609245,
-0.04124331846833229,
0.00511859031394124,
-0.04319500923156738,
-0.02133973501622677,
-0.021652741357684135,
-0.03122708387672901,
-0.03575648367404938,
-0.026605622842907906,
-0.029441101476550102,
0.03490952402353287,
0.017325876280665398,
0.026918629184365273,
0.04544129967689514,
-0.011931102722883224,
-0.0030518213752657175,
0.0038504505064338446,
-0.10156167298555374,
0.027268461883068085,
-0.0073004355654120445,
0.04407879710197449,
-0.0215054452419281,
-0.01759285293519497,
-0.047577112913131714,
0.00650410819798708,
0.014453573152422905,
-0.05394773185253143,
0.02592437155544758,
-0.0682355985045433,
-0.027563055977225304,
-0.016386853531003,
-0.03717422112822533,
-0.004359087441116571,
0.023254603147506714,
-0.006260146386921406,
0.06168085336685181,
-0.05995010957121849,
-0.022481290623545647,
0.03640091046690941,
-0.0392916239798069,
-0.021928925067186356,
-0.011507621966302395,
0.016534151509404182,
-0.04731934145092964,
-0.055788952857255936,
0.003963225055485964,
-0.03152167797088623,
0.0028838100843131542,
-0.04459433630108833,
0.03954939544200897,
-0.021450208500027657,
0.023641258478164673,
0.016156701371073723,
-0.01739031821489334,
0.07062917947769165,
0.017427142709493637,
0.05586260184645653,
0.07191803306341171,
-0.010817164555191994,
0.06238051876425743,
0.039880815893411636,
-0.03041694685816765,
-0.007618045900017023,
0.011019699275493622,
0.03807641938328743,
-0.016994455829262733,
0.009063403122127056,
-0.04245852306485176,
-0.01767570711672306,
0.030453771352767944,
-0.01313710119575262,
-0.007848198525607586,
0.001716937287710607,
-0.046251434832811356,
0.010623836889863014,
-0.038849733769893646,
-0.04893961548805237,
0.0003299810632597655,
0.022683825343847275,
-0.03424668312072754,
-0.013523757457733154,
-0.014840229414403439,
-0.02189210057258606,
0.00014787293912377208,
0.015328153036534786,
-0.05343219265341759,
0.0201245304197073,
0.029312215745449066,
0.04094872251152992,
-0.006826321594417095,
-0.030048703774809837,
-0.0050219264812767506,
-0.018964560702443123,
0.02872302569448948,
-0.03133755549788475,
-0.031484853476285934,
-0.039328448474407196,
-0.033896852284669876,
0.014536428265273571,
0.06595248728990555,
0.016055434942245483,
-0.017335081472992897,
0.03870243579149246,
0.04312136024236679,
-0.035222530364990234,
0.04684062674641609,
-0.0010805657366290689,
0.04334230720996857,
-0.07353831082582474,
0.017721738666296005,
-0.011636507697403431,
-0.038960207253694534,
0.05873490497469902,
0.03478063642978668,
0.01654335856437683,
0.03562759980559349,
0.030140765011310577,
0.014748168177902699,
0.013735498301684856,
-0.01403009332716465,
-0.034743811935186386,
-0.014628489501774311,
0.007963274605572224,
0.05497881770133972,
-0.04341595619916916,
0.06963492184877396,
0.0006179593037813902,
0.042237576097249985,
0.034670162945985794,
0.02207622304558754,
-0.04194298014044762,
0.09780558198690414,
0.021726390346884727,
-0.04378420114517212,
-0.042421698570251465,
0.02124767377972603,
-0.008202632889151573,
0.046546030789613724,
0.01610146462917328,
-0.07990892976522446,
-0.007737725041806698,
0.0037422787863761187,
0.04378420114517212,
-0.004080602899193764,
0.017187785357236862,
0.08248663693666458,
-0.011618095450103283,
0.0049943081103265285,
-0.005252078641206026,
0.0007721614674665034,
0.0049344683066010475,
0.069229856133461,
0.038039594888687134,
0.03441239520907402,
-0.006430459208786488,
0.07287546992301941,
-0.0005733672878704965,
-0.022757474333047867,
-0.010099089704453945,
-0.022610176354646683,
-0.045220352709293365,
-0.0776258185505867,
-0.020271826535463333,
0.03717422112822533,
0.003500618739053607,
0.05442645028233528,
0.01287012454122305,
-0.015070382505655289,
0.08992516249418259
] |
9,653 | asyncclick.decorators | password_option | Add a ``--password`` option which prompts for a password, hiding
input and asking to enter the value again for confirmation.
:param param_decls: One or more option names. Defaults to the single
value ``"--password"``.
:param kwargs: Extra arguments are passed to :func:`option`.
| def password_option(*param_decls: str, **kwargs: t.Any) -> t.Callable[[FC], FC]:
"""Add a ``--password`` option which prompts for a password, hiding
input and asking to enter the value again for confirmation.
:param param_decls: One or more option names. Defaults to the single
value ``"--password"``.
:param kwargs: Extra arguments are passed to :func:`option`.
"""
if not param_decls:
param_decls = ("--password",)
kwargs.setdefault("prompt", True)
kwargs.setdefault("confirmation_prompt", True)
kwargs.setdefault("hide_input", True)
return option(*param_decls, **kwargs)
| (*param_decls: str, **kwargs: Any) -> Callable[[~FC], ~FC] | [
0.058094728738069534,
0.008617202751338482,
0.1077762320637703,
-0.03307265415787697,
0.039491359144449234,
-0.038475971668958664,
-0.03002648800611496,
-0.000832935853395611,
-0.017451990395784378,
-0.04217488691210747,
0.035284750163555145,
-0.02300942875444889,
-0.041340816766023636,
0.030497917905449867,
-0.006318980362266302,
0.00759274885058403,
-0.02063414454460144,
-0.0067224157974123955,
-0.06687058508396149,
0.022193491458892822,
0.07985305041074753,
0.010616249404847622,
0.05312657728791237,
0.062265072017908096,
-0.02358965016901493,
-0.02416987158358097,
-0.0003391238860785961,
0.0018415248487144709,
-0.04935513436794281,
0.059654075652360916,
0.0671606957912445,
-0.03229298070073128,
-0.009727784432470798,
0.05156723037362099,
-0.015103903599083424,
0.014124779030680656,
0.04699798300862312,
0.18044903874397278,
0.053779326379299164,
-0.03272814676165581,
0.014006922021508217,
0.021105574443936348,
0.044532038271427155,
0.00784206297248602,
-0.03361661359667778,
-0.006831207312643528,
0.011006086133420467,
-0.02170392870903015,
-0.061213418841362,
-0.015720389783382416,
0.051023270934820175,
0.013326973654329777,
-0.01727067120373249,
-0.0033997383434325457,
0.06338925659656525,
0.0062963152304291725,
0.05120459198951721,
0.0052718608640134335,
0.010389599949121475,
0.030262203887104988,
-0.04761446639895439,
-0.031114405021071434,
0.004827628377825022,
-0.016998691484332085,
-0.00821830052882433,
0.0027764528058469296,
-0.05907385051250458,
-0.006835740525275469,
0.009618992917239666,
0.013943459838628769,
-0.022120963782072067,
0.00941954180598259,
-0.03923751413822174,
0.025729218497872353,
0.008150305598974228,
-0.0231544841080904,
-0.0033612078987061977,
0.0011683767661452293,
0.002468209946528077,
0.01860336773097515,
-0.057369448244571686,
-0.012900873087346554,
-0.04950018972158432,
0.042610052973032,
-0.03425122797489166,
0.02527592144906521,
0.008871050551533699,
-0.03452320769429207,
0.08398713171482086,
0.017451990395784378,
-0.021758325397968292,
-0.03756937384605408,
0.007357033435255289,
0.06908268481492996,
-0.017615176737308502,
-0.05153096467256546,
-0.001707801828160882,
0.04442324489355087,
-0.01898413896560669,
0.03901992738246918,
-0.011160206981003284,
-0.011731363832950592,
0.05798593536019325,
0.044532038271427155,
0.03909245505928993,
-0.06480354070663452,
-0.01269235648214817,
0.00363771989941597,
0.029319342225790024,
-0.0324561670422554,
-0.006568294484168291,
-0.00805511325597763,
0.007397830486297607,
0.009256353601813316,
-0.03307265415787697,
0.10697843134403229,
-0.0142154386267066,
-0.061394739896059036,
0.050443049520254135,
-0.034704528748989105,
-0.0401078462600708,
0.03361661359667778,
-0.002249493496492505,
0.01092449203133583,
0.027397356927394867,
0.030733633786439896,
-0.03372540324926376,
-0.021232498809695244,
-0.04572874680161476,
0.04772325977683067,
0.04808589816093445,
0.04290016368031502,
0.013943459838628769,
-0.022737449035048485,
0.028739120811223984,
-0.038040805608034134,
0.028031975030899048,
0.01599236950278282,
0.02054348587989807,
0.045402370393276215,
-0.026236914098262787,
0.02034403383731842,
-0.017687704414129257,
0.03655398637056351,
-0.01816820167005062,
-0.035864971578121185,
-0.022701185196638107,
-0.056354060769081116,
0.027886919677257538,
0.05914637818932533,
-0.013209116645157337,
0.03742431849241257,
-0.039781469851732254,
-0.0157657191157341,
0.029555058106780052,
0.055229879915714264,
-0.014904452487826347,
0.023063823580741882,
0.01634594239294529,
-0.04968150705099106,
0.018331388011574745,
-0.0932706892490387,
0.0521111860871315,
0.020706672221422195,
0.010190148837864399,
0.031060008332133293,
0.031223196536302567,
0.04449577257037163,
0.06687058508396149,
-0.0036513188388198614,
0.007669809274375439,
-0.04231994226574898,
0.05834857374429703,
-0.015321486629545689,
0.011205537244677544,
0.07564644515514374,
0.022266019135713577,
-0.050443049520254135,
-0.0031572235748171806,
-0.07593655586242676,
-0.001992246601730585,
-0.025801746174693108,
-0.025747351348400116,
0.01889347843825817,
0.08362449705600739,
-0.014813792891800404,
0.005208399146795273,
0.05624527111649513,
0.009809378534555435,
-0.04413313418626785,
-0.06270024180412292,
-0.020235242322087288,
-0.023625914007425308,
0.005684362258762121,
-0.05163975805044174,
-0.049137551337480545,
-0.01252010278403759,
0.0034246696159243584,
0.02387976087629795,
-0.0209786519408226,
0.03898366540670395,
-0.06146726757287979,
-0.01298246718943119,
-0.015720389783382416,
0.046417757868766785,
0.013018731027841568,
0.012511036358773708,
-0.03240177035331726,
-0.001865323050878942,
-0.044930942356586456,
0.04319027438759804,
-0.05820351839065552,
0.027089115232229233,
0.013734942302107811,
-0.002441012067720294,
-0.0019242519047111273,
0.062120016664266586,
0.003819039324298501,
-0.017742101103067398,
0.04975403472781181,
0.06462222337722778,
0.006427771877497435,
0.016037698835134506,
0.05842110142111778,
0.049137551337480545,
0.03387045860290527,
-0.014487418346107006,
-0.052908994257450104,
-0.04859359189867973,
0.028829779475927353,
-0.01599236950278282,
-0.017660506069660187,
-0.02669021114706993,
-0.017034955322742462,
0.0016364073380827904,
-0.03466826304793358,
-0.004959085024893284,
-0.027759995311498642,
-0.0034518674947321415,
0.007742337416857481,
-0.010842898860573769,
0.08181130141019821,
0.01567506045103073,
0.08804868906736374,
0.006740547716617584,
0.04329906776547432,
0.03292759880423546,
0.002229094970971346,
0.05443207547068596,
0.03198473900556564,
-0.040760595351457596,
0.004240606911480427,
0.021431948989629745,
0.05236503481864929,
0.008336158469319344,
0.050443049520254135,
-0.01712561398744583,
0.03466826304793358,
-0.007955387234687805,
0.028104502707719803,
0.015103903599083424,
0.007937255315482616,
-0.0649123340845108,
0.020072054117918015,
0.10095863044261932,
-0.03037099540233612,
-0.02523965761065483,
-0.07202005386352539,
0.005639032460749149,
-0.019890734925866127,
-0.08210141211748123,
0.0036082554142922163,
-0.025076469406485558,
0.014015987515449524,
0.004002625122666359,
0.038911137729883194,
0.06868378072977066,
-0.0030303001403808594,
0.009152095764875412,
-0.04348038509488106,
0.015511872246861458,
-0.012393179349601269,
0.005076942499727011,
0.06509365141391754,
-0.04181224852800369,
0.05185734108090401,
-0.03169462829828262,
0.01712561398744583,
0.00788285955786705,
0.03031659871339798,
0.02397042140364647,
0.05051557719707489,
0.06280902773141861,
0.014297032728791237,
0.062265072017908096,
0.03782322257757187,
0.035810574889183044,
-0.046961717307567596,
-0.004691638983786106,
-0.06175737828016281,
0.037025414407253265,
-0.03439628332853317,
0.0200539231300354,
0.022936901077628136,
0.027506148442626,
-0.01669951342046261,
0.0027923183515667915,
-0.02324514277279377,
0.02213909476995468,
0.023118220269680023,
0.036010026931762695,
-0.022465471178293228,
-0.02393415756523609,
-0.016762975603342056,
0.03822212293744087,
-0.04616391286253929,
-0.0010505191748961806,
-0.03912872076034546,
0.0030801629181951284,
-0.022701185196638107,
-0.019691284745931625,
-0.04888370260596275,
-0.012048671953380108,
-0.031223196536302567,
-0.06687058508396149,
0.02600119821727276,
0.006658954080194235,
0.0032252182718366385,
0.06193869933485985,
0.002391149289906025,
-0.08609043806791306,
0.046272702515125275,
-0.013399501331150532,
0.010072290897369385,
-0.08137613534927368,
-0.021776456385850906,
0.010616249404847622,
-0.03022594004869461,
-0.004156746435910463,
-0.0240792129188776,
0.024822622537612915,
-0.025003941729664803,
-0.009736849926412106,
-0.007239175960421562,
0.009337947703897953,
0.011051415465772152,
0.0030144345946609974,
0.03486771509051323,
0.03144077956676483,
0.05011667311191559,
0.05682549253106117,
0.017569847404956818,
-0.021631401032209396,
-0.0014539547264575958,
0.05784088000655174,
-0.010244544595479965,
0.019745679572224617,
0.0703156515955925,
-0.01936490833759308,
-0.03655398637056351,
-0.022266019135713577,
-0.023517122492194176,
0.00647763442248106,
0.004882024135440588,
0.02721603773534298,
-0.011948946863412857,
0.003968627657741308,
-0.030552314594388008,
0.03814959526062012,
0.005761423148214817,
0.03448694571852684,
-0.03037099540233612,
0.01721627451479435,
-0.05113206431269646,
-0.00908410083502531,
-0.004981749691069126,
-0.012130266055464745,
0.02924681454896927,
-0.013943459838628769,
0.024478115141391754,
-0.017615176737308502,
-0.04620017483830452,
0.07046070694923401,
0.0729629173874855,
-0.02054348587989807,
0.013671481050550938,
-0.005697961430996656,
-0.023861629888415337,
0.07397830486297607,
-0.018186332657933235,
-0.016908030956983566,
0.02556603215634823,
0.058674950152635574,
0.014342362061142921,
-0.011414054781198502,
0.01686270162463188,
-0.03301825746893883,
-0.02106931060552597,
-0.04561995342373848,
0.014179174788296223,
0.008540142327547073,
-0.035375408828258514,
0.05359800532460213,
-0.024768225848674774,
-0.02339019998908043,
0.0165544580668211,
-0.027814392000436783,
-0.03399738296866417,
0.0023775503505021334,
-0.02203030325472355,
0.00008626835915492848,
0.010153884999454021,
0.020416561514139175,
0.03002648800611496,
0.06850245594978333,
-0.0008306693634949625,
-0.04989909008145332,
-0.010715974494814873,
0.03051605075597763,
-0.020507222041487694,
0.01999952644109726,
-0.09638937562704086,
0.015865445137023926,
0.023263275623321533,
0.03385232761502266,
0.03515782579779625,
0.016454733908176422,
0.055374935269355774,
-0.03782322257757187,
-0.039164986461400986,
-0.03999905288219452,
0.07782227545976639,
-0.00019902634085156024,
-0.0006397173856385052,
0.008005250245332718,
-0.010099489241838455,
0.03452320769429207,
-0.045075997710227966,
0.002848980715498328,
-0.052183713763952255,
0.008041514083743095,
-0.010162950493395329,
0.00633257906883955,
-0.002098771743476391,
0.02727043442428112,
0.00164660660084337,
-0.01999952644109726,
0.029754508286714554,
0.017524518072605133,
0.004931887146085501,
0.07862008363008499,
0.040796857327222824,
0.020235242322087288,
-0.00040740196709521115,
-0.030788030475378036,
-0.014913518913090229,
0.009963499382138252,
0.00805511325597763,
-0.041775982826948166,
0.013553623110055923,
0.04895623028278351,
-0.025946801528334618,
0.033634744584560394,
0.0006759812822565436,
-0.01426076889038086,
0.029264947399497032,
0.0034065376967191696,
0.014949782751500607,
0.0032637487165629864,
0.031259458512067795,
-0.0568617545068264,
-0.05182107537984848,
-0.009591794572770596,
-0.00849027931690216,
0.052038658410310745,
0.049862828105688095,
-0.012973400764167309,
0.01295526884496212,
-0.041050706058740616,
-0.029663849622011185,
-0.05069689825177193,
0.026799002662301064,
-0.018911611288785934,
0.014369560405611992,
0.021196234971284866,
-0.03144077956676483,
0.05345294997096062,
-0.045402370393276215,
-0.004548850003629923,
-0.012356915511190891,
-0.035629257559776306,
-0.018240729346871376,
0.01657259091734886,
-0.04500347003340721,
0.05011667311191559,
0.007502089254558086,
0.027179773896932602,
-0.028594065457582474,
0.010217346251010895,
-0.03075176477432251,
-0.04282763600349426,
0.0349583737552166,
0.06810355931520462,
-0.04902875795960426,
0.027506148442626,
-0.025221524760127068,
-0.06291782110929489,
0.03753311187028885,
-0.017288802191615105,
0.06150352954864502,
-0.011078613810241222,
-0.03778695687651634,
0.06364309787750244,
-0.015230827033519745,
0.02266492135822773,
0.03619134798645973,
-0.002502207411453128,
-0.029138023033738136,
-0.016101161018013954,
-0.041630927473306656,
-0.05221997946500778,
0.06193869933485985,
-0.04953645169734955,
-0.06175737828016281,
0.020253373309969902,
-0.002944173291325569,
-0.0033634742721915245,
-0.049862828105688095,
0.04645402356982231,
-0.04137708246707916,
-0.007302637677639723,
0.05769582465291023,
0.05573757365345955,
-0.004718836862593889,
-0.028974836692214012,
-0.028739120811223984,
-0.08442229777574539,
0.09174760431051254,
-0.05011667311191559,
-0.034903980791568756,
0.02344459481537342,
0.04888370260596275,
-0.03325397148728371,
0.01727067120373249,
-0.0191291943192482,
0.01692616380751133,
-0.04804963245987892,
-0.02808637171983719,
0.014886320568621159,
-0.0017180010909214616,
-0.026907794177532196,
0.01252010278403759,
-0.011776693165302277,
-0.013907196000218391,
-0.03401551395654678,
0.006532030645757914,
0.019745679572224617,
0.001201240811496973,
-0.027542412281036377,
-0.00805511325597763,
-0.030733633786439896,
-0.005589169450104237,
-0.04601885750889778,
-0.056354060769081116,
0.019491832703351974,
-0.0587112121284008,
0.04184851050376892,
-0.05385185405611992,
-0.031132536008954048,
-0.006423238664865494,
0.030280334874987602,
-0.01918358914554119,
-0.009510201402008533,
0.029899565503001213,
-0.02335393615067005,
-0.01727067120373249,
0.06175737828016281,
-0.02048908919095993,
0.00013117323396727443,
0.0020160446874797344,
-0.06527497619390488,
0.052763938903808594,
-0.05570131167769432,
0.001427890034392476,
-0.00914302933961153,
0.029899565503001213,
0.03570178523659706,
-0.04837600886821747,
-0.008771324530243874,
-0.01898413896560669,
-0.012719553895294666,
-0.015493740327656269,
0.007357033435255289,
-0.059545282274484634,
-0.038040805608034134,
-0.0026336638256907463,
-0.04311774671077728,
-0.004981749691069126,
0.014714066870510578,
-0.01079756859689951,
-0.046381495893001556,
-0.001423357054591179,
-0.018186332657933235,
0.001688536605797708,
0.040180373936891556,
0.005299058742821217,
-0.025511635467410088,
0.029772641137242317,
-0.055483728647232056,
0.009152095764875412,
-0.023553386330604553,
-0.02232041396200657,
0.035085298120975494,
0.03434189036488533,
-0.015602531842887402,
0.054613396525382996,
-0.011586307547986507,
-0.0415583997964859,
0.022211622446775436,
0.0191291943192482,
-0.09791246056556702,
0.0651661828160286,
0.05842110142111778,
0.03684409707784653,
-0.007071455474942923,
-0.021286893635988235,
-0.06839367002248764,
0.05439581349492073,
-0.01331790816038847,
-0.014487418346107006,
-0.05943648889660835,
0.0060470011085271835,
0.011078613810241222,
0.012937136925756931,
-0.012402244843542576,
-0.05359800532460213,
-0.05921890586614609,
-0.012919005006551743,
0.014877254143357277,
-0.05856615677475929,
-0.0343056246638298,
0.0025883340276777744,
-0.018240729346871376,
-0.015656927600502968,
-0.0041272821836173534,
0.04924634099006653,
-0.033054523169994354,
0.019056666642427444,
0.004868424963206053,
-0.06157606095075607,
-0.004424192477017641,
-0.02866659313440323,
-0.004381129518151283,
0.017406659200787544,
0.013091258704662323,
-0.0003972027625422925,
-0.024967677891254425,
-0.013662414625287056,
0.031603965908288956,
-0.015457476489245892,
-0.012130266055464745,
-0.016500063240528107,
0.010879162698984146,
0.03202100098133087,
-0.02498580887913704,
-0.03515782579779625,
-0.07927282899618149,
-0.026218781247735023,
0.024151740595698357,
-0.007932722568511963,
0.005385185591876507,
-0.053344160318374634,
-0.015457476489245892,
0.019491832703351974,
0.005462246015667915,
-0.05037052184343338,
-0.0647672787308693,
-0.06610904633998871,
-0.009034237824380398,
0.00988190621137619,
0.037750694900751114,
-0.07753216475248337,
0.04112323373556137,
-0.05254635587334633,
-0.027433620765805244,
0.035375408828258514,
0.03472265973687172,
0.01927424967288971,
-0.037079811096191406,
-0.04750567674636841,
-0.02174019254744053,
-0.011441252194344997,
-0.005394251551479101,
-0.0016624720301479101,
0.020742936059832573,
-0.025003941729664803,
-0.017306935042142868,
0.010244544595479965,
0.07920030504465103,
0.0036014560610055923,
0.007211978081613779,
0.04166719317436218,
-0.029119892045855522,
0.059799131006002426,
-0.021033046767115593,
-0.03666277602314949,
-0.0066453549079597,
-0.04572874680161476,
0.0069717299193143845,
0.00736156664788723,
-0.017887156456708908,
0.018467377871274948,
0.004356198012828827,
-0.030135279521346092,
0.020887991413474083,
-0.03022594004869461,
-0.018331388011574745,
-0.05236503481864929,
0.0001613459171494469,
-0.017116548493504524,
0.011232735589146614,
-0.009043303318321705,
0.015131101943552494,
-0.04097817838191986,
0.003973160870373249,
-0.011731363832950592,
-0.060814518481492996,
0.0038734350819140673,
0.048811174929142,
-0.028267690911889076,
-0.006627222988754511,
-0.015230827033519745,
0.0014222238678485155,
0.05653538182377815,
-0.01191268302500248,
-0.0076879411935806274,
-0.035375408828258514,
0.02930121123790741,
-0.045946329832077026,
0.0568617545068264,
0.007719672285020351,
0.07303544133901596,
0.00759274885058403,
0.005031612701714039,
-0.0018664563540369272,
0.042066093534231186,
-0.003642252879217267,
0.009061435237526894,
-0.0007224443834275007,
-0.009618992917239666,
-0.024931414052844048,
-0.0033249440602958202,
0.00011467033618828282,
0.0758640244603157,
0.04253752529621124,
0.0467078723013401,
0.007896458730101585,
0.002486341865733266,
-0.019727548584342003,
0.0017293335404247046,
-0.05142217501997948,
0.08057832717895508,
0.04311774671077728,
-0.049427662044763565,
-0.017433857545256615,
0.00045868134475313127,
-0.024532511830329895,
0.058965060859918594
] |
9,654 | asyncclick.termui | pause | This command stops execution and waits for the user to press any
key to continue. This is similar to the Windows batch "pause"
command. If the program is not run through a terminal, this command
will instead do nothing.
.. versionadded:: 2.0
.. versionadded:: 4.0
Added the `err` parameter.
:param info: The message to print before pausing. Defaults to
``"Press any key to continue..."``.
:param err: if set to message goes to ``stderr`` instead of
``stdout``, the same as with echo.
| def pause(info: t.Optional[str] = None, err: bool = False) -> None:
"""This command stops execution and waits for the user to press any
key to continue. This is similar to the Windows batch "pause"
command. If the program is not run through a terminal, this command
will instead do nothing.
.. versionadded:: 2.0
.. versionadded:: 4.0
Added the `err` parameter.
:param info: The message to print before pausing. Defaults to
``"Press any key to continue..."``.
:param err: if set to message goes to ``stderr`` instead of
``stdout``, the same as with echo.
"""
if not isatty(sys.stdin) or not isatty(sys.stdout):
return
if info is None:
info = _("Press any key to continue...")
try:
if info:
echo(info, nl=False, err=err)
try:
getchar()
except (KeyboardInterrupt, EOFError):
pass
finally:
if info:
echo(err=err)
| (info: Optional[str] = None, err: bool = False) -> NoneType | [
0.04958149418234825,
0.018947087228298187,
-0.039399903267621994,
-0.013354379683732986,
0.02452186867594719,
-0.019323518499732018,
0.023643525317311287,
-0.031548600643873215,
0.027013489976525307,
0.006462085992097855,
0.009948564693331718,
-0.07464112341403961,
0.0486135259270668,
0.02468319609761238,
-0.04380953684449196,
-0.005624075885862112,
0.012825582176446915,
0.01831969991326332,
-0.04208870232105255,
-0.0006957273581065238,
0.021958542987704277,
0.026619132608175278,
0.058293212205171585,
-0.003907724749296904,
-0.016159696504473686,
0.05653652921319008,
0.01723521575331688,
0.010540100745856762,
-0.032265614718198776,
0.013578446581959724,
0.001271578948944807,
-0.004544074181467295,
0.0038203385192900896,
0.0030652335844933987,
-0.047788962721824646,
0.06664641946554184,
-0.05872341990470886,
-0.021582111716270447,
-0.020739620551466942,
-0.004398430697619915,
-0.03278544917702675,
0.01611488312482834,
-0.04420389235019684,
-0.021187754347920418,
0.03251656889915466,
-0.03536669909954071,
0.08510952442884445,
-0.027622951194643974,
0.0038337823934853077,
0.044634100049734116,
0.002024443354457617,
0.03350246325135231,
0.018481027334928513,
-0.012099605984985828,
-0.015684673562645912,
0.024611493572592735,
-0.021205678582191467,
-0.04886448383331299,
-0.04345102980732918,
-0.06320475786924362,
0.03126179799437523,
0.0015718283830210567,
-0.008496612310409546,
0.06481803953647614,
0.024414315819740295,
-0.05467229336500168,
0.048398423939943314,
-0.026188924908638,
-0.012852470390498638,
-0.050083406269550323,
-0.04137168824672699,
0.022227423265576363,
-0.0937136858701706,
0.011355703696608543,
-0.04004521295428276,
-0.03212221339344978,
-0.04735875502228737,
0.028949426487088203,
0.01292417198419571,
0.012117531150579453,
0.002099505625665188,
-0.002838925924152136,
0.023446347564458847,
0.0177460890263319,
-0.004759178496897221,
0.06098201498389244,
0.0009584455983713269,
-0.0065427497029304504,
-0.01244914997369051,
0.016141770407557487,
0.003780006431043148,
-0.0025140291545540094,
-0.013901102356612682,
0.08553972840309143,
0.014752556569874287,
0.048756930977106094,
0.04940224066376686,
0.024844523519277573,
-0.02973814308643341,
0.027658803388476372,
0.030042873695492744,
-0.005265569314360619,
0.06445953249931335,
-0.0653558000922203,
0.04137168824672699,
-0.010701429098844528,
0.0014306663069874048,
0.01928766816854477,
0.07499963045120239,
-0.03215806186199188,
0.016347911208868027,
-0.00861312635242939,
-0.04363028332591057,
-0.07066170126199722,
-0.001463156077079475,
0.012843507342040539,
-0.03067025914788246,
0.03703375533223152,
-0.05700258910655975,
0.024557719007134438,
-0.02713896706700325,
0.0038494672626256943,
-0.01011885516345501,
-0.007335945963859558,
0.01040566060692072,
-0.036227114498615265,
0.030204201117157936,
0.018767833709716797,
0.008021590299904346,
0.019771652296185493,
-0.049473945051431656,
-0.012189232744276524,
0.050979673862457275,
-0.0029061459936201572,
0.050621166825294495,
0.025561537593603134,
0.006905737798660994,
0.028214488178491592,
-0.005261087790131569,
-0.06417272239923477,
-0.03843193128705025,
-0.02747954986989498,
-0.021653812378644943,
-0.014931810088455677,
0.023876555263996124,
-0.07256178557872772,
0.04940224066376686,
-0.12318295240402222,
0.017360692843794823,
0.024754896759986877,
0.03610163927078247,
0.029433410614728928,
-0.04233965650200844,
0.049868300557136536,
0.0449567586183548,
-0.026798386126756668,
0.000849213101901114,
-0.016132807359099388,
0.0006559554603882134,
-0.026637058705091476,
-0.0009601261117495596,
-0.016607828438282013,
0.0038337823934853077,
0.009276363998651505,
-0.03785832226276398,
0.00991271436214447,
-0.04814746975898743,
0.09242306649684906,
0.08009042590856552,
0.0031234908383339643,
0.024252988398075104,
0.00973346084356308,
0.029146606102585793,
-0.03481101244688034,
-0.02414543554186821,
0.014671891927719116,
-0.029307933524250984,
-0.040905632078647614,
0.05599876865744591,
-0.06987298280000687,
-0.01234159804880619,
0.01606110669672489,
-0.024754896759986877,
0.02301613986492157,
-0.006520343013107777,
0.002442327793687582,
-0.012081680819392204,
0.08783417195081711,
-0.039399903267621994,
-0.024002032354474068,
-0.02636817842721939,
0.006031877361238003,
0.011095786467194557,
0.05019095912575722,
-0.003412537043914199,
0.021259455010294914,
0.015998367220163345,
-0.025973821058869362,
0.014268572442233562,
-0.038467783480882645,
-0.00752864358946681,
0.031190095469355583,
0.04155094176530838,
0.025579463690519333,
0.010083004832267761,
0.005987063981592655,
0.04323592409491539,
-0.009536282159388065,
0.05072871595621109,
0.006233537569642067,
0.01552334614098072,
0.007568975444883108,
0.02658328227698803,
-0.012368486262857914,
-0.006372459232807159,
0.03879043832421303,
0.054206233471632004,
-0.031154245138168335,
0.007237356621772051,
0.041479241102933884,
0.018006006255745888,
-0.0234104972332716,
0.043307624757289886,
0.008769973181188107,
0.02581249177455902,
-0.008675865828990936,
-0.02638610266149044,
0.0037262304686009884,
-0.0041295504197478294,
-0.05746864527463913,
-0.020847173407673836,
-0.027192743495106697,
-0.10274805873632431,
-0.017288992181420326,
-0.02715689316391945,
-0.04452655091881752,
-0.06413687020540237,
-0.05872341990470886,
-0.032283540815114975,
0.008478687144815922,
0.045924726873636246,
0.009276363998651505,
0.0035761056933552027,
0.04642663523554802,
-0.04094148054718971,
-0.010602839291095734,
0.04036787152290344,
-0.014394049532711506,
0.003764321794733405,
0.009581095539033413,
0.04768140986561775,
-0.050226807594299316,
-0.0074793491512537,
0.008469724096357822,
0.03495441749691963,
0.020900947973132133,
-0.006995364557951689,
-0.014456788077950478,
0.0468568429350853,
0.06499729305505753,
-0.06714832782745361,
0.030007021501660347,
-0.05011925473809242,
0.08367549628019333,
0.09887618571519852,
-0.002543157897889614,
-0.026493655517697334,
-0.001689463504590094,
0.0168229341506958,
-0.014976623468101025,
0.006592044606804848,
0.022585930302739143,
-0.004759178496897221,
-0.0002863853587768972,
0.013730811886489391,
0.04621153324842453,
-0.019753726199269295,
0.029074905440211296,
-0.012538776732981205,
-0.03821682929992676,
0.059978194534778595,
0.012709067203104496,
-0.01759372279047966,
-0.022137796506285667,
-0.007304576691240072,
-0.03628089278936386,
-0.02133115753531456,
0.0599064938724041,
0.018803684040904045,
0.04280571639537811,
0.03983011096715927,
0.023069914430379868,
-0.000005308456820785068,
-0.050441913306713104,
-0.02208402194082737,
-0.0032086363062262535,
-0.06618036329746246,
0.00561959482729435,
-0.024432241916656494,
-0.02208402194082737,
0.05897437408566475,
-0.043164223432540894,
-0.048541825264692307,
0.018221110105514526,
-0.03889799118041992,
0.08998521417379379,
0.03724886104464531,
-0.030437231063842773,
0.008290470577776432,
-0.044275593012571335,
-0.001097927219234407,
-0.01460019126534462,
0.003405814990401268,
0.006762335076928139,
-0.05402697995305061,
-0.0487210787832737,
0.0018709575524553657,
-0.011346741579473019,
-0.0004764219920616597,
0.005458266474306583,
-0.02116982825100422,
-0.03212221339344978,
0.012977947480976582,
0.026063447818160057,
-0.02210194617509842,
-0.010127818211913109,
0.027963533997535706,
-0.016580941155552864,
0.04022446647286415,
-0.029845694079995155,
0.004272953607141972,
0.05653652921319008,
-0.01703803800046444,
-0.01817629672586918,
-0.11708833277225494,
-0.02376900427043438,
-0.03253449499607086,
0.03861118480563164,
0.07722236961126328,
0.035241223871707916,
-0.01469878014177084,
-0.014653966762125492,
-0.016383763402700424,
0.0013163923285901546,
0.017091814428567886,
0.019771652296185493,
0.0355280265212059,
0.05316656455397606,
0.05108722299337387,
0.03309018164873123,
-0.0006951671675778925,
-0.02412750944495201,
0.02414543554186821,
-0.023553898558020592,
0.030544782057404518,
-0.043701983988285065,
0.11156732589006424,
-0.004140753764659166,
0.00012008578778477386,
-0.04588887467980385,
-0.024665270000696182,
0.07084095478057861,
0.01667056791484356,
-0.0004851045669056475,
-0.039579156786203384,
-0.019341444596648216,
-0.02097265049815178,
-0.006713040638715029,
0.012198194861412048,
0.060014043003320694,
0.004570962395519018,
-0.0016692974604666233,
-0.010522175580263138,
0.005166979972273111,
0.004642663523554802,
0.03543839976191521,
-0.004176604561507702,
-0.008344247005879879,
0.019915055483579636,
0.008837193250656128,
0.03404022380709648,
-0.0234104972332716,
0.024414315819740295,
0.015362017787992954,
0.03685450181365013,
0.02844751812517643,
-0.0617348775267601,
-0.012942097149789333,
0.01327371597290039,
-0.038252681493759155,
-0.04936639219522476,
0.026672909036278725,
0.026135148480534554,
-0.03404022380709648,
0.030562708154320717,
0.022962363436818123,
0.004568721633404493,
-0.05166083574295044,
-0.07317124307155609,
0.01946692168712616,
0.004443244077265263,
0.03665732592344284,
-0.04230380803346634,
-0.023984108120203018,
0.01757579855620861,
-0.021797215566039085,
0.011723173782229424,
-0.09808747470378876,
0.0112391896545887,
-0.006524824537336826,
0.047251202166080475,
-0.018570654094219208,
-0.00031005238997749984,
0.0055389306508004665,
0.011929315514862537,
-0.0355280265212059,
-0.050657015293836594,
-0.009984415024518967,
-0.0007915158639661968,
0.011866576038300991,
0.029720216989517212,
-0.0224783793091774,
0.0030741961672902107,
-0.016975298523902893,
0.04599642753601074,
0.024288838729262352,
0.018409326672554016,
0.0005024697165936232,
0.042949117720127106,
-0.063670814037323,
0.020739620551466942,
-0.04230380803346634,
0.058866821229457855,
0.007833374664187431,
-0.011579770594835281,
0.034147776663303375,
0.044454846531152725,
-0.00014410294534172863,
-0.009572132490575314,
-0.02509547956287861,
-0.025704940780997276,
0.006520343013107777,
-0.010441511869430542,
0.009070223197340965,
-0.00016706978203728795,
0.021850991994142532,
0.06141222268342972,
-0.005498598795384169,
-0.02079339697957039,
0.01058491412550211,
0.04517186060547829,
0.052341997623443604,
0.019610324874520302,
-0.05850831791758537,
0.07241838425397873,
-0.029236232861876488,
-0.0317816324532032,
0.07198817282915115,
-0.058866821229457855,
-0.007685490418225527,
-0.009419767186045647,
0.011624583974480629,
-0.03409400209784508,
0.007098435424268246,
0.04162264242768288,
0.05513835325837135,
0.012431224808096886,
0.001132097328081727,
-0.014922847039997578,
0.01084483228623867,
-0.003188470145687461,
0.01365911029279232,
0.004508223384618759,
0.08016213029623032,
0.0112302266061306,
-0.010459437035024166,
0.0007411008700728416,
0.03242694213986397,
-0.007031215354800224,
0.0126284034922719,
-0.011570808477699757,
0.02471904642879963,
-0.007439016830176115,
0.012009979225695133,
-0.02547191083431244,
-0.03420155122876167,
0.04377368465065956,
-0.013757700100541115,
0.038073427975177765,
-0.012610478326678276,
0.0005836939672008157,
-0.016688494011759758,
0.018212147057056427,
0.020632067695260048,
-0.00753312511369586,
-0.010056116618216038,
-0.054743994027376175,
-0.017522022128105164,
0.007380759343504906,
-0.032642047852277756,
0.0009410804486833513,
0.02694178931415081,
0.007707897108048201,
-0.10611802339553833,
0.04958149418234825,
-0.04449069872498512,
0.019915055483579636,
0.04657003656029701,
0.02323124371469021,
0.07205987721681595,
-0.008384578861296177,
0.028931502252817154,
0.059978194534778595,
-0.06661056727170944,
0.056608229875564575,
-0.06610865890979767,
-0.027730504050850868,
-0.024647345766425133,
0.05915362760424614,
-0.035259146243333817,
0.028949426487088203,
0.019198041409254074,
-0.0001085323456209153,
0.029290009289979935,
-0.005014614202082157,
0.01702011190354824,
0.0045373523607850075,
-0.038647036999464035,
-0.028160711750388145,
0.010611802339553833,
0.020667919889092445,
-0.007900594733655453,
0.03298262879252434,
-0.012305746786296368,
0.0025140291545540094,
-0.07399581372737885,
0.030419304966926575,
0.027461623772978783,
0.0243067629635334,
-0.01705596223473549,
0.029666440561413765,
0.013130312785506248,
0.011113711632788181,
0.007609307765960693,
0.07765258103609085,
0.02228119969367981,
-0.06969372928142548,
0.012843507342040539,
-0.022962363436818123,
0.04570962116122246,
-0.06302550435066223,
-0.06402932107448578,
-0.0281069353222847,
0.03724886104464531,
-0.04198114946484566,
0.08876629173755646,
0.01459122821688652,
-0.018481027334928513,
-0.015146913938224316,
-0.0033453169744461775,
-0.04291326925158501,
-0.00486224889755249,
0.009123998694121838,
-0.061663176864385605,
0.04029616713523865,
-0.0637783631682396,
-0.0126284034922719,
-0.0042214179411530495,
0.0880492776632309,
0.007819930091500282,
0.06413687020540237,
0.003652288345620036,
0.0005887354491278529,
0.030598558485507965,
0.012601515278220177,
0.04036787152290344,
0.022729333490133286,
0.018767833709716797,
-0.05144573003053665,
0.009128480218350887,
-0.04653418809175491,
0.02937963604927063,
0.018122520297765732,
0.015550234355032444,
-0.02317746728658676,
-0.07356560230255127,
-0.017100775614380836,
-0.09493260830640793,
-0.017889490351080894,
0.018095633015036583,
-0.05262880399823189,
0.03889799118041992,
-0.009581095539033413,
0.024055808782577515,
0.0430925227701664,
-0.00014151216601021588,
0.05814981088042259,
0.004763659555464983,
0.02561531402170658,
-0.03576105833053589,
-0.04284156858921051,
0.010235370136797428,
0.021187754347920418,
0.04829087108373642,
0.03147689998149872,
-0.013596371747553349,
-0.0393281988799572,
0.012556701898574829,
0.003990629222244024,
0.045781321823596954,
-0.03651392087340355,
-0.007658602204173803,
-0.04133583977818489,
0.03504404425621033,
0.007264244835823774,
-0.0043043228797614574,
-0.06980127841234207,
-0.028322041034698486,
0.04793236404657364,
0.015397869050502777,
0.006722003221511841,
0.01624932326376438,
0.0034394250251352787,
0.009805162437260151,
-0.035097818821668625,
0.009007484652101994,
-0.04097733274102211,
-0.043343476951122284,
-0.061519771814346313,
-0.09751386195421219,
-0.025203030556440353,
0.026529505848884583,
-0.005888474639505148,
0.0034842384047806263,
-0.07213157415390015,
-0.007600345183163881,
0.009464580565690994,
0.008684827946126461,
-0.011767987161874771,
-0.00289942417293787,
-0.028035234659910202,
-0.034506283700466156,
-0.01037877332419157,
0.012637365609407425,
0.010907570831477642,
0.006022914778441191,
-0.05280805751681328,
0.018785757943987846,
0.06704077869653702,
0.008317358791828156,
-0.010136781260371208,
0.01431338582187891,
0.017441358417272568,
0.041658494621515274,
0.03681865334510803,
-0.015084175392985344,
0.016975298523902893,
-0.025561537593603134,
-0.046677589416503906,
-0.023087840527296066,
0.024396389722824097,
-0.0027291332371532917,
-0.08274337649345398,
-0.032875075936317444,
0.06833140552043915,
0.05019095912575722,
-0.06259529292583466,
0.009823087602853775,
0.029307933524250984,
-0.03251656889915466,
-0.0158818531781435,
-0.0012514129048213363,
-0.01373977493494749,
-0.06137637048959732,
0.012709067203104496,
0.05169668793678284,
-0.03402229771018028,
-0.05158913508057594,
-0.015433719381690025,
-0.026421954855322838,
0.012538776732981205,
-0.11436367779970169,
0.05732524394989014,
0.0029800881166011095,
-0.04065467417240143,
0.023302944377064705,
0.04563792049884796,
-0.0691559687256813,
-0.00861760787665844,
-0.057755451649427414,
0.023159541189670563,
0.041264135390520096,
-0.018785757943987846,
-0.04456239938735962,
-0.038109276443719864,
-0.05485154688358307,
-0.031871259212493896,
-0.0243426151573658,
-0.017082851380109787,
-0.03196088597178459,
0.035635579377412796,
-0.042375508695840836,
0.004723327700048685,
-0.06492558866739273,
-0.03689035400748253,
0.07421091198921204,
0.012583590112626553,
-0.02973814308643341,
0.0505853146314621,
-0.02825033850967884,
-0.01756683550775051,
0.03445250540971756,
-0.007703415583819151,
0.007672046311199665,
-0.0355280265212059,
0.006632376462221146,
0.0026372659485787153,
-0.013444006443023682,
0.0013724089367315173,
0.041264135390520096,
0.0025969338603317738,
0.04890033230185509,
-0.029343783855438232,
-0.03699790686368942,
-0.02283688634634018,
0.018059782683849335,
-0.07428261637687683,
-0.03778662160038948,
0.05933288112282753,
-0.002092783572152257,
-0.017280029132962227,
-0.03217598795890808,
-0.05338166654109955,
0.0076361955143511295,
-0.028375815600156784,
0.009097111411392689,
0.022012319415807724,
-0.052377849817276,
0.04940224066376686,
0.006937107536941767,
-0.05524590238928795,
0.026493655517697334,
0.03253449499607086,
-0.08625674247741699,
-0.013067574240267277,
-0.045781321823596954,
0.013049649074673653,
0.024468092247843742,
0.05485154688358307,
0.0098410127684474,
0.006130467168986797,
-0.019771652296185493,
-0.014394049532711506,
0.03402229771018028,
0.04524356126785278,
0.028716398403048515,
-0.01545164454728365,
0.05750449746847153,
0.006869887467473745,
0.04384538531303406,
-0.06281039863824844,
0.06578600406646729,
0.03651392087340355,
-0.0037262304686009884,
0.0016076790634542704,
-0.02731822058558464,
-0.03280337527394295,
0.010629727505147457
] |
9,655 | asyncclick.termui | progressbar | This function creates an iterable context manager that can be used
to iterate over something while showing a progress bar. It will
either iterate over the `iterable` or `length` items (that are counted
up). While iteration happens, this function will print a rendered
progress bar to the given `file` (defaults to stdout) and will attempt
to calculate remaining time and more. By default, this progress bar
will not be rendered if the file is not a terminal.
The context manager creates the progress bar. When the context
manager is entered the progress bar is already created. With every
iteration over the progress bar, the iterable passed to the bar is
advanced and the bar is updated. When the context manager exits,
a newline is printed and the progress bar is finalized on screen.
Note: The progress bar is currently designed for use cases where the
total progress can be expected to take at least several seconds.
Because of this, the ProgressBar class object won't display
progress that is considered too fast, and progress where the time
between steps is less than a second.
No printing must happen or the progress bar will be unintentionally
destroyed.
Example usage::
with progressbar(items) as bar:
for item in bar:
do_something_with(item)
Alternatively, if no iterable is specified, one can manually update the
progress bar through the `update()` method instead of directly
iterating over the progress bar. The update method accepts the number
of steps to increment the bar with::
with progressbar(length=chunks.total_bytes) as bar:
for chunk in chunks:
process_chunk(chunk)
bar.update(chunks.bytes)
The ``update()`` method also takes an optional value specifying the
``current_item`` at the new position. This is useful when used
together with ``item_show_func`` to customize the output for each
manual step::
with click.progressbar(
length=total_size,
label='Unzipping archive',
item_show_func=lambda a: a.filename
) as bar:
for archive in zip_file:
archive.extract()
bar.update(archive.size, archive)
:param iterable: an iterable to iterate over. If not provided the length
is required.
:param length: the number of items to iterate over. By default the
progressbar will attempt to ask the iterator about its
length, which might or might not work. If an iterable is
also provided this parameter can be used to override the
length. If an iterable is not provided the progress bar
will iterate over a range of that length.
:param label: the label to show next to the progress bar.
:param show_eta: enables or disables the estimated time display. This is
automatically disabled if the length cannot be
determined.
:param show_percent: enables or disables the percentage display. The
default is `True` if the iterable has a length or
`False` if not.
:param show_pos: enables or disables the absolute position display. The
default is `False`.
:param item_show_func: A function called with the current item which
can return a string to show next to the progress bar. If the
function returns ``None`` nothing is shown. The current item can
be ``None``, such as when entering and exiting the bar.
:param fill_char: the character to use to show the filled part of the
progress bar.
:param empty_char: the character to use to show the non-filled part of
the progress bar.
:param bar_template: the format string to use as template for the bar.
The parameters in it are ``label`` for the label,
``bar`` for the progress bar and ``info`` for the
info section.
:param info_sep: the separator between multiple info items (eta etc.)
:param width: the width of the progress bar in characters, 0 means full
terminal width
:param file: The file to write to. If this is not a terminal then
only the label is printed.
:param color: controls if the terminal supports ANSI colors or not. The
default is autodetection. This is only needed if ANSI
codes are included anywhere in the progress bar output
which is not the case by default.
:param update_min_steps: Render only when this many updates have
completed. This allows tuning for very fast iterators.
.. versionchanged:: 8.0
Output is shown even if execution time is less than 0.5 seconds.
.. versionchanged:: 8.0
``item_show_func`` shows the current item, not the previous one.
.. versionchanged:: 8.0
Labels are echoed if the output is not a TTY. Reverts a change
in 7.0 that removed all output.
.. versionadded:: 8.0
Added the ``update_min_steps`` parameter.
.. versionchanged:: 4.0
Added the ``color`` parameter. Added the ``update`` method to
the object.
.. versionadded:: 2.0
| def progressbar(
iterable: t.Optional[t.Iterable[V]] = None,
length: t.Optional[int] = None,
label: t.Optional[str] = None,
show_eta: bool = True,
show_percent: t.Optional[bool] = None,
show_pos: bool = False,
item_show_func: t.Optional[t.Callable[[t.Optional[V]], t.Optional[str]]] = None,
fill_char: str = "#",
empty_char: str = "-",
bar_template: str = "%(label)s [%(bar)s] %(info)s",
info_sep: str = " ",
width: int = 36,
file: t.Optional[t.TextIO] = None,
color: t.Optional[bool] = None,
update_min_steps: int = 1,
) -> "ProgressBar[V]":
"""This function creates an iterable context manager that can be used
to iterate over something while showing a progress bar. It will
either iterate over the `iterable` or `length` items (that are counted
up). While iteration happens, this function will print a rendered
progress bar to the given `file` (defaults to stdout) and will attempt
to calculate remaining time and more. By default, this progress bar
will not be rendered if the file is not a terminal.
The context manager creates the progress bar. When the context
manager is entered the progress bar is already created. With every
iteration over the progress bar, the iterable passed to the bar is
advanced and the bar is updated. When the context manager exits,
a newline is printed and the progress bar is finalized on screen.
Note: The progress bar is currently designed for use cases where the
total progress can be expected to take at least several seconds.
Because of this, the ProgressBar class object won't display
progress that is considered too fast, and progress where the time
between steps is less than a second.
No printing must happen or the progress bar will be unintentionally
destroyed.
Example usage::
with progressbar(items) as bar:
for item in bar:
do_something_with(item)
Alternatively, if no iterable is specified, one can manually update the
progress bar through the `update()` method instead of directly
iterating over the progress bar. The update method accepts the number
of steps to increment the bar with::
with progressbar(length=chunks.total_bytes) as bar:
for chunk in chunks:
process_chunk(chunk)
bar.update(chunks.bytes)
The ``update()`` method also takes an optional value specifying the
``current_item`` at the new position. This is useful when used
together with ``item_show_func`` to customize the output for each
manual step::
with click.progressbar(
length=total_size,
label='Unzipping archive',
item_show_func=lambda a: a.filename
) as bar:
for archive in zip_file:
archive.extract()
bar.update(archive.size, archive)
:param iterable: an iterable to iterate over. If not provided the length
is required.
:param length: the number of items to iterate over. By default the
progressbar will attempt to ask the iterator about its
length, which might or might not work. If an iterable is
also provided this parameter can be used to override the
length. If an iterable is not provided the progress bar
will iterate over a range of that length.
:param label: the label to show next to the progress bar.
:param show_eta: enables or disables the estimated time display. This is
automatically disabled if the length cannot be
determined.
:param show_percent: enables or disables the percentage display. The
default is `True` if the iterable has a length or
`False` if not.
:param show_pos: enables or disables the absolute position display. The
default is `False`.
:param item_show_func: A function called with the current item which
can return a string to show next to the progress bar. If the
function returns ``None`` nothing is shown. The current item can
be ``None``, such as when entering and exiting the bar.
:param fill_char: the character to use to show the filled part of the
progress bar.
:param empty_char: the character to use to show the non-filled part of
the progress bar.
:param bar_template: the format string to use as template for the bar.
The parameters in it are ``label`` for the label,
``bar`` for the progress bar and ``info`` for the
info section.
:param info_sep: the separator between multiple info items (eta etc.)
:param width: the width of the progress bar in characters, 0 means full
terminal width
:param file: The file to write to. If this is not a terminal then
only the label is printed.
:param color: controls if the terminal supports ANSI colors or not. The
default is autodetection. This is only needed if ANSI
codes are included anywhere in the progress bar output
which is not the case by default.
:param update_min_steps: Render only when this many updates have
completed. This allows tuning for very fast iterators.
.. versionchanged:: 8.0
Output is shown even if execution time is less than 0.5 seconds.
.. versionchanged:: 8.0
``item_show_func`` shows the current item, not the previous one.
.. versionchanged:: 8.0
Labels are echoed if the output is not a TTY. Reverts a change
in 7.0 that removed all output.
.. versionadded:: 8.0
Added the ``update_min_steps`` parameter.
.. versionchanged:: 4.0
Added the ``color`` parameter. Added the ``update`` method to
the object.
.. versionadded:: 2.0
"""
from ._termui_impl import ProgressBar
color = resolve_color_default(color)
return ProgressBar(
iterable=iterable,
length=length,
show_eta=show_eta,
show_percent=show_percent,
show_pos=show_pos,
item_show_func=item_show_func,
fill_char=fill_char,
empty_char=empty_char,
bar_template=bar_template,
info_sep=info_sep,
file=file,
label=label,
width=width,
color=color,
update_min_steps=update_min_steps,
)
| (iterable: Optional[Iterable[~V]] = None, length: Optional[int] = None, label: Optional[str] = None, show_eta: bool = True, show_percent: Optional[bool] = None, show_pos: bool = False, item_show_func: Optional[Callable[[Optional[~V]], Optional[str]]] = None, fill_char: str = '#', empty_char: str = '-', bar_template: str = '%(label)s [%(bar)s] %(info)s', info_sep: str = ' ', width: int = 36, file: Optional[TextIO] = None, color: Optional[bool] = None, update_min_steps: int = 1) -> 'ProgressBar[V]' | [
0.01731950230896473,
0.005635553505271673,
-0.12407170236110687,
-0.02013479173183441,
0.09725184738636017,
0.022283565253019333,
0.010455369018018246,
0.017936279997229576,
0.005322190932929516,
-0.0374443456530571,
0.02419358491897583,
0.014245565049350262,
0.036250583827495575,
-0.02264169417321682,
-0.023954832926392555,
0.07795268297195435,
0.04464671388268471,
0.0160660520195961,
0.01636449247598648,
0.07791288942098618,
0.04643735662102699,
0.0173592958599329,
0.034300774335861206,
0.02234325371682644,
-0.015459222719073296,
-0.02588474750518799,
0.03873759135603905,
-0.03231116756796837,
-0.04086646810173988,
0.010644381865859032,
0.06028500199317932,
-0.029267074540257454,
-0.04237856715917587,
0.006356784608215094,
0.004725309554487467,
0.016424180939793587,
-0.04309482127428055,
0.018224772065877914,
-0.0513317845761776,
0.0224626287817955,
0.029008425772190094,
-0.03575318306684494,
-0.020075105130672455,
-0.05089407041668892,
0.03623069077730179,
0.030460838228464127,
0.02087094634771347,
0.02423337660729885,
0.026083707809448242,
-0.05658433958888054,
0.03320649266242981,
0.0029296919237822294,
0.03014250099658966,
-0.0145340571179986,
0.010942822322249413,
0.12319628149271011,
0.009072594344615936,
-0.009833618067204952,
0.011440223082900047,
-0.005098360124975443,
-0.004198064561933279,
0.014096344821155071,
0.04536297172307968,
-0.0024335344787687063,
-0.019667236134409904,
0.003153522266075015,
0.033962540328502655,
-0.014742965810000896,
-0.0475117452442646,
-0.012693673372268677,
0.028411544859409332,
0.03897634148597717,
0.012952322140336037,
-0.022880446165800095,
-0.06283169239759445,
0.017110593616962433,
-0.030361358076334,
-0.021328555420041084,
0.03800143674015999,
-0.0027406795416027308,
-0.005426644813269377,
-0.009967915713787079,
0.03453952446579933,
-0.016782309859991074,
0.009062645956873894,
-0.011022406630218029,
-0.014971770346164703,
0.0068143936805427074,
-0.06334899365901947,
0.08515505492687225,
-0.040687400847673416,
0.013628787361085415,
0.028670193627476692,
-0.008231986314058304,
-0.08443879336118698,
-0.08666715025901794,
-0.00956502091139555,
-0.054793693125247955,
-0.027536120265722275,
0.012822997756302357,
-0.010335993021726608,
-0.03668829798698425,
0.05288367345929146,
0.00923176296055317,
-0.009525229223072529,
-0.04464671388268471,
-0.07035239785909653,
0.014006812125444412,
0.04333357512950897,
-0.019896039739251137,
-0.011698871850967407,
-0.04822799935936928,
0.017518462613224983,
-0.05411722883582115,
-0.03109751082956791,
0.029267074540257454,
-0.07409285008907318,
-0.034957341849803925,
0.05590787157416344,
-0.054355982691049576,
0.02001541666686535,
0.0011396700283512473,
0.02079136110842228,
-0.037285178899765015,
0.00547638488933444,
-0.010485213249921799,
-0.06239398196339607,
0.026362253352999687,
0.0007255836972035468,
0.057817891240119934,
0.0015195601154118776,
0.0106543293222785,
-0.006898951716721058,
0.00656569330021739,
0.0743316039443016,
-0.040607817471027374,
-0.0555497445166111,
0.031674496829509735,
-0.035594016313552856,
0.040090519934892654,
0.02759580686688423,
-0.04524359479546547,
-0.030222084373235703,
-0.016444077715277672,
0.004178168252110481,
-0.0036907154135406017,
0.02323857508599758,
-0.02980426885187626,
0.005829539615660906,
0.025287866592407227,
-0.019935831427574158,
0.016463972628116608,
0.009644605219364166,
0.0356735996901989,
0.05157053470611572,
-0.0128329461440444,
-0.005705189425498247,
-0.01366857998073101,
-0.008968139998614788,
-0.024213481694459915,
-0.03453952446579933,
-0.012803101912140846,
0.013877487741410732,
-0.017070801928639412,
-0.02496953122317791,
0.058414772152900696,
-0.06370712071657181,
0.05232658609747887,
-0.033664099872112274,
0.0099380724132061,
0.037026531994342804,
-0.0665721520781517,
0.02522817812860012,
0.010256408713757992,
-0.045601725578308105,
0.03079907037317753,
-0.005595761351287365,
-0.04981968551874161,
0.031196990981698036,
-0.07301846891641617,
-0.07194408029317856,
-0.008391154929995537,
-0.001717276987619698,
-0.0416623093187809,
-0.00840110331773758,
0.012753361836075783,
0.06529880315065384,
0.051689911633729935,
0.021786164492368698,
-0.02500932291150093,
-0.024014519527554512,
-0.05877290293574333,
0.021288763731718063,
0.020811257883906364,
-0.004648212343454361,
-0.00483971182256937,
0.027934040874242783,
-0.053679514676332474,
0.12439004331827164,
-0.03217189759016037,
-0.00009015393152367324,
0.01861274614930153,
0.04715361446142197,
-0.01261408906430006,
-0.01975676789879799,
-0.0022917750757187605,
-0.042895860970020294,
-0.017329450696706772,
0.012753361836075783,
-0.005232658702880144,
-0.031376056373119354,
-0.008595089428126812,
-0.0038324748165905476,
0.01898082159459591,
-0.02445223368704319,
0.01481260173022747,
0.04416920989751816,
-0.03623069077730179,
0.014096344821155071,
0.014175928197801113,
0.06386628746986389,
0.05141136795282364,
-0.05387847498059273,
0.009773929603397846,
0.02194533310830593,
-0.0164042841643095,
0.03316669911146164,
0.014086396433413029,
0.013579047285020351,
-0.021587204188108444,
-0.01810539700090885,
-0.020045259967446327,
-0.009778903797268867,
0.08284711092710495,
-0.018334200605750084,
-0.02769528701901436,
-0.013380086980760098,
0.01494192611426115,
-0.09414806216955185,
-0.00141759286634624,
-0.007520703133195639,
-0.019408587366342545,
0.015678079798817635,
0.03738465905189514,
0.002999328076839447,
-0.034300774335861206,
-0.016971321776509285,
0.05395806208252907,
-0.0477902889251709,
0.017627891153097153,
0.013380086980760098,
0.01750851608812809,
-0.009062645956873894,
-0.04313461482524872,
0.020114896818995476,
0.03302742540836334,
-0.041423555463552475,
-0.07922603189945221,
0.014931977726519108,
0.031455639749765396,
-0.02182595618069172,
-0.07130740582942963,
-0.004260239657014608,
0.030162395909428596,
0.05304284393787384,
0.026620902121067047,
0.02980426885187626,
-0.07186449319124222,
-0.011947572231292725,
0.05188887193799019,
-0.07644058763980865,
0.055868081748485565,
0.03002312406897545,
0.033305972814559937,
-0.022184085100889206,
0.041940852999687195,
0.06012583151459694,
0.0010569770820438862,
-0.015508962795138359,
-0.024850154295563698,
-0.015857143327593803,
-0.009599839337170124,
-0.045561932027339935,
-0.05674350634217262,
-0.004290083423256874,
0.0164042841643095,
0.003494241973385215,
0.015429379418492317,
0.008008155971765518,
0.02733715996146202,
0.049222804605960846,
0.0019013152923434973,
0.023875247687101364,
-0.021149490028619766,
0.04663631692528725,
0.03565370291471481,
-0.08420003950595856,
0.00157178717199713,
-0.037026531994342804,
-0.01854310929775238,
-0.012325596995651722,
-0.08284711092710495,
-0.022920237854123116,
-0.031634703278541565,
-0.007933545857667923,
0.04229898005723953,
0.04954113811254501,
-0.006346836686134338,
-0.006530875340104103,
-0.040170103311538696,
0.031634703278541565,
0.03859831765294075,
0.034658901393413544,
0.024432336911559105,
0.011589443311095238,
-0.02526797167956829,
-0.02773508056998253,
-0.016265012323856354,
-0.029386451467871666,
0.003185853362083435,
-0.04432837665081024,
0.02630256488919258,
-0.005332138855010271,
0.006267252843827009,
-0.014325148425996304,
0.02556641213595867,
0.03955332934856415,
0.05805664509534836,
0.027436640113592148,
-0.015011562034487724,
0.02755601517856121,
0.016016311943531036,
-0.03660871461033821,
-0.010962718166410923,
-0.07015343755483627,
0.012236064299941063,
0.0008748039836063981,
0.048148415982723236,
0.04671590030193329,
-0.013091593980789185,
0.04798924922943115,
0.048029039055109024,
0.02323857508599758,
0.0229401346296072,
-0.058335188776254654,
-0.04186126962304115,
0.08137480169534683,
0.0031684443820267916,
0.035036925226449966,
0.027416743338108063,
0.01366857998073101,
0.04050833731889725,
-0.036290377378463745,
0.0022992361336946487,
-0.005774825811386108,
-0.052804090082645416,
0.04548234865069389,
-0.027655495330691338,
-0.023258469998836517,
0.008127531968057156,
-0.10903029888868332,
0.015170730650424957,
-0.0021587202791124582,
0.04365191236138344,
0.0011570791248232126,
-0.019587650895118713,
0.0022457654122263193,
-0.0477902889251709,
-0.03644954413175583,
0.02075156942009926,
0.027914144098758698,
-0.011917727999389172,
0.02837175317108631,
-0.04030937701463699,
-0.0008741822675801814,
0.018821654841303825,
-0.03358451649546623,
-0.00206918828189373,
-0.006600511260330677,
-0.04082667455077171,
0.08555297553539276,
-0.04106542840600014,
-0.019110146909952164,
0.01532989926636219,
0.015300055034458637,
-0.0016675369115546346,
-0.004660647362470627,
-0.018931081518530846,
-0.014146084897220135,
0.017787059769034386,
-0.0710686519742012,
-0.016861893236637115,
0.014225668273866177,
0.008132506161928177,
0.03459921479225159,
-0.029784372076392174,
0.017448827624320984,
-0.0011253698030486703,
-0.00857021939009428,
-0.01869232952594757,
0.07437139749526978,
-0.05340097099542618,
0.03597204014658928,
0.017409035935997963,
0.010127084329724312,
-0.04834737628698349,
0.04794945567846298,
-0.010922925546765327,
-0.018165085464715958,
0.012902582064270973,
0.036509234458208084,
0.023775767534971237,
0.007988260127604008,
0.06112063676118851,
-0.0024472130462527275,
0.014354992657899857,
-0.0791066586971283,
-0.08213085681200027,
-0.006719887722283602,
-0.013419878669083118,
0.02526797167956829,
0.009321294724941254,
0.054753903299570084,
0.034221187233924866,
0.008808971382677555,
-0.039871662855148315,
0.03350493311882019,
0.006441343110054731,
0.05045635625720024,
-0.04687507078051567,
0.024830257520079613,
-0.027456535026431084,
-0.018254617229104042,
0.0027257574256509542,
-0.038319773972034454,
-0.008694569580256939,
-0.029485931620001793,
-0.04480588063597679,
0.043452952057123184,
0.05316222086548805,
0.00373050756752491,
-0.00780422193929553,
0.08730382472276688,
0.02359670400619507,
-0.011708819307386875,
0.04735257476568222,
-0.036290377378463745,
-0.02182595618069172,
-0.01865253783762455,
-0.026979031041264534,
-0.028948739171028137,
0.032709088176488876,
0.019846299663186073,
-0.0026213033124804497,
-0.011867987923324108,
-0.03623069077730179,
-0.03636996075510979,
-0.022402940317988396,
-0.06474171578884125,
-0.0145340571179986,
0.016931530088186264,
0.040727194398641586,
-0.017190178856253624,
-0.014723069965839386,
-0.0008959435508586466,
-0.025029217824339867,
0.03203262388706207,
0.034141603857278824,
-0.040906257927417755,
0.02729736641049385,
-0.0005393691826611757,
-0.004951626993715763,
-0.008376233279705048,
0.018165085464715958,
0.04826779291033745,
0.030938342213630676,
0.00899301003664732,
-0.028869153931736946,
-0.05861373245716095,
-0.03438035771250725,
0.0012267152778804302,
-0.01257429737597704,
0.02876967377960682,
0.02264169417321682,
-0.011947572231292725,
0.03428087756037712,
0.03917530179023743,
0.01787659153342247,
0.07317763566970825,
0.0072521064430475235,
-0.043532535433769226,
-0.027317263185977936,
-0.05232658609747887,
0.0072670285589993,
-0.00475515378639102,
0.001241637277416885,
0.03352482616901398,
0.013191074132919312,
-0.001213036710396409,
-0.04532317817211151,
0.06291127949953079,
0.01522047072649002,
0.1162724569439888,
-0.014136136509478092,
0.004680543206632137,
-0.01794622838497162,
-0.014026707969605923,
-0.004267700482159853,
-0.01876196637749672,
-0.046596527099609375,
0.00767489755526185,
-0.004205525387078524,
0.010694121941924095,
-0.01205699983984232,
-0.02079136110842228,
-0.016722621396183968,
-0.06545796990394592,
0.00579969584941864,
0.07632120698690414,
-0.049580931663513184,
-0.013708371669054031,
0.009465540759265423,
-0.00441443407908082,
-0.04046854376792908,
-0.06231439858675003,
0.03177397698163986,
0.04412941634654999,
-0.036031726747751236,
-0.030241981148719788,
-0.014116240665316582,
-0.021288763731718063,
0.024014519527554512,
0.04838716983795166,
-0.02182595618069172,
0.00237757689319551,
0.043492741882801056,
0.010584693402051926,
-0.027058614417910576,
0.01614563725888729,
-0.005302294623106718,
0.07277971506118774,
0.027158094570040703,
0.024074207991361618,
-0.04432837665081024,
0.03342534601688385,
0.04878509044647217,
0.01246486883610487,
-0.037762682884931564,
0.06311023980379105,
0.02075156942009926,
-0.03774278983473778,
-0.03790195658802986,
-0.022363148629665375,
-0.004101071041077375,
-0.02415379323065281,
0.04373149573802948,
-0.009172074496746063,
0.00009613829024601728,
0.05192866548895836,
0.017647787928581238,
0.0204929206520319,
0.06084208935499191,
-0.04524359479546547,
-0.06032479181885719,
0.08117584139108658,
0.04938197135925293,
0.027396846562623978,
0.011181574314832687,
0.04436817020177841,
-0.023616598919034004,
0.014225668273866177,
0.03674798458814621,
-0.06673131883144379,
-0.08292669802904129,
0.025805164128541946,
-0.06175730749964714,
0.013678527437150478,
-0.04488546773791313,
0.004362206906080246,
-0.04170209914445877,
-0.04154293239116669,
0.020970426499843597,
0.024074207991361618,
-0.04536297172307968,
0.01492203027009964,
0.038837071508169174,
-0.003884701756760478,
0.015906883403658867,
0.018642589449882507,
0.004329875577241182,
-0.03306721895933151,
-0.01261408906430006,
-0.01577755995094776,
-0.03424108400940895,
0.04078688099980354,
-0.007058120332658291,
-0.007073042448610067,
-0.06311023980379105,
0.0013479567132890224,
0.02142803557217121,
-0.003842422738671303,
0.033664099872112274,
-0.055788494646549225,
0.09287471324205399,
0.007301846519112587,
0.007948468439280987,
0.06776591390371323,
0.01691163331270218,
-0.027177991345524788,
-0.01483249757438898,
0.004011539276689291,
-0.0027431666385382414,
0.0432937815785408,
-0.0409858413040638,
-0.04715361446142197,
-0.02747643180191517,
0.016643038019537926,
-0.050177812576293945,
0.0013939662603661418,
0.03346513956785202,
-0.03708621859550476,
0.018155137076973915,
-0.02992364391684532,
0.03328607603907585,
-0.021885644644498825,
-0.008948244154453278,
0.00884378980845213,
0.017409035935997963,
0.0009239223436452448,
-0.06478150933980942,
-0.0066154333762824535,
0.04253773391246796,
0.011788403615355492,
0.02811310440301895,
-0.011430274695158005,
-0.0216468907892704,
-0.0004476608883123845,
0.016672881320118904,
-0.0099728899076581,
-0.015369690954685211,
0.003210723400115967,
-0.016463972628116608,
-0.020254168659448624,
0.029943540692329407,
0.05932999029755592,
-0.03672809153795242,
-0.031455639749765396,
0.02138824388384819,
0.026322461664676666,
0.014633537270128727,
0.007839039899408817,
0.006938743870705366,
-0.06732819974422455,
0.003874753834679723,
-0.056862883269786835,
0.049143217504024506,
0.06315003335475922,
-0.04564151540398598,
-0.00967942364513874,
0.0503767728805542,
-0.008023078553378582,
-0.03816060349345207,
0.02785445563495159,
0.05570891126990318,
0.05447535589337349,
-0.029386451467871666,
-0.017080750316381454,
0.02053271420300007,
0.026720382273197174,
-0.06088188290596008,
0.023059509694576263,
0.044447753578424454,
-0.03442014753818512,
-0.026342356577515602,
-0.04428858682513237,
0.010306148789823055,
-0.013041853904724121,
0.03837946057319641,
0.03668829798698425,
0.003195801516994834,
0.01731950230896473,
-0.026839757338166237,
-0.019478222355246544,
-0.011529754847288132,
0.017866643145680428,
0.03083886206150055,
0.013101542368531227,
-0.023795664310455322,
-0.012653881683945656,
-0.03459921479225159,
-0.026879550889134407,
0.019846299663186073,
-0.02630256488919258,
-0.03545474261045456,
-0.04158272221684456,
-0.028650296851992607,
-0.001219254219904542,
-0.018035760149359703,
0.08611006289720535,
-0.07492848485708237,
0.03601183369755745,
-0.04544255509972572,
0.05049614980816841,
0.03416150063276291,
-0.0031584964599460363,
0.009858488105237484,
-0.06032479181885719,
-0.030082812532782555,
-0.03933447226881981,
-0.01123131439089775,
0.0347185917198658,
0.03660871461033821,
-0.03324628248810768,
0.03223158419132233,
-0.012683725915849209,
-0.011330794543027878,
-0.030222084373235703,
-0.052684713155031204,
0.0024335344787687063,
-0.00483971182256937,
-0.0000845581671455875,
0.05753934755921364,
-0.0022457654122263193,
0.04599964618682861,
-0.007127756252884865,
0.011997312307357788,
-0.027914144098758698,
0.02526797167956829,
-0.05610683187842369,
0.03824019059538841,
0.042935654520988464,
-0.004770075436681509,
-0.021328555420041084,
-0.0639856681227684,
0.03925488889217377,
0.0010544901015236974,
0.02419358491897583,
0.04595985263586044,
0.024830257520079613,
-0.010694121941924095,
0.02182595618069172,
-0.04210001975297928,
-0.03774278983473778,
0.0011434005573391914,
-0.019597599282860756,
-0.008157376199960709,
0.005123230163007975,
0.013937176205217838,
-0.017448827624320984,
0.012345492839813232,
0.047631118446588516,
-0.01718023046851158,
-0.06888008862733841,
0.10704069584608078,
0.06183689087629318,
0.0006397820543497801,
0.03782237321138382,
-0.013081646524369717,
-0.004725309554487467,
-0.027118302881717682,
-0.015469171106815338,
-0.0552712008357048,
0.056862883269786835,
0.03969259932637215,
0.07277971506118774,
0.05562932789325714,
-0.04022979363799095,
0.03782237321138382
] |
9,656 | asyncclick.termui | prompt | Prompts a user for input. This is a convenience function that can
be used to prompt a user for input later.
If the user aborts the input by sending an interrupt signal, this
function will catch it and raise a :exc:`Abort` exception.
:param text: the text to show for the prompt.
:param default: the default value to use if no input happens. If this
is not given it will prompt until it's aborted.
:param hide_input: if this is set to true then the input value will
be hidden.
:param confirmation_prompt: Prompt a second time to confirm the
value. Can be set to a string instead of ``True`` to customize
the message.
:param type: the type to use to check the value against.
:param value_proc: if this parameter is provided it's a function that
is invoked instead of the type conversion to
convert a value.
:param prompt_suffix: a suffix that should be added to the prompt.
:param show_default: shows or hides the default value in the prompt.
:param err: if set to true the file defaults to ``stderr`` instead of
``stdout``, the same as with echo.
:param show_choices: Show or hide choices if the passed type is a Choice.
For example if type is a Choice of either day or week,
show_choices is true and text is "Group by" then the
prompt will be "Group by (day, week): ".
.. versionadded:: 8.0
``confirmation_prompt`` can be a custom string.
.. versionadded:: 7.0
Added the ``show_choices`` parameter.
.. versionadded:: 6.0
Added unicode support for cmd.exe on Windows.
.. versionadded:: 4.0
Added the `err` parameter.
| def prompt(
text: str,
default: t.Optional[t.Any] = None,
hide_input: bool = False,
confirmation_prompt: t.Union[bool, str] = False,
type: t.Optional[t.Union[ParamType, t.Any]] = None,
value_proc: t.Optional[t.Callable[[str], t.Any]] = None,
prompt_suffix: str = ": ",
show_default: bool = True,
err: bool = False,
show_choices: bool = True,
) -> t.Any:
"""Prompts a user for input. This is a convenience function that can
be used to prompt a user for input later.
If the user aborts the input by sending an interrupt signal, this
function will catch it and raise a :exc:`Abort` exception.
:param text: the text to show for the prompt.
:param default: the default value to use if no input happens. If this
is not given it will prompt until it's aborted.
:param hide_input: if this is set to true then the input value will
be hidden.
:param confirmation_prompt: Prompt a second time to confirm the
value. Can be set to a string instead of ``True`` to customize
the message.
:param type: the type to use to check the value against.
:param value_proc: if this parameter is provided it's a function that
is invoked instead of the type conversion to
convert a value.
:param prompt_suffix: a suffix that should be added to the prompt.
:param show_default: shows or hides the default value in the prompt.
:param err: if set to true the file defaults to ``stderr`` instead of
``stdout``, the same as with echo.
:param show_choices: Show or hide choices if the passed type is a Choice.
For example if type is a Choice of either day or week,
show_choices is true and text is "Group by" then the
prompt will be "Group by (day, week): ".
.. versionadded:: 8.0
``confirmation_prompt`` can be a custom string.
.. versionadded:: 7.0
Added the ``show_choices`` parameter.
.. versionadded:: 6.0
Added unicode support for cmd.exe on Windows.
.. versionadded:: 4.0
Added the `err` parameter.
"""
def prompt_func(text: str) -> str:
f = hidden_prompt_func if hide_input else visible_prompt_func
try:
# Write the prompt separately so that we get nice
# coloring through colorama on Windows
echo(text.rstrip(" "), nl=False, err=err)
# Echo a space to stdout to work around an issue where
# readline causes backspace to clear the whole line.
return f(" ")
except (KeyboardInterrupt, EOFError):
# getpass doesn't print a newline if the user aborts input with ^C.
# Allegedly this behavior is inherited from getpass(3).
# A doc bug has been filed at https://bugs.python.org/issue24711
if hide_input:
echo(None, err=err)
raise Abort() from None
if value_proc is None:
value_proc = convert_type(type, default)
prompt = _build_prompt(
text, prompt_suffix, show_default, default, show_choices, type
)
if confirmation_prompt:
if confirmation_prompt is True:
confirmation_prompt = _("Repeat for confirmation")
confirmation_prompt = _build_prompt(confirmation_prompt, prompt_suffix)
while True:
while True:
value = prompt_func(prompt)
if value:
break
elif default is not None:
value = default
break
try:
result = value_proc(value)
except UsageError as e:
if hide_input:
echo(_("Error: The value you entered was invalid."), err=err)
else:
echo(_("Error: {e.message}").format(e=e), err=err) # noqa: B306
continue
if not confirmation_prompt:
return result
while True:
value2 = prompt_func(confirmation_prompt)
is_empty = not value and not value2
if value2 or is_empty:
break
if value == value2:
return result
echo(_("Error: The two entered values do not match."), err=err)
| (text: str, default: Optional[Any] = None, hide_input: bool = False, confirmation_prompt: Union[bool, str] = False, type: Union[asyncclick.types.ParamType, Any, NoneType] = None, value_proc: Optional[Callable[[str], Any]] = None, prompt_suffix: str = ': ', show_default: bool = True, err: bool = False, show_choices: bool = True) -> Any | [
0.05230509117245674,
-0.028972920030355453,
0.06216653436422348,
-0.07336913794279099,
0.060430921614170074,
-0.019880669191479683,
0.017296969890594482,
-0.03323306143283844,
0.04895220324397087,
-0.06465161591768265,
0.0286770761013031,
0.0374143160879612,
-0.024101367220282555,
0.022464366629719734,
-0.04114193841814995,
0.04970167204737663,
0.04220697656273842,
0.01554163359105587,
0.011735117062926292,
0.016340410336852074,
0.03378530219197273,
-0.03705930337309837,
-0.01781962811946869,
0.00723336823284626,
0.02279965579509735,
-0.024988897144794464,
0.02159656025469303,
-0.018973415717482567,
-0.033390846103429794,
0.04327201098203659,
0.08023270219564438,
-0.028775690123438835,
-0.0035476540215313435,
0.03114243596792221,
0.0011833731550723314,
-0.004866621922701597,
-0.03128049522638321,
0.05774860829114914,
0.014683688059449196,
-0.020235680043697357,
0.0024481031578034163,
-0.0044129956513643265,
0.007430597208440304,
0.004035795573145151,
-0.06315267831087112,
0.02084708958864212,
0.022385476157069206,
0.03985995054244995,
-0.04066859185695648,
0.010068533010780811,
0.020551247522234917,
-0.008096244186162949,
-0.0049775633960962296,
0.0009510128875263035,
-0.04978056252002716,
-0.00589221203699708,
-0.004205905366688967,
-0.024870559573173523,
0.006493760272860527,
-0.039327435195446014,
0.0006724271224811673,
0.015364128164947033,
0.004284796770662069,
0.013115718960762024,
-0.053725142031908035,
-0.0038706164341419935,
0.04997779428958893,
-0.045520421117544174,
-0.039327435195446014,
-0.00152482558041811,
-0.032187748700380325,
0.02185295708477497,
-0.07064737379550934,
0.0029633636586368084,
0.04812384024262428,
-0.021182378754019737,
0.004726096522063017,
0.021636005491018295,
-0.0036881796550005674,
0.0047408887185156345,
0.034337542951107025,
0.033903639763593674,
-0.008234304375946522,
-0.01260292436927557,
-0.0229377169162035,
0.060549259185791016,
0.0030176015570759773,
0.04398203641176224,
0.07206742465496063,
0.05431682616472244,
0.004067845176905394,
-0.05210786312818527,
0.057709164917469025,
0.0728168934583664,
-0.025501690804958344,
-0.020807644352316856,
0.03013657033443451,
-0.040155794471502304,
0.009590253233909607,
0.01951579563319683,
-0.024850836023688316,
0.040471360087394714,
0.06161429360508919,
-0.021872680634260178,
0.01203096006065607,
-0.04074748232960701,
-0.013894773088395596,
0.03905131295323372,
0.06855674833059311,
-0.045757096260786057,
-0.04725603386759758,
-0.07463140040636063,
-0.004055518191307783,
-0.04240420460700989,
0.023864692077040672,
0.02033429592847824,
-0.040214963257312775,
0.03552091866731644,
0.010137563571333885,
-0.020235680043697357,
-0.08670180290937424,
0.037611544132232666,
0.0005097133107483387,
-0.029268762096762657,
0.04410037398338318,
0.026132823899388313,
-0.03567869961261749,
-0.0174251701682806,
0.01794782653450966,
0.09679992496967316,
-0.02027512714266777,
-0.01297765877097845,
0.0030176015570759773,
0.0338444709777832,
-0.021655729040503502,
0.06579554826021194,
-0.03163550794124603,
0.06619000434875488,
0.02477194368839264,
0.0381440594792366,
0.020709030330181122,
0.005936588626354933,
-0.010818002745509148,
0.00012434662494342774,
-0.0016172765754163265,
-0.03845962882041931,
0.10232233256101608,
-0.04339034855365753,
0.001364577212370932,
0.006789603270590305,
0.0037917247973382473,
0.00693259434774518,
-0.052028972655534744,
0.05794584006071091,
0.04291699826717377,
0.020373741164803505,
-0.011587195098400116,
-0.0359942652285099,
0.013441146351397038,
0.015048561617732048,
0.005300525575876236,
-0.033193618059158325,
0.08662291616201401,
0.05731470510363579,
0.00019599618099164218,
0.054987404495477676,
0.04031357914209366,
0.05380403250455856,
0.08883187919855118,
-0.0010151122696697712,
-0.02494945004582405,
-0.0029535021167248487,
-0.019436903297901154,
-0.05408015102148056,
-0.0203540176153183,
0.010147424414753914,
-0.006656473968178034,
-0.03962327912449837,
0.025284739211201668,
-0.06465161591768265,
-0.048478852957487106,
-0.045835986733436584,
-0.060549259185791016,
0.007770816795527935,
0.008209651336073875,
0.01660666987299919,
0.02311522141098976,
0.014269507490098476,
0.001364577212370932,
-0.022030463442206383,
-0.09695770591497421,
-0.004607759416103363,
0.0015531772514805198,
0.05692024901509285,
-0.0412997230887413,
-0.04031357914209366,
-0.00812089815735817,
-0.011952068656682968,
0.003367682686075568,
-0.09498541802167892,
0.03443615883588791,
0.012208466418087482,
0.06512496620416641,
-0.02849956974387169,
0.03151717036962509,
-0.03248359262943268,
-0.003370148129761219,
-0.030531026422977448,
-0.03102409839630127,
-0.03013657033443451,
-0.07640645653009415,
0.004376015160232782,
0.001585226971656084,
-0.005053989589214325,
-0.03195107355713844,
-0.026547003537416458,
0.1347467601299286,
-0.04697991535067558,
-0.041970301419496536,
0.038637131452560425,
0.06630834192037582,
-0.014634381048381329,
0.04863663762807846,
0.0288151353597641,
0.07818152010440826,
0.0028154419269412756,
-0.031162159517407417,
0.02064986154437065,
0.029229316860437393,
-0.03133966401219368,
0.045520421117544174,
-0.021458499133586884,
-0.0033380985260009766,
-0.013589068315923214,
-0.063389353454113,
-0.014949947595596313,
0.009363439865410328,
-0.034219205379486084,
-0.007844777777791023,
0.07372415065765381,
0.009748036041855812,
0.012711400166153908,
-0.0013990922598168254,
0.04319312050938606,
-0.00710516981780529,
0.024338040500879288,
0.0013843000633642077,
0.015452881343662739,
-0.0028598185162991285,
-0.0349883995950222,
0.013194610364735126,
0.035343412309885025,
0.013253779150545597,
-0.038499072194099426,
0.02185295708477497,
0.06429661065340042,
-0.04051080718636513,
0.0063803535886108875,
0.060036465525627136,
0.007696856278926134,
-0.031674955040216446,
0.013460869900882244,
-0.054987404495477676,
0.0544746108353138,
0.017849212512373924,
-0.026566727086901665,
-0.06437549740076065,
-0.003757209749892354,
0.010926478542387486,
-0.022701041772961617,
-0.02836151048541069,
0.08386170864105225,
-0.015581079758703709,
-0.01996942237019539,
0.0038434972520917654,
0.02053152397274971,
0.02698090858757496,
-0.000938069773837924,
-0.012711400166153908,
-0.04717714339494705,
-0.021261271089315414,
0.017543507739901543,
0.021971294656395912,
-0.024712776765227318,
0.014723134227097034,
0.019190367311239243,
-0.032384976744651794,
-0.08394060283899307,
0.0040111420676112175,
0.013283363543450832,
0.05861641466617584,
-0.023470234125852585,
0.03234553337097168,
-0.012218327261507511,
-0.019910253584384918,
0.006291600409895182,
-0.05672302097082138,
-0.05747248977422714,
-0.02735564298927784,
-0.05380403250455856,
0.01452590525150299,
-0.011064538732171059,
0.0037917247973382473,
0.01339183934032917,
0.0051230196841061115,
-0.016005121171474457,
0.026014486327767372,
-0.06989790499210358,
0.04114193841814995,
-0.0427197702229023,
-0.012800152413547039,
-0.011222321540117264,
0.01171539444476366,
0.004033330362290144,
-0.008525216951966286,
-0.03447560593485832,
0.06382326036691666,
-0.06161429360508919,
-0.005315317772328854,
-0.024022474884986877,
0.0027562733739614487,
-0.008318127132952213,
0.0016678165411576629,
0.0286770761013031,
-0.0693851113319397,
-0.01649819314479828,
-0.04946499690413475,
0.05092449113726616,
0.020630137994885445,
0.002457964699715376,
-0.03417976200580597,
0.009476847015321255,
-0.013135441578924656,
0.02999850921332836,
-0.03802572190761566,
0.03719736263155937,
-0.0054237935692071915,
-0.0017232871614396572,
0.05344901978969574,
-0.025758089497685432,
0.011675948277115822,
0.006833979859948158,
-0.011922484263777733,
-0.0182042233645916,
0.03277943655848503,
0.009363439865410328,
0.08011436462402344,
0.019032584503293037,
0.057709164917469025,
-0.021695174276828766,
-0.005409001372754574,
0.017326554283499718,
-0.010512297973036766,
-0.05269955098628998,
0.012898767367005348,
-0.04106304794549942,
0.06220598146319389,
-0.04516540840268135,
-0.017543507739901543,
-0.04721658676862717,
0.014486460015177727,
0.014230062253773212,
0.018687434494495392,
0.03558008745312691,
-0.04441593959927559,
-0.00394950807094574,
0.004509144928306341,
0.040589697659015656,
0.05293622612953186,
0.0371381938457489,
0.023213837295770645,
-0.004763077013194561,
-0.01921009086072445,
-0.039524663239717484,
0.006119025405496359,
0.022701041772961617,
-0.00814555212855339,
0.002687243279069662,
-0.0012770568719133735,
0.030057677999138832,
0.07119961827993393,
0.0025763020385056734,
-0.05242342874407768,
0.022129077464342117,
-0.005621022544801235,
-0.028322063386440277,
0.012987520545721054,
0.06082538142800331,
-0.03137911111116409,
-0.020373741164803505,
-0.01902272365987301,
-0.005542130675166845,
0.0740002691745758,
0.00016302197764161974,
0.05680191144347191,
0.013648237101733685,
0.00960011500865221,
0.0035427233669906855,
-0.08496619015932083,
0.03268082067370415,
0.006375422701239586,
0.06346824765205383,
0.020669585093855858,
-0.022267138585448265,
-0.012524032033979893,
-0.0003513139090500772,
0.021458499133586884,
-0.0501750223338604,
-0.013756712898612022,
-0.00944233126938343,
0.026803402230143547,
-0.007544003892689943,
-0.006173263303935528,
-0.014082140289247036,
0.025363631546497345,
-0.03309500217437744,
-0.1138404980301857,
0.023588571697473526,
0.0035920306108891964,
-0.011577334254980087,
-0.005542130675166845,
-0.02747398056089878,
0.015561357140541077,
0.04031357914209366,
0.056959692388772964,
0.030491581186652184,
-0.016133321449160576,
0.0203540176153183,
-0.019348150119185448,
-0.0822838768362999,
0.00619298592209816,
0.018736740574240685,
0.01649819314479828,
0.00957546103745699,
-0.03185246139764786,
-0.00954094622284174,
0.006562790367752314,
-0.014644242823123932,
0.01052215974777937,
0.0013312947703525424,
-0.018036579713225365,
-0.0035451888106763363,
-0.006375422701239586,
0.03510673716664314,
-0.010551744140684605,
0.01717863418161869,
0.017208218574523926,
0.04638822749257088,
-0.03709874674677849,
0.015364128164947033,
0.031162159517407417,
0.011192738078534603,
0.05482962355017662,
0.025501690804958344,
-0.030274629592895508,
-0.01724766381084919,
-0.03416003659367561,
0.06958234310150146,
-0.03556036204099655,
0.0012542522745206952,
0.022503811866044998,
0.03179329261183739,
-0.030353521928191185,
-0.01393421832472086,
0.001932842773385346,
0.061929862946271896,
-0.014851332642138004,
0.00042157669668085873,
-0.02913070283830166,
0.03295694291591644,
-0.06484884768724442,
-0.016961682587862015,
-0.012701538391411304,
0.05968145281076431,
-0.0014829144347459078,
-0.02059069275856018,
0.00221882457844913,
0.011853454634547234,
-0.013628514483571053,
-0.020886536687612534,
0.0673733800649643,
-0.015235928818583488,
-0.027513425797224045,
0.03903159126639366,
-0.013648237101733685,
-0.040471360087394714,
0.04366647079586983,
0.011025093495845795,
0.018233807757496834,
0.004287262447178364,
-0.015245790593326092,
0.019634133204817772,
0.039386603981256485,
0.026625895872712135,
-0.02715841308236122,
-0.03684234991669655,
0.006202847696840763,
-0.03808489069342613,
0.0349883995950222,
-0.030669087544083595,
0.020511800423264503,
0.058340296149253845,
0.01699126698076725,
-0.040589697659015656,
0.04694046825170517,
-0.04169417917728424,
0.004829641431570053,
0.015906507149338722,
-0.024791667237877846,
-0.014871056191623211,
-0.03771015629172325,
0.0018909316277131438,
0.06721559166908264,
-0.09111972898244858,
-0.010186870582401752,
-0.06346824765205383,
0.027809269726276398,
-0.034455880522727966,
-0.002387701766565442,
-0.04003745689988136,
0.001364577212370932,
0.06098316237330437,
-0.09790440648794174,
-0.012652231380343437,
-0.02621171437203884,
0.03840046003460884,
0.013046689331531525,
-0.02634977549314499,
0.015945952385663986,
-0.00969379860907793,
0.007598241791129112,
0.03573786839842796,
0.03587592765688896,
0.018095748499035835,
-0.010946201160550117,
-0.06697891652584076,
-0.0791282206773758,
0.08504508435726166,
-0.02767120860517025,
-0.0058527663350105286,
0.0021165122743695974,
0.07609089463949203,
-0.0863073468208313,
0.013401701115071774,
0.10429462045431137,
0.0023186716716736555,
0.037236809730529785,
0.024811390787363052,
-0.02660617232322693,
-0.01219860464334488,
-0.060864824801683426,
-0.06788617372512817,
0.017395585775375366,
0.02002859115600586,
-0.07881265133619308,
-0.0017960153054445982,
0.02382524684071541,
0.04895220324397087,
0.030728256329894066,
0.003604357363656163,
-0.03820322826504707,
0.01799713261425495,
-0.042167529463768005,
-0.07632756978273392,
0.05751193314790726,
-0.027257028967142105,
-0.006735365372151136,
-0.01693209819495678,
0.0016246726736426353,
-0.0066071669571101665,
-0.010670080780982971,
-0.015719139948487282,
0.04212808236479759,
0.03305555507540703,
-0.016458747908473015,
0.015157037414610386,
-0.009506430476903915,
-0.006695919670164585,
-0.018864940851926804,
0.03552091866731644,
-0.007415805011987686,
0.01597553677856922,
0.014496320858597755,
-0.05798528343439102,
0.0069276634603738785,
0.00367338745854795,
0.006779741961508989,
-0.034593939781188965,
-0.08638624101877213,
0.015176760964095592,
-0.05826140567660332,
0.10989592224359512,
-0.0056160916574299335,
0.021695174276828766,
0.04051080718636513,
0.019219951704144478,
0.021892402321100235,
-0.0025343908928334713,
0.02072875201702118,
-0.04402147978544235,
-0.08977857232093811,
0.03796655684709549,
-0.00802721455693245,
0.01591636799275875,
0.07301412522792816,
-0.02583697997033596,
-0.025501690804958344,
-0.008515356108546257,
0.018233807757496834,
-0.030116846784949303,
0.00012904622417408973,
-0.003934715874493122,
-0.030787425115704536,
0.027316195890307426,
-0.03678318113088608,
0.00443764915689826,
-0.012247911654412746,
-0.012080267071723938,
0.01244514063000679,
-0.003848428139463067,
-0.0384201817214489,
0.019417181611061096,
-0.004743353929370642,
-0.025856703519821167,
0.009871304035186768,
0.02469305321574211,
-0.10192787647247314,
0.006686058361083269,
-0.020570969209074974,
-0.0754203125834465,
-0.002751342486590147,
0.036487337201833725,
0.01636999472975731,
0.025915872305631638,
-0.0037177640479058027,
-0.04508651793003082,
0.02500861883163452,
0.0007550166919827461,
-0.029110979288816452,
-0.023983029648661613,
-0.059168655425310135,
-0.007075585424900055,
0.007425666321069002,
0.023983029648661613,
0.024870559573173523,
0.03688179701566696,
-0.03305555507540703,
0.0035476540215313435,
0.028578462079167366,
-0.014703411608934402,
-0.00006906862108735368,
0.03273998945951462,
-0.011488581076264381,
-0.02268131822347641,
-0.02830234169960022,
0.014456875622272491,
0.0029017296619713306,
-0.03725653141736984,
-0.012632508762180805,
-0.006173263303935528,
0.011330798268318176,
0.01927912048995495,
-0.005428724456578493,
0.045007623732089996,
0.010226315818727016,
0.03248359262943268,
-0.07364525645971298,
0.001995709491893649,
0.05317290127277374,
-0.062442656606435776,
0.009733243845403194,
-0.044060926884412766,
0.057393599301576614,
0.009166210889816284,
-0.032384976744651794,
-0.019298844039440155,
-0.025245293974876404,
0.026566727086901665,
-0.01499925460666418,
0.0063803535886108875,
0.02210935577750206,
-0.07419749349355698,
-0.006557859480381012,
-0.01641930267214775,
-0.014082140289247036,
-0.04161528870463371,
0.014456875622272491,
-0.050372250378131866,
-0.006587443873286247,
-0.06717614829540253,
-0.022010739892721176,
0.009871304035186768,
-0.028578462079167366,
-0.04366647079586983,
0.000012403846085362602,
-0.02130071632564068,
-0.022227691486477852,
0.01352003775537014,
-0.04891275614500046,
0.00309649296104908,
0.018421174958348274,
-0.026487834751605988,
-0.000022592719687963836,
0.007918738760054111,
-0.04232531413435936,
0.009008428081870079,
-0.068517304956913,
0.016439024358987808,
0.024239426478743553,
-0.00021849259792361408,
0.020432909950613976,
0.028026221320033073,
-0.024554992094635963,
-0.015048561617732048,
-0.0010933874873444438,
-0.020610416308045387,
0.014427291229367256,
0.03767071291804314,
-0.007075585424900055,
0.011981653049588203,
0.029485713690519333,
0.010818002745509148,
0.004580640234053135,
-0.04390314221382141,
0.03630983084440231,
0.04055025428533554,
-0.07301412522792816,
-0.013026965782046318,
0.05262066051363945,
0.0034810893703252077,
0.009047874249517918,
0.05301511660218239,
-0.034968677908182144,
0.05715692415833473,
0.05755138024687767,
-0.023588571697473526,
0.03542230278253555,
0.02660617232322693,
-0.0328386053442955,
-0.015640247613191605,
-0.041970301419496536,
0.000446846621343866,
-0.013707405887544155,
-0.046348780393600464,
0.0013115719193592668,
-0.01218874379992485,
0.037946831434965134,
-0.029406823217868805,
0.01700112782418728,
0.048163287341594696,
-0.03771015629172325,
-0.059168655425310135,
-0.00619298592209816,
0.03510673716664314,
0.05837974324822426,
0.050451140850782394,
-0.01768156699836254,
0.00953601486980915,
0.013944080099463463,
0.04997779428958893,
-0.034140314906835556,
0.06544053554534912,
0.060864824801683426,
-0.037374868988990784,
0.011498442851006985,
-0.010384099557995796,
-0.04421871155500412,
0.05589465796947479
] |
9,657 | asyncclick.termui | secho | This function combines :func:`echo` and :func:`style` into one
call. As such the following two calls are the same::
click.secho('Hello World!', fg='green')
click.echo(click.style('Hello World!', fg='green'))
All keyword arguments are forwarded to the underlying functions
depending on which one they go with.
Non-string types will be converted to :class:`str`. However,
:class:`bytes` are passed directly to :meth:`echo` without applying
style. If you want to style bytes that represent text, call
:meth:`bytes.decode` first.
.. versionchanged:: 8.0
A non-string ``message`` is converted to a string. Bytes are
passed through without style applied.
.. versionadded:: 2.0
| def secho(
message: t.Optional[t.Any] = None,
file: t.Optional[t.IO[t.AnyStr]] = None,
nl: bool = True,
err: bool = False,
color: t.Optional[bool] = None,
**styles: t.Any,
) -> None:
"""This function combines :func:`echo` and :func:`style` into one
call. As such the following two calls are the same::
click.secho('Hello World!', fg='green')
click.echo(click.style('Hello World!', fg='green'))
All keyword arguments are forwarded to the underlying functions
depending on which one they go with.
Non-string types will be converted to :class:`str`. However,
:class:`bytes` are passed directly to :meth:`echo` without applying
style. If you want to style bytes that represent text, call
:meth:`bytes.decode` first.
.. versionchanged:: 8.0
A non-string ``message`` is converted to a string. Bytes are
passed through without style applied.
.. versionadded:: 2.0
"""
if message is not None and not isinstance(message, (bytes, bytearray)):
message = style(message, **styles)
return echo(message, file=file, nl=nl, err=err, color=color)
| (message: Optional[Any] = None, file: Optional[IO[~AnyStr]] = None, nl: bool = True, err: bool = False, color: Optional[bool] = None, **styles: Any) -> NoneType | [
-0.0397549532353878,
-0.07304242253303528,
0.025193970650434494,
-0.049876391887664795,
0.10932612419128418,
-0.0044030072167515755,
0.026052650064229965,
0.011984949000179768,
0.015291772782802582,
0.002824958646669984,
0.025778602808713913,
0.028665222227573395,
-0.01704566739499569,
0.017840400338172913,
-0.04238579794764519,
0.014049430377781391,
0.01025845855474472,
-0.018799562007188797,
0.02881138026714325,
0.012825357727706432,
0.0592304952442646,
-0.0124051533639431,
0.06120362877845764,
-0.01416818331927061,
0.043262746185064316,
0.02133905701339245,
-0.008207680657505989,
0.024189135059714317,
-0.05367649719119072,
-0.02133905701339245,
-0.009920468553900719,
-0.055211152881383896,
0.0038526314310729504,
0.09193333238363266,
0.009527669288218021,
0.03737988695502281,
-0.023896820843219757,
0.01965823955833912,
0.03633851185441017,
-0.053932271897792816,
-0.0680365115404129,
0.02219773456454277,
0.04337236285209656,
0.007097794208675623,
-0.08813322335481644,
-0.010925304144620895,
0.042751193046569824,
0.0677441954612732,
-0.0909833088517189,
-0.0001390213001286611,
0.0198774766176939,
0.017548086121678352,
-0.001410195603966713,
-0.009728636592626572,
0.023567965254187584,
0.005412410479038954,
-0.041874244809150696,
-0.021576562896370888,
-0.036557748913764954,
-0.032611485570669174,
-0.02851906418800354,
0.01043202169239521,
0.020096713677048683,
0.006353301927447319,
-0.006704994477331638,
-0.009993547573685646,
0.058974720537662506,
-0.010011817328631878,
-0.023896820843219757,
0.005243415478616953,
-0.008221383206546307,
0.05839008837938309,
-0.00811633188277483,
0.010221919976174831,
-0.0256141759455204,
-0.010687798261642456,
-0.003528343513607979,
0.042166560888290405,
-0.021777529269456863,
0.004754699766635895,
0.0012069446966052055,
-0.009344971738755703,
0.03304995968937874,
0.05952281132340431,
-0.000057199988077627495,
0.0027655819430947304,
0.03325092792510986,
0.04213001951575279,
-0.008947605267167091,
0.018342819064855576,
0.027879623696208,
-0.021960226818919182,
-0.04925521835684776,
0.021868878975510597,
-0.043737757951021194,
-0.0064035439863801,
0.031113367527723312,
0.03681352734565735,
0.05546693131327629,
0.03270283341407776,
-0.04666091501712799,
0.06127670779824257,
0.06756149977445602,
-0.0632133036851883,
0.008207680657505989,
-0.04983985051512718,
-0.035278867930173874,
0.07004618644714355,
0.03224609047174454,
-0.04359159991145134,
0.05009562894701958,
-0.010331537574529648,
0.056197721511125565,
-0.039499178528785706,
0.026052650064229965,
-0.04150884971022606,
-0.022015037015080452,
-0.01249650213867426,
-0.021485215052962303,
-0.02398816868662834,
-0.056380417197942734,
-0.016890374943614006,
0.018415898084640503,
-0.022508319467306137,
-0.025833413004875183,
0.0434819795191288,
-0.02064480632543564,
-0.04340890049934387,
0.011400317773222923,
0.034694235771894455,
-0.002409321954473853,
-0.015246097929775715,
0.08966788649559021,
-0.024207405745983124,
0.033652860671281815,
0.02846425585448742,
-0.11626862734556198,
0.033068228513002396,
0.04684361442923546,
0.02144867554306984,
0.041070375591516495,
0.0017790159909054637,
-0.03496828302741051,
-0.044833943247795105,
-0.01064212340861559,
-0.01894572004675865,
0.06445564329624176,
-0.09354107081890106,
0.0135378772392869,
0.10735299438238144,
-0.012679199688136578,
0.044139690697193146,
-0.029377741739153862,
0.04574742913246155,
0.013583552092313766,
-0.015611493028700352,
0.01855292171239853,
-0.055211152881383896,
-0.02006017416715622,
-0.01604996621608734,
0.023111220449209213,
-0.002957414137199521,
0.04874366521835327,
0.030930669978260994,
-0.01791347935795784,
0.01217678189277649,
-0.050753336399793625,
0.053713034838438034,
0.08060609549283981,
-0.020717885345220566,
-0.009628153406083584,
-0.036594290286302567,
0.0024778335355222225,
-0.022289082407951355,
-0.08754859119653702,
0.014268666505813599,
-0.018872641026973724,
-0.03577215224504471,
0.015529278665781021,
-0.07304242253303528,
-0.06873076409101486,
-0.03957225754857063,
0.0027450283523648977,
0.020151523873209953,
0.02817193977534771,
-0.027441149577498436,
0.036155816167593,
0.026217076927423477,
-0.011427721939980984,
-0.060143984854221344,
-0.023969898000359535,
0.04318966716527939,
0.05210530012845993,
0.03843953460454941,
-0.05586886405944824,
-0.05583232641220093,
-0.01487156841903925,
-0.06138632819056511,
0.013866732828319073,
-0.05437074601650238,
-0.0057184286415576935,
0.06277482956647873,
0.023111220449209213,
0.012067163363099098,
0.03372593969106674,
-0.013684035278856754,
0.00485518341884017,
-0.05711120739579201,
0.010660393163561821,
-0.021357325837016106,
-0.026856517419219017,
-0.008659856393933296,
-0.00004046461981488392,
0.01751154661178589,
0.0640171691775322,
0.04117999225854874,
0.05345726013183594,
0.014433094300329685,
-0.07048466056585312,
0.014241262339055538,
0.03279418498277664,
0.007801178842782974,
0.01923803612589836,
0.07264048606157303,
0.025833413004875183,
-0.013163347728550434,
-0.029140235856175423,
-0.03036430850625038,
0.037818361073732376,
-0.0248103067278862,
-0.04388391599059105,
-0.016799025237560272,
-0.01139118243008852,
0.03681352734565735,
-0.04538203403353691,
0.009664692915976048,
-0.03314130753278732,
-0.009436320513486862,
-0.028208479285240173,
0.045126259326934814,
-0.0244083721190691,
0.006284790579229593,
0.03732508048415184,
0.0677441954612732,
0.05901126191020012,
-0.026162268593907356,
0.03913378342986107,
0.01668940670788288,
-0.07348089665174484,
0.02771519497036934,
0.011656094342470169,
-0.016999993473291397,
0.0112724294885993,
-0.014789354987442493,
-0.01519128866493702,
0.04951099678874016,
-0.025541096925735474,
-0.048195574432611465,
-0.0006382990395650268,
0.025029543787240982,
-0.025815142318606377,
0.021320786327123642,
0.00037253141636028886,
0.051045652478933334,
0.03993765264749527,
-0.03681352734565735,
-0.08177535980939865,
0.015730246901512146,
0.0055996752344071865,
0.03100374899804592,
-0.054918836802244186,
0.08550238609313965,
-0.011701768264174461,
0.026472853496670723,
-0.017009127885103226,
-0.02301987260580063,
-0.014433094300329685,
-0.02219773456454277,
-0.022636208683252335,
-0.02764211595058441,
-0.012459962628781796,
0.03314130753278732,
-0.012213321402668953,
0.018680809065699577,
-0.015757650136947632,
0.0217409897595644,
0.010824820958077908,
0.004574286285787821,
0.0034369947388768196,
-0.00727592408657074,
0.03478558361530304,
0.03537021577358246,
0.04647821933031082,
-0.04655129835009575,
-0.046112824231386185,
0.025230510160326958,
-0.024737227708101273,
-0.010815686546266079,
0.0016351417871192098,
-0.08659856766462326,
0.03233743831515312,
-0.07702522724866867,
0.008641586638987064,
-0.01837022416293621,
-0.018452437594532967,
-0.012871031649410725,
-0.011820522136986256,
-0.05937665328383446,
0.003009939566254616,
0.0006908245268277824,
0.021631373092532158,
-0.0002427877188893035,
-0.016999993473291397,
0.019840937107801437,
-0.04223963990807533,
-0.014241262339055538,
-0.025869952514767647,
-0.062409430742263794,
-0.00215126178227365,
-0.010797416791319847,
0.0034324273001402617,
-0.054224587976932526,
-0.019146688282489777,
0.023330457508563995,
0.010404616594314575,
-0.009536804631352425,
-0.06200749799609184,
-0.02945082075893879,
0.04128961265087128,
0.015867268666625023,
0.023001601919531822,
0.062409430742263794,
0.013775384053587914,
-0.0018132716650143266,
-0.07636751234531403,
-0.02057172730565071,
-0.006928798742592335,
0.05696504935622215,
0.01716442033648491,
0.033068228513002396,
-0.014414824545383453,
0.025833413004875183,
-0.005152066703885794,
-0.04180116578936577,
0.022234274074435234,
0.021631373092532158,
-0.031972043216228485,
0.03124125488102436,
-0.014049430377781391,
0.015693707391619682,
0.008614182472229004,
0.005736698396503925,
0.03418268263339996,
-0.008454321883618832,
0.02006017416715622,
0.06646531075239182,
0.018680809065699577,
0.06314022094011307,
0.0181418526917696,
-0.05773237720131874,
-0.02736807055771351,
0.009838255122303963,
0.04110691323876381,
0.009372376836836338,
-0.03818375617265701,
0.03107682801783085,
0.018909180536866188,
-0.019621700048446655,
-0.008833419531583786,
0.004601690918207169,
0.04461470618844032,
-0.009545939043164253,
-0.005485489498823881,
-0.038987625390291214,
0.039974190294742584,
0.014177318662405014,
-0.07373666763305664,
-0.006832882761955261,
0.06946155428886414,
0.01136377826333046,
0.049072522670030594,
0.03542502596974373,
0.027258452028036118,
-0.007737234700471163,
0.04892636463046074,
0.019749589264392853,
-0.03606446832418442,
0.03577215224504471,
-0.021960226818919182,
-0.04198386147618294,
-0.05791507661342621,
0.01686296984553337,
0.06387101113796234,
0.013976351357996464,
0.005307359620928764,
-0.03241051733493805,
0.03418268263339996,
0.043043509125709534,
-0.02376893162727356,
-0.026180537417531013,
-0.028847919777035713,
0.03224609047174454,
-0.0023408103734254837,
-0.030218150466680527,
-0.026326695457100868,
0.0030419116374105215,
-0.04812249541282654,
0.005727563519030809,
-0.016031697392463684,
0.02161310240626335,
0.01907360926270485,
0.019603431224822998,
-0.04870712757110596,
0.010907034389674664,
0.011747443117201328,
-0.004065017215907574,
-0.059559352695941925,
0.012743143364787102,
-0.006070121191442013,
-0.07907143235206604,
-0.04432239010930061,
-0.0762944370508194,
0.004012491554021835,
0.03960879519581795,
0.06061899662017822,
-0.0128070879727602,
-0.008924768306314945,
0.026418043300509453,
0.08689088374376297,
-0.0533476397395134,
0.032885532826185226,
-0.054699599742889404,
0.0017550368793308735,
-0.022508319467306137,
0.010559909977018833,
-0.027167104184627533,
-0.0522879958152771,
-0.05696504935622215,
0.010980113409459591,
-0.0005049870233051479,
-0.0112724294885993,
-0.03228263184428215,
-0.02968832664191723,
0.0696442499756813,
-0.05192260071635246,
-0.031734537333250046,
0.02990756370127201,
0.004240863490849733,
-0.037818361073732376,
0.002461847383528948,
0.06573452800512314,
0.02155829407274723,
-0.007052119821310043,
-0.015684571117162704,
0.03681352734565735,
-0.0017630299553275108,
-0.005531163886189461,
0.06259212642908096,
-0.06628261506557465,
0.026326695457100868,
0.03206339478492737,
-0.010121435858309269,
-0.04914560168981552,
0.00023265372146852314,
-0.018233200535178185,
0.012094567529857159,
0.00012010926729999483,
-0.011144541203975677,
0.003991938196122646,
-0.030272958800196648,
-0.0028432284016162157,
-0.04786671698093414,
0.006581673864275217,
0.036722175776958466,
0.05031486228108406,
0.027167104184627533,
0.006732399109750986,
0.00026648127823136747,
-0.10099512338638306,
0.04830519109964371,
-0.004754699766635895,
-0.014771085232496262,
-0.04841481149196625,
-0.02579687349498272,
-0.010687798261642456,
0.024317024275660515,
0.046514756977558136,
0.016999993473291397,
0.07929067313671112,
0.02915850467979908,
0.029249854385852814,
-0.01686296984553337,
-0.04070498049259186,
-0.024609340354800224,
0.001012828666716814,
0.014880702830851078,
-0.017465870827436447,
0.00808435957878828,
-0.03710584342479706,
-0.0931025967001915,
0.004540030378848314,
-0.015173018909990788,
-0.012094567529857159,
0.013775384053587914,
-0.002241468755528331,
-0.06010744348168373,
0.06091131269931793,
0.03652121126651764,
0.039389558136463165,
-0.002436726586893201,
0.02665555104613304,
0.028427716344594955,
0.0221429243683815,
-0.02086404338479042,
0.06894999742507935,
-0.04965715482831001,
-0.05751314014196396,
0.004313942510634661,
-0.0018760738894343376,
-0.007097794208675623,
0.002319115214049816,
0.012359479442238808,
-0.029871024191379547,
0.03686833381652832,
-0.05360341817140579,
0.05210530012845993,
0.025011274963617325,
-0.0033387949224561453,
0.019037069752812386,
-0.006997310556471348,
-0.006357869599014521,
0.04022996872663498,
-0.008673558942973614,
-0.026052650064229965,
-0.012131107039749622,
-0.04377429559826851,
-0.02051691710948944,
0.08901017159223557,
-0.02777000516653061,
-0.031734537333250046,
0.021229438483715057,
0.0200053658336401,
-0.07245779037475586,
0.007248519454151392,
-0.01710047572851181,
-0.004713593050837517,
0.06383447349071503,
-0.05729390308260918,
-0.015602357685565948,
-0.009801715612411499,
-0.04874366521835327,
-0.039389558136463165,
0.009381511248648167,
0.072311632335186,
-0.014149913564324379,
0.03924340009689331,
-0.01745673641562462,
-0.0056681870482862,
-0.051666826009750366,
-0.06332291662693024,
-0.050059087574481964,
0.028372906148433685,
0.02115635946393013,
-0.01034980732947588,
0.03752604499459267,
-0.002400187077000737,
0.03843953460454941,
0.0019240319961681962,
0.012304670177400112,
-0.07454054057598114,
0.05528423190116882,
0.05221491679549217,
-0.002537210239097476,
-0.004188337828963995,
0.02665555104613304,
0.051337968558073044,
0.02904888615012169,
-0.00782401580363512,
0.03356151282787323,
0.07943683117628098,
-0.046295519918203354,
-0.027806544676423073,
-0.047903258353471756,
-0.020608266815543175,
-0.035224057734012604,
0.02857387252151966,
-0.018589461222290993,
-0.05455344542860985,
-0.0001988261501537636,
0.014844163320958614,
0.03714238107204437,
-0.027441149577498436,
-0.01802309788763523,
-0.00542154535651207,
0.01739279180765152,
-0.046514756977558136,
0.0947103351354599,
0.014204722829163074,
-0.020772693678736687,
0.01855292171239853,
-0.04921868070960045,
0.004530895501375198,
-0.013053729198873043,
0.01993228681385517,
0.03513270989060402,
0.0010002682683989406,
0.007449486292898655,
-0.007846853695809841,
-0.007371840067207813,
0.05714774504303932,
-0.036502938717603683,
-0.008911065757274628,
-0.033470164984464645,
-0.018342819064855576,
0.010733472183346748,
0.048962902277708054,
-0.04677053540945053,
-0.03354324400424957,
0.01292584091424942,
0.004325360991060734,
0.021722720935940742,
0.005512894131243229,
-0.020443839952349663,
0.006430948618799448,
0.01217678189277649,
0.03745296597480774,
-0.051739905029535294,
-0.00104308791924268,
-0.08257922530174255,
-0.06171518191695213,
0.010888764634728432,
0.03460288792848587,
0.03447499871253967,
0.02296506240963936,
-0.02742287889122963,
-0.0097377710044384,
0.05594194307923317,
0.02064480632543564,
-0.00002913523894676473,
-0.05181298404932022,
0.047209009528160095,
0.0025851682294160128,
-0.003484952962026,
-0.016324013471603394,
0.041655007749795914,
0.04446854814887047,
-0.004878020379692316,
0.02491992525756359,
0.03957225754857063,
-0.025778602808713913,
0.02864695154130459,
0.02614399790763855,
-0.007645886391401291,
0.011345508508384228,
0.03166145831346512,
0.018452437594532967,
0.06511335074901581,
0.0037201757077127695,
0.044249311089515686,
0.029414281249046326,
0.02619880624115467,
0.05396881327033043,
0.05634387955069542,
0.022289082407951355,
-0.03146049380302429,
-0.007097794208675623,
0.033415354788303375,
-0.015986021608114243,
0.011235889978706837,
-0.0200053658336401,
-0.003781836247071624,
0.03960879519581795,
-0.03752604499459267,
-0.05966896936297417,
0.023056412115693092,
0.017118746414780617,
-0.006873989477753639,
-0.02886618860065937,
0.006659320089966059,
-0.02230735309422016,
-0.02462760917842388,
-0.01124502532184124,
-0.03009026125073433,
-0.038804925978183746,
0.029140235856175423,
0.006010744255036116,
0.024664148688316345,
0.013547012582421303,
-0.04139922931790352,
-0.07348089665174484,
-0.030108531937003136,
-0.00811633188277483,
-0.0568188913166523,
-0.023622773587703705,
0.00452404422685504,
0.0092399213463068,
-0.04673399403691292,
-0.06438256055116653,
-0.039389558136463165,
-0.010313267819583416,
0.06763457506895065,
0.00440529128536582,
0.028902728110551834,
0.012779682874679565,
-0.0416184663772583,
-0.011135406792163849,
-0.02006017416715622,
-0.02283717505633831,
0.044030074030160904,
0.00026120018446817994,
-0.06694032996892929,
0.01923803612589836,
0.02596130035817623,
0.04395699501037598,
-0.058170851320028305,
-0.0034050229005515575,
0.0007718965061940253,
-0.010623853653669357,
-0.02689305692911148,
0.03843953460454941,
-0.026344964280724525,
0.033999986946582794,
0.028098860755562782,
-0.031844157725572586,
0.04421276971697807,
0.006070121191442013,
-0.02296506240963936,
-0.0022506036330014467,
0.039499178528785706,
-0.020261142402887344,
0.027806544676423073,
-0.012094567529857159,
-0.03334227576851845,
0.02497473545372486,
-0.023257378488779068,
0.0064172460697591305,
0.028098860755562782,
-0.0043938723392784595,
0.04293388873338699,
-0.04516279697418213,
-0.026326695457100868,
0.0016990858130156994,
-0.017529815435409546,
-0.058755483478307724,
-0.03409133478999138,
-0.01929284632205963,
0.0018087042262777686,
0.029889294877648354,
0.01616871915757656,
0.07063081115484238,
-0.03246532753109932,
-0.03427403047680855,
-0.003370766993612051,
0.07212893664836884,
0.07972914725542068,
-0.00042362959356978536,
-0.010148840956389904,
-0.03588176891207695,
0.010514235123991966,
0.010486830957233906,
0.016260068863630295,
0.05396881327033043,
0.02672863006591797,
-0.010057492181658745,
0.05835355073213577,
-0.02336699701845646,
-0.007266789209097624,
0.010267593897879124
] |
9,658 | asyncclick.termui | style | Styles a text with ANSI styles and returns the new string. By
default the styling is self contained which means that at the end
of the string a reset code is issued. This can be prevented by
passing ``reset=False``.
Examples::
click.echo(click.style('Hello World!', fg='green'))
click.echo(click.style('ATTENTION!', blink=True))
click.echo(click.style('Some things', reverse=True, fg='cyan'))
click.echo(click.style('More colors', fg=(255, 12, 128), bg=117))
Supported color names:
* ``black`` (might be a gray)
* ``red``
* ``green``
* ``yellow`` (might be an orange)
* ``blue``
* ``magenta``
* ``cyan``
* ``white`` (might be light gray)
* ``bright_black``
* ``bright_red``
* ``bright_green``
* ``bright_yellow``
* ``bright_blue``
* ``bright_magenta``
* ``bright_cyan``
* ``bright_white``
* ``reset`` (reset the color code only)
If the terminal supports it, color may also be specified as:
- An integer in the interval [0, 255]. The terminal must support
8-bit/256-color mode.
- An RGB tuple of three integers in [0, 255]. The terminal must
support 24-bit/true-color mode.
See https://en.wikipedia.org/wiki/ANSI_color and
https://gist.github.com/XVilka/8346728 for more information.
:param text: the string to style with ansi codes.
:param fg: if provided this will become the foreground color.
:param bg: if provided this will become the background color.
:param bold: if provided this will enable or disable bold mode.
:param dim: if provided this will enable or disable dim mode. This is
badly supported.
:param underline: if provided this will enable or disable underline.
:param overline: if provided this will enable or disable overline.
:param italic: if provided this will enable or disable italic.
:param blink: if provided this will enable or disable blinking.
:param reverse: if provided this will enable or disable inverse
rendering (foreground becomes background and the
other way round).
:param strikethrough: if provided this will enable or disable
striking through text.
:param reset: by default a reset-all code is added at the end of the
string which means that styles do not carry over. This
can be disabled to compose styles.
.. versionchanged:: 8.0
A non-string ``message`` is converted to a string.
.. versionchanged:: 8.0
Added support for 256 and RGB color codes.
.. versionchanged:: 8.0
Added the ``strikethrough``, ``italic``, and ``overline``
parameters.
.. versionchanged:: 7.0
Added support for bright colors.
.. versionadded:: 2.0
| def style(
text: t.Any,
fg: t.Optional[t.Union[int, t.Tuple[int, int, int], str]] = None,
bg: t.Optional[t.Union[int, t.Tuple[int, int, int], str]] = None,
bold: t.Optional[bool] = None,
dim: t.Optional[bool] = None,
underline: t.Optional[bool] = None,
overline: t.Optional[bool] = None,
italic: t.Optional[bool] = None,
blink: t.Optional[bool] = None,
reverse: t.Optional[bool] = None,
strikethrough: t.Optional[bool] = None,
reset: bool = True,
) -> str:
"""Styles a text with ANSI styles and returns the new string. By
default the styling is self contained which means that at the end
of the string a reset code is issued. This can be prevented by
passing ``reset=False``.
Examples::
click.echo(click.style('Hello World!', fg='green'))
click.echo(click.style('ATTENTION!', blink=True))
click.echo(click.style('Some things', reverse=True, fg='cyan'))
click.echo(click.style('More colors', fg=(255, 12, 128), bg=117))
Supported color names:
* ``black`` (might be a gray)
* ``red``
* ``green``
* ``yellow`` (might be an orange)
* ``blue``
* ``magenta``
* ``cyan``
* ``white`` (might be light gray)
* ``bright_black``
* ``bright_red``
* ``bright_green``
* ``bright_yellow``
* ``bright_blue``
* ``bright_magenta``
* ``bright_cyan``
* ``bright_white``
* ``reset`` (reset the color code only)
If the terminal supports it, color may also be specified as:
- An integer in the interval [0, 255]. The terminal must support
8-bit/256-color mode.
- An RGB tuple of three integers in [0, 255]. The terminal must
support 24-bit/true-color mode.
See https://en.wikipedia.org/wiki/ANSI_color and
https://gist.github.com/XVilka/8346728 for more information.
:param text: the string to style with ansi codes.
:param fg: if provided this will become the foreground color.
:param bg: if provided this will become the background color.
:param bold: if provided this will enable or disable bold mode.
:param dim: if provided this will enable or disable dim mode. This is
badly supported.
:param underline: if provided this will enable or disable underline.
:param overline: if provided this will enable or disable overline.
:param italic: if provided this will enable or disable italic.
:param blink: if provided this will enable or disable blinking.
:param reverse: if provided this will enable or disable inverse
rendering (foreground becomes background and the
other way round).
:param strikethrough: if provided this will enable or disable
striking through text.
:param reset: by default a reset-all code is added at the end of the
string which means that styles do not carry over. This
can be disabled to compose styles.
.. versionchanged:: 8.0
A non-string ``message`` is converted to a string.
.. versionchanged:: 8.0
Added support for 256 and RGB color codes.
.. versionchanged:: 8.0
Added the ``strikethrough``, ``italic``, and ``overline``
parameters.
.. versionchanged:: 7.0
Added support for bright colors.
.. versionadded:: 2.0
"""
if not isinstance(text, str):
text = str(text)
bits = []
if fg:
try:
bits.append(f"\033[{_interpret_color(fg)}m")
except KeyError:
raise TypeError(f"Unknown color {fg!r}") from None
if bg:
try:
bits.append(f"\033[{_interpret_color(bg, 10)}m")
except KeyError:
raise TypeError(f"Unknown color {bg!r}") from None
if bold is not None:
bits.append(f"\033[{1 if bold else 22}m")
if dim is not None:
bits.append(f"\033[{2 if dim else 22}m")
if underline is not None:
bits.append(f"\033[{4 if underline else 24}m")
if overline is not None:
bits.append(f"\033[{53 if overline else 55}m")
if italic is not None:
bits.append(f"\033[{3 if italic else 23}m")
if blink is not None:
bits.append(f"\033[{5 if blink else 25}m")
if reverse is not None:
bits.append(f"\033[{7 if reverse else 27}m")
if strikethrough is not None:
bits.append(f"\033[{9 if strikethrough else 29}m")
bits.append(text)
if reset:
bits.append(_ansi_reset_all)
return "".join(bits)
| (text: Any, fg: Union[int, Tuple[int, int, int], str, NoneType] = None, bg: Union[int, Tuple[int, int, int], str, NoneType] = None, bold: Optional[bool] = None, dim: Optional[bool] = None, underline: Optional[bool] = None, overline: Optional[bool] = None, italic: Optional[bool] = None, blink: Optional[bool] = None, reverse: Optional[bool] = None, strikethrough: Optional[bool] = None, reset: bool = True) -> str | [
-0.0006857184343971312,
-0.04090417921543121,
0.01674395427107811,
-0.03291448578238487,
0.0559660941362381,
-0.06330590695142746,
-0.037731241434812546,
0.034730326384305954,
0.08020277321338654,
-0.041095320135354996,
-0.02635834738612175,
0.042280394583940506,
0.010025346651673317,
-0.002809773199260235,
-0.04178342968225479,
0.04117177799344063,
0.008993185125291348,
-0.0023856789339333773,
0.03270423039793968,
-0.038820743560791016,
0.0552779845893383,
-0.06376464664936066,
0.06078284978866577,
0.00524204270914197,
0.04036898538470268,
-0.007827225141227245,
0.02419845387339592,
-0.015778692439198494,
0.0006761613767594099,
-0.010942824184894562,
0.04071303829550743,
-0.0666699931025505,
-0.047135379165410995,
0.06062993407249451,
0.025976065546274185,
-0.0012256918707862496,
-0.010140031576156616,
-0.010732568800449371,
0.03488323837518692,
-0.03694755956530571,
-0.02291780896484852,
-0.008653909899294376,
0.07271004468202591,
0.01878916285932064,
-0.026511261239647865,
-0.016457242891192436,
0.03002825565636158,
0.019687525928020477,
-0.04977312311530113,
-0.06051525101065636,
0.03025762550532818,
-0.029760658740997314,
0.011783844791352749,
-0.025459986180067062,
-0.007053104229271412,
-0.004814364947378635,
-0.0620061494410038,
-0.013083603233098984,
-0.003060645656660199,
-0.06062993407249451,
0.02993268519639969,
0.016495471820235252,
0.0457591637969017,
0.028441784903407097,
-0.043159645050764084,
-0.010254716500639915,
0.026702402159571648,
-0.011095737107098103,
0.0156735647469759,
0.015539766289293766,
-0.008371977135539055,
0.06774038076400757,
-0.008730366826057434,
-0.04430649057030678,
-0.05424582585692406,
-0.016715282574295998,
0.003495491575449705,
0.012691764160990715,
0.0035910620354115963,
0.005442740861326456,
0.04052189737558365,
0.061509184539318085,
0.03524640575051308,
0.0219429899007082,
0.06147095561027527,
-0.04916147142648697,
-0.027180254459381104,
0.03142358735203743,
-0.0022172359749674797,
-0.04224216938018799,
0.04537688195705414,
-0.027046455070376396,
-0.02559378370642662,
0.05371062830090523,
-0.03998670354485512,
-0.055125072598457336,
0.010321615263819695,
-0.044535860419273376,
0.0034811559598892927,
-0.00969562865793705,
-0.06659353524446487,
0.026721516624093056,
0.01685863919556141,
-0.05741876736283302,
-0.006054392084479332,
-0.05894789472222328,
-0.053825315088033676,
0.011095737107098103,
0.06483503431081772,
-0.04770880192518234,
0.032685115933418274,
-0.036660850048065186,
0.10000498592853546,
-0.11934845894575119,
0.044535860419273376,
0.020891714841127396,
-0.03597274050116539,
-0.024332253262400627,
0.007191681303083897,
-0.03199701011180878,
-0.008883279748260975,
-0.04820576682686806,
0.04728829115629196,
-0.020872600376605988,
-0.0011384837562218308,
0.05631014704704285,
-0.07206016778945923,
0.01187941525131464,
0.06342059373855591,
0.003067813580855727,
-0.023605916649103165,
0.04751766100525856,
0.0406365841627121,
0.00234864535741508,
0.015960276126861572,
0.0016605376731604338,
-0.027944818139076233,
0.05543090030550957,
0.015568437054753304,
0.015243497677147388,
0.08540181070566177,
-0.002623410662636161,
-0.017852572724223137,
-0.04082772508263588,
-0.07580653578042984,
-0.0013487389078363776,
0.049429070204496384,
-0.06544668972492218,
0.028785839676856995,
0.0977877527475357,
0.05206681787967682,
0.009179548360407352,
-0.06368818879127502,
0.06491149216890335,
0.014077536761760712,
-0.0011516247177496552,
0.006909748073667288,
-0.04220394045114517,
0.03025762550532818,
0.06670822203159332,
0.009122205898165703,
-0.024905676022171974,
0.05871852487325668,
-0.025020360946655273,
0.02354857511818409,
0.07637995481491089,
-0.02870938368141651,
0.007698204834014177,
0.037635669112205505,
-0.04285382106900215,
-0.022382615134119987,
-0.02765810675919056,
-0.020796144381165504,
-0.0028527798131108284,
-0.001947249285876751,
0.017088009044528008,
-0.04361838474869728,
0.03323942422866821,
-0.025459986180067062,
-0.007430607452988625,
-0.060018282383680344,
-0.017823901027441025,
-0.042280394583940506,
-0.024045541882514954,
0.041859887540340424,
-0.02905343659222126,
0.04117177799344063,
0.027524309232831,
-0.021637164056301117,
-0.009824649430811405,
-0.008854608051478863,
-0.02926369197666645,
0.019936010241508484,
0.026224549859762192,
-0.02192387543618679,
-0.029129892587661743,
0.005103465635329485,
-0.035150837153196335,
-0.00012192707072244957,
-0.06556137651205063,
-0.0004509733698796481,
0.03597274050116539,
-0.013217402622103691,
0.031385358422994614,
0.06219729036092758,
-0.06322945654392242,
-0.01750851795077324,
-0.053634174168109894,
-0.05669242888689041,
-0.018913405016064644,
-0.0645674392580986,
-0.01377171091735363,
0.048664506524801254,
0.06261780112981796,
0.021866533905267715,
0.0051416936330497265,
0.08899526298046112,
0.062044378370046616,
-0.04182165861129761,
0.04170697182416916,
-0.014144436456263065,
-0.024982132017612457,
0.021656278520822525,
0.02301337942481041,
0.01878916285932064,
-0.011248650029301643,
-0.009490151889622211,
0.03012382611632347,
0.05141693726181984,
-0.035055264830589294,
0.0026950885076075792,
-0.012787334620952606,
-0.014784758910536766,
0.04258622229099274,
-0.004128646105527878,
-0.03702401742339134,
0.025880495086312294,
-0.05160807818174362,
-0.037769466638565063,
-0.0015661618672311306,
0.027142025530338287,
0.07297764718532562,
0.04602675884962082,
0.03528463467955589,
0.015081027522683144,
0.039050113409757614,
0.06609656661748886,
0.015425081364810467,
-0.06326767802238464,
-0.0329718291759491,
-0.06854317337274551,
0.05864206701517105,
-0.00624075485393405,
-0.004907546099275351,
-0.06315299868583679,
0.024561623111367226,
-0.026281891390681267,
0.013800382614135742,
0.018339982256293297,
0.025956952944397926,
0.030620792880654335,
-0.04858804866671562,
-0.003337800269946456,
0.02505858987569809,
0.10046372562646866,
-0.010665669105947018,
-0.0311177596449852,
0.03975733369588852,
-0.048435136675834656,
-0.010990609414875507,
-0.014020194299519062,
0.008328970521688461,
0.03140447288751602,
0.011688274331390858,
-0.0339084193110466,
0.032455746084451675,
0.007053104229271412,
0.023930856958031654,
-0.022000333294272423,
-0.037310730665922165,
0.024274911731481552,
0.013905510306358337,
-0.01904720440506935,
-0.006919305305927992,
0.043236102908849716,
-0.020566774532198906,
0.01588382013142109,
-0.02870938368141651,
0.03165295347571373,
-0.016055846586823463,
0.06762569397687912,
0.01020693127065897,
0.03270423039793968,
-0.00956660881638527,
0.04721183329820633,
0.05004072189331055,
0.05237264186143875,
-0.011172193102538586,
-0.006928862538188696,
-0.04610321670770645,
0.02106374129652977,
-0.04235685244202614,
0.01999335177242756,
-0.02763899229466915,
-0.045415110886096954,
-0.031710296869277954,
0.009270340204238892,
-0.027466965839266777,
0.06628771126270294,
-0.044421177357435226,
-0.014230449683964252,
-0.03826643526554108,
-0.004142981953918934,
0.025956952944397926,
-0.0399484746158123,
-0.049429070204496384,
0.0001426837989129126,
-0.050384774804115295,
0.03176764026284218,
0.007067439612001181,
-0.03432893007993698,
-0.06911659985780716,
0.023357434198260307,
-0.024466052651405334,
0.0552779845893383,
-0.018473779782652855,
-0.05007895082235336,
0.056768886744976044,
0.04220394045114517,
-0.0017071283655241132,
-0.021350452676415443,
0.023625031113624573,
0.032551318407058716,
-0.00022907057427801192,
-0.062273748219013214,
-0.05952131748199463,
-0.010923709720373154,
0.0046471161767840385,
-0.023185407742857933,
-0.06105044484138489,
0.03566691651940346,
0.04338901489973068,
0.00688107730820775,
-0.002745263045653701,
0.07267182320356369,
0.07637995481491089,
0.013915067538619041,
0.04805285483598709,
-0.001085920026525855,
0.02840355783700943,
0.03065902180969715,
0.0007848728564567864,
0.0016103631351143122,
0.028900524601340294,
0.001145651564002037,
0.029129892587661743,
0.0020858265925198793,
-0.05474279075860977,
0.0016342558665201068,
-0.06066816300153732,
-0.049964264035224915,
0.0015661618672311306,
0.021885648369789124,
0.034176018089056015,
-0.06969001889228821,
0.026836201548576355,
-0.024007312953472137,
0.05822155997157097,
0.015377296134829521,
-0.024217568337917328,
0.0798969492316246,
0.002100161975249648,
-0.01599850505590439,
-0.038323774933815,
0.026836201548576355,
0.023414775729179382,
-0.050499461591243744,
-0.014909000135958195,
0.037540096789598465,
-0.026511261239647865,
0.00003348701284267008,
-0.0233383197337389,
-0.02312806434929371,
-0.01776655949652195,
0.0404072143137455,
-0.0020201217848807573,
-0.006422338541597128,
-0.03790326789021492,
0.0031681626569479704,
-0.028212416917085648,
-0.05344303324818611,
-0.011076622642576694,
0.07141029089689255,
-0.0387825146317482,
0.020815258845686913,
0.016734397038817406,
0.044459402561187744,
0.047899942845106125,
0.013217402622103691,
-0.00414537126198411,
-0.01883694902062416,
0.02507770247757435,
0.037960607558488846,
-0.05359594523906708,
-0.019200116395950317,
0.004541988950222731,
0.019362585619091988,
0.05883320793509483,
-0.013800382614135742,
0.08096734434366226,
-0.009862877428531647,
-0.00008004030678421259,
-0.07462146133184433,
-0.014564946293830872,
-0.002371343318372965,
-0.04468877241015434,
0.028690269216895103,
0.003956619184464216,
-0.008596567437052727,
-0.013303415849804878,
-0.021522480994462967,
-0.0719837099313736,
0.01327474508434534,
0.032895371317863464,
0.007196459919214249,
-0.00003666025077109225,
-0.018177511170506477,
0.004544377792626619,
-0.003034363966435194,
-0.034730326384305954,
0.0397191047668457,
-0.01976398192346096,
0.02115931175649166,
-0.027600765228271484,
0.007186902686953545,
-0.00729203037917614,
-0.01700199395418167,
-0.04449763149023056,
0.027180254459381104,
-0.06265603005886078,
0.036355022341012955,
-0.02352946065366268,
-0.009303789585828781,
0.0859370082616806,
0.024599850177764893,
-0.022439956665039062,
0.004847814328968525,
0.027849247679114342,
0.01437380537390709,
0.004802418407052755,
0.007884567603468895,
0.06101221591234207,
-0.02830798737704754,
0.012557965703308582,
0.030047370120882988,
-0.04438294842839241,
0.005203814711421728,
0.041095320135354996,
-0.023605916649103165,
0.05982714146375656,
0.0014992625219747424,
0.032130807638168335,
-0.051569849252700806,
0.049085017293691635,
-0.029856229200959206,
-0.014106208458542824,
0.03474944084882736,
-0.024657193571329117,
-0.06300008296966553,
0.01242416724562645,
-0.04545333608984947,
-0.08861298114061356,
-0.008333749137818813,
0.0076743122190237045,
0.02224881574511528,
-0.004685344640165567,
-0.015061913058161736,
-0.038056179881095886,
-0.07657109946012497,
0.01997423730790615,
0.023414775729179382,
-0.02247818559408188,
-0.06762569397687912,
-0.002788269892334938,
-0.029129892587661743,
0.004097586032003164,
0.05780104920268059,
-0.017527632415294647,
0.03782681003212929,
-0.017938585951924324,
-0.015377296134829521,
-0.030314967036247253,
0.035896286368370056,
0.04178342968225479,
-0.02008892223238945,
-0.04472700133919716,
0.0016617323271930218,
-0.019897781312465668,
-0.02431313879787922,
-0.0668993592262268,
0.055239759385585785,
-0.008763816207647324,
-0.06728164106607437,
0.030716363340616226,
0.0035743373446166515,
-0.01985955238342285,
-0.017575418576598167,
-0.0008487856248393655,
0.05424582585692406,
-0.014278234913945198,
-0.023491233587265015,
0.013504114001989365,
0.04136291891336441,
-0.06078284978866577,
0.004439250566065311,
-0.04480345919728279,
0.004668619483709335,
-0.02289869636297226,
0.03625945374369621,
-0.00939458142966032,
-0.02463807910680771,
0.019840439781546593,
-0.05313720554113388,
-0.03945150971412659,
-0.030506107956171036,
0.06280894577503204,
0.06143272668123245,
-0.0015088195214048028,
0.034061331301927567,
-0.02763899229466915,
-0.03736807033419609,
0.05057591572403908,
0.012443280778825283,
-0.06135627254843712,
0.006164298392832279,
-0.045109283179044724,
0.015711793676018715,
0.002539786510169506,
0.008845050819218159,
0.006833292078226805,
0.024771878495812416,
0.019362585619091988,
-0.0249630194157362,
-0.034061331301927567,
-0.00845321174710989,
0.01750851795077324,
0.029340147972106934,
-0.04071303829550743,
-0.018770048394799232,
-0.0017704437486827374,
-0.025746697559952736,
-0.020777029916644096,
0.007894124835729599,
0.07672400772571564,
-0.02503947541117668,
0.005954043008387089,
0.00766953406855464,
0.007416272070258856,
0.0034118674229830503,
0.021235767751932144,
-0.03381284698843956,
0.0357624851167202,
-0.03086927719414234,
-0.0362212248146534,
0.00043096329318359494,
0.02937837690114975,
0.004871706943958998,
0.030410537496209145,
-0.013102717697620392,
-0.06372641772031784,
-0.003189665963873267,
0.0005124969175085425,
0.0014072757912799716,
-0.038170862942934036,
-0.028212416917085648,
0.030276739969849586,
-0.04105709493160248,
-0.059559546411037445,
0.08371977508068085,
0.05971245840191841,
-0.00586325116455555,
-0.01203232817351818,
-0.0005931344931013882,
-0.008911950513720512,
0.017871687188744545,
0.024389594793319702,
-0.032895371317863464,
0.0025684575084596872,
-0.04602675884962082,
0.004964888095855713,
-0.008902393281459808,
-0.027027342468500137,
0.05799219012260437,
-0.03941328078508377,
-0.012261697091162205,
0.03983379155397415,
0.06575251370668411,
0.019410371780395508,
-0.03975733369588852,
0.0030797598883509636,
-0.0362212248146534,
0.03587717190384865,
-0.04728829115629196,
0.02106374129652977,
0.02647303231060505,
0.040330756455659866,
0.07882656157016754,
-0.02129311114549637,
0.009843762964010239,
-0.0008374366443604231,
-0.05371062830090523,
0.004795250482857227,
-0.05046123266220093,
-0.020165378227829933,
0.01193675771355629,
-0.015807364135980606,
-0.03929859772324562,
0.04698246717453003,
0.008066151291131973,
-0.031901437789201736,
0.013991523534059525,
0.0385531447827816,
-0.05894789472222328,
0.025651127099990845,
0.028900524601340294,
0.046064987778663635,
-0.06965178996324539,
-0.02861381322145462,
-0.05558381229639053,
-0.07875010371208191,
0.019802210852503777,
0.05680711567401886,
0.018521565943956375,
-0.0033449679613113403,
0.011783844791352749,
0.049849580973386765,
0.04143937677145004,
0.014995014294981956,
0.0013833831762894988,
-0.00426722364500165,
0.016342557966709137,
0.013714369386434555,
0.014507603831589222,
-0.01656237058341503,
0.028881410136818886,
0.03511260822415352,
-0.003094095503911376,
-0.04709715023636818,
0.005538311321288347,
-0.018263526260852814,
0.030085599049925804,
-0.016447685658931732,
0.006861962843686342,
0.00044261093717068434,
-0.01690642349421978,
0.05959777534008026,
0.00537584163248539,
-0.046714868396520615,
0.01182207278907299,
-0.032685115933418274,
-0.024771878495812416,
0.0310030747205019,
0.02561289817094803,
0.03750187158584595,
-0.025135045871138573,
-0.019840439781546593,
0.030276739969849586,
0.004628002177923918,
0.06930773705244064,
0.005834579933434725,
-0.0016915980959311128,
0.035800714045763016,
-0.021675392985343933,
-0.023414775729179382,
0.009805534966289997,
0.022554641589522362,
0.035150837153196335,
-0.015797806903719902,
0.09732901304960251,
-0.015425081364810467,
0.02008892223238945,
-0.02169450744986534,
-0.05684534087777138,
-0.0033210753463208675,
0.0345965251326561,
0.04384775087237358,
0.009007520973682404,
-0.019706640392541885,
0.010120918042957783,
-0.0703781247138977,
-0.07867364585399628,
-0.03243663161993027,
-0.02008892223238945,
-0.013207845389842987,
0.017642317339777946,
-0.0039327265694737434,
-0.043236102908849716,
-0.05634837597608566,
-0.021140197291970253,
0.0014980678679421544,
0.04503282532095909,
0.01878916285932064,
-0.010273830033838749,
-0.027466965839266777,
-0.013265187852084637,
0.023032493889331818,
-0.010292944498360157,
-0.0018564572092145681,
0.0022686051670461893,
-0.03771212697029114,
-0.04537688195705414,
0.06468212604522705,
0.03291448578238487,
0.036565277725458145,
0.015616222284734249,
-0.037310730665922165,
0.017575418576598167,
-0.022497300058603287,
-0.06372641772031784,
0.001574524212628603,
-0.004955331329256296,
0.039050113409757614,
-0.003806095803156495,
-0.019142774865031242,
-0.015233940444886684,
-0.03975733369588852,
-0.04407712072134018,
0.03478766605257988,
0.028441784903407097,
-0.03130890056490898,
0.012405052781105042,
0.001702349865809083,
0.01964929886162281,
0.013876838609576225,
-0.024274911731481552,
0.0036006192676723003,
0.0719837099313736,
-0.028575584292411804,
0.015530209057033062,
-0.025345301255583763,
-0.025440871715545654,
-0.007889346219599247,
-0.0926651731133461,
0.01721224933862686,
-0.010254716500639915,
0.05386354401707649,
0.004945774096995592,
-0.0047713578678667545,
0.029397491365671158,
0.022076789289712906,
0.035896286368370056,
0.0036961897276341915,
-0.021560708060860634,
0.03167206794023514,
0.06995761394500732,
0.009600058197975159,
0.00095869175856933,
0.01035984419286251,
-0.0068571846932172775,
0.010044461116194725,
0.011640489101409912,
0.013991523534059525,
0.038323774933815,
-0.002434658817946911,
0.03960442170500755,
-0.016571927815675735,
-0.020681459456682205,
0.03694755956530571
] |
9,661 | asyncclick.termui | unstyle | Removes ANSI styling information from a string. Usually it's not
necessary to use this function as Click's echo function will
automatically remove styling if necessary.
.. versionadded:: 2.0
:param text: the text to remove style information from.
| def unstyle(text: str) -> str:
"""Removes ANSI styling information from a string. Usually it's not
necessary to use this function as Click's echo function will
automatically remove styling if necessary.
.. versionadded:: 2.0
:param text: the text to remove style information from.
"""
return strip_ansi(text)
| (text: str) -> str | [
-0.009201779030263424,
0.0090400455519557,
0.04732830077409744,
-0.02311936393380165,
0.03297659009695053,
-0.09990016371011734,
-0.008150512352585793,
0.009882762096822262,
0.10017255693674088,
-0.0014332558494061232,
-0.05982433259487152,
-0.01029986422508955,
-0.048962660133838654,
-0.001018814044073224,
-0.04552369564771652,
0.04651112109422684,
-0.011125555261969566,
0.0011374539462849498,
0.06428477168083191,
-0.051312047988176346,
0.007069452200084925,
-0.06530624628067017,
-0.010623330250382423,
-0.041301604360342026,
0.0239705927670002,
-0.014811374247074127,
0.021587152034044266,
-0.04651112109422684,
0.01448790729045868,
-0.036092083901166916,
0.017960919067263603,
0.021076414734125137,
0.03440665081143379,
0.054342422634363174,
0.029129035770893097,
0.024464305490255356,
0.0009624201338738203,
-0.04494486004114151,
0.045830138027668,
-0.04045037552714348,
-0.04531940072774887,
-0.0005341458017937839,
0.02114451304078102,
-0.013764363713562489,
0.014615591615438461,
-0.022165987640619278,
0.06425072252750397,
-0.023732248693704605,
-0.059381693601608276,
-0.030031338334083557,
0.03452582284808159,
0.08042406290769577,
0.006456567440181971,
0.05624917522072792,
0.029265232384204865,
-0.06108415126800537,
-0.006294833961874247,
-0.03779454156756401,
-0.02184252068400383,
-0.05570438876748085,
0.011142579838633537,
0.00672044837847352,
0.00774192251265049,
-0.03728380426764488,
0.03503656014800072,
-0.03527490422129631,
0.037317853420972824,
0.024583477526903152,
-0.01244495902210474,
-0.013389823026955128,
-0.06649796664714813,
0.029452502727508545,
-0.022608626633882523,
-0.04494486004114151,
0.03602398559451103,
-0.04617062956094742,
0.06244611740112305,
0.027120137587189674,
0.0035921838134527206,
-0.004639194812625647,
0.029827043414115906,
0.05372953787446022,
0.011142579838633537,
0.025111237540841103,
0.021570127457380295,
-0.06837066262960434,
0.030678272247314453,
0.00204826844856143,
-0.03353840112686157,
-0.025724122300744057,
0.07429521530866623,
-0.05321880057454109,
-0.049166955053806305,
0.02666047401726246,
-0.02240433171391487,
0.020565679296851158,
0.01933990977704525,
-0.02671154774725437,
0.058121874928474426,
-0.0662255734205246,
0.0209231935441494,
0.03025265783071518,
0.02330663427710533,
-0.04668136686086655,
-0.03345327824354172,
-0.07143508642911911,
-0.005447861738502979,
-0.00447320519015193,
0.0523335225880146,
-0.016641516238451004,
0.08049216121435165,
-0.009065582416951656,
0.0781768187880516,
-0.058258071541786194,
0.04351479560136795,
-0.01789282076060772,
-0.06785993278026581,
-0.03888411447405815,
0.03813503310084343,
-0.0003463435568846762,
-0.025026114657521248,
-0.031801894307136536,
-0.022778872400522232,
-0.036807116121053696,
-0.017841747030615807,
0.0663958191871643,
-0.058462366461753845,
-0.0059458306059241295,
0.05212922766804695,
-0.00045514118392020464,
-0.00877616461366415,
0.01672663912177086,
0.009389049373567104,
-0.02883961796760559,
0.014181465841829777,
0.0266945231705904,
0.003481524297967553,
0.0043263682164251804,
0.052027080208063126,
0.007818533107638359,
0.02504313923418522,
0.02810756303369999,
-0.0006325691356323659,
-0.019408008083701134,
-0.011449022218585014,
0.02594544179737568,
0.0477028414607048,
-0.0376242958009243,
0.02778409607708454,
0.061356544494628906,
0.032142385840415955,
0.02630295790731907,
-0.029316306114196777,
0.052742112427949905,
-0.0033751206938177347,
-0.005984135903418064,
-0.024992065504193306,
-0.03639852628111839,
0.03581969067454338,
0.0009347551967948675,
0.00802282802760601,
-0.024770746007561684,
0.09486089646816254,
-0.05788353085517883,
-0.03772644326090813,
-0.025707097724080086,
0.05420622602105141,
-0.023170437663793564,
0.021927643567323685,
-0.029827043414115906,
-0.0662255734205246,
-0.009074094705283642,
-0.0064097498543560505,
-0.0048179528675973415,
0.040007736533880234,
0.04065467044711113,
-0.016786225140094757,
0.07490810006856918,
-0.014607079327106476,
0.007346101105213165,
-0.03496846184134483,
-0.05784948170185089,
-0.04954149201512337,
0.016113754361867905,
0.055636290460824966,
-0.03042290359735489,
0.0007836621371097863,
0.01280247513204813,
-0.014053781516849995,
-0.0407908670604229,
0.03169974684715271,
0.0008017507498152554,
0.022915069013834,
0.02468562312424183,
0.02861829847097397,
-0.021246660500764847,
-0.01298974547535181,
0.025502802804112434,
-0.04344669729471207,
-0.10064924508333206,
-0.017671501263976097,
0.021365832537412643,
-0.0411994569003582,
0.038747917860746384,
0.007924936711788177,
-0.01640317216515541,
-0.026030564680695534,
-0.08485044538974762,
-0.07075410336256027,
0.0152965746819973,
-0.02325556054711342,
0.004515766631811857,
0.06932403892278671,
-0.01162778027355671,
0.01971445046365261,
-0.0063459076918661594,
0.039496999233961105,
0.06179918348789215,
0.01585838571190834,
0.0666341632604599,
-0.0407908670604229,
-0.02705203928053379,
0.04596633464097977,
-0.01110001839697361,
-0.005809633992612362,
-0.022251110523939133,
-0.04569394141435623,
0.04617062956094742,
0.07729154080152512,
-0.03561539575457573,
0.007401430979371071,
-0.07518049329519272,
-0.0019173920154571533,
-0.0014013347681611776,
0.02524743415415287,
-0.028567224740982056,
-0.06894949823617935,
-0.08811916410923004,
-0.03381079435348511,
-0.02165525034070015,
-0.015568967908620834,
0.02005494199693203,
0.04205068200826645,
0.04749854654073715,
0.002594118705019355,
0.03891816362738609,
-0.007869606837630272,
0.05424027517437935,
-0.023766297847032547,
-0.009295414201915264,
-0.0018961112946271896,
0.010333913378417492,
-0.015509381890296936,
0.045830138027668,
-0.03243180364370346,
0.009125168435275555,
0.003249564440920949,
-0.01621590182185173,
-0.03028670698404312,
0.06973262876272202,
-0.0006198007031343877,
-0.07007312029600143,
-0.006120332516729832,
0.03629637882113457,
0.08130934089422226,
-0.01406229380518198,
-0.03820313140749931,
0.06162893772125244,
-0.03280634433031082,
0.02541767992079258,
0.007818533107638359,
-0.04852002114057541,
0.035717543214559555,
-0.012964208610355854,
-0.036977361887693405,
0.036602821201086044,
-0.004081640392541885,
0.03670496866106987,
0.0357515923678875,
-0.017790673300623894,
0.007150318473577499,
0.03204023838043213,
-0.011321337893605232,
-0.0010959565406665206,
0.0454215481877327,
-0.03183594346046448,
0.03113793581724167,
-0.07259275764226913,
0.03728380426764488,
0.037215705960989,
0.08825536072254181,
-0.003968852572143078,
-0.001305571524426341,
-0.04617062956094742,
0.048451922833919525,
0.05744089186191559,
0.04167614504694939,
-0.025877343490719795,
-0.04651112109422684,
-0.03544514998793602,
0.005345714278519154,
0.0036432575434446335,
-0.042527370154857635,
-0.024328108876943588,
0.013372798450291157,
0.01074250228703022,
0.010350937955081463,
0.020174114033579826,
0.017824722453951836,
-0.006601276341825724,
-0.027852194383740425,
-0.03959914669394493,
-0.02080402337014675,
0.029997289180755615,
-0.06377403438091278,
-0.013313212431967258,
0.015151865780353546,
-0.04048442468047142,
0.016173340380191803,
0.018539754673838615,
-0.041642095893621445,
-0.06605532765388489,
0.006899206433445215,
-0.04777093976736069,
0.0027707484550774097,
-0.014521956443786621,
-0.07375042885541916,
0.003424066351726651,
0.030933640897274017,
0.029316306114196777,
-0.031052812933921814,
0.028226735070347786,
0.02861829847097397,
-0.030899591743946075,
-0.0027622361667454243,
-0.03959914669394493,
0.018011992797255516,
-0.00202485965564847,
-0.02596246637403965,
-0.036807116121053696,
-0.025383630767464638,
0.08287560194730759,
0.0462387278676033,
0.013994195498526096,
-0.014760300517082214,
0.06646391749382019,
-0.057747334241867065,
0.0719117745757103,
-0.004886051174253225,
0.014870960265398026,
0.0483497753739357,
0.03704546019434929,
-0.03793073818087578,
0.03701141104102135,
0.01877809874713421,
0.013526019640266895,
0.0003532597911544144,
0.041471850126981735,
-0.02381737157702446,
-0.01064886711537838,
-0.05461481586098671,
-0.02757980115711689,
-0.01433468610048294,
-0.018029017373919487,
0.010078544728457928,
0.03229560703039169,
-0.014266587793827057,
-0.009031533263623714,
-0.008639968000352383,
0.00119597592856735,
-0.008639968000352383,
-0.008997484110295773,
-0.04787308722734451,
-0.06288875639438629,
0.014453858137130737,
0.0647614598274231,
-0.0061075640842318535,
-0.01935693435370922,
0.022642675787210464,
-0.006030953489243984,
-0.010197716765105724,
0.0015322112012654543,
-0.013228089548647404,
-0.03183594346046448,
0.013977170921862125,
0.02366415038704872,
-0.06142464280128479,
-0.03759024664759636,
0.02165525034070015,
-0.05069916322827339,
-0.06125439703464508,
-0.06299090385437012,
0.06949428468942642,
-0.000575111189391464,
0.06312710046768188,
0.018199263140559196,
0.0032857416663318872,
0.02080402337014675,
0.05359334126114845,
-0.029486551880836487,
-0.05287830904126167,
0.041642095893621445,
0.058258071541786194,
-0.047362349927425385,
-0.005724511109292507,
0.060947954654693604,
-0.018897270783782005,
0.0529804565012455,
0.016598954796791077,
-0.007380150258541107,
0.00858889427036047,
0.02485586889088154,
-0.05618107691407204,
-0.0175523292273283,
0.10909343510866165,
0.010010446421802044,
0.06394428014755249,
-0.0013098276685923338,
0.005035016220062971,
-0.06843876093626022,
-0.028362931683659554,
-0.060062676668167114,
-0.0037815822288393974,
-0.05155039206147194,
0.021910618990659714,
0.008533565327525139,
0.00279415724799037,
-0.016530856490135193,
0.035921838134527206,
0.023715224117040634,
0.03273824602365494,
-0.06418262422084808,
0.019782548770308495,
-0.060437217354774475,
-0.0261667612940073,
0.03796478733420372,
0.012334300205111504,
0.02061675302684307,
0.0147688128054142,
-0.008525053039193153,
0.03418533131480217,
0.025332557037472725,
0.017654476687312126,
0.05781543254852295,
0.06758753955364227,
-0.010844649747014046,
-0.023374732583761215,
0.05097155645489693,
-0.0020621009171009064,
0.014530468732118607,
-0.003564518876373768,
0.05158444121479988,
-0.0769510492682457,
-0.017237374559044838,
0.01898239366710186,
-0.03558134660124779,
0.008312245830893517,
0.00992532353848219,
-0.05389978364109993,
0.0777682289481163,
-0.03362352401018143,
0.025638999417424202,
-0.04048442468047142,
0.00657999562099576,
0.013730314560234547,
0.010291351936757565,
0.011602243408560753,
-0.033061712980270386,
-0.043957434594631195,
0.004869026597589254,
-0.03953104838728905,
-0.05120990052819252,
0.020106015726923943,
0.03513870760798454,
-0.006218223366886377,
-0.00911665614694357,
-0.04579608887434006,
-0.0017482104012742639,
-0.0058011217042803764,
0.04106326028704643,
-0.008397368714213371,
-0.017279936000704765,
-0.04096111282706261,
0.0032814855221658945,
-0.01632656157016754,
-0.00626929709687829,
0.026098662987351418,
-0.033248983323574066,
0.06932403892278671,
-0.002387695712968707,
-0.00037241243990138173,
-0.029129035770893097,
0.012155542150139809,
0.013832462020218372,
0.027852194383740425,
-0.03810098394751549,
0.02044650726020336,
-0.00298142759129405,
0.017322497442364693,
-0.04351479560136795,
0.026558326557278633,
0.0011661829194054008,
-0.04034822806715965,
-0.020872121676802635,
0.012674790807068348,
-0.004626426380127668,
0.042152829468250275,
-0.006988585460931063,
0.031529501080513,
-0.003364480333402753,
-0.032125361263751984,
0.04726020246744156,
0.04606848210096359,
0.0049158441834151745,
0.026932867243885994,
-0.02202979102730751,
0.01190868578851223,
-0.01649680733680725,
0.05287830904126167,
-0.005967111326754093,
-0.0483497753739357,
0.015279550105333328,
-0.07913019508123398,
-0.01683729887008667,
-0.025724122300744057,
0.0239705927670002,
0.024617526680231094,
0.017467206344008446,
0.03942890092730522,
-0.012257689610123634,
-0.02671154774725437,
0.023425806313753128,
-0.013355773873627186,
-0.0937713235616684,
-0.003417682135477662,
-0.03629637882113457,
-0.04923505336046219,
-0.027869218960404396,
-0.0015886049950495362,
0.018029017373919487,
0.027341457083821297,
-0.026456179097294807,
-0.00286438362672925,
0.011253239586949348,
-0.013406847603619099,
0.025315532460808754,
-0.01559450477361679,
0.007827045395970345,
-0.0740228220820427,
0.044468171894550323,
-0.053082603961229324,
0.007346101105213165,
0.030848518013954163,
0.033027663826942444,
0.013474945910274982,
-0.009014508686959743,
-0.03025265783071518,
0.021161537617444992,
-0.014607079327106476,
0.00038837295142002404,
0.01138092391192913,
-0.005937318317592144,
0.035887788981199265,
-0.034815240651369095,
-0.009235828183591366,
0.0397353433072567,
-0.03956509754061699,
0.0454215481877327,
-0.07558908313512802,
-0.041471850126981735,
0.0027345712296664715,
-0.036636870354413986,
0.02259160205721855,
-0.02897581458091736,
-0.05781543254852295,
0.03544514998793602,
0.034151285886764526,
-0.035921838134527206,
0.032857418060302734,
0.05876880884170532,
0.05890500545501709,
-0.020735925063490868,
-0.028907716274261475,
-0.04028012976050377,
-0.028703421354293823,
-0.04443412274122238,
-0.018505705520510674,
-0.04671541601419449,
0.03132520616054535,
-0.03544514998793602,
0.0320572629570961,
-0.020906168967485428,
0.038781967014074326,
-0.005392531864345074,
-0.0070737083442509174,
-0.008861287496984005,
0.061697036027908325,
0.019408008083701134,
-0.013636679388582706,
0.015066742897033691,
0.027869218960404396,
0.04222092777490616,
0.03796478733420372,
0.04937124624848366,
0.03898626193404198,
0.03513870760798454,
0.017688525840640068,
-0.018403558060526848,
0.0009650802239775658,
0.02897581458091736,
-0.0433105006814003,
0.011431997641921043,
-0.04031417891383171,
-0.026388080790638924,
0.05795162916183472,
0.011338362470269203,
-0.008150512352585793,
-0.03799883648753166,
-0.04569394141435623,
-0.008120719343423843,
0.01478583738207817,
0.0277500469237566,
-0.023681174963712692,
0.03782859072089195,
0.03772644326090813,
0.05069916322827339,
-0.030167534947395325,
-0.011338362470269203,
-0.04317430406808853,
-0.04239117354154587,
0.01218959130346775,
0.0023727992083877325,
-0.007380150258541107,
0.040586572140455246,
-0.010521182790398598,
0.0508694089949131,
-0.013909072615206242,
0.017050106078386307,
0.002836718689650297,
-0.01702456921339035,
0.0954056829214096,
-0.005005223210901022,
0.020565679296851158,
0.007163086906075478,
-0.01173844002187252,
-0.008742115460336208,
-0.015168890357017517,
0.004124201834201813,
-0.03646662458777428,
-0.008827238343656063,
-0.009363512508571148,
-0.03398104012012482,
0.014828398823738098,
0.001604565535672009,
-0.030678272247314453,
0.08049216121435165,
-0.007192879915237427,
-0.049166955053806305,
-0.0041284579783678055,
-0.00847397930920124,
-0.0027005220763385296,
0.029435478150844574,
-0.01655639335513115,
0.08988972008228302,
0.029656797647476196,
0.001259818091057241,
0.00039076703251339495,
0.007150318473577499,
0.03272122144699097,
-0.04603443294763565,
0.022915069013834,
0.07592957466840744,
-0.04903075844049454,
-0.045830138027668,
-0.007060939911752939,
0.009814663790166378,
0.028362931683659554,
-0.008912361226975918,
0.06714490056037903,
-0.008742115460336208,
-0.022114913910627365,
-0.001956761348992586,
-0.040722768753767014,
-0.025860318914055824,
0.014564517885446548,
0.03171677142381668,
-0.035887788981199265,
0.0001052730149240233,
0.017050106078386307,
-0.0752485916018486,
-0.04889456182718277,
-0.04800928384065628,
-0.01361114252358675,
-0.0007602534024044871,
-0.016062680631875992,
-0.019254786893725395,
-0.004230605438351631,
-0.01379841286689043,
0.04657921940088272,
0.03925865516066551,
0.05992648005485535,
0.034151285886764526,
-0.007009866181761026,
-0.025707097724080086,
0.021893594413995743,
0.027341457083821297,
0.018029017373919487,
-0.03922460600733757,
-0.0027175466530025005,
-0.029605723917484283,
-0.03799883648753166,
0.022336233407258987,
0.04797523468732834,
0.03891816362738609,
0.05931359529495239,
0.020667826756834984,
-0.01973147504031658,
-0.07518049329519272,
-0.05287830904126167,
0.0021089185029268265,
-0.02526445873081684,
0.015381697565317154,
-0.008184561505913734,
0.02255755290389061,
-0.025349581614136696,
0.0067161922343075275,
-0.001697136671282351,
-0.007971754297614098,
0.023051265627145767,
0.024992065504193306,
-0.011151092126965523,
-0.028890691697597504,
-0.027494678273797035,
-0.001973785925656557,
-0.0007357805734500289,
0.009525245986878872,
0.07490810006856918,
0.029401428997516632,
0.03113793581724167,
-0.02080402337014675,
-0.04858811944723129,
-0.0002380779478698969,
-0.10759527236223221,
0.036636870354413986,
0.020003868266940117,
-0.024055715650320053,
-0.015679627656936646,
0.015943508595228195,
0.03772644326090813,
0.020106015726923943,
0.0559086836874485,
0.012691815383732319,
-0.035513248294591904,
0.012138517573475838,
0.040552522987127304,
-0.00120768032502383,
0.0016577673377469182,
0.012555618770420551,
-0.01263222936540842,
0.013815437443554401,
0.010146643035113811,
0.05941574275493622,
-0.01728844828903675,
0.0008677209843881428,
0.039156507700681686,
-0.06067556142807007,
-0.026388080790638924,
-0.026541301980614662
] |
9,663 | asyncclick.decorators | version_option | Add a ``--version`` option which immediately prints the version
number and exits the program.
If ``version`` is not provided, Click will try to detect it using
:func:`importlib.metadata.version` to get the version for the
``package_name``. On Python < 3.8, the ``importlib_metadata``
backport must be installed.
If ``package_name`` is not provided, Click will try to detect it by
inspecting the stack frames. This will be used to detect the
version, so it must match the name of the installed package.
:param version: The version number to show. If not provided, Click
will try to detect it.
:param param_decls: One or more option names. Defaults to the single
value ``"--version"``.
:param package_name: The package name to detect the version from. If
not provided, Click will try to detect it.
:param prog_name: The name of the CLI to show in the message. If not
provided, it will be detected from the command.
:param message: The message to show. The values ``%(prog)s``,
``%(package)s``, and ``%(version)s`` are available. Defaults to
``"%(prog)s, version %(version)s"``.
:param kwargs: Extra arguments are passed to :func:`option`.
:raise RuntimeError: ``version`` could not be detected.
.. versionchanged:: 8.0
Add the ``package_name`` parameter, and the ``%(package)s``
value for messages.
.. versionchanged:: 8.0
Use :mod:`importlib.metadata` instead of ``pkg_resources``. The
version is detected based on the package name, not the entry
point name. The Python package name must match the installed
package name, or be passed with ``package_name=``.
| def version_option(
version: t.Optional[str] = None,
*param_decls: str,
package_name: t.Optional[str] = None,
prog_name: t.Optional[str] = None,
message: t.Optional[str] = None,
**kwargs: t.Any,
) -> t.Callable[[FC], FC]:
"""Add a ``--version`` option which immediately prints the version
number and exits the program.
If ``version`` is not provided, Click will try to detect it using
:func:`importlib.metadata.version` to get the version for the
``package_name``. On Python < 3.8, the ``importlib_metadata``
backport must be installed.
If ``package_name`` is not provided, Click will try to detect it by
inspecting the stack frames. This will be used to detect the
version, so it must match the name of the installed package.
:param version: The version number to show. If not provided, Click
will try to detect it.
:param param_decls: One or more option names. Defaults to the single
value ``"--version"``.
:param package_name: The package name to detect the version from. If
not provided, Click will try to detect it.
:param prog_name: The name of the CLI to show in the message. If not
provided, it will be detected from the command.
:param message: The message to show. The values ``%(prog)s``,
``%(package)s``, and ``%(version)s`` are available. Defaults to
``"%(prog)s, version %(version)s"``.
:param kwargs: Extra arguments are passed to :func:`option`.
:raise RuntimeError: ``version`` could not be detected.
.. versionchanged:: 8.0
Add the ``package_name`` parameter, and the ``%(package)s``
value for messages.
.. versionchanged:: 8.0
Use :mod:`importlib.metadata` instead of ``pkg_resources``. The
version is detected based on the package name, not the entry
point name. The Python package name must match the installed
package name, or be passed with ``package_name=``.
"""
if message is None:
message = _("%(prog)s, version %(version)s")
if version is None and package_name is None:
frame = inspect.currentframe()
f_back = frame.f_back if frame is not None else None
f_globals = f_back.f_globals if f_back is not None else None
# break reference cycle
# https://docs.python.org/3/library/inspect.html#the-interpreter-stack
del frame
if f_globals is not None:
package_name = f_globals.get("__name__")
if package_name == "__main__":
package_name = f_globals.get("__package__")
if package_name:
package_name = package_name.partition(".")[0]
def callback(ctx: Context, param: Parameter, value: bool) -> None:
if not value or ctx.resilient_parsing:
return
nonlocal prog_name
nonlocal version
if prog_name is None:
prog_name = ctx.find_root().info_name
if version is None and package_name is not None:
metadata: t.Optional[types.ModuleType]
try:
from importlib import metadata # type: ignore
except ImportError:
# Python < 3.8
import importlib_metadata as metadata # type: ignore
try:
version = metadata.version(package_name) # type: ignore
except metadata.PackageNotFoundError: # type: ignore
raise RuntimeError(
f"{package_name!r} is not installed. Try passing"
" 'package_name' instead."
) from None
if version is None:
raise RuntimeError(
f"Could not determine the version for {package_name!r} automatically."
)
echo(
message % {"prog": prog_name, "package": package_name, "version": version},
color=ctx.color,
)
ctx.exit()
if not param_decls:
param_decls = ("--version",)
kwargs.setdefault("is_flag", True)
kwargs.setdefault("expose_value", False)
kwargs.setdefault("is_eager", True)
kwargs.setdefault("help", _("Show the version and exit."))
kwargs["callback"] = callback
return option(*param_decls, **kwargs)
| (version: Optional[str] = None, *param_decls: str, package_name: Optional[str] = None, prog_name: Optional[str] = None, message: Optional[str] = None, **kwargs: Any) -> Callable[[~FC], ~FC] | [
0.093363918364048,
0.021560734137892723,
-0.009801233187317848,
0.013460624031722546,
0.07176361978054047,
-0.028938857838511467,
0.017624417319893837,
0.00041569938184693456,
-0.0130452336743474,
-0.0469193235039711,
-0.00629514129832387,
-0.04569293186068535,
-0.02850368618965149,
-0.022154148668050766,
0.020007966086268425,
0.0360993966460228,
0.02583331987261772,
0.027613565325737,
0.015359550714492798,
0.05997444689273834,
0.04577205702662468,
-0.011888074688613415,
-0.024686051532626152,
0.027653126046061516,
0.03475432097911835,
-0.002539320383220911,
0.04941166564822197,
-0.0031352078076452017,
-0.021976124495267868,
-0.0389082245528698,
0.01776288077235222,
-0.06800532341003418,
0.025655295699834824,
0.038967564702034,
-0.0221739299595356,
0.014963940717279911,
-0.0019261252600699663,
0.018435416743159294,
0.022213490679860115,
-0.03143119812011719,
0.049767713993787766,
0.002895369427278638,
0.03344880789518356,
-0.011650709435343742,
0.005157763138413429,
0.014360636472702026,
0.014113379642367363,
-0.037563152611255646,
-0.06681849807500839,
-0.06250634789466858,
0.06582947075366974,
-0.008238574489951134,
0.04545556753873825,
-0.04331927374005318,
-0.0332905650138855,
0.0658690333366394,
0.08418577164411545,
-0.0013388919178396463,
0.020809076726436615,
0.027158614248037338,
0.013430953025817871,
0.023697027936577797,
-0.024844296276569366,
0.0526556670665741,
-0.05542493611574173,
0.009059464558959007,
0.03509059175848961,
-0.05051937326788902,
-0.05720517784357071,
0.00009982966730603948,
0.006057775113731623,
0.061715129762887955,
-0.017090344801545143,
-0.02276734448969364,
0.01412327028810978,
-0.019444221630692482,
-0.06638332456350327,
-0.014429868198931217,
-0.019750820472836494,
-0.027336638420820236,
0.010177062824368477,
-0.026822345331311226,
-0.028800394386053085,
-0.01374744065105915,
0.004235497675836086,
0.019543124362826347,
-0.0005387092824093997,
-0.003572851186618209,
0.009692440740764141,
0.0750076174736023,
-0.04193463921546936,
0.003088229103013873,
-0.012679294683039188,
0.06966688483953476,
-0.0388488844037056,
-0.051627080887556076,
0.06480088829994202,
-0.06737235188484192,
0.007269330322742462,
0.027593784034252167,
0.02793005295097828,
-0.06871742755174637,
0.015319989994168282,
-0.013223257847130299,
0.006947897374629974,
-0.014301294460892677,
-0.027395980432629585,
0.01864311285316944,
0.05886673927307129,
-0.04173683375120163,
-0.012699075043201447,
-0.0766296237707138,
-0.02365746721625328,
-0.048936933279037476,
-0.015092514455318451,
0.015745270997285843,
-0.02084863744676113,
-0.02806851640343666,
0.022213490679860115,
0.009158367291092873,
-0.004205826669931412,
0.020868416875600815,
-0.00810505636036396,
-0.03449717536568642,
-0.014607892371714115,
-0.031688347458839417,
-0.005498976446688175,
0.017832111567258835,
0.034873005002737045,
0.0031945493537932634,
0.09217708557844162,
0.005207214038819075,
0.004418467171490192,
-0.05356556922197342,
-0.03131251782178879,
-0.04023351892828941,
-0.06488000601530075,
0.026763003319501877,
-0.03815656527876854,
0.04909517616033554,
-0.037365347146987915,
0.00932155642658472,
-0.033330127596855164,
-0.000941427715588361,
-0.016684843227267265,
-0.07801425457000732,
0.0329345166683197,
-0.08007142692804337,
-0.015577136538922787,
0.022708002477884293,
0.0548710823059082,
0.018544210121035576,
0.04391269013285637,
0.01011277548968792,
0.0026950917672365904,
-0.006488000974059105,
-0.006562177557498217,
-0.07619445025920868,
0.0061912937089800835,
-0.023756369948387146,
0.033468589186668396,
-0.06887567043304443,
0.061517324298620224,
-0.0035159823019057512,
0.012669404037296772,
-0.0009340100223198533,
0.008080330677330494,
0.03087734617292881,
-0.007264384999871254,
0.03693017736077309,
0.014963940717279911,
0.017228808254003525,
0.001284495578147471,
0.009984202682971954,
-0.006398988887667656,
0.08521435409784317,
-0.0011769392294809222,
-0.01185840368270874,
0.07773733139038086,
-0.05736342445015907,
-0.004841275047510862,
-0.011195757426321507,
-0.02620914950966835,
0.0012189727276563644,
0.013470513746142387,
0.01993873529136181,
0.0008431434398517013,
-0.006730312015861273,
0.0038299974985420704,
-0.04498083516955376,
-0.013065014034509659,
-0.038571957498788834,
0.04347751662135124,
0.03833458945155144,
-0.048224836587905884,
-0.02276734448969364,
-0.049372103065252304,
0.012699075043201447,
0.04763142019510269,
-0.07797469198703766,
0.058787617832422256,
-0.018583770841360092,
0.0025887717492878437,
0.0012220634380355477,
0.018910149112343788,
0.044268738478422165,
0.03821590915322304,
-0.014014477841556072,
0.000778856803663075,
-0.022015685215592384,
0.04225112870335579,
-0.06523606181144714,
0.01809914968907833,
0.05305127426981926,
-0.03390376269817352,
-0.03491256758570671,
0.044901713728904724,
-0.013272709213197231,
-0.011719941161572933,
0.012016648426651955,
0.040747810155153275,
0.0031228449661284685,
0.07211966812610626,
0.11464772373437881,
0.030798224732279778,
-0.03139163926243782,
0.04415005445480347,
0.00020954957290086895,
0.04616766422986984,
-0.011838623322546482,
0.0002967073523905128,
-0.007650104817003012,
0.019483782351017,
-0.018840916454792023,
-0.07571972161531448,
-0.0165859404951334,
0.013757331296801567,
0.06737235188484192,
-0.01175950188189745,
-0.032815832644701004,
0.039086248725652695,
0.03004656545817852,
0.024389345198869705,
0.019632136449217796,
0.012283684685826302,
-0.025022320449352264,
-0.025299247354269028,
-0.0274355411529541,
-0.0012993309646844864,
0.015656258910894394,
-0.030897125601768494,
0.01895960047841072,
-0.0064533851109445095,
0.043002787977457047,
-0.00888144038617611,
-0.010305635631084442,
-0.01473646517843008,
-0.004586601164191961,
0.006572068203240633,
0.038571957498788834,
-0.03752359002828598,
-0.029136663302779198,
-0.05463371425867081,
0.024132197722792625,
0.03631697967648506,
-0.0051874336786568165,
0.026031125336885452,
-0.08252421021461487,
0.015854062512516975,
0.04066868871450424,
-0.0689152330160141,
0.01230346504598856,
-0.039481859654188156,
0.016595831140875816,
-0.020245332270860672,
-0.024389345198869705,
-0.04327971488237381,
-0.0522996187210083,
-0.01993873529136181,
0.004794296342879534,
0.047394055873155594,
0.01847497746348381,
-0.020275002345442772,
0.06776796281337738,
-0.06187337636947632,
0.049134738743305206,
-0.006755037698894739,
0.044268738478422165,
-0.015082623809576035,
0.031233394518494606,
0.04953034967184067,
0.038255468010902405,
0.050400689244270325,
-0.03748403117060661,
-0.037800516933202744,
0.050282008945941925,
0.0192464180290699,
-0.005058860406279564,
0.005731397308409214,
-0.08058571815490723,
0.07144713401794434,
-0.04252805560827255,
-0.0026950917672365904,
0.025595955550670624,
0.017881562933325768,
0.01695188134908676,
0.04834352061152458,
-0.07908239960670471,
-0.009771562181413174,
0.005291281268000603,
0.015824392437934875,
0.024508027359843254,
-0.008322641253471375,
-0.054356787353754044,
-0.02397395484149456,
-0.012194672599434853,
-0.01041442807763815,
-0.05384249612689018,
0.0061270068399608135,
-0.022292612120509148,
-0.01390568446367979,
0.00698251323774457,
0.0387895405292511,
0.01649692840874195,
-0.016625503078103065,
0.011937526054680347,
-0.01598263718187809,
0.02417176030576229,
0.004277531057596207,
-0.007101196330040693,
-0.005681945942342281,
0.061082154512405396,
0.010671574622392654,
0.05601834878325462,
-0.04236981272697449,
0.03414112702012062,
-0.028998199850320816,
-0.03406200557947159,
0.01533977035433054,
0.014588112011551857,
0.0962914302945137,
0.012610062956809998,
-0.06001400947570801,
-0.007778678089380264,
-0.03892800584435463,
0.03625763952732086,
0.05067761614918709,
0.034615859389305115,
0.04415005445480347,
-0.023380540311336517,
-0.03372573480010033,
0.024310223758220673,
-0.03689061477780342,
0.0011095618829131126,
0.025457492098212242,
-0.04078737273812294,
0.03081800416111946,
-0.052062250673770905,
0.023499222472310066,
-0.01182873360812664,
-0.07255484163761139,
-0.016773855313658714,
0.02237173542380333,
0.0017035948112607002,
-0.014884819276630878,
-0.036851055920124054,
0.02812785841524601,
0.012471599504351616,
-0.014973831363022327,
-0.00458165630698204,
0.00910891592502594,
-0.050084203481674194,
0.04569293186068535,
-0.05491064116358757,
0.009183092974126339,
-0.008307806216180325,
-0.024587150663137436,
0.014716684818267822,
-0.04577205702662468,
-0.027850931510329247,
-0.028147637844085693,
0.008441324345767498,
-0.008733086287975311,
0.0026036070194095373,
-0.006591848563402891,
-0.017209026962518692,
-0.019543124362826347,
-0.01770353876054287,
0.015676038339734077,
-0.0028607535641640425,
-0.033468589186668396,
0.024626711383461952,
0.014014477841556072,
0.01898927055299282,
0.0022846467327326536,
0.024527808651328087,
0.02039368636906147,
-0.016338685527443886,
-0.026545418426394463,
-0.014815587550401688,
0.004225607495754957,
0.009514415636658669,
0.056928250938653946,
-0.017545295879244804,
-0.004097034223377705,
-0.020670613273978233,
0.03892800584435463,
-0.03483344241976738,
-0.045613810420036316,
-0.02858280949294567,
0.016674954444169998,
-0.04442698135972023,
-0.09858596324920654,
0.011927635408937931,
0.021976124495267868,
0.036593906581401825,
-0.00014920362445991486,
0.024112418293952942,
0.02025522291660309,
-0.038967564702034,
0.05483151972293854,
0.013065014034509659,
0.01329248957335949,
0.082840695977211,
0.026387173682451248,
0.017337599769234657,
-0.015329880639910698,
0.022589320316910744,
-0.01947389356791973,
-0.010216623544692993,
0.011235319077968597,
-0.031549882143735886,
0.01982005126774311,
-0.0012529704254120588,
-0.04672151803970337,
0.017031002789735794,
0.0014748828252777457,
-0.0247453935444355,
0.003503619460389018,
-0.022648662328720093,
-0.012036428786814213,
-0.010266074910759926,
0.023538783192634583,
-0.019147515296936035,
-0.04767098277807236,
0.0033651560079306364,
0.02314317412674427,
0.022094808518886566,
-0.01830684393644333,
-0.08426488935947418,
-0.005553372669965029,
0.013124355114996433,
-0.028780613094568253,
-0.019226636737585068,
-0.06033049523830414,
-0.03265758976340294,
-0.06452395766973495,
0.031807027757167816,
-0.04850176349282265,
0.019869502633810043,
-0.007348452229052782,
0.011136416345834732,
0.03754337131977081,
0.01077047735452652,
0.02563551627099514,
-0.009979257360100746,
0.07437464594841003,
-0.03382463753223419,
-0.0799131840467453,
-0.016427697613835335,
-0.0009055755799636245,
-0.04846220090985298,
0.00417368346825242,
0.09882333129644394,
0.0289586391299963,
0.01259028259664774,
0.009133641608059406,
-0.013480404391884804,
-0.06697674095630646,
-0.01011277548968792,
-0.02607068605720997,
0.07496806234121323,
0.015191417187452316,
0.07789557427167892,
-0.025081662461161613,
-0.027989394962787628,
0.05684912949800491,
-0.031352076679468155,
-0.009103970602154732,
-0.003137680236250162,
-0.03220263868570328,
-0.006567122880369425,
0.03528839349746704,
-0.03240044414997101,
0.06218986213207245,
0.035901591181755066,
0.028167419135570526,
0.003637137822806835,
0.02569485642015934,
-0.032637808471918106,
-0.03093668818473816,
0.016566161066293716,
0.026763003319501877,
-0.05044025182723999,
0.01635846495628357,
-0.03748403117060661,
0.009672660380601883,
-0.006240744609385729,
0.03081800416111946,
-0.005236885044723749,
-0.03714776039123535,
0.01809914968907833,
0.06325800716876984,
0.0554644949734211,
0.0360993966460228,
0.006008324213325977,
-0.03350815176963806,
-0.004126704763621092,
0.02122446708381176,
-0.02698059007525444,
-0.002934930380433798,
-0.007739116903394461,
0.04858088493347168,
-0.05760078877210617,
-0.00018451489449944347,
-0.012580391950905323,
0.018069477751851082,
-0.03465541824698448,
0.04244893416762352,
0.030956467613577843,
-0.05210181325674057,
0.055266689509153366,
0.003187131602317095,
0.05210181325674057,
0.012016648426651955,
-0.0579172782599926,
-0.053407326340675354,
0.09589581936597824,
-0.07113064080476761,
-0.0469193235039711,
0.017060672864317894,
0.057759031653404236,
-0.017258478328585625,
0.0061270068399608135,
0.027890492230653763,
-0.022391514852643013,
-0.00820890348404646,
0.01092872116714716,
0.024587150663137436,
-0.06753059476613998,
-0.08608469367027283,
0.04889737442135811,
0.04486215114593506,
0.014835367910563946,
0.005815464071929455,
0.007768787909299135,
0.04474347084760666,
0.04513907805085182,
0.005026717204600573,
-0.059420593082904816,
-0.03342903032898903,
0.042923666536808014,
-0.025793759152293205,
-0.08110000938177109,
0.02907732129096985,
0.01479580719023943,
0.038512613624334335,
-0.040431324392557144,
0.05285347253084183,
-0.03420046716928482,
0.01345073338598013,
-0.04968859255313873,
0.03880932182073593,
-0.013391392305493355,
-0.02755422331392765,
0.04885781183838844,
0.0497281551361084,
0.030066344887018204,
0.03778073564171791,
0.018751904368400574,
0.00813472643494606,
-0.02256953902542591,
0.00863418448716402,
0.022609101608395576,
-0.03689061477780342,
0.08007142692804337,
0.011532026343047619,
0.012669404037296772,
0.034101564437150955,
0.03368617594242096,
-0.041974201798439026,
-0.0886957198381424,
0.0178716741502285,
-0.014301294460892677,
0.014657343737781048,
-0.010740806348621845,
-0.014063929207623005,
0.010424318723380566,
0.1045992374420166,
-0.02557617425918579,
-0.03406200557947159,
-0.013856234028935432,
-0.03214329853653908,
-0.015478233806788921,
0.008342421613633633,
0.031114712357521057,
-0.0661064013838768,
0.012699075043201447,
-0.04213244467973709,
0.04577205702662468,
-0.033982884138822556,
-0.015211197547614574,
-0.0522996187210083,
-0.08363191783428192,
-0.009286940097808838,
0.06246678903698921,
0.017604636028409004,
0.012184781953692436,
0.0468006394803524,
0.005202269181609154,
0.005716561805456877,
0.07643181830644608,
0.031807027757167816,
-0.009697385132312775,
-0.010879269801080227,
0.022965149953961372,
-0.05866893380880356,
-0.0029200948774814606,
-0.01598263718187809,
-0.046563275158405304,
0.0036470280028879642,
-0.008322641253471375,
0.017238697037100792,
0.011818842962384224,
0.05067761614918709,
-0.08268245309591293,
0.009400677867233753,
-0.02294536866247654,
0.02243107557296753,
0.01615077070891857,
0.042804982513189316,
-0.006077555939555168,
-0.016111209988594055,
-0.0013228203170001507,
0.026881687343120575,
0.0247453935444355,
-0.005948982667177916,
0.017911234870553017,
0.0882209911942482,
-0.007699556183069944,
0.017822222784161568,
-0.004037692677229643,
-0.030976248905062675,
-0.01546834409236908,
0.012273794040083885,
0.006883610971271992,
-0.03010590746998787,
0.003320649964734912,
-0.030185028910636902,
0.06626464426517487,
-0.0018692563753575087,
0.016279343515634537,
0.035703785717487335,
0.011324331164360046,
-0.030066344887018204,
-0.02998722344636917,
-0.006586903240531683,
-0.06052830070257187,
0.03880932182073593,
-0.025556394830346107,
-0.005988543387502432,
-0.020433247089385986,
0.010790257714688778,
0.02225305140018463,
-0.014063929207623005,
-0.03548619896173477,
-0.016625503078103065,
0.05819420516490936,
-0.010434208437800407,
-0.005672055762261152,
0.07702522724866867,
-0.019325539469718933,
0.017950795590877533,
-0.013569416478276253,
-0.02973007783293724,
-0.028780613094568253,
0.013826563023030758,
0.027514662593603134,
0.019028831273317337,
-0.05463371425867081,
-0.007239659782499075,
-0.023993734270334244,
-0.02148161269724369,
-0.016536490991711617,
-0.011996867135167122,
-0.018000246956944466,
-0.06539430469274521,
-0.007076470647007227,
0.004228079691529274,
-0.009445183910429478,
0.08473962545394897,
0.010266074910759926,
-0.022015685215592384,
0.07362298667430878,
-0.05202269181609154,
0.01345073338598013,
-0.05115234851837158,
-0.047908347100019455,
-0.027277296409010887,
-0.011354001238942146,
-0.00674514751881361,
-0.012441928498446941,
-0.0001574712514411658,
-0.0026357504539191723,
0.05146883800625801,
0.01002376340329647,
-0.07168449461460114,
0.03271692991256714,
-0.005325897131115198,
0.029492711648344994,
-0.07809337973594666,
0.029374029487371445,
0.04189508035778999,
-0.01741672120988369,
0.00766988517716527,
0.012669404037296772,
-0.024705832824110985,
-0.015151855535805225,
0.0328751765191555,
0.010701245628297329,
-0.003503619460389018,
-0.028661930933594704,
-0.041380785405635834,
-0.05752166733145714,
0.06970644742250443,
0.009964422322809696,
0.035505980253219604,
0.013154026120901108,
0.06187337636947632,
-0.041380785405635834,
-0.024824514985084534,
0.03898734599351883,
-0.06883610785007477,
-0.0331125408411026,
0.022411296144127846,
0.03514993190765381,
-0.010394647717475891,
-0.018771685659885406,
-0.008184177801012993,
-0.02666410058736801,
-0.013144136406481266,
-0.013727660290896893,
-0.03050151653587818,
0.013895794749259949,
0.04980727657675743,
0.003290979191660881,
0.00789241585880518,
0.05190400779247284,
0.03645544499158859,
-0.029868541285395622,
-0.010810038074851036,
0.06408879160881042,
0.005805573891848326,
-0.05894586071372032,
0.04236981272697449,
0.014528769999742508,
-0.06709542125463486,
0.00727427564561367
] |
9,664 | asyncclick.formatting | wrap_text | A helper function that intelligently wraps text. By default, it
assumes that it operates on a single paragraph of text but if the
`preserve_paragraphs` parameter is provided it will intelligently
handle paragraphs (defined by two empty lines).
If paragraphs are handled, a paragraph can be prefixed with an empty
line containing the ``\b`` character (``\x08``) to indicate that
no rewrapping should happen in that block.
:param text: the text that should be rewrapped.
:param width: the maximum width for the text.
:param initial_indent: the initial indent that should be placed on the
first line as a string.
:param subsequent_indent: the indent string that should be placed on
each consecutive line.
:param preserve_paragraphs: if this flag is set then the wrapping will
intelligently handle paragraphs.
| def wrap_text(
text: str,
width: int = 78,
initial_indent: str = "",
subsequent_indent: str = "",
preserve_paragraphs: bool = False,
) -> str:
"""A helper function that intelligently wraps text. By default, it
assumes that it operates on a single paragraph of text but if the
`preserve_paragraphs` parameter is provided it will intelligently
handle paragraphs (defined by two empty lines).
If paragraphs are handled, a paragraph can be prefixed with an empty
line containing the ``\\b`` character (``\\x08``) to indicate that
no rewrapping should happen in that block.
:param text: the text that should be rewrapped.
:param width: the maximum width for the text.
:param initial_indent: the initial indent that should be placed on the
first line as a string.
:param subsequent_indent: the indent string that should be placed on
each consecutive line.
:param preserve_paragraphs: if this flag is set then the wrapping will
intelligently handle paragraphs.
"""
from ._textwrap import TextWrapper
text = text.expandtabs()
wrapper = TextWrapper(
width,
initial_indent=initial_indent,
subsequent_indent=subsequent_indent,
replace_whitespace=False,
)
if not preserve_paragraphs:
return wrapper.fill(text)
p: t.List[t.Tuple[int, bool, str]] = []
buf: t.List[str] = []
indent = None
def _flush_par() -> None:
if not buf:
return
if buf[0].strip() == "\b":
p.append((indent or 0, True, "\n".join(buf[1:])))
else:
p.append((indent or 0, False, " ".join(buf)))
del buf[:]
for line in text.splitlines():
if not line:
_flush_par()
indent = None
else:
if indent is None:
orig_len = term_len(line)
line = line.lstrip()
indent = orig_len - term_len(line)
buf.append(line)
_flush_par()
rv = []
for indent, raw, text in p:
with wrapper.extra_indent(" " * indent):
if raw:
rv.append(wrapper.indent_only(text))
else:
rv.append(wrapper.fill(text))
return "\n\n".join(rv)
| (text: str, width: int = 78, initial_indent: str = '', subsequent_indent: str = '', preserve_paragraphs: bool = False) -> str | [
0.022382138296961784,
-0.025590434670448303,
0.02595113031566143,
0.04381507635116577,
0.016800841316580772,
-0.017617153003811836,
-0.033506762236356735,
-0.06352046877145767,
0.012083317153155804,
0.05049744248390198,
-0.020255928859114647,
-0.028703810647130013,
-0.010934785008430481,
-0.004912110511213541,
-0.03550008311867714,
-0.026558617129921913,
0.007674282416701317,
-0.05531938001513481,
0.0035191592760384083,
-0.018376514315605164,
0.07798627763986588,
0.005125680472701788,
0.049586210399866104,
0.04620705917477608,
0.020654592663049698,
-0.009900156408548355,
0.0027479343116283417,
0.025286689400672913,
-0.0005843513063155115,
0.01726594939827919,
0.05668623000383377,
-0.02583722583949566,
0.0077834404073655605,
0.02234417013823986,
0.022059408947825432,
0.005239584483206272,
-0.014351905323565006,
-0.04073966667056084,
0.027374930679798126,
-0.07046861201524734,
-0.029709963127970695,
0.03709473833441734,
0.02253400906920433,
-0.03823377937078476,
-0.02076849713921547,
-0.0006721523241139948,
0.07088626176118851,
-0.014313937164843082,
-0.0019138247007504106,
-0.03043135441839695,
0.04859904199838638,
-0.04977605119347572,
0.04673861339688301,
-0.005642994306981564,
-0.023654066026210785,
0.009767268784344196,
0.005301282275468111,
0.033392857760190964,
0.037265595048666,
-0.10433607548475266,
0.02710915356874466,
-0.008860782720148563,
0.06503918766975403,
0.03675302863121033,
-0.051560547202825546,
-0.031190713867545128,
0.015396025031805038,
-0.032538577914237976,
0.02429952099919319,
0.0012576901353895664,
-0.023293370380997658,
0.03519633784890175,
-0.003844260238111019,
-0.03903110697865486,
-0.03365863487124443,
0.05220600217580795,
-0.00809193029999733,
0.000009200010026688688,
0.03325996920466423,
-0.020123042166233063,
0.004340217448771,
0.04039795324206352,
0.040132179856300354,
0.0026719982270151377,
0.06036912277340889,
-0.03684794530272484,
-0.008599752560257912,
-0.0019802686292678118,
0.10243767499923706,
-0.029596058651804924,
-0.02333133853971958,
-0.0012659955536946654,
0.04909262806177139,
0.005358234513550997,
0.007916328497231007,
-0.017531724646687508,
0.04278993979096413,
-0.06386218219995499,
-0.04252416267991066,
0.006013182457536459,
-0.002477412112057209,
0.06549480557441711,
0.017246965318918228,
-0.0023421512451022863,
-0.002130954060703516,
-0.030070658773183823,
-0.06845630705356598,
-0.004188345279544592,
0.07639162242412567,
-0.0038466332480311394,
0.017977848649024963,
-0.06481137871742249,
-0.01180804893374443,
-0.029690979048609734,
0.02390085719525814,
-0.007028826512396336,
-0.050079796463251114,
0.028551938012242317,
0.020255928859114647,
-0.06636806577444077,
-0.0037184911780059338,
-0.09165476262569427,
-0.027469849213957787,
-0.056914035230875015,
0.0025462291669100523,
0.036430299282073975,
0.013810860924422741,
0.05201616510748863,
0.06898786127567291,
-0.03090595453977585,
-0.010801896452903748,
0.017000174149870872,
0.03836666792631149,
-0.000635964039247483,
-0.0013715941458940506,
-0.008419404737651348,
-0.000252427882514894,
0.1045638769865036,
-0.01141887716948986,
-0.01579468883574009,
0.028893649578094482,
0.0021831602789461613,
0.017218489199876785,
0.06951941549777985,
-0.04408084973692894,
0.021091226488351822,
0.03986640274524689,
0.0070383185520768166,
0.029785897582769394,
0.10129863023757935,
0.06412795931100845,
-0.030602211132645607,
0.06651993840932846,
0.055926866829395294,
-0.010279837064445019,
0.0008969940827228129,
-0.01453225314617157,
-0.015196693129837513,
0.03960062563419342,
0.01978132873773575,
0.0012042976450175047,
-0.032823339104652405,
0.01903146132826805,
-0.0009687773417681456,
0.005054490175098181,
0.04089153930544853,
-0.06617823243141174,
-0.044232722371816635,
0.0012576901353895664,
0.0010779353324323893,
0.014693616889417171,
0.02545754611492157,
0.0329752117395401,
-0.01453225314617157,
-0.013383721001446247,
0.022306201979517937,
-0.022647913545370102,
-0.01756969280540943,
-0.015481453388929367,
-0.02097732201218605,
-0.020255928859114647,
-0.03109579347074032,
-0.010934785008430481,
-0.006302688270807266,
-0.01527262944728136,
0.013763400726020336,
0.01389628928154707,
-0.027261026203632355,
0.004636842291802168,
-0.025495514273643494,
-0.023350322619080544,
-0.05102899670600891,
0.04924450069665909,
-0.01678185723721981,
-0.0384615883231163,
0.029482154175639153,
0.008020740933716297,
0.017788009718060493,
-0.029520122334361076,
0.0074037606827914715,
-0.024793105199933052,
0.00690068444237113,
0.014171557500958443,
-0.012368077412247658,
0.05941992625594139,
0.0035761112812906504,
-0.07487290352582932,
-0.00017070770263671875,
-0.10722164064645767,
0.02437545731663704,
0.007171206641942263,
-0.058280885219573975,
-0.005728422664105892,
0.007128492463380098,
0.02748883329331875,
-0.039448756724596024,
0.04351133108139038,
0.05888837203383446,
0.019268762320280075,
-0.03481665998697281,
-0.009188257157802582,
0.02877974696457386,
-0.02008507400751114,
0.000006882627531012986,
0.01921181008219719,
-0.018841620534658432,
0.03952468931674957,
-0.01140938512980938,
0.04943434149026871,
0.04415678605437279,
0.009658110328018665,
-0.06196378171443939,
-0.08079590648412704,
-0.011191069148480892,
0.06074880436062813,
-0.14769552648067474,
-0.02595113031566143,
-0.07904937863349915,
0.03327895328402519,
-0.0471942275762558,
0.0008465677965432405,
0.02953910641372204,
0.019876249134540558,
0.007375284563750029,
-0.030393386259675026,
0.0024252061266452074,
-0.03276638686656952,
0.007119000423699617,
0.02857092209160328,
0.006397608667612076,
-0.03836666792631149,
-0.005595534574240446,
-0.00995710864663124,
-0.00434496346861124,
-0.019373172894120216,
0.02409069798886776,
0.013383721001446247,
0.00883230660110712,
0.028988569974899292,
0.0670514926314354,
0.056344516575336456,
-0.03198804333806038,
-0.06462153792381287,
-0.006487782578915358,
0.05383862927556038,
-0.02936824969947338,
-0.03971453011035919,
0.0027336962521076202,
0.024147650226950645,
0.02722305804491043,
-0.03586077690124512,
0.0003657386405393481,
0.04723219573497772,
0.0005837580538354814,
-0.029292313382029533,
0.038499556481838226,
0.015196693129837513,
0.010593072511255741,
0.020312881097197533,
-0.04438459500670433,
-0.00843364279717207,
0.02906450629234314,
-0.02135700173676014,
-0.062001749873161316,
-0.016440145671367645,
-0.031361568719148636,
-0.04047388955950737,
0.0014760061167180538,
0.01555738877505064,
-0.0454476997256279,
0.002262655645608902,
0.0444984994828701,
0.06090067699551582,
0.0014736331067979336,
0.07570819556713104,
0.027071185410022736,
-0.040435921400785446,
-0.0045110732316970825,
-0.00609386432915926,
-0.09719808399677277,
-0.0049500782042741776,
-0.015661800280213356,
0.040056243538856506,
0.0042761461809277534,
0.03918297961354256,
-0.01277623325586319,
-0.05049744248390198,
-0.03219686821103096,
0.01766461320221424,
-0.0678488239645958,
-0.020445769652724266,
-0.011580240912735462,
0.0012458250857889652,
0.02251502498984337,
-0.0011075978400185704,
-0.03333590552210808,
0.041499026119709015,
0.014304445125162601,
0.027052201330661774,
0.020123042166233063,
-0.024413425475358963,
-0.05812901258468628,
-0.02302759326994419,
0.03289927542209625,
0.05531938001513481,
-0.015433993190526962,
0.06469747424125671,
0.018955525010824203,
-0.0156902763992548,
0.006682368461042643,
-0.024793105199933052,
0.08322586119174957,
0.022590961307287216,
0.037683241069316864,
-0.1300024390220642,
-0.05064931511878967,
0.008277025073766708,
-0.05607873946428299,
-0.015918085351586342,
-0.048712946474552155,
0.06124239042401314,
-0.008253294974565506,
-0.015054313465952873,
-0.06803866475820541,
0.010849356651306152,
0.009050622582435608,
0.02847600169479847,
0.03375355526804924,
0.05300333350896835,
-0.018993493169546127,
-0.006407100707292557,
-0.017398837953805923,
-0.011143608950078487,
-0.02447037771344185,
-0.03548109903931618,
-0.041612930595874786,
0.0093163987621665,
-0.021888554096221924,
-0.057521525770425797,
-0.05520547553896904,
-0.009843205101788044,
0.021015290170907974,
-0.03517735376954079,
0.042562130838632584,
-0.013981716707348824,
0.033791523426771164,
-0.0429038442671299,
0.02858990617096424,
-0.01737985387444496,
0.07175952196121216,
0.02934926562011242,
-0.036050617694854736,
0.007356300484389067,
0.02515380270779133,
0.036544203758239746,
0.020920369774103165,
-0.01698119007050991,
-0.028893649578094482,
-0.05129477009177208,
-0.012662328779697418,
-0.001254130620509386,
0.007940058596432209,
0.023293370380997658,
-0.03825276345014572,
-0.059533827006816864,
-0.008917734958231449,
0.045219890773296356,
-0.05304130166769028,
0.029197394847869873,
-0.01980031281709671,
-0.03990437090396881,
-0.01861381344497204,
0.03187413886189461,
0.05858462676405907,
-0.02380593866109848,
0.003637809306383133,
0.003827649401500821,
0.016724904999136925,
0.00538671063259244,
0.007104762364178896,
0.04165089875459671,
0.029102474451065063,
0.03553805127739906,
-0.012035856954753399,
-0.013915273360908031,
0.07274669408798218,
0.028893649578094482,
0.01526313740760088,
0.019686410203576088,
0.03523430600762367,
-0.014712600968778133,
0.02720407396554947,
-0.025039898231625557,
-0.07156968861818314,
0.03880329802632332,
-0.008557038381695747,
0.011931444518268108,
0.06310281902551651,
-0.009368604980409145,
0.006483036559075117,
0.020502721890807152,
-0.024907009676098824,
-0.00409579835832119,
0.028836697340011597,
-0.005785374436527491,
-0.013440673239529133,
-0.013402705080807209,
-0.01861381344497204,
0.006857970729470253,
-0.015861133113503456,
0.043549299240112305,
-0.047156259417533875,
0.014446824789047241,
-0.02515380270779133,
-0.04992792382836342,
0.016117416322231293,
0.03384847566485405,
0.04503004997968674,
0.05748355761170387,
-0.02321743406355381,
0.03314606472849846,
-0.017398837953805923,
-0.03238670527935028,
0.04241025820374489,
0.06526699662208557,
-0.010156440548598766,
-0.01804429292678833,
0.02612198516726494,
-0.07156968861818314,
0.04419475421309471,
0.023730002343654633,
0.05456002056598663,
-0.001936368178576231,
0.026311825960874557,
-0.0805681049823761,
-0.06564667820930481,
0.02008507400751114,
-0.06913973391056061,
0.013507116585969925,
0.06184987723827362,
0.05334504321217537,
0.01942063309252262,
0.05376269295811653,
0.026406746357679367,
0.025210753083229065,
-0.038670409470796585,
-0.03709473833441734,
-0.030279481783509254,
-0.03709473833441734,
-0.009677094407379627,
0.024052729830145836,
-0.009007908403873444,
0.007925820536911488,
0.0429038442671299,
0.05072525143623352,
0.001282606623135507,
0.0010737825650721788,
-0.023635081946849823,
-0.014902440831065178,
-0.023236418142914772,
-0.02224924974143505,
-0.02456529811024666,
-0.012842676602303982,
-0.026178937405347824,
-0.055661093443632126,
-0.03794901818037033,
0.0394107885658741,
-0.024793105199933052,
0.05049744248390198,
-0.01725645735859871,
-0.03158937767148018,
0.04586534574627876,
0.024660218507051468,
0.05254771560430527,
0.004563279449939728,
-0.02993777021765709,
-0.001544823171570897,
-0.03318403288722038,
0.013440673239529133,
-0.0549776665866375,
0.018680257722735405,
-0.014807521365582943,
-0.001887721591629088,
-0.016316749155521393,
0.0734301209449768,
0.04616909101605415,
-0.01580418087542057,
0.012728773057460785,
-0.0032889782451093197,
0.0036235712468624115,
-0.05216803774237633,
0.02147090621292591,
0.004779222421348095,
0.0044683595187962055,
-0.07149375230073929,
-0.04176480323076248,
-0.009814728982746601,
-0.05588889867067337,
0.04123325273394585,
-0.04309368506073952,
-0.004537176340818405,
0.04206854850053787,
0.009890664368867874,
-0.04928246885538101,
0.029577074572443962,
0.01852838508784771,
-0.010782912373542786,
-0.02623588964343071,
-0.0005822749226354063,
-0.01999015361070633,
-0.006810510531067848,
0.06708946079015732,
0.020217960700392723,
-0.008148882538080215,
0.020844433456659317,
-0.019249778240919113,
-0.07859376817941666,
-0.028722794726490974,
0.04104341194033623,
0.011931444518268108,
0.015880117192864418,
0.027754610404372215,
-0.08163120597600937,
-0.0035428893752396107,
0.00906486064195633,
0.03922094777226448,
0.029577074572443962,
-0.03382949158549309,
-0.01438987348228693,
0.005044998601078987,
-0.05042150616645813,
-0.021907538175582886,
-0.014162065461277962,
0.04332149028778076,
-0.03698083385825157,
0.013459657318890095,
-0.0012837931280955672,
-0.037702225148677826,
0.03280435502529144,
0.01146633643656969,
0.04590331390500069,
0.01618386059999466,
0.0010399672901257873,
-0.09256599098443985,
0.05698997154831886,
-0.021793633699417114,
0.022306201979517937,
0.04821936413645744,
-0.02701423317193985,
0.04913059622049332,
0.06295094639062881,
-0.03212093189358711,
0.035670939832925797,
-0.03903110697865486,
-0.035670939832925797,
-0.012415536679327488,
-0.05493969842791557,
-0.0266155693680048,
-0.008528562262654305,
-0.021413953974843025,
-0.006663384381681681,
-0.017636137083172798,
0.028798731043934822,
-0.03967656195163727,
0.015329580754041672,
-0.039638593792915344,
-0.0329752117395401,
0.03599366545677185,
-0.013042009435594082,
0.030867986381053925,
-0.006430830340832472,
0.035746876150369644,
0.00969607848674059,
-0.012557917274534702,
0.04533379524946213,
0.04533379524946213,
0.01501634530723095,
0.06560871005058289,
-0.021300049498677254,
-0.05474986135959625,
-0.020635610446333885,
0.016516081988811493,
-0.08163120597600937,
0.07570819556713104,
-0.000748088292311877,
0.060141317546367645,
0.017788009718060493,
0.0029282821342349052,
0.0063643865287303925,
-0.026463698595762253,
-0.018699241802096367,
0.019335204735398293,
0.0213759858161211,
-0.07988467812538147,
-0.021888554096221924,
0.057597462087869644,
-0.059837572276592255,
-0.04301774874329567,
0.07115203887224197,
-0.05049744248390198,
0.05923008546233177,
0.029558090493083,
-0.0024631742853671312,
0.0091787651181221,
-0.04487818107008934,
0.04244822636246681,
-0.06663384288549423,
-0.04616909101605415,
0.03255756199359894,
-0.0661022961139679,
-0.008177358657121658,
0.03365863487124443,
0.03899313881993294,
0.0036164522171020508,
-0.00770275853574276,
0.04586534574627876,
-0.023540161550045013,
-0.04165089875459671,
0.004800579510629177,
0.0006994418217800558,
-0.004636842291802168,
-0.023635081946849823,
-0.025495514273643494,
-0.006089118309319019,
0.006065388675779104,
-0.06177394092082977,
0.03071611374616623,
-0.030374402180314064,
-0.026482682675123215,
-0.018651781603693962,
-0.048712946474552155,
0.01578519679605961,
0.030583227053284645,
-0.056040771305561066,
-0.0026957280933856964,
0.06932957470417023,
0.030981890857219696,
-0.05190226063132286,
-0.03557601943612099,
-0.007266126573085785,
0.017977848649024963,
0.017825977876782417,
-0.020407801494002342,
0.02800140157341957,
0.020217960700392723,
-0.0133077846840024,
0.020559674128890038,
0.024622250348329544,
0.08269430696964264,
-0.05512953922152519,
0.032158900052309036,
0.023084545508027077,
-0.0005629942752420902,
0.023976793512701988,
-0.01676287315785885,
-0.012975565157830715,
-0.003860871307551861,
0.018025308847427368,
0.0009058928117156029,
-0.017721565440297127,
-0.02281877025961876,
-0.017598168924450874,
0.000570409931242466,
-0.05531938001513481,
-0.0032699941657483578,
0.01812972128391266,
0.009677094407379627,
0.0027384422719478607,
0.0007041877834126353,
-0.06553277373313904,
0.009136050939559937,
-0.001327693578787148,
0.013507116585969925,
-0.011342940852046013,
-0.003787308232858777,
-0.03373457118868828,
-0.000005978848093945999,
-0.05197819694876671,
0.04821936413645744,
-0.02896958589553833,
0.047725778073072433,
0.01326032541692257,
-0.005011776462197304,
-0.020217960700392723,
-0.019534537568688393,
0.006772542372345924,
-0.02633081004023552,
-0.028646858409047127,
-0.01627878099679947,
-0.00010522772936383262,
0.016364209353923798,
0.06017928570508957,
0.04358726739883423,
-0.007541394792497158,
0.06048302724957466,
0.01189347729086876,
-0.012595884501934052,
-0.0618119090795517,
0.010061521083116531,
0.02944418601691723,
-0.019145365804433823,
0.039448756724596024,
0.014475300908088684,
-0.08018842339515686,
-0.07384776324033737,
0.03698083385825157,
-0.05137070640921593,
0.04096747562289238,
0.0008133458322845399,
-0.02993777021765709,
0.01205484103411436,
0.023919841274619102,
-0.025685353204607964,
0.007152222562581301,
0.036430299282073975,
0.032918259501457214,
-0.0024631742853671312,
-0.008129898458719254,
0.024660218507051468,
0.013241341337561607,
-0.01726594939827919,
0.000005830535428685835,
-0.045219890773296356,
0.0530792698264122,
-0.04499208182096481,
0.02154684253036976,
0.02469818666577339,
0.05843275785446167,
-0.00031382928136736155,
-0.0019339951686561108,
0.03128563612699509,
0.004252416547387838,
-0.028153274208307266,
-0.02173668146133423,
0.013231849297881126,
0.03718965873122215,
-0.008258040994405746,
0.04506801813840866,
0.0060986103489995,
0.0036971343215554953,
-0.0005057456437498331,
-0.018974509090185165,
0.03990437090396881,
0.06640603393316269,
-0.0102893291041255,
-0.004636842291802168,
-0.011380909010767937,
0.08618737012147903
] |
9,665 | unicodedata2 | UCD | null | from unicodedata2 import UCD
| () | [
-0.011543518863618374,
0.03620236739516258,
0.02514898218214512,
0.046241678297519684,
-0.012692799791693687,
-0.03116581030189991,
0.010081565007567406,
-0.017323728650808334,
0.05070359632372856,
-0.043841708451509476,
0.008163278922438622,
0.0014704042114317417,
0.02418561466038227,
0.025588413700461388,
0.024320824071764946,
0.05340778827667236,
-0.014492777176201344,
0.06777380406856537,
-0.011940696276724339,
0.028799641877412796,
-0.06513721495866776,
-0.032653115689754486,
-0.016149094328284264,
0.02508137747645378,
-0.036777008324861526,
0.026213757693767548,
-0.0005450636381283402,
-0.017695555463433266,
-0.03437703847885132,
-0.0743652731180191,
0.0399206317961216,
0.02589263580739498,
-0.02497997134923935,
0.032923534512519836,
0.020720869302749634,
0.02381378784775734,
0.04394311457872391,
-0.025487007573246956,
-0.03395450860261917,
0.05624718964099884,
-0.00927030760794878,
-0.00890693161636591,
-0.027548953890800476,
-0.0018961031455546618,
0.0014925870345905423,
0.0002110008936142549,
-0.032095376402139664,
-0.03449534624814987,
-0.07341880351305008,
0.002366167725995183,
0.028191199526190758,
-0.0016320219729095697,
-0.012599843554198742,
-0.021380016580224037,
0.03241650015115738,
0.00141547538805753,
0.022089866921305656,
0.06929491460323334,
-0.036506589502096176,
0.03043905831873417,
-0.06358230859041214,
-0.0027126423083245754,
0.018861737102270126,
-0.018642021343111992,
-0.03785868361592293,
0.05340778827667236,
0.030861588194966316,
-0.005560494028031826,
0.005805561784654856,
0.037824880331754684,
-0.010808316059410572,
0.008353416807949543,
-0.03951499983668327,
-0.007977365516126156,
0.09985227882862091,
0.010267478413879871,
-0.02391519583761692,
-0.011822388507425785,
-0.01477164775133133,
0.018946243450045586,
0.05398242920637131,
-0.025808129459619522,
0.020551856607198715,
0.03910937160253525,
0.04448395222425461,
-0.005530917085707188,
0.04495718702673912,
0.006244992837309837,
-0.07882718741893768,
0.08193700760602951,
0.015802619978785515,
-0.08761581033468246,
-0.04272622987627983,
0.06997095793485641,
-0.014239259995520115,
0.00043863890459761024,
-0.0021929305512458086,
0.027515150606632233,
-0.04799940437078476,
-0.044112127274274826,
0.034613654017448425,
0.008746369741857052,
0.0008450599270872772,
-0.0453290157020092,
-0.03512068837881088,
-0.02587573416531086,
-0.02499687299132347,
0.04549802467226982,
0.0021929305512458086,
-0.04830362647771835,
-0.07733988016843796,
-0.021903952583670616,
0.05256272852420807,
-0.023357456550002098,
0.01030128076672554,
-0.042760033160448074,
0.06929491460323334,
0.02291802503168583,
0.03491787612438202,
-0.0074323019944131374,
-0.002680952660739422,
0.03143622726202011,
-0.015802619978785515,
-0.003625306999310851,
-0.006198514252901077,
0.014264611527323723,
-0.020839177072048187,
0.040427666157484055,
0.0363713800907135,
0.002416871255263686,
0.06206120178103447,
0.03468126058578491,
0.0006190064013935626,
-0.05175146833062172,
0.06706395745277405,
-0.05083880573511124,
0.01837160252034664,
0.015075868926942348,
0.001400686800479889,
0.07855676859617233,
0.0019489193800836802,
-0.010005509480834007,
0.02293492667376995,
-0.01160267274826765,
-0.030658774077892303,
0.06561045348644257,
-0.02568982169032097,
0.025402501225471497,
-0.06351470202207565,
0.022495495155453682,
-0.030134836211800575,
0.040698084980249405,
0.06097952276468277,
0.051886677742004395,
0.017712455242872238,
-0.08328910171985626,
0.024472935125231743,
-0.036033354699611664,
0.040529072284698486,
0.012929416261613369,
0.04668110981583595,
-0.0032217910047620535,
-0.003067567478865385,
-0.0017619499703869224,
0.002059833612293005,
0.026365868747234344,
0.00827736221253872,
-0.04847263544797897,
0.010284379124641418,
0.0045844498090445995,
-0.013554761186242104,
-0.007753424812108278,
-0.003504886059090495,
0.06091191992163658,
0.004770363215357065,
-0.06730057299137115,
-0.011036482639610767,
0.031841859221458435,
0.007191459648311138,
-0.055030301213264465,
0.031486932188272476,
0.0390755720436573,
-0.006798507180064917,
0.07639341801404953,
0.04130652919411659,
0.00043705443385988474,
0.020382845774292946,
0.0369122177362442,
0.026264462620019913,
-0.09701287746429443,
0.043469883501529694,
0.009304109960794449,
-0.060675300657749176,
0.016056139022111893,
0.042591020464897156,
-0.003762629348784685,
0.053678207099437714,
-0.0105209955945611,
-0.06206120178103447,
-0.037926290184259415,
-0.008564682677388191,
0.006375976838171482,
0.006033727899193764,
-0.03866994008421898,
0.005209794268012047,
-0.013368847779929638,
-0.010782964527606964,
0.024963069707155228,
-0.03027004562318325,
-0.06381892412900925,
0.055571138858795166,
0.002974611008539796,
0.05246131867170334,
0.04958811402320862,
-0.002122156787663698,
-0.10161000490188599,
-0.07483850419521332,
-0.03522209823131561,
0.04762757569551468,
0.04407832399010658,
0.03170664981007576,
0.019284266978502274,
0.04235440120100975,
-0.02541940286755562,
-0.0019658205565065145,
-0.007994267158210278,
-0.04049527272582054,
0.05354299768805504,
0.014568832702934742,
-0.01754344440996647,
0.021616632118821144,
-0.061655569821596146,
-0.014095599763095379,
0.007783001754432917,
0.010081565007567406,
0.0070477998815476894,
-0.026298264041543007,
0.011754783801734447,
-0.007994267158210278,
-0.005412608850747347,
-0.031216513365507126,
-0.00823933444917202,
0.01595473103225231,
0.04793179780244827,
0.03253480792045593,
-0.002630248898640275,
0.013056175783276558,
0.051278237253427505,
0.0060210516676306725,
-0.020467350259423256,
-0.04539661854505539,
-0.029120763763785362,
-0.00043494178680703044,
0.018388504162430763,
-0.03043905831873417,
-0.060303475707769394,
-0.03097989596426487,
0.011366056278347969,
0.021346213296055794,
0.007305542938411236,
-0.039278384298086166,
-0.010909723117947578,
0.0016351909143850207,
0.06364991515874863,
-0.02748134918510914,
-0.014611085876822472,
0.012202665209770203,
0.010985778644680977,
-0.0011682952754199505,
-0.02658558450639248,
0.08518204092979431,
-0.007736523635685444,
-0.017932171002030373,
-0.014180105179548264,
-0.038534730672836304,
-0.016089940443634987,
-0.00953227560967207,
-0.026670090854167938,
0.03155453875660896,
0.004360509105026722,
0.009785793721675873,
0.027785569429397583,
-0.031301017850637436,
-0.02981371432542801,
0.029340479522943497,
0.0005630211671814322,
0.015430794097483158,
-0.03501928225159645,
-0.03179115429520607,
0.03027004562318325,
-0.0218532495200634,
-0.05276554077863693,
0.0027844724245369434,
0.03275452181696892,
0.01682514324784279,
0.021075794473290443,
0.022951826453208923,
-0.03346437215805054,
0.03349817544221878,
0.010782964527606964,
-0.11310281604528427,
0.021244807168841362,
0.012929416261613369,
0.036675598472356796,
-0.05553733929991722,
0.012371676973998547,
0.028901049867272377,
-0.009168899618089199,
-0.026112351566553116,
0.018591318279504776,
-0.041509341448545456,
0.020180031657218933,
-0.031301017850637436,
0.041509341448545456,
-0.009591430425643921,
0.019385674968361855,
-0.02193775586783886,
-0.005594296846538782,
0.015582905150949955,
0.013520958833396435,
-0.010444940999150276,
-0.025943338871002197,
0.04421353340148926,
0.006506961304694414,
0.000707737694028765,
0.00463092839345336,
-0.006532313302159309,
0.03941359370946884,
0.10073114186525345,
0.025723623111844063,
-0.07828634977340698,
-0.01338574942201376,
0.031571436673402786,
-0.01735753007233143,
0.04935149848461151,
-0.050466977059841156,
0.024844761937856674,
-0.07686664909124374,
-0.010580150410532951,
-0.009751991368830204,
0.003418267471715808,
0.011180142872035503,
0.018963145092129707,
-0.023577172309160233,
0.031216513365507126,
0.0095745287835598,
-0.05066979303956032,
0.013132231310009956,
0.008805524557828903,
0.027920778840780258,
-0.005940771196037531,
-0.022191273048520088,
0.00846750009804964,
0.00027807752485387027,
0.010766062885522842,
-0.03172354772686958,
0.024371527135372162,
-0.00752103328704834,
0.02031524106860161,
0.024557441473007202,
0.009397066198289394,
-0.06970053911209106,
0.01436601858586073,
-0.0694977268576622,
-0.0056365495547652245,
-0.041340332478284836,
-0.04989233613014221,
-0.011687178164720535,
-0.001289772684685886,
0.020298339426517487,
-0.0070520248264074326,
0.056382399052381516,
0.0020735657308250666,
-0.039988234639167786,
-0.05232610926032066,
-0.025588413700461388,
0.007064701057970524,
0.024591242894530296,
-0.10275928676128387,
0.024658847600221634,
-0.0358305387198925,
-0.007871733047068119,
-0.0945115014910698,
0.019402574747800827,
0.0006565059302374721,
-0.031132007017731667,
-0.017864566296339035,
0.029847515746951103,
-0.051548656076192856,
0.06179077923297882,
-0.03464745730161667,
0.0218532495200634,
0.09403827041387558,
0.017036408185958862,
-0.000497529050335288,
0.042929042130708694,
-0.002482363488525152,
-0.0374530553817749,
0.0814637765288353,
0.01020832359790802,
-0.026078548282384872,
0.008754820562899113,
0.03826431185007095,
0.07064700871706009,
0.03762206807732582,
0.0442473366856575,
0.007081602234393358,
-0.019943414255976677,
-0.04583605006337166,
0.004041498992592096,
-0.027785569429397583,
-0.011112538166344166,
0.013326594606041908,
-0.03921078145503998,
-0.029695404693484306,
-0.03457985073328018,
-0.042320601642131805,
-0.06550904363393784,
-0.0029915121849626303,
0.0017915270291268826,
-0.0399206317961216,
-0.059154193848371506,
-0.029948923736810684,
0.019656093791127205,
0.013191385194659233,
-0.024608144536614418,
0.029323579743504524,
0.045531827956438065,
0.01970679685473442,
0.03647278621792793,
-0.012473084032535553,
0.038805149495601654,
-0.03958260640501976,
-0.08430317789316177,
0.04492338374257088,
0.019672995433211327,
0.001073226099833846,
0.020889881998300552,
0.03941359370946884,
0.02731233648955822,
-0.0006961181061342359,
0.06513721495866776,
0.03647278621792793,
-0.06256823241710663,
0.06405553966760635,
-0.01720541901886463,
-0.040968503803014755,
0.056720420718193054,
-0.02704191766679287,
-0.036236170679330826,
0.02793768048286438,
-0.0019151170272380114,
-0.022698309272527695,
-0.031098205596208572,
0.018405405804514885,
-0.012405479326844215,
-0.00918580126017332,
-0.000635907577816397,
0.006342174485325813,
0.007035123649984598,
-0.05229230597615242,
0.04877685755491257,
0.0002422945253783837,
0.027971483767032623,
-0.0390755720436573,
0.06753718852996826,
0.012887164019048214,
-0.004149244166910648,
-0.0018549065571278334,
0.045633234083652496,
-0.029847515746951103,
0.022512396797537804,
0.04576844349503517,
0.006430905777961016,
-0.021971557289361954,
0.02766726166009903,
-0.06567806005477905,
-0.03403901308774948,
0.00011368696868885309,
-0.023695480078458786,
0.01808428205549717,
-0.038534730672836304,
0.013487156480550766,
-0.035593923181295395,
-0.006540763657540083,
-0.01879413239657879,
0.014619536697864532,
0.006422455422580242,
-0.02856302447617054,
-0.027734866365790367,
-0.005154865328222513,
0.047965601086616516,
-0.04928389564156532,
-0.051548656076192856,
0.07706946134567261,
0.012405479326844215,
0.022410988807678223,
-0.03395450860261917,
-0.02328985184431076,
-0.021363114938139915,
0.015278683044016361,
0.01601388491690159,
0.05465847626328468,
-0.07199910283088684,
-0.005137964151799679,
0.0046562799252569675,
0.026027845218777657,
0.019672995433211327,
0.05175146833062172,
-0.035154491662979126,
-0.03229818865656853,
-0.019368773326277733,
0.035154491662979126,
-0.028174297884106636,
0.019943414255976677,
0.023948997259140015,
-0.018388504162430763,
-0.01737443171441555,
-0.03921078145503998,
0.029222171753644943,
-0.042320601642131805,
-0.00665062153711915,
0.013951939530670643,
-0.048878263682127,
-0.0027147550135850906,
0.01338574942201376,
-0.07896240055561066,
0.033447470515966415,
-0.03948120027780533,
-0.0027189801912754774,
-0.027261633425951004,
-0.02464194782078266,
0.04397691786289215,
-0.010867470875382423,
-0.03152073547244072,
0.024946168065071106,
-0.05871476233005524,
0.016858944669365883,
-0.09153688699007034,
0.007254839409142733,
-0.004601351451128721,
-0.0010753386886790395,
0.02301943115890026,
-0.04931769520044327,
0.018253294751048088,
0.02391519583761692,
-0.03887275606393814,
-0.013056175783276558,
-0.032095376402139664,
0.02983061410486698,
-0.0006290414603427052,
0.011881542392075062,
0.004195722285658121,
0.010647755116224289,
0.02962779998779297,
0.008104125037789345,
-0.006485834717750549,
0.04458536207675934,
0.017171617597341537,
-0.00443233922123909,
-0.010766062885522842,
0.010537897236645222,
0.0019996229093521833,
0.04708673804998398,
-0.04799940437078476,
0.006270344369113445,
-0.06260203570127487,
-0.018929341807961464,
-0.05097401514649391,
-0.02820809930562973,
0.0030992571264505386,
0.016326557844877243,
0.056179583072662354,
0.009025240316987038,
-0.04603886231780052,
0.03175735101103783,
0.007309768348932266,
-0.03457985073328018,
0.0830862894654274,
-0.0176448505371809,
0.004134455695748329,
0.011222396045923233,
0.019740600138902664,
-0.027785569429397583,
0.039886828511953354,
-0.05016275495290756,
0.03606715798377991,
0.03143622726202011,
0.02508137747645378,
-0.10248886793851852,
-0.0013890672707930207,
-0.060776710510253906,
0.029965825378894806,
-0.02283351868391037,
-0.017053309828042984,
-0.045971259474754333,
-0.025098279118537903,
0.03226438909769058,
0.0002610442752484232,
-0.017129365354776382,
0.04799940437078476,
0.02857992611825466,
0.0056111980229616165,
0.03268691897392273,
0.08180180191993713,
0.013216736726462841,
0.0044281138107180595,
-0.015650508925318718,
-0.027870075777173042,
-0.012726602144539356,
0.008382994681596756,
-0.013242089189589024,
-0.004326706752181053,
-0.002173916669562459,
0.03620236739516258,
-0.016182897612452507,
0.06452877819538116,
-0.1096549779176712,
-0.08186940103769302,
0.04854024201631546,
-0.0532049722969532,
0.028647530823946,
-0.02651797980070114,
0.02873203717172146,
0.007626665756106377,
0.03368408977985382,
-0.046512097120285034,
0.06753718852996826,
0.007259064819663763,
-0.00788863468915224,
0.018658922985196114,
0.05949221923947334,
-0.017763160169124603,
-0.006240767426788807,
-0.06557665020227432,
0.025047576054930687,
-0.02489546500146389,
-0.01925046555697918,
0.022596901282668114,
0.07551455497741699,
0.01366461906582117,
0.021515225991606712,
-0.028715135529637337,
0.027785569429397583,
-0.03796008974313736,
0.02427012100815773,
-0.026839103549718857,
-0.06936252117156982,
-0.04495718702673912,
-0.004525295924395323,
-0.003462633118033409,
0.008966085501015186,
0.05408383533358574,
0.015075868926942348,
-0.0260616485029459,
-0.02016313001513481,
0.03934599086642265,
0.011340703815221786,
0.011264648288488388,
-0.0003451541706454009,
-0.015971632674336433,
-0.016149094328284264,
0.015320936217904091,
-0.033717889338731766,
0.02210676670074463,
-0.054928895086050034,
0.04914868623018265,
-0.020078623667359352,
-0.010850569233298302,
-0.08295108377933502,
-0.022326482459902763,
0.0031647493597120047,
0.02533489651978016,
-0.03758826479315758,
-0.060506291687488556,
0.005450636614114046,
-0.003931641113013029,
0.003929528407752514,
0.12101258337497711,
0.052697937935590744,
0.05469227954745293,
0.043571289628744125,
-0.00818863045424223,
-0.05219089984893799,
0.0006142529309727252,
0.040698084980249405,
-0.024506738409399986,
0.015566003508865833,
0.062027398496866226,
-0.030219342559576035,
-0.00019898520258720964,
-0.007652017753571272,
-0.10891132056713104,
-0.0030992571264505386,
-0.05124443396925926,
-0.013368847779929638,
0.023864492774009705,
0.015380090102553368,
0.005928095430135727,
0.007901309989392757,
0.006228091660887003,
-0.013056175783276558,
0.04448395222425461,
0.012287171557545662,
0.03125031664967537,
-0.0008207644568756223,
-0.03958260640501976,
0.007474555168300867,
0.05962742865085602,
0.010943525470793247,
0.03251790627837181,
0.006198514252901077,
-0.07578497380018234,
-0.040157247334718704,
0.01908145286142826,
-0.017053309828042984,
-0.09255096316337585,
0.0732835978269577,
0.030236244201660156,
0.024506738409399986,
0.03752066195011139,
-0.018878638744354248,
0.057633087038993835,
0.05097401514649391,
-0.03579673916101456,
0.0374530553817749,
-0.027971483767032623,
0.006954843178391457,
-0.03346437215805054,
-0.01029282994568348,
-0.02508137747645378,
0.02381378784775734,
-0.058072518557310104,
0.03593194857239723,
-0.05935700982809067,
-0.033447470515966415,
-0.033802397549152374,
0.014788548462092876,
-0.002387294312939048,
0.012447732500731945,
-0.021870151162147522,
-0.00490557262673974,
-0.012194214388728142,
0.03839952126145363,
-0.0453290157020092,
0.07044419646263123,
0.038906559348106384,
-0.003997133579105139,
-0.00141547538805753,
-0.01576036773622036,
0.03133482113480568,
0.019402574747800827,
-0.05847814679145813,
0.0008931226911954582,
0.03275452181696892,
-0.01186464074999094,
-0.037926290184259415,
0.016901198774576187,
-0.031132007017731667,
-0.02195465750992298,
0.005645000375807285,
-0.014036444947123528,
-0.00613090954720974,
-0.003316860180348158,
-0.0024612369015812874,
-0.00720836129039526,
0.019132155925035477,
0.017053309828042984
] |
9,666 | bettersql.sqldf | sqldf |
sql : str
The SQL command or commands you want to run.
You can pass in multiple statements separated by a ; in order to do UPDATE, INSERT, DELETE, but the last query must be a SELECT without a ;
index : bool (Default: False)
When a DataFrame is pushed into the memory table, should the index col be included
output : str {'dataframe', 'dict', 'list', 'series', 'split', 'records', 'index'}
Determines the type of the values of the dictionary.
- 'dict' (default) : dict like {column -> {index -> value}}
- 'list' : dict like {column -> [values]}
- 'series' : dict like {column -> Series(values)}
- 'split' : dict like {'index' -> [index], 'columns' -> [columns], 'data' -> [values]}
- 'records' : list like [{column -> value}, ... , {column -> value}]
- 'csv' : simple CSV format
params : dict
KV parameters to pass in Python functions to the memory database,
or to specify specific tables with aliases rather than the default of searching for FROM and JOIN
key is a string which is the function name SQL will use,
value is a pointer to the function or table source
There is no real error checking so make sure any list or dicts you pass in to automatically convert to a DataFrame
are in the correct format and that you don't send any bad SQL. This module relies on the errors thrown by the
functions it calls.
| def sqldf(sql:str, *, index:bool = False, output:str = 'dataframe', **params):
'''
sql : str
The SQL command or commands you want to run.
You can pass in multiple statements separated by a ; in order to do UPDATE, INSERT, DELETE, but the last query must be a SELECT without a ;
index : bool (Default: False)
When a DataFrame is pushed into the memory table, should the index col be included
output : str {'dataframe', 'dict', 'list', 'series', 'split', 'records', 'index'}
Determines the type of the values of the dictionary.
- 'dict' (default) : dict like {column -> {index -> value}}
- 'list' : dict like {column -> [values]}
- 'series' : dict like {column -> Series(values)}
- 'split' : dict like {'index' -> [index], 'columns' -> [columns], 'data' -> [values]}
- 'records' : list like [{column -> value}, ... , {column -> value}]
- 'csv' : simple CSV format
params : dict
KV parameters to pass in Python functions to the memory database,
or to specify specific tables with aliases rather than the default of searching for FROM and JOIN
key is a string which is the function name SQL will use,
value is a pointer to the function or table source
There is no real error checking so make sure any list or dicts you pass in to automatically convert to a DataFrame
are in the correct format and that you don't send any bad SQL. This module relies on the errors thrown by the
functions it calls.
'''
from pandas import read_sql_query, DataFrame
import sqlite3
import types
from inspect import signature, stack
# get globals and locals from the caller level in order to find objects that refer to virtual tables in the SQL statement
# env = stack()[1][0]
env = stack()[1][0].f_globals
env2 = stack()[1][0].f_locals
env.update(env2)
with sqlite3.connect(':memory:') as cn:
addedtables = set()
# go through the list of KV parameters to push any UDF's or named tables into the memory database
for k, v in params.items():
if type(v) in (types.FunctionType, types.LambdaType):
# If it's a function add it
cn.create_function(k, len(signature(v).parameters), v)
elif isinstance(v, DataFrame):
# if it's a DataFrame add it as is
addedtables.add(k)
v.to_sql(k, cn, index = index)
elif isinstance(v, dict) or isinstance(v, list):
# if it's a list of dict automatically convert it to a DataFrame
addedtables.add(k)
df = DataFrame(v)
df.to_sql(k, cn, index = index)
# search through the environment to see if any tables mentioned in FROM or JOIN clause
# that are not specified in the params and push them into the memory database
# the table can be a DataFrame or a list or dict that is convertible to a DataFrame
for k in get_table_names(sql):
if k in env and k not in addedtables:
o = env[k]
if isinstance(o, DataFrame):
o.to_sql(k, cn, index = index)
elif isinstance(o, dict) or isinstance(o, list):
df = DataFrame(o)
df.to_sql(k, cn, index = index)
# you can pass in multiple statements separated by a ; in order to do CREATE TABLE, UPDATE, INSERT, DELETE,
# but the last query must be a SELECT to return a result
if ';' in sql:
commands = [x.strip() for x in sql.split(';')]
for c in commands[:-1]:
cn.execute(c)
r = read_sql_query(commands[-1], cn)
else:
r = read_sql_query(sql, cn)
# if the output flag is passed it calls the DataFrame to_dict with that option
if output:
if output.lower() == 'csv':
x = r.to_dict('record')
return ( ','.join(map(str, e.values())) for e in x)
elif output.lower() != 'dataframe':
return r.to_dict(output)
return r
| (sql: str, *, index: bool = False, output: str = 'dataframe', **params) | [
0.013918327167630196,
-0.05861207842826843,
-0.004933659452944994,
0.025714211165905,
-0.004780598450452089,
0.0261835977435112,
-0.04857128858566284,
0.02134687826037407,
-0.05910187214612961,
-0.08865280449390411,
-0.031918276101350784,
0.038408052176237106,
-0.053020257502794266,
0.02453054115176201,
0.008091813884675503,
0.008596913889050484,
0.03177541866898537,
0.05624473839998245,
0.05024475231766701,
-0.003007644321769476,
0.003178562270477414,
0.03724478930234909,
-0.013755062595009804,
0.0029209100175648928,
-0.006112227216362953,
0.016183627769351006,
-0.0008271660190075636,
-0.00833671074360609,
0.026428496465086937,
0.017530562356114388,
0.00977548211812973,
-0.039489682763814926,
0.0009457881096750498,
0.002585451817139983,
-0.07134673744440079,
-0.0056173307821154594,
0.021183611825108528,
-0.055061064660549164,
0.021795855835080147,
-0.004209171514958143,
-0.025591762736439705,
-0.019693821668624878,
0.027122370898723602,
-0.019275454804301262,
-0.04677537456154823,
0.032591741532087326,
-0.04865292087197304,
-0.027816247195005417,
0.030061138793826103,
-0.04563252255320549,
0.029244814068078995,
0.03179582580924034,
0.011020376347005367,
0.025959109887480736,
-0.028428489342331886,
-0.06795898824930191,
-0.07106102257966995,
-0.019510148093104362,
0.03914274647831917,
-0.009535687044262886,
0.0021709122229367495,
0.02675502561032772,
-0.011785680428147316,
0.058938607573509216,
-0.03263255953788757,
0.04042845591902733,
-0.015153017826378345,
-0.05861207842826843,
-0.05428555980324745,
-0.006464267149567604,
-0.045918237417936325,
0.007209163159132004,
0.010948948562145233,
0.05436719208955765,
0.011663231998682022,
0.027224412187933922,
-0.03426520898938179,
-0.025183601304888725,
-0.02422442100942135,
-0.014183633029460907,
0.02006116695702076,
-0.013479553163051605,
-0.04885700345039368,
0.025081560015678406,
0.041387636214494705,
0.0503263846039772,
-0.014183633029460907,
0.061346761882305145,
-0.004372436553239822,
-0.06163247674703598,
-0.052652910351753235,
-0.017336685210466385,
-0.04085702449083328,
0.0751018226146698,
-0.0019260148983448744,
-0.05240801349282265,
-0.02144891768693924,
-0.021591775119304657,
-0.013704041950404644,
0.0175203587859869,
0.017479540780186653,
-0.0006275491905398667,
0.020346879959106445,
-0.0064795734360814095,
-0.03220399096608162,
-0.11567313969135284,
-0.0041658044792711735,
0.002408156404271722,
0.02324483171105385,
-0.08367323130369186,
-0.11493844538927078,
-0.02706114761531353,
0.005079066846519709,
-0.050489649176597595,
0.014969345182180405,
-0.014112204313278198,
-0.05195903405547142,
-0.025632578879594803,
-0.05053046718239784,
0.010632622987031937,
0.00854079145938158,
0.00642855279147625,
0.01952035166323185,
-0.050285570323467255,
0.028306040912866592,
-0.006295900326222181,
0.04073457792401314,
-0.058203913271427155,
0.09159157425165176,
0.020897898823022842,
0.0699997991323471,
-0.010632622987031937,
-0.04840802401304245,
0.03779580816626549,
0.014489754103124142,
0.017510153353214264,
0.0016122402157634497,
-0.010260174982249737,
-0.03534683585166931,
0.009153034538030624,
0.003377541434019804,
-0.052693724632263184,
0.009729564189910889,
0.005397943779826164,
-0.008178547956049442,
0.016397912055253983,
-0.0078979367390275,
-0.02891828492283821,
-0.07151000201702118,
0.0010618591913953424,
0.015775464475154877,
-0.04151008650660515,
-0.10759152472019196,
-0.06289777904748917,
-0.029591752216219902,
-0.02273462899029255,
0.026142781600356102,
-0.019806066527962685,
0.009433646686375141,
-0.00570916710421443,
0.009464258328080177,
-0.014173428528010845,
-0.045142728835344315,
0.02391829900443554,
-0.04616313427686691,
0.013173431158065796,
0.02926522120833397,
-0.017204031348228455,
-0.027040738612413406,
-0.007285693194717169,
0.05587739124894142,
0.03691826015710831,
0.057999834418296814,
0.051265157759189606,
-0.07689774036407471,
0.05983656272292137,
0.013642817735671997,
-0.009362217970192432,
0.016489747911691666,
-0.018989741802215576,
-0.002049739006906748,
-0.038448870182037354,
-0.06257124990224838,
0.009530585259199142,
0.009300993755459785,
0.002880093874409795,
-0.06710185110569,
-0.007550998590886593,
0.0929793268442154,
0.027999918907880783,
-0.019255047664046288,
-0.0435100793838501,
0.03371419012546539,
-0.016295870766043663,
-0.0030892768409103155,
-0.03224480524659157,
-0.0037219279911369085,
0.05767330527305603,
-0.009903033263981342,
0.03508153185248375,
0.05310188978910446,
-0.005887738429009914,
0.03314276039600372,
-0.04616313427686691,
-0.013306084088981152,
-0.04383660852909088,
-0.032693784683942795,
-0.017806071788072586,
-0.020653001964092255,
-0.015285670757293701,
0.03575500100851059,
-0.09020382165908813,
-0.046938639134168625,
0.0281427763402462,
0.03051011636853218,
0.017540765926241875,
-0.011091805063188076,
0.0464896634221077,
0.03173460438847542,
0.019561167806386948,
0.043346814811229706,
-0.07710181921720505,
-0.043550893664360046,
0.02259177155792713,
0.012928534299135208,
-0.0424896739423275,
0.04261212423443794,
0.015295874327421188,
0.03555091843008995,
-0.05248964577913284,
-0.004790802486240864,
-0.049469247460365295,
0.013724450021982193,
0.0003724479174707085,
0.047101907432079315,
0.024836663156747818,
-0.0155611801892519,
0.006403042934834957,
0.060775335878133774,
-0.028326449915766716,
0.02397952228784561,
0.03548969328403473,
0.04469374939799309,
0.00786732416599989,
-0.02273462899029255,
0.00429590605199337,
0.05073454976081848,
0.004443864803761244,
-0.06159165874123573,
-0.003492336953058839,
-0.013948939740657806,
-0.009275483898818493,
0.02195912040770054,
-0.01874484494328499,
0.005918350536376238,
0.007806099951267242,
0.00216963654384017,
0.0034668268635869026,
-0.011826496571302414,
-0.03828560560941696,
-0.011193845421075821,
-0.049510061740875244,
0.03234684467315674,
0.013550981879234314,
-0.029408078640699387,
-0.023795850574970245,
-0.05240801349282265,
-0.03044889308512211,
-0.012499963864684105,
-0.015397914685308933,
0.11714252084493637,
0.05114271119236946,
-0.02259177155792713,
-0.034489698708057404,
-0.003426010487601161,
-0.011857109144330025,
0.012989758513867855,
-0.041346821933984756,
-0.04448966681957245,
-0.016244851052761078,
0.028734611347317696,
-0.04120396450161934,
-0.04077539220452309,
-0.0046734558418393135,
-0.013683633878827095,
0.02726522833108902,
-0.04681619256734848,
-0.029550936073064804,
0.03879580646753311,
-0.0321427658200264,
0.02891828492283821,
-0.029081549495458603,
-0.003920907154679298,
0.023428503423929214,
-0.06628552079200745,
0.04975495859980583,
0.00893364753574133,
-0.03993866220116615,
0.021979529410600662,
-0.040408048778772354,
-0.05248964577913284,
-0.026204006746411324,
0.12204046547412872,
0.0928976908326149,
-0.04726517200469971,
-0.0286121629178524,
0.008280588313937187,
-0.06926510483026505,
-0.03383663669228554,
-0.0751834586262703,
-0.01545913890004158,
0.04161212593317032,
0.047142721712589264,
0.036142751574516296,
-0.0061887577176094055,
-0.03295908868312836,
-0.0504080168902874,
0.0062703900039196014,
0.016785666346549988,
0.05371413007378578,
-0.03210194781422615,
0.03173460438847542,
-0.0032040723599493504,
-0.03379582241177559,
0.07216306030750275,
-0.05926513671875,
0.028632570058107376,
-0.03244888782501221,
0.0819181352853775,
-0.039122335612773895,
-0.0076632434502244,
-0.03775499388575554,
0.05408147722482681,
0.031203992664813995,
-0.014346897602081299,
-0.008193854242563248,
-0.03816315531730652,
-0.05828554555773735,
0.024040747433900833,
0.03136725723743439,
0.058407995849847794,
0.04363252967596054,
-0.0004929832648485899,
-0.002242340473458171,
-0.029203997924923897,
-0.0286529790610075,
0.06363247334957123,
-0.006127533502876759,
0.03138766437768936,
0.028489714488387108,
-0.04034682363271713,
0.019397903233766556,
-0.006178553681820631,
0.06277532875537872,
0.015397914685308933,
-0.029387671500444412,
-0.03395908698439598,
-0.005341821350157261,
-0.006698960438370705,
-0.053061071783304214,
0.05179576948285103,
0.0006205339450389147,
-0.05077536404132843,
0.04767333343625069,
0.051836587488651276,
-0.016326483339071274,
0.022571364417672157,
-0.030367258936166763,
-0.0020829022396355867,
-0.017704030498862267,
0.007260183338075876,
-0.02695910632610321,
0.058775343000888824,
0.025591762736439705,
-0.006780592724680901,
-0.002660706639289856,
-0.027040738612413406,
0.038816213607788086,
-0.023081567138433456,
0.02114279568195343,
-0.033673372119665146,
-0.029612159356474876,
0.03371419012546539,
0.022204017266631126,
0.04151008650660515,
-0.015346894972026348,
-0.024571357294917107,
0.009239769540727139,
0.015948934480547905,
0.002900501945987344,
-0.03795907646417618,
0.05673453211784363,
0.020142799243330956,
0.01982647366821766,
0.0019311169162392616,
-0.0019323923625051975,
-0.004474476911127567,
-0.008948953822255135,
-0.04881618544459343,
-0.01613260619342327,
-0.00740814208984375,
-0.04289783537387848,
-0.008010180667042732,
-0.0074183461256325245,
-0.03740805760025978,
-0.021163204684853554,
0.026306046172976494,
-0.029979506507515907,
-0.019071374088525772,
-0.05114271119236946,
0.024673398584127426,
-0.05612228810787201,
-0.08824464678764343,
0.02299993485212326,
-0.013755062595009804,
0.05804064869880676,
0.061754923313856125,
0.016806073486804962,
-0.018816271796822548,
0.07832630723714828,
0.07163244485855103,
-0.024448908865451813,
0.022265242412686348,
0.056571267545223236,
-0.0153264869004488,
0.04587741941213608,
-0.012295883148908615,
0.015959138050675392,
-0.010326500982046127,
0.008459159173071384,
-0.0170509722083807,
-0.03230603039264679,
-0.018918313086032867,
0.0070918165147304535,
0.008163241669535637,
0.03251010924577713,
0.06248961761593819,
0.013510165736079216,
0.05971411615610123,
0.05848962813615799,
0.04212232679128647,
0.0004110319714527577,
-0.017367297783493996,
0.03561214357614517,
-0.01731627620756626,
-0.0010484664235264063,
-0.017499949783086777,
-0.0062091657891869545,
-0.03967335447669029,
0.02310197427868843,
0.08906096965074539,
0.01451016217470169,
-0.002706624800339341,
0.026979515329003334,
0.026816248893737793,
-0.01337751280516386,
0.0064948792569339275,
0.03751009702682495,
0.02053055353462696,
0.04861210659146309,
0.0552651472389698,
0.003091827966272831,
0.0035612143110483885,
0.009280585683882236,
-0.017438724637031555,
0.013683633878827095,
-0.01718362420797348,
-0.05289780721068382,
-0.05212229862809181,
-0.03420398384332657,
0.002376268617808819,
0.026061149314045906,
-0.04697945713996887,
-0.03530602157115936,
0.03691826015710831,
0.019275454804301262,
-0.005372433457523584,
-0.04326518252491951,
-0.0015612200368195772,
-0.02489788830280304,
-0.01785709150135517,
-0.03422439098358154,
0.01711219549179077,
0.01547954697161913,
0.016734646633267403,
-0.012224454432725906,
0.06265287846326828,
-0.012959146872162819,
0.005857125855982304,
-0.023938706144690514,
-0.014846895821392536,
0.004936210345476866,
0.06710185110569,
-0.0074183461256325245,
0.03455092012882233,
0.004548456519842148,
-0.001502546714618802,
0.03710193559527397,
0.03344888240098953,
-0.05024475231766701,
0.03336725011467934,
-0.020999940112233162,
-0.05555086210370064,
-0.01476526353508234,
-0.014683631248772144,
0.010244868695735931,
0.048122309148311615,
0.011285682208836079,
-0.07342836260795593,
-0.05967329815030098,
-0.06416308134794235,
0.002706624800339341,
-0.03608153015375137,
-0.0048392717726528645,
-0.02080606296658516,
-0.003464275738224387,
0.029203997924923897,
0.013693838380277157,
-0.036754995584487915,
-0.030734606087207794,
0.026979515329003334,
0.04816312715411186,
-0.03383663669228554,
-0.03189786896109581,
-0.012091802433133125,
0.023428503423929214,
-0.011438742280006409,
0.01476526353508234,
0.06685695052146912,
0.03993866220116615,
-0.07081612199544907,
0.05367331579327583,
0.013989755883812904,
-0.054203927516937256,
0.045305993407964706,
-0.0012589249527081847,
0.03595907986164093,
0.03730601444840431,
0.02049994096159935,
-0.060367174446582794,
0.026510128751397133,
0.07767324894666672,
-0.06693858653306961,
-0.10930580645799637,
-0.011020376347005367,
-0.042203959077596664,
-0.0035484591498970985,
0.028204001486301422,
0.04914271458983421,
-0.02269381284713745,
-0.0650610402226448,
-0.015469343401491642,
0.08216302841901779,
0.035673368722200394,
0.006928551476448774,
-0.014214244671165943,
0.031816236674785614,
0.014050980098545551,
-0.016112199053168297,
-0.012132618576288223,
0.011459150351583958,
-0.0025025438517332077,
0.03687744587659836,
-0.019397903233766556,
-0.025285642594099045,
0.016724441200494766,
0.06791817396879196,
0.04269375652074814,
0.006346920505166054,
-0.031918276101350784,
-0.013540777377784252,
0.029918281361460686,
0.025530539453029633,
-0.06375491619110107,
-0.026571352034807205,
-0.053632497787475586,
0.003165807342156768,
0.030428484082221985,
0.01952035166323185,
-0.05016312003135681,
0.01077547948807478,
0.02259177155792713,
0.024734623730182648,
-0.016091790050268173,
0.04310191795229912,
0.0483672097325325,
-0.021285653114318848,
0.05902023985981941,
0.04285702109336853,
0.0032806028611958027,
-0.05281617492437363,
0.007908140309154987,
-0.00436478340998292,
-0.027897879481315613,
0.013622409664094448,
0.0384896844625473,
-0.03430602326989174,
-0.0022334118839353323,
0.02330605499446392,
0.005551004316657782,
-0.08522424846887589,
0.009188748896121979,
-0.018550967797636986,
-0.06848959624767303,
-0.013448940590023994,
0.008719362318515778,
0.035530511289834976,
-0.025550946593284607,
-0.03283664211630821,
-0.001974484184756875,
0.0355101004242897,
0.04144886136054993,
-0.011346906423568726,
0.013663225807249546,
0.027122370898723602,
-0.057020243257284164,
-0.04542843997478485,
-0.015285670757293701,
0.05910187214612961,
-0.0026249925140291452,
-0.007505080662667751,
0.057305958122015,
0.027999918907880783,
-0.014346897602081299,
-0.00903058610856533,
0.028020327910780907,
-0.029040733352303505,
0.0006900490261614323,
-0.009550993330776691,
-0.030673380941152573,
0.010020378977060318,
0.031306032091379166,
0.05742840841412544,
0.03663254901766777,
0.050448834896087646,
-0.021183611825108528,
-0.0017461684765294194,
-0.007321407552808523,
-0.011857109144330025,
0.019234638661146164,
0.017408113926649094,
0.0008667067158967257,
0.07077530771493912,
-0.06044880673289299,
0.025346865877509117,
-0.01216323021799326,
0.0034158064518123865,
-0.0454692579805851,
0.054612088948488235,
0.004051008727401495,
0.013224451802670956,
-0.0029209100175648928,
-0.0028035633731633425,
0.011918333359062672,
0.03175501152873039,
0.04820394143462181,
-0.054408006370067596,
-0.019612189382314682,
0.04995904117822647,
0.02581625245511532,
-0.026061149314045906,
-0.018346885219216347,
-0.006086717359721661,
0.008418343029916286,
-0.002852032659575343,
-0.009183647111058235,
0.003941315226256847,
0.04302028566598892,
0.0019260148983448744,
0.0306121576577425,
-0.022857077419757843,
-0.04559170454740524,
-0.0038214176893234253,
0.02895910106599331,
0.04579578712582588,
-0.012306086719036102,
0.00816834345459938,
0.0009075229172594845,
0.04281620308756828,
-0.033408068120479584,
0.02699992246925831,
0.043959058821201324,
0.02175503969192505,
0.033979494124650955,
-0.015346894972026348,
0.0301427710801363,
0.013948939740657806,
0.002200248884037137,
0.010020378977060318,
-0.03657132387161255,
-0.020959123969078064,
-0.029203997924923897,
-0.04302028566598892,
-0.0006269114674068987,
-0.04079580307006836,
-0.04551007226109505,
-0.050489649176597595,
-0.028408082202076912,
-0.015316282398998737,
0.048897817730903625,
0.0013278023106977344,
0.03946927562355995,
0.02773461490869522,
0.022244833409786224,
0.07526508718729019,
-0.010142828337848186,
0.03128562495112419,
-0.01593872904777527,
-0.021632591262459755,
-0.06244879961013794,
-0.0024183604400604963,
-0.0077244676649570465,
0.02838767319917679,
0.0424896739423275,
0.0251631923019886,
-0.01921422965824604,
-0.029489710927009583,
0.07216306030750275,
-0.04306109994649887,
-0.03673458844423294,
0.016050973907113075,
-0.014397918246686459,
0.07183653116226196,
0.001403057249262929,
-0.023652993142604828,
-0.013132615014910698,
-0.011530579067766666,
0.029285630211234093,
0.022244833409786224,
0.021571366116404533,
-0.00013512397708836943,
0.052448827773332596,
0.016999950632452965,
0.01170404814183712,
0.03955090790987015,
-0.04840802401304245,
-0.006489777471870184,
-0.013469348661601543,
-0.02381625771522522,
0.0018073928076773882,
-0.04542843997478485,
0.029244814068078995,
-0.056203920394182205,
-0.016010157763957977,
0.047550883144140244,
0.012010169215500355,
0.03148970380425453,
-0.03693867102265358,
-0.004216824658215046,
0.026612168177962303,
0.035673368722200394,
0.03291827440261841,
-0.05199985206127167,
0.00933670811355114,
0.06697940081357956,
0.0281427763402462,
0.035938672721385956,
0.05061209946870804,
-0.0052703930996358395,
-0.045346807688474655,
0.0020395349711179733,
0.06799980252981186,
0.012744861654937267,
0.01890810951590538,
0.03146929666399956,
-0.0002755094028543681,
-0.005028046667575836,
-0.01870402880012989
] |
9,667 | cloudscraper | CipherSuiteAdapter | null | class CipherSuiteAdapter(HTTPAdapter):
__attrs__ = [
'ssl_context',
'max_retries',
'config',
'_pool_connections',
'_pool_maxsize',
'_pool_block',
'source_address'
]
def __init__(self, *args, **kwargs):
self.ssl_context = kwargs.pop('ssl_context', None)
self.cipherSuite = kwargs.pop('cipherSuite', None)
self.source_address = kwargs.pop('source_address', None)
self.server_hostname = kwargs.pop('server_hostname', None)
self.ecdhCurve = kwargs.pop('ecdhCurve', 'prime256v1')
if self.source_address:
if isinstance(self.source_address, str):
self.source_address = (self.source_address, 0)
if not isinstance(self.source_address, tuple):
raise TypeError(
"source_address must be IP address string or (ip, port) tuple"
)
if not self.ssl_context:
self.ssl_context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
self.ssl_context.orig_wrap_socket = self.ssl_context.wrap_socket
self.ssl_context.wrap_socket = self.wrap_socket
if self.server_hostname:
self.ssl_context.server_hostname = self.server_hostname
self.ssl_context.set_ciphers(self.cipherSuite)
self.ssl_context.set_ecdh_curve(self.ecdhCurve)
self.ssl_context.minimum_version = ssl.TLSVersion.TLSv1_2
self.ssl_context.maximum_version = ssl.TLSVersion.TLSv1_3
super(CipherSuiteAdapter, self).__init__(**kwargs)
# ------------------------------------------------------------------------------- #
def wrap_socket(self, *args, **kwargs):
if hasattr(self.ssl_context, 'server_hostname') and self.ssl_context.server_hostname:
kwargs['server_hostname'] = self.ssl_context.server_hostname
self.ssl_context.check_hostname = False
else:
self.ssl_context.check_hostname = True
return self.ssl_context.orig_wrap_socket(*args, **kwargs)
# ------------------------------------------------------------------------------- #
def init_poolmanager(self, *args, **kwargs):
kwargs['ssl_context'] = self.ssl_context
kwargs['source_address'] = self.source_address
return super(CipherSuiteAdapter, self).init_poolmanager(*args, **kwargs)
# ------------------------------------------------------------------------------- #
def proxy_manager_for(self, *args, **kwargs):
kwargs['ssl_context'] = self.ssl_context
kwargs['source_address'] = self.source_address
return super(CipherSuiteAdapter, self).proxy_manager_for(*args, **kwargs)
| (*args, **kwargs) | [
0.019457926973700523,
-0.09064678847789764,
-0.001001743832603097,
0.027838410809636116,
-0.03779362887144089,
-0.0052672154270112514,
-0.028236620128154755,
0.005525146145373583,
-0.013602448627352715,
-0.00924477819353342,
0.03647230193018913,
0.0048690070398151875,
0.0005014375783503056,
0.03672570735216141,
-0.012815081514418125,
-0.0037603576201945543,
0.00924477819353342,
-0.035911187529563904,
0.03589308634400368,
-0.048436664044857025,
0.005131462588906288,
0.03913305699825287,
0.023150408640503883,
0.04416497051715851,
-0.04246353358030319,
0.06389440596103668,
0.00317661976441741,
0.0014254063135012984,
0.03323232755064964,
-0.02937694452702999,
-0.08145178854465485,
0.028634827584028244,
-0.018335701897740364,
0.08854714035987854,
0.021231766790151596,
-0.041956719011068344,
0.028019415214657784,
-0.011891961097717285,
-0.0021516848355531693,
-0.008416684344410896,
-0.04756784439086914,
-0.022462593391537666,
0.053251367062330246,
-0.04159471392631531,
-0.00810445286333561,
0.03801083564758301,
-0.02054395154118538,
0.07088115811347961,
0.01701437309384346,
-0.04188431799411774,
-0.012235868722200394,
-0.007095355540513992,
0.02707819454371929,
0.03169379383325577,
-0.011575204320251942,
0.0701933428645134,
-0.018534807488322258,
0.05886249244213104,
-0.005452744662761688,
0.029033036902546883,
-0.043621957302093506,
-0.031150784343481064,
0.02820041961967945,
0.013955405913293362,
-0.09274643659591675,
-0.05270835757255554,
-0.07088115811347961,
0.04926928132772446,
0.029919955879449844,
0.015312936156988144,
0.08289981633424759,
0.006565919145941734,
-0.05097071826457977,
0.003122318536043167,
0.0031743571162223816,
0.03764882683753967,
-0.049558889120817184,
0.02389252372086048,
-0.012308269739151001,
-0.0010464292718097568,
-0.006077208556234837,
0.01413641031831503,
0.05259975418448448,
-0.01969323307275772,
0.07041054219007492,
-0.04948648437857628,
0.008864669129252434,
0.02523195371031761,
0.02351241558790207,
0.004375771153718233,
-0.040943097323179245,
0.008769642561674118,
0.006891726050525904,
0.004674427676945925,
0.013774402439594269,
-0.018951116129755974,
-0.00020702328765764832,
0.013783452101051807,
-0.03169379383325577,
-0.03201960399746895,
-0.016634264960885048,
0.014154510572552681,
-0.03419164940714836,
0.023259010165929794,
0.0008501530392095447,
-0.024109728634357452,
-0.022516895085573196,
-0.010489179752767086,
-0.010679234750568867,
0.0031901949550956488,
0.017448782920837402,
0.003522789804264903,
-0.006004806607961655,
0.0038553846534341574,
-0.024833744391798973,
0.0033960870932787657,
-0.05361337587237358,
-0.03891585394740105,
-0.023349512368440628,
0.015159082598984241,
-0.04492518678307533,
0.022625496610999107,
0.002635870361700654,
0.005878103896975517,
-0.054264992475509644,
0.0009174639126285911,
0.015955500304698944,
-0.029738953337073326,
0.014932828024029732,
-0.04550439864397049,
0.06555964052677155,
0.032200608402490616,
0.014281213283538818,
0.07356001436710358,
0.011611404828727245,
-0.017774589359760284,
-0.03565778210759163,
0.05035530403256416,
-0.029793253168463707,
0.04249973222613335,
0.0020860708318650723,
0.0013711050851270556,
-0.022408291697502136,
0.00663379579782486,
0.029630349949002266,
-0.002405090257525444,
-0.012579776346683502,
-0.07080875337123871,
-0.029865656048059464,
-0.015982650220394135,
-0.00800037570297718,
-0.007547865621745586,
0.02260739542543888,
0.02876153029501438,
0.017539285123348236,
0.02362101897597313,
-0.04427357017993927,
0.010109071619808674,
-0.0085207624360919,
-0.02993805706501007,
-0.028417624533176422,
-0.026679985225200653,
-0.048834871500730515,
-0.00854791235178709,
0.0008032051264308393,
-0.021503271535038948,
-0.062265366315841675,
-0.1044754907488823,
-0.02076115645468235,
0.023132307454943657,
-0.034227851778268814,
0.01234447117894888,
-0.0052491151727736,
0.011140794493258,
0.04394776374101639,
0.05582162365317345,
0.010679234750568867,
-0.02619127556681633,
0.016914820298552513,
-0.018254250288009644,
0.0007754889084026217,
0.001738769467920065,
-0.01963893137872219,
0.033268529921770096,
-0.004805655684322119,
0.05748686194419861,
0.043187547475099564,
0.030137160792946815,
0.01864340901374817,
-0.028164217248558998,
-0.034173548221588135,
0.0034549133852124214,
0.0284357238560915,
-0.02220918796956539,
-0.016833368688821793,
0.03672570735216141,
0.01494187768548727,
0.006235586944967508,
-0.0010696203680709004,
0.023132307454943657,
-0.06190335750579834,
0.024471737444400787,
0.04297034442424774,
-0.0013654486974701285,
-0.006565919145941734,
-0.00902757328003645,
-0.018480505794286728,
0.012606926262378693,
-0.06635605543851852,
0.03227300941944122,
0.01057968195527792,
0.01130369771271944,
-0.005733300931751728,
0.04478038102388382,
0.03363053873181343,
-0.010588732548058033,
-0.0013711050851270556,
0.02658948302268982,
0.010000469163060188,
-0.016435161232948303,
0.02378392219543457,
-0.01326759159564972,
0.00066632084781304,
0.010235774330794811,
0.034445054829120636,
-0.015855947509407997,
0.06266357749700546,
0.002070232992991805,
-0.02456223964691162,
0.03134988620877266,
0.0062853628769516945,
0.011348948813974857,
0.08130698651075363,
0.06251877546310425,
0.00703652948141098,
-0.00008215883281081915,
-0.004147253464907408,
-0.0011001647217199206,
-0.0348251648247242,
-0.010742586106061935,
0.014869476668536663,
0.014353615231812,
0.029684651643037796,
-0.03815563768148422,
-0.047097232192754745,
0.01848955638706684,
-0.005194813944399357,
0.04184811934828758,
0.031259387731552124,
0.02535865642130375,
-0.030372466892004013,
-0.02295130304992199,
-0.023820122703909874,
-0.03201960399746895,
-0.049957096576690674,
-0.08782313019037247,
-0.008434785529971123,
0.00721753342077136,
0.004719678778201342,
-0.02892443537712097,
-0.009738014079630375,
0.03049916960299015,
-0.09578730165958405,
0.07251019030809402,
0.0075116646476089954,
0.030318165197968483,
0.003452650737017393,
-0.021557573229074478,
-0.023403814062476158,
0.05415638908743858,
0.028779631480574608,
-0.022118685767054558,
-0.0003843506274279207,
0.0594417043030262,
0.030535370111465454,
0.015955500304698944,
-0.020779255777597427,
0.04590260609984398,
-0.03600168973207474,
-0.029014937579631805,
0.06266357749700546,
0.015720194205641747,
-0.04025528207421303,
0.013158989138901234,
0.010471079498529434,
0.007244683802127838,
-0.046264614909887314,
-0.005638273898512125,
0.02081545628607273,
0.013186139054596424,
-0.06584924459457397,
0.013810602948069572,
0.03822803869843483,
-0.009127125144004822,
0.020960260182619095,
0.011032192036509514,
-0.016941972076892853,
0.024145929142832756,
0.041956719011068344,
-0.007086305413395166,
-0.05763166397809982,
0.01591929979622364,
0.03880725055932999,
0.02943124622106552,
0.03710581362247467,
-0.04640941694378853,
0.005122412461787462,
0.007520715240389109,
0.02838142216205597,
0.006452791392803192,
0.03801083564758301,
-0.010525381192564964,
-0.018788212910294533,
-0.07862812280654907,
0.03938646614551544,
0.03571208193898201,
0.024725142866373062,
0.036345597356557846,
-0.0019107231637462974,
0.046699024736881256,
-0.0942668691277504,
0.03419164940714836,
-0.04876247048377991,
-0.013023235835134983,
0.06429260969161987,
0.026372278109192848,
0.08586828410625458,
-0.021394670009613037,
-0.007022954057902098,
0.015539190731942654,
-0.07261879742145538,
0.03538627550005913,
-0.01715012639760971,
-0.04123270511627197,
-0.017394481226801872,
-0.003262596670538187,
0.004751354455947876,
0.038590047508478165,
-0.020887859165668488,
-0.0671524703502655,
0.04829185828566551,
-0.042789340019226074,
-0.03475276380777359,
-0.01020862441509962,
-0.04134130850434303,
-0.05831947922706604,
-0.03475276380777359,
-0.000016748170310165733,
-0.03201960399746895,
0.02758500538766384,
-0.008339758031070232,
-0.08311702311038971,
0.052635956555604935,
0.06592164933681488,
0.04336855188012123,
0.0021720477379858494,
-0.02771170809864998,
-0.030625872313976288,
0.015720194205641747,
-0.05111552029848099,
0.0075116646476089954,
0.018172798678278923,
-0.011131743900477886,
0.025883568450808525,
-0.013756302185356617,
0.00239377748221159,
0.05763166397809982,
-0.06360479444265366,
0.06773168593645096,
-0.03352193534374237,
-0.018199948593974113,
-0.05082591623067856,
0.013222340494394302,
0.008769642561674118,
0.015521090477705002,
-0.08565107733011246,
-0.0630979835987091,
0.019457926973700523,
-0.021792877465486526,
0.008593163453042507,
0.0264084804803133,
0.006819324567914009,
0.04068969190120697,
0.009919017553329468,
-0.007624792400747538,
-0.07352381199598312,
-0.009004947729408741,
-0.007873672991991043,
0.05060870945453644,
0.015493939630687237,
0.028345221653580666,
0.014045908115804195,
0.0037558323238044977,
0.0071044061332941055,
-0.028019415214657784,
0.001477444893680513,
-0.04858146607875824,
0.024779444560408592,
-0.02581116557121277,
-0.06277217715978622,
0.001187838613986969,
-0.01027197577059269,
0.05784887075424194,
0.005552296992391348,
0.003930048551410437,
0.0430789440870285,
0.11830419301986694,
0.04640941694378853,
0.04992089420557022,
0.04119650274515152,
-0.023584818467497826,
0.04590260609984398,
-0.029232140630483627,
-0.03565778210759163,
-0.053540974855422974,
-0.017665987834334373,
-0.011195095255970955,
0.05886249244213104,
0.04249973222613335,
0.05574922263622284,
0.04420116916298866,
-0.0028983261436223984,
-0.01293273363262415,
-0.006326088681817055,
-0.002982040401548147,
-0.01749403402209282,
-0.02993805706501007,
-0.012407822534441948,
-0.02926834300160408,
-0.044744182378053665,
-0.018254250288009644,
0.019095920026302338,
0.01931312307715416,
-0.011674756184220314,
-0.011095543392002583,
-0.003457175800576806,
-0.03650850057601929,
0.03267121687531471,
-0.0153672369197011,
-0.06179475784301758,
-0.005936930421739817,
-0.02736780047416687,
-0.02362101897597313,
0.03379344195127487,
0.039603669196367264,
-0.03659900277853012,
-0.035838786512613297,
-0.0050681112334132195,
-0.06472702324390411,
-0.0013767614727839828,
-0.041268907487392426,
0.0006069289520382881,
0.00874701701104641,
-0.009376006200909615,
-0.06675426661968231,
0.03277982026338577,
0.06704387068748474,
-0.010199573822319508,
-0.024381235241889954,
0.016380859538912773,
0.044345974922180176,
-0.03368483856320381,
0.0564008392393589,
0.00148310128133744,
-0.03627319633960724,
-0.0030589671805500984,
0.0307344738394022,
0.0056246984750032425,
0.027621205896139145,
0.012235868722200394,
-0.009357905015349388,
0.04148611053824425,
-0.011792409233748913,
-0.015928350389003754,
-0.0012568463571369648,
0.0077379196882247925,
0.0065478188917040825,
0.011041242629289627,
-0.018308551982045174,
-0.03468036279082298,
-0.0026946966536343098,
-0.023657219484448433,
0.07855572551488876,
-0.056871447712183,
-0.013783452101051807,
-0.07008473575115204,
0.024670841172337532,
-0.03801083564758301,
-0.008900870569050312,
0.03754022344946861,
-0.0340830497443676,
0.05973131209611893,
-0.010389627888798714,
0.024109728634357452,
0.011104593984782696,
0.014788024127483368,
-0.0021019086707383394,
-0.021123163402080536,
-0.009728963486850262,
-0.03504236787557602,
-0.027892712503671646,
-0.0037151065189391375,
0.0299923587590456,
-0.04774884879589081,
0.08905395120382309,
0.014036858454346657,
-0.07080875337123871,
0.03967607021331787,
-0.012643127702176571,
0.04394776374101639,
-0.0033282104413956404,
0.0026788588147610426,
0.03346763551235199,
-0.03017336130142212,
0.03768502548336983,
0.06889010965824127,
-0.030191462486982346,
0.03811943531036377,
0.03084307722747326,
-0.013249490410089493,
0.049957096576690674,
0.07529765367507935,
0.0522739477455616,
0.009928068146109581,
0.009217627346515656,
0.029123539105057716,
0.007697193883359432,
-0.0016550550935789943,
0.02619127556681633,
0.03386584296822548,
0.011158894747495651,
0.02629987709224224,
-0.023150408640503883,
0.01798274554312229,
0.0044753230176866055,
0.035295773297548294,
-0.09151560813188553,
-0.00575140118598938,
-0.03196530044078827,
-0.08391343802213669,
-0.01228111982345581,
0.03687050938606262,
-0.01136704906821251,
-0.08948836475610733,
-0.09303604066371918,
-0.005547771696001291,
-0.0007308035274036229,
0.040219083428382874,
-0.006298938300460577,
-0.049052078276872635,
0.019331224262714386,
0.04076209291815758,
0.03906065598130226,
-0.050572510808706284,
-0.0012455335818231106,
-0.10201384127140045,
0.02014574222266674,
0.013240440748631954,
-0.0233314111828804,
-0.0020170630887150764,
-0.01664331555366516,
0.009475558064877987,
-0.03639989718794823,
-0.03630939871072769,
0.019186420366168022,
-0.021304167807102203,
0.027548804879188538,
0.052418749779462814,
-0.02731349878013134,
-0.006126984488219023,
-0.02003713883459568,
-0.004941408522427082,
0.01362959947437048,
0.0356396809220314,
-0.0384090431034565,
0.010480130091309547,
-0.03600168973207474,
-0.006905301474034786,
0.02787461131811142,
0.003040866693481803,
0.047423042356967926,
0.016408009454607964,
-0.040653493255376816,
-0.044744182378053665,
-0.014353615231812,
0.014959977939724922,
0.02210058458149433,
0.005887154024094343,
-0.036454200744628906,
0.04112410172820091,
-0.06432881206274033,
-0.046988632529973984,
-0.008181379176676273,
-0.017195377498865128,
0.021557573229074478,
0.053142767399549484,
-0.09390486031770706,
0.034734662622213364,
0.05955030769109726,
0.034897565841674805,
-0.04926928132772446,
0.04593880847096443,
-0.017240628600120544,
-0.030245764181017876,
0.07631127536296844,
0.015321985818445683,
-0.07935214042663574,
0.02199198305606842,
-0.051803335547447205,
-0.005117887165397406,
-0.016299407929182053,
0.017059624195098877,
0.03165759518742561,
-0.08927115797996521,
-0.016688566654920578,
-0.012462123297154903,
-0.06317038834095001,
0.04173951596021652,
-0.005488945636898279,
-0.04702483117580414,
-0.02463464066386223,
0.03487946465611458,
-0.024272631853818893,
0.002891538431867957,
-0.06642846018075943,
0.02832712233066559,
0.022589296102523804,
0.02284270152449608,
-0.10773356258869171,
0.0307344738394022,
0.033214230090379715,
0.02809181623160839,
0.04785745218396187,
0.030643971636891365,
0.038879651576280594,
-0.004264906048774719,
0.0233314111828804,
0.027295399457216263,
0.05491660535335541,
0.013819653540849686,
0.04018288105726242,
-0.0076338425278663635,
0.04137750715017319,
-0.07160516828298569,
-0.03404684737324715,
0.01925882324576378,
0.023584818467497826,
-0.008004900999367237,
-0.006357764359563589,
-0.012579776346683502,
-0.007837471552193165,
-0.006258212495595217,
0.012380671687424183,
-0.047205835580825806,
-0.008751542307436466,
0.02434503473341465,
-0.022589296102523804,
0.05031910538673401,
0.07341521233320236,
-0.035802584141492844,
0.014100209809839725,
0.04811085760593414,
0.059079695492982864,
0.0047015780583024025,
0.02065255306661129,
0.02707819454371929,
0.023639118298888206,
-0.033883944153785706,
0.053034164011478424,
0.030318165197968483,
0.01457986980676651,
-0.009882817044854164,
-0.06483562290668488,
0.05350477248430252,
-0.02054395154118538,
-0.008832993917167187,
-0.0399656780064106,
-0.07048294693231583,
-0.02669808641076088,
0.02977515384554863,
0.0034843264147639275,
-0.00024279985518660396,
-0.07352381199598312,
0.06128794327378273,
-0.02284270152449608,
-0.0015351399779319763,
0.028779631480574608,
0.01623605564236641,
-0.03022766299545765,
-0.11591494083404541,
-0.0001246523461304605,
-0.0038870603311806917,
0.0238382238894701,
0.02445363625884056,
-0.033992547541856766,
-0.07421162724494934,
-0.031585194170475006,
-0.09195002168416977,
0.0004519443027675152,
-0.03877105191349983,
0.006289888173341751,
-0.057161055505275726,
-0.022082485258579254,
-0.03569398447871208,
0.03386584296822548,
0.01712297648191452,
-0.027512604370713234,
-0.049957096576690674,
0.06490802764892578,
-0.018770111724734306,
0.027965113520622253,
-0.00832165777683258,
0.06469082087278366,
0.02372962050139904,
-0.010624933056533337,
0.056219834834337234,
-0.04029148444533348,
-0.02763930708169937,
0.01942172646522522,
0.048436664044857025,
-0.019168321043252945,
0.008090877905488014,
0.029684651643037796,
-0.03647230193018913,
-0.007022954057902098,
0.006104358937591314,
-0.004577137995511293,
0.03049916960299015,
0.052310146391391754,
0.024526039138436317,
-0.02105076238512993,
-0.007394012063741684,
-0.031096482649445534,
0.02707819454371929,
-0.03647230193018913,
-0.017620736733078957,
0.035458676517009735,
0.0061541348695755005,
-0.011321798898279667,
0.004380295984447002,
-0.03189289942383766,
0.010869288817048073,
-0.002649445552378893,
0.0481470562517643,
0.03670760616660118,
0.00874701701104641,
0.008394058793783188,
0.0384090431034565,
0.05118792504072189,
-0.014172610826790333,
-0.010181473568081856,
0.009756114333868027,
-0.021086962893605232,
0.042065322399139404,
-0.0005031345062889159,
-0.0830446258187294,
-0.011729057878255844,
-0.016199855133891106,
-0.02249879390001297,
-0.025756865739822388,
-0.029014937579631805,
0.001443506684154272,
0.04427357017993927,
0.014706572517752647,
-0.0346260592341423,
0.006765023339539766,
0.06382200121879578,
0.06494422256946564
] |
9,668 | requests.adapters | __getstate__ | null | def __getstate__(self):
return {attr: getattr(self, attr, None) for attr in self.__attrs__}
| (self) | [
0.03846663236618042,
-0.015485379844903946,
0.022780144587159157,
-0.04055085405707359,
-0.022999536246061325,
-0.01785297878086567,
0.022542471066117287,
-0.01690228283405304,
0.06881578266620636,
-0.020604513585567474,
-0.05243455618619919,
0.041647810488939285,
0.019507555291056633,
0.06080799549818039,
-0.026016168296337128,
0.00651318347081542,
-0.018959077075123787,
0.004170722793787718,
-0.043439507484436035,
-0.0417940691113472,
0.01934301294386387,
0.01207567099481821,
0.011499768123030663,
0.006714292336255312,
-0.011664312332868576,
0.019854925572872162,
-0.030074911192059517,
-0.024078210815787315,
0.11335224658250809,
0.001082102651707828,
-0.031372975558042526,
-0.023749124258756638,
0.02020229585468769,
-0.017386771738529205,
-0.005123704206198454,
-0.02007431723177433,
-0.011316942051053047,
0.052617382258176804,
0.005900715943425894,
-0.006339498795568943,
0.013328030705451965,
-0.047754205763339996,
-0.04870489984750748,
-0.021701470017433167,
0.032579630613327026,
-0.016289815306663513,
0.05111820623278618,
-0.0025367136113345623,
0.052032336592674255,
-0.07280139625072479,
0.06238030269742012,
0.012231073342263699,
0.04460959509015083,
0.03239680454134941,
-0.01004630047827959,
-0.04830268397927284,
-0.020129164680838585,
0.05459190532565117,
-0.010183420032262802,
0.05960134416818619,
-0.05481129512190819,
0.006088112480938435,
0.018182065337896347,
-0.07612883299589157,
-0.02842947468161583,
-0.09155936539173126,
-0.04245224595069885,
0.004447247367352247,
-0.03773532807826996,
0.02460840716958046,
-0.03199458494782448,
-0.03735139220952988,
0.042123157531023026,
0.02007431723177433,
-0.03897854685783386,
-0.013977063819766045,
-0.0197269469499588,
0.023877102881669998,
0.04888772591948509,
-0.03875915706157684,
-0.043439507484436035,
0.02343831956386566,
-0.062416866421699524,
0.026125865057110786,
-0.054555341601371765,
-0.01625324971973896,
0.0018636846216395497,
-0.0018225486855953932,
-0.016170978546142578,
-0.004849465098232031,
-0.025778494775295258,
0.10311397910118103,
0.02235964499413967,
0.0633310005068779,
-0.0227070152759552,
-0.008921918459236622,
-0.012295062653720379,
0.044390201568603516,
-0.005260824225842953,
-0.019653817638754845,
-0.033274371176958084,
-0.004412967711687088,
-0.05067942291498184,
0.007888950407505035,
-0.02104329690337181,
-0.03672978654503822,
-0.010037158615887165,
-0.07481248676776886,
0.03693089261651039,
-0.01875796914100647,
-0.008588260971009731,
-0.014626096934080124,
-0.010347963310778141,
0.024663254618644714,
0.04168437421321869,
-0.05214203521609306,
-0.024681538343429565,
-0.008652250282466412,
-0.017057685181498528,
-0.030202889814972878,
-0.032213978469371796,
0.03629100322723389,
-0.018163783475756645,
0.04011207073926926,
0.018035804852843285,
0.035797372460365295,
0.0031857467256486416,
0.018401456996798515,
0.0716313049197197,
0.017843836918473244,
-0.03139125928282738,
-0.02674747444689274,
-0.014004487544298172,
0.05473816767334938,
0.007134792860597372,
0.0002649551606737077,
0.08570892363786697,
0.024900930002331734,
0.00570874847471714,
0.05982073396444321,
0.05726116895675659,
0.01171001885086298,
0.013483433052897453,
0.007386178709566593,
0.014763216488063335,
-0.010814170353114605,
0.048558641225099564,
0.05053316429257393,
-0.017944391816854477,
-0.02698514796793461,
0.04234255105257034,
-0.003830208908766508,
0.03535858914256096,
0.024699820205569267,
-0.06417199969291687,
0.023749124258756638,
-0.06384290754795074,
-0.04914368316531181,
-0.038649458438158035,
-0.023145798593759537,
-0.04281789809465408,
0.011975116096436977,
-0.02523001655936241,
-0.08388066291809082,
0.03140954300761223,
0.06428169459104538,
0.023036101832985878,
-0.09251005947589874,
0.023145798593759537,
-0.016545772552490234,
-0.07389835268259048,
-0.03875915706157684,
-0.011600323021411896,
0.0268754530698061,
-0.02725938707590103,
0.06771882623434067,
-0.002538998844102025,
0.013300606049597263,
0.007239917758852243,
0.021116426214575768,
0.02402336336672306,
-0.03155580163002014,
-0.09309510141611099,
0.04215972125530243,
0.03104388900101185,
-0.004799188114702702,
0.028996236622333527,
-0.010978713631629944,
0.024535275995731354,
0.03610817715525627,
0.03563282638788223,
-0.004835753235965967,
-0.005932710599154234,
-0.0030600535683333874,
-0.02700342983007431,
0.002237335778772831,
-0.03576080501079559,
-0.014726650901138783,
0.0010198274394497275,
0.09214440733194351,
-0.029343606904149055,
-0.02890482358634472,
-0.06205121427774429,
0.05349494889378548,
-0.022304797545075417,
0.006197808310389519,
-0.02137238346040249,
-0.04453646391630173,
0.007230776362121105,
-0.007463879883289337,
-0.012688138522207737,
-0.005736172199249268,
-0.007660417817533016,
0.016289815306663513,
0.04084337502717972,
-0.043439507484436035,
0.03883228451013565,
0.02318236231803894,
0.006970249116420746,
0.039965808391571045,
0.0358704999089241,
0.002055652206763625,
0.02462668903172016,
-0.021445514634251595,
-0.008528842590749264,
-0.02378568984568119,
-0.011024420149624348,
-0.017103390768170357,
-0.06234373524785042,
-0.02343831956386566,
0.05089881643652916,
0.0040655978955328465,
0.01937957853078842,
0.005452791694551706,
0.057407427579164505,
0.03559626266360283,
0.01685657538473606,
-0.041501548141241074,
-0.04614533483982086,
0.009059038944542408,
0.013410301879048347,
-0.0009506962960585952,
0.02831977978348732,
-0.007875238545238972,
-0.038649458438158035,
-0.019160186871886253,
0.06267282366752625,
0.060661736875772476,
-0.03868602588772774,
-0.03204943239688873,
0.030623389407992363,
-0.0026464094407856464,
-0.020385121926665306,
0.024407299235463142,
0.016975414007902145,
-0.06746286898851395,
-0.036035045981407166,
0.02343831956386566,
0.0037867878563702106,
-0.023145798593759537,
0.032415084540843964,
-0.001725422334857285,
-0.038539763540029526,
0.03676635026931763,
0.0561276450753212,
0.05982073396444321,
0.049874987453222275,
0.02053138241171837,
-0.09719040989875793,
0.0012957807630300522,
0.15971697866916656,
-0.04888772591948509,
-0.06245343014597893,
0.024462146684527397,
-0.019800078123807907,
-0.03347547724843025,
0.02235964499413967,
-0.041647810488939285,
-0.04790046438574791,
-0.021463796496391296,
0.039380766451358795,
0.03438960760831833,
0.005114563275128603,
0.014571248553693295,
-0.015622499398887157,
-0.04040459170937538,
-0.03897854685783386,
0.01709425076842308,
0.023877102881669998,
0.014836346730589867,
0.0680479109287262,
0.007792966905981302,
-0.01739591360092163,
-0.022067122161388397,
0.06600026041269302,
-0.01739591360092163,
-0.0788346603512764,
0.015028313733637333,
0.003846206236630678,
0.03415193408727646,
0.02246933989226818,
0.009525245055556297,
-0.029581280425190926,
0.06910830736160278,
-0.017450761049985886,
0.016609760001301765,
0.04501181095838547,
0.029416736215353012,
-0.0031217574141919613,
0.0027309665456414223,
0.03576080501079559,
0.022140253335237503,
0.021536927670240402,
0.0597841702401638,
-0.012423040345311165,
-0.08388066291809082,
-0.026966866105794907,
-0.0037273692432790995,
0.009333278052508831,
0.08644022792577744,
-0.07620196044445038,
-0.015019172802567482,
-0.03360345587134361,
0.031098738312721252,
-0.003946760669350624,
0.014653520658612251,
0.0058367266319692135,
0.007898092269897461,
0.02603445202112198,
0.005260824225842953,
-0.07024183124303818,
-0.021811166778206825,
0.006453765090554953,
0.0537509061396122,
-0.04848551005125046,
0.02484608069062233,
0.01547623798251152,
0.02713140845298767,
0.005027720704674721,
-0.05982073396444321,
0.020385121926665306,
0.01547623798251152,
-0.03510263189673424,
-0.02713140845298767,
-0.020275427028536797,
-0.008766517043113708,
-0.02784443087875843,
0.0417940691113472,
0.055140383541584015,
-0.055506035685539246,
-0.016399510204792023,
-0.03252478316426277,
0.01701197773218155,
0.07210665196180344,
0.031208433210849762,
-0.027405647560954094,
-0.01259672548621893,
0.0018042661249637604,
-0.010238267481327057,
0.023803971707820892,
0.07280139625072479,
0.01650920696556568,
-0.04468272626399994,
-0.033146392554044724,
0.051081642508506775,
0.002772102365270257,
-0.027990691363811493,
-0.011764866299927235,
0.027442213147878647,
-0.07060748338699341,
0.008556266315281391,
-0.016820011660456657,
-0.04395141825079918,
0.009589234367012978,
0.03140954300761223,
-0.0030212029814720154,
-0.01981835998594761,
0.004173008259385824,
0.0018659699708223343,
0.0406239815056324,
0.0208970345556736,
-0.04446333274245262,
0.019068773835897446,
0.05400685966014862,
0.001427187118679285,
-0.010613061487674713,
0.05170325189828873,
-0.010722757317125797,
0.04936307668685913,
0.0024407298769801855,
-0.08534327149391174,
-0.034225065261125565,
-0.08687901496887207,
0.021445514634251595,
0.012980660423636436,
-0.03497465327382088,
0.054884426295757294,
-0.05265394598245621,
-0.0019756658002734184,
-0.04530433565378189,
0.016353804618120193,
-0.016180118545889854,
-0.022999536246061325,
-0.03223225846886635,
0.007779255043715239,
0.002233907813206315,
0.018492870032787323,
0.0562007762491703,
0.014616955071687698,
-0.08066292107105255,
-0.010878159664571285,
0.016463499516248703,
-0.02018401399254799,
-0.08892666548490524,
0.036748066544532776,
-0.037918154150247574,
0.04859520494937897,
0.008291168138384819,
0.05748055875301361,
0.025485973805189133,
0.013858226127922535,
0.004426679573953152,
-0.0074136024340987206,
-0.010082865133881569,
-0.007431885227560997,
0.02424275502562523,
-0.02126268856227398,
0.02294468879699707,
0.05506725236773491,
0.04863177239894867,
0.01934301294386387,
0.021299252286553383,
-0.023712558671832085,
-0.02760675735771656,
0.0233103409409523,
-0.04135528951883316,
0.0036862334236502647,
-0.017295358702540398,
-0.008318592794239521,
0.06537865102291107,
-0.03146439045667648,
0.023639429360628128,
0.011783149093389511,
0.008821364492177963,
0.049509335309267044,
-0.024279320612549782,
0.004182149656116962,
0.06307504326105118,
0.08322248607873917,
-0.032195694744586945,
0.003379999427124858,
-0.0137393893674016,
0.029782388359308243,
-0.02438901551067829,
0.025120319798588753,
0.025248298421502113,
-0.04230598360300064,
-0.034828390926122665,
-0.04530433565378189,
0.0104485172778368,
-0.0012397902319207788,
-0.007701553869992495,
-0.04106276482343674,
0.025760212913155556,
-0.030915912240743637,
-0.019690383225679398,
-0.015010031871497631,
-0.014287867583334446,
-0.03897854685783386,
0.02316408045589924,
0.0417940691113472,
-0.0002882369444705546,
-0.02104329690337181,
-0.08973110467195511,
-0.06373321264982224,
-0.012404758483171463,
-0.0340239554643631,
-0.022542471066117287,
-0.08782970905303955,
-0.08351501077413559,
0.005918998271226883,
0.020823905244469643,
-0.003923907410353422,
-0.03788159042596817,
0.007920945063233376,
-0.017149098217487335,
0.018831098452210426,
0.019397860392928123,
-0.006165813654661179,
-0.013428584672510624,
-0.03508434817194939,
0.002934360643848777,
0.0134468674659729,
0.008867071010172367,
0.015348260290920734,
0.0024338739458471537,
0.012340769171714783,
0.016609760001301765,
0.009525245055556297,
-0.02411477640271187,
-0.014562107622623444,
-0.06267282366752625,
0.03131812810897827,
0.06150273606181145,
-0.026326972991228104,
-0.009598376229405403,
-0.026601212099194527,
-0.0041455840691924095,
0.01996462233364582,
0.0015917306300252676,
0.04102620109915733,
-0.008090059272944927,
0.019050490111112595,
-0.02378568984568119,
-0.00719421124085784,
-0.07715266197919846,
-0.019032208248972893,
-0.007198781706392765,
-0.023383472114801407,
0.03493808954954147,
0.05660299211740494,
0.039380766451358795,
0.014562107622623444,
-0.012998943217098713,
-0.04914368316531181,
0.045816246420145035,
-0.0044723860919475555,
-0.022505905479192734,
-0.008528842590749264,
-0.015485379844903946,
0.03508434817194939,
-0.07345957309007645,
-0.018035804852843285,
0.06589056551456451,
-0.043695464730262756,
-0.00564475916326046,
0.027990691363811493,
-0.02115299180150032,
-0.07126565277576447,
0.01021998468786478,
0.09104745090007782,
0.00140319112688303,
0.007153075188398361,
0.0585775151848793,
0.05232486128807068,
-0.00048020444228313863,
-0.04998468607664108,
-0.0394538938999176,
-0.035303741693496704,
-0.04106276482343674,
-0.040331460535526276,
-0.054884426295757294,
-0.019781796261668205,
-0.0764944851398468,
-0.01577790081501007,
-0.03488323837518692,
0.05301959812641144,
-0.011326083913445473,
0.0007621567347086966,
0.01877625100314617,
0.041976895183324814,
-0.013638835400342941,
-0.0008204326150007546,
-0.022999536246061325,
-0.011271235533058643,
0.01826433837413788,
0.0244804285466671,
0.06559804081916809,
-0.0023584580048918724,
-0.0023516020737588406,
0.0040815952233970165,
0.02544940821826458,
-0.011965975165367126,
0.02126268856227398,
0.06300190836191177,
0.01584189012646675,
-0.02711312659084797,
0.01559507567435503,
-0.004849465098232031,
-0.052032336592674255,
0.046657249331474304,
0.008304880000650883,
-0.03307326138019562,
0.0007804393535479903,
-0.04804672673344612,
0.015247705392539501,
-0.05868721380829811,
0.0633310005068779,
-0.0035536843352019787,
-0.03747937083244324,
-0.04406111687421799,
-0.020750774070620537,
0.009095603600144386,
-0.003496551187708974,
0.010503365658223629,
-0.021902579814195633,
0.006376063916832209,
-0.011938551440834999,
-0.07305735349655151,
0.0007198781822808087,
0.026253843680024147,
0.015942445024847984,
0.05199577286839485,
0.00841914676129818,
-0.019635533913969994,
-0.025175169110298157,
0.02126268856227398,
0.03515747934579849,
-0.02210368774831295,
0.013309747911989689,
-0.04811985790729523,
-0.021482078358530998,
0.021902579814195633,
-0.012377333827316761,
0.016033858060836792,
-0.03473697975277901,
0.005265394691377878,
0.025412842631340027,
-0.04746168479323387,
-0.02018401399254799,
-0.022012274712324142,
-0.02702171355485916,
-0.016033858060836792,
0.041282158344984055,
-0.022981254383921623,
-0.04157467931509018,
0.006065259221941233,
-0.0069062598049640656,
-0.012203649617731571,
-0.00023410323774442077,
0.018556859344244003,
0.021774601191282272,
0.051812946796417236,
-0.051081642508506775,
0.006494901143014431,
0.032451651990413666,
0.06530552357435226,
0.01847458817064762,
-0.028868257999420166,
0.038905415683984756,
0.0027858142275363207,
-0.005265394691377878,
0.01744161918759346,
-0.007687842007726431,
-0.03449930623173714,
-0.018465446308255196,
-0.012194507755339146,
-0.010887300595641136,
0.024882646277546883,
-0.05115477368235588,
-0.017414195463061333,
-0.03989267721772194,
-0.011682594195008278,
-0.012569301761686802,
-0.01165517047047615,
-0.03799128532409668,
-0.03318295627832413,
0.031372975558042526,
0.025156885385513306,
-0.02985551953315735,
-0.06888891756534576,
0.03799128532409668,
-0.03645554557442665,
-0.013647976331412792,
0.06281908601522446,
0.0370771549642086,
-0.09163249284029007,
0.037954721599817276,
0.027332518249750137,
-0.008867071010172367,
0.047863900661468506,
0.05214203521609306,
0.014534682966768742,
-0.011691736057400703,
-0.08029726892709732,
-0.0020145161543041468,
0.04460959509015083,
-0.00558076985180378,
0.05572542920708656,
-0.02128097042441368,
0.011746583506464958,
0.041976895183324814,
-0.009063608944416046,
0.03272588923573494,
0.057188037782907486,
-0.00564475916326046,
0.017533034086227417,
-0.02905108407139778,
0.06625621765851974,
-0.03897854685783386,
-0.022304797545075417,
-0.05583512410521507,
0.036035045981407166,
0.04753481224179268,
-0.015787042677402496,
-0.036400698125362396,
-0.0019368150969967246,
-0.028411192819476128,
0.05280020833015442,
-0.00027038282132707536,
0.021189557388424873,
0.040331460535526276,
0.0034645565319806337,
-0.022396210581064224,
0.0316472165286541,
0.006504042074084282,
0.009580093435943127,
-0.007157646119594574,
0.009246435016393661,
-0.03009319305419922,
-0.002966355299577117,
0.02963612787425518,
-0.04566998779773712,
-0.015119727700948715,
0.047278858721256256,
-0.03619958832859993,
0.02508375607430935,
-0.021463796496391296,
-0.02294468879699707,
0.05927225574851036,
-0.008629396557807922,
0.016938848420977592,
0.00786609761416912,
0.045596856623888016,
-0.022176818922162056,
0.06197808310389519,
-0.03537686914205551,
-0.004950019530951977,
-0.00985433254390955,
-0.008071777410805225,
0.01862999051809311,
-0.0030646242666989565,
-0.06395260989665985,
0.01623496785759926,
-0.03599847853183746,
-0.011828855611383915,
0.045231204479932785,
0.013730248436331749,
-0.016335520893335342,
0.06621965020895004,
-0.01720394566655159,
0.052873339504003525,
0.025869907811284065,
0.07803022116422653,
-0.025175169110298157,
-0.0005253396811895072,
0.011079268530011177,
0.0037045159842818975,
0.008940201252698898,
-0.020842187106609344,
0.011600323021411896,
0.04508494213223457,
0.023145798593759537,
-0.02115299180150032,
0.07503187656402588,
-0.02294468879699707,
-0.04647442325949669,
-0.023639429360628128,
0.031117020174860954,
0.0007735833642072976,
-0.05579855665564537,
-0.06256312876939774,
-0.001519742887467146,
0.041976895183324814,
0.020110882818698883,
0.024772951379418373,
0.00246586836874485,
-0.010320539586246014
] |
9,669 | cloudscraper | __init__ | null | def __init__(self, *args, **kwargs):
self.ssl_context = kwargs.pop('ssl_context', None)
self.cipherSuite = kwargs.pop('cipherSuite', None)
self.source_address = kwargs.pop('source_address', None)
self.server_hostname = kwargs.pop('server_hostname', None)
self.ecdhCurve = kwargs.pop('ecdhCurve', 'prime256v1')
if self.source_address:
if isinstance(self.source_address, str):
self.source_address = (self.source_address, 0)
if not isinstance(self.source_address, tuple):
raise TypeError(
"source_address must be IP address string or (ip, port) tuple"
)
if not self.ssl_context:
self.ssl_context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
self.ssl_context.orig_wrap_socket = self.ssl_context.wrap_socket
self.ssl_context.wrap_socket = self.wrap_socket
if self.server_hostname:
self.ssl_context.server_hostname = self.server_hostname
self.ssl_context.set_ciphers(self.cipherSuite)
self.ssl_context.set_ecdh_curve(self.ecdhCurve)
self.ssl_context.minimum_version = ssl.TLSVersion.TLSv1_2
self.ssl_context.maximum_version = ssl.TLSVersion.TLSv1_3
super(CipherSuiteAdapter, self).__init__(**kwargs)
| (self, *args, **kwargs) | [
0.007554035633802414,
-0.06661243736743927,
0.013470515608787537,
0.001674562692642212,
-0.03867221996188164,
-0.04155876114964485,
-0.012499083764851093,
0.021908091381192207,
0.019650669768452644,
0.003101641545072198,
0.019003048539161682,
0.033269211649894714,
-0.005564914084970951,
0.027681168168783188,
-0.008456079289317131,
0.008849277161061764,
0.0015161267947405577,
-0.028051238507032394,
0.018077876418828964,
-0.027163071557879448,
0.005430764053016901,
0.01622753031551838,
-0.0069480473175644875,
0.05806384235620499,
-0.023184828460216522,
0.09155509620904922,
0.004688312765210867,
0.005985867697745562,
0.03941236063838005,
-0.014432694762945175,
-0.05784180015325546,
0.0420028418302536,
-0.03199247270822525,
0.09814232587814331,
0.027107561007142067,
-0.028106749057769775,
0.002784769982099533,
-0.027477631345391273,
-0.006106140092015266,
0.02311081439256668,
-0.03793208301067352,
-0.008793766610324383,
0.047442857176065445,
-0.020335296168923378,
-0.007628049235790968,
0.049071162939071655,
0.0007754103862680495,
0.056435536593198776,
0.01046370342373848,
-0.05972915142774582,
-0.03528608754277229,
0.01782807894051075,
0.04411223530769348,
0.010139893740415573,
-0.04984830692410469,
0.0736437514424324,
-0.0014559905976057053,
0.07493899017572403,
-0.026978038251399994,
0.034842006862163544,
-0.06294875591993332,
-0.0184109378606081,
0.02568279579281807,
0.035434115678071976,
-0.0711272805929184,
-0.03722895309329033,
-0.090074822306633,
0.01891053095459938,
0.02831028588116169,
0.025423746556043625,
0.08341357856988907,
0.02825477533042431,
-0.07356973737478256,
0.0013137452770024538,
0.019151076674461365,
0.023240339010953903,
-0.08874256908893585,
0.038487184792757034,
-0.02625640295445919,
-0.008377439342439175,
0.0016722497530281544,
0.03143737092614174,
0.023332856595516205,
-0.017115695402026176,
0.06676046550273895,
-0.02668198198080063,
-0.007230225019156933,
0.022703738883137703,
0.03628527373075485,
0.03941236063838005,
-0.04784993454813957,
-0.014386435970664024,
-0.03867221996188164,
0.0031132062431424856,
0.0028032734990119934,
0.00229442841373384,
0.009422884322702885,
-0.01104656234383583,
-0.00459810858592391,
-0.022944284602999687,
0.0030322535894811153,
0.009103699587285519,
-0.037969090044498444,
0.01835542730987072,
-0.006254167761653662,
-0.014775008894503117,
-0.023499388247728348,
-0.0194841381162405,
-0.006550223100930452,
0.028032734990119934,
0.033324722200632095,
0.022685235366225243,
0.005699064116925001,
0.011740442365407944,
-0.062134601175785065,
-0.020224276930093765,
-0.03256608173251152,
-0.034879013895988464,
-0.006069133058190346,
0.0018838830292224884,
-0.03162240609526634,
0.03091927245259285,
-0.004318243823945522,
0.03989344835281372,
-0.04762789234519005,
-0.02880987897515297,
-0.005731445271521807,
-0.03375030308961868,
0.012267790734767914,
-0.05462219938635826,
0.09392353892326355,
0.0020712304394692183,
0.019669173285365105,
0.06376290321350098,
-0.011398128233850002,
-0.05077347904443741,
-0.0105007104575634,
0.05029239133000374,
-0.03626677021384239,
0.03685888275504112,
0.012656363658607006,
-0.007225599139928818,
-0.013933101668953896,
-0.004202597308903933,
0.008127642795443535,
0.023998981341719627,
-0.03045668639242649,
-0.0763082504272461,
-0.017217464745044708,
0.009547783061861992,
0.002112863352522254,
-0.0014895281055942178,
0.023517891764640808,
0.021612035110592842,
0.02200060710310936,
-0.006175528280436993,
-0.03180743753910065,
-0.022167138755321503,
0.022148635238409042,
-0.005888724699616432,
-0.03412036970257759,
-0.014682491309940815,
-0.03571166843175888,
-0.006716754287481308,
-0.006411447189748287,
-0.018855020403862,
-0.07353273034095764,
-0.0990304946899414,
-0.028550831601023674,
-0.013350242748856544,
-0.052105728536844254,
-0.012092008255422115,
-0.02305530570447445,
0.00920546893030405,
0.02200060710310936,
0.03996746242046356,
0.028661852702498436,
-0.0022458569146692753,
0.013923849910497665,
-0.025960346683859825,
0.005962738301604986,
0.008974175900220871,
-0.0044870879501104355,
0.046406663954257965,
0.0038371540140360594,
0.07319966703653336,
0.0461106114089489,
0.03580418601632118,
0.024868642911314964,
-0.0523647777736187,
-0.016042495146393776,
-0.0004854265716858208,
-0.004572666250169277,
0.00020426079572644085,
-0.027570147067308426,
0.02366591803729534,
0.02361040934920311,
0.01677338220179081,
-0.06265269964933395,
0.045925576239824295,
-0.03561915084719658,
0.02201911062002182,
0.00537525350227952,
-0.006998931989073753,
0.01022315863519907,
0.0035896701738238335,
-0.023314353078603745,
0.022759249433875084,
-0.05917404964566231,
0.015385623089969158,
0.018512707203626633,
-0.03045668639242649,
-0.008835399523377419,
0.026422934606671333,
0.013294732198119164,
-0.014793512411415577,
-0.021408498287200928,
0.024961160495877266,
0.019539648666977882,
0.010426697321236134,
0.037525005638599396,
-0.022241152822971344,
-0.0008916352526284754,
-0.013905346393585205,
0.019558152183890343,
-0.005999745335429907,
0.05229076370596886,
-0.0027732052840292454,
-0.04666571319103241,
0.017124947160482407,
-0.022185642272233963,
0.0038371540140360594,
0.05547335743904114,
0.052105728536844254,
-0.008386691100895405,
-0.0005926887970417738,
0.03419438377022743,
0.010611731559038162,
-0.06157949939370155,
-0.029661038890480995,
0.01792059652507305,
0.021093938499689102,
0.025090685114264488,
-0.04052256792783737,
-0.024850139394402504,
0.023388367146253586,
-0.012332553043961525,
0.04603659734129906,
0.010556221008300781,
0.009469143114984035,
-0.045962583273649216,
-0.007905601523816586,
-0.025053678080439568,
-0.03837616741657257,
-0.04759088531136513,
-0.08215533941984177,
-0.006661243736743927,
-0.001132180099375546,
0.023258842527866364,
-0.030216142535209656,
0.002985995030030608,
0.021408498287200928,
-0.07416184991598129,
0.06450304388999939,
0.0033028668258339167,
0.022463195025920868,
-0.01896604150533676,
-0.013785073533654213,
0.006342059001326561,
0.04466734081506729,
0.021686049178242683,
-0.026978038251399994,
0.022333670407533646,
0.08385765552520752,
0.018549714237451553,
0.021186456084251404,
-0.05758275091648102,
0.03317669406533241,
-0.005046817474067211,
-0.004480149131268263,
0.08911263942718506,
0.027551645413041115,
-0.025534767657518387,
0.037543509155511856,
0.00837281346321106,
-0.00843757577240467,
-0.03685888275504112,
-0.014210653491318226,
0.014950791373848915,
0.007456892170011997,
-0.07020210474729538,
0.049071162939071655,
0.051217563450336456,
0.014765757136046886,
0.04777592048048973,
0.017966855317354202,
0.02523871324956417,
0.019151076674461365,
0.055880434811115265,
0.022962788119912148,
-0.026978038251399994,
0.022870270535349846,
0.012739628553390503,
0.035896703600883484,
0.015357867814600468,
-0.027940217405557632,
0.0030761994421482086,
0.035989221185445786,
0.03933834657073021,
0.019169580191373825,
0.04207685589790344,
0.007216347381472588,
-0.007799206301569939,
-0.0650581493973732,
0.04255794733762741,
0.04548149183392525,
0.025978850200772285,
-0.003513343632221222,
-0.015422630123794079,
0.03236254304647446,
-0.06120942905545235,
0.006476209033280611,
-0.03038267232477665,
-0.02255571074783802,
0.04340910539031029,
0.03830215334892273,
0.06602032482624054,
-0.02366591803729534,
0.003876473754644394,
0.04762789234519005,
-0.06639039516448975,
0.042298898100852966,
-0.001235105679370463,
-0.033380232751369476,
-0.013229969888925552,
-0.012036497704684734,
-0.0024655854795128107,
0.0396714061498642,
-0.02614538185298443,
-0.06757462024688721,
0.042854003608226776,
-0.043261077255010605,
-0.03571166843175888,
-0.011546156369149685,
-0.013368746265769005,
-0.07146034389734268,
-0.06820373237133026,
-0.03417588025331497,
-0.026607967913150787,
0.04152175411581993,
-0.03140036389231682,
-0.05366002023220062,
0.06442902982234955,
0.06302276998758316,
0.05284586921334267,
0.02945750020444393,
-0.04814599081873894,
-0.01896604150533676,
0.030641721561551094,
-0.027940217405557632,
0.0369143933057785,
0.05195770040154457,
0.0006256480701267719,
0.01045445166528225,
-0.015108071267604828,
-0.0021209586411714554,
0.026015857234597206,
-0.0525498129427433,
0.04300202801823616,
-0.014358680695295334,
-0.009788327850401402,
-0.054326143115758896,
0.0037168816197663546,
0.0073412456549704075,
0.03759901970624924,
-0.09370149672031403,
-0.04722081869840622,
0.01891053095459938,
-0.01677338220179081,
-0.029050424695014954,
-0.011407379992306232,
0.017050933092832565,
0.04733183607459068,
0.005486274603754282,
-0.035896703600883484,
-0.05206872150301933,
-0.026552457362413406,
0.016468074172735214,
0.0857820138335228,
0.030234646052122116,
0.01020465511828661,
-0.003797834040597081,
0.05288287624716759,
-0.014858274720609188,
0.012563846074044704,
-0.004921919200569391,
-0.036026228219270706,
0.012138266116380692,
-0.013646298088133335,
-0.041151683777570724,
-0.020076248794794083,
-0.005028313957154751,
0.034360915422439575,
-0.01021390687674284,
0.010102886706590652,
0.028587838634848595,
0.0965140238404274,
0.028051238507032394,
0.053808048367500305,
0.030049610882997513,
0.0204648207873106,
0.03182594105601311,
-0.04300202801823616,
-0.02044631727039814,
-0.06957299262285233,
0.0022759248968213797,
-0.0032774244900792837,
0.05447417125105858,
0.04511142149567604,
0.05184667930006981,
0.020224276930093765,
-0.009330366738140583,
-0.012970921583473682,
-0.0059766159392893314,
0.013331739231944084,
0.0033028668258339167,
-0.04296502098441124,
-0.012092008255422115,
0.01128710713237524,
-0.08496786653995514,
-0.05947010591626167,
0.05203171446919441,
0.016070250421762466,
-0.003941236063838005,
-0.01544113364070654,
0.013748067431151867,
-0.030216142535209656,
0.029161445796489716,
-0.012970921583473682,
-0.03511955589056015,
-0.022315166890621185,
-0.04659169912338257,
0.0009095604764297605,
0.0398564413189888,
0.01048220694065094,
-0.04089263454079628,
-0.04070759937167168,
0.010611731559038162,
-0.06461406499147415,
0.00418640673160553,
-0.024813132360577583,
0.010389690287411213,
0.012267790734767914,
-0.023943470790982246,
-0.06491012126207352,
0.013674053363502026,
0.048071976751089096,
0.005967364180833101,
-0.011823708191514015,
0.002077012788504362,
0.02995709329843521,
-0.03212199732661247,
0.04055957496166229,
-0.022241152822971344,
-0.05051443353295326,
0.034990034997463226,
0.029142942279577255,
0.0037446366623044014,
0.034434929490089417,
0.007503150962293148,
-0.014543715864419937,
0.039634399116039276,
-0.016162768006324768,
0.002930484712123871,
0.026478443294763565,
0.0059072282165288925,
0.0042234137654304504,
-0.008974175900220871,
-0.050625454634428024,
-0.011916224844753742,
-0.023684421554207802,
-0.014404939487576485,
0.055954448878765106,
-0.032251521944999695,
-0.003420826280489564,
-0.061135414987802505,
-0.002414700808003545,
-0.0564725436270237,
-0.022204145789146423,
0.06513216346502304,
-0.040152497589588165,
0.06313379108905792,
-0.020168766379356384,
-0.006457705982029438,
0.04862707853317261,
0.031289342790842056,
0.009492272511124611,
0.014182898215949535,
-0.025053678080439568,
-0.007632675115019083,
-0.04440829157829285,
-0.00014470280439127237,
0.01686589978635311,
-0.047997962683439255,
0.07083122432231903,
0.006971176713705063,
-0.08282146602869034,
0.04033753275871277,
-0.017957603558897972,
0.032825130969285965,
0.020224276930093765,
0.013257725164294243,
0.043890196830034256,
-0.012351056560873985,
0.02890239655971527,
0.060543306171894073,
-0.05947010591626167,
0.009649551473557949,
0.002537286374717951,
0.013368746265769005,
0.03469397872686386,
0.07660430669784546,
0.061061400920152664,
0.013831332325935364,
0.010602479800581932,
0.01045445166528225,
0.017698554322123528,
0.00784546509385109,
0.05258681997656822,
0.016375558450818062,
-0.009385877288877964,
0.005740697029978037,
-0.035341598093509674,
0.0314558744430542,
0.00038741607568226755,
0.06672345846891403,
-0.07456892728805542,
0.012526839040219784,
-0.025941843166947365,
-0.08622609823942184,
-0.0020908904261887074,
0.010824521072208881,
-0.007466143928468227,
-0.08785440772771835,
-0.09577388316392899,
-0.0042719850316643715,
-0.022148635238409042,
0.03304716944694519,
-0.033935338258743286,
-0.06032126396894455,
0.04196583479642868,
0.02890239655971527,
0.02773667871952057,
-0.045407477766275406,
0.012915411964058876,
-0.08726229518651962,
0.028587838634848595,
0.013988612219691277,
-0.027607154101133347,
0.0026020484510809183,
-0.022407684475183487,
0.013535276986658573,
-0.02779218927025795,
-0.017032429575920105,
0.017032429575920105,
-0.045296456664800644,
0.020076248794794083,
0.03578568249940872,
-0.03151138499379158,
0.0009367374004796147,
-0.02564578875899315,
-0.00837281346321106,
0.014210653491318226,
0.0586189441382885,
-0.06032126396894455,
0.0014964669244363904,
-0.04033753275871277,
-0.00008080805855570361,
0.019243592396378517,
0.0028703485149890184,
0.03103029355406761,
-0.0005545254098251462,
-0.034286901354789734,
-0.030290156602859497,
-0.034434929490089417,
0.015293105505406857,
0.017032429575920105,
-0.02040931023657322,
-0.0557694137096405,
0.015996236354112625,
-0.03182594105601311,
-0.04666571319103241,
-0.025923339650034904,
-0.0034693977795541286,
-0.013266976922750473,
0.010380438528954983,
-0.03356526792049408,
0.005833214148879051,
0.059544119983911514,
0.0025719802360981703,
-0.05891500040888786,
0.03689588978886604,
0.006800019647926092,
-0.008580977097153664,
0.07086823135614395,
-0.026089871302247047,
-0.08822447061538696,
0.02666347846388817,
-0.05314192175865173,
-0.005287362262606621,
-0.01544113364070654,
0.050107356160879135,
0.013461263850331306,
-0.08548596501350403,
0.00888165831565857,
0.00009280638914788142,
-0.047960955649614334,
0.0420028418302536,
-0.012397314421832561,
-0.011102072894573212,
-0.030086617916822433,
0.05314192175865173,
-0.020575841888785362,
0.03974542021751404,
-0.07778852432966232,
0.01073200348764658,
0.0203723032027483,
0.0004145930288359523,
-0.09384952485561371,
0.025405243039131165,
0.0680927112698555,
0.030771246179938316,
0.02198210544884205,
0.005130082834511995,
0.030789749696850777,
0.0009720096131786704,
0.03658133000135422,
0.041817806661129,
0.05658356472849846,
0.0637999102473259,
0.028994914144277573,
-0.010991052724421024,
0.03922732546925545,
-0.0575457438826561,
-0.024535581469535828,
0.014081128872931004,
0.008932542987167835,
-0.0194841381162405,
-0.02098291739821434,
-0.015912970528006554,
0.005111579317599535,
-0.005523281171917915,
-0.0041771549731493,
-0.041706789284944534,
-0.011583162471652031,
0.042150869965553284,
-0.010546969249844551,
0.03793208301067352,
0.07530906051397324,
-0.02094591036438942,
0.015552153810858727,
0.0639849454164505,
0.07271857559680939,
0.015885215252637863,
0.03996746242046356,
0.011342617683112621,
0.03659983351826668,
-0.033361729234457016,
0.013942353427410126,
0.042224884033203125,
0.010954045690596104,
-0.019188083708286285,
-0.06790768355131149,
0.08030499517917633,
-0.033935338258743286,
-0.015394874848425388,
-0.0575457438826561,
-0.07501300424337387,
0.002081638667732477,
0.0030091244261711836,
0.010824521072208881,
-0.0069480473175644875,
-0.03406485915184021,
-0.010648738592863083,
-0.03212199732661247,
-0.012591601349413395,
0.047960955649614334,
0.0314558744430542,
-0.041706789284944534,
-0.1413663923740387,
-0.016449570655822754,
-0.0070081837475299835,
0.002315244870260358,
0.012314049527049065,
-0.029161445796489716,
-0.07675233483314514,
-0.052697841078042984,
-0.08822447061538696,
0.0019393933471292257,
-0.011231597512960434,
-0.0049357968382537365,
-0.016939913854002953,
-0.020723870024085045,
0.0048247757367789745,
0.011731190606951714,
0.0018572843400761485,
-0.02942049317061901,
-0.0504034124314785,
0.0545111782848835,
-0.038117118179798126,
0.03885725513100624,
-0.023832449689507484,
0.039079297333955765,
0.007572539150714874,
-0.00890016183257103,
0.07142333686351776,
-0.023850953206419945,
-0.024480070918798447,
0.008271044120192528,
0.030216142535209656,
-0.0008858529035933316,
-0.03561915084719658,
0.02250020205974579,
-0.033361729234457016,
0.017994610592722893,
-0.004510217346251011,
-0.014478953555226326,
0.02784769982099533,
0.07519803941249847,
-0.020298290997743607,
-0.022944284602999687,
-0.014747253619134426,
-0.012055001221597195,
0.04089263454079628,
-0.034860510379076004,
-0.02564578875899315,
0.017532024532556534,
0.013646298088133335,
0.0024355172645300627,
0.027163071557879448,
-0.029031921178102493,
0.016523584723472595,
0.012286294251680374,
0.034971531480550766,
0.04044855386018753,
0.05303090065717697,
-0.03362077847123146,
0.014266164042055607,
0.06139446422457695,
-0.02150101400911808,
-0.0199282206594944,
0.012230783700942993,
0.016060998663306236,
0.016542088240385056,
-0.0076049198396503925,
-0.09429360926151276,
-0.02936498261988163,
-0.001338031142950058,
-0.0194841381162405,
-0.014571471139788628,
-0.02886538952589035,
-0.005763826426118612,
0.05991418659687042,
0.004637428559362888,
-0.02146400697529316,
0.028217768296599388,
0.0745319202542305,
0.05051443353295326
] |
9,670 | requests.adapters | __setstate__ | null | def __setstate__(self, state):
# Can't handle by adding 'proxy_manager' to self.__attrs__ because
# self.poolmanager uses a lambda function, which isn't pickleable.
self.proxy_manager = {}
self.config = {}
for attr, value in state.items():
setattr(self, attr, value)
self.init_poolmanager(
self._pool_connections, self._pool_maxsize, block=self._pool_block
)
| (self, state) | [
0.008091920055449009,
-0.03320934996008873,
0.017867177724838257,
0.019486477598547935,
-0.04526717960834503,
0.029257161542773247,
-0.054415758699178696,
0.017793990671634674,
0.006335392128676176,
-0.04263238608837128,
-0.043657027184963226,
0.09141261875629425,
0.011636994779109955,
0.06715058535337448,
-0.039046142250299454,
0.0185075793415308,
-0.003734908066689968,
-0.0017107846215367317,
-0.048890016973018646,
-0.020511118695139885,
-0.04061969742178917,
0.014610284008085728,
0.0552208349108696,
0.05309836193919182,
-0.01698891445994377,
-0.0017187896883115172,
-0.00965175312012434,
0.003899582661688328,
0.03725302219390869,
-0.010401936247944832,
-0.02515859715640545,
0.010831919498741627,
-0.023091018199920654,
0.02724447473883629,
0.06795565783977509,
-0.027500635012984276,
0.017437195405364037,
0.06722377240657806,
-0.052293289452791214,
0.006554958410561085,
0.00965175312012434,
-0.08489882946014404,
-0.0034032720141112804,
0.010237261652946472,
0.02159065008163452,
0.04102223739027977,
-0.005781902931630611,
0.03002564236521721,
0.054013222455978394,
-0.06294223666191101,
-0.0433642752468586,
-0.003124240320175886,
-0.013988180086016655,
0.0576726533472538,
0.012771419249475002,
0.05050016567111015,
0.05968534201383591,
0.06949262320995331,
0.001115555060096085,
0.014463906176388264,
-0.08760681003332138,
-0.03578924760222435,
0.021462570875883102,
-0.0826299861073494,
-0.013933288864791393,
-0.06784587353467941,
-0.06162483990192413,
0.03820447251200676,
0.0024632553104311228,
-0.003407846437767148,
0.05697736144065857,
-0.00005378364949137904,
0.010383639484643936,
0.008174257352948189,
-0.019706042483448982,
0.03889976441860199,
-0.04453529044985771,
0.026970015838742256,
-0.028946109116077423,
-0.0017439482035115361,
-0.015634924173355103,
0.021041736006736755,
-0.021737027913331985,
0.02115151844918728,
-0.024390116333961487,
-0.06221035122871399,
0.0013025292428210378,
0.018617361783981323,
-0.04069288820028305,
-0.03245916590094566,
0.007277695927768946,
0.07575024664402008,
0.0141071118414402,
0.01854417286813259,
-0.01934009976685047,
0.026402805000543594,
-0.024810951203107834,
0.0274091474711895,
-0.030354991555213928,
0.004958530887961388,
-0.08438651263713837,
-0.04837769642472267,
-0.019120534881949425,
-0.021279599517583847,
-0.0065915524028241634,
-0.062429916113615036,
0.031434524804353714,
-0.0637839064002037,
-0.032532352954149246,
-0.05899005010724068,
-0.004656627774238586,
0.003384975017979741,
-0.03256894648075104,
0.02654918096959591,
0.009308680891990662,
0.0396682471036911,
-0.0031173790339380503,
-0.05917302146553993,
-0.008114791475236416,
0.004830450750887394,
-0.038716793060302734,
0.049146175384521484,
-0.011582103557884693,
0.06491833180189133,
-0.014280934818089008,
0.042595792561769485,
0.02535986714065075,
0.017199331894516945,
0.014052220620214939,
-0.07823866605758667,
0.005191819742321968,
0.009944507852196693,
-0.026366209611296654,
0.054415758699178696,
0.019120534881949425,
0.0012259098002687097,
-0.04321789741516113,
-0.015644073486328125,
-0.0073600332252681255,
-0.035112254321575165,
0.026640666648745537,
0.0413149930536747,
0.004679499194025993,
0.00466806348413229,
0.06305202096700668,
0.022523805499076843,
0.009999399073421955,
0.02277996577322483,
0.011874858289957047,
-0.03357529267668724,
0.03042818047106266,
-0.0413149930536747,
0.04526717960834503,
0.024060767143964767,
-0.07450604438781738,
0.034545041620731354,
-0.019559666514396667,
-0.00043341401033103466,
-0.012808013707399368,
0.00816053431481123,
-0.015817895531654358,
-0.004093989729881287,
-0.03463652729988098,
-0.046108849346637726,
-0.04201028496026993,
-0.017986109480261803,
0.0074377963319420815,
-0.10670904815196991,
-0.007991285063326359,
0.004830450750887394,
-0.023054424673318863,
-0.09595031291246414,
-0.026274723932147026,
0.05243966728448868,
-0.005580634344369173,
0.05394003167748451,
0.0094047412276268,
-0.040107376873493195,
-0.026329616084694862,
-0.006582404021173716,
0.01644914783537388,
0.004331853240728378,
-0.051963940262794495,
0.017071252688765526,
-0.014802403748035431,
-0.017190182581543922,
0.014052220620214939,
0.016696160659193993,
0.04936574399471283,
0.07201763242483139,
0.008933588862419128,
-0.017665909603238106,
-0.024188848212361336,
-0.05595272034406662,
-0.001156723708845675,
0.023713121190667152,
-0.015552587807178497,
-0.04936574399471283,
0.04299832880496979,
0.07216400653123856,
-0.026604073122143745,
0.011646143160760403,
0.006225609220564365,
0.002778881462290883,
0.03533181920647621,
-0.016083205118775368,
-0.02711639367043972,
0.01372287143021822,
0.049512118101119995,
0.01474751252681017,
0.017675058916211128,
-0.014043071307241917,
-0.012131018564105034,
0.07223719358444214,
0.023402070626616478,
-0.05013422295451164,
0.03988781198859215,
0.03267873078584671,
0.047499433159828186,
-0.012213355861604214,
0.05320814624428749,
0.025048814713954926,
0.003615976544097066,
-0.026896826922893524,
-0.015479398891329765,
0.004835024941712618,
-0.030519666150212288,
-0.04065629467368126,
-0.0015175208682194352,
0.017492087557911873,
0.0036868781317025423,
0.024152252823114395,
0.025908781215548515,
0.00665559247136116,
0.0952916219830513,
-0.01167358923703432,
0.01877288706600666,
-0.03538671135902405,
-0.10831920057535172,
0.04369362071156502,
-0.015204941853880882,
-0.015415358357131481,
0.04438891261816025,
-0.08306911587715149,
-0.05701395496726036,
0.01860821433365345,
-0.002348898211494088,
0.07721402496099472,
-0.031343039125204086,
0.04753602668642998,
0.011911452747881413,
-0.010804474353790283,
-0.045011017471551895,
-0.0243352260440588,
-0.006266777869313955,
-0.07446944713592529,
0.016705308109521866,
0.016000868752598763,
-0.008869549259543419,
0.011874858289957047,
0.022304240614175797,
-0.02437181957066059,
-0.03348380699753761,
0.016202136874198914,
0.016266176477074623,
0.03079412318766117,
0.030354991555213928,
-0.02277996577322483,
-0.07494517415761948,
0.01976093463599682,
0.1345207393169403,
0.009999399073421955,
0.0050179967656731606,
0.04823131859302521,
-0.018955860286951065,
-0.03659432381391525,
0.009596860967576504,
-0.03449014946818352,
-0.05946577712893486,
-0.03999759629368782,
0.07984881103038788,
0.023219097405672073,
0.030483070760965347,
0.02138938196003437,
-0.03608200326561928,
-0.03092220425605774,
-0.01761101745069027,
0.053354524075984955,
0.02029155194759369,
-0.007575024850666523,
-0.01731826364994049,
0.013292888179421425,
0.004055108409374952,
0.01322884764522314,
0.02837889827787876,
-0.03868019953370094,
-0.06967559456825256,
0.08328867703676224,
-0.013933288864791393,
0.007876927964389324,
0.004139733035117388,
-0.0539766289293766,
-0.049548715353012085,
0.05935599282383919,
0.02784828096628189,
-0.03743599355220795,
0.04764581099152565,
0.0315077118575573,
0.005974023137241602,
0.030849015340209007,
0.07044406980276108,
0.04629182070493698,
-0.05514764413237572,
0.02993415668606758,
0.06982196867465973,
-0.04138818010687828,
-0.00965175312012434,
-0.024481602013111115,
-0.007634490728378296,
0.03860701248049736,
-0.0723835751414299,
-0.02993415668606758,
-0.044681668281555176,
0.010895960032939911,
0.000528044649399817,
0.059978097677230835,
0.028726544231176376,
0.013979031704366207,
-0.016138097271323204,
0.0019978212658315897,
-0.08760681003332138,
-0.008512754924595356,
0.019230317324399948,
0.007661936338990927,
-0.013988180086016655,
-0.009180600754916668,
0.011280200444161892,
-0.006618998479098082,
0.00474353926256299,
-0.07066363841295242,
0.05635525658726692,
0.044645074754953384,
-0.062063973397016525,
-0.00016553213936276734,
-0.00779001647606492,
0.019120534881949425,
-0.009697495959699154,
-0.013137361966073513,
0.024243738502264023,
-0.042961735278367996,
-0.04691392183303833,
-0.023786310106515884,
0.006559532601386309,
0.044681668281555176,
0.0490729883313179,
-0.007131319027394056,
-0.023292286321520805,
-0.002531869802623987,
-0.02138938196003437,
-0.029257161542773247,
-0.029440132901072502,
-0.04036353901028633,
-0.01701636053621769,
-0.010237261652946472,
0.02923886477947235,
0.02548794634640217,
-0.002376343822106719,
-0.05518424138426781,
0.032989781349897385,
-0.05185415595769882,
0.0077854422852396965,
-0.09778003394603729,
-0.045779500156641006,
0.04025375470519066,
0.02499392256140709,
0.026110049337148666,
-0.07509154826402664,
0.0031951419077813625,
0.003025893121957779,
0.05342771112918854,
0.03889976441860199,
-0.058916859328746796,
0.07395713031291962,
0.027207879349589348,
0.00564467441290617,
-0.011609548702836037,
0.030940501019358635,
0.0073600332252681255,
0.08358143270015717,
0.008018731139600277,
-0.023658230900764465,
0.011993789114058018,
-0.0392657108604908,
0.02671385556459427,
0.0005254716379567981,
-0.021480867639183998,
0.06597956269979477,
0.010548314079642296,
0.004812153521925211,
-0.03394123539328575,
0.03664921596646309,
-0.010804474353790283,
0.035405006259679794,
0.014738364145159721,
0.03937549144029617,
-0.007469816133379936,
0.02135278843343258,
0.09924380481243134,
0.01010003313422203,
-0.04277876392006874,
0.015781302005052567,
0.003549649380147457,
-0.014793255366384983,
-0.07132233679294586,
-0.025670917704701424,
-0.035148847848176956,
0.005008847918361425,
-0.025122003629803658,
0.06221035122871399,
0.018489282578229904,
0.07139552384614944,
0.056208882480859756,
0.007186210248619318,
-0.03145281970500946,
-0.02449989877641201,
0.004631469026207924,
0.020968547090888023,
-0.029019298031926155,
0.019157128408551216,
0.02695171907544136,
0.002618781290948391,
0.06535746157169342,
-0.02548794634640217,
0.024079065769910812,
0.052586041390895844,
-0.0054113855585455894,
0.005923706106841564,
-0.003938463982194662,
-0.03922911360859871,
0.011024040170013905,
0.008439566008746624,
0.006312520708888769,
-0.005626377183943987,
0.004665776155889034,
0.06195418909192085,
-0.018864374607801437,
0.011774223297834396,
0.0065915524028241634,
-0.001054945751093328,
-0.018233122304081917,
-0.036008816212415695,
-0.03373996540904045,
-0.007954691536724567,
-0.021974891424179077,
0.016019165515899658,
0.040875859558582306,
0.010127479210495949,
-0.010667244903743267,
-0.03533181920647621,
0.009304107166826725,
-0.01292694453150034,
-0.061039332300424576,
-0.010401936247944832,
0.06023425608873367,
-0.02016347274184227,
-0.021700434386730194,
-0.008677428588271141,
0.024792654439806938,
0.011847412213683128,
0.0317089818418026,
-0.00211103493347764,
-0.009034223854541779,
-0.011280200444161892,
-0.026604073122143745,
-0.04105883091688156,
-0.04976828023791313,
-0.042559199035167694,
0.010667244903743267,
-0.021645542234182358,
-0.04980487376451492,
-0.002639365615323186,
0.03379485756158829,
0.07889736443758011,
-0.001685625989921391,
-0.01999879814684391,
-0.035405006259679794,
0.08943652361631393,
-0.021407678723335266,
0.04512080177664757,
0.02568921446800232,
-0.04519398882985115,
0.002776594366878271,
0.00572701171040535,
-0.0050179967656731606,
0.016869982704520226,
0.017565274611115456,
-0.046035658568143845,
0.019523071125149727,
0.06155165284872055,
-0.0376189649105072,
-0.018489282578229904,
-0.002614207100123167,
-0.011710183694958687,
-0.0069529213942587376,
0.048890016973018646,
0.01632106862962246,
-0.06927305459976196,
0.013914991170167923,
-0.03522203490138054,
0.03999759629368782,
0.021608948707580566,
-0.01041108462959528,
-0.023054424673318863,
-0.023530149832367897,
-0.0050591654144227505,
-0.01589108444750309,
-0.010273856110870838,
0.05639185383915901,
-0.03864360600709915,
-0.015589182265102863,
0.08255679160356522,
0.04438891261816025,
0.018754590302705765,
-0.010539164766669273,
-0.025744106620550156,
-0.004844173789024353,
0.05741649493575096,
-0.026841936632990837,
-0.0010052003199234605,
0.013375225476920605,
-0.00024200855114031583,
-0.03889976441860199,
-0.029879264533519745,
0.0793364942073822,
0.010383639484643936,
0.004789282102137804,
-0.007186210248619318,
-0.014564541168510914,
-0.03187365457415581,
-0.003712036646902561,
0.01668701134622097,
0.018846075981855392,
0.020236661657691002,
-0.014399866573512554,
-0.030812419950962067,
0.0006689899601042271,
-0.02777509205043316,
0.021645542234182358,
-0.01893756166100502,
-0.03996100276708603,
0.01253355573862791,
-0.05591612681746483,
0.001093255472369492,
-0.023621635511517525,
0.008718597702682018,
-0.094047412276268,
0.08731405436992645,
-0.025250082835555077,
0.018205676227808,
0.018955860286951065,
-0.008947311900556087,
0.029019298031926155,
-0.018288012593984604,
0.03639305382966995,
0.0388631708920002,
0.007867779582738876,
0.002595909871160984,
0.021334489807486534,
-0.008553923107683659,
0.007950116880238056,
0.05737989768385887,
0.01777569204568863,
-0.033355724066495895,
0.022633589804172516,
0.009596860967576504,
-0.011051485314965248,
0.025012219324707985,
0.018416093662381172,
0.024920733645558357,
0.019815826788544655,
0.04409616068005562,
0.011783372610807419,
-0.06155165284872055,
-0.02568921446800232,
-0.018919264897704124,
0.03320934996008873,
-0.044645074754953384,
0.07121255248785019,
-0.0011126961326226592,
-0.007876927964389324,
-0.052293289452791214,
-0.00543883116915822,
0.0004502817173488438,
-0.01572640985250473,
-0.013933288864791393,
0.0055211684666574,
0.014774957671761513,
-0.02589048445224762,
0.016833389177918434,
0.027994656935334206,
-0.02380460686981678,
0.0315077118575573,
0.0028978129848837852,
-0.013613088056445122,
-0.006349115166813135,
-0.04197368770837784,
-0.05079292133450508,
0.08694811165332794,
-0.03937549144029617,
0.006349115166813135,
-0.019376695156097412,
0.004489665850996971,
0.04061969742178917,
-0.0038080967497080564,
-0.050573356449604034,
-0.03439866378903389,
-0.01635766215622425,
0.03370337188243866,
-0.019541367888450623,
-0.02781168557703495,
-0.029952453449368477,
-0.02728106826543808,
0.0018811769550666213,
-0.01552514173090458,
-0.03750918060541153,
-0.05639185383915901,
0.022029783576726913,
-0.05419619381427765,
-0.006527512334287167,
-0.022926343604922295,
-0.014299231581389904,
-0.014509649015963078,
0.024646276608109474,
-0.052586041390895844,
0.048816826194524765,
0.006317094899713993,
0.040473323315382004,
0.07220060378313065,
-0.008590517565608025,
-0.03674070164561272,
0.04021716117858887,
-0.02870824746787548,
0.028397195041179657,
-0.06696761399507523,
-0.015936827287077904,
0.0028086144011467695,
0.006637295242398977,
0.00908911507576704,
0.034380365163087845,
-0.0027743070386350155,
-0.009843872860074043,
-0.001685625989921391,
-0.020017094910144806,
0.049512118101119995,
-0.0023443237878382206,
-0.0032980632968246937,
-0.0032660432625561953,
0.027884874492883682,
0.06949262320995331,
-0.04515739530324936,
-0.06513789296150208,
0.029659699648618698,
-0.0121676130220294,
0.024115659296512604,
0.03705175220966339,
-0.001276227063499391,
-0.08094664663076401,
0.0413149930536747,
-0.007671085186302662,
0.03868019953370094,
0.03900954872369766,
-0.01688827946782112,
-0.03289829567074776,
-0.01079532504081726,
0.006408581044524908,
-0.051268648356199265,
0.0077854422852396965,
-0.054013222455978394,
0.018846075981855392,
0.06758971512317657,
-0.04160774499177933,
0.0454135537147522,
-0.01245121844112873,
0.03320934996008873,
0.024554790928959846,
0.04585268720984459,
-0.019559666514396667,
-0.0027285641990602016,
0.04614544287323952,
0.008352654054760933,
-0.019577963277697563,
0.020218363031744957,
0.020108580589294434,
0.00844413973391056,
-0.061295490711927414,
-0.04932914674282074,
-0.020547712221741676,
-0.12507939338684082,
0.02552453987300396,
-0.03280680999159813,
0.01658637635409832,
0.007876927964389324,
-0.014052220620214939,
-0.0584777295589447,
0.03300807997584343,
-0.008096493780612946,
-0.020748982205986977,
0.010054290294647217,
0.011938897892832756,
-0.00948707852512598,
0.04925595968961716,
-0.010328748263418674,
0.027756795287132263,
0.011252754367887974,
0.0519273467361927,
0.013796060346066952,
-0.013631385751068592,
-0.0413149930536747,
-0.011078931391239166,
0.04230303689837456,
-0.05741649493575096,
-0.0034787477925419807,
0.02221275493502617,
-0.018827779218554497,
0.008448714390397072,
-0.019193721935153008,
-0.01811419054865837,
0.0011664440389722586,
0.028818029910326004,
0.024573087692260742,
-0.024280333891510963,
-0.006248480640351772,
-0.06400347501039505,
-0.026238130405545235,
-0.03652113676071167,
-0.04936574399471283,
0.07348140329122543,
0.04109542444348335,
-0.01632106862962246,
0.06312520802021027,
-0.0006867153570055962,
-0.023987578228116035,
0.020968547090888023,
0.016375958919525146,
-0.00847616046667099,
-0.014409014955163002,
-0.01435412373393774,
0.008005008101463318,
-0.025670917704701424,
0.012496961280703545,
0.0022791402880102396,
0.05917302146553993,
0.019394991919398308,
0.030940501019358635,
0.029421836137771606,
-0.08145896345376968,
-0.026036860421299934,
-0.022176159545779228,
-0.0388631708920002,
-0.047499433159828186,
-0.0376189649105072,
-0.03238597512245178,
0.037728749215602875,
-0.01668701134622097,
0.03194684535264969,
0.010292153805494308,
0.012872053310275078,
-0.01208527572453022
] |
9,671 | requests.adapters | add_headers | Add any headers needed by the connection. As of v2.0 this does
nothing by default, but is left for overriding by users that subclass
the :class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
This should not be called from user code, and is only exposed for use
when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param request: The :class:`PreparedRequest <PreparedRequest>` to add headers to.
:param kwargs: The keyword arguments from the call to send().
| def add_headers(self, request, **kwargs):
"""Add any headers needed by the connection. As of v2.0 this does
nothing by default, but is left for overriding by users that subclass
the :class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
This should not be called from user code, and is only exposed for use
when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param request: The :class:`PreparedRequest <PreparedRequest>` to add headers to.
:param kwargs: The keyword arguments from the call to send().
"""
pass
| (self, request, **kwargs) | [
-0.1030854806303978,
-0.012261616997420788,
-0.057765841484069824,
-0.0012799985706806183,
-0.020128389820456505,
0.0018403413705527782,
-0.04577670618891716,
0.07432562112808228,
-0.004471754655241966,
-0.026966769248247147,
-0.006460422184318304,
-0.019003309309482574,
0.04584702104330063,
0.019214261323213577,
0.012024295516312122,
0.005656165536493063,
0.0010311404475942254,
0.024259544909000397,
-0.0034697300288826227,
-0.08227149397134781,
-0.003972939681261778,
0.033963363617658615,
-0.007273468188941479,
-0.017614537850022316,
-0.01261320523917675,
0.10554659366607666,
-0.030570542439818382,
-0.028724705800414085,
0.042260829359292984,
0.014327194541692734,
-0.015663227066397667,
-0.01041578222066164,
-0.039448127150535583,
-0.02765236422419548,
-0.008477656170725822,
0.0032324085477739573,
0.036108046770095825,
-0.0582580640912056,
0.015390747226774693,
0.029656413942575455,
-0.04275305196642876,
-0.014063503593206406,
0.017816701903939247,
-0.012806578539311886,
-0.0003639480855781585,
0.020796407014131546,
-0.01615544967353344,
0.04626892879605293,
0.059172190725803375,
0.0065439241006970406,
-0.022009383887052536,
0.05333583801984787,
0.05773068219423294,
-0.07959943264722824,
-0.0020743669010698795,
-0.024329861626029015,
0.018897833302617073,
0.006680164486169815,
-0.05541020631790161,
0.04015130177140236,
0.023116884753108025,
0.04672599211335182,
0.0005504543078131974,
-0.024786924943327904,
-0.04025677964091301,
-0.026843713596463203,
-0.02016354911029339,
-0.027335936203598976,
-0.005313367582857609,
0.019390055909752846,
0.012085823342204094,
0.00553310988470912,
0.00532655231654644,
-0.01888025365769863,
0.0142392972484231,
0.022097280248999596,
-0.09063928574323654,
-0.01944279484450817,
-0.0450383722782135,
-0.02981462888419628,
0.04391328990459442,
-0.01635761372745037,
-0.02204454317688942,
0.011611180379986763,
0.019390055909752846,
-0.02568347379565239,
-0.10034310072660446,
-0.001455792342312634,
0.042823370546102524,
0.030482644215226173,
-0.049081627279520035,
-0.01144417654722929,
0.018370451405644417,
0.016410350799560547,
-0.008649054914712906,
-0.0002955533273052424,
0.0017854057950899005,
0.020058073103427887,
-0.019864698871970177,
0.01153207290917635,
-0.022554343566298485,
-0.013799813576042652,
0.021728113293647766,
0.011997926980257034,
-0.029498199000954628,
-0.07727895677089691,
0.016568565741181374,
-0.03109792247414589,
-0.0038498842623084784,
0.0007767888600938022,
0.02802153117954731,
-0.07052846997976303,
-0.01737721636891365,
-0.01970648393034935,
0.009782925248146057,
-0.028232483193278313,
0.055445365607738495,
-0.032820701599121094,
-0.013008740730583668,
0.008956694044172764,
-0.039659079164266586,
0.0013008740497753024,
0.09113150835037231,
0.010081774555146694,
-0.013852551579475403,
-0.07242704182863235,
0.01794854737818241,
-0.01914394460618496,
-0.023116884753108025,
-0.04486257582902908,
-0.010486099869012833,
-0.03130887448787689,
-0.03449074178934097,
-0.018440769985318184,
-0.015531382523477077,
0.034965384751558304,
-0.0032741595059633255,
0.02951577864587307,
0.0237145833671093,
0.02148200199007988,
-0.0021930276416242123,
-0.06202005222439766,
-0.004592612851411104,
-0.02475176751613617,
0.026386648416519165,
0.00038894376484677196,
0.024083750322461128,
-0.03347114101052284,
-0.023573948070406914,
-0.013949237763881683,
-0.007154807448387146,
-0.03262732923030853,
-0.025437362492084503,
0.02343331277370453,
-0.04623376950621605,
0.021534740924835205,
-0.07091521471738815,
0.002254555467516184,
-0.010828898288309574,
0.05892607942223549,
0.05808227136731148,
0.008170017041265965,
0.023767322301864624,
0.024980299174785614,
-0.002992889378219843,
-0.0006504370248876512,
-0.028900500386953354,
0.007361365482211113,
0.03355903550982475,
-0.038639478385448456,
0.01970648393034935,
-0.005388080142438412,
0.05062861368060112,
-0.004535479936748743,
0.02793363481760025,
-0.03159014508128166,
0.01526769157499075,
0.00670213857665658,
-0.061703622341156006,
-0.014661203138530254,
0.10484342277050018,
-0.04837845265865326,
0.004860698711127043,
0.05013639107346535,
-0.03334808349609375,
-0.0009108316153287888,
0.050769247114658356,
-0.014045924879610538,
0.0008113982621580362,
0.026404228061437607,
0.08642023056745529,
-0.008249123580753803,
-0.005924250930547714,
-0.05098020285367966,
0.00020971651247236878,
-0.016700411215424538,
0.007269073743373156,
-0.02747657150030136,
0.048062022775411606,
0.02334541641175747,
-0.05829322338104248,
0.02614053711295128,
-0.040397413074970245,
0.02513851225376129,
0.06043790653347969,
-0.01032788585871458,
-0.012727471068501472,
-0.07397402822971344,
-0.05136694759130478,
-0.003887240309268236,
0.042928844690322876,
-0.004961779806762934,
-0.005511135794222355,
-0.014441460371017456,
-0.06588751822710037,
0.02981462888419628,
-0.035369712859392166,
-0.012595625594258308,
0.031994469463825226,
-0.02624601498246193,
0.011743025854229927,
-0.004089403431862593,
-0.03333050385117531,
-0.016471879556775093,
0.06957918405532837,
-0.020567873492836952,
0.018423190340399742,
-0.02009323053061962,
-0.004553059581667185,
-0.03758471459150314,
-0.010389413684606552,
0.04008098691701889,
-0.02492756024003029,
0.027423832565546036,
0.00026204262394458055,
0.023890377953648567,
-0.013905289582908154,
0.021710533648729324,
-0.058996398001909256,
-0.041417017579078674,
0.0032433955930173397,
0.0892329290509224,
0.011409017257392406,
-0.007853588089346886,
-0.040116146206855774,
-0.028548913076519966,
-0.06423505395650864,
0.044792260974645615,
-0.022097280248999596,
0.00873255729675293,
0.010301516391336918,
-0.005924250930547714,
-0.010231198742985725,
-0.03336566314101219,
-0.025665894150733948,
-0.007273468188941479,
-0.04989027976989746,
0.044792260974645615,
-0.02763478457927704,
-0.03500054404139519,
-0.007198756095021963,
-0.008552368730306625,
0.004658535588532686,
-0.03371725231409073,
-0.00579240545630455,
0.06448116153478622,
-0.007185571361333132,
0.0111541161313653,
-0.04960900917649269,
-0.0019128562416881323,
-0.01588296890258789,
-0.008438101969659328,
0.0013151573948562145,
-0.0013426251243799925,
0.022255495190620422,
-0.009642289951443672,
-0.003302725963294506,
0.02243128791451454,
-0.05108567699790001,
0.016928942874073982,
0.10357770323753357,
-0.03874495252966881,
-0.014766679145395756,
0.012358304113149643,
-0.023222360759973526,
0.030939709395170212,
-0.021235890686511993,
0.10835929960012436,
-0.05548052117228508,
-0.026193276047706604,
-0.02055029571056366,
0.03380514681339264,
0.029550937935709953,
0.046479880809783936,
-0.007567923050373793,
0.012270406819880009,
-0.01457330584526062,
0.06599298864603043,
0.0656062439084053,
0.07727895677089691,
-0.0017062985571101308,
0.02121831104159355,
0.0011113464133813977,
-0.03705733269453049,
0.014634833671152592,
-0.05885576456785202,
-0.007827218621969223,
0.01812434010207653,
-0.09422547370195389,
-0.05013639107346535,
0.013861341401934624,
0.06395378708839417,
-0.013430646620690823,
-0.051155995577573776,
0.02513851225376129,
-0.010196040384471416,
-0.027300776913762093,
0.028812604025006294,
-0.05569147691130638,
-0.004544269759207964,
-0.045811865478754044,
-0.01793096773326397,
-0.06708291172981262,
-0.011945188976824284,
0.09000642597675323,
0.013369118794798851,
0.052175600081682205,
-0.014344774186611176,
0.0010849772952497005,
0.04985512048006058,
-0.012859316542744637,
0.032381217926740646,
-0.028425857424736023,
-0.007480026222765446,
-0.04370233789086342,
-0.019636167213320732,
-0.003221421269699931,
0.005304577760398388,
0.020849144086241722,
0.019407635554671288,
-0.07952911406755447,
0.03570371866226196,
-0.017315689474344254,
0.002735791029408574,
-0.008591922000050545,
-0.07854466885328293,
-0.03860431909561157,
0.07024720311164856,
-0.015584120526909828,
0.0491519458591938,
-0.02819732576608658,
-0.016594935208559036,
0.030588120222091675,
-0.011189275421202183,
0.053019408136606216,
-0.018247395753860474,
-0.04851908981800079,
-0.04064352437853813,
0.013861341401934624,
-0.005304577760398388,
0.07179418951272964,
0.06792672723531723,
0.035826776176691055,
0.015329219400882721,
0.00924675352871418,
-0.011092588305473328,
0.00007773382094455883,
-0.007572317961603403,
-0.02148200199007988,
-0.02793363481760025,
-0.033576615154743195,
0.0005026604048907757,
0.04510868713259697,
0.06609846651554108,
0.005098020192235708,
-0.01692015305161476,
0.02905871532857418,
0.028443437069654465,
-0.06254743039608002,
0.00929949153214693,
0.005392474588006735,
-0.020040493458509445,
-0.01102227158844471,
-0.031906574964523315,
-0.012024295516312122,
-0.020198706537485123,
0.08114641904830933,
-0.0061923363246023655,
0.017763962969183922,
0.01182213332504034,
-0.007928300648927689,
-0.04517900571227074,
0.010090564377605915,
0.022835614159703255,
-0.06697743386030197,
-0.04500321298837662,
-0.005515530239790678,
-0.014705151319503784,
-0.02663275972008705,
-0.04996059834957123,
0.06251227110624313,
-0.04517900571227074,
-0.026316331699490547,
0.024136489257216454,
-0.0065527139231562614,
0.03280312195420265,
-0.021692954003810883,
-0.0016195003408938646,
0.0543554425239563,
-0.040116146206855774,
-0.048062022775411606,
-0.015408326871693134,
-0.022185176610946655,
0.020392080768942833,
-0.006882327143102884,
0.04978480190038681,
-0.009501654654741287,
-0.015100686810910702,
0.016849836334586143,
0.018757198005914688,
0.019407635554671288,
-0.025331886485219002,
-0.057871319353580475,
0.0708097442984581,
0.019319739192724228,
-0.022554343566298485,
0.006060491316020489,
-0.016779517754912376,
0.003830107394605875,
-0.04827297851443291,
-0.011567232199013233,
0.06862989813089371,
0.006957039702683687,
0.018739618360996246,
0.00878969021141529,
0.02642180770635605,
0.004570638760924339,
0.008174411952495575,
-0.022941090166568756,
0.004509110935032368,
-0.03596740961074829,
-0.006675769574940205,
-0.03589709475636482,
-0.027898475527763367,
-0.008688608184456825,
0.01111016795039177,
-0.027968794107437134,
-0.027669943869113922,
-0.034789592027664185,
-0.014019555412232876,
0.029498199000954628,
-0.0034367686603218317,
0.03259216994047165,
-0.015751123428344727,
-0.007216335274279118,
-0.03783082589507103,
0.013237273320555687,
-0.009519234299659729,
-0.03373482823371887,
-0.02997284196317196,
0.07327085733413696,
0.03804177790880203,
0.003983926959335804,
0.0032236187253147364,
0.019970174878835678,
0.011435386724770069,
0.007682188879698515,
-0.008271098136901855,
0.00558145297691226,
0.005445213057100773,
0.00017043757543433458,
0.04669083282351494,
-0.0448274202644825,
0.007088884711265564,
0.028795024380087852,
0.011997926980257034,
-0.028267642483115196,
0.0034279790706932545,
0.00030928722117096186,
0.035369712859392166,
0.06145751103758812,
0.005150758195668459,
0.057871319353580475,
-0.045811865478754044,
0.06335608661174774,
0.021692954003810883,
0.0006844971212558448,
-0.023784900084137917,
0.032099947333335876,
-0.02380247972905636,
0.09654595702886581,
0.05576179176568985,
-0.035809196531772614,
0.002788529032841325,
0.022273074835538864,
0.05766036733984947,
-0.018264975398778915,
-0.003465335350483656,
0.030763914808630943,
-0.008750136010348797,
0.0292345080524683,
-0.05344131588935852,
0.013237273320555687,
0.01452935766428709,
-0.04887067526578903,
-0.008741346187889576,
0.024628711864352226,
0.05344131588935852,
-0.040116146206855774,
-0.02343331277370453,
-0.006860353052616119,
0.041417017579078674,
-0.02410132996737957,
0.011936399154365063,
0.04408908635377884,
0.038252729922533035,
-0.07966975122690201,
0.05041766166687012,
-0.01065310463309288,
0.005823169369250536,
0.022818034514784813,
0.06321544945240021,
0.08501388132572174,
-0.02429470233619213,
-0.014274456538259983,
0.03962392359972,
-0.01041578222066164,
0.016937732696533203,
0.06078949570655823,
0.04257725924253464,
-0.01195397786796093,
0.008152437396347523,
-0.026597602292895317,
-0.006776851136237383,
0.05164821818470955,
0.05439060181379318,
-0.026843713596463203,
0.028548913076519966,
-0.03224058076739311,
-0.011136537417769432,
0.05987536907196045,
-0.014749099500477314,
0.0005589693319052458,
-0.04686662554740906,
-0.07559133321046829,
-0.007906326092779636,
0.0230641458183527,
-0.01350096333771944,
-0.0330316536128521,
-0.06884085386991501,
-0.06708291172981262,
-0.03046506457030773,
0.0036125625483691692,
0.010459731332957745,
-0.043315593153238297,
-0.025454942137002945,
-0.005818774923682213,
-0.03347114101052284,
0.00028401685995049775,
-0.01233193464577198,
0.011329910717904568,
0.0003933386178687215,
0.0258768480271101,
0.06521949917078018,
-0.04929257929325104,
-0.03234605863690376,
0.032258160412311554,
0.049644168466329575,
-0.02364426665008068,
-0.026316331699490547,
0.043210115283727646,
0.04387813061475754,
-0.04771043732762337,
0.02531430684030056,
-0.04257725924253464,
0.005093625281006098,
-0.013518542982637882,
0.07334117591381073,
0.005124389193952084,
0.013667968101799488,
-0.013843761757016182,
-0.010732211172580719,
-0.05692203342914581,
-0.038428522646427155,
-0.0146699920296669,
-0.006860353052616119,
-0.004504716023802757,
0.03793630003929138,
-0.032187845557928085,
0.014379932545125484,
-0.06166846305131912,
-0.025841688737273216,
-0.004491531755775213,
-0.013105427846312523,
-0.003911411855369806,
-0.024909980595111847,
-0.06827831268310547,
-0.010890426114201546,
-0.04876520112156868,
0.02763478457927704,
0.048343293368816376,
0.023327836766839027,
-0.010864056646823883,
0.03167804330587387,
0.05340615659952164,
0.011795763857662678,
-0.04792138934135437,
0.02981462888419628,
-0.047394007444381714,
-0.05446092039346695,
-0.043385908007621765,
0.06986045837402344,
-0.019829539582133293,
0.021517161279916763,
-0.046479880809783936,
-0.019126364961266518,
-0.0032236187253147364,
-0.02997284196317196,
0.06578204035758972,
-0.03979971632361412,
-0.002907190006226301,
-0.04303432255983353,
0.020145969465374947,
0.04960900917649269,
0.00046035999548621476,
0.041979558765888214,
0.018475927412509918,
0.014757889322936535,
-0.048343293368816376,
-0.005814380012452602,
-0.009088539518415928,
0.025261567905545235,
0.04233114793896675,
0.007189966272562742,
0.04911678656935692,
0.05182401090860367,
-0.04472194239497185,
-0.02035692147910595,
-0.013052689842879772,
-0.000005034329205955146,
0.05287877470254898,
0.043315593153238297,
0.04999575763940811,
-0.047675278037786484,
0.009870821610093117,
0.041698288172483444,
-0.02120073139667511,
-0.021692954003810883,
0.04493289440870285,
-0.04753464460372925,
0.03326018527150154,
0.0059550148434937,
0.04718305543065071,
0.003311515785753727,
0.04289368540048599,
0.04299916326999664,
-0.06532497704029083,
0.03519392013549805,
0.04925742372870445,
-0.07112617045640945,
0.05882060527801514,
-0.03821757063269615,
0.14513535797595978,
-0.04088963568210602,
0.020321762189269066,
-0.003948768135160208,
-0.028724705800414085,
-0.06026211380958557,
0.0045398748479783535,
0.030148636549711227,
-0.008714977651834488,
-0.03035958856344223,
-0.001350316102616489,
0.0818495899438858,
0.01419534906744957,
-0.005304577760398388,
-0.005998963490128517,
-0.05744941160082817,
-0.023855218663811684,
-0.024048591032624245,
-0.018932992592453957,
0.003970742225646973,
0.038428522646427155,
-0.03435010835528374,
0.03341840207576752,
-0.01116290595382452,
-0.00835899543017149,
0.03867463394999504,
-0.03895590454339981,
0.003441163571551442,
0.05393353849649429,
0.0006757074152119458,
0.0008965483866631985,
0.07172387093305588,
-0.008512814529240131,
-0.006979013793170452,
0.02550767920911312,
-0.044229719787836075,
-0.0058055901899933815,
0.008860007859766483,
0.060754336416721344,
0.0190560482442379,
0.022642241790890694,
0.02149958163499832,
-0.046093132346868515,
-0.01452935766428709,
0.04247178137302399,
-0.036283839493989944,
0.025279147550463676,
0.01625213585793972,
-0.05129662901163101,
-0.008965483866631985,
0.0679970383644104,
0.01536437775939703,
0.019108785316348076,
0.03018379583954811,
0.0760132372379303,
-0.043491385877132416,
0.0030302456580102444,
0.08606864511966705,
-0.008161227218806744,
-0.013694336637854576,
0.03821757063269615,
-0.015733545646071434,
-0.017447534948587418,
-0.05811743065714836,
-0.03698701411485672,
-0.02550767920911312,
-0.028074270114302635,
-0.02399585396051407,
0.02925208769738674,
0.03515876084566116,
-0.05027702450752258,
0.06173878163099289,
0.01888025365769863,
0.005642980802804232,
-0.027757840231060982,
0.07545069605112076,
0.03239879757165909,
0.043210115283727646,
-0.02745899185538292,
-0.035633403807878494,
0.02682613395154476,
-0.02167537622153759,
-0.009343440644443035,
-0.04686662554740906,
0.022360971197485924,
0.00812606792896986,
0.042928844690322876,
0.058996398001909256,
0.005308972671627998,
-0.03930749371647835,
0.026667919009923935,
-0.013342749327421188,
0.03373482823371887,
-0.010239988565444946,
-0.048062022775411606,
0.03761987388134003,
0.07161839306354523,
-0.010029036551713943,
-0.023872798308730125,
0.004399240016937256,
0.021798431873321533,
-0.014142611064016819,
0.032662488520145416,
0.007194361183792353,
0.06472727656364441,
0.0381120964884758
] |
9,672 | requests.adapters | build_response | Builds a :class:`Response <requests.Response>` object from a urllib3
response. This should not be called from user code, and is only exposed
for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`
:param req: The :class:`PreparedRequest <PreparedRequest>` used to generate the response.
:param resp: The urllib3 response object.
:rtype: requests.Response
| def build_response(self, req, resp):
"""Builds a :class:`Response <requests.Response>` object from a urllib3
response. This should not be called from user code, and is only exposed
for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`
:param req: The :class:`PreparedRequest <PreparedRequest>` used to generate the response.
:param resp: The urllib3 response object.
:rtype: requests.Response
"""
response = Response()
# Fallback to None if there's no status_code, for whatever reason.
response.status_code = getattr(resp, "status", None)
# Make headers case-insensitive.
response.headers = CaseInsensitiveDict(getattr(resp, "headers", {}))
# Set encoding.
response.encoding = get_encoding_from_headers(response.headers)
response.raw = resp
response.reason = response.raw.reason
if isinstance(req.url, bytes):
response.url = req.url.decode("utf-8")
else:
response.url = req.url
# Add new cookies from the server.
extract_cookies_to_jar(response.cookies, req, resp)
# Give the Response some context.
response.request = req
response.connection = self
return response
| (self, req, resp) | [
-0.028350302949547768,
-0.02036241441965103,
-0.06750436872243881,
0.009060603566467762,
-0.023618867620825768,
0.03135773539543152,
-0.05114547908306122,
0.05578113719820976,
-0.001835346920415759,
-0.015822533518075943,
0.07834644615650177,
0.07282962650060654,
0.045322172343730927,
0.013025814667344093,
0.031606756150722504,
0.004135217517614365,
0.016636647284030914,
-0.004173528403043747,
-0.03149182349443436,
-0.04447932541370392,
0.03905829042196274,
0.04313843324780464,
-0.013696261681616306,
0.09255991131067276,
-0.002605163026601076,
0.004808058030903339,
-0.06964980065822601,
-0.02193317376077175,
-0.0024231846909970045,
0.014251774176955223,
0.034422632306814194,
-0.03877095505595207,
0.045475419610738754,
0.02310166507959366,
0.007025320082902908,
0.046356577426195145,
0.035916768014431,
-0.02697109989821911,
-0.0376407727599144,
0.027775634080171585,
-0.04470919445157051,
-0.04394296929240227,
-0.02087961509823799,
-0.006694885902106762,
0.054593488574028015,
0.026032473891973495,
0.024806514382362366,
-0.0010397904552519321,
-0.04589684307575226,
-0.055283091962337494,
0.023274065926671028,
0.07961071282625198,
0.04643319919705391,
-0.08926514536142349,
0.0016258324030786753,
-0.005799361038953066,
-0.04225727543234825,
0.09623778611421585,
-0.042333897203207016,
0.0132269486784935,
-0.03210480138659477,
0.05103054642677307,
0.022469529882073402,
-0.014740241691470146,
-0.07367247343063354,
0.0744003877043724,
-0.027105187997221947,
-0.04873187094926834,
-0.023350689560174942,
-0.002899680519476533,
0.010133317671716213,
0.028618481010198593,
-0.005013980902731419,
-0.01210634596645832,
0.07110562175512314,
-0.0018760525854304433,
-0.027545766904950142,
-0.04394296929240227,
0.0003400120767764747,
-0.011522099375724792,
-0.02296757698059082,
-0.021262727677822113,
0.0308596882969141,
-0.011924367398023605,
0.042678698897361755,
-0.03317751735448837,
-0.03854108601808548,
-0.047774091362953186,
-0.010229095816612244,
0.09156381338834763,
-0.04298518970608711,
-0.036050859838724136,
0.0060723284259438515,
0.03402036428451538,
-0.015190399251878262,
-0.013763305731117725,
0.008682280778884888,
0.002441143151372671,
0.0074658989906311035,
-0.014079373329877853,
-0.007743655238300562,
-0.0038766167126595974,
-0.14167489111423492,
0.020534813404083252,
0.02277602069079876,
-0.023772113025188446,
-0.0013959651114419103,
-0.04842538386583328,
0.023714644834399223,
-0.012834259308874607,
-0.031147021800279617,
-0.013906973414123058,
-0.025438649579882622,
0.03208564594388008,
-0.0041280342265963554,
-0.037046950310468674,
-0.010889964178204536,
-0.017757249996066093,
-0.05252468213438988,
-0.030725598335266113,
-0.012719324789941311,
-0.006761930417269468,
0.0038957721553742886,
0.030936310067772865,
0.011924367398023605,
-0.026032473891973495,
-0.007106731180101633,
-0.025802606716752052,
0.009515549056231976,
-0.007638299372047186,
0.007015742361545563,
0.014864753931760788,
-0.022546153515577316,
-0.03624241426587105,
0.0049421475268900394,
0.018791653215885162,
-0.044249460101127625,
0.041299495846033096,
-0.05942070111632347,
0.06145119667053223,
0.02737336792051792,
-0.007523365784436464,
-0.02333153411746025,
0.004353112541139126,
-0.025630205869674683,
-0.032698627561330795,
0.011330543085932732,
-0.040226779878139496,
-0.06991797685623169,
-0.01847558654844761,
-0.008964825421571732,
-0.06497582793235779,
0.048808496445417404,
0.002985880710184574,
-0.03700863942503929,
-0.02666460908949375,
-0.024270158261060715,
-0.030189242213964462,
0.032162267714738846,
-0.008596080355346203,
0.025342872366309166,
-0.056853849440813065,
-0.0014701930340379477,
-0.03683623671531677,
0.024614959955215454,
0.001526462729088962,
0.04662475362420082,
-0.055704515427351,
0.022316286340355873,
-0.019404632970690727,
-0.03718103840947151,
0.008648757822811604,
0.0033522318117320538,
-0.01210634596645832,
-0.08650673925876617,
0.0380621962249279,
0.049881208688020706,
-0.022048108279705048,
-0.027545766904950142,
-0.013351459987461567,
0.051107168197631836,
-0.04938316345214844,
0.012843837030231953,
0.06390311568975449,
0.005286948289722204,
0.015841688960790634,
0.044977374374866486,
0.05095392465591431,
0.0049421475268900394,
0.039345622062683105,
0.008380579762160778,
-0.009941761381924152,
-0.0005049299215897918,
-0.05271624028682709,
-0.0013827956281602383,
-0.025323716923594475,
0.021071171388030052,
0.009070181287825108,
0.0567772276699543,
-0.008706225082278252,
-0.04156767576932907,
0.0067810858599841595,
0.013236526399850845,
0.023025043308734894,
0.011167720891535282,
0.054401934146881104,
-0.03541872277855873,
-0.02980612963438034,
-0.01694313809275627,
-0.0020209169015288353,
0.013466393575072289,
0.014069795608520508,
-0.014768975786864758,
0.0033258928451687098,
-0.07401727885007858,
0.02524709515273571,
-0.04447932541370392,
-0.016531292349100113,
-0.022392908111214638,
-0.021473439410328865,
-0.024576647207140923,
-0.022373752668499947,
-0.047582536935806274,
0.02279517613351345,
-0.02208641916513443,
-0.01585126668214798,
-0.012681013904511929,
0.00937667116522789,
-0.04187416285276413,
0.002387268003076315,
-0.037774864584207535,
0.00958259403705597,
0.04608839750289917,
-0.03610832616686821,
0.04643319919705391,
-0.023618867620825768,
0.011004897765815258,
0.01873418688774109,
0.014529529958963394,
0.004980458877980709,
0.03327329456806183,
0.0063069844618439674,
0.004082539584487677,
0.04608839750289917,
-0.05202663689851761,
0.04118456318974495,
-0.007882533594965935,
0.0658186748623848,
-0.026051629334688187,
-0.03744921833276749,
-0.03536125645041466,
-0.008347056806087494,
0.010324873961508274,
-0.03432685509324074,
0.07692892849445343,
-0.02105201594531536,
-0.002141836564987898,
-0.03405867516994476,
-0.006556007545441389,
0.008481146767735481,
0.02821621298789978,
0.0522565059363842,
0.04363647848367691,
-0.00022013986017554998,
-0.01664622500538826,
0.0031606757547706366,
0.01671326905488968,
-0.030591510236263275,
-0.037583306431770325,
0.04823382571339607,
0.09868970513343811,
0.039345622062683105,
-0.003242087084800005,
-0.00144744582939893,
-0.008303957059979439,
0.02419353649020195,
0.022124730050563812,
-0.04467088356614113,
-0.05014938861131668,
-0.021281883120536804,
0.005603015888482332,
-0.016445090994238853,
0.0427936315536499,
0.018159518018364906,
0.041452739387750626,
-0.002605163026601076,
-0.02310166507959366,
0.11577650904655457,
0.05535971373319626,
-0.004053805954754353,
-0.01737413927912712,
0.009640061296522617,
0.04605008661746979,
-0.003697032807394862,
-0.04712280258536339,
0.0023920568637549877,
-0.05133703723549843,
0.0578499436378479,
0.01296834833920002,
0.014491219073534012,
-0.05876941233873367,
0.001835346920415759,
0.01754653826355934,
0.03388627618551254,
0.029940219596028328,
-0.011809433810412884,
0.005440193228423595,
-0.010985742323100567,
-0.015142509713768959,
-0.02488313801586628,
0.06191093102097511,
0.05942070111632347,
-0.010707986541092396,
-0.0020113391801714897,
-0.003261242527514696,
0.022373752668499947,
0.015324488282203674,
-0.02139681577682495,
0.037410907447338104,
0.016531292349100113,
-0.03961380198597908,
-0.014577419497072697,
0.009237793274223804,
0.021435128524899483,
0.03578267991542816,
-0.012939614243805408,
0.041069626808166504,
0.05589606985449791,
0.014654042199254036,
0.04325336962938309,
-0.04141442850232124,
0.012393679469823837,
-0.08604700118303299,
0.002700940938666463,
-0.019672811031341553,
-0.04639488831162453,
0.02262277528643608,
-0.056509051471948624,
0.043176744133234024,
-0.029882751405239105,
-0.0035629435442388058,
-0.03597423434257507,
-0.0589226558804512,
0.03995860368013382,
-0.00447283498942852,
-0.04313843324780464,
0.0066230520606040955,
0.013629216700792313,
-0.018178673461079597,
-0.04394296929240227,
-0.05666229501366615,
-0.07045433670282364,
0.015985356643795967,
0.04467088356614113,
0.029691195115447044,
-0.04175923019647598,
-0.02122441679239273,
-0.026070784777402878,
-0.03610832616686821,
0.017345404252409935,
0.01279594749212265,
0.009932183660566807,
0.016828203573822975,
0.016588758677244186,
-0.009362304583191872,
-0.01507546566426754,
0.02821621298789978,
-0.020937081426382065,
0.012930036522448063,
0.011349699459969997,
-0.0028039023745805025,
-0.03697032853960991,
0.01490306481719017,
0.03308174014091492,
0.02153090573847294,
0.02574514038860798,
-0.06041679531335831,
-0.012154234573245049,
-0.041261184960603714,
-0.01737413927912712,
-0.005866405554115772,
-0.017230471596121788,
-0.03499729931354523,
-0.011263499036431313,
0.04225727543234825,
-0.07271469384431839,
0.052831172943115234,
0.041644297540187836,
0.013610061258077621,
0.044057901948690414,
0.004489596001803875,
0.025706829503178596,
0.007844222709536552,
0.02348477765917778,
-0.04490074887871742,
-0.0025022015906870365,
-0.03710441663861275,
-0.013906973414123058,
-0.015286177396774292,
-0.011244343593716621,
0.01367710530757904,
-0.016157757490873337,
0.02980612963438034,
0.026492208242416382,
-0.05823305621743202,
0.04976627603173256,
0.018935320898890495,
0.02310166507959366,
-0.0028757359832525253,
-0.051988326013088226,
-0.03340738266706467,
-0.03804304078221321,
0.0025884017813950777,
-0.05352077633142471,
-0.014328396879136562,
0.03836868703365326,
0.023714644834399223,
0.022182196378707886,
0.039345622062683105,
-0.01980690099298954,
0.03658721596002579,
0.02804381400346756,
0.04727604612708092,
0.03451840952038765,
-0.018916165456175804,
0.026338964700698853,
-0.00530131533741951,
0.006268673576414585,
-0.03170253336429596,
-0.03674045950174332,
0.022373752668499947,
0.0009380262927152216,
-0.043023500591516495,
-0.022182196378707886,
0.07401727885007858,
0.0025333294179290533,
-0.0009458082495257258,
0.021492594853043556,
-0.04306181147694588,
0.01181901153177023,
-0.02315913327038288,
0.032698627561330795,
-0.002013733610510826,
0.005018769763410091,
0.09616116434335709,
0.021626684814691544,
-0.051260411739349365,
-0.0337713398039341,
-0.00798788946121931,
-0.05489997938275337,
0.021799083799123764,
0.05244806036353111,
0.016569603234529495,
0.020611437037587166,
-0.010698407888412476,
-0.011512521654367447,
0.0011212017852813005,
-0.044441014528274536,
-0.048616938292980194,
0.024461714550852776,
0.002202895237132907,
-0.02176077291369438,
0.08512753248214722,
-0.04030340537428856,
-0.05520647019147873,
0.0399969145655632,
0.042678698897361755,
0.003543787868693471,
-0.016962293535470963,
-0.018178673461079597,
-0.020400725305080414,
0.015458577312529087,
-0.012393679469823837,
0.038675177842378616,
-0.0072839208878576756,
-0.000493256957270205,
-0.02716265618801117,
-0.020419880747795105,
-0.02787141315639019,
-0.017623161897063255,
-0.026702919974923134,
0.0771971121430397,
0.03451840952038765,
-0.0014055429492145777,
-0.00824648980051279,
-0.04819551482796669,
0.0252662505954504,
-0.00835663452744484,
-0.025515273213386536,
-0.0013073703739792109,
0.03886673226952553,
0.06436285376548767,
-0.022641930729150772,
-0.01996014639735222,
-0.04620333015918732,
0.037410907447338104,
-0.03754499554634094,
0.013868661597371101,
-0.04068651795387268,
-0.08114316314458847,
0.06137457489967346,
-0.09822996705770493,
0.02752661146223545,
-0.006330929230898619,
0.011158143170177937,
-0.025821762159466743,
-0.027794789522886276,
0.0647459626197815,
-0.005622171796858311,
0.016339736059308052,
-0.0170963816344738,
0.02070721425116062,
-0.020898770540952682,
-0.03185578063130379,
0.008811580948531628,
0.07727373391389847,
-0.07589452713727951,
0.018801230937242508,
-0.031989868730306625,
0.01332272682338953,
0.05884603410959244,
0.10029877722263336,
0.043713103979825974,
-0.021990640088915825,
-0.010449385270476341,
0.02382957935333252,
0.007489843759685755,
0.010698407888412476,
-0.008864258415997028,
-0.005674849729984999,
-0.011368854902684689,
-0.05888434499502182,
-0.026779543608427048,
-0.010516430251300335,
0.04524555057287216,
0.047084491699934006,
-0.07466857135295868,
0.03327329456806183,
0.009395826607942581,
-0.025840917602181435,
0.05666229501366615,
0.05520647019147873,
0.005349203944206238,
-0.04647151008248329,
-0.07922760397195816,
-0.00328997615724802,
0.011071942746639252,
0.0012008172925561666,
-0.002230431418865919,
-0.005646116100251675,
-0.08183276653289795,
-0.013102437369525433,
0.04122287407517433,
0.017134692519903183,
-0.02608994022011757,
0.01873418688774109,
0.007269554305821657,
-0.038100507110357285,
0.028082124888896942,
-0.04026509448885918,
0.040763139724731445,
0.014922220259904861,
-0.029231460765004158,
0.013552593998610973,
-0.02384873479604721,
0.031242800876498222,
0.048808496445417404,
0.05884603410959244,
-0.0016880881739780307,
-0.04260207712650299,
0.04467088356614113,
0.05187339335680008,
-0.022392908111214638,
0.03905829042196274,
0.030783066526055336,
-0.021722462028265,
0.03819628804922104,
-0.020266635343432426,
0.08620024472475052,
0.04470919445157051,
0.0162343792617321,
0.002767985686659813,
-0.04398128017783165,
-0.009592171758413315,
-0.03628072515130043,
-0.04007353633642197,
-0.0032133536878973246,
0.008763691410422325,
0.04298518970608711,
-0.03308174014091492,
-0.013887817040085793,
-0.009362304583191872,
-0.024423403665423393,
-0.009913028217852116,
0.05884603410959244,
-0.0015384349972009659,
-0.08213925361633301,
0.012182967737317085,
-0.043215055018663406,
-0.008658335544168949,
0.04034171625971794,
0.02153090573847294,
-0.05876941233873367,
-0.015276598744094372,
0.023523088544607162,
-0.02451918087899685,
-0.03942224755883217,
0.01866714283823967,
-0.06363493949174881,
0.0006961867329664528,
-0.03731513023376465,
-0.042678698897361755,
0.0004217227397020906,
-0.0033713874872773886,
-0.051260411739349365,
-0.05325259640812874,
-0.07712049037218094,
0.028714260086417198,
-0.026741232722997665,
-0.02346562221646309,
0.030955465510487556,
-0.02193317376077175,
0.003898166585713625,
0.105815589427948,
-0.05873110145330429,
0.0350547656416893,
0.06263884902000427,
0.04325336962938309,
-0.02909737266600132,
0.013715417124330997,
0.01825529709458351,
0.06313689053058624,
0.050072766840457916,
-0.0063069844618439674,
-0.011148565448820591,
0.04401959106326103,
0.029863595962524414,
-0.013772883452475071,
0.08413144201040268,
0.011148565448820591,
0.09148719161748886,
-0.01111983135342598,
-0.036376502364873886,
-0.03455672040581703,
-0.007805911358445883,
-0.00381436082534492,
0.02030494622886181,
0.001952675054781139,
0.005904716905206442,
-0.07367247343063354,
0.01587042398750782,
0.010736719705164433,
0.05152859166264534,
-0.014740241691470146,
-0.010372762568295002,
0.0029571473132818937,
0.01716342754662037,
0.013044970110058784,
0.019002364948391914,
0.05804149806499481,
0.012163812294602394,
-0.043023500591516495,
0.0911807045340538,
-0.056547362357378006,
0.053022727370262146,
0.021339349448680878,
-0.01181901153177023,
-0.05693047493696213,
0.008581713773310184,
-0.031261954456567764,
0.013265260495245457,
-0.011464633047580719,
-0.004750591237097979,
0.038962509483098984,
-0.04206572100520134,
-0.04919160529971123,
-0.010870808735489845,
-0.0072025093249976635,
-0.004436918068677187,
0.025687674060463905,
0.04378972575068474,
0.015468155033886433,
-0.02262277528643608,
0.000881158048287034,
0.030227553099393845,
-0.011981834657490253,
0.02367633394896984,
0.011273076757788658,
-0.02907821722328663,
-0.09194692969322205,
0.009113281965255737,
0.015046731568872929,
-0.022335441783070564,
0.030591510236263275,
-0.03017008677124977,
-0.002880524843931198,
-0.0188203863799572,
-0.025304561480879784,
0.05099223554134369,
0.07390234619379044,
0.07344260811805725,
-0.06191093102097511,
-0.023772113025188446,
0.008232123218476772,
-0.01868629828095436,
-0.00008522749703843147,
0.004664391279220581,
-0.05555126816034317,
-0.012125501409173012,
0.02718181163072586,
-0.0273158997297287,
0.07746528834104538,
0.051107168197631836,
-0.04765915870666504,
-0.008308745920658112,
0.010966586880385876,
0.020285790786147118,
0.016464246436953545,
-0.008141133934259415,
0.021799083799123764,
-0.013447238132357597,
-0.029193149879574776,
0.04329168051481247,
0.035859301686286926,
-0.014088951051235199,
0.0036275936290621758,
-0.011723233386874199,
0.010449385270476341,
-0.010344029404222965,
-0.019069410860538483,
-0.048808496445417404,
0.027066877111792564,
-0.0673128142952919,
-0.05516815930604935,
-0.054057132452726364,
-0.0278522577136755,
0.007844222709536552,
-0.0022843065671622753,
0.018504319712519646,
0.06984135508537292,
-0.04103131592273712,
-0.010870808735489845,
0.024442559108138084,
0.011905211955308914,
-0.013667527586221695,
-0.0438663475215435,
0.027277588844299316,
-0.03451840952038765,
0.006354873534291983,
0.046548131853342056,
0.030457420274615288,
-0.00437705684453249,
0.021856551989912987,
0.051950015127658844,
0.026702919974923134,
-0.012470302172005177,
-0.023446466773748398,
0.05727527290582657,
0.02894412726163864,
-0.01068883016705513,
-0.035648591816425323,
0.013179060071706772,
0.001342089963145554,
-0.014778553508222103,
-0.045628663152456284,
0.04325336962938309,
0.06095315143465996,
0.012843837030231953
] |
9,673 | requests.adapters | cert_verify | Verify a SSL certificate. This method should not be called from user
code, and is only exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param conn: The urllib3 connection object associated with the cert.
:param url: The requested URL.
:param verify: Either a boolean, in which case it controls whether we verify
the server's TLS certificate, or a string, in which case it must be a path
to a CA bundle to use
:param cert: The SSL certificate to verify.
| def cert_verify(self, conn, url, verify, cert):
"""Verify a SSL certificate. This method should not be called from user
code, and is only exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param conn: The urllib3 connection object associated with the cert.
:param url: The requested URL.
:param verify: Either a boolean, in which case it controls whether we verify
the server's TLS certificate, or a string, in which case it must be a path
to a CA bundle to use
:param cert: The SSL certificate to verify.
"""
if url.lower().startswith("https") and verify:
cert_loc = None
# Allow self-specified cert location.
if verify is not True:
cert_loc = verify
if not cert_loc:
cert_loc = extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
if not cert_loc or not os.path.exists(cert_loc):
raise OSError(
f"Could not find a suitable TLS CA certificate bundle, "
f"invalid path: {cert_loc}"
)
conn.cert_reqs = "CERT_REQUIRED"
if not os.path.isdir(cert_loc):
conn.ca_certs = cert_loc
else:
conn.ca_cert_dir = cert_loc
else:
conn.cert_reqs = "CERT_NONE"
conn.ca_certs = None
conn.ca_cert_dir = None
if cert:
if not isinstance(cert, basestring):
conn.cert_file = cert[0]
conn.key_file = cert[1]
else:
conn.cert_file = cert
conn.key_file = None
if conn.cert_file and not os.path.exists(conn.cert_file):
raise OSError(
f"Could not find the TLS certificate file, "
f"invalid path: {conn.cert_file}"
)
if conn.key_file and not os.path.exists(conn.key_file):
raise OSError(
f"Could not find the TLS key file, invalid path: {conn.key_file}"
)
| (self, conn, url, verify, cert) | [
0.012410913594067097,
-0.04629730433225632,
0.04295095428824425,
0.11848285049200058,
-0.04416446387767792,
0.0004898288752883673,
-0.003160186344757676,
0.015288406051695347,
0.02406797930598259,
-0.07093526422977448,
-0.006950111594051123,
0.035375699400901794,
0.048724327236413956,
-0.03436443954706192,
0.004635706078261137,
-0.05085716396570206,
-0.013339433819055557,
-0.01411166787147522,
0.035780202597379684,
-0.02967587299644947,
0.02594340592622757,
0.09472744166851044,
0.01202479563653469,
-0.009965503588318825,
-0.06317614763975143,
0.030135536566376686,
-0.008241766132414341,
-0.04401737079024315,
0.04416446387767792,
0.004405874293297529,
-0.03076067753136158,
0.04184776172041893,
0.055968623608350754,
0.02191675268113613,
-0.015058575198054314,
-0.026145657524466515,
0.07339905947446823,
0.006274406332522631,
0.011840930208563805,
0.01616176776587963,
-0.07453902810811996,
-0.016207734122872353,
0.0004323709290474653,
-0.004520790185779333,
0.04651794210076332,
0.0735461562871933,
-0.03701210021972656,
0.050084929913282394,
-0.05464479327201843,
-0.07255327701568604,
0.01630885899066925,
0.018368151038885117,
0.073325514793396,
-0.03625825420022011,
0.013063635677099228,
-0.015095347538590431,
-0.01925070583820343,
0.0756789892911911,
-0.017788976430892944,
0.0927416980266571,
0.06085944175720215,
0.004235798958688974,
-0.006563994102180004,
-0.020519375801086426,
-0.055564116686582565,
-0.0002549695782363415,
0.014902289025485516,
-0.030392948538064957,
0.013606037944555283,
-0.017154639586806297,
0.03544924408197403,
0.0035072320606559515,
-0.049275923520326614,
-0.0010216020746156573,
0.0641690194606781,
-0.02928975597023964,
-0.042178720235824585,
0.019875848665833473,
-0.04159034788608551,
0.036442119628190994,
0.018919747322797775,
-0.07122945040464401,
0.057145360857248306,
-0.004111689515411854,
0.043649639934301376,
-0.0032865935936570168,
0.0345299169421196,
-0.008604899980127811,
-0.001586988102644682,
0.0986989364027977,
-0.03756369650363922,
0.008241766132414341,
0.029767805710434914,
-0.014690844342112541,
0.0355963371694088,
0.004012861754745245,
0.041259393095970154,
0.006619153544306755,
-0.06677990406751633,
-0.022413190454244614,
0.038979459553956985,
-0.021824819967150688,
-0.04883464425802231,
0.020887106657028198,
0.007671783212572336,
-0.007129380013793707,
-0.033628977835178375,
-0.037508536130189896,
-0.008131446316838264,
0.02730400860309601,
-0.01703512854874134,
-0.08943212032318115,
0.025575675070285797,
0.025833087041974068,
0.014286340214312077,
-0.06571348756551743,
0.0005834852927364409,
-0.02796592377126217,
-0.10142014175653458,
0.021457090973854065,
0.0044748238287866116,
-0.013210727833211422,
0.03802336007356644,
-0.010443553328514099,
0.011657064780592918,
-0.048209503293037415,
0.006099733989685774,
-0.01805558055639267,
0.03769240155816078,
-0.007207523100078106,
0.03813368082046509,
0.016143379732966423,
-0.024821827188134193,
0.053946103900671005,
-0.028039470314979553,
-0.0345299169421196,
-0.0195081178098917,
0.05427706241607666,
-0.04898173734545708,
0.03063197247684002,
0.0008928962633945048,
-0.0038312948308885098,
-0.03824399784207344,
-0.0022994664032012224,
0.01732931286096573,
-0.05026879534125328,
-0.08604899793863297,
-0.07692927867174149,
-0.07663509249687195,
-0.007138573564589024,
-0.012659131549298763,
-0.05887369439005852,
0.044973473995923996,
-0.05148230865597725,
-0.010894023813307285,
0.00284301838837564,
-0.01786252111196518,
-0.02873815968632698,
-0.0057503897696733475,
-0.0334635004401207,
-0.0049413819797337055,
0.0343276672065258,
-0.030815837904810905,
-0.021015813574194908,
-0.01878184825181961,
0.022946400567889214,
-0.04964365437626839,
-0.03366575017571449,
-0.028572680428624153,
0.005272340029478073,
-0.037104032933712006,
0.0441276915371418,
-0.01939779706299305,
0.03714080527424812,
0.0711926743388176,
0.04960687831044197,
0.06461029499769211,
-0.03653405234217644,
-0.017191413789987564,
-0.01496664248406887,
0.017476404085755348,
0.029657486826181412,
0.04037683829665184,
0.04534120485186577,
-0.04037683829665184,
0.07612026482820511,
-0.021199679002165794,
0.01939779706299305,
0.00819579977542162,
-0.005594104062765837,
-0.02125483751296997,
0.016079027205705643,
-0.0023121072445064783,
-0.01826702617108822,
0.017605111002922058,
-0.013900223188102245,
-0.00913351308554411,
0.046591486781835556,
0.014065701514482498,
-0.03653405234217644,
0.011059503071010113,
-0.06773600727319717,
0.018827814608812332,
0.013210727833211422,
-0.004231201950460672,
0.002895879792049527,
-0.004500105045735836,
0.02165934257209301,
-0.06931725144386292,
0.04600311815738678,
0.024270230904221535,
-0.005552734714001417,
-0.03313254192471504,
0.020684855058789253,
-0.0067156832665205,
-0.04276708886027336,
-0.014534558169543743,
-0.00722131272777915,
-0.06218327209353447,
-0.0007923448574729264,
0.03989878669381142,
0.0005760157946497202,
0.05802791565656662,
0.02274414710700512,
0.03850141167640686,
0.023350903764367104,
0.050893936306238174,
-0.005552734714001417,
0.0041162860579788685,
-0.02511601150035858,
-0.008310715667903423,
-0.003537110285833478,
0.04979074373841286,
0.035486020147800446,
0.0014582823496311903,
-0.05740277096629143,
0.05975624918937683,
0.07817956060171127,
0.07634090632200241,
-0.01611580140888691,
0.029234595596790314,
0.015407918952405453,
-0.004378294572234154,
0.013127988204360008,
-0.038574956357479095,
0.045929573476314545,
0.040045879781246185,
0.010204528458416462,
-0.04423801228404045,
-0.0021362858824431896,
-0.04078134149312973,
-0.0144426254555583,
0.014635683968663216,
-0.05398287624120712,
0.022394804283976555,
-0.04655471444129944,
-0.04181098937988281,
-0.02756142057478428,
-0.02916104905307293,
0.013936995528638363,
0.018487663939595222,
0.08141559362411499,
0.04067102074623108,
0.04342900216579437,
-0.05412996932864189,
0.015720490366220474,
0.0460398904979229,
-0.015141313895583153,
-0.0057687764056026936,
0.048209503293037415,
0.04195807874202728,
-0.011886896565556526,
0.014267954044044018,
-0.010002276860177517,
0.006798422429710627,
0.018257832154631615,
-0.022137392312288284,
0.004978155251592398,
0.011528359726071358,
-0.02741432934999466,
0.025373423472046852,
-0.0034084045328199863,
0.019342638552188873,
0.018303798511624336,
-0.01378071028739214,
-0.08266587555408478,
-0.12017441540956497,
0.08957921713590622,
-0.048319824039936066,
-0.0025856068823486567,
-0.04122261703014374,
-0.030301015824079514,
0.07898856699466705,
-0.02449086867272854,
-0.07152363657951355,
0.005010331515222788,
-0.0058239358477294445,
0.03587213531136513,
0.008512967266142368,
0.0003697417851071805,
-0.027064984664320946,
0.027248850092291832,
-0.013927802443504333,
-0.006274406332522631,
0.059425290673971176,
-0.02167772874236107,
-0.0326177179813385,
-0.050195250660181046,
-0.013946189545094967,
0.017108673229813576,
0.018285412341356277,
0.004470227286219597,
0.013982961885631084,
-0.033095769584178925,
0.015178087167441845,
0.045525070279836655,
-0.0094322944059968,
-0.008159026503562927,
-0.0060905409045517445,
0.03138582035899162,
-0.041406482458114624,
-0.024270230904221535,
-0.019967781379818916,
0.045782480388879776,
0.03142259269952774,
-0.012364947237074375,
0.08546063303947449,
-0.011261754669249058,
-0.02125483751296997,
0.0650148019194603,
-0.04478960856795311,
0.03942073881626129,
0.012806223705410957,
-0.024104751646518707,
-0.029583940282464027,
-0.014028928242623806,
-0.05148230865597725,
-0.01813831925392151,
0.030301015824079514,
-0.04449542239308357,
-0.004571353085339069,
-0.0494597889482975,
-0.015555011108517647,
-0.030834224075078964,
-0.03528376668691635,
-0.05170294642448425,
-0.0373062863945961,
-0.03320608660578728,
-0.0023672666866332293,
0.020427443087100983,
-0.023608315736055374,
-0.022376416251063347,
-0.03462184965610504,
0.03813368082046509,
-0.01690642163157463,
0.03557795286178589,
0.011491586454212666,
-0.07373002171516418,
0.020409056916832924,
-0.026973051950335503,
0.015095347538590431,
0.03824399784207344,
-0.02860945276916027,
-0.03916332498192787,
0.016639817506074905,
0.01163867861032486,
0.07406097650527954,
-0.03156968578696251,
-0.040965206921100616,
-0.006490448024123907,
0.010682579129934311,
-0.02474828064441681,
-0.022817693650722504,
0.009381731040775776,
0.023442836478352547,
-0.05173971876502037,
-0.022817693650722504,
-0.006035380996763706,
-0.022027073428034782,
0.009542613290250301,
0.004831063095480204,
0.025888245552778244,
0.007648800034075975,
0.01157432608306408,
-0.013982961885631084,
-0.12164533883333206,
-0.07001593708992004,
0.02969425916671753,
0.004775903187692165,
0.0628819614648819,
0.033904775977134705,
0.015600977465510368,
-0.025336649268865585,
-0.02085033431649208,
-0.03600084036588669,
-0.022229325026273727,
-0.001054927590303123,
-0.011133048683404922,
0.0032245391048491,
-0.032838355749845505,
-0.007938387803733349,
0.03419896215200424,
0.005842322483658791,
-0.012622358277440071,
-0.05023202300071716,
0.12421945482492447,
0.01994939334690571,
0.013670391403138638,
-0.0019777019042521715,
-0.043502550572156906,
-0.005626280792057514,
0.019361024722456932,
0.012714290991425514,
-0.04265676811337471,
-0.04335545748472214,
0.016400791704654694,
-0.011528359726071358,
0.07192813605070114,
0.019747141748666763,
0.0032130475156009197,
0.012640745379030704,
-0.017301732674241066,
-0.0008210738305933774,
0.040560703724622726,
-0.00035509001463651657,
-0.011482393369078636,
0.00752009404823184,
-0.05214422196149826,
-0.0471063107252121,
-0.02658693492412567,
0.015021801926195621,
0.04442187771201134,
0.012374140322208405,
-0.024821827188134193,
0.004808079916983843,
0.043539322912693024,
-0.013973768800497055,
0.020960653200745583,
-0.043796733021736145,
-0.007432757876813412,
-0.03302222117781639,
0.026145657524466515,
-0.05335773527622223,
0.007598237134516239,
0.07152363657951355,
-0.010811284184455872,
-0.021365158259868622,
-0.014203600585460663,
0.017982034012675285,
-0.0022190252784639597,
-0.04181098937988281,
-0.0021489267237484455,
0.014608104713261127,
-0.01811993308365345,
-0.07700282335281372,
0.05751309171319008,
0.02314865216612816,
0.033776070922613144,
-0.02261544205248356,
0.02566760778427124,
0.019618436694145203,
-0.00955180637538433,
0.055711209774017334,
-0.07773828506469727,
-0.05964592844247818,
-0.04368641600012779,
0.019857460632920265,
0.04960687831044197,
0.008577319793403149,
-0.01323830708861351,
-0.016492724418640137,
0.0017834942555055022,
-0.02449086867272854,
0.03886914253234863,
0.014451819472014904,
0.004238096997141838,
0.023994432762265205,
0.0008612943929620087,
-0.047657907009124756,
-0.028407201170921326,
-0.06814051419496536,
-0.012125922366976738,
0.032709650695323944,
0.009515033103525639,
0.0524384081363678,
-0.07064107805490494,
-0.01377151720225811,
-0.033628977835178375,
-0.024270230904221535,
-0.005764179863035679,
0.020114872604608536,
0.061337489634752274,
0.03179032355546951,
0.022652214393019676,
0.02099742740392685,
0.011068696156144142,
-0.0513719879090786,
-0.012355753220617771,
-0.017917681485414505,
-0.01939779706299305,
0.022799307480454445,
0.009478260762989521,
0.07314164936542511,
0.036056000739336014,
0.02956555411219597,
-0.0016455951845273376,
-0.061558131128549576,
-0.0018306097481399775,
0.021457090973854065,
0.01756833679974079,
-0.028113016858696938,
0.06920693069696426,
0.029252981767058372,
0.015279212966561317,
0.023828953504562378,
0.034989580512046814,
-0.02846236154437065,
-0.0009854035452008247,
0.028903638944029808,
0.017834942787885666,
0.028903638944029808,
0.05685117468237877,
0.0347505584359169,
-0.02017003297805786,
0.013321046717464924,
0.02767173945903778,
-0.0030958333518356085,
-0.02138354443013668,
-0.04717985540628433,
-0.00292575778439641,
0.019600050523877144,
0.012282207608222961,
0.00021532359824050218,
-0.029197823256254196,
-0.005525154527276754,
0.031349048018455505,
-0.034180574119091034,
0.0006728323642164469,
-0.0754583552479744,
-0.010287268087267876,
0.051666174083948135,
0.07402420043945312,
0.015030995011329651,
-0.030668744817376137,
-0.053946103900671005,
0.01880023442208767,
-0.043134819716215134,
0.016639817506074905,
-0.022376416251063347,
0.027212075889110565,
-0.020390670746564865,
0.04081811383366585,
0.024417322129011154,
-0.05269581824541092,
0.025612447410821915,
-0.013063635677099228,
0.042031627148389816,
-0.05920465290546417,
-0.004720743745565414,
-0.015757262706756592,
0.01070096530020237,
-0.03278319910168648,
-0.026145657524466515,
-0.018561210483312607,
0.00804870668798685,
-0.041516803205013275,
0.09112368524074554,
0.03329801931977272,
0.01709948107600212,
-0.02285446785390377,
0.05405642092227936,
0.038574956357479095,
-0.03315092995762825,
0.04640762135386467,
-0.019765527918934822,
-0.00615029688924551,
-0.028278496116399765,
0.007814278826117516,
-0.005171213764697313,
0.015168894082307816,
0.021971913054585457,
0.0015663031954318285,
-0.014387466013431549,
0.05126166716217995,
-0.02127322554588318,
-0.0067846328020095825,
-0.000879680912476033,
0.020409056916832924,
-0.03101808950304985,
-0.01807396672666073,
-0.06655927002429962,
-0.046223755925893784,
-0.025704380124807358,
0.015444692224264145,
0.05254872515797615,
0.041406482458114624,
-0.020537763833999634,
0.06817728281021118,
0.03743499144911766,
0.030025217682123184,
0.04291418194770813,
-0.03635018691420555,
0.030117150396108627,
-0.03316931426525116,
-0.02340606227517128,
-0.006821405608206987,
-0.039641376584768295,
-0.010452747344970703,
-0.014902289025485516,
-0.013697970658540726,
-0.024398935958743095,
0.0077958921901881695,
0.016897229477763176,
-0.02555728890001774,
-0.02511601150035858,
0.0028315267991274595,
-0.11635001003742218,
0.020133258774876595,
-0.034952808171510696,
0.0000911426468519494,
0.015950322151184082,
-0.01799122802913189,
0.04423801228404045,
0.04320836439728737,
-0.05832209810614586,
0.017016740515828133,
-0.005782566033303738,
0.03704887628555298,
-0.09156496077775955,
-0.005272340029478073,
0.04688567295670509,
0.02127322554588318,
0.06703732162714005,
-0.003415299579501152,
0.0411490723490715,
-0.028682999312877655,
-0.0006837493856437504,
-0.017154639586806297,
0.05431383475661278,
0.05574798211455345,
0.03353704512119293,
-0.030852610245347023,
-0.02191675268113613,
-0.02596179209649563,
0.019894234836101532,
-0.0004978729994036257,
0.009919537231326103,
-0.004047336522489786,
0.05681440234184265,
-0.03908978030085564,
0.006563994102180004,
0.037508536130189896,
0.03842786327004433,
-0.013918609358370304,
0.020280351862311363,
-0.027230463922023773,
0.006848985329270363,
0.009023193269968033,
0.028241721913218498,
-0.007759118918329477,
-0.02513439767062664,
-0.000186450983164832,
0.039788469672203064,
-0.020629696547985077,
0.08082722127437592,
0.021824819967150688,
0.027101757004857063,
-0.06556639820337296,
0.00956099946051836,
0.02796592377126217,
0.05133521556854248,
-0.00013832996773999184,
-0.021034199744462967,
0.08009175956249237,
0.040707796812057495,
-0.027101757004857063,
-0.02500569261610508,
-0.06711086630821228,
-0.027193689718842506,
0.012714290991425514,
0.045414749532938004,
-0.024564415216445923,
-0.03583536297082901,
0.05056298151612282,
0.010995149612426758,
-0.0014571330975741148,
0.03480571508407593,
0.01070096530020237,
-0.06552962213754654,
-0.04843014106154442,
0.0070604304783046246,
-0.0002872896729968488,
0.018496857956051826,
0.024968918412923813,
-0.05416674166917801,
-0.0020190717186778784,
-0.019894234836101532,
0.04335545748472214,
0.03982524201273918,
-0.003093535080552101,
0.05063652619719505,
-0.03278319910168648,
-0.006982287857681513,
0.028535908088088036,
0.026550160720944405,
-0.023350903764367104,
-0.008296925574541092,
-0.046995989978313446,
-0.03351866081357002,
0.03201096132397652,
-0.015113734640181065,
-0.016667397692799568,
0.04195807874202728,
-0.04949656128883362,
-0.002351178554818034,
0.02327735722064972,
-0.04052393138408661,
-0.07045721262693405,
0.0000053642365855921526,
0.003941614180803299,
0.0028751948848366737,
-0.04688567295670509,
-0.021861594170331955,
0.011886896565556526,
0.009708092547953129,
0.006527220830321312,
0.0054883817210793495,
0.008701428771018982,
-0.0019305865280330181,
-0.00564466742798686,
-0.003973790444433689,
0.04067102074623108,
-0.033776070922613144,
0.026439841836690903,
-0.06177876889705658,
0.0022925715893507004,
-0.04482638090848923,
-0.01557339821010828,
0.0013812886318191886,
0.03566988557577133,
-0.0079935472458601,
-0.005437818821519613,
0.010066629387438297,
-0.019177159294486046,
0.0023948466405272484,
-0.02846236154437065,
-0.009441487491130829,
-0.01255800575017929,
0.02713853120803833,
-0.059314973652362823,
-0.015812423080205917,
0.04438510164618492,
-0.052364859730005264,
0.018956521525979042,
0.036037616431713104,
0.044348329305648804,
-0.027855604887008667,
0.023332517594099045,
0.009919537231326103,
-0.006623750552535057,
-0.01277864445000887,
0.05111457780003548,
0.000930243928451091,
0.006039978004992008,
-0.05284291133284569,
0.04721663147211075,
0.024766666814684868,
0.06269809603691101
] |
9,674 | requests.adapters | close | Disposes of any internal state.
Currently, this closes the PoolManager and any active ProxyManager,
which closes any pooled connections.
| def close(self):
"""Disposes of any internal state.
Currently, this closes the PoolManager and any active ProxyManager,
which closes any pooled connections.
"""
self.poolmanager.clear()
for proxy in self.proxy_manager.values():
proxy.clear()
| (self) | [
0.0057832058519124985,
-0.0290910042822361,
0.01861034706234932,
0.025932449847459793,
-0.08004064112901688,
-0.021733008325099945,
-0.07401067763566971,
0.045655470341444016,
0.028857702389359474,
-0.005863964091986418,
-0.039876751601696014,
-0.010229409672319889,
0.025663254782557487,
0.05696165934205055,
-0.012975198216736317,
0.01961534097790718,
-0.047557782381772995,
-0.0214458666741848,
-0.005024973303079605,
-0.050859905779361725,
-0.05060865730047226,
0.027368156239390373,
0.06514518707990646,
-0.04249691590666771,
-0.03106510080397129,
-0.018341151997447014,
-0.020458819344639778,
0.022827735170722008,
-0.032231613993644714,
-0.011377974413335323,
-0.08851131051778793,
0.01797325164079666,
-0.00690933782607317,
0.036090075969696045,
0.05448506399989128,
0.01293033268302679,
0.002008867682889104,
0.008170068264007568,
-0.00381808215752244,
0.040307462215423584,
0.02205604314804077,
-0.055131133645772934,
-0.010875477455556393,
-0.0166900884360075,
0.025573523715138435,
0.006505545694380999,
-0.03311098366975784,
-0.002887116279453039,
0.015397952869534492,
-0.027098961174488068,
-0.0563155896961689,
0.0021782361436635256,
-0.005684501025825739,
0.04055871069431305,
0.011745874769985676,
0.037902653217315674,
0.019417932257056236,
0.04691171273589134,
0.034582581371068954,
-0.01810785010457039,
-0.017775842919945717,
-0.02483772486448288,
-0.020728014409542084,
-0.06256091594696045,
0.03452874347567558,
-0.01954355649650097,
-0.01911284402012825,
0.06704749912023544,
0.06611429154872894,
-0.031711168587207794,
0.02011783793568611,
-0.014267334714531898,
-0.015864558517932892,
0.018718024715781212,
0.004733345005661249,
-0.01679776795208454,
0.030383141711354256,
-0.012697029858827591,
0.008708457462489605,
-0.0516495443880558,
0.005850504618138075,
0.001989799551665783,
-0.04619386047124863,
0.045619577169418335,
0.036538731306791306,
-0.06428376585245132,
0.03284178674221039,
0.01767713762819767,
-0.04967544972896576,
0.011647169478237629,
0.015254382975399494,
0.03528248891234398,
0.025142811238765717,
-0.005908830091357231,
0.0013459749752655625,
-0.018987219780683517,
-0.07286211103200912,
0.03485177829861641,
-0.049029380083084106,
-0.025501739233732224,
-0.022648271173238754,
-0.01713874749839306,
-0.06349412351846695,
0.036538731306791306,
0.01679776795208454,
-0.006240837275981903,
0.03201625868678093,
-0.07501567155122757,
-0.059940751641988754,
-0.017479727044701576,
-0.07602066546678543,
-0.023276392370462418,
-0.010453738272190094,
0.017766868695616722,
0.02049471251666546,
0.039912644773721695,
-0.036574624478816986,
-0.005316601134836674,
-0.007393889129161835,
0.026058074086904526,
-0.07379531860351562,
0.045081187039613724,
-0.04167138412594795,
-0.024694154039025307,
0.024981295689940453,
0.08513740450143814,
0.017748922109603882,
0.002281427616253495,
-0.02860645391047001,
-0.01728231832385063,
0.04619386047124863,
0.008950733579695225,
-0.025519683957099915,
0.030724121257662773,
0.06029967591166496,
-0.02151765301823616,
0.0012136207660660148,
-0.04167138412594795,
-0.008869974873960018,
0.010552443563938141,
-0.04360958933830261,
0.04497350752353668,
-0.021786848083138466,
0.04378905147314072,
0.029449932277202606,
0.015972236171364784,
0.008470669388771057,
-0.02148175984621048,
-0.06220198795199394,
-0.07408246397972107,
-0.0004946457920596004,
-0.02060239017009735,
0.02193041890859604,
-0.003573563415557146,
-0.08233777433633804,
0.01054347027093172,
-0.033613480627536774,
0.039158895611763,
-0.0026448408607393503,
0.0006241959054023027,
0.01309184916317463,
0.017748922109603882,
-0.0428917333483696,
-0.05739236995577812,
-0.06650910526514053,
-0.07917921990156174,
0.02914484404027462,
-0.0410253144800663,
0.0033896134700626135,
-0.004304876551032066,
-0.06435554474592209,
-0.05907932668924332,
-0.006469652988016605,
-0.001328028622083366,
-0.013046983629465103,
0.04156370460987091,
0.0027592487167567015,
-0.025681201368570328,
-0.045547790825366974,
0.024101924151182175,
-0.009897402487695217,
-0.054700423032045364,
-0.07401067763566971,
-0.01381867565214634,
0.0015613309806212783,
-0.020387033000588417,
0.022720057517290115,
0.010687041096389294,
0.021768901497125626,
0.025501739233732224,
-0.0090898172929883,
0.005173030309379101,
0.010902397334575653,
-0.02241496928036213,
0.04676814377307892,
-0.0024765939451754093,
0.010938289575278759,
-0.0052807084284722805,
0.040809959173202515,
0.016887499019503593,
-0.059115219861269,
0.06356590986251831,
0.03187268599867821,
-0.06392483413219452,
0.016026074066758156,
-0.001989799551665783,
-0.025932449847459793,
-0.03404419124126434,
-0.004475366789847612,
-0.0063530015759170055,
0.032321345061063766,
0.0469834990799427,
-0.005908830091357231,
0.022127827629446983,
0.061878953129053116,
0.011189538054168224,
0.011539491824805737,
-0.022109881043434143,
0.009879455901682377,
0.0070394487120211124,
-0.017793789505958557,
-0.020925423130393028,
0.0195794478058815,
-0.009206468239426613,
-0.03397240862250328,
0.042676378041505814,
-0.024227548390626907,
0.03451079875230789,
0.06482215225696564,
-0.017111828550696373,
0.019471770152449608,
0.03722069412469864,
0.005401846021413803,
0.010597309097647667,
0.04949598386883736,
-0.036538731306791306,
-0.06676035374403,
-0.012059935368597507,
-0.06152002885937691,
0.00775730237364769,
-0.04630153626203537,
-0.05003437399864197,
0.016097860410809517,
-0.045188866555690765,
-0.03233928978443146,
0.06349412351846695,
0.0009085330530069768,
0.021858632564544678,
0.07688208669424057,
0.018735971301794052,
0.014303226955235004,
-0.03768729791045189,
0.04292762652039528,
-0.056602731347084045,
0.01693236455321312,
-0.11492831259965897,
-0.012033015489578247,
-0.027475835755467415,
-0.008461696095764637,
0.018009144812822342,
0.02625548467040062,
0.049854911863803864,
-0.036969445645809174,
0.058576829731464386,
0.035174813121557236,
0.012795735150575638,
0.08183527737855911,
-0.02347380295395851,
0.012445781379938126,
-0.003618429182097316,
0.09138272702693939,
-0.024209601804614067,
-0.0009909740183502436,
-0.013370017521083355,
-0.01386354211717844,
0.01861034706234932,
0.014195549301803112,
-0.03445695713162422,
-0.1004994586110115,
-0.0165016520768404,
0.08039957284927368,
0.03919478878378868,
0.014410904608666897,
-0.015039026737213135,
-0.007676543667912483,
0.014383985660970211,
-0.01866418495774269,
0.008188013918697834,
-0.02587861195206642,
-0.0008047808660194278,
-0.018448829650878906,
-0.021822739392518997,
-0.000474175758427009,
0.03260848671197891,
0.004935241304337978,
-0.04149192199110985,
-0.03433133289217949,
0.035533737391233444,
-0.025609416887164116,
0.0033985867630690336,
-0.03858461603522301,
-0.016681116074323654,
0.013199527747929096,
0.026614410802721977,
0.026524679735302925,
-0.014222468249499798,
0.05251096934080124,
0.019884536042809486,
0.03388267755508423,
0.0686267763376236,
0.03962550312280655,
-0.00421963119879365,
-0.03198036551475525,
0.0305805504322052,
0.06532464921474457,
-0.023114876821637154,
-0.033093035221099854,
-0.005464658141136169,
-0.005644121672958136,
0.03052671067416668,
-0.03908711299300194,
0.0024160249158740044,
0.04719885438680649,
0.014383985660970211,
-0.01954355649650097,
0.020656228065490723,
0.006438246928155422,
0.06733463704586029,
0.021768901497125626,
-0.039912644773721695,
-0.019023112952709198,
-0.03210598975419998,
0.007017015945166349,
-0.03014983795583248,
-0.0009623720543459058,
-0.04938830807805061,
0.029988322407007217,
-0.0029992808122187853,
0.00825979933142662,
-0.0574282631278038,
-0.014895455911755562,
0.020763907581567764,
-0.017425889149308205,
-0.02193041890859604,
-0.0805431380867958,
0.04619386047124863,
-0.008506561629474163,
-0.028032170608639717,
0.005460171494632959,
-0.05100347846746445,
0.03440311923623085,
0.03106510080397129,
0.02724253199994564,
0.04113299399614334,
0.010938289575278759,
-0.012024043127894402,
0.027332264930009842,
0.05294167995452881,
-0.005249302368611097,
-0.026004236191511154,
0.00754194613546133,
-0.04594261199235916,
-0.026058074086904526,
-0.0122124794870615,
0.0214458666741848,
-0.04834742099046707,
0.053228821605443954,
-0.03452874347567558,
0.026022182777523994,
-0.026991283521056175,
-0.02584271878004074,
-0.09145451337099075,
-0.013881487771868706,
0.030670281499624252,
-0.01667214371263981,
0.0382256880402565,
0.03156759962439537,
0.05487988516688347,
0.04770135134458542,
0.059976644814014435,
0.0044798534363508224,
-0.020458819344639778,
0.043681371957063675,
-0.004805130418390036,
0.008878948166966438,
-0.06381715834140778,
0.002768221776932478,
0.012634217739105225,
-0.0006634534802287817,
0.029270468279719353,
0.0544491745531559,
-0.041850846260786057,
-0.04350190982222557,
-0.003824812127277255,
0.012858547270298004,
0.012248371727764606,
0.03646694868803024,
0.007479134015738964,
-0.04544011503458023,
-0.05304935947060585,
0.037543728947639465,
0.0090898172929883,
0.03402624651789665,
0.0004750169755425304,
0.025573523715138435,
0.015694066882133484,
0.01670803502202034,
0.043322447687387466,
0.07189300656318665,
-0.0007285089232027531,
-0.012329130433499813,
-0.005231355782598257,
0.014751885086297989,
-0.0563155896961689,
0.0014570178464055061,
-0.017345130443572998,
-0.013244393281638622,
0.05007026717066765,
0.1447192281484604,
0.05358774960041046,
0.060479141771793365,
0.03528248891234398,
-0.029414039105176926,
-0.04784492403268814,
-0.056602731347084045,
-0.049926698207855225,
-0.007322103716433048,
-0.004863455891609192,
0.003914543893188238,
0.00786049384623766,
-0.010364007204771042,
-0.01810785010457039,
0.018484722822904587,
-0.0291807372123003,
0.017686109989881516,
0.03472615405917168,
-0.02483772486448288,
0.043681371957063675,
-0.02101515606045723,
0.011404894292354584,
0.019956322386860847,
-0.005343520548194647,
0.0028983326628804207,
-0.020333195105195045,
0.08183527737855911,
-0.020889531821012497,
0.0410253144800663,
-0.020225517451763153,
-0.003212393494322896,
0.017614325508475304,
-0.06464269012212753,
-0.02097926288843155,
0.005599255673587322,
-0.059474144130945206,
-0.0074028619565069675,
0.028462883085012436,
0.028750024735927582,
0.005765259265899658,
0.00038079873775132,
0.038943540304899216,
0.02912689745426178,
-0.030939476564526558,
0.04874223843216896,
0.023114876821637154,
-0.04163549095392227,
0.00004090501897735521,
0.0025932451244443655,
0.018646240234375,
0.028355205431580544,
0.03284178674221039,
-0.020333195105195045,
0.02009989321231842,
-0.019902482628822327,
-0.023240501061081886,
-0.04098942503333092,
0.01310979574918747,
-0.035677310079336166,
0.05168543756008148,
0.050859905779361725,
-0.05922289565205574,
-0.024730045348405838,
-0.03912300616502762,
0.06837552785873413,
-0.022791841998696327,
-0.05355185642838478,
-0.0077617890201509,
0.1029401645064354,
-0.06112520769238472,
-0.007196479476988316,
-0.012490647844970226,
-0.01773097738623619,
-0.0031450947280973196,
-0.027404049411416054,
-0.04002032056450844,
0.05190079286694527,
0.008488615043461323,
-0.05247507616877556,
-0.04913705959916115,
0.006056887097656727,
-0.08563990145921707,
0.0171566940844059,
0.01218555960804224,
-0.03192652389407158,
-0.00024255590687971562,
0.07314924895763397,
-0.0023868621792644262,
0.010866504162549973,
-0.004580801352858543,
-0.01907695084810257,
0.014240414835512638,
-0.06636554002761841,
-0.07724101841449738,
-0.018466776236891747,
-0.00763616431504488,
0.013953273184597492,
0.032249558717012405,
-0.013181581161916256,
0.02634521573781967,
0.007600271608680487,
0.0006668184068985283,
0.044614583253860474,
0.058002546429634094,
-0.026506733149290085,
-0.02099720947444439,
-0.023760944604873657,
-0.038046225905418396,
-0.025986289605498314,
0.029288414865732193,
0.011925337836146355,
0.043071199208498,
0.04741420969367027,
-0.004706425592303276,
-0.048096172511577606,
-0.011386947706341743,
0.01310979574918747,
-0.043322447687387466,
-0.06126878038048744,
-0.1148565262556076,
0.02054855041205883,
0.02009989321231842,
-0.003703674301505089,
0.05168543756008148,
0.045691363513469696,
0.004845509771257639,
-0.02094336971640587,
-0.012948279269039631,
0.023635320365428925,
0.025447899475693703,
0.02239702269434929,
0.03140608221292496,
0.02383272908627987,
0.0009892915841192007,
0.026524679735302925,
-0.010678067803382874,
0.005173030309379101,
-0.020351141691207886,
0.01959739439189434,
-0.020422926172614098,
0.0063305688090622425,
0.008632185868918896,
-0.005819098092615604,
0.03341607004404068,
-0.014733938500285149,
0.016788793727755547,
0.03865639865398407,
0.027493780478835106,
0.02534022182226181,
-0.007236858364194632,
0.04881402477622032,
0.048562776297330856,
0.020835692062973976,
-0.08140456676483154,
0.03725658729672432,
0.009960214607417583,
0.017811734229326248,
-0.004293660167604685,
0.013782783411443233,
-0.012607298791408539,
0.02490950934588909,
-0.009170575998723507,
0.02630932256579399,
0.040307462215423584,
-0.07659494876861572,
-0.08032778650522232,
0.020835692062973976,
0.048957593739032745,
-0.008084822446107864,
0.014455771073698997,
0.02246880903840065,
-0.012454754672944546,
-0.011297216638922691,
0.013064930215477943,
-0.009619234129786491,
-0.03544400632381439,
-0.009906375780701637,
0.016528572887182236,
-0.03686176612973213,
0.008905867114663124,
-0.0013897190801799297,
0.07573352009057999,
0.0196691807359457,
0.022648271173238754,
0.005810125265270472,
0.0009550813701935112,
-0.029270468279719353,
0.0382256880402565,
-0.03456463664770126,
0.05886397138237953,
-0.03006010688841343,
0.035982396453619,
-0.03901532664895058,
-0.0316932238638401,
0.03233928978443146,
-0.02146381326019764,
-0.0337570495903492,
-0.03876407817006111,
-0.0363592691719532,
0.02291746623814106,
-0.029916536062955856,
0.01695031113922596,
-0.01653754524886608,
-0.055238813161849976,
-0.015469738282263279,
0.008928300812840462,
-0.03551579266786575,
0.02580682560801506,
-0.014608314260840416,
0.02763735130429268,
-0.030383141711354256,
0.07975350320339203,
-0.011844579130411148,
-0.060479141771793365,
0.00907187070697546,
0.03145992010831833,
0.02298925258219242,
0.021320242434740067,
0.02289951965212822,
0.041276562958955765,
0.024191657081246376,
-0.05308525264263153,
0.05007026717066765,
-0.012553459964692593,
0.029485823586583138,
-0.021266404539346695,
-0.06410429626703262,
0.011126725934445858,
-0.017632272094488144,
-0.028498776257038116,
0.07673851400613785,
-0.015056973323225975,
-0.012625244446098804,
0.0400921069085598,
0.021535599604249,
0.02101515606045723,
-0.008852028287947178,
-0.048419203609228134,
-0.029755018651485443,
0.01674392819404602,
0.01124337688088417,
-0.011772793717682362,
-0.04192263260483742,
-0.005204436369240284,
0.01767713762819767,
0.022809788584709167,
0.0163132157176733,
-0.037507835775613785,
-0.04210209473967552,
0.05595666542649269,
-0.003622915828600526,
0.02625548467040062,
0.027081016451120377,
-0.0171566940844059,
-0.012957251630723476,
0.011189538054168224,
-0.025394059717655182,
0.028337258845567703,
0.007586812134832144,
-0.014877509325742722,
-0.05383899807929993,
0.05986896529793739,
-0.02051265724003315,
0.04450690373778343,
-0.06216609477996826,
0.011934311129152775,
0.058576829731464386,
0.05767951160669327,
-0.04411208629608154,
0.009224414825439453,
0.002364429412409663,
-0.004930754657834768,
-0.041779063642024994,
0.010983155108988285,
0.05735647678375244,
-0.027045123279094696,
-0.078317791223526,
0.0004455737944226712,
0.005603742320090532,
-0.10473479330539703,
0.03621570020914078,
-0.02822958119213581,
0.014751885086297989,
-0.03339812532067299,
0.0002164776378776878,
0.0030262002255767584,
0.05872039869427681,
0.04249691590666771,
0.0014312199782580137,
0.013782783411443233,
0.020351141691207886,
0.035103026777505875,
0.04745010286569595,
0.01959739439189434,
0.03162143751978874,
0.03668230399489403,
0.06510929763317108,
0.030257517471909523,
-0.05627970024943352,
-0.016026074066758156,
0.0009831225033849478,
0.000853011617437005,
0.009906375780701637,
0.024245494976639748,
0.047557782381772995,
-0.036574624478816986,
0.040881745517253876,
0.013495641760528088,
-0.0658271461725235,
0.011871499009430408,
0.02587861195206642,
0.056638624519109726,
-0.07386710494756699,
-0.05735647678375244,
-0.061340562999248505,
0.02772708423435688,
-0.07408246397972107,
-0.03354169428348541,
0.0796099305152893,
0.04425565525889397,
0.0046077207662165165,
-0.00766308419406414,
-0.019902482628822327,
-0.060515034943819046,
0.025017186999320984,
0.040774066001176834,
0.023545587435364723,
-0.0402715690433979,
0.033182770013809204,
0.031782954931259155,
-0.00845720898360014,
-0.020315248519182205,
0.048993486911058426,
-0.0018080930458381772,
0.008506561629474163,
0.033236607909202576,
0.03251875564455986,
-0.013980193063616753,
-0.00856040045619011,
-0.017201559618115425,
-0.07257496565580368,
-0.015918396413326263,
0.0042353346943855286,
0.0009219928178936243,
0.012813681736588478,
-0.06528875976800919,
0.03138813376426697,
-0.01914873719215393,
0.03201625868678093,
-0.01334309857338667
] |
9,675 | requests.adapters | get_connection | Returns a urllib3 connection for the given URL. This should not be
called from user code, and is only exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param url: The URL to connect to.
:param proxies: (optional) A Requests-style dictionary of proxies used on this request.
:rtype: urllib3.ConnectionPool
| def get_connection(self, url, proxies=None):
"""Returns a urllib3 connection for the given URL. This should not be
called from user code, and is only exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param url: The URL to connect to.
:param proxies: (optional) A Requests-style dictionary of proxies used on this request.
:rtype: urllib3.ConnectionPool
"""
proxy = select_proxy(url, proxies)
if proxy:
proxy = prepend_scheme_if_needed(proxy, "http")
proxy_url = parse_url(proxy)
if not proxy_url.host:
raise InvalidProxyURL(
"Please check proxy URL. It is malformed "
"and could be missing the host."
)
proxy_manager = self.proxy_manager_for(proxy)
conn = proxy_manager.connection_from_url(url)
else:
# Only scheme should be lower case
parsed = urlparse(url)
url = parsed.geturl()
conn = self.poolmanager.connection_from_url(url)
return conn
| (self, url, proxies=None) | [
0.01723804883658886,
-0.09436750411987305,
-0.026825185865163803,
0.03951404243707657,
-0.03457008674740791,
0.025471707805991173,
0.0059167672879993916,
-0.0015050395159050822,
-0.02430621162056923,
-0.02671239525079727,
0.03340459242463112,
0.04161945357918739,
0.012303492054343224,
0.02738913521170616,
-0.018798308447003365,
-0.03776580095291138,
-0.017012469470500946,
-0.006429021246731281,
-0.013055425137281418,
-0.02644921839237213,
-0.02144886925816536,
0.041168294847011566,
0.015301822684705257,
0.00008797020564088598,
-0.011692547239363194,
0.039288464933633804,
-0.019023887813091278,
-0.02346028760075569,
0.0028526431415230036,
-0.012811047025024891,
-0.04274735227227211,
0.06218480318784714,
-0.03389335051178932,
0.07158395648002625,
0.03816056624054909,
0.03936365619301796,
0.040115587413311005,
0.02579127810895443,
-0.013243407942354679,
-0.009342758916318417,
-0.03785979375243187,
-0.0543271079659462,
-0.018121568486094475,
0.005677089095115662,
0.037953782826662064,
0.03186313062906265,
-0.03458888828754425,
0.0018222610233351588,
-0.027351537719368935,
-0.0759451612830162,
0.04161945357918739,
0.05222170054912567,
0.06000419706106186,
-0.011410572566092014,
0.012519673444330692,
0.013074222952127457,
-0.033460989594459534,
0.026562009006738663,
-0.03789738938212395,
0.0809079185128212,
-0.009610635228455067,
0.0089573934674263,
-0.0008641346939839423,
-0.003912397660315037,
-0.03205111622810364,
-0.00522592943161726,
-0.019362257793545723,
-0.013299803249537945,
0.03396854177117348,
-0.018638521432876587,
0.050266675651073456,
0.02987051196396351,
-0.045529503375291824,
-0.06793708354234695,
0.06947854906320572,
-0.009455548599362373,
0.03378055989742279,
0.0024050085339695215,
-0.006410222966223955,
0.0038607025053352118,
-0.009319260716438293,
-0.012397483922541142,
-0.03229549154639244,
-0.015424011275172234,
0.04101790860295296,
-0.08752492070198059,
-0.014700276777148247,
-0.007350138388574123,
-0.06079372763633728,
-0.005982561502605677,
-0.03977721929550171,
-0.02987051196396351,
0.018920496106147766,
0.01576238125562668,
-0.02009539119899273,
-0.025960464030504227,
-0.03635592758655548,
-0.005475006997585297,
-0.014220919460058212,
-0.002561269560828805,
-0.023234708234667778,
0.02539651468396187,
-0.15971042215824127,
-0.00010529989958740771,
-0.012801648117601871,
-0.032897040247917175,
-0.009314561262726784,
-0.02784029394388199,
-0.014935255981981754,
-0.03394974395632744,
-0.030227679759263992,
-0.014380705542862415,
0.05079302936792374,
0.06432780623435974,
0.031430769711732864,
-0.019512644037604332,
-0.04598066210746765,
-0.051206592470407486,
-0.03477687016129494,
0.008106769993901253,
-0.10993250459432602,
0.04304812476038933,
0.03857412934303284,
0.012660660780966282,
0.01417392399162054,
0.03836734592914581,
0.031242787837982178,
-0.021693246439099312,
0.023441489785909653,
-0.026486815884709358,
0.05834994837641716,
-0.03812296688556671,
-0.03308502212166786,
0.03357377648353577,
0.018234359100461006,
0.043236106634140015,
-0.034137725830078125,
0.0581243671476841,
-0.04789808765053749,
0.030584847554564476,
0.015903368592262268,
0.03648751601576805,
-0.030171284452080727,
0.04000280052423477,
-0.023779859766364098,
-0.04440160468220711,
-0.03757781907916069,
-0.0010397813748568296,
-0.009253467433154583,
-0.03940125182271004,
-0.008191362954676151,
-0.040905117988586426,
0.03814176842570305,
-0.020696936175227165,
-0.04019078239798546,
-0.0007131607853807509,
-0.02998330071568489,
0.01668349839746952,
-0.01658010669052601,
-0.00249077589251101,
-0.0020748632960021496,
0.023573078215122223,
-0.001076790620572865,
-0.0022440480533987284,
-0.009469647891819477,
0.0038607025053352118,
0.00536221731454134,
-0.09519463032484055,
0.016918476670980453,
0.01404233556240797,
-0.0485372319817543,
0.06695957481861115,
-0.02932536043226719,
0.0154804065823555,
0.029513344168663025,
0.07195992022752762,
-0.00023483198310714215,
-0.004732474219053984,
0.025471707805991173,
0.004483396653085947,
0.032746654003858566,
-0.005771080497652292,
-0.016721094027161598,
0.0015579097671434283,
-0.012416282668709755,
0.002328640315681696,
0.03895009309053421,
0.02159925550222397,
0.031675148755311966,
0.03917567431926727,
-0.014014138840138912,
-0.00020017260976601392,
0.05673329159617424,
-0.0850435420870781,
0.00037420380976982415,
-0.06564369052648544,
0.0137039665132761,
0.01914607733488083,
0.012322290800511837,
0.07256146520376205,
-0.034006137400865555,
0.011034606955945492,
0.022144407033920288,
0.026298832148313522,
0.02184363454580307,
-0.04380005598068237,
-0.017867792397737503,
-0.07647151499986649,
-0.03490845859050751,
0.07530602067708969,
0.015048045665025711,
0.009173573926091194,
-0.039551638066768646,
-0.007317241281270981,
-0.013252806849777699,
0.03551000356674194,
0.0028056474402546883,
-0.01899568922817707,
-0.015132637694478035,
-0.0002321884676348418,
0.04868761822581291,
-0.012989630922675133,
0.0037831594236195087,
0.0023215911351144314,
0.026975572109222412,
-0.009662330150604248,
-0.01628873310983181,
0.02143007144331932,
-0.011983920820057392,
0.004666680004447699,
0.024456597864627838,
0.015837574377655983,
0.07605795562267303,
0.00046555185690522194,
0.09737523645162582,
-0.05346238613128662,
-0.05917707458138466,
-0.004149726592004299,
0.06970412284135818,
-0.03868691623210907,
-0.007514623459428549,
0.06530532240867615,
0.037671808153390884,
0.017172254621982574,
-0.058274753391742706,
0.005959063768386841,
-0.0010250952327623963,
-0.010621043853461742,
0.01777379959821701,
0.02156165987253189,
0.02144886925816536,
0.03225789591670036,
-0.03383695334196091,
-0.05831235274672508,
0.02932536043226719,
-0.01955023966729641,
0.008717715740203857,
0.03342339023947716,
-0.04451439157128334,
-0.014681478030979633,
0.04665739834308624,
0.06744832545518875,
0.02131728082895279,
-0.013083621859550476,
-0.06444060057401657,
0.005437410436570644,
0.03133678063750267,
-0.04248417541384697,
-0.026392824947834015,
0.02782149612903595,
0.12760291993618011,
0.06327510625123978,
0.01966303028166294,
0.012002719566226006,
0.0026458618231117725,
-0.05210890993475914,
0.009737523272633553,
-0.03958923742175102,
-0.0024766770657151937,
-0.06526772677898407,
-0.07820095866918564,
0.03282184526324272,
-0.020264575257897377,
-0.0447399728000164,
0.007589816581457853,
-0.04902598634362221,
-0.07650911062955856,
0.07162155210971832,
0.01612894795835018,
0.018093371763825417,
-0.02252037264406681,
-0.060192182660102844,
-0.031825534999370575,
-0.0111849932000041,
-0.022088011726737022,
0.01681508682668209,
-0.011579757556319237,
0.07477966696023941,
-0.024606984108686447,
0.0009134802967309952,
-0.07917847484350204,
0.036995068192481995,
-0.04842444136738777,
0.08301332592964172,
0.021900027990341187,
-0.031036006286740303,
0.023930246010422707,
-0.04297293350100517,
0.0011484591523185372,
0.03159995377063751,
0.004812366794794798,
-0.03257746621966362,
0.017595216631889343,
0.021749641746282578,
-0.005865071900188923,
0.008144366554915905,
-0.0265808068215847,
0.02114809677004814,
-0.0030077293049544096,
0.006372626405209303,
-0.04143147170543671,
0.03445729985833168,
0.0006021332810632885,
-0.004878161009401083,
-0.05605655536055565,
0.036167945712804794,
0.02116689458489418,
0.015593196265399456,
-0.020396163687109947,
0.06079372763633728,
-0.041168294847011566,
0.057184454053640366,
-0.039551638066768646,
0.02987051196396351,
-0.024343809112906456,
-0.014521692879498005,
0.03599875792860985,
0.0033954442478716373,
0.033310603350400925,
-0.02116689458489418,
0.04421361908316612,
-0.04774770140647888,
-0.04139387235045433,
-0.015424011275172234,
0.024212220683693886,
-0.02199402078986168,
-0.023027926683425903,
-0.0412810854613781,
0.027765100821852684,
-0.039288464933633804,
-0.0014791918219998479,
-0.027765100821852684,
-0.01681508682668209,
-0.013243407942354679,
-0.06342548877000809,
0.010000700131058693,
0.016251137480139732,
-0.025847673416137695,
-0.016345128417015076,
-0.04925156757235527,
-0.01310242060571909,
-0.012228298932313919,
-0.011495165526866913,
0.00950254499912262,
-0.016655301675200462,
0.02173084393143654,
0.07729864120483398,
-0.01790538802742958,
-0.00025260227266699076,
-0.015038646757602692,
0.007256146986037493,
0.01071503572165966,
-0.013741563074290752,
0.0015062143793329597,
0.006913077551871538,
-0.028554629534482956,
-0.016899678856134415,
-0.025584496557712555,
0.012425681576132774,
0.032652661204338074,
-0.012754651717841625,
-0.0036492215003818274,
0.0011613829992711544,
-0.009027887135744095,
0.003073523286730051,
-0.05304882302880287,
-0.050943415611982346,
-0.012143706902861595,
0.0383109524846077,
0.049589935690164566,
0.016655301675200462,
0.017191052436828613,
-0.005113139748573303,
0.03186313062906265,
-0.04534151777625084,
-0.024663379415869713,
0.02197522111237049,
-0.011175594292581081,
0.015818776562809944,
-0.012801648117601871,
0.013750961981713772,
0.04067953675985336,
0.03528442233800888,
0.004025187809020281,
-0.06477896869182587,
0.05214650556445122,
0.01602555811405182,
0.04169464856386185,
0.05440230295062065,
-0.06714755296707153,
-0.012115509249269962,
0.014098730869591236,
0.005695887375622988,
-0.018676118925213814,
-0.035228028893470764,
0.02565968967974186,
-0.021091701462864876,
0.0022358237765729427,
0.036713093519210815,
0.03782219439744949,
0.03379935771226883,
-0.038085371255874634,
-0.01792418584227562,
0.034250516444444656,
-0.04440160468220711,
-0.03361137583851814,
0.031017208471894264,
-0.016213539987802505,
-0.004464597906917334,
0.005902668461203575,
0.02876141108572483,
0.0019291763892397285,
0.04598066210746765,
-0.0447399728000164,
0.06684678047895432,
-0.0005618931609205902,
-0.02579127810895443,
0.04872521385550499,
0.02144886925816536,
0.005014448426663876,
-0.006349128670990467,
-0.023403894156217575,
-0.03844254091382027,
0.00001161125965154497,
0.08865281939506531,
-0.02594166435301304,
-0.013891949318349361,
-0.03707026317715645,
-0.045943062752485275,
0.014549890533089638,
-0.0543271079659462,
0.03447609767317772,
-0.0020995361264795065,
-0.02047135680913925,
-0.03688228130340576,
0.0082148602232337,
0.0320323184132576,
0.017529422417283058,
0.03761541470885277,
0.03186313062906265,
0.06417742371559143,
-0.03011488914489746,
0.10376665741205215,
-0.06214720755815506,
-0.10624803602695465,
-0.014615684747695923,
0.008905698545277119,
0.009201771579682827,
0.051093801856040955,
0.003616324393078685,
-0.005902668461203575,
0.02671239525079727,
-0.039025288075208664,
-0.03932606056332588,
-0.03584837168455124,
0.002610614988952875,
-0.024794967845082283,
0.0274079330265522,
0.10481936484575272,
-0.03173154219985008,
-0.03597996011376381,
0.010461258701980114,
0.08181023597717285,
0.004490445833653212,
-0.03925086557865143,
0.03936365619301796,
0.004774770233780146,
-0.023949043825268745,
0.021392473950982094,
0.011410572566092014,
-0.022069213911890984,
0.08895359188318253,
0.002413232810795307,
-0.006095351185649633,
-0.033179014921188354,
0.01818736270070076,
-0.028535831719636917,
0.014004739001393318,
-0.01861032471060753,
-0.007448829710483551,
0.048123668879270554,
0.03695747256278992,
0.014390104450285435,
-0.005169534590095282,
-0.0020067193545401096,
-0.016260536387562752,
-0.05342479050159454,
0.0577859990298748,
0.005183633416891098,
-0.0223699864000082,
-0.007801297586411238,
0.028047075495123863,
-0.02564089186489582,
-0.001664825133047998,
-0.020151786506175995,
0.0014509944012388587,
-0.038329750299453735,
0.026242438703775406,
-0.0510186068713665,
-0.04406323283910751,
0.032615065574645996,
0.06564369052648544,
0.009046685881912708,
-0.0244378000497818,
-0.03567918762564659,
-0.003035926725715399,
0.016072552651166916,
0.02945694886147976,
-0.041882630437612534,
0.015245427377521992,
0.05410153046250343,
-0.018798308447003365,
-0.060605745762586594,
0.019907407462596893,
0.026242438703775406,
0.029532141983509064,
-0.07812576740980148,
-0.014813066460192204,
-0.038724515587091446,
0.03688228130340576,
0.03691987693309784,
0.04586787149310112,
-0.01941865123808384,
-0.055718183517456055,
-0.04872521385550499,
-0.029644930735230446,
-0.012388085015118122,
0.0800807923078537,
-0.037803396582603455,
0.014972852542996407,
0.012557270005345345,
0.03067883849143982,
0.031712744385004044,
-0.021768441423773766,
0.014963452704250813,
-0.00417557405307889,
0.053499985486269,
-0.06474137306213379,
0.018130967393517494,
-0.043612074106931686,
0.010216880589723587,
-0.024362606927752495,
-0.025283724069595337,
0.07211031019687653,
-0.03757781907916069,
-0.012848643586039543,
0.044176023453474045,
0.04786049202084541,
-0.00020531276823021472,
-0.012453879229724407,
0.0903070718050003,
-0.0387997068464756,
-0.0345136933028698,
0.04834924638271332,
0.006142347119748592,
-0.010621043853461742,
-0.012980232015252113,
-0.026674799621105194,
0.06184643134474754,
0.08203581720590591,
-0.00158493232447654,
0.03109240159392357,
-0.062222398817539215,
-0.03554759919643402,
0.03336699679493904,
0.01968182809650898,
-0.04192022606730461,
0.02308432199060917,
0.005540801212191582,
-0.04586787149310112,
0.00045292172580957413,
0.005169534590095282,
-0.07519323378801346,
-0.0025401213206350803,
0.04034116864204407,
-0.018262555822730064,
-0.07835134863853455,
0.025001749396324158,
-0.00025642066611908376,
0.02293393574655056,
-0.00009171518468065187,
-0.014267915859818459,
-0.02441900223493576,
-0.03253987058997154,
-0.053274404257535934,
0.030979610979557037,
-0.07707305997610092,
0.027595916762948036,
0.04801087826490402,
-0.06417742371559143,
-0.002584767295047641,
-0.03357377648353577,
-0.03849893435835838,
-0.010555249638855457,
-0.10414262861013412,
-0.002369761699810624,
-0.05549260601401329,
0.02956973761320114,
0.010743233375251293,
0.01398594118654728,
0.039702028036117554,
-0.04000280052423477,
0.012698257341980934,
0.03921326994895935,
-0.019343458116054535,
0.004671379458159208,
0.034927256405353546,
0.000020909445083816536,
-0.031148796901106834,
0.019888609647750854,
0.028291452676057816,
0.0377282053232193,
0.09248767793178558,
-0.00046349578769877553,
-0.023930246010422707,
0.02210680954158306,
0.035773180425167084,
0.010235678404569626,
0.0363183319568634,
-0.03857412934303284,
0.03910047933459282,
0.022877540439367294,
-0.0010879520559683442,
0.01310242060571909,
-0.011711345985531807,
0.0031463666819036007,
0.017717404291033745,
-0.0096999267116189,
0.06410223245620728,
-0.02851703390479088,
0.020302172750234604,
-0.017801998183131218,
0.05850033462047577,
-0.006189343053847551,
0.00698827113956213,
-0.04289773851633072,
-0.045943062752485275,
0.005376316141337156,
0.013440790586173534,
0.017426030710339546,
0.013149416074156761,
0.017294444143772125,
0.007618014235049486,
-0.01445589866489172,
0.02223839797079563,
0.023441489785909653,
-0.02878020890057087,
-0.00835584755986929,
0.015452208928763866,
0.015687188133597374,
0.028949394822120667,
-0.01641092263162136,
-0.019381055608391762,
0.029268965125083923,
0.02782149612903595,
-0.034118928015232086,
0.029513344168663025,
-0.02701316773891449,
-0.06530532240867615,
0.00964353233575821,
0.05169534683227539,
-0.004267215728759766,
-0.03707026317715645,
0.04270975664258003,
-0.009859712794423103,
-0.01397654227912426,
-0.05579337850213051,
0.011758341453969479,
-0.012942634522914886,
0.03566038981080055,
-0.032069914042949677,
0.062335189431905746,
0.024231018498539925,
0.021636852994561195,
-0.020302172750234604,
-0.005160135682672262,
0.0037949082907289267,
-0.013497184962034225,
0.045266326516866684,
-0.0029583836439996958,
0.07985521107912064,
-0.06733553856611252,
-0.014625083655118942,
0.0035669789649546146,
0.013891949318349361,
-0.03423171862959862,
0.02346028760075569,
-0.007237348705530167,
0.02998330071568489,
0.04545430839061737,
0.010752632282674313,
-0.002032567048445344,
0.026411622762680054,
-0.016645900905132294,
0.04248417541384697,
0.04289773851633072,
-0.014878860674798489,
0.0002850587188731879,
-0.015828175470232964,
0.020790928974747658,
-0.03229549154639244,
-0.02522732876241207,
-0.008139667101204395,
0.020302172750234604,
0.009591836482286453,
0.05011628940701485,
-0.014164525084197521,
-0.011203791946172714,
-0.019738223403692245,
0.014813066460192204,
-0.0025401213206350803,
0.025340119376778603,
-0.030434461310505867,
-0.01723804883658886,
-0.01735083758831024,
-0.021881230175495148,
0.040641941130161285,
-0.007787199225276709,
0.028667420148849487,
0.007307842373847961,
-0.040228378027677536,
-0.061395272612571716,
0.003061774419620633,
0.02729514241218567,
0.02035856805741787,
-0.14279194176197052,
0.016655301675200462,
0.025753682479262352,
0.01572478376328945,
0.020941315218806267,
0.011683148331940174,
0.00894799456000328,
0.0409427136182785,
0.008858702145516872,
-0.007237348705530167,
-0.053951144218444824,
-0.03173154219985008,
-0.023366296663880348,
0.007101060822606087,
0.022163204848766327,
-0.012247097678482533,
0.044702377170324326,
0.025753682479262352,
-0.051244188100099564,
-0.06365106999874115,
-0.039025288075208664,
0.01486946176737547,
0.009812716394662857
] |
9,676 | cloudscraper | init_poolmanager | null | def init_poolmanager(self, *args, **kwargs):
kwargs['ssl_context'] = self.ssl_context
kwargs['source_address'] = self.source_address
return super(CipherSuiteAdapter, self).init_poolmanager(*args, **kwargs)
| (self, *args, **kwargs) | [
0.006412053946405649,
-0.05660295858979225,
0.025954362004995346,
0.008223417215049267,
-0.05364355072379112,
0.016804004088044167,
-0.02328409068286419,
0.03241743892431259,
0.028692666441202164,
0.012364889495074749,
-0.006956313271075487,
-0.024321584030985832,
0.0024491664953529835,
0.030665606260299683,
-0.002104752464219928,
0.008576334454119205,
-0.015281778760254383,
-0.0402071513235569,
0.00975414551794529,
-0.03884650394320488,
-0.018793951719999313,
0.033659033477306366,
0.02697484754025936,
0.045309580862522125,
-0.024015437811613083,
0.06347423046827316,
0.005115186329931021,
-0.0010869239922612906,
0.018759936094284058,
0.008733659982681274,
-0.058473851531744,
0.03598914295434952,
-0.020885948091745377,
0.10068795830011368,
0.03636331856250763,
0.0020197120029479265,
0.011548500508069992,
0.030665606260299683,
-0.041227634996175766,
-0.014575942419469357,
-0.024661745876073837,
-0.0329446904361248,
0.07973397523164749,
0.012560482136905193,
0.01315576583147049,
0.037383805960416794,
-0.013819081708788872,
-0.0011278496822342277,
0.0488472655415535,
-0.03297870606184006,
-0.03626127168536186,
0.025971369817852974,
0.012688043527305126,
0.05541239306330681,
-0.046228017657995224,
0.0392887145280838,
-0.02282487228512764,
0.07143402099609375,
-0.02501891739666462,
0.05122840031981468,
-0.041533783078193665,
-0.03490062430500984,
0.02387937344610691,
-0.010638567619025707,
-0.052657078951597214,
-0.08626508712768555,
-0.08463230729103088,
0.06075293570756912,
0.03915264829993248,
0.012866628356277943,
0.06908690929412842,
-0.007708921562880278,
-0.06177342310547829,
0.004343444015830755,
0.006207956932485104,
0.031090809032320976,
-0.036397337913513184,
0.0324854739010334,
-0.02774021215736866,
0.007219939026981592,
-0.006395046133548021,
0.02721296064555645,
-0.0076791574247181416,
0.0032889414578676224,
0.05027594789862633,
-0.050446026027202606,
-0.0027255481109023094,
0.026481613516807556,
0.0467042438685894,
0.007840734906494617,
0.0059145670384168625,
0.03653340041637421,
-0.007462304085493088,
0.0005376154440455139,
0.003342091804370284,
-0.014771535992622375,
0.010876680724322796,
0.0405132956802845,
-0.0001423099747626111,
0.0016774239484220743,
-0.037451837211847305,
-0.048030875623226166,
0.01632777601480484,
-0.0030083078891038895,
0.005544641055166721,
-0.02855660207569599,
0.00474526034668088,
-0.05707918852567673,
-0.0053320396691560745,
0.03319981321692467,
0.005383064039051533,
-0.011233850382268429,
-0.0023811340797692537,
0.022484708577394485,
-0.04411901533603668,
-0.011157314293086529,
-0.05133044719696045,
-0.019253170117735863,
-0.0050684139132499695,
0.010349429212510586,
-0.06582134962081909,
0.06221563369035721,
-0.0013999793445691466,
-0.011557004414498806,
-0.02199147455394268,
-0.0007526084664277732,
0.024083470925688744,
-0.021600287407636642,
0.006025119684636593,
-0.06660372018814087,
0.08728557080030441,
-0.01311324629932642,
-0.02774021215736866,
0.019695380702614784,
0.008168140426278114,
-0.04520753398537636,
0.00011772794823627919,
0.011114793829619884,
0.012143784202635288,
0.022705813869833946,
-0.0036886318121105433,
0.031481996178627014,
-0.023845357820391655,
-0.0015881314175203443,
0.03388013690710068,
0.004430610220879316,
0.010238876566290855,
-0.022127538919448853,
-0.028743689879775047,
-0.04442515969276428,
0.030801670625805855,
-0.010128323920071125,
0.012152288109064102,
0.005842282902449369,
-0.02222958765923977,
0.0395948588848114,
-0.022331636399030685,
0.02047775313258171,
0.028386520221829414,
-0.027859268710017204,
0.005200226791203022,
0.0027212961576879025,
-0.04544564709067345,
-0.00797679927200079,
-0.011165818199515343,
-0.04786079749464989,
-0.039935022592544556,
-0.07082173228263855,
-0.01425278838723898,
-0.004906837362796068,
-0.0341692753136158,
-0.04544564709067345,
0.006335517391562462,
-0.00457517895847559,
0.023998429998755455,
0.04602392017841339,
0.019372226670384407,
-0.03966289013624191,
0.011284874752163887,
0.0064503224566578865,
-0.008206408470869064,
0.01799457147717476,
0.005366055760532618,
0.066807821393013,
-0.009303431026637554,
0.033812105655670166,
0.040853459388017654,
0.03267256170511246,
0.015324299223721027,
-0.01145495567470789,
0.001959120621904731,
0.00986469816416502,
-0.02826746366918087,
-0.04541162773966789,
-0.02418551966547966,
-0.005591413006186485,
0.007968295365571976,
0.0002753186272457242,
-0.06609348207712173,
0.0729987695813179,
-0.025665223598480225,
0.000820640882011503,
-0.018998049199581146,
0.00782797858119011,
0.04126165434718132,
-0.01382758654654026,
-0.04132968559861183,
0.02321605756878853,
-0.033437926322221756,
0.03342091664671898,
0.026481613516807556,
-0.002793580526486039,
0.01118282601237297,
0.05701115354895592,
0.027468083426356316,
-0.018555838614702225,
-0.009762650355696678,
0.014388853684067726,
0.026192475110292435,
0.02273983135819435,
0.014150739647448063,
-0.04585384204983711,
0.008708147332072258,
-0.059460319578647614,
0.024236543104052544,
0.010230372659862041,
0.03151601180434227,
-0.021634304895997047,
-0.011718581430613995,
0.019440259784460068,
0.0018740801606327295,
0.016429824754595757,
0.06044679135084152,
0.049459557980298996,
0.023607244715094566,
-0.0326385460793972,
0.01330033503472805,
-0.011191330850124359,
-0.10184451192617416,
-0.017263222485780716,
0.006939304992556572,
0.04013912007212639,
0.0338631272315979,
-0.039186663925647736,
-0.04058133065700531,
0.031175849959254265,
-0.018691902980208397,
0.042588286101818085,
0.02940700575709343,
0.03598914295434952,
0.031107816845178604,
-0.018011579290032387,
-0.03444140404462814,
-0.021260125562548637,
-0.06323611736297607,
-0.11286576092243195,
0.006165436469018459,
0.01784149743616581,
0.0035419370979070663,
-0.03690757974982262,
-0.010255885310471058,
0.04360876977443695,
-0.06510701030492783,
0.04241820424795151,
0.0154603635892272,
0.05704516917467117,
-0.02124311774969101,
-0.022501718252897263,
-0.02478080242872238,
0.03428833186626434,
0.027417058125138283,
-0.006322761531919241,
0.06099104881286621,
0.07088976353406906,
0.014278301037847996,
-0.019457267597317696,
-0.05391567945480347,
0.019559316337108612,
-0.058541882783174515,
-0.016531873494386673,
0.10306908935308456,
0.03581906110048294,
-0.01579202152788639,
0.010638567619025707,
-0.02547813579440117,
-0.02442363277077675,
-0.00663315923884511,
-0.02153225615620613,
-0.013708529062569141,
-0.02109004557132721,
-0.08769376575946808,
0.06408652663230896,
0.018623869866132736,
0.005731730256229639,
0.009056814014911652,
0.0027468083426356316,
0.015281778760254383,
0.057997625321149826,
0.00949052069336176,
0.05095627158880234,
-0.03945879265666008,
0.007424036040902138,
0.002319479826837778,
0.050446026027202606,
0.03721372410655022,
-0.02796131744980812,
0.021855410188436508,
0.024304576218128204,
-0.024661745876073837,
0.006373785901814699,
0.05677304044365883,
0.022484708577394485,
-0.005421332083642483,
-0.03983297199010849,
0.013512936420738697,
0.011922678910195827,
0.03663545101881027,
0.03160105273127556,
0.01152298878878355,
0.024525681510567665,
-0.09449701011180878,
-0.030818678438663483,
-0.036771513521671295,
-0.03304674103856087,
0.06782830506563187,
0.0748356431722641,
0.06102506443858147,
-0.006569379009306431,
-0.012781587429344654,
0.04837103933095932,
-0.06922297179698944,
0.03962887451052666,
-0.00876767560839653,
-0.025223013013601303,
-0.0330977663397789,
0.004030920099467039,
-0.025427110493183136,
0.01913411356508732,
-0.0042180088348686695,
-0.0760602280497551,
0.03136293962597847,
-0.036091189831495285,
-0.0547320693731308,
-0.020375704392790794,
-0.0541197769343853,
-0.04724850505590439,
-0.027076896280050278,
-0.06160334125161171,
-0.014865079894661903,
-0.01586855761706829,
-0.03605717420578003,
-0.020205624401569366,
0.040853459388017654,
0.06888280808925629,
0.055140264332294464,
0.03721372410655022,
-0.03789404779672623,
-0.005735982209444046,
0.01745031215250492,
-0.03054654970765114,
-0.019984519109129906,
0.01447389367967844,
0.03144798055291176,
0.014771535992622375,
-0.0030869704205542803,
0.013240806758403778,
0.0479288287460804,
-0.043574754148721695,
0.04942554235458374,
-0.03789404779672623,
-0.02774021215736866,
-0.037757985293865204,
-0.0017008100403472781,
0.03068261407315731,
-0.01760338433086872,
-0.0674201101064682,
-0.08592492341995239,
-0.012705051340162754,
-0.0414317324757576,
0.050514061003923416,
0.011939686723053455,
-0.009082325734198093,
0.06816846877336502,
0.0007898136973381042,
-0.03388013690710068,
-0.06286194175481796,
-0.030053313821554184,
0.01050250232219696,
0.06218161806464195,
0.016574393957853317,
0.035648979246616364,
0.012466938234865665,
0.004664471838623285,
0.019389234483242035,
0.026872798800468445,
-0.03204326331615448,
-0.026702718809247017,
0.012909148819744587,
-0.03308075666427612,
-0.05394969508051872,
0.016225729137659073,
-0.011769605800509453,
0.03581906110048294,
-0.033369895070791245,
0.002595861442387104,
-0.0002824939147103578,
0.05524231120944023,
0.04405098035931587,
0.05500419810414314,
0.0267537422478199,
-0.008002311922609806,
0.02532506175339222,
-0.028216440230607986,
-0.04452720656991005,
-0.07143402099609375,
-0.038506340235471725,
-0.011471964418888092,
0.04503745213150978,
0.0541197769343853,
0.03952682763338089,
0.061569325625896454,
0.025988377630710602,
-0.02734902687370777,
-0.03952682763338089,
0.032842643558979034,
-0.0006659734644927084,
-0.012764579616487026,
-0.01382758654654026,
-0.01269654743373394,
-0.049765702337026596,
-0.05133044719696045,
0.06857666373252869,
0.03891453519463539,
0.029730159789323807,
0.006616151425987482,
0.05673902481794357,
-0.015264770947396755,
0.020596809685230255,
-0.029236925765872,
-0.00847003422677517,
-0.00883570872247219,
-0.043642785400152206,
-0.013700025156140327,
0.031039783731102943,
0.0307676550000906,
-0.02600538730621338,
-0.052248887717723846,
0.0005564838065765798,
-0.07054959982633591,
0.011744094081223011,
-0.039866987615823746,
0.005055658053606749,
0.0004355668497737497,
-0.03342091664671898,
-0.05684107169508934,
0.01641281694173813,
0.06007261201739311,
-0.0012862376170232892,
-0.02440662495791912,
0.01398065872490406,
0.022178564220666885,
-0.062249649316072464,
0.044629257172346115,
0.013666009530425072,
0.0026234996039420366,
0.006747963838279247,
0.009039805270731449,
0.014720511622726917,
0.033148787915706635,
0.010723607614636421,
-0.020222632214426994,
0.01933821104466915,
-0.021277135238051414,
-0.0318731814622879,
0.0103579331189394,
0.0035419370979070663,
-0.056194767355918884,
0.005655193701386452,
-0.0015381701523438096,
0.014609958976507187,
-0.025274038314819336,
0.008742163889110088,
0.12266242504119873,
-0.012671034783124924,
-0.05622878298163414,
-0.06524307280778885,
0.03166908398270607,
-0.0631340742111206,
-0.027468083426356316,
0.04837103933095932,
-0.03418628126382828,
0.047962844371795654,
-0.006998833734542131,
0.02102201245725155,
0.008852716535329819,
0.012220320291817188,
0.00610165623947978,
0.0027850766200572252,
0.035546932369470596,
0.014422869309782982,
-0.01828370802104473,
0.015315795317292213,
0.017943546175956726,
-0.02449166588485241,
0.07279467582702637,
0.02139619179069996,
-0.07891758531332016,
0.030784662812948227,
-0.04156779870390892,
0.081026591360569,
0.020681850612163544,
0.026090426370501518,
-0.018249692395329475,
-0.011650549247860909,
0.05116036906838417,
0.046670228242874146,
-0.040921490639448166,
0.007504824548959732,
0.0010863924399018288,
0.01148897223174572,
0.06551520526409149,
0.08694541454315186,
0.024134494364261627,
-0.020749883726239204,
0.01573249325156212,
-0.024321584030985832,
-0.0022238092496991158,
0.008550822734832764,
0.00834672525525093,
0.06952911615371704,
0.017059125006198883,
-0.020426729694008827,
-0.03236641734838486,
0.037145692855119705,
0.013802073895931244,
0.02971315197646618,
-0.07020944356918335,
-0.014023179188370705,
-0.0014860827941447496,
-0.06684183329343796,
-0.0036652458366006613,
0.01167606096714735,
0.025291046127676964,
-0.053473468869924545,
-0.07714874297380447,
0.006250476930290461,
-0.019559316337108612,
0.04309852793812752,
-0.051194384694099426,
-0.02154926396906376,
0.053167324513196945,
-0.018164651468396187,
0.009048310108482838,
-0.005153454374521971,
0.02154926396906376,
-0.0952453687787056,
0.037383805960416794,
-0.014575942419469357,
-0.007113638333976269,
0.013070725835859776,
-0.001705062109977007,
0.010068795643746853,
-0.07027747482061386,
0.017263222485780716,
-0.0005142292939126492,
-0.0347815677523613,
0.0024810568429529667,
0.054153792560100555,
-0.05459600314497948,
0.0233521219342947,
0.006207956932485104,
-0.05299724265933037,
-0.013836090452969074,
0.046670228242874146,
-0.046364083886146545,
-0.01927017793059349,
-0.02765517309308052,
-0.009022797457873821,
0.004592187236994505,
0.019253170117735863,
0.021107053384184837,
0.012041735462844372,
-0.00028435420244932175,
-0.02063082717359066,
-0.04187394306063652,
0.014405861496925354,
0.003792806528508663,
-0.03234940767288208,
-0.024083470925688744,
0.044629257172346115,
-0.06874674558639526,
-0.03054654970765114,
-0.009847690351307392,
-0.0049918778240680695,
-0.020664842799305916,
0.004677227698266506,
-0.03765593469142914,
-0.00039596983697265387,
0.0392887145280838,
0.020239640027284622,
-0.013028205372393131,
0.06592340022325516,
0.002555467188358307,
0.028250455856323242,
0.04384688287973404,
-0.04064936190843582,
-0.09381668269634247,
0.020307673141360283,
-0.059970565140247345,
0.050684139132499695,
-0.013436399400234222,
-0.007947035133838654,
0.05333740636706352,
-0.062317680567502975,
-0.020443737506866455,
-0.025069940835237503,
-0.05020791292190552,
0.034577470272779465,
0.033829111605882645,
-0.011667557060718536,
-0.024202527478337288,
0.034866608679294586,
-0.008465781807899475,
0.023335114121437073,
-0.04544564709067345,
0.008499798364937305,
0.02721296064555645,
-0.01057903841137886,
-0.07864546030759811,
0.05282716080546379,
0.01255197823047638,
0.01920214667916298,
0.08109462261199951,
-0.012500953860580921,
0.055582474917173386,
-0.003850208828225732,
0.029372990131378174,
0.039866987615823746,
0.023930398747324944,
-0.027553124353289604,
0.05177265778183937,
0.0035802051424980164,
0.025291046127676964,
-0.06146727874875069,
-0.0405132956802845,
0.014431373216211796,
-0.008750667795538902,
0.0025788533966988325,
0.006258981302380562,
-0.009056814014911652,
-0.01194819062948227,
-0.038744453340768814,
0.0036758757196366787,
0.019083090126514435,
-0.013717032968997955,
0.02954307198524475,
-0.056568942964076996,
0.05275912955403328,
0.049459557980298996,
-0.0778971016407013,
-0.02229762077331543,
0.05354150012135506,
0.0238113421946764,
0.043336641043424606,
0.008776180446147919,
-0.009652097709476948,
-0.01896403171122074,
-0.02765517309308052,
0.005153454374521971,
0.049153413623571396,
0.004266907460987568,
-0.029883233830332756,
-0.05088823661208153,
0.03857437148690224,
-0.006127168424427509,
-0.03408423438668251,
-0.042214106768369675,
-0.08796589821577072,
-0.018504813313484192,
0.033829111605882645,
-0.015366819687187672,
-0.020562794059515,
-0.029951265081763268,
0.046602196991443634,
-0.04343869164586067,
0.02418551966547966,
-0.028403528034687042,
0.0207158662378788,
0.020919963717460632,
-0.030359460040926933,
-0.0033697299659252167,
0.009396975859999657,
0.02170233614742756,
0.003635481698438525,
-0.06622954457998276,
-0.049323491752147675,
-0.04207804054021835,
-0.11708376556634903,
0.012339376844465733,
0.006501346826553345,
-0.013359863311052322,
-0.04231615364551544,
-0.03891453519463539,
-0.030104339122772217,
0.0018156147561967373,
-0.00474526034668088,
-0.020885948091745377,
-0.023539211601018906,
0.01610667072236538,
0.011335899122059345,
0.04605793580412865,
-0.05629681423306465,
0.05282716080546379,
0.028165414929389954,
0.006994581315666437,
0.06561725586652756,
-0.04837103933095932,
-0.008963269181549549,
-0.00627598911523819,
0.03280862793326378,
-0.03748585283756256,
-0.010647071525454521,
0.0317201092839241,
-0.03568299487233162,
0.04973168671131134,
0.015970606356859207,
-0.017365271225571632,
-0.006344021763652563,
0.07680858671665192,
0.013019701465964317,
-0.011284874752163887,
-0.04615998640656471,
-0.031481996178627014,
0.030325444415211678,
-0.013359863311052322,
0.008036327548325062,
0.01836874894797802,
0.018113628029823303,
-0.027638163417577744,
0.01266253087669611,
-0.0231990497559309,
0.007589865010231733,
0.005404324270784855,
0.07231844216585159,
0.05745336413383484,
0.01767141744494438,
0.028454553335905075,
0.0024342844262719154,
0.01699109375476837,
-0.03996903821825981,
-0.011012745089828968,
0.056636977940797806,
0.025580184534192085,
0.053099289536476135,
-0.03772396966814995,
-0.08429215103387833,
0.013597976416349411,
-0.009413983672857285,
-0.020154599100351334,
-0.0031613807659596205,
-0.012798596173524857,
-0.014652479439973831,
0.03496865555644035,
-0.012186304666101933,
0.023777324706315994,
0.0015785644063726068,
0.09014293551445007,
0.05912015959620476
] |
9,677 | requests.adapters | proxy_headers | Returns a dictionary of the headers to add to any request sent
through a proxy. This works with urllib3 magic to ensure that they are
correctly sent to the proxy, rather than in a tunnelled request if
CONNECT is being used.
This should not be called from user code, and is only exposed for use
when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param proxy: The url of the proxy being used for this request.
:rtype: dict
| def proxy_headers(self, proxy):
"""Returns a dictionary of the headers to add to any request sent
through a proxy. This works with urllib3 magic to ensure that they are
correctly sent to the proxy, rather than in a tunnelled request if
CONNECT is being used.
This should not be called from user code, and is only exposed for use
when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param proxy: The url of the proxy being used for this request.
:rtype: dict
"""
headers = {}
username, password = get_auth_from_url(proxy)
if username:
headers["Proxy-Authorization"] = _basic_auth_str(username, password)
return headers
| (self, proxy) | [
-0.04093022644519806,
-0.0030017339158803225,
-0.0738435760140419,
0.011335797607898712,
-0.06038403511047363,
0.02454710379242897,
0.0030362100806087255,
0.06670928001403809,
0.028059085831046104,
0.01893896423280239,
0.017201360315084457,
0.013257274404168129,
0.030725251883268356,
-0.006118388846516609,
-0.026018090546131134,
-0.03412691131234169,
0.009497063234448433,
0.032269787043333054,
-0.04946195334196091,
-0.08031591773033142,
-0.009625774808228016,
-0.02960362285375595,
0.0005625378107652068,
0.0016157878562808037,
-0.020961571484804153,
0.05622849613428116,
-0.056044623255729675,
-0.015059234574437141,
0.04144507274031639,
0.00015744162374176085,
-0.08561147004365921,
-0.022028038278222084,
-0.0006757348892278969,
0.009874003939330578,
-0.0063528274185955524,
-0.0012147139059379697,
0.039459239691495895,
-0.023921934887766838,
-0.06104598194360733,
0.013946800492703915,
-0.006766542326658964,
-0.04585803672671318,
-0.024712590500712395,
-0.005529993679374456,
-0.0007998494547791779,
0.03046782873570919,
-0.044203173369169235,
0.009901585057377815,
0.05655946955084801,
-0.056154947727918625,
-0.0181850828230381,
0.039900537580251694,
0.030982675030827522,
-0.055823974311351776,
0.028242960572242737,
-0.051411014050245285,
-0.015951020643115044,
0.014553582295775414,
-0.049057431519031525,
0.11054471135139465,
-0.009910778142511845,
-0.002335192635655403,
0.025282597169280052,
-0.019122837111353874,
-0.007957123219966888,
-0.043982524424791336,
-0.005957499146461487,
-0.0221751369535923,
0.019637683406472206,
-0.0538749173283577,
0.013983574695885181,
-0.012770010158419609,
0.008085834793746471,
-0.036223068833351135,
0.06788607686758041,
-0.04335735738277435,
-0.011712738312780857,
-0.024050645530223846,
0.020189303904771805,
-0.05843497812747955,
0.008274304680526257,
-0.02237739786505699,
-0.04449737071990967,
0.02314966544508934,
-0.010039489716291428,
-0.05586075037717819,
-0.035469185560941696,
-0.029548460617661476,
0.04468124359846115,
-0.0010181991383433342,
-0.05030777305364609,
0.012641298584640026,
0.007538810838013887,
-0.016346348449587822,
-0.05887627601623535,
0.0190676748752594,
-0.0007119349902495742,
0.026882296428084373,
-0.0538749173283577,
0.019453810527920723,
-0.02702939510345459,
0.05350717157125473,
-0.08664116263389587,
0.048947110772132874,
0.018699929118156433,
-0.053249746561050415,
0.0037326307501643896,
-0.07502036541700363,
0.007814621552824974,
-0.01562004815787077,
-0.007235419936478138,
-0.0758294090628624,
0.015307463705539703,
-0.017201360315084457,
0.06214922294020653,
-0.02046511322259903,
0.03346496447920799,
-0.062406644225120544,
-0.06597378849983215,
0.0021697066258639097,
-0.01044401153922081,
0.019950268790125847,
0.050013575702905655,
0.033097218722105026,
-0.02585260570049286,
-0.009166090749204159,
0.03605758026242256,
0.008458178490400314,
0.041739270091056824,
0.00210075406357646,
0.04949872940778732,
-0.03274786099791527,
-0.07016610354185104,
-0.0029350798577070236,
0.01949058473110199,
0.005015147849917412,
0.0010406087385490537,
0.009372948668897152,
-0.0011538058752194047,
0.00800309143960476,
-0.020318014547228813,
-0.0190676748752594,
-0.037436630576848984,
0.019417034462094307,
-0.015390207059681416,
-0.020722536370158195,
-0.03272947296500206,
-0.016870388761162758,
0.016732482239603996,
-0.07222548872232437,
0.00901439506560564,
0.00020024966215714812,
0.027323592454195023,
0.0013916920870542526,
-0.06663573533296585,
0.04802774265408516,
-0.07388034462928772,
-0.0054472507908940315,
-0.004987567197531462,
0.0035326683428138494,
0.017302490770816803,
-0.03295011818408966,
-0.019619295373558998,
-0.00374182453379035,
-0.0019754902459681034,
-0.005658705253154039,
0.03329947963356972,
-0.0663047581911087,
0.008550114929676056,
0.0216235164552927,
-0.00785139575600624,
-0.025926154106855392,
0.003312020329758525,
0.017192166298627853,
0.03265592083334923,
0.03195720165967941,
-0.0027512062806636095,
-0.0080950278788805,
-0.06685638427734375,
0.019086062908172607,
0.07513068616390228,
-0.000971081608440727,
-0.02787521295249462,
0.005796609912067652,
-0.05317619815468788,
-0.04600513353943825,
0.04854258894920349,
0.0018237946787849069,
0.023885158821940422,
0.04155539721250534,
0.00833866000175476,
-0.022561270743608475,
0.01727490872144699,
-0.046777401119470596,
0.02476775273680687,
-0.011666769161820412,
0.02596293017268181,
-0.03466014191508293,
0.07222548872232437,
-0.019968654960393906,
-0.07126934081315994,
0.0038544470444321632,
-0.012935495935380459,
0.04497544467449188,
0.012724041938781738,
-0.033924650400877,
-0.0257238931953907,
-0.06457635015249252,
-0.018975738435983658,
0.04913098365068436,
0.07641780376434326,
0.004589940886944532,
-0.061009205877780914,
-0.008835118263959885,
-0.038392774760723114,
0.01436970941722393,
-0.01740362122654915,
-0.008453581482172012,
0.054867833852767944,
-0.016548609361052513,
0.03824567422270775,
-0.009087944403290749,
-0.04111409932374954,
-0.03749179467558861,
0.052587803453207016,
0.004631312098354101,
0.023921934887766838,
-0.02259804494678974,
-0.025981316342949867,
-0.05758916214108467,
0.05225683003664017,
-0.013790507800877094,
-0.013496310450136662,
0.04276896268129349,
0.07531455904245377,
-0.015546498820185661,
-0.039790213108062744,
0.00984642282128334,
0.049792926758527756,
-0.014130673371255398,
-0.010379655286669731,
0.05273490026593208,
0.052477478981018066,
0.03112977370619774,
-0.03583693131804466,
-0.012273551896214485,
-0.05519880726933479,
0.03208591416478157,
-0.014599550515413284,
0.02445516735315323,
-0.023278377950191498,
0.020832860842347145,
-0.04383542761206627,
-0.03201236575841904,
-0.005750641692429781,
-0.028353283181786537,
0.012108066119253635,
0.005171440541744232,
-0.010563529096543789,
0.010076263919472694,
-0.022009650245308876,
0.055419452488422394,
0.00630226219072938,
-0.023940321058034897,
-0.00004331081436248496,
0.03565305843949318,
0.010352074168622494,
0.007538810838013887,
-0.06902609020471573,
0.02927265129983425,
0.10767628252506256,
-0.025245822966098785,
-0.04306316003203392,
-0.007966316305100918,
0.03905471786856651,
0.013110175728797913,
0.025540020316839218,
-0.010958856903016567,
-0.028776193037629128,
-0.04482834413647652,
0.04791741818189621,
0.0049048238433897495,
-0.05655946955084801,
-0.03394303843379021,
-0.08208110183477402,
0.010021102614700794,
-0.07336550205945969,
0.08480242639780045,
-0.04240121319890022,
-0.021347705274820328,
0.008550114929676056,
0.006964206229895353,
0.02166029065847397,
-0.04651997983455658,
-0.02811424806714058,
-0.01108756847679615,
-0.028684256598353386,
0.017320876941084862,
0.004969179630279541,
0.04799096658825874,
-0.029217489063739777,
0.07597650587558746,
-0.03861342370510101,
-0.011970160529017448,
0.014296160079538822,
-0.02822457253932953,
-0.009975134395062923,
0.01769781857728958,
-0.04762322083115578,
-0.04446059837937355,
0.012319520115852356,
0.03916504234075546,
0.014682293869554996,
-0.014360515400767326,
0.015730371698737144,
-0.029640398919582367,
-0.03574499487876892,
0.027599403634667397,
-0.004183120559900999,
0.010471592657268047,
-0.06692992895841599,
0.04563738778233528,
-0.01442487072199583,
0.013597440905869007,
0.031718168407678604,
-0.0115288645029068,
0.02270836941897869,
0.003008629195392132,
-0.024197744205594063,
0.090024434030056,
-0.07064417749643326,
0.045269642025232315,
-0.02423451840877533,
-0.003955577500164509,
0.0016801435267552733,
0.027286818251013756,
0.023940321058034897,
0.04751289635896683,
0.02401387132704258,
0.008922458626329899,
0.0039050120394676924,
-0.01938026025891304,
-0.023554187268018723,
0.006325246300548315,
-0.012549362145364285,
-0.03024717979133129,
-0.009782066568732262,
0.06862156838178635,
-0.01033368706703186,
-0.015077621676027775,
-0.032692696899175644,
-0.06277438998222351,
0.04357800632715225,
-0.006780332885682583,
-0.0022237193770706654,
-0.01815750263631344,
-0.03346496447920799,
-0.05957499518990517,
-0.02658809907734394,
0.0299345962703228,
0.03824567422270775,
0.04868968576192856,
0.014719069004058838,
0.03831922262907028,
0.0032154866494238377,
-0.006872269790619612,
0.028408445417881012,
-0.024087419733405113,
-0.012310327030718327,
-0.004481914918869734,
-0.025153886526823044,
0.015105202794075012,
-0.0022501512430608273,
0.004052110947668552,
-0.01893896423280239,
-0.019564133137464523,
0.012898721732199192,
-0.016134893521666527,
-0.037197597324848175,
0.03513821214437485,
0.013689377345144749,
0.007198645267635584,
0.014038736931979656,
0.02487807534635067,
-0.038282450288534164,
-0.07722684741020203,
-0.006812511011958122,
-0.017513945698738098,
0.031037835404276848,
0.021697064861655235,
0.006826301570981741,
-0.03651726618409157,
-0.014461645856499672,
0.06178147345781326,
-0.02927265129983425,
-0.059170473366975784,
-0.044423822313547134,
-0.027397142723202705,
-0.06310536712408066,
-0.08561147004365921,
0.04229089245200157,
0.005396685563027859,
0.011914998292922974,
0.00027480459539219737,
-0.026624873280525208,
0.027746502310037613,
-0.01645667292177677,
0.010352074168622494,
0.0764913484454155,
-0.06424538046121597,
-0.02370128594338894,
-0.006670008879154921,
0.026532936841249466,
0.018617184832692146,
0.0034981921780854464,
0.014553582295775414,
-0.024510329589247704,
-0.0006820555427111685,
0.021880939602851868,
0.03776760399341583,
0.05369104444980621,
-0.03383271396160126,
-0.06299503892660141,
0.04615223407745361,
-0.04265863820910454,
0.0257238931953907,
0.02248772233724594,
-0.023443862795829773,
-0.007938736118376255,
-0.020501887425780296,
0.03177332878112793,
0.0452328659594059,
0.031074611470103264,
0.0053231362253427505,
0.05008712410926819,
0.04262186214327812,
-0.016530221328139305,
0.04254831373691559,
-0.022542882710695267,
0.02660648711025715,
-0.016658933833241463,
-0.0035740400198847055,
-0.05413233861327171,
-0.020318014547228813,
0.027911987155675888,
0.05490460991859436,
-0.023168053478002548,
-0.04519608989357948,
-0.025227434933185577,
-0.012742429040372372,
-0.053360071033239365,
-0.000549034564755857,
-0.015730371698737144,
-0.03898116946220398,
-0.0012710251612588763,
0.04104055091738701,
-0.0023742658086121082,
0.04736579582095146,
-0.04534319043159485,
0.018699929118156433,
0.08995088934898376,
-0.010664659552276134,
0.051411014050245285,
-0.0065137166529893875,
-0.04166572168469429,
-0.020593825727701187,
0.003279842436313629,
0.028831355273723602,
0.005805803928524256,
0.02712133154273033,
0.012200002558529377,
-0.009230447001755238,
-0.04629933089017868,
-0.01884702779352665,
0.006734364666044712,
0.02132931910455227,
-0.01614408753812313,
0.08399338275194168,
0.02390354685485363,
-0.022340621799230576,
-0.01917799934744835,
-0.005015147849917412,
0.05799368396401405,
-0.07336550205945969,
0.020538663491606712,
0.023002566769719124,
-0.01826782524585724,
-0.03133203461766243,
0.029677173122763634,
-0.005635720677673817,
0.05758916214108467,
0.06086210906505585,
-0.042143791913986206,
-0.029989758506417274,
0.05383814126253128,
0.023829996585845947,
0.016263606026768684,
0.018001209944486618,
-0.0007527318666689098,
-0.005746045149862766,
-0.010995631106197834,
-0.03283979743719101,
0.03089073672890663,
0.01738523319363594,
-0.008278901688754559,
-0.01789088547229767,
-0.01820347085595131,
0.03241688758134842,
0.010030295699834824,
0.016245217993855476,
0.018083952367305756,
0.02875780500471592,
-0.03861342370510101,
0.011436928063631058,
0.015105202794075012,
-0.00335109350271523,
-0.037197597324848175,
0.10304267704486847,
-0.08259595185518265,
-0.03383271396160126,
0.021255768835544586,
0.05284522473812103,
-0.022984180599451065,
-0.04332058131694794,
-0.00035108334850519896,
0.05505170673131943,
-0.0027305204421281815,
-0.021476417779922485,
0.02066737413406372,
0.009235043078660965,
0.016245217993855476,
0.04137152433395386,
0.004417559131979942,
0.030522990971803665,
0.01740362122654915,
0.06880544126033783,
-0.025374533608555794,
-0.011501283384859562,
-0.09039217978715897,
0.025153886526823044,
0.058949824422597885,
0.021071895956993103,
-0.01001190859824419,
-0.017035873606801033,
-0.026551324874162674,
0.008508743718266487,
-0.03221462666988373,
-0.03653565049171448,
-0.02800392545759678,
-0.02154996618628502,
-0.07119579613208771,
0.00037119450280442834,
-0.012825172394514084,
-0.033740777522325516,
-0.047659993171691895,
0.010738208889961243,
0.03964311257004738,
-0.059722092002630234,
0.02359096147119999,
0.002583421766757965,
0.03532208874821663,
-0.06818027049303055,
-0.02432645671069622,
0.027948763221502304,
-0.052918776869773865,
-0.021182220429182053,
0.020832860842347145,
0.03298689424991608,
-0.025356147438287735,
-0.011271441355347633,
0.056816890835762024,
0.01862637884914875,
-0.040194734930992126,
0.06402473151683807,
-0.031810104846954346,
-0.011446121148765087,
0.08943603932857513,
0.033207543194293976,
0.08384628593921661,
0.021936101838946342,
0.03361206501722336,
0.06505442410707474,
-0.012034516781568527,
-0.03993730992078781,
0.024142581969499588,
-0.012705654837191105,
-0.00758937606588006,
0.03133203461766243,
0.01232871413230896,
-0.022855468094348907,
-0.06538539379835129,
-0.005047325976192951,
-0.04321025684475899,
-0.043026383966207504,
0.010480785742402077,
0.0028040700126439333,
-0.07182096689939499,
0.024841301143169403,
-0.007258404046297073,
0.016732482239603996,
0.03982698544859886,
0.03361206501722336,
-0.008288094773888588,
0.00964416190981865,
-0.03846632316708565,
-0.01400196272879839,
-0.06402473151683807,
0.013836476020514965,
0.008311079815030098,
-0.02723165601491928,
-0.031203322112560272,
-0.002208779565989971,
-0.004826677963137627,
-0.018745897337794304,
-0.04824839159846306,
-0.0012445932952687144,
-0.015187946148216724,
-0.020060591399669647,
0.02015252783894539,
0.0033028265461325645,
0.028390059247612953,
-0.0887005478143692,
-0.031497519463300705,
0.029677173122763634,
0.03144235908985138,
-0.0029879433568567038,
0.050123900175094604,
0.04670385271310806,
-0.0372527576982975,
0.021237382665276527,
0.012990658171474934,
0.021347705274820328,
0.08031591773033142,
0.013818088918924332,
0.022910630330443382,
0.053360071033239365,
-0.016061345115303993,
0.014360515400767326,
0.019012512639164925,
-0.050565194338560104,
0.04957227781414986,
0.04229089245200157,
0.01281597837805748,
0.0017042768886312842,
-0.02013414166867733,
0.014130673371255398,
0.00538289500400424,
0.00458534387871623,
0.05957499518990517,
-0.054022014141082764,
0.004688772838562727,
0.008793747052550316,
0.01237468235194683,
0.06417182832956314,
-0.014296160079538822,
0.007359534502029419,
-0.06487055122852325,
0.029530074447393417,
0.06556926667690277,
-0.06634153425693512,
0.02497001364827156,
0.022671595215797424,
0.06049435958266258,
-0.03133203461766243,
-0.00183643598575145,
0.022965792566537857,
-0.04111409932374954,
-0.02822457253932953,
0.010563529096543789,
-0.018681541085243225,
0.08244884759187698,
-0.010830145329236984,
0.0015721179079264402,
0.02166029065847397,
0.022634821012616158,
-0.02519066073000431,
0.05317619815468788,
-0.0534336194396019,
-0.017348458990454674,
-0.011372571811079979,
0.05350717157125473,
-0.022873856127262115,
-0.0013664094731211662,
0.020207690075039864,
0.033097218722105026,
0.02197287604212761,
0.0074836490675807,
0.007102111354470253,
-0.026643261313438416,
0.05350717157125473,
-0.039900537580251694,
0.004454333800822496,
0.03798825293779373,
0.10370461642742157,
-0.030945898965001106,
-0.037841152399778366,
0.015004072338342667,
-0.05016067251563072,
0.0527716763317585,
-0.005194424651563168,
0.047659993171691895,
-0.05611817166209221,
-0.0004904249217361212,
0.01120708603411913,
-0.022745143622159958,
-0.057221412658691406,
0.03469691798090935,
-0.005433460231870413,
0.064760223031044,
0.044423822313547134,
0.002365072024986148,
-0.014112286269664764,
0.036223068833351135,
-0.025576794520020485,
0.06373053044080734,
0.042805735021829605,
0.006145969498902559,
-0.008393822237849236,
0.0043302192352712154,
0.04449737071990967,
-0.002889111405238509,
0.012383876368403435,
0.023094503208994865,
0.03728953376412392,
0.0006998682511039078,
0.053360071033239365,
-0.015748759731650352,
-0.029474912211298943,
-0.06145050376653671,
0.0047393380664289,
0.0443502739071846,
0.029438138008117676,
-0.04332058131694794,
0.03585531935095787,
-0.018653960898518562,
0.02485968917608261,
0.00712969247251749,
0.057442061603069305,
0.020722536370158195,
0.07001900672912598,
-0.023848384618759155,
-0.036351777613162994,
0.03596564382314682,
0.04229089245200157,
0.023223215714097023,
-0.09804131835699081,
0.033097218722105026,
-0.004877242725342512,
0.020115753635764122,
0.05751561000943184,
0.03964311257004738,
0.015574079938232899,
0.018286213278770447,
-0.038723744451999664,
0.01755991391837597,
0.015215527266263962,
-0.08105140924453735,
-0.0077042970806360245,
0.022469334304332733,
0.0299345962703228,
-0.04192314296960831,
0.005543784238398075,
-0.005405879113823175,
-0.040121182799339294,
0.0038751326501369476,
-0.015574079938232899,
0.05104326456785202,
0.046887725591659546
] |
9,678 | cloudscraper | proxy_manager_for | null | def proxy_manager_for(self, *args, **kwargs):
kwargs['ssl_context'] = self.ssl_context
kwargs['source_address'] = self.source_address
return super(CipherSuiteAdapter, self).proxy_manager_for(*args, **kwargs)
| (self, *args, **kwargs) | [
0.012004890479147434,
-0.05323466286063194,
0.023738866671919823,
0.028276680037379265,
-0.041788533329963684,
0.010269345715641975,
-0.04507336765527725,
0.042364224791526794,
0.042939916253089905,
0.04737614095211029,
0.004203404765576124,
-0.03118900954723358,
-0.0028340176213532686,
0.028141222894191742,
0.0022435090504586697,
0.0005778094055131078,
-0.020318573340773582,
-0.036099329590797424,
0.030918095260858536,
-0.03559136763215065,
-0.002101702382788062,
0.02301078476011753,
0.038368239998817444,
0.010887368582189083,
-0.05364103242754936,
0.07233411818742752,
-0.003911325242370367,
0.018049664795398712,
0.02224883809685707,
0.010404802858829498,
-0.08371251821517944,
0.011386866681277752,
0.007979272864758968,
0.0886567085981369,
0.03670888766646385,
-0.0009085153578780591,
-0.015484445728361607,
0.01665276288986206,
-0.05516492575407028,
-0.015611437149345875,
-0.05726451054215431,
-0.011479993350803852,
0.10768843442201614,
0.021385297179222107,
0.026346417143940926,
0.02343408763408661,
-0.05513106286525726,
0.029207948595285416,
0.04605543240904808,
-0.033948950469493866,
-0.030393198132514954,
0.0058161914348602295,
0.022147243842482567,
0.02568606287240982,
-0.014129874296486378,
0.018794680014252663,
-0.014790227636694908,
0.07443370670080185,
0.0026117833331227303,
0.06146368384361267,
-0.052049409598112106,
-0.04998369142413139,
0.038165051490068436,
-0.021283704787492752,
-0.046360209584236145,
-0.08879216760396957,
-0.03714912384748459,
0.031510721892118454,
0.050153009593486786,
0.03125673905014992,
0.04585224762558937,
-0.016618900001049042,
-0.04073873907327652,
-0.004872224293649197,
0.03657343238592148,
0.016381848603487015,
-0.018743883818387985,
0.018608426675200462,
-0.014519313350319862,
0.0072511909529566765,
-0.007682960480451584,
-0.0004487018159125,
-0.011573120951652527,
0.01255518477410078,
0.005303994286805391,
-0.020877333357930183,
0.005138905718922615,
-0.009778313338756561,
0.06742379814386368,
0.011767840012907982,
0.0009280931553803384,
0.028496798127889633,
-0.019285712391138077,
-0.04185625910758972,
-0.039892133325338364,
-0.008639626204967499,
0.010684182867407799,
0.028242817148566246,
-0.002776871668174863,
0.019929133355617523,
-0.017313117161393166,
0.033948950469493866,
0.001994818216189742,
0.04991596192121506,
0.024974912405014038,
-0.0038816940505057573,
0.0001085376861738041,
-0.07070863246917725,
0.009592059999704361,
0.05590993911027908,
0.00404678238555789,
-0.0074162790551781654,
-0.00537595571950078,
0.00827981811016798,
-0.02685438096523285,
0.004999215714633465,
-0.029444998130202293,
-0.0323403961956501,
-0.032289598137140274,
0.026549601927399635,
-0.037250716239213943,
0.06339395046234131,
0.017626361921429634,
-0.02191019430756569,
-0.036099329590797424,
0.00838141143321991,
0.028412137180566788,
-0.020623352378606796,
0.029224880039691925,
-0.06769470870494843,
0.0704377219080925,
-0.009194154292345047,
-0.01979367621243,
0.03166310861706734,
0.04873071238398552,
0.007111500483006239,
0.019268780946731567,
0.0021736640483140945,
-0.006743226200342178,
0.040671009570360184,
-0.04954345524311066,
0.03063024953007698,
0.006446913816034794,
-0.0023641507141292095,
-0.0019969346467405558,
-0.00561723904684186,
0.013156276196241379,
0.01123447809368372,
-0.03393201529979706,
-0.059093184769153595,
0.027125295251607895,
0.0005341562209650874,
0.02832747809588909,
0.0241621695458889,
-0.05425059050321579,
0.05194781720638275,
-0.05807725340127945,
0.038943931460380554,
0.026380280032753944,
0.0192349161952734,
0.0009339135722257197,
-0.016381848603487015,
-0.06285212188959122,
-0.005735763814300299,
0.007403580006211996,
-0.06644173711538315,
-0.05106734856963158,
-0.07240185141563416,
-0.020504826679825783,
0.01962435431778431,
-0.024517744779586792,
-0.016229460015892982,
0.04849366098642349,
-0.0050076814368367195,
0.048425931483507156,
0.04896776005625725,
0.007970807142555714,
-0.04229649528861046,
0.011928695254027843,
0.015399784781038761,
-0.008449140004813671,
0.015518310479819775,
-0.006104038096964359,
0.0445992685854435,
-0.0033440985716879368,
0.038537561893463135,
0.036099329590797424,
0.029444998130202293,
0.022926123812794685,
0.012241940014064312,
-0.015713030472397804,
0.019471965730190277,
0.0141722047701478,
-0.06508716195821762,
-0.0533362552523613,
-0.008965570479631424,
0.021842466667294502,
0.009253417141735554,
-0.05614699050784111,
0.06332621723413467,
-0.05875454097986221,
0.0024107140488922596,
-0.015247396193444729,
0.03198482096195221,
0.014062145724892616,
0.011573120951652527,
-0.01607707142829895,
0.001143977977335453,
-0.042702868580818176,
0.02206258475780487,
0.03826664760708809,
0.0097105847671628,
-0.014900286681950092,
0.009261882863938808,
0.018726952373981476,
-0.006552740000188351,
-0.016754357144236565,
0.009295746684074402,
0.04829047620296478,
0.026007773354649544,
0.022316565737128258,
-0.04629248380661011,
-0.014968015253543854,
-0.0407048761844635,
0.029597388580441475,
0.0055876076221466064,
0.038165051490068436,
-0.05465696007013321,
-0.02456854097545147,
-0.009185688570141792,
0.0034710895270109177,
0.01617019809782505,
0.04300764575600624,
0.06566285341978073,
0.045005638152360916,
-0.028852373361587524,
0.0098037114366889,
-0.009016366675496101,
-0.08012290298938751,
0.015916215255856514,
-0.0034351088106632233,
0.03830051049590111,
0.05039006099104881,
-0.011573120951652527,
-0.0563163124024868,
0.02187632955610752,
-0.02248588763177395,
0.02209644764661789,
0.0328991562128067,
0.035523638129234314,
0.02990216575562954,
0.003780101193115115,
-0.042364224791526794,
-0.002160964999347925,
-0.042702868580818176,
-0.1111425906419754,
-0.006722061429172754,
0.005494480952620506,
0.019353440031409264,
-0.03603160381317139,
-0.037216853350400925,
0.03235732764005661,
-0.05980433151125908,
0.005938949529081583,
0.004982283338904381,
0.021656211465597153,
-0.03193402290344238,
-0.028632255271077156,
-0.014231467619538307,
0.06078639626502991,
0.029207948595285416,
-0.01659350097179413,
0.022807598114013672,
0.07504326105117798,
0.02036936953663826,
-0.002156731905415654,
-0.038537561893463135,
0.043312422931194305,
-0.056248582899570465,
-0.03201868385076523,
0.06217483431100845,
0.04378652572631836,
-0.02644800953567028,
-0.012419727630913258,
-0.03603160381317139,
-0.03317007049918175,
0.014028281904757023,
-0.0034964878577739,
-0.005100808572024107,
-0.039147116243839264,
-0.039282575249671936,
0.06762698292732239,
0.005562209524214268,
-0.031155144795775414,
0.004635174293071032,
-0.015950080007314682,
-0.03745390474796295,
0.059668876230716705,
0.005985512863844633,
0.06027843430638313,
-0.05164304003119469,
0.019505830481648445,
0.0022943054791539907,
0.04192398861050606,
0.04239808768033981,
-0.013825095258653164,
0.014299196191132069,
0.016678161919116974,
0.0021228676196187735,
0.018337512388825417,
0.04849366098642349,
0.01979367621243,
-0.06396964192390442,
-0.06667878478765488,
0.016043206676840782,
-0.00042065794696100056,
0.017998868599534035,
0.0445992685854435,
0.029766708612442017,
0.04527655243873596,
-0.08229021728038788,
0.019539695233106613,
-0.05238805338740349,
-0.028462935239076614,
0.07328231632709503,
0.0819515809416771,
0.04988209530711174,
0.022164177149534225,
-0.027260752394795418,
0.007399347145110369,
-0.07260503619909286,
0.0304778590798378,
-0.018337512388825417,
-0.03176470100879669,
-0.024077508598566055,
-0.007484007626771927,
-0.009981499053537846,
0.031138213351368904,
0.014316127635538578,
-0.04686817526817322,
0.045412011444568634,
-0.019946066662669182,
-0.04172080382704735,
-0.04666499048471451,
-0.05174463242292404,
-0.02338329143822193,
-0.03230652958154678,
-0.024703998118638992,
-0.008957103826105595,
-0.003185359528288245,
-0.05391194671392441,
-0.05763701722025871,
0.06410510092973709,
0.03066411241889,
0.041382160037755966,
0.012436660006642342,
-0.020792672410607338,
-0.03443998098373413,
-0.0172877199947834,
-0.030020691454410553,
-0.022028720006346703,
0.021927127614617348,
0.012978488579392433,
0.03504953905940056,
-0.04161921143531799,
0.0018477202393114567,
0.043109238147735596,
-0.07172456383705139,
0.0916367620229721,
-0.028784645721316338,
-0.030782638117671013,
-0.018015801906585693,
-0.0014476983342319727,
0.02626175619661808,
-0.0016053789295256138,
-0.06589990854263306,
-0.05215100571513176,
-0.017008338123559952,
-0.04680044576525688,
0.05171076953411102,
0.04774864763021469,
-0.0042076376266777515,
0.03955348953604698,
0.006946411915123463,
0.012809166684746742,
-0.05540197715163231,
-0.016568103805184364,
0.009685186669230461,
0.028699984773993492,
0.002319703809916973,
0.038943931460380554,
-0.021012790501117706,
-0.011649315245449543,
0.008516868576407433,
0.018134325742721558,
-0.05458923429250717,
-0.06153141334652901,
0.027260752394795418,
-0.049374133348464966,
-0.06640786677598953,
0.02548287622630596,
0.00335891405120492,
0.051270533353090286,
-0.0301053524017334,
0.011395333334803581,
-0.010201617144048214,
0.06017684191465378,
0.049949824810028076,
0.05174463242292404,
0.051880091428756714,
-0.034169066697359085,
0.031900160014629364,
-0.02246895618736744,
-0.01788034476339817,
-0.04629248380661011,
-0.027684055268764496,
0.006942179054021835,
0.0190486628562212,
0.02756553143262863,
0.06955724954605103,
0.05238805338740349,
0.021199043840169907,
-0.03958735242486,
-0.04639407619833946,
0.03257744386792183,
0.0036065466701984406,
-0.030003760010004044,
-0.014341525733470917,
-0.03525272384285927,
-0.027362344786524773,
-0.015882350504398346,
0.026701990514993668,
0.049780502915382385,
0.01847296953201294,
-0.0017239039298146963,
0.0617007315158844,
-0.006836353335529566,
0.009219552390277386,
-0.057941798120737076,
-0.012851497158408165,
-0.007357016671448946,
-0.059127047657966614,
-0.023315561935305595,
0.02761632762849331,
0.01977674476802349,
-0.02302771620452404,
-0.0453442819416523,
-0.024890251457691193,
-0.060244567692279816,
0.012030288577079773,
-0.05926250293850899,
0.014874888584017754,
-0.0011281040497124195,
-0.04696976765990257,
-0.05421672388911247,
0.009922236204147339,
0.045615196228027344,
-0.017219990491867065,
-0.025990841910243034,
0.025973908603191376,
0.04605543240904808,
-0.08100337535142899,
0.03752163052558899,
-0.03212027624249458,
0.0192349161952734,
0.006167533341795206,
-0.019488897174596786,
0.013520317152142525,
0.011564654298126698,
0.0027789880987256765,
-0.000730198691599071,
0.003991752862930298,
-0.026346417143940926,
-0.03212027624249458,
0.03025774098932743,
0.014680168591439724,
-0.05079643428325653,
0.01618712954223156,
-0.02097892574965954,
0.016407247632741928,
-0.06183619052171707,
-0.009778313338756561,
0.09969646483659744,
-0.03525272384285927,
-0.017296185716986656,
-0.04964504763484001,
0.0369798019528389,
-0.05838203430175781,
-0.018506834283471107,
0.06532420963048935,
0.005320926196873188,
0.07782013714313507,
-0.021080520004034042,
0.02113131619989872,
0.020995859056711197,
-0.00158103893045336,
0.01959049142897129,
-0.0038541792891919613,
0.02417910099029541,
0.0007952816667966545,
-0.008728520013391972,
-0.009812177158892155,
0.020640283823013306,
-0.014011349529027939,
0.06532420963048935,
0.01938730478286743,
-0.08317068964242935,
0.018760815262794495,
-0.03870688006281853,
0.07849741727113724,
0.0034308757167309523,
0.03823278099298477,
-0.01691521145403385,
-0.024077508598566055,
0.023484883829951286,
0.009541262872517109,
-0.04436221718788147,
0.02854759432375431,
-0.00028334883973002434,
-0.006455380003899336,
0.0624457485973835,
0.05828044191002846,
0.02340022288262844,
-0.02893703430891037,
0.020098455250263214,
-0.0032721369061619043,
-0.02778564766049385,
0.03103662095963955,
0.03411826863884926,
0.0460892952978611,
0.01704220287501812,
0.008813180960714817,
-0.013613443821668625,
0.04954345524311066,
0.03633638098835945,
0.02130063809454441,
-0.05997365340590477,
-0.02761632762849331,
-0.018337512388825417,
-0.0399598591029644,
0.023349426686763763,
-0.002590618096292019,
-0.0308503657579422,
-0.05465696007013321,
-0.09082402288913727,
-0.02700676955282688,
-0.01502727810293436,
0.012402795255184174,
-0.03670888766646385,
-0.039282575249671936,
0.020216980949044228,
-0.011691645719110966,
0.03127367049455643,
0.012986954301595688,
-0.000007631039807165507,
-0.05546970292925835,
0.012910760007798672,
-0.005591840483248234,
-0.010413268581032753,
0.015459047630429268,
0.0098037114366889,
-0.011336070485413074,
-0.06650946289300919,
0.025753790512681007,
-0.002013866789638996,
-0.004311347380280495,
0.024314558133482933,
0.04554746672511101,
-0.05977046862244606,
0.02509343810379505,
0.015154268592596054,
-0.03325473144650459,
-0.028987830504775047,
0.06810108572244644,
-0.030393198132514954,
-0.00861422810703516,
0.002757823094725609,
-0.03860528767108917,
0.028022699058055878,
-0.002961008809506893,
0.031121281906962395,
0.016051672399044037,
-0.012385863810777664,
-0.01788034476339817,
-0.037589360028505325,
-0.01733851619064808,
-0.0002698560419958085,
-0.01633951999247074,
-0.0036128961946815252,
0.02001379430294037,
-0.06305530667304993,
-0.029360337182879448,
-0.04222876578569412,
-0.011259876191616058,
-0.00532939238473773,
0.022401226684451103,
-0.06982816010713577,
0.01847296953201294,
0.055503569543361664,
0.02323090098798275,
-0.019505830481648445,
0.05069483816623688,
0.011750907637178898,
0.009676720015704632,
0.025076504796743393,
-0.037724819034338,
-0.09820643812417984,
0.01265677809715271,
-0.05753542482852936,
0.04859525337815285,
-0.01572149619460106,
-0.005354790482670069,
0.04168693721294403,
-0.06989589333534241,
-0.028276680037379265,
-0.019929133355617523,
-0.04317696765065193,
0.03272983431816101,
-0.004546280484646559,
0.0028763480950146914,
-0.0037398873828351498,
0.019471965730190277,
-0.027091430500149727,
0.017033737152814865,
-0.04991596192121506,
0.016271790489554405,
0.03972281143069267,
0.03840210288763046,
-0.06860905140638351,
0.06779630482196808,
0.011869433335959911,
0.04917094483971596,
0.07294367998838425,
0.0023324028588831425,
0.05993979051709175,
-0.03962121903896332,
0.0078522814437747,
0.026431076228618622,
0.006074406672269106,
-0.03105355240404606,
0.04012918099761009,
0.03425372764468193,
0.02268907241523266,
-0.05394580960273743,
-0.08960490673780441,
0.022316565737128258,
0.011471527628600597,
0.004402357619255781,
-0.004719835240393877,
-0.016957541927695274,
-0.014282263815402985,
-0.029749777168035507,
0.0011323371436446905,
0.05374262481927872,
0.02152075432240963,
0.028208952397108078,
-0.0262956190854311,
0.06247961148619652,
0.07517872005701065,
-0.0643082857131958,
-0.002753590000793338,
0.03863915428519249,
0.03122287429869175,
0.018777748569846153,
0.014942617155611515,
-0.008906307630240917,
-0.003960005007684231,
-0.013630376197397709,
0.03667502477765083,
0.034914080053567886,
0.020708011463284492,
-0.04314310476183891,
-0.0696927085518837,
0.030545588582754135,
0.0037504700012505054,
-0.06996361911296844,
-0.01808352954685688,
-0.09922236204147339,
-0.014451584778726101,
0.020894266664981842,
-0.054724689573049545,
-0.03267903998494148,
-0.02343408763408661,
0.08540573716163635,
-0.03083343431353569,
0.027887241914868355,
0.029648184776306152,
0.02624482288956642,
-0.0015842136926949024,
-0.03965508192777634,
-0.010159286670386791,
-0.010303209535777569,
0.027667123824357986,
0.005993979051709175,
-0.025415148586034775,
-0.039519622921943665,
-0.047884102910757065,
-0.1213696077466011,
0.011869433335959911,
0.0007037422619760036,
-0.0013461054768413305,
-0.028886238113045692,
-0.005511412862688303,
-0.020403234288096428,
0.02780258096754551,
-0.031493786722421646,
0.017008338123559952,
-0.03992599621415138,
0.008821646682918072,
-0.011141350492835045,
0.04822274670004845,
-0.06352940201759338,
0.08107110857963562,
0.037758681923151016,
0.017643293365836143,
0.014028281904757023,
-0.053573302924633026,
-0.004465852864086628,
0.027379276230931282,
0.048087287694215775,
-0.027345413342118263,
-0.027531666681170464,
0.021960990503430367,
-0.020047659054398537,
0.04663112387061119,
0.022570548579096794,
-0.04585224762558937,
-0.01322400476783514,
0.05387808382511139,
0.003149378811940551,
-0.011259876191616058,
-0.03745390474796295,
0.00018863467266783118,
0.03235732764005661,
-0.024111373350024223,
0.011429197154939175,
-0.008017370477318764,
0.012724506668746471,
-0.03640411049127579,
0.01843910478055477,
-0.02511036954820156,
0.03086729906499386,
0.014375390484929085,
0.06816881150007248,
0.056993596255779266,
0.029411135241389275,
0.00714536476880312,
0.022993851453065872,
0.016940610483288765,
-0.028429070487618446,
0.010904300957918167,
0.02817508764564991,
0.012428194284439087,
0.03218800574541092,
-0.020809605717658997,
-0.06220869719982147,
-0.0012476873816922307,
-0.031696975231170654,
-0.009194154292345047,
-0.0039028592873364687,
-0.018015801906585693,
-0.012589049525558949,
0.014256865717470646,
-0.022045651450753212,
0.004982283338904381,
-0.007204627152532339,
0.07782013714313507,
0.06705129146575928
] |
9,679 | requests.adapters | request_url | Obtain the url to use when making the final request.
If the message is being sent through a HTTP proxy, the full URL has to
be used. Otherwise, we should only use the path portion of the URL.
This should not be called from user code, and is only exposed for use
when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
:param proxies: A dictionary of schemes or schemes and hosts to proxy URLs.
:rtype: str
| def request_url(self, request, proxies):
"""Obtain the url to use when making the final request.
If the message is being sent through a HTTP proxy, the full URL has to
be used. Otherwise, we should only use the path portion of the URL.
This should not be called from user code, and is only exposed for use
when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
:param proxies: A dictionary of schemes or schemes and hosts to proxy URLs.
:rtype: str
"""
proxy = select_proxy(request.url, proxies)
scheme = urlparse(request.url).scheme
is_proxied_http_request = proxy and scheme != "https"
using_socks_proxy = False
if proxy:
proxy_scheme = urlparse(proxy).scheme.lower()
using_socks_proxy = proxy_scheme.startswith("socks")
url = request.path_url
if is_proxied_http_request and not using_socks_proxy:
url = urldefragauth(request.url)
return url
| (self, request, proxies) | [
0.014648358337581158,
-0.0024726728443056345,
-0.05018540471792221,
0.04748282581567764,
-0.05900632590055466,
0.001718437299132347,
-0.01081031933426857,
0.052850451320409775,
0.03000989742577076,
0.027682675048708916,
0.024792416021227837,
0.044630102813243866,
0.03192422538995743,
-0.01540845911949873,
0.02805803343653679,
-0.029916057363152504,
0.028677375987172127,
-0.032036833465099335,
-0.007765225134789944,
-0.06099572405219078,
0.014507599174976349,
0.001929576275870204,
0.032693710178136826,
0.00020762006170116365,
-0.04744528979063034,
0.06170890852808952,
-0.003727777162566781,
-0.007314795162528753,
-0.009308885782957077,
-0.016703445464372635,
-0.03177408128976822,
-0.0032890771981328726,
0.01720079407095909,
0.027682675048708916,
0.046394288539886475,
0.036053165793418884,
0.02935302071273327,
0.01736970618367195,
-0.08768370002508163,
-0.059794578701257706,
-0.03729184716939926,
-0.03821147605776787,
-0.00496411370113492,
0.00022286899911705405,
0.050598300993442535,
0.04065130650997162,
-0.11103098839521408,
0.04384185001254082,
-0.032355885952711105,
-0.020926225930452347,
-0.0014204966137185693,
0.03620330989360809,
0.03858683630824089,
-0.05209973454475403,
0.028470927849411964,
0.020400723442435265,
-0.012856022454798222,
0.012621423229575157,
-0.016665909439325333,
0.05660403519868851,
0.013925793580710888,
0.030291415750980377,
0.030779382213950157,
0.012846638448536396,
-0.005170560907572508,
-0.002810495439916849,
0.0007513031014241278,
-0.008956987410783768,
0.007577545940876007,
0.0051564848981797695,
0.0173509381711483,
-0.018617771565914154,
-0.07150575518608093,
-0.0451931394636631,
0.05630374699831009,
-0.04181491583585739,
0.04988512024283409,
0.015793200582265854,
0.007840297184884548,
-0.04053869843482971,
0.059118933975696564,
-0.04312866926193237,
-0.04095159098505974,
-0.05874357745051384,
0.0034720643889158964,
-0.09894444793462753,
-0.0002694955328479409,
-0.01595272868871689,
0.004595793318003416,
-0.006348247639834881,
-0.03417637571692467,
-0.031117204576730728,
-0.010359889827668667,
-0.038624368607997894,
-0.06501206010580063,
-0.01218037772923708,
-0.04294099286198616,
0.005184636916965246,
-0.005635066889226437,
-0.0241918433457613,
0.03241218999028206,
0.0516493022441864,
-0.12506939470767975,
0.04046362638473511,
0.026500297710299492,
-0.03374471142888069,
0.027307316660881042,
-0.0757848471403122,
0.010059602558612823,
-0.06354816257953644,
0.0034157605841755867,
-0.04981004819273949,
-0.018852371722459793,
0.026537831872701645,
0.0017841249937191606,
-0.022202443331480026,
-0.025768348947167397,
-0.044592566788196564,
-0.023985397070646286,
0.029765915125608444,
-0.05836821720004082,
0.038136404007673264,
-0.006282559596002102,
-0.02967207506299019,
0.023478662595152855,
0.0016515766037628055,
0.005757058039307594,
-0.0055506108328700066,
0.022821785882115364,
-0.08197825402021408,
0.06805246323347092,
-0.038511764258146286,
-0.0661756694316864,
0.02359127067029476,
-0.013841337524354458,
0.07495905458927155,
-0.008511249907314777,
0.03258110210299492,
-0.024304451420903206,
0.0918877124786377,
0.004743590485304594,
0.010284817777574062,
-0.037498295307159424,
0.00304509443230927,
0.002361238468438387,
0.004584063310176134,
0.038173940032720566,
-0.0030005204025655985,
0.023159608244895935,
-0.04935961961746216,
0.023816484957933426,
-0.029259180650115013,
0.007540009915828705,
0.02225874736905098,
-0.046882253140211105,
0.013090620748698711,
-0.06587538123130798,
0.010904159396886826,
-0.006418627221137285,
-0.0010926446411758661,
0.03577164560556412,
-0.005968197248876095,
0.004771742504090071,
-0.060282543301582336,
0.0242293793708086,
0.006479622796177864,
0.015042484737932682,
-0.03695402666926384,
0.033801015466451645,
0.011898858472704887,
-0.0209825299680233,
0.04695732519030571,
-0.01588704064488411,
-0.0035072541795670986,
0.035433825105428696,
0.037160474807024,
0.014573286287486553,
-0.021676942706108093,
-0.03794872388243675,
0.0055506108328700066,
0.046732109040021896,
0.00306855421513319,
0.002550090430304408,
0.0025641664396971464,
-0.0032679634168744087,
-0.01128890085965395,
-0.005940045230090618,
-0.04005073383450508,
0.006230948027223349,
0.03276878222823143,
-0.022033533081412315,
-0.01033173780888319,
0.030385255813598633,
-0.05311319977045059,
0.0010885391384363174,
-0.01121382974088192,
0.016590837389230728,
-0.0008891299949027598,
0.026031099259853363,
-0.005555302836000919,
-0.05776764452457428,
-0.0038614985533058643,
-0.026913190260529518,
0.013306451961398125,
-0.0028855670243501663,
0.007577545940876007,
0.031042132526636124,
-0.0725567638874054,
0.004159439355134964,
0.06114586815237999,
0.054802313446998596,
0.03595932573080063,
-0.039600301533937454,
-0.02790789119899273,
-0.02985975332558155,
0.025073936209082603,
-0.014554518274962902,
0.010632024146616459,
-0.03173654526472092,
0.016403159126639366,
0.054802313446998596,
-0.0100877545773983,
0.018467629328370094,
-0.03427021577954292,
-0.0026157782413065434,
-0.02321591228246689,
0.03051663003861904,
0.007347639184445143,
-0.011410892941057682,
-0.03261863812804222,
0.03490832448005676,
-0.010228513740003109,
0.03434528410434723,
0.04665703698992729,
0.08055189251899719,
0.002550090430304408,
-0.036090701818466187,
-0.0026439300272613764,
0.0694412887096405,
-0.004870274104177952,
-0.04143955931067467,
0.06366077065467834,
0.037704743444919586,
-0.02467980980873108,
0.003718393389135599,
-0.01901189796626568,
-0.028283249586820602,
0.02985975332558155,
-0.018908675760030746,
-0.005029801279306412,
0.03198052942752838,
0.03338812291622162,
-0.04158969968557358,
-0.06718913465738297,
-0.0006357631646096706,
0.017726296558976173,
-0.0018697535851970315,
0.06268484145402908,
-0.003350073006004095,
0.029428090900182724,
-0.012292984873056412,
0.025880955159664154,
-0.009581021033227444,
-0.03320044279098511,
-0.058030396699905396,
0.0031553558073937893,
-0.008924144320189953,
-0.023028232157230377,
-0.0597195066511631,
0.045418355613946915,
0.11553528904914856,
0.014929876662790775,
-0.044930391013622284,
0.0007166997529566288,
0.014319919981062412,
-0.005986965261399746,
0.023197144269943237,
-0.008558169938623905,
-0.016581453382968903,
-0.052024662494659424,
0.01484542153775692,
0.013663042336702347,
0.005344164092093706,
-0.03278755024075508,
-0.05405159667134285,
-0.00448083970695734,
-0.034589268267154694,
0.07439601421356201,
-0.006906592752784491,
-0.026725511997938156,
0.03899972885847092,
0.010425576940178871,
0.029296716675162315,
-0.004602831322699785,
-0.0467696450650692,
-0.023610038682818413,
0.015643058344721794,
0.04320374131202698,
-0.017426010221242905,
0.02437952160835266,
-0.043954458087682724,
0.03353826701641083,
-0.042978525161743164,
-0.0030192884150892496,
0.019105738028883934,
-0.019725078716874123,
0.020457027480006218,
-0.05390145257115364,
0.008717697113752365,
-0.00792006030678749,
-0.020306885242462158,
0.010040834546089172,
0.009787468239665031,
-0.024754879996180534,
-0.010425576940178871,
0.057204607874155045,
0.005128332879394293,
0.029972361400723457,
0.00883499626070261,
0.03293769061565399,
-0.0073523311875760555,
0.10284817963838577,
0.013503515161573887,
0.03049786202609539,
-0.062196873128414154,
0.03175531327724457,
0.017698144540190697,
0.03532121703028679,
-0.07300718873739243,
0.0548398494720459,
-0.03160516917705536,
0.023685108870267868,
-0.07402066141366959,
-0.0028363012243062258,
-0.02212737314403057,
0.007788685150444508,
0.028808750212192535,
-0.008586321026086807,
0.025599436834454536,
-0.031060900539159775,
0.04136448726058006,
-0.07965103536844254,
-0.018552085384726524,
-0.004736552946269512,
-0.008408025838434696,
-0.0023659304715692997,
0.020419491454958916,
0.032975226640701294,
0.05667910352349281,
-0.022784249857068062,
-0.05360116809606552,
-0.07601005584001541,
0.015680594369769096,
-0.019143274053931236,
-0.010040834546089172,
0.018298717215657234,
-0.020869921892881393,
-0.06441148370504379,
0.008797460235655308,
0.021845852956175804,
-0.014235463924705982,
0.0034955244045704603,
0.03047909587621689,
0.031699009239673615,
-0.0011524673318490386,
0.004558257292956114,
0.054802313446998596,
-0.01641254313290119,
0.024585969746112823,
0.01243374403566122,
-0.011082454584538937,
0.022671641781926155,
-0.01607471890747547,
0.007605697959661484,
0.009627941064536572,
-0.03017880767583847,
0.03884958475828171,
-0.02359127067029476,
0.014826653525233269,
0.031211044639348984,
-0.005841513630002737,
-0.002233381848782301,
-0.005555302836000919,
0.019068202003836632,
0.01620609499514103,
-0.024604737758636475,
0.0040163337253034115,
0.009468413889408112,
0.005062645301222801,
-0.004652096889913082,
0.01540845911949873,
-0.015145707875490189,
0.026519065722823143,
0.080777108669281,
-0.03701033070683479,
-0.07555963099002838,
-0.004166477359831333,
-0.01265895925462246,
-0.03117350861430168,
-0.03505846485495567,
0.034608036279678345,
0.05063583701848984,
-0.06730174273252487,
0.032355885952711105,
-0.020250581204891205,
-0.01869284361600876,
0.00024061054864432663,
0.020062901079654694,
0.05712953582406044,
-0.05213727056980133,
-0.021864620968699455,
0.0009243198437616229,
-0.00771361356601119,
-0.01797027885913849,
-0.026387689635157585,
0.014179159887135029,
-0.10209745913743973,
-0.0019835340790450573,
0.037667207419872284,
0.039787981659173965,
0.04620660841464996,
0.008037359453737736,
-0.013053085654973984,
0.012405592016875744,
-0.022483963519334793,
0.015389691106975079,
0.01641254313290119,
-0.04387938603758812,
-0.006976972799748182,
0.00974993221461773,
-0.017782600596547127,
-0.018955593928694725,
0.017951510846614838,
-0.026049867272377014,
0.0419275239109993,
0.0362783819437027,
-0.001453340519219637,
0.059306614100933075,
-0.022033533081412315,
-0.003579979995265603,
-0.047858186066150665,
-0.07191865146160126,
-0.049472223967313766,
0.004335388541221619,
0.06812753528356552,
0.0006363496650010347,
-0.009332345798611641,
-0.0484212227165699,
-0.05596592277288437,
0.014620206318795681,
-0.053038131445646286,
-0.011964546516537666,
-0.05690431967377663,
-0.007990440353751183,
-0.041852451860904694,
-0.007530626375228167,
0.018345637246966362,
0.04601892828941345,
-0.0629100501537323,
0.025242846459150314,
0.05337595194578171,
-0.0008375182515010238,
0.062872514128685,
-0.018927443772554398,
-0.015361539088189602,
0.0070098163560032845,
-0.010763399302959442,
0.05273784324526787,
0.024792416021227837,
0.0017993738874793053,
-0.041251879185438156,
0.00005025549398851581,
-0.03036648780107498,
0.00009193346340907738,
0.0012269525323063135,
0.023628806695342064,
-0.034776948392391205,
0.06399859488010406,
0.0693662166595459,
-0.001619905699044466,
-0.03434528410434723,
-0.041702307760715485,
0.05634128302335739,
-0.02546806074678898,
0.007929444313049316,
0.004851506091654301,
-0.055140137672424316,
-0.005813362076878548,
0.026087403297424316,
0.04902179539203644,
0.052362482994794846,
0.10089631378650665,
-0.019143274053931236,
-0.04650689661502838,
-0.03513353690505028,
0.03126734867691994,
-0.00782622117549181,
0.03937508538365364,
0.005855589639395475,
-0.011945778504014015,
0.0531882718205452,
0.0018005468882620335,
0.03532121703028679,
0.023497430607676506,
-0.03697279468178749,
-0.018233029171824455,
-0.01736970618367195,
0.05731721594929695,
-0.015192627906799316,
0.016093486919999123,
0.001941306283697486,
-0.0035049081780016422,
0.00047125061973929405,
0.02777651511132717,
0.0037606211844831705,
-0.02728854864835739,
-0.0266316719353199,
0.03828654810786247,
-0.011016766540706158,
-0.05420174077153206,
0.01509878784418106,
0.09106192737817764,
0.00771361356601119,
-0.010059602558612823,
-0.020738547667860985,
0.04545589163899422,
-0.006193412002176046,
0.02773897908627987,
-0.00025923183420673013,
0.03956276550889015,
0.09301379323005676,
0.02484872005879879,
0.0034532963763922453,
0.06227194517850876,
0.05773010849952698,
0.10735248029232025,
-0.06580030918121338,
-0.08130261301994324,
-0.04143955931067467,
0.06812753528356552,
0.02259656973183155,
0.023966629058122635,
-0.04466763883829117,
-0.013006165623664856,
-0.06985418498516083,
0.003462680382654071,
0.028114337474107742,
0.06426133960485458,
0.014151008799672127,
-0.07852496206760406,
-0.07709860056638718,
0.03594055771827698,
0.05472724139690399,
-0.033481962978839874,
-0.034138839691877365,
-0.022071069106459618,
0.004532451741397381,
-0.00976870022714138,
-0.029972361400723457,
-0.018420709297060966,
-0.03404499962925911,
-0.04857136681675911,
-0.01193639449775219,
0.06148369237780571,
-0.061896584928035736,
0.020137973129749298,
0.05296305939555168,
0.0008199232979677618,
-0.008698929101228714,
-0.012827870436012745,
0.06441148370504379,
-0.027626371011137962,
-0.07248169183731079,
0.055778246372938156,
-0.01788582280278206,
0.013409676030278206,
0.02096376195549965,
-0.014873573556542397,
0.07154329121112823,
0.04706993326544762,
0.012715263292193413,
0.026669207960367203,
-0.027626371011137962,
-0.015192627906799316,
-0.0029207568150013685,
-0.019725078716874123,
0.02274671383202076,
0.000632244162261486,
-0.02402293123304844,
-0.014272999949753284,
-0.038812048733234406,
0.011823786422610283,
-0.09061149507761002,
0.016684677451848984,
0.009571637026965618,
-0.02563697285950184,
-0.05742982029914856,
0.04755789786577225,
-0.010697712190449238,
0.027401156723499298,
0.006639149971306324,
0.009656092151999474,
-0.011204445734620094,
0.0007190457545220852,
-0.0500352643430233,
-0.014798501506447792,
-0.09128714352846146,
0.03002866543829441,
0.00904613547027111,
-0.040088266134262085,
-0.00832357071340084,
-0.012780950404703617,
-0.014207311905920506,
0.0233848225325346,
-0.09098685532808304,
-0.025111470371484756,
-0.055252742022275925,
0.02306576818227768,
0.024116771295666695,
0.027645139023661613,
0.019931526854634285,
-0.06561263650655746,
-0.006596922408789396,
0.028170641511678696,
-0.0076901535503566265,
-0.008027976378798485,
0.027795283123850822,
0.021695710718631744,
-0.02792665921151638,
0.02000659890472889,
0.00870831310749054,
0.024792416021227837,
0.0775490254163742,
0.008652009069919586,
-0.004837430082261562,
0.00030292588053271174,
0.0029981746338307858,
-0.02482995204627514,
-0.007333563175052404,
-0.036710042506456375,
0.035734109580516815,
0.0726693719625473,
-0.010444344952702522,
-0.009890691377222538,
-0.04988512024283409,
0.021489262580871582,
0.02837708778679371,
-0.047032397240400314,
0.05341348797082901,
-0.027795283123850822,
0.032843850553035736,
0.03567780926823616,
0.0758974477648735,
0.02340359054505825,
0.03016003966331482,
0.0030755922198295593,
-0.02728854864835739,
0.015455378219485283,
0.026181241497397423,
-0.031229810789227486,
0.05983211472630501,
-0.019762614741921425,
0.077398881316185,
-0.07488398253917694,
-0.025618204846978188,
0.04804586246609688,
0.01299678161740303,
-0.028133105486631393,
0.023366054520010948,
-0.029334252700209618,
0.0006269656587392092,
-0.0467696450650692,
-0.04553096368908882,
-0.022990696132183075,
0.043991994112730026,
-0.05262523517012596,
0.03096706047654152,
-0.045906320214271545,
-0.02614370733499527,
-0.014967412687838078,
0.019058817997574806,
-0.037854887545108795,
-0.007760533131659031,
0.03599686175584793,
0.040088266134262085,
0.008187503553926945,
0.02484872005879879,
0.004440958146005869,
-0.033012762665748596,
0.04020087420940399,
0.013841337524354458,
-0.020550867542624474,
0.03136118873953819,
0.07071750611066818,
-0.0009395687957294285,
0.004372924566268921,
-0.004469109699130058,
-0.041852451860904694,
0.05423927679657936,
0.006747065577656031,
0.08760862797498703,
-0.040876518934965134,
0.020532099530100822,
-0.00040057770092971623,
-0.055590566247701645,
-0.037854887545108795,
0.02888382226228714,
-0.03425144776701927,
-0.0029958286322653294,
0.045268211513757706,
0.005930661223828793,
-0.012142841704189777,
0.007779301144182682,
-0.04241548851132393,
0.042190276086330414,
0.014779733493924141,
-0.038173940032720566,
0.017557384446263313,
-0.020100437104701996,
0.03222450986504555,
-0.03535875305533409,
-0.028320785611867905,
0.038812048733234406,
-0.008412717841565609,
0.03620330989360809,
-0.00504387728869915,
-0.022052301093935966,
-0.037047866731882095,
0.0040163337253034115,
-0.012133457697927952,
0.020607171580195427,
0.010538185015320778,
0.0026439300272613764,
-0.014404375106096268,
-0.0016328087076544762,
-0.0061324164271354675,
-0.018533317372202873,
-0.0027025798335671425,
0.02192092500627041,
0.014019632712006569,
-0.054314348846673965,
-0.06080804765224457,
0.022052301093935966,
0.04635675251483917,
0.03699156269431114,
-0.05619113892316818,
0.02374141290783882,
0.01797027885913849,
-0.012874790467321873,
0.03162393718957901,
0.05878111347556114,
0.014075936749577522,
0.019725078716874123,
-0.04819600656628609,
-0.02083238586783409,
-0.07495905458927155,
-0.04173984378576279,
-0.037160474807024,
0.02822694554924965,
0.03320044279098511,
-0.03922494500875473,
0.0265941359102726,
0.022821785882115364,
-0.051424089819192886,
-0.013587971217930317,
-0.007000432349741459,
-0.0073101031593978405,
0.014254231937229633
] |
9,680 | requests.adapters | send | Sends PreparedRequest object. Returns Response object.
:param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
:param stream: (optional) Whether to stream the request content.
:param timeout: (optional) How long to wait for the server to send
data before giving up, as a float, or a :ref:`(connect timeout,
read timeout) <timeouts>` tuple.
:type timeout: float or tuple or urllib3 Timeout object
:param verify: (optional) Either a boolean, in which case it controls whether
we verify the server's TLS certificate, or a string, in which case it
must be a path to a CA bundle to use
:param cert: (optional) Any user-provided SSL certificate to be trusted.
:param proxies: (optional) The proxies dictionary to apply to the request.
:rtype: requests.Response
| def send(
self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
):
"""Sends PreparedRequest object. Returns Response object.
:param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
:param stream: (optional) Whether to stream the request content.
:param timeout: (optional) How long to wait for the server to send
data before giving up, as a float, or a :ref:`(connect timeout,
read timeout) <timeouts>` tuple.
:type timeout: float or tuple or urllib3 Timeout object
:param verify: (optional) Either a boolean, in which case it controls whether
we verify the server's TLS certificate, or a string, in which case it
must be a path to a CA bundle to use
:param cert: (optional) Any user-provided SSL certificate to be trusted.
:param proxies: (optional) The proxies dictionary to apply to the request.
:rtype: requests.Response
"""
try:
conn = self.get_connection(request.url, proxies)
except LocationValueError as e:
raise InvalidURL(e, request=request)
self.cert_verify(conn, request.url, verify, cert)
url = self.request_url(request, proxies)
self.add_headers(
request,
stream=stream,
timeout=timeout,
verify=verify,
cert=cert,
proxies=proxies,
)
chunked = not (request.body is None or "Content-Length" in request.headers)
if isinstance(timeout, tuple):
try:
connect, read = timeout
timeout = TimeoutSauce(connect=connect, read=read)
except ValueError:
raise ValueError(
f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
f"or a single float to set both timeouts to the same value."
)
elif isinstance(timeout, TimeoutSauce):
pass
else:
timeout = TimeoutSauce(connect=timeout, read=timeout)
try:
resp = conn.urlopen(
method=request.method,
url=url,
body=request.body,
headers=request.headers,
redirect=False,
assert_same_host=False,
preload_content=False,
decode_content=False,
retries=self.max_retries,
timeout=timeout,
chunked=chunked,
)
except (ProtocolError, OSError) as err:
raise ConnectionError(err, request=request)
except MaxRetryError as e:
if isinstance(e.reason, ConnectTimeoutError):
# TODO: Remove this in 3.0.0: see #2811
if not isinstance(e.reason, NewConnectionError):
raise ConnectTimeout(e, request=request)
if isinstance(e.reason, ResponseError):
raise RetryError(e, request=request)
if isinstance(e.reason, _ProxyError):
raise ProxyError(e, request=request)
if isinstance(e.reason, _SSLError):
# This branch is for urllib3 v1.22 and later.
raise SSLError(e, request=request)
raise ConnectionError(e, request=request)
except ClosedPoolError as e:
raise ConnectionError(e, request=request)
except _ProxyError as e:
raise ProxyError(e)
except (_SSLError, _HTTPError) as e:
if isinstance(e, _SSLError):
# This branch is for urllib3 versions earlier than v1.22
raise SSLError(e, request=request)
elif isinstance(e, ReadTimeoutError):
raise ReadTimeout(e, request=request)
elif isinstance(e, _InvalidHeader):
raise InvalidHeader(e, request=request)
else:
raise
return self.build_response(request, resp)
| (self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None) | [
-0.0005828351131640375,
-0.0485900454223156,
-0.04274124279618263,
0.02539934031665325,
-0.053539030253887177,
-0.004787939600646496,
-0.05652478337287903,
0.04617690294981003,
0.007909175008535385,
-0.05623847618699074,
0.007750684395432472,
0.049735262989997864,
0.05382533371448517,
0.035195060074329376,
0.03169805184006691,
-0.007270101457834244,
0.007689333520829678,
-0.052066605538129807,
0.0045195287093520164,
-0.07051282376050949,
0.03674928843975067,
0.08687310665845871,
-0.00765865808352828,
0.005317092407494783,
-0.05214840546250343,
0.058733418583869934,
-0.023395206779241562,
-0.04474537819623947,
-0.0016168561996892095,
0.04449997469782829,
0.023395206779241562,
0.04658591002225876,
-0.015521819703280926,
0.030859585851430893,
0.023967815563082695,
0.019008604809641838,
-0.010036012157797813,
-0.0404508039355278,
0.036790188401937485,
0.04047125205397606,
-0.10200636833906174,
-0.009540090337395668,
-0.029244007542729378,
0.004790495615452528,
0.016575012356042862,
0.04617690294981003,
-0.08192412555217743,
0.06814058125019073,
-0.016452310606837273,
0.01646253652870655,
0.025787897408008575,
0.05239380896091461,
0.005222509615123272,
-0.056197576224803925,
-0.00011231718235649168,
-0.011973682790994644,
-0.07362128049135208,
0.03634028136730194,
-0.009606554172933102,
-0.013896016404032707,
0.020798010751605034,
0.061719171702861786,
0.04511348530650139,
-0.01611487939953804,
-0.08417366445064545,
-0.03523596376180649,
-0.010562608018517494,
-0.042782142758369446,
0.045440688729286194,
-0.04805833473801613,
0.023477008566260338,
0.06343699991703033,
-0.04944895952939987,
-0.03141174465417862,
0.058201711624860764,
-0.0008908685995265841,
-0.02683086507022381,
0.00820570532232523,
-0.0418618768453598,
-0.006022629793733358,
0.0743165910243988,
0.0003991014673374593,
0.026217354461550713,
-0.0014788162661716342,
0.06135106459259987,
-0.05333452671766281,
0.013660836964845657,
-0.0014992667129263282,
-0.04323204979300499,
0.02781248278915882,
0.009729256853461266,
-0.027567079290747643,
0.03366128355264664,
-0.03169805184006691,
0.0038651172071695328,
0.025072135031223297,
-0.01476515643298626,
0.009775269776582718,
-0.02893725223839283,
-0.04220953211188316,
0.0037373024970293045,
0.04077800735831261,
-0.020194726064801216,
0.0037730904296040535,
0.03728099912405014,
-0.023865563794970512,
0.0296325646340847,
-0.0349496565759182,
0.0373014472424984,
-0.009800832718610764,
0.0343361459672451,
-0.052312009036540985,
-0.06466402113437653,
0.028855450451374054,
-0.03828306496143341,
-0.056729286909103394,
0.020133374258875847,
0.020184500142931938,
-0.09652567654848099,
-0.01751573011279106,
-0.04920355603098869,
0.012934849597513676,
0.015746774151921272,
-0.012045259587466717,
0.028364643454551697,
0.0029576325323432684,
-0.009310023859143257,
-0.011758954264223576,
0.040553055703639984,
-0.020562831312417984,
0.0348065048456192,
-0.013384757563471794,
0.0022661550901830196,
0.07259876281023026,
-0.03609487786889076,
0.05321182310581207,
-0.03216840699315071,
0.06413231045007706,
-0.008855003863573074,
0.026789965108036995,
0.04793563112616539,
-0.016493210569024086,
-0.05811990797519684,
0.001503101084381342,
0.009407163597643375,
-0.03703559190034866,
-0.026156004518270493,
-0.04699491709470749,
-0.02887590229511261,
0.010777337476611137,
-0.02535844035446644,
-0.07783405482769012,
0.055952172726392746,
0.03476560488343239,
-0.0010864251526072621,
-0.03100273758172989,
-0.017311226576566696,
-0.018558697775006294,
-0.009253785945475101,
0.0362175777554512,
-0.007464379537850618,
0.013067777268588543,
-0.007459267042577267,
0.022147733718156815,
-0.048549141734838486,
-0.04998066648840904,
-0.02858959697186947,
-0.009504302404820919,
0.067731574177742,
-0.012904173694550991,
-0.04523618519306183,
0.043722860515117645,
-0.019744817167520523,
0.0022188634611666203,
0.022618092596530914,
0.036667488515377045,
0.056197576224803925,
-0.01976526901125908,
-0.05411164090037346,
-0.06879499554634094,
-0.005043569020926952,
-0.0024655458983033895,
0.02523573860526085,
-0.02499033324420452,
-0.04556339234113693,
0.054602447897195816,
0.008118790574371815,
-0.022495390847325325,
0.001840531942434609,
-0.008655613288283348,
0.004243448842316866,
-0.0006406712927855551,
-0.016094429418444633,
0.007893837057054043,
0.004580879583954811,
-0.009857071563601494,
-0.01440727524459362,
0.007699558511376381,
0.05570676922798157,
0.046136002987623215,
-0.05599307268857956,
0.044377271085977554,
0.02605375275015831,
-0.028835000470280647,
-0.01641141064465046,
-0.016840867698192596,
-0.0489172488451004,
-0.024601778015494347,
-0.05779270455241203,
0.01771000772714615,
0.008159691467881203,
0.03294552117586136,
-0.005475582554936409,
-0.002947407541796565,
0.0035609181504696608,
0.005301754456013441,
0.035788122564554214,
-0.06589104235172272,
-0.02188188023865223,
-0.005043569020926952,
0.05071688070893288,
-0.03499055653810501,
-0.03359993174672127,
-0.004473515320569277,
0.014959434978663921,
0.01845644600689411,
-0.008517572656273842,
-0.013210928998887539,
-0.0007905340171419084,
-0.05051237717270851,
-0.0015555050922557712,
0.019489187747240067,
0.03047102876007557,
0.03599262610077858,
-0.007004246581345797,
-0.017147623002529144,
-0.044540874660015106,
0.03946918621659279,
-0.029591664671897888,
-0.017536180093884468,
-0.006268033757805824,
-0.008159691467881203,
-0.001837975694797933,
-0.009586104191839695,
-0.06204637885093689,
-0.024867631494998932,
-0.03558361902832985,
0.038139913231134415,
-0.028078338131308556,
-0.036851540207862854,
0.029898419976234436,
-0.007505280431360006,
-0.00011407463898649439,
-0.08102430403232574,
0.010930715128779411,
0.02922355756163597,
0.021840978413820267,
0.010900039225816727,
-0.009857071563601494,
-0.029837068170309067,
0.012403140775859356,
-0.00498477416113019,
-0.01141129806637764,
0.032679665833711624,
-0.03834441676735878,
0.000310589763103053,
-0.027362575754523277,
0.006308934651315212,
-0.019785718992352486,
0.008103453554213047,
0.08728211373090744,
0.03558361902832985,
-0.03075733408331871,
-0.0012385246809571981,
-0.008609599433839321,
0.030736884102225304,
0.031963903456926346,
0.01782248541712761,
0.021554674953222275,
-0.03407029062509537,
0.03274101763963699,
0.004920866806060076,
0.046258702874183655,
-0.04977616295218468,
0.0046959128230810165,
-0.019161982461810112,
-0.04376376047730446,
0.11525820195674896,
-0.012883723713457584,
0.019540313631296158,
-0.007633095141500235,
-0.005736324470490217,
0.035788122564554214,
-0.0683450847864151,
-0.07816125452518463,
-0.0011132662184536457,
-0.07791585475206375,
0.06732256710529327,
0.023477008566260338,
-0.024417724460363388,
-0.008425545878708363,
-0.000001238205072695564,
0.011053416877985,
0.04458177462220192,
-0.00539378123357892,
-0.07108543813228607,
-0.002470658626407385,
-0.0827830359339714,
-0.02846689522266388,
-0.025685645639896393,
0.007980750873684883,
0.013671062886714935,
0.027198972180485725,
-0.06147376820445061,
0.03822171315550804,
0.008399982936680317,
0.009074845351278782,
0.00852268561720848,
0.006769067607820034,
0.028425993397831917,
0.012658770196139812,
-0.009437838569283485,
0.007014472037553787,
0.028323741629719734,
0.009279348887503147,
0.02011292427778244,
0.03094138763844967,
0.0238246638327837,
-0.029837068170309067,
0.022209085524082184,
-0.06241448223590851,
-0.0020616513211280107,
-0.013609711080789566,
-0.023804213851690292,
-0.029080405831336975,
-0.019478963688015938,
-0.001949174446053803,
0.00402871984988451,
0.035501815378665924,
-0.06282348930835724,
0.00402871984988451,
0.02351790852844715,
0.014345924369990826,
0.0011401072843000293,
0.0004735535476356745,
-0.0010921767679974437,
-0.011564675718545914,
-0.003366639604791999,
0.025828799232840538,
0.006631027441471815,
-0.03141174465417862,
-0.02781248278915882,
0.009085070341825485,
0.009570766240358353,
-0.002272545825690031,
-0.0018047438934445381,
0.007888724096119404,
-0.053130023181438446,
-0.029591664671897888,
-0.01594105176627636,
-0.013210928998887539,
0.06163737177848816,
0.009540090337395668,
0.022188635542988777,
0.0011107099708169699,
0.003721964545547962,
0.03787405788898468,
-0.029775716364383698,
-0.029244007542729378,
0.044540874660015106,
-0.027505727484822273,
-0.028364643454551697,
-0.05582946911454201,
0.030511930584907532,
0.007985863834619522,
-0.010603508912026882,
-0.03204570710659027,
-0.0035302424803376198,
-0.005521595943719149,
0.009033944457769394,
0.03617667779326439,
-0.038610272109508514,
-0.0289986040443182,
-0.06323249638080597,
0.027832932770252228,
-0.09071777760982513,
-0.02523573860526085,
0.03040967881679535,
0.017566855996847153,
0.0019287241157144308,
0.006677040830254555,
-0.053130023181438446,
0.05075778067111969,
-0.008906129747629166,
-0.031841203570365906,
0.004833952523767948,
0.007019584532827139,
0.031064089387655258,
-0.02781248278915882,
-0.047485724091529846,
0.011124993674457073,
0.0007298220298253,
-0.0007317392737604678,
0.04634050652384758,
-0.03899882733821869,
0.010051349177956581,
0.052025701850652695,
-0.03222975879907608,
0.02758752927184105,
-0.01824171654880047,
-0.02110476605594158,
-0.008563586510717869,
-0.010889814235270023,
0.003624825505539775,
-0.06057395040988922,
0.01658523827791214,
-0.04756752774119377,
0.06229178234934807,
0.030859585851430893,
-0.0009701137314550579,
0.0385693684220314,
-0.03793540969491005,
0.007980750873684883,
0.02517438679933548,
-0.011472648940980434,
0.009340699762105942,
-0.01249516662210226,
-0.04241403564810753,
-0.05239380896091461,
-0.014806057326495647,
0.01699424535036087,
0.040491703897714615,
-0.00733656482771039,
0.030491478741168976,
0.0451543852686882,
0.03321137651801109,
-0.061310164630413055,
0.04998066648840904,
0.011022740975022316,
0.016626138240098953,
0.03611532598733902,
-0.013671062886714935,
-0.020787786692380905,
0.030736884102225304,
0.0918629989027977,
0.02323160320520401,
0.0072905514389276505,
-0.04310934990644455,
-0.002860493492335081,
0.022679444402456284,
0.019366485998034477,
-0.06376420706510544,
0.044786278158426285,
-0.016851091757416725,
-0.03601307421922684,
-0.012372464872896671,
0.00782737322151661,
0.014570877887308598,
-0.06666816025972366,
-0.019550539553165436,
0.05034877359867096,
-0.027730681002140045,
0.05251651257276535,
-0.023967815563082695,
-0.0796336829662323,
0.038548920303583145,
0.004386601038277149,
0.028241939842700958,
0.030246075242757797,
-0.002439982956275344,
-0.004263898823410273,
-0.00461666751652956,
-0.038671620190143585,
0.0268104150891304,
0.029714366421103477,
-0.006211795378476381,
-0.030368776991963387,
0.039489634335041046,
0.0009381600539200008,
0.0038651172071695328,
0.0013433326967060566,
-0.05603397265076637,
0.0658501461148262,
-0.013527910225093365,
0.01141129806637764,
-0.09129038453102112,
0.029141755774617195,
-0.014223221689462662,
0.001219991478137672,
0.03104363940656185,
0.06617734581232071,
0.06122836470603943,
0.02351790852844715,
0.007264988496899605,
-0.0451543852686882,
0.006365173030644655,
-0.060083143413066864,
-0.03816036134958267,
-0.014212996698915958,
-0.035317763686180115,
0.04323204979300499,
-0.022720344364643097,
0.09930692613124847,
0.037669554352760315,
0.05668838322162628,
0.0023645723704248667,
0.006723054219037294,
0.05951053276658058,
0.017740683630108833,
0.00507424445822835,
-0.0404508039355278,
0.03022562526166439,
0.008297731168568134,
-0.010869363322854042,
0.0008333519799634814,
0.00724965101107955,
-0.0006406712927855551,
0.05194390192627907,
-0.014192546717822552,
-0.037546850740909576,
0.07300776988267899,
0.10216997563838959,
0.0015631740679964423,
0.01349723432213068,
-0.017740683630108833,
0.008083002641797066,
0.05063508078455925,
0.004294574726372957,
-0.004059395287185907,
0.0028758312109857798,
0.044377271085977554,
-0.02251584082841873,
-0.0315139964222908,
-0.04392736405134201,
0.06327340006828308,
0.05227110907435417,
-0.05615667626261711,
-0.007760909851640463,
0.0012800644617527723,
-0.00661568995565176,
0.039837293326854706,
0.0771387368440628,
-0.01710672117769718,
-0.01565474644303322,
-0.07660703361034393,
-0.004614111501723528,
0.031064089387655258,
0.05693379044532776,
-0.05153489485383034,
-0.05214840546250343,
-0.0316571481525898,
-0.0026738839223980904,
0.037669554352760315,
0.013037101365625858,
-0.04445907101035118,
-0.020378779619932175,
0.04580879583954811,
-0.028201039880514145,
0.004897859878838062,
-0.00923333503305912,
0.012270213104784489,
-0.02210683375597,
-0.029653014615178108,
0.012873498722910881,
-0.013098452240228653,
0.007689333520829678,
0.09415343403816223,
0.029489412903785706,
-0.020123150199651718,
-0.014898084104061127,
0.022556742653250694,
0.06433681398630142,
-0.06953120976686478,
0.0479765348136425,
0.046667709946632385,
-0.001468591159209609,
-0.022495390847325325,
0.05317092314362526,
0.0185791477560997,
0.031677599996328354,
0.05946963280439377,
-0.03623802959918976,
-0.07194434851408005,
-0.03216840699315071,
-0.02341565676033497,
0.006365173030644655,
-0.008906129747629166,
0.012423590756952763,
-0.02000044658780098,
-0.022434039041399956,
-0.019540313631296158,
-0.042782142758369446,
-0.03239336237311363,
-0.017791809514164925,
0.03906017914414406,
0.051903001964092255,
-0.054479748010635376,
0.007428591605275869,
0.03116634115576744,
0.06544113904237747,
0.02035832777619362,
0.026605911552906036,
0.012249763123691082,
-0.00602774228900671,
-0.002000300446525216,
-0.02288394793868065,
-0.05828351154923439,
0.05787450447678566,
0.02488808147609234,
-0.040266748517751694,
-0.015378667041659355,
0.005245516076683998,
-0.01616600528359413,
-0.025787897408008575,
-0.09456244111061096,
-0.04715852066874504,
-0.07382578402757645,
0.07505280524492264,
0.021738726645708084,
-0.03409074246883392,
0.013527910225093365,
-0.02376331202685833,
-0.02499033324420452,
0.054602447897195816,
-0.038548920303583145,
0.06556383520364761,
-0.00421788590028882,
0.0335385836660862,
-0.08908174932003021,
-0.06482762843370438,
0.021677376702427864,
0.06220997869968414,
0.06748617440462112,
0.02351790852844715,
0.004969436209648848,
0.0038574482314288616,
0.05317092314362526,
0.0032055932097136974,
0.001458365935832262,
0.0470358170568943,
0.06556383520364761,
-0.010082025080919266,
0.03235246241092682,
0.000871057331096381,
-0.009166872128844261,
-0.025542493909597397,
0.07456199824810028,
-0.0404508039355278,
0.014325473457574844,
-0.014550427906215191,
0.03546091541647911,
0.06752707064151764,
0.04188232868909836,
-0.04433637112379074,
-0.010082025080919266,
-0.008333520032465458,
0.035317763686180115,
0.009984886273741722,
0.046954017132520676,
-0.026278706267476082,
0.03775135427713394,
-0.014836732298135757,
0.0862186998128891,
-0.034315694123506546,
0.054725151509046555,
0.0358903743326664,
-0.004542535170912743,
-0.048140134662389755,
0.013865340501070023,
0.017730457708239555,
-0.019611891359090805,
-0.035910822451114655,
-0.023211153224110603,
0.03705604374408722,
0.028201039880514145,
-0.00905950739979744,
-0.009683242999017239,
-0.07722054421901703,
-0.059306029230356216,
0.0035123485140502453,
0.012280438095331192,
-0.01390624139457941,
-0.04789473116397858,
0.01611487939953804,
0.025501592084765434,
-0.012904173694550991,
0.0423322357237339,
-0.03503146022558212,
-0.060083143413066864,
-0.036667488515377045,
0.014161870814859867,
-0.026319606229662895,
-0.005818126257508993,
0.028364643454551697,
-0.02081846073269844,
-0.028425993397831917,
-0.0013535579200834036,
-0.0026278705336153507,
0.04122791439294815,
0.046790413558483124,
0.06658635288476944,
-0.0362175777554512,
-0.004626892972737551,
0.04875364527106285,
-0.011349947191774845,
-0.01282237283885479,
0.027607979252934456,
0.0033487456385046244,
0.10020674020051956,
0.013343856669962406,
0.015245739370584488,
-0.013282505795359612,
0.06863138824701309,
-0.023865563794970512,
-0.03681064024567604,
0.014785606414079666,
0.00526085402816534,
-0.004182097502052784,
-0.02576744742691517,
0.035256411880254745,
-0.011656702496111393,
-0.054438844323158264,
0.009258897975087166,
-0.010583058930933475,
-0.0031800302676856518,
-0.018507571890950203,
-0.016575012356042862,
0.009514527395367622,
0.03335452824831009,
0.007510392926633358,
-0.01658523827791214,
0.06086025759577751,
-0.0404508039355278,
-0.020542381331324577,
-0.048017434775829315,
-0.025256188586354256,
0.010301866568624973,
0.015061686746776104,
0.03239336237311363,
-0.008297731168568134,
-0.031064089387655258,
-0.04634050652384758,
-0.0008915076614357531,
-0.052312009036540985,
0.02104341611266136,
-0.02646275982260704,
0.04699491709470749,
-0.030184723436832428,
0.031064089387655258,
-0.02705582045018673,
0.01600240357220173,
-0.023395206779241562,
-0.030143823474645615,
0.019274460151791573,
0.046136002987623215,
-0.01946873776614666,
-0.0507986806333065,
0.018630273640155792,
-0.018078114837408066,
-0.041964128613471985,
0.024151869118213654,
0.0008940639672800899,
0.06842688471078873,
0.002305777510628104,
-0.054725151509046555,
0.025194836780428886,
0.03423389419913292,
0.02511303685605526
] |
9,681 | cloudscraper | wrap_socket | null | def wrap_socket(self, *args, **kwargs):
if hasattr(self.ssl_context, 'server_hostname') and self.ssl_context.server_hostname:
kwargs['server_hostname'] = self.ssl_context.server_hostname
self.ssl_context.check_hostname = False
else:
self.ssl_context.check_hostname = True
return self.ssl_context.orig_wrap_socket(*args, **kwargs)
| (self, *args, **kwargs) | [
0.01137660164386034,
-0.0664549246430397,
0.03266128525137901,
0.02606179378926754,
-0.01547253131866455,
0.0021242662332952023,
-0.002472597174346447,
0.05166357010602951,
0.07126741856336594,
-0.042215507477521896,
-0.004155644215643406,
-0.01157122477889061,
-0.017710696905851364,
-0.07884002476930618,
0.013022051192820072,
-0.006046583876013756,
-0.017498381435871124,
-0.014490569941699505,
0.016136018559336662,
-0.05159279704093933,
0.030290422961115837,
0.04193241894245148,
0.037155307829380035,
-0.03425365686416626,
-0.007068355102092028,
0.07636300474405289,
-0.015985628589987755,
0.04586026445031166,
0.05120355263352394,
-0.03825227543711662,
-0.06843654066324234,
0.005046929232776165,
0.03913692384958267,
0.043807875365018845,
0.04600181058049202,
-0.04448021203279495,
-0.06213782727718353,
-0.010836964473128319,
-0.011942777782678604,
-0.020099252462387085,
0.01815302111208439,
-0.01702066883444786,
0.009536528959870338,
-0.003735435428097844,
-0.004418827593326569,
0.04617873951792717,
0.01112889964133501,
0.11663228273391724,
0.031245844438672066,
-0.016171405091881752,
-0.05863461270928383,
0.04497561603784561,
0.04440943896770477,
0.010890043340623379,
-0.018896127119660378,
0.013490915298461914,
0.008413023315370083,
0.05318516865372658,
-0.02983040362596512,
0.02546023204922676,
-0.037579938769340515,
0.02866266667842865,
-0.018436109647154808,
0.010748500004410744,
-0.06461484730243683,
-0.055096015334129333,
-0.016905665397644043,
0.014446337707340717,
0.031528931111097336,
-0.0026517389342188835,
0.021497000008821487,
-0.002879536245018244,
-0.004604604095220566,
0.005219436250627041,
0.03895999491214752,
0.01137660164386034,
-0.04437405243515968,
0.03460751473903656,
-0.011190825141966343,
-0.00449402304366231,
-0.002322206739336252,
0.01674642786383629,
-0.043347857892513275,
0.004750571679323912,
-0.010385793633759022,
-0.03098044916987419,
0.0074752941727638245,
0.044126350432634354,
0.04522331804037094,
-0.000027628040697891265,
-0.013570534065365791,
0.06864885240793228,
0.008413023315370083,
0.01694989763200283,
0.005913886707276106,
-0.015835238620638847,
-0.017082594335079193,
0.014826737344264984,
0.05962542071938515,
-0.038039956241846085,
-0.016366029158234596,
0.04603719711303711,
-0.027300305664539337,
0.021833166480064392,
0.049221936613321304,
-0.028468042612075806,
0.02054157666862011,
-0.08917273581027985,
-0.017029516398906708,
0.03963232785463333,
0.012172786518931389,
-0.02117852494120598,
0.011650842614471912,
0.017259525135159492,
-0.01955076865851879,
-0.04600181058049202,
-0.034731365740299225,
-0.00006697078060824424,
-0.006705648265779018,
0.010739653371274471,
-0.05612220615148544,
0.019179215654730797,
0.022346263751387596,
-0.02806110307574272,
-0.03126353770494461,
0.03895999491214752,
0.013428989797830582,
-0.04175549000501633,
0.03584602475166321,
-0.06603028625249863,
0.04600181058049202,
0.038146115839481354,
0.02346092276275158,
0.05208820477128029,
-0.008766883052885532,
-0.015976782888174057,
-0.01132352277636528,
0.07268285751342773,
-0.007422214839607477,
0.008634185418486595,
-0.0016985283000394702,
0.012562032788991928,
-0.005484831053763628,
0.009474603459239006,
0.05116816610097885,
0.034448277205228806,
-0.003122815163806081,
-0.024186335504055023,
-0.000607091176789254,
-0.05693608522415161,
0.0327143631875515,
-0.00003583524448913522,
0.027141068130731583,
0.017179906368255615,
-0.04490484297275543,
0.05074353516101837,
-0.037296850234270096,
-0.06656108051538467,
0.013057436794042587,
0.012305484153330326,
-0.03264359012246132,
-0.053574416786432266,
0.020205410197377205,
-0.060014668852090836,
-0.016118327155709267,
-0.035474471747875214,
-0.006679108832031488,
-0.08959737420082092,
0.05824536830186844,
0.042604751884937286,
-0.048655759543180466,
0.037403009831905365,
0.021903937682509422,
0.008165321312844753,
0.05534371733665466,
0.05042506009340286,
0.008917273953557014,
-0.034059032797813416,
-0.03582833334803581,
0.03927846997976303,
0.02827342040836811,
-0.01976308599114418,
-0.01815302111208439,
-0.006413714028894901,
0.004434308968484402,
0.07130280137062073,
0.04451559856534004,
0.013252059929072857,
0.05583912134170532,
-0.0012340870453044772,
-0.0050292364321649075,
0.02218702621757984,
0.020063865929841995,
0.02289474755525589,
0.022452421486377716,
0.0053388639353215694,
-0.004173337481915951,
0.010598109103739262,
-0.008607646450400352,
0.027813401073217392,
-0.0358814112842083,
0.028786517679691315,
-0.05725456029176712,
0.01053618360310793,
-0.02078927867114544,
0.013482068665325642,
0.02011694572865963,
0.008771306835114956,
-0.08329866081476212,
0.010244249366223812,
0.02096620947122574,
-0.07002890855073929,
-0.049681954085826874,
-0.0050026969984173775,
0.02254088595509529,
0.012128554284572601,
-0.033563628792762756,
-0.00025281644775532186,
0.001132352277636528,
0.015330987982451916,
0.0005437834188342094,
-0.03998618945479393,
-0.01297781802713871,
-0.010031932964920998,
0.003007810562849045,
0.006833922583609819,
0.059590037912130356,
-0.0569714717566967,
0.015490224584937096,
0.032378196716308594,
0.004604604095220566,
0.04069390892982483,
0.049858883023262024,
0.043170928955078125,
0.018542267382144928,
0.018329951912164688,
0.014640960842370987,
0.02107236720621586,
0.010775038972496986,
-0.013782849535346031,
-0.03418288379907608,
-0.009085357189178467,
0.049292709678411484,
-0.04724032059311867,
0.014198635704815388,
-0.00723643833771348,
-0.01292473915964365,
0.036624517291784286,
0.015702540054917336,
0.054919082671403885,
-0.04681568965315819,
0.018577653914690018,
-0.005918309558182955,
-0.020276181399822235,
0.006917964667081833,
-0.07423984259366989,
-0.05700685828924179,
-0.001073744148015976,
-0.021567771211266518,
0.009209208190441132,
-0.04586026445031166,
0.06535795331001282,
-0.048372671008110046,
0.024734819307923317,
-0.030113492161035538,
-0.003843805054202676,
-0.05693608522415161,
0.012774348258972168,
0.00393005833029747,
0.01803801767528057,
-0.0032754172571003437,
-0.05792689323425293,
0.02001078799366951,
0.04118931293487549,
0.024540195241570473,
-0.006701224949210882,
-0.034943681210279465,
-0.017047209665179253,
0.0045736413449049,
-0.01674642786383629,
0.08096318691968918,
0.03243127465248108,
-0.018613040447235107,
-0.018329951912164688,
-0.04773572459816933,
-0.028751131147146225,
-0.004524985793977976,
-0.0066260299645364285,
0.015941396355628967,
-0.06235014647245407,
-0.054282136261463165,
0.015534456819295883,
0.015976782888174057,
-0.0049009621143341064,
-0.06666723638772964,
-0.017613384872674942,
-0.03614680841565132,
0.022133948281407356,
0.043701719492673874,
-0.014587881974875927,
-0.038110729306936264,
0.012332024052739143,
-0.025796398520469666,
0.012792041525244713,
0.07671686261892319,
-0.03407672420144081,
-0.016507571563124657,
0.02103698067367077,
-0.004160067532211542,
0.01586177758872509,
-0.004883268848061562,
0.0039123655296862125,
-0.025548696517944336,
-0.08804038912057877,
0.05148664116859436,
0.048160355538129807,
0.02852112241089344,
-0.007563759107142687,
-0.018099943175911903,
0.07130280137062073,
-0.03312130272388458,
-0.042781684547662735,
-0.07254131883382797,
0.07059508562088013,
0.05166357010602951,
0.06946273148059845,
0.055237557739019394,
-0.032095108181238174,
0.0334220826625824,
0.012093167752027512,
-0.02784878760576248,
0.02289474755525589,
-0.03418288379907608,
-0.07763689756393433,
-0.004191030282527208,
-0.04398480802774429,
0.000445089623099193,
0.060970090329647064,
-0.00001587877886777278,
-0.04667414352297783,
-0.03864151984453201,
-0.02211625501513481,
-0.01039463933557272,
-0.01287166029214859,
0.014428644441068172,
-0.031422775238752365,
-0.09589608013629913,
-0.026433346793055534,
0.009545375593006611,
-0.010978508740663528,
-0.03520907834172249,
-0.04479868710041046,
0.0005321723874658346,
0.011031587608158588,
0.060934703797101974,
0.037686098366975784,
-0.025867171585559845,
0.04069390892982483,
0.021107753738760948,
-0.02528330311179161,
0.037155307829380035,
-0.015481377951800823,
0.01287166029214859,
-0.001556984381750226,
0.004759417846798897,
0.03253743425011635,
0.05283131077885628,
-0.01744530163705349,
0.007838000543415546,
0.00029331681434996426,
-0.04494022950530052,
-0.037579938769340515,
0.01649872586131096,
-0.04175549000501633,
-0.010067319497466087,
-0.06242091581225395,
-0.03161739930510521,
-0.02022310346364975,
-0.01659603789448738,
-0.05923617631196976,
0.019462304189801216,
0.005330017302185297,
0.05813920870423317,
-0.021337762475013733,
-0.02908729761838913,
-0.010624649003148079,
-0.0058519612066447735,
-0.009164975956082344,
0.05014197155833244,
0.011084666475653648,
-0.004354690667241812,
-0.04147240146994591,
0.053468257188797,
0.017958398908376694,
-0.02777801640331745,
-0.031670477241277695,
-0.024752512574195862,
0.03283821418881416,
0.015109824948012829,
-0.043277088552713394,
-0.0182945653796196,
0.0035186961758881807,
-0.0034877334255725145,
-0.020948516204953194,
-0.004191030282527208,
0.07388598471879959,
0.021903937682509422,
0.02339015156030655,
0.04083545133471489,
0.024044791236519814,
-0.037969186902046204,
-0.0035054264590144157,
-0.0457187220454216,
-0.01287166029214859,
0.01951538398861885,
0.03133431077003479,
0.024840977042913437,
0.06811806559562683,
0.05130971223115921,
0.01912613771855831,
-0.014428644441068172,
-0.03980925679206848,
-0.003549658926203847,
0.04398480802774429,
-0.00893496721982956,
0.020205410197377205,
-0.047806497663259506,
-0.06447330862283707,
0.007864540442824364,
-0.01132352277636528,
-0.023974020034074783,
-0.01712682843208313,
-0.010102705098688602,
0.01937383972108364,
0.05870538577437401,
0.024221722036600113,
0.0009493402321822941,
0.06447330862283707,
-0.03542139381170273,
0.004586911294609308,
0.00604216055944562,
-0.007568182423710823,
-0.04090622439980507,
0.03400595486164093,
0.031918179243803024,
0.024876363575458527,
-0.05187588557600975,
0.01032386813312769,
-0.05300823971629143,
0.015083285979926586,
-0.006183704826980829,
-0.006081969942897558,
0.013128208927810192,
-0.04755879566073418,
-0.07714149355888367,
-0.02680489979684353,
-0.0005855278577655554,
-0.017542613670229912,
-0.026079487055540085,
-0.0030785826966166496,
-0.006701224949210882,
-0.018613040447235107,
0.036482974886894226,
-0.01659603789448738,
-0.024380959570407867,
-0.049681954085826874,
0.007355866488069296,
-0.03616449981927872,
0.002886171219870448,
-0.01317244116216898,
0.049681954085826874,
-0.014658653177320957,
-0.003304168349131942,
-0.0027822249103337526,
0.026079487055540085,
-0.011120053008198738,
-0.02669874206185341,
0.021143140271306038,
-0.03404133766889572,
0.010509644635021687,
-0.10014240443706512,
0.05679454281926155,
0.04770033806562424,
-0.037721484899520874,
0.025867171585559845,
-0.03607603535056114,
0.018577653914690018,
-0.06903810054063797,
0.02852112241089344,
0.07112587243318558,
0.02395632676780224,
0.10969662666320801,
0.0049230782315135,
-0.017330296337604523,
0.06744573265314102,
0.02050619199872017,
-0.0033992682583630085,
-0.010279634967446327,
0.003290898632258177,
-0.0008581106667406857,
-0.06185474246740341,
-0.054494451731443405,
0.009563068859279156,
0.0174099151045084,
0.04182625934481621,
-0.026327189058065414,
-0.08181244879961014,
0.024186335504055023,
0.008121089078485966,
0.02834419161081314,
0.005869654007256031,
0.0260264091193676,
0.054671380668878555,
0.019922321662306786,
0.025672547519207,
0.03253743425011635,
-0.07501833885908127,
0.04026927798986435,
-0.02342553623020649,
-0.026893366128206253,
0.022735510021448135,
0.048938848078250885,
0.011261597275733948,
0.000254336919169873,
0.01603870838880539,
-0.04012773185968399,
0.05314978212118149,
0.024310186505317688,
0.0411539264023304,
0.016649115830659866,
-0.02616795338690281,
0.003861498087644577,
-0.023230914026498795,
0.04193241894245148,
0.0467803031206131,
0.05913001671433449,
-0.0724351555109024,
-0.0160033218562603,
-0.09440986812114716,
-0.060757774859666824,
0.02036464773118496,
0.01628641039133072,
-0.019267680123448372,
-0.0875449851155281,
-0.10877658426761627,
-0.015127518214285374,
-0.010748500004410744,
0.061005476862192154,
-0.06263323128223419,
-0.07544296979904175,
-0.015658307820558548,
-0.008554567582905293,
0.03874767944216728,
-0.017365682870149612,
-0.05891770124435425,
-0.05870538577437401,
0.024911750108003616,
-0.005754649639129639,
-0.04582487791776657,
0.01406593807041645,
-0.005772342439740896,
0.007170089986175299,
0.059979282319545746,
0.017047209665179253,
-0.049080390483140945,
-0.019179215654730797,
0.037226080894470215,
0.021426226943731308,
-0.049434252083301544,
0.03492598980665207,
-0.008448408916592598,
0.024522503837943077,
0.031458161771297455,
0.007059508468955755,
0.009828463196754456,
0.036270659416913986,
0.03140508010983467,
0.005051352549344301,
0.011597763746976852,
0.025088679045438766,
-0.009218054823577404,
-0.017454147338867188,
-0.07537219673395157,
-0.03144046664237976,
-0.027282612398266792,
0.008992468938231468,
0.003111757105216384,
0.03604064881801605,
-0.02588486485183239,
-0.002417306648567319,
-0.043383244425058365,
-0.04405558109283447,
0.0040141004137694836,
-0.029246535152196884,
0.0025522157084196806,
-0.03457212820649147,
0.0011854312615469098,
-0.0074487547390162945,
0.0615362673997879,
0.012464720755815506,
-0.0070108529180288315,
0.060793161392211914,
0.04232166334986687,
-0.002970213070511818,
0.009678073227405548,
-0.030025027692317963,
-0.080892413854599,
-0.0005611999658867717,
-0.06249168887734413,
-0.018506882712244987,
-0.04681568965315819,
0.07615068554878235,
0.015286754816770554,
0.011562378145754337,
0.009386138059198856,
0.05944849178195,
-0.013632459565997124,
0.02478789910674095,
-0.02503560110926628,
-0.03154662624001503,
0.030414273962378502,
0.005453868303447962,
-0.043524790555238724,
-0.010031932964920998,
-0.03418288379907608,
0.006024467758834362,
0.04458636790513992,
0.031493548303842545,
-0.060191597789525986,
0.010553876869380474,
0.0006618289044126868,
-0.0038548631127923727,
0.030042720958590508,
-0.009226901456713676,
0.02908729761838913,
-0.012234712019562721,
-0.00639159744605422,
0.02349630929529667,
-0.024947134777903557,
0.032272037118673325,
0.05725456029176712,
-0.04564794898033142,
0.034660592675209045,
-0.054034434258937836,
-0.018436109647154808,
0.008965929970145226,
0.060191597789525986,
-0.015950242057442665,
-0.021443920210003853,
-0.037579938769340515,
0.0130132045596838,
-0.011898544616997242,
0.022841667756438255,
0.019745392724871635,
0.0794769749045372,
0.026964137330651283,
-0.027583392336964607,
0.019073057919740677,
0.08273248374462128,
-0.0576791912317276,
0.04235704988241196,
0.007988391444087029,
0.05159279704093933,
0.05130971223115921,
0.037969186902046204,
0.010633495636284351,
0.012473567388951778,
-0.03262589871883392,
-0.002972424728795886,
0.022098561748862267,
0.011022740975022316,
-0.007882232777774334,
-0.07133819162845612,
0.048514217138290405,
-0.018931513652205467,
-0.0327143631875515,
-0.034377507865428925,
-0.02317783422768116,
-0.05806843936443329,
-0.014738271944224834,
-0.021337762475013733,
-0.03556293621659279,
-0.04111853986978531,
0.016649115830659866,
0.0038659214042127132,
-0.03984464332461357,
0.08945582807064056,
0.009067664854228497,
-0.027813401073217392,
-0.05640529468655586,
0.01769300363957882,
-0.0011246115900576115,
0.027158761397004128,
0.055485259741544724,
-0.060050055384635925,
-0.06196089833974838,
-0.043630946427583694,
-0.05605143681168556,
0.012402795255184174,
0.00032317376462742686,
0.03800457343459129,
0.04083545133471489,
-0.021727008745074272,
0.005551179870963097,
0.007899926044046879,
-0.025442538782954216,
-0.010925429873168468,
-0.018878435716032982,
0.01646333932876587,
0.04451559856534004,
0.0011677382281050086,
-0.0362175777554512,
0.07112587243318558,
0.03881844878196716,
-0.024823283776640892,
-0.006174858193844557,
-0.016056401655077934,
-0.036872219294309616,
0.019639234989881516,
0.06457946449518204,
-0.024080177769064903,
-0.003859286429360509,
0.031953565776348114,
-0.042817067354917526,
0.03066197596490383,
-0.0046178740449249744,
-0.002786647994071245,
-0.0014441914390772581,
0.027831094339489937,
0.0006292074685916305,
0.01685258559882641,
-0.02096620947122574,
-0.03055581822991371,
0.07813230156898499,
0.0042817071080207825,
0.006104086060076952,
0.024734819307923317,
0.042746298015117645,
-0.03619988635182381,
0.028715744614601135,
0.0029348270036280155,
0.004073814023286104,
0.0037553401198238134,
0.0027977062854915857,
0.09525913000106812,
-0.03303283825516701,
-0.03499676287174225,
0.048443444073200226,
0.015392913483083248,
0.00484345993027091,
-0.0007834683055989444,
0.05130971223115921,
-0.019993094727396965,
-0.04440943896770477,
-0.01940922439098358,
-0.04161394387483597,
-0.08535104990005493,
0.025300994515419006,
0.0460725799202919,
0.036482974886894226,
-0.0016034285072237253,
0.021868553012609482,
0.006307555828243494,
0.04773572459816933,
-0.03899538144469261,
0.001979404827579856,
0.03655374422669411,
0.06383635848760605
] |
9,682 | cloudscraper | CloudScraper | null | class CloudScraper(Session):
def __init__(self, *args, **kwargs):
self.debug = kwargs.pop('debug', False)
self.disableCloudflareV1 = kwargs.pop('disableCloudflareV1', False)
self.delay = kwargs.pop('delay', None)
self.captcha = kwargs.pop('captcha', {})
self.doubleDown = kwargs.pop('doubleDown', True)
self.interpreter = kwargs.pop('interpreter', 'native')
self.requestPreHook = kwargs.pop('requestPreHook', None)
self.requestPostHook = kwargs.pop('requestPostHook', None)
self.cipherSuite = kwargs.pop('cipherSuite', None)
self.ecdhCurve = kwargs.pop('ecdhCurve', 'prime256v1')
self.source_address = kwargs.pop('source_address', None)
self.server_hostname = kwargs.pop('server_hostname', None)
self.ssl_context = kwargs.pop('ssl_context', None)
self.allow_brotli = kwargs.pop(
'allow_brotli',
True if 'brotli' in sys.modules.keys() else False
)
self.user_agent = User_Agent(
allow_brotli=self.allow_brotli,
browser=kwargs.pop('browser', None)
)
self._solveDepthCnt = 0
self.solveDepth = kwargs.pop('solveDepth', 3)
super(CloudScraper, self).__init__(*args, **kwargs)
# pylint: disable=E0203
if 'requests' in self.headers['User-Agent']:
# ------------------------------------------------------------------------------- #
# Set a random User-Agent if no custom User-Agent has been set
# ------------------------------------------------------------------------------- #
self.headers = self.user_agent.headers
if not self.cipherSuite:
self.cipherSuite = self.user_agent.cipherSuite
if isinstance(self.cipherSuite, list):
self.cipherSuite = ':'.join(self.cipherSuite)
self.mount(
'https://',
CipherSuiteAdapter(
cipherSuite=self.cipherSuite,
ecdhCurve=self.ecdhCurve,
server_hostname=self.server_hostname,
source_address=self.source_address,
ssl_context=self.ssl_context
)
)
# purely to allow us to pickle dump
copyreg.pickle(ssl.SSLContext, lambda obj: (obj.__class__, (obj.protocol,)))
# ------------------------------------------------------------------------------- #
# Allow us to pickle our session back with all variables
# ------------------------------------------------------------------------------- #
def __getstate__(self):
return self.__dict__
# ------------------------------------------------------------------------------- #
# Allow replacing actual web request call via subclassing
# ------------------------------------------------------------------------------- #
def perform_request(self, method, url, *args, **kwargs):
return super(CloudScraper, self).request(method, url, *args, **kwargs)
# ------------------------------------------------------------------------------- #
# Raise an Exception with no stacktrace and reset depth counter.
# ------------------------------------------------------------------------------- #
def simpleException(self, exception, msg):
self._solveDepthCnt = 0
sys.tracebacklimit = 0
raise exception(msg)
# ------------------------------------------------------------------------------- #
# debug the request via the response
# ------------------------------------------------------------------------------- #
@staticmethod
def debugRequest(req):
try:
print(dump.dump_all(req).decode('utf-8', errors='backslashreplace'))
except ValueError as e:
print(f"Debug Error: {getattr(e, 'message', e)}")
# ------------------------------------------------------------------------------- #
# Decode Brotli on older versions of urllib3 manually
# ------------------------------------------------------------------------------- #
def decodeBrotli(self, resp):
if requests.packages.urllib3.__version__ < '1.25.1' and resp.headers.get('Content-Encoding') == 'br':
if self.allow_brotli and resp._content:
resp._content = brotli.decompress(resp.content)
else:
logging.warning(
f'You\'re running urllib3 {requests.packages.urllib3.__version__}, Brotli content detected, '
'Which requires manual decompression, '
'But option allow_brotli is set to False, '
'We will not continue to decompress.'
)
return resp
# ------------------------------------------------------------------------------- #
# Our hijacker request function
# ------------------------------------------------------------------------------- #
def request(self, method, url, *args, **kwargs):
# pylint: disable=E0203
if kwargs.get('proxies') and kwargs.get('proxies') != self.proxies:
self.proxies = kwargs.get('proxies')
# ------------------------------------------------------------------------------- #
# Pre-Hook the request via user defined function.
# ------------------------------------------------------------------------------- #
if self.requestPreHook:
(method, url, args, kwargs) = self.requestPreHook(
self,
method,
url,
*args,
**kwargs
)
# ------------------------------------------------------------------------------- #
# Make the request via requests.
# ------------------------------------------------------------------------------- #
response = self.decodeBrotli(
self.perform_request(method, url, *args, **kwargs)
)
# ------------------------------------------------------------------------------- #
# Debug the request via the Response object.
# ------------------------------------------------------------------------------- #
if self.debug:
self.debugRequest(response)
# ------------------------------------------------------------------------------- #
# Post-Hook the request aka Post-Hook the response via user defined function.
# ------------------------------------------------------------------------------- #
if self.requestPostHook:
newResponse = self.requestPostHook(self, response)
if response != newResponse: # Give me walrus in 3.7!!!
response = newResponse
if self.debug:
print('==== requestPostHook Debug ====')
self.debugRequest(response)
# ------------------------------------------------------------------------------- #
if not self.disableCloudflareV1:
cloudflareV1 = Cloudflare(self)
# ------------------------------------------------------------------------------- #
# Check if Cloudflare v1 anti-bot is on
# ------------------------------------------------------------------------------- #
if cloudflareV1.is_Challenge_Request(response):
# ------------------------------------------------------------------------------- #
# Try to solve the challenge and send it back
# ------------------------------------------------------------------------------- #
if self._solveDepthCnt >= self.solveDepth:
_ = self._solveDepthCnt
self.simpleException(
CloudflareLoopProtection,
f"!!Loop Protection!! We have tried to solve {_} time(s) in a row."
)
self._solveDepthCnt += 1
response = cloudflareV1.Challenge_Response(response, **kwargs)
else:
if not response.is_redirect and response.status_code not in [429, | (*args, **kwargs) | [
0.025831596925854683,
-0.06118445470929146,
-0.09372232854366302,
0.07741199433803558,
-0.048144467175006866,
0.005376407876610756,
-0.08825795352458954,
0.011032244190573692,
-0.021567726507782936,
-0.034297239035367966,
0.040941424667835236,
0.04694395884871483,
-0.022519852966070175,
0.023616869002580643,
-0.005197884514927864,
-0.06019093096256256,
0.04524669051170349,
0.03555984050035477,
0.008605357259511948,
-0.08527738600969315,
-0.040030695497989655,
0.028708674013614655,
0.010043895803391933,
0.0689256563782692,
-0.033386509865522385,
0.015368557535111904,
-0.023968741297721863,
0.0447913259267807,
-0.010152562521398067,
0.023430582135915756,
-0.044418755918741226,
0.006219867616891861,
-0.012677766382694244,
0.017324555665254593,
0.023927344009280205,
-0.03166854381561279,
0.012977893464267254,
-0.006359581835567951,
-0.10208448022603989,
-0.029122641310095787,
-0.07637707889080048,
-0.012201703153550625,
-0.013826527632772923,
-0.046116024255752563,
-0.0057800267823040485,
0.031109686940908432,
-0.06317149847745895,
0.058949027210474014,
-0.011332371272146702,
-0.02101922035217285,
-0.01517192367464304,
0.013536750338971615,
0.047730498015880585,
0.0030556004494428635,
0.04835144802927971,
0.03895437717437744,
-0.03142016381025314,
0.01831807941198349,
0.018080048263072968,
-0.002014212543144822,
0.010173261165618896,
0.014789002947509289,
0.0024385296273976564,
0.04032047092914581,
-0.025438327342271805,
0.025728104636073112,
-0.030923401936888695,
0.028253309428691864,
-0.000838284962810576,
-0.0390164740383625,
0.03518727049231529,
-0.005966312251985073,
-0.020522458478808403,
-0.0007354398258030415,
0.03073711507022381,
-0.007006406784057617,
0.0070529780350625515,
-0.04785468801856041,
-0.036822445690631866,
0.0114462124183774,
0.02334778942167759,
-0.023720359429717064,
0.032434385269880295,
-0.04893100634217262,
0.03019895777106285,
-0.06685581803321838,
0.08213122934103012,
0.01364024169743061,
-0.024879470467567444,
0.04207983613014221,
-0.06900844722986221,
-0.008719198405742645,
0.01237764023244381,
0.00973859429359436,
-0.010225007310509682,
0.026059279218316078,
0.012501830235123634,
-0.022561250254511833,
-0.006095677148550749,
-0.0483100526034832,
0.016258588060736656,
0.07567332684993744,
-0.07906786352396011,
0.010959800332784653,
0.005016773473471403,
-0.021008869633078575,
-0.03752619028091431,
0.00016591056191828102,
0.01476830430328846,
-0.04876541718840599,
-0.04046536237001419,
-0.017179667949676514,
-0.006509644910693169,
0.03133736923336983,
-0.020398268476128578,
-0.015378907322883606,
-0.06035652011632919,
-0.010845959186553955,
0.006959835067391396,
0.03351069986820221,
-0.04462574049830437,
-0.0198704581707716,
0.008062024600803852,
0.02531413733959198,
-0.009102119132876396,
0.03305533528327942,
-0.009345324710011482,
0.0149752888828516,
0.02380315400660038,
0.005738629959523678,
0.012015418149530888,
0.007611834444105625,
0.007259961683303118,
0.06801492720842361,
0.03427654132246971,
0.03518727049231529,
-0.020760489627718925,
-0.003676552325487137,
-0.030323147773742676,
0.02309940755367279,
0.006054280325770378,
-0.032682765275239944,
0.004838249646127224,
-0.04243170842528343,
-0.007989580743014812,
0.005278090480715036,
0.012522528879344463,
-0.07434863597154617,
-0.021878203377127647,
-0.06209518387913704,
0.07654266059398651,
-0.021319346502423286,
0.019601380452513695,
0.014602717012166977,
-0.02405153401196003,
0.03512517735362053,
-0.028998451307415962,
0.04508110508322716,
0.0008020628010854125,
0.008020628243684769,
-0.016010208055377007,
-0.03214460611343384,
-0.03657406195998192,
-0.058907631784677505,
0.005697233136743307,
-0.048392847180366516,
0.02004639431834221,
-0.05398141220211983,
0.0014217209536582232,
0.07443142682313919,
-0.026887213811278343,
0.03009546548128128,
-0.047523513436317444,
0.04005139321088791,
0.0018382761627435684,
0.055471695959568024,
0.002496743807569146,
-0.019032174721360207,
-0.044956911355257034,
-0.00207889499142766,
-0.03291044756770134,
-0.03769177570939064,
-0.044418755918741226,
-0.001936593558639288,
0.015637636184692383,
0.017707476392388344,
0.040775835514068604,
0.0033013939391821623,
0.03738129884004593,
0.06271613389253616,
-0.024113629013299942,
0.015834271907806396,
0.07062292098999023,
-0.02777724526822567,
0.032330892980098724,
0.0028356800321489573,
0.011508307419717312,
-0.008129294030368328,
0.022416360676288605,
-0.02169191837310791,
-0.05646521970629692,
0.05071106553077698,
0.03994790092110634,
-0.05228414386510849,
-0.053319063037633896,
0.04392199218273163,
-0.02879146672785282,
0.004758043680340052,
0.00031856121495366096,
0.01821458712220192,
-0.0374847911298275,
0.0483100526034832,
-0.0021797996014356613,
-0.027094198390841484,
-0.008248310536146164,
-0.020336173474788666,
0.023120107129216194,
0.010333673097193241,
0.02123655192553997,
0.0025950612034648657,
0.040030695497989655,
0.0041138059459626675,
-0.0790264680981636,
-0.044418755918741226,
-0.06507575511932373,
0.020015347748994827,
0.03390397131443024,
0.02056385576725006,
-0.0026985532604157925,
-0.047771893441677094,
0.020274076610803604,
-0.007948183454573154,
0.04971754550933838,
0.030033370479941368,
0.06619346886873245,
-0.024631088599562645,
-0.009366023354232311,
0.02974359318614006,
-0.013909321278333664,
-0.0016545779071748257,
0.024982962757349014,
-0.023037312552332878,
0.030530132353305817,
0.006897740066051483,
-0.05903182178735733,
0.05667220428586006,
0.025583215057849884,
0.04009278863668442,
0.004426869098097086,
-0.010659673251211643,
0.006525168661028147,
-0.07269275933504105,
-0.0020594901870936155,
-0.029805688187479973,
-0.020646648481488228,
-0.05766572803258896,
0.03959602862596512,
0.025127850472927094,
0.048392847180366516,
0.010556180961430073,
0.004499313421547413,
-0.022768234834074974,
-0.04673697426915169,
0.0334693044424057,
-0.02707350067794323,
0.033034637570381165,
-0.0014915780629962683,
-0.010814910754561424,
-0.010980498045682907,
0.018804490566253662,
0.08486341685056686,
0.0027632357086986303,
-0.020201632753014565,
0.04239031299948692,
-0.01733490452170372,
-0.008056850172579288,
-0.008760595694184303,
0.05932159721851349,
-0.022167980670928955,
-0.029867783188819885,
0.07281695306301117,
-0.008719198405742645,
0.006799422670155764,
-0.024486200883984566,
-0.00984208658337593,
-0.02148493379354477,
-0.058203887194395065,
0.08283497393131256,
0.03450422361493111,
-0.023575471714138985,
-0.05199436843395233,
0.0028175690677016973,
0.06135004013776779,
-0.029267529025673866,
0.007420374546200037,
0.005076281260699034,
-0.051414813846349716,
0.014789002947509289,
0.023844551295042038,
0.0033557272981852293,
-0.022830329835414886,
-0.02632835879921913,
0.06110166013240814,
0.004592456389218569,
0.015296113677322865,
-0.026390453800559044,
0.048682622611522675,
0.0010213364148512483,
-0.0032522352412343025,
0.017355604097247124,
0.034649111330509186,
0.024879470467567444,
0.016889890655875206,
-0.009785166010260582,
-0.03806434944272041,
-0.010990847833454609,
0.029164038598537445,
0.01677604950964451,
0.02728048339486122,
0.0452880859375,
-0.025045057758688927,
0.01687953993678093,
0.013681638985872269,
0.03628428652882576,
0.049137987196445465,
-0.01127027627080679,
0.07964742183685303,
-0.0027761722449213266,
0.004864122718572617,
-0.0197566170245409,
-0.02872937172651291,
0.029515910893678665,
-0.04042396321892738,
-0.033634889870882034,
0.0018848475301638246,
-0.0019352998351678252,
-0.03452492132782936,
-0.03164784610271454,
0.021319346502423286,
-0.10398873686790466,
0.002464402699843049,
-0.03555984050035477,
-0.018297381699085236,
0.013950717635452747,
0.007353104650974274,
-0.034794002771377563,
0.030964797362685204,
0.005252217408269644,
0.004302678629755974,
0.00794300902634859,
0.04011349007487297,
-0.09678569436073303,
0.027259785681962967,
0.069463811814785,
0.027342578396201134,
-0.059859756380319595,
-0.022457757964730263,
-0.04971754550933838,
-0.01014221366494894,
-0.044667135924100876,
-0.003562711179256439,
0.005296201910823584,
-0.015668684616684914,
0.08006139099597931,
0.010659673251211643,
-0.05489214137196541,
0.009014151059091091,
-0.03593241423368454,
0.062426358461380005,
0.003984441049396992,
0.014468178153038025,
-0.037215713411569595,
-0.028646577149629593,
-0.012429386377334595,
0.0033893620129674673,
-0.0291847363114357,
0.01394036877900362,
-0.03009546548128128,
0.003911996725946665,
0.03531146049499512,
0.05712756887078285,
0.028356799855828285,
-0.05671359971165657,
-0.01874239556491375,
0.03582892194390297,
-0.053567446768283844,
-0.02682511880993843,
0.00807237345725298,
0.08941706269979477,
-0.014054209925234318,
0.0064268517307937145,
-0.015037383884191513,
0.06611067056655884,
0.03158574923872948,
-0.041189804673194885,
-0.002688203938305378,
0.0042897420935332775,
0.02697000838816166,
0.005130614619702101,
-0.030385242775082588,
0.008367326110601425,
0.002640338847413659,
0.01311243325471878,
0.018483666703104973,
0.03458701819181442,
0.007637707516551018,
0.08316615223884583,
0.01645522378385067,
0.0457848496735096,
0.06457898765802383,
-0.044460151344537735,
-0.007373802829533815,
-0.04243170842528343,
-0.07004337012767792,
-0.0830419585108757,
-0.01905287243425846,
-0.04075513780117035,
0.021039918065071106,
0.015234018675982952,
0.019435793161392212,
0.04992452636361122,
0.01905287243425846,
0.005930089857429266,
-0.009184912778437138,
-0.0271769929677248,
0.04160377383232117,
0.02647324651479721,
-0.004359599202871323,
-0.05733455345034599,
0.013609194196760654,
-0.0020892443135380745,
0.026245564222335815,
-0.026638833805918694,
-0.02521064504981041,
0.01968417316675186,
0.00407758355140686,
-0.06884285807609558,
0.06449619680643082,
-0.014985637739300728,
-0.01077351439744234,
-0.009692023508250713,
-0.007684278767555952,
-0.01197402086108923,
0.008796817623078823,
0.10614136606454849,
0.014085257425904274,
-0.04181075841188431,
0.010908054187893867,
-0.005052995402365923,
-0.014375034719705582,
-0.042845677584409714,
-0.004056885372847319,
0.011932624503970146,
0.030323147773742676,
-0.08076513558626175,
0.05692058429121971,
0.0011177132837474346,
0.05013151094317436,
0.002284585265442729,
0.029308926314115524,
-0.003151330631226301,
-0.01743839681148529,
0.07654266059398651,
0.0025122675579041243,
-0.026990706101059914,
0.08076513558626175,
0.020377568900585175,
0.031213179230690002,
-0.007135771680623293,
-0.01746944524347782,
-0.01265706866979599,
-0.01053030788898468,
-0.004628678318113089,
-0.03377978131175041,
-0.004388059489428997,
0.0018292205641046166,
-0.03994790092110634,
-0.030323147773742676,
0.008258659392595291,
-0.019735919311642647,
-0.0523255430161953,
-0.03442142903804779,
0.036160096526145935,
-0.04532948508858681,
-0.020801886916160583,
-0.13213855028152466,
0.04926217719912529,
-0.015120177529752254,
0.03502168506383896,
0.011104688979685307,
-0.04785468801856041,
0.06884285807609558,
0.003342790761962533,
0.02334778942167759,
-0.04383920133113861,
0.03814714029431343,
-0.02085363306105137,
0.007291009649634361,
0.006825295742601156,
-0.07178203016519547,
-0.03166854381561279,
0.004150028340518475,
-0.008149992674589157,
-0.020139537751674652,
0.04686116427183151,
-0.03702942654490471,
-0.02854308672249317,
0.036263588815927505,
0.028460292145609856,
0.04090002924203873,
-0.0191253162920475,
-0.026349056512117386,
0.057789918035268784,
-0.052159953862428665,
-0.03576682507991791,
0.02556251734495163,
-0.013992114923894405,
0.049344971776008606,
-0.030530132353305817,
-0.013319416902959347,
0.07658406347036362,
0.04437735676765442,
0.06163981929421425,
-0.03833342716097832,
0.023058012127876282,
0.04236961528658867,
0.054767951369285583,
0.01524436753243208,
-0.0011222410248592496,
0.023989439010620117,
0.00322636216878891,
0.004514837171882391,
0.0021694505121558905,
-0.000014270573046815116,
0.033386509865522385,
0.05365023761987686,
-0.017024429515004158,
-0.01874239556491375,
-0.020522458478808403,
-0.0613914392888546,
-0.0014450066955760121,
0.04963475093245506,
-0.0334693044424057,
-0.0306957196444273,
-0.05269811302423477,
-0.06048071011900902,
-0.013629892840981483,
0.0684702917933464,
-0.04545367509126663,
-0.04566065967082977,
-0.022581947967410088,
0.02481737546622753,
0.0649101659655571,
-0.059362996369600296,
-0.0035704730544239283,
-0.048682622611522675,
0.03841622173786163,
0.027446070685982704,
0.0017955857329070568,
0.009857610799372196,
0.013340115547180176,
-0.0427628830075264,
-0.0432596430182457,
-0.07074711471796036,
-0.008062024600803852,
-0.006933961994946003,
0.04615741968154907,
0.061970993876457214,
-0.03789876028895378,
-0.041148409247398376,
0.056837789714336395,
0.00035219613346271217,
0.054022811353206635,
0.06900844722986221,
0.002055609365925193,
0.02028442732989788,
-0.004607980139553547,
0.008310405537486076,
0.050545480102300644,
-0.03562193736433983,
0.05832807719707489,
0.009076246060431004,
-0.044460151344537735,
-0.07153365015983582,
-0.01564798690378666,
-0.02355477213859558,
0.036201491951942444,
0.04263869300484657,
-0.01114608533680439,
0.006018058396875858,
-0.05555449053645134,
-0.003534250892698765,
-0.04025837779045105,
-0.03876809403300285,
-0.013164179399609566,
0.05576147511601448,
-0.04553646966814995,
0.049137987196445465,
0.007001231890171766,
0.025334835052490234,
-0.041231200098991394,
0.030964797362685204,
-0.01033884845674038,
-0.0374847911298275,
0.006074978969991207,
0.021650521084666252,
-0.04971754550933838,
-0.005052995402365923,
0.018628554418683052,
-0.037608981132507324,
0.005376407876610756,
-0.015699733048677444,
0.002688203938305378,
0.002561426255851984,
-0.050297100096940994,
-0.0035989333409816027,
-0.07016755640506744,
0.04739932343363762,
0.013153829611837864,
-0.020522458478808403,
0.01517192367464304,
-0.017283160239458084,
-0.012646718882024288,
0.014519923366606236,
-0.04232821613550186,
0.017666079103946686,
0.035249367356300354,
-0.004670075140893459,
-0.03537355735898018,
0.069463811814785,
0.03502168506383896,
0.036263588815927505,
0.03928555175662041,
0.00865192897617817,
-0.009091769345104694,
0.04230751842260361,
0.014468178153038025,
0.027508165687322617,
-0.017324555665254593,
0.043963391333818436,
0.029722895473241806,
0.004160377196967602,
-0.014281892217695713,
-0.0004269043856766075,
-0.050048716366291046,
-0.04715094342827797,
0.03783666342496872,
-0.004085345659404993,
0.06598648428916931,
-0.0008014159393496811,
-0.038022950291633606,
0.04810306802392006,
0.021215854212641716,
-0.012232751585543156,
-0.0729825422167778,
-0.007617009337991476,
0.010307800024747849,
0.056837789714336395,
0.058949027210474014,
-0.05294649302959442,
0.022209377959370613,
0.030033370479941368,
0.035249367356300354,
-0.05903182178735733,
0.027942832559347153,
0.03009546548128128,
0.06606927514076233,
-0.01958068087697029,
0.036263588815927505,
0.013453956693410873,
0.015265066176652908,
-0.05977696180343628,
-0.019218459725379944,
-0.01290544867515564,
-0.001999982399865985,
-0.013236623257398605,
-0.018359476700425148,
-0.028605181723833084,
-0.002618346828967333,
0.033345114439725876,
-0.029826385900378227,
0.0329725407063961,
-0.09032779186964035,
0.051414813846349716,
0.00562478881329298,
0.00984208658337593,
0.05716896429657936,
-0.00437771063297987,
-0.05750013887882233,
-0.05253252387046814,
0.003345377976074815,
0.022561250254511833,
0.022312870249152184,
0.032537877559661865,
-0.007482469547539949,
-0.03895437717437744,
-0.01086665689945221,
-0.041438184678554535,
0.027694452553987503,
-0.014499225653707981,
0.05013151094317436,
-0.039078567177057266,
0.003130632219836116,
0.009159039705991745,
0.01311243325471878,
0.01986010931432247,
-0.01585496962070465,
-0.03914066404104233,
0.02949521131813526,
0.002005157060921192,
0.024279216304421425,
-0.0012930028606206179,
0.06975358724594116,
0.00738415215164423,
-0.034090254455804825,
0.029308926314115524,
-0.06681441515684128,
-0.009552309289574623,
-0.029246831312775612,
0.03466980904340744,
-0.0395132340490818,
0.008532913401722908,
0.03628428652882576,
0.026783723384141922,
0.025189945474267006,
0.002765822922810912,
-0.0040749963372945786,
-0.011953323148190975,
0.0462816096842289,
0.024424105882644653,
-0.004993487615138292,
0.017924809828400612,
-0.05994255095720291,
-0.0009799395920708776,
-0.06710419803857803,
-0.09736524522304535,
-0.00003864778409479186,
-0.021526331081986427,
-0.017748873680830002,
0.01290544867515564,
-0.016620811074972153,
-0.08084792643785477,
-0.07774317264556885,
0.004460503812879324,
0.01300894096493721,
0.022250773385167122,
0.0011888640001416206,
0.01645522378385067,
0.052118558436632156,
0.028170514851808548,
0.039223458617925644,
-0.011560053564608097,
-0.013371163047850132,
0.015761828050017357,
-0.011891227215528488,
0.013671289198100567,
0.0048279003240168095,
0.0007212096825242043,
0.018545761704444885,
-0.024424105882644653,
-0.01870100013911724,
-0.029660798609256744,
-0.01729350909590721,
0.01028192788362503,
0.03342790901660919,
0.002466989913955331,
0.007668755017220974,
0.008698500692844391
] |
9,685 | cloudscraper | __getstate__ | null | def __getstate__(self):
return self.__dict__
| (self) | [
0.028131116181612015,
-0.04202677682042122,
0.008400884456932545,
0.0019359143916517496,
0.002185168908908963,
-0.003561098827049136,
0.0047436608001589775,
0.011418764479458332,
0.05873018503189087,
-0.052220508456230164,
-0.039630357176065445,
0.02777343988418579,
-0.02602083422243595,
0.03380025923252106,
-0.04882259666919708,
0.02063783071935177,
-0.018348712474107742,
0.00873173400759697,
-0.0339612141251564,
-0.011919509619474411,
-0.01013113558292389,
-0.003688520286232233,
0.053830042481422424,
0.009549914859235287,
-0.02011920139193535,
-0.001739193219691515,
-0.016882246360182762,
-0.029400860890746117,
0.08634267002344131,
-0.0013189255259931087,
-0.05815790593624115,
-0.03927268087863922,
0.0008941867854446173,
0.005512661300599575,
-0.004225032404065132,
-0.0007343508768826723,
-0.02981218695640564,
0.03557074815034866,
-0.002237702254205942,
-0.028935883194208145,
-0.009317426010966301,
-0.04116835817694664,
-0.02900741808116436,
-0.009934415109455585,
0.028667626902461052,
-0.002275705337524414,
0.021174343302845955,
0.00036493997322395444,
0.03222649171948433,
-0.05991051346063614,
0.07064075767993927,
0.00891951285302639,
-0.0010176963405683637,
0.03585688769817352,
-0.019135596230626106,
-0.01381518505513668,
0.027880743145942688,
0.02280176244676113,
-0.00044457847252488136,
0.06112660840153694,
-0.056762974709272385,
0.006988069508224726,
0.026110254228115082,
-0.05078980699181557,
-0.011722788214683533,
-0.06395223736763,
-0.0281132310628891,
0.008038738742470741,
-0.029991023242473602,
0.03401486575603485,
-0.011955277062952518,
-0.018724270164966583,
0.033567771315574646,
0.01604171097278595,
-0.028220534324645996,
-0.029937373474240303,
-0.052399344742298126,
-0.0066527496092021465,
0.02167508751153946,
-0.01883157342672348,
-0.051648225635290146,
0.02233678475022316,
-0.054581161588430405,
0.04528161883354187,
-0.014584186486899853,
-0.027988046407699585,
0.018438130617141724,
-0.009737693704664707,
-0.05143362283706665,
0.006067057140171528,
-0.015880756080150604,
0.07071229070425034,
-0.024303996935486794,
0.05218473821878433,
-0.017490293830633163,
-0.042563289403915405,
-0.01968999207019806,
0.021138574928045273,
-0.014691488817334175,
-0.027648255228996277,
-0.05114748328924179,
0.006692987866699696,
-0.05862288549542427,
0.013734708540141582,
-0.006844999734312296,
-0.011821148917078972,
0.016909072175621986,
-0.04438742995262146,
0.02966911718249321,
-0.04324287176132202,
0.01057822909206152,
0.012429196387529373,
-0.030885210260748863,
0.04524584859609604,
0.04174063727259636,
-0.028220534324645996,
-0.03179728239774704,
-0.013019359670579433,
-0.0026154962833970785,
-0.006263778079301119,
-0.016435151919722557,
0.030634839087724686,
-0.020333806052803993,
0.029365092515945435,
0.023248855024576187,
0.06123390793800354,
-0.019994016736745834,
-0.01707896776497364,
0.06119814142584801,
-0.02478685788810253,
0.010497752577066422,
0.00015913730021566153,
-0.032870303839445114,
0.032816652208566666,
0.01859908550977707,
0.029651232063770294,
0.07453940808773041,
0.011722788214683533,
-0.04220561683177948,
0.06913851946592331,
0.03424735367298126,
0.018956759944558144,
0.006017876788973808,
0.0029351681005209684,
0.03791351988911629,
0.005065567791461945,
0.024679554626345634,
0.06309381872415543,
-0.01906406134366989,
-0.013028301298618317,
0.06466758996248245,
-0.019385969266295433,
0.023302506655454636,
0.02526971697807312,
-0.061913490295410156,
0.005691498517990112,
-0.03734124079346657,
-0.024572251364588737,
-0.0327451191842556,
-0.0413471944630146,
-0.03231590986251831,
-0.0018733212491497397,
-0.023695949465036392,
-0.08856025338172913,
0.01854543387889862,
0.062199629843235016,
0.038020819425582886,
-0.07253643125295639,
-0.01920713111758232,
-0.02158566750586033,
-0.08913253247737885,
-0.029275674372911453,
-0.06516832858324051,
0.0507182739675045,
-0.03614302724599838,
0.06066162884235382,
-0.028685512021183968,
0.05533227697014809,
0.00878091435879469,
0.005776446312665939,
0.00971981044858694,
-0.03245897963643074,
-0.11853339523077011,
0.047678038477897644,
0.03231590986251831,
0.002044334542006254,
0.03734124079346657,
-0.004976149182766676,
0.062342699617147446,
0.033853910863399506,
0.00015131317195482552,
-0.008803268894553185,
0.012813696637749672,
-0.013055127114057541,
-0.014736197888851166,
-0.017284629866480827,
-0.05826520919799805,
-0.012858405709266663,
0.007327860686928034,
0.08455429971218109,
-0.004654242191463709,
-0.03623244911432266,
-0.03179728239774704,
0.01187480054795742,
-0.03374660760164261,
0.009630391374230385,
-0.001341280178166926,
-0.03378237411379814,
0.013752592727541924,
0.00250148749910295,
-0.03653647005558014,
-0.027791325002908707,
-0.004399398807436228,
0.052220508456230164,
0.04528161883354187,
-0.08176443725824356,
0.02512664720416069,
-0.01490609347820282,
0.01407449971884489,
0.038771938532590866,
0.08448276668787003,
0.001992918783798814,
0.012151998467743397,
-0.06091200187802315,
-0.04478087276220322,
-0.033853910863399506,
-0.015397896058857441,
-0.030956745147705078,
-0.05229204148054123,
-0.05511767044663429,
0.03607149422168732,
-0.03380025923252106,
0.024160927161574364,
-0.012330835685133934,
0.048572223633527756,
0.042277149856090546,
-0.0048554339446127415,
-0.02730846405029297,
-0.03937998414039612,
0.03240532800555229,
0.016721291467547417,
0.0010383743792772293,
0.06756474822759628,
0.004797311965376139,
-0.019904596731066704,
0.000648844288662076,
0.046926919370889664,
0.06760051846504211,
-0.033102795481681824,
-0.019707875326275826,
0.03784198313951492,
-0.02262292429804802,
-0.04159756749868393,
-0.002284647198393941,
0.02455436810851097,
-0.06259307265281677,
-0.009487321600317955,
0.009853937663137913,
0.02616390399634838,
-0.0019314433448016644,
0.013028301298618317,
-0.020941853523254395,
-0.004752602428197861,
0.04059607908129692,
0.010202670469880104,
0.03973766043782234,
0.02943662740290165,
0.009934415109455585,
-0.055010370910167694,
0.02687925472855568,
0.17611902952194214,
-0.022444088011980057,
-0.04038147255778313,
0.02521606720983982,
-0.04524584859609604,
-0.0882025808095932,
-0.0037064040079712868,
-0.01107003167271614,
-0.06677787005901337,
-0.012286125682294369,
0.05168399587273598,
0.03424735367298126,
0.01622948981821537,
0.02357076294720173,
-0.048572223633527756,
-0.03460502624511719,
-0.007529052440077066,
0.015397896058857441,
0.026056602597236633,
-0.0023047663271427155,
0.03353200480341911,
0.008807739242911339,
-0.006219069007784128,
-0.017159443348646164,
0.07225029170513153,
-0.021424714475870132,
-0.10336799174547195,
0.01740981638431549,
0.008543954230844975,
0.05028906464576721,
0.03360353782773018,
-0.011642311699688435,
-0.07983299344778061,
0.0697823315858841,
-0.01641726866364479,
0.03138595446944237,
0.037877749651670456,
0.036411285400390625,
-0.01175855565816164,
-0.0025685515720397234,
0.02038745768368244,
0.025537973269820213,
0.015129639767110348,
0.053400833159685135,
-0.0051818122155964375,
-0.08863179385662079,
-0.027523068711161613,
-0.023534994572401047,
0.010470926761627197,
0.1165304183959961,
-0.09242314100265503,
-0.0036125145852565765,
-0.0008863626280799508,
0.016640815883874893,
0.016640815883874893,
0.013618464581668377,
-0.01263485848903656,
0.03453349322080612,
0.014002964831888676,
0.008391942828893661,
-0.09886128455400467,
-0.03270935267210007,
0.04131142795085907,
0.020333806052803993,
-0.026199672371149063,
0.0032883717212826014,
0.0207809004932642,
0.004374808631837368,
-0.008771971799433231,
-0.08469737321138382,
0.05154092609882355,
0.00022703960712533444,
-0.046819619834423065,
-0.02158566750586033,
-0.016435151919722557,
0.005570783279836178,
0.0031430665403604507,
0.020476877689361572,
0.09285235404968262,
-0.07289410382509232,
-0.0652756318449974,
-0.02915048785507679,
0.009067053906619549,
0.06370186805725098,
-0.0013122190721333027,
-0.037734679877758026,
-0.006630394607782364,
0.0006024583126418293,
-0.009540972299873829,
0.010855427011847496,
0.053114693611860275,
-0.006827116012573242,
-0.04821455106139183,
-0.017865851521492004,
0.017731724306941032,
-0.004649771377444267,
-0.04098952189087868,
-0.021639319136738777,
0.023499228060245514,
-0.07511168718338013,
-0.011588660068809986,
-0.05143362283706665,
-0.049001432955265045,
0.0281132310628891,
0.00873173400759697,
0.008432181552052498,
-0.026664650067687035,
0.005557370837777853,
-0.005177341401576996,
0.019904596731066704,
0.05787176638841629,
-0.009934415109455585,
-0.003203424159437418,
0.03235167637467384,
0.014700430445373058,
-0.014986569993197918,
0.0133412666618824,
0.004010427743196487,
0.0441012904047966,
0.0004328422655817121,
-0.08770183473825455,
-0.0226586926728487,
-0.08019066601991653,
0.018903108313679695,
0.01911771297454834,
-0.02707597427070141,
0.05168399587273598,
-0.037126634269952774,
-0.010050659067928791,
-0.005087922792881727,
0.034283120185136795,
0.02478685788810253,
0.011973160319030285,
-0.027719790115952492,
-0.007314447779208422,
-0.01774066500365734,
0.017543943598866463,
0.053973112255334854,
-0.006192243192344904,
-0.10873311012983322,
-0.008414297364652157,
-0.02251562289893627,
-0.05665567144751549,
-0.07976146042346954,
0.012742161750793457,
-0.03676895797252655,
0.0361609123647213,
0.004347983282059431,
0.03973766043782234,
0.03308491036295891,
0.0023293565027415752,
0.047248829156160355,
0.00759611651301384,
0.004622945562005043,
-0.020083434879779816,
0.0320834219455719,
-0.04127566143870354,
0.03769891336560249,
0.037484310567379,
0.04238445311784744,
0.016202664002776146,
-0.0015849460614845157,
0.010998496785759926,
-0.010166903026401997,
0.02484050765633583,
-0.03762738034129143,
-0.013600580394268036,
-0.015442605130374432,
-0.02357076294720173,
0.109376922249794,
0.008570780046284199,
0.04027417302131653,
0.024143042042851448,
0.016676582396030426,
0.06481065601110458,
-0.04463780298829079,
-0.00523993419483304,
0.046497710049152374,
0.06080469861626625,
-0.039058078080415726,
-0.002955287229269743,
0.002588670700788498,
0.04077491536736488,
-0.032870303839445114,
-0.02058417908847332,
0.004312215838581324,
-0.04968101531267166,
-0.036554355174303055,
-0.008991047739982605,
-0.002055511809885502,
-0.015746628865599632,
-0.0011428825091570616,
-0.036268215626478195,
0.02725481241941452,
-0.01707896776497364,
-0.03548133000731468,
-0.01346645224839449,
0.0023047663271427155,
-0.05100441351532936,
0.013207138516008854,
0.03422946855425835,
0.03322798013687134,
-0.038771938532590866,
-0.08512657880783081,
-0.04714152589440346,
0.015514140017330647,
-0.029651232063770294,
-0.018867339938879013,
-0.044458966702222824,
-0.07167801260948181,
-0.015934407711029053,
0.0010948198614642024,
0.01992248184978962,
0.006388964597135782,
-0.021353179588913918,
-0.005771975498646498,
0.04631887376308441,
0.029275674372911453,
0.042420219630002975,
-0.021871808916330338,
-0.049895621836185455,
0.026432160288095474,
-0.012867347337305546,
0.016301024705171585,
0.020369574427604675,
0.004081962630152702,
-0.015442605130374432,
0.011830090545117855,
0.02190757542848587,
-0.014798791147768497,
0.0032391916029155254,
-0.0359463095664978,
0.03659012168645859,
0.04041724279522896,
0.0032950781751424074,
-0.06591945141553879,
-0.0220506452023983,
0.00847241934388876,
0.0387004017829895,
-0.00974663533270359,
0.025716811418533325,
0.014342756010591984,
0.023964205756783485,
-0.023338275030255318,
-0.006715342402458191,
-0.05036059767007828,
-0.02090608701109886,
0.0045469398610293865,
-0.027093859389424324,
0.02518029883503914,
0.04295673221349716,
0.054688461124897,
0.03394332900643349,
-0.042134080082178116,
-0.03716240078210831,
0.01902829483151436,
-0.019511155784130096,
-0.00558419618755579,
-0.009201182052493095,
0.032387442886829376,
0.03734124079346657,
-0.07167801260948181,
-0.005123690236359835,
0.06423837691545486,
-0.021943343803286552,
-0.01533530279994011,
-0.01792844384908676,
-0.015818163752555847,
-0.10072119534015656,
-0.010846485383808613,
0.05300739035010338,
-0.01554096583276987,
0.001871085842140019,
0.03270935267210007,
0.018992526456713676,
-0.00323472055606544,
-0.03127865120768547,
-0.004627416376024485,
-0.04141873121261597,
-0.02943662740290165,
-0.0002735652669798583,
-0.0682443305850029,
0.014467941597104073,
-0.06867354363203049,
0.004672125913202763,
-0.006393435411155224,
0.03730547055602074,
0.014637837186455727,
0.027236929163336754,
0.002657970180734992,
0.0385931022465229,
0.04588966444134712,
-0.014047673903405666,
-0.008208634331822395,
0.006433673668652773,
0.010998496785759926,
0.0194038525223732,
0.05493883416056633,
0.0014150505885481834,
-0.01171384658664465,
0.03571381792426109,
-0.014342756010591984,
0.030169861391186714,
0.02224736660718918,
0.0626288428902626,
0.042992498725652695,
-0.00007796190766384825,
0.042992498725652695,
0.03118923492729664,
-0.04456626623868942,
0.07178531587123871,
-0.018420247361063957,
-0.016399385407567024,
-0.026521578431129456,
-0.042420219630002975,
0.02063783071935177,
-0.06388070434331894,
0.05701334774494171,
0.03297760710120201,
-0.026128137484192848,
-0.042992498725652695,
0.0015726509736850858,
0.009219065308570862,
-0.007909081876277924,
0.03279877081513405,
-0.014190743677318096,
0.023105785250663757,
-0.014780906960368156,
-0.03113558329641819,
-0.00455588148906827,
0.005253347102552652,
0.02374960109591484,
0.04456626623868942,
-0.009433669969439507,
-0.005123690236359835,
-0.014932919293642044,
0.0013211609330028296,
0.041239894926548004,
-0.005244405474513769,
0.007113255560398102,
-0.02707597427070141,
-0.041704870760440826,
0.007479872088879347,
-0.04052454233169556,
0.002908342517912388,
-0.026986556127667427,
-0.006281661801040173,
0.025019345805048943,
-0.04560352489352226,
0.023982089012861252,
0.012581207789480686,
0.01559461746364832,
-0.023248855024576187,
0.028560325503349304,
-0.016587164252996445,
-0.0402384027838707,
0.03217284008860588,
-0.009433669969439507,
-0.011105799116194248,
-0.02029803954064846,
0.008628902025520802,
0.02834572084248066,
0.03898654133081436,
-0.07389559596776962,
0.01760653778910637,
0.02351711131632328,
0.039630357176065445,
0.023052135482430458,
-0.01920713111758232,
0.04785687476396561,
-0.0004258564440533519,
-0.006867354270070791,
-0.00828464049845934,
-0.01647092029452324,
-0.04581812769174576,
-0.03288818895816803,
-0.01793738640844822,
-0.02797016128897667,
0.035374026745557785,
-0.04177640378475189,
-0.016435151919722557,
0.0006186654791235924,
-0.008163925260305405,
0.007225029170513153,
-0.018205642700195312,
-0.03762738034129143,
0.01712367683649063,
0.04349324479699135,
0.014441115781664848,
-0.022980600595474243,
-0.09070630371570587,
0.03195823356509209,
-0.06466758996248245,
-0.010909078642725945,
0.07046191394329071,
0.04925180599093437,
-0.07804462313652039,
0.07511168718338013,
0.039630357176065445,
-0.007667651399970055,
0.03752007707953453,
0.016873303800821304,
-0.0009266010019928217,
-0.003945598844438791,
-0.05679874122142792,
-0.03354988619685173,
0.03644705191254616,
-0.01461995393037796,
0.06456028670072556,
0.004895672667771578,
-0.004622945562005043,
0.07489708065986633,
-0.01732039824128151,
0.04027417302131653,
0.03138595446944237,
0.03306702524423599,
0.005597609095275402,
-0.015979116782546043,
0.07214298844337463,
-0.06870931386947632,
-0.048429153859615326,
-0.03716240078210831,
-0.0021102807950228453,
0.038020819425582886,
-0.024643786251544952,
-0.015201174654066563,
-0.018330829218029976,
-0.07604163885116577,
0.03578535467386246,
-0.01464677881449461,
0.031582675874233246,
0.014101325534284115,
0.0414544977247715,
-0.032530512660741806,
0.062342699617147446,
0.0037555843591690063,
0.009898647665977478,
-0.007265267428010702,
0.004350218456238508,
-0.04588966444134712,
0.03283453732728958,
0.028989534825086594,
-0.01816987432539463,
0.0037689972668886185,
0.035463448613882065,
-0.025824112817645073,
-0.017052141949534416,
0.015415779314935207,
-0.03959459066390991,
0.03337104991078377,
-0.04517431557178497,
0.002742917975410819,
0.019743643701076508,
0.014038732275366783,
0.04098952189087868,
0.069460429251194,
-0.013475394807755947,
-0.018330829218029976,
-0.016676582396030426,
0.027791325002908707,
0.002180697862058878,
-0.007408337201923132,
-0.07110573351383209,
0.009630391374230385,
-0.0032078949734568596,
-0.029418744146823883,
0.046247340738773346,
0.043850917369127274,
0.022068528458476067,
0.057943303138017654,
0.012670625932514668,
0.04202677682042122,
0.01798209547996521,
0.054402321577072144,
0.002472426276654005,
-0.0014955273363739252,
0.006549918092787266,
-0.012903114780783653,
-0.0033107264898717403,
-0.02357076294720173,
0.022032761946320534,
0.050038691610097885,
0.023624414578080177,
-0.007247383706271648,
0.04742766544222832,
-0.017347224056720734,
-0.040631845593452454,
-0.0028412784449756145,
0.018295060843229294,
-0.009630391374230385,
-0.06337995827198029,
-0.03567805141210556,
-0.0075692906975746155,
0.03628609701991081,
0.0022768229246139526,
0.04195524379611015,
-0.013904604129493237,
-0.014342756010591984
] |
9,686 | cloudscraper | __init__ | null | def __init__(self, *args, **kwargs):
self.debug = kwargs.pop('debug', False)
self.disableCloudflareV1 = kwargs.pop('disableCloudflareV1', False)
self.delay = kwargs.pop('delay', None)
self.captcha = kwargs.pop('captcha', {})
self.doubleDown = kwargs.pop('doubleDown', True)
self.interpreter = kwargs.pop('interpreter', 'native')
self.requestPreHook = kwargs.pop('requestPreHook', None)
self.requestPostHook = kwargs.pop('requestPostHook', None)
self.cipherSuite = kwargs.pop('cipherSuite', None)
self.ecdhCurve = kwargs.pop('ecdhCurve', 'prime256v1')
self.source_address = kwargs.pop('source_address', None)
self.server_hostname = kwargs.pop('server_hostname', None)
self.ssl_context = kwargs.pop('ssl_context', None)
self.allow_brotli = kwargs.pop(
'allow_brotli',
True if 'brotli' in sys.modules.keys() else False
)
self.user_agent = User_Agent(
allow_brotli=self.allow_brotli,
browser=kwargs.pop('browser', None)
)
self._solveDepthCnt = 0
self.solveDepth = kwargs.pop('solveDepth', 3)
super(CloudScraper, self).__init__(*args, **kwargs)
# pylint: disable=E0203
if 'requests' in self.headers['User-Agent']:
# ------------------------------------------------------------------------------- #
# Set a random User-Agent if no custom User-Agent has been set
# ------------------------------------------------------------------------------- #
self.headers = self.user_agent.headers
if not self.cipherSuite:
self.cipherSuite = self.user_agent.cipherSuite
if isinstance(self.cipherSuite, list):
self.cipherSuite = ':'.join(self.cipherSuite)
self.mount(
'https://',
CipherSuiteAdapter(
cipherSuite=self.cipherSuite,
ecdhCurve=self.ecdhCurve,
server_hostname=self.server_hostname,
source_address=self.source_address,
ssl_context=self.ssl_context
)
)
# purely to allow us to pickle dump
copyreg.pickle(ssl.SSLContext, lambda obj: (obj.__class__, (obj.protocol,)))
| (self, *args, **kwargs) | [
0.02216891571879387,
-0.07101664692163467,
-0.06633548438549042,
0.06058869510889053,
-0.055032193660736084,
-0.005218734033405781,
-0.046392977237701416,
-0.011702904477715492,
-0.012387951835989952,
-0.016288919374346733,
0.03885744884610176,
0.07916110754013062,
-0.04860035330057144,
0.027649300172924995,
-0.008377566933631897,
-0.0538523867726326,
0.034690070897340775,
0.0327681303024292,
0.0012571107363328338,
-0.0900457575917244,
-0.029761532321572304,
0.03493744879961014,
0.021579014137387276,
0.06568849831819534,
-0.008472712710499763,
0.05122637003660202,
-0.012663873843848705,
0.03449977934360504,
-0.00416737562045455,
0.02401473931968212,
-0.04555569589138031,
0.020779790356755257,
-0.017801735550165176,
0.03718288615345955,
0.046392977237701416,
-0.053890448063611984,
0.024718817323446274,
-0.004348152317106724,
-0.1150880753993988,
-0.01752581261098385,
-0.05712539702653885,
-0.030846191570162773,
-0.006079801358282566,
-0.06081704422831535,
-0.0035965023562312126,
0.03312968462705612,
-0.027592213824391365,
0.0555650070309639,
-0.0190861988812685,
-0.08357585966587067,
-0.044261716306209564,
0.024395322427153587,
0.06066481024026871,
0.024661729112267494,
-0.006350966170430183,
0.07923722267150879,
-0.002778250491246581,
0.053433746099472046,
-0.0022525712847709656,
0.020703673362731934,
-0.0340430811047554,
-0.006688733119517565,
-0.009933196939527988,
0.02371027320623398,
-0.021179402247071266,
0.002449998166412115,
-0.0615401491522789,
0.03520385921001434,
0.005651646293699741,
-0.009771449491381645,
0.04049395024776459,
0.009838051162660122,
-0.058761898428201675,
-0.023158429190516472,
0.016479210928082466,
-0.0035584440920501947,
0.0006356912781484425,
-0.027363862842321396,
-0.026050854474306107,
0.011484069749712944,
0.016831248998641968,
-0.006926597096025944,
0.02384347841143608,
-0.05602170526981354,
0.022245032712817192,
-0.05347180739045143,
0.06561238318681717,
0.02051338367164135,
0.005080773029476404,
0.05248229205608368,
-0.06515567749738693,
-0.019381150603294373,
-0.011750476434826851,
0.00928144995123148,
-0.00766397500410676,
0.025023283436894417,
0.030751045793294907,
-0.00902455672621727,
0.003441890701651573,
-0.018753189593553543,
0.026678815484046936,
0.043805018067359924,
-0.04498482123017311,
-0.0011001206003129482,
-0.008044557645916939,
-0.03172152861952782,
-0.02789667807519436,
0.009400381706655025,
0.005765820853412151,
-0.031150657683610916,
-0.011731447651982307,
-0.03135997802019119,
-0.0008224144694395363,
0.04860035330057144,
-0.044832587242126465,
-0.01735454984009266,
-0.057962674647569656,
-0.019904451444745064,
0.0398850180208683,
0.024832991883158684,
-0.05373821407556534,
0.01615571603178978,
-0.008553585968911648,
0.031493179500103,
-0.03497551009058952,
0.017773190513253212,
-0.0031635898631066084,
0.0010228147730231285,
-0.015280377119779587,
0.008201547898352146,
0.057087335735559464,
0.0026450466830283403,
0.022968139499425888,
0.06903761625289917,
0.029190657660365105,
-0.020075714215636253,
0.012397467158734798,
0.0028519881889224052,
-0.026678815484046936,
0.04601239413022995,
-0.003812958486378193,
-0.029247745871543884,
0.0010929846903309226,
-0.034918420016765594,
0.021122314035892487,
0.027059398591518402,
-0.011312806978821754,
-0.08738168329000473,
-0.04003725200891495,
-0.031379006803035736,
0.08349974453449249,
-0.01472853310406208,
0.013310864567756653,
0.0350516252219677,
-0.005784850101917982,
0.019010083749890327,
-0.017554355785250664,
0.011836107820272446,
0.0028472309932112694,
-0.00018731782620307058,
-0.01977124810218811,
0.009761935099959373,
-0.033091627061367035,
-0.053890448063611984,
-0.007007470820099115,
-0.01203591376543045,
0.011417467147111893,
-0.07600227743387222,
-0.003080337541177869,
0.06869509816169739,
-0.042206570506095886,
-0.0007284582243300974,
-0.05872384086251259,
0.03889550641179085,
-0.0002690835390239954,
0.04875258728861809,
0.006336694583296776,
-0.00357985170558095,
-0.017326006665825844,
-0.0006249874131754041,
-0.04110288247466087,
-0.02216891571879387,
-0.025251632556319237,
0.007887567393481731,
0.03204502537846565,
0.01564192958176136,
0.04452812299132347,
0.018486782908439636,
0.024966195225715637,
0.04258715361356735,
-0.016926394775509834,
0.027401922270655632,
0.04194016382098198,
-0.03478521853685379,
0.04205433651804924,
0.005204462446272373,
0.010875137522816658,
-0.019561927765607834,
-0.01713571511209011,
0.01931454986333847,
-0.0655362606048584,
0.025080369785428047,
0.031245803460478783,
-0.05175918713212013,
-0.02344386652112007,
0.02778250351548195,
-0.035032596439123154,
0.018134744837880135,
0.012311835773289204,
0.03193084895610809,
-0.01948581077158451,
0.02778250351548195,
-0.010180574841797352,
-0.0007587858708575368,
0.001511625130660832,
-0.05149277672171593,
0.01782076433300972,
0.020266003906726837,
-0.007954169064760208,
0.01833454892039299,
0.03569861501455307,
0.03885744884610176,
-0.055603064596652985,
-0.04605045169591904,
-0.06233937293291092,
0.02131260558962822,
0.033434148877859116,
0.029723472893238068,
-0.023862507194280624,
-0.04399530962109566,
-0.004141210578382015,
-0.0075688292272388935,
0.057505976408720016,
0.0561358816921711,
0.044375889003276825,
-0.04951374977827072,
0.0019005326321348548,
0.05046520754694939,
-0.030237259343266487,
-0.011303292587399483,
0.03569861501455307,
0.003206405322998762,
0.017259404063224792,
-0.009400381706655025,
-0.037963077425956726,
0.03954249620437622,
0.009295721538364887,
0.026374349370598793,
0.0254990104585886,
0.0016650473698973656,
0.002818687353283167,
-0.080911785364151,
-0.024262119084596634,
-0.024205030873417854,
-0.049475692212581635,
-0.06945625692605972,
0.05080772936344147,
0.010846594348549843,
0.042663268744945526,
0.0024048041086643934,
0.023272603750228882,
-0.024490468204021454,
-0.030617842450737953,
0.06329082697629929,
-0.0237863902002573,
0.01586076430976391,
0.010894167236983776,
-0.021959595382213593,
-0.00353227904997766,
0.041064824908971786,
0.0008337129838764668,
-0.0033491237554699183,
0.0004070446011610329,
0.07501275837421417,
-0.01690736599266529,
-0.029533183202147484,
-0.038762301206588745,
0.06831451505422592,
-0.015052028000354767,
-0.032463666051626205,
0.09172032028436661,
0.014119601808488369,
0.002044440247118473,
-0.019324064254760742,
-0.015280377119779587,
-0.03712579980492592,
-0.04513705521821976,
0.07569780945777893,
0.019904451444745064,
-0.03718288615345955,
-0.05461355298757553,
0.036935508251190186,
0.07467024028301239,
-0.028905222192406654,
0.03215919807553291,
-0.007816207595169544,
-0.02390056475996971,
0.0027330562006682158,
0.015251833945512772,
0.014680960215628147,
-0.013872222974896431,
-0.03042755089700222,
0.02669784426689148,
0.02344386652112007,
0.022435324266552925,
-0.005627859849482775,
0.02487104944884777,
0.005561258178204298,
0.013130087405443192,
0.023862507194280624,
0.03626948967576027,
0.028695901855826378,
0.02624114602804184,
0.010047371499240398,
-0.015052028000354767,
0.008896109648048878,
0.02922871708869934,
-0.0006499630981124938,
0.019676102325320244,
0.021750275045633316,
-0.02789667807519436,
0.01005688589066267,
0.010351836681365967,
0.010190089233219624,
0.018353579565882683,
-0.00010919439955614507,
0.08448925614356995,
-0.013615329749882221,
0.009376594796776772,
-0.013044456951320171,
-0.027344834059476852,
0.052292000502347946,
-0.0149568822234869,
-0.031493179500103,
0.009971254505217075,
0.003261114237830043,
-0.01748775504529476,
-0.018363093957304955,
-0.009286207146942616,
-0.1131090447306633,
0.012197661213576794,
0.00948125496506691,
-0.036935508251190186,
-0.014052999205887318,
-0.0148141635581851,
-0.05134054645895958,
0.02344386652112007,
-0.022378236055374146,
-0.010380380786955357,
-0.00034936261363327503,
0.038648128509521484,
-0.10481235384941101,
0.025518039241433144,
0.08966517448425293,
0.04095064848661423,
-0.037335120141506195,
-0.04917122796177864,
-0.04841006174683571,
0.022834934294223785,
-0.0455937534570694,
0.024376293644309044,
0.003368153003975749,
-0.02310134284198284,
0.0632527694106102,
0.009904652833938599,
-0.05731568485498428,
0.013310864567756653,
-0.03596502169966698,
0.04962792620062828,
0.0024202652275562286,
0.03697356581687927,
-0.04178792983293533,
-0.015603872016072273,
-0.02865784242749214,
0.020589498803019524,
-0.060017820447683334,
-0.017145229503512383,
-0.01845823973417282,
-0.005304364953190088,
0.0028591242153197527,
0.02148386836051941,
0.054232969880104065,
-0.023519983515143394,
-0.027344834059476852,
0.031607355922460556,
-0.06207296624779701,
-0.014738047495484352,
0.034176286309957504,
0.11577311903238297,
-0.008682032115757465,
0.0011132031213492155,
-0.00810640212148428,
0.05952306464314461,
0.017050085589289665,
0.009043585509061813,
-0.011579214595258236,
0.0071739754639565945,
0.021579014137387276,
0.01673610508441925,
-0.02051338367164135,
-0.0004905943060293794,
0.012882709503173828,
0.003018493065610528,
0.005489898845553398,
0.030693957582116127,
0.006193975917994976,
0.0635191798210144,
0.01215008832514286,
0.06500344723463058,
0.06363335251808167,
-0.03402405232191086,
0.01994250901043415,
-0.05019879713654518,
-0.07090247422456741,
-0.08182518184185028,
-0.031778618693351746,
-0.024852020666003227,
0.021579014137387276,
0.010903681628406048,
0.021674159914255142,
0.034918420016765594,
0.02544192411005497,
-0.005399510730057955,
-0.020361149683594704,
0.0035465508699417114,
0.037848904728889465,
0.021978624165058136,
-0.009638245217502117,
-0.017811249941587448,
-0.002545143710449338,
-0.047306373715400696,
0.05373821407556534,
-0.033776674419641495,
0.003482327563688159,
-0.007383295800536871,
0.007678247056901455,
-0.0720822811126709,
0.04989433288574219,
0.0016257998067885637,
-0.031321920454502106,
-0.040189485996961594,
-0.056706756353378296,
-0.010161546058952808,
-0.003337230533361435,
0.0757739245891571,
-0.005946597550064325,
-0.04117899760603905,
0.0179444532841444,
0.00009737553773447871,
-0.03299647942185402,
-0.047306373715400696,
0.006636403035372496,
0.01919085904955864,
0.004726355895400047,
-0.05408073589205742,
0.05628811568021774,
-0.0006202301592566073,
0.02698328159749508,
0.0025284932926297188,
0.0014426446286961436,
0.006474655587226152,
-0.042549096047878265,
0.07767684012651443,
0.00994271133095026,
-0.029533183202147484,
0.08060731738805771,
0.03507065400481224,
0.05168306827545166,
0.004338637460023165,
-0.019466781988739967,
-0.012701932340860367,
0.002559415530413389,
0.011208146810531616,
-0.019324064254760742,
0.005832422990351915,
0.011569700203835964,
-0.0481436550617218,
-0.05042714625597,
-0.018696103245019913,
-0.039276089519262314,
-0.032520752400159836,
-0.03174056112766266,
0.0609692744910717,
-0.029894735664129257,
-0.03838171809911728,
-0.12338476628065109,
0.02865784242749214,
-0.01742115244269371,
0.04738248884677887,
0.036003079265356064,
-0.0663735419511795,
0.0694943219423294,
0.008368052542209625,
-0.0003701756941154599,
-0.016250861808657646,
0.05221588537096977,
-0.004046064801514149,
0.03250172361731529,
0.010504069738090038,
-0.047648899257183075,
-0.04532734677195549,
0.00704552885144949,
0.004985627252608538,
-0.01971415989100933,
0.051302485167980194,
-0.032520752400159836,
-0.025251632556319237,
0.04308190941810608,
0.02034212090075016,
0.052063651382923126,
0.0005809825961478055,
-0.04422365874052048,
0.054347146302461624,
-0.028810076415538788,
0.007026499602943659,
0.030865220353007317,
-0.039504438638687134,
0.01102737057954073,
-0.03569861501455307,
-0.007321450859308243,
0.06283412873744965,
0.0544232614338398,
0.06595490127801895,
-0.03958055377006531,
0.03105551190674305,
0.03273007273674011,
0.04837200418114662,
0.02871493063867092,
0.029951822012662888,
0.04920928552746773,
0.0329013355076313,
-0.00879620760679245,
0.002725920407101512,
0.0010364919435232878,
0.017173774540424347,
0.06656383723020554,
-0.026374349370598793,
-0.0036202885676175356,
-0.0072310627438127995,
-0.09133973717689514,
0.009095915593206882,
0.011265234090387821,
-0.02367221564054489,
-0.04783918708562851,
-0.04079841822385788,
-0.051302485167980194,
-0.013472612015902996,
0.037506379187107086,
-0.04456618055701256,
-0.057505976408720016,
0.02359609864652157,
0.02228309027850628,
0.03900967910885811,
-0.0680861622095108,
0.005675432737916708,
-0.05628811568021774,
0.030789103358983994,
0.02726871892809868,
0.012064456939697266,
0.009557371959090233,
-0.00994271133095026,
-0.05952306464314461,
-0.059561122208833694,
-0.06549820303916931,
-0.02738289348781109,
-0.027763474732637405,
0.01971415989100933,
0.06454674899578094,
-0.024547554552555084,
-0.05918053910136223,
0.05248229205608368,
-0.013843678869307041,
0.056478407233953476,
0.0695323795080185,
-0.020836878567934036,
0.032006967812776566,
-0.01713571511209011,
0.003667861456051469,
0.050274915993213654,
-0.04098870977759361,
0.052634526044130325,
0.0013153874315321445,
-0.03214016929268837,
-0.04909510910511017,
-0.042320746928453445,
-0.027249688282608986,
0.054918017238378525,
0.014576300047338009,
-0.04597433656454086,
-0.01215008832514286,
-0.035774730145931244,
-0.01008542999625206,
-0.03547026589512825,
-0.0169549398124218,
-0.03596502169966698,
0.017211832106113434,
-0.04003725200891495,
0.04624074324965477,
0.030332405120134354,
0.011208146810531616,
-0.04966598376631737,
0.041864048689603806,
-0.010646788403391838,
-0.018734160810709,
0.023862507194280624,
0.002985191997140646,
-0.06778170168399811,
-0.006855237763375044,
0.011246205307543278,
-0.018524840474128723,
0.021959595382213593,
-0.015451638959348202,
-0.001861285069026053,
-0.015794163569808006,
-0.020703673362731934,
0.006593587342649698,
-0.05358598008751869,
0.019219404086470604,
0.008272906765341759,
-0.008268149569630623,
-0.0008693925919942558,
-0.0002103608858305961,
0.005275821313261986,
-0.0016162851825356483,
-0.044033367186784744,
-0.008805721998214722,
0.027934737503528595,
-0.017164260149002075,
-0.062986359000206,
0.08563100546598434,
0.04955180734395981,
0.013910281471908092,
0.02275881916284561,
0.0022918186150491238,
-0.0029637841507792473,
0.04555569589138031,
0.02997085265815258,
0.062491606920957565,
0.00830620713531971,
0.05259646847844124,
0.03493744879961014,
0.011236690916121006,
-0.009000769816339016,
-0.005104559473693371,
-0.03708773851394653,
-0.024109885096549988,
0.006940868683159351,
-0.0014295621076598763,
0.05487995967268944,
-0.0032587354071438313,
-0.025575127452611923,
0.028543667867779732,
0.008068343624472618,
-0.003829608904197812,
-0.07063606381416321,
0.02228309027850628,
0.018486782908439636,
0.0544232614338398,
0.06367141008377075,
-0.057163454592227936,
-0.003168347291648388,
0.06698247790336609,
0.05720151215791702,
-0.051302485167980194,
0.009771449491381645,
0.012178631499409676,
0.0889040157198906,
-0.031321920454502106,
0.0023108478635549545,
0.007654460612684488,
0.004938054829835892,
-0.03663104027509689,
-0.04860035330057144,
0.002742570824921131,
-0.0059418403543531895,
0.008701061829924583,
-0.04829588904976845,
-0.03606016933917999,
0.006598344538360834,
0.04251103848218918,
0.009148245677351952,
0.03453784063458443,
-0.08083567023277283,
0.030808132141828537,
-0.020951053127646446,
-0.0019409694941714406,
0.058647725731134415,
0.04532734677195549,
-0.04719219729304314,
-0.053091224282979965,
-0.020722704008221626,
0.01371998991817236,
0.02325357496738434,
0.010732419788837433,
-0.013044456951320171,
-0.03368153050541878,
-0.010504069738090038,
-0.09537391364574432,
0.03459492698311806,
-0.022492410615086555,
0.034575898200273514,
-0.028315318748354912,
-0.01469998899847269,
0.010970283299684525,
-0.013548728078603745,
0.019923480227589607,
-0.0012125112116336823,
-0.02860075607895851,
0.04521317034959793,
-0.008144459687173367,
0.05918053910136223,
-0.019048141315579414,
0.04646909236907959,
0.025232603773474693,
-0.03255880996584892,
0.02681201882660389,
-0.06245354562997818,
-0.0017197560518980026,
-0.030560754239559174,
0.011189118027687073,
-0.014081543311476707,
-0.005061743780970573,
0.03855298087000847,
-0.01189319510012865,
0.042663268744945526,
0.012701932340860367,
-0.025365807116031647,
-0.009043585509061813,
0.0812162533402443,
-0.0069931987673044205,
-0.012159602716565132,
-0.019010083749890327,
-0.0323304608464241,
0.01747824065387249,
-0.06565044075250626,
-0.06241548806428909,
0.020874936133623123,
-0.03231143206357956,
-0.016602899879217148,
0.01748775504529476,
-0.024205030873417854,
-0.0487145259976387,
-0.04932345822453499,
0.019381150603294373,
0.00787329487502575,
0.050160739570856094,
-0.0026283960323780775,
0.009409896098077297,
0.06835257261991501,
-0.007782906759530306,
0.005546986125409603,
0.004478977527469397,
0.0017435423796996474,
0.007987470366060734,
-0.013253776356577873,
-0.021617071703076363,
0.017544841393828392,
-0.015594357624650002,
0.003948540892452002,
-0.037468321621418,
-0.007016985211521387,
-0.04734443128108978,
-0.030161142349243164,
0.020551441237330437,
0.05076967179775238,
0.03583182021975517,
0.042206570506095886,
0.013425039127469063
] |
9,687 | requests.sessions | __setstate__ | null | def __setstate__(self, state):
for attr, value in state.items():
setattr(self, attr, value)
| (self, state) | [
-0.009465917944908142,
-0.002674296498298645,
0.00733957951888442,
-0.01940338686108589,
-0.053058043122291565,
-0.014906201511621475,
-0.02506197988986969,
0.0051826778799295425,
0.033637192100286484,
0.002949367044493556,
-0.06643607467412949,
0.09151551872491837,
0.050473254173994064,
0.08054763078689575,
-0.04771381616592407,
0.006348452530801296,
0.011264792643487453,
0.02506197988986969,
-0.04086761921644211,
-0.006737044546753168,
0.004403311293572187,
0.022337472066283226,
0.037060294300317764,
0.03292113542556763,
0.0018643668154254556,
0.02638930454850197,
-0.02439831756055355,
-0.0002938997349701822,
0.09326200187206268,
-0.011910989880561829,
0.0027921840082854033,
-0.01708056777715683,
-0.013054933398962021,
0.011203665286302567,
0.04457015544176102,
-0.06294311583042145,
-0.04069297015666962,
0.030144235119223595,
-0.022302541881799698,
0.026301980018615723,
0.030406206846237183,
-0.028869304805994034,
-0.030633248388767242,
0.026249585673213005,
0.03590761497616768,
0.024276064708828926,
0.032973531633615494,
0.015281694941222668,
0.05515382066369057,
-0.06521353870630264,
0.006313523277640343,
0.013447891920804977,
0.036850716918706894,
0.007016480900347233,
0.0017748597310855985,
0.0376540943980217,
0.017796624451875687,
0.044185929000377655,
-0.006771973799914122,
0.024677753448486328,
-0.062139738351106644,
-0.028886768966913223,
0.009029299020767212,
-0.07977917790412903,
-0.0268259234726429,
-0.0649690330028534,
-0.05592226982116699,
0.03961015120148659,
-0.0011319370241835713,
0.02071324549615383,
0.011352116242051125,
-0.006304790731519461,
0.04467494413256645,
0.0012683806708082557,
-0.06000903248786926,
0.06765861064195633,
-0.08075720816850662,
0.06329241394996643,
-0.018285639584064484,
-0.011020285077393055,
-0.023926768451929092,
0.03049353137612343,
-0.02483493648469448,
0.035104237496852875,
-0.07977917790412903,
-0.009727890603244305,
-0.009160284884274006,
0.0007558981305919588,
-0.02184845693409443,
-0.010068453848361969,
0.010732116177678108,
0.07558763027191162,
-0.0012574652209877968,
0.02810085378587246,
-0.011841130442917347,
0.02916620671749115,
0.00723915733397007,
0.014417187310755253,
-0.04369691386818886,
0.02071324549615383,
-0.06290818750858307,
-0.052569031715393066,
-0.006020987872034311,
-0.024258598685264587,
-0.02525409311056137,
-0.05958987772464752,
-0.010627327486872673,
-0.070452980697155,
0.01275803241878748,
-0.02179606258869171,
0.014190144836902618,
-0.01015577744692564,
-0.0010948242852464318,
0.0003170951677020639,
0.0022900712210685015,
0.003855353221297264,
0.02958536148071289,
-0.044151000678539276,
-0.012609581463038921,
0.005767748225480318,
0.020870428532361984,
0.019612964242696762,
0.019106484949588776,
0.07160565257072449,
0.013805919326841831,
0.03428339213132858,
0.013238313607871532,
0.05871663615107536,
0.05344226956367493,
-0.05836734175682068,
-0.058437202125787735,
-0.03438818082213402,
-0.0005501410341821611,
0.05166086181998253,
0.035575784742832184,
-0.006082114763557911,
0.0036064800806343555,
-0.02420620433986187,
-0.006287326104938984,
-0.01296760980039835,
0.0339340940117836,
0.006282959599047899,
0.03678085654973984,
0.02074817568063736,
0.03929578512907028,
0.029515502974390984,
0.016591554507613182,
0.04306818172335625,
-0.008400565944612026,
0.01837296411395073,
0.019350992515683174,
-0.0033532404340803623,
0.031663671135902405,
0.0295678973197937,
-0.07097692042589188,
0.027087895199656487,
-0.035942547023296356,
-0.02055606245994568,
-0.003200423438102007,
0.01729014702141285,
-0.009317467920482159,
-0.01015577744692564,
-0.043522268533706665,
-0.01416394766420126,
-0.008535917848348618,
0.038771841675043106,
-0.017901413142681122,
-0.0673791766166687,
-0.0027834514621645212,
-0.015403948724269867,
-0.02481747232377529,
-0.09570707380771637,
-0.0018043315503746271,
0.06772847473621368,
0.015508737415075302,
0.02703550085425377,
0.0017191906226798892,
-0.020049583166837692,
0.00256950780749321,
0.007204227615147829,
-0.004986198619008064,
0.006990283727645874,
-0.052638888359069824,
0.03817804157733917,
0.012609581463038921,
-0.0027223248034715652,
-0.0248873308300972,
0.021254654973745346,
0.026476627215743065,
0.03428339213132858,
0.06891607493162155,
-0.0237521193921566,
-0.0352264903485775,
-0.021132400259375572,
-0.012461130507290363,
0.02439831756055355,
-0.038981419056653976,
-0.06004396080970764,
0.048063114285469055,
0.09801242500543594,
-0.013072398491203785,
0.011596622876822948,
-0.01341296173632145,
0.033148180693387985,
0.04065804183483124,
-0.007164931856095791,
-0.0007897361647337675,
-0.03566310927271843,
0.01535155437886715,
-0.04100733622908592,
0.026651276275515556,
-0.01860000565648079,
-0.0018610921688377857,
0.03720001131296158,
0.03526141867041588,
-0.050228748470544815,
0.03203043341636658,
0.01751718856394291,
0.051067057996988297,
0.005427184980362654,
0.06475945562124252,
0.040273815393447876,
-0.0007051410502754152,
-0.03674592822790146,
0.0015860216226428747,
0.0034776772372424603,
-0.027576910331845284,
-0.07579720765352249,
-0.06832227110862732,
0.045932408422231674,
-0.007837326265871525,
0.027821417897939682,
0.019508175551891327,
0.00631788931787014,
0.05592226982116699,
0.03954029455780983,
0.03527888283133507,
-0.05777353793382645,
-0.07052283734083176,
0.03023155778646469,
-0.009684228338301182,
0.0007302467129193246,
0.002814014907926321,
-0.026878317818045616,
-0.0557476244866848,
0.013543947599828243,
0.02006704919040203,
0.06636621803045273,
-0.07167551666498184,
0.005400987807661295,
0.009413523599505424,
-0.009369862265884876,
-0.0405532531440258,
0.016783667728304863,
0.006898593623191118,
-0.02747212164103985,
0.01674000546336174,
0.028572402894496918,
-0.009422256611287594,
-0.014207609929144382,
0.014277469366788864,
-0.056516073644161224,
-0.009300002828240395,
0.024538036435842514,
0.04453522339463234,
0.03929578512907028,
0.054594945162534714,
0.025812964886426926,
-0.05850705876946449,
-0.01534282136708498,
0.09521805495023727,
-0.033549871295690536,
-0.04684057831764221,
0.07565748691558838,
-0.013858313672244549,
-0.017229018732905388,
0.015080849640071392,
-0.045024238526821136,
-0.07440002262592316,
-0.04998423904180527,
0.07628621906042099,
0.013046201318502426,
0.011090144515037537,
0.0526738204061985,
0.007706340402364731,
-0.034038882702589035,
-0.013194652274250984,
0.045478325337171555,
0.03222254663705826,
-0.00566732557490468,
0.05829748138785362,
0.03807325288653374,
0.015115778893232346,
0.009981130249798298,
0.05096226930618286,
-0.022162823006510735,
-0.08061748743057251,
0.0686715692281723,
-0.0010615320643410087,
-0.004263592883944511,
0.015456343069672585,
-0.02743719145655632,
-0.05773860961198807,
0.044395506381988525,
-0.002979930490255356,
-0.011919721961021423,
0.035942547023296356,
0.0423346608877182,
-0.008404931984841824,
0.024503106251358986,
0.05351212993264198,
0.059939172118902206,
-0.09619608521461487,
0.03992452099919319,
0.0500890277326107,
-0.04579269140958786,
-0.01840789243578911,
-0.018460286781191826,
-0.019560569897294044,
0.04781860485672951,
-0.04512902721762657,
-0.07635608315467834,
-0.06598199158906937,
0.01122113037854433,
-0.0021350709721446037,
0.04261409863829613,
0.02675606496632099,
0.00781986117362976,
-0.01284535601735115,
-0.03285127878189087,
-0.07523833215236664,
-0.016905920580029488,
0.059065934270620346,
0.035942547023296356,
-0.037060294300317764,
-0.008404931984841824,
-0.019071554765105247,
0.008784791454672813,
0.013631272129714489,
-0.015334089286625385,
0.0192287378013134,
0.0601138211786747,
-0.07034818828105927,
-0.0002876233193092048,
0.0011199299478903413,
0.022948740050196648,
-0.04327775910496712,
0.02768169902265072,
0.058472130447626114,
-0.016486765816807747,
-0.04904114082455635,
-0.045513253659009933,
0.03049353137612343,
0.029463106766343117,
0.03863212466239929,
-0.013788455165922642,
-0.014871272258460522,
-0.018058598041534424,
-0.006501269526779652,
-0.0470152273774147,
0.010286763310432434,
-0.02291380986571312,
-0.011614087969064713,
-0.04390649124979973,
0.031628742814064026,
0.005012395791709423,
-0.04366198554635048,
-0.04100733622908592,
0.020224232226610184,
-0.029725080356001854,
0.05511888861656189,
-0.0617205835878849,
-0.02766423299908638,
0.03950536251068115,
0.03622198477387428,
0.020695781335234642,
-0.044849589467048645,
-0.003881550393998623,
0.005270001478493214,
0.011142538860440254,
0.02855493873357773,
-0.07419044524431229,
0.05958987772464752,
0.07537805289030075,
0.05333748087286949,
-0.005737185012549162,
0.06629636138677597,
0.0008213911205530167,
0.06937016546726227,
0.03547099605202675,
-0.06165072321891785,
0.014024229720234871,
-0.05808790400624275,
-0.0016864441568031907,
-0.005684790667146444,
-0.03821296989917755,
0.04167100042104721,
-0.016539160162210464,
0.03540113940834999,
-0.033410150557756424,
-0.0022398598957806826,
-0.016504229977726936,
-0.010347890667617321,
0.009640566073358059,
0.02916620671749115,
0.024468176066875458,
-0.003957958891987801,
0.09542763233184814,
-0.021900851279497147,
-0.05850705876946449,
0.013867046684026718,
0.020800570026040077,
-0.005449015647172928,
-0.09822200238704681,
0.004095494281500578,
-0.040099166333675385,
0.034248460084199905,
-0.02916620671749115,
0.03905127942562103,
0.02401409111917019,
0.02308845706284046,
0.03859719634056091,
-0.0017093666829168797,
0.020608456805348396,
-0.022389866411685944,
0.0008279404137283564,
0.02741972729563713,
-0.020573526620864868,
0.05829748138785362,
0.059974104166030884,
-0.0069553544744849205,
0.043976351618766785,
-0.04257916659116745,
0.019385920837521553,
0.06853184849023819,
-0.04575775936245918,
-0.005815776530653238,
-0.0237521193921566,
-0.04457015544176102,
0.021446766331791878,
-0.00658859359100461,
-0.00017901413957588375,
0.014749018475413322,
-0.023420289158821106,
0.004036550410091877,
-0.044395506381988525,
0.0001259375421795994,
0.04600226879119873,
0.03650141879916191,
-0.02354254201054573,
-0.01706310361623764,
0.017569582909345627,
-0.020590992644429207,
-0.024782542139291763,
0.06486424803733826,
0.03386423736810684,
-0.010714651085436344,
-0.04530367627739906,
-0.006710846908390522,
-0.00022649654420092702,
-0.006885495036840439,
-0.04624677449464798,
-0.04753917083144188,
0.0321526862680912,
-0.01666141301393509,
-0.022512119263410568,
-0.02163887955248356,
-0.003228803863748908,
0.0048945085145533085,
0.020032119005918503,
0.00874112918972969,
-0.0313493050634861,
0.015430145896971226,
-0.026109866797924042,
-0.03754930570721626,
-0.03702536225318909,
-0.03863212466239929,
-0.03866705298423767,
-0.11952905356884003,
-0.05344226956367493,
-0.012679440900683403,
0.0287645161151886,
0.04111212491989136,
-0.013858313672244549,
0.018268175423145294,
-0.026040008291602135,
0.05571269243955612,
0.0028554939199239016,
0.04746931046247482,
-0.005226339679211378,
-0.025533528998494148,
-0.011823665350675583,
0.02228507772088051,
-0.010775777511298656,
0.008003242313861847,
-0.020171837881207466,
-0.05641128495335579,
0.012548454105854034,
-0.0026961276307702065,
-0.03520902618765831,
-0.02785634621977806,
-0.023175781592726707,
-0.012146764434874058,
0.01102901715785265,
0.01468789204955101,
0.03699043393135071,
-0.021114936098456383,
-0.0002315449673915282,
-0.006510002072900534,
-0.000998767907731235,
0.04236958920955658,
-0.004191550426185131,
-0.00339908548630774,
-0.04296339303255081,
0.00313493050634861,
-0.06556283682584763,
-0.040273815393447876,
0.04002930968999863,
-0.034667614847421646,
0.02289634570479393,
0.05036846548318863,
-0.0259352196007967,
0.01945578120648861,
0.008365636691451073,
-0.030109304934740067,
0.007815495133399963,
0.03475493937730789,
-0.0402388870716095,
-0.0006412853836081922,
-0.00032282579923048615,
-0.010496341623365879,
-0.028589867055416107,
-0.01176253892481327,
0.08138594031333923,
-0.012103102169930935,
0.00010431121336296201,
0.04628170281648636,
-0.030772967264056206,
-0.017298879101872444,
0.01220789086073637,
0.041810717433691025,
-0.00007722713780822232,
-0.004005987197160721,
0.0064707063138484955,
0.007601551711559296,
-0.0030978177674114704,
-0.09696453809738159,
-0.058646779507398605,
-0.010347890667617321,
-0.05194029584527016,
-0.05054311454296112,
-0.05731945484876633,
-0.05249917134642601,
-0.01617239974439144,
-0.004178451839834452,
-0.08026819676160812,
0.06109185144305229,
-0.0035322546027600765,
0.0038880996871739626,
0.03152395412325859,
-0.009090425446629524,
0.0058638048358261585,
0.019385920837521553,
-0.006715213414281607,
0.02567324787378311,
0.015831835567951202,
-0.013465356081724167,
-0.0068069035187363625,
0.012103102169930935,
0.008928876370191574,
0.052149876952171326,
0.05166086181998253,
-0.017202822491526604,
0.01837296411395073,
0.012836623936891556,
0.0024450712371617556,
0.01070591900497675,
0.01660901866853237,
0.024031557142734528,
-0.016408173367381096,
0.01814592070877552,
0.027769023552536964,
-0.06923044472932816,
-0.03136676922440529,
-0.004999297205358744,
0.009230143390595913,
-0.04795832559466362,
0.08536791056394577,
-0.012129299342632294,
-0.02204057015478611,
-0.058472130447626114,
-0.041845645755529404,
-0.004193733911961317,
-0.005449015647172928,
-0.01617239974439144,
-0.03947043418884277,
0.058018047362565994,
-0.051556073129177094,
-0.025428740307688713,
0.005514508578926325,
-0.0024603528436273336,
0.007907185703516006,
0.010644791647791862,
0.0024712684098631144,
-0.018757188692688942,
-0.031174657866358757,
-0.019106484949588776,
0.0549442432820797,
-0.015264229848980904,
0.039645083248615265,
-0.004195916932076216,
0.009038031101226807,
0.03220507875084877,
0.026703670620918274,
-0.005981692112982273,
-0.024049021303653717,
-0.0025171134620904922,
0.02680845931172371,
-0.05386142432689667,
-0.04408114030957222,
-0.060777485370635986,
-0.025114374235272408,
-0.04820283129811287,
0.0017311976989731193,
-0.054315511137247086,
-0.062349315732717514,
-0.006505636032670736,
-0.032536912709474564,
-0.012347609736025333,
-0.060812413692474365,
0.004438241012394428,
-0.018495216965675354,
0.017761696130037308,
-0.07929016649723053,
0.021272119134664536,
-0.006138875149190426,
0.040064238011837006,
0.043522268533706665,
0.0009600179037079215,
0.006929156836122274,
0.03325296938419342,
-0.008313242346048355,
0.05036846548318863,
-0.04034367576241493,
-0.007182396482676268,
0.009544510394334793,
-0.0345802940428257,
-0.021761134266853333,
-0.01924620382487774,
-0.022145358845591545,
-0.029864797368645668,
-0.00983267929404974,
-0.03992452099919319,
0.054105933755636215,
0.007007748819887638,
0.0007711797952651978,
0.008649439550936222,
0.017656907439231873,
0.09095665067434311,
-0.024695219472050667,
-0.0769149512052536,
0.047434382140636444,
-0.003809508169069886,
0.008728031069040298,
0.052603960037231445,
0.03492958843708038,
-0.054315511137247086,
0.03709522262215614,
-0.01565718837082386,
0.003549719462171197,
0.02829296700656414,
0.03234479948878288,
-0.008182256482541561,
-0.006261128466576338,
-0.016879724338650703,
-0.030807897448539734,
0.03292113542556763,
-0.026249585673213005,
0.08173523843288422,
0.022983668372035027,
-0.04306818172335625,
0.04429071769118309,
0.02422367036342621,
0.01384084951132536,
0.028048459440469742,
0.02314085140824318,
0.031000008806586266,
-0.0031764095183461905,
0.054350439459085464,
-0.0462118461728096,
-0.0332878977060318,
-0.04586254805326462,
-0.0023708457592874765,
0.018687330186367035,
-0.0423346608877182,
-0.03569803759455681,
-0.0060602836310863495,
-0.07810255885124207,
0.048272691667079926,
0.0030104939360171556,
0.030545925721526146,
0.04488452151417732,
-0.005593100097030401,
-0.02743719145655632,
0.03365465998649597,
-0.016390709206461906,
-0.0037025364581495523,
-0.006902959663420916,
0.021516626700758934,
-0.03782874345779419,
0.030807897448539734,
0.007549157366156578,
-0.03416113555431366,
-0.014539441093802452,
0.06133635714650154,
-0.01233014464378357,
0.020241696387529373,
-0.053267620503902435,
-0.02897409349679947,
0.05295325443148613,
-0.0014484863495454192,
-0.0000959199242061004,
-0.0166439488530159,
-0.004798452369868755,
-0.04062310978770256,
-0.018268175423145294,
-0.031890712678432465,
0.06772847473621368,
0.039680011570453644,
-0.007706340402364731,
0.0026764797512441874,
-0.005287466570734978,
-0.04537353664636612,
-0.015700850635766983,
-0.05641128495335579,
-0.041147053241729736,
0.04320790246129036,
0.03919099643826485,
0.00679817097261548,
0.0783819928765297,
0.002613169839605689,
0.036012403666973114,
0.045478325337171555,
0.002097958466038108,
-0.044395506381988525,
0.01898423209786415,
-0.008933242410421371,
-0.003604296827688813,
-0.006160706281661987,
0.0233504306524992,
-0.0010888207470998168,
0.047853536903858185,
0.0036938039120286703,
-0.005221973638981581,
0.10150538384914398,
-0.04209015518426895,
-0.026703670620918274,
-0.01645183563232422,
0.00654056528583169,
-0.010260566137731075,
-0.03863212466239929,
-0.0596248060464859,
0.020625920966267586,
0.005261269398033619,
0.050263676792383194,
0.0470152273774147,
0.008134228177368641,
-0.013884511776268482
] |
9,688 | requests.sessions | close | Closes all adapters and as such the session | def close(self):
"""Closes all adapters and as such the session"""
for v in self.adapters.values():
v.close()
| (self) | [
0.013195425271987915,
-0.06352727115154266,
-0.01099055539816618,
-0.02166009694337845,
-0.06731187552213669,
-0.010703331790864468,
-0.051632802933454514,
0.01169172115623951,
0.03916388750076294,
0.03744054213166237,
-0.052038297057151794,
-0.07434042543172836,
0.022082485258579254,
0.06849456578493118,
-0.03649438917636871,
-0.0025554520543664694,
-0.0059430100955069065,
0.007315773516893387,
0.0033812220208346844,
-0.032574620097875595,
-0.05220725014805794,
0.03679851070046425,
0.008836372755467892,
-0.03470345959067345,
-0.04936879873275757,
0.01966642029583454,
-0.003501602914184332,
0.026897717267274857,
0.01493566669523716,
-0.0034889313392341137,
-0.09603431075811386,
-0.007653684355318546,
0.037575703114271164,
0.023079322651028633,
-0.0016789953224360943,
0.03869081288576126,
-0.03960317000746727,
-0.05318719521164894,
0.008105640299618244,
0.06322315335273743,
0.029499631375074387,
-0.033740416169166565,
0.051362473517656326,
-0.023011740297079086,
-0.004405514802783728,
0.05082181841135025,
-0.006606160197407007,
-0.007670579943805933,
0.07238054275512695,
0.021170124411582947,
-0.023011740297079086,
0.026610491797327995,
0.00185006286483258,
0.018517524003982544,
-0.016887102276086807,
0.02846900373697281,
-0.03693367540836334,
0.03760949522256851,
0.008604058995842934,
-0.017030715942382812,
-0.012849066406488419,
-0.04409738630056381,
-0.004827903583645821,
0.008604058995842934,
0.03074990212917328,
0.003104557516053319,
-0.0433201938867569,
0.05237620696425438,
0.03402763977646828,
-0.03323354944586754,
0.04463804513216019,
-0.02302863635122776,
-0.016109907999634743,
0.029296884313225746,
-0.031222978606820107,
-0.02530953474342823,
-0.03510895371437073,
0.02253866381943226,
-0.030665425583720207,
-0.043793268501758575,
0.01841614954173565,
0.051801759749650955,
-0.007222848013043404,
0.07190746068954468,
0.05521465837955475,
-0.01722501404583454,
-0.003679006127640605,
0.03154399245977402,
-0.038859765976667404,
0.04926742613315582,
0.015755100175738335,
0.0013769874349236488,
0.04021140933036804,
0.02446475811302662,
-0.005478382110595703,
-0.03477104380726814,
-0.05055148899555206,
0.005203829612582922,
-0.039501797407865524,
-0.04626001790165901,
-0.05970887467265129,
-0.02527574449777603,
-0.05771519988775253,
-0.018331672996282578,
-0.018517524003982544,
-0.03673092648386955,
-0.016920894384384155,
-0.029094139114022255,
-0.030411992222070694,
0.030665425583720207,
-0.07967941462993622,
0.020088810473680496,
0.0281141959130764,
0.01961573399603367,
0.016827968880534172,
-0.02226833626627922,
0.006884937174618244,
0.026762552559375763,
-0.002479422139003873,
0.009748732671141624,
-0.07508382946252823,
0.06373001635074615,
0.011776198633015156,
-0.024076160043478012,
0.026779448613524437,
0.06856214255094528,
0.0038859767373651266,
0.02639085054397583,
0.010086643509566784,
0.036224059760570526,
0.03282805532217026,
-0.04027899354696274,
0.015729757025837898,
0.016439370810985565,
0.04717237874865532,
-0.011843780986964703,
-0.001512151793576777,
-0.0498080849647522,
-0.012156348675489426,
0.04805094748735428,
-0.0572759173810482,
0.021964216604828835,
-0.018483731895685196,
0.06511545181274414,
0.020933587104082108,
0.004359052050858736,
-0.04132651537656784,
-0.06295282393693924,
-0.058762725442647934,
-0.08947883546352386,
-0.0232651736587286,
0.022640038281679153,
0.0012344311689957976,
0.006635727360844612,
-0.05639734864234924,
-0.004574470221996307,
-0.024650609120726585,
0.06646709889173508,
-0.005110904108732939,
-0.019277824088931084,
-0.0021446789614856243,
0.009664255194365978,
-0.05234241485595703,
-0.006226010620594025,
-0.06437204778194427,
-0.044705625623464584,
-0.05531603470444679,
0.028384525328874588,
-0.010069748386740685,
0.006635727360844612,
-0.026492223143577576,
-0.04071827605366707,
0.019514361396431923,
-0.03919767960906029,
-0.0422050841152668,
0.015425638295710087,
0.016827968880534172,
-0.03220291808247566,
0.025782611221075058,
-0.009453061036765575,
-0.0378122441470623,
-0.05930338427424431,
-0.052477579563856125,
0.02879001945257187,
0.013829008676111698,
0.004878590349107981,
0.006103517487645149,
-0.0020971603225916624,
0.021930424496531487,
-0.03963696211576462,
-0.002456190763041377,
0.029161721467971802,
0.0005221781320869923,
-0.012164796702563763,
0.035615820437669754,
0.013136290945112705,
0.015645280480384827,
0.031206082552671432,
-0.042982280254364014,
0.02370445802807808,
-0.0346696712076664,
0.02361997961997986,
0.03487241640686989,
-0.07001516222953796,
0.02583329752087593,
0.011024346575140953,
0.005313650704920292,
-0.08535632491111755,
0.009360135532915592,
-0.034500714391469955,
-0.0011372817680239677,
0.05795174092054367,
-0.008768790401518345,
-0.013981068506836891,
0.052883073687553406,
0.0335545651614666,
0.005072888918220997,
-0.06210804358124733,
0.02370445802807808,
-0.01507927943021059,
-0.01621128059923649,
-0.030969545245170593,
-0.016185937449336052,
-0.008870163932442665,
-0.04801715537905693,
0.007476281374692917,
0.013584022410213947,
-0.009900792501866817,
0.07042065262794495,
0.04196854680776596,
0.014901875518262386,
0.07947666943073273,
0.021575618535280228,
0.024126846343278885,
-0.022792097181081772,
0.0099937180057168,
-0.08130139112472534,
-0.014234501868486404,
-0.07765194773674011,
-0.03235498070716858,
0.001199584105052054,
-0.007869102992117405,
-0.04730754345655441,
0.023315859958529472,
-0.028705541044473648,
0.052714116871356964,
0.009267210029065609,
0.026762552559375763,
0.055958062410354614,
-0.026526015251874924,
0.037778452038764954,
-0.07636789232492447,
0.09056015312671661,
-0.03673092648386955,
0.0007027492974884808,
-0.11928258836269379,
-0.06876489520072937,
0.010669540613889694,
-0.006183771416544914,
-0.02402547374367714,
0.0648113340139389,
0.05967508628964424,
-0.08501841127872467,
0.07332669198513031,
0.024397175759077072,
0.06748083233833313,
0.06876489520072937,
-0.005372785031795502,
-0.008261924609541893,
-0.02378893457353115,
0.03326733782887459,
-0.025174370035529137,
-0.03154399245977402,
-0.02350171096622944,
0.0038648571353405714,
0.026661179959774017,
0.007645236793905497,
-0.024245114997029305,
-0.11806610971689224,
-0.06768357753753662,
0.05447125434875488,
0.03396005555987358,
-0.004929277114570141,
0.005068665370345116,
0.027928344905376434,
-0.008920851163566113,
-0.01722501404583454,
-0.04196854680776596,
-0.0357171930372715,
0.000833161873742938,
-0.022961053997278214,
-0.03804878145456314,
-0.004853246733546257,
0.08076073229312897,
0.014234501868486404,
0.007015877403318882,
-0.057884156703948975,
0.029448945075273514,
0.02718494087457657,
-0.013119394890964031,
-0.04389464110136032,
-0.025731923058629036,
0.010509032756090164,
0.04416497051715851,
0.009427716955542564,
-0.0011953602079302073,
0.02022397518157959,
0.023653771728277206,
0.0035501776728779078,
0.06775116175413132,
0.02738768793642521,
-0.002369601046666503,
-0.012359095737338066,
0.037136420607566833,
0.03727158531546593,
-0.03703504800796509,
-0.034095220267772675,
0.013389724306762218,
-0.003613536013290286,
0.05170038715004921,
-0.023856516927480698,
0.01075401809066534,
0.03291253373026848,
-0.005182710010558367,
-0.002211205195635557,
0.007066564168781042,
0.023332756012678146,
0.027015985921025276,
-0.0073326691053807735,
-0.03845427185297012,
-0.008561820723116398,
-0.008929298259317875,
0.01421760581433773,
-0.003503714920952916,
-0.015721309930086136,
-0.0018162716878578067,
-0.004145745653659105,
0.01658298261463642,
0.00427457457408309,
-0.03635922446846962,
-0.015366503037512302,
-0.03771086782217026,
-0.0024287353735417128,
0.005030650179833174,
-0.10772603005170822,
0.05021357536315918,
-0.029685482382774353,
-0.021896634250879288,
0.012646319344639778,
-0.006783563643693924,
0.04237404093146324,
0.05176796764135361,
0.035818569362163544,
0.048355065286159515,
0.014293636195361614,
-0.022319022566080093,
0.057647619396448135,
0.04071827605366707,
-0.01709829829633236,
-0.06109431013464928,
0.02431269735097885,
0.010720226913690567,
-0.018247194588184357,
0.0011298899771645665,
0.02419442869722843,
-0.010086643509566784,
0.032456353306770325,
-0.02426201105117798,
0.06322315335273743,
-0.004073939751833677,
-0.01593250408768654,
-0.046631719917058945,
0.04304986447095871,
0.06423688679933548,
-0.007590326014906168,
0.009267210029065609,
0.04406359791755676,
0.04514491185545921,
0.01565372757613659,
0.04950396344065666,
0.0605536550283432,
-0.031206082552671432,
0.07001516222953796,
-0.029246198013424873,
0.023011740297079086,
-0.06974483281373978,
-0.013237664476037025,
-0.02194732055068016,
-0.03929905220866203,
-0.006179547868669033,
0.010669540613889694,
-0.05065286159515381,
-0.04169822111725807,
0.02762422524392605,
-0.03336871415376663,
0.010027509182691574,
0.029888229444622993,
0.015746653079986572,
-0.004477321170270443,
-0.03304769843816757,
-0.0032904085237532854,
-0.03916388750076294,
0.04588831588625908,
0.027134254574775696,
0.020409826189279556,
0.0073622362688183784,
0.04193475842475891,
0.03103712759912014,
0.06187150627374649,
-0.040346574038267136,
0.010280942544341087,
0.023653771728277206,
-0.02831694297492504,
-0.027286315336823463,
0.028975870460271835,
0.019683316349983215,
0.0005396016640588641,
0.08022007346153259,
0.11664688587188721,
0.05470779165625572,
0.02943204902112484,
0.01465689018368721,
-0.02671186625957489,
-0.010120434686541557,
-0.040380366146564484,
-0.05697179585695267,
0.017959970980882645,
0.05409955233335495,
-0.004337932448834181,
-0.02723562717437744,
-0.01557769812643528,
-0.03419659659266472,
0.0038416257593780756,
-0.03845427185297012,
0.0028088854160159826,
0.022335918620228767,
-0.0286717489361763,
-0.021491140127182007,
-0.014986353926360607,
0.03127366304397583,
0.03039509616792202,
-0.01455551665276289,
-0.03791361674666405,
-0.06308798491954803,
0.053322359919548035,
-0.04277953505516052,
0.028823809698224068,
0.018128925934433937,
0.0049672918394207954,
0.0016145810950547457,
-0.049470171332359314,
-0.04571935907006264,
0.03431486338376999,
-0.05366026982665062,
0.009495299309492111,
-0.004722306504845619,
0.056600093841552734,
-0.009267210029065609,
0.03470345959067345,
0.007045444566756487,
0.02943204902112484,
-0.00789022259414196,
0.017993761226534843,
-0.04933500662446022,
-0.018483731895685196,
0.021322185173630714,
-0.019919853657484055,
-0.016954684630036354,
0.06849456578493118,
0.00977407582104206,
-0.0013442522613331676,
0.05261274427175522,
-0.027134254574775696,
-0.03338560834527016,
-0.02527574449777603,
-0.009985270909965038,
-0.005115128122270107,
0.0067497724667191505,
-0.006048607174307108,
-0.025326430797576904,
-0.013457306660711765,
-0.06900142878293991,
0.030327513813972473,
-0.01493566669523716,
-0.03147641196846962,
-0.029094139114022255,
0.06954208761453629,
-0.08028765767812729,
-0.04730754345655441,
-0.015907160937786102,
-0.005904994904994965,
-0.009655807167291641,
-0.02302863635122776,
-0.01091452594846487,
0.07123164087533951,
0.00427668634802103,
-0.02879001945257187,
-0.06862972676753998,
-0.05234241485595703,
-0.09143871814012527,
0.01802755333483219,
0.02122081257402897,
-0.057005587965250015,
0.013237664476037025,
0.027928344905376434,
-0.007294653914868832,
0.017047610133886337,
-0.0014466815628111362,
-0.031206082552671432,
-0.021913528442382812,
-0.03510895371437073,
-0.012916648760437965,
-0.030648529529571533,
0.0033157519064843655,
0.033453188836574554,
-0.03186500817537308,
-0.04348914697766304,
-0.007704371120780706,
0.02463371306657791,
0.054167136549949646,
0.052646536380052567,
-0.004599813837558031,
0.006052831187844276,
0.035142745822668076,
-0.01617749035358429,
-0.046631719917058945,
-0.04257678613066673,
0.02010570466518402,
0.009292553178966045,
0.05649872124195099,
0.025698132812976837,
0.023434128612279892,
-0.017723433673381805,
-0.01502014510333538,
-0.0009419269626960158,
-0.054200928658246994,
-0.010416107252240181,
-0.04700342193245888,
0.03367283195257187,
0.03879218548536301,
-0.0007027492974884808,
0.017284149304032326,
0.01905818097293377,
-0.022927261888980865,
-0.029854437336325645,
-0.019328510388731956,
0.010466793552041054,
-0.03865702077746391,
0.052680328488349915,
0.03541307523846626,
0.005693800747394562,
0.026559805497527122,
0.044705625623464584,
-0.0325070396065712,
-0.024819564074277878,
-0.060046788305044174,
0.021254602819681168,
-0.010821600444614887,
-0.0005401296657510102,
-0.01658298261463642,
0.0021531267557293177,
0.04673309251666069,
0.00516581442207098,
-0.008481566794216633,
0.0822475403547287,
0.015222891233861446,
0.05382922664284706,
0.004933500662446022,
0.03215223178267479,
0.050112202763557434,
-0.01817961223423481,
-0.09211454540491104,
0.08758653700351715,
-0.0015417189570143819,
0.0227076206356287,
-0.04217129573225975,
-0.030986439436674118,
0.007256639190018177,
-0.011886020191013813,
-0.06268249452114105,
-0.00025686516892164946,
0.03896113857626915,
-0.037305377423763275,
-0.04740891605615616,
0.016490057110786438,
0.03598752245306969,
0.030243035405874252,
0.016996923834085464,
-0.01069488376379013,
0.01180998980998993,
0.008954642340540886,
-0.004266126547008753,
-0.03828531876206398,
-0.043556731194257736,
0.02639085054397583,
0.007809968199580908,
-0.021153230220079422,
-0.003723357105627656,
-0.05024736747145653,
0.051396265625953674,
0.013465753756463528,
0.04696962982416153,
0.013026469387114048,
-0.014682233333587646,
0.0068680415861308575,
0.060722608119249344,
-0.03203396499156952,
0.03720400109887123,
-0.03629164397716522,
0.04477320984005928,
-0.027083568274974823,
-0.0015575585421174765,
0.01738552190363407,
-0.02507299743592739,
-0.024515444412827492,
0.0033263114746659994,
-0.01685331203043461,
0.037981197237968445,
0.014648442156612873,
0.023197591304779053,
-0.009326344355940819,
0.008076073601841927,
-0.012604081071913242,
0.025377117097377777,
-0.05730970948934555,
0.05494433268904686,
-0.06683880090713501,
0.07893601059913635,
-0.03191569447517395,
0.04612485319375992,
0.020713945850729942,
-0.035176537930965424,
0.05389680713415146,
0.048760559409856796,
-0.0072819823399186134,
-0.025461595505475998,
0.0007566038984805346,
-0.025444699451327324,
0.04524628445506096,
0.0020232421811670065,
0.07292119413614273,
0.021203916519880295,
0.057478662580251694,
0.004375947639346123,
0.018602000549435616,
0.0021921976003795862,
-0.03179742768406868,
-0.01483429316431284,
0.027404583990573883,
-0.03983970731496811,
-0.0211025420576334,
0.0334869809448719,
-0.0034973789006471634,
-0.012485812418162823,
-0.01421760581433773,
-0.018449941650032997,
0.007450937759131193,
0.014327427372336388,
0.024650609120726585,
0.009706493467092514,
-0.013482649810612202,
-0.016760386526584625,
0.01785859651863575,
-0.014589307829737663,
0.04578694328665733,
-0.023332756012678146,
-0.02995581179857254,
0.047037214040756226,
0.0029588332399725914,
-0.02258935198187828,
0.04571935907006264,
0.005693800747394562,
0.007581878453493118,
0.05281549319624901,
-0.05153143033385277,
0.05318719521164894,
-0.014082442037761211,
-0.0018627344397827983,
-0.0232989639043808,
0.010703331790864468,
-0.08907334506511688,
0.028300046920776367,
-0.01601698249578476,
-0.016811072826385498,
0.012984231114387512,
0.002228100784122944,
-0.03421349078416824,
0.030057184398174286,
-0.03855564817786217,
-0.06785253435373306,
-0.03913009539246559,
-0.019328510388731956,
0.02182905189692974,
-0.0001506080006947741,
-0.03434865549206734,
-0.016042325645685196,
0.030006498098373413,
-0.03242256119847298,
-0.004280910361558199,
0.013820560649037361,
0.009503747336566448,
-0.054200928658246994,
0.032050859183073044,
-0.013558679260313511,
0.07156955450773239,
0.012029631994664669,
0.000649422756396234,
0.00036193436244502664,
0.006914504338055849,
0.002460414543747902,
0.013702291995286942,
0.01521444320678711,
0.006462548393756151,
0.03159467875957489,
0.028975870460271835,
0.05751245468854904,
-0.013567127287387848,
-0.03483862429857254,
0.013905038125813007,
0.047442708164453506,
0.005110904108732939,
0.020409826189279556,
0.020612571388483047,
0.02078152820467949,
0.030327513813972473,
0.006487891543656588,
-0.055282242596149445,
0.08366676419973373,
0.03421349078416824,
0.03323354944586754,
-0.08488325029611588,
-0.09867001324892044,
-0.08359918743371964,
0.03304769843816757,
-0.08042281866073608,
-0.024059263989329338,
0.047713033854961395,
0.028215570375323296,
0.0016811073292046785,
-0.003450916148722172,
-0.019108867272734642,
-0.027691807597875595,
0.00427457457408309,
0.046631719917058945,
-0.004528007470071316,
-0.048152320086956024,
0.021153230220079422,
0.022656934335827827,
0.02931378036737442,
0.01753758080303669,
0.048591602593660355,
0.0211025420576334,
0.0003954614803660661,
0.040988605469465256,
0.00048284317017532885,
0.02338344231247902,
0.007615669630467892,
0.021761469542980194,
-0.030580947175621986,
0.011767751537263393,
0.007353788707405329,
0.050314951688051224,
0.03419659659266472,
-0.008118311874568462,
0.004245006944984198,
-0.003362214658409357,
0.04159684479236603,
-0.014090889133512974
] |
9,689 | cloudscraper | debugRequest | null | @staticmethod
def debugRequest(req):
try:
print(dump.dump_all(req).decode('utf-8', errors='backslashreplace'))
except ValueError as e:
print(f"Debug Error: {getattr(e, 'message', e)}")
| (req) | [
-0.02236079052090645,
0.022865038365125656,
-0.013327796012163162,
0.010380554012954235,
-0.029350711032748222,
-0.04312189668416977,
-0.02529933862388134,
-0.026655592024326324,
0.013971147127449512,
-0.06527403742074966,
-0.023977862671017647,
-0.008972137235105038,
0.003938350826501846,
-0.012128033675253391,
0.04844258353114128,
0.003245009807869792,
-0.01822247914969921,
0.01690100133419037,
0.044860683381557465,
-0.012206279672682285,
-0.01057182066142559,
0.0414874404668808,
-0.00019968872948084027,
0.052337463945150375,
-0.06228332221508026,
0.04242638498544693,
0.030637413263320923,
-0.0531025305390358,
0.0341845378279686,
0.028359603136777878,
-0.00012477149721235037,
-0.060370657593011856,
0.023091081529855728,
0.0018072508974000812,
-0.055293403565883636,
-0.033210817724466324,
-0.016266345977783203,
0.005585850682109594,
-0.119489386677742,
-0.051815830171108246,
-0.09396401047706604,
0.01822247914969921,
-0.09319894015789032,
-0.040687598288059235,
0.040687598288059235,
-0.0033602043986320496,
-0.0014410191215574741,
0.05494564399123192,
-0.045938730239868164,
0.026168731972575188,
0.027716252952814102,
0.01264966931194067,
0.03345424681901932,
-0.025073297321796417,
0.013788574375212193,
0.0011715071741491556,
0.010450105182826519,
-0.013101753778755665,
0.008598297834396362,
-0.0002890732139348984,
-0.026099180802702904,
0.06732580065727234,
0.01858762465417385,
0.029785407707095146,
-0.04173086956143379,
-0.010537044145166874,
-0.059257835149765015,
-0.02256944589316845,
-0.04461725428700447,
-0.029350711032748222,
-0.014979643747210503,
-0.04301756992936134,
-0.08652200549840927,
0.028255276381969452,
0.01028492022305727,
-0.017892111092805862,
-0.05174627900123596,
-0.04152221605181694,
-0.018378971144557,
-0.0241865161806345,
0.025768810883164406,
-0.03373245149850845,
-0.030550474300980568,
0.02222168818116188,
0.007711516693234444,
-0.061240050941705704,
0.009902387857437134,
0.010337084531784058,
-0.021769603714346886,
0.07873223721981049,
-0.04155699163675308,
0.003029834944754839,
-0.06805609166622162,
0.07678479701280594,
-0.05296342819929123,
0.003788380417972803,
0.018083376809954643,
-0.025751423090696335,
-0.024638600647449493,
-0.011380355805158615,
0.031402479857206345,
0.04301756992936134,
-0.0804014727473259,
0.03734912723302841,
-0.03058524988591671,
-0.01764868013560772,
0.030185328796505928,
-0.03444535657763481,
-0.004512150306254625,
-0.011597704142332077,
0.009293812327086926,
-0.03199366480112076,
-0.037592556327581406,
0.014223271049559116,
0.02968108095228672,
-0.01785733364522457,
0.04694722965359688,
-0.003884013742208481,
0.0035319095477461815,
-0.018309418112039566,
0.0015344788553193212,
0.0011389049468562007,
-0.032532691955566406,
-0.05150284618139267,
0.08645245432853699,
0.0397486537694931,
-0.022291239351034164,
0.015327400527894497,
0.02802923321723938,
-0.011362968012690544,
0.025455830618739128,
-0.016709735617041588,
-0.04892944544553757,
0.07268126308917999,
0.008428766392171383,
-0.009232955053448677,
-0.010789168067276478,
-0.003679706249386072,
0.0009106892975978553,
0.03947044536471367,
-0.03448013216257095,
-0.02493419498205185,
-0.009163402952253819,
-0.03329775482416153,
-0.029959287494421005,
-0.047573190182447433,
0.03079390339553356,
-0.027246780693531036,
0.0011910685570910573,
-0.01785733364522457,
0.05807546153664589,
0.019022321328520775,
-0.047955725342035294,
0.01057182066142559,
0.002148487837985158,
0.01803121343255043,
0.0447215810418129,
-0.04764274135231972,
-0.014440619386732578,
-0.036757942289114,
-0.08095788955688477,
-0.05188538134098053,
0.0037340433336794376,
-0.0911123976111412,
0.04273936524987221,
0.014388456009328365,
0.03874015808105469,
-0.008002763614058495,
0.030289655551314354,
0.027351107448339462,
-0.06722147762775421,
0.032880447804927826,
-0.042322058230638504,
0.028290051966905594,
0.06346569955348969,
0.03434102609753609,
0.000415678572608158,
0.006603040732443333,
-0.07588063180446625,
-0.020639391615986824,
0.015223073773086071,
-0.018274642527103424,
0.016840144991874695,
0.04701678082346916,
0.055084746330976486,
-0.03188933804631233,
-0.03769688680768013,
-0.021752215921878815,
0.013606002554297447,
0.0327761210501194,
0.029820183292031288,
0.006103139836341143,
-0.00946769118309021,
-0.012232361361384392,
-0.00902430061250925,
-0.004677334800362587,
-0.004620824474841356,
-0.021439233794808388,
0.09535503387451172,
-0.07880178838968277,
-0.013049590401351452,
0.029733244329690933,
-0.045034561306238174,
-0.018987545743584633,
-0.03536691144108772,
0.021717440336942673,
0.015988139435648918,
0.02093498595058918,
-0.02710767649114132,
-0.004481721669435501,
0.0267599206417799,
0.019178811460733414,
0.013388654217123985,
-0.007346371654421091,
0.021613113582134247,
-0.01092827133834362,
0.002438647672533989,
-0.00900691282004118,
0.012327994219958782,
-0.01581426151096821,
0.07894089072942734,
0.019248362630605698,
0.024116965010762215,
-0.03602765128016472,
-0.02255205810070038,
0.011475988663733006,
0.030307043343782425,
-0.0022886772640049458,
-0.04656469449400902,
-0.048512134701013565,
0.02823788858950138,
-0.03093300759792328,
-0.03971387818455696,
0.051085539162158966,
0.020882822573184967,
0.06210944429039955,
0.007772374432533979,
-0.05692785978317261,
0.07699345052242279,
-0.09278163313865662,
0.024847256019711494,
-0.01401461660861969,
-0.010589208453893661,
-0.012771384790539742,
0.018865831196308136,
-0.010989128611981869,
0.023195408284664154,
0.044339049607515335,
-0.00902430061250925,
-0.00723769748583436,
0.03183717653155327,
-0.03188933804631233,
-0.0014290648978203535,
-0.0023212796077132225,
0.0012606199597939849,
-0.012562730349600315,
0.011232558637857437,
0.03181978687644005,
0.05000749230384827,
0.003631889820098877,
-0.04058327153325081,
0.029055118560791016,
-0.00738114770501852,
0.03700137138366699,
-0.015475197695195675,
-0.0008666762732900679,
-0.003999208100140095,
-0.022430341690778732,
0.03884448483586311,
-0.0031102539505809546,
0.09312938898801804,
0.05039002373814583,
0.012806160375475883,
0.010797862894833088,
-0.0681256428360939,
-0.029350711032748222,
0.015570830553770065,
0.060196779668331146,
0.02968108095228672,
-0.026133956387639046,
0.056197572499513626,
-0.03543646261096001,
0.0278379675000906,
0.0041404846124351025,
-0.0045990897342562675,
-0.036097202450037,
0.0033319490030407906,
0.023004142567515373,
-0.02841176651418209,
-0.03884448483586311,
0.017579128965735435,
0.035401687026023865,
0.06228332221508026,
-0.002951589645817876,
-0.030654801055788994,
0.0005191906820982695,
-0.03362812474370003,
-0.010789168067276478,
0.025021133944392204,
0.03644495829939842,
0.016692347824573517,
-0.021404458209872246,
0.05192015692591667,
0.014431925490498543,
0.02769886516034603,
0.012849629856646061,
-0.012284524738788605,
0.032654404640197754,
-0.06916891783475876,
0.011536846868693829,
-0.02533411607146263,
0.03585377335548401,
0.0327761210501194,
0.012362769804894924,
-0.033071715384721756,
0.03512348234653473,
-0.02018730714917183,
0.02491680718958378,
-0.01999604143202305,
0.09744157642126083,
-0.003351510502398014,
0.02952459082007408,
0.05741472169756889,
0.04277414083480835,
0.01750957779586315,
-0.02130013145506382,
0.06996876001358032,
-0.01375379879027605,
0.022638997063040733,
0.0174661073833704,
-0.005898832343518734,
-0.03515825793147087,
-0.0389140360057354,
0.0020463340915739536,
0.02383875846862793,
0.028724748641252518,
-0.049068547785282135,
-0.06523925811052322,
-0.02091759815812111,
-0.043956514447927475,
0.004062239080667496,
0.0036101548466831446,
0.028637809678912163,
-0.013866820372641087,
-0.023717043921351433,
-0.03548862785100937,
-0.010415329597890377,
0.025907915085554123,
-0.003621022216975689,
0.036097202450037,
-0.007472433615475893,
-0.03498438000679016,
0.010789168067276478,
0.0091894855722785,
0.016431529074907303,
-0.033367305994033813,
0.0014464528067037463,
-0.05901440605521202,
-0.0010535957990214229,
0.02241295389831066,
0.014292823150753975,
0.024882031604647636,
-0.009502466768026352,
-0.00366449193097651,
0.050494350492954254,
-0.06850817799568176,
0.03390633314847946,
-0.026464326307177544,
0.06478717178106308,
0.01857023686170578,
-0.03606242686510086,
-0.0064813257195055485,
-0.04548664763569832,
-0.01857023686170578,
-0.095424585044384,
0.03679271787405014,
0.04242638498544693,
-0.03727957606315613,
-0.04475635662674904,
0.06475239992141724,
0.022430341690778732,
0.024621212854981422,
-0.006255283486098051,
-0.03002883866429329,
0.032532691955566406,
-0.06169213354587555,
-0.022899813950061798,
0.054354459047317505,
0.0036253691650927067,
0.03581899777054787,
-0.0034732255153357983,
-0.044512927532196045,
0.020430738106369972,
0.052511345595121384,
-0.03404543548822403,
-0.010458799079060555,
0.008937360718846321,
-0.01855284906923771,
-0.06690849363803864,
0.010676147416234016,
-0.0035992874763906,
0.007876701653003693,
-0.06409166008234024,
0.01502311322838068,
0.05077255889773369,
-0.007315943017601967,
-0.0008525486337020993,
0.0021528347861021757,
0.035592954605817795,
0.015570830553770065,
0.0494510792195797,
-0.050320472568273544,
0.01054573804140091,
-0.0670475959777832,
-0.01964828372001648,
-0.025803588330745697,
0.006359610706567764,
0.05814501270651817,
-0.00005990661884425208,
0.010597902350127697,
0.0702817365527153,
-0.010893495753407478,
0.02660342864692211,
0.051607176661491394,
0.02766408957540989,
-0.04840780794620514,
-0.024655988439917564,
0.004629518371075392,
0.09062553942203522,
0.013823350891470909,
-0.053971923887729645,
-0.008963443338871002,
-0.04385218769311905,
-0.05692785978317261,
0.010884801857173443,
-0.0020843700040131807,
-0.017170513048768044,
0.025368891656398773,
0.03661883622407913,
0.12261920422315598,
-0.019891714677214622,
0.013710329309105873,
0.01586642488837242,
-0.02823788858950138,
0.056719206273555756,
0.0262208953499794,
-0.015005725435912609,
0.038148969411849976,
0.03079390339553356,
0.006211814004927874,
-0.019561344757676125,
-0.05282432585954666,
0.002438647672533989,
-0.03957477584481239,
0.009798060171306133,
-0.05098121240735054,
0.025368891656398773,
0.032515302300453186,
-0.04020073637366295,
0.005950995720922947,
0.0030819985549896955,
0.01895277015864849,
-0.011545540764927864,
0.022273851558566093,
-0.010841332376003265,
0.0524417906999588,
0.0018507206114009023,
0.08214025944471359,
-0.019770000129938126,
-0.02910728193819523,
0.010971740819513798,
0.058701422065496445,
-0.041452664881944656,
-0.006307446863502264,
0.0462169386446476,
0.06496105343103409,
0.019961265847086906,
-0.017979050055146217,
0.006863858550786972,
-0.01020667515695095,
-0.03901836276054382,
-0.09945857524871826,
0.014953561127185822,
0.009780672378838062,
0.0127366092056036,
-0.052719999104738235,
0.012684445828199387,
0.01164986751973629,
0.014571028761565685,
0.03350641205906868,
0.04075714945793152,
0.04218295216560364,
-0.04228728264570236,
-0.08220981061458588,
0.0342714749276638,
-0.029055118560791016,
-0.08485276997089386,
0.004401302430778742,
0.012136727571487427,
-0.00664651021361351,
-0.006007506512105465,
-0.008859115652740002,
0.027942294254899025,
0.00010446301894262433,
-0.00014426492271013558,
-0.01926575042307377,
0.051085539162158966,
0.06683894246816635,
0.04499978572130203,
0.008946055546402931,
-0.04093102738261223,
0.008515705354511738,
0.004851213656365871,
0.019248362630605698,
0.002247381256893277,
0.008593951351940632,
0.009485078975558281,
0.022986754775047302,
0.025977466255426407,
0.011154313571751118,
0.03079390339553356,
0.05880574882030487,
0.056684430688619614,
-0.07400274276733398,
0.017874721437692642,
0.00550325820222497,
-0.008846075274050236,
0.0254732184112072,
-0.03409759700298309,
0.06976010650396347,
0.050320472568273544,
0.05240701511502266,
0.07622838765382767,
-0.041035354137420654,
0.02312585711479187,
0.059083957225084305,
0.008172295056283474,
-0.02349100261926651,
-0.06523925811052322,
-0.005468482617288828,
0.05115509033203125,
0.031054722145199776,
-0.012484485283493996,
-0.004120923113077879,
-0.06367435306310654,
0.01056312583386898,
0.00528156291693449,
0.07379408925771713,
-0.03188933804631233,
-0.04792094975709915,
-0.04698200523853302,
0.01658802106976509,
0.03166329860687256,
-0.03201105445623398,
-0.044339049607515335,
-0.04023551195859909,
0.031019946560263634,
0.04065282270312309,
-0.002122405916452408,
-0.0015518666477873921,
-0.003494960255920887,
-0.01766606792807579,
-0.028150949627161026,
-0.00007104571704985574,
-0.08005371689796448,
0.002949416171759367,
-0.004612130578607321,
0.008872156962752342,
-0.04329577833414078,
0.024447334930300713,
-0.012640975415706635,
0.01584034226834774,
0.03693182021379471,
0.026725145056843758,
0.015727320685982704,
0.04260026291012764,
-0.007533291354775429,
0.07191620022058487,
0.0139189837500453,
-0.012345382012426853,
0.036862269043922424,
-0.007885395549237728,
-0.015066582709550858,
-0.05591936409473419,
-0.00372969638556242,
-0.03383677825331688,
0.03800986707210541,
-0.027438046410679817,
0.004023116547614336,
0.012614893727004528,
-0.046877674758434296,
-0.047051556408405304,
-0.007881048135459423,
-0.013727717101573944,
0.02858564630150795,
-0.00046240846859291196,
-0.037070922553539276,
0.017926886677742004,
0.002156094880774617,
0.0025234133936464787,
-0.03364551439881325,
0.03110688552260399,
0.042356833815574646,
-0.044686805456876755,
0.026499101892113686,
0.0021952176466584206,
0.03381939232349396,
0.035592954605817795,
0.003388459561392665,
-0.03988775610923767,
-0.03564511612057686,
-0.018361583352088928,
-0.016092466190457344,
0.009667651727795601,
0.00121823709923774,
-0.03056786209344864,
0.007029043510556221,
0.045938730239868164,
0.02787274308502674,
-0.006833429913967848,
0.06558701395988464,
-0.012267136946320534,
-0.03543646261096001,
-0.0204133503139019,
0.019943878054618835,
0.04423472285270691,
-0.01028492022305727,
0.004147005267441273,
-0.04965973272919655,
-0.047086331993341446,
0.014414537698030472,
0.04173086956143379,
0.0007074686582200229,
-0.006902981083840132,
-0.017979050055146217,
-0.00946769118309021,
0.018292030319571495,
-0.03543646261096001,
-0.08805213123559952,
0.07000353187322617,
0.007402882445603609,
0.01175419520586729,
-0.07741076499223709,
-0.007676741108298302,
-0.027542373165488243,
0.05821456387639046,
-0.042878467589616776,
-0.11997625231742859,
0.119489386677742,
-0.05226791277527809,
-0.010919577442109585,
0.07212485373020172,
-0.012414933182299137,
0.04736453667283058,
0.0132147753611207,
0.035575564950704575,
0.012693139724433422,
0.02472553960978985,
0.028481317684054375,
-0.024812478572130203,
-0.015005725435912609,
-0.02204780839383602,
0.0371752493083477,
-0.07205530256032944,
-0.01966567151248455,
0.05313730612397194,
-0.017205290496349335,
-0.03095039539039135,
0.045799627900123596,
-0.0539371483027935,
0.0011845481349155307,
-0.020117755979299545,
0.029628917574882507,
0.010493574663996696,
-0.05188538134098053,
0.008328786119818687,
-0.012301912531256676,
-0.01046749297529459,
0.03242836147546768,
-0.05737994611263275,
0.011119537986814976,
-0.010528350248932838,
0.012223667465150356,
-0.028689973056316376,
-0.007576760835945606,
0.0010698968544602394,
-0.01780517026782036,
0.019370079040527344,
-0.0051902770064771175,
0.02145662158727646,
0.0021343601401895285,
-0.08054057508707047,
0.00121823709923774,
0.0393313430249691,
-0.014710131101310253,
0.0009606793755665421,
0.03936611860990524,
-0.025090685114264488,
0.05000749230384827,
0.029420262202620506,
-0.019057096913456917,
-0.0029168138280510902,
0.02855086885392666,
-0.001387768774293363,
0.005551075097173452,
0.0003914985863957554,
-0.016440223902463913,
-0.012249749153852463,
-0.046008285135030746,
-0.0013356051640585065,
0.032671794295310974,
0.005729300435632467,
0.025455830618739128,
-0.047399312257766724,
-0.02549060620367527,
0.02472553960978985,
-0.05804068222641945,
-0.010058877989649773,
-0.008511358872056007,
0.024447334930300713,
-0.04792094975709915,
0.004981622565537691,
-0.02383875846862793,
0.01257142424583435,
0.04548664763569832,
0.02091759815812111,
-0.08353129029273987,
-0.023577941581606865,
0.029628917574882507,
0.0011628132779151201,
0.03423669934272766,
0.027159839868545532,
-0.04639081656932831,
-0.009511160664260387,
-0.019561344757676125,
-0.04694722965359688,
-0.051224641501903534,
-0.018535461276769638,
0.06603910028934479,
-0.000473819236503914,
0.03042875975370407,
0.010580514557659626,
0.0320284403860569,
0.023160632699728012,
-0.010797862894833088,
0.005181583110243082,
0.05247657001018524,
-0.008850421756505966,
-0.06784743815660477,
-0.0034406231716275215,
0.06151825562119484,
0.02382137067615986,
-0.037244800478219986,
0.0025408014189451933,
0.013606002554297447,
-0.025751423090696335,
0.010623984038829803,
0.017074881121516228,
0.03880970925092697,
-0.007363759446889162,
-0.03641018271446228,
0.002627740614116192,
0.0037340433336794376,
0.04374786093831062,
-0.027038125321269035,
0.048686012625694275,
0.002503852127119899,
-0.023264959454536438
] |
9,690 | cloudscraper | decodeBrotli | null | def decodeBrotli(self, resp):
if requests.packages.urllib3.__version__ < '1.25.1' and resp.headers.get('Content-Encoding') == 'br':
if self.allow_brotli and resp._content:
resp._content = brotli.decompress(resp.content)
else:
logging.warning(
f'You\'re running urllib3 {requests.packages.urllib3.__version__}, Brotli content detected, '
'Which requires manual decompression, '
'But option allow_brotli is set to False, '
'We will not continue to decompress.'
)
return resp
| (self, resp) | [
0.06290686875581741,
-0.015405217185616493,
-0.07866037636995316,
0.02400534600019455,
-0.0312390998005867,
0.012833215296268463,
-0.007421295624226332,
0.025612847879529,
-0.010779186151921749,
-0.013315465301275253,
0.039223022758960724,
0.054297808557748795,
-0.08144671469926834,
-0.019772261381149292,
-0.0002076355303870514,
0.006371954921633005,
-0.03259654715657234,
0.04058046638965607,
0.0000856077967910096,
-0.0006642104126513004,
-0.05633397400379181,
0.011457908898591995,
-0.02609509788453579,
0.0993792787194252,
-0.007555254269391298,
-0.015253397636115551,
-0.027113182470202446,
-0.019164983183145523,
-0.018682733178138733,
0.057834308594465256,
0.04933241754770279,
-0.0060772462747991085,
-0.02211206778883934,
-0.005845051724463701,
-0.03175707161426544,
0.04218796640634537,
0.04926097020506859,
0.010198700241744518,
-0.020522428676486015,
-0.023130152374505997,
-0.04940386116504669,
-0.006854205392301083,
0.02509487420320511,
-0.029720906168222427,
0.013940605334937572,
-0.006715781521052122,
0.007497205398976803,
0.002375529147684574,
-0.04090196639299393,
-0.023612402379512787,
0.02898859977722168,
-0.009394949302077293,
0.026952432468533516,
-0.029970960691571236,
0.07337348163127899,
-0.0024849283508956432,
-0.0416521355509758,
0.08194682002067566,
0.030846156179904938,
0.04543869197368622,
-0.02018306590616703,
-0.04422413557767868,
-0.05583386495709419,
-0.03525785356760025,
-0.00968965794891119,
0.05865592136979103,
0.03538288176059723,
-0.04329535737633705,
-0.03281087800860405,
0.0003915492561645806,
-0.020004455000162125,
0.019807983189821243,
-0.0384371317923069,
0.052118752151727676,
0.007992851547896862,
-0.03868718817830086,
0.01909353770315647,
-0.05544092133641243,
-0.026202265173196793,
0.01712881587445736,
0.018307648599147797,
-0.013074340298771858,
0.09795038402080536,
-0.010591644793748856,
-0.020254511386156082,
-0.09180615842342377,
0.09516405314207077,
-0.021736985072493553,
0.00881892815232277,
0.04583163559436798,
-0.05261886119842529,
-0.07055142521858215,
0.007849962450563908,
0.01185978390276432,
-0.038901522755622864,
0.024755513295531273,
0.008582268841564655,
0.0015583827625960112,
-0.015289119444787502,
-0.03965168818831444,
0.018396954983472824,
0.06526453793048859,
-0.08187537640333176,
-0.0399731881916523,
0.027273932471871376,
0.03132840618491173,
-0.01552131399512291,
-0.04079480096697807,
-0.0335431843996048,
-0.06772936880588531,
0.01886134408414364,
0.041187744587659836,
-0.012895729392766953,
0.027684736996889114,
-0.019611511379480362,
-0.00877427589148283,
-0.03593657538294792,
-0.04286669194698334,
-0.03056037798523903,
0.054940808564424515,
-0.014119216240942478,
-0.01845053769648075,
0.008403657004237175,
-0.00471533602103591,
0.000582719047088176,
0.06915826350450516,
-0.016950203105807304,
-0.029899517074227333,
0.062013812363147736,
0.08501893281936646,
0.026345154270529747,
0.009895061142742634,
-0.03943735361099243,
0.01248492393642664,
0.01680731400847435,
0.005045766476541758,
-0.051475752145051956,
0.005679836496710777,
0.0096271438524127,
0.015574897639453411,
0.007760656997561455,
-0.0015371727058663964,
0.059441812336444855,
-0.003279748372733593,
-0.05126141756772995,
-0.009082379750907421,
0.03290018439292908,
-0.037686966359615326,
-0.028559932485222816,
-0.010520200245082378,
0.03807990998029709,
0.0033958456479012966,
0.026470180600881577,
0.021415483206510544,
-0.009287782944738865,
0.05018974840641022,
-0.02175484597682953,
0.06833665072917938,
-0.028559932485222816,
0.03595443814992905,
0.03466843441128731,
0.004509932827204466,
0.004657287150621414,
-0.008265233598649502,
0.03715113177895546,
-0.04904663935303688,
0.045295801013708115,
-0.001675596460700035,
-0.008975213393568993,
0.037258297204971313,
-0.020290233194828033,
0.031149795278906822,
-0.05319041758775711,
0.01455681398510933,
0.05519086495041847,
0.07165881991386414,
-0.0007579813245683908,
0.00810001790523529,
0.00617994787171483,
-0.012118770740926266,
-0.020558150485157967,
0.0031056024599820375,
-0.014512160792946815,
-0.0009338017553091049,
0.00985040795058012,
0.0032998421229422092,
0.025755736976861954,
0.019432900473475456,
0.03191782161593437,
-0.015190883539617062,
-0.005215447396039963,
0.028399182483553886,
0.04622458294034004,
-0.054619308561086655,
-0.03936590999364853,
-0.006014732643961906,
0.009394949302077293,
-0.017343148589134216,
0.04093768820166588,
-0.043081022799015045,
-0.014083493500947952,
-0.023737430572509766,
0.012449201196432114,
0.02625584788620472,
-0.02943512797355652,
0.045045748353004456,
-0.021093983203172684,
0.007470414042472839,
-0.01909353770315647,
0.012511715292930603,
-0.04290241375565529,
0.021201150491833687,
-0.028738543391227722,
-0.06297831237316132,
-0.008930560201406479,
-0.025862902402877808,
-0.06162086874246597,
-0.01857556588947773,
0.056262530386447906,
-0.026309430599212646,
0.0096271438524127,
-0.02021878957748413,
-0.02175484597682953,
0.022362124174833298,
-0.020004455000162125,
0.023058706894516945,
0.0025072549469769,
-0.004050008952617645,
-0.026523765176534653,
0.02496984787285328,
-0.03014957159757614,
-0.0005531365750357509,
0.017343148589134216,
0.009439602494239807,
0.071980319917202,
-0.01340477168560028,
0.021808428689837456,
0.015896398574113846,
-0.04097341001033783,
0.0035811548586934805,
0.03915157541632652,
-0.011243575252592564,
0.010270144790410995,
0.0320071280002594,
-0.07644559442996979,
0.047296248376369476,
0.03641882538795471,
0.04175930097699165,
-0.04579591378569603,
0.00546996807679534,
-0.03854430094361305,
-0.03641882538795471,
0.025612847879529,
-0.01612859219312668,
0.023951763287186623,
-0.11002450436353683,
-0.009975436143577099,
-0.10752394795417786,
0.052368808537721634,
0.0007200264371931553,
-0.003197140758857131,
-0.07508815079927444,
-0.008466171100735664,
0.04425985738635063,
0.007331990171223879,
0.014565744437277317,
0.005465502850711346,
-0.0038937244098633528,
0.030667545273900032,
0.055869586765766144,
0.07430226355791092,
-0.06747931241989136,
0.0018251832807436585,
-0.041509244590997696,
0.017441384494304657,
0.027595432475209236,
0.018629148602485657,
0.004617099650204182,
0.011181062087416649,
0.02086178958415985,
0.01857556588947773,
-0.012779631651937962,
0.0312390998005867,
-0.016592981293797493,
0.019629372283816338,
0.023380206897854805,
-0.027488265186548233,
0.014440716244280338,
0.0055682044476270676,
0.019432900473475456,
0.001745924586430192,
0.0007261661812663078,
-0.0022225931752473116,
-0.04033041000366211,
0.03590085357427597,
0.06340698152780533,
0.004826968070119619,
-0.009314574301242828,
0.021701261401176453,
-0.003411474172025919,
-0.08551904559135437,
-0.047867804765701294,
0.06847953796386719,
0.03088187798857689,
-0.03272157534956932,
-0.023290902376174927,
0.0336146280169487,
-0.034632712602615356,
-0.02529134787619114,
0.036525990813970566,
0.07162309437990189,
0.05093991756439209,
0.031381990760564804,
-0.018164759501814842,
-0.05222591757774353,
0.0029805744998157024,
0.02162981778383255,
0.07494526356458664,
-0.00978789385408163,
0.008966282941401005,
-0.03197140619158745,
-0.06258536875247955,
-0.01822727359831333,
0.01328867394477129,
0.05054697394371033,
0.013431563042104244,
0.039258744567632675,
-0.011975881643593311,
0.04676041379570961,
0.05837014317512512,
0.015601688995957375,
0.018039731308817863,
-0.04286669194698334,
-0.015271258540451527,
0.060692090541124344,
-0.04068763181567192,
0.003063182346522808,
-0.022004900500178337,
0.03056037798523903,
-0.11081039160490036,
0.02246928960084915,
-0.060334865003824234,
0.019236426800489426,
0.03311451897025108,
0.000049466932978248224,
0.01443178579211235,
0.003337797010317445,
0.02327304147183895,
-0.003632505424320698,
0.037972744554281235,
-0.02037953957915306,
-0.07594548910856247,
0.019486483186483383,
0.06358559429645538,
-0.05319041758775711,
0.015226605348289013,
-0.01351193804293871,
0.013753063045442104,
0.011386464349925518,
0.017843259498476982,
0.030042406171560287,
-0.0032417934853583574,
-0.014387132599949837,
0.04161641374230385,
-0.048868026584386826,
-0.02738109789788723,
-0.06501448154449463,
0.00449207192286849,
0.08680504560470581,
0.022344263270497322,
0.020272372290492058,
0.031149795278906822,
-0.01934359408915043,
0.008890372700989246,
0.01748603768646717,
-0.013922743499279022,
-0.0021589628886431456,
-0.02943512797355652,
0.0014154937816783786,
0.054655030369758606,
0.011824062094092369,
0.010984589345753193,
-0.035561490803956985,
-0.030971184372901917,
0.009341366589069366,
-0.00877427589148283,
-0.022933678701519966,
-0.015699924901127815,
-0.010663089342415333,
-0.04422413557767868,
-0.00948425568640232,
-0.027684736996889114,
0.04354541376233101,
-0.007443622220307589,
-0.04547441378235817,
-0.025362791493535042,
0.0012335337232798338,
0.014038841240108013,
0.05922747775912285,
0.0027617758605629206,
-0.0043804398737847805,
0.03900868818163872,
0.004585842601954937,
0.006617545150220394,
-0.009859338402748108,
0.023326624184846878,
0.05068986117839813,
0.015432008542120457,
-0.00914489384740591,
0.004163873847573996,
0.008171462453901768,
-0.04429557919502258,
0.019450761377811432,
-0.08101804554462433,
-0.04058046638965607,
0.05126141756772995,
-0.0352221317589283,
-0.01351193804293871,
-0.018343370407819748,
-0.014628258533775806,
0.05354763939976692,
0.03983030095696449,
0.03743690997362137,
-0.04586735740303993,
-0.038615744560956955,
0.023005124181509018,
0.04993969574570656,
-0.0060102674178779125,
-0.047260526567697525,
-0.04000891000032425,
0.030685406178236008,
-0.03686535358428955,
0.002404553350061178,
-0.07215892523527145,
0.02947084978222847,
-0.007461483124643564,
-0.05319041758775711,
0.037294019013643265,
-0.013270813040435314,
0.01487831398844719,
0.009671797044575214,
0.03559721261262894,
-0.03549004718661308,
0.005349405575543642,
0.06222814694046974,
0.026398736983537674,
-0.007760656997561455,
0.022576456889510155,
0.018361233174800873,
-0.026148680597543716,
-0.01861128769814968,
0.001706853392533958,
0.010421964339911938,
0.00138981849886477,
-0.004471978172659874,
0.005563739221543074,
0.051725804805755615,
0.003576689399778843,
-0.03543646261096001,
0.06572892516851425,
-0.0021667771507054567,
-0.037294019013643265,
0.03390040621161461,
-0.030488934367895126,
-0.02754184789955616,
-0.007041746750473976,
0.00926992204040289,
0.02496984787285328,
-0.00946639385074377,
0.015896398574113846,
-0.0689082071185112,
-0.036329519003629684,
0.06304975599050522,
-0.008015178143978119,
-0.0036749255377799273,
0.017843259498476982,
0.04643891379237175,
0.008309886790812016,
0.01093993615359068,
-0.0015740112867206335,
-0.03373965620994568,
-0.030971184372901917,
0.008077692240476608,
-0.04386691376566887,
-0.011743687093257904,
-0.06908681243658066,
-0.03132840618491173,
0.007506136316806078,
0.06308548152446747,
0.010886353440582752,
-0.02709531970322132,
0.043402522802352905,
-0.029899517074227333,
0.02847062610089779,
0.0065996842458844185,
-0.008542081341147423,
-0.04361685737967491,
-0.02062959410250187,
0.013645896688103676,
-0.06958692520856857,
0.0014534486690536141,
-0.04561730474233627,
-0.012717118486762047,
-0.08551904559135437,
0.017691440880298615,
-0.0991649404168129,
0.001467960886657238,
-0.038294244557619095,
0.00476445397362113,
0.00818039383739233,
-0.07180170714855194,
0.03715113177895546,
0.044652801007032394,
-0.018504122272133827,
-0.05858447775244713,
0.0384371317923069,
-0.030667545273900032,
0.02895287796854973,
-0.00930564384907484,
0.020397400483489037,
0.06154942139983177,
0.011690103448927402,
0.04354541376233101,
-0.005077023524791002,
0.030506795272231102,
0.013422632589936256,
-0.007649024948477745,
-0.07062286883592606,
-0.000765795586630702,
-0.03940163180232048,
-0.0449385792016983,
-0.034596990793943405,
0.022129928693175316,
-0.01763785630464554,
0.0035097103100270033,
0.016467953100800514,
-0.009323504753410816,
0.010752394795417786,
-0.08116093277931213,
-0.07215892523527145,
0.01728956587612629,
0.007881219498813152,
0.025219902396202087,
-0.020897511392831802,
-0.04936813935637474,
0.028524210676550865,
-0.04747486114501953,
0.06697920709848404,
0.0005877424846403301,
0.011484701186418533,
-0.05093991756439209,
-0.0036347380373626947,
0.014833660796284676,
-0.03323954716324806,
-0.04458135738968849,
0.004409464076161385,
-0.02432684600353241,
0.03518640995025635,
0.023487374186515808,
-0.008671574294567108,
0.036686740815639496,
0.021772706881165504,
-0.010493408888578415,
0.030488934367895126,
0.023701706901192665,
0.0624781996011734,
0.031096212565898895,
0.018307648599147797,
-0.010341589339077473,
-0.05090419575572014,
0.07298053801059723,
-0.03386468440294266,
0.04736769199371338,
0.046653248369693756,
0.08794815838336945,
0.008658178150653839,
0.024058930575847626,
0.00827416405081749,
0.030006682500243187,
-0.022326400503516197,
-0.01219914574176073,
-0.02927437797188759,
-0.01982584409415722,
-0.03750835359096527,
0.006461260374635458,
-0.06308548152446747,
-0.014842591248452663,
-0.0011073894565925002,
0.04893947020173073,
0.009060054086148739,
-0.011949090287089348,
0.0038289777003228664,
-0.011672242544591427,
-0.0735878199338913,
0.038972966372966766,
0.045045748353004456,
-0.06301403790712357,
0.004000891000032425,
-0.09087738394737244,
0.034239768981933594,
0.03750835359096527,
0.0066130799241364,
-0.015235535800457,
-0.009519977495074272,
0.016664426773786545,
0.03386468440294266,
-0.04890374839305878,
-0.03297162801027298,
0.01787005178630352,
-0.0018977441359311342,
-0.013708410784602165,
-0.02545209787786007,
0.004221922252327204,
0.0007752843084745109,
-0.02532706968486309,
-0.034757740795612335,
-0.028041960671544075,
0.009546768851578236,
-0.02150478959083557,
-0.02525562420487404,
0.025237763300538063,
0.012395617552101612,
0.012601020745933056,
0.04511719197034836,
-0.04236657917499542,
0.02162981778383255,
0.02789907157421112,
0.0015963376499712467,
0.019307872280478477,
0.04129491001367569,
0.02098681777715683,
0.05326186120510101,
0.07551681995391846,
0.04604597017168999,
-0.0033779845107346773,
0.04161641374230385,
0.011958020739257336,
0.04683185741305351,
0.036204490810632706,
0.025273486971855164,
0.037615519016981125,
-0.03908013179898262,
-0.02782762609422207,
-0.003433800535276532,
-0.04747486114501953,
-0.02914934977889061,
0.05819153040647507,
0.030864017084240913,
0.03014957159757614,
-0.0327751561999321,
-0.029167210683226585,
0.02255859598517418,
0.03686535358428955,
-0.007675816770642996,
-0.032382212579250336,
-0.052690308541059494,
0.07298053801059723,
0.07162309437990189,
-0.008921629749238491,
0.010663089342415333,
0.03875863179564476,
-0.06487159430980682,
-0.0020272373221814632,
-0.037972744554281235,
0.042723800987005234,
0.02037953957915306,
-0.027881210669875145,
-0.009287782944738865,
-0.017235981300473213,
-0.06022769957780838,
0.03581154718995094,
-0.003206071211025119,
-0.0768028199672699,
-0.03911585360765457,
-0.01645009219646454,
0.018789898604154587,
-0.06544315069913864,
-0.029542293399572372,
0.05383341759443283,
0.02471979148685932,
0.008952886797487736,
0.0026300500612705946,
-0.04454563558101654,
0.06772936880588531,
-0.030774710699915886,
0.022022761404514313,
-0.02439829148352146,
-0.0017972752684727311,
-0.03904440999031067,
-0.10209416598081589,
0.033436018973588943,
0.043331079185009,
0.0032373282592743635,
0.009278852492570877,
-0.0008835673215799034,
0.04972536116838455,
-0.0013273045187816024,
-0.003907120320945978,
0.038580022752285004,
0.05515514314174652,
0.013252952136099339,
-0.07465948909521103,
-0.0013440493494272232,
0.039294466376304626,
-0.002585397334769368,
0.0216655395925045,
-0.034632712602615356,
-0.04422413557767868,
-0.056226808577775955,
-0.002050679875537753,
-0.011627589352428913,
0.07816026359796524,
-0.036686740815639496,
-0.023951763287186623,
-0.0200580395758152,
0.01503906399011612,
-0.0640142560005188,
0.0018408118048682809,
0.0030274600721895695,
-0.003123463597148657,
-0.07930337637662888,
0.00656396197155118,
0.0020741226617246866,
0.11423972994089127,
0.021379761397838593,
-0.00871176179498434,
-0.009761102497577667,
0.03493635356426239,
-0.03904440999031067,
0.01606607809662819,
0.04736769199371338,
0.02034381590783596,
-0.045331526547670364,
0.0005118327680975199,
-0.05704842135310173,
-0.03661529719829559,
-0.007916942238807678,
0.0384371317923069,
0.02548781968653202,
-0.006470191292464733,
0.023487374186515808,
-0.016191106289625168,
-0.023987485095858574,
0.04936813935637474,
-0.04043757915496826,
-0.00968965794891119,
-0.044045522809028625,
0.013244020752608776,
0.009957575239241123,
0.03786557540297508,
-0.006510378792881966,
-0.03918730095028877,
-0.0070238858461380005,
0.08151815831661224,
0.040866244584321976,
-0.0022705949377268553,
-0.038222797214984894,
0.02902432158589363,
-0.010162977501749992,
-0.015101578086614609,
-0.01594104990363121,
0.0005416942876763642,
0.026202265173196793,
-0.018262995406985283,
-0.021486928686499596,
-0.032346490770578384,
-0.012431340292096138,
0.010948867537081242
] |
9,691 | requests.sessions | delete | Sends a DELETE request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
| def delete(self, url, **kwargs):
r"""Sends a DELETE request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
"""
return self.request("DELETE", url, **kwargs)
| (self, url, **kwargs) | [
-0.012414383701980114,
-0.01399204507470131,
-0.0025044293142855167,
-0.024811524897813797,
-0.0037846628110855818,
0.03448439761996269,
-0.08207286894321442,
0.05493364483118057,
-0.01984577067196369,
0.05265767499804497,
0.011267777532339096,
-0.013414431363344193,
0.012879922986030579,
0.008659894578158855,
0.03793283924460411,
-0.06562381237745285,
0.01617318205535412,
-0.007810716051608324,
0.03989844769239426,
-0.08407296240329742,
0.022052772343158722,
0.07931411266326904,
0.0031079063192009926,
-0.01590592786669731,
-0.012155750766396523,
0.0023643365129828453,
0.004342878703027964,
0.013181661255657673,
0.00960390456020832,
0.004487282130867243,
-0.004741604905575514,
0.06052011996507645,
-0.03350159153342247,
0.03772593289613724,
-0.010828101076185703,
0.04013983905315399,
0.0157335065305233,
0.009448724798858166,
-0.0947631299495697,
0.024449437856674194,
-0.1063498854637146,
0.005521814338862896,
0.02062167041003704,
-0.0036747436970472336,
0.06014079228043556,
0.020156130194664,
-0.05038170516490936,
-0.015155892819166183,
-0.05565781891345978,
0.017276683822274208,
0.03162219375371933,
0.05958903953433037,
0.05517503619194031,
-0.049347173422575,
-0.024449437856674194,
-0.020673396065831184,
0.02486325055360794,
0.047450531274080276,
-0.04841609671711922,
0.03576032072305679,
0.03522581234574318,
0.06593416631221771,
-0.016716312617063522,
-0.00786675326526165,
-0.030415238812565804,
-0.010466014966368675,
-0.03544996306300163,
0.04376070201396942,
0.03544996306300163,
-0.01869054324924946,
0.024777039885520935,
0.009655631147325039,
0.021656202152371407,
-0.02831169031560421,
0.07303795218467712,
0.019742317497730255,
0.03965705633163452,
-0.01590592786669731,
0.00857799407094717,
-0.02782890945672989,
0.006224433891475201,
-0.0726931095123291,
0.032484304159879684,
0.021604474633932114,
0.005366634577512741,
-0.00912974402308464,
0.03717418015003204,
-0.03382919356226921,
0.0029462608508765697,
0.07441733032464981,
-0.0118798753246665,
-0.004103643354028463,
-0.06679628044366837,
-0.06052011996507645,
-0.022104499861598015,
0.0007354875560849905,
0.009405619464814663,
0.017035292461514473,
0.024949463084340096,
-0.03855355829000473,
0.07745195925235748,
-0.03810526058077812,
-0.040519166737794876,
0.00015679624630138278,
-0.023639054968953133,
-0.027622003108263016,
0.01558694802224636,
-0.06707215309143066,
-0.013017860241234303,
-0.00480195228010416,
-0.009759084321558475,
0.05917522683739662,
0.029553130269050598,
0.010517741553485394,
0.03724315017461777,
-0.04076055809855461,
-0.020966514945030212,
-0.04517456144094467,
-0.0518990196287632,
-0.025277063250541687,
-0.03934669867157936,
0.03410506993532181,
0.01399204507470131,
-0.00019181946117896587,
0.09269405901432037,
0.0171473678201437,
-0.0169663242995739,
-0.026811620220541954,
0.01408687699586153,
-0.011698831804096699,
-0.012612668797373772,
0.008685757406055927,
0.03065663017332554,
0.011759179644286633,
0.0025410691741853952,
0.02281142957508564,
0.03710521385073662,
0.013267871923744678,
-0.0012080315500497818,
0.024742554873228073,
-0.003911823965609074,
0.002797546796500683,
0.03176013007760048,
0.02343214862048626,
0.026639197021722794,
-0.032518789172172546,
-0.027587518095970154,
-0.06486514955759048,
-0.03979499638080597,
0.04896784573793411,
0.004422624129801989,
0.010500499047338963,
0.07634846121072769,
-0.04969201609492302,
-0.04682981222867966,
-0.007414145860821009,
-0.035174086689949036,
-0.031673919409513474,
-0.00856075156480074,
0.000988193554803729,
0.05893383547663689,
0.06217537075281143,
0.02755303494632244,
-0.023173514753580093,
0.023570086807012558,
-0.028346175327897072,
0.026208141818642616,
0.02486325055360794,
-0.004694188944995403,
-0.003633793443441391,
-0.053588755428791046,
0.03993293270468712,
0.04720913991332054,
-0.024432195350527763,
0.03363953158259392,
-0.024483922868967056,
0.03136356174945831,
0.021052725613117218,
-0.00570285739377141,
-0.02691507339477539,
0.04645048454403877,
-0.035622384399175644,
0.04548492282629013,
0.028070300817489624,
0.03319123387336731,
-0.008237460628151894,
-0.002907465910539031,
0.0122678242623806,
-0.02201828919351101,
0.029070347547531128,
-0.040967464447021484,
-0.05803724378347397,
0.02844962850213051,
0.03291535750031471,
0.03276017680764198,
-0.03913979232311249,
-0.028294449672102928,
-0.04345034062862396,
0.004948511254042387,
-0.021052725613117218,
-0.039863962680101395,
0.000524540024343878,
0.0018740114755928516,
-0.036105163395404816,
-0.008931458927690983,
-0.04327791929244995,
0.044898685067892075,
-0.04262271523475647,
-0.000993581721559167,
0.025415001437067986,
0.05689925700426102,
0.008039175532758236,
0.031104927882552147,
0.007056369911879301,
-0.014078255742788315,
-0.045691829174757004,
-0.004312705248594284,
-0.033915404230356216,
0.013319598510861397,
-0.012621290050446987,
0.001951601472683251,
0.021363085135817528,
0.01570764370262623,
0.016750795766711235,
-0.004222183488309383,
0.0018869431223720312,
0.003935532178729773,
0.04531249776482582,
-0.06120980530977249,
-0.08338327705860138,
0.0034743030555546284,
0.0008362466469407082,
0.09697012603282928,
0.0215699914842844,
0.012836817651987076,
-0.06600313633680344,
-0.07379661500453949,
0.0011347521794959903,
0.0019753093365579844,
-0.04669187590479851,
0.034553367644548416,
0.007013264577835798,
0.041588183492422104,
0.05227834731340408,
0.017224956303834915,
0.04293307662010193,
0.00017309551185462624,
0.07690020650625229,
-0.00743569852784276,
-0.08069349080324173,
-0.0028471180703490973,
-0.08269358426332474,
-0.013638579286634922,
-0.019104355946183205,
0.023725265637040138,
0.024483922868967056,
0.012707500718533993,
0.05852002277970314,
-0.053588755428791046,
0.02865653485059738,
-0.05803724378347397,
0.011345366947352886,
0.013698927126824856,
0.02672540955245495,
0.040519166737794876,
0.008711621165275574,
0.019225051626563072,
0.010190139524638653,
0.0031725645530968904,
0.014155845157802105,
0.003461371408775449,
0.0013416586443781853,
0.0472436249256134,
-0.05620956793427467,
-0.02281142957508564,
-0.01745772734284401,
-0.030949747189879417,
-0.06272712349891663,
0.050278253853321075,
-0.04134679213166237,
0.018914692103862762,
-0.047105688601732254,
0.0449676550924778,
-0.028363417834043503,
-0.01588006503880024,
0.03148425742983818,
0.017078397795557976,
0.09345272183418274,
0.043346889317035675,
0.04920923709869385,
0.046519454568624496,
-0.004905405454337597,
-0.012181613594293594,
0.020863061770796776,
-0.026052962988615036,
0.019535411149263382,
-0.03551892936229706,
0.07979689538478851,
0.017828434705734253,
0.06493411958217621,
0.002310454612597823,
0.0005312752327881753,
0.015164514072239399,
-0.012836817651987076,
-0.038139745593070984,
-0.02186310850083828,
0.06465824693441391,
0.01812155172228813,
0.010914311744272709,
-0.019776802510023117,
0.012621290050446987,
0.006120980717241764,
-0.05620956793427467,
0.0026811619754880667,
-0.041760604828596115,
0.03758799284696579,
-0.030139364302158356,
-0.015311072580516338,
-0.02801857329905033,
0.0015873599331825972,
0.006258918438106775,
0.010164276696741581,
0.008681447245180607,
0.04951959475874901,
-0.002676851348951459,
-0.05365772545337677,
0.03291535750031471,
0.0362086184322834,
-0.0215699914842844,
0.0065218620002269745,
0.021363085135817528,
0.05386463180184364,
-0.048209190368652344,
-0.06076151132583618,
-0.049967892467975616,
-0.051174845546483994,
0.07103785872459412,
0.0011509167961776257,
0.03426025062799454,
0.07193445414304733,
-0.03415679559111595,
0.0070779225789010525,
0.024156320840120316,
0.00856075156480074,
-0.04558837413787842,
-0.01917332597076893,
-0.004114419687539339,
-0.009784948080778122,
0.06248572841286659,
-0.023501116782426834,
0.05641647428274155,
0.041484732180833817,
0.02294936776161194,
0.006737389136105776,
0.02188035100698471,
-0.00037097668973729014,
0.04738156497478485,
-0.013293735682964325,
-0.03507063165307045,
-0.035622384399175644,
-0.03686382248997688,
-0.004457108676433563,
-0.035622384399175644,
-0.00018979889864567667,
-0.03512236103415489,
-0.07621052116155624,
0.04041571542620659,
-0.06400304287672043,
-0.04824367165565491,
0.015354177914559841,
-0.013500642031431198,
0.023759750649333,
-0.005504572298377752,
0.04634702950716019,
0.028604809194803238,
0.01235403586179018,
-0.017087019979953766,
-0.06565829366445541,
0.008297808468341827,
0.01793188787996769,
-0.05865796282887459,
-0.033449865877628326,
0.0021110917441546917,
-0.015974897891283035,
0.007590878289192915,
-0.002700559329241514,
0.006871016230434179,
0.029311738908290863,
-0.04734707996249199,
0.04117437079548836,
0.062209855765104294,
-0.027346128597855568,
-0.023242484778165817,
0.0008319361368194222,
-0.0374845415353775,
-0.02707025222480297,
-0.03965705633163452,
-0.0035497378557920456,
-0.02455289103090763,
0.025242580100893974,
0.03882943093776703,
0.06627901643514633,
-0.07365867495536804,
0.028742745518684387,
0.018845723941922188,
0.015638675540685654,
-0.016319742426276207,
-0.058623477816581726,
0.03315674886107445,
-0.06814116984605789,
-0.007797784637659788,
-0.009681494906544685,
0.003235067706555128,
0.049312688410282135,
0.05645095929503441,
0.030415238812565804,
-0.027277158573269844,
0.030949747189879417,
0.006513240747153759,
-0.009241818450391293,
0.028397902846336365,
0.014974850229918957,
0.029173800721764565,
-0.012250582687556744,
0.02926001138985157,
0.014845533296465874,
-0.017207715660333633,
0.0007117795175872743,
0.0367603674530983,
-0.0037070729304105043,
-0.02093202993273735,
-0.056244052946567535,
-0.011724695563316345,
-0.02122514694929123,
-0.018759513273835182,
0.05965800955891609,
-0.011233292520046234,
-0.0029225528705865145,
0.00755639374256134,
0.01511278748512268,
-0.04631254822015762,
0.00020717580628115684,
-0.022432101890444756,
-0.02106996811926365,
0.01967334933578968,
0.00276952818967402,
0.03682933747768402,
-0.05131278559565544,
0.036725882440805435,
-0.012095402926206589,
0.03065663017332554,
0.035622384399175644,
0.050726551562547684,
-0.023811476305127144,
-0.02500118874013424,
-0.062382277101278305,
-0.030708355829119682,
0.003416110761463642,
-0.031087685376405716,
-0.00974184274673462,
0.06921018660068512,
0.037656962871551514,
-0.05258870869874954,
-0.055933695286512375,
-0.04393312335014343,
0.049623049795627594,
0.017673254013061523,
0.013095450587570667,
0.037208665162324905,
-0.014388615265488625,
-0.03482924401760101,
0.03141528740525246,
-0.04717465862631798,
0.03377746790647507,
-0.04296756163239479,
0.060002852231264114,
0.030432481318712234,
-0.003545427229255438,
0.03424300625920296,
-0.0031467012595385313,
0.038450103253126144,
-0.007103785872459412,
0.002905310597270727,
-0.011621242389082909,
0.0004604205896612257,
0.029553130269050598,
-0.015931792557239532,
0.02674265019595623,
0.06352026015520096,
-0.032639484852552414,
0.044933170080184937,
-0.013414431363344193,
0.003478613682091236,
-0.07855545729398727,
0.015086924657225609,
-0.005375255364924669,
-0.10138413310050964,
-0.061589136719703674,
-0.024742554873228073,
-0.018276730552315712,
0.011009144596755505,
0.02500118874013424,
0.011819527484476566,
0.031035957857966423,
-0.005810621194541454,
-0.027415096759796143,
0.051519691944122314,
0.09234921634197235,
0.0034484397619962692,
-0.007771921344101429,
-0.07490011304616928,
0.06600313633680344,
0.019863013178110123,
0.04510559141635895,
0.05376117676496506,
-0.006258918438106775,
-0.03841561824083328,
-0.020828576758503914,
0.028984136879444122,
0.018293973058462143,
0.048381611704826355,
0.07565876841545105,
-0.001592748099938035,
0.029829004779458046,
-0.03962257504463196,
-0.01155227329581976,
0.016268014907836914,
0.026052962988615036,
0.039863962680101395,
0.0732448622584343,
0.061106353998184204,
0.012854059226810932,
-0.017811192199587822,
-0.016793901100754738,
0.025104641914367676,
-0.008302118629217148,
-0.08421090245246887,
-0.0246735867112875,
0.03724315017461777,
0.02344939112663269,
0.011267777532339096,
0.023845961317420006,
0.011966085992753506,
-0.003771731164306402,
-0.12069539725780487,
0.0330188125371933,
0.046484969556331635,
-0.002314765239134431,
0.015949035063385963,
0.041622668504714966,
-0.010526362806558609,
-0.002857894403859973,
0.05241628363728523,
-0.06686525046825409,
0.008776279166340828,
0.08593512326478958,
-0.029846247285604477,
-0.041139885783195496,
0.034553367644548416,
-0.05510606989264488,
-0.02844962850213051,
-0.02281142957508564,
0.03731212019920349,
0.04627806320786476,
0.018621575087308884,
0.015474873594939709,
0.04641599953174591,
-0.012060917913913727,
-0.012035055086016655,
-0.072968989610672,
-0.021759655326604843,
0.008513336069881916,
0.021276874467730522,
0.029277253895998,
-0.025052916258573532,
0.02877723053097725,
0.007776231970638037,
-0.07738298922777176,
0.013474778272211552,
0.004422624129801989,
-0.0010280661517754197,
0.0006428107153624296,
-0.047278109937906265,
-0.03820871189236641,
0.015595569275319576,
-0.02203552983701229,
0.025415001437067986,
-0.05131278559565544,
-0.005888211075216532,
-0.024345984682440758,
-0.010250487364828587,
0.02484600804746151,
-0.004698499105870724,
-0.007758989464491606,
-0.03479475900530815,
0.02567363530397415,
-0.013793759047985077,
-0.00743569852784276,
-0.04420899972319603,
0.050554126501083374,
0.07641742378473282,
-0.014638626947999,
0.02643229067325592,
-0.019104355946183205,
0.02184586599469185,
0.06889982521533966,
-0.04576079547405243,
-0.0459677018225193,
-0.014681732282042503,
-0.10441875457763672,
-0.027018526569008827,
-0.010034959763288498,
-0.05258870869874954,
-0.005146796349436045,
-0.03855355829000473,
-0.029156558215618134,
0.021432053297758102,
-0.0030152294784784317,
-0.04831264168024063,
-0.023397663608193398,
-0.007500356528908014,
-0.07710711658000946,
0.00921595562249422,
0.00874179508537054,
0.00003116729567409493,
0.058623477816581726,
-0.03412231057882309,
0.07490011304616928,
-0.07234826683998108,
0.01652664877474308,
-0.023087304085493088,
0.0040045008063316345,
-0.017052534967660904,
0.04120885580778122,
0.012362657114863396,
-0.07772783190011978,
-0.012871301732957363,
-0.04593321681022644,
0.003278173040598631,
0.0026208143681287766,
0.078624427318573,
0.04531249776482582,
-0.03162219375371933,
0.06621004641056061,
-0.07400351762771606,
0.007099475711584091,
0.007961585186421871,
0.006146844010800123,
0.01619042456150055,
-0.05265767499804497,
0.004987305961549282,
0.006392545532435179,
0.06438237428665161,
-0.04689878225326538,
-0.035036150366067886,
0.014698974788188934,
-0.007733126170933247,
0.032001521438360214,
-0.012448867782950401,
-0.011026386171579361,
0.02172517031431198,
-0.010043581016361713,
0.01806982420384884,
-0.036898307502269745,
-0.034053344279527664,
-0.023983899503946304,
0.0444159060716629,
-0.03917427733540535,
-0.014112739823758602,
-0.015690401196479797,
-0.047416046261787415,
0.03050144948065281,
0.024914978072047234,
0.035484444350004196,
-0.02831169031560421,
0.0041920095682144165,
-0.01454379502683878,
-0.03869149461388588,
-0.020966514945030212,
0.01588006503880024,
-0.008444366976618767,
0.028742745518684387,
0.024311501532793045,
-0.03381195291876793,
-0.025552939623594284,
0.012767848558723927,
-0.04358828067779541,
-0.0017479279777035117,
-0.05045067518949509,
0.0171473678201437,
-0.01681114360690117,
0.009207334369421005,
-0.051692113280296326,
-0.01243162527680397,
-0.007948653772473335,
0.0027285779360681772,
0.0153455575928092,
-0.008940080180764198,
0.0002828798315022141,
0.06334783881902695,
0.019104355946183205,
-0.03541547805070877,
-0.007086543831974268,
0.06862395256757736,
-0.03148425742983818,
0.04641599953174591,
0.01346615795046091,
-0.0019041853956878185,
-0.009241818450391293,
-0.0038019048515707254,
-0.008021933026611805,
-0.003845010418444872,
0.007918479852378368,
0.035312023013830185,
0.008922837674617767,
0.06738251447677612,
-0.020828576758503914,
0.0018179743783548474,
-0.008129697293043137,
0.03367401659488678,
-0.035174086689949036,
-0.017052534967660904,
0.04886439070105553,
0.027742698788642883,
-0.03948463499546051,
-0.03551892936229706,
-0.02279418706893921,
0.023087304085493088,
-0.0166473425924778,
-0.028587566688656807,
0.007871064357459545,
0.026708167046308517,
-0.041312310844659805,
-0.034846484661102295,
-0.006573588587343693,
-0.022587280720472336,
-0.014828291721642017,
-0.03113941103219986,
0.08255565166473389,
-0.008931458927690983,
-0.07234826683998108,
-0.0005043343408033252,
0.0017834899481385946,
-0.05365772545337677,
0.013897212222218513,
-0.011310882866382599,
-0.010190139524638653,
0.04013983905315399,
0.021983804181218147,
-0.04196751117706299,
-0.016483541578054428,
-0.049967892467975616,
0.0013147176941856742,
0.025380516424775124,
0.03434646129608154,
-0.0333808958530426,
-0.041588183492422104,
-0.013310978189110756,
0.020673396065831184,
0.004664015024900436,
-0.036484494805336,
0.01155227329581976,
-0.03205324709415436,
-0.014104118570685387,
-0.022587280720472336,
0.030742840841412544,
0.06272712349891663,
-0.003271707333624363
] |
9,692 | requests.sessions | get | Sends a GET request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
| def get(self, url, **kwargs):
r"""Sends a GET request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
"""
kwargs.setdefault("allow_redirects", True)
return self.request("GET", url, **kwargs)
| (self, url, **kwargs) | [
-0.022535456344485283,
-0.03734749183058739,
0.0025854939594864845,
0.018885347992181778,
0.0006226786645129323,
0.055439338088035583,
-0.06168155372142792,
-0.009892324917018414,
0.022905757650732994,
-0.019431982189416885,
0.013242666609585285,
0.00026808245456777513,
0.021583253517746925,
-0.002073023933917284,
0.07056877762079239,
-0.013762851245701313,
-0.0053693633526563644,
-0.022359123453497887,
0.057520076632499695,
-0.06912284344434738,
0.02220042236149311,
0.02184775471687317,
0.038652364164590836,
-0.012740115635097027,
-0.03300968185067177,
-0.005660314112901688,
-0.019908083602786064,
-0.016760526224970818,
0.02868950553238392,
0.02985330857336521,
0.0394282303750515,
0.012131763622164726,
-0.031934045255184174,
-0.014573986642062664,
0.003520062891766429,
0.05159526318311691,
-0.010139192454516888,
-0.010641743429005146,
-0.06852330267429352,
0.021724320948123932,
-0.03770016133785248,
-0.012828282080590725,
0.06432656198740005,
0.041755836457014084,
0.03364448621869087,
0.023223157972097397,
-0.09049449115991592,
-0.018885347992181778,
-0.05342913419008255,
-0.021689053624868393,
0.03345051780343056,
0.05730847641825676,
0.0581548810005188,
-0.07836273312568665,
-0.04866812378168106,
-0.009530840441584587,
-0.025533130392432213,
0.045529380440711975,
-0.015482105314731598,
0.045564647763967514,
0.018215278163552284,
0.05029039457440376,
0.025903431698679924,
-0.01576424017548561,
-0.056603141129016876,
-0.005193029530346394,
-0.040380433201789856,
0.0234523918479681,
0.042990174144506454,
-0.008935714140534401,
0.026397166773676872,
0.030682077631354332,
-0.03470248728990555,
-0.0032180913258343935,
0.014644520357251167,
0.003074820153415203,
-0.015887673944234848,
-0.029729874804615974,
-0.009663091041147709,
0.0008982001454569399,
-0.031422678381204605,
-0.03320365026593208,
0.0035288797225803137,
0.012290463782846928,
-0.04320177435874939,
-0.01515588816255331,
-0.0039741224609315395,
-0.04828018695116043,
0.009142906405031681,
0.07547085732221603,
-0.04394237697124481,
0.05480453744530678,
-0.035672321915626526,
-0.020225483924150467,
-0.008234787732362747,
0.01454753614962101,
-0.03036467544734478,
0.03166954591870308,
0.025815265253186226,
0.004328994080424309,
0.04616418108344078,
-0.024034293368458748,
-0.055756740272045135,
0.04108576849102974,
-0.006819708738476038,
-0.0032004581298679113,
0.002338626654818654,
-0.002905098954215646,
0.026291366666555405,
-0.0033238916657865047,
-0.036536358296871185,
0.050678327679634094,
0.05974188446998596,
0.02690853364765644,
-0.018638480454683304,
-0.0017401939257979393,
-0.02181248739361763,
-0.016831059008836746,
-0.03724169358611107,
-0.01428303588181734,
-0.07321378588676453,
0.007163559552282095,
0.08090193569660187,
-0.013083966448903084,
0.04669318348169327,
0.03071734309196472,
-0.043413374572992325,
-0.02944773994386196,
0.05258273333311081,
0.013198583386838436,
0.03293915092945099,
-0.0021005761809647083,
-0.011717379093170166,
0.06386809051036835,
-0.012510881759226322,
0.02442222833633423,
-0.0020686155185103416,
0.0571674108505249,
0.016769342124462128,
0.07067457586526871,
0.002156782429665327,
-0.029271407052874565,
0.039957232773303986,
-0.0004355995333753526,
-0.04362497478723526,
-0.02567419782280922,
0.05808434635400772,
-0.049796659499406815,
0.017800895497202873,
0.03419112041592598,
0.10086292028427124,
-0.008724113926291466,
0.0248454287648201,
-0.03295678272843361,
-0.04859758913516998,
0.009107639081776142,
-0.03122871182858944,
-0.03278044983744621,
0.021177686750888824,
0.06295115500688553,
0.00299106165766716,
0.006383282598108053,
0.01496192067861557,
-0.057096876204013824,
0.019960982725024223,
0.013419000431895256,
-0.013004615902900696,
0.022394388914108276,
0.06266902387142181,
-0.01242271438241005,
-0.05508667230606079,
0.04947925731539726,
-0.029659340158104897,
-0.05163053050637245,
0.0785037949681282,
-0.06549036502838135,
0.04066256806254387,
0.023646358400583267,
-0.05141893029212952,
0.004245235584676266,
0.03336235135793686,
-0.07758685946464539,
-0.03540782257914543,
0.03512568771839142,
0.01964358240365982,
0.0031541704665869474,
-0.007190009579062462,
-0.01259904820472002,
-0.04990245774388313,
0.06369175761938095,
-0.02824867144227028,
-0.05727320909500122,
0.016769342124462128,
-0.019079314544796944,
-0.0008954449440352619,
-0.050184592604637146,
-0.016372591257095337,
-0.0030571867246180773,
-0.002841177862137556,
0.007339893374592066,
-0.017809711396694183,
0.0008276666630990803,
0.020384185016155243,
0.00771019421517849,
0.0028720363043248653,
-0.05339386686682701,
0.02433406189084053,
-0.06154048815369606,
0.05388760194182396,
0.006237807217985392,
0.000768153986427933,
-0.0003678212233353406,
-0.02473962865769863,
-0.03297441452741623,
-0.0521242655813694,
0.022570723667740822,
0.003213683143258095,
-0.046834249049425125,
-0.05335859954357147,
-0.001128536183387041,
0.014926654286682606,
-0.04030990228056908,
-0.02347002550959587,
0.03896976262331009,
-0.032692283391952515,
0.010377242229878902,
0.011999513022601604,
-0.0025502273347228765,
-0.08964809030294418,
-0.04302544146776199,
0.012475614435970783,
-0.004897670820355415,
0.0794912651181221,
-0.005069596227258444,
-0.004258460830897093,
-0.028848204761743546,
-0.04073310270905495,
0.004117393866181374,
0.000568676448892802,
-0.014618069864809513,
0.021283486858010292,
0.0265558660030365,
0.024034293368458748,
0.06626623123884201,
-0.006982817314565182,
0.026238465681672096,
0.022041721269488335,
0.06690103560686111,
-0.03218091279268265,
-0.03383845090866089,
0.041685305535793304,
-0.0392518974840641,
0.01802131161093712,
-0.016504840925335884,
-0.024898329749703407,
-0.04161477088928223,
-0.021124785766005516,
0.023646358400583267,
-0.025409696623682976,
0.02650296688079834,
-0.028830572962760925,
0.08760262280702591,
0.008622721768915653,
0.0033393208868801594,
-0.02387559413909912,
-0.03748856112360954,
0.009857057593762875,
-0.011197194457054138,
-0.037382759153842926,
0.01715727709233761,
0.043378107249736786,
0.008481654338538647,
-0.014512269757688046,
0.016443124040961266,
-0.017280710861086845,
-0.033979520201683044,
0.042884375900030136,
-0.04835072159767151,
0.009857057593762875,
-0.04736325144767761,
-0.01369231753051281,
0.024651462212204933,
0.021071886643767357,
-0.030100176110863686,
-0.05353493243455887,
-0.018197646364569664,
0.02271179109811783,
0.07815112918615341,
0.03468485549092293,
-0.060870420187711716,
0.06672470271587372,
-0.0048756287433207035,
-0.021618520841002464,
-0.028848204761743546,
0.031070010736584663,
-0.04016883298754692,
-0.049761392176151276,
0.022517822682857513,
0.009786524809896946,
0.03031177632510662,
0.02604449912905693,
-0.06164628639817238,
-0.004159273114055395,
-0.01712200976908207,
-0.01283709891140461,
-0.025004129856824875,
0.01193779706954956,
-0.018656114116311073,
-0.006008573342114687,
-0.0016156581696122885,
0.01496192067861557,
0.01456516981124878,
-0.01518233772367239,
0.00812457874417305,
-0.09359797090291977,
0.006815300323069096,
0.012537331320345402,
0.03904029726982117,
0.016575375571846962,
0.01830344647169113,
-0.014371202327311039,
0.0007874405127950013,
0.018973514437675476,
0.02558603137731552,
-0.010967960581183434,
-0.0018988943193107843,
0.03540782257914543,
0.049373455345630646,
-0.006515533197671175,
-0.0019264464499428868,
0.024704361334443092,
0.047680653631687164,
-0.014380019158124924,
-0.0513131283223629,
-0.1110902801156044,
-0.05508667230606079,
0.022129889577627182,
-0.05677947402000427,
0.02220042236149311,
0.007882120087742805,
-0.02519809640944004,
0.002730969339609146,
0.017836160957813263,
-0.02094845287501812,
0.021089520305395126,
0.03364448621869087,
0.029641708359122276,
-0.01576424017548561,
0.010641743429005146,
-0.07293164730072021,
-0.007414835039526224,
-0.006643374916166067,
-0.039110831916332245,
0.0021325366105884314,
-0.05201846361160278,
0.0470811165869236,
0.05632100626826286,
-0.022341489791870117,
-0.02985330857336521,
-0.025797631591558456,
-0.057484809309244156,
-0.0011615987168624997,
-0.06411495804786682,
0.005193029530346394,
-0.07645832747220993,
-0.04954979196190834,
0.05378179997205734,
-0.047645386308431625,
-0.02994147501885891,
0.014900203794240952,
-0.026185566559433937,
0.006480266340076923,
0.043307576328516006,
0.046798985451459885,
0.006753583438694477,
-0.02267652377486229,
-0.045070912688970566,
-0.07871539890766144,
0.05469873547554016,
0.04263750836253166,
-0.0048050954937934875,
-0.029165606945753098,
-0.044682979583740234,
-0.011435245163738728,
0.053640734404325485,
-0.050325658172369,
0.029289040714502335,
0.04147370532155037,
-0.004101964645087719,
0.0035002254880964756,
0.031070010736584663,
-0.03191641345620155,
0.03041757643222809,
-0.02816050313413143,
0.02265889011323452,
-0.0217419546097517,
-0.0021633950527757406,
0.02904217317700386,
0.013313200324773788,
0.03205747902393341,
0.0066477833315730095,
0.059212882071733475,
-0.04013356566429138,
0.01261668186634779,
-0.018938247114419937,
-0.008045228198170662,
0.02100135199725628,
-0.10170932114124298,
-0.005157763138413429,
-0.06986343860626221,
-0.09063556045293808,
0.04492984712123871,
-0.07063931226730347,
-0.007018084172159433,
0.011399978771805763,
0.01788906194269657,
-0.012167030945420265,
0.015349854715168476,
-0.010553576052188873,
-0.0205252505838871,
0.0011704154312610626,
-0.018074212595820427,
0.035742856562137604,
-0.03122871182858944,
0.03300968185067177,
-0.013357283547520638,
-0.016125723719596863,
0.00899302214384079,
0.023311324417591095,
0.024104828014969826,
0.037876494228839874,
-0.04013356566429138,
-0.040415700525045395,
-0.014573986642062664,
0.018215278163552284,
0.03424401953816414,
-0.024051927030086517,
-0.013639417476952076,
0.017774444073438644,
0.002283522393554449,
-0.019872816279530525,
-0.00022785630426369607,
-0.01879717968404293,
-0.00982179120182991,
0.0469047836959362,
-0.010377242229878902,
0.022129889577627182,
-0.019555415958166122,
0.011884896084666252,
-0.03837022930383682,
0.04150896891951561,
0.05004352703690529,
0.05265326425433159,
0.025339163839817047,
-0.05265326425433159,
-0.03770016133785248,
-0.058295946568250656,
-0.007397201843559742,
-0.036148425191640854,
0.04281384125351906,
0.0827358067035675,
0.00566472252830863,
-0.02826630510389805,
-0.03692429140210152,
-0.010791626758873463,
-0.005100454669445753,
-0.0007521737716160715,
0.02657349966466427,
0.01025380939245224,
-0.02438696101307869,
-0.03242778033018112,
0.0027463985607028008,
-0.03759435936808586,
0.013242666609585285,
-0.012484431266784668,
-0.002490714658051729,
-0.04454191029071808,
-0.05180686339735985,
0.043801311403512955,
-0.02131875418126583,
-0.005594188813120127,
0.02094845287501812,
0.021195320412516594,
0.00895334780216217,
-0.013286749832332134,
0.020736852660775185,
-0.0024444269947707653,
0.03579575568437576,
0.04866812378168106,
-0.015305771492421627,
0.03960456699132919,
0.0938095673918724,
0.010174458846449852,
0.018938247114419937,
-0.06037668511271477,
0.035266753286123276,
-0.1189194992184639,
-0.10389585793018341,
0.009433857165277004,
0.04027463495731354,
0.03281571716070175,
0.008292095735669136,
0.06651309877634048,
0.04648158326745033,
-0.031405046582221985,
-0.010906243696808815,
-0.004840362351387739,
0.04408344253897667,
0.01093269418925047,
-0.015094171278178692,
0.02526862919330597,
0.060905687510967255,
0.06355069577693939,
0.026644034311175346,
0.014133152551949024,
-0.04408344253897667,
-0.031105278059840202,
0.017739178612828255,
0.0218301210552454,
0.030946576967835426,
0.04408344253897667,
0.08040820062160492,
0.019749382510781288,
-0.00348259205929935,
-0.009530840441584587,
0.005792564712464809,
-0.0016994167817756534,
0.014027351513504982,
-0.0005763910012319684,
0.04320177435874939,
0.025515496730804443,
-0.007577944081276655,
-0.043801311403512955,
0.01585240662097931,
-0.011655662208795547,
-0.00964545737951994,
-0.05466347187757492,
-0.016584191471338272,
0.025550764054059982,
0.0005796973127871752,
0.06965184211730957,
0.003879343159496784,
0.043378107249736786,
0.015050088055431843,
-0.09148196130990982,
0.0037228467408567667,
0.028460271656513214,
0.004238623194396496,
0.02094845287501812,
0.0009042616584338248,
-0.01215821411460638,
-0.04866812378168106,
0.03263938054442406,
-0.030135441571474075,
-0.017800895497202873,
0.08421701192855835,
-0.021160053089261055,
0.016487207263708115,
-0.0006342505221255124,
-0.015535005368292332,
0.0011803342495113611,
-0.005938040092587471,
-0.04577624797821045,
0.02523336373269558,
-0.018920613452792168,
0.006132007110863924,
0.0899302288889885,
0.055333539843559265,
-0.010333159007132053,
-0.047257453203201294,
0.07398965209722519,
0.03364448621869087,
-0.0752592533826828,
0.03172244504094124,
0.020877918228507042,
0.030117809772491455,
0.012713665142655373,
-0.026379533112049103,
0.02734936773777008,
0.010553576052188873,
0.004844770301133394,
0.01929091475903988,
-0.03889923170208931,
-0.00693432567641139,
0.05053725838661194,
-0.03918136656284332,
-0.0007571331225335598,
-0.06012981757521629,
-0.03170481324195862,
-0.03507278859615326,
0.01367468386888504,
0.0078027695417404175,
-0.03921663016080856,
0.0033767917193472385,
0.0001478172925999388,
0.0184092465788126,
-0.06989870965480804,
-0.012810648418962955,
-0.003118903608992696,
0.048139121383428574,
0.042143773287534714,
0.017368877306580544,
0.00019134969625156373,
-0.016875142231583595,
-0.022553090006113052,
0.08167780190706253,
0.015949390828609467,
-0.028037071228027344,
0.006233398802578449,
-0.045952580869197845,
-0.01922038197517395,
-0.015058904886245728,
-0.045882049947977066,
0.01087097730487585,
-0.07455392181873322,
-0.005783747881650925,
-0.03935769945383072,
0.01587004028260708,
-0.04750432074069977,
-0.027913637459278107,
0.05381706729531288,
-0.011461695656180382,
-0.005841056350618601,
0.07134464383125305,
-0.0026405982207506895,
0.04313123971223831,
0.016434308141469955,
0.08527501672506332,
-0.03904029726982117,
0.008371446281671524,
0.0045075323432683945,
0.012440348044037819,
0.023205524310469627,
-0.026838000863790512,
0.03121107816696167,
-0.054063934832811356,
0.07398965209722519,
0.00278386939316988,
0.007097434252500534,
0.0853455439209938,
-0.06101148575544357,
0.04189690575003624,
-0.006087923422455788,
0.059600815176963806,
-0.027278834953904152,
0.045070912688970566,
0.001276215654797852,
0.03678322583436966,
0.07243791222572327,
-0.07920913398265839,
0.023205524310469627,
0.01242271438241005,
0.08739101886749268,
-0.01789787784218788,
-0.058331213891506195,
-0.020013883709907532,
-0.00556773878633976,
-0.03706536069512367,
-0.027719669044017792,
-0.0031166994012892246,
0.0027530111838132143,
-0.005638272501528263,
0.04672845080494881,
-0.0746244564652443,
-0.022517822682857513,
-0.036060258746147156,
-0.033150751143693924,
-0.0294830072671175,
0.03981616720557213,
0.005325280129909515,
-0.045529380440711975,
0.015305771492421627,
0.007397201843559742,
0.03918136656284332,
-0.0294830072671175,
-0.03283334895968437,
-0.00034688159939832985,
-0.045070912688970566,
-0.010729909874498844,
-0.0005287257954478264,
-0.015314588323235512,
0.029712241142988205,
0.01259904820472002,
-0.0003559738106559962,
-0.052864864468574524,
0.0027904820162802935,
-0.00609233183786273,
-0.02010205015540123,
-0.03667742386460304,
0.0039741224609315395,
0.021900655701756477,
0.0214245542883873,
-0.033080216497182846,
0.022429656237363815,
0.024704361334443092,
0.04923238977789879,
-0.003288624808192253,
-0.03921663016080856,
0.013128049671649933,
0.07709312438964844,
0.033133115619421005,
-0.024968862533569336,
0.014371202327311039,
0.04485931247472763,
-0.017615744844079018,
0.010800443589687347,
0.020172584801912308,
-0.015349854715168476,
-0.05508667230606079,
-0.00918698962777853,
-0.05117206275463104,
0.02473962865769863,
0.030629176646471024,
0.015605539083480835,
-0.010615292936563492,
-0.024880696088075638,
-0.02264125645160675,
0.018074212595820427,
-0.053676001727581024,
0.019431982189416885,
-0.0057264394126832485,
-0.03535492345690727,
0.033133115619421005,
0.01110902801156044,
0.0013092783046886325,
-0.00019410491222515702,
-0.04923238977789879,
-0.02048998512327671,
-0.0036853759083896875,
-0.018215278163552284,
0.023170258849859238,
0.013242666609585285,
0.030064908787608147,
-0.03464958816766739,
0.021565619856119156,
0.01065056025981903,
-0.04916185513138771,
-0.013771668076515198,
0.09310423582792282,
0.02689089998602867,
0.006101148668676615,
0.0014911225298419595,
0.019431982189416885,
-0.05854281410574913,
-0.027084868401288986,
-0.028707139194011688,
0.015896489843726158,
0.03621895611286163,
0.015552639029920101,
-0.010509492829442024,
-0.009301606565713882,
-0.047292716801166534,
0.056250475347042084,
0.005964490119367838,
0.029289040714502335,
0.01557027269154787,
-0.06206949055194855,
0.007304626516997814,
0.057872746139764786,
0.006788850296288729,
-0.02481016144156456,
0.019802283495664597,
-0.0035222670994699,
0.017227809876203537,
-0.048527054488658905,
0.07349591702222824,
0.04909132421016693,
0.025021763518452644
] |
9,693 | requests.sessions | get_adapter |
Returns the appropriate connection adapter for the given URL.
:rtype: requests.adapters.BaseAdapter
| def get_adapter(self, url):
"""
Returns the appropriate connection adapter for the given URL.
:rtype: requests.adapters.BaseAdapter
"""
for (prefix, adapter) in self.adapters.items():
if url.lower().startswith(prefix.lower()):
return adapter
# Nothing matches :-/
raise InvalidSchema(f"No connection adapters were found for {url!r}")
| (self, url) | [
0.014165599830448627,
-0.06659328937530518,
-0.007408547215163708,
-0.02105911448597908,
-0.03637803718447685,
0.04366772994399071,
0.03916009142994881,
-0.042857762426137924,
-0.0002957586257252842,
0.010661616921424866,
-0.005423250142484903,
0.02301359735429287,
0.020284363999962807,
0.023541836068034172,
-0.00479816785082221,
-0.012396000325679779,
0.032592326402664185,
0.07430557161569595,
0.047541480511426926,
-0.010335870087146759,
-0.011321915313601494,
0.04609762504696846,
0.02509133704006672,
0.06937534362077713,
-0.03768102452158928,
0.10409823060035706,
0.018382705748081207,
-0.04187171906232834,
0.06796670705080032,
0.00030951484222896397,
-0.04025178402662277,
0.008553064428269863,
0.018118586391210556,
0.06064179912209511,
-0.02766209840774536,
0.05176738649606705,
0.056028515100479126,
0.042822547256946564,
-0.05532419681549072,
-0.0052427686750888824,
-0.049478355795145035,
0.0006784565048292279,
0.03789231926202774,
-0.045041147619485855,
0.04567503556609154,
0.06335341930389404,
-0.05719063803553581,
-0.007831137627363205,
-0.0025553544983267784,
-0.01045032124966383,
0.024457449093461037,
0.025848478078842163,
0.032416246831417084,
0.015688687562942505,
-0.02292555756866932,
0.016084866598248482,
-0.0382796935737133,
0.0931812971830368,
-0.011876565404236317,
0.08895538747310638,
-0.05652153491973877,
-0.009367432445287704,
-0.002572962548583746,
0.016005631536245346,
-0.022115591913461685,
-0.007025574333965778,
-0.02488004043698311,
-0.03503983095288277,
-0.013698989525437355,
0.011418758891522884,
0.07166437804698944,
0.01693885214626789,
-0.07458730041980743,
-0.022450143471360207,
0.025707613676786423,
-0.000613527197856456,
0.009393843822181225,
-0.030162427574396133,
-0.026130205020308495,
-0.02119997888803482,
0.06169827654957771,
0.01751111075282097,
0.01782805472612381,
-0.028331199660897255,
0.03581457957625389,
-0.020618915557861328,
-0.045182012021541595,
-0.019315926358103752,
-0.022291671484708786,
0.055465057492256165,
-0.03620195761322975,
-0.07191088795661926,
-0.0014834702014923096,
0.04877403751015663,
-0.024580705910921097,
-0.016322573646903038,
-0.022802302613854408,
-0.04782320559024811,
-0.03301491588354111,
-0.02297838218510151,
-0.026059772819280624,
0.03179996833205223,
-0.08198264241218567,
0.01580313965678215,
-0.021728217601776123,
-0.04912619665265083,
0.011682878248393536,
-0.01894615963101387,
-0.000899656442925334,
0.02739797905087471,
-0.021851472556591034,
-0.008090855553746223,
0.023735523223876953,
0.028419239446520805,
0.034951791167259216,
0.003352114465087652,
-0.00479376595467329,
-0.02336575649678707,
0.010802480392158031,
0.012968258932232857,
-0.04792885482311249,
0.049267057329416275,
0.019914597272872925,
-0.02341858111321926,
0.09691418707370758,
-0.025989342480897903,
0.019756125286221504,
-0.003750494448468089,
0.04053351283073425,
-0.014561778865754604,
0.034793321043252945,
-0.0023286519572138786,
-0.05204911530017853,
0.00043056951835751534,
-0.008451818488538265,
0.030215250328183174,
-0.012924239039421082,
0.04011092334985733,
-0.061627842485904694,
0.028507279232144356,
-0.05895143374800682,
0.030514586716890335,
-0.006968348287045956,
-0.020037852227687836,
-0.002462912816554308,
-0.011163443326950073,
-0.005709379445761442,
-0.03560328483581543,
0.02530263178050518,
-0.0019511815626174212,
-0.02341858111321926,
-0.021745825186371803,
0.009455472230911255,
0.006735042668879032,
-0.059867046773433685,
-0.023805955424904823,
-0.02299598976969719,
0.02533784694969654,
-0.0020909446757286787,
-0.04394945502281189,
0.008134875446557999,
-0.008368181064724922,
-0.03155345469713211,
-0.047471046447753906,
-0.015512608923017979,
0.0019985029939562082,
-0.07282650470733643,
-0.014412111602723598,
-0.006440109573304653,
-0.047224536538124084,
-0.02711625024676323,
0.05095742270350456,
-0.03933617100119591,
-0.015230881050229073,
0.06021920591592789,
0.03132455050945282,
0.03789231926202774,
0.0208654273301363,
0.04539330676198006,
-0.025760438293218613,
0.062156081199645996,
0.04180128499865532,
-0.0022626223508268595,
0.036589331924915314,
0.013320418074727058,
0.009543512016534805,
0.018312273547053337,
-0.013003475032746792,
0.02500329725444317,
0.056063730269670486,
0.032592326402664185,
0.003966191783547401,
0.03334946557879448,
-0.05859927460551262,
-0.022062767297029495,
-0.059620536863803864,
0.03386009857058525,
0.049830514937639236,
-0.03415943309664726,
0.02931724488735199,
-0.018241841346025467,
0.019580045714974403,
0.011260286904871464,
0.07166437804698944,
0.02345379628241062,
0.008685124106705189,
0.014975565485656261,
-0.09930887073278427,
-0.03933617100119591,
-0.0016771577065810561,
-0.032345812767744064,
-0.008262532763183117,
-0.01786326989531517,
-0.014456131495535374,
-0.011506798677146435,
0.02940528467297554,
-0.01670994982123375,
-0.022150807082653046,
0.02091825008392334,
-0.03799796849489212,
0.019615262746810913,
-0.010177398100495338,
0.05292951315641403,
-0.03312056511640549,
0.04814014956355095,
-0.026306284591555595,
0.018365098163485527,
-0.04458334296941757,
-0.04151955991983414,
0.01891094446182251,
-0.022802302613854408,
-0.0017189766513183713,
0.09508296102285385,
-0.0031100050546228886,
0.05176738649606705,
0.028207944706082344,
0.0042171054519712925,
-0.02750362642109394,
0.06645242124795914,
-0.05479595810174942,
0.06423381716012955,
0.0626843199133873,
-0.023629875853657722,
0.026746483519673347,
-0.08916668593883514,
0.018259448930621147,
-0.04972486570477486,
-0.0038517401553690434,
-0.03838534280657768,
-0.0503939688205719,
-0.004859795793890953,
-0.03382488340139389,
0.030673058703541756,
-0.06867102533578873,
0.0029867494013160467,
-0.1381872296333313,
-0.09712547808885574,
0.021957119926810265,
0.008707134053111076,
-0.049267057329416275,
-0.021358449012041092,
0.05814146623015404,
-0.012281549163162708,
0.03405378386378288,
-0.06965707242488861,
0.022714262828230858,
0.018083369359374046,
0.032592326402664185,
-0.011682878248393536,
0.041132181882858276,
0.03655411675572395,
0.053739480674266815,
0.043139491230249405,
0.004688118118792772,
0.006792268715798855,
-0.010943343862891197,
-0.011858957819640636,
0.028278376907110214,
-0.022203631699085236,
-0.0666637197136879,
-0.0375753752887249,
-0.03933617100119591,
0.003807720262557268,
0.016393005847930908,
0.016172906383872032,
-0.05025310441851616,
-0.014068756252527237,
0.015653472393751144,
-0.024580705910921097,
0.009164940565824509,
-0.0070343781262636185,
-0.04176606982946396,
-0.005964695010334253,
0.015081213787198067,
-0.04898533225059509,
0.04373816028237343,
0.024070074781775475,
0.018277058377861977,
0.038596637547016144,
0.018189018592238426,
-0.02732754684984684,
0.00040113122668117285,
-0.0053572203032672405,
0.07166437804698944,
0.0052471705712378025,
-0.030180035158991814,
-0.0018158203456550837,
-0.02521459199488163,
-0.015178057365119457,
0.026764091104269028,
-0.04025178402662277,
0.02308402955532074,
-0.006801072508096695,
-0.00675705261528492,
0.005484878085553646,
-0.00683188671246171,
-0.04032221809029579,
0.07789759337902069,
-0.0055729178711771965,
0.05511289834976196,
-0.04592154547572136,
0.10649291425943375,
-0.04880925267934799,
-0.04472420737147331,
-0.02725711464881897,
0.06412817537784576,
0.05085177347064018,
0.02715146727859974,
-0.038490988314151764,
-0.004122462589293718,
0.00842540618032217,
0.021904295310378075,
-0.028542494401335716,
0.0057930173352360725,
-0.025707613676786423,
-0.0037945143412798643,
0.000364539708243683,
-0.04419596865773201,
0.005854645278304815,
0.009050489403307438,
0.09191352874040604,
-0.051520876586437225,
0.0027754539623856544,
-0.03644846752285957,
0.007716686464846134,
-0.020284363999962807,
-0.01583835482597351,
-0.017942506819963455,
-0.002797463908791542,
-0.012184704653918743,
-0.017387855798006058,
-0.019245494157075882,
0.010327065363526344,
0.024703960865736008,
0.06810756772756577,
-0.00620240205898881,
-0.028472064062952995,
-0.007831137627363205,
-0.017018089070916176,
-0.0009700882947072387,
0.004644098225980997,
-0.03972354531288147,
-0.011242679320275784,
-0.003765901317819953,
0.00847823079675436,
0.013373241759836674,
0.020125892013311386,
-0.034969400614500046,
0.05930359289050102,
-0.063916876912117,
-0.010872912593185902,
0.017889682203531265,
-0.030990000814199448,
-0.024633528664708138,
-0.013558125123381615,
-0.04236473888158798,
-0.0035744148772209883,
0.008900821208953857,
-0.014508955180644989,
0.09458993375301361,
0.02702821046113968,
0.02720429003238678,
0.019879382103681564,
0.014271247200667858,
0.007082799915224314,
-0.10818327963352203,
-0.05926837772130966,
-0.0029845484532415867,
-0.011357131414115429,
0.02308402955532074,
0.03595544397830963,
-0.043069057166576385,
-0.04627370461821556,
0.057542797178030014,
-0.07726370543241501,
-0.038631852716207504,
-0.03796274960041046,
-0.03746972978115082,
-0.012043841183185577,
0.01765197515487671,
0.008280141279101372,
-0.04620327427983284,
0.018189018592238426,
0.049196626991033554,
0.013029886409640312,
0.023577051237225533,
0.07296736538410187,
0.07733413577079773,
0.00879957526922226,
-0.03799796849489212,
-0.04412553459405899,
-0.056028515100479126,
-0.034458767622709274,
-0.04563982039690018,
-0.01912223920226097,
0.017185363918542862,
0.02496808022260666,
0.026059772819280624,
-0.0019291716162115335,
0.043139491230249405,
0.056028515100479126,
-0.028207944706082344,
0.00416868319734931,
0.03301491588354111,
-0.004124663304537535,
0.0006867102347314358,
0.017194168642163277,
-0.006211206316947937,
0.011524406261742115,
-0.02063652314245701,
0.009235372766852379,
-0.02924681268632412,
-0.011753310449421406,
-0.13727161288261414,
0.005801821127533913,
0.0014724652282893658,
-0.006937534548342228,
-0.012396000325679779,
0.008940439671278,
-0.05937402322888374,
-0.018030546605587006,
-0.002022713888436556,
-0.03944182023406029,
-0.02752123400568962,
0.05398599058389664,
-0.045005932450294495,
-0.009208960458636284,
0.015001977793872356,
-0.030444154515862465,
-0.05824711546301842,
-0.07388298213481903,
-0.02530263178050518,
0.06092352420091629,
-0.010714440606534481,
-0.053281672298908234,
-0.01894615963101387,
0.03754016011953354,
0.01146277878433466,
0.00885239988565445,
0.010150985792279243,
0.07219261676073074,
-0.01763436757028103,
0.0005948187317699194,
-0.055605921894311905,
-0.0015990224201232195,
0.06891753524541855,
0.005955890752375126,
0.027785353362560272,
0.0379275344312191,
0.018417920917272568,
-0.010705636814236641,
-0.0017486900324001908,
0.009129724465310574,
-0.038667067885398865,
-0.004983051214367151,
0.0002136340190190822,
0.03312056511640549,
0.023753130808472633,
0.03958268463611603,
0.0157150998711586,
-0.007870756089687347,
-0.03637803718447685,
0.011145835742354393,
0.026799308136105537,
0.02972222864627838,
-0.04056872799992561,
-0.06088830903172493,
-0.014438522979617119,
-0.06102917343378067,
-0.006779062561690807,
-0.023559443652629852,
0.07754543423652649,
0.011409955099225044,
0.02102389931678772,
0.05053482949733734,
0.008825987577438354,
0.014843505807220936,
0.04817536473274231,
0.032257772982120514,
-0.008812781423330307,
0.06638199090957642,
-0.04574546590447426,
-0.03167670965194702,
-0.021851472556591034,
0.006528149358928204,
-0.021657785400748253,
-0.05028831958770752,
0.06307169795036316,
-0.010133378207683563,
0.00674824882298708,
-0.00958753190934658,
0.09458993375301361,
-0.03202886879444122,
0.051520876586437225,
0.008724741637706757,
0.02331293188035488,
-0.023823563009500504,
-0.02318967692553997,
0.02340097166597843,
0.005286788567900658,
0.04785842075943947,
0.03134215995669365,
0.07684111595153809,
-0.003966191783547401,
0.004692520014941692,
-0.0018026144243776798,
-0.0033367075957357883,
-0.01678038202226162,
-0.04239995777606964,
0.022133199498057365,
0.07416470348834991,
0.04810493439435959,
-0.0009079101728275418,
0.0293524619191885,
0.045287661254405975,
0.010010122321546078,
-0.044970717281103134,
-0.04141391068696976,
-0.03438833728432655,
0.024475058540701866,
0.016208123415708542,
-0.001523088081739843,
-0.011233875527977943,
-0.049090977758169174,
-0.062402594834566116,
-0.0007543908432126045,
-0.05067569389939308,
0.05648631975054741,
-0.0058722528629004955,
-0.03937138617038727,
0.015970414504408836,
0.02760927379131317,
0.032521892338991165,
-0.05409163981676102,
-0.017801642417907715,
-0.05067569389939308,
-0.010767264291644096,
0.005854645278304815,
0.03130694478750229,
-0.022397318854928017,
0.015380549244582653,
-0.012871415354311466,
-0.0352335199713707,
0.06275475025177002,
-0.0013789229560643435,
-0.022309279069304466,
0.042928196489810944,
0.01554782409220934,
0.0105207534506917,
-0.0026015753392130136,
0.015318920835852623,
-0.05412685498595238,
-0.0038913581520318985,
0.019544830545783043,
-0.013091514818370342,
0.006224412005394697,
-0.02516176737844944,
-0.0249328650534153,
0.012501648627221584,
0.0005535500822588801,
0.012131880968809128,
0.0006498435977846384,
-0.0012105469359084964,
-0.003649248741567135,
0.022467751055955887,
-0.057894956320524216,
-0.015001977793872356,
0.002407887950539589,
-0.029915915802121162,
-0.016260946169495583,
-0.04342121630907059,
-0.034458767622709274,
-0.04423118382692337,
-0.026834523305296898,
0.03134215995669365,
0.03428268805146217,
-0.05620459467172623,
-0.032310597598552704,
-0.01761675998568535,
0.00574019318446517,
-0.01479948591440916,
0.06106438860297203,
0.008795173838734627,
-0.05060526356101036,
0.03975876420736313,
0.047365400940179825,
-0.05620459467172623,
0.012968258932232857,
-0.007426155265420675,
-0.05247170478105545,
0.006013116799294949,
0.018312273547053337,
-0.006396089680492878,
-0.03370162472128868,
-0.03583218902349472,
-0.019527222961187363,
-0.04997137561440468,
0.034722886979579926,
-0.00839899480342865,
-0.02125280164182186,
0.05197868496179581,
0.0626843199133873,
0.04049829766154289,
0.030109602957963943,
-0.05271821841597557,
0.06919926404953003,
-0.00031309144105762243,
-0.02517937496304512,
-0.04151955991983414,
0.02119997888803482,
0.07557334005832672,
0.015045997686684132,
0.04655543342232704,
-0.0056521533988416195,
-0.03333185985684395,
0.006792268715798855,
0.03604348376393318,
-0.028560103848576546,
0.009376236237585545,
0.031148472800850868,
0.026006950065493584,
0.02516176737844944,
0.01061759702861309,
0.013355634175240993,
0.016982872039079666,
-0.005401240196079016,
-0.04423118382692337,
-0.020178716629743576,
-0.008627898059785366,
-0.001286481274291873,
-0.00471452996134758,
-0.0018642422510311007,
0.029088342562317848,
0.019808949902653694,
0.04025178402662277,
0.03813882917165756,
-0.012140684761106968,
0.04880925267934799,
0.019703302532434464,
-0.022573398426175117,
-0.010943343862891197,
-0.02709864266216755,
0.028648143634200096,
-0.019368750974535942,
0.015257293358445168,
0.03613152354955673,
0.006074744742363691,
-0.10733809322118759,
-0.0335959792137146,
-0.007804726250469685,
0.010661616921424866,
0.02965179644525051,
-0.001068582758307457,
-0.01885811984539032,
-0.041026536375284195,
-0.02503851242363453,
-0.03544481471180916,
-0.02308402955532074,
0.005392436403781176,
0.0076594604179263115,
0.012334372848272324,
-0.02752123400568962,
0.0023770739790052176,
0.07127700001001358,
-0.025619573891162872,
-0.022643830627202988,
-0.0026235852856189013,
-0.00951709970831871,
-0.03588501363992691,
-0.01913984678685665,
-0.0041114576160907745,
-0.024703960865736008,
0.01699167676270008,
0.051696956157684326,
-0.0012611697893589735,
-0.012316764332354069,
0.017229383811354637,
-0.02514415979385376,
0.010582380928099155,
0.01908702403306961,
0.10064706951379776,
-0.02968701161444187,
0.005418848246335983,
-0.016058454290032387,
0.028771398589015007,
-0.0016914642183110118,
0.015495000407099724,
-0.016384202986955643,
-0.02968701161444187,
0.03386009857058525,
-0.012977062724530697,
-0.01655147783458233,
0.02752123400568962,
-0.004087246488779783,
0.03137737512588501,
0.02336575649678707,
-0.01676277257502079,
-0.0073293112218379974,
0.0015935199335217476,
0.07712284475564957,
-0.024633528664708138,
-0.09339259564876556,
0.010960952378809452,
0.03410660848021507,
0.0008523350697942078,
0.06036007031798363,
-0.032786011695861816,
0.04211822897195816,
-0.01768719032406807,
0.021428881213068962,
0.007162035908550024,
-0.0006586475647054613,
-0.06602983176708221,
0.053387321531772614,
0.023911602795124054,
-0.01148038636893034,
0.004873001482337713,
0.007320507429540157,
0.08317998051643372,
-0.007743098307400942,
-0.008522250689566135,
-0.011902977712452412,
-0.017414268106222153,
0.053774695843458176,
-0.022238846868276596,
-0.03736408054828644,
0.03333185985684395,
0.046942807734012604,
-0.013205965980887413,
0.041026536375284195,
-0.0028260766994208097,
-0.024492666125297546,
0.0004864197690039873,
0.051415227353572845,
-0.057648446410894394,
-0.05881056934595108,
0.030849138274788857,
-0.0034533601719886065,
-0.004534048493951559,
-0.009842846542596817,
0.0030527792405337095,
0.05930359289050102,
0.02725711464881897,
-0.008029227145016193,
-0.04585111513733864,
-0.019351143389940262,
0.03438833728432655,
-0.006814278662204742
] |
9,694 | requests.sessions | get_redirect_target | Receives a Response. Returns a redirect URI or ``None`` | def get_redirect_target(self, resp):
"""Receives a Response. Returns a redirect URI or ``None``"""
# Due to the nature of how requests processes redirects this method will
# be called at least once upon the original response and at least twice
# on each subsequent redirect response (if any).
# If a custom mixin is used to handle this logic, it may be advantageous
# to cache the redirect location onto the response object as a private
# attribute.
if resp.is_redirect:
location = resp.headers["location"]
# Currently the underlying http module on py3 decode headers
# in latin1, but empirical evidence suggests that latin1 is very
# rarely used with non-ASCII characters in HTTP headers.
# It is more likely to get UTF8 header rather than latin1.
# This causes incorrect handling of UTF8 encoded location headers.
# To solve this, we re-encode the location in latin1.
location = location.encode("latin1")
return to_native_string(location, "utf8")
return None
| (self, resp) | [
-0.035038698464632034,
0.01273192185908556,
-0.003889785846695304,
0.05880621075630188,
-0.03556644916534424,
0.02035599574446678,
-0.011101556941866875,
0.06732556968927383,
0.01892353594303131,
-0.024841854348778725,
0.04067429527640343,
0.024672221392393112,
0.02527536079287529,
-0.016360189765691757,
0.05729835852980614,
0.004186644218862057,
0.01402301900088787,
-0.020544476807117462,
0.013561239466071129,
-0.04014654830098152,
0.054244957864284515,
-0.005390569102019072,
0.003948686178773642,
-0.03370048105716705,
-0.07173603773117065,
-0.00672407541424036,
-0.046856485307216644,
-0.041277434676885605,
-0.012015691958367825,
-0.0029073262121528387,
-0.02778216451406479,
-0.0759580209851265,
0.05899469181895256,
0.01931934803724289,
0.0304586011916399,
0.0037272204644978046,
-0.021656516939401627,
0.028573786839842796,
-0.060389455407857895,
-0.06758944690227509,
-0.0985381007194519,
0.020544476807117462,
-0.05032454431056976,
0.020393691956996918,
0.02363557368516922,
0.06359364092350006,
-0.08564596623182297,
-0.02124185860157013,
-0.03198530152440071,
-0.0334366075694561,
-0.01709526591002941,
0.024182168766856194,
-0.001261647674255073,
-0.06291510909795761,
0.024464890360832214,
0.032626137137413025,
-0.02028060331940651,
0.022335050627589226,
-0.07162294536828995,
0.05081459507346153,
0.03554759919643402,
0.007520409766584635,
-0.007567530032247305,
0.011365431360900402,
0.03718739002943039,
0.012119356542825699,
0.032607290893793106,
-0.02065756544470787,
0.021091073751449585,
0.016765424981713295,
-0.020789502188563347,
-0.002721200929954648,
-0.021995784714818,
0.009716218337416649,
0.10833913087844849,
-0.009678522124886513,
0.01845233328640461,
-0.011940299533307552,
0.0536041222512722,
-0.0007763079483993351,
-0.029063837602734566,
-0.026161223649978638,
0.024936094880104065,
-0.03219262883067131,
-0.014927729964256287,
-0.04093816876411438,
0.010121453553438187,
-0.015691079199314117,
-0.030533993616700172,
0.03863869607448578,
-0.06894651055335999,
-0.025049183517694473,
-0.022806255146861076,
-0.0166146382689476,
0.023220913484692574,
0.013919354416429996,
-0.016755999997258186,
0.026104679331183434,
0.005084286909550428,
-0.01556856743991375,
0.012204173021018505,
0.08866167068481445,
-0.05545124039053917,
0.05450883135199547,
0.027838708832859993,
-0.0060879504308104515,
0.014550766907632351,
-0.045386333018541336,
0.0025986877735704184,
-0.001798819750547409,
-0.008660722523927689,
-0.08964177221059799,
0.028592634946107864,
0.02487955056130886,
-0.00017213656974490732,
-0.028366457670927048,
-0.002042667707428336,
-0.023710966110229492,
-0.04139052331447601,
0.012675376608967781,
0.024747613817453384,
-0.01795285753905773,
0.001357066328637302,
-0.04274759069085121,
-0.020921440795063972,
0.013146580196917057,
-0.003894497873261571,
-0.03816749155521393,
0.00018480017024558038,
0.0028366458136588335,
0.014475374482572079,
-0.008335592225193977,
-0.05081459507346153,
0.0013111240696161985,
-0.013589511625468731,
0.07644807547330856,
-0.08579675108194351,
0.058466944843530655,
-0.04874129965901375,
0.05756223201751709,
-0.02546384371817112,
0.008580617606639862,
0.0017352072754874825,
-0.006738211493939161,
-0.020544476807117462,
0.02949734590947628,
0.01767013594508171,
0.01605861820280552,
0.02112876996397972,
-0.019187411293387413,
0.05839155241847038,
-0.06332976371049881,
0.08602292835712433,
0.025049183517694473,
-0.047233451157808304,
0.03420938178896904,
-0.04123973846435547,
-0.0028743420261889696,
-0.0018588982056826353,
-0.016774848103523254,
0.019357044249773026,
-0.10472028702497482,
0.010979044251143932,
-0.04048581421375275,
0.04610256105661392,
-0.029535042122006416,
0.047911982983350754,
-0.0024408346507698298,
0.019357044249773026,
-0.019752854481339455,
-0.018904687836766243,
-0.007576954085379839,
0.027329809963703156,
-0.004747376311570406,
0.003084027674049139,
0.046668004244565964,
0.04919365793466568,
-0.01902720145881176,
-0.06042715162038803,
0.013674329034984112,
0.06985121965408325,
-0.043011464178562164,
-0.035604145377874374,
-0.016199979931116104,
0.02258007600903511,
0.009678522124886513,
-0.021863847970962524,
0.005776956211775541,
0.010865955613553524,
0.06544075906276703,
-0.026010438799858093,
-0.02584080584347248,
0.01392877846956253,
-0.027555987238883972,
0.015153908170759678,
-0.012194748967885971,
0.045009367167949677,
-0.0034774825908243656,
0.06611929088830948,
-0.06672243028879166,
-0.05209627002477646,
0.009197894483804703,
-0.01913086697459221,
0.02421986497938633,
-0.018989505246281624,
0.05416956543922424,
0.05824076756834984,
0.046064864844083786,
-0.05043763294816017,
0.0015219876077026129,
-0.015116211958229542,
0.0032701529562473297,
-0.07558105885982513,
-0.004330361261963844,
-0.005913605447858572,
-0.040598902851343155,
-0.06483761966228485,
-0.03027012012898922,
0.014051291160285473,
0.03307849168777466,
0.03841251879930496,
-0.06340515613555908,
0.011648152954876423,
-0.02682090923190117,
0.008085854351520538,
-0.027047086507081985,
-0.002518583321943879,
-0.06366903334856033,
0.009273286908864975,
0.012750769965350628,
-0.0009241480729542673,
-0.05296328663825989,
0.053679514676332474,
0.021166466176509857,
0.08443968743085861,
0.0011968571925535798,
0.0017116471426561475,
-0.0086465859785676,
0.026839757338166237,
0.03924183547496796,
-0.03841251879930496,
0.03882717713713646,
0.02009212225675583,
0.08481664955615997,
0.014569615945219994,
0.0327015295624733,
0.010639777407050133,
0.029723523184657097,
-0.017161235213279724,
-0.044632405042648315,
0.0003101108595728874,
0.0201675146818161,
0.0027518291026353836,
-0.0677025318145752,
0.033210430294275284,
0.008132974617183208,
-0.009438208304345608,
0.02883766032755375,
-0.008698418736457825,
0.04436853155493736,
0.007972764782607555,
0.05986170470714569,
0.05345333740115166,
-0.04794967919588089,
-0.10434332489967346,
-0.036659639328718185,
-0.02940310537815094,
-0.0041465917602181435,
-0.022127721458673477,
0.07757896184921265,
0.12975062429904938,
0.016473278403282166,
-0.07550566643476486,
-0.0005907714948989451,
0.014692128635942936,
-0.002490311162546277,
0.01903662644326687,
-0.009782186709344387,
0.004488214384764433,
-0.04293607175350189,
0.027254415675997734,
-0.016388460993766785,
-0.009400512091815472,
-0.00006280260276980698,
-0.009433495812118053,
0.006954965181648731,
-0.014475374482572079,
0.041579004377126694,
0.019074322655797005,
-0.06860724836587906,
0.03901565819978714,
-0.01999788172543049,
-0.00981045886874199,
0.004210204351693392,
-0.0327015295624733,
0.012241869233548641,
-0.038374822586774826,
-0.012449199333786964,
-0.009914123453199863,
-0.04142821952700615,
-0.03341776132583618,
-0.014927729964256287,
-0.008585330098867416,
-0.00694082910194993,
-0.05582820251584053,
-0.010639777407050133,
0.023107824847102165,
-0.01603977009654045,
-0.03332351893186569,
-0.004693187773227692,
0.009546585381031036,
0.033888962119817734,
-0.033568546175956726,
-0.039166443049907684,
-0.07015278935432434,
0.06152034178376198,
0.03726278245449066,
0.019470132887363434,
0.0030510432552546263,
0.042822983115911484,
-0.024653373286128044,
0.019564373418688774,
0.017905736342072487,
-0.00793035700917244,
0.045989472419023514,
-0.035999953746795654,
0.02776331640779972,
-0.01624710112810135,
0.010875379666686058,
0.07196221500635147,
-0.02766907587647438,
-0.012656528502702713,
-0.02797064557671547,
-0.04335073009133339,
0.020318299531936646,
-0.010913075879216194,
-0.0201675146818161,
-0.03652770444750786,
0.006757059600204229,
-0.051078472286462784,
-0.010677473619580269,
-0.0640459954738617,
0.029421953484416008,
0.016011498868465424,
0.00004296051702112891,
0.03296540305018425,
-0.042898375540971756,
0.005070150829851627,
0.040410421788692474,
-0.09642710536718369,
-0.023673269897699356,
-0.03650885447859764,
-0.01081883441656828,
0.00845810491591692,
-0.03223032504320145,
0.05156852304935455,
-0.021788455545902252,
-0.04297376796603203,
-0.00737433647736907,
0.02297588810324669,
0.03833712637424469,
-0.03999576345086098,
-0.01354239135980606,
0.0019248666940256953,
0.013825113885104656,
0.009301559068262577,
0.01604919508099556,
0.0006608630646951497,
-0.004535334650427103,
0.03833712637424469,
-0.004019366577267647,
-0.015266996808350086,
0.022617772221565247,
0.0025704156141728163,
-0.017264900729060173,
-0.018226156011223793,
0.023220913484692574,
-0.013655480928719044,
-0.03747010976076126,
-0.0166146382689476,
0.031061742454767227,
0.03811094909906387,
-0.05285019800066948,
0.03950570896267891,
-0.004990046378225088,
-0.0732438862323761,
0.03198530152440071,
0.004009942524135113,
-0.03641461580991745,
0.04561251029372215,
0.025407297536730766,
-0.05748683959245682,
0.00458716694265604,
-0.005800516344606876,
0.03748895972967148,
-0.03894026577472687,
-0.0590323880314827,
0.045876383781433105,
0.0028931901324540377,
0.00797747727483511,
0.049721404910087585,
0.04874129965901375,
-0.023013584315776825,
0.03160833939909935,
-0.019865943118929863,
0.01210050843656063,
0.029666978865861893,
0.015474325977265835,
-0.028630331158638,
-0.016124587506055832,
0.0010183887789025903,
-0.016671184450387955,
0.009202606044709682,
-0.04553711786866188,
-0.0020603376906365156,
0.007986901327967644,
-0.04817585647106171,
0.038676392287015915,
-0.018895264714956284,
-0.020242907106876373,
0.016963329166173935,
0.013730873353779316,
0.026066983118653297,
0.007581666111946106,
-0.002373688155785203,
0.026368554681539536,
-0.007383760530501604,
-0.020129818469285965,
-0.03255074471235275,
-0.0018895264947786927,
0.03304079547524452,
-0.0357360802590847,
-0.02804603800177574,
-0.02527536079287529,
0.043388426303863525,
0.0590323880314827,
-0.01872563175857067,
0.08722921460866928,
-0.017811495810747147,
-0.0024337666109204292,
0.009763338603079319,
-0.007360200397670269,
-0.050513025373220444,
0.049231354147195816,
0.061746519058942795,
-0.018989505246281624,
-0.07573184370994568,
-0.04365230351686478,
-0.08059466630220413,
-0.00868899468332529,
0.004033502656966448,
0.0003572312416508794,
0.0056261708959937096,
0.01709526591002941,
-0.035019852221012115,
0.008048157207667828,
-0.03409629315137863,
0.01689736172556877,
-0.0453486368060112,
0.027442898601293564,
0.02729211375117302,
-0.006606274750083685,
0.04610256105661392,
-0.06103029102087021,
-0.0065638660453259945,
-0.004606015048921108,
-0.005056014750152826,
0.015106787905097008,
-0.04813816025853157,
-0.02297588810324669,
-0.023503635078668594,
-0.011176949366927147,
-0.0330219492316246,
0.029139231890439987,
-0.014513070695102215,
0.02595389448106289,
-0.004681407939642668,
-0.005941877607256174,
0.02384290285408497,
0.05665752291679382,
-0.08820931613445282,
-0.015785321593284607,
0.031080590561032295,
-0.02335285022854805,
-0.0029143942520022392,
-0.0014041867107152939,
0.004770936444401741,
-0.0093251196667552,
0.024653373286128044,
0.06936117261648178,
0.042521413415670395,
0.10781138390302658,
-0.026651276275515556,
0.00436805747449398,
-0.027631379663944244,
0.03931722790002823,
-0.01960206963121891,
-0.044066961854696274,
-0.007195279002189636,
-0.004068843089044094,
0.05669521912932396,
-0.04082508012652397,
0.00917433388531208,
-0.004021722823381424,
0.010243966244161129,
-0.06536536663770676,
-0.02374866232275963,
0.0058429245837032795,
-0.02998739667236805,
0.043086856603622437,
0.03258844092488289,
0.06664703786373138,
0.025520388036966324,
0.00728009594604373,
-0.05032454431056976,
0.007746587507426739,
-0.020996833220124245,
0.01662406325340271,
0.009009412489831448,
0.016313068568706512,
-0.0004317403072491288,
0.06261353194713593,
0.006879572756588459,
-0.025916198268532753,
0.00126635970082134,
0.02163766883313656,
-0.015106787905097008,
0.017330868169665337,
0.01787746511399746,
-0.027989493682980537,
-0.02787640504539013,
0.010243966244161129,
0.008147110231220722,
0.014315165579319,
0.04621564969420433,
0.10494646430015564,
-0.05643134564161301,
-0.027405202388763428,
-0.0324942022562027,
0.007562818005681038,
0.00641308119520545,
-0.02900729328393936,
-0.08828470855951309,
0.024634525179862976,
-0.03366278484463692,
-0.018574846908450127,
-0.03543451055884361,
-0.024766461923718452,
-0.02651933953166008,
0.021298402920365334,
-0.04470779746770859,
-0.027838708832859993,
0.032607290893793106,
0.010743441991508007,
-0.07320619374513626,
0.045989472419023514,
0.03682927414774895,
0.03547220677137375,
-0.0007450907141901553,
0.012552863918244839,
-0.017340293154120445,
-0.020224059000611305,
-0.01960206963121891,
0.020431388169527054,
-0.030533993616700172,
0.036942362785339355,
0.06683552265167236,
0.0036518280394375324,
-0.03528372570872307,
-0.023710966110229492,
0.028573786839842796,
0.036075349897146225,
-0.06348054856061935,
0.0324942022562027,
0.023484786972403526,
0.04335073009133339,
0.08579675108194351,
-0.02259892411530018,
0.10547421872615814,
0.048477426171302795,
0.047798894345760345,
0.02806488610804081,
0.030609386041760445,
-0.03946801275014877,
-0.022636620327830315,
-0.013363334350287914,
0.022353898733854294,
0.015502599067986012,
-0.020016729831695557,
-0.061558037996292114,
-0.054923493415117264,
0.014183228835463524,
-0.05699678882956505,
-0.028083734214305878,
0.02218426577746868,
0.0006343578570522368,
-0.02900729328393936,
-0.015493175014853477,
-0.024370649829506874,
0.06585541367530823,
0.03469943255186081,
0.0026104680728167295,
-0.01596437767148018,
0.014437678270041943,
0.013938202522695065,
-0.027065934613347054,
-0.04949522763490677,
-0.01575704850256443,
-0.0842135101556778,
-0.020205210894346237,
0.006648682989180088,
-0.05526275932788849,
0.012034540064632893,
-0.010592657141387463,
-0.06114337965846062,
-0.004422246012836695,
-0.06370672583580017,
0.03596225753426552,
-0.03796016424894333,
0.048100464046001434,
0.055677417665719986,
-0.06295280158519745,
-0.04142821952700615,
0.058843906968832016,
-0.006219887640327215,
0.0061020865105092525,
0.02959158644080162,
0.05006067082285881,
-0.007906796410679817,
0.024144472554326057,
-0.017142387107014656,
0.026085831224918365,
0.06698630750179291,
-0.04350151866674423,
-0.008571193553507328,
0.014956002123653889,
-0.006285856012254953,
-0.012694224715232849,
0.025708869099617004,
0.023955991491675377,
-0.01969631016254425,
0.04007115587592125,
-0.006851300597190857,
0.002129840198904276,
-0.025218816474080086,
0.015804169699549675,
0.020827200263738632,
-0.0020980341359972954,
0.020883744582533836,
-0.04964601248502731,
0.010592657141387463,
0.11565221101045609,
0.0636313334107399,
0.02555808424949646,
-0.004299732856452465,
-0.0322868712246418,
-0.025049183517694473,
0.022448139265179634,
0.00011470862955320626,
0.030496297404170036,
0.04037272557616234,
-0.013325638137757778,
0.08858627825975418,
-0.06397060304880142,
0.02018636278808117,
0.022504683583974838,
0.009042397141456604,
-0.029553890228271484,
0.021072225645184517,
-0.04123973846435547,
-0.0013735585380345583,
-0.04602716863155365,
-0.02729211375117302,
0.006681667175143957,
0.01865966245532036,
-0.051153864711523056,
0.05209627002477646,
-0.05371721088886261,
0.046554915606975555,
-0.02766907587647438,
0.006493185646831989,
0.016887936741113663,
-0.03505754843354225,
0.03630152717232704,
0.0018636102322489023,
0.03294655680656433,
0.05153082683682442,
0.007699466776102781,
0.0013723805313929915,
-0.025821957737207413,
0.057034485042095184,
-0.019545525312423706,
0.011242917738854885,
0.06464913487434387,
-0.02026175521314144,
0.045009367167949677,
-0.02874341979622841,
-0.06811719387769699,
0.027461746707558632,
0.06807949393987656,
0.061444949358701706,
-0.06208578869700432,
0.0028743420261889696,
-0.044142354279756546,
0.008090565912425518,
-0.034642890095710754,
0.011902603320777416,
-0.02143033966422081,
-0.027405202388763428,
0.015398933552205563,
-0.011667001061141491,
-0.0002043845597654581,
0.05899469181895256,
-0.012590560130774975,
0.026180071756243706,
-0.03613189235329628,
-0.05187009274959564,
0.033210430294275284,
-0.021449187770485878,
-0.022353898733854294,
-0.022693166509270668,
-0.040410421788692474,
0.06287740916013718,
0.05469731613993645,
0.06302819401025772,
-0.037620894610881805,
0.01603977009654045,
-0.017236627638339996,
0.0035387391690164804,
-0.015446053817868233,
-0.024050232023000717,
-0.0041607278399169445,
-0.009631401859223843,
-0.011186373420059681,
-0.042219843715429306,
0.015512023121118546,
0.002464394783601165,
-0.012599984183907509,
-0.02075180597603321,
0.03160833939909935,
0.005918317474424839,
0.014824065379798412,
-0.016492126509547234,
0.017849192023277283,
0.0327015295624733,
-0.030590537935495377,
-0.0046319314278662205,
-0.035698384046554565,
0.006856012623757124,
0.0330219492316246,
0.061256468296051025,
0.006540305912494659,
0.011902603320777416,
0.023654421791434288,
-0.005272768437862396,
-0.012147628702223301,
-0.008420408703386784,
-0.003451566444709897,
0.029421953484416008,
0.03735702112317085,
-0.02527536079287529,
0.02421986497938633,
-0.048288945108652115,
-0.018980082124471664,
-0.005814652424305677,
0.06110568344593048,
-0.0037743409629911184,
0.006215175613760948
] |
9,695 | requests.sessions | head | Sends a HEAD request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
| def head(self, url, **kwargs):
r"""Sends a HEAD request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
"""
kwargs.setdefault("allow_redirects", False)
return self.request("HEAD", url, **kwargs)
| (self, url, **kwargs) | [
-0.08435925096273422,
-0.04765569791197777,
-0.03628764674067497,
-0.02459033951163292,
0.022926723584532738,
0.06865886598825455,
-0.03465868905186653,
0.005120821297168732,
-0.004399487283080816,
-0.021315094083547592,
0.010085678659379482,
-0.030430329963564873,
0.010458259843289852,
-0.03516124188899994,
-0.011757960543036461,
-0.06151917576789856,
0.044085852801799774,
0.024226423352956772,
0.014565314166247845,
-0.06550492346286774,
0.05233462154865265,
0.08706262707710266,
0.024573011323809624,
0.0013235287042334676,
0.0070053874514997005,
-0.0124164754524827,
0.02082987315952778,
-0.02185230329632759,
0.003487530630081892,
0.01998073421418667,
0.012555110268294811,
0.048764776438474655,
0.0025647429283708334,
-0.01410608645528555,
0.008820636197924614,
0.03639162331819534,
0.02089918963611126,
0.011627990752458572,
-0.0581919401884079,
-0.019599489867687225,
-0.04890340939164162,
0.023931825533509254,
-0.024711646139621735,
0.018213141709566116,
0.026617873460054398,
0.021696340292692184,
-0.060548730194568634,
0.008001824840903282,
-0.015336470678448677,
-0.051988035440444946,
-0.010241642594337463,
0.07548662275075912,
0.05226530507206917,
-0.07326847314834595,
-0.03770865499973297,
-0.04356597363948822,
-0.0032709138467907906,
0.0321112759411335,
-0.04075862094759941,
0.09240006655454636,
0.008179450407624245,
0.07465481758117676,
-0.0025885708164423704,
-0.03947624936699867,
-0.02381052076816559,
-0.004938863217830658,
-0.018646374344825745,
-0.0060262796469032764,
0.011142768897116184,
-0.03356694057583809,
0.00580099830403924,
0.02533550187945366,
0.015743710100650787,
0.015345134772360325,
0.018386434763669968,
-0.023290639743208885,
0.007538265082985163,
-0.04356597363948822,
0.023048028349876404,
-0.03767399489879608,
-0.007100699003785849,
-0.03072492778301239,
0.04394721984863281,
-0.031452760100364685,
-0.04467505216598511,
-0.023533251136541367,
0.05739479139447212,
-0.04249155521392822,
-0.009167223237454891,
0.06595548987388611,
-0.04484834522008896,
0.04769035801291466,
-0.036738209426403046,
-0.04311541095376015,
0.03420812636613846,
0.04387789964675903,
0.02185230329632759,
0.03309904783964157,
0.014236057177186012,
0.012459798716008663,
-0.011411373503506184,
0.021228447556495667,
-0.0666833221912384,
0.023394616320729256,
-0.007204675115644932,
0.007876187562942505,
0.009739091619849205,
0.004271683283150196,
-0.03753536194562912,
0.011472025886178017,
0.0064681777730584145,
-0.014998547732830048,
0.047101158648729324,
-0.065296970307827,
0.07087702304124832,
-0.0182651299983263,
-0.021973609924316406,
-0.02781359851360321,
-0.011792618781328201,
-0.04315006732940674,
-0.0354904979467392,
0.009981703013181686,
0.02859341911971569,
-0.004444976802915335,
0.04349665716290474,
0.0004310674557927996,
0.027432352304458618,
-0.0299797672778368,
0.004895539954304695,
0.0011881431564688683,
-0.028472114354372025,
0.029737155884504318,
0.02699911966919899,
0.057637400925159454,
-0.04779433459043503,
0.001377682900056243,
-0.04654661938548088,
0.017467979341745377,
-0.02933858148753643,
0.004951860290020704,
-0.016280919313430786,
-0.07209007441997528,
0.01341291330754757,
-0.0023416278418153524,
0.03694616258144379,
-0.01133339200168848,
-0.011749295517802238,
-0.06501970440149307,
0.04516027122735977,
0.06311347335577011,
0.0961432084441185,
-0.04224894195795059,
0.01737266778945923,
0.007923843339085579,
-0.056493666023015976,
0.015301811508834362,
-0.028974665328860283,
-0.04807160422205925,
-0.019460855051875114,
0.0188023392111063,
0.035317204892635345,
-0.018438423052430153,
0.056043099611997604,
-0.05943965166807175,
-0.06474243104457855,
-0.018351776525378227,
-0.039753518998622894,
0.020413968712091446,
0.036460939794778824,
0.009860397316515446,
0.0034290440380573273,
0.02459033951163292,
-0.002917828503996134,
0.008868291974067688,
0.04945794865489006,
0.005883312784135342,
0.0386790968477726,
0.03320302441716194,
-0.06675263494253159,
-0.010146331042051315,
0.036842186003923416,
-0.024209095165133476,
-0.0376046784222126,
0.0188023392111063,
-0.005844321567565203,
0.02334262803196907,
0.015232494100928307,
-0.0482448972761631,
-0.00364999333396554,
0.09274665266275406,
-0.012953685596585274,
-0.06595548987388611,
0.032943084836006165,
0.01883699744939804,
0.038228534162044525,
-0.05839989334344864,
-0.015362463891506195,
-0.007815534248948097,
0.022406842559576035,
0.012971014715731144,
-0.003439874853938818,
0.003749636933207512,
0.02327330969274044,
0.01819581165909767,
0.004048568196594715,
0.02181764505803585,
0.011957247741520405,
-0.016887446865439415,
0.019148925319314003,
0.03320302441716194,
-0.0017870886949822307,
-0.03448539599776268,
-0.08255700021982193,
0.01280638575553894,
-0.08013089001178741,
-0.025526124984025955,
0.007737552281469107,
-0.02445170469582081,
-0.01674014702439308,
-0.015180505812168121,
-0.009782414883375168,
-0.050532370805740356,
-0.016436884179711342,
0.02845478430390358,
0.004479635506868362,
0.008417729288339615,
0.03892171010375023,
-0.003797292709350586,
-0.03341097757220268,
-0.0464773029088974,
0.0005577882984653115,
0.012615762650966644,
0.07084236294031143,
-0.011688643135130405,
0.003682485781610012,
-0.004999516066163778,
-0.021436398848891258,
0.008045148104429245,
-0.026513896882534027,
-0.03420812636613846,
-0.031158162280917168,
0.03183400630950928,
0.0773581936955452,
0.05985555797815323,
-0.026635203510522842,
0.005276785697788,
-0.044328462332487106,
0.05573117360472679,
-0.05281984433531761,
-0.07715024054050446,
-0.01711272820830345,
-0.022476160898804665,
0.026635203510522842,
-0.035317204892635345,
0.02150571718811989,
-0.03715411573648453,
0.020206015557050705,
0.005649366416037083,
-0.04498697817325592,
0.03339364752173424,
-0.05205735191702843,
-0.008694998919963837,
0.04692786559462547,
0.009392504580318928,
-0.013915464282035828,
-0.06754978746175766,
-0.01605563797056675,
0.054656755179166794,
-0.08713194727897644,
0.0376046784222126,
0.047517064958810806,
-0.05112156644463539,
0.005484737455844879,
-0.009323187172412872,
0.007525268010795116,
-0.022372184321284294,
-0.03590640425682068,
-0.050220441073179245,
0.007594585418701172,
-0.002330796793103218,
0.05070566385984421,
-0.00010993303294526413,
0.017519967630505562,
-0.04630400985479355,
-0.035178571939468384,
0.019998064264655113,
-0.008417729288339615,
0.06543560326099396,
-0.030672941356897354,
-0.05656298249959946,
0.04242223501205444,
0.0542755089700222,
-0.015839021652936935,
-0.044293805956840515,
-0.004817557986825705,
0.002980647375807166,
-0.02795223332941532,
0.03614901378750801,
0.03729274868965149,
0.00698805833235383,
-0.018888985738158226,
-0.06463845819234848,
-0.06588616967201233,
-0.04817557707428932,
-0.03065561130642891,
-0.07548662275075912,
0.011783954687416553,
0.015977656468749046,
-0.020067380741238594,
-0.030499646440148354,
0.004535955842584372,
0.0613805390894413,
-0.04380858317017555,
-0.009877726435661316,
-0.03954556584358215,
-0.007083369884639978,
-0.005263788625597954,
-0.006511501502245665,
0.010328289121389389,
0.01265042182058096,
-0.041486453264951706,
0.004267351236194372,
0.0028376802802085876,
0.005619040224701166,
-0.02472897432744503,
-0.010744193568825722,
0.04516027122735977,
-0.009141229093074799,
-0.025023574009537697,
0.019183585420250893,
0.033081717789173126,
0.0283854678273201,
0.026028675958514214,
-0.04048135131597519,
-0.12151336669921875,
-0.032197922468185425,
0.04685854911804199,
-0.05243859812617302,
0.010293630883097649,
0.014392021112143993,
-0.02866273559629917,
0.011896595358848572,
0.011160098016262054,
-0.006511501502245665,
0.028246833011507988,
0.003520023077726364,
0.03377489373087883,
-0.018490411341190338,
0.02533550187945366,
-0.03167804330587387,
-0.007412627339363098,
0.04640798643231392,
-0.03015306033194065,
-0.054656755179166794,
0.06346005946397781,
0.0030824572313576937,
0.004891207441687584,
0.004787231329828501,
-0.015769703313708305,
-0.02490226924419403,
-0.020881861448287964,
0.009557133540511131,
-0.059093065559864044,
-0.009912385605275631,
-0.00613025575876236,
-0.04030805453658104,
0.02192162163555622,
0.024417046457529068,
-0.06359869241714478,
-0.05739479139447212,
-0.05600844323635101,
-0.006624142173677683,
0.018421093001961708,
-0.015579081140458584,
0.004213197156786919,
-0.025266185402870178,
-0.0019842099864035845,
-0.0564243458211422,
0.009721762500703335,
0.033445633947849274,
0.0034117146860808134,
-0.0010874164290726185,
-0.026409922167658806,
-0.04821023717522621,
-0.02795223332941532,
0.0038687761407345533,
0.02869739569723606,
0.02682582661509514,
-0.02540482021868229,
0.01784922555088997,
0.06498504430055618,
-0.042560871690511703,
-0.031418103724718094,
-0.005961294751614332,
0.00560604315251112,
-0.01343024242669344,
0.03004908375442028,
0.019668806344270706,
-0.0193395484238863,
-0.02564742974936962,
0.08179450780153275,
0.020171357318758965,
-0.026132652536034584,
0.028818700462579727,
0.025664759799838066,
-0.039718858897686005,
0.02266678400337696,
-0.06550492346286774,
0.01360353548079729,
-0.04831421375274658,
-0.03474533557891846,
0.023689214140176773,
-0.04242223501205444,
-0.005272453185170889,
0.008032151497900486,
0.03580242767930031,
0.029615851119160652,
-0.03205928951501846,
-0.01771925576031208,
-0.03193798288702965,
0.03296041488647461,
-0.002039447193965316,
-0.020483285188674927,
0.0354904979467392,
-0.015501098707318306,
0.020656578242778778,
0.033653587102890015,
-0.01239914633333683,
-0.006433519069105387,
0.032873768359422684,
0.056112419813871384,
-0.012078553438186646,
0.0036456608213484287,
0.013629529625177383,
-0.005146815441548824,
0.03405216336250305,
-0.0007700727437622845,
-0.020621920004487038,
-0.0074732801876962185,
0.04495232179760933,
0.004557617474347353,
0.04938863217830658,
-0.020032722502946854,
-0.0045749470591545105,
0.051676105707883835,
0.06578219681978226,
0.024313071742653847,
-0.05666695907711983,
-0.027900245040655136,
-0.01434869784861803,
0.036599576473236084,
0.032908424735069275,
0.07624911516904831,
0.02001539245247841,
-0.06758444756269455,
-0.028264161199331284,
-0.07146621495485306,
0.013534218072891235,
-0.04325404390692711,
0.03881773352622986,
0.036911506205797195,
0.053131770342588425,
0.010848170146346092,
-0.02185230329632759,
0.007118028588593006,
-0.028957335278391838,
0.007157019339501858,
0.000004345028628449654,
0.007399630267173052,
-0.001328944112174213,
-0.013950122520327568,
-0.010068349540233612,
-0.03781263157725334,
0.056285712867975235,
-0.04172906279563904,
0.01635890081524849,
-0.04502163827419281,
-0.015561752021312714,
0.039580222219228745,
-0.00782853178679943,
-0.02530084364116192,
0.05375562608242035,
0.011844607070088387,
-0.027449682354927063,
0.04796762764453888,
0.0308635625988245,
-0.009990367107093334,
0.01897563226521015,
0.04831421375274658,
0.008807639591395855,
0.04678923264145851,
-0.005688357632607222,
-0.041105207055807114,
-0.005541057791560888,
-0.021488387137651443,
0.05271586775779724,
-0.05576582998037338,
0.006372866686433554,
0.0023437938652932644,
-0.009886391460895538,
-0.0004221319977659732,
-0.033792223781347275,
0.0603061206638813,
0.023152004927396774,
-0.0009796494850888848,
-0.01502454187721014,
0.029667837545275688,
0.04848750680685043,
-0.016792135313153267,
0.0025799062568694353,
0.022042926400899887,
0.05538458749651909,
0.03777797147631645,
0.08144792169332504,
0.03249252215027809,
0.04640798643231392,
-0.002419609809294343,
0.047378428280353546,
0.033255014568567276,
-0.005913638975471258,
0.015241159126162529,
0.036980822682380676,
0.05801864713430405,
-0.02327330969274044,
-0.023966483771800995,
0.0010971641167998314,
0.011983241885900497,
-0.010146331042051315,
0.01674014702439308,
0.04249155521392822,
0.023567909374833107,
-0.007330312859266996,
-0.06581684947013855,
-0.0038492807652801275,
0.03497061878442764,
-0.006047941278666258,
-0.027380364015698433,
0.013750835321843624,
-0.024001142010092735,
-0.015405787155032158,
0.03136611357331276,
-0.025075562298297882,
0.05046305060386658,
0.004566282499581575,
-0.07146621495485306,
0.007100699003785849,
0.012425140477716923,
0.021297764033079147,
-0.039580222219228745,
-0.02266678400337696,
-0.0354904979467392,
-0.06942135840654373,
0.028836030513048172,
-0.06779240071773529,
-0.03940692916512489,
0.04644264280796051,
0.0376046784222126,
0.004795896355062723,
0.0188023392111063,
-0.025023574009537697,
0.0071916780434548855,
-0.015804363414645195,
0.03491862863302231,
0.02504090406000614,
-0.023793190717697144,
0.03490130230784416,
0.05503799766302109,
0.01819581165909767,
-0.00012029002391500399,
-0.054587434977293015,
0.07056508958339691,
0.09718296676874161,
-0.050047148019075394,
-0.001115576596930623,
0.04796762764453888,
0.019634148105978966,
0.04065464437007904,
0.036668892949819565,
0.006641471292823553,
0.047517064958810806,
0.017597949132323265,
-0.019530171528458595,
-0.005788001231849194,
-0.03919897973537445,
0.0264272503554821,
-0.033445633947849274,
-0.021280435845255852,
0.020206015557050705,
-0.029286593198776245,
-0.022649453952908516,
-0.047031842172145844,
0.0020838538184762,
-0.007715890649706125,
-0.01461730245500803,
-0.019183585420250893,
-0.015865014865994453,
-0.005662363488227129,
-0.08969669044017792,
-0.03221525251865387,
0.08810239285230637,
0.002909163711592555,
0.01578703336417675,
-0.019946075975894928,
0.0025322504807263613,
0.009323187172412872,
-0.00671512121334672,
-0.03224991261959076,
-0.007364971563220024,
0.016445549204945564,
-0.11832476407289505,
0.008123130537569523,
0.023186663165688515,
-0.03933761268854141,
0.006134588271379471,
-0.060444753617048264,
-0.005393758416175842,
0.009496481157839298,
-0.010007696226239204,
-0.012581104412674904,
-0.012875703163444996,
0.04325404390692711,
-0.026947131380438805,
0.0024802624247968197,
0.04692786559462547,
-0.016861451789736748,
0.0720207542181015,
0.025214197114109993,
0.05566185712814331,
-0.027120424434542656,
-0.002322132233530283,
0.02604600600898266,
-0.025907371193170547,
-0.01385481096804142,
0.01096081081777811,
0.021384412422776222,
-0.034329432994127274,
0.0009412000654265285,
0.01680080033838749,
0.02530084364116192,
0.0542755089700222,
-0.053027793765068054,
0.015587746165692806,
0.006195240654051304,
0.019755452871322632,
0.003723643021658063,
0.04370460659265518,
-0.027553658932447433,
0.03339364752173424,
0.08359675854444504,
-0.04495232179760933,
0.04640798643231392,
-0.01305766124278307,
0.08955805748701096,
0.024001142010092735,
0.04016942158341408,
0.030031755566596985,
-0.01710406318306923,
-0.028645407408475876,
-0.00725666293874383,
-0.04512561485171318,
0.05275052413344383,
-0.039996128529310226,
0.09378641098737717,
-0.029546532779932022,
0.012511787004768848,
0.013499559834599495,
-0.02114180102944374,
-0.107164666056633,
-0.06689126789569855,
0.01266775093972683,
-0.09170689433813095,
0.05129485949873924,
-0.007793873082846403,
0.042560871690511703,
0.0008166453917510808,
-0.019252901896834373,
-0.023515921086072922,
-0.025352831929922104,
-0.04821023717522621,
0.01002502627670765,
0.01317896693944931,
-0.00885962788015604,
0.0326484851539135,
-0.044363122433423996,
-0.05503799766302109,
-0.009106570854783058,
-0.006420522462576628,
-0.02618464082479477,
-0.05281984433531761,
0.022545477375388145,
0.005848654080182314,
0.024954257532954216,
-0.002536582760512829,
0.06307881325483322,
-0.03256183862686157,
0.018334446474909782,
-0.009158559143543243,
-0.014573979191482067,
0.02405313029885292,
0.03635696694254875,
0.06782705336809158,
0.03472800552845001,
0.012165199965238571,
0.026409922167658806,
-0.03420812636613846,
0.039926812052726746,
-0.0324578620493412,
0.007273992523550987,
-0.03543851152062416,
0.007538265082985163,
-0.06113792955875397,
0.01656685397028923,
0.05566185712814331,
0.030361011624336243,
0.04457107558846474,
-0.01355154812335968,
-0.02717241272330284,
-0.01119475718587637,
-0.003468035254627466,
0.07354573905467987,
-0.0020318657625466585,
-0.04301143437623978,
0.0009666525293141603,
0.0770116075873375,
0.023533251136541367,
0.014677954837679863,
0.021436398848891258,
-0.017459314316511154,
-0.03122747875750065,
-0.025595441460609436,
0.025907371193170547,
0.01809183694422245,
-0.0172080397605896,
-0.051572129130363464,
0.06359869241714478,
-0.005727348383516073,
0.006810432765632868,
0.0041677076369524,
0.08491379022598267,
-0.006589483469724655,
0.0029134959913790226,
-0.026687191799283028,
-0.04817557707428932,
-0.0872705802321434,
0.04370460659265518,
-0.06335608661174774,
0.03224991261959076,
0.004535955842584372,
0.01674014702439308,
-0.00419153505936265,
-0.03509192168712616,
-0.044155169278383255,
0.00391209963709116,
0.006039276719093323,
0.05576582998037338,
0.002729371888563037,
-0.041347816586494446,
0.08546832948923111,
0.06335608661174774,
0.00813179463148117,
-0.02245883084833622,
-0.039580222219228745,
0.005077498033642769,
0.008811972104012966,
-0.0298064723610878,
0.038193877786397934,
0.05365165323019028,
-0.015501098707318306
] |
9,696 | requests.sessions | merge_environment_settings |
Check the environment and merge it with some settings.
:rtype: dict
| def merge_environment_settings(self, url, proxies, stream, verify, cert):
"""
Check the environment and merge it with some settings.
:rtype: dict
"""
# Gather clues from the surrounding environment.
if self.trust_env:
# Set environment's proxies.
no_proxy = proxies.get("no_proxy") if proxies is not None else None
env_proxies = get_environ_proxies(url, no_proxy=no_proxy)
for (k, v) in env_proxies.items():
proxies.setdefault(k, v)
# Look for requests environment configuration
# and be compatible with cURL.
if verify is True or verify is None:
verify = (
os.environ.get("REQUESTS_CA_BUNDLE")
or os.environ.get("CURL_CA_BUNDLE")
or verify
)
# Merge all the kwargs.
proxies = merge_setting(proxies, self.proxies)
stream = merge_setting(stream, self.stream)
verify = merge_setting(verify, self.verify)
cert = merge_setting(cert, self.cert)
return {"proxies": proxies, "stream": stream, "verify": verify, "cert": cert}
| (self, url, proxies, stream, verify, cert) | [
-0.0410868264734745,
-0.05789830535650253,
-0.008552351035177708,
0.013825930655002594,
-0.07733990997076035,
0.01733572594821453,
-0.07961460947990417,
-0.01510545052587986,
0.025590410456061363,
0.02379552833735943,
-0.038172364234924316,
-0.01629611663520336,
-0.04069586098194122,
0.041157908737659454,
0.004078471567481756,
-0.019015096127986908,
0.028273848816752434,
0.0008191374945454299,
0.02217835560441017,
-0.05775613710284233,
0.0285048745572567,
-0.0157540962100029,
-0.03984284773468971,
-0.017433466389775276,
-0.012546409852802753,
0.02766963094472885,
0.013079543597996235,
0.00889000203460455,
0.02615908719599247,
0.03369404003024101,
-0.030761806294322014,
0.012617493979632854,
0.024506373330950737,
0.008063645102083683,
0.10563153028488159,
-0.011178033426404,
0.015229848213493824,
0.03243229165673256,
-0.061381444334983826,
0.012253186665475368,
-0.06024409085512161,
-0.024755168706178665,
0.005957767367362976,
-0.013221711851656437,
0.0026789961848407984,
0.0428994819521904,
-0.03977176174521446,
0.07072905451059341,
-0.017682263627648354,
-0.029020236805081367,
0.015309819020330906,
-0.0034520397894084454,
0.08359534293413162,
0.036270853132009506,
0.01857081800699234,
-0.05004347115755081,
-0.007543839979916811,
0.04684466868638992,
-0.030619638040661812,
0.06667723506689072,
-0.007223959546536207,
0.0012750778114423156,
-0.007454984355717897,
-0.012964030727744102,
-0.01713135838508606,
-0.01837533712387085,
-0.049154914915561676,
0.0009774115169420838,
0.03399614989757538,
-0.04595611244440079,
0.02340456284582615,
-0.0493326261639595,
-0.07179532200098038,
-0.06141698732972145,
0.050185639411211014,
-0.033320847898721695,
-0.04510309919714928,
0.030317528173327446,
-0.022142814472317696,
-0.04105128347873688,
0.018322022631764412,
-0.01804657094180584,
-0.063585065305233,
0.017149129882454872,
0.037497058510780334,
-0.0036186440847814083,
0.009161011315882206,
0.009134355001151562,
0.08977968990802765,
-0.012759663164615631,
-0.006859651766717434,
0.05263805389404297,
0.06767241656780243,
-0.014563431963324547,
0.04592056944966316,
0.0370350107550621,
-0.01766449213027954,
0.05238925665616989,
-0.02930457517504692,
-0.05605010688304901,
-0.0025368272326886654,
0.0008296890882775187,
-0.03596874326467514,
-0.039132002741098404,
-0.013728189282119274,
-0.01928166300058365,
0.018268710002303123,
-0.04201092571020126,
0.02464854158461094,
0.015709668397903442,
-0.02171630598604679,
-0.053917571902275085,
-0.03133048117160797,
-0.005389091558754444,
0.0027922869194298983,
-0.03287656977772713,
-0.01465228758752346,
-0.01333722472190857,
-0.018606361001729965,
0.024150950834155083,
-0.012146559543907642,
0.07677122950553894,
0.030708493664860725,
0.02184070460498333,
0.017735576257109642,
0.036857299506664276,
0.003880768083035946,
0.01726464182138443,
0.07232845574617386,
-0.006815223954617977,
-0.0021725192200392485,
0.0007269498310051858,
-0.030317528173327446,
-0.009338722564280033,
0.014865540899336338,
-0.03891874849796295,
-0.047910936176776886,
0.01138240098953247,
0.02217835560441017,
0.01753120869398117,
-0.03191692754626274,
0.007952575571835041,
-0.04222417622804642,
-0.036324165761470795,
-0.013843701221048832,
-0.01615394651889801,
-0.011604540050029755,
-0.027438607066869736,
-0.062483251094818115,
0.0017948829336091876,
0.06113264709711075,
0.020419014617800713,
-0.029197948053479195,
-0.01928166300058365,
-0.02525275945663452,
0.023884383961558342,
-0.016313886269927025,
0.019086182117462158,
-0.022640405222773552,
0.032858796417713165,
-0.017166901379823685,
0.03369404003024101,
-0.00773487938567996,
-0.01954822987318039,
0.004189541097730398,
-0.001841532182879746,
0.05224708840250969,
-0.028984693810343742,
0.049936842173337936,
0.02132534235715866,
-0.037888024002313614,
-0.006761910393834114,
0.041300080716609955,
0.009623060934245586,
0.024737397208809853,
0.04936816915869713,
0.029286803677678108,
-0.0820314809679985,
-0.04531635344028473,
-0.004478321876376867,
-0.053597692400217056,
0.01039610430598259,
-0.024470830336213112,
0.016633767634630203,
-0.019850339740514755,
0.0054601761512458324,
-0.02935788780450821,
-0.03728380799293518,
-0.0018959562294185162,
0.017380153760313988,
-0.020898835733532906,
0.041762128472328186,
0.016500484198331833,
-0.04545852169394493,
-0.004002944566309452,
0.0060421801172196865,
-0.024488601833581924,
-0.044498879462480545,
0.029766622930765152,
0.00686853751540184,
-0.08821583539247513,
-0.04233080521225929,
-0.024612998589873314,
0.012839633040130138,
0.014501232653856277,
-0.00955197587609291,
-0.033445246517658234,
-0.01954822987318039,
-0.036004286259412766,
0.09205439686775208,
0.008294669911265373,
0.03028198517858982,
-0.02360004559159279,
-0.03707055374979973,
-0.027545234188437462,
-0.009303180500864983,
0.019246121868491173,
0.016242802143096924,
-0.0349380187690258,
0.015087679959833622,
0.03945188224315643,
-0.03742597624659538,
0.08238690346479416,
-0.006726368330419064,
0.0032654430251568556,
0.005917782429605722,
-0.0032099082600325346,
-0.0307440347969532,
-0.009161011315882206,
-0.02223167009651661,
0.0326988585293293,
0.03348078578710556,
-0.0009124358766712248,
0.03250337764620781,
0.08167605847120285,
-0.05078985542058945,
-0.009436463937163353,
0.04229526221752167,
0.09667488187551498,
-0.014074726030230522,
0.019512688741087914,
-0.03054855205118656,
0.027296438813209534,
0.017815547063946724,
-0.036466334015131,
-0.02315576747059822,
0.03852778673171997,
-0.024150950834155083,
-0.014590088278055191,
-0.031028373166918755,
0.001687145559117198,
0.014670058153569698,
-0.013026230037212372,
0.011515684425830841,
0.000865231326315552,
0.0060910508036613464,
0.051429618149995804,
-0.0174690093845129,
0.007037363015115261,
-0.0860833004117012,
0.07670015096664429,
0.016598224639892578,
0.01209324598312378,
-0.014687829650938511,
-0.0634428933262825,
0.000029711089155171067,
0.05907119810581207,
-0.0655398815870285,
-0.07101339101791382,
0.036786217242479324,
0.03650187700986862,
0.021289799362421036,
-0.038172364234924316,
-0.015123222023248672,
0.033711813390254974,
0.08672305941581726,
0.015229848213493824,
0.002083663595840335,
0.029180176556110382,
-0.0035608878824859858,
0.04229526221752167,
0.037888024002313614,
0.015683012083172798,
0.012048818171024323,
-0.00846793781965971,
-0.05811155587434769,
-0.09582187235355377,
0.021272029727697372,
0.02406209520995617,
-0.00961417518556118,
-0.005046997684985399,
-0.006464244332164526,
0.05985312908887863,
-0.012146559543907642,
-0.07254170626401901,
-0.01798437163233757,
0.004320603329688311,
0.030068732798099518,
0.03980730473995209,
-0.00011967737373197451,
-0.007694894447922707,
0.040980201214551926,
0.019121723249554634,
0.060457345098257065,
0.052673596888780594,
-0.013488278724253178,
0.044641051441431046,
-0.06518446654081345,
0.011924420483410358,
0.004984798841178417,
-0.018979554995894432,
-0.024115407839417458,
0.03616422787308693,
0.023902153596282005,
-0.023386791348457336,
-0.024701854214072227,
-0.03099283017218113,
-0.0024257577024400234,
-0.02027684636414051,
0.003496467601507902,
-0.03289433941245079,
-0.018997326493263245,
0.044960930943489075,
-0.019317205995321274,
0.02838047593832016,
-0.01562969945371151,
0.07328809052705765,
0.01066267117857933,
-0.007166203577071428,
0.06703265756368637,
-0.12006167322397232,
0.032414522022008896,
0.03552446514368057,
0.08380859345197678,
0.019832568243145943,
0.019725941121578217,
-0.03525789827108383,
0.004040708299726248,
0.04357478395104408,
-0.013790387660264969,
-0.028096137568354607,
-0.00727727310732007,
-0.06411819905042648,
-0.02701210044324398,
-0.018730759620666504,
-0.03513349965214729,
0.01947714574635029,
0.06219891458749771,
0.00686853751540184,
-0.06671278178691864,
-0.04951033741235733,
0.0064287022687494755,
0.01510545052587986,
0.041228994727134705,
-0.006459801457822323,
0.005331335589289665,
-0.04968804866075516,
-0.04257959872484207,
0.022320525720715523,
0.005326892714947462,
-0.030708493664860725,
0.05995975434780121,
-0.0063665034249424934,
0.05690312013030052,
0.039060916751623154,
0.005939996335655451,
0.012670807540416718,
-0.020845521241426468,
-0.022125042974948883,
-0.04165550321340561,
0.028806982561945915,
0.01922835037112236,
0.02137865498661995,
-0.0306729506701231,
0.008259126916527748,
-0.013657104223966599,
-0.0487639494240284,
-0.06461578607559204,
0.03746151924133301,
0.07542062550783157,
0.0036919498816132545,
0.05459287762641907,
-0.011853336356580257,
0.011266889050602913,
0.005260250996798277,
-0.06443807482719421,
-0.017548980191349983,
-0.021609680727124214,
0.030957289040088654,
0.041691042482852936,
-0.001656046137213707,
0.00018479186110198498,
0.013026230037212372,
0.0591067411005497,
-0.021609680727124214,
-0.008188042789697647,
-0.022640405222773552,
-0.011204690672457218,
-0.01140905823558569,
-0.04805310443043709,
0.014314635656774044,
-0.0017660049488767982,
0.02276480197906494,
-0.028469331562519073,
-0.012342042289674282,
-0.05402420088648796,
-0.005024783778935671,
0.005211380310356617,
0.0778374969959259,
0.01138240098953247,
-0.029659997671842575,
-0.04961696267127991,
0.031952470541000366,
-0.0143590634688735,
-0.023635588586330414,
0.01667819544672966,
0.012279842980206013,
0.04105128347873688,
0.030566323548555374,
0.007175089325755835,
0.04311273247003555,
-0.04883503541350365,
-0.06237662583589554,
0.006526443175971508,
-0.029908793047070503,
0.02269371785223484,
-0.02100546285510063,
-0.03348078578710556,
-0.03792356699705124,
-0.018872927874326706,
0.04720009118318558,
0.017415696755051613,
0.000452885840786621,
-0.0059710959903895855,
0.0670682042837143,
0.04034043848514557,
-0.009916284121572971,
0.009409807622432709,
-0.0028278292156755924,
0.015096564777195454,
-0.03877658024430275,
-0.006330960895866156,
-0.04716454818844795,
0.06934290379285812,
0.012697463855147362,
0.01903286762535572,
-0.0031055030412971973,
-0.011826679110527039,
0.007952575571835041,
-0.003480917774140835,
0.00672192545607686,
-0.07634472846984863,
-0.04204646497964859,
-0.047839850187301636,
0.016180602833628654,
0.04137116298079491,
0.04158441722393036,
0.03799465298652649,
-0.025785893201828003,
0.047768767923116684,
0.06191457808017731,
-0.08835799992084503,
0.0028900280594825745,
0.008352425880730152,
-0.07225736975669861,
-0.002552376827225089,
-0.01171116717159748,
0.019050639122724533,
-0.00025948608526960015,
0.05942662060260773,
-0.034760307520627975,
-0.011648967862129211,
-0.04552960395812988,
0.011693395674228668,
-0.025003964081406593,
0.01687367632985115,
-0.012999572791159153,
0.012661921791732311,
0.003134381026029587,
0.0032476719934493303,
-0.09688813984394073,
-0.00046815790119580925,
-0.00370972091332078,
-0.008116958662867546,
0.01896178349852562,
-0.049012746661901474,
0.01387035846710205,
-0.01733572594821453,
0.06241216883063316,
0.09177005290985107,
0.0779796689748764,
0.042401887476444244,
-0.009005513973534107,
-0.015585270710289478,
-0.017433466389775276,
0.01871298812329769,
0.027776258066296577,
0.0285759586840868,
0.05036335065960884,
-0.051820579916238785,
0.017015846446156502,
-0.03596874326467514,
0.0317925326526165,
0.04577840119600296,
-0.01209324598312378,
0.009738572873175144,
-0.09127246588468552,
-0.0005303568323142827,
0.0017193556996062398,
0.048230815678834915,
-0.02111208811402321,
0.06042180210351944,
-0.015256505459547043,
-0.03767476975917816,
0.003287656931206584,
-0.03264554589986801,
-0.03616422787308693,
0.04076694697141647,
-0.007197303231805563,
-0.02399100922048092,
0.040980201214551926,
0.06351397931575775,
0.014776685275137424,
-0.013968098908662796,
0.008330211974680424,
0.01121357548981905,
0.02969553880393505,
0.03529344126582146,
-0.056085649877786636,
0.017486780881881714,
-0.017931059002876282,
-0.012484210543334484,
-0.04688021168112755,
0.04592056944966316,
0.11764480173587799,
-0.005886683240532875,
-0.013497164472937584,
-0.028096137568354607,
-0.029606683179736137,
0.031028373166918755,
0.04702237993478775,
0.007401670794934034,
-0.02870035730302334,
0.028096137568354607,
-0.05761396512389183,
0.014216895215213299,
0.01602954976260662,
0.0071839746087789536,
-0.03516904264688492,
-0.01373707503080368,
-0.056476615369319916,
0.03579103201627731,
0.08700739592313766,
0.06543325632810593,
-0.03980730473995209,
-0.09553753584623337,
0.016251688823103905,
-0.049012746661901474,
-0.01235981285572052,
0.003096617292612791,
0.05654769763350487,
-0.035737719386816025,
-0.06905856728553772,
0.025928061455488205,
-0.06813447177410126,
-0.03296542540192604,
-0.03113500028848648,
0.07133326679468155,
-0.026105772703886032,
-0.0023502304684370756,
0.04481876268982887,
0.01150679960846901,
-0.07104893028736115,
-0.004540520720183849,
-0.016073977574706078,
-0.014234665781259537,
0.04734225943684578,
0.05054106190800667,
0.036928385496139526,
0.04421454295516014,
-0.012795205228030682,
-0.0006053287070244551,
-0.055303722620010376,
-0.05174949765205383,
0.017833316698670387,
-0.01647382602095604,
0.06102602183818817,
0.05107419565320015,
0.03349855914711952,
-0.029446743428707123,
-0.07705557346343994,
0.04218863695859909,
-0.021485282108187675,
-0.024684084579348564,
-0.010022911243140697,
0.001626057317480445,
-0.04844406992197037,
0.020969919860363007,
-0.003967402037233114,
0.0014761135680601,
-0.013586020097136497,
-0.03490247577428818,
0.032929882407188416,
-0.03859886899590492,
-0.08601221442222595,
-0.037106096744537354,
-0.020187990739941597,
0.012546409852802753,
0.027154268696904182,
-0.01857081800699234,
0.029269032180309296,
-0.02237383835017681,
0.013417194597423077,
-0.008992185816168785,
-0.00010759857104858384,
-0.009560861624777317,
-0.05988866835832596,
0.012297614477574825,
-0.012697463855147362,
-0.05839589610695839,
0.0178510881960392,
-0.04243743047118187,
-0.024897336959838867,
0.03321421891450882,
-0.0007680455455556512,
0.00833909772336483,
0.043006107211112976,
0.014527888968586922,
-0.04865732416510582,
-0.01876630075275898,
0.035097960382699966,
0.043077193200588226,
0.09966043382883072,
-0.021698536351323128,
0.003363184165209532,
0.016695965081453323,
0.0593910776078701,
0.02013467811048031,
0.01629611663520336,
-0.013257254846394062,
0.11842673271894455,
-0.008268012665212154,
0.01974371261894703,
-0.010636014863848686,
-0.038030192255973816,
-0.007370571605861187,
0.03394283726811409,
0.0011084735160693526,
0.004325046204030514,
-0.029908793047070503,
0.019850339740514755,
0.004078471567481756,
0.024275347590446472,
0.009942940436303616,
-0.01674039289355278,
-0.03163259103894234,
0.00007032087160041556,
0.016456056386232376,
0.0897086039185524,
-0.04137116298079491,
0.01661599613726139,
0.0031743659637868404,
-0.010484959930181503,
-0.004076250363141298,
0.058893486857414246,
0.00418731989338994,
-0.00516695249825716,
0.02582143433392048,
0.05541034787893295,
0.009032171219587326,
0.06468687206506729,
-0.04688021168112755,
-0.027563005685806274,
0.020419014617800713,
0.008401296101510525,
-0.03420940414071083,
0.01608286239206791,
-0.04641816020011902,
-0.03280548378825188,
-0.02034793049097061,
0.0193527489900589,
-0.0032498931977897882,
0.0097119165584445,
0.044036831706762314,
-0.00988074205815792,
0.023297935724258423,
0.0347958505153656,
-0.0022036186419427395,
-0.049474794417619705,
0.053135644644498825,
-0.0023946582805365324,
-0.04748442769050598,
0.04446334019303322,
0.04538743570446968,
-0.015318703837692738,
-0.04826635867357254,
0.01049384567886591,
-0.04350369796156883,
0.009089927189052105,
-0.01628722995519638,
0.008054759353399277,
-0.013479392975568771,
-0.034564826637506485,
-0.02562595345079899,
-0.017548980191349983,
-0.034173861145973206,
0.0034475969150662422,
0.020365701988339424,
0.0532422699034214,
0.02759854681789875,
-0.0068374378606677055,
-0.028949152678251266,
0.038172364234924316,
-0.055872395634651184,
0.06475795805454254,
0.03682175651192665,
-0.019992507994174957,
-0.017300184816122055,
-0.013035115785896778,
0.012404240667819977,
-0.020383473485708237,
0.06155915558338165,
0.018215397372841835,
-0.019210578873753548,
0.04975913092494011,
-0.013710417784750462,
-0.009694145061075687,
-0.01026282086968422,
0.017815547063946724,
-0.008823360316455364,
-0.0014472354669123888,
0.02072112448513508,
-0.001544976606965065,
0.02550155483186245,
-0.05238925665616989,
0.006917407736182213,
-0.04133561998605728,
0.011462371796369553,
-0.05132298916578293,
0.023315707221627235,
-0.010236164554953575,
-0.02034793049097061,
-0.0060910508036613464,
-0.000247823802055791,
0.008103630505502224,
-0.04588502645492554,
0.021680764853954315,
-0.04492538794875145,
-0.010680442675948143,
-0.021698536351323128,
0.010840382426977158,
0.05697420611977577,
-0.010422760620713234,
-0.0357021763920784,
0.02413317933678627,
-0.04222417622804642,
-0.019566001370549202,
-0.017753347754478455,
0.021360885351896286,
-0.01076041255146265,
-0.021165402606129646,
-0.038847666233778,
-0.021680764853954315,
0.029144633561372757,
0.05278022214770317,
-0.0038030194118618965,
0.020045822486281395,
0.0002467131125740707
] |
9,697 | requests.sessions | mount | Registers a connection adapter to a prefix.
Adapters are sorted in descending order by prefix length.
| def mount(self, prefix, adapter):
"""Registers a connection adapter to a prefix.
Adapters are sorted in descending order by prefix length.
"""
self.adapters[prefix] = adapter
keys_to_move = [k for k in self.adapters if len(k) < len(prefix)]
for key in keys_to_move:
self.adapters[key] = self.adapters.pop(key)
| (self, prefix, adapter) | [
-0.022765768691897392,
0.024021929129958153,
-0.02514042891561985,
-0.07853587716817856,
0.00566563056781888,
0.08066963404417038,
-0.0018465997418388724,
0.05843730270862579,
0.015220197848975658,
-0.048078276216983795,
-0.0034888582304120064,
0.016553793102502823,
0.0063367304392158985,
0.006620657164603472,
-0.029304688796401024,
-0.015874089673161507,
0.010255781002342701,
0.02558782882988453,
-0.0432601235806942,
0.0042459964752197266,
-0.019909292459487915,
0.013482222333550453,
0.05885028466582298,
0.036549124866724014,
-0.04776853695511818,
0.04890424385666847,
-0.002751078689470887,
-0.01329293753951788,
0.0717216357588768,
-0.010969899594783783,
0.015727825462818146,
-0.013224106281995773,
0.0499022901058197,
0.011916322633624077,
-0.002738173119723797,
-0.03370985761284828,
0.04683932289481163,
-0.021974215283989906,
-0.007012132089585066,
0.015280425548553467,
0.06263598054647446,
-0.024383291602134705,
0.04122961685061455,
-0.03419167175889015,
0.05523667111992836,
0.11419020593166351,
0.04673607647418976,
0.01837780885398388,
0.05558082461357117,
0.010918276384472847,
-0.034398164600133896,
0.004491206258535385,
-0.027480674907565117,
0.021612852811813354,
-0.06218857690691948,
0.0007275624666363001,
0.018016446381807327,
0.06129377707839012,
-0.054961349815130234,
0.044154923409223557,
-0.037547171115875244,
-0.01656239852309227,
0.010135327465832233,
-0.003411423647776246,
0.013318749144673347,
-0.0428815521299839,
-0.02610405907034874,
-0.027343012392520905,
0.00994604267179966,
-0.027497882023453712,
0.017655085772275925,
-0.017061419785022736,
-0.011012919247150421,
-0.03916469216346741,
0.013413391076028347,
0.005377402063459158,
0.0011701226467266679,
0.02018461562693119,
-0.014927667565643787,
-0.028495928272604942,
0.003413574770092964,
-0.0009087809012271464,
0.012793914414942265,
0.06349635869264603,
0.03205791860818863,
0.043088044971227646,
-0.020872922614216805,
0.011692622676491737,
-0.012914367951452732,
0.0009087809012271464,
-0.02942514233291149,
-0.0282894354313612,
0.015874089673161507,
0.05633796378970146,
-0.03981858491897583,
-0.0194102693349123,
-0.02865079790353775,
-0.025346921756863594,
-0.005084871314466,
-0.0067583187483251095,
-0.04147052392363548,
-0.014962082728743553,
-0.028857288882136345,
-0.004676188807934523,
-0.019874876365065575,
-0.0502808578312397,
0.028788458555936813,
-0.03415725752711296,
-0.05977950245141983,
0.041023124009370804,
0.02710210531949997,
-0.03383031114935875,
0.016648435965180397,
0.02971767447888851,
-0.007592891342937946,
0.03426050394773483,
0.04518738389015198,
-0.055030178278684616,
0.03596406430006027,
-0.020804092288017273,
-0.030113451182842255,
-0.010961296036839485,
-0.015263217501342297,
-0.011770057491958141,
0.024348875507712364,
-0.03266018629074097,
0.03981858491897583,
0.061052870005369186,
0.004347091540694237,
-0.024503745138645172,
0.0221807062625885,
0.02073526196181774,
-0.0399218313395977,
-0.035551078617572784,
0.004942907951772213,
-0.009352377615869045,
0.02909819781780243,
-0.031300779432058334,
-0.028857288882136345,
0.0310598723590374,
-0.05675094947218895,
0.00733907800167799,
0.003002741141244769,
0.05430745705962181,
-0.0015981638571247458,
-0.014523287303745747,
-0.04071338474750519,
-0.01057412289083004,
0.00001920740760397166,
-0.010161138139665127,
-0.04116078466176987,
0.04566919803619385,
0.03405401110649109,
0.025226468220353127,
-0.023419661447405815,
0.01619243249297142,
-0.10434740781784058,
0.041091952472925186,
-0.006078614853322506,
-0.010143931023776531,
0.005910840351134539,
-0.04443024471402168,
-0.006306617055088282,
0.0047192079946398735,
-0.06291130185127258,
0.0016099940985441208,
-0.017947616055607796,
-0.03235045075416565,
-0.02842709794640541,
0.014962082728743553,
0.017147459089756012,
-0.001944468473084271,
0.015108347870409489,
-0.03737509250640869,
0.004633169621229172,
0.008345727808773518,
0.0028478719759732485,
-0.030285527929663658,
-0.009713739156723022,
-0.043501030653715134,
0.019066115841269493,
0.018773585557937622,
0.04618543013930321,
-0.005975368898361921,
0.007123982068151236,
0.01999533176422119,
0.06779827922582626,
0.021991422399878502,
0.08610726147890091,
-0.0008550069178454578,
0.04429258406162262,
0.027893658727407455,
-0.014351209625601768,
-0.009894419461488724,
-0.004110485780984163,
-0.022542068734765053,
0.048560090363025665,
0.016424736008048058,
-0.0332624576985836,
0.016657039523124695,
-0.0717216357588768,
0.006835753098130226,
0.024297252297401428,
0.008582333102822304,
0.1027643010020256,
0.0018777886871248484,
0.0047192079946398735,
-0.005097777117043734,
-0.013077841140329838,
-0.025570621713995934,
0.023522906005382538,
-0.004800944589078426,
0.02694723568856716,
0.00010385107452748343,
-0.007240133825689554,
-0.02443491481244564,
0.014058679342269897,
0.027962489053606987,
0.05984833091497421,
-0.05382564291357994,
-0.01305202953517437,
0.03796015679836273,
-0.04174584522843361,
-0.021939799189567566,
-0.06504505127668381,
-0.026981651782989502,
-0.006908886134624481,
-0.05578731745481491,
0.0027854940854012966,
0.044361412525177,
0.02314433827996254,
-0.03985299915075302,
-0.015839675441384315,
0.005136494059115648,
0.024538159370422363,
0.0037297660019248724,
0.004119089804589748,
-0.010651557706296444,
0.04332895204424858,
-0.004702000413089991,
0.02854755148291588,
0.038545217365026474,
0.030182281509041786,
-0.006543222349137068,
-0.0075455703772604465,
0.04738996550440788,
-0.03620497137308121,
-0.02443491481244564,
0.0025187749415636063,
0.012759499251842499,
-0.047045812010765076,
0.02288622222840786,
0.05922885611653328,
0.0009431962971575558,
-0.002039110753685236,
-0.07034502178430557,
-0.09285267442464828,
0.024985559284687042,
-0.04418933764100075,
-0.02417679876089096,
-0.02754950523376465,
0.02137194573879242,
-0.022576484829187393,
0.006237786263227463,
0.03057805821299553,
0.047045812010765076,
-0.0003328611783217639,
0.03522413223981857,
-0.010135327465832233,
0.018911246210336685,
-0.008879166096448898,
-0.011486130766570568,
-0.007859610952436924,
0.02694723568856716,
0.022043045610189438,
0.029752088710665703,
0.011357072740793228,
0.044086091220378876,
-0.0030371565371751785,
-0.02787645161151886,
-0.019272608682513237,
-0.045152969658374786,
-0.022869015112519264,
0.012475572526454926,
-0.03675561770796776,
-0.005368798039853573,
0.05317175015807152,
0.015142763964831829,
0.015555747784674168,
-0.00004096908014616929,
0.027016066014766693,
-0.015159971080720425,
-0.019874876365065575,
0.040541309863328934,
-0.029304688796401024,
0.008732900954782963,
-0.09767082333564758,
0.029012158513069153,
0.020270654931664467,
0.01651937887072563,
-0.06260155886411667,
-0.04147052392363548,
-0.07564498484134674,
0.06848659366369247,
0.029235858470201492,
-0.014290982857346535,
-0.0013110105646774173,
0.018068069592118263,
-0.024004722014069557,
-0.0017218440771102905,
-0.017147459089756012,
-0.0007592891342937946,
-0.04126403108239174,
-0.02954559586942196,
0.07495667785406113,
0.03345173969864845,
-0.026086851954460144,
0.047045812010765076,
0.01210560742765665,
0.037134185433387756,
-0.021974215283989906,
0.07770991325378418,
-0.12045380473136902,
0.07130865007638931,
-0.004555734805762768,
0.0979461520910263,
0.051485396921634674,
0.02517484501004219,
0.01844663918018341,
-0.014308190904557705,
-0.06938138604164124,
0.0179304089397192,
-0.06077754497528076,
-0.012355118058621883,
-0.037168603390455246,
-0.021062208339571953,
0.012174437753856182,
-0.025226468220353127,
-0.04081663116812706,
0.017061419785022736,
0.06366843730211258,
-0.0046675847843289375,
-0.0084102563560009,
-0.0051537021063268185,
0.023006675764918327,
-0.004637471400201321,
-0.007037943694740534,
0.025037182494997978,
-0.05031527206301689,
0.05375681072473526,
-0.013508033007383347,
0.0008662994368933141,
0.030371565371751785,
0.019324231892824173,
0.11508500576019287,
-0.045634783804416656,
-0.06325545161962509,
-0.013327352702617645,
-0.0029446652624756098,
-0.026035228744149208,
-0.0055365730077028275,
-0.0033598006702959538,
-0.0003030165971722454,
-0.032040711492300034,
0.0010373007971793413,
-0.0021574136335402727,
-0.023557322099804878,
-0.015125555917620659,
0.015220197848975658,
-0.018463846296072006,
-0.01458351407200098,
-0.030750134959816933,
0.004426677245646715,
0.04714905843138695,
-0.011038730852305889,
-0.029493974521756172,
0.04191792383790016,
0.03219557926058769,
-0.046563997864723206,
0.037547171115875244,
0.020804092288017273,
0.004727811552584171,
0.09477993100881577,
0.00573015958070755,
-0.00876301433891058,
-0.03699652478098869,
-0.005308571271598339,
-0.005570988170802593,
0.016940966248512268,
0.013120860792696476,
-0.009954646229743958,
0.014015660621225834,
-0.02388426847755909,
0.012389534153044224,
-0.07268526405096054,
-0.00883614644408226,
-0.011821680702269077,
-0.0550990104675293,
-0.027343012392520905,
-0.005885028745979071,
0.056028224527835846,
-0.09670719504356384,
0.014213548973202705,
0.08053196966648102,
0.053515903651714325,
0.020322276279330254,
0.05083150416612625,
0.02754950523376465,
0.03167935088276863,
-0.046460751444101334,
-0.027497882023453712,
0.009317961521446705,
-0.0019745819736272097,
0.01601175218820572,
0.02410796843469143,
0.014652344398200512,
-0.002209036611020565,
0.006095822900533676,
-0.010255781002342701,
0.05234577879309654,
-0.004015843849629164,
-0.0070723588578403,
0.011468922719359398,
0.015813862904906273,
0.02935631200671196,
-0.014247964136302471,
0.021044999361038208,
-0.020305069163441658,
-0.040575724095106125,
-0.02520925924181938,
0.0038308610673993826,
0.04387959837913513,
0.013215502724051476,
-0.04570361226797104,
0.005669932346791029,
-0.018618715927004814,
0.030887795612215996,
-0.01996091566979885,
0.009644907899200916,
-0.05430745705962181,
-0.0218193456530571,
-0.0036114631220698357,
-0.005007436498999596,
-0.07674627751111984,
-0.011391487903892994,
-0.004286864772439003,
-0.03871729224920273,
-0.004930002149194479,
0.01467815600335598,
0.010772011242806911,
-0.006125936284661293,
-0.08830984681844711,
0.04429258406162262,
0.012905764393508434,
-0.0024886615574359894,
-0.05778340995311737,
0.02255927585065365,
-0.019720008596777916,
-0.04480881243944168,
-0.013241314329206944,
0.01707862876355648,
0.00930075440555811,
-0.030044618993997574,
-0.010617142543196678,
0.006504505407065153,
0.12279404699802399,
0.03496601805090904,
0.040610138326883316,
0.007825194858014584,
0.05410096421837807,
-0.0009362056734971702,
-0.036136139184236526,
-0.0015088989166542888,
0.002316584810614586,
0.019909292459487915,
0.009713739156723022,
0.03899261727929115,
0.03016507439315319,
-0.041608184576034546,
-0.01697538234293461,
-0.037616003304719925,
-0.05045293644070625,
-0.004190071485936642,
0.03988741710782051,
-0.003987881354987621,
0.00972234271466732,
-0.0050246440805494785,
-0.01479000598192215,
-0.02787645161151886,
-0.032815057784318924,
-0.05578731745481491,
0.02192259207367897,
-0.030526435002684593,
0.018205732107162476,
0.11880186200141907,
0.030818965286016464,
-0.047630876302719116,
0.02044273167848587,
-0.0030264018569141626,
-0.04780295118689537,
-0.0008931864285841584,
-0.03792573884129524,
-0.025088805705308914,
-0.0018982228357344866,
0.007313266396522522,
0.014024264179170132,
-0.05389447137713432,
0.0340195968747139,
-0.04391401633620262,
-0.012811122462153435,
-0.0006157124880701303,
0.038132231682538986,
-0.00313394982367754,
0.06900282204151154,
-0.02620730549097061,
0.04522179812192917,
-0.0765397846698761,
-0.010152534581720829,
-0.009748154319822788,
-0.0037878418806940317,
0.046082183718681335,
0.012914367951452732,
0.049110736697912216,
-0.00577748054638505,
0.002630624920129776,
-0.03324525058269501,
0.04886982962489128,
-0.041573770344257355,
0.01601175218820572,
0.014738382771611214,
-0.015125555917620659,
0.064322330057621,
0.02462419867515564,
-0.005097777117043734,
0.027979698032140732,
0.006513108965009451,
0.01648496277630329,
-0.025346921756863594,
0.024280045181512833,
-0.030629681423306465,
0.010152534581720829,
0.014084490947425365,
-0.0016648436430841684,
-0.11742524802684784,
-0.021905384957790375,
0.041023124009370804,
-0.029046574607491493,
-0.03747833892703056,
-0.015658995136618614,
-0.04835359752178192,
-0.03737509250640869,
-0.03789132460951805,
-0.02233557589352131,
-0.028719628229737282,
-0.03826989233493805,
-0.06704114377498627,
-0.028186189010739326,
-0.03431212529540062,
0.032849472016096115,
0.019289815798401833,
-0.0035275756381452084,
0.023316415026783943,
-0.02729138918220997,
0.06810802221298218,
0.09085658192634583,
0.0013776903506368399,
0.028495928272604942,
-0.04222766309976578,
0.0024757557548582554,
0.020872922614216805,
-0.030973834916949272,
-0.04429258406162262,
0.03620497137308121,
0.04315687716007233,
-0.06862425059080124,
-0.00981698464602232,
0.03792573884129524,
0.002132677473127842,
0.01059133093804121,
-0.08018781989812851,
-0.002069224137812853,
0.05516784265637398,
-0.007730552926659584,
0.024744652211666107,
0.030509227886795998,
0.005059059709310532,
0.016614019870758057,
0.04432699829339981,
-0.036480292677879333,
-0.06969112902879715,
-0.05365356430411339,
-0.06122494488954544,
0.012983199208974838,
-0.04670165851712227,
0.0391991101205349,
-0.012776706367731094,
-0.03572315722703934,
-0.012656252831220627,
-0.019874876365065575,
0.021544022485613823,
-0.014815817587077618,
0.02983812801539898,
0.0036050102207809687,
-0.03389913961291313,
0.027153728529810905,
0.017844369634985924,
-0.04391401633620262,
0.009877211414277554,
-0.038545217365026474,
-0.02233557589352131,
-0.024039138108491898,
0.04625425860285759,
0.0005035937065258622,
0.03541341796517372,
0.01615801639854908,
-0.042606230825185776,
0.02021903172135353,
-0.058506131172180176,
0.03940559923648834,
0.04883541166782379,
-0.009653511457145214,
0.020563185214996338,
0.019685592502355576,
0.01685492880642414,
-0.023471282795071602,
0.007261643651872873,
-0.024228421971201897,
0.020993376150727272,
-0.0035985573194921017,
-0.019616762176156044,
0.03248811140656471,
-0.06738530099391937,
0.04615101218223572,
0.03926793858408928,
-0.03035435825586319,
-0.047114644199609756,
0.018136901780962944,
-0.02495114505290985,
0.01318108756095171,
-0.016364509239792824,
0.018016446381807327,
-0.0639781728386879,
0.033778686076402664,
-0.03412283957004547,
0.014377021230757236,
-0.024779068306088448,
0.03322803974151611,
-0.040610138326883316,
-0.04790619760751724,
0.002516624052077532,
0.03083617240190506,
0.04040364548563957,
-0.036032892763614655,
0.05189838260412216,
0.03596406430006027,
0.0765397846698761,
0.057404838502407074,
0.004775132983922958,
0.006070011295378208,
-0.010952692478895187,
-0.019720008596777916,
-0.012836934067308903,
0.025759905576705933,
0.00007387205550912768,
0.06353077292442322,
0.007412210572510958,
-0.01166681107133627,
-0.03641146421432495,
-0.06704114377498627,
0.027033274993300438,
0.0027209653053432703,
-0.010823634453117847,
-0.0591600239276886,
-0.02144077606499195,
-0.02754950523376465,
-0.041023124009370804,
-0.020545976236462593,
-0.04167701676487923,
0.007481041364371777,
0.011021522805094719,
-0.05021202936768532,
-0.04246857017278671,
0.055959396064281464,
-0.005205324850976467,
-0.03592965006828308,
0.02742905169725418,
0.03486277163028717,
-0.02816898189485073,
-0.008195160888135433,
-0.05275876447558403,
0.08569427579641342,
0.01767229288816452,
0.029373519122600555,
0.021716099232435226,
-0.09175138175487518,
-0.014239360578358173,
0.01899728551506996,
-0.058471716940402985,
0.016183828935027122,
-0.0550990104675293,
0.08590076863765717,
0.04064455255866051,
0.02214629203081131,
-0.0421588309109211,
0.05220811814069748,
-0.03389913961291313,
-0.03974975273013115,
-0.047080229967832565,
-0.01036763098090887,
0.04081663116812706,
0.04332895204424858,
0.05337824299931526,
0.06060547009110451,
0.03266018629074097,
0.03412283957004547,
-0.03309037908911705,
0.007610098924487829,
-0.038063399493694305,
0.02436608262360096,
0.06821126490831375,
0.001972431084141135,
-0.05224253609776497,
0.057508084923028946,
0.022972261533141136,
0.06191325560212135,
-0.036617957055568695,
0.02192259207367897,
0.04394843056797981,
-0.05217370390892029,
0.005652724765241146,
0.0027940981090068817,
0.012759499251842499,
-0.05165747180581093,
0.08858516812324524,
0.030818965286016464,
-0.014815817587077618,
0.03405401110649109,
0.01589129865169525,
0.0428815521299839,
0.041608184576034546,
-0.005231136456131935,
-0.06848659366369247,
0.051003582775592804,
0.05169188976287842,
-0.0055365730077028275,
-0.03634263202548027,
0.02558782882988453,
0.06831451505422592,
0.001328218262642622,
0.06810802221298218,
0.0039276541210711,
0.010272988118231297,
-0.05482368916273117,
0.020046954974532127,
-0.024779068306088448,
-0.053481489419937134,
-0.003994334023445845,
0.000991055159829557,
-0.03035435825586319,
-0.07550732791423798,
-0.03245369717478752,
-0.041986752301454544,
0.01786157861351967,
-0.0014379172353073955,
-0.008694183081388474,
0.005829103756695986,
0.044567905366420746,
-0.0029640239663422108
] |
9,698 | requests.sessions | options | Sends a OPTIONS request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
| def options(self, url, **kwargs):
r"""Sends a OPTIONS request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
"""
kwargs.setdefault("allow_redirects", True)
return self.request("OPTIONS", url, **kwargs)
| (self, url, **kwargs) | [
-0.007595498580485582,
-0.013432580977678299,
0.038427818566560745,
-0.034499261528253555,
-0.012652016244828701,
0.05843086913228035,
-0.05956311896443367,
-0.03015897423028946,
0.01055049430578947,
0.00015533565601799637,
-0.014238879084587097,
-0.05434791371226311,
-0.005837082862854004,
-0.004346718080341816,
0.025389809161424637,
0.0049921851605176926,
-0.028975261375308037,
-0.04038351774215698,
0.04285388067364693,
-0.03897678852081299,
0.05548016354441643,
0.028426291421055794,
-0.01004441361874342,
-0.027843013405799866,
0.0043038297444581985,
0.030073199421167374,
-0.05705844610929489,
0.00445179408416152,
0.01598871685564518,
0.014015860855579376,
0.00402505649253726,
0.025647137314081192,
-0.042064737528562546,
0.017481226474046707,
0.011554078198969364,
0.010893600061535835,
0.051054101437330246,
0.051054101437330246,
-0.02753421850502491,
0.05098548159003258,
-0.10759788751602173,
-0.004867809358984232,
0.0030600724276155233,
0.01032747607678175,
0.04065800458192825,
0.011742786504328251,
-0.11418551951646805,
0.023468418046832085,
-0.02326255477964878,
-0.06814075261354446,
0.04426061362028122,
0.04703976586461067,
0.05256376415491104,
-0.06954748928546906,
-0.031376998871564865,
0.012892189435660839,
0.00796433724462986,
0.0379817821085453,
-0.013578400947153568,
0.03163432702422142,
-0.013115208595991135,
0.03523693606257439,
-0.00677204504609108,
-0.045667342841625214,
-0.050196338444948196,
-0.047588735818862915,
-0.05946018546819687,
0.023828677833080292,
0.018905114382505417,
0.015148108825087547,
0.0006722723483107984,
0.005275247152894735,
-0.006021501962095499,
0.0013316782424226403,
0.010644848458468914,
-0.00238887220621109,
-0.03760436549782753,
0.011331059969961643,
-0.043608710169792175,
-0.01134821493178606,
-0.05620068311691284,
-0.02014029398560524,
0.0016469064867123961,
0.019213909283280373,
-0.046902526170015335,
-0.04408906027674675,
-0.009057985618710518,
-0.056681033223867416,
0.06889558583498001,
0.05729862302541733,
-0.039114028215408325,
0.008311730809509754,
-0.049475815147161484,
-0.05548016354441643,
-0.050436511635780334,
0.05819069594144821,
0.009289582259953022,
0.01586863026022911,
-0.018870804458856583,
-0.014436164870858192,
0.011262438260018826,
-0.010516184382140636,
0.05825931578874588,
0.03031337261199951,
0.04055507108569145,
-0.030450614169239998,
-0.014607717283070087,
-0.031256914138793945,
0.014805003069341183,
-0.029730092734098434,
0.02008882723748684,
0.06275399774312973,
0.04745149239897728,
-0.018407611176371574,
0.0067162904888391495,
0.023537037894129753,
-0.030742254108190536,
-0.07122870534658432,
-0.041618701070547104,
-0.018287524580955505,
-0.08097290247678757,
0.03753574565052986,
0.0719149187207222,
0.006150166504085064,
-0.012111624702811241,
0.01780717633664608,
-0.03684953227639198,
-0.025286877527832985,
-0.04079524800181389,
0.016760705038905144,
0.01842476613819599,
-0.02190728671848774,
0.002974295988678932,
0.047074075788259506,
0.0260588638484478,
-0.01996874064207077,
-0.006724867969751358,
0.015911517664790154,
0.010267432779073715,
0.06814075261354446,
-0.018870804458856583,
-0.014436164870858192,
-0.01735256239771843,
-0.0017251773970201612,
-0.009890016168355942,
0.006004346534609795,
0.02890663966536522,
-0.07843392342329025,
-0.014281767420470715,
0.015568412840366364,
0.04028058797121048,
0.015422592870891094,
0.017961574718356133,
-0.040246278047561646,
-0.0078270947560668,
-0.01900804601609707,
-0.05153444781899452,
-0.04268232733011246,
-0.0007542960229329765,
-0.003240202786400914,
-0.02497808262705803,
-0.006381762679666281,
-0.006386051420122385,
-0.050779618322849274,
0.015208152122795582,
-0.07815943658351898,
0.036780912429094315,
-0.003471798961982131,
0.0376729853451252,
0.015122375451028347,
0.014839313924312592,
0.010850711725652218,
0.05884259566664696,
0.01433323323726654,
0.052083417773246765,
0.01365559920668602,
0.03561435267329216,
0.012737791985273361,
-0.04419199004769325,
-0.036609359085559845,
0.04779459908604622,
-0.018733561038970947,
-0.011399680748581886,
0.04727993905544281,
0.020329002290964127,
-0.05661240965127945,
0.01979718916118145,
0.012892189435660839,
-0.028940951451659203,
0.040246278047561646,
0.01677786000072956,
-0.054931193590164185,
0.042236290872097015,
-0.035820215940475464,
-0.004108688794076443,
-0.042819567024707794,
-0.02122107706964016,
-0.058636732399463654,
0.026830852031707764,
0.024137472733855247,
-0.014925089664757252,
-0.010782090947031975,
0.030244750902056694,
-0.04261370375752449,
0.05081392824649811,
0.0039114030078053474,
0.033367011696100235,
-0.054073430597782135,
0.03533986955881119,
0.032509248703718185,
0.006321719381958246,
-0.02441195771098137,
0.010344631038606167,
-0.02043193392455578,
-0.042579393833875656,
0.043883197009563446,
0.03197743371129036,
-0.04450078681111336,
-0.02309100143611431,
0.011648432351648808,
0.047760289162397385,
-0.02360565960407257,
-0.00879207905381918,
0.019951585680246353,
-0.02077503874897957,
0.014367543160915375,
0.007321014069020748,
-0.0038277709390968084,
-0.04772597923874855,
-0.001827036845497787,
-0.03218329697847366,
0.005777039099484682,
0.002380294492468238,
0.002020033774897456,
-0.02151271514594555,
0.026419125497341156,
-0.019436927512288094,
0.014170258305966854,
-0.014144524931907654,
-0.05091685801744461,
0.02724257856607437,
0.05160307139158249,
0.04528992995619774,
0.046730972826480865,
-0.06628798693418503,
0.016023028641939163,
-0.02434333600103855,
0.020895125344395638,
0.013372537679970264,
-0.04872098192572594,
0.032749421894550323,
-0.05781327933073044,
-0.054862573742866516,
0.01928253099322319,
-0.014616294763982296,
-0.04834356904029846,
0.004404617007821798,
0.02092943713068962,
-0.03551142290234566,
0.013012276962399483,
-0.044981133192777634,
0.00428238557651639,
0.01445331983268261,
-0.00265263463370502,
-0.010456141084432602,
-0.013389692641794682,
0.02998742274940014,
-0.03379589319229126,
-0.038427818566560745,
0.056681033223867416,
0.027671460062265396,
-0.02731119841337204,
-0.04782890900969505,
0.036094699054956436,
-0.0038899588398635387,
0.06350883096456528,
0.01408448163419962,
-0.05235790088772774,
-0.012617705389857292,
-0.044123370200395584,
0.0522206611931324,
0.02230185829102993,
-0.0130551652982831,
-0.028409136459231377,
-0.07500286400318146,
0.00502220680937171,
-0.012068736366927624,
0.08426671475172043,
0.013552667573094368,
-0.011922916397452354,
0.047931842505931854,
0.04137852415442467,
0.029678627848625183,
0.010516184382140636,
0.018905114382505417,
-0.015122375451028347,
0.04251077398657799,
0.018870804458856583,
0.02753421850502491,
0.03038199432194233,
-0.0009328181040473282,
-0.0430254302918911,
-0.012952233664691448,
0.030639322474598885,
0.007719874382019043,
-0.027619995176792145,
0.024703597649931908,
-0.021186765283346176,
0.006180188152939081,
0.038427818566560745,
-0.004091533366590738,
0.021186765283346176,
-0.06076398864388466,
-0.028683621436357498,
-0.049578748643398285,
0.024103162810206413,
0.007072262465953827,
-0.031188292428851128,
-0.023314019665122032,
0.017995884642004967,
-0.07514011114835739,
-0.03887385502457619,
0.009718463756144047,
-0.07122870534658432,
0.032011743634939194,
0.01095364335924387,
0.06954748928546906,
0.02257634326815605,
0.04738287255167961,
-0.02384583279490471,
-0.007260970771312714,
0.05047082155942917,
-0.03381304815411568,
-0.007972914725542068,
-0.060112085193395615,
-0.04981892183423042,
0.053558770567178726,
-0.006476116832345724,
0.006467538885772228,
0.009083718992769718,
-0.041618701070547104,
0.043265607208013535,
-0.020672107115387917,
-0.04199611395597458,
0.0017026611603796482,
0.020243225619196892,
0.0626167580485344,
0.018047349527478218,
0.012703482061624527,
-0.027791546657681465,
0.0006572615238837898,
0.013715643435716629,
-0.028803708031773567,
0.03350425511598587,
0.020397624000906944,
-0.0038277709390968084,
0.04872098192572594,
-0.01587720774114132,
-0.0008641970343887806,
-0.00711086206138134,
-0.010361786931753159,
-0.012977966107428074,
-0.023296864703297615,
0.0057684616185724735,
0.02394876442849636,
-0.0668712630867958,
0.047074075788259506,
-0.09744196385145187,
-0.03249209374189377,
-0.05143151804804802,
0.008080135099589825,
-0.009872861206531525,
0.08488430827856064,
-0.035751596093177795,
0.024274716153740883,
0.00403792317956686,
-0.06879265606403351,
-0.04391750693321228,
0.0430254302918911,
0.07116008549928665,
0.013072320260107517,
-0.020123139023780823,
0.0341389998793602,
0.005335290916264057,
0.012223133817315102,
-0.01627177931368351,
0.0042094760574400425,
0.014805003069341183,
0.04038351774215698,
0.02434333600103855,
-0.003952146507799625,
-0.05784758925437927,
-0.01792726293206215,
0.02360565960407257,
-0.014985133893787861,
0.003787027206271887,
-0.041447147727012634,
0.02760283835232258,
-0.011965804733335972,
0.016057338565587997,
0.023983076214790344,
0.0378788486123085,
0.0021251097787171602,
0.024326181039214134,
-0.017421182245016098,
-0.007483989000320435,
0.0019203186966478825,
-0.04168732091784477,
0.04288819059729576,
-0.051740311086177826,
-0.06937593966722488,
-0.009212383069097996,
-0.02736266516149044,
0.03237200528383255,
0.01086786761879921,
0.039628688246011734,
-0.04635355621576309,
0.01967710070312023,
-0.006681980099529028,
-0.006995063740760088,
0.09668713808059692,
-0.02708818018436432,
-0.007595498580485582,
0.00805011298507452,
0.04865236207842827,
-0.013604133389890194,
0.004734856076538563,
0.0066133588552474976,
0.003943569026887417,
-0.02940414287149906,
0.013870040886104107,
0.05198048800230026,
0.02708818018436432,
-0.023965921252965927,
0.012703482061624527,
0.04426061362028122,
-0.02520110085606575,
-0.03043345920741558,
-0.03956006467342377,
0.02274789661169052,
-0.0037548609543591738,
-0.037124015390872955,
-0.05431360378861427,
-0.008963631466031075,
0.0723266452550888,
0.001221241196617484,
0.020123139023780823,
-0.02930121123790741,
0.03324692323803902,
-0.044843889772892,
0.06923869252204895,
0.04487820342183113,
0.05256376415491104,
0.008110156282782555,
-0.06913576275110245,
-0.004880676046013832,
-0.012857879512012005,
-0.007852827198803425,
-0.0593915656208992,
0.009220960550010204,
0.08550189435482025,
-0.06234227120876312,
0.018270369619131088,
-0.01923106424510479,
0.0056054862216115,
0.10917617380619049,
0.026024553924798965,
0.05479395017027855,
-0.012454730458557606,
-0.008346041664481163,
-0.05582326650619507,
-0.007822806015610695,
-0.0628226175904274,
0.004820632748305798,
0.00890358816832304,
0.05170600116252899,
-0.034447792917490005,
-0.00007847198139643297,
0.0037591499276459217,
-0.021529871970415115,
0.003019328461959958,
-0.02741413004696369,
0.034053221344947815,
0.007784206420183182,
0.02406885288655758,
-0.0018227481050416827,
-0.008032958023250103,
0.02667645364999771,
0.03038199432194233,
-0.0003398889093659818,
0.08804087340831757,
0.007604076061397791,
-0.04227060079574585,
-0.007102284114807844,
0.02223323844373226,
0.05153444781899452,
-0.059082768857479095,
-0.05592620000243187,
0.018682096153497696,
0.021581336855888367,
0.020174603909254074,
0.008088712580502033,
0.013235295191407204,
-0.02741413004696369,
0.004919275175780058,
0.019780032336711884,
-0.03715832903981209,
0.05331859737634659,
-0.014839313924312592,
-0.0166148841381073,
-0.013998704962432384,
0.04734856262803078,
0.04727993905544281,
0.04233922064304352,
0.050779618322849274,
0.047417182475328445,
-0.023760057985782623,
0.02959285117685795,
0.02259349822998047,
-0.027208266779780388,
-0.005815638694912195,
0.030227595940232277,
0.03681522235274315,
0.02291944809257984,
0.0020479110535234213,
0.01950554922223091,
-0.021135300397872925,
0.01820174790918827,
0.04659372940659523,
0.022730739787220955,
0.0522206611931324,
-0.0007998647633939981,
0.0006776333902962506,
0.052186351269483566,
0.04916702210903168,
-0.007295281160622835,
-0.03350425511598587,
0.022387634962797165,
0.00995863787829876,
-0.0052881138399243355,
0.014779270626604557,
0.03664366900920868,
0.04779459908604622,
0.03043345920741558,
-0.12372384965419769,
-0.029781559482216835,
0.025527050718665123,
-0.00825168751180172,
0.04769166558980942,
-0.02497808262705803,
0.003551142057403922,
0.03451641649007797,
0.01593725197017193,
0.014238879084587097,
-0.05002478510141373,
0.01134821493178606,
0.010052992030978203,
-0.03506538271903992,
-0.001803448423743248,
-0.08351188153028488,
-0.02104952372610569,
-0.029970267787575722,
-0.03568297252058983,
-0.040314897894859314,
-0.03671228885650635,
0.03520262613892555,
0.053112734109163284,
0.040932487696409225,
-0.018184592947363853,
-0.03866799175739288,
0.06608211994171143,
-0.014556251466274261,
-0.07843392342329025,
-0.013449735939502716,
0.008474706672132015,
0.03218329697847366,
0.04621631279587746,
-0.006072967778891325,
0.027843013405799866,
0.044397853314876556,
0.003581163939088583,
-0.024532044306397438,
-0.04944150522351265,
-0.022730739787220955,
0.010138767771422863,
-0.03031337261199951,
0.037810228765010834,
-0.016529107466340065,
0.03647211566567421,
-0.027980254963040352,
-0.016460487619042397,
0.0198486540466547,
-0.02935267798602581,
-0.0738363042473793,
-0.05081392824649811,
0.03640349581837654,
-0.06196485832333565,
-0.03667797893285751,
0.00039189084782265127,
0.10361786931753159,
0.0206549521535635,
0.01649479754269123,
-0.00715374993160367,
0.03473943471908569,
-0.029489919543266296,
0.05084823817014694,
-0.0166663508862257,
-0.005635508336126804,
-0.00810586754232645,
-0.04264801740646362,
-0.023537037894129753,
-0.0033066794276237488,
-0.022782206535339355,
-0.04896115884184837,
-0.06364607065916061,
-0.029489919543266296,
-0.023056691512465477,
0.013295338489115238,
0.009358203038573265,
-0.060901228338479996,
-0.010293165221810341,
-0.03463650122284889,
0.015971561893820763,
0.02635050378739834,
-0.049578748643398285,
0.04017765447497368,
-0.013278183527290821,
0.08296291530132294,
-0.08344326168298721,
-0.008834967389702797,
0.012746370397508144,
-0.014779270626604557,
0.016520529985427856,
0.0180301945656538,
-0.020449088886380196,
-0.05307842418551445,
-0.02259349822998047,
-0.008123023435473442,
0.0015815020306035876,
0.03523693606257439,
0.03818764537572861,
0.034053221344947815,
0.025235410779714584,
0.02168426848948002,
-0.06841523945331573,
0.06433228403329849,
-0.008710591122508049,
0.02257634326815605,
0.017875798046588898,
-0.09305021911859512,
0.0130551652982831,
0.01004441361874342,
0.05860242247581482,
-0.060112085193395615,
-0.05249514430761337,
-0.005125138908624649,
0.0008347114198841155,
0.0242918711155653,
0.055548783391714096,
-0.0415157675743103,
-0.018338989466428757,
-0.005940014496445656,
0.10341200232505798,
-0.05860242247581482,
0.017669934779405594,
-0.040314897894859314,
-0.024823684245347977,
-0.026144640520215034,
0.03664366900920868,
0.054691020399332047,
-0.0024982369504868984,
-0.008723458275198936,
-0.04264801740646362,
0.11226412653923035,
0.022439101710915565,
0.0358545258641243,
-0.037913158535957336,
-0.06639091670513153,
0.008723458275198936,
0.005155160557478666,
-0.018562007695436478,
0.02075788378715515,
0.022044530138373375,
-0.009855706244707108,
-0.03839350864291191,
-0.03099958412349224,
0.027396975085139275,
0.037570055574178696,
-0.03357287496328354,
0.018218902871012688,
-0.0025304032023996115,
-0.0038191932253539562,
-0.06433228403329849,
0.031222602352499962,
0.03691815212368965,
0.015662766993045807,
-0.0071966382674872875,
-0.03887385502457619,
0.05884259566664696,
0.08358050137758255,
0.08159049600362778,
-0.01854485273361206,
-0.007797073107212782,
0.035477109253406525,
-0.03664366900920868,
-0.017652779817581177,
0.020980902016162872,
-0.02724257856607437,
0.013552667573094368,
0.02077503874897957,
-0.05091685801744461,
0.03520262613892555,
0.03986886143684387,
0.035820215940475464,
-0.014213145710527897,
0.04319698363542557,
-0.027843013405799866,
0.003231625072658062,
0.006416073068976402,
0.034001756459474564,
0.000821308814920485,
-0.003999323584139347,
0.037741608917713165,
0.01815028116106987,
-0.0015793575439602137,
-0.00026563872233964503,
-0.04813770577311516,
0.0647440105676651,
-0.033881671726703644,
-0.05383325740695,
0.01069631427526474,
-0.017318250611424446,
0.0027705770917236805,
-0.019368305802345276,
-0.022095995023846626,
0.03015897423028946,
-0.061347268521785736,
0.012489041313529015,
0.052083417773246765,
0.05499981343746185,
-0.021032368764281273,
0.007844249717891216,
0.0094182463362813,
-0.02338264137506485,
-0.040932487696409225,
-0.017155276611447334,
0.0180301945656538,
0.011082308366894722,
0.04563303291797638,
-0.006647669244557619,
-0.017309673130512238,
-0.06309710443019867,
0.0432312935590744,
0.018785027787089348,
0.028374826535582542,
-0.004850654397159815,
-0.04583889618515968,
0.014281767420470715,
0.03630056232213974,
0.0066648246720433235,
-0.06628798693418503,
0.021581336855888367,
-0.0006208065315149724,
0.018270369619131088,
-0.015405437909066677,
0.03633487597107887,
0.04408906027674675,
-0.030004577711224556
] |
9,699 | requests.sessions | patch | Sends a PATCH request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of the :class:`Request`.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
| def patch(self, url, data=None, **kwargs):
r"""Sends a PATCH request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of the :class:`Request`.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
"""
return self.request("PATCH", url, data=data, **kwargs)
| (self, url, data=None, **kwargs) | [
0.035598333925008774,
-0.0511496439576149,
-0.017676714807748795,
0.02854863926768303,
-0.023912983015179634,
-0.00018422356515657157,
-0.06273003667593002,
0.00952495913952589,
0.02797136828303337,
0.02025693841278553,
-0.026904292404651642,
-0.09866073727607727,
0.016697105020284653,
0.003570766421034932,
-0.0002350627037230879,
-0.07612970471382141,
-0.009568692184984684,
-0.07221126556396484,
0.02543487772345543,
-0.04474719241261482,
0.05615265294909477,
0.011527912691235542,
0.023982955142855644,
0.024945072829723358,
0.004863064736127853,
0.0504499226808548,
0.014186854474246502,
-0.010819444432854652,
0.025172483175992966,
0.02499755285680294,
0.03733014315366745,
0.03126005828380585,
-0.006603621877729893,
-0.011020613834261894,
0.006612368393689394,
0.012218886986374855,
-0.007421421352773905,
0.009533706121146679,
-0.05314385145902634,
0.015376380644738674,
-0.01277866493910551,
0.03447877988219261,
-0.01925983466207981,
-0.006157549563795328,
0.07284101098775864,
0.022461062297225,
-0.06594875454902649,
0.051604464650154114,
-0.022128693759441376,
0.04751109331846237,
0.038204796612262726,
0.020711757242679596,
0.010277160443365574,
-0.05177939310669899,
-0.004172089509665966,
0.03237961605191231,
0.005409722216427326,
0.06458429992198944,
-0.0036494850646704435,
-0.017650475725531578,
0.04177337512373924,
0.018944960087537766,
0.034601230174303055,
-0.05821683257818222,
-0.08823488652706146,
-0.01962718926370144,
-0.015848692506551743,
0.050834771245718,
-0.02429782971739769,
-0.03220468387007713,
-0.028006354346871376,
0.01277866493910551,
-0.011676602996885777,
0.024682676419615746,
0.05881159380078316,
0.05097471550107002,
0.046146634966135025,
-0.02606462687253952,
0.034601230174303055,
0.015743734315037727,
0.011641616933047771,
-0.06818786263465881,
0.023388192057609558,
0.021306520327925682,
-0.010600781068205833,
-0.056852374225854874,
0.07871866971254349,
-0.03286942094564438,
0.00009874000534182414,
0.027883904054760933,
-0.01579621434211731,
0.005860168021172285,
-0.0328519269824028,
-0.11209539324045181,
0.03351666033267975,
0.01176406815648079,
0.033814042806625366,
-0.0040518250316381454,
0.033254265785217285,
-0.018805015832185745,
0.06458429992198944,
-0.04474719241261482,
-0.02097415365278721,
-0.012866130098700523,
0.049260396510362625,
-0.003909694030880928,
0.02102663181722164,
0.0044082459062337875,
-0.09208335727453232,
-0.02812880650162697,
-0.001830209163017571,
0.027166688814759254,
-0.055627863854169846,
0.029125908389687538,
0.0236680805683136,
0.021289028227329254,
-0.04880557581782341,
-0.046286579221487045,
0.03293939307332039,
0.005794568918645382,
-0.09096380323171616,
0.04625159502029419,
0.014081896282732487,
0.046146634966135025,
0.022426076233386993,
0.01643471047282219,
-0.007749415934085846,
-0.003916253801435232,
0.024472760036587715,
-0.049540285021066666,
-0.010285906493663788,
0.01200022455304861,
0.001057235524058342,
0.06384959071874619,
0.0051910593174397945,
-0.0017175977118313313,
0.002676434814929962,
-0.0020237260032445192,
0.039499279111623764,
0.010417104698717594,
-0.0017547704046592116,
-0.042962901294231415,
0.0009211177821271122,
0.023283233866095543,
-0.019714653491973877,
-0.05814686045050621,
0.0019122078083455563,
-0.057692039757966995,
-0.027796437963843346,
0.0684327632188797,
0.0359656885266304,
0.012918609194457531,
0.06465426832437515,
-0.042892929166555405,
0.011676602996885777,
0.0043448335491120815,
-0.029073430225253105,
-0.10194943100214005,
0.017536770552396774,
-0.028286242857575417,
-0.00023328607494477183,
0.02209370769560337,
0.06591376662254333,
-0.018612593412399292,
0.0032296522986143827,
-0.009489973075687885,
0.0011611004592850804,
-0.038554657250642776,
0.030437886714935303,
0.002875418169423938,
-0.014746631495654583,
0.02209370769560337,
0.013941952027380466,
0.017370587214827538,
0.05433337762951851,
-0.018437663093209267,
-0.003168426686897874,
-0.012839890085160732,
0.012288859114050865,
0.010548301972448826,
0.03421638160943985,
0.037435103207826614,
0.046566467732191086,
0.10901661217212677,
-0.014370530843734741,
0.0007942933007143438,
-0.029353318735957146,
-0.019784625619649887,
-0.05440334975719452,
0.001245285733602941,
0.009192591533064842,
-0.06007109582424164,
0.028233764693140984,
0.011772815138101578,
-0.03279944881796837,
-0.02966819331049919,
-0.04859565943479538,
-0.050834771245718,
0.03802986443042755,
0.00096922367811203,
0.025172483175992966,
-0.05639755725860596,
0.014475489035248756,
0.04520201310515404,
0.0006669220747426152,
-0.03220468387007713,
0.05688736215233803,
-0.005952006205916405,
0.030367914587259293,
0.01565627008676529,
0.04142351448535919,
0.030717775225639343,
0.03180234506726265,
-0.043172817677259445,
0.013399667106568813,
0.004141476936638355,
0.022268638014793396,
-0.03379654884338379,
-0.08697538822889328,
0.005427215248346329,
-0.030140506103634834,
0.024052927270531654,
0.0007877334137447178,
0.04950529709458351,
-0.040548864752054214,
0.01833270490169525,
0.02896847203373909,
0.04471220821142197,
-0.043872538954019547,
-0.04698630049824715,
-0.014624180272221565,
-0.029125908389687538,
0.061085689812898636,
-0.029633207246661186,
-0.014641673304140568,
-0.03309682756662369,
-0.05625761300325394,
-0.0008708253153599799,
0.015315155498683453,
-0.014335544779896736,
0.03932435065507889,
0.012603734619915485,
0.05958129093050957,
0.06346474587917328,
-0.024752648547291756,
0.00952495913952589,
0.0016596519853919744,
-0.0453069694340229,
0.02945827692747116,
-0.048420730978250504,
0.021831311285495758,
-0.03167989104986191,
-0.06192535534501076,
0.07773905992507935,
0.02251354046165943,
0.0019373539835214615,
0.051744408905506134,
0.029930589720606804,
0.01587493158876896,
0.016802063211798668,
-0.0705319344997406,
0.00860220193862915,
0.0035051675513386726,
0.03447877988219261,
0.014230586588382721,
-0.06262508034706116,
-0.006166296079754829,
-0.007198385428637266,
0.009096380323171616,
0.027848917990922928,
0.04044390469789505,
0.011667856946587563,
0.04730117693543434,
0.010924402624368668,
0.012131421826779842,
-0.024035435169935226,
0.00945498701184988,
0.01684579625725746,
0.0795583426952362,
-0.07235120981931686,
0.043452706187963486,
-0.007005962077528238,
0.011501672677695751,
-0.05447332188487053,
0.012647466734051704,
-0.04618162289261818,
-0.049330368638038635,
0.10866675525903702,
-0.011781561188399792,
0.03323677182197571,
0.08032803237438202,
0.006839778274297714,
-0.034111425280570984,
-0.018665071576833725,
-0.013189750723540783,
0.03673538193106651,
-0.02982563152909279,
0.03451376408338547,
0.06930741667747498,
0.006774179171770811,
0.014755377545952797,
-0.04999510571360588,
0.05226919800043106,
-0.0033367970027029514,
-0.004679387900978327,
-0.05349371209740639,
0.046496495604515076,
-0.014816603623330593,
-0.0532488077878952,
0.013976938091218472,
0.05419343337416649,
0.0036844711285084486,
-0.06846775114536285,
-0.04786095395684242,
-0.08067789673805237,
-0.040338948369026184,
0.00867654662579298,
-0.017186909914016724,
-0.019067412242293358,
-0.010863176546990871,
-0.018437663093209267,
-0.04397749900817871,
0.03412891924381256,
0.014781617559492588,
0.0059651262126863,
-0.005540919955819845,
0.11188547313213348,
0.03138251230120659,
-0.010417104698717594,
-0.019504737108945847,
0.0023047078866511583,
0.02534741349518299,
0.013863232918083668,
-0.058041900396347046,
-0.06486418843269348,
-0.03865961357951164,
0.013767021708190441,
-0.060315996408462524,
0.05212925374507904,
0.012236380018293858,
0.02274095080792904,
-0.010032257996499538,
0.028426187112927437,
-0.018874987959861755,
0.006091950461268425,
0.03876457363367081,
0.0688176155090332,
0.015962397679686546,
0.02919588051736355,
0.011457940563559532,
-0.007399555295705795,
-0.005720223765820265,
-0.023335713893175125,
-0.006476797629147768,
-0.009043901227414608,
-0.030332928523421288,
0.02571476623415947,
-0.05730719491839409,
-0.012306352145969868,
-0.028338722884655,
0.003465808229520917,
0.02053682692348957,
0.016740838065743446,
0.020764237269759178,
-0.03024546429514885,
-0.02720167487859726,
-0.02344067208468914,
0.010320892557501793,
-0.015831200405955315,
-0.008632814511656761,
-0.0029147774912416935,
0.04688134416937828,
0.012052703648805618,
0.01707320474088192,
0.03185482323169708,
-0.04695131629705429,
-0.04866563156247139,
-0.03914941847324371,
0.02464769035577774,
0.040828753262758255,
-0.007570112589746714,
-0.07487020641565323,
0.007054067682474852,
-0.02933582477271557,
-0.004200515802949667,
-0.021236548200249672,
-0.014440502971410751,
0.0014388024574145675,
0.01562128309160471,
0.008038051426410675,
0.03883454576134682,
-0.04985516145825386,
0.029633207246661186,
0.0027464069426059723,
-0.0739605650305748,
0.010784458369016647,
0.028566131368279457,
-0.019784625619649887,
-0.03260702267289162,
-0.01722189597785473,
0.009533706121146679,
0.024035435169935226,
-0.021516436710953712,
-0.006804791744798422,
0.03468869626522064,
0.006669220980256796,
-0.0071109202690422535,
-0.052164241671562195,
0.006253761239349842,
-0.025259947404265404,
-0.040268976241350174,
0.030088026076555252,
0.037714991718530655,
-0.019749639555811882,
0.051814381033182144,
0.014178107492625713,
-0.023895490914583206,
-0.011667856946587563,
-0.007438914384692907,
0.001805062871426344,
0.054088473320007324,
-0.017685461789369583,
0.028671089559793472,
0.024455267935991287,
0.003105014329776168,
-0.026309529319405556,
0.023755546659231186,
-0.06234518811106682,
-0.020624293014407158,
0.06678842008113861,
0.009909805841743946,
-0.03586072847247124,
-0.0010982347885146737,
0.02102663181722164,
0.05758708342909813,
0.010014764964580536,
0.008038051426410675,
0.01263872068375349,
-0.0259246826171875,
-0.007329583168029785,
0.027376605197787285,
-0.016880782321095467,
0.015428859740495682,
0.005177939310669899,
0.023038331419229507,
-0.00017315374861937016,
0.019609695300459862,
-0.07284101098775864,
0.03407643735408783,
-0.0008462257101200521,
0.056992318481206894,
0.023615602403879166,
0.04688134416937828,
0.03925437852740288,
-0.048910535871982574,
-0.029423290863633156,
-0.057272206991910934,
-0.01289236918091774,
-0.012857383117079735,
0.011457940563559532,
0.009428747929632664,
-0.017816659063100815,
-0.007954958826303482,
0.00853222981095314,
0.0007401742041110992,
0.005650251638144255,
-0.0013524305541068316,
-0.01678457111120224,
0.015315155498683453,
-0.03603566065430641,
-0.005772702861577272,
-0.02387799695134163,
-0.012078942731022835,
0.04796591028571129,
-0.04516702517867088,
0.07382062077522278,
-0.05086975544691086,
0.007845628075301647,
0.004683760926127434,
-0.03349917009472847,
-0.014405516907572746,
0.014834096655249596,
0.010819444432854652,
0.03535342961549759,
-0.020519334822893143,
-0.07780903577804565,
-0.027009250596165657,
0.049190424382686615,
0.014055656269192696,
-0.03031543642282486,
0.08200736343860626,
0.005479694344103336,
0.006581755820661783,
-0.04740613326430321,
-0.05587276443839073,
0.035458389669656754,
-0.04964524507522583,
-0.05716725066304207,
0.0011971797794103622,
0.015358887612819672,
0.008567215874791145,
0.027464071288704872,
0.11293505877256393,
0.0013546171830967069,
0.007023455109447241,
-0.03372657671570778,
0.031837329268455505,
0.06175042688846588,
0.049400340765714645,
0.027866410091519356,
-0.061435550451278687,
0.01684579625725746,
0.06745315343141556,
0.021656380966305733,
0.02727164700627327,
-0.004231128841638565,
0.01381075382232666,
0.028356214985251427,
-0.04170340299606323,
-0.021761339157819748,
0.013924458995461464,
0.012350085191428661,
0.06878262758255005,
-0.005177939310669899,
-0.0005441975081339478,
0.017676714807748795,
0.03719019889831543,
-0.014484236016869545,
-0.0010348225478082895,
0.007679443806409836,
0.026974264532327652,
0.04880557581782341,
-0.00988356675952673,
0.010049751028418541,
0.04051387682557106,
-0.02875855565071106,
-0.03865961357951164,
-0.03342919796705246,
-0.03108512982726097,
-0.002424972364678979,
-0.022968359291553497,
0.06335978209972382,
0.05881159380078316,
0.024542732164263725,
-0.11118575185537338,
-0.0022412955295294523,
0.014300558716058731,
-0.014466742984950542,
-0.01748429238796234,
-0.05629259720444679,
-0.02153393067419529,
-0.00988356675952673,
0.005750836338847876,
-0.021621394902467728,
-0.09250319004058838,
0.03138251230120659,
0.033971481025218964,
-0.028636103495955467,
0.0014475489733740687,
-0.04541192948818207,
-0.05433337762951851,
-0.028513653203845024,
0.055767808109521866,
0.008383538573980331,
0.00045755229075439274,
0.026466967537999153,
0.03568580001592636,
0.035668306052684784,
-0.06444435566663742,
-0.0470212884247303,
0.07347076386213303,
0.02896847203373909,
0.012411311268806458,
-0.006529276724904776,
0.0746602863073349,
-0.005903900600969791,
0.027009250596165657,
-0.006782925687730312,
-0.020624293014407158,
-0.013137271627783775,
-0.0023396939504891634,
0.014571701176464558,
-0.04348769411444664,
-0.05121961608529091,
0.005772702861577272,
-0.04915543645620346,
-0.02520746923983097,
0.01324222981929779,
0.013863232918083668,
-0.0071502793580293655,
-0.0155513109639287,
0.022933373227715492,
0.0033499167766422033,
-0.0305953249335289,
-0.03484613448381424,
0.0383797250688076,
-0.05919644236564636,
-0.03844969719648361,
-0.004561309702694416,
0.06342975795269012,
0.024122899398207664,
-0.010294653475284576,
-0.02244356833398342,
-0.026501953601837158,
-0.046916328370571136,
0.007522006519138813,
-0.008055544458329678,
0.01087192352861166,
0.021411478519439697,
-0.07060190290212631,
0.020029529929161072,
0.00997977890074253,
-0.013985684141516685,
-0.017965350300073624,
-0.01800033636391163,
-0.052584074437618256,
-0.026099612936377525,
0.05405348911881447,
-0.016950754448771477,
-0.05573282018303871,
-0.016810810193419456,
-0.03659543767571449,
0.012218886986374855,
0.035738278180360794,
0.004723120480775833,
0.06300992518663406,
-0.01573498733341694,
0.031557440757751465,
-0.06748814135789871,
-0.03995409980416298,
0.015455099754035473,
0.029790645465254784,
-0.0177904199808836,
0.013871979899704456,
0.028776047751307487,
-0.05233917012810707,
-0.00214399048127234,
-0.04611165076494217,
-0.024332815781235695,
0.041598446667194366,
0.03593070060014725,
0.01186028029769659,
0.01629476621747017,
-0.0034614349715411663,
-0.05891655385494232,
0.055068086832761765,
0.019067412242293358,
-0.02840869501233101,
0.005934513173997402,
-0.04194830730557442,
-0.02975565753877163,
-0.0015065879561007023,
0.04506206884980202,
-0.03356914222240448,
-0.02959822118282318,
0.0383797250688076,
0.034251369535923004,
-0.004211449064314365,
0.007228998001664877,
-0.054788198322057724,
-0.045516885817050934,
0.02281092293560505,
0.0184901412576437,
-0.034741174429655075,
0.002993496134877205,
0.0018837816314771771,
0.03844969719648361,
-0.05125460401177406,
0.07235120981931686,
0.032327134162187576,
-0.05128958821296692,
0.06769806146621704,
-0.007976825349032879,
0.0885147750377655,
0.012358831241726875,
-0.05125460401177406,
-0.04740613326430321,
-0.08375667035579681,
-0.029230866581201553,
0.034601230174303055,
0.002306894399225712,
-0.010382118634879589,
-0.018525127321481705,
-0.004110863897949457,
-0.04443231597542763,
0.08487622439861298,
0.009507466107606888,
-0.005169192794710398,
-0.04698630049824715,
0.05118463188409805,
0.01948724500834942,
0.016898274421691895,
-0.0501350499689579,
-0.03433883562684059,
0.023912983015179634,
-0.017178162932395935,
-0.025329919531941414,
0.015210197307169437,
0.020589306950569153,
0.04992513358592987,
0.01094189565628767,
0.031837329268455505,
-0.008191115222871304,
0.04187833517789841,
-0.02529493346810341,
0.03802986443042755,
-0.03754005953669548,
-0.010487076826393604,
-0.02309081144630909,
-0.010198441334068775,
-0.026431981474161148,
0.06314986944198608,
0.02720167487859726,
-0.045516885817050934,
0.02555732987821102,
0.046286579221487045,
-0.024665184319019318,
-0.05366864055395126,
-0.01080195140093565,
0.04327777773141861,
-0.04901549220085144,
0.03823978081345558,
-0.020921673625707626,
-0.006131310015916824,
-0.022635992616415024,
-0.02713170275092125,
-0.03260702267289162,
-0.01242880430072546,
-0.032047245651483536,
-0.0076313382014632225,
0.010880669578909874,
0.03918440639972687,
0.02699175849556923,
-0.06790797412395477,
0.03278195485472679,
-0.02508501708507538,
-0.05345872417092323,
-0.06668346375226974,
0.05366864055395126,
0.006336853373795748,
-0.005991365760564804,
-0.023633094504475594,
-0.0032821313943713903,
-0.024822622537612915,
-0.016049861907958984,
-0.007710056845098734,
0.029353318735957146,
0.02501504495739937,
0.0007002681959420443,
0.005628385115414858,
-0.007954958826303482,
-0.03414640948176384,
-0.03407643735408783,
-0.007880614139139652,
0.042822957038879395,
-0.02188379131257534,
-0.008217355236411095,
0.019067412242293358,
0.08592580258846283,
0.023773038759827614,
0.005357243120670319,
0.027726465836167336,
0.021376492455601692,
-0.0009779701940715313,
-0.03673538193106651,
0.02975565753877163,
-0.005833928473293781,
0.005956379696726799
] |
9,700 | cloudscraper | perform_request | null | def perform_request(self, method, url, *args, **kwargs):
return super(CloudScraper, self).request(method, url, *args, **kwargs)
| (self, method, url, *args, **kwargs) | [
0.01550508663058281,
-0.03063512034714222,
-0.08135269582271576,
0.06403200328350067,
-0.0280438344925642,
0.027805164456367493,
-0.025895796716213226,
0.01643419824540615,
0.01088509988039732,
0.01928120292723179,
0.039551183581352234,
0.01629781536757946,
0.03583473712205887,
-0.03315821290016174,
0.027089150622487068,
-0.056667301803827286,
0.009043923579156399,
0.0289473757147789,
0.008813777007162571,
-0.060826994478702545,
-0.01655353419482708,
0.017832128331065178,
0.01461007073521614,
0.008268243633210659,
0.01759345829486847,
0.08012524247169495,
-0.01616995595395565,
-0.01532608363777399,
0.002012720564380288,
0.028214314952492714,
-0.005216664634644985,
0.029254237189888954,
-0.019605113193392754,
0.06662328541278839,
0.04851839318871498,
0.026100371032953262,
-0.004161824472248554,
0.029271285980939865,
-0.08694441616535187,
-0.01788327284157276,
-0.10412871837615967,
-0.03897155448794365,
0.01931529864668846,
-0.0435744933784008,
0.04902983084321022,
0.056633204221725464,
-0.05854257196187973,
0.0435744933784008,
-0.005429763812571764,
-0.05694006755948067,
-0.016127336770296097,
0.06089518591761589,
0.02349204011261463,
-0.021190570667386055,
-0.03206714615225792,
0.043233536183834076,
-0.01506184134632349,
0.05946315824985504,
-0.012598415836691856,
0.028214314952492714,
0.0182412788271904,
0.012419412843883038,
0.026287898421287537,
-0.007505348417907953,
-0.020542748272418976,
0.009282594546675682,
-0.023151081055402756,
0.044392794370651245,
-0.0033158212900161743,
0.03576654568314552,
0.05121196433901787,
-0.02437853068113327,
-0.02214525267481804,
-0.026697048917412758,
0.02826545760035515,
-0.003505479311570525,
0.018070800229907036,
-0.0586448609828949,
-0.026765240356326103,
-0.0003271070308983326,
0.0166984423995018,
-0.027140295132994652,
0.01283708680421114,
-0.04575662687420845,
-0.027140295132994652,
-0.06553222239017487,
0.0006712620379403234,
-0.04514290392398834,
-0.046233970671892166,
0.06989648938179016,
-0.037744104862213135,
0.02765173278748989,
-0.030208921059966087,
-0.0464385449886322,
-0.009896320290863514,
0.03129998967051506,
-0.0031133771408349276,
-0.021940678358078003,
-0.03886926546692848,
-0.03348212316632271,
0.0026743931230157614,
0.04943897947669029,
0.023304512724280357,
-0.026918672025203705,
0.03586883097887039,
-0.04626806452870369,
-0.0025401406455785036,
-0.0364825576543808,
-0.01544541958719492,
0.025725318118929863,
-0.022605547681450844,
0.004871444310992956,
-0.018667476251721382,
0.03627798333764076,
-0.027208486571907997,
-0.045313380658626556,
-0.04077863320708275,
-0.005169782787561417,
-0.027055054903030396,
-0.005689744837582111,
-0.04381316527724266,
0.014379924163222313,
0.03481186181306839,
-0.027430109679698944,
0.023918237537145615,
0.042176563292741776,
-0.03535739332437515,
-0.0008832955500110984,
0.047529611736536026,
0.012496128678321838,
-0.021020090207457542,
-0.008720013312995434,
-0.015206748619675636,
0.023935286328196526,
0.04684769734740257,
0.013561624102294445,
0.021872486919164658,
0.02202591858804226,
-0.024702442809939384,
0.07964789867401123,
0.03348212316632271,
-0.008123335428535938,
0.0411536879837513,
-0.028231361880898476,
0.018394710496068,
0.006725406274199486,
0.0010479146149009466,
-0.030225969851017,
-0.0005242236657068133,
-0.021616768091917038,
0.04715455695986748,
0.0217872466892004,
0.07453352212905884,
-0.013834390789270401,
-0.04821152985095978,
0.012342697009444237,
-0.013783246278762817,
0.006052013020962477,
0.024531962350010872,
-0.03583473712205887,
0.004251325968652964,
0.010416281409561634,
-0.03300477936863899,
-0.05632634088397026,
0.038255542516708374,
-0.018411757424473763,
-0.009282594546675682,
0.012589892372488976,
0.008528224192559719,
0.0029663387686014175,
-0.021667910739779472,
0.017431503161787987,
-0.03846011683344841,
0.007445680908858776,
-0.00041900601354427636,
-0.004756371024996042,
0.02136104926466942,
-0.0044580320827662945,
-0.0023270417004823685,
0.023969382047653198,
-0.03491414710879326,
-0.036175694316625595,
0.004415412433445454,
0.014541879296302795,
0.019980167970061302,
-0.019247107207775116,
0.0051314253360033035,
-0.02893032692372799,
-0.05179159343242645,
0.11783525347709656,
0.004031834192574024,
-0.0029961727559566498,
0.018872052431106567,
-0.036550749093294144,
0.023304512724280357,
-0.0865352600812912,
-0.01733773946762085,
0.01994607038795948,
-0.043233536183834076,
0.07678385078907013,
-0.00717291422188282,
0.008528224192559719,
0.01943463273346424,
0.010348089970648289,
0.027549445629119873,
0.06536173820495605,
-0.02514568902552128,
0.0008278898312710226,
0.008038096129894257,
0.0021054185926914215,
-0.022128205746412277,
0.043233536183834076,
-0.021991822868585587,
-0.016775157302618027,
-0.0009903778554871678,
0.014439592137932777,
0.009700268507003784,
-0.024054620414972305,
0.008745585568249226,
-0.045415669679641724,
0.05919039249420166,
0.029936155304312706,
-0.03985804691910744,
-0.04354039952158928,
-0.017414454370737076,
-0.0030430543702095747,
0.04067634791135788,
-0.006311994045972824,
-0.03273201361298561,
-0.049234405159950256,
-0.029833868145942688,
-0.011157866567373276,
0.08039800822734833,
0.03348212316632271,
0.011098198592662811,
-0.05128015577793121,
0.00011307568638585508,
0.04067634791135788,
-0.03249334171414375,
0.0034159778151661158,
0.04129007086157799,
0.030703311786055565,
-0.004428198095411062,
-0.015488038770854473,
-0.04756370931863785,
-0.011549968272447586,
-0.014260588213801384,
0.0836712121963501,
-0.01876976527273655,
-0.03869878873229027,
0.06819169968366623,
-0.04759780317544937,
-0.05738331377506256,
-0.04698408022522926,
-0.01996311917901039,
-0.033976513892412186,
-0.0058857956901192665,
0.033959463238716125,
0.028981471434235573,
-0.020815515890717506,
0.00023907050490379333,
0.03764181584119797,
0.03293658792972565,
0.009154735133051872,
-0.03842601925134659,
-0.0077056619338691235,
-0.018991388380527496,
0.00476489495486021,
-0.03811915963888168,
0.05844028294086456,
0.04834791272878647,
0.0039188917726278305,
0.042960770428180695,
0.03849421441555023,
-0.047802381217479706,
-0.02828250639140606,
-0.027072103694081306,
0.029782723635435104,
-0.08121631294488907,
-0.05049595236778259,
0.0672370120882988,
-0.019195962697267532,
-0.01757640950381756,
-0.03822144493460655,
-0.03641436621546745,
-0.06307732313871384,
0.03143637254834175,
0.11749429255723953,
-0.004696703050285578,
-0.04763190075755119,
-0.020645035430788994,
0.03416404128074646,
0.024191005155444145,
-0.05093919858336449,
-0.025486646220088005,
-0.02086665853857994,
0.002501782961189747,
0.017780985683202744,
0.034880053251981735,
0.0728287324309349,
-0.01851404644548893,
-0.060179173946380615,
-0.023798901587724686,
-0.002371792448684573,
0.05128015577793121,
0.004285422153770924,
0.0547238364815712,
0.02425919659435749,
-0.051041483879089355,
-0.0014980863779783249,
-0.0068106455728411674,
0.051689304411411285,
-0.05826980620622635,
-0.0023931022733449936,
-0.05213255062699318,
0.043472208082675934,
0.008950159884989262,
0.03387422487139702,
0.007185699883848429,
0.025708269327878952,
-0.0411536879837513,
0.032646775245666504,
-0.030703311786055565,
0.014925457537174225,
0.04013081267476082,
0.001070289989002049,
0.014038965106010437,
0.04483604058623314,
-0.046063490211963654,
0.030447592958807945,
0.049234405159950256,
0.05642862990498543,
0.005506479647010565,
-0.03798277676105499,
-0.05424649640917778,
-0.0020638643763959408,
-0.024156909435987473,
-0.020150646567344666,
0.0006659345235675573,
-0.009180307388305664,
-0.03131703659892082,
0.02216230146586895,
-0.004931112285703421,
-0.015726709738373756,
-0.031879618763923645,
0.0166984423995018,
0.045824822038412094,
0.0032945112325251102,
0.057042352855205536,
-0.08742175251245499,
0.009274071082472801,
-0.044665560126304626,
0.02490701712667942,
0.07201043516397476,
0.07105574756860733,
0.0019477253081277013,
-0.012342697009444237,
-0.03257858380675316,
-0.020679131150245667,
-0.06167938932776451,
0.025469599291682243,
-0.05022318288683891,
0.041119594126939774,
0.031214749440550804,
0.018462901934981346,
-0.0375395305454731,
0.019758544862270355,
-0.016195528209209442,
0.01992902345955372,
-0.05908810347318649,
0.0029748626984655857,
-0.04265390709042549,
-0.04336991906166077,
0.017150212079286575,
0.01565851829946041,
-0.003942332696169615,
-0.03452204540371895,
-0.05959954112768173,
-0.02345794439315796,
0.073578841984272,
0.0414605513215065,
0.030873790383338928,
0.0020510784815996885,
-0.04429050534963608,
0.07091936469078064,
-0.06280454993247986,
0.00041767413495108485,
0.03494824469089508,
0.0339253693819046,
-0.011191962286829948,
0.050530046224594116,
-0.02790745161473751,
-0.006201182492077351,
0.05595128610730171,
-0.016596153378486633,
-0.055098891258239746,
-0.020883707329630852,
-0.024941112846136093,
-0.011771591380238533,
-0.027668781578540802,
0.013075757771730423,
-0.0006179872434586287,
-0.05342819541692734,
0.05056414380669594,
0.01486578956246376,
0.0029045401606708765,
-0.009930416010320187,
0.005774984136223793,
0.03102722205221653,
0.008950159884989262,
-0.047802381217479706,
-0.031061317771673203,
-0.03464138135313988,
-0.018684525042772293,
-0.05424649640917778,
0.0011560623534023762,
-0.023798901587724686,
0.027805164456367493,
0.001787901041097939,
0.028214314952492714,
0.04954126849770546,
0.012410888448357582,
0.06290683895349503,
0.03886926546692848,
0.03938070312142372,
-0.01796851120889187,
0.03556197136640549,
-0.04163103178143501,
0.04261980950832367,
-0.004104287829250097,
-0.017798032611608505,
0.049063924700021744,
-0.09274070709943771,
0.000788466481026262,
0.06662328541278839,
0.058337997645139694,
-0.07603374123573303,
0.029663387686014175,
0.018599284812808037,
-0.02345794439315796,
-0.04299486428499222,
-0.05373505875468254,
-0.029561100527644157,
-0.026373138651251793,
0.07726119458675385,
-0.03443680703639984,
-0.01153292041271925,
-0.0014533355133607984,
-0.015257892198860645,
-0.07821587473154068,
-0.01759345829486847,
0.009649124927818775,
0.03556197136640549,
0.027805164456367493,
-0.07037383317947388,
-0.006077584810554981,
0.01825832761824131,
0.0045944154262542725,
0.03051578439772129,
0.03145341947674751,
0.03505053371191025,
-0.03131703659892082,
-0.024344434961676598,
-0.04527928680181503,
0.020525701344013214,
0.06519126147031784,
-0.030157778412103653,
0.046233970671892166,
0.0172269269824028,
-0.06164529547095299,
-0.0016749585047364235,
-0.042824383825063705,
-0.026356089860200882,
-0.0511096753180027,
-0.004999303724616766,
0.03545968234539032,
-0.0425175242125988,
-0.01147325336933136,
-0.003000434720888734,
-0.00468817912042141,
-0.03026006557047367,
-0.023168129846453667,
0.046881791204214096,
0.0020212444942444563,
-0.01655353419482708,
-0.08183003962039948,
0.024958161637187004,
0.010100895538926125,
0.027941547334194183,
0.0029684698674827814,
0.012649559415876865,
0.07310149818658829,
0.029697483405470848,
0.01337409671396017,
-0.05465564504265785,
0.045552052557468414,
-0.00827676709741354,
0.03293658792972565,
-0.001651517697609961,
0.012700703926384449,
0.007931546308100224,
-0.012990518473088741,
0.0048884921707212925,
0.07780672609806061,
-0.009802556596696377,
0.011635208502411842,
0.022520307451486588,
0.06907819211483002,
0.019519872963428497,
0.016084715723991394,
-0.026134468615055084,
0.026816384866833687,
0.018156038597226143,
0.025213880464434624,
0.010978863574564457,
-0.021736104041337967,
-0.054280590265989304,
0.001083608716726303,
-0.024719489738345146,
0.0036120289005339146,
0.0800570547580719,
0.030822647735476494,
0.032646775245666504,
-0.03102722205221653,
-0.015377227216959,
0.016621725633740425,
0.0048884921707212925,
0.042176563292741776,
-0.02282717078924179,
0.06386152654886246,
0.032817255705595016,
-0.0015407061437144876,
0.0028065145015716553,
-0.013877009972929955,
0.034726619720458984,
0.10160563141107559,
-0.06297503411769867,
-0.05908810347318649,
0.018343565985560417,
0.0061287288554012775,
0.012777418829500675,
-0.016468293964862823,
-0.008656083606183529,
-0.006030702963471413,
-0.08346663415431976,
-0.021684959530830383,
-0.0076715657487511635,
0.006763763725757599,
0.024668347090482712,
-0.01980968751013279,
-0.009146211668848991,
0.014047489501535892,
0.03661894053220749,
0.008383316919207573,
0.013305905275046825,
0.01917891390621662,
-0.010032703168690205,
-0.03522101044654846,
0.002344089560210705,
-0.008251194842159748,
0.01427763607352972,
-0.07187404483556747,
-0.0203552208840847,
0.039585281163454056,
-0.029424717649817467,
-0.004551795776933432,
0.03312411531805992,
0.06849855929613113,
-0.04521109536290169,
-0.10767468810081482,
0.050257280468940735,
-0.02492406591773033,
-0.021991822868585587,
0.048313818871974945,
0.03012368269264698,
0.05370096117258072,
0.001279659802094102,
-0.08517143130302429,
0.014925457537174225,
-0.03535739332437515,
0.02033817395567894,
-0.039585281163454056,
0.02100304327905178,
-0.055337563157081604,
-0.06505487859249115,
-0.05359867215156555,
0.00014037899381946772,
-0.010970339179039001,
0.01588866487145424,
-0.02243506908416748,
-0.0015939809381961823,
0.005642862990498543,
-0.02789040468633175,
-0.0033051662612706423,
-0.05571261793375015,
0.019843783229589462,
-0.02320222556591034,
-0.0007660911069251597,
-0.030703311786055565,
0.0140219172462821,
-0.008161693811416626,
0.0771929994225502,
-0.005135687068104744,
0.005826128181070089,
0.0022524569649249315,
0.04514290392398834,
-0.08408036082983017,
-0.017405930906534195,
0.007863354869186878,
-0.013152473606169224,
0.017312167212367058,
-0.02893032692372799,
0.020099502056837082,
0.011370965279638767,
-0.006392971612513065,
0.01667287014424801,
-0.050120897591114044,
0.019980167970061302,
0.01875271648168564,
-0.0280438344925642,
0.02683343179523945,
-0.02488997019827366,
0.006733930204063654,
0.054178301244974136,
-0.05032547190785408,
0.07023745030164719,
0.01532608363777399,
-0.03196485713124275,
-0.03143637254834175,
0.07712481170892715,
0.015223796479403973,
-0.009615029208362103,
0.059122201055288315,
0.018275374546647072,
0.019997214898467064,
-0.010075323283672333,
0.042551618069410324,
0.04053996503353119,
-0.04807514697313309,
-0.029424717649817467,
0.03665303811430931,
0.03716447576880455,
-0.013825866393744946,
-0.023815950378775597,
-0.03730085864663124,
-0.05694006755948067,
-0.018957290798425674,
-0.031743235886096954,
0.041528742760419846,
-0.008984255604445934,
-0.017900319769978523,
0.033055923879146576,
0.05243941396474838,
0.021480385214090347,
-0.027839260175824165,
0.01928120292723179,
-0.012223361991345882,
-0.008387578651309013,
0.04173331707715988,
-0.042960770428180695,
0.008421674370765686,
0.02645837888121605,
0.04265390709042549,
-0.06335008889436722,
-0.020304078236222267,
-0.01191649865359068,
0.02557188645005226,
-0.0728287324309349,
-0.024088716134428978,
0.02775401994585991,
-0.0030302684754133224,
0.011882402934134007,
-0.0030260065104812384,
0.011763067916035652,
0.014916934072971344,
-0.01994607038795948,
0.011226058006286621,
-0.05387144163250923,
0.008362006396055222,
0.024566058069467545,
-0.0232192724943161,
0.005054709501564503,
-0.048416104167699814,
0.05983821302652359,
-0.0022801598533988,
0.00016142253298312426,
-0.00025784983881749213,
-0.02997025102376938,
-0.027225535362958908,
-0.013621291145682335,
0.0012327780714258552,
-0.03777819871902466,
-0.051825691014528275,
0.0280438344925642,
-0.017525266855955124,
0.05881533771753311,
-0.039687566459178925,
-0.11974462121725082,
0.0640660971403122,
0.06880541890859604,
0.08258014172315598,
-0.0011603243183344603,
0.013493431732058525,
0.0027766807470470667,
-0.02712324820458889,
-0.013467860408127308,
-0.019656255841255188,
-0.021463336423039436,
-0.0033350002486258745,
-0.006307731848210096,
0.004901278298348188,
-0.03873288258910179,
0.006691310089081526,
0.03665303811430931,
-0.006627380382269621,
0.030822647735476494,
-0.010927719064056873,
0.021616768091917038,
-0.004581629764288664,
0.036789420992136,
-0.012018786743283272,
-0.048177432268857956,
0.05438287928700447,
0.009563885629177094,
0.009691745042800903,
-0.009444549679756165,
-0.03440270945429802,
0.007897450588643551,
0.054553356021642685,
0.006324779707938433,
0.001076682936400175,
-0.021582672372460365,
-0.008975732140243053,
-0.00886492058634758,
-0.012257457710802555,
-0.04742732644081116,
-0.019860832020640373,
-0.0051314253360033035,
0.02633904293179512,
0.012214837595820427,
-0.04766599461436272,
-0.06566860526800156,
-0.03921022638678551,
-0.0029684698674827814,
0.017559362575411797,
-0.011626684106886387,
0.04487013816833496,
-0.0020521439146250486,
0.03545968234539032,
0.03620979189872742,
0.00316452095285058,
-0.01851404644548893,
0.04043767601251602,
0.021974774077534676,
-0.013595719821751118,
0.005979559384286404,
0.006661476567387581,
0.015394275076687336,
0.023014698177576065,
-0.01107262633740902,
-0.002648821333423257,
0.0011613898677751422,
-0.07623831927776337,
0.01380881853401661,
0.05550803989171982,
0.050120897591114044,
0.11381193995475769,
0.005139949265867472
] |
9,701 | requests.sessions | post | Sends a POST request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of the :class:`Request`.
:param json: (optional) json to send in the body of the :class:`Request`.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
| def post(self, url, data=None, json=None, **kwargs):
r"""Sends a POST request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of the :class:`Request`.
:param json: (optional) json to send in the body of the :class:`Request`.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
"""
return self.request("POST", url, data=data, json=json, **kwargs)
| (self, url, data=None, json=None, **kwargs) | [
-0.012320339679718018,
-0.02598537690937519,
-0.0011487853480502963,
0.026239780709147453,
-0.024731537327170372,
0.03910526633262634,
-0.06785272806882858,
0.029474323615431786,
0.009272054769098759,
-0.02100636065006256,
0.02024315483868122,
0.012102280743420124,
0.02509496919810772,
-0.034744083881378174,
0.013819496147334576,
-0.06988794356584549,
0.012093194760382175,
0.0058921389281749725,
0.04880889877676964,
-0.04430234432220459,
0.022932549938559532,
0.004683727864176035,
0.02722104638814926,
0.01188422180712223,
-0.004988102242350578,
0.047718603163957596,
-0.013156233355402946,
-0.01616363227367401,
-0.025821832939982414,
0.07755635678768158,
-0.0056468225084245205,
0.01486436277627945,
0.007377666886895895,
0.008649677969515324,
0.03826937451958656,
0.028147798031568527,
-0.05793103948235512,
0.03103708103299141,
-0.10757582634687424,
-0.002593994839116931,
-0.03961407393217087,
-0.007940986193716526,
-0.02238740213215351,
0.0176173597574234,
0.073267862200737,
0.024240905418992043,
-0.052007097750902176,
0.016254490241408348,
-0.04168563336133957,
0.031763944774866104,
0.020751958712935448,
0.009267512708902359,
-0.007918271236121655,
-0.04346644878387451,
-0.03688833490014076,
0.056440968066453934,
0.010221521370112896,
0.012302168644964695,
-0.035143859684467316,
-0.0022248844616115093,
0.034725915640592575,
0.034871287643909454,
0.044120628386735916,
-0.03848743438720703,
-0.06872496753931046,
0.026784928515553474,
-0.021751396358013153,
0.03041924722492695,
0.047791287302970886,
-0.011566218920052052,
-0.04684636741876602,
-0.0031232424080371857,
0.02344135381281376,
0.020552070811390877,
0.09347467124462128,
0.04397525638341904,
0.0518617257475853,
-0.004290767479687929,
0.012283996678888798,
0.01893479935824871,
-0.020334012806415558,
-0.0947103425860405,
0.007386752404272556,
0.015500368550419807,
-0.011793363839387894,
0.008963137865066528,
-0.028093282133340836,
0.004779128823429346,
-0.058839619159698486,
0.014246528968214989,
-0.020915502682328224,
-0.024858739227056503,
-0.04379354044795036,
-0.01740838587284088,
-0.024495307356119156,
0.022278372198343277,
0.008717821910977364,
0.030292045325040817,
0.002891554730013013,
0.014046641066670418,
0.04590144380927086,
-0.008377104066312313,
-0.07163241505622864,
-0.012065937742590904,
0.038523778319358826,
-0.011393588967621326,
-0.029129063710570335,
0.05814909562468529,
-0.08460693806409836,
-0.0018580453470349312,
-0.00041965022683143616,
0.02662138268351555,
-0.0008336218306794763,
0.019643491134047508,
0.010539524257183075,
0.007582097314298153,
0.0009704766562208533,
-0.038669150322675705,
-0.05066240206360817,
0.003952321596443653,
-0.04822740703821182,
0.026639554649591446,
0.06276468187570572,
0.02874745987355709,
0.019825207069516182,
-0.017390213906764984,
-0.008277160115540028,
-0.005469649564474821,
-0.0069778915494680405,
-0.0067916326224803925,
0.0011419709771871567,
0.024495307356119156,
0.03979578986763954,
0.0711599588394165,
-0.0036479472182691097,
0.03856011852622032,
-0.014818933792412281,
0.05542335659265518,
-0.02467702329158783,
0.005605936516076326,
0.03983213007450104,
-0.023804785683751106,
0.00846796203404665,
0.0019568533170968294,
-0.0022918921895325184,
-0.05455112084746361,
-0.04677367955446243,
-0.06592653691768646,
-0.03401722013950348,
0.07199584692716599,
0.00010555140033829957,
0.013019946403801441,
0.10408688336610794,
-0.016190888360142708,
0.018971143290400505,
-0.029692383483052254,
0.013946697115898132,
-0.0746489018201828,
-0.0032368148677051067,
0.03968675807118416,
0.019988752901554108,
0.029547009617090225,
0.034180767834186554,
0.016118202358484268,
0.018898457288742065,
-0.03530740365386009,
0.03585255146026611,
0.0031118851620703936,
0.02840219996869564,
-0.02682127058506012,
-0.02051572874188423,
0.02716653048992157,
-0.018680397421121597,
0.005737680476158857,
-0.012865487486124039,
-0.069124735891819,
0.00957642961293459,
0.01133907400071621,
-0.0019102887017652392,
-0.003761519677937031,
0.020697444677352905,
0.006746203638613224,
0.08576992154121399,
0.03772422671318054,
-0.008445248007774353,
-0.03848743438720703,
0.004099965561181307,
0.007150521967560053,
-0.07017869502305984,
0.054987240582704544,
0.020279496908187866,
-0.03830571845173836,
0.030037643387913704,
-0.023205123841762543,
0.024150047451257706,
-0.03623415529727936,
-0.05618656426668167,
-0.00891770888119936,
0.073267862200737,
0.006400943733751774,
0.0014128413749858737,
-0.03363562002778053,
0.021733224391937256,
0.028856489807367325,
0.007722926791757345,
-0.053061049431562424,
0.005101674702018499,
-0.016418034210801125,
-0.001841009478084743,
-0.05466015264391899,
0.06276468187570572,
-0.008040930144488811,
0.0011675248388200998,
0.03979578986763954,
-0.028911003842949867,
-0.048154719173908234,
0.030292045325040817,
-0.06171073019504547,
-0.0262761227786541,
-0.0331995002925396,
0.01639077626168728,
0.03757885470986366,
-0.02447713539004326,
0.028456714004278183,
0.005260676145553589,
-0.021442480385303497,
0.010266950353980064,
-0.0017921733669936657,
-0.0366157591342926,
-0.07762904465198517,
-0.044811148196458817,
-0.027693508192896843,
0.03269069641828537,
-0.0067734611220657825,
0.007023320533335209,
-0.07871934026479721,
-0.05218881368637085,
-0.0656721368432045,
-0.0022419202141463757,
-0.028038768097758293,
0.05963916704058647,
-0.022550946101546288,
0.021606024354696274,
0.014400986954569817,
-0.043502792716026306,
0.025131313130259514,
0.016254490241408348,
0.014428244903683662,
0.020624758675694466,
-0.04684636741876602,
0.03147319704294205,
-0.05673171207308769,
-0.03557997941970825,
0.03292692452669144,
0.02046121284365654,
0.010257864370942116,
0.05811275541782379,
0.05444209277629852,
0.030437417328357697,
-0.009830831550061703,
-0.020424870774149895,
0.00853610597550869,
0.006241942290216684,
0.04866352677345276,
-0.0011061957338824868,
-0.044811148196458817,
-0.014373729936778545,
-0.026003548875451088,
-0.0373244509100914,
-0.024786053225398064,
0.10517717897891998,
0.016754208132624626,
0.05749491974711418,
-0.028365856036543846,
-0.02529485709965229,
-0.04637390375137329,
0.028020596131682396,
-0.01482801977545023,
0.05204344168305397,
-0.0870782732963562,
0.01777181774377823,
-0.0331995002925396,
0.0014775776071473956,
-0.028384028002619743,
0.011838792823255062,
-0.00785012822598219,
-0.007600268814712763,
0.0898403525352478,
0.014255614951252937,
-0.001893252832815051,
0.05480552464723587,
0.029274435713887215,
0.018498681485652924,
0.003232272109016776,
-0.05604119226336479,
-0.01672695204615593,
-0.03699736297130585,
0.06988794356584549,
0.06578116863965988,
0.005669537000358105,
0.015036992728710175,
-0.03587072342634201,
0.04891792684793472,
-0.00988534651696682,
-0.0518253818154335,
-0.01844416745007038,
-0.0039023496210575104,
-0.0036116039846092463,
-0.07388569414615631,
-0.07588457316160202,
-0.008613334968686104,
0.022841691970825195,
-0.04048630967736244,
0.0003321994445286691,
-0.08206291496753693,
-0.013764981180429459,
0.016399862244725227,
-0.00670531764626503,
0.004983559250831604,
0.012492969632148743,
0.021587852388620377,
-0.006632631178945303,
-0.011693419888615608,
-0.023205123841762543,
0.050153594464063644,
0.007718384265899658,
0.026094406843185425,
-0.00010704204032663256,
0.017390213906764984,
0.001712672645226121,
0.0038092201575636864,
0.032236404716968536,
-0.016772380098700523,
-0.02356855571269989,
-0.07134167104959488,
-0.06349154561758041,
0.025730974972248077,
0.007050578016787767,
0.05869424343109131,
0.008885908871889114,
-0.051534637808799744,
0.03841474652290344,
0.028583915904164314,
-0.03676113113760948,
0.04822740703821182,
0.019243717193603516,
0.035271063446998596,
0.02053390070796013,
0.03961407393217087,
0.006369143258780241,
-0.029001861810684204,
0.037506166845560074,
0.004306667484343052,
-0.036942847073078156,
-0.009312941692769527,
-0.05727685987949371,
0.02529485709965229,
-0.0400865338742733,
-0.02860208787024021,
-0.038596462458372116,
-0.016327176243066788,
0.032872412353754044,
-0.018407823517918587,
0.0030687276739627123,
-0.03743348270654678,
-0.030364731326699257,
0.0345441997051239,
-0.011493531987071037,
-0.03083719313144684,
0.016708780080080032,
0.024913253262639046,
0.0029574267100542784,
0.033290356397628784,
0.08838662505149841,
0.023477697744965553,
0.009249340742826462,
-0.015264137648046017,
-0.045101892203092575,
0.01886211335659027,
0.022514604032039642,
-0.032163720577955246,
-0.0683978721499443,
-0.011284559033811092,
-0.04430234432220459,
0.10183360427618027,
-0.014818933792412281,
0.0005596282426267862,
0.015109679661691189,
-0.006432743743062019,
0.011257302016019821,
-0.002943797968327999,
-0.021551508456468582,
-0.032109204679727554,
0.0051970756612718105,
-0.03961407393217087,
-0.01371955219656229,
-0.00964002963155508,
-0.0026189808268100023,
-0.04404794052243233,
0.023532211780548096,
-0.010721240192651749,
-0.009785402566194534,
-0.03292692452669144,
-0.006055683363229036,
0.024840567260980606,
0.05934842303395271,
-0.03363562002778053,
-0.03392636403441429,
0.02771167829632759,
-0.03256349265575409,
0.023314153775572777,
0.01811707764863968,
-0.010739411227405071,
-0.002827954012900591,
0.01513693667948246,
0.03301778435707092,
-0.016772380098700523,
0.019298231229186058,
-0.019661663100123405,
-0.05084411799907684,
0.027475448325276375,
-0.0006558809545822442,
0.033417560160160065,
0.04121317341923714,
-0.014264700002968311,
-0.025549259036779404,
-0.020915502682328224,
-0.034744083881378174,
0.008849565871059895,
-0.010067062452435493,
0.01886211335659027,
-0.02135162241756916,
0.03786959871649742,
-0.020224982872605324,
0.05084411799907684,
0.015991002321243286,
-0.018544109538197517,
-0.03572535142302513,
0.004756414331495762,
0.00197843206115067,
-0.038124002516269684,
0.005165275186300278,
-0.020061438903212547,
-0.009281140752136707,
0.039359670132398605,
0.003120971145108342,
0.0407770536839962,
-0.06367325782775879,
0.005710422992706299,
-0.020224982872605324,
0.03399905189871788,
0.036452215164899826,
0.09027647227048874,
-0.0008319182088598609,
-0.04324839264154434,
-0.06232856214046478,
-0.071923166513443,
-0.08315321058034897,
0.008313504047691822,
0.054987240582704544,
0.0683978721499443,
-0.04084974154829979,
0.002086326014250517,
0.0262761227786541,
-0.031073423102498055,
0.04753688722848892,
-0.003979578614234924,
-0.01282005850225687,
0.05266127735376358,
-0.020860988646745682,
-0.01666335016489029,
0.061965130269527435,
-0.05789469555020332,
0.031618572771549225,
-0.03545277938246727,
0.02674858458340168,
-0.024222733452916145,
-0.050480686128139496,
0.010857527144253254,
-0.04397525638341904,
0.05673171207308769,
0.014628131873905659,
0.040050189942121506,
0.03786959871649742,
-0.013183490373194218,
-0.01576385647058487,
0.011757020838558674,
0.026439666748046875,
0.04048630967736244,
-0.004470211919397116,
0.09572795033454895,
-0.04513823613524437,
0.031836628913879395,
0.02411370351910591,
-0.07704755663871765,
0.006101112347096205,
-0.04757323116064072,
-0.0947103425860405,
-0.01602734439074993,
-0.03906892612576485,
0.009758145548403263,
0.05088045820593834,
0.0919482558965683,
0.024422621354460716,
-0.03432613983750343,
0.005896681919693947,
0.04659196361899376,
0.09260243922472,
0.02682127058506012,
0.0060783978551626205,
-0.03772422671318054,
-0.014373729936778545,
0.00988534651696682,
-0.025967206805944443,
0.0601479709148407,
-0.0010545202530920506,
0.0273119043558836,
-0.024967769160866737,
-0.05647731199860573,
-0.04382988065481186,
0.011148272082209587,
0.04844546690583229,
0.041721977293491364,
-0.007686583790928125,
-0.012365768663585186,
0.048627182841300964,
0.005088046193122864,
0.01644529215991497,
0.022496432065963745,
0.054224032908678055,
0.01991606503725052,
-0.0026712240651249886,
-0.03083719313144684,
0.004583784379065037,
0.0497901625931263,
-0.03885086625814438,
-0.028438542038202286,
-0.008717821910977364,
0.02965603955090046,
-0.010739411227405071,
0.015500368550419807,
-0.004006836097687483,
0.03518020361661911,
-0.016772380098700523,
-0.08896812051534653,
0.012838230468332767,
0.043103016912937164,
-0.01873491145670414,
-0.023732099682092667,
-0.007309523411095142,
0.0002515629748813808,
-0.0009625265374779701,
0.011965993791818619,
0.0015241423388943076,
0.014382815919816494,
0.11011984944343567,
0.024786053225398064,
-0.03786959871649742,
0.023659413680434227,
-0.07108727097511292,
-0.04535629600286484,
-0.009485571645200253,
-0.016772380098700523,
0.05611388012766838,
-0.0071641504764556885,
-0.03345390409231186,
0.01700861006975174,
0.026639554649591446,
-0.040740709751844406,
-0.03338121622800827,
0.061129238456487656,
0.028384028002619743,
0.017708217725157738,
-0.01714489795267582,
0.04444771632552147,
0.008785964921116829,
0.018271535634994507,
-0.02246008813381195,
-0.01775364577770233,
-0.02267814800143242,
0.011193701066076756,
0.053061049431562424,
-0.09543720632791519,
-0.04244884103536606,
-0.019189201295375824,
-0.025531087070703506,
-0.018644053488969803,
-0.034725915640592575,
-0.0023418639320880175,
-0.06022065877914429,
0.006759832613170147,
0.040668025612831116,
0.014764418825507164,
0.019116515293717384,
-0.04528360813856125,
0.03000129945576191,
-0.04757323116064072,
-0.04401159659028053,
0.03972310200333595,
0.012120452709496021,
0.06022065877914429,
0.007345866411924362,
-0.035634495317935944,
-0.044266000390052795,
0.0615290142595768,
0.02238740213215351,
-0.020370354875922203,
0.012538398616015911,
0.03717907890677452,
-0.051316577941179276,
0.0017149440245702863,
0.024786053225398064,
-0.04550166800618172,
-0.014964306727051735,
-0.031836628913879395,
-0.06280102580785751,
-0.029964957386255264,
-0.025203999131917953,
0.0003992071724496782,
-0.024767881259322166,
0.027257388457655907,
-0.020006923004984856,
0.011548046953976154,
0.055387016385793686,
0.025585602968931198,
0.06280102580785751,
-0.049463074654340744,
0.033562932163476944,
-0.0891861766576767,
-0.06890667974948883,
-0.025058627128601074,
0.026694070547819138,
0.013047203421592712,
-0.0036047897301614285,
0.017571929842233658,
-0.023950159549713135,
-0.009376541711390018,
-0.044484060257673264,
0.05487820878624916,
0.016817810013890266,
0.009830831550061703,
0.04048630967736244,
-0.003159585641697049,
0.0046337563544511795,
-0.024077359586954117,
0.06465452909469604,
0.02107904851436615,
0.002311199437826872,
-0.0005996625404804945,
-0.02662138268351555,
-0.0021169905085116625,
0.002973326947540045,
0.07097823917865753,
-0.03301778435707092,
0.007014235015958548,
0.03830571845173836,
0.021206248551607132,
0.014391901902854443,
-0.013083546422421932,
-0.0407770536839962,
0.013074461370706558,
0.007972786203026772,
0.024204561486840248,
-0.0449201762676239,
-0.04688270762562752,
-0.014537273906171322,
0.02060658670961857,
-0.048154719173908234,
-0.0029369837138801813,
0.052079785615205765,
-0.036179639399051666,
-0.003427616786211729,
0.028456714004278183,
0.04575607180595398,
0.07199584692716599,
-0.00021465194004122168,
-0.03156405687332153,
-0.026912128552794456,
-0.027602650225162506,
0.0020726972725242376,
-0.007995501160621643,
-0.015055164694786072,
-0.0010204485151916742,
-0.04368450865149498,
-0.04084974154829979,
0.10147017240524292,
0.01616363227367401,
-0.02591269090771675,
-0.0245316494256258,
0.023386839777231216,
0.017317527905106544,
-0.0421580970287323,
-0.024386277422308922,
-0.009235711768269539,
0.0012822330463677645,
0.023532211780548096,
-0.0133016062900424,
0.023259637877345085,
0.008458876051008701,
0.03020118735730648,
0.0331631563603878,
0.020788302645087242,
0.0028552114963531494,
0.06876130402088165,
-0.027766194194555283,
0.05109851807355881,
0.005733137484639883,
0.02909271977841854,
0.054078660905361176,
-0.04404794052243233,
-0.0566590279340744,
0.019516291096806526,
0.05771297961473465,
0.020097780972719193,
-0.0238411296159029,
0.016054602339863777,
-0.006973348557949066,
0.0373244509100914,
-0.04015922173857689,
-0.0014400987420231104,
-0.026348808780312538,
-0.002739367540925741,
0.043430108577013016,
-0.048554494976997375,
-0.01251114159822464,
-0.03699736297130585,
-0.0255674310028553,
-0.003854649141430855,
0.009685458615422249,
-0.0525522455573082,
-0.03768788278102875,
0.06883399188518524,
0.038124002516269684,
-0.06298273801803589,
-0.04462943226099014,
-0.012765543535351753,
0.05378791317343712,
-0.03270886838436127,
0.043720852583646774,
0.02302340790629387,
-0.024786053225398064,
-0.0003066456411033869,
0.02889283187687397,
-0.07639337331056595,
0.004865443799644709,
-0.0015014278469607234,
-0.009794488549232483,
-0.0019761607982218266,
-0.007177778985351324,
-0.021333450451493263,
0.026639554649591446,
-0.03096439503133297,
-0.008976766839623451,
-0.030146673321723938,
0.015854714438319206,
0.009994376450777054,
0.02376844361424446,
0.0017864947440102696,
0.027675336226820946,
-0.07225025445222855,
-0.013110804371535778,
-0.017453815788030624,
0.00008127529144985601,
-0.03372647613286972,
-0.029347121715545654,
0.04379354044795036,
0.06530870497226715,
0.009076710790395737
] |
9,702 | requests.sessions | prepare_request | Constructs a :class:`PreparedRequest <PreparedRequest>` for
transmission and returns it. The :class:`PreparedRequest` has settings
merged from the :class:`Request <Request>` instance and those of the
:class:`Session`.
:param request: :class:`Request` instance to prepare with this
session's settings.
:rtype: requests.PreparedRequest
| def prepare_request(self, request):
"""Constructs a :class:`PreparedRequest <PreparedRequest>` for
transmission and returns it. The :class:`PreparedRequest` has settings
merged from the :class:`Request <Request>` instance and those of the
:class:`Session`.
:param request: :class:`Request` instance to prepare with this
session's settings.
:rtype: requests.PreparedRequest
"""
cookies = request.cookies or {}
# Bootstrap CookieJar.
if not isinstance(cookies, cookielib.CookieJar):
cookies = cookiejar_from_dict(cookies)
# Merge with session cookies
merged_cookies = merge_cookies(
merge_cookies(RequestsCookieJar(), self.cookies), cookies
)
# Set environment's basic authentication if not explicitly set.
auth = request.auth
if self.trust_env and not auth and not self.auth:
auth = get_netrc_auth(request.url)
p = PreparedRequest()
p.prepare(
method=request.method.upper(),
url=request.url,
files=request.files,
data=request.data,
json=request.json,
headers=merge_setting(
request.headers, self.headers, dict_class=CaseInsensitiveDict
),
params=merge_setting(request.params, self.params),
auth=merge_setting(auth, self.auth),
cookies=merged_cookies,
hooks=merge_hooks(request.hooks, self.hooks),
)
return p
| (self, request) | [
-0.033409032970666885,
-0.007810564711689949,
-0.05963252857327461,
-0.004664578475058079,
-0.043002091348171234,
-0.020593592897057533,
-0.05411374196410179,
0.05537306144833565,
0.01006530411541462,
-0.017713824287056923,
-0.0014954430516809225,
0.04933573305606842,
0.01953798718750477,
0.04989131540060043,
0.025482719764113426,
-0.053743354976177216,
0.05244699493050575,
-0.0021007966715842485,
0.009694915264844894,
-0.07000340521335602,
0.028723618015646935,
0.024834539741277695,
-0.0043520634062588215,
0.054521169513463974,
-0.026593884453177452,
0.033853497356176376,
-0.021501045674085617,
-0.006111408118158579,
0.04844680055975914,
0.007625370752066374,
0.0342053659260273,
0.05948437377810478,
0.01620449125766754,
0.020500997081398964,
0.03800184652209282,
0.013083969242870808,
0.01688970997929573,
0.011667233891785145,
-0.0438169464468956,
-0.008764315396547318,
-0.07896680384874344,
-0.013167306780815125,
-0.005727130454033613,
0.0014352549333125353,
0.02072322927415371,
0.02535308338701725,
-0.027019832283258438,
0.029705148190259933,
0.039113011211156845,
0.06592912971973419,
0.03389053791761398,
0.09244893491268158,
0.051521021872758865,
-0.03776109591126442,
-0.028779176995158195,
-0.03003849647939205,
-0.0115653770044446,
0.015713727101683617,
-0.05448412895202637,
0.029853302985429764,
0.026167938485741615,
0.1034124344587326,
0.017195280641317368,
-0.007079047616571188,
-0.07711485773324966,
-0.03855742886662483,
-0.05348408222198486,
-0.030445924028754234,
0.0015753080369904637,
-0.041039030998945236,
-0.02072322927415371,
-0.028297672048211098,
-0.01979725807905197,
-0.022112185135483742,
0.015556312166154385,
-0.03405721113085747,
-0.03368682414293289,
-0.02811247855424881,
-0.053891509771347046,
-0.004745601210743189,
0.04559480771422386,
-0.04022417590022087,
-0.05963252857327461,
-0.01757492870092392,
0.026575366035103798,
-0.008500413037836552,
-0.0376499779522419,
0.023112233728170395,
0.03696475923061371,
0.06266971677541733,
-0.02098250202834606,
0.01994541473686695,
0.0075327735394239426,
0.0679292306303978,
0.03450167551636696,
0.013472877442836761,
0.00512061920017004,
0.0024908618070185184,
-0.05140990763902664,
-0.05337296426296234,
-0.015528532676398754,
0.02505677379667759,
-0.0743369460105896,
-0.0134173184633255,
0.0018264777027070522,
-0.013750668615102768,
0.04222427308559418,
-0.02963107079267502,
0.03422388434410095,
-0.02772356942296028,
0.005014132708311081,
-0.021741798147559166,
-0.08689311146736145,
0.04248354583978653,
-0.029797744005918503,
-0.07063306123018265,
-0.02309371531009674,
-0.03292752802371979,
-0.014287731610238552,
0.0033242355566471815,
-0.05129878968000412,
0.041335344314575195,
0.05189141258597374,
0.034390561282634735,
0.04444660618901253,
0.021038059145212173,
0.037446264177560806,
-0.03303864225745201,
-0.007653149776160717,
-0.046298548579216,
0.0039376914501190186,
-0.02933475933969021,
-0.004643744323402643,
0.01718602143228054,
-0.05948437377810478,
0.007190164178609848,
-0.008380036801099777,
0.01994541473686695,
-0.026112381368875504,
0.06015107035636902,
0.03524245321750641,
-0.04048344865441322,
-0.01727861724793911,
-0.016287829726934433,
-0.00267142616212368,
-0.04307616874575615,
0.0467800535261631,
-0.052854422479867935,
-0.035816557705402374,
-0.05178029462695122,
0.011333884671330452,
-0.018778691068291664,
0.011833908967673779,
0.01454700343310833,
-0.013759927824139595,
0.01159315649420023,
-0.027038350701332092,
0.0040001943707466125,
0.021593641489744186,
0.02324187010526657,
-0.00960231851786375,
0.021630682051181793,
-0.000202990195248276,
-0.04189092665910721,
0.0005101521383039653,
-0.024001166224479675,
0.003935376647859812,
-0.04348359629511833,
0.040631603449583054,
-0.03815000131726265,
-0.010648665949702263,
0.0398908294737339,
-0.01662117801606655,
0.02229738049209118,
-0.022334419190883636,
-0.024630827829241753,
0.04829864576458931,
-0.05422485992312431,
-0.05081728473305702,
-0.020445438101887703,
0.044187333434820175,
-0.004768750164657831,
0.022093666717410088,
0.07355912774801254,
0.03859446942806244,
-0.013195086270570755,
0.031057065352797508,
0.00018287925922777504,
0.013741408474743366,
0.06444757431745529,
0.0645216554403305,
0.03307568281888962,
-0.02639017254114151,
-0.03153856843709946,
-0.01264876313507557,
-0.003370534162968397,
0.03535357117652893,
-0.04203908145427704,
-0.005125249270349741,
0.024890098720788956,
-0.04122422635555267,
-0.0178434606641531,
0.0231307540088892,
-0.017445292323827744,
-0.0035534135531634092,
0.005731760058552027,
-0.019167598336935043,
-0.05800281837582588,
-0.05581752955913544,
0.02974218688905239,
0.01816754974424839,
0.011250547133386135,
0.012519126757979393,
-0.009907889179885387,
-0.06733660399913788,
0.04907646030187607,
0.04844680055975914,
-0.0029885713011026382,
0.004903016146272421,
-0.005634533241391182,
0.045372575521469116,
0.034723911434412,
0.0016760074067860842,
-0.005398410372436047,
0.014065498486161232,
-0.03618694469332695,
0.015047027729451656,
-0.029168084263801575,
-0.04366878792643547,
-0.04785417765378952,
0.03166820481419563,
-0.005680831614881754,
0.0052317357622087,
-0.02176031656563282,
0.013296942226588726,
-0.0019179172813892365,
0.01710268296301365,
-0.019556505605578423,
-0.017463812604546547,
-0.055854566395282745,
0.029649589210748672,
-0.004828938283026218,
0.00650957552716136,
-0.018574977293610573,
-0.06329937279224396,
-0.002453822875395417,
-0.02137140929698944,
0.03833519667387009,
0.0017338806064799428,
-0.02948291413486004,
0.03366830199956894,
0.00825503095984459,
-0.03652029484510422,
-0.003176080295816064,
0.0031066325027495623,
0.026667963713407516,
0.007870753295719624,
0.06411422789096832,
0.003264047671109438,
-0.007833714596927166,
0.015750765800476074,
-0.00708830775693059,
-0.01579706370830536,
-0.030834833160042763,
0.014315511099994183,
0.061706703156232834,
0.012908034957945347,
0.019408350810408592,
-0.036409176886081696,
-0.04003898426890373,
0.04466883838176727,
0.07896680384874344,
0.01866757497191429,
0.031983036547899246,
-0.004361323080956936,
-0.010667185299098492,
-0.0031483012717217207,
0.03933524712920189,
-0.02663092501461506,
-0.014037718996405602,
0.07126272469758987,
-0.016482282429933548,
0.02309371531009674,
0.009991226717829704,
-0.026593884453177452,
-0.03298308327794075,
-0.0896339863538742,
0.06507723778486252,
0.005935473833233118,
-0.00030672785942442715,
-0.056002721190452576,
0.04352063313126564,
0.04696524515748024,
-0.02327890880405903,
-0.07300354540348053,
-0.05537306144833565,
-0.07822602242231369,
0.02401968650519848,
0.059151023626327515,
0.03672400861978531,
0.03633509948849678,
0.021982550621032715,
-0.020445438101887703,
0.028631022199988365,
0.06778107583522797,
-0.023612258955836296,
-0.005616013891994953,
0.0025973485317081213,
-0.04218723624944687,
-0.024538230150938034,
0.031131142750382423,
0.035909153521060944,
0.06329937279224396,
-0.005384521093219519,
-0.06015107035636902,
-0.029871823266148567,
0.03470538929104805,
-0.01885276846587658,
-0.006588282994925976,
0.05715092644095421,
-0.006680880207568407,
0.02185291424393654,
-0.0072318329475820065,
0.021926991641521454,
0.01435254979878664,
0.047780100256204605,
0.07541107386350632,
0.014204394072294235,
-0.05359519645571709,
0.05755835399031639,
-0.07429990917444229,
0.08185583353042603,
-0.05341000482439995,
0.03411277011036873,
-0.05566937103867531,
0.026353131979703903,
-0.02185291424393654,
-0.049409810453653336,
0.029056968167424202,
-0.0974862203001976,
-0.018917586654424667,
-0.05411374196410179,
-0.028593983501195908,
-0.01200984325259924,
-0.03329791501164436,
-0.0526692271232605,
0.04548369348049164,
0.033557187765836716,
0.043891023844480515,
-0.05411374196410179,
-0.027093909680843353,
-0.04248354583978653,
-0.0019075000891461968,
0.014334030449390411,
0.023704856634140015,
-0.05603976175189018,
-0.036557331681251526,
-0.019167598336935043,
-0.019926894456148148,
-0.035964712500572205,
0.05337296426296234,
0.07511476427316666,
0.03500170260667801,
0.017565669491887093,
0.03318679705262184,
-0.04729859530925751,
0.0015915125841274858,
-0.010222719050943851,
-0.03285345062613487,
0.012898774817585945,
0.018176808953285217,
-0.008347627706825733,
0.01885276846587658,
0.024927137419581413,
-0.02466786652803421,
-0.029205122962594032,
-0.06748475879430771,
-0.044779956340789795,
-0.005213216412812471,
0.040372334420681,
0.0448169931769371,
-0.0073429495096206665,
-0.0526692271232605,
0.004183073528110981,
-0.020167646929621696,
-0.06700325757265091,
0.015102585777640343,
0.007565182633697987,
0.04052048921585083,
0.001982735237106681,
-0.008704126812517643,
-0.013834006153047085,
0.045372575521469116,
0.08474486321210861,
-0.012037621811032295,
0.00038659287383779883,
0.015102585777640343,
-0.0196861419826746,
-0.04081679880619049,
0.025630876421928406,
0.05426189675927162,
-0.08659680187702179,
-0.003930746577680111,
-0.01200984325259924,
0.004759490489959717,
-0.018750911578536034,
0.05233587697148323,
0.010417172685265541,
0.049298692494630814,
-0.012509867548942566,
-0.022686287760734558,
0.0022778885904699564,
0.018917586654424667,
-0.008023538626730442,
-0.06226228550076485,
0.018528679385781288,
-0.04552073031663895,
0.006713289301842451,
0.04392806068062782,
-0.002532530575990677,
0.010648665949702263,
-0.017056385055184364,
-0.05292849987745285,
-0.011407962068915367,
-0.00964861735701561,
0.02564939484000206,
-0.0015533162513747811,
-0.03352014720439911,
-0.03489058464765549,
-0.02772356942296028,
0.009537500329315662,
0.05459524691104889,
-0.010944976471364498,
-0.01026901789009571,
0.0438169464468956,
0.043261364102363586,
-0.011870947666466236,
0.04311320558190346,
-0.022612210363149643,
0.03137189522385597,
-0.0388907790184021,
-0.021871432662010193,
0.006366050336509943,
-0.033353473991155624,
0.0625585988163948,
0.017787901684641838,
-0.05007650703191757,
0.016315607354044914,
-0.037038836628198624,
-0.004183073528110981,
0.0037756464444100857,
-0.0034469268284738064,
0.02244553528726101,
-0.009583799168467522,
-0.04863199219107628,
-0.007004970218986273,
0.009917148388922215,
0.0028473606798797846,
-0.013889564201235771,
0.023445583879947662,
0.04618743062019348,
0.015472974628210068,
0.07355912774801254,
0.011722791939973831,
0.00045893434435129166,
0.042113158851861954,
0.012417269870638847,
0.02850138582289219,
-0.006051219999790192,
-0.008708756417036057,
-0.041372381150722504,
0.00422937236726284,
-0.06429941952228546,
0.008486523292958736,
0.0019306493923068047,
-0.02111213654279709,
-0.04722451791167259,
-0.009046736173331738,
0.017473071813583374,
0.025464201346039772,
0.008051317185163498,
-0.008204102516174316,
0.05163213983178139,
0.035372089594602585,
0.00686607463285327,
-0.07667039334774017,
0.03052000142633915,
0.007796675432473421,
-0.01890832744538784,
0.02087138406932354,
0.05081728473305702,
0.06626248359680176,
-0.019278714433312416,
0.040372334420681,
-0.043891023844480515,
0.038520392030477524,
0.01221355702728033,
0.019075000658631325,
0.03203859552741051,
-0.016260050237178802,
0.02348262257874012,
0.0012199666816741228,
0.011389442719519138,
-0.002169086830690503,
-0.04755786806344986,
0.01602855697274208,
-0.04092791676521301,
0.03422388434410095,
-0.009213411249220371,
0.022334419190883636,
0.005166918039321899,
0.013806226663291454,
-0.06492908298969269,
-0.04018713906407356,
0.007829084061086178,
0.01695452816784382,
-0.04933573305606842,
0.02500121481716633,
-0.04555777087807655,
-0.033946093171834946,
0.04307616874575615,
0.08096689730882645,
0.0684107318520546,
-0.006264193449169397,
-0.017760122194886208,
0.06629952043294907,
0.015398896299302578,
0.02816803567111492,
0.001971160527318716,
0.03274233266711235,
0.02603830210864544,
-0.030019978061318398,
-0.025871628895401955,
0.01935279183089733,
0.07126272469758987,
-0.01043569203466177,
-0.05059505254030228,
-0.007393877953290939,
-0.011491299606859684,
0.008000388741493225,
0.05133583024144173,
0.030797792598605156,
0.010528289712965488,
0.04722451791167259,
-0.06470684707164764,
0.003125151852145791,
0.040372334420681,
0.03689068183302879,
-0.07326281815767288,
-0.07444806396961212,
-0.10163456946611404,
-0.0017871239688247442,
0.03442759811878204,
0.009329156950116158,
-0.008912470191717148,
-0.0772630125284195,
0.03329791501164436,
-0.0502246655523777,
-0.04452068358659744,
-0.003213119227439165,
0.003419147804379463,
-0.03579803556203842,
-0.037835173308849335,
0.03235342353582382,
-0.05918806418776512,
-0.02900140918791294,
0.028723618015646935,
0.05863247811794281,
-0.03959451615810394,
0.0027964322362095118,
0.06344752758741379,
0.038816701620817184,
-0.04770602285861969,
0.06385495513677597,
-0.02240849658846855,
-0.01799161545932293,
-0.018945366144180298,
0.06470684707164764,
-0.01694526895880699,
0.0243715550750494,
0.037038836628198624,
-0.010417172685265541,
-0.04215019568800926,
-0.01979725807905197,
-0.05566937103867531,
-0.04452068358659744,
0.044335488229990005,
0.0337238609790802,
-0.023075195029377937,
-0.010426432825624943,
-0.03776109591126442,
0.0002549313649069518,
0.021130656823515892,
-0.009565279819071293,
-0.01114869024604559,
-0.018769429996609688,
-0.06952189654111862,
-0.01938983052968979,
-0.008597640320658684,
0.006333641242235899,
-0.025093812495470047,
0.012667282484471798,
-0.012908034957945347,
0.011639454402029514,
-0.008009648881852627,
-0.03748330473899841,
-0.028075437992811203,
0.023352986201643944,
0.001124475966207683,
-0.047039322555065155,
-0.00982455164194107,
0.037094395607709885,
-0.0023091400507837534,
0.03622398152947426,
-0.04296505078673363,
-0.0260938610881567,
-0.09311563521623611,
0.02214922569692135,
0.03442759811878204,
-0.06563282012939453,
0.0027316142804920673,
0.002687630709260702,
-0.02570495381951332,
0.07052194327116013,
-0.030445924028754234,
0.0009282858809456229,
0.05800281837582588,
-0.021723277866840363,
-0.05000242963433266,
-0.012241335585713387,
0.027149468660354614,
0.004088161513209343,
0.04948388785123825,
0.0033728491980582476,
0.024260438978672028,
0.04196500405669212,
0.0028658800292760134,
-0.04633558541536331,
0.010676444508135319,
0.027353182435035706,
0.08296699821949005,
0.011898726224899292,
0.054521169513463974,
-0.017491590231657028,
-0.01816754974424839,
-0.05370631441473961,
0.03007553517818451,
-0.047483790665864944,
0.05144694447517395,
-0.04018713906407356,
-0.021241772919893265,
0.0467800535261631,
0.0487431101500988,
-0.01457478292286396,
-0.038520392030477524,
0.00448169931769371,
-0.01863979548215866,
0.04963204264640808,
0.0064864265732467175,
-0.0871153473854065,
0.041335344314575195,
-0.004208537749946117,
0.11556117236614227,
-0.011417221277952194,
0.045817043632268906,
0.052558109164237976,
-0.01050977036356926,
-0.012593205086886883,
0.0467800535261631,
0.04640966281294823,
-0.0026042931713163853,
-0.03144597262144089,
0.0006047747447155416,
0.03800184652209282,
0.013343241065740585,
-0.04318728297948837,
0.014093277975916862,
-0.069447822868824,
-0.03018665313720703,
-0.0025140109937638044,
-0.01582484319806099,
-0.007940201088786125,
0.0320015549659729,
0.02294556051492691,
0.04055752605199814,
-0.03494614362716675,
0.05518786609172821,
-0.03489058464765549,
-0.027260584756731987,
-0.013824746012687683,
0.023556699976325035,
-0.012315413914620876,
0.026316093280911446,
0.0393722839653492,
-0.03750182315707207,
-0.03755738213658333,
0.02540864236652851,
0.011232027783989906,
0.033946093171834946,
0.031927477568387985,
0.042557623237371445,
-0.03748330473899841,
0.0009728482109494507,
0.025167889893054962,
-0.041372381150722504,
-0.013972901739180088,
0.026964273303747177,
-0.021945511922240257,
0.0320015549659729,
0.03737218677997589,
-0.0156396497040987,
0.019278714433312416,
0.06907743215560913,
-0.05874359607696533,
-0.005875285714864731,
0.07489252835512161,
-0.019908376038074493,
-0.032316386699676514,
-0.01349139679223299,
0.04222427308559418,
-0.0359276719391346,
-0.02401968650519848,
0.032816410064697266,
0.022315898910164833,
0.004754860885441303,
-0.012204296886920929,
-0.042520586401224136,
-0.025686433538794518,
-0.014074758626520634,
-0.03285345062613487,
-0.0013600197853520513,
0.03772405534982681,
-0.08163359761238098,
-0.0019456964218989015,
-0.01905648224055767,
-0.036798086017370224,
0.0024515080731362104,
0.03748330473899841,
-0.00728739146143198,
0.04144645854830742,
-0.022778885439038277,
-0.031242258846759796,
-0.02235293760895729,
0.034983180463314056,
-0.01113017089664936,
-0.005333592649549246,
0.03907597437500954,
-0.05370631441473961,
0.013185826130211353,
0.03159412741661072,
0.030890390276908875,
-0.00979677215218544,
0.021334370598196983,
-0.025075292214751244,
-0.03833519667387009,
-0.014584042131900787,
-0.021593641489744186,
0.027353182435035706,
0.04885422810912132,
0.006065109744668007,
-0.04259466379880905,
-0.0018912956584244967,
0.011648714542388916,
0.010222719050943851,
0.019926894456148148,
-0.005555825773626566,
0.07711485773324966,
-0.003828889923170209
] |
9,703 | requests.sessions | put | Sends a PUT request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of the :class:`Request`.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
| def put(self, url, data=None, **kwargs):
r"""Sends a PUT request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of the :class:`Request`.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:rtype: requests.Response
"""
return self.request("PUT", url, data=data, **kwargs)
| (self, url, data=None, **kwargs) | [
-0.04318171739578247,
-0.03170502185821533,
-0.05872853472828865,
0.000946019368711859,
0.013118717819452286,
0.0454176627099514,
-0.03692805394530296,
0.010218974202871323,
0.028158951550722122,
0.002921578474342823,
-0.00919707678258419,
-0.07504395395517349,
0.012498592026531696,
-0.014385171234607697,
0.020228328183293343,
-0.02749515511095524,
0.03355666622519493,
-0.08014471083879471,
0.03439514711499214,
-0.0754631981253624,
0.04646576568484306,
0.008900115266442299,
0.031757429242134094,
-0.028805280104279518,
0.013066312298178673,
0.011511631309986115,
0.02908477373421192,
-0.021346302703022957,
-0.012743148021399975,
0.0151974493637681,
0.03654375299811363,
0.01870858483016491,
-0.007502648513764143,
-0.010943910107016563,
0.05806473642587662,
-0.006690371315926313,
0.007376003544777632,
-0.019913898780941963,
-0.014586057513952255,
0.03343438729643822,
-0.03165261819958687,
0.00179377943277359,
-0.03378375619649887,
-0.027128320187330246,
0.11438263952732086,
0.06879029422998428,
-0.05366271734237671,
0.03278806060552597,
-0.006926193833351135,
0.015869980677962303,
-0.0007838914170861244,
-0.014961626380681992,
0.01019277237355709,
-0.048002976924180984,
-0.032997678965330124,
0.029137179255485535,
0.011057454161345959,
0.05237006023526192,
-0.008236318826675415,
0.007869483903050423,
0.06473764032125473,
0.013808717019855976,
0.05250980705022812,
-0.04255285859107971,
-0.05935739353299141,
0.018830861896276474,
-0.04957512766122818,
0.06030068174004555,
0.03441261500120163,
-0.011668846011161804,
-0.014551120810210705,
-0.006327903363853693,
-0.011179733090102673,
0.017564408481121063,
0.021154150366783142,
0.03093641623854637,
0.020752379670739174,
0.02325035072863102,
0.034150589257478714,
0.01728491485118866,
0.05701663717627525,
-0.07734977453947067,
0.02955641783773899,
-0.01972174644470215,
-0.0455574095249176,
-0.002213019412010908,
0.04024703800678253,
-0.06089460477232933,
-0.04440449923276901,
0.016848206520080566,
-0.03755691275000572,
0.005087651778012514,
-0.027075914666056633,
-0.05460600554943085,
0.030517175793647766,
0.005314739886671305,
-0.013363273814320564,
-0.10655682533979416,
0.013214793056249619,
0.002467402024194598,
0.06187283247709274,
-0.011406821198761463,
0.04905107617378235,
0.015424537472426891,
0.037591852247714996,
-0.03362654149532318,
-0.02747768722474575,
0.010149100795388222,
-0.0718996524810791,
-0.01862124167382717,
0.034150589257478714,
0.051706261932849884,
-0.06456295400857925,
0.0351637527346611,
0.014376437291502953,
-0.011258340440690517,
-0.002967432839795947,
-0.030272619798779488,
-0.019337443634867668,
0.0010677517857402563,
-0.056527525186538696,
0.020752379670739174,
0.02663920633494854,
0.016647320240736008,
0.041993871331214905,
0.013433147221803665,
-0.009135938249528408,
0.021992631256580353,
-0.033993374556303024,
-0.06498219817876816,
0.022831110283732414,
-0.02964375913143158,
0.03605463728308678,
0.0587984062731266,
0.021695667877793312,
0.0008259245660156012,
0.01093517616391182,
0.004089773166924715,
-0.03310249000787735,
0.0146646648645401,
-0.006183789577335119,
-0.02386174164712429,
-0.038290586322546005,
-0.00556366378441453,
0.04964499920606613,
-0.01478694286197424,
-0.026604270562529564,
-0.08650318533182144,
0.011826060712337494,
0.03194957971572876,
0.021031871438026428,
-0.008817140944302082,
0.1019451841711998,
0.020140986889600754,
-0.020822251215577126,
-0.01979161985218525,
0.008686128072440624,
-0.09733355045318604,
-0.011930870823562145,
-0.0067908139899373055,
0.028525786474347115,
0.0015022766310721636,
0.03135565668344498,
-0.01366023626178503,
0.004921702668070793,
-0.0311809740960598,
-0.010402391664683819,
0.024420728906989098,
0.006734041962772608,
-0.009703658521175385,
-0.03250856697559357,
-0.024228576570749283,
-0.02125895954668522,
-0.00018314454064238816,
0.09460848569869995,
-0.05142677202820778,
-0.026359712705016136,
-0.004559234715998173,
0.040910832583904266,
0.020595163106918335,
0.033609069883823395,
0.010018088854849339,
0.05016905069351196,
0.07109611481428146,
-0.027530090883374214,
-0.009974418208003044,
-0.014551120810210705,
0.01732858642935753,
-0.036438941955566406,
0.052160441875457764,
0.018953140825033188,
-0.07511382550001144,
-0.000028948983526788652,
-0.00010392293188488111,
0.027757180854678154,
-0.019057950004935265,
-0.052684489637613297,
-0.01135441567748785,
0.016865674406290054,
0.06934928148984909,
-0.011205934919416904,
-0.014917955733835697,
0.0454176627099514,
0.039827797561883926,
0.04174931347370148,
-0.0418541245162487,
0.04325159266591072,
0.002097291639074683,
0.033137425780296326,
0.03888450935482979,
0.06728801876306534,
0.01109239086508751,
-0.010053025558590889,
-0.024438196793198586,
0.016953015699982643,
-0.017704155296087265,
0.0064632827416062355,
-0.03263084590435028,
-0.029958190396428108,
0.015031499788165092,
0.020210860297083855,
0.0303250253200531,
0.020507821813225746,
0.04580196738243103,
-0.014123146422207355,
-0.03093641623854637,
0.024525538086891174,
-0.00717511773109436,
-0.0642135888338089,
-0.034447550773620605,
-0.03685818240046501,
0.022534148767590523,
0.057156383991241455,
0.023984020575881004,
-0.010271379724144936,
-0.054326511919498444,
-0.05565410852432251,
0.006258029956370592,
-0.002104934072121978,
-0.06784700602293015,
0.03650881350040436,
0.01381745096296072,
-0.023844273760914803,
0.03755691275000572,
-0.06354979425668716,
-0.011083656921982765,
-0.013433147221803665,
0.025049587711691856,
-0.012944034300744534,
-0.046919941902160645,
0.03179236501455307,
-0.03257843852043152,
-0.06868547946214676,
0.0357402078807354,
0.01839415356516838,
-0.010166569612920284,
0.036229319870471954,
0.01554681546986103,
0.003810280002653599,
0.008380432613193989,
-0.06683383882045746,
-0.00490860128775239,
0.03919893875718117,
0.04657057300209999,
-0.007127079647034407,
-0.06351485848426819,
-0.00312683149240911,
-0.018848329782485962,
-0.014795677736401558,
0.024368323385715485,
0.04908601567149162,
0.04066627845168114,
0.02817641943693161,
0.012917831540107727,
0.019197696819901466,
-0.029818443581461906,
0.016446435824036598,
-0.024665284901857376,
0.05474575236439705,
-0.07693053781986237,
0.05474575236439705,
0.015983523800969124,
-0.025853130966424942,
-0.060021188110113144,
0.03425540030002594,
-0.012708211317658424,
0.00043943774653598666,
0.08769103139638901,
0.012961502186954021,
0.02695363759994507,
0.03692805394530296,
0.023984020575881004,
-0.02447313442826271,
0.007821445353329182,
0.018673647195100784,
0.048212599009275436,
-0.05460600554943085,
0.1100504919886589,
0.05247487127780914,
0.012725680135190487,
0.010053025558590889,
-0.012917831540107727,
0.01802731864154339,
-0.008978722617030144,
0.04964499920606613,
-0.03235135227441788,
0.01775655895471573,
-0.015031499788165092,
-0.03846526890993118,
0.017616814002394676,
0.05160145461559296,
-0.014961626380681992,
-0.08664292842149734,
0.008389166556298733,
-0.017651749774813652,
0.023966552689671516,
-0.021660732105374336,
-0.008721064776182175,
-0.03710273653268814,
-0.005624802783131599,
0.014586057513952255,
-0.07811838388442993,
0.009555177763104439,
-0.04510323330760002,
0.01450745016336441,
-0.06557612121105194,
0.036753371357917786,
0.016446435824036598,
0.005218664184212685,
-0.04919082298874855,
-0.01528479065746069,
0.057785242795944214,
0.0022512313444167376,
-0.0044849943369627,
-0.07462471723556519,
-0.08615381270647049,
0.02562604285776615,
-0.006655434612184763,
0.08447685837745667,
0.0793062299489975,
0.00021166705118957907,
0.027896927669644356,
0.013328337110579014,
-0.02718072570860386,
-0.018830861896276474,
0.01825440675020218,
0.005633537191897631,
-0.003755691461265087,
0.03341691941022873,
-0.0016452985582873225,
-0.01428036205470562,
-0.01574770174920559,
0.004476260393857956,
-0.026342244818806648,
-0.01620187796652317,
-0.006070245523005724,
0.040002480149269104,
-0.06456295400857925,
-0.00838479958474636,
-0.03608957305550575,
0.036753371357917786,
0.019826557487249374,
-0.03170502185821533,
0.01947719044983387,
-0.07658117264509201,
-0.010140366852283478,
0.0013046660460531712,
0.010847833938896656,
-0.014332766644656658,
-0.022499211132526398,
0.0036574320401996374,
-0.022953389212489128,
0.03079666942358017,
0.03682324290275574,
0.027303002774715424,
-0.004912968259304762,
-0.00900492537766695,
-0.036753371357917786,
-0.03072679601609707,
-0.018533900380134583,
0.01116226427257061,
-0.021608326584100723,
-0.0006889073411002755,
-0.05974169820547104,
0.0529639832675457,
-0.009328089654445648,
-0.003663982730358839,
0.023040730506181717,
0.01690061204135418,
0.014358969405293465,
0.015651626512408257,
0.01228023786097765,
0.06589055061340332,
-0.0330326147377491,
-0.03699792921543121,
0.023582248017191887,
-0.006341004744172096,
-0.012647072784602642,
0.004098507575690746,
-0.005441385321319103,
0.017791496589779854,
0.003904172219336033,
0.02494477853178978,
0.016979219391942024,
0.04108551889657974,
0.021608326584100723,
-0.02101440355181694,
-0.05596853792667389,
0.008952520787715912,
-0.0330326147377491,
-0.02424604445695877,
-0.0075637879781425,
0.025678448379039764,
-0.004402019549161196,
0.018953140825033188,
0.02625490352511406,
-0.0377315990626812,
-0.038744762539863586,
-0.0432865284383297,
0.05009917542338371,
0.031512871384620667,
-0.025521233677864075,
-0.009991886094212532,
0.03755691275000572,
-0.005013411398977041,
-0.024909842759370804,
-0.0034390778746455908,
-0.09474823623895645,
0.036229319870471954,
0.014079475775361061,
-0.014926689676940441,
-0.01309251505881548,
0.028543254360556602,
-0.03156527504324913,
0.0011965808225795627,
0.03843032941222191,
-0.012804287485778332,
-0.030150340870022774,
-0.01902301423251629,
-0.004685880150645971,
0.006768978666514158,
-0.02248174324631691,
-0.0398627333343029,
0.018132129684090614,
-0.007825813256204128,
0.0512520857155323,
-0.009834671393036842,
-0.012140491046011448,
0.06030068174004555,
-0.0032600276172161102,
0.0377315990626812,
0.02071744203567505,
-0.011869731359183788,
0.033050086349248886,
0.011581504717469215,
-0.04436956346035004,
-0.04657057300209999,
-0.03724248334765434,
-0.029923252761363983,
-0.015179980546236038,
0.009293152950704098,
-0.01909288763999939,
0.027827054262161255,
0.02471769042313099,
-0.003364837495610118,
0.013083781115710735,
0.031128568574786186,
-0.028683001175522804,
0.028979962691664696,
-0.035617928951978683,
-0.018149597570300102,
0.03346932306885719,
-0.016752131283283234,
0.019966304302215576,
-0.003504584077745676,
0.028543254360556602,
-0.014105678535997868,
0.013843653723597527,
-0.005729612894356251,
-0.057785242795944214,
0.06071992218494415,
0.04489361494779587,
0.025591107085347176,
0.01759934425354004,
0.00821448303759098,
0.013468083925545216,
-0.016603650525212288,
0.026045283302664757,
0.10362214595079422,
-0.0021562473848462105,
0.09635531902313232,
-0.03540831059217453,
-0.02994072251021862,
-0.061313845217227936,
-0.06075486168265343,
0.020490353927016258,
-0.08985710144042969,
-0.03780147060751915,
-0.03965311497449875,
0.02548629604279995,
-0.009729861281812191,
0.015380866825580597,
0.08084344118833542,
-0.005441385321319103,
0.02194022573530674,
-0.030010594055056572,
0.018271876499056816,
0.04747892543673515,
0.030988821759819984,
0.02078731544315815,
-0.03193211182951927,
0.0032600276172161102,
0.06089460477232933,
-0.003851767163723707,
0.08182166516780853,
0.005943600088357925,
-0.030517175793647766,
0.01369517296552658,
-0.0509725920855999,
-0.03542577847838402,
-0.02132883295416832,
0.008563850075006485,
0.07287788391113281,
0.03654375299811363,
-0.014559854753315449,
-0.015223651193082333,
0.035600461065769196,
-0.041993871331214905,
-0.04772348329424858,
0.01855136826634407,
0.029661228880286217,
0.0048736645840108395,
-0.056632332503795624,
0.02994072251021862,
0.08154217898845673,
0.01862124167382717,
-0.013992134481668472,
-0.05499031022191048,
0.03308502212166786,
-0.02171313762664795,
-0.0012730046873912215,
0.02092706225812435,
0.05397714674472809,
0.026377182453870773,
-0.06802168488502502,
0.010341253131628036,
0.021538453176617622,
-0.05055335536599159,
0.017136434093117714,
-0.033906031399965286,
-0.04433462768793106,
-0.01615820825099945,
0.05443132296204567,
-0.028525786474347115,
-0.046081461012363434,
0.06564599275588989,
0.023687059059739113,
-0.05904296413064003,
-0.002661737147718668,
-0.04094577208161354,
-0.04077108949422836,
0.0038430332206189632,
0.014306563884019852,
0.007327965460717678,
0.027530090883374214,
-0.027215661481022835,
-0.0055505624040961266,
-0.013529223389923573,
-0.030202746391296387,
-0.017861369997262955,
0.07909660786390305,
0.03249109908938408,
-0.0157302338629961,
0.0018265325343236327,
0.02786199003458023,
0.0016551244771108031,
0.022953389212489128,
-0.013441882096230984,
0.02578325942158699,
-0.03608957305550575,
-0.006987332832068205,
0.004550500772893429,
-0.05121714994311333,
0.0011725617805495858,
0.03608957305550575,
-0.030010594055056572,
-0.04223842918872833,
0.004312494769692421,
-0.030779201537370682,
-0.018586305901408195,
0.02609768882393837,
0.030814137309789658,
0.00514005683362484,
0.010411125607788563,
0.0033757551573216915,
-0.009878342039883137,
-0.027809584513306618,
-0.05317360535264015,
0.03495413437485695,
0.04828247055411339,
0.03748704120516777,
0.030307557433843613,
-0.05740094184875488,
0.01204441487789154,
-0.05457106977701187,
0.037382230162620544,
-0.05156651884317398,
0.02772224321961403,
0.030447302386164665,
-0.0721791461110115,
-0.004091956652700901,
0.02971363253891468,
-0.031600214540958405,
-0.0024368322920054197,
-0.022848578169941902,
-0.02162579633295536,
-0.037766534835100174,
0.0004667320172302425,
-0.026656674221158028,
-0.04496348649263382,
0.0031006289646029472,
-0.06075486168265343,
0.0061925239861011505,
0.03605463728308678,
-0.029958190396428108,
0.020682506263256073,
-0.015573018230497837,
0.054466258734464645,
-0.08377812057733536,
-0.06994320452213287,
-0.003386672819033265,
-0.011572769843041897,
0.0284035075455904,
0.013826184906065464,
0.021066809073090553,
-0.0142017537727952,
-0.008664293214678764,
0.01369517296552658,
-0.012210364453494549,
0.01923263445496559,
0.03079666942358017,
0.05607334524393082,
0.02695363759994507,
0.024770095944404602,
0.00847214087843895,
0.04919082298874855,
0.03682324290275574,
0.00988707598298788,
-0.0179399773478508,
-0.03446501865983009,
-0.004808158613741398,
-0.006747143343091011,
0.1171775758266449,
-0.021835414692759514,
0.030988821759819984,
0.016027195379137993,
0.046011585742235184,
-0.03794121742248535,
0.002155155409127474,
-0.05002930387854576,
-0.009485304355621338,
0.001122340327128768,
0.01792250946164131,
-0.029853379353880882,
-0.03009793721139431,
-0.013249729759991169,
0.043531082570552826,
-0.040002480149269104,
0.036369066685438156,
0.06470270454883575,
-0.03605463728308678,
0.05303385853767395,
-0.02801920473575592,
0.0721791461110115,
0.012219098396599293,
-0.031163504347205162,
-0.007594357710331678,
-0.07825812697410583,
-0.05628296732902527,
0.008048534393310547,
-0.03509388118982315,
-0.024368323385715485,
0.024595411494374275,
-0.02110174484550953,
-0.05460600554943085,
0.10026822984218597,
0.005393347702920437,
-0.01077796146273613,
-0.03731235861778259,
-0.025276677682995796,
-0.00010692529758671299,
-0.03187970817089081,
-0.08098319172859192,
-0.03310249000787735,
0.02286604791879654,
-0.033678945153951645,
0.018848329782485962,
-0.00410724151879549,
0.04842221736907959,
0.010035556741058826,
0.031897176057100296,
0.05953207612037659,
-0.009764797985553741,
0.001329776830971241,
-0.0720394030213356,
0.016097068786621094,
0.0030875278171151876,
-0.014996563084423542,
0.0023538577370345592,
-0.015869980677962303,
-0.031442999839782715,
0.007341066841036081,
0.006384675391018391,
-0.025189334526658058,
0.010175303556025028,
0.08091331273317337,
0.01050720177590847,
-0.020612632855772972,
0.01019277237355709,
0.005506891757249832,
-0.016935547813773155,
0.009703658521175385,
0.011869731359183788,
-0.037521976977586746,
-0.03979286178946495,
-0.05488549917936325,
-0.04758373647928238,
0.008004863746464252,
0.006354105658829212,
-0.027512622997164726,
0.033678945153951645,
0.03477944806218147,
-0.00471644988283515,
-0.026971105486154556,
-0.017110232263803482,
-0.023075666278600693,
-0.031512871384620667,
-0.05914777144789696,
0.08119280636310577,
0.032753124833106995,
-0.01759934425354004,
0.023302756249904633,
0.02749515511095524,
-0.08210115879774094,
0.058623723685741425,
-0.0548156276345253,
0.024927310645580292,
-0.0038124634884297848,
0.016149472445249557,
0.021311365067958832,
0.0008788754930719733,
-0.026359712705016136,
0.004677146207541227,
0.012760616838932037,
0.06365460157394409,
-0.050762973725795746,
-0.03877969831228256,
0.05233512446284294,
0.08063381910324097,
0.009913278743624687,
-0.034133121371269226,
-0.0037294889334589243,
0.04223842918872833,
-0.030132872983813286,
-0.01769542135298252,
0.04265766590833664,
0.03811590000987053,
0.008852077648043633
] |
9,704 | requests.sessions | rebuild_auth | When being redirected we may want to strip authentication from the
request to avoid leaking credentials. This method intelligently removes
and reapplies authentication where possible to avoid credential loss.
| def rebuild_auth(self, prepared_request, response):
"""When being redirected we may want to strip authentication from the
request to avoid leaking credentials. This method intelligently removes
and reapplies authentication where possible to avoid credential loss.
"""
headers = prepared_request.headers
url = prepared_request.url
if "Authorization" in headers and self.should_strip_auth(
response.request.url, url
):
# If we get redirected to a new host, we should strip out any
# authentication headers.
del headers["Authorization"]
# .netrc might have more auth for us on our new host.
new_auth = get_netrc_auth(url) if self.trust_env else None
if new_auth is not None:
prepared_request.prepare_auth(new_auth)
| (self, prepared_request, response) | [
-0.08022985607385635,
0.02473936229944229,
-0.03490472584962845,
0.03993275389075279,
-0.019310547038912773,
-0.010566148906946182,
0.004256062675267458,
0.07152189314365387,
-0.006339689251035452,
-0.05552693083882332,
0.027471985667943954,
-0.003554689232259989,
-0.009500425308942795,
-0.015967637300491333,
0.0012957195285707712,
-0.029439475387334824,
0.01612248457968235,
0.044049907475709915,
-0.016832968220114708,
-0.09181618690490723,
0.02971273846924305,
-0.03913118317723274,
-0.0015166066586971283,
0.05501684173941612,
-0.007546598557382822,
-0.009600621648132801,
-0.005802272818982601,
0.010229124687612057,
0.020567554980516434,
0.028728993609547615,
-0.01318035926669836,
0.01658703200519085,
0.048203498125076294,
0.05181056261062622,
0.06551012396812439,
-0.019838854670524597,
0.040697891265153885,
0.020931905135512352,
-0.03778309002518654,
-0.01576724462211132,
-0.09108749032020569,
-0.00031966014648787677,
0.0006951114046387374,
-0.00014844414545223117,
-0.002237336477264762,
0.038183875381946564,
-0.032645754516124725,
0.06343332678079605,
0.007560261525213718,
-0.004511107690632343,
-0.01991172507405281,
0.010502387769520283,
0.021587735041975975,
-0.0022361979354172945,
0.0735258236527443,
-0.01088495459407568,
0.02971273846924305,
0.03583381697535515,
-0.03512333706021309,
0.008261634968221188,
-0.0027144071646034718,
0.026998331770300865,
-0.06806056946516037,
-0.019529158249497414,
0.009345576167106628,
-0.020822599530220032,
-0.014264300465583801,
-0.024375012144446373,
-0.0167965330183506,
-0.03399385139346123,
-0.0541059672832489,
-0.018153736367821693,
-0.007756099570542574,
-0.03556055575609207,
0.020567554980516434,
-0.003561520716175437,
-0.039167620241642,
0.0060846442356705666,
0.009409337304532528,
-0.018836893141269684,
-0.004422297701239586,
-0.059607651084661484,
0.012925314716994762,
0.02289939485490322,
-0.046454619616270065,
-0.02566845342516899,
0.007013736758381128,
-0.06751404702663422,
0.02003924734890461,
0.05771303176879883,
-0.013726884499192238,
-0.009108749218285084,
-0.016659902408719063,
0.02118694968521595,
0.02473936229944229,
0.006002665497362614,
-0.013590252958238125,
0.022389303892850876,
-0.012825118377804756,
-0.04066145420074463,
0.007674120832234621,
0.0354512520134449,
-0.06048209220170975,
0.028510384261608124,
0.019966376945376396,
-0.043685559183359146,
0.012315028347074986,
-0.07607626914978027,
0.0329190194606781,
-0.0009433248196728528,
-0.046017397195100784,
-0.069554403424263,
-0.020312510430812836,
0.022935830056667328,
-0.0014983891742303967,
-0.04561661556363106,
0.007665012031793594,
-0.06091931089758873,
0.024702927097678185,
0.008279852569103241,
-0.001847937353886664,
-0.004686451051384211,
0.020531119778752327,
0.040260668843984604,
0.0002677118172869086,
0.05425170809030533,
-0.016322877258062363,
-0.06186662241816521,
-0.011668306775391102,
-0.00403289869427681,
-0.038511790335178375,
0.017215535044670105,
-0.014127668924629688,
-0.05330439656972885,
-0.01399103831499815,
-0.020002812147140503,
-0.006863442249596119,
0.04135372117161751,
-0.006877105217427015,
0.03177131712436676,
-0.02510371245443821,
-0.006899876985698938,
0.0012649775017052889,
-0.002821434987708926,
0.03698151931166649,
0.031388748437166214,
0.04663679376244545,
0.008890138939023018,
-0.012360571883618832,
-0.059826262295246124,
0.05490753799676895,
-0.015102305449545383,
0.00840737484395504,
0.0029079681262373924,
-0.018244823440909386,
0.05906112864613533,
-0.0652550756931305,
-0.036125298589468,
-0.024101749062538147,
-0.006394341588020325,
0.021441994234919548,
-0.09232627600431442,
0.019966376945376396,
-0.024356793612241745,
0.032062795013189316,
-0.0261238906532526,
0.06394341588020325,
-0.07826236635446548,
0.012706704437732697,
-0.010465952567756176,
-0.021569516509771347,
0.04758410528302193,
0.024247489869594574,
0.0024593621492385864,
0.0373094342648983,
0.04805775731801987,
0.06900788098573685,
-0.07665923237800598,
-0.05800451338291168,
0.013462730683386326,
-0.0013788368087261915,
-0.047620538622140884,
0.004338041413575411,
0.010165363550186157,
0.05294004827737808,
0.02945769391953945,
0.023209091275930405,
-0.03486828878521919,
0.008689746260643005,
0.07257851213216782,
-0.006489983294159174,
0.027362681925296783,
0.0052694110199809074,
-0.050826817750930786,
0.03752804547548294,
-0.013790645636618137,
-0.016295552253723145,
-0.01328966487199068,
0.07144902646541595,
-0.008607767522335052,
-0.07498321682214737,
-0.02579597570002079,
0.013080162927508354,
-0.024156400933861732,
0.025650236755609512,
0.05111829936504364,
0.023099787533283234,
-0.02626963146030903,
-0.028401078656315804,
0.04233746603131294,
0.042301028966903687,
0.009336467832326889,
-0.007760653737932444,
0.015621503815054893,
-0.08642380684614182,
0.03444928675889969,
0.031716663390398026,
-0.011741177178919315,
0.04947872459888458,
0.01532091572880745,
0.0021724365651607513,
0.006990964524447918,
-0.017415927723050117,
-0.032299622893333435,
0.011595437303185463,
-0.04481504485011101,
0.010283777490258217,
-0.030259262770414352,
-0.020093899220228195,
-0.03457681089639664,
0.017197318375110626,
0.012305920012295246,
-0.027909206226468086,
0.012989075854420662,
0.03335623815655708,
-0.022972265258431435,
0.013125707395374775,
-0.013981929048895836,
-0.020877251401543617,
0.03204457834362984,
-0.04306616261601448,
0.015812788158655167,
0.005866034422069788,
0.021332690492272377,
-0.04015136510133743,
-0.005451586097478867,
-0.037819523364305496,
0.036125298589468,
-0.003324693301692605,
-0.033228714019060135,
-0.02105942741036415,
-0.010784758254885674,
-0.017297513782978058,
-0.050498902797698975,
-0.005396933760493994,
0.02189743146300316,
-0.06088287755846977,
-0.004556651692837477,
-0.011777612380683422,
-0.04281111806631088,
0.018964415416121483,
0.003812011331319809,
-0.05447031930088997,
-0.043685559183359146,
-0.0024138183798640966,
-0.003258654847741127,
0.00779708893969655,
0.0018729864386841655,
0.005911577958613634,
0.0162500087171793,
0.046928275376558304,
-0.0016452677082270384,
-0.05046246945858002,
0.019510939717292786,
-0.0008750091656111181,
0.0668582171201706,
0.05665641650557518,
0.005866034422069788,
0.004344873130321503,
0.04222815856337547,
0.08285317569971085,
-0.0054288143292069435,
-0.02107764407992363,
0.03475898504257202,
-0.03352019563317299,
0.052794307470321655,
-0.048531413078308105,
0.039459098130464554,
-0.013162141665816307,
-0.01611337624490261,
-0.007514717523008585,
0.016787424683570862,
0.06889857351779938,
-0.017762059345841408,
-0.018126409500837326,
-0.00869885552674532,
-0.058223120868206024,
-0.03053252585232258,
-0.014464693143963814,
0.029056908562779427,
-0.02406531386077404,
-0.002359166042879224,
-0.024794014170765877,
-0.02856503613293171,
0.08409196883440018,
-0.05825955793261528,
0.022972265258431435,
0.026797939091920853,
-0.03191705420613289,
-0.03536016121506691,
0.023864921182394028,
0.030204610899090767,
-0.014492019079625607,
-0.05465249344706535,
-0.004253785591572523,
-0.031971707940101624,
0.04055215045809746,
0.02521301619708538,
-0.002618765225633979,
0.024101749062538147,
-0.04962446168065071,
0.020239640027284622,
0.0012706704437732697,
0.023646311834454536,
0.07600340247154236,
0.008097677491605282,
0.07112111151218414,
0.03144340217113495,
-0.01967489719390869,
0.05490753799676895,
-0.07614914327859879,
0.046017397195100784,
-0.0628868043422699,
0.003374791471287608,
-0.016158919781446457,
-0.05793164297938347,
-0.009391119703650475,
-0.04095293581485748,
0.010283777490258217,
-0.0591704323887825,
-0.08431057631969452,
-0.02670685201883316,
0.019838854670524597,
0.005615543574094772,
0.0019686282612383366,
-0.03902187943458557,
0.00367082585580647,
0.0652550756931305,
0.0013628965243697166,
-0.06514576822519302,
-0.04073432460427284,
-0.034467507153749466,
-0.003126577939838171,
0.038402486592531204,
0.07418165355920792,
0.026324283331632614,
-0.043248340487480164,
0.02659754641354084,
-0.0027166842482984066,
-0.03295545279979706,
0.047256190329790115,
-0.019711332395672798,
0.016168029978871346,
0.03242714703083038,
0.03029569797217846,
-0.04095293581485748,
-0.00029290319071151316,
-0.0021473874803632498,
-0.025959933176636696,
-0.007209574803709984,
-0.028583252802491188,
-0.04036997631192207,
0.0527578741312027,
-0.0345221571624279,
0.01900085061788559,
-0.012761357240378857,
0.010475060902535915,
-0.022498609498143196,
-0.03847535327076912,
0.01588565856218338,
0.04732905700802803,
0.033319804817438126,
0.00029461109079420567,
0.013198576867580414,
-0.028583252802491188,
-0.03339267149567604,
0.040588583797216415,
0.011112673208117485,
0.03752804547548294,
0.010329321026802063,
-0.024903319776058197,
-0.042993295937776566,
0.05195630341768265,
0.03778309002518654,
0.01956559158861637,
0.006480874959379435,
-0.058806080371141434,
-0.033793456852436066,
-0.014400932006537914,
0.0021371401380747557,
0.029639868065714836,
-0.002052884316071868,
0.005173769313842058,
0.008840040303766727,
-0.039204053580760956,
-0.003773299278691411,
0.026561111211776733,
0.00806579738855362,
0.01273403037339449,
-0.030459655448794365,
-0.04040640965104103,
-0.02116873301565647,
0.05352300778031349,
-0.02140555903315544,
0.04066145420074463,
0.05858747288584709,
-0.009240825660526752,
0.0366353876888752,
0.018363237380981445,
0.02153308130800724,
0.023063352331519127,
-0.02546806074678898,
-0.05742155387997627,
0.03543303161859512,
-0.014719737693667412,
0.02016676962375641,
0.007965601049363613,
-0.02546806074678898,
-0.039787013083696365,
-0.05691146105527878,
0.05366874858736992,
0.019310547038912773,
-0.005346835590898991,
0.0181901715695858,
0.039896320551633835,
0.022935830056667328,
-0.002211148850619793,
0.0858408510684967,
-0.033119410276412964,
0.004854963161051273,
-0.021022992208600044,
0.0035569663159549236,
-0.02463005669414997,
-0.051664821803569794,
0.08256170153617859,
0.029311953112483025,
-0.03902187943458557,
0.03339267149567604,
-0.05020742490887642,
-0.025759542360901833,
0.02787277102470398,
0.01658703200519085,
-0.04984307289123535,
-0.007783425971865654,
-0.07884532958269119,
0.029658086597919464,
0.010119820013642311,
0.051191169768571854,
-0.005210204515606165,
0.04040640965104103,
0.010793867520987988,
0.026852590963244438,
0.03497759625315666,
0.006549190264195204,
0.012041766196489334,
0.026178544387221336,
0.0008146637119352818,
0.005738511681556702,
-0.05745798721909523,
-0.012624725699424744,
-0.045070089399814606,
-0.08161439001560211,
-0.0023079293314367533,
0.045762352645397186,
-0.017233753576874733,
-0.008111340925097466,
0.031716663390398026,
0.01934698224067688,
-0.00037345869350247085,
0.05111829936504364,
-0.06387054920196533,
0.05181056261062622,
0.018381455913186073,
-0.03399385139346123,
0.020440032705664635,
-0.020512903109192848,
0.02626963146030903,
-0.008812714368104935,
0.04780271276831627,
0.006316917482763529,
0.03302832320332527,
0.04729262366890907,
-0.06022704765200615,
0.017015142366290092,
-0.03419424220919609,
0.035287294536828995,
0.002425204264000058,
0.0036070644855499268,
0.05075394734740257,
-0.041390154510736465,
0.022061388939619064,
-0.04845854267477989,
-0.015384676866233349,
-0.0011579496785998344,
0.034831855446100235,
-0.00041103229159489274,
-0.025850629433989525,
-0.0006450132932513952,
0.001729523646645248,
0.05640137195587158,
-0.020986557006835938,
0.006731365341693163,
0.04521583020687103,
-0.027654161676764488,
-0.017124447971582413,
0.022516826167702675,
-0.06798770278692245,
0.008890138939023018,
-0.015457546338438988,
0.02889295108616352,
0.02845573052763939,
0.05931617319583893,
0.007259672973304987,
-0.03585203364491463,
0.010374864563345909,
0.012242157943546772,
-0.012132853269577026,
0.013080162927508354,
0.043940603733062744,
-0.014592215418815613,
-0.019091937690973282,
-0.009418446570634842,
0.01889154501259327,
-0.01681474968791008,
0.07086606323719025,
0.02830999158322811,
-0.09422089904546738,
-0.04649105295538902,
-0.043139033019542694,
-0.040807195007801056,
0.0034749875776469707,
-0.025540931150317192,
-0.040807195007801056,
0.0281095989048481,
-0.0663481280207634,
0.034048501402139664,
-0.004174083936959505,
0.02428392507135868,
-0.06266818940639496,
-0.03636212646961212,
-0.12548212707042694,
0.0006632307777181268,
0.07418165355920792,
0.014892804436385632,
-0.05738511681556702,
-0.03536016121506691,
-0.030915092676877975,
-0.03960483893752098,
-0.05144621431827545,
0.018964415416121483,
0.057275813072919846,
0.0006655079778283834,
-0.012114635668694973,
0.009391119703650475,
-0.0036389450542628765,
-0.026998331770300865,
0.05862390622496605,
0.05607345700263977,
-0.015120523050427437,
-0.005774946883320808,
-0.002379660727456212,
-0.028911167755723,
-0.059607651084661484,
0.0674411728978157,
-0.008489353582262993,
-0.0035637980327010155,
0.06026348099112511,
0.0027166842482984066,
0.059133995324373245,
0.010329321026802063,
0.02692546136677265,
-0.006512755528092384,
-0.00045173699618317187,
-0.04977020248770714,
-0.03876683488488197,
-0.05181056261062622,
0.07272425293922424,
0.07556618005037308,
0.029330171644687653,
-0.0004987039719708264,
-0.08839129656553268,
-0.009295478463172913,
-0.001029857899993658,
-0.055672671645879745,
-0.01668722741305828,
0.000514928949996829,
-0.06809700280427933,
-0.021697038784623146,
-0.04594453051686287,
0.05239352211356163,
0.00840737484395504,
0.02350057102739811,
-0.001386806950904429,
0.026561111211776733,
-0.010411299765110016,
-0.0345221571624279,
-0.019292330369353294,
-0.054506752640008926,
-0.042191725224256516,
-0.027781683951616287,
0.028765428811311722,
0.040807195007801056,
0.0227900892496109,
0.01751612313091755,
-0.008475691080093384,
0.04787558317184448,
-0.0684613585472107,
-0.0130619453266263,
0.0033201389014720917,
0.004704668652266264,
-0.0020847648847848177,
-0.017588993534445763,
-0.042191725224256516,
0.06984588503837585,
-0.04463287070393562,
-0.009391119703650475,
0.08489353954792023,
0.03177131712436676,
-0.03822030872106552,
0.037819523364305496,
-0.0326639749109745,
-0.027107635512948036,
0.020203204825520515,
0.050608206540346146,
-0.019274111837148666,
0.00535138975828886,
0.018345020711421967,
-0.022371087223291397,
0.03774665668606758,
-0.040005624294281006,
0.04966089874505997,
-0.0311883557587862,
0.019948160275816917,
-0.01923767663538456,
-0.04594453051686287,
0.00486862612888217,
0.03213566541671753,
-0.04033353924751282,
0.018463434651494026,
-0.05126403644680977,
0.01157721970230341,
0.08693389594554901,
0.07272425293922424,
-0.008758061565458775,
-0.06824274361133575,
-0.029658086597919464,
-0.01444647554308176,
0.07181337475776672,
0.047146882861852646,
-0.04200955107808113,
0.07195911556482315,
0.01023823395371437,
0.15229828655719757,
-0.0012274038745090365,
0.03825674578547478,
0.0612836629152298,
0.010210907086730003,
0.009126965887844563,
0.010966933332383633,
-0.0015302697429433465,
0.0061666229739785194,
-0.08205161243677139,
-0.0023318396415561438,
0.03648964688181877,
0.00489595253020525,
-0.06285036355257034,
0.03883970528841019,
-0.044268518686294556,
-0.009536859579384327,
-0.015384676866233349,
-0.019037285819649696,
-0.018709370866417885,
-0.006612951401621103,
-0.014300735667347908,
0.027672378346323967,
-0.005765838082879782,
0.061538707464933395,
0.010229124687612057,
-0.027799900621175766,
-0.05079038441181183,
0.022881176322698593,
-0.006198503542691469,
0.018363237380981445,
-0.0005362775991670787,
-0.03767378628253937,
-0.002566389972344041,
-0.021915649995207787,
-0.014018364250659943,
0.039677709341049194,
0.05330439656972885,
0.0711575448513031,
-0.037928830832242966,
0.0064307767897844315,
-0.0046409075148403645,
-0.00737353228032589,
-0.043357644230127335,
0.017898691818118095,
-0.05778590217232704,
-0.00898122601211071,
0.014164104126393795,
-0.0546160563826561,
0.00664483243599534,
0.025959933176636696,
-0.012369681149721146,
0.04747479781508446,
0.017880473285913467,
-0.05184699967503548,
-0.04408634454011917,
0.005392379127442837,
-0.007528380956500769,
0.0014323507202789187,
0.005729402881115675,
0.04179093986749649,
0.06751404702663422,
0.033101193606853485,
-0.03953196853399277,
-0.019438069313764572,
0.02289939485490322,
-0.007159476634114981,
0.003648053854703903,
0.0004716624098364264,
-0.005478912498801947,
-0.016550596803426743,
0.03843891993165016,
-0.011549893766641617,
0.03532372787594795,
-0.027654161676764488,
0.07549331337213516,
-0.016760097816586494,
0.0895572155714035,
-0.010138037614524364,
-0.013216794468462467,
-0.02718050591647625,
0.003511422546580434,
0.008197873830795288,
-0.003274595132097602,
0.024830449372529984,
-0.042883988469839096,
0.00961883831769228,
0.04463287070393562,
0.04193668067455292,
0.024666491895914078,
0.0017853147583082318,
-0.01991172507405281,
-0.009363793767988682,
0.009819230996072292,
-0.031060833483934402,
0.04605383425951004,
0.02880186401307583,
0.04153589531779289,
0.009140629321336746,
0.01795334368944168,
-0.040807195007801056,
0.012816009111702442,
0.023664528504014015,
-0.0014391823206096888,
0.05447031930088997,
0.01819927990436554
] |
9,705 | requests.sessions | rebuild_method | When being redirected we may want to change the method of the request
based on certain specs or browser behavior.
| def rebuild_method(self, prepared_request, response):
"""When being redirected we may want to change the method of the request
based on certain specs or browser behavior.
"""
method = prepared_request.method
# https://tools.ietf.org/html/rfc7231#section-6.4.4
if response.status_code == codes.see_other and method != "HEAD":
method = "GET"
# Do what the browsers do, despite standards...
# First, turn 302s into GETs.
if response.status_code == codes.found and method != "HEAD":
method = "GET"
# Second, if a POST is responded to with a 301, turn it into a GET.
# This bizarre behaviour is explained in Issue 1704.
if response.status_code == codes.moved and method == "POST":
method = "GET"
prepared_request.method = method
| (self, prepared_request, response) | [
-0.01814953237771988,
-0.008719785138964653,
-0.01273379847407341,
0.026359600946307182,
-0.05876297876238823,
-0.0314931683242321,
-0.011140936054289341,
0.05588672310113907,
0.04227002337574959,
-0.05297406017780304,
0.037573352456092834,
-0.0041186874732375145,
0.023319508880376816,
0.010512893088161945,
0.04842302203178406,
-0.021608319133520126,
0.019150760024785995,
0.03726388141512871,
0.0066490634344518185,
-0.07711275666952133,
0.04008552432060242,
-0.0018841288983821869,
-0.008205518126487732,
0.02412049099802971,
-0.021317053586244583,
0.04842302203178406,
-0.015728380531072617,
-0.009420644491910934,
0.02903560921549797,
0.019241780042648315,
0.004974282346665859,
-0.02009737491607666,
0.0051517728716135025,
0.004965180531144142,
0.04926041513681412,
0.006958534009754658,
-0.010676730424165726,
0.042816147208213806,
-0.08788960427045822,
0.008255579508841038,
-0.1037636250257492,
-0.01621079072356224,
-0.06163923069834709,
-0.04288896173238754,
0.021080398932099342,
0.02291901782155037,
-0.09983152896165848,
0.03775539621710777,
0.04037678986787796,
-0.016374627128243446,
-0.0047785877250134945,
0.012051143683493137,
0.04543754458427429,
-0.03620804101228714,
0.017466876655817032,
0.02579527162015438,
0.004737628623843193,
0.07015877217054367,
-0.0074409437365829945,
0.033550236374139786,
0.06313197314739227,
0.020243007689714432,
-0.049151189625263214,
-0.04445451870560646,
0.004391749855130911,
-0.032257743179798126,
0.004471392836421728,
-0.015728380531072617,
0.025303760543465614,
0.017603406682610512,
-0.028962792828679085,
-0.00015146416262723505,
-0.04135981574654579,
0.03047373704612255,
0.012032939121127129,
0.013225310482084751,
0.0008607147028669715,
-0.022300075739622116,
0.0416874885559082,
-0.008323844522237778,
0.015109439380466938,
-0.040486015379428864,
0.028726140037178993,
-0.05097160488367081,
-0.062403805553913116,
-0.047257959842681885,
0.014035395346581936,
-0.05293765291571617,
-0.01672050729393959,
0.03462428227066994,
-0.05843530222773552,
-0.038738418370485306,
0.010831465944647789,
-0.021553706377744675,
0.013525678776204586,
0.037063635885715485,
-0.014663438312709332,
-0.015455318614840508,
0.012560859322547913,
-0.067064069211483,
0.023792816326022148,
0.07536515593528748,
-0.060364942997694016,
-0.001391479279845953,
0.0517725870013237,
-0.006294082850217819,
0.014590621925890446,
-0.05260997638106346,
-0.01741226390004158,
-0.03107447363436222,
0.012433430179953575,
-0.052173078060150146,
-0.022518526762723923,
-0.014162824489176273,
-0.008678825572133064,
-0.00404132017865777,
-0.016656791791319847,
-0.054576024413108826,
-0.0344422422349453,
0.005757060367614031,
-0.013425556011497974,
-0.021608319133520126,
-0.01231510378420353,
-0.04376276209950447,
0.025813477113842964,
0.0169935692101717,
-0.005625080317258835,
-0.022354688495397568,
-0.0003310878819320351,
0.027051357552409172,
-0.024011265486478806,
0.0058207749389112,
-0.03588036820292473,
0.025085311383008957,
-0.017193814739584923,
0.015482624992728233,
-0.07085052877664566,
0.039430174976587296,
-0.009848441928625107,
0.05366581678390503,
-0.00744549511000514,
-0.029454305768013,
0.04296177998185158,
0.006872064433991909,
0.004892363678663969,
0.03462428227066994,
0.0772583857178688,
0.040777284651994705,
0.010085095651447773,
-0.0040731774643063545,
0.08148174732923508,
-0.013525678776204586,
0.04820457473397255,
-0.021098602563142776,
0.015082133002579212,
0.022427504882216454,
-0.04070446640253067,
-0.031220106407999992,
-0.04485500976443291,
-0.03309513255953789,
0.015673767775297165,
-0.10347235202789307,
0.012997758574783802,
-0.07842345535755157,
0.05377504229545593,
-0.0015530410455539823,
0.019369209185242653,
-0.01991533301770687,
0.016520259901881218,
0.0037022677715867758,
-0.013644006103277206,
0.06440626084804535,
0.027470054104924202,
-0.004837751388549805,
0.06571695953607559,
0.06327760219573975,
0.054393984377384186,
-0.029945816844701767,
-0.020534275099635124,
0.014863683842122555,
0.03902968391776085,
-0.07165151089429855,
-0.02838025987148285,
-0.007891496643424034,
0.026796499267220497,
0.05413912609219551,
-0.005647835787385702,
-0.06269507110118866,
-0.05552263930439949,
0.0843944102525711,
0.009138480760157108,
-0.021280644461512566,
0.02954532578587532,
-0.030273491516709328,
-0.014490499161183834,
-0.039248134940862656,
-0.011632448062300682,
0.01907794363796711,
0.06061980128288269,
0.020625295117497444,
-0.04798612371087074,
0.026141151785850525,
0.029345080256462097,
0.03196647763252258,
0.004846853204071522,
0.07878753542900085,
0.04394480213522911,
0.007577475160360336,
-0.02894458919763565,
-0.012105755507946014,
0.0015359746757894754,
0.02519453503191471,
-0.010576607659459114,
-0.05708819627761841,
-0.07966133207082748,
0.01033085212111473,
0.04409043863415718,
-0.016228994354605675,
-0.009629991836845875,
0.0025508557446300983,
0.005333814304322004,
0.01616528071463108,
-0.03362305462360382,
0.000716219306923449,
0.02504890225827694,
-0.03830152004957199,
0.020989378914237022,
-0.01713920198380947,
-0.05421194061636925,
-0.018185939639806747,
-0.028817160055041313,
-0.007436392828822136,
0.008264681324362755,
0.024976085871458054,
0.0386291928589344,
-0.044563744217157364,
0.014472294598817825,
-0.021153215318918228,
-0.02180856466293335,
0.002169706393033266,
-0.03427840396761894,
0.005593223497271538,
0.005033446010202169,
0.05588672310113907,
-0.06921215355396271,
-0.0008777810726314783,
0.01588311605155468,
0.03375048190355301,
-0.00842396728694439,
-0.02180856466293335,
0.03254900872707367,
-0.04015834257006645,
-0.02408408187329769,
-0.058144036680459976,
0.03171161934733391,
-0.0029035608749836683,
-0.07274375855922699,
0.0743093192577362,
-0.006635410711169243,
0.013698618859052658,
-0.015200460329651833,
0.03185725212097168,
0.007782271597534418,
-0.05858093500137329,
-0.04754922538995743,
0.005634182598441839,
0.017539693042635918,
0.031511373817920685,
-0.006203061901032925,
0.0405588336288929,
0.10303545743227005,
-0.055304188281297684,
-0.07820500433444977,
0.050316255539655685,
0.03888405114412308,
0.02903560921549797,
0.027852339670062065,
0.014080905355513096,
-0.02351975440979004,
-0.04132340848445892,
0.061748456209897995,
-0.0014392650919035077,
0.020224804058670998,
0.006453369278460741,
-0.06815631687641144,
0.05672411248087883,
0.0022789312060922384,
0.0966276004910469,
0.013416454195976257,
-0.03407815843820572,
0.04409043863415718,
0.031201902776956558,
0.020115578547120094,
0.010075993835926056,
-0.010594812221825123,
0.02351975440979004,
-0.05173617601394653,
-0.04150544852018356,
0.038228701800107956,
-0.03320435807108879,
-0.040813691914081573,
-0.015728380531072617,
-0.01289763581007719,
-0.014308457262814045,
0.022245464846491814,
-0.05377504229545593,
0.004978833254426718,
-0.024612002074718475,
-0.03329537808895111,
-0.006107490509748459,
-0.008592355996370316,
0.03449685126543045,
-0.04875069856643677,
-0.06957624107599258,
-0.014909193851053715,
-0.013252616859972477,
0.016747811809182167,
0.04754922538995743,
0.009475257247686386,
0.047439999878406525,
-0.0466754250228405,
0.052027445286512375,
-0.008710683323442936,
0.035024773329496384,
-0.028980998322367668,
0.013052371330559254,
0.059017837047576904,
0.013234413228929043,
0.007268004585057497,
0.006107490509748459,
-0.011049915105104446,
0.03136574104428291,
-0.03527963161468506,
-0.014408580027520657,
-0.047585632652044296,
-0.03815588727593422,
-0.010030483826994896,
-0.06429703533649445,
-0.019660474732518196,
-0.026778295636177063,
-0.03320435807108879,
-0.024757636711001396,
0.060729023069143295,
-0.006325940135866404,
0.020406845957040787,
0.01489099022001028,
0.01363490428775549,
0.0660446360707283,
0.015528135001659393,
-0.08861777186393738,
-0.01884128898382187,
-0.11133654415607452,
-0.03358664736151695,
0.01672050729393959,
0.021790361031889915,
-0.009848441928625107,
-0.0040731774643063545,
-0.029854796826839447,
-0.00835570227354765,
-0.014226539060473442,
0.0335320346057415,
-0.009484359063208103,
0.004796791821718216,
-0.007158779539167881,
0.05632362142205238,
-0.032530806958675385,
0.00916578620672226,
-0.03358664736151695,
-0.025758864358067513,
-0.02361077442765236,
-0.005615978501737118,
-0.045401133596897125,
0.024156900122761726,
-0.02921765111386776,
-0.013780537061393261,
0.015336991287767887,
0.02477584034204483,
-0.0029741020407527685,
0.003206204855814576,
0.05009780451655388,
0.046420566737651825,
-0.014972908422350883,
-0.056978970766067505,
0.03371407464146614,
0.02342873439192772,
-0.046238526701927185,
0.06029212474822998,
0.01916896365582943,
0.01236061379313469,
0.019969945773482323,
-0.04328945651650429,
-0.056141581386327744,
-0.016365526244044304,
0.003770533250644803,
0.008856316097080708,
-0.022573139518499374,
-0.043871987611055374,
0.018358878791332245,
0.015309684909880161,
0.019605863839387894,
0.031839046627283096,
0.0203340295702219,
-0.009648196399211884,
0.05148131772875786,
-0.029982225969433784,
0.004678464960306883,
0.0478040836751461,
0.043689947575330734,
0.005720652174204588,
-0.056978970766067505,
-0.023956652730703354,
0.031602393835783005,
0.021080398932099342,
-0.018641043454408646,
0.027524664998054504,
0.0269057247787714,
0.020588887855410576,
0.03542526438832283,
0.0033427360467612743,
0.02561323158442974,
0.05057111382484436,
0.01810402050614357,
0.026650866493582726,
0.03436942398548126,
0.022172648459672928,
0.016738710924983025,
0.008014374412596226,
0.013152494095265865,
-0.04277973994612694,
0.05078956112265587,
0.05315610021352768,
0.008669723756611347,
-0.08665172755718231,
0.01033085212111473,
0.008829009719192982,
0.032294150441884995,
-0.023173876106739044,
0.05159054324030876,
-0.027542870491743088,
-0.0023119263350963593,
-0.024011265486478806,
0.0030446432065218687,
-0.06775582581758499,
-0.03473350778222084,
0.05173617601394653,
-0.049806538969278336,
0.00002540402601880487,
-0.03686339035630226,
-0.0437263548374176,
-0.05723382905125618,
0.005529508925974369,
0.01553723681718111,
-0.023738203570246696,
0.01871385984122753,
-0.07237967848777771,
0.015355195850133896,
-0.006922125816345215,
0.014517804607748985,
-0.02894458919763565,
0.029982225969433784,
0.04092291742563248,
0.04838661476969719,
0.017940184101462364,
0.02528555691242218,
0.02648703008890152,
0.038083069026470184,
-0.007463699206709862,
0.019642271101474762,
-0.037118248641490936,
-0.01379874162375927,
-0.03245798870921135,
-0.06597182154655457,
-0.01676601730287075,
-0.0013937547337263823,
-0.03782821074128151,
0.031930070370435715,
-0.037901028990745544,
-0.034005340188741684,
0.005647835787385702,
0.05421194061636925,
-0.06728252023458481,
0.010576607659459114,
0.028835363686084747,
-0.02138986997306347,
-0.007195187732577324,
-0.07653022557497025,
-0.0001902902004076168,
0.027542870491743088,
-0.005497651640325785,
0.011951020918786526,
0.06640871614217758,
0.04117777571082115,
-0.011659754440188408,
0.009866646490991116,
-0.01940561830997467,
0.07299862056970596,
-0.047949716448783875,
-0.013334535993635654,
0.026414213702082634,
0.0059664081782102585,
0.03196647763252258,
-0.07369037717580795,
0.0007810715469531715,
0.01368041429668665,
0.0360260009765625,
-0.020024558529257774,
0.005611427593976259,
0.023774612694978714,
-0.020224804058670998,
0.03522501885890961,
0.0024734879843890667,
-0.008096293546259403,
0.020497865974903107,
0.0022732424549758434,
-0.0034974711015820503,
0.02717878669500351,
-0.043180231004953384,
-0.0007526275585405529,
0.039976298809051514,
0.023774612694978714,
0.040121935307979584,
0.0043826475739479065,
0.05421194061636925,
-0.03531603887677193,
0.021007582545280457,
0.0028466731309890747,
-0.021681135520339012,
-0.004475943744182587,
0.05599594861268997,
-0.031930070370435715,
-0.012105755507946014,
0.01944202557206154,
0.01884128898382187,
0.01141399797052145,
0.055085740983486176,
0.09786547720432281,
-0.02972736768424511,
-0.04510986804962158,
0.04835020750761032,
0.010403668507933617,
-0.015500828623771667,
0.011668856255710125,
-0.09072945266962051,
0.07041362673044205,
-0.05282842740416527,
-0.03189365938305855,
0.005511304829269648,
-0.024375349283218384,
0.01388976164162159,
-0.045037053525447845,
-0.1351475715637207,
0.027488257735967636,
0.011031711474061012,
0.004562413785606623,
-0.020861949771642685,
-0.019715087488293648,
0.0000399282289436087,
0.016502056270837784,
0.028180014342069626,
0.02046145871281624,
-0.053920675069093704,
-0.04995217174291611,
-0.012178572826087475,
-0.02093476615846157,
-0.05231871083378792,
0.05311969295144081,
0.07041362673044205,
0.027888748794794083,
-0.0015348369488492608,
-0.061420783400535583,
0.09480718523263931,
0.010631220415234566,
0.010403668507933617,
0.009557175450026989,
0.0415782667696476,
0.020315824076533318,
0.03311333805322647,
-0.0395394004881382,
0.040303975343704224,
-0.00446684192866087,
0.033495623618364334,
-0.009538971818983555,
-0.011150037869811058,
-0.05421194061636925,
-0.05610517039895058,
-0.04580162838101387,
0.024065878242254257,
0.029326876625418663,
-0.0007145126583054662,
-0.03163880109786987,
-0.07769528776407242,
-0.008596907369792461,
0.000029368404284468852,
-0.07849626988172531,
0.00891547929495573,
0.04951527342200279,
-0.05694256350398064,
-0.013225310482084751,
-0.04296177998185158,
0.059855226427316666,
-0.005461243446916342,
0.009366031736135483,
-0.010476484894752502,
0.016056055203080177,
0.033404603600502014,
-0.007072309963405132,
-0.0558503158390522,
-0.0050425478257238865,
-0.04940604791045189,
-0.016228994354605675,
0.040303975343704224,
0.014508702792227268,
0.06407858431339264,
0.0004363305924925953,
-0.027069563046097755,
-0.00548854935914278,
-0.07299862056970596,
-0.020297620445489883,
0.010549301281571388,
-0.014490499161183834,
-0.01718471199274063,
-0.033786892890930176,
0.004692118149250746,
0.039612218737602234,
-0.0750010758638382,
0.03642649203538895,
0.027069563046097755,
0.03731849417090416,
-0.05009780451655388,
-0.015673767775297165,
-0.02708776667714119,
-0.0203340295702219,
0.07095975428819656,
0.010194321162998676,
-0.001220815465785563,
-0.02552220970392227,
0.008546845987439156,
-0.005661488976329565,
0.010667628608644009,
0.026468826457858086,
0.032257743179798126,
-0.02222725935280323,
-0.0028375708498060703,
-0.014545110985636711,
-0.05060752108693123,
0.002175395144149661,
0.035589102655649185,
-0.016511159017682076,
0.03404175117611885,
-0.02273697592318058,
0.0011115905363112688,
0.07747683674097061,
0.023792816326022148,
0.01060391403734684,
-0.023738203570246696,
-0.02745184861123562,
-0.01764891855418682,
0.013425556011497974,
0.030036836862564087,
-0.03578934818506241,
0.025085311383008957,
0.011113629676401615,
0.12204058468341827,
-0.06844758242368698,
0.011905509978532791,
0.04445451870560646,
-0.007322616875171661,
-0.026414213702082634,
0.06589899957180023,
-0.03617163375020027,
0.015782993286848068,
-0.04325304552912712,
-0.005588672123849392,
0.005898142699152231,
-0.015182255767285824,
-0.035261426120996475,
0.029235854744911194,
-0.024903269484639168,
0.007604781072586775,
0.025667842477560043,
-0.027342624962329865,
-0.005147221963852644,
-0.0568697452545166,
0.0273608285933733,
0.014372171834111214,
0.02561323158442974,
0.03569832816720009,
-0.008842662908136845,
-0.014909193851053715,
-0.047075916081666946,
0.03260362148284912,
-0.025412986055016518,
0.012870329432189465,
0.013252616859972477,
-0.017120998352766037,
0.0017430467996746302,
-0.048459433019161224,
-0.05057111382484436,
-0.00289900996722281,
0.04390839487314224,
0.07310784608125687,
-0.034842733293771744,
0.016420137137174606,
-0.019642271101474762,
-0.017494183033704758,
-0.02570425160229206,
0.01843169517815113,
-0.05552263930439949,
-0.0008106533205136657,
0.022263668477535248,
-0.05519496649503708,
0.013698618859052658,
0.024520982056856155,
0.005101711489260197,
0.028362056240439415,
0.007586576975882053,
-0.05417553335428238,
-0.011350283399224281,
-0.013279923237860203,
0.029290467500686646,
-0.0010541337542235851,
-0.059527549892663956,
0.06466112285852432,
0.02615935541689396,
-0.011941918171942234,
-0.048641473054885864,
0.021681135520339012,
-0.017749041318893433,
-0.011395794339478016,
-0.0018272409215569496,
-0.025394780561327934,
0.017612509429454803,
-0.004353065975010395,
-0.028562301769852638,
0.011395794339478016,
-0.002156053204089403,
-0.03801025450229645,
0.04430888593196869,
0.006193960085511208,
0.05592313036322594,
-0.03921172767877579,
-0.004462291020900011,
-0.0010928175179287791,
0.01125016063451767,
0.008924582041800022,
-0.010795057751238346,
0.07190637290477753,
-0.015154950320720673,
0.02579527162015438,
0.02759748324751854,
0.04543754458427429,
-0.03731849417090416,
0.02153550274670124,
-0.011086324229836464,
0.00810539536178112,
-0.006203061901032925,
-0.03032810427248478,
0.05282842740416527,
0.05843530222773552,
0.017585203051567078,
-0.035534489899873734,
0.03213031589984894,
-0.024320736527442932,
0.029053814709186554,
0.010694934986531734,
0.04536472633481026,
0.03238517418503761,
0.027397237718105316
] |
9,706 | requests.sessions | rebuild_proxies | This method re-evaluates the proxy configuration by considering the
environment variables. If we are redirected to a URL covered by
NO_PROXY, we strip the proxy configuration. Otherwise, we set missing
proxy keys for this URL (in case they were stripped by a previous
redirect).
This method also replaces the Proxy-Authorization header where
necessary.
:rtype: dict
| def rebuild_proxies(self, prepared_request, proxies):
"""This method re-evaluates the proxy configuration by considering the
environment variables. If we are redirected to a URL covered by
NO_PROXY, we strip the proxy configuration. Otherwise, we set missing
proxy keys for this URL (in case they were stripped by a previous
redirect).
This method also replaces the Proxy-Authorization header where
necessary.
:rtype: dict
"""
headers = prepared_request.headers
scheme = urlparse(prepared_request.url).scheme
new_proxies = resolve_proxies(prepared_request, proxies, self.trust_env)
if "Proxy-Authorization" in headers:
del headers["Proxy-Authorization"]
try:
username, password = get_auth_from_url(new_proxies[scheme])
except KeyError:
username, password = None, None
# urllib3 handles proxy authorization for us in the standard adapter.
# Avoid appending this to TLS tunneled requests where it may be leaked.
if not scheme.startswith('https') and username and password:
headers["Proxy-Authorization"] = _basic_auth_str(username, password)
return new_proxies
| (self, prepared_request, proxies) | [
-0.01705666445195675,
-0.02662414312362671,
-0.040906697511672974,
0.009668190032243729,
-0.0849628746509552,
0.013110650703310966,
-0.05335815250873566,
0.042847659438848495,
0.038782622665166855,
0.01803630031645298,
-0.0040307012386620045,
0.04277441278100014,
-0.007974425330758095,
0.014612150378525257,
-0.00191120698582381,
-0.03794031962752342,
-0.01113306637853384,
0.04885365441441536,
-0.025067711248993874,
-0.10473871976137161,
-0.011499285697937012,
-0.030268024653196335,
-0.0004065606335643679,
0.009247037582099438,
-0.02426202967762947,
0.003435594728216529,
-0.014822726137936115,
0.04749864339828491,
0.005223202984780073,
0.0072740307077765465,
-0.05734994262456894,
0.03524860739707947,
0.024774735793471336,
0.013101495802402496,
0.08217961341142654,
0.0012176792370155454,
0.03160472586750984,
0.006857456639409065,
-0.04017425701022148,
-0.02237599901854992,
-0.04328712075948715,
-0.054676540195941925,
-0.026862185448408127,
-0.01915326900780201,
0.015555164776742458,
0.02982856146991253,
-0.07258466631174088,
0.049293119460344315,
0.01575658470392227,
-0.02008712850511074,
-0.02246755361557007,
0.026111437007784843,
0.06130510941147804,
0.011508441530168056,
0.07785822451114655,
-0.018530696630477905,
-0.02107592113316059,
0.04262792691588402,
0.006514125969260931,
0.02766786888241768,
0.013623357750475407,
-0.004515941720455885,
-0.02526913210749626,
-0.022943640127778053,
0.025873392820358276,
-0.029315855354070663,
-0.00785082671791315,
-0.004673874005675316,
0.013595891185104847,
-0.056690748780965805,
-0.01492343656718731,
-0.02113085426390171,
-0.049110010266304016,
-0.07152263075113297,
0.055262491106987,
-0.003069375641644001,
-0.0212407186627388,
-0.009814677760004997,
0.0021435273811221123,
-0.03918546438217163,
0.012478922493755817,
-0.03885586932301521,
-0.052515849471092224,
0.0041749002411961555,
0.004527386277914047,
-0.06456446647644043,
-0.0011993682710453868,
-0.011755639687180519,
0.050428397953510284,
-0.024115541949868202,
-0.01166408509016037,
0.020966054871678352,
0.017706703394651413,
-0.020709700882434845,
-0.022559108212590218,
0.013907178305089474,
-0.040613722056150436,
0.0013447115197777748,
-0.004866139031946659,
-0.028107332065701485,
0.03294142708182335,
0.01492343656718731,
-0.1247342973947525,
0.021753426641225815,
0.03413163870573044,
-0.012497233226895332,
0.018860293552279472,
-0.06445460021495819,
0.01893353834748268,
-0.033362578600645065,
-0.061964306980371475,
-0.05804575979709625,
0.006298971828073263,
-0.016223514452576637,
0.019922329112887383,
-0.023126749321818352,
0.012359901331365108,
-0.07932309806346893,
-0.00044804642675444484,
0.04676620662212372,
-0.03837978467345238,
0.019922329112887383,
0.04043060913681984,
0.03275831788778305,
0.015445299446582794,
0.04002777114510536,
-0.004275610204786062,
0.013907178305089474,
0.029114434495568275,
-0.035614825785160065,
0.041932109743356705,
-0.0263677891343832,
-0.044239290058612823,
0.01583898440003395,
0.033234402537345886,
-0.003623282304033637,
-0.0316779688000679,
0.021753426641225815,
0.00033675009035505354,
0.01703835278749466,
-0.0015049324138090014,
-0.005983107723295689,
-0.03275831788778305,
0.028162265196442604,
-0.006710968911647797,
-0.0024719801731407642,
0.03264845162630081,
0.024591626599431038,
-0.05083123967051506,
-0.062184035778045654,
0.02539730817079544,
0.0016765977488830686,
-0.02426202967762947,
-0.027869289740920067,
-0.0613783560693264,
0.04786486178636551,
-0.06262350082397461,
0.013467715121805668,
-0.03570638224482536,
0.038782622665166855,
0.006294394377619028,
-0.008235356770455837,
-0.021936535835266113,
-0.03363724425435066,
-0.005790842697024345,
-0.014493129216134548,
0.034497857093811035,
-0.08525585383176804,
0.010473871603608131,
0.04065034165978432,
0.013028251938521862,
0.02977362833917141,
0.02336479164659977,
0.01689186505973339,
0.044275913387537,
0.06573636829853058,
-0.0025383576285094023,
-0.05398072674870491,
-0.07485522329807281,
0.020416725426912308,
-0.014108598232269287,
-0.0007124110125005245,
-0.03198925778269768,
-0.0287115927785635,
0.0011558796977624297,
0.004422097932547331,
0.006894078571349382,
-0.00846882164478302,
0.012286657467484474,
0.05376099422574043,
-0.008088869042694569,
0.021661872044205666,
0.06240376830101013,
-0.0550793819129467,
0.034296438097953796,
-0.017505282536149025,
-0.013797312043607235,
-0.013486025854945183,
0.05811900272965431,
0.026148058474063873,
-0.11228283494710922,
-0.010492183268070221,
0.04442240297794342,
-0.008166690357029438,
-0.0008766374667175114,
-0.017569370567798615,
-0.02872990444302559,
-0.05855846777558327,
-0.0045617190189659595,
0.04339698702096939,
0.04797472804784775,
0.06262350082397461,
-0.007296919822692871,
-0.048231083899736404,
-0.06115862354636192,
0.046436607837677,
0.032245609909296036,
0.012597943656146526,
0.013019096106290817,
-0.023126749321818352,
0.02023361623287201,
0.018283499404788017,
0.005488711874932051,
-0.045044973492622375,
0.017688391730189323,
-0.027173472568392754,
0.0012909229844808578,
-0.01380646787583828,
-0.01705666445195675,
-0.0287115927785635,
0.06826327741146088,
-0.0008537487592548132,
-0.004129122477024794,
0.027081917971372604,
0.10451898723840714,
-0.07141276448965073,
-0.006239461246877909,
-0.0020142062567174435,
0.07778497785329819,
0.013733224011957645,
-0.052405983209609985,
0.02667907625436783,
0.028967946767807007,
-0.021844981238245964,
-0.0422983281314373,
0.008862507529556751,
-0.029444031417369843,
0.008935751393437386,
-0.005214047152549028,
0.0049760048277676105,
0.014602994546294212,
0.03479083254933357,
-0.03424150496721268,
-0.00797900278121233,
0.027759423479437828,
-0.0028565104585140944,
0.0401376336812973,
-0.009237881749868393,
0.0024124695919454098,
-0.012011992745101452,
0.024664869531989098,
0.012222569435834885,
-0.033472444862127304,
-0.030158160254359245,
-0.03072579950094223,
-0.00900899525731802,
0.03272169455885887,
-0.031128641217947006,
-0.044092804193496704,
0.04336036369204521,
0.07968931645154953,
0.013577580451965332,
-0.05929090455174446,
-0.0008096880046650767,
0.03404008597135544,
0.09616918861865997,
0.04881703481078148,
-0.017313016578555107,
0.004683029372245073,
-0.002904576947912574,
0.04467875510454178,
0.020746324211359024,
-0.013412781991064548,
-0.020581524819135666,
-0.01679115556180477,
-0.00011730461847037077,
-0.08803912252187729,
0.08313178271055222,
-0.0025955792516469955,
-0.00032330298563465476,
0.02014206163585186,
0.010061874985694885,
0.05918103829026222,
-0.029865184798836708,
-0.053724370896816254,
-0.03193432465195656,
-0.047132425010204315,
0.015005836263298988,
-0.011508441530168056,
0.024683181196451187,
-0.04797472804784775,
0.056837234646081924,
-0.011599996127188206,
0.009320281445980072,
0.057716161012649536,
-0.04764513298869133,
0.009897076524794102,
-0.03067086637020111,
-0.0009979476453736424,
-0.004374031908810139,
0.017496127635240555,
-0.02111254259943962,
-0.010748536325991154,
-0.011764795519411564,
0.01009849738329649,
-0.053394775837659836,
-0.008688553236424923,
0.013980422168970108,
0.019794153049588203,
-0.0042939214035868645,
-0.05324828624725342,
0.05962050333619118,
-0.0041749002411961555,
0.008670241571962833,
-0.009430146776139736,
0.020709700882434845,
0.054786406457424164,
0.03709801658987999,
-0.03605429083108902,
0.04995231330394745,
-0.05214962735772133,
0.019720910117030144,
-0.05412721261382103,
0.048304326832294464,
0.021680181846022606,
-0.03488238900899887,
0.0008262823102995753,
0.01061120443046093,
0.007507495582103729,
-0.021478762850165367,
-0.009141749702394009,
-0.017450349405407906,
-0.020673079416155815,
-0.012607099488377571,
0.010244985111057758,
-0.021405518054962158,
0.04273779317736626,
0.07661307603120804,
0.00024118974397424608,
-0.0159305389970541,
-0.0401376336812973,
-0.06899571418762207,
0.04171237722039223,
0.025800149887800217,
0.015454454347491264,
-0.02325492538511753,
-0.020435037091374397,
-0.020892811939120293,
-0.013028251938521862,
-0.02426202967762947,
0.012744431383907795,
0.027814356610178947,
0.019336380064487457,
0.04134615883231163,
0.026019880548119545,
-0.010702759027481079,
0.03933195397257805,
-0.018457453697919846,
-0.037830453366041183,
-0.015555164776742458,
-0.0006008285563439131,
0.001729241805151105,
0.0033692175056785345,
-0.012231724336743355,
0.017514437437057495,
-0.017834879457950592,
0.03391190618276596,
-0.04566754773259163,
0.0007805048953741789,
0.07998229563236237,
-0.0007822215557098389,
0.004390053916722536,
0.004101656377315521,
-0.012131014838814735,
0.007310652639716864,
-0.03270338475704193,
-0.002150394022464752,
-0.010144274681806564,
0.03475421294569969,
-0.013605047017335892,
-0.05713021010160446,
-0.010730225592851639,
-0.00023704116756562144,
0.07727227360010147,
-0.0010437250602990389,
-0.030322957783937454,
-0.017221461981534958,
-0.027301648631691933,
-0.03900235518813133,
-0.057899270206689835,
0.011352797970175743,
0.02541561983525753,
0.02532406523823738,
0.009878765791654587,
-0.0381600521504879,
-0.027814356610178947,
0.0234014131128788,
0.03731774538755417,
0.07463549077510834,
0.005731332115828991,
-0.006019729655236006,
0.013705757446587086,
0.0263677891343832,
-0.005891553126275539,
-0.024884602054953575,
0.03634726628661156,
-0.033380888402462006,
0.009329436346888542,
0.04420267045497894,
0.0529186874628067,
0.040870074182748795,
-0.011242932640016079,
-0.06672515720129013,
0.029938427731394768,
-0.02138720639050007,
0.025818461552262306,
0.026111437007784843,
-0.033472444862127304,
-0.05804575979709625,
-0.010354850441217422,
0.04024749994277954,
0.003410417353734374,
0.013705757446587086,
-0.003982634749263525,
0.04808459430932999,
0.016360847279429436,
0.012323279865086079,
0.0703873485326767,
-0.050355155020952225,
0.024555005133152008,
-0.016141116619110107,
-0.06584622710943222,
-0.02113085426390171,
-0.0009401536080986261,
0.03695152699947357,
0.027210094034671783,
-0.00958579033613205,
-0.05317504331469536,
-0.026862185448408127,
0.031293440610170364,
-0.04782824218273163,
-0.029132746160030365,
-0.04072358459234238,
-0.03687828406691551,
-0.0003401834110263735,
0.06639555841684341,
0.03414994850754738,
0.05390748009085655,
-0.028253819793462753,
0.031458236277103424,
0.05588506534695625,
-0.0180912334471941,
0.06815341114997864,
0.01593969576060772,
-0.04665634036064148,
0.02753969095647335,
-0.03506549820303917,
0.03367386385798454,
-0.0029892651364207268,
0.03268507122993469,
-0.01704750768840313,
-0.03892911225557327,
-0.0047745839692652225,
-0.011398576200008392,
-0.03385697305202484,
0.0033829507883638144,
-0.0379769429564476,
0.0635390505194664,
0.07214520126581192,
-0.0137240681797266,
-0.059986721724271774,
-0.009137171320617199,
0.0635390505194664,
-0.03823329508304596,
0.013934644870460033,
-0.022632353007793427,
0.006518703419715166,
-0.03200756758451462,
0.030084915459156036,
0.05632453039288521,
0.05647101625800133,
0.06394188851118088,
-0.025836771354079247,
-0.0027809778694063425,
-0.027759423479437828,
-0.004152011126279831,
0.012625410221517086,
0.03089059889316559,
0.046436607837677,
-0.05090448260307312,
0.030322957783937454,
-0.004067323170602322,
0.012048615142703056,
0.026239613071084023,
-0.00020099144603591412,
0.004779161885380745,
-0.00586408656090498,
0.01813701167702675,
-0.013376159593462944,
0.021423829719424248,
-0.048450812697410583,
-0.019592732191085815,
-0.02010544016957283,
-0.03142161667346954,
-0.006834567524492741,
-0.008459665812551975,
-0.025946637615561485,
0.050245288759469986,
-0.05819224566221237,
-0.003705681534484029,
0.04599714279174805,
0.08430368453264236,
-0.03576131537556648,
-0.028913013637065887,
-0.009283659048378468,
0.0314948596060276,
0.017166530713438988,
0.007713493891060352,
0.024994466453790665,
0.01577489636838436,
0.0037102592177689075,
0.000024766295609879307,
-0.003916257526725531,
0.04599714279174805,
0.07514820247888565,
0.03709801658987999,
-0.035596515983343124,
-0.0763201043009758,
-0.04336036369204521,
0.02634947933256626,
0.02329154685139656,
0.04808459430932999,
-0.03466265648603439,
0.007837093435227871,
-0.05020866543054581,
-0.010208362713456154,
0.026880497112870216,
0.03786707669496536,
-0.025086022913455963,
-0.029334167018532753,
-0.09389863163232803,
0.008029358461499214,
0.04156589135527611,
0.02442682720720768,
-0.0359993577003479,
-0.05306517705321312,
0.0015552876284345984,
-0.041968733072280884,
-0.039734795689582825,
0.040833450853824615,
0.027210094034671783,
-0.04577741399407387,
-0.0007072610314935446,
0.020508280023932457,
-0.04376320540904999,
0.04105318337678909,
-0.005172847770154476,
0.0633559376001358,
-0.017605992034077644,
0.01813701167702675,
0.08386421948671341,
-0.07339034974575043,
-0.04786486178636551,
0.050428397953510284,
-0.04599714279174805,
-0.02428033947944641,
0.05409058928489685,
-0.010977423749864101,
0.0658828541636467,
0.01263456605374813,
0.02856510505080223,
0.047095801681280136,
-0.0763201043009758,
-0.050318531692028046,
0.019775841385126114,
-0.047169044613838196,
0.04790148511528969,
0.07588063925504684,
0.034424614161252975,
-0.05053826421499252,
-0.09616918861865997,
0.03717125952243805,
-0.056837234646081924,
-0.011453508399426937,
-0.008651930838823318,
-0.0044999197125434875,
-0.08108095079660416,
0.04039398953318596,
-0.020819567143917084,
0.02341972477734089,
-0.0010311362566426396,
-0.003664481919258833,
0.024115541949868202,
-0.014749482274055481,
-0.07719902694225311,
-0.03643881902098656,
-0.04116304963827133,
0.011599996127188206,
0.022504176944494247,
-0.010574582032859325,
0.017413727939128876,
-0.004580030217766762,
0.040686964988708496,
0.014685394242405891,
-0.06793367862701416,
-0.023840876296162605,
-0.05943739414215088,
-0.009869609959423542,
0.016406625509262085,
-0.021735114976763725,
0.005740487482398748,
-0.08393746614456177,
-0.03742761164903641,
0.022778840735554695,
-0.025177577510476112,
-0.04119967296719551,
0.05709359049797058,
0.025250820443034172,
-0.02439020574092865,
0.04336036369204521,
0.020728012546896935,
0.01016258541494608,
0.08752641081809998,
0.030322957783937454,
-0.016370002180337906,
0.030011672526597977,
0.00394372409209609,
0.008958639577031136,
0.03682335093617439,
-0.07749200612306595,
0.06456446647644043,
0.04361671954393387,
0.02014206163585186,
-0.01537205558270216,
-0.05160029977560043,
-0.026056503877043724,
0.031275127083063126,
-0.02246755361557007,
0.04980582371354103,
-0.015591787174344063,
0.0031975521706044674,
0.024829668924212456,
0.052589092403650284,
0.0529186874628067,
-0.020343482494354248,
0.002049683593213558,
-0.05698372423648834,
0.020508280023932457,
0.05969374626874924,
-0.06723786145448685,
0.04570416733622551,
0.017523594200611115,
0.0550793819129467,
-0.03720788285136223,
0.037500858306884766,
0.04519146308302879,
0.0013904889347031713,
0.03413163870573044,
0.037537477910518646,
-0.018237721174955368,
0.0718156024813652,
-0.09096887707710266,
-0.013101495802402496,
-0.012955008074641228,
0.023584522306919098,
-0.07763849198818207,
0.0232183039188385,
-0.04976920410990715,
-0.04218846186995506,
-0.004985160194337368,
0.018787050619721413,
-0.03178783506155014,
-0.03094553016126156,
0.0426645502448082,
0.02329154685139656,
0.00800646934658289,
0.013605047017335892,
0.002691711764782667,
-0.03579793497920036,
0.05178340896964073,
0.004252721555531025,
0.004957693628966808,
0.0714493840932846,
0.05097772553563118,
-0.026898806914687157,
-0.034369681030511856,
-0.01709328591823578,
-0.04980582371354103,
0.02644103392958641,
-0.013522647321224213,
0.05863171070814133,
-0.02878483757376671,
-0.01705666445195675,
-0.008958639577031136,
-0.01121546607464552,
-0.022797152400016785,
0.01535374391824007,
-0.002641356782987714,
0.025671973824501038,
0.03914884477853775,
0.007562428712844849,
0.009549167938530445,
0.03728112578392029,
-0.0570569671690464,
0.05233273655176163,
0.021826669573783875,
-0.03319777920842171,
-0.018603941425681114,
-0.01001609768718481,
-0.00844135507941246,
0.00958579033613205,
0.024719802662730217,
0.009576634503901005,
0.029224300757050514,
0.03089059889316559,
-0.016278447583317757,
-0.011004890315234661,
-0.034497857093811035,
0.0033692175056785345,
-0.00660568056628108,
0.03090890869498253,
0.027265027165412903,
0.017175685614347458,
-0.015124857425689697,
-0.03479083254933357,
0.0009453035891056061,
0.0050263600423932076,
0.016443246975541115,
-0.037500858306884766,
0.062074173241853714,
-0.05409058928489685,
-0.0426645502448082,
0.01269865408539772,
0.04097994044423103,
0.007498340215533972,
-0.0673111081123352,
0.035450030118227005,
-0.012552166357636452,
0.005557377822697163,
0.011371109634637833,
0.039954524487257004,
0.04152926802635193,
-0.0063905268907547,
-0.040760207921266556,
-0.00139163329731673,
-0.02334647998213768,
-0.03085397556424141,
-0.00191807362716645,
-0.0008411599555984139,
0.005040093325078487,
-0.038709379732608795,
-0.002613890217617154,
-0.01435579638928175,
-0.02032517082989216,
0.015161478891968727,
-0.016113650053739548,
0.03398515284061432,
0.009393525309860706
] |
9,707 | cloudscraper | request | null | def request(self, method, url, *args, **kwargs):
# pylint: disable=E0203
if kwargs.get('proxies') and kwargs.get('proxies') != self.proxies:
self.proxies = kwargs.get('proxies')
# ------------------------------------------------------------------------------- #
# Pre-Hook the request via user defined function.
# ------------------------------------------------------------------------------- #
if self.requestPreHook:
(method, url, args, kwargs) = self.requestPreHook(
self,
method,
url,
*args,
**kwargs
)
# ------------------------------------------------------------------------------- #
# Make the request via requests.
# ------------------------------------------------------------------------------- #
response = self.decodeBrotli(
self.perform_request(method, url, *args, **kwargs)
)
# ------------------------------------------------------------------------------- #
# Debug the request via the Response object.
# ------------------------------------------------------------------------------- #
if self.debug:
self.debugRequest(response)
# ------------------------------------------------------------------------------- #
# Post-Hook the request aka Post-Hook the response via user defined function.
# ------------------------------------------------------------------------------- #
if self.requestPostHook:
newResponse = self.requestPostHook(self, response)
if response != newResponse: # Give me walrus in 3.7!!!
response = newResponse
if self.debug:
print('==== requestPostHook Debug ====')
self.debugRequest(response)
# ------------------------------------------------------------------------------- #
if not self.disableCloudflareV1:
cloudflareV1 = Cloudflare(self)
# ------------------------------------------------------------------------------- #
# Check if Cloudflare v1 anti-bot is on
# ------------------------------------------------------------------------------- #
if cloudflareV1.is_Challenge_Request(response):
# ------------------------------------------------------------------------------- #
# Try to solve the challenge and send it back
# ------------------------------------------------------------------------------- #
if self._solveDepthCnt >= self.solveDepth:
_ = self._solveDepthCnt
self.simpleException(
CloudflareLoopProtection,
f"!!Loop Protection!! We have tried to solve {_} time(s) in a row."
)
self._solveDepthCnt += 1
response = cloudflareV1.Challenge_Response(response, **kwargs)
else:
if not response.is_redirect and response.status_code not in [429, 503]:
self._solveDepthCnt = 0
return response
| (self, method, url, *args, **kwargs) | [
0.010516844689846039,
-0.04127514734864235,
-0.08350097388029099,
0.06424979865550995,
-0.06460630148649216,
0.003166441572830081,
-0.09482984989881516,
0.02964918315410614,
-0.01928088255226612,
-0.02194475196301937,
0.03767050430178642,
0.06626998633146286,
-0.004961336497217417,
-0.005530751310288906,
-0.000059765348851215094,
-0.04575124382972717,
0.02045932225883007,
0.008976948447525501,
-0.011764605529606342,
-0.10449504852294922,
0.01225974876433611,
0.03877962753176689,
0.035769153386354446,
0.06171466410160065,
-0.014804786071181297,
0.024440275505185127,
-0.030580053105950356,
0.01838962361216545,
0.01600303314626217,
0.03129306063055992,
-0.030857332050800323,
0.02735171839594841,
-0.025014640763401985,
0.029094623401761055,
0.006080360151827335,
-0.03240218013525009,
-0.008551125414669514,
-0.022360673174262047,
-0.10314825922250748,
-0.008140156976878643,
-0.06329912692308426,
-0.019805733114480972,
0.005649585742503405,
-0.014715660363435745,
-0.008570930920541286,
0.015131580643355846,
-0.10283137112855911,
0.06686415523290634,
-0.01740923896431923,
0.012398389168083668,
-0.007333072833716869,
0.021291162818670273,
0.07538062334060669,
-0.051178015768527985,
0.06603231281042099,
0.030065104365348816,
-0.022578535601496696,
0.011150628328323364,
0.00729841273277998,
0.0017688996158540249,
0.01889467053115368,
0.04654347524046898,
0.02453930303454399,
0.01897389255464077,
-0.02970859967172146,
0.02194475196301937,
-0.015804976224899292,
0.03414508327841759,
0.028658896684646606,
-0.0020362769719213247,
0.024479886516928673,
0.017399337142705917,
-0.00826889369636774,
-0.03097616694867611,
0.05224752426147461,
-0.00731821870431304,
0.04186931997537613,
-0.03388760983943939,
-0.009784032590687275,
-0.006347737740725279,
0.001187106128782034,
-0.03507595509290695,
0.013210424222052097,
-0.03159014508128166,
0.004208718426525593,
-0.06698299199342728,
0.0493558868765831,
-0.03260023891925812,
-0.026995215564966202,
0.037314001470804214,
-0.08231262862682343,
-0.020102819427847862,
-0.012546932324767113,
-0.008922482840716839,
-0.01592380926012993,
0.03075830452144146,
0.01911253295838833,
-0.013141104020178318,
-0.0016711087664589286,
-0.010695096105337143,
0.019241269677877426,
0.0531981997191906,
-0.028342004865407944,
0.03218431770801544,
0.04654347524046898,
-0.0223210621625185,
-0.007050841115415096,
-0.010239563882350922,
-0.006169485859572887,
-0.05771390721201897,
-0.030560247600078583,
-0.008140156976878643,
0.003933914005756378,
0.023251932114362717,
-0.05565411224961281,
0.019756218418478966,
-0.07858914881944656,
-0.03578896075487137,
-0.03285771235823631,
0.053396258503198624,
-0.05767429620027542,
-0.03632371500134468,
0.05181179940700531,
-0.01852826401591301,
-0.01756768487393856,
0.04452328756451607,
-0.0306196641176939,
0.021370386704802513,
0.02838161587715149,
-0.03386780619621277,
-0.014765174128115177,
0.02646045945584774,
-0.008768988773226738,
0.10077157616615295,
0.01089315302670002,
0.0587041936814785,
-0.02142980322241783,
0.02691599167883396,
0.004716240335255861,
0.05787235498428345,
0.03727439045906067,
-0.026202986016869545,
0.036878276616334915,
-0.029827434569597244,
-0.005238616373389959,
-0.003253091825172305,
0.02675754576921463,
-0.03824487328529358,
-0.013200521469116211,
-0.03725458309054375,
0.07387538999319077,
-0.012546932324767113,
0.03535323590040207,
-0.0012923241592943668,
-0.03877962753176689,
0.023529211059212685,
-0.033550914376974106,
0.009189859963953495,
0.011309074237942696,
0.015290026552975178,
-0.00885316263884306,
0.0027975598350167274,
-0.01747855916619301,
-0.061635442078113556,
0.026143567636609077,
-0.052366361021995544,
0.021073300391435623,
-0.02370746247470379,
0.03818545490503311,
0.0484844371676445,
-0.03402625024318695,
0.04179009795188904,
-0.013794693164527416,
0.037472449243068695,
0.027549775317311287,
0.02440066449344158,
0.01831040158867836,
-0.025529591366648674,
-0.07526178658008575,
0.009680052287876606,
-0.01571585051715374,
-0.04880132898688316,
-0.03059985861182213,
-0.012695475481450558,
-0.007640061900019646,
0.012378583662211895,
0.04678114131093025,
-0.01704283431172371,
-0.017102250829339027,
0.06809211522340775,
-0.020855437964200974,
0.0024905710015445948,
0.08785823732614517,
-0.01964728720486164,
-0.005525799468159676,
-0.02956996113061905,
0.0019285832531750202,
0.01853816583752632,
0.03784875571727753,
-0.06108088418841362,
-0.02964918315410614,
0.033174604177474976,
0.06571542471647263,
-0.0006074790144339204,
-0.050068896263837814,
0.04222582280635834,
-0.012289457954466343,
-0.00826889369636774,
-0.016201090067625046,
-0.009987041354179382,
0.021528832614421844,
0.027074437588453293,
0.005268325097858906,
-0.030956361442804337,
-0.04072058945894241,
0.02751016430556774,
0.028223169967532158,
-0.028143947944045067,
-0.024440275505185127,
0.015002842992544174,
0.039472825825214386,
0.0062784175388514996,
-0.07763847708702087,
-0.01593371294438839,
-0.06048671156167984,
0.02905501052737236,
0.041988156735897064,
0.038145843893289566,
-0.001989238429814577,
-0.06920123100280762,
0.02007311023771763,
0.009991992264986038,
0.04329533502459526,
0.010536650195717812,
0.028579672798514366,
-0.006035797297954559,
-0.01570594683289528,
0.048365600407123566,
-0.013200521469116211,
0.01015043817460537,
0.05197024345397949,
-0.002822316950187087,
0.05498071759939194,
-0.0035724590998142958,
-0.04697920009493828,
0.03822506591677666,
0.0049390546046197414,
0.03596721217036247,
-0.014557214453816414,
-0.009987041354179382,
0.02194475196301937,
-0.04026505723595619,
-0.031312864273786545,
-0.04468173533678055,
-0.0113783935084939,
-0.052445583045482635,
0.06737910211086273,
-0.016706136986613274,
0.060882825404405594,
0.02497502975165844,
-0.014210613444447517,
-0.010526747442781925,
-0.02216261625289917,
0.0161614790558815,
-0.05387159436941147,
0.023905521258711815,
0.01846884749829769,
-0.02142980322241783,
0.0016265459125861526,
0.028955982998013496,
0.07332082837820053,
0.0024299160577356815,
0.02150902710855007,
0.035769153386354446,
-0.03477886691689491,
-0.009808789938688278,
0.04713764414191246,
0.03563051298260689,
-0.005748614203184843,
-0.028658896684646606,
0.08053011447191238,
-0.014913717284798622,
0.01578516885638237,
-0.044285621494054794,
-0.042423881590366364,
-0.02416299469769001,
-0.023232124745845795,
0.14268051087856293,
0.05743662640452385,
-0.033016156405210495,
0.016260506585240364,
0.026816964149475098,
0.048959773033857346,
-0.02994626946747303,
0.009026463143527508,
-0.009061123244464397,
-0.06496280431747437,
0.02150902710855007,
0.05842691287398338,
0.0034065861254930496,
-0.04959355667233467,
-0.030797915533185005,
0.021291162818670273,
-0.02741113491356373,
0.024281829595565796,
-0.05300014466047287,
0.07359810918569565,
-0.00830355379730463,
-0.029074816033244133,
0.00364920636638999,
0.02089504897594452,
0.032342761754989624,
-0.019736412912607193,
-0.07165714353322983,
-0.029094623401761055,
-0.001668633078224957,
0.04072058945894241,
0.04491940513253212,
0.0061892918311059475,
0.028995594009757042,
-0.012705378234386444,
0.04030466824769974,
-0.009516654536128044,
0.05224752426147461,
0.03151092305779457,
0.028500450775027275,
0.07264743000268936,
0.017359726130962372,
-0.008318408392369747,
-0.030144326388835907,
0.0029956172220408916,
0.0434141680598259,
-0.047335702925920486,
-0.036719828844070435,
-0.051613740622997284,
-0.0030401800759136677,
-0.013061881065368652,
-0.025450367480516434,
0.030738499015569687,
-0.052366361021995544,
-0.03137228265404701,
-0.03705652803182602,
-0.00008293650898849592,
-0.00017871579620987177,
0.03921535238623619,
0.010972375981509686,
0.026361431926488876,
0.011784411035478115,
0.05212869122624397,
0.004193864297121763,
0.007550935726612806,
-0.08060933649539948,
0.040225446224212646,
0.05561450123786926,
-0.01891447603702545,
-0.048365600407123566,
-0.0045503671281039715,
-0.0642101913690567,
-0.006352689117193222,
-0.048207156360149384,
-0.05181179940700531,
-0.011982468888163567,
-0.014388865791261196,
0.08801668137311935,
-0.002899064216762781,
-0.04230504855513573,
0.02364804595708847,
-0.04238427057862282,
-0.0047211917117238045,
0.029035205021500587,
-0.0017602345906198025,
-0.0008268893579952419,
-0.06773561239242554,
0.02015233412384987,
0.0031862473115324974,
-0.02786666713654995,
0.010427718982100487,
-0.03830428794026375,
0.007714333012700081,
0.08666989207267761,
0.03357071802020073,
0.0050851223058998585,
-0.06737910211086273,
-0.03537303954362869,
0.04741492494940758,
-0.036204881966114044,
0.0020387526601552963,
0.007942099124193192,
0.05335664749145508,
-0.011754702776670456,
0.03822506591677666,
-0.04281999543309212,
0.032719071954488754,
0.006828026846051216,
-0.04697920009493828,
-0.015032552182674408,
0.0025623668916523457,
0.026816964149475098,
-0.01267566904425621,
-0.018350012600421906,
0.015290026552975178,
0.03763089329004288,
-0.0030624615028500557,
0.01956806518137455,
0.019845345988869667,
0.04076020047068596,
0.04713764414191246,
0.002395255956798792,
0.03414508327841759,
0.021608054637908936,
-0.04987083747982979,
0.009744420647621155,
-0.026282208040356636,
-0.06555698066949844,
-0.06650765240192413,
-0.010289078578352928,
-0.06607192754745483,
0.012289457954466343,
0.010724804364144802,
0.018409429118037224,
0.07217209041118622,
0.0030946459155529737,
0.007367732934653759,
0.01579507254064083,
-0.035254206508398056,
0.034501586109399796,
0.030481023713946342,
-0.016498176380991936,
-0.024856194853782654,
0.026559488847851753,
0.008155010640621185,
0.03032257780432701,
-0.01824108138680458,
-0.027371523901820183,
0.033689551055431366,
-0.011309074237942696,
-0.08326330035924911,
0.034660033881664276,
0.005808031186461449,
0.017448851838707924,
-0.019746316596865654,
-0.02527211606502533,
-0.013111395761370659,
-0.009244326502084732,
0.0676167756319046,
0.009843450039625168,
-0.01600303314626217,
-0.03786856308579445,
-0.013240132480859756,
-0.026103956624865532,
-0.00960578117519617,
0.041988156735897064,
0.008100545033812523,
0.032738879323005676,
-0.07221170514822006,
0.008759086020290852,
-0.053475480526685715,
0.019776025786995888,
-0.017973702400922775,
0.03032257780432701,
-0.00522376224398613,
-0.020637573674321175,
0.04864288121461868,
-0.004948957823216915,
-0.0006925817579030991,
0.052881307899951935,
-0.008679863065481186,
0.0348580926656723,
-0.01683487370610237,
-0.037611089646816254,
-0.023806491866707802,
-0.06302184611558914,
-0.007402393035590649,
-0.0061892918311059475,
0.0009587212698534131,
0.021251551806926727,
-0.04107709228992462,
-0.011685382574796677,
0.01861738972365856,
-0.03267946094274521,
-0.029589766636490822,
-0.025153281167149544,
0.0367792472243309,
-0.011021890677511692,
-0.021172329783439636,
-0.10401971638202667,
-0.0016810116358101368,
0.01631992496550083,
0.03763089329004288,
-0.004065126646310091,
-0.021231746301054955,
0.06321990489959717,
0.026777351275086403,
0.015418763272464275,
-0.06947851181030273,
0.04662269726395607,
-0.03527401015162468,
-0.03202586993575096,
-0.02343018352985382,
-0.02343018352985382,
-0.0035179934930056334,
0.015002842992544174,
0.013448093086481094,
0.01245780661702156,
0.006634920835494995,
-0.0037507107481360435,
-0.02572764828801155,
0.01585448905825615,
-0.0049811420030891895,
0.013467898592352867,
-0.027965696528553963,
-0.02075640857219696,
0.04381028190255165,
-0.030520634725689888,
-0.026717934757471085,
0.007323170080780983,
-0.02527211606502533,
0.05771390721201897,
-0.06527969986200333,
-0.020716797560453415,
0.06959734857082367,
0.06373485177755356,
0.0587041936814785,
-0.0018159381579607725,
0.013844207860529423,
0.00037507107481360435,
0.06242767348885536,
-0.006828026846051216,
0.007352878805249929,
0.01037820428609848,
0.008130253292620182,
-0.004901919048279524,
-0.022776594385504723,
-0.021231746301054955,
0.04046311229467392,
0.040799811482429504,
-0.06920123100280762,
-0.042740773409605026,
-0.011180336587131023,
-0.03386780619621277,
0.025589007884263992,
0.05846652388572693,
-0.03341227397322655,
-0.01742904633283615,
-0.0668245479464531,
-0.07169675827026367,
-0.012992560863494873,
0.054743047803640366,
-0.010219758376479149,
-0.049395497888326645,
-0.06856744736433029,
0.006308126263320446,
0.05545605346560478,
-0.0076598674058914185,
-0.004466192796826363,
-0.01824108138680458,
0.04515707120299339,
0.009917721152305603,
0.004750900436192751,
0.021687278524041176,
-0.047850653529167175,
-0.020716797560453415,
-0.060288652777671814,
-0.013646150007843971,
-0.03222392871975899,
0.02519289404153824,
0.08310485631227493,
0.06836939603090286,
-0.003376877633854747,
-0.050068896263837814,
0.06959734857082367,
0.012844018638134003,
0.0008720711921341717,
0.041393984109163284,
0.004067602567374706,
0.04876171797513962,
0.00837287399917841,
-0.052802085876464844,
0.02638123743236065,
-0.011338782496750355,
0.02200417034327984,
-0.0145671172067523,
-0.06258612126111984,
-0.07439033687114716,
-0.011477422900497913,
-0.015230609104037285,
0.007120161317288876,
0.029154039919376373,
0.022697370499372482,
-0.00626356340944767,
-0.04127514734864235,
-0.00807578768581152,
-0.04034427925944328,
-0.025034448131918907,
-0.01957796700298786,
0.06349717825651169,
-0.07668779790401459,
0.02202397584915161,
0.007016181014478207,
0.049395497888326645,
-0.0013938285410404205,
0.01356692798435688,
-0.007729187607765198,
-0.02370746247470379,
-0.028441034257411957,
0.034065861254930496,
-0.0766085758805275,
-0.02261814847588539,
0.028639091178774834,
-0.03283790498971939,
-0.0012248607818037271,
-0.01359663624316454,
0.03238237276673317,
-0.019320493564009666,
-0.04860327020287514,
-0.023449989035725594,
-0.04951433464884758,
0.06381407380104065,
0.03143170103430748,
-0.02289542742073536,
0.0015720800729468465,
-0.05248519405722618,
-0.027292300015687943,
0.04452328756451607,
-0.023628240451216698,
0.025668229907751083,
0.047771427780389786,
-0.011804217472672462,
-0.012537029571831226,
0.03624449297785759,
0.029827434569597244,
0.05395082011818886,
0.033154796808958054,
0.020954465493559837,
0.04171087592840195,
0.010006846860051155,
0.03854195773601532,
0.025153281167149544,
-0.03794778510928154,
0.00629822351038456,
0.028183558955788612,
0.0003181296051479876,
-0.007328121457248926,
-0.005852594505995512,
-0.057476237416267395,
-0.00483507476747036,
0.02543056197464466,
-0.026638710871338844,
0.08857124298810959,
-0.034283723682165146,
-0.03238237276673317,
0.04610774666070938,
0.014062071219086647,
0.007139966823160648,
-0.04345377907156944,
-0.019142242148518562,
0.005515896715223789,
0.04923705384135246,
0.029550153762102127,
-0.06488358229398727,
0.00985830370336771,
0.04630580544471741,
0.07118180394172668,
-0.08068855851888657,
0.006550746504217386,
0.024658137932419777,
0.04789026454091072,
-0.06904278695583344,
0.03800720348954201,
0.040799811482429504,
0.0006316172075457871,
-0.049316275864839554,
-0.007461810018867254,
0.02267756499350071,
0.03860137611627579,
-0.00885316263884306,
-0.007174626924097538,
-0.03438275307416916,
-0.023964937776327133,
0.025886094197630882,
-0.0600113719701767,
0.028044918552041054,
-0.06318029016256332,
0.03996796905994415,
0.040284860879182816,
0.004748424515128136,
0.041829708963632584,
-0.015804976224899292,
-0.05581255629658699,
-0.007833167910575867,
-0.002921345643699169,
0.023747075349092484,
-0.0016401623142883182,
0.005753565579652786,
0.02030087634921074,
-0.006575503386557102,
-0.036284103989601135,
-0.06246728450059891,
0.0096305375918746,
0.02543056197464466,
0.0706668570637703,
-0.032342761754989624,
0.012992560863494873,
0.04927666485309601,
-0.005402013659477234,
0.011665577068924904,
-0.009779080748558044,
-0.020716797560453415,
-0.014438379555940628,
0.022875621914863586,
0.011556645855307579,
-0.0033744019456207752,
0.05426771193742752,
0.0006077884463593364,
-0.03652177378535271,
0.0348580926656723,
-0.07248898595571518,
0.015745557844638824,
-0.0018505982588976622,
0.021330775693058968,
-0.05605022609233856,
-0.015280123800039291,
0.016943804919719696,
-0.006332883145660162,
0.03426392003893852,
-0.02424221858382225,
-0.0006659678183495998,
-0.030580053105950356,
-0.0033669746480882168,
0.021033689379692078,
0.011101113632321358,
-0.004233475774526596,
-0.028044918552041054,
0.00413444684818387,
-0.01846884749829769,
-0.09926633536815643,
-0.022063586860895157,
-0.00032277157879434526,
0.05589178204536438,
-0.008422387763857841,
-0.037611089646816254,
-0.09752343595027924,
-0.012329068966209888,
-0.017894480377435684,
0.02956996113061905,
0.008273845538496971,
-0.014180905185639858,
0.017696423456072807,
0.03632371500134468,
0.0244600810110569,
0.03499673306941986,
0.002938675694167614,
-0.0011122156865894794,
-0.005080170463770628,
0.021310970187187195,
-0.015696043148636818,
-0.003453624900430441,
-0.010625775903463364,
0.038660790771245956,
-0.003609594888985157,
-0.02638123743236065,
-0.026282208040356636,
0.025113670155405998,
-0.0031738688703626394,
0.01056635845452547,
-0.009486946277320385,
0.023390570655465126,
0.031194031238555908
] |
9,708 | requests.sessions | resolve_redirects | Receives a Response. Returns a generator of Responses or Requests. | def resolve_redirects(
self,
resp,
req,
stream=False,
timeout=None,
verify=True,
cert=None,
proxies=None,
yield_requests=False,
**adapter_kwargs,
):
"""Receives a Response. Returns a generator of Responses or Requests."""
hist = [] # keep track of history
url = self.get_redirect_target(resp)
previous_fragment = urlparse(req.url).fragment
while url:
prepared_request = req.copy()
# Update history and keep track of redirects.
# resp.history must ignore the original request in this loop
hist.append(resp)
resp.history = hist[1:]
try:
resp.content # Consume socket so it can be released
except (ChunkedEncodingError, ContentDecodingError, RuntimeError):
resp.raw.read(decode_content=False)
if len(resp.history) >= self.max_redirects:
raise TooManyRedirects(
f"Exceeded {self.max_redirects} redirects.", response=resp
)
# Release the connection back into the pool.
resp.close()
# Handle redirection without scheme (see: RFC 1808 Section 4)
if url.startswith("//"):
parsed_rurl = urlparse(resp.url)
url = ":".join([to_native_string(parsed_rurl.scheme), url])
# Normalize url case and attach previous fragment if needed (RFC 7231 7.1.2)
parsed = urlparse(url)
if parsed.fragment == "" and previous_fragment:
parsed = parsed._replace(fragment=previous_fragment)
elif parsed.fragment:
previous_fragment = parsed.fragment
url = parsed.geturl()
# Facilitate relative 'location' headers, as allowed by RFC 7231.
# (e.g. '/path/to/resource' instead of 'http://domain.tld/path/to/resource')
# Compliant with RFC3986, we percent encode the url.
if not parsed.netloc:
url = urljoin(resp.url, requote_uri(url))
else:
url = requote_uri(url)
prepared_request.url = to_native_string(url)
self.rebuild_method(prepared_request, resp)
# https://github.com/psf/requests/issues/1084
if resp.status_code not in (
codes.temporary_redirect,
codes.permanent_redirect,
):
# https://github.com/psf/requests/issues/3490
purged_headers = ("Content-Length", "Content-Type", "Transfer-Encoding")
for header in purged_headers:
prepared_request.headers.pop(header, None)
prepared_request.body = None
headers = prepared_request.headers
headers.pop("Cookie", None)
# Extract any cookies sent on the response to the cookiejar
# in the new request. Because we've mutated our copied prepared
# request, use the old one that we haven't yet touched.
extract_cookies_to_jar(prepared_request._cookies, req, resp.raw)
merge_cookies(prepared_request._cookies, self.cookies)
prepared_request.prepare_cookies(prepared_request._cookies)
# Rebuild auth and proxy information.
proxies = self.rebuild_proxies(prepared_request, proxies)
self.rebuild_auth(prepared_request, resp)
# A failed tell() sets `_body_position` to `object()`. This non-None
# value ensures `rewindable` will be True, allowing us to raise an
# UnrewindableBodyError, instead of hanging the connection.
rewindable = prepared_request._body_position is not None and (
"Content-Length" in headers or "Transfer-Encoding" in headers
)
# Attempt to rewind consumed file-like object.
if rewindable:
rewind_body(prepared_request)
# Override the original request.
req = prepared_request
if yield_requests:
yield req
else:
resp = self.send(
req,
stream=stream,
timeout=timeout,
verify=verify,
cert=cert,
proxies=proxies,
allow_redirects=False,
**adapter_kwargs,
)
extract_cookies_to_jar(self.cookies, prepared_request, resp.raw)
# extract redirect url, if any, for the next loop
url = self.get_redirect_target(resp)
yield resp
| (self, resp, req, stream=False, timeout=None, verify=True, cert=None, proxies=None, yield_requests=False, **adapter_kwargs) | [
-0.025863166898489,
-0.0256335511803627,
-0.06926068663597107,
0.027470482513308525,
-0.09752438962459564,
0.03003801219165325,
-0.05932455509901047,
0.04947191849350929,
0.015812227502465248,
-0.03043462336063385,
0.0336492545902729,
0.03590366989374161,
0.04416986554861069,
0.05932455509901047,
0.03498520329594612,
-0.02410973235964775,
0.011063340120017529,
-0.004211375489830971,
-0.028013212606310844,
-0.046340785920619965,
0.03045549802482128,
0.04032900556921959,
-0.013526499271392822,
0.014695456251502037,
-0.06329065561294556,
0.00426617031916976,
-0.06596256047487259,
-0.0020091442856937647,
-0.0031859290320426226,
0.060535259544849396,
-0.008610619232058525,
-0.0049158805049955845,
0.02383836731314659,
-0.014163163490593433,
0.04300090670585632,
-0.010452769696712494,
-0.023900989443063736,
-0.01582266390323639,
-0.008547996170818806,
0.013724804855883121,
-0.06420912593603134,
-0.0047645424492657185,
-0.0661713033914566,
0.024005360901355743,
0.019663522019982338,
0.060660503804683685,
-0.07794436812400818,
0.0029980610124766827,
0.010729352943599224,
-0.008104418404400349,
-0.00949255470186472,
0.018671996891498566,
0.008829798549413681,
-0.034212857484817505,
0.09084463864564896,
0.011585196480154991,
-0.07042964547872543,
0.0666305348277092,
-0.01108421478420496,
-0.008986354805529118,
0.039995018392801285,
0.02189706452190876,
0.0016503685619682074,
-0.031081724911928177,
-0.021437831223011017,
-0.025424808263778687,
0.0338788703083992,
-0.06345765292644501,
-0.004182673525065184,
-0.020018383860588074,
-0.02452721633017063,
0.021281274035573006,
-0.017429979518055916,
-0.017743093892931938,
0.0346720926463604,
0.022398045286536217,
0.005651697050780058,
-0.021938811987638474,
0.0036399434320628643,
-0.03068511374294758,
0.03721874579787254,
-0.03567405417561531,
0.03291865810751915,
-0.019486092031002045,
0.02065504714846611,
-0.019778329879045486,
0.03813721239566803,
-0.015238186344504356,
-0.016626322641968727,
0.034087613224983215,
-0.03141571208834648,
0.010598888620734215,
0.038345955312252045,
-0.04060037061572075,
0.010525829158723354,
0.023191265761852264,
-0.055441949516534805,
0.021093405783176422,
0.008114855736494064,
-0.007619093172252178,
-0.002677119569852948,
0.045380569994449615,
-0.07710939645767212,
0.03840857744216919,
0.011866997927427292,
-0.029912767931818962,
0.0032694258261471987,
-0.06646353751420975,
0.03248029947280884,
-0.0374901108443737,
-0.009127255529165268,
-0.012294920161366463,
0.0159792210906744,
0.01750303991138935,
-0.05402250215411186,
-0.0033842341508716345,
0.004694092087447643,
-0.009388184174895287,
-0.03285603225231171,
0.02260678820312023,
-0.022502416744828224,
-0.014069229364395142,
0.016876813024282455,
0.009398620575666428,
-0.010379709303379059,
0.0060326517559587955,
0.002758007263764739,
-0.005693445447832346,
0.02078029327094555,
0.002407059306278825,
0.007780868094414473,
-0.013756115920841694,
0.017826590687036514,
0.03239680081605911,
0.008892420679330826,
0.04588155075907707,
-0.08332991600036621,
0.05840608850121498,
-0.06917718797922134,
0.010478862561285496,
-0.01247235108166933,
0.0029850145801901817,
-0.014100540429353714,
0.0077495570294559,
-0.022335423156619072,
-0.014611959457397461,
0.02742873504757881,
0.006648441310971975,
0.002093945862725377,
0.001348996884189546,
0.027324363589286804,
-0.06692277640104294,
0.03124871850013733,
0.0762326791882515,
-0.023525254800915718,
-0.002666682470589876,
-0.05869832634925842,
0.03943141549825668,
-0.028848182410001755,
0.02310776896774769,
0.017534350976347923,
-0.09017666429281235,
0.010666729882359505,
-0.026552017778158188,
0.0035668835043907166,
-0.04984765499830246,
-0.0008636711281724274,
-0.03346138820052147,
0.043293148279190063,
-0.01466414425522089,
0.010390146635472775,
0.06825872510671616,
0.04341839253902435,
-0.015645233914256096,
0.011783501133322716,
0.06541983038187027,
0.08525034785270691,
-0.034922581166028976,
-0.06178771331906319,
-0.02256503887474537,
0.00409917626529932,
-0.02893167920410633,
0.018671996891498566,
-0.025800544768571854,
-0.018108392134308815,
0.012524536810815334,
-0.029933642596006393,
-0.026906879618763924,
0.027491357177495956,
0.019726144149899483,
-0.048845693469047546,
-0.00019194504420738667,
0.033252645283937454,
-0.017962273210287094,
-0.00290673621930182,
-0.009106381796300411,
-0.04738449677824974,
-0.010823287069797516,
0.0804075226187706,
-0.017450854182243347,
-0.08583482354879379,
-0.0024201057385653257,
0.06341589987277985,
-0.046883516013622284,
-0.048386458307504654,
0.04500483348965645,
0.0018108391668647528,
-0.00571431964635849,
-0.030747737735509872,
0.020748982205986977,
-0.006439699325710535,
0.06078575178980827,
-0.016908124089241028,
-0.04185282438993454,
-0.030768610537052155,
0.01912079192698002,
0.020300185307860374,
-0.06224694475531578,
-0.008939388208091259,
0.003144180402159691,
0.06237219274044037,
-0.050766121596097946,
-0.07452099025249481,
-0.005735193844884634,
-0.015895724296569824,
-0.006820653565227985,
0.004013070371001959,
-0.0402037613093853,
0.010760664008557796,
0.009810887277126312,
0.0039948052726686,
0.013150762766599655,
0.030768610537052155,
-0.004007851704955101,
0.07669191062450409,
-0.03663427010178566,
-0.014914635568857193,
0.01747172884643078,
0.031227843835949898,
0.029390912503004074,
-0.06408387422561646,
0.015613921917974949,
-0.010244026780128479,
0.03719787299633026,
-0.017137739807367325,
0.018567625433206558,
-0.021542202681303024,
0.002482728334143758,
-0.003765188856050372,
-0.04563106223940849,
-0.01170000433921814,
-0.015488676726818085,
-0.0023470460437238216,
-0.052269063889980316,
0.03300215303897858,
0.009064633399248123,
-0.011032029055058956,
-0.025153443217277527,
-0.007342509459704161,
0.0066640968434512615,
0.03314827382564545,
0.050599128007888794,
-0.024965574964880943,
-0.02175094559788704,
-0.03289778158068657,
-0.006319672334939241,
0.012983769178390503,
-0.055817682296037674,
-0.03763623163104057,
0.047300998121500015,
0.07205783575773239,
0.01707511767745018,
-0.08700378239154816,
0.038638193160295486,
0.006277923937886953,
0.05924105644226074,
0.041393592953681946,
-0.02271115966141224,
0.012263608165085316,
-0.03571580350399017,
0.022648537531495094,
0.010139656253159046,
0.0190268587321043,
-0.02008100599050522,
0.025800544768571854,
0.013474313542246819,
-0.0589488185942173,
0.13075615465641022,
0.007405132055282593,
-0.050599128007888794,
0.01135557983070612,
-0.017043806612491608,
0.04185282438993454,
-0.04231205955147743,
-0.04312615469098091,
-0.010791975073516369,
-0.0877552479505539,
0.007071144413203001,
-0.029286541044712067,
-0.022356297820806503,
-0.009753482416272163,
-0.006084837485104799,
0.032709915190935135,
0.04337664321064949,
-0.007086799945682287,
-0.04018288850784302,
0.0033111742231994867,
-0.06116148456931114,
0.004430554807186127,
-0.009236845187842846,
0.02632240019738674,
0.033252645283937454,
-0.008104418404400349,
-0.06800822913646698,
-0.020331498235464096,
-0.02022712677717209,
0.004417508374899626,
0.06692277640104294,
-0.012534973211586475,
0.02285727858543396,
-0.03429635614156723,
0.042917411774396896,
-0.009889164939522743,
0.027157370001077652,
0.006429261993616819,
0.04279216751456261,
0.03934791684150696,
0.04266691952943802,
-0.025988413020968437,
0.013850050047039986,
-0.01887030154466629,
0.013276008889079094,
-0.06124498322606087,
0.008093982003629208,
-0.020414995029568672,
-0.018379757180809975,
-0.0330856516957283,
-0.055274952203035355,
0.03763623163104057,
-0.06638004630804062,
0.01888073794543743,
-0.005325537174940109,
0.02713649533689022,
0.0018473691307008266,
0.00840187631547451,
0.009753482416272163,
0.02050892822444439,
0.0021839661058038473,
0.004002633038908243,
-0.04118485003709793,
-0.019496528431773186,
-0.05932455509901047,
0.028848182410001755,
0.009127255529165268,
-0.009294250048696995,
0.006095274351537228,
0.020477617159485817,
-0.05164283886551857,
-0.048845693469047546,
-0.03287690877914429,
-0.0490126870572567,
0.028681188821792603,
-0.009200315922498703,
0.02548743225634098,
0.007045051548629999,
0.002507516648620367,
0.025236940011382103,
-0.035736676305532455,
-0.03377449885010719,
0.05164283886551857,
-0.005923062097281218,
-0.012305356562137604,
-0.007519940380007029,
0.01627146080136299,
-0.003243332961574197,
-0.017972709611058235,
-0.015008569695055485,
0.009471680968999863,
-0.0038904340472072363,
0.02740786038339138,
0.029370037838816643,
-0.012994206510484219,
-0.049513667821884155,
-0.015906160697340965,
0.026343274861574173,
-0.07076363265514374,
0.06496059894561768,
0.02728261426091194,
0.012691530399024487,
0.024965574964880943,
0.013818738050758839,
-0.023546127602458,
0.02972489967942238,
-0.036028917878866196,
0.03302302584052086,
-0.03590366989374161,
-0.013119451701641083,
0.048678699880838394,
-0.017002057284116745,
-0.037824101746082306,
0.020738543942570686,
0.04416986554861069,
0.005980466026812792,
0.05264480039477348,
-0.02918216958642006,
-0.025988413020968437,
0.08449887484312057,
0.004777588881552219,
0.014716329984366894,
0.03619591146707535,
-0.013150762766599655,
-0.006236175540834665,
0.062330443412065506,
-0.031102599576115608,
-0.03922267258167267,
0.001014356967061758,
-0.062455687671899796,
0.00230529741384089,
0.04147708788514137,
-0.00880892388522625,
0.03663427010178566,
0.030392875894904137,
0.004232249688357115,
0.018974673002958298,
-0.016605447977781296,
0.01968439668416977,
0.005729975178837776,
-0.013609996065497398,
-0.08733776956796646,
0.006570163182914257,
0.06228869408369064,
-0.02092641219496727,
-0.0309982281178236,
0.0061004930175840855,
0.06725676357746124,
0.03471383824944496,
-0.0129315834492445,
0.0784870982170105,
-0.03306477516889572,
-0.011783501133322716,
0.0451718270778656,
-0.0279505904763937,
-0.011178148910403252,
-0.019632210955023766,
0.07297629863023758,
0.0006591689307242632,
-0.002990233013406396,
-0.03786584734916687,
-0.025967538356781006,
0.0035225257743149996,
0.018129266798496246,
-0.034358978271484375,
0.010791975073516369,
0.005463828798383474,
-0.06057700887322426,
0.04060037061572075,
0.03542356193065643,
0.011731315404176712,
-0.096438929438591,
0.031582705676555634,
0.05673614889383316,
-0.04571455717086792,
0.0597420372068882,
-0.005479484796524048,
-0.04147708788514137,
0.02312864363193512,
-0.004529707133769989,
0.022481542080640793,
-0.03625853359699249,
-0.006277923937886953,
-0.006366639398038387,
-0.018640685826539993,
-0.008454062044620514,
0.005870876368135214,
-0.04809422045946121,
-0.010614544153213501,
-0.013390816748142242,
-0.01183568686246872,
0.025717047974467278,
0.024735959246754646,
-0.053229279816150665,
-0.017127303406596184,
0.06946942955255508,
-0.011032029055058956,
0.003893043380230665,
-0.06462660431861877,
0.0350060798227787,
-0.019329534843564034,
0.014549336396157742,
0.07360252737998962,
0.036676015704870224,
0.03456772118806839,
-0.011647818610072136,
0.014622395858168602,
-0.05848958343267441,
0.018223199993371964,
-0.0199870727956295,
-0.025257814675569534,
0.023754870519042015,
-0.06926068663597107,
0.044837839901447296,
-0.0719325840473175,
0.041101355105638504,
-0.005108966957777739,
0.030872981995344162,
0.03742748871445656,
-0.01507119182497263,
-0.007968735881149769,
-0.03191669285297394,
0.031603578478097916,
0.00646579172462225,
0.02949528396129608,
0.021229088306427002,
-0.01899554766714573,
-0.029161294922232628,
0.0001218206889461726,
0.029662277549505234,
0.06308191269636154,
0.02521606720983982,
-0.012326231226325035,
0.06938593089580536,
0.07030440121889114,
0.009419495239853859,
-0.03976540267467499,
-0.025508305057883263,
0.023295637220144272,
0.027574853971600533,
-0.02036280930042267,
0.03496433049440384,
-0.06654703617095947,
0.002405754756182432,
-0.013797864317893982,
-0.0016334082465618849,
-0.028326326981186867,
0.07581519335508347,
0.06792473793029785,
0.007222482468932867,
-0.04062124714255333,
0.005808253772556782,
-0.010729352943599224,
0.021730070933699608,
0.04168583080172539,
-0.043293148279190063,
0.03650902211666107,
-0.05043213441967964,
0.008824579417705536,
0.0008969394839368761,
0.0018760712118819356,
0.00019455431902315468,
-0.04018288850784302,
-0.07535596191883087,
-0.019663522019982338,
0.045505814254283905,
0.02934916317462921,
-0.0853755921125412,
-0.019183414056897163,
0.032146308571100235,
-0.003045027842745185,
0.0003013716486748308,
0.0043940250761806965,
0.027094747871160507,
0.008240100927650928,
-0.04030813276767731,
-0.019997509196400642,
0.038199834525585175,
0.02671901136636734,
0.09393402189016342,
0.029015175998210907,
0.005268133245408535,
0.03129046782851219,
0.04801072180271149,
0.05957504361867905,
-0.08157648146152496,
0.03245942294597626,
0.05907406285405159,
-0.00964911188930273,
0.0061004930175840855,
-0.021114280447363853,
0.05836433917284012,
0.005416862200945616,
0.07489673048257828,
0.019183414056897163,
-0.05986728519201279,
-0.04830296337604523,
-0.0031963661313056946,
-0.023066021502017975,
-0.0008036577492021024,
0.07101412117481232,
0.009179441258311272,
-0.006658878643065691,
-0.056819647550582886,
0.040537748485803604,
-0.07877933233976364,
-0.0451718270778656,
-0.0008525816956534982,
0.015603484585881233,
-0.04667477309703827,
0.0019569587893784046,
-0.041268348693847656,
0.06253918260335922,
-0.010708478279411793,
0.03592454642057419,
-0.013933546841144562,
0.01073979027569294,
-0.035047829151153564,
-0.03788672387599945,
-0.03895130753517151,
-0.0011500394903123379,
-0.014090103097259998,
0.0004148752777837217,
-0.011324268765747547,
-0.029975390061736107,
0.05439823493361473,
-0.02287815324962139,
-0.10929745435714722,
-0.033106524497270584,
-0.08892420679330826,
0.03156183287501335,
-0.028305452316999435,
0.001126555958762765,
0.03156183287501335,
-0.06333240866661072,
-0.033231768757104874,
0.05560894310474396,
-0.05602642521262169,
0.02588404156267643,
0.009659548290073872,
0.09276506304740906,
-0.048386458307504654,
0.0029302197508513927,
0.02229367569088936,
0.013328193686902523,
0.06804998219013214,
0.017419543117284775,
0.005119404289871454,
0.01928778551518917,
-0.014006606303155422,
-0.00018199716578237712,
0.03329439088702202,
0.022919900715351105,
0.030893856659531593,
0.0005652349209412932,
0.005069828126579523,
-0.010139656253159046,
-0.038617320358753204,
-0.02932828851044178,
0.053229279816150665,
-0.013557810336351395,
0.023733995854854584,
-0.006674534175544977,
0.01818145252764225,
0.10746052116155624,
0.03801196813583374,
-0.021563077345490456,
-0.020279312506318092,
-0.0010163139086216688,
-0.04625728726387024,
0.018129266798496246,
0.04391937330365181,
-0.0004223769356030971,
0.06926068663597107,
0.007144204340875149,
0.12983769178390503,
-0.06032651662826538,
0.022210177034139633,
0.05327102914452553,
-0.011595632880926132,
-0.013724804855883121,
0.007791305426508188,
-0.02945353463292122,
-0.016751566901803017,
-0.07172384858131409,
-0.02972489967942238,
0.0072172642685472965,
-0.0013144239783287048,
-0.06241393834352493,
0.019527839496731758,
-0.0597420372068882,
0.001131774508394301,
0.006773686967790127,
-0.023295637220144272,
0.00016960309585556388,
-0.036676015704870224,
0.04780197888612747,
0.020404556766152382,
-0.01046842522919178,
0.05180983245372772,
-0.04563106223940849,
-0.025236940011382103,
-0.012827212922275066,
0.10654205828905106,
0.029578780755400658,
0.03204193711280823,
0.004955019801855087,
-0.03200019150972366,
0.017962273210287094,
-0.02728261426091194,
-0.0498059056699276,
0.06253918260335922,
0.01652195118367672,
0.0829959288239479,
-0.033398762345314026,
-0.0014833747409284115,
-0.01534255687147379,
-0.016615884378552437,
-0.016198400408029556,
-0.030246755108237267,
0.014309282414615154,
0.04087173566222191,
0.04446210339665413,
-0.0129315834492445,
0.01819188892841339,
0.04834470897912979,
-0.011950494721531868,
-0.010844160802662373,
-0.020425431430339813,
-0.018776368349790573,
0.01734648272395134,
0.002992842346429825,
-0.004221812356263399,
0.009257719852030277,
-0.023233015090227127,
0.02669813670217991,
0.05214381963014603,
-0.01846325397491455,
-0.036843013018369675,
-0.013651744462549686,
0.030893856659531593,
0.01664719544351101,
-0.012994206510484219,
0.009826542809605598,
0.029411787167191505,
-0.021563077345490456,
-0.060410015285015106,
-0.04012026637792587,
-0.02025843784213066,
-0.00018770496535580605,
0.019590461626648903,
0.005020251497626305,
-0.012211423367261887,
0.002318343846127391,
-0.031749699264764786,
-0.026364149525761604,
0.008208789862692356,
-0.026280652731657028,
-0.03417111188173294,
0.050473880022764206,
0.00557341892272234,
-0.00396349374204874,
-0.0003633420274127275,
0.023483505472540855,
-0.005448173265904188,
-0.032563794404268265,
0.032438550144433975,
-0.0374901108443737,
0.012785464525222778,
-0.02903605066239834,
0.008861109614372253,
-0.00021640703198499978,
0.025445682927966118,
-0.01613577827811241,
0.0019021639600396156,
0.02132302336394787,
0.0013137717032805085,
0.005703882779926062,
0.036989130079746246,
0.021103844046592712,
0.017419543117284775
] |
9,709 | requests.sessions | send | Send a given PreparedRequest.
:rtype: requests.Response
| def send(self, request, **kwargs):
"""Send a given PreparedRequest.
:rtype: requests.Response
"""
# Set defaults that the hooks can utilize to ensure they always have
# the correct parameters to reproduce the previous request.
kwargs.setdefault("stream", self.stream)
kwargs.setdefault("verify", self.verify)
kwargs.setdefault("cert", self.cert)
if "proxies" not in kwargs:
kwargs["proxies"] = resolve_proxies(request, self.proxies, self.trust_env)
# It's possible that users might accidentally send a Request object.
# Guard against that specific failure case.
if isinstance(request, Request):
raise ValueError("You can only send PreparedRequests.")
# Set up variables needed for resolve_redirects and dispatching of hooks
allow_redirects = kwargs.pop("allow_redirects", True)
stream = kwargs.get("stream")
hooks = request.hooks
# Get the appropriate adapter to use
adapter = self.get_adapter(url=request.url)
# Start time (approximately) of the request
start = preferred_clock()
# Send the request
r = adapter.send(request, **kwargs)
# Total elapsed time of the request (approximately)
elapsed = preferred_clock() - start
r.elapsed = timedelta(seconds=elapsed)
# Response manipulation hooks
r = dispatch_hook("response", hooks, r, **kwargs)
# Persist cookies
if r.history:
# If the hooks create history then we want those cookies too
for resp in r.history:
extract_cookies_to_jar(self.cookies, resp.request, resp.raw)
extract_cookies_to_jar(self.cookies, request, r.raw)
# Resolve redirects if allowed.
if allow_redirects:
# Redirect resolving generator.
gen = self.resolve_redirects(r, request, **kwargs)
history = [resp for resp in gen]
else:
history = []
# Shuffle things around if there's history.
if history:
# Insert the first (original) request at the start
history.insert(0, r)
# Get the last request made
r = history.pop()
r.history = history
# If redirects aren't being followed, store the response on the Request for Response.next().
if not allow_redirects:
try:
r._next = next(
self.resolve_redirects(r, request, yield_requests=True, **kwargs)
)
except StopIteration:
pass
if not stream:
r.content
return r
| (self, request, **kwargs) | [
-0.02543814852833748,
-0.032836951315402985,
-0.08550574630498886,
0.039968784898519516,
-0.027859922498464584,
0.005258298013359308,
-0.11166851967573166,
0.06903006136417389,
0.017715172842144966,
-0.026544155552983284,
0.033065780997276306,
0.04179941862821579,
0.038653019815683365,
0.02326427400112152,
0.027573885396122932,
-0.033904820680618286,
0.02787899039685726,
-0.028698962181806564,
-0.008709801360964775,
-0.10083728283643723,
0.07295829057693481,
0.060410838574171066,
-0.00908641517162323,
0.024484695866703987,
-0.03951112926006317,
0.01808702014386654,
-0.035239655524492264,
-0.010573803447186947,
-0.017991675063967705,
0.07135649025440216,
-0.010335439816117287,
-0.0007454817532561719,
0.03695587068796158,
-0.0015171834966167808,
0.026467880234122276,
0.0003828713088296354,
-0.021757816895842552,
-0.01934557966887951,
-0.03752794489264488,
-0.002569558098912239,
-0.06311864405870438,
0.005010399967432022,
-0.006369072012603283,
0.00415229145437479,
0.0065406933426856995,
0.046757377684116364,
-0.0737973302602768,
0.09511655569076538,
0.01697147823870182,
0.0057636285200715065,
0.02692553773522377,
0.0345531664788723,
0.03352343663573265,
-0.04263845831155777,
0.025953015312552452,
0.0020296648144721985,
-0.024389350786805153,
0.061326153576374054,
-0.03773770481348038,
0.013710666447877884,
0.030834699049592018,
0.05655888468027115,
0.0361168310046196,
0.00007158352673286572,
-0.03970181941986084,
-0.021967576816678047,
-0.0027030417695641518,
-0.0348392054438591,
0.011203083209693432,
-0.032493706792593,
0.00908641517162323,
-0.005000865552574396,
-0.019583942368626595,
-0.016008490696549416,
0.03340902552008629,
-0.00021020678104832768,
-0.014711793512105942,
-0.021071329712867737,
-0.035716380923986435,
0.02219640649855137,
0.045079298317432404,
-0.043096113950014114,
0.006688478868454695,
-0.03136863186955452,
0.018802110105752945,
-0.024980491027235985,
0.01675218529999256,
-0.008986302651464939,
-0.037871189415454865,
0.05449942499399185,
-0.01966021955013275,
0.021815024316310883,
0.020499257370829582,
-0.007084162440150976,
0.005344109144061804,
0.0010410523973405361,
-0.028756169602274895,
0.03392389044165611,
-0.005100978072732687,
-0.01565571315586567,
-0.014654586091637611,
0.06906820088624954,
-0.06636039167642593,
0.03882464021444321,
0.03300857171416283,
-0.018754437565803528,
0.022272681817412376,
-0.04526998847723007,
0.03016727976500988,
-0.037089355289936066,
0.00819493643939495,
-0.06258471310138702,
-0.03695587068796158,
0.0036398102529346943,
-0.02997658960521221,
-0.020918777212500572,
-0.009791971184313297,
-0.007761114742606878,
-0.030453316867351532,
0.0026434508617967367,
-0.046986207365989685,
-0.013281612657010555,
0.037699565291404724,
-0.0024503765162080526,
-0.022654063999652863,
0.0045646606013178825,
0.025171183049678802,
-0.00862399023026228,
0.0070793949998915195,
-0.023645656183362007,
0.021490849554538727,
-0.0050676073879003525,
-0.0004379928868729621,
0.0748651996254921,
-0.0037589918356388807,
0.0555291548371315,
-0.023950761184096336,
0.04012133926153183,
-0.047596417367458344,
0.07189042121171951,
0.020613672211766243,
-0.02759295515716076,
-0.01372973620891571,
0.030510524287819862,
0.014530637301504612,
-0.03276067599654198,
0.024446556344628334,
-0.030491454526782036,
-0.0206899493932724,
-0.024808870628476143,
0.05080002173781395,
-0.05091443657875061,
0.019116749987006187,
0.05571984499692917,
-0.023187998682260513,
0.0015636642929166555,
-0.058809034526348114,
0.027020882815122604,
-0.014072978869080544,
0.0317118763923645,
-0.027802715077996254,
-0.04553695768117905,
-0.01016381848603487,
-0.02806968241930008,
-0.0015207589603960514,
-0.0351252406835556,
-0.0308919046074152,
-0.0068791694939136505,
0.04012133926153183,
0.0184493325650692,
-0.006249890197068453,
0.03966367989778519,
-0.001405152608640492,
0.0020094041246920824,
0.0256669782102108,
0.018611419945955276,
0.05350783094763756,
-0.03239836171269417,
-0.06567390263080597,
-0.03878650441765785,
0.021262021735310555,
-0.054003626108169556,
-0.005677817855030298,
-0.005382247269153595,
-0.027993405237793922,
0.018611419945955276,
0.0143971536308527,
-0.011422377079725266,
0.016170578077435493,
0.047634556889534,
-0.012804885394871235,
0.02675391547381878,
0.02152898907661438,
-0.02267313376069069,
-0.01783912256360054,
0.00617838092148304,
0.0033084850292652845,
-0.022768478840589523,
0.049388911575078964,
-0.042371489107608795,
-0.07093697041273117,
0.0035373137798160315,
0.05564356967806816,
-0.029251964762806892,
-0.026296257972717285,
0.04004506394267082,
-0.0003040623851120472,
-0.013872753828763962,
-0.054957080632448196,
-0.016151508316397667,
-0.0067313844338059425,
0.03129235655069351,
-0.014912018552422523,
-0.015693850815296173,
-0.03977809473872185,
-0.0022298903204500675,
0.031082596629858017,
-0.03634566068649292,
0.0175626203417778,
-0.003115410450845957,
0.06300423294305801,
-0.02597208321094513,
-0.048854976892471313,
0.0162468533962965,
-0.01003986969590187,
0.00005068948303232901,
0.03502989560365677,
-0.022463373839855194,
-0.021071329712867737,
-0.04874056205153465,
-0.0009039934375323355,
0.01682846061885357,
0.04904566705226898,
0.018887920305132866,
0.030624939128756523,
0.0029104179702699184,
-0.006988816894590855,
0.025819530710577965,
-0.02608649805188179,
0.02740226499736309,
0.016847530379891396,
0.016961945220828056,
0.04641413316130638,
0.00836179032921791,
-0.05480452999472618,
0.007794485427439213,
-0.01121261715888977,
0.008280746638774872,
-0.006912540644407272,
-0.04683365300297737,
0.0153220035135746,
-0.016961945220828056,
-0.0024551437236368656,
-0.08153937757015228,
0.016342198476195335,
0.022120129317045212,
0.025762323290109634,
0.029881244525313377,
0.01960301212966442,
0.020823432132601738,
-0.005563403479754925,
0.029156619682908058,
-0.04778710752725601,
-0.010716821067035198,
-0.03651728481054306,
-0.006554995197802782,
-0.015465022064745426,
-0.009434426203370094,
-0.03365692123770714,
0.051906030625104904,
0.06914447247982025,
0.003878173651173711,
-0.017858190461993217,
0.02147178165614605,
-0.032722536474466324,
0.01070728711783886,
0.031692806631326675,
0.015207589603960514,
-0.030987251549959183,
-0.0351252406835556,
0.04889311268925667,
-0.006607435178011656,
0.042371489107608795,
-0.02913754992187023,
0.004798256792128086,
-0.029061274603009224,
-0.024484695866703987,
0.11113458126783371,
0.0038662555161863565,
-0.03617404028773308,
0.006693246308714151,
0.011698879301548004,
0.05617750063538551,
-0.06346189230680466,
-0.07234808057546616,
-0.017600758001208305,
-0.11388052999973297,
0.009262803941965103,
0.04336308315396309,
0.008733637630939484,
-0.006216519046574831,
-0.026525085791945457,
0.03386668115854263,
0.022406166419386864,
0.014082513749599457,
-0.029232895001769066,
0.000992783810943365,
-0.022634994238615036,
-0.03243650123476982,
-0.008042383007705212,
0.007413103710860014,
0.04252404347062111,
0.018039347603917122,
-0.06563576310873032,
-0.019088147208094597,
0.025400010868906975,
0.028775237500667572,
0.03840512037277222,
0.03134956210851669,
0.06014386937022209,
-0.02843199484050274,
0.05480452999472618,
-0.001110773766413331,
0.04847359657287598,
0.03497268632054329,
0.03215046599507332,
0.051181402057409286,
0.020861569792032242,
-0.013300681486725807,
0.00120254373177886,
-0.04118920862674713,
0.021662471815943718,
-0.059571798890829086,
-0.00487214932218194,
-0.04748200252652168,
-0.007432173006236553,
-0.03318019583821297,
-0.04912194237112999,
0.0387483648955822,
-0.08199702948331833,
-0.006326166447252035,
-0.02530466578900814,
0.014292273670434952,
-0.002064227592200041,
-0.018697230145335197,
0.00481494190171361,
0.021681541576981544,
0.01904047466814518,
0.0241033136844635,
-0.007413103710860014,
-0.027612024918198586,
-0.07978501915931702,
0.037871189415454865,
0.016342198476195335,
0.02116667665541172,
-0.0612880140542984,
0.004526522476226091,
-0.0466429628431797,
-0.043096113950014114,
-0.036860525608062744,
-0.00701742060482502,
0.061974503099918365,
0.023798208683729172,
0.053584106266498566,
0.01430180761963129,
-0.032226741313934326,
0.04370632395148277,
-0.047939661890268326,
0.000010028025826613884,
0.02440841868519783,
-0.030091004446148872,
-0.029881244525313377,
-0.025590701028704643,
0.0434393584728241,
0.0008449985180050135,
-0.033618781715631485,
0.006526391953229904,
-0.015731988474726677,
-0.004087933339178562,
0.026849260553717613,
0.022215474396944046,
0.013272077776491642,
-0.06220332905650139,
-0.012442572973668575,
0.022501511499285698,
-0.055681705474853516,
0.015941748395562172,
0.004281007684767246,
0.026658570393919945,
0.0052869017235934734,
0.04629971832036972,
-0.06552135199308395,
0.0036898665130138397,
0.004199964459985495,
-0.05045677721500397,
-0.03237929195165634,
-0.007865994237363338,
0.054308731108903885,
-0.03977809473872185,
-0.03977809473872185,
0.05564356967806816,
-0.0027268780395388603,
-0.00469576008617878,
0.035239655524492264,
-0.005944784730672836,
0.003461037529632449,
0.061974503099918365,
-0.009238967671990395,
0.02765016257762909,
0.03285602107644081,
-0.020060669630765915,
0.004876916762441397,
0.0006817195098847151,
-0.0440114289522171,
-0.03537314012646675,
-0.0037423064932227135,
-0.04252404347062111,
0.012003984302282333,
0.025876738131046295,
0.016571028158068657,
0.0466429628431797,
0.010211491025984287,
0.0051724873483181,
0.013510441407561302,
0.010611942037940025,
0.01577012613415718,
-0.010564268566668034,
-0.0019676904194056988,
-0.10419344156980515,
0.002284713787958026,
0.057245370000600815,
-0.00023672472161706537,
-0.04008319973945618,
0.010831235907971859,
0.038233499974012375,
0.048244766891002655,
-0.03285602107644081,
0.06777150183916092,
-0.023893553763628006,
0.009467797353863716,
-0.011136340908706188,
-0.017858190461993217,
-0.012881161645054817,
-0.023435896262526512,
0.08337000757455826,
-0.0020582685247063637,
-0.042485903948545456,
-0.03335181623697281,
-0.02837478742003441,
0.004843545611947775,
0.01700008288025856,
-0.002301399363204837,
0.03154025226831436,
-0.014645051211118698,
-0.0723099410533905,
-0.004023575223982334,
0.02986217476427555,
0.00046272308100014925,
-0.08237841725349426,
0.012661867775022984,
0.056711435317993164,
-0.02728785015642643,
0.03844325989484787,
-0.02921382710337639,
-0.012518849223852158,
0.0303961094468832,
-0.025819530710577965,
0.04816848784685135,
-0.01906907744705677,
-0.005839904770255089,
0.009663254953920841,
-0.004092700779438019,
-0.030930044129490852,
0.009153157472610474,
-0.01825864240527153,
0.01301464531570673,
-0.028279442340135574,
0.0008491698536090553,
-0.019221629947423935,
0.01616104319691658,
-0.05072374641895294,
-0.01867816224694252,
0.04115106910467148,
-0.01172748301178217,
0.0009772902121767402,
-0.09618442505598068,
0.03285602107644081,
-0.007651467341929674,
0.024694455787539482,
0.05751233920454979,
0.04057899862527847,
0.08672616630792618,
0.001421838067471981,
0.034209925681352615,
-0.037699565291404724,
0.03752794489264488,
-0.02122388407588005,
-0.029728692024946213,
0.005801766645163298,
-0.061554983258247375,
0.014082513749599457,
-0.034629445523023605,
0.059571798890829086,
0.023836346343159676,
0.02261592634022236,
0.013758338987827301,
-0.019641149789094925,
0.03783304989337921,
-0.014378084801137447,
0.03436247631907463,
-0.03159746155142784,
-0.010259163565933704,
0.004800640046596527,
-0.03258905187249184,
-0.030930044129490852,
0.0029128016903996468,
-0.01397763378918171,
0.04199010878801346,
-0.024370281025767326,
-0.03851953521370888,
0.07574237883090973,
0.09603187441825867,
0.04553695768117905,
-0.02765016257762909,
-0.0043096113950014114,
0.01181329321116209,
0.01253791805356741,
-0.006268959026783705,
0.03011007234454155,
0.01915488764643669,
0.033675990998744965,
0.0075084492564201355,
-0.0018854549853131175,
-0.027383195236325264,
0.06578831374645233,
0.054003626108169556,
-0.07128021121025085,
-0.014702258631587029,
0.002500432776287198,
-0.04275287315249443,
0.03962554410099983,
0.048206627368927,
-0.039549265056848526,
0.0051963236182928085,
-0.06662735342979431,
-0.0168856680393219,
0.020728087052702904,
0.034991756081581116,
-0.02524745836853981,
-0.06994537264108658,
-0.09435379505157471,
-0.01223281305283308,
0.0424477681517601,
0.008099590428173542,
-0.061021048575639725,
-0.03676518052816391,
0.03920602425932884,
-0.0023860184010118246,
-0.010240094736218452,
0.007284387480467558,
0.015064571052789688,
0.003332321299239993,
-0.04065527394413948,
-0.019641149789094925,
-0.024084243923425674,
0.020480189472436905,
0.13027994334697723,
0.03218860179185867,
-0.026181843131780624,
-0.011565395630896091,
0.050227951258420944,
0.06586459279060364,
-0.04568950831890106,
0.0654832124710083,
0.04096037894487381,
0.045003022998571396,
0.0019116749754175544,
0.008843285031616688,
0.026658570393919945,
0.021872231736779213,
0.07295829057693481,
0.006040130276232958,
-0.044163983315229416,
-0.06937330216169357,
-0.01277628168463707,
-0.01960301212966442,
0.04057899862527847,
0.0497702918946743,
-0.013338820077478886,
-0.008571550250053406,
-0.10449854284524918,
-0.007746812887489796,
-0.04061713442206383,
-0.02477073110640049,
0.033981095999479294,
0.01966021955013275,
-0.055567290633916855,
0.021033192053437233,
-0.019889047369360924,
0.05404176563024521,
0.017038220539689064,
0.023817278444767,
-0.012166071683168411,
0.009019673801958561,
0.02032763697206974,
-0.03537314012646675,
-0.08047150820493698,
0.04015947878360748,
-0.018544677644968033,
-0.015150382183492184,
-0.028927790001034737,
0.013424630276858807,
0.027001813054084778,
-0.003294183174148202,
-0.045613233000040054,
-0.0379665344953537,
-0.11807572841644287,
0.05080002173781395,
0.00014011302846483886,
-0.01106959953904152,
0.042791008949279785,
-0.05518591031432152,
-0.04076968878507614,
0.06147870421409607,
-0.058618344366550446,
0.028107820078730583,
0.023893553763628006,
0.03947298973798752,
-0.06807660311460495,
-0.009634651243686676,
0.033733196556568146,
0.05938110873103142,
0.053164586424827576,
0.018382590264081955,
0.024980491027235985,
0.01876397244632244,
0.006497788242995739,
0.007117533124983311,
0.010592872276902199,
0.03175001218914986,
0.06780964136123657,
0.006516857072710991,
0.017648430541157722,
-0.05053305625915527,
-0.04629971832036972,
-0.013348354026675224,
0.04622344300150871,
-0.03350437059998512,
0.06666549295186996,
-0.018830714747309685,
0.00850004144012928,
0.07688651978969574,
0.04523185268044472,
0.008166332729160786,
-0.023073583841323853,
0.03028169460594654,
0.022291751578450203,
0.018411194905638695,
0.030071934685111046,
-0.06044897437095642,
0.0497702918946743,
0.004037877079099417,
0.10411716252565384,
-0.07391174137592316,
0.04012133926153183,
0.026792053133249283,
-0.011002857238054276,
-0.0440114289522171,
0.024789800867438316,
-0.008190168999135494,
-0.023493103682994843,
-0.05217299610376358,
-0.03302764147520065,
0.027268780395388603,
-0.012814420275390148,
-0.05045677721500397,
-0.0003670797450467944,
-0.05960993468761444,
-0.022711271420121193,
-0.0007419062894769013,
-0.027554817497730255,
-0.0012692854506894946,
-0.04240962862968445,
0.05068560689687729,
0.0013980017974972725,
-0.030262626707553864,
0.0890144556760788,
-0.04355377331376076,
-0.06994537264108658,
-0.054613836109638214,
0.05667329952120781,
-0.010078007355332375,
0.022406166419386864,
0.012661867775022984,
-0.015169451013207436,
-0.042485903948545456,
-0.0209378469735384,
-0.03502989560365677,
0.027383195236325264,
0.01741960272192955,
0.07047931104898453,
-0.042981699109077454,
0.03419085592031479,
-0.0209378469735384,
-0.029290102422237396,
-0.009272338822484016,
-0.002805538009852171,
-0.02080436423420906,
0.04767269268631935,
0.023836346343159676,
-0.012804885394871235,
0.0016399406595155597,
0.1026679128408432,
0.0072986893355846405,
-0.030853766947984695,
-0.01847793534398079,
-0.05491894483566284,
0.005081909243017435,
0.002960474230349064,
0.043096113950014114,
-0.03386668115854263,
-0.031635601073503494,
0.033065780997276306,
-0.003453886602073908,
0.014168324880301952,
-0.02866082265973091,
0.017791450023651123,
0.0017579306149855256,
0.037508875131607056,
-0.02423679828643799,
-0.01792493276298046,
-0.00041028312989510596,
-0.04690993204712868,
-0.03766142949461937,
-0.017600758001208305,
-0.024694455787539482,
0.004285775125026703,
-0.028984997421503067,
0.03100631944835186,
0.009162691421806812,
-0.034934550523757935,
-0.044659778475761414,
-0.010240094736218452,
-0.012023053131997585,
0.012852557934820652,
-0.029251964762806892,
0.04240962862968445,
-0.02387448586523533,
0.027001813054084778,
0.006268959026783705,
0.05804627016186714,
-0.011803759261965752,
-0.047520142048597336,
-0.00565398158505559,
0.020709017291665077,
0.01253791805356741,
-0.025400010868906975,
0.024808870628476143,
0.013415096327662468,
-0.009129321202635765,
-0.026544155552983284,
-0.015970353037118912,
0.012185140512883663,
-0.00854294653981924,
-0.01217560563236475,
0.028832444921135902,
0.05480452999472618,
0.044049568474292755
] |
9,710 | requests.sessions | should_strip_auth | Decide whether Authorization header should be removed when redirecting | def should_strip_auth(self, old_url, new_url):
"""Decide whether Authorization header should be removed when redirecting"""
old_parsed = urlparse(old_url)
new_parsed = urlparse(new_url)
if old_parsed.hostname != new_parsed.hostname:
return True
# Special case: allow http -> https redirect when using the standard
# ports. This isn't specified by RFC 7235, but is kept to avoid
# breaking backwards compatibility with older versions of requests
# that allowed any redirects on the same host.
if (
old_parsed.scheme == "http"
and old_parsed.port in (80, None)
and new_parsed.scheme == "https"
and new_parsed.port in (443, None)
):
return False
# Handle default port usage corresponding to scheme.
changed_port = old_parsed.port != new_parsed.port
changed_scheme = old_parsed.scheme != new_parsed.scheme
default_port = (DEFAULT_PORTS.get(old_parsed.scheme, None), None)
if (
not changed_scheme
and old_parsed.port in default_port
and new_parsed.port in default_port
):
return False
# Standard case: root URI must match
return changed_port or changed_scheme
| (self, old_url, new_url) | [
-0.04593190550804138,
0.03205437585711479,
-0.010902478359639645,
0.03606344014406204,
-0.022566860541701317,
0.012199528515338898,
0.03504756838083267,
0.041142795234918594,
-0.005433098413050175,
-0.03390471264719963,
0.01775960996747017,
-0.05173688381910324,
-0.018077069893479347,
0.009333319030702114,
0.025088397786021233,
-0.023256201297044754,
0.031038502231240273,
0.02795460633933544,
0.03248974680900574,
-0.10064384341239929,
0.0030294740572571754,
-0.02496141381561756,
-0.021587269380688667,
0.020480694249272346,
-0.03655323386192322,
0.024362776428461075,
-0.0019138293573632836,
-0.005755093414336443,
0.012145106680691242,
0.001087866839952767,
-0.03903849050402641,
0.03194553032517433,
0.09752366691827774,
0.03940130025148392,
0.08243071287870407,
-0.009714270941913128,
0.05688880383968353,
0.0395464263856411,
0.0008514726650901139,
-0.03392285108566284,
-0.06784570217132568,
0.015791360288858414,
-0.004494324326515198,
0.02868022955954075,
0.04546025022864342,
0.07154637575149536,
-0.059174515306949615,
0.06138766556978226,
-0.0178140327334404,
0.007677993271499872,
-0.02991378679871559,
-0.02501583658158779,
0.011138305068016052,
0.041179075837135315,
0.046222154051065445,
-0.014131498523056507,
0.018267545849084854,
0.03590017184615135,
-0.07531961798667908,
0.04074370488524437,
0.01050338614732027,
0.0025170031003654003,
-0.06672099232673645,
-0.09563704580068588,
0.015718797221779823,
-0.0094875143840909,
-0.028244856745004654,
-0.021424004808068275,
0.007383209187537432,
0.014467098750174046,
-0.048108771443367004,
-0.006104299332946539,
-0.002800449263304472,
-0.003290244610980153,
0.03087523765861988,
0.030331021174788475,
0.013587281107902527,
0.05855773761868477,
0.014249412342905998,
-0.06780942529439926,
0.0044535081833601,
-0.05064845085144043,
0.042158666998147964,
0.00023030010925140232,
-0.0381314642727375,
0.011283430270850658,
-0.0026643951423466206,
-0.05228110030293465,
0.037369560450315475,
0.030240317806601524,
-0.016136029735207558,
-0.011301570571959019,
0.02387298084795475,
-0.060154106467962265,
0.0680633932352066,
0.020244868472218513,
-0.05086613819003105,
0.006498856469988823,
0.00431972136721015,
-0.05474821850657463,
0.005020400509238243,
0.04850786551833153,
-0.03381400927901268,
0.024544181302189827,
-0.0028616737108677626,
-0.039074771106243134,
-0.01758727617561817,
-0.03658951446413994,
-0.023619012907147408,
0.01199091225862503,
-0.029079321771860123,
-0.06643074005842209,
0.06178675591945648,
0.03577318787574768,
-0.0015691586304455996,
-0.04270288348197937,
0.019228996708989143,
-0.0500679537653923,
-0.002789111575111747,
-0.005904753226786852,
-0.03245346620678902,
0.02996820956468582,
0.03853055462241173,
0.003975050989538431,
0.027464812621474266,
0.03573690727353096,
-0.019083872437477112,
-0.03675277903676033,
0.010095222853124142,
0.03383214771747589,
-0.03517455235123634,
0.029224446043372154,
-0.026122409850358963,
-0.04048973694443703,
-0.012081614695489407,
-0.02000904083251953,
-0.04643984138965607,
0.10303839296102524,
0.002068024128675461,
0.03568248823285103,
-0.028462542220950127,
0.009560076519846916,
-0.0032267526257783175,
0.0007670056656934321,
-0.04154188930988312,
0.06399990618228912,
-0.009306108579039574,
-0.006072553340345621,
0.008843524381518364,
0.005360536277294159,
0.025433069095015526,
0.01827661693096161,
0.03459405153989792,
-0.01738772913813591,
-0.013886600732803345,
-0.0026666626799851656,
-0.031002221629023552,
-0.05757814645767212,
-0.015002245083451271,
0.011065742932260036,
0.009904746897518635,
-0.08482526987791061,
0.03165528178215027,
-0.03551921993494034,
0.008789102546870708,
-0.04669380933046341,
0.05373234674334526,
-0.08859850466251373,
0.003539677243679762,
0.001290247542783618,
-0.023274341598153114,
0.07524705678224564,
0.08221302926540375,
0.026267534121870995,
0.07771416753530502,
0.015183650888502598,
0.05159176141023636,
-0.05826748535037041,
-0.04495231434702873,
0.01146483514457941,
0.02501583658158779,
-0.031365033239126205,
-0.01578228920698166,
0.022585000842809677,
0.03386843204498291,
0.05035820230841637,
-0.06026294827461243,
-0.06037179380655289,
-0.010639440268278122,
0.06193188205361366,
-0.0554012767970562,
-0.0006513595581054688,
-0.00297958729788661,
-0.020607678219676018,
0.05892054736614227,
-0.008249420672655106,
-0.0068662031553685665,
0.04393644258379936,
0.06987744569778442,
0.012698394246399403,
-0.03649881109595299,
-0.01882990449666977,
-0.0017120155971497297,
-0.03493872284889221,
0.005383212119340897,
0.012408144772052765,
0.006643981207162142,
-0.02474372647702694,
0.007074819412082434,
0.022331032902002335,
0.005124709103256464,
-0.0010272093350067735,
0.006825386546552181,
0.03686162456870079,
-0.04157816991209984,
0.04088882729411125,
0.023383185267448425,
-0.026430800557136536,
-0.022367313504219055,
0.03747840225696564,
0.025324225425720215,
-0.01747843250632286,
0.04350106790661812,
-0.02087978832423687,
0.0006065750494599342,
-0.017668908461928368,
0.061097413301467896,
0.010294768959283829,
-0.03368702530860901,
-0.0033786797430366278,
0.005650785285979509,
-0.004585027229040861,
-0.006045342423021793,
0.03980039432644844,
0.05946476384997368,
-0.013142837211489677,
0.0013764151372015476,
0.006480716168880463,
0.027555514127016068,
0.013804968446493149,
-0.04284800961613655,
0.01393195241689682,
-0.020680241286754608,
0.057033929973840714,
-0.02276640571653843,
-0.026140550151467323,
-0.03662579506635666,
0.05253506824374199,
-0.044045284390449524,
-0.026213113218545914,
-0.06051691621541977,
-0.012263020500540733,
-0.002954644151031971,
-0.06345568597316742,
-0.01237186323851347,
0.03646253049373627,
-0.11370504647493362,
0.001214283867739141,
-0.04767339676618576,
-0.03468475490808487,
0.009659849107265472,
0.02180495671927929,
0.001958047039806843,
0.05598177760839462,
0.01758727617561817,
0.0008520395494997501,
0.0575418658554554,
-0.0018786820583045483,
0.003950107377022505,
0.0438276007771492,
0.006630375515669584,
-0.0596824511885643,
-0.05580037087202072,
-0.002442173194140196,
0.05881170555949211,
0.03747840225696564,
0.030331021174788475,
-0.05496590584516525,
0.05667111650109291,
0.004238089080899954,
0.05249878764152527,
0.006539672613143921,
-0.04734686762094498,
0.005328790284693241,
0.028335558250546455,
0.04564165696501732,
-0.04676637053489685,
0.001200678525492549,
0.005401352420449257,
-0.020335569977760315,
-0.013677984476089478,
-0.026539642363786697,
0.007505657617002726,
0.010049872100353241,
-0.019428541883826256,
0.08090691268444061,
0.015882061794400215,
-0.03684348240494728,
-0.03802261874079704,
-0.01697956584393978,
-0.03374144807457924,
0.01489340141415596,
-0.03076639398932457,
-0.04371875524520874,
0.05253506824374199,
-0.06534230709075928,
-0.007278900593519211,
0.020281149074435234,
0.012235809117555618,
-0.014204060658812523,
-0.005383212119340897,
0.003095233580097556,
-0.033179089426994324,
-0.05855773761868477,
0.026557784527540207,
0.033433057367801666,
0.030603129416704178,
-0.016326505690813065,
-0.022312892600893974,
0.02866208925843239,
-0.03468475490808487,
0.021224457770586014,
-0.0358094722032547,
0.049995388835668564,
0.020389992743730545,
-0.03147387504577637,
0.0659228041768074,
0.017061199992895126,
-0.028535105288028717,
0.029514694586396217,
-0.043174538761377335,
0.042340073734521866,
-0.009083886630833149,
0.011147376149892807,
-0.04284800961613655,
-0.09266199171543121,
0.0008577084518037736,
-0.04959629848599434,
0.032108794897794724,
-0.02996820956468582,
-0.09222661703824997,
-0.023147357627749443,
0.04038089141249657,
-0.023437606170773506,
0.009641708806157112,
-0.04306569695472717,
-0.027646217495203018,
0.04458950459957123,
-0.0005856000352650881,
-0.07648061215877533,
-0.040090642869472504,
0.006489786319434643,
-0.03361446410417557,
0.006158721167594194,
0.040163204073905945,
0.07016769796609879,
-0.03486616164445877,
-0.025433069095015526,
0.008607696741819382,
-0.009623568505048752,
0.06410875171422958,
-0.049124643206596375,
-0.0035918313078582287,
0.012190458364784718,
-0.010938758961856365,
0.005238087382167578,
0.04974142089486122,
-0.05079357698559761,
-0.041287921369075775,
-0.020589537918567657,
-0.01186392828822136,
-0.05151919648051262,
0.057287897914648056,
-0.07285249978303909,
-0.013142837211489677,
-0.009188194759190083,
-0.007469376549124718,
-0.029278868809342384,
0.012680253013968468,
0.013759616762399673,
0.0459681861102581,
0.04201354458928108,
-0.0026961411349475384,
0.055219873785972595,
-0.02666662633419037,
-0.08613139390945435,
-0.011736944317817688,
0.003700674744322896,
0.00566892558708787,
0.03205437585711479,
-0.005102033261209726,
-0.016825372353196144,
0.016217662021517754,
0.024072526022791862,
-0.02273012511432171,
0.0007902482757344842,
-0.08126971870660782,
-0.018430812284350395,
0.006498856469988823,
0.017124691978096962,
0.03098408132791519,
0.019664369523525238,
0.03248974680900574,
0.036244843155145645,
-0.010621299035847187,
-0.003943304996937513,
0.044045284390449524,
-0.006435364484786987,
-0.017215393483638763,
0.025106538087129593,
0.009061210788786411,
-0.035337816923856735,
-0.02087978832423687,
0.01979135349392891,
0.03374144807457924,
0.03374144807457924,
0.006761894561350346,
0.0049569085240364075,
0.015346916392445564,
0.021623549982905388,
0.02766435779631138,
-0.01881176419556141,
0.00019359381985850632,
0.005909288302063942,
-0.015600883401930332,
-0.0013594083720818162,
-0.004439902491867542,
-0.017650768160820007,
-0.007378673646599054,
-0.05554640293121338,
0.061133697628974915,
0.028099730610847473,
-0.031274329870939255,
0.013723335228860378,
0.017106549814343452,
0.030403582379221916,
0.012281160801649094,
0.0628751888871193,
-0.005120173562318087,
-0.027337828651070595,
-0.0094875143840909,
-0.03568248823285103,
-0.05453053116798401,
0.002770971041172743,
0.07386837154626846,
-0.013868460431694984,
0.012716534547507763,
-0.012163246981799603,
-0.028371840715408325,
0.01749657280743122,
-0.041106514632701874,
0.010575948283076286,
-0.09092050045728683,
-0.00950565468519926,
-0.05939220264554024,
0.032362762838602066,
0.04099767282605171,
0.0477459616959095,
-0.039437584578990936,
0.06617677211761475,
0.01397730316966772,
0.031346891075372696,
-0.027283405885100365,
0.01797729730606079,
-0.00008829352009342983,
0.03595459461212158,
0.019628088921308517,
-0.027972746640443802,
-0.02497955411672592,
0.03082081489264965,
-0.0475645549595356,
-0.0579046756029129,
0.03853055462241173,
0.03856683522462845,
-0.05652599409222603,
0.027573654428124428,
0.01982763409614563,
0.05365978553891182,
0.011609960347414017,
0.05873914062976837,
-0.07354184240102768,
0.025433069095015526,
-0.025632614269852638,
-0.0034217636566609144,
0.015972765162587166,
0.007904750294983387,
-0.02169611304998398,
0.012689323164522648,
0.04836273938417435,
-0.005410422571003437,
0.05837633088231087,
-0.03248974680900574,
-0.03392285108566284,
0.03780493140220642,
-0.005990920588374138,
0.0045668864622712135,
0.009306108579039574,
0.007201803382486105,
0.023038513958454132,
0.016743740066885948,
0.030621269717812538,
0.004006796982139349,
-0.03308838605880737,
0.012090684846043587,
0.061061132699251175,
-0.03564620390534401,
-0.05870286002755165,
-0.025560053065419197,
-0.02100677229464054,
0.03751468285918236,
-0.003988656215369701,
0.03169156238436699,
0.08438989520072937,
-0.019428541883826256,
0.0058140503242611885,
-0.004256229382008314,
-0.016734668985009193,
-0.018104281276464462,
0.020226728171110153,
-0.011628100648522377,
-0.00013782575842924416,
0.01999090053141117,
-0.00843536201864481,
0.003358271671459079,
-0.023165497928857803,
0.0027006762102246284,
-0.04890695586800575,
0.0008435361669398844,
0.015120158903300762,
-0.037151873111724854,
0.0017437615897506475,
0.03573690727353096,
0.026485221460461617,
-0.008208604529500008,
0.035301536321640015,
0.08351915329694748,
-0.053224410861730576,
-0.028408121317625046,
-0.0440090037882328,
-0.0054194931872189045,
-0.0031927390955388546,
-0.006331056356430054,
-0.01997276023030281,
0.05268019437789917,
-0.04546025022864342,
0.059029389172792435,
-0.010485244914889336,
0.005999991204589605,
-0.009632638655602932,
-0.015092948451638222,
-0.07865747809410095,
0.0479273647069931,
0.0759001150727272,
-0.031092924997210503,
0.009723341092467308,
-0.0064081535674631596,
-0.00185940763913095,
0.008367334492504597,
-0.040090642869472504,
0.016181381419301033,
0.005605434067547321,
0.009147378616034985,
-0.004553281236439943,
0.02679361030459404,
-0.036371827125549316,
-0.03564620390534401,
0.061061132699251175,
-0.014739206992089748,
0.011292500421404839,
0.023546449840068817,
0.005850331392139196,
-0.023056654259562492,
-0.053115569055080414,
0.04161445051431656,
0.02265756204724312,
-0.02791832573711872,
0.03802261874079704,
-0.031183626502752304,
0.014340114779770374,
-0.0016179113881662488,
0.03069383278489113,
0.004632646217942238,
0.023238060995936394,
-0.056272026151418686,
-0.014684785157442093,
-0.09650779515504837,
0.010712002404034138,
0.02693873457610607,
0.04745571315288544,
-0.05863029882311821,
-0.050104234367609024,
0.0219138003885746,
0.0029138277750462294,
-0.11181842535734177,
-0.03747840225696564,
-0.024272073060274124,
-0.035337816923856735,
-0.04981398582458496,
-0.0065124621614813805,
0.09737853705883026,
0.015056666918098927,
0.01486619096249342,
0.01984577625989914,
-0.02967796102166176,
0.005655320361256599,
0.006253959145396948,
-0.05434912443161011,
-0.0395464263856411,
-0.06185931712388992,
-0.05743302032351494,
0.05093869939446449,
0.012145106680691242,
0.014321974478662014,
-0.029587257653474808,
0.014249412342905998,
0.04767339676618576,
-0.05681624263525009,
-0.02497955411672592,
-0.010358260944485664,
0.03461219370365143,
0.030331021174788475,
-0.04491603374481201,
0.008312912657856941,
0.019247137010097504,
-0.040235769003629684,
-0.006417224183678627,
0.03586389124393463,
0.06037179380655289,
-0.04077998548746109,
-0.024253932759165764,
-0.022240329533815384,
-0.05144663527607918,
0.04194097965955734,
0.025360506027936935,
-0.036371827125549316,
-0.034340083599090576,
-0.0017414940521121025,
0.022585000842809677,
0.06389106065034866,
-0.019083872437477112,
0.04368247464299202,
-0.027519233524799347,
0.00921087060123682,
-0.009551006369292736,
-0.005034006200730801,
-0.016399068757891655,
0.04937861114740372,
0.023492028936743736,
0.031020361930131912,
-0.05358722060918808,
-0.00026601433637551963,
0.07640805095434189,
0.0849703922867775,
-0.025287944823503494,
-0.04048973694443703,
-0.025324225425720215,
-0.04281172901391983,
0.04564165696501732,
0.06868016719818115,
-0.04462578520178795,
0.07328787446022034,
-0.010566878132522106,
0.11726059764623642,
0.009541936218738556,
0.0024739191867411137,
0.03502942621707916,
0.06842619925737381,
-0.03154643997550011,
0.017197253182530403,
-0.0034557771869003773,
-0.016934216022491455,
-0.045061156153678894,
0.014911542646586895,
0.0017256210558116436,
0.03160085901618004,
-0.027464812621474266,
0.007224479224532843,
-0.019355980679392815,
-0.02374599687755108,
-0.0379500575363636,
-0.018666638061404228,
-0.020480694249272346,
-0.04063485935330391,
-0.03595459461212158,
0.057215332984924316,
0.05641714856028557,
0.008371870033442974,
-0.03156457841396332,
-0.047129180282354355,
-0.006929694674909115,
0.023056654259562492,
-0.005605434067547321,
0.024253932759165764,
0.005705207120627165,
-0.004412692040205002,
0.027519233524799347,
-0.05064845085144043,
0.06381849944591522,
0.009786833077669144,
0.015936484560370445,
0.03675277903676033,
-0.006639446131885052,
0.007931960746645927,
0.01292515080422163,
0.0015895668184384704,
-0.03593645617365837,
-0.032308343797922134,
-0.005637179594486952,
0.020589537918567657,
0.017523784190416336,
-0.07034910470247269,
-0.028389981016516685,
-0.028027169406414032,
-0.02093420922756195,
0.02984122559428215,
-0.01973693259060383,
-0.022439876571297646,
-0.04850786551833153,
0.0327799953520298,
-0.03261673077940941,
0.014340114779770374,
-0.008421756327152252,
0.04872555285692215,
0.05783211439847946,
-0.003501128638163209,
-0.07259853184223175,
-0.009659849107265472,
0.0017845778493210673,
-0.03078453429043293,
-0.006639446131885052,
-0.017859384417533875,
0.04157816991209984,
-0.028988618403673172,
0.049995388835668564,
-0.042267512530088425,
0.05257134884595871,
-0.04585934057831764,
0.038095179945230484,
0.002195008099079132,
0.04905208200216293,
-0.005002260208129883,
-0.0059637101367115974,
0.007954636588692665,
-0.008022664114832878,
-0.009723341092467308,
-0.012535128742456436,
0.01633557677268982,
-0.04263032227754593,
-0.010222206823527813,
0.037224434316158295,
0.029206305742263794,
0.009083886630833149,
-0.010068012401461601,
-0.015718797221779823,
0.002569157164543867,
0.02784576267004013,
-0.04676637053489685,
0.010167784988880157,
0.01598183624446392,
-0.0009512457763776183,
-0.002600903157144785,
0.06784570217132568,
0.015292494557797909,
0.023183638229966164,
0.020625820383429527,
0.023492028936743736,
0.00985032506287098,
0.029351430013775826
] |
9,711 | cloudscraper | simpleException | null | def simpleException(self, exception, msg):
self._solveDepthCnt = 0
sys.tracebacklimit = 0
raise exception(msg)
| (self, exception, msg) | [
0.0027610815595835447,
-0.0066861058585345745,
0.02037336863577366,
0.1307816356420517,
-0.043932266533374786,
-0.04039668291807175,
-0.04687275364995003,
0.02215866558253765,
0.03243286535143852,
-0.0472228117287159,
0.017922963947057724,
0.02088095434010029,
-0.03742118924856186,
-0.013214685954153538,
-0.07365217804908752,
0.039766576141119,
-0.013555992394685745,
0.06539081782102585,
-0.0005267277592793107,
0.018185507506132126,
-0.05142350494861603,
0.036090970039367676,
0.018378039821982384,
0.008650805801153183,
-0.011263112537562847,
0.01125436183065176,
-0.010781783610582352,
0.012698350474238396,
0.07932312041521072,
-0.05198359861969948,
-0.06525079160928726,
-0.03479575365781784,
-0.0772927850484848,
0.013932304456830025,
-0.007570002228021622,
0.010606754571199417,
-0.03388560563325882,
-0.007832545787096024,
-0.040991779416799545,
0.011166847310960293,
-0.01582261733710766,
-0.009311540052294731,
0.0061522675678133965,
-0.014982477761805058,
0.01128061581403017,
-0.075052410364151,
0.027024470269680023,
0.05219363048672676,
-0.02320883795619011,
-0.016172675415873528,
-0.02229868806898594,
0.02058340422809124,
0.06472570449113846,
0.00619602482765913,
-0.010974314995110035,
0.031627729535102844,
0.0027785846032202244,
0.01860557682812214,
0.007311834488064051,
-0.05768954008817673,
0.01860557682812214,
0.020723426714539528,
-0.06721111387014389,
0.050443343818187714,
-0.01696905680000782,
-0.0364060215651989,
-0.006471695378422737,
0.032187823206186295,
0.041691895574331284,
-0.01857057213783264,
0.0009391396888531744,
0.019305692985653877,
-0.045647550374269485,
0.005158978048712015,
0.022211173549294472,
-0.02866974100470543,
-0.03273041173815727,
-0.00020743664936162531,
0.01724035106599331,
-0.006182897370308638,
0.02047838643193245,
0.016934050247073174,
-0.043932266533374786,
0.03672107309103012,
0.017144085839390755,
-0.004808920435607433,
-0.010904303751885891,
-0.0020292417611926794,
0.023296352475881577,
-0.015052489936351776,
-0.020810941234230995,
-0.017082825303077698,
-0.011621922254562378,
0.014676176942884922,
0.012855876237154007,
0.03973156958818436,
0.04750285670161247,
-0.0431971438229084,
-0.014483645558357239,
-0.04151686653494835,
0.021476052701473236,
-0.016636501997709274,
0.01474618911743164,
-0.026674412190914154,
-0.03129517659544945,
-0.04648768901824951,
0.05208861455321312,
-0.03584592789411545,
0.04459737613797188,
0.007399349007755518,
-0.04039668291807175,
-0.010965563356876373,
-0.021108491346240044,
-0.004905186127871275,
-0.04466738924384117,
0.033308010548353195,
-0.02382143959403038,
0.004202882759273052,
0.06567086279392242,
0.011831956915557384,
0.05845966935157776,
0.01274210773408413,
-0.10375715792179108,
-0.029859937727451324,
0.021003473550081253,
0.051458511501550674,
0.01267209555953741,
0.028494711965322495,
0.03798128291964531,
-0.027584562078118324,
0.009836627170443535,
0.011516904458403587,
-0.015463807620108128,
0.017546651884913445,
-0.033955615013837814,
-0.0032227204646915197,
-0.06301042437553406,
-0.03994160518050194,
-0.01983078010380268,
-0.027899613603949547,
-0.026481879875063896,
-0.023191336542367935,
0.004294772632420063,
0.025869278237223625,
0.035985950380563736,
0.01587512530386448,
0.00784129649400711,
-0.018378039821982384,
-0.012190766632556915,
-0.008357631973922253,
0.053838904947042465,
0.02028585597872734,
-0.04456236958503723,
-0.0500582791864872,
-0.0154988132417202,
0.02903730235993862,
0.03154021501541138,
0.0050977179780602455,
0.0027479545678943396,
0.031085141003131866,
-0.018938131630420685,
-0.04704778268933296,
0.005119596607983112,
-0.013100916519761086,
-0.012969644740223885,
-0.008725193329155445,
-0.021633578464388847,
0.04547252133488655,
-0.02968490868806839,
0.02210615575313568,
-0.037596218287944794,
0.007289955858141184,
-0.04949818551540375,
0.020950965583324432,
0.03362306207418442,
0.05562419816851616,
-0.02711198478937149,
0.04253203421831131,
-0.046662718057632446,
-0.0386463925242424,
0.0115081537514925,
-0.004756411537528038,
-0.017686674371361732,
-0.007828169502317905,
0.0067036086693406105,
-0.021353531628847122,
0.014343622140586376,
0.00869893841445446,
0.009722857736051083,
-0.009162764996290207,
-0.0064629437401890755,
-0.006528579629957676,
0.011963228695094585,
0.019235681742429733,
0.02219367027282715,
0.004434796050190926,
0.0020817506592720747,
-0.06528579443693161,
0.0715518370270729,
0.03385059908032417,
-0.054854072630405426,
0.06084006279706955,
0.04708278551697731,
-0.06210027262568474,
0.030385024845600128,
0.037596218287944794,
0.003047691658139229,
0.0075918808579444885,
-0.041551873087882996,
0.02170358970761299,
-0.016575241461396217,
-0.011718188412487507,
0.05194859206676483,
0.017257854342460632,
0.040431685745716095,
-0.0005516146775335073,
0.04001161828637123,
-0.007797539699822664,
0.03013998456299305,
0.06567086279392242,
0.011814453639090061,
-0.02999996207654476,
-0.059299807995557785,
-0.06658101081848145,
0.0017327865352854133,
0.006191649008542299,
-0.0011705061187967658,
-0.023628907278180122,
0.004721405915915966,
-0.07039663940668106,
-0.019585739821195602,
0.011971980333328247,
-0.06724612414836884,
-0.01997080259025097,
0.054048940539360046,
-0.014649922959506512,
0.013678512535989285,
-0.017310362309217453,
-0.001843273639678955,
-0.048728059977293015,
0.014667426235973835,
-0.03910146653652191,
-0.018885623663663864,
0.02599179930984974,
0.030017465353012085,
-0.02984243631362915,
0.025326689705252647,
0.053033772855997086,
-0.005513411946594715,
0.008208857849240303,
-0.003292732173576951,
-0.015253772959113121,
-0.05397892743349075,
-0.02306881546974182,
0.007460609078407288,
-0.08660432696342468,
0.057479508221149445,
-0.010440477170050144,
0.005920354276895523,
0.04480741173028946,
-0.010974314995110035,
-0.009976649656891823,
-0.028844770044088364,
-0.025011636316776276,
0.028862273320555687,
0.020058317109942436,
-0.06633596867322922,
-0.00749999051913619,
0.08499405533075333,
0.010738026350736618,
-0.032187823206186295,
0.009635343216359615,
0.02058340422809124,
0.06924144923686981,
-0.04396727308630943,
0.0574445016682148,
-0.03777124732732773,
0.035373348742723465,
-0.012890881858766079,
0.0728120431303978,
0.0029601771384477615,
-0.005285874009132385,
0.009626592509448528,
0.04683774709701538,
-0.07939313352108002,
0.01117559801787138,
0.01140313595533371,
0.032695408910512924,
-0.024591566994786263,
-0.022771265357732773,
-0.0026013676542788744,
0.0675961822271347,
0.0784129723906517,
-0.009329043328762054,
-0.04991825670003891,
-0.050443343818187714,
0.00676486873999238,
0.016076408326625824,
0.06034998223185539,
0.05740949511528015,
0.05478405952453613,
-0.0013280321145430207,
-0.005867845378816128,
0.01850055903196335,
0.03584592789411545,
-0.06899641454219818,
0.006357926409691572,
0.012663344852626324,
0.022491220384836197,
-0.01026544813066721,
-0.04536750167608261,
0.08282370120286942,
0.023033808916807175,
0.07659266889095306,
0.09738610684871674,
0.03556588292121887,
0.05705943703651428,
-0.01474618911743164,
-0.005049585364758968,
0.09913639724254608,
-0.0016299571143463254,
-0.04904311150312424,
0.03220532462000847,
-0.0036734200548380613,
-0.04967321455478668,
0.008878343738615513,
0.026464376598596573,
-0.04382724687457085,
-0.005150226876139641,
-0.04172690212726593,
0.006874261889606714,
-0.024591566994786263,
-0.016286443918943405,
-0.051668547093868256,
-0.07603257149457932,
0.01795797049999237,
-0.007228695787489414,
-0.027742087841033936,
-0.03460322320461273,
-0.030910111963748932,
-0.00009660777141107246,
0.022491220384836197,
-0.0511784628033638,
-0.007084296550601721,
0.04967321455478668,
0.00045370784937404096,
0.03836634382605553,
-0.056919414550065994,
0.015481310896575451,
0.03948653116822243,
-0.010221690870821476,
-0.0007312928210012615,
-0.017511645331978798,
0.03441069275140762,
-0.01951572857797146,
0.03190777823328972,
-0.01598014310002327,
-0.028249671682715416,
0.012829622253775597,
-0.01911316066980362,
-0.03763122484087944,
0.027497047558426857,
-0.03490077331662178,
-0.0088870944455266,
-0.021108491346240044,
-0.05299876630306244,
-0.004272894002497196,
0.007950689643621445,
-0.005369013175368309,
0.020145831629633904,
-0.03570590540766716,
-0.05250868573784828,
-0.010440477170050144,
0.01806298829615116,
-0.01731911487877369,
0.05481906607747078,
-0.05880972743034363,
0.027952123433351517,
0.0250291395932436,
0.026481879875063896,
0.07232195883989334,
-0.023331359028816223,
-0.04935816302895546,
-0.024749092757701874,
-0.016522733494639397,
-0.01039671991020441,
0.03829633444547653,
0.03801628574728966,
0.0682612881064415,
0.006581088528037071,
-0.031067637726664543,
-0.03255538269877434,
0.0540139339864254,
-0.006493574008345604,
-0.0018027981277555227,
0.008432019501924515,
0.04480741173028946,
0.02812715247273445,
-0.06059502065181732,
0.03327300399541855,
-0.03913647308945656,
0.04039668291807175,
-0.022071151062846184,
0.022648746147751808,
0.03444569557905197,
-0.012777113355696201,
-0.04991825670003891,
0.011849460192024708,
0.027882112190127373,
-0.011184349656105042,
0.005990365520119667,
-0.035880934447050095,
-0.016601495444774628,
-0.016505230218172073,
-0.003802503924816847,
-0.04057171195745468,
0.06392057240009308,
0.004336342215538025,
0.026726920157670975,
0.023226341232657433,
0.015341287478804588,
-0.034463200718164444,
0.010107921436429024,
0.010501736775040627,
-0.024591566994786263,
-0.02270125411450863,
-0.06805125623941422,
-0.01312717143446207,
-0.009066499769687653,
0.029544886201620102,
-0.07645264267921448,
-0.018185507506132126,
0.029107313603162766,
-0.0018531189998611808,
-0.009600337594747543,
-0.049183133989572525,
-0.052718717604875565,
-0.015525068156421185,
0.014151090756058693,
0.027444539591670036,
0.09332543611526489,
-0.00867268443107605,
0.028389696031808853,
-0.043057121336460114,
0.03013998456299305,
0.009967898949980736,
0.06164519488811493,
0.01254082378000021,
-0.03397312015295029,
0.03833134099841118,
0.03570590540766716,
-0.009092753753066063,
0.0036296627949923277,
-0.01638270914554596,
-0.014483645558357239,
-0.033815592527389526,
-0.03434067964553833,
0.031137648969888687,
0.022176166996359825,
0.023891450837254524,
-0.028967291116714478,
0.04046669229865074,
-0.054434001445770264,
0.026271844282746315,
0.014247355982661247,
0.015997646376490593,
0.04841300845146179,
0.011088083498179913,
-0.007552498951554298,
-0.06325545907020569,
0.02716449275612831,
-0.028512215241789818,
-0.0375262051820755,
-0.06420061737298965,
0.017380375415086746,
0.01648772694170475,
-0.0213010236620903,
0.01820301078259945,
0.08688437193632126,
0.011201852932572365,
-0.006292290519922972,
-0.0364060215651989,
0.03766623139381409,
0.021686086431145668,
-0.021406039595603943,
-0.0358109213411808,
0.030875107273459435,
-0.06952150166034698,
0.029194828122854233,
0.0033255501184612513,
-0.031067637726664543,
-0.01846555434167385,
0.008620175532996655,
0.06812126934528351,
0.03938151150941849,
-0.017039068043231964,
-0.10396719723939896,
-0.04596260190010071,
-0.028249671682715416,
-0.07827294617891312,
-0.007171811070293188,
-0.06738614290952682,
-0.024399034678936005,
-0.051108453422784805,
0.006970528047531843,
0.03605596348643303,
0.04505245015025139,
0.018027981743216515,
0.0370011180639267,
-0.03857637941837311,
0.021913623437285423,
0.053383830934762955,
-0.043162137269973755,
0.003513706149533391,
0.055764224380254745,
-0.02494162507355213,
0.012322038412094116,
-0.05068838223814964,
0.036791086196899414,
0.01752914860844612,
0.0466277115046978,
0.019148167222738266,
0.0023256971035152674,
0.02716449275612831,
0.03973156958818436,
-0.07288205623626709,
0.006563585717231035,
0.014501147903501987,
0.051318489015102386,
0.1057174876332283,
0.010466731153428555,
-0.009827875532209873,
-0.0014374252641573548,
0.028739754110574722,
0.06490073353052139,
-0.003730304539203644,
-0.009355297312140465,
-0.02588678151369095,
-0.024206504225730896,
-0.0006459662108682096,
-0.026166828349232674,
-0.0004307352937757969,
0.0011201852466911077,
-0.01876310259103775,
-0.002885789843276143,
-0.013100916519761086,
-0.018483057618141174,
0.017301611602306366,
-0.06287039816379547,
-0.017222847789525986,
0.039521537721157074,
0.016041403636336327,
0.011560661718249321,
0.024101486429572105,
0.079533152282238,
-0.0030586309731006622,
-0.00039135379483923316,
0.043617215007543564,
0.024801602587103844,
0.02336636371910572,
0.005872221197932959,
0.0001743452448863536,
0.05614928528666496,
-0.07260201126337051,
-0.021108491346240044,
0.004216009750962257,
0.0037784373853355646,
0.03516331687569618,
-0.005342758726328611,
0.0014046073192730546,
-0.0011043233098462224,
-0.025764260441064835,
0.0156300850212574,
0.024556562304496765,
-0.031575221568346024,
0.01855306886136532,
0.003826570464298129,
-0.011070581153035164,
0.01669776253402233,
0.03260789439082146,
-0.023016307502985,
-0.03313298150897026,
-0.03362306207418442,
0.0032577263191342354,
0.001284274854697287,
0.027829602360725403,
0.04799293726682663,
-0.0426020473241806,
-0.04340717941522598,
0.017161589115858078,
-0.06017495319247246,
-0.05922979488968849,
0.051353491842746735,
-0.01261958759278059,
-0.015140004456043243,
0.03591594099998474,
0.027217000722885132,
-0.0001457663020119071,
0.042251989245414734,
0.01951572857797146,
-0.022141162306070328,
0.00940780621021986,
0.04718780517578125,
0.0386463925242424,
0.02417149767279625,
0.030209995806217194,
0.002136447001248598,
0.03980158269405365,
0.0045638796873390675,
0.06549583375453949,
-0.012505818158388138,
0.0144923971965909,
0.04984824359416962,
-0.005697192158550024,
-0.10382717102766037,
-0.030717579647898674,
-0.018115496262907982,
0.0179054606705904,
0.05761953070759773,
0.09717607498168945,
0.0036121599841862917,
0.052718717604875565,
-0.07582253962755203,
-0.01766917295753956,
-0.02968490868806839,
0.05320880189538002,
0.054083943367004395,
-0.06276538223028183,
-0.03616097941994667,
0.015700096264481544,
-0.03794627636671066,
0.0852040946483612,
-0.03829633444547653,
-0.0728120431303978,
-0.03304546698927879,
0.01423860527575016,
-0.005767203867435455,
0.06889139115810394,
0.020005809143185616,
0.03630100563168526,
0.01726660504937172,
-0.013836038298904896,
-0.0528937466442585,
-0.009495320729911327,
-0.034463200718164444,
0.022683750838041306,
0.006629221606999636,
-0.08807456493377686,
0.0369311086833477,
0.024714088067412376,
0.006305417977273464,
0.05660436302423477,
-0.05016329512000084,
0.0005918166134506464,
-0.0013619440142065287,
0.010965563356876373,
-0.03140019252896309,
-0.016050154343247414,
0.00010754708637250587,
-0.003006122075021267,
0.012532073073089123,
-0.022718757390975952,
-0.00669923285022378,
-0.019585739821195602,
0.044177304953336716,
0.04295210540294647,
0.022123659029603004,
-0.0033255501184612513,
0.04585758596658707,
-0.050758395344018936,
-0.0023672664538025856,
-0.058494675904512405,
-0.029072308912873268,
-0.02326134778559208,
0.02483660727739334,
0.03283543139696121,
0.01188446581363678,
0.016391461715102196,
-0.07540246844291687,
0.00829637236893177,
0.0287222508341074,
0.0358109213411808,
-0.0494631789624691,
-0.05800459161400795,
0.004391038790345192,
0.0676661878824234,
-0.05012829229235649,
0.027584562078118324,
0.02740953303873539,
-0.013617251999676228,
-0.018588073551654816,
-0.07046665251255035,
-0.0375262051820755,
-0.034865766763687134,
-0.04799293726682663,
0.01850055903196335,
-0.015918882563710213,
-0.08219359070062637,
0.03808629885315895,
-0.04274206981062889,
0.03969656676054001,
0.017634166404604912,
-0.03402562811970711,
0.013520985841751099,
0.026534387841820717,
-0.0213010236620903,
-0.011849460192024708,
0.03192527964711189,
0.011201852932572365,
-0.037806253880262375,
0.00844514649361372,
0.00250947754830122,
0.03252037987112999,
-0.02508164756000042,
-0.021931126713752747,
-0.007534996140748262,
-0.03551337495446205,
0.031732749193906784,
-0.03703612461686134,
-0.0002506469318177551,
-0.012803367339074612,
0.022946294397115707,
-0.0019165669800713658,
-0.008383886888623238,
-0.0009845378808677197,
-0.024801602587103844,
-0.01514875516295433,
-0.0637105405330658,
0.0007772379321977496,
-0.017739184200763702,
-0.017739184200763702,
-0.020548397675156593,
-0.0443873405456543,
0.00037713267374783754,
0.017170339822769165,
-0.02219367027282715,
-0.008471401408314705,
0.04648768901824951,
0.05695442110300064,
0.009066499769687653,
0.014299864880740643,
-0.06532080471515656,
-0.04333716630935669,
-0.029719915241003036,
0.0488680824637413,
0.01846555434167385,
0.024854110553860664,
0.09206523001194,
-0.039416518062353134,
-0.01841304451227188,
0.007241822779178619,
-0.010738026350736618,
0.014046072959899902,
0.06374554336071014,
0.0003500579041428864,
-0.039766576141119,
-0.008541412651538849,
0.032642897218465805,
-0.015131252817809582,
-0.04109679535031319,
-0.008383886888623238,
-0.00006761860277038068,
-0.004590134136378765,
0.05355885997414589,
-0.028897279873490334,
0.08562415838241577,
0.02837219275534153,
0.05243867263197899
] |
9,712 | cloudscraper.cloudflare | Cloudflare | null | class Cloudflare():
def __init__(self, cloudscraper):
self.cloudscraper = cloudscraper
# ------------------------------------------------------------------------------- #
# Unescape / decode html entities
# ------------------------------------------------------------------------------- #
@staticmethod
def unescape(html_text):
if sys.version_info >= (3, 0):
if sys.version_info >= (3, 4):
return html.unescape(html_text)
return HTMLParser().unescape(html_text)
return HTMLParser().unescape(html_text)
# ------------------------------------------------------------------------------- #
# check if the response contains a valid Cloudflare challenge
# ------------------------------------------------------------------------------- #
@staticmethod
def is_IUAM_Challenge(resp):
try:
return (
resp.headers.get('Server', '').startswith('cloudflare')
and resp.status_code in [429, 503]
and re.search(r'/cdn-cgi/images/trace/jsch/', resp.text, re.M | re.S)
and re.search(
r'''<form .*?="challenge-form" action="/\S+__cf_chl_f_tk=''',
resp.text,
re.M | re.S
)
)
except AttributeError:
pass
return False
# ------------------------------------------------------------------------------- #
# check if the response contains new Cloudflare challenge
# ------------------------------------------------------------------------------- #
def is_New_IUAM_Challenge(self, resp):
try:
return (
self.is_IUAM_Challenge(resp)
and re.search(
r'''cpo.src\s*=\s*['"]/cdn-cgi/challenge-platform/\S+orchestrate/jsch/v1''',
resp.text,
re.M | re.S
)
)
except AttributeError:
pass
return False
# ------------------------------------------------------------------------------- #
# check if the response contains a v2 hCaptcha Cloudflare challenge
# ------------------------------------------------------------------------------- #
def is_New_Captcha_Challenge(self, resp):
try:
return (
self.is_Captcha_Challenge(resp)
and re.search(
r'''cpo.src\s*=\s*['"]/cdn-cgi/challenge-platform/\S+orchestrate/(captcha|managed)/v1''',
resp.text,
re.M | re.S
)
)
except AttributeError:
pass
return False
# ------------------------------------------------------------------------------- #
# check if the response contains a Cloudflare hCaptcha challenge
# ------------------------------------------------------------------------------- #
@staticmethod
def is_Captcha_Challenge(resp):
try:
return (
resp.headers.get('Server', '').startswith('cloudflare')
and resp.status_code == 403
and re.search(r'/cdn-cgi/images/trace/(captcha|managed)/', resp.text, re.M | re.S)
and re.search(
r'''<form .*?="challenge-form" action="/\S+__cf_chl_f_tk=''',
resp.text,
re.M | re.S
)
)
except AttributeError:
pass
return False
# ------------------------------------------------------------------------------- #
# check if the response contains Firewall 1020 Error
# ------------------------------------------------------------------------------- #
@staticmethod
def is_Firewall_Blocked(resp):
try:
return (
resp.headers.get('Server', '').startswith('cloudflare')
and resp.status_code == 403
and re.search(
r'<span class="cf-error-code">1020</span>',
resp.text,
re.M | re.DOTALL
)
)
except AttributeError:
pass
return False
# ------------------------------------------------------------------------------- #
# Wrapper for is_Captcha_Challenge, is_IUAM_Challenge, is_Firewall_Blocked
# ------------------------------------------------------------------------------- #
def is_Challenge_Request(self, resp):
if self.is_Firewall_Blocked(resp):
self.cloudscraper.simpleException(
CloudflareCode1020,
'Cloudflare has blocked this request (Code 1020 Detected).'
)
if self.is_New_Captcha_Challenge(resp):
self.cloudscraper.simpleException(
CloudflareChallengeError,
'Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.'
)
if self.is_New_IUAM_Challenge(resp):
self.cloudscraper.simpleException(
CloudflareChallengeError,
'Detected a Cloudflare version 2 challenge, This feature is not available in the opensource (free) version.'
)
if self.is_Captcha_Challenge(resp) or self.is_IUAM_Challenge(resp):
if self.cloudscraper.debug:
print('Detected a Cloudflare version 1 challenge.')
return True
return False
# ------------------------------------------------------------------------------- #
# Try to solve cloudflare javascript challenge.
# ------------------------------------------------------------------------------- #
def IUAM_Challenge_Response(self, body, url, interpreter):
try:
formPayload = re.search(
r'<form (?P<form>.*?="challenge-form" '
r'action="(?P<challengeUUID>.*?'
r'__cf_chl_f_tk=\S+)"(.*?)</form>)',
body,
re.M | re.DOTALL
).groupdict()
if not all(key in formPayload for key in ['form', 'challengeUUID']):
self.cloudscraper.simpleException(
CloudflareIUAMError,
"Cloudflare IUAM detected, unfortunately we can't extract the parameters correctly."
)
payload = OrderedDict()
for challengeParam in re.findall(r'^\s*<input\s(.*?)/>', formPayload['form'], re.M | re.S):
inputPayload = dict(re.findall(r'(\S+)="(\S+)"', challengeParam))
if inputPayload.get('name') in ['r', 'jschl_vc', 'pass']:
payload.update({inputPayload['name']: inputPayload['value']})
except AttributeError:
self.cloudscraper.simpleException(
CloudflareIUAMError,
"Cloudflare IUAM detected, unfortunately we can't extract the parameters correctly."
)
hostParsed = urlparse(url)
try:
payload['jschl_answer'] = JavaScriptInterpreter.dynamicImport(
interpreter
).solveChallenge(body, hostParsed.netloc)
except Exception as e:
self.cloudscraper.simpleException(
CloudflareIUAMError,
f"Unable to parse Cloudflare anti-bots page: {getattr(e, 'message', e)}"
)
return {
'url': f"{hostParsed.scheme}://{hostParsed.netloc}{self.unescape(formPayload['challengeUUID'])}",
'data': payload
}
# ------------------------------------------------------------------------------- #
# Try to solve the Captcha challenge via 3rd party.
# ------------------------------------------------------------------------------- #
def captcha_Challenge_Response(self, provider, provider_params, body, url):
try:
formPayload = re.search(
r'<form (?P<form>.*?="challenge-form" '
r'action="(?P<challengeUUID>.*?__cf_chl_captcha_tk__=\S+)"(.*?)</form>)',
| (cloudscraper) | [
0.011384225450456142,
-0.03451928868889809,
-0.05881206691265106,
0.05726844444870949,
-0.058503344655036926,
-0.01991274766623974,
-0.00794483907520771,
-0.015214342623949051,
-0.0296182818710804,
0.007057255133986473,
0.04090603068470955,
0.06386743485927582,
-0.007814595475792885,
-0.002901530358940363,
-0.009633177891373634,
-0.053756698966026306,
0.029097309336066246,
0.030332207679748535,
0.0014399116626009345,
-0.08242951333522797,
-0.0453825406730175,
0.0016256289090961218,
0.006444629747420549,
0.07849327474832535,
0.00009089894592761993,
0.03139344975352287,
0.012850668281316757,
0.012821725569665432,
-0.03255116939544678,
0.00020938413217663765,
-0.024177009239792824,
0.0010105912806466222,
-0.024119121953845024,
0.02296140417456627,
-0.0014628247590735555,
-0.05819461867213249,
0.02213170751929283,
-0.023270130157470703,
-0.08675166219472885,
0.024987410753965378,
-0.06460066139698029,
0.021591437980532646,
-0.041176166385412216,
-0.0600469671189785,
-0.048006702214479446,
0.023675329983234406,
-0.05479864776134491,
0.05939092859625816,
-0.026164423674345016,
-0.07617783546447754,
0.01117197796702385,
-0.025874994695186615,
0.024061236530542374,
0.006700292229652405,
0.07884059101343155,
0.03143204003572464,
-0.030062073841691017,
0.05066945403814316,
0.006024956703186035,
-0.031682878732681274,
-0.010438756085932255,
-0.02354026399552822,
-0.04275837913155556,
0.04152348265051842,
-0.008991609327495098,
0.06591273844242096,
-0.0013072564033791423,
0.01467407401651144,
-0.0057307034730911255,
-0.04495804384350777,
0.0005113253719173372,
0.02471727691590786,
-0.03172146901488304,
-0.013419879600405693,
0.0444563664495945,
-0.03075670450925827,
0.03791525959968567,
-0.02409982681274414,
0.003716756822541356,
0.006049076095223427,
0.024640096351504326,
-0.0006596579914912581,
0.014645131304860115,
-0.08821810036897659,
0.028904356062412262,
-0.06490938365459442,
0.0735536739230156,
-0.03148992732167244,
-0.042526837438344955,
0.01864890567958355,
-0.04395468905568123,
-0.04665603116154671,
0.010351927019655704,
0.02166862040758133,
0.014278520829975605,
0.05665099620819092,
0.022826338186860085,
-0.03446140140295029,
-0.01729823462665081,
-0.021996639668941498,
0.016526423394680023,
0.09462413936853409,
-0.04773656651377678,
0.009107381105422974,
0.04565267637372017,
-0.024640096351504326,
-0.05908220261335373,
0.011191273108124733,
0.0036178682930767536,
-0.02222818322479725,
-0.06614428013563156,
-0.06375166773796082,
-0.03266694024205208,
-0.0020609789062291384,
0.061088912189006805,
-0.047041937708854675,
-0.059854015707969666,
-0.00047514672041870654,
0.006488043814897537,
0.03359311446547508,
-0.002940121106803417,
-0.03311073035001755,
-0.02894294634461403,
0.0012686658883467317,
0.007293622475117445,
0.010091440752148628,
-0.030795294791460037,
0.0029232376255095005,
0.011027262546122074,
0.006618287414312363,
-0.012223571538925171,
0.058156028389930725,
-0.009391986764967442,
0.049511734396219254,
-0.012696306221187115,
0.03295636922121048,
-0.009502934291958809,
-0.003883178811520338,
0.002332319039851427,
0.0064783962443470955,
0.005286911502480507,
-0.024755867198109627,
-0.01609227806329727,
-0.04866274073719978,
0.00764576205983758,
-0.013101506978273392,
0.024640096351504326,
-0.07316777110099792,
-0.06583555787801743,
-0.06568119674921036,
0.05101676657795906,
-0.00337185338139534,
0.03978690505027771,
-0.009391986764967442,
0.006565225310623646,
0.003106543095782399,
0.001154702971689403,
-0.01703774742782116,
-0.005745174828916788,
-0.02433137036859989,
-0.01046769879758358,
-0.03669965639710426,
-0.02601006254553795,
-0.005209730472415686,
0.03031291253864765,
-0.03351593390107155,
0.07783722877502441,
-0.055107370018959045,
-0.006106961984187365,
0.0735536739230156,
-0.017597312107682228,
0.017790265381336212,
-0.09230870753526688,
0.04943455383181572,
-0.015667781233787537,
0.06143622845411301,
0.014722312800586224,
-0.043993279337882996,
0.00493959616869688,
-0.0369504950940609,
-0.029213082045316696,
-0.00246979808434844,
-0.04318287596106529,
0.010583470575511456,
0.03432633355259895,
-0.0039024739526212215,
0.038050327450037,
0.007978606037795544,
0.03249328210949898,
0.06375166773796082,
-0.010602766647934914,
0.009565643966197968,
0.022305363789200783,
-0.008663589134812355,
0.05421978607773781,
-0.021861571818590164,
0.0005143402959220111,
-0.004411387722939253,
0.012783135287463665,
-0.0905335396528244,
-0.035522643476724625,
0.023405196145176888,
0.004715288523584604,
-0.028421973809599876,
-0.02595217525959015,
0.03384395316243172,
-0.04993623122572899,
0.04268119856715202,
-0.021417781710624695,
0.028865765780210495,
-0.051209721714258194,
0.020105700939893723,
-0.027109893038868904,
-0.02026006206870079,
-0.0065748728811740875,
-0.04835401847958565,
0.05051508918404579,
0.00936786737293005,
-0.011326340027153492,
0.004534394945949316,
0.022382546216249466,
-0.017877094447612762,
-0.043144285678863525,
0.006425334140658379,
-0.05221307650208473,
0.03378606587648392,
-0.004628459457308054,
0.10195635259151459,
0.002571098506450653,
-0.10126172751188278,
0.008470635861158371,
0.01917952671647072,
0.06575837731361389,
0.003970007412135601,
0.03324579820036888,
-0.026878349483013153,
0.03878355026245117,
0.03895720839500427,
0.0131786884739995,
0.0031186025589704514,
0.03243539482355118,
-0.016101926565170288,
0.010737833566963673,
0.018427008762955666,
-0.05379528924822807,
0.028421973809599876,
0.012348990887403488,
0.013921557925641537,
0.027843115851283073,
-0.017018452286720276,
-0.029309557750821114,
-0.07455702871084213,
-0.017163166776299477,
-0.049357373267412186,
-0.03230033069849014,
-0.04792952165007591,
0.0228070430457592,
0.006637582555413246,
0.09284897148609161,
-0.006922188214957714,
0.06178354471921921,
-0.038513414561748505,
0.019777679815888405,
0.049511734396219254,
-0.06031710281968117,
0.02811324968934059,
0.008798656053841114,
0.01218498032540083,
-0.021572142839431763,
-0.03069881908595562,
0.05769294127821922,
0.009102556854486465,
-0.0005481070838868618,
-0.006468748673796654,
-0.03212667256593704,
-0.004638107493519783,
-0.010226507671177387,
0.05834897980093956,
-0.03596643730998039,
-0.013747899793088436,
0.04638589546084404,
-0.0016702492721378803,
0.0021164529025554657,
-0.010564175434410572,
0.005667993798851967,
0.016642194241285324,
-0.035696301609277725,
0.05537750571966171,
0.014432882890105247,
-0.014654778875410557,
-0.06162918359041214,
-0.01218498032540083,
0.07995971292257309,
-0.028402678668498993,
-0.012821725569665432,
-0.004568161908537149,
-0.02990771271288395,
-0.030621638521552086,
0.0007422660128213465,
-0.04013422131538391,
-0.0221702978014946,
0.005851299036294222,
0.057538580149412155,
-0.016989510506391525,
-0.03380536288022995,
-0.043375831097364426,
0.02741861902177334,
-0.014548654668033123,
0.031567107886075974,
-0.014915265142917633,
0.018687495961785316,
0.015822144225239754,
0.01185696106404066,
-0.014326758682727814,
0.038050327450037,
-0.0072260890156030655,
0.05854193493723869,
0.017462244257330894,
0.007206793874502182,
0.006531458348035812,
0.017201758921146393,
-0.012387581169605255,
0.017819207161664963,
0.04441777616739273,
0.052174486219882965,
-0.05896643176674843,
0.06745636463165283,
-0.042912743985652924,
0.044610727578401566,
-0.03272482380270958,
-0.0019005868816748261,
0.007192322518676519,
-0.04113757610321045,
-0.015378352254629135,
0.04306710511445999,
-0.0022056938614696264,
-0.02020217664539814,
-0.06494797021150589,
-0.003133073914796114,
-0.07069797068834305,
-0.005503983702510595,
-0.011490349657833576,
-0.03504025936126709,
0.013024326413869858,
0.006150376051664352,
-0.06251676380634308,
0.03249328210949898,
-0.012657715938985348,
-0.02392616868019104,
-0.014153101481497288,
-0.0013916733441874385,
-0.08281541615724564,
0.048624150454998016,
0.04688757285475731,
0.04271978884935379,
-0.009917783550918102,
-0.03125838190317154,
-0.025489088147878647,
0.01467407401651144,
-0.0046501667238771915,
0.046810392290353775,
-0.01785779744386673,
-0.04256542772054672,
0.0301392562687397,
-0.03945888578891754,
-0.06614428013563156,
0.04333724081516266,
0.006927012000232935,
0.04318287596106529,
-0.0063915676437318325,
0.027283551171422005,
0.0032199027482420206,
-0.00974894966930151,
-0.09230870753526688,
0.02662751078605652,
-0.021186238154768944,
0.051557037979364395,
0.016140516847372055,
-0.050090592354536057,
0.03390184044837952,
0.034905195236206055,
0.06950166076421738,
-0.07042783498764038,
-0.0024541206657886505,
-0.0038373523857444525,
-0.08428186178207397,
-0.021687915548682213,
0.04322146624326706,
0.03102683834731579,
0.020838921889662743,
0.02398405596613884,
-0.02788170613348484,
0.06768790632486343,
0.026048652827739716,
-0.025199659168720245,
0.010265098884701729,
-0.022035229951143265,
0.01829194277524948,
0.0012186187086626887,
-0.0073708039708435535,
0.013333050534129143,
-0.007534814067184925,
0.017780616879463196,
-0.008219797164201736,
0.02137918956577778,
0.017693787813186646,
0.05140267312526703,
0.014539007097482681,
0.019777679815888405,
0.040327172726392746,
-0.021359894424676895,
0.007515518460422754,
-0.014625836163759232,
-0.052714753895998,
-0.08991608768701553,
-0.016352765262126923,
-0.02929026260972023,
0.024254189804196358,
-0.008933722972869873,
0.0377608984708786,
0.032975662499666214,
-0.03945888578891754,
-0.011499997228384018,
0.019459307193756104,
-0.043260056525468826,
0.035136736929416656,
0.03345804661512375,
0.010737833566963673,
-0.025411907583475113,
-0.009710358455777168,
0.021012580022215843,
0.08173488080501556,
-0.04063589870929718,
-0.052058715373277664,
0.010130031034350395,
-0.001430263975635171,
-0.05858052521944046,
0.03949747607111931,
0.012889259494841099,
-0.018272647634148598,
-0.008427221328020096,
0.011721893213689327,
-0.034287743270397186,
0.0114035215228796,
0.0838959589600563,
0.006820887792855501,
-0.03239680454134941,
-0.004623635672032833,
-0.022729860618710518,
-0.047041937708854675,
-0.017693787813186646,
0.014567949809134007,
-0.014153101481497288,
0.030679523944854736,
-0.04623153433203697,
0.09215434640645981,
0.015117865987122059,
0.03527180477976799,
-0.003359793685376644,
0.008137792348861694,
-0.04599998891353607,
0.024640096351504326,
0.08428186178207397,
0.021919459104537964,
-0.014056624844670296,
0.0829697847366333,
0.023887578397989273,
0.00037113300641067326,
-0.027052007615566254,
-0.01376719493418932,
-0.04233388230204582,
-0.03407549485564232,
0.014288168400526047,
-0.018755029886960983,
0.043144285678863525,
-0.005393035709857941,
-0.028402678668498993,
-0.009170090779662132,
-0.0057789417915046215,
0.0008333156583830714,
-0.0095270536839962,
0.014230282045900822,
0.026781873777508736,
-0.05942951887845993,
0.003615456400439143,
-0.12518788874149323,
0.02550838328897953,
-0.030158551409840584,
-0.0011733953142538667,
-0.015754610300064087,
-0.02691694162786007,
-0.003432151162996888,
0.01695092022418976,
0.0077036479488015175,
-0.01586073450744152,
0.04287415370345116,
0.016497479751706123,
0.034731537103652954,
0.03120049647986889,
-0.06965602934360504,
-0.014703016728162766,
0.0015617131721228361,
-0.05711408331990242,
0.0005212745163589716,
0.052444618195295334,
-0.01218498032540083,
-0.00846098829060793,
0.0382239855825901,
0.04275837913155556,
0.050592269748449326,
-0.05221307650208473,
-0.0261837188154459,
0.07228018343448639,
-0.05039931833744049,
-0.008417573757469654,
0.04333724081516266,
-0.019304946064949036,
0.015117865987122059,
-0.06054864451289177,
0.009035022929310799,
0.020009223371744156,
0.042796969413757324,
0.0377608984708786,
-0.013583890162408352,
0.026106538251042366,
0.08266105502843857,
0.014539007097482681,
-0.01695092022418976,
0.01692197658121586,
-0.010651004500687122,
-0.009319628588855267,
-0.017114929854869843,
0.04928019270300865,
0.011943789198994637,
0.0034876251593232155,
0.04086744040250778,
-0.00576929422095418,
-0.03982549533247948,
-0.044610727578401566,
-0.023270130157470703,
-0.004266672767698765,
0.028479859232902527,
-0.03608220815658569,
-0.04966609552502632,
-0.015320466831326485,
-0.05603354424238205,
0.01670972816646099,
0.022035229951143265,
-0.04982046037912369,
-0.016487831249833107,
-0.014693369157612324,
0.00014637292770203203,
0.05039931833744049,
-0.04368455335497856,
0.027727343142032623,
-0.004775586072355509,
0.042642608284950256,
0.02409982681274414,
0.02184227667748928,
-0.007650585845112801,
0.010351927019655704,
-0.08196642249822617,
-0.06128186732530594,
-0.06791944801807404,
-0.08420468121767044,
-0.03291777893900871,
0.03183724358677864,
0.0832013264298439,
-0.04125334694981575,
-0.03675754368305206,
0.031567107886075974,
0.055609047412872314,
0.08497649431228638,
0.02952180616557598,
-0.046540260314941406,
-0.011615769006311893,
-0.028518451377749443,
-0.005089134909212589,
0.0686526671051979,
-0.01024580281227827,
0.005209730472415686,
0.014278520829975605,
0.0015617131721228361,
-0.05491441860795021,
-0.02076174132525921,
-0.03376677259802818,
0.034056201577186584,
0.014567949809134007,
-0.0036902257706969976,
0.020838921889662743,
-0.06965602934360504,
-0.003347734222188592,
0.015079275704920292,
-0.009039847180247307,
-0.005441274028271437,
0.0834328681230545,
-0.0018125521019101143,
0.03451928868889809,
0.030679523944854736,
0.03255116939544678,
-0.01785779744386673,
-0.0061117857694625854,
-0.028074659407138824,
-0.03341945633292198,
0.05028354749083519,
0.029270967468619347,
-0.06328857690095901,
-0.04295133426785469,
0.010438756085932255,
-0.04970468953251839,
0.051325492560863495,
-0.013275165110826492,
0.019854862242937088,
0.012059560976922512,
0.0007410600665025413,
-0.009218328632414341,
-0.06884562224149704,
0.02884647063910961,
0.004884122405201197,
0.020105700939893723,
0.008041315712034702,
0.027399323880672455,
-0.004213610664010048,
0.017452597618103027,
-0.01055452786386013,
-0.0006873949896544218,
0.013718957081437111,
-0.022594794631004333,
-0.05557045713067055,
0.06344293802976608,
0.03561912104487419,
0.018224408850073814,
-0.003210255177691579,
-0.0010250627528876066,
-0.028344793245196342,
0.08312414586544037,
0.016970215365290642,
0.023906873539090157,
-0.013670718297362328,
0.04090603068470955,
-0.017790265381336212,
-0.004662226419895887,
-0.03322650492191315,
0.006960778962820768,
-0.01864890567958355,
-0.009502934291958809,
-0.013082211837172508,
-0.06328857690095901,
0.06051005423069,
-0.023733217269182205,
-0.05174998939037323,
0.056959718465805054,
0.012995382770895958,
-0.027688752859830856,
-0.04187079519033432,
-0.019092697650194168,
0.01915058307349682,
0.03916945680975914,
0.014336406253278255,
-0.015928268432617188,
-0.01834982819855213,
0.04565267637372017,
0.07008051872253418,
-0.08242951333522797,
0.013776842504739761,
0.007105493452399969,
0.10859394073486328,
-0.028460564091801643,
-0.014596892520785332,
0.023964760825037956,
0.011866608634591103,
-0.017674492672085762,
0.01758766360580921,
0.015870383009314537,
0.026318786665797234,
0.034287743270397186,
-0.02714848518371582,
-0.015185399912297726,
-0.0047538792714476585,
0.03837834671139717,
0.07783722877502441,
0.02952180616557598,
-0.0749429389834404,
0.00681606400758028,
0.03172146901488304,
-0.004606752190738916,
0.043375831097364426,
-0.007119964808225632,
-0.04723488911986351,
-0.006864302325993776,
-0.050090592354536057,
0.013931205496191978,
0.015783553943037987,
0.009170090779662132,
0.03353522717952728,
0.010419460944831371,
-0.006468748673796654,
0.015754610300064087,
0.014731960371136665,
0.02527683973312378,
0.03531039506196976,
-0.03486660495400429,
-0.0031740765552967787,
0.004585045389831066,
-0.01368036586791277,
0.028421973809599876,
-0.0189962200820446,
-0.022035229951143265,
0.004720112308859825,
-0.005277263931930065,
0.037780191749334335,
0.021302009001374245,
0.0381660982966423,
0.028904356062412262,
-0.025585565716028214,
0.020009223371744156,
-0.03494378551840782,
0.013728604651987553,
0.025759221985936165,
-0.0018692320445552468,
0.03324579820036888,
0.01680620387196541,
0.04553690180182457,
0.02946392074227333,
-0.004575397353619337,
0.03791525959968567,
-0.0018668200355023146,
-0.023212242871522903,
0.05043790861964226,
0.010795718990266323,
-0.05360233783721924,
0.02201593481004238,
-0.05263757333159447,
0.0041894917376339436,
-0.06892280280590057,
-0.06768790632486343,
0.011046557687222958,
-0.02054949291050434,
-0.04758220538496971,
0.03301425650715828,
-0.0006463924655690789,
-0.04958891496062279,
-0.03147063031792641,
-0.051557037979364395,
0.043028514832258224,
0.03915015980601311,
0.008760064840316772,
0.018783973529934883,
0.01768414117395878,
0.018870800733566284,
0.022247478365898132,
-0.004109898582100868,
-0.01145175937563181,
-0.0021514256950467825,
0.02251761220395565,
0.03421056270599365,
0.013776842504739761,
0.007833890616893768,
0.010371223092079163,
0.017201758921146393,
0.018947983160614967,
0.00008396469638682902,
0.02064596861600876,
0.04843119904398918,
0.01972944289445877,
-0.014693369157612324,
0.003914533648639917,
0.02290351875126362
] |
9,713 | cloudscraper.cloudflare | Challenge_Response | null | def Challenge_Response(self, resp, **kwargs):
if self.is_Captcha_Challenge(resp):
# ------------------------------------------------------------------------------- #
# double down on the request as some websites are only checking
# if cfuid is populated before issuing Captcha.
# ------------------------------------------------------------------------------- #
if self.cloudscraper.doubleDown:
resp = self.cloudscraper.decodeBrotli(
self.cloudscraper.perform_request(resp.request.method, resp.url, **kwargs)
)
if not self.is_Captcha_Challenge(resp):
return resp
# ------------------------------------------------------------------------------- #
# if no captcha provider raise a runtime error.
# ------------------------------------------------------------------------------- #
if (
not self.cloudscraper.captcha
or not isinstance(self.cloudscraper.captcha, dict)
or not self.cloudscraper.captcha.get('provider')
):
self.cloudscraper.simpleException(
CloudflareCaptchaProvider,
"Cloudflare Captcha detected, unfortunately you haven't loaded an anti Captcha provider "
"correctly via the 'captcha' parameter."
)
# ------------------------------------------------------------------------------- #
# if provider is return_response, return the response without doing anything.
# ------------------------------------------------------------------------------- #
if self.cloudscraper.captcha.get('provider') == 'return_response':
return resp
# ------------------------------------------------------------------------------- #
# Submit request to parser wrapper to solve captcha
# ------------------------------------------------------------------------------- #
submit_url = self.captcha_Challenge_Response(
self.cloudscraper.captcha.get('provider'),
self.cloudscraper.captcha,
resp.text,
resp.url
)
else:
# ------------------------------------------------------------------------------- #
# Cloudflare requires a delay before solving the challenge
# ------------------------------------------------------------------------------- #
if not self.cloudscraper.delay:
try:
delay = float(
re.search(
r'submit\(\);\r?\n\s*},\s*([0-9]+)',
resp.text
).group(1)
) / float(1000)
if isinstance(delay, (int, float)):
self.cloudscraper.delay = delay
except (AttributeError, ValueError):
self.cloudscraper.simpleException(
CloudflareIUAMError,
"Cloudflare IUAM possibility malformed, issue extracing delay value."
)
time.sleep(self.cloudscraper.delay)
# ------------------------------------------------------------------------------- #
submit_url = self.IUAM_Challenge_Response(
resp.text,
resp.url,
self.cloudscraper.interpreter
)
# ------------------------------------------------------------------------------- #
# Send the Challenge Response back to Cloudflare
# ------------------------------------------------------------------------------- #
if submit_url:
def updateAttr(obj, name, newValue):
try:
obj[name].update(newValue)
return obj[name]
except (AttributeError, KeyError):
obj[name] = {}
obj[name].update(newValue)
return obj[name]
cloudflare_kwargs = deepcopy(kwargs)
cloudflare_kwargs['allow_redirects'] = False
cloudflare_kwargs['data'] = updateAttr(
cloudflare_kwargs,
'data',
submit_url['data']
)
urlParsed = urlparse(resp.url)
cloudflare_kwargs['headers'] = updateAttr(
cloudflare_kwargs,
'headers',
{
'Origin': f'{urlParsed.scheme}://{urlParsed.netloc}',
'Referer': resp.url
}
)
challengeSubmitResponse = self.cloudscraper.request(
'POST',
submit_url['url'],
**cloudflare_kwargs
)
if challengeSubmitResponse.status_code == 400:
self.cloudscraper.simpleException(
CloudflareSolveError,
'Invalid challenge answer detected, Cloudflare broken?'
)
# ------------------------------------------------------------------------------- #
# Return response if Cloudflare is doing content pass through instead of 3xx
# else request with redirect URL also handle protocol scheme change http -> https
# ------------------------------------------------------------------------------- #
if not challengeSubmitResponse.is_redirect:
return challengeSubmitResponse
else:
cloudflare_kwargs = deepcopy(kwargs)
cloudflare_kwargs['headers'] = updateAttr(
cloudflare_kwargs,
'headers',
{'Referer': challengeSubmitResponse.url}
)
if not urlparse(challengeSubmitResponse.headers['Location']).netloc:
redirect_location = urljoin(
challengeSubmitResponse.url,
challengeSubmitResponse.headers['Location']
)
else:
redirect_location = challengeSubmitResponse.headers['Location']
return self.cloudscraper.request(
resp.request.method,
redirect_location,
**cloudflare_kwargs
)
# ------------------------------------------------------------------------------- #
# We shouldn't be here...
# Re-request the original query and/or process again....
# ------------------------------------------------------------------------------- #
return self.cloudscraper.request(resp.request.method, resp.url, **kwargs)
| (self, resp, **kwargs) | [
0.01255895011126995,
-0.0070040300488471985,
-0.07643570005893707,
0.06163546442985535,
-0.08339142799377441,
-0.019514676183462143,
-0.022876610979437828,
0.013534683734178543,
0.011689484119415283,
-0.012694200500845909,
0.04563729465007782,
0.0457918643951416,
-0.005192643031477928,
0.008037728257477283,
0.017369994893670082,
-0.06905490159988403,
0.03236344829201698,
0.021833252161741257,
-0.005105696152895689,
-0.07856106758117676,
0.012491324916481972,
0.0002563112648203969,
-0.004446351435035467,
0.04710572585463524,
0.015969188883900642,
0.03574470430612564,
-0.0024139750748872757,
-0.002359633566811681,
-0.03723245859146118,
0.035049133002758026,
0.009960213676095009,
0.027127332985401154,
-0.03479795157909393,
0.05104730278253555,
-0.010317660868167877,
-0.014993454329669476,
-0.014210935682058334,
-0.024557577446103096,
-0.02998690865933895,
0.018423013389110565,
-0.10170817375183105,
0.006651413161307573,
-0.031126875430345535,
-0.055259380489587784,
-0.01941807009279728,
0.0502358004450798,
-0.06090124696493149,
0.03093366138637066,
-0.02135021612048149,
-0.09235658496618271,
-0.0010644918074831367,
-0.008057049475610256,
0.03763820603489876,
0.007747906260192394,
0.06696818768978119,
0.02946523018181324,
-0.040265925228595734,
0.032904449850320816,
0.0023040843661874533,
-0.03309766575694084,
0.0037725153379142284,
-0.0073614767752587795,
-0.03603452816605568,
0.05193608999252319,
-0.016809672117233276,
0.06236967816948891,
0.009390230290591717,
0.020693285390734673,
-0.019437391310930252,
-0.03775413706898689,
0.01558275893330574,
0.010394946672022343,
-0.056225452572107315,
-0.050313085317611694,
0.05773252993822098,
-0.03019944578409195,
0.04018864035606384,
-0.02051939256489277,
-0.004219324328005314,
0.009820133447647095,
0.01595952734351158,
-0.02096378616988659,
0.006269814446568489,
-0.10325389355421066,
-0.004709606524556875,
-0.08339142799377441,
0.0599738173186779,
-0.05448652431368828,
-0.06522925198078156,
0.019678909331560135,
-0.02001703530550003,
-0.0818457156419754,
0.04239128902554512,
0.015437847934663296,
-0.008641524240374565,
0.05522073805332184,
0.024383684620261192,
-0.028016120195388794,
-0.007100637070834637,
-0.04281635954976082,
0.021292250603437424,
0.05773252993822098,
0.013312486931681633,
0.006492011249065399,
0.05564580857753754,
-0.04602372273802757,
-0.02776494063436985,
-0.022625431418418884,
0.013312486931681633,
-0.026122616603970528,
-0.07164397835731506,
-0.04660336673259735,
-0.04726029559969902,
0.013486380688846111,
0.0046081687323749065,
-0.04084556922316551,
-0.06248560920357704,
0.02216171659529209,
0.002796781715005636,
0.03626638278365135,
-0.022992540150880814,
-0.041386570781469345,
0.011689484119415283,
-0.019533997401595116,
-0.01949535496532917,
0.011612198315560818,
-0.04324143007397652,
0.02370743453502655,
-0.025059936568140984,
0.012800468131899834,
-0.009027953259646893,
0.03402509540319443,
-0.0034802784211933613,
0.05846674367785454,
-0.0022726869210600853,
0.060437534004449844,
0.02051939256489277,
0.005438991356641054,
0.025600936263799667,
0.032595306634902954,
0.04517357796430588,
-0.028112726286053658,
-0.012085574679076672,
-0.02844119258224964,
0.06820476055145264,
-0.012945379130542278,
0.023089146241545677,
-0.08609643578529358,
-0.04188892990350723,
-0.05286351963877678,
0.06565432995557785,
0.005173321347683668,
0.06024431809782982,
-0.01772744208574295,
-0.015911223366856575,
-0.00934675708413124,
-0.0198624636977911,
0.01603681407868862,
0.0007112713064998388,
-0.014452453702688217,
0.01358298771083355,
-0.04907651245594025,
0.0018741817912086844,
0.00874779187142849,
0.046989794820547104,
-0.04215943068265915,
0.06932540237903595,
-0.023127790540456772,
0.007723754271864891,
0.07682213187217712,
-0.01240437850356102,
0.008245433680713177,
-0.08733300864696503,
0.012674879282712936,
-0.040575068444013596,
0.04320278763771057,
0.050390373915433884,
-0.045444078743457794,
-0.014162631705403328,
-0.04760808125138283,
-0.0026422098744660616,
-0.023321004584431648,
-0.029851658269762993,
0.03309766575694084,
0.01889638975262642,
-0.02258678898215294,
0.0457918643951416,
0.02104107290506363,
0.0023705018684267998,
0.0375029593706131,
0.0034537112805992365,
0.01824912056326866,
0.0239199697971344,
-0.01295504067093134,
0.05286351963877678,
-0.05440923571586609,
-0.01222082506865263,
0.007612655870616436,
0.028247976675629616,
-0.06596346944570541,
-0.03093366138637066,
-0.013196558691561222,
0.030141480267047882,
-0.02339829131960869,
-0.02140817977488041,
0.055491238832473755,
-0.02917540818452835,
0.01918621174991131,
-0.003695229534059763,
0.010520536452531815,
-0.0474148690700531,
0.022316288203001022,
-0.0253304373472929,
-0.041386570781469345,
-0.053056735545396805,
0.0017123646102845669,
0.05243844911456108,
-0.0231084693223238,
-0.009950553067028522,
0.022393574938178062,
-0.008656014688313007,
-0.010530197061598301,
-0.0322088785469532,
0.005385857541114092,
-0.031493984162807465,
0.022915253415703773,
-0.008878211490809917,
0.10178545862436295,
0.00027638746541924775,
-0.09397958964109421,
-0.02679886855185032,
0.019901106134057045,
0.03211227059364319,
-0.024035898968577385,
0.014722953550517559,
-0.04096150025725365,
0.007675450760871172,
0.04660336673259735,
-0.027204617857933044,
0.035280991345644,
0.06777969002723694,
0.0010536235058680177,
-0.004221739247441292,
0.02258678898215294,
-0.06476554274559021,
0.023089146241545677,
0.01233675330877304,
0.032827164977788925,
0.014529739506542683,
-0.024692827835679054,
-0.0028233486227691174,
-0.0726100504398346,
-0.012191842310130596,
-0.058737244457006454,
-0.0028378397691994905,
-0.023958612233400345,
0.03019944578409195,
-0.027958154678344727,
0.08826043456792831,
0.025369079783558846,
0.051279161125421524,
0.00044409174006432295,
0.030779089778661728,
0.03727110102772713,
-0.05610952526330948,
0.021311571821570396,
-0.0006327778683044016,
-0.0034102380741387606,
0.006607939954847097,
0.005569411441683769,
0.044632576406002045,
0.03763820603489876,
0.0059703318402171135,
0.009969874285161495,
-0.02768765576183796,
0.03477863222360611,
0.009119730442762375,
0.044709861278533936,
-0.013409094884991646,
-0.02022957056760788,
0.06615668535232544,
-0.013901791535317898,
-0.00550178624689579,
-0.040497783571481705,
-0.022393574938178062,
0.02710801176726818,
-0.03582198917865753,
0.1401965320110321,
0.034005772322416306,
0.004584016744047403,
-0.0478399395942688,
0.0002981241268571466,
0.07121890783309937,
-0.023282362148165703,
-0.03553216904401779,
-0.039608996361494064,
-0.03752227872610092,
-0.020867178216576576,
-0.003881198586896062,
-0.0030310542788356543,
-0.04215943068265915,
-0.014607025310397148,
0.02214239537715912,
-0.009254979901015759,
0.008878211490809917,
-0.017978619784116745,
0.05495023727416992,
-0.021755965426564217,
0.0009533934062346816,
-0.02318575419485569,
0.02436436340212822,
0.03300105780363083,
-0.03292377293109894,
-0.016210706904530525,
0.007322833873331547,
0.007762397173792124,
0.08161385357379913,
-0.004062337335199118,
0.00855940766632557,
-0.024267755448818207,
-0.009810471907258034,
-0.03551284596323967,
0.004926973022520542,
0.04494171962141991,
0.03626638278365135,
-0.03388984501361847,
0.024576900526881218,
-0.01037562545388937,
0.028267299756407738,
-0.016713064163923264,
0.01970789209008217,
0.016423242166638374,
-0.048921942710876465,
-0.024035898968577385,
0.0080522196367383,
-0.017408637329936028,
0.005187812726944685,
-0.037831421941518784,
0.017833709716796875,
-0.029078800231218338,
-0.04385972023010254,
-0.03387052193284035,
-0.017089832574129105,
0.02119564451277256,
0.013901791535317898,
-0.02171732299029827,
0.03072112426161766,
-0.014375167898833752,
0.003806327935308218,
-0.0022666489239782095,
-0.004955954849720001,
-0.08138199895620346,
0.05382959172129631,
0.045289505273103714,
0.03147466108202934,
0.0007330079679377377,
-0.032015662640333176,
-0.044864434748888016,
-0.01734101213514805,
-0.009066595695912838,
0.024615542963147163,
-0.030624516308307648,
0.0009829794289544225,
0.058003026992082596,
-0.03361934423446655,
-0.041773002594709396,
-0.00827441643923521,
0.006559636443853378,
0.024499613791704178,
0.01333180908113718,
0.018297424539923668,
0.001082001836039126,
-0.0075546917505562305,
-0.025233829393982887,
0.02260611020028591,
0.00855940766632557,
-0.011786092072725296,
0.01609477773308754,
-0.03417966514825821,
0.019901106134057045,
0.0326339490711689,
0.019398747012019157,
-0.08176842331886292,
-0.006289135664701462,
0.010452911257743835,
-0.07593334466218948,
0.0035068453289568424,
0.030296051874756813,
0.052708949893713,
0.003168719820678234,
0.013708577491343021,
-0.021678680554032326,
0.07272598147392273,
0.0045671104453504086,
-0.017186440527439117,
0.006670734845101833,
-0.03999542444944382,
0.006134564056992531,
-0.014645667746663094,
-0.028035441413521767,
0.014210935682058334,
0.011196787469089031,
-0.009573784656822681,
0.0036131134256720543,
0.009221167303621769,
0.05251573398709297,
0.004306270740926266,
0.009254979901015759,
0.011312715709209442,
0.016355616971850395,
-0.030624516308307648,
0.023591505363583565,
0.022200359031558037,
-0.06175139173865318,
-0.09714831411838531,
0.005830251146107912,
-0.07968170940876007,
0.028228655457496643,
0.013196558691561222,
0.016345957294106483,
0.044052932411432266,
-0.002386200474575162,
-0.009356417693197727,
-0.005574241746217012,
-0.020654642954468727,
0.04644879326224327,
0.0515110157430172,
0.004296610131859779,
-0.011138822883367538,
-0.012162860482931137,
-0.014433132484555244,
0.0672386884689331,
-0.027726298198103905,
0.005303741432726383,
0.03730974346399307,
0.018365049734711647,
-0.048767369240522385,
0.06515196710824966,
-0.008544916287064552,
-0.024113183841109276,
0.0035913768224418163,
-0.01970789209008217,
-0.06507468223571777,
-0.03899070993065834,
0.10959133505821228,
0.0206739641726017,
-0.04200485721230507,
-0.016287991777062416,
-0.008467630483210087,
-0.033484093844890594,
0.04069099947810173,
0.025600936263799667,
0.00893617607653141,
0.06418589502573013,
-0.04123200103640556,
0.07682213187217712,
-0.01447177492082119,
0.017186440527439117,
-0.017157457768917084,
0.003873953130096197,
-0.037928029894828796,
0.005752965342253447,
0.0867920070886612,
-0.0031711349729448557,
0.012964701279997826,
0.13084493577480316,
0.015785634517669678,
0.0038546316791325808,
-0.018113870173692703,
-0.03763820603489876,
-0.03808260336518288,
-0.06662040203809738,
0.01579529605805874,
0.014133649878203869,
0.010211392305791378,
-0.023726755753159523,
-0.027726298198103905,
0.014558721333742142,
-0.01310961227864027,
0.005666018929332495,
-0.014703632332384586,
0.01972721330821514,
0.03686534985899925,
-0.03329087793827057,
0.024055220186710358,
-0.11963849514722824,
0.012240146286785603,
-0.0110422158613801,
0.015524794347584248,
0.006395403761416674,
-0.022760681807994843,
0.02540772221982479,
0.05684374272823334,
0.01244302187114954,
-0.05610952526330948,
0.048535510897636414,
0.0193504448980093,
0.0035889616701751947,
0.0041686054319143295,
-0.04737622290849686,
0.020712606608867645,
0.0007221396663226187,
-0.017737101763486862,
-0.02583279460668564,
0.034894559532403946,
-0.025195186957716942,
-0.01646188646554947,
0.045907795429229736,
0.019698230549693108,
0.05382959172129631,
-0.049424298107624054,
-0.03877817466855049,
0.07179855555295944,
-0.06395404040813446,
-0.010520536452531815,
0.06492011249065399,
-0.008520764298737049,
-0.009032783098518848,
-0.060437534004449844,
0.01358298771083355,
0.03153262659907341,
0.058891814202070236,
0.01177643146365881,
0.012607254087924957,
0.0206739641726017,
0.057114239782094955,
0.051279161125421524,
-0.008366192691028118,
0.012713521718978882,
-0.020867178216576576,
-0.03137805312871933,
-0.029078800231218338,
0.030257409438490868,
0.015824276953935623,
0.008912024088203907,
0.04799451306462288,
-0.043164145201444626,
-0.024615542963147163,
-0.02724326215684414,
-0.025079257786273956,
-0.0073614767752587795,
0.045444078743457794,
-0.02569754421710968,
-0.04930837079882622,
0.006603109650313854,
-0.07419441640377045,
0.01608511619269848,
0.019533997401595116,
-0.013669934123754501,
-0.014123988337814808,
-0.04880601167678833,
-0.006946065463125706,
0.06828204542398453,
-0.026992082595825195,
-0.019166890531778336,
0.028074083849787712,
0.04123200103640556,
0.01170880626887083,
0.011303055100142956,
-0.01955331861972809,
0.024267755448818207,
-0.05935553088784218,
-0.006777002941817045,
-0.07883156836032867,
-0.023301683366298676,
-0.04119335860013962,
0.028074083849787712,
0.08733300864696503,
-0.00919218547642231,
-0.07168262451887131,
0.02724326215684414,
0.020944464951753616,
0.04335736110806465,
0.043743789196014404,
-0.022548146545886993,
0.018336066976189613,
-0.01333180908113718,
-0.04273907467722893,
0.046642009168863297,
-0.009056935086846352,
-0.009438534267246723,
0.002968259621411562,
0.005608054343611002,
-0.04127064347267151,
-0.06600211560726166,
-0.049578871577978134,
0.03980221226811409,
0.012037270702421665,
0.013544345274567604,
0.019959069788455963,
-0.05935553088784218,
0.013013004325330257,
-0.014491096138954163,
0.008839569054543972,
0.011679823510348797,
0.05885317176580429,
-0.030334696173667908,
0.03812124580144882,
0.012327092699706554,
0.026547688990831375,
-0.005110526457428932,
0.011361019685864449,
-0.02813204936683178,
-0.0022183454129844904,
0.013080629520118237,
0.014008060097694397,
-0.08014542609453201,
-0.05440923571586609,
0.004644396249204874,
-0.05780981481075287,
0.03043130226433277,
-0.024924686178565025,
0.026045329868793488,
-0.0036348500289022923,
-0.0169159397482872,
-0.035049133002758026,
-0.07570149004459381,
0.02266407571732998,
-0.01030800025910139,
0.016655100509524345,
-0.014326863922178745,
-0.006516163237392902,
-0.014365507289767265,
0.03775413706898689,
-0.02223900333046913,
0.01933112181723118,
0.02998690865933895,
-0.02009432017803192,
-0.02998690865933895,
0.04436207562685013,
0.011283733882009983,
0.04637150838971138,
0.0004244683659635484,
0.00553559884428978,
-0.009366078302264214,
0.057848457247018814,
0.005352044943720102,
0.04366650432348251,
-0.03346477076411247,
-0.0021712493617087603,
0.0036227740347385406,
0.015389544889330864,
-0.027861548587679863,
-0.00014672234829049557,
0.00277746026404202,
-0.021176321431994438,
-0.007907308638095856,
-0.039029352366924286,
0.04270043224096298,
-0.04548272117972374,
-0.036440275609493256,
0.06503604352474213,
0.032382771372795105,
-0.05796438455581665,
-0.050390373915433884,
-0.04045914113521576,
0.010327321477234364,
0.05220659077167511,
0.0052457768470048904,
-0.012414039112627506,
-0.008544916287064552,
0.04289364442229271,
0.08006814122200012,
-0.1184019222855568,
0.003907765727490187,
0.013041987083852291,
0.06086260452866554,
-0.06789561361074448,
-0.04281635954976082,
0.015331580303609371,
-0.02090582251548767,
-0.04753079637885094,
-0.0042603821493685246,
0.03788938745856285,
0.0474148690700531,
0.017630834132432938,
-0.021021749824285507,
-0.004499485250562429,
-0.0285764429718256,
0.04192757233977318,
0.06634990125894547,
0.004238645546138287,
-0.0726100504398346,
0.04880601167678833,
0.0462169386446476,
-0.032228197902441025,
0.05753931403160095,
-0.013679594732820988,
-0.06333575397729874,
-0.004818289540708065,
0.008820247836411,
-0.002224383410066366,
-0.01170880626887083,
-0.016925601288676262,
0.021601393818855286,
0.03043130226433277,
-0.03738702833652496,
-0.005038071423768997,
0.020558035001158714,
0.07063926756381989,
0.0534818060696125,
-0.024982649832963943,
-0.013157915323972702,
0.01881910301744938,
-0.016133420169353485,
0.02260611020028591,
-0.013380112126469612,
0.0085642384365201,
0.024847399443387985,
-0.01831674575805664,
0.01889638975262642,
0.01151559129357338,
0.008883042261004448,
0.04687386751174927,
-0.02687615342438221,
0.02229696698486805,
-0.03257598355412483,
0.03064383938908577,
0.02681818976998329,
-0.010192071087658405,
0.008390344679355621,
-0.007583674043416977,
0.02902083657681942,
0.008998970501124859,
-0.013457397930324078,
0.0004718663403764367,
0.005438991356641054,
-0.0010161881800740957,
0.06638853996992111,
0.0061249034479260445,
-0.03808260336518288,
0.0024248433765023947,
-0.03524234518408775,
-0.011467287316918373,
-0.0733056291937828,
-0.050699517130851746,
0.01927315816283226,
-0.020809214562177658,
0.015524794347584248,
0.04393700510263443,
-0.031938377767801285,
-0.058891814202070236,
-0.014191613532602787,
-0.048187725245952606,
0.042043499648571014,
0.019311800599098206,
-0.004545373842120171,
0.009317775256931782,
0.04865144193172455,
0.00264945556409657,
0.012926057912409306,
0.020210249349474907,
-0.008206791244447231,
0.006946065463125706,
0.021833252161741257,
0.030624516308307648,
0.011921342462301254,
0.035783346742391586,
0.022277645766735077,
0.034585416316986084,
0.020500071346759796,
-0.019476033747196198,
-0.004175851121544838,
0.01875147968530655,
0.014645667746663094,
0.004683039151132107,
0.019533997401595116,
0.03159059211611748
] |
9,714 | cloudscraper.cloudflare | IUAM_Challenge_Response | null | def IUAM_Challenge_Response(self, body, url, interpreter):
try:
formPayload = re.search(
r'<form (?P<form>.*?="challenge-form" '
r'action="(?P<challengeUUID>.*?'
r'__cf_chl_f_tk=\S+)"(.*?)</form>)',
body,
re.M | re.DOTALL
).groupdict()
if not all(key in formPayload for key in ['form', 'challengeUUID']):
self.cloudscraper.simpleException(
CloudflareIUAMError,
"Cloudflare IUAM detected, unfortunately we can't extract the parameters correctly."
)
payload = OrderedDict()
for challengeParam in re.findall(r'^\s*<input\s(.*?)/>', formPayload['form'], re.M | re.S):
inputPayload = dict(re.findall(r'(\S+)="(\S+)"', challengeParam))
if inputPayload.get('name') in ['r', 'jschl_vc', 'pass']:
payload.update({inputPayload['name']: inputPayload['value']})
except AttributeError:
self.cloudscraper.simpleException(
CloudflareIUAMError,
"Cloudflare IUAM detected, unfortunately we can't extract the parameters correctly."
)
hostParsed = urlparse(url)
try:
payload['jschl_answer'] = JavaScriptInterpreter.dynamicImport(
interpreter
).solveChallenge(body, hostParsed.netloc)
except Exception as e:
self.cloudscraper.simpleException(
CloudflareIUAMError,
f"Unable to parse Cloudflare anti-bots page: {getattr(e, 'message', e)}"
)
return {
'url': f"{hostParsed.scheme}://{hostParsed.netloc}{self.unescape(formPayload['challengeUUID'])}",
'data': payload
}
| (self, body, url, interpreter) | [
-0.006083488464355469,
-0.00029260001610964537,
-0.0373397059738636,
-0.009363200515508652,
-0.0519099235534668,
0.007204999215900898,
-0.007765754591673613,
-0.020601868629455566,
-0.06585811823606491,
0.056056685745716095,
0.072756826877594,
0.047386180609464645,
-0.04915798082947731,
0.033004455268383026,
-0.030949924141168594,
-0.059374094009399414,
0.04810244217514992,
0.0441441684961319,
-0.019433235749602318,
-0.06932632625102997,
-0.03860258683562279,
-0.05402100086212158,
0.026049206033349037,
0.09431999176740646,
-0.004771132487803698,
-0.044747333973646164,
0.004877157509326935,
-0.008694063872098923,
-0.0028132011648267508,
0.015965033322572708,
-0.01875467412173748,
-0.0022913217544555664,
0.003628416918218136,
0.043767187744379044,
0.0048300353810191154,
-0.029875535517930984,
-0.0014749278780072927,
-0.022034386172890663,
-0.07204056531190872,
0.04976114630699158,
-0.08429236710071564,
0.015003738924860954,
0.0032349457032978535,
-0.035643305629491806,
-0.0507412888109684,
0.030610643327236176,
-0.02337265945971012,
0.011997336521744728,
-0.005013812333345413,
-0.06811999529600143,
0.007501869462430477,
-0.03411654382944107,
0.04979884251952171,
-0.002238309010863304,
0.04625524580478668,
0.014127264730632305,
-0.05447337403893471,
-0.0319112204015255,
-0.018632156774401665,
-0.006290826480835676,
-0.08534790575504303,
-0.030290212482213974,
-0.01719963736832142,
0.01554093323647976,
-0.0011279899626970291,
0.0325520820915699,
0.010046473704278469,
0.03867797926068306,
-0.0035318161826580763,
-0.05933639407157898,
0.018047839403152466,
0.014193235896527767,
-0.023033378645777702,
0.01499431487172842,
0.08007020503282547,
-0.0355302132666111,
0.024409350007772446,
-0.010348056443035603,
0.0029286507051438093,
-0.005833740346133709,
0.00855269655585289,
-0.005781905725598335,
0.005833740346133709,
-0.056056685745716095,
-0.019979853183031082,
-0.027858702465891838,
0.053832512348890305,
-0.05394560471177101,
-0.030459852889180183,
-0.019791364669799805,
0.005739495623856783,
-0.07294531166553497,
-0.013646617531776428,
0.06480257958173752,
-0.03741510212421417,
0.08014560490846634,
0.015767119824886322,
-0.00830294843763113,
0.023033378645777702,
-0.036811936646699905,
0.004149118438363075,
0.08150272071361542,
-0.01677553728222847,
0.016813235357403755,
0.011431869119405746,
-0.007096617948263884,
-0.027330931276082993,
-0.0227129478007555,
0.05322934687137604,
-0.028631506487727165,
-0.028631506487727165,
-0.02488057315349579,
-0.07343538850545883,
-0.003362175775691867,
0.016728416085243225,
-0.0025775895919650793,
-0.03905496001243591,
-0.011535538360476494,
0.03228819742798805,
0.030667191371321678,
-0.03311755135655403,
-0.011036042124032974,
0.009697768837213516,
-0.03081798180937767,
0.0009448020718991756,
0.011516689322888851,
-0.09545092284679413,
-0.0023219510912895203,
-0.020055249333381653,
-0.03089337795972824,
-0.00017287992523051798,
0.03980891779065132,
0.00975431501865387,
0.03666114807128906,
-0.0578661784529686,
0.032759420573711395,
-0.0370192751288414,
-0.02618114836513996,
0.06378474086523056,
0.06073121726512909,
-0.003338614711537957,
0.012996328994631767,
-0.029856687411665916,
-0.01668129302561283,
-0.011516689322888851,
-0.014127264730632305,
0.03677424043416977,
-0.03647265583276749,
-0.0212238822132349,
-0.0830860361456871,
0.024974817410111427,
0.03396575152873993,
0.03801826760172844,
0.003962985239923,
0.018632156774401665,
-0.03571870177984238,
0.029291220009326935,
-0.01726560853421688,
-0.024070069193840027,
-0.03939424082636833,
0.02825452946126461,
-0.06419941782951355,
-0.007176725659519434,
0.02471093274652958,
0.004552013706415892,
-0.04761236906051636,
0.10570473223924637,
-0.014023595489561558,
0.00854798499494791,
0.06344546377658844,
-0.06337006390094757,
-0.03611452877521515,
-0.12236718088388443,
0.013740861788392067,
-0.0056640999391674995,
0.017397552728652954,
0.03428618237376213,
-0.039959706366062164,
-0.001016663503833115,
-0.03732085973024368,
-0.014947192743420601,
0.012883235700428486,
-0.07810992002487183,
0.055001143366098404,
0.03536057099699974,
-0.02248675934970379,
0.0358506441116333,
0.011488416232168674,
0.014485393650829792,
-0.0024385787546634674,
-0.04282474145293236,
0.03826330602169037,
-0.008618667721748352,
-0.014127264730632305,
0.009056905284523964,
-0.0140424445271492,
0.02190244384109974,
0.003317409660667181,
-0.043993376195430756,
-0.10879595577716827,
-0.01883949339389801,
-0.008736473508179188,
-0.03426733240485191,
0.02684086002409458,
-0.02463553659617901,
0.01810438558459282,
-0.030535249039530754,
0.025879565626382828,
0.004182104021310806,
-0.024673234671354294,
-0.0013842174084857106,
-0.0022689385805279016,
-0.0328725129365921,
-0.021544314920902252,
-0.0280848890542984,
-0.010536545887589455,
0.00995222944766283,
0.00027949412469752133,
0.01702999882400036,
0.0004411824920680374,
-0.04365409538149834,
0.018302299082279205,
0.029310068115592003,
-0.006163596175611019,
-0.0692509263753891,
-0.0061164740473032,
-0.021186184138059616,
0.06514186412096024,
-0.043917980045080185,
-0.044408053159713745,
-0.02014949358999729,
0.011921941302716732,
0.03958272933959961,
-0.015295897610485554,
-0.06359624862670898,
0.05447337403893471,
0.00884485524147749,
-0.017331581562757492,
-0.043088629841804504,
0.04798934608697891,
0.04026129096746445,
-0.016973450779914856,
0.015182804316282272,
0.05760229378938675,
-0.07773294299840927,
0.01792532205581665,
0.03253323212265968,
0.014890645630657673,
-0.035831794142723083,
-0.031194960698485374,
-0.023862730711698532,
-0.09032401442527771,
-0.0061965822242200375,
0.009820286184549332,
0.032684024423360825,
-0.005117481574416161,
0.04535049945116043,
-0.008015502244234085,
0.08074876666069031,
-0.02403237111866474,
0.046142153441905975,
-0.035398270934820175,
0.023429205641150475,
0.05794157460331917,
-0.058544740080833435,
0.012214099057018757,
0.0029286507051438093,
0.032608628273010254,
-0.034003447741270065,
-0.04757466912269592,
0.021544314920902252,
0.017322156578302383,
0.02619999647140503,
-0.04979884251952171,
0.00516460370272398,
0.05108056962490082,
0.027387479320168495,
0.060618121176958084,
-0.04889409616589546,
-0.0096270851790905,
0.06578272581100464,
-0.009820286184549332,
0.021016543731093407,
-0.01111143734306097,
-0.0025281112175434828,
0.03799942135810852,
-0.01628546603024006,
0.08768516778945923,
0.031854674220085144,
-0.03554905951023102,
-0.01482467446476221,
-0.0012452066875994205,
0.010998344048857689,
-0.025389492511749268,
-0.00982971116900444,
0.04467193782329559,
-0.049120280891656876,
0.010583668015897274,
0.019046831876039505,
-0.05711222440004349,
-0.023598846048116684,
0.02371194027364254,
0.03360762074589729,
-0.05929869785904884,
-0.06197524443268776,
-0.05767768993973732,
0.033513378351926804,
0.0045119598507881165,
-0.013326185755431652,
-0.03409769386053085,
0.029442010447382927,
0.023843882605433464,
-0.013599494472146034,
-0.04768776521086693,
-0.01652107760310173,
0.006884567439556122,
0.06823308765888214,
0.02114848606288433,
0.04165611043572426,
0.0012628776021301746,
0.03833870217204094,
-0.06156056746840477,
0.027067046612501144,
-0.030346758663654327,
0.05518963560461998,
-0.061183590441942215,
0.038376398384571075,
-0.043427906930446625,
0.0337207168340683,
-0.038866471499204636,
-0.015295897610485554,
0.04685841128230095,
-0.05051510035991669,
-0.05726301297545433,
0.021695105358958244,
-0.010743883438408375,
0.015550358220934868,
-0.026558127254247665,
-0.008778884075582027,
-0.030667191371321678,
-0.05130675807595253,
-0.037961721420288086,
0.00842546671628952,
0.05247538909316063,
0.017388127744197845,
-0.04271164909005165,
-0.02636963687837124,
-0.014655034057796001,
-0.0018519063014537096,
-0.012939782813191414,
-0.030271362513303757,
-0.03897956386208534,
0.07728056609630585,
0.031100716441869736,
0.022524457424879074,
0.007935394532978535,
-0.037810929119586945,
-0.05997725948691368,
-0.007035358808934689,
0.015465538017451763,
0.028612658381462097,
-0.05620747432112694,
-0.00875532254576683,
0.018641579896211624,
-0.028235679492354393,
-0.0745663195848465,
0.04237236827611923,
0.009589387103915215,
0.07750675082206726,
-0.00421273335814476,
0.006587697193026543,
0.006517013534903526,
-0.004702805075794458,
-0.04007280245423317,
0.023674242198467255,
0.007308667991310358,
0.014117839746177197,
-0.022675249725580215,
-0.04791394993662834,
0.02554028481245041,
0.03445582464337349,
0.026068054139614105,
-0.047386180609464645,
-0.02056417055428028,
0.006879855412989855,
-0.06672517210245132,
-0.025804169476032257,
0.03673654422163963,
-0.013439279049634933,
0.04022359102964401,
0.0502135194838047,
-0.03600143641233444,
0.057149920612573624,
-0.0009076932328753173,
-0.01768971048295498,
-0.0049949632957577705,
-0.0661597028374672,
0.007525430992245674,
-0.023014530539512634,
-0.013976473361253738,
0.021845895797014236,
-0.017972443252801895,
0.02461668848991394,
-0.023033378645777702,
0.009971077553927898,
0.011676904745399952,
0.03537942096590996,
0.013476977124810219,
0.034342728555202484,
-0.07268142700195312,
0.005678236950188875,
0.006653668358922005,
0.008081473410129547,
-0.04452114552259445,
-0.05096747726202011,
0.015588055364787579,
0.01537129282951355,
-0.023900428786873817,
-0.023579997941851616,
0.03724546357989311,
0.08353840559720993,
-0.004622697364538908,
-0.00270717591047287,
0.033984601497650146,
-0.031364601105451584,
0.04810244217514992,
-0.0014360520290210843,
0.0014525448204949498,
0.022411365061998367,
-0.02991323359310627,
0.01883949339389801,
0.050439707934856415,
-0.02917812578380108,
-0.04768776521086693,
-0.01643625646829605,
0.0030040463898330927,
-0.030855679884552956,
0.018151508644223213,
0.016096975654363632,
0.030591795220971107,
0.02297683246433735,
0.02107309177517891,
-0.05100517347455025,
0.056735243648290634,
0.08112574368715286,
0.028197981417179108,
-0.02229827083647251,
0.01082870364189148,
-0.04346560686826706,
-0.008199279196560383,
0.05315395072102547,
0.0029050896409898996,
-0.022599853575229645,
0.008760035037994385,
0.0035106111317873,
0.08557409048080444,
0.025766471400856972,
0.01915992610156536,
-0.009165287017822266,
-0.015145106241106987,
-0.0002663882332853973,
-0.008543272502720356,
0.08346301317214966,
0.019056256860494614,
0.024748630821704865,
0.0697786957025528,
0.00601280527189374,
-0.048366326838731766,
-0.024428198114037514,
0.009226545691490173,
-0.032193951308727264,
-0.02883884496986866,
0.041015248745679855,
0.004738146904855967,
0.03901726007461548,
0.008467876352369785,
0.03660459816455841,
0.016398558393120766,
-0.05858244001865387,
0.008689351379871368,
-0.03477625548839569,
0.019885608926415443,
-0.008642229251563549,
-0.045991361141204834,
0.005225862842053175,
-0.05428488552570343,
-0.02661467343568802,
-0.02444704808294773,
0.008340646512806416,
-0.027613665908575058,
-0.028725752606987953,
0.007054207846522331,
0.006512301508337259,
0.00883543025702238,
0.0253706444054842,
0.013816257007420063,
0.06536804884672165,
0.035982586443424225,
-0.0022418431472033262,
-0.040110498666763306,
-0.01602158136665821,
0.021431220695376396,
0.021110787987709045,
-0.05624517425894737,
0.04486042633652687,
-0.05273927375674248,
0.011516689322888851,
-0.010423451662063599,
0.030026327818632126,
0.07358618080615997,
-0.03419193997979164,
0.0030558810103684664,
0.044332657009363174,
-0.0877605676651001,
-0.026972802355885506,
0.062012940645217896,
0.00006670750008197501,
0.040675967931747437,
-0.033909205347299576,
0.008637516759335995,
0.03240128979086876,
0.03189237043261528,
0.015917912125587463,
0.017991293221712112,
0.02959280274808407,
0.0555289126932621,
0.022166328504681587,
-0.01642683334648609,
0.005098632536828518,
-0.030422154814004898,
-0.04832862690091133,
-0.004646258428692818,
0.013778559863567352,
0.04195769131183624,
-0.009989926591515541,
0.02139352262020111,
-0.007534855045378208,
-0.01636086218059063,
-0.055981289595365524,
0.002161735435947776,
-0.0004099639772903174,
0.08067337423563004,
-0.04693380743265152,
-0.054360281676054,
0.015239350497722626,
-0.0037085246294736862,
-0.025069061666727066,
0.03696272894740105,
-0.029442010447382927,
0.0008423110703006387,
-0.06269150227308273,
-0.002879172330722213,
0.06299308687448502,
-0.012628775089979172,
-0.025898413732647896,
0.013806832954287529,
0.03724546357989311,
0.01643625646829605,
-0.015729421749711037,
-0.004599136300384998,
0.03841409459710121,
-0.0693640187382698,
-0.053342439234256744,
-0.05711222440004349,
-0.0122329480946064,
0.0070212222635746,
0.01652107760310173,
0.0459536649286747,
-0.02851841412484646,
-0.010725034400820732,
0.01326021458953619,
0.013118847273290157,
0.0722290575504303,
-0.005423776339739561,
-0.03769783675670624,
-0.01201618555933237,
-0.011394171044230461,
-0.011139711365103722,
0.057715389877557755,
0.015050861984491348,
-0.006813884247094393,
0.03856488689780235,
0.027877550572156906,
-0.06129668280482292,
0.005649963393807411,
-0.029442010447382927,
0.0361710749566555,
0.02527640014886856,
0.009726041927933693,
0.053757116198539734,
-0.06800689548254013,
-0.03415424004197121,
0.0006491096573881805,
0.015427839942276478,
0.010913523845374584,
0.0864788368344307,
0.002175871981307864,
-0.010856976732611656,
-0.022109782323241234,
0.025879565626382828,
-0.013524099253118038,
-0.016898054629564285,
-0.04636833816766739,
-0.005635826848447323,
0.023730788379907608,
0.005588704254478216,
-0.05187222361564636,
-0.03149654343724251,
-0.021789349615573883,
-0.033004455268383026,
0.053907908499240875,
-0.031138412654399872,
0.010630790144205093,
-0.011102013289928436,
-0.012817264534533024,
0.01810438558459282,
-0.016153523698449135,
0.019452083855867386,
0.018217479810118675,
0.03285366669297218,
-0.0055604311637580395,
-0.025879565626382828,
-0.027048198506236076,
0.013948199339210987,
0.015974458307027817,
0.02124273218214512,
0.03426733240485191,
0.02636963687837124,
-0.02058301866054535,
0.03977121785283089,
0.03901726007461548,
0.08203049749135971,
-0.01800071820616722,
0.004966690205037594,
0.007991941645741463,
0.09341523796319962,
0.024899421259760857,
0.019527480006217957,
-0.0070306467823684216,
0.018773522228002548,
-0.009235969744622707,
0.01048942282795906,
-0.03760359436273575,
-0.005918560549616814,
0.0129774808883667,
0.036378413438797,
-0.0028626795392483473,
0.001883713761344552,
0.0005392557941377163,
-0.050364311784505844,
-0.0330798514187336,
0.03677424043416977,
0.019282443448901176,
-0.018490789458155632,
-0.02527640014886856,
-0.01644568145275116,
0.021883593872189522,
0.06321927160024643,
-0.03453121706843376,
0.01626661606132984,
-0.040035102516412735,
0.028970787301659584,
0.054360281676054,
-0.09439538419246674,
0.041769202798604965,
0.02708589658141136,
0.06657437980175018,
-0.05963797867298126,
0.01809496246278286,
0.01767086051404476,
0.02510675974190235,
-0.006399207748472691,
0.04237236827611923,
0.017868774011731148,
0.01950863003730774,
0.0752071887254715,
-0.04316402226686478,
-0.04354100301861763,
0.017868774011731148,
0.007530143018811941,
0.0393565408885479,
0.011422445066273212,
-0.0495726577937603,
-0.0014419422950595617,
0.04026129096746445,
-0.025163305923342705,
0.049874238669872284,
0.016907479614019394,
-0.04497351869940758,
-0.050778985023498535,
-0.038941867649555206,
-0.007407625205814838,
-0.023485751822590828,
-0.007219135761260986,
0.10005006194114685,
-0.007516006473451853,
-0.011384746991097927,
0.040185894817113876,
0.004380017518997192,
0.08278445154428482,
0.06314387917518616,
-0.023693090304732323,
0.018387120217084885,
0.018405968323349953,
-0.028405319899320602,
0.05247538909316063,
0.01520165242254734,
0.020469926297664642,
-0.04734848439693451,
-0.026313090696930885,
-0.008213416673243046,
0.02570992521941662,
0.006691365968436003,
0.014155537821352482,
-0.0008635160629637539,
0.05741380527615547,
-0.07034416496753693,
0.06597121804952621,
0.011742875911295414,
-0.003576582297682762,
0.0017588397022336721,
0.016549350693821907,
0.021789349615573883,
0.005282409489154816,
-0.0008346536778844893,
0.015588055364787579,
-0.01424978207796812,
-0.010894674807786942,
0.06480257958173752,
0.03343798220157623,
-0.03571870177984238,
-0.0027990643866360188,
-0.08022099733352661,
-0.011271653696894646,
-0.04719769209623337,
-0.015003738924860954,
-0.008849567733705044,
-0.03502129018306732,
-0.014645610004663467,
0.014353451319038868,
0.0366988442838192,
-0.01668129302561283,
0.021845895797014236,
-0.028480716049671173,
0.03108186647295952,
0.02231711894273758,
-0.016756689175963402,
-0.026576975360512733,
0.04410646855831146,
0.03673654422163963,
0.006630107294768095,
0.022656399756669998,
-0.0001109582808567211,
0.02422085963189602,
0.03296675905585289,
-0.00813330803066492,
0.05692373588681221,
0.01161093357950449,
0.007110754493623972,
0.041693806648254395,
0.0069364020600914955,
0.013269638642668724,
0.05145754665136337,
0.022920284420251846,
-0.024503594264388084,
-0.011036042124032974,
-0.03108186647295952,
-0.03315524756908417
] |
9,715 | cloudscraper.cloudflare | __init__ | null | def __init__(self, cloudscraper):
self.cloudscraper = cloudscraper
| (self, cloudscraper) | [
-0.01093771681189537,
-0.023252328857779503,
-0.07992880791425705,
0.04364759847521782,
-0.024319423362612724,
0.028157521039247513,
0.015696613118052483,
0.04244281351566315,
0.04412951320409775,
0.04836346581578255,
0.0035648695193231106,
0.030274497345089912,
-0.004012360703200102,
0.0060067083686590195,
-0.014569279737770557,
-0.008291495032608509,
0.019913356751203537,
0.03375115990638733,
0.016049442812800407,
-0.045712944120168686,
-0.04492122679948807,
-0.0029431148432195187,
0.02204754576086998,
0.034973155707120895,
0.026178233325481415,
0.0696365088224411,
0.014724180102348328,
0.0490519143640995,
-0.009104724042117596,
0.011746643111109734,
0.009053090587258339,
0.015068404376506805,
-0.012951427139341831,
0.07848306745290756,
0.042959149926900864,
0.02292531542479992,
0.00374988978728652,
0.01771032251417637,
-0.08715751022100449,
0.01646251045167446,
0.01332146767526865,
-0.010232057422399521,
-0.006742486730217934,
-0.032890599220991135,
0.008769105188548565,
0.04034304991364479,
-0.0025494087021797895,
0.008257072418928146,
-0.0012284492840990424,
-0.05029112100601196,
-0.07538504898548126,
0.07868959754705429,
0.010610703378915787,
0.006785514764487743,
-0.0038768223021179438,
0.1068471223115921,
0.036866385489702225,
0.09645155817270279,
-0.02991306222975254,
0.023390019312500954,
-0.04664234817028046,
-0.018570883199572563,
0.03134159371256828,
-0.0014070154866203666,
0.01815781369805336,
0.06467968225479126,
-0.07166743278503418,
0.055729858577251434,
0.001536099473014474,
0.030412187799811363,
0.05593639612197876,
0.01993056759238243,
-0.05063534528017044,
-0.00554630858823657,
0.03724503144621849,
-0.0029172981157898903,
-0.009182174690067768,
-0.06278645247220993,
-0.03067035600543022,
-0.03168581426143646,
0.02320069447159767,
0.025902854278683662,
-0.030773622915148735,
-0.00243538455106318,
0.040756117552518845,
-0.06213242560625076,
0.0082484669983387,
-0.02137630805373192,
-0.019052796065807343,
0.09686462581157684,
-0.06409449875354767,
0.032770123332738876,
-0.01984451152384281,
0.005946469027549028,
-0.015963386744260788,
0.00702647166326642,
-0.009509187191724777,
-0.0746966004371643,
0.006372446194291115,
0.005098817404359579,
0.011626164428889751,
0.046952150762081146,
-0.01970682293176651,
-0.026384767144918442,
0.005800173617899418,
-0.05796731635928154,
-0.03913826495409012,
-0.025042293593287468,
0.008829344995319843,
0.006979140918701887,
-0.008661535568535328,
0.018450405448675156,
-0.027469072490930557,
0.08206299692392349,
0.0011789670679718256,
-0.04326895251870155,
-0.03875961899757385,
-0.008713169023394585,
0.042924728244543076,
-0.007762250490486622,
-0.03696965426206589,
0.0082484669983387,
-0.019121641293168068,
0.05307933688163757,
0.027469072490930557,
-0.011695009656250477,
-0.016359243541955948,
-0.009139146655797958,
0.010800027288496494,
-0.024990659207105637,
0.03631562739610672,
-0.008257072418928146,
-0.02588564157485962,
-0.04516218602657318,
0.045403141528367996,
-0.030773622915148735,
0.025558630004525185,
-0.010756999254226685,
-0.058070581406354904,
0.039172686636447906,
-0.02743465080857277,
0.047915976494550705,
0.00020276942814234644,
-0.021548420190811157,
-0.010868871584534645,
0.004012360703200102,
-0.07703732699155807,
-0.035282958298921585,
-0.007697708439081907,
-0.019896145910024643,
0.0024246275424957275,
-0.012968637980520725,
0.06677944958209991,
0.01758984476327896,
-0.06027361750602722,
0.008235557936131954,
-0.009397313930094242,
-0.0006373521755449474,
0.04006766900420189,
-0.04178879037499428,
-0.0017049843445420265,
0.0010977517813444138,
-0.01437995582818985,
-0.039792291820049286,
-0.019551921635866165,
0.010748392902314663,
0.03462893143296242,
-0.049327295273542404,
-0.019999412819743156,
0.05879345163702965,
0.00011072985944338143,
-0.047434061765670776,
-0.09968726336956024,
-0.02616102062165737,
-0.05466276407241821,
0.0026827955152839422,
0.04375086724758148,
0.012056444771587849,
0.007796672638505697,
0.05786404758691788,
-0.03648773953318596,
-0.023837510496377945,
-0.02483575977385044,
-0.011006561107933521,
0.03569602593779564,
-0.06498948484659195,
0.020309213548898697,
0.05263184383511543,
0.0006475713453255594,
0.08116801083087921,
0.023613763973116875,
0.009707115590572357,
-0.002844150410965085,
-0.02032642439007759,
0.0329766571521759,
-0.05297606810927391,
0.012521146796643734,
0.00004074213211424649,
-0.06633196026086807,
0.09128819406032562,
-0.0193109642714262,
0.03507642075419426,
-0.011729431338608265,
-0.03254637494683266,
0.02841568924486637,
0.0459538996219635,
-0.02540372870862484,
-0.013631269335746765,
-0.008618507534265518,
-0.012891187332570553,
-0.010068550705909729,
0.0033518809359520674,
-0.010249268263578415,
-0.01860530488193035,
0.027159271761775017,
-0.028863180428743362,
-0.007796672638505697,
-0.02156563103199005,
0.035196900367736816,
-0.014595095999538898,
0.011944571509957314,
0.004350130446255207,
-0.02421615645289421,
-0.03683196380734444,
-0.06533370912075043,
0.027813296765089035,
0.014904897660017014,
0.003612200263887644,
0.0006733881309628487,
-0.043372221291065216,
-0.014861869625747204,
-0.011832699179649353,
0.04461142420768738,
0.034973155707120895,
0.060376882553100586,
-0.10361141711473465,
-0.0072459145449101925,
0.04378528892993927,
-0.08929169923067093,
-0.045747365802526474,
0.05332029238343239,
0.030739199370145798,
-0.028518956154584885,
-0.034749411046504974,
-0.010567675344645977,
0.02320069447159767,
-0.047743864357471466,
0.026488034054636955,
-0.01126472931355238,
-0.02314906194806099,
0.048845380544662476,
-0.056315042078495026,
-0.0016866974765434861,
0.014328322373330593,
0.003960726782679558,
-0.04023978114128113,
-0.02771002985537052,
-0.0010262177092954516,
0.021858220919966698,
-0.013596846722066402,
0.03535180166363716,
0.0012639473425224423,
0.03189235180616379,
0.05827711895108223,
-0.036556586623191833,
0.03013680875301361,
0.009509187191724777,
0.000778268848080188,
0.008356036618351936,
0.005503280553966761,
0.0882590264081955,
0.0448179617524147,
0.05421527475118637,
0.039379220455884933,
-0.05669368803501129,
-0.049637094140052795,
-0.06419777125120163,
-0.000333735893946141,
-0.0659533143043518,
-0.0207222830504179,
0.08213184028863907,
-0.007714919745922089,
-0.023131851106882095,
0.006677945144474506,
0.04244281351566315,
-0.07572927325963974,
0.003278733231127262,
0.08529870212078094,
-0.03221936151385307,
-0.029345093294978142,
-0.026143809780478477,
0.004681446123868227,
0.024629224091768265,
-0.036556586623191833,
-0.011583136394619942,
-0.0015554620185866952,
-0.017779167741537094,
0.028037041425704956,
0.0019287299364805222,
-0.007981693372130394,
0.02024036832153797,
-0.07848306745290756,
-0.014009915292263031,
0.03962017968297005,
0.0009127313387580216,
0.03172023966908455,
0.016419483348727226,
0.03206446394324303,
0.022099178284406662,
0.008579782210290432,
0.060239195823669434,
0.05428411811590195,
-0.04099707305431366,
0.09631386399269104,
-0.02103208377957344,
-0.014018520712852478,
-0.010171818546950817,
-0.04750290885567665,
-0.009569426067173481,
0.025902854278683662,
-0.01674649678170681,
-0.0029280551243573427,
0.015395416878163815,
0.0012833100045099854,
0.017219804227352142,
0.02912134677171707,
-0.016737889498472214,
0.03831212595105171,
0.004158655647188425,
0.03144485875964165,
-0.0014618762070313096,
0.03141043707728386,
0.021307462826371193,
-0.008579782210290432,
-0.0014446649001911283,
0.012176922522485256,
-0.027056002989411354,
-0.05428411811590195,
0.013992704451084137,
-0.07972227036952972,
0.023407230153679848,
-0.011583136394619942,
-0.07772576808929443,
0.016385061666369438,
0.00521499291062355,
-0.0030549876391887665,
-0.005249415524303913,
-0.07497198134660721,
0.012151106260716915,
-0.059585168957710266,
0.02774445153772831,
-0.007998904213309288,
0.038553085178136826,
0.08047956228256226,
0.06495506316423416,
0.006953324191272259,
-0.05717559903860092,
0.017951279878616333,
0.010911899618804455,
-0.04474911466240883,
0.04860442504286766,
-0.07242472469806671,
-0.010085762478411198,
-0.0026655844412744045,
-0.007047985680401325,
-0.010567675344645977,
0.015447050333023071,
-0.02142794243991375,
0.012452301569283009,
-0.03879404067993164,
0.02531767264008522,
-0.04350990802049637,
-0.01623876579105854,
-0.013820592314004898,
0.013502185232937336,
0.006488621700555086,
-0.014509039930999279,
0.002143869874998927,
-0.011815487407147884,
0.011849910020828247,
-0.0005523719009943306,
0.06237338110804558,
0.0321505181491375,
-0.01731446571648121,
0.06715809553861618,
-0.04612601175904274,
-0.037933479994535446,
0.040446314960718155,
0.07118551433086395,
0.025902854278683662,
0.0071641611866652966,
-0.015395416878163815,
0.0019889690447598696,
0.022632725536823273,
0.0162129495292902,
-0.05452507734298706,
0.02027479186654091,
-0.040584005415439606,
-0.014130393974483013,
-0.049637094140052795,
0.03676312044262886,
-0.04688330367207527,
0.019190486520528793,
0.020911606028676033,
0.006720972713083029,
-0.0037434357218444347,
-0.007912848144769669,
0.0535612478852272,
0.007224400527775288,
0.04406066611409187,
0.004840649664402008,
-0.025558630004525185,
-0.059585168957710266,
-0.1065717414021492,
-0.036074671894311905,
0.004457700531929731,
0.011454052291810513,
0.010455803014338017,
0.028260787948966026,
0.007172767072916031,
0.014784418977797031,
0.016849763691425323,
0.0177619569003582,
0.0228392593562603,
-0.009388708509504795,
-0.016445299610495567,
0.0442672036588192,
-0.038243282586336136,
0.048225779086351395,
-0.005993799772113562,
-0.04939613863825798,
0.054490651935338974,
-0.061478398740291595,
-0.01643669418990612,
0.06733020395040512,
0.05070418864488602,
-0.037933479994535446,
0.020223157480359077,
-0.00831731129437685,
-0.01484465878456831,
-0.024405479431152344,
-0.0459538996219635,
-0.009552215225994587,
-0.016118288040161133,
0.006828542798757553,
-0.037038497626781464,
-0.05218435451388359,
0.014810236170887947,
0.006239059381186962,
-0.07731270045042038,
-0.07483428716659546,
-0.01731446571648121,
0.048879802227020264,
-0.017107931897044182,
-0.010326718911528587,
-0.024646436795592308,
-0.019810089841485023,
-0.008691655471920967,
0.033200401812791824,
0.02063622698187828,
-0.04330337420105934,
-0.031875140964984894,
0.02576516382396221,
-0.03986113518476486,
-0.023699820041656494,
0.0944550558924675,
-0.006557466462254524,
0.026660146191716194,
0.007185675203800201,
-0.032047249376773834,
0.026987159624695778,
-0.037313878536224365,
0.013252622447907925,
-0.03283896669745445,
-0.002921600826084614,
0.00534407701343298,
-0.023252328857779503,
-0.03056708723306656,
0.0028936327435076237,
-0.03008517436683178,
-0.04344106465578079,
0.02098045125603676,
0.05428411811590195,
0.04099707305431366,
-0.026006121188402176,
-0.03865635022521019,
-0.017262831330299377,
-0.010137395933270454,
0.04189205542206764,
0.02500787191092968,
-0.0344051867723465,
0.047778286039829254,
0.00823125522583723,
-0.02323511801660061,
-0.02788214199244976,
0.05972285941243172,
0.02769281715154648,
0.07318201661109924,
0.003777858102694154,
-0.04381971061229706,
-0.03137601539492607,
0.021548420190811157,
-0.015885936096310616,
-0.02557584084570408,
0.018192237243056297,
-0.0735950842499733,
-0.03416422754526138,
0.022202445194125175,
0.0013435491127893329,
0.016557171940803528,
0.03304550051689148,
-0.017383310943841934,
0.002332117408514023,
0.028863180428743362,
0.006910296157002449,
-0.012288795784115791,
-0.08213184028863907,
0.008343128487467766,
-0.04609159007668495,
0.01953471079468727,
0.0606178417801857,
0.007960178889334202,
0.03652216121554375,
-0.031789083033800125,
-0.03330366685986519,
0.007921453565359116,
0.02898365817964077,
0.048225779086351395,
0.000005059151135355933,
0.03106621280312538,
0.044473737478256226,
-0.021307462826371193,
-0.04357875511050224,
-0.0028549074195325375,
0.025988908484578133,
0.06777770072221756,
-0.04918960481882095,
-0.013872225768864155,
0.023407230153679848,
0.017865223810076714,
0.01584290713071823,
0.000401236058678478,
0.009328469634056091,
-0.049809206277132034,
0.0059163495898246765,
-0.06929228454828262,
-0.04223627969622612,
0.028742700815200806,
-0.009139146655797958,
-0.0035670208744704723,
0.030997367575764656,
-0.03604025021195412,
-0.0010568751022219658,
-0.05872460827231407,
0.02385472133755684,
0.026229865849018097,
-0.022322924807667732,
-0.0372106097638607,
0.033596258610486984,
0.009844805113971233,
0.015309360809624195,
-0.020756704732775688,
-0.008915401063859463,
0.04330337420105934,
0.000477610738016665,
-0.053389135748147964,
-0.022701570764183998,
0.017237015068531036,
-0.044198356568813324,
-0.07004957646131516,
0.03416422754526138,
-0.028639433905482292,
0.026436399668455124,
0.0882590264081955,
-0.0021686109248548746,
0.0639912337064743,
0.044026244431734085,
-0.004733079578727484,
0.040618427097797394,
-0.03631562739610672,
0.03583371639251709,
-0.02545536309480667,
-0.009319864213466644,
-0.03958575427532196,
-0.09115050733089447,
-0.07025611400604248,
0.009354285895824432,
0.009053090587258339,
-0.0032421594951301813,
-0.03349299356341362,
0.05982612445950508,
0.023734241724014282,
-0.07648656517267227,
0.0297409500926733,
-0.01646251045167446,
-0.05232204124331474,
0.03831212595105171,
-0.04967151954770088,
0.015558923594653606,
-0.006609099917113781,
-0.040618427097797394,
0.08268259465694427,
-0.05421527475118637,
-0.010051339864730835,
0.029018079861998558,
-0.021152563393115997,
-0.06299298256635666,
-0.01089468877762556,
0.022873682901263237,
-0.007723525166511536,
0.03838097304105759,
-0.02452595718204975,
-0.01031811349093914,
0.006772606633603573,
0.03397490456700325,
0.03146206960082054,
-0.013596846722066402,
0.007680497132241726,
0.006049736402928829,
-0.019758455455303192,
0.040618427097797394,
0.01965518854558468,
0.05266626551747322,
0.04505891725420952,
-0.04082496091723442,
-0.03216772899031639,
0.018484827131032944,
-0.08350873738527298,
0.014354139566421509,
0.02173774316906929,
0.04268377274274826,
-0.03380279242992401,
0.021944276988506317,
-0.03690081089735031,
0.026436399668455124,
0.01815781369805336,
0.0459538996219635,
0.009096118621528149,
-0.007521293591707945,
-0.03710734471678734,
0.0035239928402006626,
0.008984245359897614,
0.009147752076387405,
0.039482489228248596,
-0.01643669418990612,
-0.06027361750602722,
-0.010137395933270454,
0.012882581911981106,
0.014861869625747204,
-0.01068815402686596,
-0.03159976005554199,
0.03517968952655792,
0.007796672638505697,
0.03287338837981224,
-0.06158166751265526,
-0.0044361865147948265,
0.034267496317625046,
0.049946896731853485,
0.035799290984869,
-0.023837510496377945,
-0.027193693444132805,
0.03013680875301361,
0.024112889543175697,
-0.022426191717386246,
0.03583371639251709,
0.0035799292381852865,
0.07039380073547363,
-0.009397313930094242,
-0.0696365088224411,
0.05029112100601196,
-0.0193109642714262,
0.06523044407367706,
0.016927214339375496,
-0.029396725818514824,
0.026453612372279167,
-0.030515454709529877,
-0.039379220455884933,
-0.024061255156993866,
0.03886288404464722,
0.0355239138007164,
-0.02001662366092205,
0.02399240992963314,
-0.029672106727957726,
0.005967983044683933,
-0.0061056725680828094,
0.05080745741724968,
-0.015369599685072899,
0.01672067865729332,
-0.008011812344193459,
-0.031169479712843895,
-0.05035996437072754,
0.0001544973929412663,
-0.02055017091333866,
0.0037111646961420774,
-0.007370695471763611,
0.008287192322313786,
-0.025558630004525185,
-0.12646788358688354,
0.03803674876689911,
0.016247371211647987,
0.051358215510845184,
0.017951279878616333,
-0.030635932460427284,
-0.006660733837634325,
-0.02743465080857277,
-0.02252945862710476,
-0.0222712904214859,
0.010584887117147446,
0.036212362349033356,
-0.012194134294986725,
0.048707690089941025,
0.026057753711938858,
0.00878201425075531,
-0.025730742141604424,
0.040274202823638916,
0.031651392579078674,
0.02430221252143383,
0.022942528128623962,
-0.015292149968445301,
0.005761448759585619,
0.025283250957727432,
-0.04949940741062164,
0.034267496317625046,
-0.0012327521108090878,
0.02999911829829216,
0.002055662451311946,
-0.03786463662981987,
0.020532960072159767,
0.028467321768403053,
-0.0013327922206372023,
-0.011256123892962933,
-0.012426485307514668,
-0.03221936151385307,
0.04326895251870155,
-0.03707291930913925,
-0.07648656517267227,
0.046848881989717484,
0.003784312168136239,
0.033165980130434036,
0.029396725818514824,
-0.005262323655188084,
-0.05614292994141579,
-0.03566160425543785,
-0.016333427280187607,
-0.0038488542195409536,
0.003646622644737363,
0.004505031276494265,
-0.017237015068531036,
0.02929345890879631,
0.04629812389612198,
-0.00025507534155622125,
0.010610703378915787,
-0.0012617959873750806,
0.02492181584239006,
-0.05221877619624138,
0.011367996223270893,
0.019551921635866165,
0.013459157198667526,
-0.001999726053327322,
-0.033820003271102905,
0.014982348307967186,
-0.02483575977385044,
-0.01984451152384281,
-0.0019588496070355177,
0.09741538017988205,
0.03149649128317833,
0.04099707305431366,
-0.01824386976659298
] |
9,716 | cloudscraper.cloudflare | captcha_Challenge_Response | null | def captcha_Challenge_Response(self, provider, provider_params, body, url):
try:
formPayload = re.search(
r'<form (?P<form>.*?="challenge-form" '
r'action="(?P<challengeUUID>.*?__cf_chl_captcha_tk__=\S+)"(.*?)</form>)',
body,
re.M | re.DOTALL
).groupdict()
if not all(key in formPayload for key in ['form', 'challengeUUID']):
self.cloudscraper.simpleException(
CloudflareCaptchaError,
"Cloudflare Captcha detected, unfortunately we can't extract the parameters correctly."
)
payload = OrderedDict(
re.findall(
r'(name="r"\svalue|data-ray|data-sitekey|name="cf_captcha_kind"\svalue)="(.*?)"',
formPayload['form']
)
)
captchaType = 'reCaptcha' if payload['name="cf_captcha_kind" value'] == 're' else 'hCaptcha'
except (AttributeError, KeyError):
self.cloudscraper.simpleException(
CloudflareCaptchaError,
"Cloudflare Captcha detected, unfortunately we can't extract the parameters correctly."
)
# ------------------------------------------------------------------------------- #
# Pass proxy parameter to provider to solve captcha.
# ------------------------------------------------------------------------------- #
if self.cloudscraper.proxies and self.cloudscraper.proxies != self.cloudscraper.captcha.get('proxy'):
self.cloudscraper.captcha['proxy'] = self.proxies
# ------------------------------------------------------------------------------- #
# Pass User-Agent if provider supports it to solve captcha.
# ------------------------------------------------------------------------------- #
self.cloudscraper.captcha['User-Agent'] = self.cloudscraper.headers['User-Agent']
# ------------------------------------------------------------------------------- #
# Submit job to provider to request captcha solve.
# ------------------------------------------------------------------------------- #
captchaResponse = Captcha.dynamicImport(
provider.lower()
).solveCaptcha(
captchaType,
url,
payload['data-sitekey'],
provider_params
)
# ------------------------------------------------------------------------------- #
# Parse and handle the response of solved captcha.
# ------------------------------------------------------------------------------- #
dataPayload = OrderedDict([
('r', payload.get('name="r" value', '')),
('cf_captcha_kind', payload['name="cf_captcha_kind" value']),
('id', payload.get('data-ray')),
('g-recaptcha-response', captchaResponse)
])
if captchaType == 'hCaptcha':
dataPayload.update({'h-captcha-response': captchaResponse})
hostParsed = urlparse(url)
return {
'url': f"{hostParsed.scheme}://{hostParsed.netloc}{self.unescape(formPayload['challengeUUID'])}",
'data': dataPayload
}
| (self, provider, provider_params, body, url) | [
0.02671149931848049,
0.0008543541771359742,
-0.059206683188676834,
0.059016432613134384,
-0.07705239951610565,
-0.023001568391919136,
0.0007568495930172503,
0.005250978283584118,
0.004965599160641432,
0.041170716285705566,
0.06438156217336655,
0.057113904505968094,
-0.017370084300637245,
0.007952569052577019,
0.008347343653440475,
-0.07035549730062485,
0.04059995710849762,
0.004249772988259792,
0.0279861930757761,
-0.08538547158241272,
-0.028899407014250755,
-0.025988537818193436,
-0.004225991200655699,
0.022887416183948517,
0.0162285678088665,
0.001932255458086729,
0.021517597138881683,
-0.005289028864353895,
-0.06206047534942627,
0.026768574491143227,
-0.011243943125009537,
-0.021955177187919617,
-0.019900446757674217,
0.06362055242061615,
-0.023629402741789818,
-0.024656768888235092,
-0.02973651885986328,
-0.025360703468322754,
-0.06818661838769913,
0.047258805483579636,
-0.07107846438884735,
0.02298254333436489,
-0.01765546388924122,
-0.07473131269216537,
-0.023267922922968864,
0.02635001763701439,
-0.02585536055266857,
0.0638108029961586,
-0.053194694221019745,
-0.10425855964422226,
0.010987102054059505,
-0.04086631163954735,
0.013926507905125618,
0.004009578842669725,
0.061033111065626144,
0.021745899692177773,
-0.05216732993721962,
0.036471471190452576,
0.024675793945789337,
0.0007949001737870276,
-0.028556952252984047,
-0.023305973038077354,
-0.026673449203372,
0.06206047534942627,
0.018540140241384506,
0.047296855598688126,
0.020166801288723946,
0.01676127500832081,
-0.006178461015224457,
-0.049541838467121124,
0.0425405353307724,
0.02343915030360222,
-0.050911661237478256,
-0.027929117903113365,
0.048514474183321,
-0.03226688131690025,
0.02111806534230709,
-0.009574473835527897,
0.030916087329387665,
0.030916087329387665,
0.023800630122423172,
0.025988537818193436,
0.006116628646850586,
-0.12290333211421967,
0.03222883120179176,
-0.045242127031087875,
0.047563210129737854,
-0.047220755368471146,
-0.07922128587961197,
0.0154865812510252,
0.01813109591603279,
-0.08066720515489578,
0.014373602345585823,
0.007339003495872021,
-0.02596951276063919,
0.04695440083742142,
0.04965599253773689,
0.005198658909648657,
0.008342587389051914,
-0.050987761467695236,
0.025950487703084946,
0.055135272443294525,
-0.02507532387971878,
0.018140608444809914,
0.057113904505968094,
-0.04600313678383827,
-0.026445144787430763,
-0.03260933607816696,
0.023534275591373444,
-0.02153662219643593,
-0.038716454058885574,
-0.07043160498142242,
-0.04432891309261322,
-0.0043472773395478725,
0.03449283912777901,
-0.0345308892428875,
-0.05764660984277725,
0.0018026456236839294,
-0.006378226447850466,
0.04033360257744789,
-0.004378193523734808,
-0.019748244434595108,
-0.014697032049298286,
-0.014915823005139828,
-0.020794635638594627,
0.023572327569127083,
-0.047449059784412384,
0.011215404607355595,
-0.012138131074607372,
-0.033826954662799835,
-0.006877640262246132,
0.055059172213077545,
0.006402008235454559,
0.03637634217739105,
-0.032000526785850525,
0.043605949729681015,
0.01222374476492405,
-0.027643738314509392,
0.033008869737386703,
0.024542616680264473,
0.011272480711340904,
-0.028309622779488564,
-0.0071868011727929115,
-0.04699245095252991,
0.05779881402850151,
-0.034093309193849564,
0.03593876212835312,
-0.07884077727794647,
-0.05665729567408562,
-0.05380350351333618,
0.03578655794262886,
0.03329424560070038,
0.0705457553267479,
-0.007020330056548119,
0.01001681201159954,
-0.039420388638973236,
0.038526199758052826,
0.027929117903113365,
-0.02526557818055153,
-0.00954593624919653,
0.014773133210837841,
-0.01878746785223484,
-0.0036124258767813444,
-0.0032771052792668343,
0.04303519427776337,
-0.016428332775831223,
0.09086475521326065,
-0.023153770714998245,
0.004772968124598265,
0.04410060867667198,
-0.04695440083742142,
-0.010901487432420254,
-0.092538982629776,
-0.02615976519882679,
-0.045812882483005524,
0.05422205850481987,
0.022640088573098183,
-0.05863592401146889,
0.005493551027029753,
-0.0709262564778328,
-0.008956152945756912,
0.020166801288723946,
-0.04642169177532196,
0.04870472848415375,
0.025722183287143707,
-0.0162285678088665,
0.03527287766337395,
0.013669666834175587,
0.0017063302220776677,
0.0013852785341441631,
-0.01563878357410431,
0.029717493802309036,
0.008970421738922596,
-0.015496093779802322,
0.05216732993721962,
-0.025950487703084946,
0.010254628024995327,
0.015144126489758492,
-0.024485541507601738,
-0.05939693748950958,
0.02343915030360222,
-0.03679490089416504,
-0.012375947088003159,
0.004118973854929209,
-0.01910138502717018,
0.01859721541404724,
-0.001963171409443021,
0.04413865879178047,
-0.03255226090550423,
-0.005184390116482973,
-0.041322916746139526,
0.015068025328218937,
-0.016980066895484924,
-0.03445478901267052,
-0.011595910415053368,
-0.025360703468322754,
0.012176182121038437,
-0.0032604581210762262,
-0.023762580007314682,
0.012670839205384254,
-0.0095126423984766,
-0.013412825763225555,
0.017864741384983063,
0.01393602043390274,
-0.025208501145243645,
0.014896797947585583,
-0.041208766400814056,
0.0641913115978241,
-0.04276883974671364,
-0.10699819773435593,
-0.025417780503630638,
0.018226223066449165,
0.05604848638176918,
-0.024009909480810165,
0.013441363349556923,
-0.028005218133330345,
0.044024508446455,
0.018273785710334778,
-0.014307013712823391,
0.04459526762366295,
0.07503572106361389,
0.00013496060273610055,
-0.00784317310899496,
0.032457135617733,
-0.04817201942205429,
0.021631747484207153,
0.028385724872350693,
0.01863526552915573,
0.017455698922276497,
-0.01882551796734333,
-0.006644580513238907,
-0.060766756534576416,
-0.018140608444809914,
-0.019862396642565727,
0.008818219415843487,
-0.05464061722159386,
0.04779151454567909,
-0.018930157646536827,
0.10509566962718964,
0.000976234907284379,
0.07564453035593033,
0.005393668077886105,
0.006882396526634693,
0.0541079081594944,
-0.038906704634428024,
0.007729021832346916,
-0.0013591187307611108,
0.02246886119246483,
-0.008780168369412422,
-0.027072979137301445,
0.006815807893872261,
0.0436440035700798,
0.02138441987335682,
-0.03776519000530243,
-0.01403114665299654,
0.010768311098217964,
-0.0032152729108929634,
0.061109211295843124,
-0.004799128044396639,
-0.006963253952562809,
0.05216732993721962,
-0.03578655794262886,
0.011462734080851078,
-0.015477068722248077,
-0.009322389028966427,
0.041246816515922546,
-0.021365394815802574,
0.10091010481119156,
0.02918478660285473,
0.004149890039116144,
-0.06190827488899231,
-0.020090699195861816,
0.045470427721738815,
-0.023344023153185844,
-0.06616993993520737,
-0.059130582958459854,
-0.03262836113572121,
-0.031182439997792244,
0.0017408134881407022,
-0.023077670484781265,
0.011966903693974018,
0.03142976760864258,
0.024599691852927208,
-0.022183481603860855,
-0.01854965277016163,
-0.03215273097157478,
0.05418400838971138,
-0.03801251947879791,
0.01661858521401882,
0.0027586661744862795,
0.017408134415745735,
0.019500916823744774,
-0.007096431218087673,
-0.036471471190452576,
0.009441297501325607,
-0.029241861775517464,
0.073894202709198,
-0.0018181037157773972,
0.028461825102567673,
-0.007557793986052275,
0.03323717042803764,
-0.05235758051276207,
0.020166801288723946,
0.03628121688961983,
0.07271463423967361,
-0.03839302435517311,
0.023648427799344063,
-0.021555647253990173,
0.034055259078741074,
-0.024561641737818718,
0.006925203371793032,
0.0028965994715690613,
-0.01502046175301075,
-0.008318805135786533,
0.04311129450798035,
0.01348892692476511,
-0.012309358455240726,
-0.05989159271121025,
-0.007633895147591829,
-0.0537274032831192,
-0.01356502715498209,
-0.039800893515348434,
-0.03911598399281502,
0.023344023153185844,
0.007543525192886591,
-0.011129790917038918,
0.03808861970901489,
-0.026806624606251717,
0.008608940988779068,
0.002053541596978903,
0.0013733877567574382,
-0.06476207077503204,
0.0780036672949791,
0.03727053105831146,
0.0216507725417614,
0.010930025950074196,
-0.006525672506541014,
-0.0117576252669096,
-0.009750458411872387,
-0.0006064309272915125,
0.05376545339822769,
-0.030535580590367317,
-0.028043268248438835,
0.03593876212835312,
-0.037670060992240906,
-0.01026414055377245,
-0.01253766193985939,
0.03430258855223656,
0.058978382498025894,
0.009883634746074677,
0.026673449203372,
0.024580666795372963,
-0.025284603238105774,
-0.022925468161702156,
0.02604561485350132,
-0.016551997512578964,
-0.03493042290210724,
-0.00035672407830134034,
-0.022621063515543938,
0.012937192805111408,
0.0001317649584962055,
0.029432114213705063,
-0.05772271379828453,
-0.027719838544726372,
-0.006316394545137882,
-0.08013449609279633,
-0.02414308488368988,
0.03708028048276901,
0.020319003611803055,
-0.005916863214224577,
0.010768311098217964,
-0.034207459539175034,
0.03637634217739105,
0.009427028708159924,
0.007909761741757393,
-0.01638077013194561,
-0.00955069251358509,
0.012984756380319595,
-0.006516159977763891,
-0.029584316536784172,
0.01789327897131443,
-0.017141781747341156,
-0.0032319200690835714,
-0.031962476670742035,
0.008071476593613625,
0.020946837961673737,
0.004437647759914398,
0.003431685734540224,
0.022449836134910583,
-0.03780324012041092,
0.010397317819297314,
0.019615067169070244,
0.025684133172035217,
-0.04394840821623802,
-0.08667919784784317,
-0.012899142690002918,
-0.026654422283172607,
0.02600756287574768,
0.020052649080753326,
0.037517860531806946,
0.05928278714418411,
0.0000432899541920051,
-0.0069204471074044704,
0.011215404607355595,
-0.024086009711027145,
0.06948033720254898,
0.01564829610288143,
-0.013403312303125858,
0.03085901029407978,
-0.04185562580823898,
-0.0002009545569308102,
0.05079750716686249,
-0.07073600590229034,
0.011614936403930187,
0.014268962666392326,
0.0027134811971336603,
-0.02507532387971878,
0.039382338523864746,
-0.014259450137615204,
0.01451629213988781,
0.0014031147584319115,
-0.001560073345899582,
-0.047258805483579636,
0.016590047627687454,
0.10608498752117157,
0.00888956431299448,
-0.017997918650507927,
-0.02589341253042221,
-0.03435966372489929,
-0.03717540577054024,
0.028556952252984047,
0.03462601825594902,
0.007662433199584484,
0.035995837301015854,
-0.01067318394780159,
0.07301904261112213,
0.007453155238181353,
-0.01583854854106903,
-0.006187973544001579,
-0.013384287245571613,
-0.018235735595226288,
0.004359168000519276,
0.0410565622150898,
0.017008604481816292,
0.01265181414783001,
0.09193017333745956,
0.029470164328813553,
-0.030269227921962738,
-0.025417780503630638,
-0.019710194319486618,
-0.013507951982319355,
-0.06392495334148407,
0.017531799152493477,
-0.009246287867426872,
0.002108239335939288,
0.007938300259411335,
-0.004071410745382309,
0.025379728525877,
-0.02794814296066761,
0.021764924749732018,
-0.0261217150837183,
0.001008934574201703,
0.006530428770929575,
-0.029317962005734444,
0.01197641622275114,
-0.09710504859685898,
-0.0040951925329864025,
-0.009817047044634819,
-0.015667321160435677,
0.017636438831686974,
-0.04094241186976433,
0.0039667715318500996,
0.01858770288527012,
0.02674954943358898,
-0.008704067207872868,
0.03612901642918587,
0.06339224427938461,
0.023077670484781265,
0.004822909366339445,
-0.06746365875005722,
0.005897838156670332,
0.03999114781618118,
-0.008547108620405197,
-0.031962476670742035,
0.01315598376095295,
-0.08538547158241272,
-0.0004961437662132084,
0.04208393022418022,
0.037555910646915436,
0.08325464278459549,
-0.055439677089452744,
-0.004884741734713316,
0.04653584584593773,
-0.07922128587961197,
-0.030021898448467255,
0.043453749269247055,
-0.00322716380469501,
-0.01568634621798992,
-0.06849101930856705,
0.01367917936295271,
0.049465738236904144,
0.05574408173561096,
0.06365860253572464,
0.03399818390607834,
0.03799349069595337,
0.08637478947639465,
0.045812882483005524,
-0.008504302240908146,
0.016085878014564514,
-0.0006866938783787191,
-0.02189810201525688,
-0.004830044228583574,
0.03645244613289833,
0.03641439229249954,
-0.02100391313433647,
-0.02732030861079693,
-0.011824213899672031,
-0.029089659452438354,
-0.083559051156044,
-0.029641393572092056,
-0.0057931989431381226,
-0.0023959968239068985,
-0.015182176604866982,
-0.030916087329387665,
0.0013198790838941932,
-0.028233522549271584,
0.06693094968795776,
0.002675430616363883,
-0.03357962518930435,
-0.026216842234134674,
-0.02302059344947338,
0.0060880910605192184,
0.06206047534942627,
-0.024637743830680847,
-0.02701590396463871,
0.03186735138297081,
0.02003362402319908,
-0.015439017675817013,
0.01854965277016163,
-0.036471471190452576,
0.023629402741789818,
-0.05616264045238495,
-0.012138131074607372,
-0.053118593990802765,
-0.02903258427977562,
-0.02045218087732792,
0.0034935178700834513,
0.07001304626464844,
-0.05007454752922058,
-0.04037165269255638,
0.033636704087257385,
0.012147643603384495,
0.024713844060897827,
-0.01337477471679449,
-0.04322544485330582,
0.018425988033413887,
-0.026330992579460144,
-0.006425789557397366,
0.009322389028966427,
0.007177288644015789,
-0.007591088302433491,
-0.002813363913446665,
0.05003649741411209,
-0.03346547484397888,
-0.049199383705854416,
-0.046269491314888,
-0.0002945946471299976,
-0.015572194941341877,
0.010844412259757519,
0.06727340817451477,
-0.05467866733670235,
0.03709930554032326,
0.0036124258767813444,
0.0055411141365766525,
0.020014598965644836,
0.09900757670402527,
0.005013162270188332,
0.022849366068840027,
-0.002442370867356658,
0.0244474895298481,
0.013974071480333805,
-0.020566333085298538,
0.011262968182563782,
-0.005089263431727886,
0.009807533584535122,
-0.01115832943469286,
-0.0488949790596962,
-0.015381942503154278,
0.006677874829620123,
-0.034645043313503265,
0.03999114781618118,
-0.025703158229589462,
0.014192862436175346,
0.0003255107149016112,
-0.016789812594652176,
-0.02134636789560318,
-0.07591088116168976,
0.018349885940551758,
-0.0015529388329014182,
0.019767269492149353,
0.010616108775138855,
0.0154865812510252,
-0.013688691891729832,
0.023762580007314682,
0.0029180028941482306,
0.0032010041177272797,
-0.006135654170066118,
-0.029489191249012947,
-0.025665108114480972,
0.04592703655362129,
0.039306238293647766,
0.051406316459178925,
0.013270135968923569,
-0.02421918697655201,
-0.007044111378490925,
0.06510452181100845,
0.03626219183206558,
0.021327342838048935,
-0.017417646944522858,
0.0162285678088665,
-0.003838350996375084,
0.016523459926247597,
-0.06974668800830841,
-0.003995309583842754,
-0.020204851403832436,
0.0012544796336442232,
-0.031696122139692307,
-0.02888038195669651,
0.03392207995057106,
-0.04596508666872978,
-0.03146782144904137,
0.047487109899520874,
0.013536489568650723,
-0.05947303771972656,
0.026388069614768028,
-0.029983848333358765,
0.04661194607615471,
0.07659579068422318,
-0.029983848333358765,
0.012727915309369564,
-0.029451139271259308,
0.03238103538751602,
0.06696899980306625,
-0.08873392641544342,
-0.01936773955821991,
-0.022811315953731537,
0.08203702419996262,
-0.036699771881103516,
-0.04429086297750473,
0.02440943941473961,
0.014021634124219418,
-0.04798176512122154,
-0.0024899339769035578,
0.01193836610764265,
0.02317279577255249,
0.01664712280035019,
-0.06563723087310791,
-0.025798285380005836,
0.0011224917834624648,
0.05053115636110306,
0.12632788717746735,
0.03082096017897129,
-0.0716492235660553,
0.055059172213077545,
0.07545427978038788,
-0.02410503476858139,
0.07244828343391418,
-0.0006569668184965849,
-0.0619463250041008,
-0.0069014220498502254,
-0.026407094672322273,
-0.01905382238328457,
0.011224918067455292,
-0.049313537776470184,
0.03772713989019394,
0.006673118565231562,
-0.005745635833591223,
0.006906178314238787,
0.009836072102189064,
0.08325464278459549,
-0.0018763686530292034,
-0.022830341011285782,
-0.024713844060897827,
0.022449836134910583,
-0.024162111803889275,
0.029470164328813553,
0.030097998678684235,
0.022735213860869408,
-0.01253766193985939,
-0.0444050133228302,
0.010083400644361973,
0.012309358455240726,
0.035653382539749146,
0.04687830060720444,
-0.045774832367897034,
0.05053115636110306,
-0.060728706419467926,
0.03660464659333229,
0.04059995710849762,
-0.020832685753703117,
0.006635067984461784,
0.023800630122423172,
0.012699376791715622,
0.009798021055758,
-0.0014031147584319115,
0.022887416183948517,
-0.015001436695456505,
-0.025531930848956108,
0.08926663547754288,
-0.004035738296806812,
-0.029336988925933838,
-0.03101121261715889,
-0.047372955828905106,
-0.025627057999372482,
-0.07366590201854706,
-0.041513171046972275,
0.0073532722890377045,
-0.03795544058084488,
-0.031201466917991638,
0.004749186336994171,
-0.02671149931848049,
-0.012176182121038437,
0.01886356994509697,
-0.04052385687828064,
0.07370395213365555,
0.04432891309261322,
0.0013032319257035851,
-0.008751630783081055,
0.022887416183948517,
0.007705240044742823,
0.004918036051094532,
0.020889762789011,
0.001454245182685554,
0.011034664697945118,
-0.002965566236525774,
0.011595910415053368,
0.021707849577069283,
0.005669534672051668,
-0.020128751173615456,
0.056961700320243835,
0.034873344004154205,
0.014373602345585823,
0.011424683034420013,
0.02399088256061077,
0.00449234526604414,
0.008708823472261429,
0.011015639640390873,
-0.0026896996423602104
] |
9,717 | cloudscraper.cloudflare | is_Captcha_Challenge | null | @staticmethod
def is_Captcha_Challenge(resp):
try:
return (
resp.headers.get('Server', '').startswith('cloudflare')
and resp.status_code == 403
and re.search(r'/cdn-cgi/images/trace/(captcha|managed)/', resp.text, re.M | re.S)
and re.search(
r'''<form .*?="challenge-form" action="/\S+__cf_chl_f_tk=''',
resp.text,
re.M | re.S
)
)
except AttributeError:
pass
return False
| (resp) | [
0.03509441018104553,
-0.026510166004300117,
0.01337230484932661,
0.05727638676762581,
-0.041839174926280975,
-0.01686190813779831,
0.05850270763039589,
0.0006881146691739559,
0.05803382024168968,
0.017060283571481705,
0.04508531838655472,
0.04840359464287758,
-0.017637375742197037,
-0.04191131144762039,
-0.0010747212218120694,
-0.06607703864574432,
0.0375831201672554,
0.026095381006598473,
-0.006843951065093279,
-0.09738428145647049,
-0.024851026013493538,
0.023444363847374916,
0.006014381069689989,
0.06156850978732109,
0.0009766606381163,
0.06607703864574432,
0.021117962896823883,
-0.012650939635932446,
-0.029594002291560173,
0.014138755388557911,
-0.008841230534017086,
-0.0011496755760163069,
0.007741149049252272,
0.04779043421149254,
0.009873684495687485,
-0.012687007896602154,
0.03953080624341965,
-0.025374015793204308,
-0.092623271048069,
-0.007308329921215773,
-0.052623581141233444,
0.041839174926280975,
-0.04378686100244522,
-0.04562633857131004,
-0.021117962896823883,
-0.008471530862152576,
-0.0164922084659338,
0.042235925793647766,
-0.012849315069615841,
-0.10611280053853989,
0.013868243433535099,
-0.005996346939355135,
0.015356059186160564,
-0.02638392709195614,
0.06034218892455101,
0.011045902967453003,
-0.006447200197726488,
0.10827689617872238,
-0.050567690283060074,
-0.0010521785588935018,
-0.04775436595082283,
-0.018196433782577515,
-0.06286696344614029,
-0.010847527533769608,
0.014337130822241306,
0.05168580636382103,
-0.014165806584060192,
-0.02678067795932293,
0.005725834984332323,
-0.05558117851614952,
-0.03776346147060394,
0.03071211837232113,
-0.05781741067767143,
-0.001785378553904593,
0.004648296162486076,
-0.061496373265981674,
0.018503013998270035,
0.017087334766983986,
0.043931134045124054,
0.005955770146101713,
-0.017069300636649132,
-0.01013517938554287,
0.026798712089657784,
-0.06560815125703812,
0.0016861908370628953,
-0.03779952973127365,
0.045770611613988876,
-0.05601399764418602,
-0.04461643099784851,
0.04862000420689583,
-0.02984648011624813,
-0.07278573513031006,
0.03354347497224808,
-0.02669050730764866,
0.013110809959471226,
0.05132512375712395,
0.07458914816379547,
0.0062127565033733845,
-0.044760704040527344,
-0.035274751484394073,
0.0022869526874274015,
0.0616045780479908,
0.01918831095099449,
0.009386762976646423,
0.04382292926311493,
0.014093670062720776,
-0.03289424628019333,
-0.03251552954316139,
0.005423763766884804,
-0.041009604930877686,
-0.02539204992353916,
-0.07127086818218231,
0.012272222898900509,
-0.008480547927320004,
0.0712347999215126,
-0.0794944316148758,
-0.03666337952017784,
-0.032786041498184204,
-0.031451515853405,
0.025193674489855766,
0.0108114592730999,
-0.02800699882209301,
-0.006086517591029406,
-0.013164912350475788,
0.04198344796895981,
0.011893506161868572,
-0.031054766848683357,
-0.03981935232877731,
-0.040612854063510895,
0.036555174738168716,
0.0053786784410476685,
0.04378686100244522,
-0.01861121878027916,
0.019062072038650513,
-0.027502043172717094,
0.051757942885160446,
0.01962113007903099,
-0.008841230534017086,
0.00664106709882617,
-0.010153213515877724,
-0.002317385282367468,
-0.012632905505597591,
-0.019170276820659637,
-0.020252324640750885,
0.030116992071270943,
0.03406646475195885,
0.0014393486781045794,
-0.04378686100244522,
0.002651016693562269,
-0.061460305005311966,
0.025500254705548286,
-0.007168565411120653,
0.06257841736078262,
-0.008052237331867218,
-0.03110886923968792,
0.015301956795156002,
-0.007632944267243147,
-0.0025135064497590065,
-0.00830922368913889,
-0.047646161168813705,
-0.006091026123613119,
-0.010766373947262764,
-0.04901675507426262,
-0.017303744331002235,
0.04241626709699631,
-0.020108051598072052,
0.045770611613988876,
-0.05727638676762581,
-0.007312838453799486,
0.04050464928150177,
-0.023696841672062874,
0.01411170419305563,
-0.0233722273260355,
0.024237865582108498,
0.006546387914568186,
0.03862909972667694,
0.010333554819226265,
-0.0015047224005684257,
0.01050487905740738,
-0.06373260170221329,
-0.00008319650078192353,
0.014246960170567036,
-0.053417082875967026,
0.04147849231958389,
0.031036732718348503,
0.01380512397736311,
0.023047612980008125,
0.0013660851400345564,
0.016988147050142288,
0.05449913069605827,
0.014896188862621784,
0.028602125123143196,
0.009729411453008652,
-0.007448094431310892,
0.033669713884592056,
-0.03953080624341965,
0.017700495198369026,
-0.001958956941962242,
0.016852891072630882,
-0.06142423674464226,
0.003931439481675625,
-0.04699693247675896,
-0.027339735999703407,
0.014535506255924702,
0.0048196204006671906,
0.04797077551484108,
-0.027592213824391365,
0.05222683027386665,
-0.03210074454545975,
0.03338116779923439,
-0.04400327056646347,
-0.018719423562288284,
0.0062127565033733845,
0.02813323773443699,
-0.02245248854160309,
0.044941045343875885,
0.03464355692267418,
0.010351588949561119,
-0.04944957420229912,
0.0249051284044981,
0.024255899712443352,
0.0031063782516866922,
-0.014950291253626347,
0.028782466426491737,
-0.033669713884592056,
0.028782466426491737,
-0.01229927409440279,
0.11758250743150711,
-0.035581331700086594,
-0.10055828839540482,
-0.020775314420461655,
0.05540083721280098,
0.049954529851675034,
-0.006127094384282827,
0.015806911513209343,
-0.026059312745928764,
0.055689383298158646,
0.04277694970369339,
0.0360502190887928,
0.03015306033194065,
0.05990936979651451,
0.019512925297021866,
-0.015563451685011387,
0.02901691012084484,
-0.035581331700086594,
-0.017889853566884995,
-0.013318202458322048,
0.028061101213097572,
0.030026821419596672,
0.014544523321092129,
-0.0528760589659214,
-0.045878816395998,
-0.025482220575213432,
-0.06935925036668777,
-0.0463116355240345,
-0.04054071754217148,
-0.02862015925347805,
0.0012319562956690788,
0.0699363425374031,
0.025987176224589348,
0.03228108584880829,
0.03520261496305466,
0.040180034935474396,
0.03971114754676819,
-0.03981935232877731,
0.06387687474489212,
0.02699708752334118,
0.029125114902853966,
-0.005121692083775997,
-0.010423725470900536,
0.0913248136639595,
0.011577908881008625,
0.02560845948755741,
-0.05442699417471886,
0.007267753127962351,
-0.013417390175163746,
0.01205581333488226,
0.06679840385913849,
-0.028457852080464363,
0.015310973860323429,
0.05540083721280098,
-0.005653698928654194,
0.02063104137778282,
0.0149683253839612,
-0.03787166625261307,
0.04862000420689583,
-0.025229742750525475,
0.054643403738737106,
0.01645614020526409,
-0.006807882804423571,
-0.04504925012588501,
-0.0016444869106635451,
0.08771799504756927,
-0.02158685028553009,
-0.029503831639885902,
0.025175640359520912,
-0.016356952488422394,
-0.06697874516248703,
-0.06081107631325722,
-0.0030342417303472757,
0.01236239355057478,
0.00739399204030633,
-0.03267783671617508,
0.00532908458262682,
0.01153282355517149,
-0.021208133548498154,
0.01053193025290966,
0.016086440533399582,
0.018899764865636826,
-0.017817717045545578,
-0.003667690558359027,
0.023732909932732582,
0.019512925297021866,
-0.03725850582122803,
0.042849086225032806,
0.01291243452578783,
0.05522049590945244,
-0.02622161991894245,
-0.035058341920375824,
-0.012109915725886822,
0.005761903245002031,
-0.011487738229334354,
0.040180034935474396,
0.04335404187440872,
0.006803374271839857,
-0.03424680605530739,
0.06917890906333923,
-0.047033000737428665,
0.006753780413419008,
0.022091805934906006,
-0.012966536916792393,
-0.007191108074039221,
-0.027195462957024574,
-0.02604127861559391,
0.05143332853913307,
-0.0397472158074379,
-0.00939578004181385,
-0.08569817245006561,
-0.01940472051501274,
-0.07632042467594147,
-0.010324537754058838,
-0.05146939679980278,
0.005631156265735626,
-0.007903455756604671,
0.008579735644161701,
-0.035887911915779114,
0.011641028337180614,
-0.006072991993278265,
-0.00839939434081316,
0.0034693151246756315,
-0.014454352669417858,
-0.05972902849316597,
0.039783284068107605,
0.025265811011195183,
0.0058655994944274426,
0.05089230462908745,
-0.026113415136933327,
0.008142407983541489,
0.01861121878027916,
0.03601415082812309,
0.06362439692020416,
-0.019116174429655075,
-0.019332583993673325,
0.0017752343555912375,
-0.08353407680988312,
-0.00930560939013958,
0.02705118991434574,
0.008178476244211197,
0.022993510589003563,
0.0021539509762078524,
0.01843087747693062,
0.012461581267416477,
-0.02871032990515232,
-0.05183007940649986,
0.014797001145780087,
-0.012191069312393665,
0.0004959384677931666,
-0.016816822811961174,
-0.04440002143383026,
0.03534688800573349,
0.02109992876648903,
0.018503013998270035,
-0.04180310666561127,
-0.005775428842753172,
-0.01238944474607706,
-0.07155941426753998,
-0.04656411334872246,
0.04789863899350166,
-0.012127949856221676,
-0.0009687707643024623,
-0.009738428518176079,
-0.049485642462968826,
0.05561724677681923,
0.027934862300753593,
-0.04591488465666771,
-0.013778072781860828,
-0.011902523227036,
0.006050449330359697,
0.03206467628479004,
0.009927786886692047,
0.04219985753297806,
0.038520894944667816,
-0.009053131565451622,
-0.004458937793970108,
0.004918808117508888,
0.059837233275175095,
-0.015572468750178814,
-0.01636596955358982,
0.010820476338267326,
-0.03193843737244606,
0.019458822906017303,
0.010640135034918785,
0.03406646475195885,
-0.03439107909798622,
-0.07978297770023346,
0.015265888534486294,
-0.027141360566020012,
-0.0031108867842704058,
-0.006230790633708239,
0.03520261496305466,
0.05247930809855461,
-0.03201057389378548,
0.015761826187372208,
-0.013886277563869953,
-0.008043220266699791,
0.054066311568021774,
0.033922191709280014,
-0.032659802585840225,
0.017051266506314278,
-0.03534688800573349,
-0.06091928109526634,
0.08230775594711304,
-0.02171308919787407,
-0.026492131873965263,
-0.004181663040071726,
-0.021568816155195236,
-0.05677143111824989,
0.031559720635414124,
-0.035274751484394073,
-0.007326364051550627,
-0.030748186632990837,
0.03673551604151726,
-0.07812383770942688,
-0.01962113007903099,
0.11202799528837204,
0.008408411405980587,
-0.013687902130186558,
-0.007772708777338266,
0.038520894944667816,
-0.03282210975885391,
-0.0358157753944397,
0.02905297838151455,
-0.026636404916644096,
0.04010789841413498,
0.007524739485234022,
0.08338980376720428,
-0.006190213840454817,
0.018593184649944305,
-0.043317973613739014,
0.02066710963845253,
-0.07155941426753998,
0.04050464928150177,
0.023660773411393166,
-0.0111450906842947,
0.02171308919787407,
0.049124959856271744,
0.046852659434080124,
0.028025032952427864,
0.005432780832052231,
0.004177154507488012,
-0.07047736644744873,
-0.04403933882713318,
0.03208271041512489,
-0.023101715371012688,
0.03372381627559662,
-0.0036924874875694513,
-0.010613083839416504,
0.07963870465755463,
-0.006352521013468504,
0.026005210354924202,
-0.042849086225032806,
0.032966382801532745,
0.0033453304786235094,
-0.05583365634083748,
0.006086517591029406,
-0.11123449355363846,
-0.026600336655974388,
-0.013471492566168308,
-0.015347042120993137,
-0.02591503970324993,
0.025464186444878578,
-0.013074741698801517,
0.0012815501540899277,
-0.004481480456888676,
0.04025217145681381,
0.027754520997405052,
-0.018106263130903244,
0.056302543729543686,
0.03478782996535301,
-0.020432665944099426,
-0.009341677650809288,
0.018809594213962555,
-0.06052253022789955,
-0.03089245967566967,
0.031613823026418686,
-0.06600490212440491,
0.0005043919663876295,
0.02586093731224537,
0.05749279633164406,
0.05763706937432289,
-0.028331613168120384,
0.006302927155047655,
0.024832991883158684,
-0.012046796269714832,
0.02100975811481476,
0.06405721604824066,
-0.0329844169318676,
-0.03837662190198898,
-0.027105292305350304,
0.011127056553959846,
0.027736486867070198,
0.002635236829519272,
0.03906191885471344,
-0.004476971924304962,
0.016104474663734436,
0.07458914816379547,
0.020613007247447968,
-0.02665443904697895,
0.002014186466112733,
-0.02036052942276001,
0.0077817258425056934,
0.005631156265735626,
0.03725850582122803,
0.03220894932746887,
-0.037691324949264526,
0.019693266600370407,
-0.02638392709195614,
-0.01208286453038454,
-0.05132512375712395,
-0.045770611613988876,
-0.028692295774817467,
-0.03669944778084755,
0.019891642034053802,
0.0038052008021622896,
-0.009062148630619049,
0.00747063709422946,
0.0018800577381625772,
-0.034625522792339325,
-0.029341524466872215,
-0.020198222249746323,
-0.006014381069689989,
0.008210035972297192,
0.02223607897758484,
-0.0764646977186203,
0.03237125650048256,
0.08043220639228821,
0.03837662190198898,
0.004869214259088039,
0.012100898660719395,
-0.010937698185443878,
0.0016287070466205478,
-0.11368713527917862,
0.02100975811481476,
-0.06459823995828629,
-0.08865576982498169,
-0.05493194982409477,
0.03534688800573349,
0.05763706937432289,
-0.027249565348029137,
-0.03208271041512489,
0.0065689305774867535,
0.014274011366069317,
0.05951261892914772,
0.011902523227036,
-0.0082461042329669,
0.014274011366069317,
-0.01861121878027916,
-0.004932333715260029,
0.027592213824391365,
0.006595981772989035,
-0.029503831639885902,
-0.0360502190887928,
0.03949473798274994,
-0.0080792885273695,
-0.04706906899809837,
-0.04818718507885933,
0.00343550113029778,
-0.028818534687161446,
-0.01509456429630518,
0.03289424628019333,
-0.03953080624341965,
0.04201951622962952,
0.04898068681359291,
-0.04923316463828087,
0.04292122274637222,
0.06185705587267876,
-0.007443585898727179,
0.023805046454072,
0.01245256420224905,
0.035942014306783676,
0.021081894636154175,
-0.01334525365382433,
-0.009048623032867908,
-0.018809594213962555,
0.02259676158428192,
0.019603095948696136,
-0.07069377601146698,
-0.053849902004003525,
-0.01105492003262043,
-0.06546387821435928,
0.0057123093865811825,
-0.0114697040989995,
0.002908002818003297,
0.0318843349814415,
0.028151271864771843,
-0.011262312531471252,
-0.08122570812702179,
0.02319188602268696,
-0.0010533056920394301,
0.03693389147520065,
-0.013318202458322048,
0.016717635095119476,
0.024580514058470726,
-0.011884489096701145,
-0.0018406080780550838,
0.002324148081243038,
0.02865622751414776,
-0.019116174429655075,
-0.06618524342775345,
0.032317154109478,
0.02555435709655285,
0.0014923239359632134,
0.00939578004181385,
-0.00581149710342288,
-0.051144782453775406,
0.07415632903575897,
-0.02171308919787407,
0.017853785306215286,
0.012677990831434727,
0.048078980296850204,
-0.010820476338267326,
-0.03249749541282654,
-0.0703330934047699,
-0.003155972110107541,
-0.016943061724305153,
0.004134323447942734,
-0.02358863689005375,
-0.028475886210799217,
0.05060375854372978,
-0.05276785418391228,
-0.02097368985414505,
0.0598733015358448,
0.03323689475655556,
-0.030315367504954338,
-0.012109915725886822,
-0.03485996648669243,
0.01651925966143608,
0.05265964940190315,
0.0018338452791795135,
-0.03437304496765137,
0.0055319685488939285,
-0.01105492003262043,
0.04036037623882294,
-0.04342617839574814,
0.027231531217694283,
0.008034203201532364,
0.0716315507888794,
-0.1066177561879158,
-0.03722243756055832,
0.027249565348029137,
0.017033232375979424,
-0.019476857036352158,
-0.0360502190887928,
0.001588130253367126,
0.013778072781860828,
0.04357045143842697,
-0.05478767678141594,
-0.037078164517879486,
0.012741110287606716,
0.030387504026293755,
0.07624828815460205,
0.0015960201853886247,
-0.04923316463828087,
0.02084745094180107,
0.03696995973587036,
-0.01208286453038454,
0.0703330934047699,
-0.004323681816458702,
-0.04519352316856384,
-0.027141360566020012,
-0.05359742417931557,
0.02192949876189232,
0.03531081974506378,
0.06907070428133011,
0.02957596816122532,
0.01624874770641327,
0.03485996648669243,
0.06820506602525711,
0.00936872884631157,
0.03992755711078644,
0.009531036019325256,
-0.038953714072704315,
-0.012596837244927883,
0.003685724688693881,
-0.027069224044680595,
-0.009296592324972153,
-0.002200163435190916,
-0.030946562066674232,
-0.006514828186482191,
0.02057693898677826,
0.017583273351192474,
0.034192703664302826,
0.03754705190658569,
0.041658833622932434,
-0.01533802505582571,
-0.0021550781093537807,
-0.05514835938811302,
0.007475145626813173,
0.05103657767176628,
-0.03866516798734665,
0.014012516476213932,
0.020468734204769135,
0.012569786049425602,
0.03722243756055832,
-0.021208133548498154,
-0.009422831237316132,
-0.009174861945211887,
-0.002720898948609829,
0.014382216148078442,
-0.008971977978944778,
-0.044111475348472595,
-0.04046858102083206,
-0.05543690547347069,
-0.012479615397751331,
-0.09897128492593765,
-0.00022528569388668984,
-0.037943802773952484,
0.009864667430520058,
-0.015960201621055603,
0.03469765931367874,
0.007727623451501131,
-0.025175640359520912,
0.025752732530236244,
-0.03276800736784935,
0.031144937500357628,
0.014517472125589848,
-0.022993510589003563,
-0.005613122135400772,
0.029612036421895027,
0.007204633671790361,
0.05161366984248161,
0.01059504970908165,
-0.005825022701174021,
0.009666291996836662,
0.029612036421895027,
0.005216371268033981,
-0.033579543232917786,
-0.003687978954985738,
0.0016906993696466088,
0.039783284068107605,
-0.010721288621425629,
0.005279490724205971,
0.016167594119906425,
0.050928372889757156,
-0.035581331700086594,
-0.013841192238032818,
-0.003958490677177906,
0.026293756440281868
] |
9,718 | cloudscraper.cloudflare | is_Challenge_Request | null | def is_Challenge_Request(self, resp):
if self.is_Firewall_Blocked(resp):
self.cloudscraper.simpleException(
CloudflareCode1020,
'Cloudflare has blocked this request (Code 1020 Detected).'
)
if self.is_New_Captcha_Challenge(resp):
self.cloudscraper.simpleException(
CloudflareChallengeError,
'Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.'
)
if self.is_New_IUAM_Challenge(resp):
self.cloudscraper.simpleException(
CloudflareChallengeError,
'Detected a Cloudflare version 2 challenge, This feature is not available in the opensource (free) version.'
)
if self.is_Captcha_Challenge(resp) or self.is_IUAM_Challenge(resp):
if self.cloudscraper.debug:
print('Detected a Cloudflare version 1 challenge.')
return True
return False
| (self, resp) | [
0.009756012819707394,
-0.000497755769174546,
-0.02017570100724697,
0.05499016121029854,
-0.03891028091311455,
-0.004211961757391691,
0.03564879298210144,
0.011064399965107441,
-0.007523222826421261,
0.017056431621313095,
0.04459891840815544,
0.04672267287969589,
-0.00012725363194476813,
-0.031894292682409286,
0.026698671281337738,
-0.08669482916593552,
0.04296817258000374,
0.020782487466931343,
0.015757525339722633,
-0.08434353023767471,
0.005788188427686691,
0.04903605207800865,
-0.007290937006473541,
0.03293721005320549,
-0.014932673424482346,
0.1027747169137001,
0.019815420731902122,
0.0056175291538238525,
-0.021806443110108376,
0.01677199825644493,
-0.04509193077683449,
0.04820172116160393,
-0.015311915427446365,
0.05032547935843468,
0.01463876012712717,
0.013794945552945137,
0.028537997975945473,
-0.031154770404100418,
-0.030927224084734917,
-0.025655753910541534,
-0.08995632082223892,
0.028803467750549316,
-0.06359896808862686,
-0.013017497956752777,
-0.028386300429701805,
-0.006053658202290535,
-0.04512985795736313,
0.051652826368808746,
0.0009569947142153978,
-0.0952657163143158,
0.02133239060640335,
-0.039630841463804245,
0.05013585835695267,
-0.02461283840239048,
0.050439249724149704,
-0.006442382000386715,
0.014705127105116844,
0.06367481499910355,
-0.04531947895884514,
0.01348207052797079,
-0.023949163034558296,
0.00730515830218792,
-0.04964284226298332,
-0.020820412784814835,
0.00038368673995137215,
0.0561278872191906,
0.01095062680542469,
-0.031685709953308105,
0.0008704800275154412,
-0.00032205984462052584,
0.000026406240067444742,
0.030073929578065872,
-0.06394028663635254,
-0.010979070328176022,
0.0267555583268404,
-0.036122847348451614,
0.023930201306939125,
0.013415702618658543,
0.03155297413468361,
-0.01249604020267725,
-0.012846839614212513,
-0.048353418707847595,
0.0046860151924192905,
-0.07038740813732147,
-0.00791194662451744,
-0.053776584565639496,
0.028575921431183815,
-0.07152513414621353,
-0.030168740078806877,
0.03578152880072594,
-0.04179252311587334,
-0.0307755284011364,
-0.00025509981787763536,
-0.035136815160512924,
0.043461188673973083,
0.04050309956073761,
0.047367386519908905,
-0.008295929059386253,
-0.03003600426018238,
-0.026793481782078743,
-0.0001374013372696936,
0.08570880442857742,
0.034188710153102875,
0.021825404837727547,
0.04122366011142731,
0.011291945353150368,
-0.044864386320114136,
0.011462604627013206,
0.004804528318345547,
-0.044257599860429764,
-0.043119870126247406,
-0.07361096888780594,
-0.009390992112457752,
0.011898732744157314,
0.041375353932380676,
-0.08457107841968536,
-0.007475817576050758,
0.010590346530079842,
-0.04903605207800865,
0.01326400600373745,
0.020611830055713654,
-0.016335871070623398,
0.039403293281793594,
-0.07046325504779816,
0.010173180140554905,
0.02463180013000965,
-0.04027555137872696,
-0.010969588533043861,
-0.030908262357115746,
0.047367386519908905,
-0.02152201160788536,
0.029884308576583862,
-0.030889300629496574,
0.025636792182922363,
-0.03716576471924782,
0.020763525739312172,
0.012069392018020153,
0.010021482594311237,
0.02922063320875168,
-0.024480102583765984,
-0.016781480982899666,
-0.019834382459521294,
-0.015729082748293877,
-0.03140127658843994,
-0.00009718088404042646,
0.04004800692200661,
-0.02030843496322632,
-0.059958238154649734,
0.005930404178798199,
-0.02751404233276844,
0.026452163234353065,
-0.0018322152318432927,
0.051235660910606384,
-0.043271567672491074,
-0.04315779358148575,
0.01799505576491356,
-0.031306467950344086,
-0.028367338702082634,
-0.010002520866692066,
-0.03760189190506935,
-0.005290432833135128,
0.00572182098403573,
-0.04577456787228584,
-0.007864541374146938,
0.043271567672491074,
-0.049984160810709,
-0.016809923574328423,
-0.04767078161239624,
0.006470825057476759,
0.07615189254283905,
-0.014743051491677761,
0.04243723303079605,
0.014164706692099571,
0.05624166131019592,
0.03891028091311455,
0.026490088552236557,
0.011747036129236221,
-0.04592626541852951,
0.005323616322129965,
-0.08745332062244415,
0.01704695075750351,
0.0033610365353524685,
-0.044067978858947754,
0.038815468549728394,
-0.00041805559885688126,
0.0034179228823632,
0.030642792582511902,
0.004501134157180786,
0.013434665277600288,
0.05946522206068039,
-0.010609308257699013,
0.014079377055168152,
0.013121790252625942,
0.015226585790514946,
0.03699510544538498,
-0.04732946306467056,
0.016895253211259842,
0.02247011661529541,
0.036122847348451614,
-0.10262301564216614,
0.019009530544281006,
-0.020782487466931343,
0.0004580538079608232,
0.008670431561768055,
0.003522214712575078,
0.039403293281793594,
-0.0450160838663578,
0.013937161304056644,
-0.016819404438138008,
0.01609884388744831,
-0.029163748025894165,
-0.009571132250130177,
0.012287456542253494,
0.0385500006377697,
0.0017350343987345695,
0.029012050479650497,
0.03377154469490051,
-0.03233042359352112,
-0.03490927070379257,
-0.004747641738504171,
-0.0006476750713773072,
0.036312468349933624,
0.015444650314748287,
0.029106860980391502,
-0.02787432260811329,
0.03179948404431343,
-0.026072921231389046,
0.11521387100219727,
-0.03453002870082855,
-0.05400412902235985,
-0.05127358436584473,
0.021351352334022522,
0.004434766713529825,
0.0016094102757051587,
-0.02770366333425045,
0.013984566554427147,
0.0634472668170929,
0.061892375349998474,
0.022906245663762093,
0.004228553734719753,
0.0806269496679306,
0.021939177066087723,
-0.014515506103634834,
-0.0015584495849907398,
-0.043309491127729416,
-0.03396116569638252,
-0.021237580105662346,
0.014762014150619507,
0.0019933932926505804,
0.00921559240669012,
-0.05032547935843468,
-0.06492631137371063,
-0.000801742309704423,
-0.10239547491073608,
-0.05244923755526543,
-0.037507083266973495,
-0.016705632209777832,
-0.03638831526041031,
0.07372473925352097,
-0.0001350310631096363,
0.02848111093044281,
0.04277855157852173,
0.06079256907105446,
0.1018645316362381,
-0.07163890451192856,
0.029315443709492683,
0.05502808466553688,
0.014951635152101517,
0.009831861592829227,
-0.023550959303975105,
0.10762901604175568,
0.0057550049386918545,
-0.010675676167011261,
-0.037677742540836334,
0.006447122432291508,
-0.010476573370397091,
0.007153461221605539,
0.04858096316456795,
-0.03348711133003235,
0.013188157230615616,
0.04073064401745796,
-0.007125018164515495,
0.0066746678203344345,
-0.005873518064618111,
-0.04649512842297554,
0.03250108286738396,
-0.043688733130693436,
0.05692429840564728,
0.021446162834763527,
0.0010233621578663588,
-0.05772070586681366,
0.014961116015911102,
0.06549517810344696,
-0.024555951356887817,
0.019388772547245026,
0.042095914483070374,
0.03680548444390297,
-0.011585857719182968,
-0.0338473916053772,
-0.015198142267763615,
0.0029201670549809933,
-0.004119521472603083,
0.004366029053926468,
-0.041489128023386,
0.00019450992112979293,
-0.04061686992645264,
0.031097883358597755,
-0.004472691100090742,
-0.01658237725496292,
-0.022944170981645584,
-0.006096323020756245,
0.03291824832558632,
-0.006660446058958769,
-0.034985121339559555,
0.039213672280311584,
0.05927560105919838,
0.04164082556962967,
-0.00792616792023182,
-0.049680765718221664,
0.01704695075750351,
-0.007935648784041405,
0.007736546918749809,
-0.0019566542468965054,
0.05521770566701889,
0.00024161893816199154,
-0.0426647812128067,
0.08502616733312607,
-0.051652826368808746,
-0.02248908020555973,
-0.008314891718327999,
-0.01794765144586563,
-0.048353418707847595,
-0.002725805388763547,
-0.009073376655578613,
0.041754599660634995,
-0.023494072258472443,
-0.007509001065045595,
-0.0558624193072319,
-0.0016840737080201507,
-0.013908718712627888,
-0.007053910288959742,
-0.03951706737279892,
0.010609308257699013,
-0.028727618977427483,
0.023911239579319954,
-0.0265280120074749,
0.028519034385681152,
-0.0028419482987374067,
0.008528215810656548,
0.013519994914531708,
-0.06917382776737213,
-0.06530555337667465,
0.04046517238020897,
0.02963780052959919,
0.030699679628014565,
0.04861888661980629,
-0.01927500031888485,
-0.03528851270675659,
0.018563920632004738,
0.00538050290197134,
0.06985646486282349,
-0.04786040261387825,
0.009599575772881508,
0.04494023323059082,
-0.09776871651411057,
-0.033221643418073654,
0.04380250722169876,
0.015691157430410385,
0.00899752788245678,
-0.0012432042276486754,
0.002526703057810664,
0.010751524940133095,
-0.009315143339335918,
-0.05650712922215462,
0.0025598867796361446,
-0.03001704253256321,
0.008585101924836636,
0.003105047857388854,
-0.025238588452339172,
0.05150112882256508,
0.02848111093044281,
0.04888435825705528,
-0.04365080967545509,
-0.025807451456785202,
-0.019436176866292953,
-0.08669482916593552,
-0.04713984206318855,
0.01057138480246067,
-0.031078921630978584,
0.0022742697037756443,
0.025921223685145378,
-0.015093850903213024,
0.02305794321000576,
0.03917574882507324,
-0.06185444816946983,
0.008504512719810009,
-0.03274758905172348,
0.003676281776279211,
-0.003038680413737893,
-0.010817891918122768,
0.057038068771362305,
0.01805194281041622,
0.019388772547245026,
0.014183669351041317,
-0.01761581376194954,
0.04239930957555771,
-0.0029770536348223686,
0.010030963458120823,
0.009917191229760647,
-0.011130766943097115,
-0.009822380729019642,
-0.01144364196807146,
0.004757123067975044,
-0.039782535284757614,
-0.09913398325443268,
0.042133841663599014,
-0.00930092204362154,
0.023702654987573624,
-0.006499268114566803,
0.03638831526041031,
0.059389375150203705,
-0.016762517392635345,
-0.0007484113448299468,
0.033259566873311996,
-0.004505874589085579,
0.010201622731983662,
0.021408239379525185,
-0.002481668023392558,
0.027021028101444244,
-0.04797417297959328,
-0.03894820436835289,
0.09276271611452103,
0.019663723185658455,
-0.06310594826936722,
-0.007821876555681229,
-0.00044146194704808295,
-0.05176660045981407,
0.04365080967545509,
-0.02690725401043892,
-0.027362344786524773,
-0.03365777060389519,
-0.005162438377737999,
-0.08123373985290527,
-0.008120529353618622,
0.10353320091962814,
0.02284936048090458,
-0.013292449526488781,
-0.02715376205742359,
0.036710672080516815,
-0.032614853233098984,
-0.043119870126247406,
0.007418930996209383,
-0.05563487485051155,
0.03879650682210922,
0.011965100653469563,
0.10907013714313507,
0.0033610365353524685,
0.04884643107652664,
-0.031230619177222252,
0.020403245463967323,
-0.04437137022614479,
0.021370314061641693,
0.03879650682210922,
-0.03813283145427704,
0.007916687056422234,
0.07099419087171555,
0.008604063652455807,
0.04073064401745796,
0.007992535829544067,
-0.014790456742048264,
-0.05794825404882431,
-0.037639815360307693,
0.04531947895884514,
-0.0008266301010735333,
0.041147809475660324,
-0.019009530544281006,
0.0205170176923275,
0.06784648448228836,
-0.003126380266621709,
0.017473597079515457,
-0.010960107669234276,
0.020991072058677673,
0.011822884902358055,
-0.06257501244544983,
0.03616077080368996,
-0.11817196011543274,
-0.07065287232398987,
-0.003633617190644145,
-0.014041452668607235,
-0.03464380279183388,
0.013719096779823303,
-0.03781047463417053,
0.011462604627013206,
0.0008444071281701326,
0.029580913484096527,
0.01095062680542469,
0.013519994914531708,
0.043271567672491074,
0.009438397362828255,
0.0103722820058465,
0.00810156762599945,
0.03506096825003624,
-0.04258893057703972,
0.0007673734799027443,
0.029941193759441376,
-0.032823435962200165,
0.003292298875749111,
0.014477581717073917,
0.04088234156370163,
0.05844126641750336,
-0.030889300629496574,
-0.0069259158335626125,
0.04933944717049599,
-0.001804957166314125,
0.020498055964708328,
0.05791032686829567,
0.0014671944081783295,
-0.010618790052831173,
-0.026490088552236557,
0.038056984543800354,
0.02362680621445179,
0.012998536229133606,
0.06007200852036476,
0.019265517592430115,
-0.019910231232643127,
0.06883250921964645,
-0.007082353346049786,
-0.020289473235607147,
-0.01694265753030777,
-0.03248211741447449,
0.02112380601465702,
0.03646416589617729,
0.03530747443437576,
0.022735586389899254,
-0.026831405237317085,
0.05411790311336517,
-0.04611588642001152,
0.00925825722515583,
-0.05389035865664482,
-0.04846718907356262,
0.01510333176702261,
-0.013501032255589962,
-0.020668715238571167,
-0.026262542232871056,
-0.02867073193192482,
-0.031685709953308105,
0.027021028101444244,
-0.016971101984381676,
-0.0002670992980711162,
-0.006195873953402042,
-0.019199151545763016,
0.03564879298210144,
0.03507992997765541,
-0.08115789294242859,
0.05529355630278587,
0.046040039509534836,
0.07819980382919312,
-0.008973825722932816,
-0.00810156762599945,
0.0192086324095726,
0.013576881028711796,
-0.09685853123664856,
0.020042965188622475,
-0.03409390151500702,
-0.0742936059832573,
-0.03762085363268852,
0.03248211741447449,
0.04281647875905037,
0.016383275389671326,
-0.04315779358148575,
0.03447314351797104,
0.0280639436095953,
0.06026163324713707,
0.03705199062824249,
-0.03559190779924393,
-0.010116293095052242,
-0.043271567672491074,
-0.0026025515981018543,
-0.0030363101977854967,
-0.005726561415940523,
-0.0331268310546875,
-0.06136143580079079,
0.008002016693353653,
-0.051235660910606384,
-0.04801210016012192,
-0.04805002361536026,
0.010694637894630432,
0.004539058543741703,
0.01199354324489832,
0.022545965388417244,
-0.05381450802087784,
-0.005290432833135128,
0.012230570428073406,
-0.021863330155611038,
0.01753048412501812,
0.06534348428249359,
-0.007902465760707855,
0.009656461887061596,
-0.005854555871337652,
0.0469122976064682,
-0.02011881396174431,
-0.01221160776913166,
-0.01403197180479765,
-0.05127358436584473,
0.026243580505251884,
0.022318420931696892,
-0.08085449784994125,
-0.02307690493762493,
0.006783700082451105,
-0.08836349844932556,
0.0366537868976593,
-0.022944170981645584,
-0.006485046353191137,
-0.002972312970086932,
0.0199291929602623,
0.004183518700301647,
-0.045433249324560165,
0.017397748306393623,
0.021256541833281517,
0.021275503560900688,
0.013292449526488781,
-0.007959351874887943,
0.03621765598654747,
-0.016260022297501564,
-0.01461031660437584,
0.01268566120415926,
0.009561651386320591,
-0.007238790858536959,
-0.06299217790365219,
-0.015311915427446365,
0.06139935925602913,
-0.002102425554767251,
-0.020270511507987976,
-0.00895486306399107,
-0.0535111166536808,
0.0596548430621624,
-0.006058398634195328,
0.019455140456557274,
-0.004811638966202736,
0.016212616115808487,
-0.01585233584046364,
0.02207191288471222,
-0.03331645205616951,
-0.010249027982354164,
-0.013301930390298367,
-0.020592866465449333,
-0.01770114339888096,
-0.015065408311784267,
0.07251116633415222,
-0.039630841463804245,
-0.039820462465286255,
0.04107196256518364,
0.018175195902585983,
-0.03415078669786453,
-0.0055890860967338085,
-0.041034035384655,
0.017502041533589363,
0.03644520416855812,
0.011092842556536198,
-0.03373361751437187,
0.009319883771240711,
0.006167430896311998,
0.07747924327850342,
-0.06879458576440811,
0.03479549661278725,
0.027665739879012108,
0.0634472668170929,
-0.0957208052277565,
-0.053397342562675476,
0.03140127658843994,
-0.02595914900302887,
-0.02903101220726967,
0.017795953899621964,
0.006603559944778681,
0.04569872096180916,
0.02671763300895691,
-0.04478853940963745,
-0.012714104726910591,
0.014003529213368893,
0.011690150015056133,
0.05756900832056999,
0.00795461144298315,
-0.03164778649806976,
0.0020016892813146114,
0.05635543540120125,
-0.008234302513301373,
0.026679709553718567,
0.013055422343313694,
-0.0725870132446289,
-0.004076856654137373,
-0.040768567472696304,
-0.014363809488713741,
0.0019222854170948267,
0.06636743247509003,
0.006665186956524849,
0.013254525139927864,
-0.03145816549658775,
0.06678460538387299,
0.002397523494437337,
0.04907397925853729,
0.02671763300895691,
-0.02379746548831463,
-0.015653233975172043,
0.03551606088876724,
-0.01901901140809059,
0.008670431561768055,
-0.025276511907577515,
-0.03447314351797104,
0.014411214739084244,
0.008940641768276691,
-0.0047926767729222775,
-0.003477179678156972,
0.016004033386707306,
-0.010211103595793247,
0.0027684702072292566,
-0.004859044216573238,
-0.033221643418073654,
0.019322404637932777,
0.08039940893650055,
-0.01571960188448429,
0.00003499845115584321,
-0.0010891370475292206,
0.009130262769758701,
0.0012858690461143851,
-0.029751572757959366,
-0.019056934863328934,
0.019512025639414787,
-0.0003350962942931801,
0.018905237317085266,
-0.005849815439432859,
-0.038265567272901535,
-0.03485238552093506,
-0.040010083466768265,
0.006447122432291508,
-0.058972205966711044,
-0.01832689344882965,
-0.014079377055168152,
0.020839374512434006,
0.007670179475098848,
0.034397292882204056,
0.004652831237763166,
-0.04437137022614479,
0.050666797906160355,
-0.02265973947942257,
0.01278995256870985,
0.022242572158575058,
-0.017056431621313095,
-0.015065408311784267,
0.023930201306939125,
0.0255799051374197,
0.036122847348451614,
-0.0037568709813058376,
0.02017570100724697,
-0.02360784448683262,
0.01772010512650013,
0.008115788921713829,
-0.046040039509534836,
0.009092338383197784,
0.017596852034330368,
0.017767511308193207,
0.007248272188007832,
0.011775479651987553,
0.003112158738076687,
0.039213672280311584,
-0.013681172393262386,
-0.017208127304911613,
0.030453171581029892,
0.0249920804053545
] |
9,719 | cloudscraper.cloudflare | is_Firewall_Blocked | null | @staticmethod
def is_Firewall_Blocked(resp):
try:
return (
resp.headers.get('Server', '').startswith('cloudflare')
and resp.status_code == 403
and re.search(
r'<span class="cf-error-code">1020</span>',
resp.text,
re.M | re.DOTALL
)
)
except AttributeError:
pass
return False
| (resp) | [
0.04738738387823105,
-0.05424747243523598,
0.027704205363988876,
0.05403639376163483,
-0.043165791779756546,
-0.013298018835484982,
0.03345612809062004,
-0.06328871846199036,
0.029041044414043427,
0.0034938082098960876,
-0.002812196733430028,
-0.0011928199091926217,
0.00668858690187335,
-0.08175818622112274,
-0.002005256712436676,
0.007726395037025213,
-0.019085118547081947,
0.014379802159965038,
0.0255582295358181,
-0.07138010859489441,
-0.04446744918823242,
0.023535382002592087,
0.019366558641195297,
0.029973311349749565,
0.019085118547081947,
0.06663081049919128,
-0.0075021227821707726,
0.000967998115811497,
-0.00668858690187335,
0.01496906578540802,
0.0011510438052937388,
-0.0018931207014247775,
-0.01716781221330166,
0.002464794786646962,
0.009278710000216961,
0.009225940331816673,
0.01841670088469982,
-0.0159453097730875,
-0.07043024897575378,
-0.0279504656791687,
-0.051784876734018326,
0.0012093106051906943,
-0.06283137947320938,
-0.009665689431130886,
0.001988766249269247,
-0.028847554698586464,
-0.0034630256704986095,
0.018680550158023834,
-0.02244480326771736,
-0.03495127335190773,
-0.029410433024168015,
0.06100202351808548,
0.00900166854262352,
-0.035408612340688705,
0.058011725544929504,
-0.019472097977995872,
-0.019542459398508072,
0.07176708430051804,
-0.00278141419403255,
-0.007444955408573151,
-0.049814801663160324,
0.007488930597901344,
-0.017000706866383553,
-0.002840780420228839,
0.018469469621777534,
0.04425637051463127,
-0.02209300547838211,
-0.015048220753669739,
-0.01342114806175232,
-0.02124868519604206,
-0.004771279636770487,
0.015443995594978333,
-0.07549615949392319,
0.049533359706401825,
0.004243580624461174,
-0.04812616482377052,
0.018961990252137184,
0.0036521179135888815,
-0.01806490123271942,
0.01482834666967392,
0.03472260385751724,
-0.0021569703239947557,
0.052418116480112076,
-0.010967347770929337,
0.014687626622617245,
-0.058996766805648804,
0.0653291568160057,
-0.030166801065206528,
-0.057871006429195404,
0.06800282746553421,
-0.03489850461483002,
-0.0275986660271883,
-0.019296199083328247,
-0.05804690718650818,
0.010641933418810368,
0.06427375972270966,
0.08042135089635849,
-0.0284429844468832,
-0.04559320583939552,
-0.008847755379974842,
0.03488091379404068,
0.06388677656650543,
-0.010043874382972717,
-0.023341892287135124,
0.06800282746553421,
0.010510007850825787,
-0.04066801443696022,
-0.019313789904117584,
-0.01622674986720085,
-0.015100990422070026,
0.025874849408864975,
-0.058785684406757355,
0.005835473071783781,
0.02103760652244091,
0.05481035262346268,
-0.0005903634591959417,
-0.003051860025152564,
-0.006780934054404497,
-0.018522240221500397,
0.03544379398226738,
0.05526769161224365,
-0.02300768345594406,
0.0123569555580616,
-0.0522422157227993,
0.04580428823828697,
0.020070157945156097,
-0.0549158938229084,
-0.057871006429195404,
0.06240921840071678,
0.07774767279624939,
-0.029463203623890877,
0.011846845969557762,
-0.04893530160188675,
0.007849524728953838,
0.0017974752699956298,
0.023060452193021774,
-0.011873231269419193,
0.016191568225622177,
0.013456328772008419,
-0.028003234416246414,
-0.028935503214597702,
-0.009340275079011917,
0.010052668862044811,
-0.03523271530866623,
-0.03426526486873627,
0.06378123909235,
-0.03912009671330452,
-0.03764253854751587,
0.028706833720207214,
-0.03764253854751587,
0.025751719251275063,
-0.0054924688301980495,
-0.005470481235533953,
0.02413344196975231,
-0.03169712796807289,
0.04274363070726395,
-0.02789769507944584,
-0.028970682993531227,
0.01401920709758997,
-0.029498383402824402,
-0.032717347145080566,
-0.017352506518363953,
-0.04552284628152847,
-0.0445026271045208,
0.009173170663416386,
-0.030835220590233803,
0.029850183054804802,
-0.021917104721069336,
0.013852102681994438,
0.039507076144218445,
-0.016349878162145615,
0.02286696247756481,
-0.027704205363988876,
0.06050950288772583,
0.017669126391410828,
0.061459362506866455,
0.01175010111182928,
-0.0034498332533985376,
-0.008416801691055298,
-0.053262434899806976,
0.005488071125000715,
0.00578710064291954,
-0.028407804667949677,
-0.016112415120005608,
0.018029721453785896,
-0.007211888674646616,
-0.019331378862261772,
-0.0025923221837729216,
0.010721087455749512,
0.12277800589799881,
0.030729681253433228,
-0.004102861043065786,
0.05540841072797775,
-0.002689067041501403,
-0.033350586891174316,
-0.021231096237897873,
0.019243428483605385,
0.013438738882541656,
0.03007885254919529,
-0.0987149253487587,
0.023218762129545212,
0.0229549128562212,
-0.023341892287135124,
0.02265588380396366,
-0.008517944253981113,
0.042462192475795746,
-0.04242701083421707,
0.024098262190818787,
-0.06001698225736618,
0.019366558641195297,
-0.05882086604833603,
0.012946219183504581,
0.008016630075871944,
0.02831985428929329,
0.001390707097016275,
0.0237992312759161,
-0.0024164223577827215,
0.01750202290713787,
-0.04200485348701477,
0.003968737553805113,
0.021213505417108536,
-0.058504246175289154,
-0.05931338667869568,
-0.013385968282818794,
-0.028935503214597702,
0.0574488490819931,
-0.0002392511087236926,
0.05804690718650818,
-0.003887383732944727,
-0.07004326581954956,
-0.0233067125082016,
0.03579559177160263,
0.008416801691055298,
-0.00022866963990963995,
0.029603922739624977,
-0.02457319013774395,
0.034282855689525604,
-0.001551215653307736,
0.012946219183504581,
-0.0142214922234416,
0.06592721492052078,
-0.01934896968305111,
-0.01225141528993845,
0.02796805463731289,
0.0050527192652225494,
-0.0313277393579483,
-0.025874849408864975,
0.0447840690612793,
0.0233067125082016,
-0.00875980593264103,
-0.06065022200345993,
-0.015734229236841202,
0.004977962002158165,
-0.051995955407619476,
-0.03502163290977478,
-0.092101089656353,
-0.06719369441270828,
-0.011565406806766987,
0.05600646883249283,
0.017607562243938446,
0.022919733077287674,
0.013218863867223263,
0.02012292854487896,
0.006767741870135069,
-0.05062393844127655,
0.050799839198589325,
0.001970076933503151,
0.01589253917336464,
-0.00013151252642273903,
0.020492317155003548,
0.05980590358376503,
-0.04383420944213867,
0.04369349032640457,
-0.0506942979991436,
-0.02888273447751999,
-0.0270357858389616,
0.050166599452495575,
0.0536494143307209,
0.006517084781080484,
-0.012471290305256844,
0.07394824177026749,
0.017976950854063034,
-0.015285685658454895,
0.031099069863557816,
-0.008346441201865673,
0.001856841379776597,
-0.002368049928918481,
0.061318643391132355,
-0.016912758350372314,
-0.013482713140547276,
-0.012796704657375813,
-0.00220754137262702,
0.1025143563747406,
-0.029410433024168015,
0.005879448261111975,
0.061951879411935806,
0.03127497062087059,
-0.021231096237897873,
-0.013843308202922344,
-0.03206652030348778,
-0.026912657544016838,
-0.0051362719386816025,
0.01820562034845352,
0.014203902333974838,
0.031011119484901428,
-0.021336635574698448,
0.027440356090664864,
0.020281236618757248,
-0.005008744541555643,
0.007867114618420601,
-0.01189961563795805,
-0.0020668217912316322,
0.0258396677672863,
-0.05741366744041443,
0.04474888741970062,
0.0505535788834095,
0.01806490123271942,
0.007392185740172863,
-0.048055801540613174,
-0.004448064137250185,
0.020369186997413635,
-0.006196067668497562,
0.014977861195802689,
0.052805095911026,
0.03218964859843254,
-0.04425637051463127,
0.07584796100854874,
-0.019436918199062347,
0.023482613265514374,
0.0249953493475914,
0.031943388283252716,
-0.0561823695898056,
-0.001613879925571382,
-0.04738738387823105,
0.04116053506731987,
-0.019823897629976273,
0.0061432975344359875,
-0.06494217365980148,
-0.0015369238099083304,
-0.07563687860965729,
-0.02633218839764595,
-0.01587495021522045,
0.020562676712870598,
0.01387848798185587,
0.02647290751338005,
-0.010615548118948936,
-0.002370248781517148,
0.031028710305690765,
0.004254574421793222,
0.023975132033228874,
0.01207551546394825,
-0.02040436677634716,
0.016068439930677414,
0.06441447883844376,
0.0031486048828810453,
0.022216133773326874,
-0.035830773413181305,
0.013764153234660625,
0.009067630395293236,
0.03125737980008125,
0.031661950051784515,
-0.0480206236243248,
-0.020087748765945435,
0.0317499004304409,
-0.05403639376163483,
0.013289223425090313,
0.0490056611597538,
-0.018627779558300972,
0.024907400831580162,
-0.025663768872618675,
0.00494278222322464,
-0.015857359394431114,
-0.02782733552157879,
-0.07408896088600159,
0.028196724131703377,
0.011547816917300224,
0.03196097910404205,
-0.024661140516400337,
-0.04242701083421707,
0.10258471220731735,
0.018803680315613747,
0.010079054161906242,
0.0003397063410375267,
-0.031521230936050415,
0.07542579621076584,
-0.030395470559597015,
-0.06926930695772171,
0.012972604483366013,
-0.013139708898961544,
0.02068580687046051,
0.022708654403686523,
-0.03831095993518829,
0.029269713908433914,
0.07971775531768799,
-0.06276101619005203,
0.010439648292958736,
-0.03641124069690704,
-0.02153012529015541,
0.04749292507767677,
0.005765113048255444,
0.019190659746527672,
0.05681560933589935,
-0.04738738387823105,
0.008346441201865673,
0.0026934645138680935,
0.03340335562825203,
-0.016270723193883896,
0.009164375253021717,
-0.029128992930054665,
0.03382551670074463,
0.0228141937404871,
-0.003432243363931775,
0.0008838960784487426,
-0.061389002948999405,
-0.0567452497780323,
0.05551395192742348,
-0.021371815353631973,
0.049885161221027374,
-0.020844116806983948,
-0.013544278219342232,
0.06353497505187988,
-0.07296320050954819,
0.08506510406732559,
-0.015575920231640339,
-0.03057137131690979,
0.00023100580438040197,
0.028126364573836327,
-0.0504128597676754,
0.0433768704533577,
-0.03579559177160263,
-0.019085118547081947,
0.07078204303979874,
-0.01394884753972292,
-0.05762474611401558,
0.02160048484802246,
-0.03760736063122749,
-0.03989405557513237,
-0.04066801443696022,
-0.030061261728405952,
-0.010263748466968536,
0.013913667760789394,
0.04865386337041855,
-0.051995955407619476,
0.007739587686955929,
0.04510068893432617,
-0.006429134868085384,
-0.024661140516400337,
-0.004700920078903437,
0.050448037683963776,
-0.04031621664762497,
-0.05695632845163345,
-0.015760615468025208,
0.010360493324697018,
0.037185199558734894,
-0.024274161085486412,
0.0536494143307209,
-0.016534574329853058,
0.002926531480625272,
-0.008566316217184067,
0.03693893924355507,
-0.042180754244327545,
0.017255762591958046,
-0.030975939705967903,
-0.02350020222365856,
0.029603922739624977,
0.02872442454099655,
0.03226000815629959,
-0.006578649394214153,
0.015329660847783089,
0.02040436677634716,
-0.0625147596001625,
-0.05540841072797775,
0.03233036771416664,
-0.04362313076853752,
0.06905823200941086,
0.02668398804962635,
-0.016613729298114777,
0.012488880194723606,
0.0036169379018247128,
0.033157095313072205,
-0.03535584360361099,
-0.022972503677010536,
-0.01850465126335621,
-0.07028952986001968,
0.001978871878236532,
-0.11405337601900101,
-0.019524868577718735,
0.021864334121346474,
0.010870602913200855,
-0.021424585953354836,
0.020509907975792885,
-0.021125556901097298,
0.011002527549862862,
-0.0324534997344017,
0.020720986649394035,
-0.015540740452706814,
-0.041195712983608246,
0.021776385605335236,
0.039929237216711044,
-0.024256570264697075,
-0.014951475895941257,
-0.013693792745471,
-0.08612050116062164,
-0.029322482645511627,
0.05217185616493225,
-0.07542579621076584,
0.011978770606219769,
0.03241831809282303,
0.08084350824356079,
0.03686857968568802,
-0.007427365519106388,
0.020791346207261086,
0.03240072727203369,
0.020316418260335922,
-0.03968297690153122,
0.022005055099725723,
0.00439309561625123,
0.02204023487865925,
0.016613729298114777,
0.026648808270692825,
0.03715002164244652,
-0.01430064719170332,
0.045346949249506,
0.0010691405041143298,
0.027088556438684464,
0.033086735755205154,
0.01715901680290699,
-0.03679822012782097,
-0.02782733552157879,
-0.027721796184778214,
-0.0032783308997750282,
0.03262939676642418,
0.033350586891174316,
-0.04949818179011345,
-0.008539930917322636,
0.03551415354013443,
-0.04355277121067047,
-0.01514496561139822,
-0.09273432940244675,
-0.03630570322275162,
-0.00233946624211967,
-0.052558835595846176,
-0.00423698453232646,
0.016833603382110596,
-0.07845127582550049,
-0.023746462538838387,
-0.06582167744636536,
-0.000035162767744623125,
-0.013139708898961544,
-0.021090377122163773,
0.04851314052939415,
0.012893449515104294,
0.0433768704533577,
-0.0533679760992527,
0.0494278222322464,
0.07451111823320389,
0.03394864499568939,
0.04045693576335907,
0.02068580687046051,
0.019859077408909798,
-0.018979579210281372,
-0.07922523468732834,
0.04066801443696022,
-0.03176748752593994,
-0.06912858784198761,
-0.051503438502550125,
0.007911089807748795,
0.02747553586959839,
-0.04443226754665375,
-0.05681560933589935,
-0.0005474878707900643,
0.00414903461933136,
0.04513586685061455,
0.024397291243076324,
0.003931358922272921,
0.005430903751403093,
0.00686448672786355,
0.013825718313455582,
0.01885644905269146,
-0.016288314014673233,
-0.03014921210706234,
-0.04837242141366005,
-0.01207551546394825,
-0.030131621286273003,
-0.02181156538426876,
-0.03134533017873764,
-0.017475636675953865,
-0.0454876683652401,
0.0035421806387603283,
0.06388677656650543,
-0.006952436175197363,
0.039155278354883194,
0.03975333645939827,
-0.056393448263406754,
0.021565305069088936,
0.08991993963718414,
-0.010149413719773293,
0.016323493793606758,
0.021864334121346474,
0.08963849395513535,
0.008469571359455585,
0.021160736680030823,
0.02731722593307495,
-0.06258512288331985,
0.025786899030208588,
0.0433768704533577,
-0.046507883816957474,
-0.06680671125650406,
-0.031380508095026016,
-0.06743995100259781,
-0.003720279084518552,
0.0005947609315626323,
-0.0014995450619608164,
0.028143955394625664,
0.04101981595158577,
0.0039643398486077785,
-0.028478164225816727,
0.048759400844573975,
-0.0009927339851856232,
-0.009823999367654324,
0.01062434259802103,
0.008742216043174267,
0.019929438829421997,
-0.009815203957259655,
0.0025901233311742544,
0.014010412618517876,
0.014881116338074207,
0.006332390010356903,
-0.06881196796894073,
0.057308129966259,
0.008755408227443695,
0.02951597236096859,
0.01189961563795805,
-0.0036741052754223347,
-0.08499474078416824,
0.049322281032800674,
-0.006187272723764181,
-0.008913718163967133,
-0.0274579469114542,
0.03465224429965019,
0.0014962470158934593,
-0.013236453756690025,
-0.051995955407619476,
0.0005414413171820343,
-0.028513344004750252,
0.00892691034823656,
-0.028829963877797127,
-0.013544278219342232,
0.030413061380386353,
-0.023693691939115524,
-0.02803841419517994,
0.012189850211143494,
0.03767772018909454,
0.0022866963408887386,
-0.024414880201220512,
-0.0248546302318573,
-0.002477987203747034,
0.07408896088600159,
0.03310432657599449,
-0.06582167744636536,
-0.009595329873263836,
-0.0636405199766159,
0.002922134008258581,
-0.028513344004750252,
0.01309573370963335,
0.015013040974736214,
0.02747553586959839,
-0.08647230267524719,
-0.004692125134170055,
0.0036894965451210737,
0.053790133446455,
0.02068580687046051,
-0.005536443553864956,
0.03806469962000847,
-0.016578547656536102,
0.020738577470183372,
-0.05568985268473625,
-0.023341892287135124,
0.03459947556257248,
0.016006873920559883,
0.03000849112868309,
-0.01688637211918831,
-0.03785362094640732,
-0.008069399744272232,
0.010325313545763493,
0.04467852786183357,
-0.0065522645600140095,
0.020791346207261086,
-0.04274363070726395,
-0.020246056839823723,
-0.08823129534721375,
-0.02768661640584469,
-0.0011197116691619158,
0.13382451236248016,
0.010474828071892262,
-0.009225940331816673,
0.04306025058031082,
0.01707986183464527,
0.025153659284114838,
0.08189890533685684,
0.0033464920707046986,
-0.018469469621777534,
-0.01052759774029255,
-0.01482834666967392,
-0.007757177576422691,
-0.034353215247392654,
-0.00019610070739872754,
-0.03940153867006302,
0.0015061413869261742,
0.02789769507944584,
0.014283057302236557,
0.019243428483605385,
0.0506942979991436,
0.013139708898961544,
-0.008781793527305126,
0.015479175373911858,
-0.04453780874609947,
-0.04524140805006027,
0.048302061855793,
-0.006679791957139969,
0.0019206050783395767,
0.049744442105293274,
0.004947179462760687,
0.06877678632736206,
-0.03637606278061867,
-0.012911039404571056,
-0.03472260385751724,
0.008086989633738995,
-0.021565305069088936,
0.007440558169037104,
0.023834411054849625,
0.026508087292313576,
-0.03940153867006302,
0.011283966712653637,
-0.030659321695566177,
-0.011433481238782406,
-0.054775170981884,
0.03746664151549339,
-0.012400929816067219,
0.04429154843091965,
0.057941365987062454,
-0.009648099541664124,
0.0068161142989993095,
-0.028126364573836327,
-0.029322482645511627,
0.013007784262299538,
-0.03502163290977478,
0.01751961186528206,
0.03904973715543747,
0.04566356539726257,
0.030201980844140053,
-0.015857359394431114,
-0.005619996227324009,
0.009692074730992317,
0.05656934902071953,
0.0013830115785822272,
-0.015699049457907677,
-0.022691063582897186,
-0.0217587947845459,
0.0010691405041143298,
0.011706125922501087,
0.04137161374092102,
-0.018610190600156784,
0.06219813972711563,
-0.014036797918379307,
-0.010923372581601143,
-0.03141568973660469,
0.03291083872318268
] |
9,720 | cloudscraper.cloudflare | is_IUAM_Challenge | null | @staticmethod
def is_IUAM_Challenge(resp):
try:
return (
resp.headers.get('Server', '').startswith('cloudflare')
and resp.status_code in [429, 503]
and re.search(r'/cdn-cgi/images/trace/jsch/', resp.text, re.M | re.S)
and re.search(
r'''<form .*?="challenge-form" action="/\S+__cf_chl_f_tk=''',
resp.text,
re.M | re.S
)
)
except AttributeError:
pass
return False
| (resp) | [
0.02178754098713398,
-0.01522547286003828,
-0.006907682865858078,
0.04088389873504639,
-0.034653618931770325,
-0.0006537875160574913,
0.050874464213848114,
-0.022303659468889236,
0.0007338548894040287,
0.023870445787906647,
0.041363149881362915,
0.06318755447864532,
0.00023962609702721238,
-0.026709092780947685,
-0.007529789116233587,
-0.05743652954697609,
0.04822014272212982,
0.04283777251839638,
-0.005225691944360733,
-0.07516886293888092,
-0.03690241649746895,
0.013889096677303314,
0.011695596389472485,
0.09039433300495148,
-0.015713941305875778,
0.04659805819392204,
0.022064033895730972,
-0.028202148154377937,
-0.011207127943634987,
0.012165632098913193,
-0.015151741914451122,
0.0037349413614720106,
-0.005414627958089113,
0.026801256462931633,
0.03594391420483589,
-0.014525027945637703,
0.022064033895730972,
-0.0329393707215786,
-0.0838322639465332,
-0.006935331970453262,
-0.06606306880712509,
0.044975973665714264,
-0.025418797507882118,
-0.04903118312358856,
-0.029474008828401566,
0.013750851154327393,
-0.01807333715260029,
0.03771346062421799,
0.015207040123641491,
-0.09503939747810364,
0.017142482101917267,
0.0006774045177735388,
0.02176910825073719,
-0.022838210687041283,
0.05260714516043663,
0.02291194163262844,
-0.017317593097686768,
0.05902174860239029,
-0.060422640293836594,
-0.011105747893452644,
-0.08774001151323318,
-0.03483794629573822,
-0.04722477123141289,
-0.008912247605621815,
0.001082349568605423,
0.04047837480902672,
0.006138114258646965,
-0.03513287007808685,
0.0027787410654127598,
-0.05039520934224129,
-0.023612385615706444,
0.02211933210492134,
-0.04751969873905182,
0.0241285040974617,
0.021197693422436714,
-0.048515066504478455,
0.00036087920307181776,
0.011326940730214119,
0.011317724362015724,
-0.006050558760762215,
0.01940971426665783,
-0.004963024985045195,
0.010230191051959991,
-0.053602512925863266,
-0.016128679737448692,
-0.037750326097011566,
0.06145487725734711,
-0.07008141279220581,
-0.05028461292386055,
0.03870882838964462,
-0.03550152853131294,
-0.07867109030485153,
0.027851924300193787,
-0.026322005316615105,
0.02337276004254818,
0.07461588084697723,
0.03926181420683861,
-0.011548134498298168,
-0.05234908312559128,
-0.05732593312859535,
-0.011640298180282116,
0.0658787414431572,
0.013179435394704342,
0.0033386365976184607,
0.029474008828401566,
0.02687498740851879,
-0.03714204579591751,
-0.019280683249235153,
0.023446490988135338,
-0.048515066504478455,
0.0019907397218048573,
-0.06403546780347824,
-0.029492441564798355,
-0.022045601159334183,
0.06643172353506088,
-0.05393430218100548,
-0.0026197582483291626,
-0.02453402429819107,
-0.013566522859036922,
0.01865397021174431,
-0.017566435039043427,
-0.021455751731991768,
0.005672686733305454,
-0.05017401650547981,
0.05861622840166092,
-0.023815147578716278,
-0.05699414387345314,
-0.02645103447139263,
-0.04128941893577576,
0.027077747508883476,
-0.034653618931770325,
0.026838121935725212,
-0.01942814700305462,
0.0158521868288517,
-0.048478201031684875,
0.048920586705207825,
-0.0049261595122516155,
-0.0018202366773039103,
0.024736786261200905,
0.019465012475848198,
-0.013326897285878658,
0.0015379848191514611,
-0.05076386407017708,
-0.023520221933722496,
0.010958285070955753,
0.02608237788081169,
-0.0005532713257707655,
-0.017723115161061287,
0.031206689774990082,
-0.0720352903008461,
0.013382195495069027,
-0.017446622252464294,
0.05098506063222885,
0.011778543703258038,
-0.016036516055464745,
-0.0025252902414649725,
-0.0015379848191514611,
-0.012322311289608479,
-0.025510963052511215,
-0.06326128542423248,
0.017925875261425972,
-0.030303483828902245,
-0.050100285559892654,
0.0024077813141047955,
0.012008953839540482,
-0.02576902136206627,
0.026819689199328423,
-0.022064033895730972,
0.005280990619212389,
0.05555638670921326,
-0.02022075466811657,
0.01305040530860424,
-0.0403309129178524,
0.04283777251839638,
0.0011359198251739144,
0.04069957137107849,
0.019981129094958305,
-0.0033178997691720724,
-0.004292532801628113,
-0.05784205347299576,
-0.014985847286880016,
0.01446051336824894,
-0.07483707368373871,
0.030690573155879974,
0.019133221358060837,
-0.00038075202610343695,
0.02217463031411171,
-0.014543460682034492,
0.025953348726034164,
0.0538974367082119,
0.01443286333233118,
0.028294311836361885,
-0.0060367342084646225,
0.007156525272876024,
0.007806280627846718,
-0.019096355885267258,
0.02134515531361103,
0.0022280619014054537,
0.026340438053011894,
-0.09644028544425964,
-0.001983827445656061,
-0.01807333715260029,
-0.03006385825574398,
0.033068399876356125,
0.0033317243214696646,
0.03789778798818588,
-0.03004542551934719,
0.03553839400410652,
-0.008654188364744186,
0.034690484404563904,
-0.046892981976270676,
-0.021160827949643135,
0.0011843058746308088,
0.0482570081949234,
-0.020036427304148674,
0.07067126780748367,
0.010184109210968018,
0.012091901153326035,
-0.01147440355271101,
0.005681903101503849,
0.020810604095458984,
0.016303790733218193,
-0.016921289265155792,
0.013105703517794609,
-0.04195299744606018,
0.021584780886769295,
-0.004435386974364519,
0.11796976625919342,
-0.032662879675626755,
-0.051685504615306854,
-0.024810517206788063,
0.04910491406917572,
0.04973163083195686,
0.004654276184737682,
-0.023925743997097015,
0.021676944568753242,
0.01875535026192665,
0.050063420087099075,
0.03334489092230797,
0.030985496938228607,
0.030782736837863922,
0.0006249863072298467,
-0.026027079671621323,
0.044128067791461945,
-0.061970993876457214,
-0.0452708974480629,
-0.015557263046503067,
0.02372298389673233,
-0.0016151720192283392,
-0.003910052590072155,
-0.042985234409570694,
-0.05378684028983116,
-0.009055101312696934,
-0.08021944016218185,
-0.04272717610001564,
-0.019870532676577568,
-0.030985496938228607,
-0.004548287484794855,
0.059206075966358185,
0.004412345588207245,
0.03231265768408775,
-0.005963003262877464,
0.05334445461630821,
0.05773145332932472,
-0.07325185090303421,
0.05625683441758156,
0.040588974952697754,
0.05153804272413254,
-0.001436604536138475,
-0.029768934473395348,
0.09909460693597794,
-0.01974150352180004,
0.014893683604896069,
-0.05297579988837242,
0.014451297000050545,
0.001892815693281591,
0.02488424815237522,
0.04670865461230278,
-0.06510456651449203,
0.024828949943184853,
0.02293037436902523,
0.010617279447615147,
0.029750501736998558,
0.01127164252102375,
-0.029621470719575882,
0.02969520166516304,
-0.00038824035436846316,
0.06930723786354065,
-0.006331658456474543,
-0.010451383888721466,
-0.03629413619637489,
0.0006451471708714962,
0.053676243871450424,
-0.029953261837363243,
-0.014331483282148838,
0.06628426164388657,
-0.032275792211294174,
-0.03763972967863083,
-0.02656163088977337,
-0.023888878524303436,
-0.003499923273921013,
0.002215389395132661,
-0.04707730934023857,
-0.033787280321121216,
-0.019465012475848198,
-0.023169999942183495,
-0.008368480019271374,
0.03011915646493435,
-0.0003355341323185712,
-0.007562046404927969,
0.0006566676311194897,
0.0396304689347744,
-0.0016543417004868388,
-0.051279984414577484,
0.03762129694223404,
0.03210989758372307,
0.05828443914651871,
0.0007206063601188362,
-0.025861185044050217,
-0.005691119469702244,
0.016672445461153984,
-0.008861557580530643,
0.040552109479904175,
0.016598714515566826,
-0.0054422770626842976,
-0.05592504143714905,
0.05813697725534439,
-0.05102192610502243,
-0.0011773935984820127,
-0.00419576046988368,
-0.01865397021174431,
-0.014368348754942417,
-0.028404908254742622,
-0.050432074815034866,
0.017317593097686768,
-0.055224597454071045,
-0.0022107812110334635,
-0.07306752353906631,
-0.014423646964132786,
-0.019188519567251205,
-0.025087008252739906,
-0.04320642724633217,
0.023575520142912865,
0.010608063079416752,
0.015114876441657543,
-0.06351934373378754,
-0.0012741656973958015,
0.004460731986910105,
0.0037026838399469852,
0.0024169976823031902,
-0.029050055891275406,
-0.04641373082995415,
0.05297579988837242,
0.025861185044050217,
0.021916570141911507,
0.052533410489559174,
-0.03493010997772217,
-0.016331439837813377,
0.017603300511837006,
0.03999912366271019,
0.04224792495369911,
-0.05780518800020218,
-0.012967457994818687,
-0.0025990214198827744,
-0.0815466046333313,
-0.037436969578266144,
0.04390687122941017,
0.0008035538485273719,
0.0359254814684391,
-0.0032372563146054745,
0.011465187184512615,
0.012746265158057213,
-0.020386651158332825,
-0.06967589259147644,
0.0005077653913758695,
0.021971868351101875,
0.025953348726034164,
-0.01227622851729393,
-0.0766066163778305,
0.027464836835861206,
0.04423866420984268,
0.02927124872803688,
-0.04998968914151192,
-0.008663404732942581,
-0.009594259783625603,
-0.07594303786754608,
-0.046118807047605515,
0.04519716650247574,
-0.036662790924310684,
0.004702662117779255,
0.01898575946688652,
-0.035077571868896484,
0.0475565642118454,
0.033879444003105164,
-0.05334445461630821,
-0.0006704922416247427,
-0.0355752594769001,
0.007953742519021034,
0.02693028561770916,
0.008202585391700268,
0.03474578261375427,
0.012534287758171558,
0.03126198798418045,
0.03841390460729599,
-0.0016773826209828258,
0.05105879157781601,
0.009815453551709652,
-0.0034630578011274338,
0.019907398149371147,
-0.032681312412023544,
0.01600886695086956,
-0.0078016724437475204,
0.002555243670940399,
-0.05308639630675316,
-0.09113164246082306,
0.0008991738432087004,
-0.00386627484112978,
-0.02335432730615139,
-0.030248185619711876,
0.03485637903213501,
0.05610937252640724,
-0.023962609469890594,
0.020017994567751884,
0.016755392774939537,
-0.017077967524528503,
0.014073424972593784,
0.027225211262702942,
-0.034690484404563904,
0.013889096677303314,
-0.03137258440256119,
-0.05621996894478798,
0.0864865854382515,
0.00365890609100461,
-0.06348247826099396,
-0.005469926167279482,
-0.019686205312609673,
-0.07601676881313324,
0.026027079671621323,
-0.028165282681584358,
-0.011363806203007698,
-0.006446863524615765,
0.03485637903213501,
-0.08943583071231842,
-0.012985890731215477,
0.1340431421995163,
0.016211627051234245,
-0.008515942841768265,
0.01622084341943264,
0.01776919700205326,
-0.02184283919632435,
-0.03255228325724602,
0.0006802846328355372,
-0.07107678800821304,
0.00040724914288148284,
0.016248492524027824,
0.08361107110977173,
0.031427882611751556,
0.05537205934524536,
-0.029013190418481827,
-0.001080621499568224,
-0.05710474029183388,
0.0300269927829504,
0.03690241649746895,
-0.014571109786629677,
0.036460030823946,
0.06668978184461594,
0.038155846297740936,
0.013889096677303314,
0.004151982720941305,
0.02180597372353077,
-0.08434838056564331,
-0.013999693095684052,
0.06473591178655624,
-0.02053411304950714,
0.05905861407518387,
-0.009750938974320889,
-0.006953764706850052,
0.07162977010011673,
-0.015962785109877586,
0.04593447968363762,
-0.03290250524878502,
0.019280683249235153,
0.03043251298367977,
-0.05662548914551735,
0.01303197257220745,
-0.11251366883516312,
-0.034690484404563904,
-0.03697614744305611,
0.0016969675198197365,
-0.056846681982278824,
0.026709092780947685,
-0.013981260359287262,
-0.008658796548843384,
0.030211320146918297,
0.06838560104370117,
0.012543504126369953,
0.0064099980518221855,
0.04740910232067108,
0.023999474942684174,
-0.008165719918906689,
0.00952974520623684,
0.0006820127018727362,
-0.02337276004254818,
-0.0198152344673872,
0.04877312481403351,
-0.0412156879901886,
0.007912268862128258,
-0.0008265948272310197,
0.06978648900985718,
0.034598320722579956,
-0.010709443129599094,
0.03513287007808685,
0.025087008252739906,
-0.0229856725782156,
0.015391368418931961,
0.06713216751813889,
-0.0166447963565588,
-0.02173224277794361,
-0.014589542523026466,
0.010691010393202305,
0.0324048213660717,
-0.03456145524978638,
0.052496545016765594,
0.0038754912093281746,
0.00897215399891138,
0.06584187597036362,
-0.0018835993250831962,
-0.019096355885267258,
-0.01188914105296135,
-0.025474097579717636,
-0.014700138941407204,
0.004009129013866186,
0.02018388919532299,
0.028976324945688248,
-0.04195299744606018,
0.04726163670420647,
-0.01678304187953472,
-0.036257270723581314,
-0.02374141663312912,
-0.024294398725032806,
-0.011280858889222145,
-0.010202541947364807,
-0.001671622390858829,
-0.018045688048005104,
-0.016285357996821404,
0.018912028521299362,
-0.04936297610402107,
0.006847776472568512,
-0.03633100166916847,
-0.017114832997322083,
-0.038671962916851044,
0.005764850880950689,
0.022672314196825027,
-0.05415549501776695,
0.03959360346198082,
0.07269886881113052,
0.047298502177000046,
0.007221040315926075,
0.0052671656012535095,
0.011962871998548508,
0.007234864868223667,
-0.10617279261350632,
0.00007999537046998739,
-0.05732593312859535,
-0.0634087473154068,
-0.05728906765580177,
0.04143688082695007,
0.0305615421384573,
-0.01461719162762165,
-0.01427618507295847,
0.013594172894954681,
0.01875535026192665,
0.04637686535716057,
-0.0044929892756044865,
-0.04641373082995415,
-0.014101074077188969,
-0.008538983762264252,
0.009437581524252892,
0.050837595015764236,
0.0007643841672688723,
-0.013935178518295288,
-0.024699920788407326,
0.04670865461230278,
-0.03314213082194328,
-0.0201654564589262,
-0.0738048329949379,
0.007654210552573204,
-0.004246450960636139,
-0.017446622252464294,
0.023999474942684174,
-0.03358451649546623,
-0.0051842182874679565,
0.044570453464984894,
-0.05057953670620918,
0.03415593504905701,
0.08486450463533401,
0.010045862756669521,
0.0007424952927976847,
0.024220667779445648,
0.055998772382736206,
0.024036340415477753,
-0.013142569921910763,
-0.01764938235282898,
-0.03830330818891525,
0.04541835933923721,
0.036183539777994156,
-0.0699339509010315,
-0.0320545993745327,
-0.008603498339653015,
-0.058763690292835236,
0.03845077008008957,
-0.018875163048505783,
0.004870861303061247,
0.018110202625393867,
0.00987075176090002,
0.013225517235696316,
-0.054044898599386215,
0.007428408600389957,
0.014690922573208809,
0.03317899629473686,
-0.0006491793319582939,
0.0018156284932047129,
0.018110202625393867,
-0.015548046678304672,
0.006912291049957275,
0.005585131235420704,
0.02927124872803688,
0.0028409515507519245,
-0.049694765359163284,
0.014902899973094463,
0.02766759693622589,
0.008502118289470673,
0.0024354306515306234,
0.0008726767264306545,
-0.03513287007808685,
0.07564811408519745,
-0.021566348150372505,
0.014718571677803993,
0.003612824250012636,
0.05625683441758156,
-0.005433060694485903,
-0.01666322909295559,
-0.06326128542423248,
0.0012073467951267958,
-0.010368436574935913,
0.027630731463432312,
-0.004246450960636139,
-0.01597200147807598,
0.022487986832857132,
-0.025271335616707802,
-0.01678304187953472,
0.046118807047605515,
0.03529876470565796,
-0.013750851154327393,
-0.018312962725758553,
-0.03588861599564552,
0.02735424041748047,
0.058763690292835236,
-0.0019296812824904919,
-0.013640254735946655,
-0.008350047282874584,
-0.0272989422082901,
0.05747339501976967,
-0.048146411776542664,
0.0677957534790039,
0.03207303211092949,
0.06691097468137741,
-0.10351847112178802,
-0.0198152344673872,
0.009032060392200947,
0.015400584787130356,
0.01026705652475357,
0.014783086255192757,
0.002983805723488331,
0.01898575946688652,
0.07269886881113052,
-0.04954730346798897,
-0.04320642724633217,
0.01819314993917942,
0.015308421105146408,
0.05290206894278526,
-0.015981217846274376,
-0.04556582123041153,
-0.008032082580029964,
0.030653707683086395,
-0.01244212407618761,
0.06661605089902878,
-0.010018213652074337,
-0.05338132008910179,
-0.046561192721128464,
-0.043390754610300064,
-0.007442233618348837,
0.0036105201579630375,
0.09415461868047714,
0.052054159343242645,
0.006875425577163696,
0.017566435039043427,
0.09666147828102112,
0.02259858325123787,
0.041400015354156494,
0.04862566292285919,
-0.03244168683886528,
0.01817471720278263,
-0.00804129894822836,
-0.019465012475848198,
0.019630907103419304,
-0.029474008828401566,
-0.025805886834859848,
0.006004476919770241,
0.02259858325123787,
-0.0013905225787311792,
0.03929867967963219,
0.02532663382589817,
0.014598758891224861,
0.004502205643802881,
0.005179610103368759,
-0.04228479042649269,
0.01894889399409294,
0.045381493866443634,
-0.018497290089726448,
0.01717013120651245,
0.012737048789858818,
0.008133462630212307,
0.03476421535015106,
-0.05024774745106697,
-0.0003539668978191912,
-0.022008735686540604,
0.019225385040044785,
0.027446404099464417,
0.007774023339152336,
-0.058431901037693024,
-0.019594041630625725,
-0.0709661915898323,
0.012248579412698746,
-0.06668978184461594,
-0.016506550833582878,
-0.030285051092505455,
0.018534157425165176,
0.00940532423555851,
0.03985166177153587,
0.02884729392826557,
-0.03161220997571945,
0.03271817788481712,
-0.02342805825173855,
0.0017142482101917267,
0.013806149363517761,
-0.015059578232467175,
-0.006746395956724882,
0.0475565642118454,
0.024644622579216957,
0.044091202318668365,
-0.02928968146443367,
-0.0011370718711987138,
0.010589630343019962,
0.050432074815034866,
0.006045950576663017,
-0.040588974952697754,
0.003995304461568594,
0.008059731684625149,
0.025639992207288742,
-0.016091814264655113,
0.014266968704760075,
0.029215950518846512,
0.040220316499471664,
-0.05647802725434303,
-0.015713941305875778,
-0.008820082992315292,
0.011898357421159744
] |
9,721 | cloudscraper.cloudflare | is_New_Captcha_Challenge | null | def is_New_Captcha_Challenge(self, resp):
try:
return (
self.is_Captcha_Challenge(resp)
and re.search(
r'''cpo.src\s*=\s*['"]/cdn-cgi/challenge-platform/\S+orchestrate/(captcha|managed)/v1''',
resp.text,
re.M | re.S
)
)
except AttributeError:
pass
return False
| (self, resp) | [
-0.008374596945941448,
-0.024398718029260635,
0.004726571962237358,
0.04281558096408844,
-0.04074912145733833,
-0.024579986929893494,
0.06337141245603561,
0.028731031343340874,
0.057643331587314606,
0.023909293115139008,
0.037595052272081375,
0.044446997344493866,
-0.013703886419534683,
0.017528647556900978,
-0.011311144568026066,
-0.08236833661794662,
0.04897870495915413,
-0.009371573105454445,
-0.024489352479577065,
-0.09309941530227661,
-0.04067661613225937,
0.045063309371471405,
0.00904528982937336,
0.06456778198480606,
0.002560415305197239,
0.08932903409004211,
0.04926873371005058,
0.0015804333379492164,
-0.04604215919971466,
0.013703886419534683,
-0.02800595760345459,
0.018851907923817635,
0.01042292919009924,
0.05981855094432831,
0.041401688009500504,
0.028078464791178703,
0.03135942295193672,
-0.03806634992361069,
-0.05416297912597656,
-0.03308147192001343,
-0.06137745827436447,
0.041220419108867645,
-0.05289410054683685,
-0.03436847776174545,
-0.01914193667471409,
-0.02227787859737873,
-0.0051616160199046135,
0.05876719579100609,
0.0041827671229839325,
-0.10731085389852524,
0.024761255830526352,
-0.015154032967984676,
0.001297201495617628,
0.01048637367784977,
0.04154670238494873,
0.002039268845692277,
-0.0026759738102555275,
0.12761290371418,
-0.0592384934425354,
0.002313437173143029,
-0.05300286412239075,
-0.03574611619114876,
-0.07395748049020767,
-0.01603318378329277,
0.014737116172909737,
0.04843490198254585,
-0.00401962548494339,
-0.03915395960211754,
0.02463436685502529,
-0.02726275846362114,
-0.04915997385978699,
0.0321388766169548,
-0.03306334465742111,
-0.024761255830526352,
-0.005932006519287825,
-0.04955876246094704,
0.011057368479669094,
0.01638665795326233,
0.0496312715113163,
0.02970988117158413,
-0.026990855112671852,
-0.02516004629433155,
0.033842798322439194,
-0.06329890340566635,
0.0073549626395106316,
-0.01804526336491108,
0.03382467105984688,
-0.049304988235235214,
-0.05728079378604889,
0.01808151602745056,
-0.0060815527103841305,
-0.03879142552614212,
0.016975779086351395,
-0.019105682149529457,
0.06097866967320442,
0.023655518889427185,
0.052930355072021484,
0.030924377962946892,
0.00803925096988678,
-0.0329364575445652,
-0.02013891190290451,
0.05604816973209381,
-0.014990891329944134,
0.004250742495059967,
0.03215700387954712,
0.025667596608400345,
-0.024398718029260635,
0.03308147192001343,
-0.010377611964941025,
-0.042090509086847305,
-0.04067661613225937,
-0.06119618937373161,
-0.0030589031521230936,
0.0038746106438338757,
0.08077317476272583,
-0.0857761800289154,
-0.04712976887822151,
-0.02416306920349598,
-0.02869477868080139,
0.01939571276307106,
0.0042416793294250965,
-0.01883378066122532,
-0.02992740273475647,
-0.02079147845506668,
0.04988504573702812,
0.026501432061195374,
-0.000854793528560549,
-0.015697838738560677,
-0.03915395960211754,
0.017374569550156593,
0.007468255702406168,
0.04136543348431587,
-0.014356452040374279,
-0.0013198601081967354,
-0.0365980789065361,
0.03032619319856167,
0.016975779086351395,
-0.022857937961816788,
0.0033579959999769926,
-0.024652494117617607,
-0.010187280364334583,
0.007590611465275288,
-0.002603466622531414,
-0.008297557942569256,
0.00323337409645319,
0.03255579248070717,
0.005374606233090162,
-0.019431965425610542,
-0.010785466060042381,
-0.03057996928691864,
0.013667632825672626,
-0.041437942534685135,
0.04296059533953667,
-0.014012042433023453,
-0.02778843604028225,
0.00764499232172966,
0.012036217376589775,
-0.017492394894361496,
-0.027643421664834023,
-0.028549762442708015,
0.027589041739702225,
-0.0014965967275202274,
-0.033879052847623825,
0.004092132672667503,
0.04216301441192627,
-0.025703851133584976,
0.012706910260021687,
-0.07569766044616699,
-0.03197573497891426,
0.06181250512599945,
0.007690309081226587,
0.04560711234807968,
0.025576962158083916,
0.026283908635377884,
0.012679720297455788,
0.03864641115069389,
0.01197277382016182,
-0.018244657665491104,
0.040132809430360794,
-0.05006631463766098,
-0.008243178017437458,
0.03904519975185394,
-0.024126816540956497,
0.08178827166557312,
0.03628992289304733,
0.0229304451495409,
0.028459129855036736,
0.025323186069726944,
0.022078484296798706,
0.03273706138134003,
-0.007286987267434597,
0.03290020301938057,
0.006725055165588856,
0.005651040468364954,
0.033444009721279144,
-0.06050737202167511,
0.00034809185308404267,
0.02905731461942196,
-0.010268851183354855,
0.003795305732637644,
-0.005542279686778784,
-0.05053761228919029,
-0.034314095973968506,
-0.018362483009696007,
0.03315398097038269,
-0.00842897780239582,
-0.02896668016910553,
0.05311162397265434,
0.02577635832130909,
0.015453126281499863,
-0.019975770264863968,
0.005614786874502897,
0.0066752065904438496,
0.037160009145736694,
-0.012036217376589775,
0.028948552906513214,
0.025522582232952118,
0.01939571276307106,
-0.06406023353338242,
0.012380627915263176,
-0.011048304848372936,
0.016839828342199326,
0.011256763711571693,
0.02825973369181156,
-0.05351041257381439,
0.0030928910709917545,
-0.013241652399301529,
0.11934707313776016,
-0.03766756132245064,
-0.09266437590122223,
-0.03317210450768471,
0.0161238182336092,
0.03436847776174545,
0.005021132994443178,
0.013930471614003181,
-0.002068724948912859,
0.051443953067064285,
0.06090616062283516,
0.01979450322687626,
0.04984879493713379,
0.02958299219608307,
0.005904816091060638,
-0.015779409557580948,
0.03904519975185394,
-0.039516497403383255,
-0.021860960870981216,
-0.018507497385144234,
0.013069447129964828,
0.04354065656661987,
0.035854876041412354,
-0.02280355617403984,
-0.0562656931579113,
-0.05615692958235741,
-0.06775810569524765,
-0.05347416177392006,
-0.02639267034828663,
-0.038863930851221085,
-0.030743110924959183,
0.07693028450012207,
-0.0229848250746727,
0.038682661950588226,
0.04625967890024185,
0.010431992821395397,
0.07859795540571213,
-0.028549762442708015,
0.04520832374691963,
0.03266455605626106,
0.025450075045228004,
0.005537747871130705,
-0.03529294580221176,
0.05053761228919029,
0.01899692229926586,
-0.0016552065499126911,
-0.06065238639712334,
0.02128090336918831,
-0.04031407833099365,
-0.008723538368940353,
0.056954510509967804,
-0.04926873371005058,
-0.002182017546147108,
0.035057295113801956,
0.012425944209098816,
0.025576962158083916,
-0.007454660255461931,
-0.03795759007334709,
0.03686998039484024,
-0.025413820520043373,
0.025758231058716774,
0.0023655518889427185,
-0.0017073211492970586,
-0.07432001829147339,
0.016268832609057426,
0.04259806126356125,
-0.0094350166618824,
0.0004078537749592215,
0.057172033935785294,
-0.004776420537382364,
-0.047383543103933334,
-0.0911417230963707,
0.0015509772347286344,
-0.0025490859989076853,
-0.015453126281499863,
-0.062102533876895905,
-0.028549762442708015,
-0.0421992689371109,
-0.016268832609057426,
-0.02097274735569954,
-0.005605723243206739,
0.018009008839726448,
-0.0038632815703749657,
0.005796055309474468,
0.03603614494204521,
0.008166139014065266,
-0.014365515671670437,
0.03594551235437393,
0.019740121439099312,
0.05960103124380112,
-0.022078484296798706,
-0.00459741847589612,
0.006570977158844471,
0.003595910733565688,
-0.030344320461153984,
-0.006516596768051386,
0.035927385091781616,
-0.002938812831416726,
-0.07000583410263062,
0.06924450397491455,
-0.036453064531087875,
-0.023999927565455437,
0.0026079982053488493,
-0.021389663219451904,
-0.0300180371850729,
0.0031382080633193254,
0.004561164416372776,
0.04433823749423027,
-0.0367068387567997,
-0.028187226504087448,
-0.09977009147405624,
-0.014274881221354008,
-0.039298977702856064,
0.006086084526032209,
-0.046948499977588654,
-0.005061918403953314,
-0.029147949069738388,
0.034277841448783875,
-0.033842798322439194,
0.050392597913742065,
-0.0025218958035111427,
-0.01586098037660122,
-0.03828387334942818,
-0.06181250512599945,
-0.0547792911529541,
0.04118416830897331,
0.022132864221930504,
0.018462181091308594,
0.0577520914375782,
-0.008791514672338963,
0.028948552906513214,
0.02490627020597458,
-0.021208396181464195,
0.04346814751625061,
-0.0035120740067213774,
0.010676705278456211,
-0.013141954317688942,
-0.10702082514762878,
-0.010450120083987713,
0.020737098529934883,
0.026012007147073746,
0.019993897527456284,
0.0005222794134169817,
0.011873075738549232,
-0.0071782260201871395,
-0.024978777393698692,
-0.044193219393491745,
0.012860988266766071,
-0.01930507831275463,
-0.026972729712724686,
-0.0196132343262434,
-0.06561914086341858,
0.012960686348378658,
0.027679676190018654,
0.03299083933234215,
-0.0746825560927391,
0.004654064774513245,
-0.02717212401330471,
-0.05963728204369545,
-0.027770308777689934,
0.036761220544576645,
-0.023383615538477898,
-0.030525587499141693,
-0.012036217376589775,
-0.013785457238554955,
0.05213277414441109,
0.020211419090628624,
-0.021389663219451904,
-0.02394554764032364,
-0.0021752200555056334,
0.012833798304200172,
0.02106338180601597,
0.006815689615905285,
0.05688200518488884,
0.04470077157020569,
0.02686396799981594,
-0.0028323177248239517,
-0.018507497385144234,
0.004767357371747494,
0.010042265988886356,
-0.013821710832417011,
-0.01905130222439766,
-0.039734020829200745,
-0.015670647844672203,
0.021607186645269394,
0.0070966556668281555,
-0.02537756785750389,
-0.08041063696146011,
0.0266464464366436,
-0.019323205575346947,
-0.010431992821395397,
-0.013359476812183857,
0.04879743605852127,
0.003802103456109762,
-0.007232606876641512,
-0.0010751478839665651,
0.020465195178985596,
-0.006462216377258301,
0.05119017884135246,
0.05245905742049217,
-0.03404219448566437,
0.043576907366514206,
-0.05789710581302643,
-0.03853764757514,
0.06674300134181976,
0.025196298956871033,
-0.008832300081849098,
-0.021244648844003677,
-0.020302053540945053,
-0.04937749728560448,
0.01905130222439766,
-0.03915395960211754,
0.007835323922336102,
-0.05242280289530754,
0.00028082431526854634,
-0.06275510042905807,
0.008664626628160477,
0.07954055070877075,
0.011419905349612236,
-0.010250724852085114,
-0.043359387665987015,
0.03752254694700241,
0.013531681150197983,
-0.02477938123047352,
0.042090509086847305,
-0.05909347906708717,
0.03284582123160362,
0.03551046922802925,
0.0675768330693245,
0.011374588124454021,
0.021697819232940674,
-0.047818586230278015,
-0.006643484812229872,
-0.07743783295154572,
0.06199377030134201,
0.029039187356829643,
0.02341987006366253,
0.014410832896828651,
0.010350422002375126,
0.014492403715848923,
0.02276730351150036,
-0.012906305491924286,
0.00921749509871006,
-0.05941976234316826,
-0.030942505225539207,
0.047202274203300476,
-0.0030430422630161047,
0.039081454277038574,
-0.027987832203507423,
-0.00206419313326478,
0.07584267109632492,
-0.023002952337265015,
0.04393944516777992,
-0.03741378337144852,
0.04093039035797119,
0.03241077810525894,
-0.05137144774198532,
-0.006625358015298843,
-0.09890000522136688,
-0.033534642308950424,
-0.01992139033973217,
-0.038465142250061035,
0.000510666926857084,
0.00805737730115652,
-0.012416881509125233,
-0.0199576448649168,
0.019069429486989975,
0.02472500130534172,
-0.007146504241973162,
0.02869477868080139,
0.07290612906217575,
0.03879142552614212,
-0.017093604430556297,
0.005990918725728989,
0.027063362300395966,
-0.04404820501804352,
-0.03456787392497063,
0.0199576448649168,
-0.062900111079216,
0.001114800339564681,
0.0055785332806408405,
0.016540735960006714,
0.08700880408287048,
-0.016486356034874916,
0.013821710832417011,
-0.0013436515582725406,
-0.019867010414600372,
0.039734020829200745,
0.07286987453699112,
0.00609514769166708,
-0.036670584231615067,
-0.038682661950588226,
-0.008102694526314735,
0.02459811419248581,
0.006357986945658922,
0.05365542694926262,
-0.002048332244157791,
-0.01267065666615963,
0.08215080946683884,
-0.029546739533543587,
-0.042525552213191986,
-0.014102676883339882,
-0.002510566497221589,
0.026809588074684143,
-0.0072416700422763824,
0.02363739162683487,
0.03915395960211754,
-0.043576907366514206,
0.042924340814352036,
-0.029021061956882477,
0.01877940073609352,
-0.0199576448649168,
-0.0577520914375782,
-0.010749212466180325,
-0.059746045619249344,
0.0002686453517526388,
0.026066387072205544,
-0.00016356635023839772,
0.05916598439216614,
0.045679621398448944,
-0.02949235960841179,
-0.024670621380209923,
0.015054335817694664,
-0.009561904706060886,
0.022096609696745872,
-0.000761893461458385,
-0.038030099123716354,
0.051045164465904236,
0.06605418026447296,
0.04709351435303688,
-0.01983075588941574,
-0.01567971147596836,
0.010740148834884167,
0.006580040790140629,
-0.11825946718454361,
0.028549762442708015,
-0.020809605717658997,
-0.07221730798482895,
-0.022096609696745872,
0.02363739162683487,
0.06525660306215286,
-0.0013255247613415122,
0.008138948120176792,
0.03581862524151802,
0.022296005859971046,
0.0519152507185936,
0.010839846916496754,
-0.032392650842666626,
-0.0321388766169548,
-0.034622251987457275,
0.016794512048363686,
-0.005116298794746399,
0.014474276453256607,
-0.03710562735795975,
-0.04455575719475746,
0.09215681999921799,
-0.03402406722307205,
-0.04459201171994209,
-0.056338198482990265,
0.005347415804862976,
0.0036525570321828127,
-0.00952565111219883,
0.02351050265133381,
-0.0547792911529541,
0.07859795540571213,
0.01865251176059246,
-0.03813885897397995,
0.02673708088696003,
0.025413820520043373,
0.026537684723734856,
0.013975788839161396,
0.015797534957528114,
0.02416306920349598,
0.0027394178323447704,
-0.019450092688202858,
-0.033353373408317566,
-0.0013923674123361707,
0.007604206912219524,
0.015471252612769604,
-0.07656774669885635,
-0.042054254561662674,
0.002569478703662753,
-0.05086389556527138,
0.040785375982522964,
-0.01685795560479164,
0.014854940585792065,
0.010477310046553612,
0.01813589781522751,
-0.005007538013160229,
-0.06681551039218903,
0.009425953961908817,
-0.01391234528273344,
0.06119618937373161,
0.017746170982718468,
0.02989114820957184,
0.034096576273441315,
-0.008166139014065266,
-0.04212676361203194,
-0.0066797384060919285,
0.01081265602260828,
0.004175969399511814,
-0.03726876899600029,
-0.009149519726634026,
0.036507442593574524,
0.0011085692094638944,
-0.024743128567934036,
-0.005247718188911676,
-0.015462188981473446,
0.0526040717959404,
-0.0030294470489025116,
0.02738964557647705,
0.07290612906217575,
0.03770381584763527,
-0.018099643290042877,
-0.022422892972826958,
-0.03734127804636955,
-0.005428986623883247,
-0.03101501241326332,
-0.011320208199322224,
-0.01140177808701992,
-0.015870042145252228,
0.020827732980251312,
-0.03703312203288078,
-0.008211455307900906,
0.051625221967697144,
0.04049534723162651,
-0.020066404715180397,
0.0188700333237648,
-0.037196263670921326,
0.0026827713008970022,
0.06645297259092331,
0.017265809699892998,
-0.020990872755646706,
0.009299065917730331,
-0.0065573821775615215,
0.04404820501804352,
-0.0400240495800972,
0.021516552194952965,
0.03915395960211754,
0.08048314601182938,
-0.08476107567548752,
-0.06554663181304932,
0.03416908159852028,
-0.04988504573702812,
-0.04593339562416077,
-0.0199576448649168,
-0.015870042145252228,
0.02936547063291073,
0.01391234528273344,
-0.05238654837012291,
-0.037160009145736694,
0.03541983291506767,
0.03710562735795975,
0.05311162397265434,
0.003867813153192401,
-0.03413282707333565,
-0.02329298108816147,
0.04393944516777992,
0.018489370122551918,
0.04259806126356125,
0.004543037619441748,
-0.009879124350845814,
-0.04154670238494873,
-0.04538959264755249,
0.010577007196843624,
0.033353373408317566,
0.05376419052481651,
0.030833743512630463,
0.02202410250902176,
-0.0031971202697604895,
0.09360697120428085,
-0.03057996928691864,
0.003444098401814699,
0.014238627627491951,
-0.013676696456968784,
-0.029129821807146072,
-0.029075441882014275,
-0.031957607716321945,
0.01773710735142231,
-0.005302099045366049,
-0.035546720027923584,
0.0233292356133461,
-0.0005180309526622295,
-0.015217477455735207,
0.04810861870646477,
0.010857973247766495,
-0.002055129734799266,
0.007436533458530903,
-0.03879142552614212,
-0.06047111749649048,
0.005882157478481531,
0.06239256262779236,
-0.0443744882941246,
0.017021097242832184,
0.018797526136040688,
0.016613243147730827,
0.029039187356829643,
-0.010232597589492798,
-0.01194558385759592,
0.0027099617291241884,
-0.02472500130534172,
0.03712375462055206,
-0.004588354844599962,
-0.06159498170018196,
-0.021154014393687248,
-0.04470077157020569,
-0.012063408270478249,
-0.09389699995517731,
0.021516552194952965,
-0.034876029938459396,
-0.0018602663185447454,
-0.012879115529358387,
0.006539255380630493,
-0.023963674902915955,
-0.003253766568377614,
0.05394545942544937,
-0.017501458525657654,
0.023836785927414894,
-0.007223543245345354,
-0.008102694526314735,
-0.01896066777408123,
0.012317183427512646,
0.0009057752322405577,
0.026809588074684143,
0.013286969624459743,
-0.0026374543085694313,
-0.002442590892314911,
0.001842139521613717,
-0.00607248954474926,
-0.04886994510889053,
0.06638046354055405,
0.019975770264863968,
0.05412672460079193,
-0.01539874542504549,
0.0005491864285431802,
0.028187226504087448,
0.05006631463766098,
-0.038030099123716354,
-0.005882157478481531,
0.02048332244157791,
0.031214408576488495
] |
9,722 | cloudscraper.cloudflare | is_New_IUAM_Challenge | null | def is_New_IUAM_Challenge(self, resp):
try:
return (
self.is_IUAM_Challenge(resp)
and re.search(
r'''cpo.src\s*=\s*['"]/cdn-cgi/challenge-platform/\S+orchestrate/jsch/v1''',
resp.text,
re.M | re.S
)
)
except AttributeError:
pass
return False
| (self, resp) | [
-0.023526566103100777,
-0.0055643366649746895,
-0.004214639775454998,
0.01575488969683647,
-0.025439593940973282,
-0.01674819365143776,
0.06371854990720749,
0.022238951176404953,
0.014586838893592358,
0.03487597405910492,
0.02391285076737404,
0.05507313460111618,
0.0005521224229596555,
0.04153478145599365,
-0.02264362946152687,
-0.06055469438433647,
0.05109992250800133,
0.01603080704808235,
-0.03285257890820503,
-0.07247433066368103,
-0.05834735557436943,
0.03441610932350159,
0.017658719792962074,
0.08211304992437363,
-0.015074293129146099,
0.0616951547563076,
0.04352138936519623,
-0.012324315495789051,
-0.022662024945020676,
0.011726493947207928,
-0.039989642798900604,
0.023692116141319275,
0.012278329581022263,
0.02588106319308281,
0.05867845565080643,
0.02978069707751274,
0.0152490409091115,
-0.04186588525772095,
-0.04418358951807022,
-0.038334138691425323,
-0.061879098415374756,
0.044441115111112595,
-0.039621755480766296,
-0.03498633950948715,
-0.030682027339935303,
-0.0014129276387393475,
0.0007610724424012005,
0.04672203212976456,
0.020178766921162605,
-0.0875578224658966,
0.021116886287927628,
0.0005291292909532785,
0.004180150106549263,
0.0055643366649746895,
0.023103492334485054,
0.01238869596272707,
-0.003283418482169509,
0.07493919879198074,
-0.0699726790189743,
-0.005403384566307068,
-0.07850772887468338,
-0.04639093205332756,
-0.04639093205332756,
-0.01511108223348856,
-0.0014255738351494074,
0.03818698227405548,
0.007583132945001125,
-0.04594946280121803,
0.02284597046673298,
-0.016361908987164497,
-0.03629234805703163,
0.018219752237200737,
-0.02098812535405159,
0.012002411298453808,
0.017824271693825722,
-0.02746298909187317,
-0.01526743546128273,
0.00217514974065125,
0.017566747963428497,
0.014154568314552307,
-0.003626015968620777,
-0.03368033096194267,
0.014044201001524925,
-0.04407322406768799,
-0.006782972253859043,
0.0012439280981197953,
0.036752212792634964,
-0.06143763288855553,
-0.05683900788426399,
0.011606929823756218,
-0.014154568314552307,
-0.031583357602357864,
0.0074543715454638,
-0.0172356478869915,
0.07350442558526993,
0.053675152361392975,
0.013437182642519474,
0.014669613912701607,
0.006566836964339018,
-0.042895976454019547,
-0.012333512306213379,
0.051063135266304016,
-0.023894457146525383,
-0.003021296812221408,
0.01461443118751049,
0.04072542488574982,
-0.027444595471024513,
0.057427629828453064,
0.0077164932154119015,
-0.04587588459253311,
-0.03537262603640556,
-0.02584427408874035,
-0.030075008049607277,
-0.011294223368167877,
0.07725690305233002,
-0.06316671520471573,
-0.013161265291273594,
-0.016904545947909355,
-0.011036700569093227,
0.014228146523237228,
-0.021135281771421432,
-0.004322707653045654,
-0.010181356221437454,
-0.0485982708632946,
0.07225359976291656,
-0.021447988227009773,
-0.02615698054432869,
-0.01856924779713154,
-0.030682027339935303,
-0.0011536801466718316,
-0.01940619759261608,
0.02212858386337757,
-0.01201160904020071,
-0.015975624322891235,
-0.0599660724401474,
0.018348515033721924,
-0.007472766097635031,
-0.017152871936559677,
0.007284222170710564,
0.007638316601514816,
-0.02595463953912258,
0.013768283650279045,
-0.025991428643465042,
0.005086079239845276,
-0.02681918255984783,
0.02363693341612816,
0.0016876953886821866,
0.012535852380096912,
0.01516626589000225,
-0.03800303861498833,
0.00903169997036457,
-0.0541166216135025,
0.01159773301333189,
0.0013209551107138395,
-0.01552495826035738,
-0.013363604433834553,
0.019075097516179085,
-0.022717207670211792,
-0.041608359664678574,
-0.03432413935661316,
0.04477221518754959,
-0.021963033825159073,
-0.03715689107775688,
0.027996430173516273,
0.01497312355786562,
-0.027131889015436172,
-0.00377777055837214,
-0.04146120324730873,
-0.024096796289086342,
0.06743423640727997,
0.013464774936437607,
0.05455809086561203,
0.006930128205567598,
0.035207074135541916,
0.011514957062900066,
0.028787393122911453,
0.026727208867669106,
-0.017870256677269936,
0.03104991652071476,
-0.032613448798656464,
-0.019626932218670845,
0.02663523703813553,
-0.04043111205101013,
0.082039475440979,
0.028437897562980652,
0.00618515070527792,
0.020767390727996826,
0.017695508897304535,
0.03695455193519592,
0.033753909170627594,
-0.01812778040766716,
0.02681918255984783,
-0.008190151304006577,
0.01875319331884384,
0.0055091530084609985,
-0.03408500924706459,
0.004451469052582979,
0.03450808301568031,
-0.022753996774554253,
-0.027444595471024513,
-0.010889544151723385,
-0.02560514584183693,
-0.042160194367170334,
-0.0030465892050415277,
0.029799090698361397,
-0.020859364420175552,
-0.04528725892305374,
0.03443450480699539,
0.044514693319797516,
0.01898312382400036,
-0.01511108223348856,
0.00025349922361783683,
0.015938835218548775,
0.04959157481789589,
-0.013860256411135197,
0.04013679921627045,
-0.01499151811003685,
0.023342620581388474,
-0.03325725719332695,
0.0017888651927933097,
-0.007859050296247005,
0.02698473259806633,
0.01128502655774355,
0.016693009063601494,
-0.054742034524679184,
-0.007610724773257971,
0.005854049697518349,
0.1109556257724762,
-0.04517689347267151,
-0.04635414108633995,
-0.02801482379436493,
-0.0008564939489588141,
0.03566693514585495,
0.00944557599723339,
-0.025182072073221207,
0.029891064390540123,
0.022220557555556297,
0.06316671520471573,
0.0044905575923621655,
0.04422038048505783,
-0.011496562510728836,
-0.008475266396999359,
-0.018376106396317482,
0.06360818445682526,
-0.044882580637931824,
-0.04142441600561142,
-0.02161353826522827,
0.006336905527859926,
0.018072597682476044,
0.03333083540201187,
-0.0029132289346307516,
-0.06695598363876343,
-0.054263778030872345,
-0.07321011275053024,
-0.046059828251600266,
-0.02157674916088581,
-0.04536083713173866,
-0.02054665796458721,
0.06467506289482117,
-0.03421377018094063,
0.018210556358098984,
0.006649611983448267,
0.014522458426654339,
0.08741066604852676,
-0.048708636313676834,
0.03712010383605957,
0.04186588525772095,
0.03914349898695946,
0.009086883626878262,
-0.04959157481789589,
0.05717010796070099,
-0.000982956145890057,
-0.010769980028271675,
-0.062467724084854126,
0.024795787408947945,
-0.037304047495126724,
-0.013078490272164345,
0.033514779061079025,
-0.08137726783752441,
0.0010093982564285398,
0.021447988227009773,
0.03202482685446739,
0.033790696412324905,
-0.0021671021822839975,
-0.024961337447166443,
0.00238208775408566,
0.0034282749984413385,
0.027407806366682053,
-0.023048309609293938,
-0.0017589741619303823,
-0.07034057378768921,
0.027168678119778633,
-0.005867845844477415,
-0.015184660442173481,
0.027683723717927933,
0.1054372787475586,
-0.014688008464872837,
-0.015157068148255348,
-0.06228378042578697,
-0.012048398144543171,
-0.01187365036457777,
-0.017741495743393898,
-0.07674185931682587,
-0.07004626095294952,
-0.07350442558526993,
0.003032793290913105,
-0.060996163636446,
0.01209438405930996,
-0.007376194931566715,
0.013630324974656105,
0.008507456630468369,
0.03333083540201187,
-0.0010674558579921722,
-0.02461184188723564,
0.027242256328463554,
0.03235592693090439,
0.0668456181883812,
-0.00047279614955186844,
0.005237834062427282,
0.018293330445885658,
0.008254531770944595,
-0.025457989424467087,
-0.0014462675899267197,
0.009381195530295372,
-0.02067541889846325,
-0.09520993381738663,
0.05739084258675575,
-0.034857578575611115,
-0.033349230885505676,
-0.016040004789829254,
-0.03125225752592087,
-0.01163452211767435,
-0.00022950013226363808,
-0.014384499751031399,
0.012830164283514023,
-0.04322707653045654,
-0.028511475771665573,
-0.09248755127191544,
-0.0023142581339925528,
0.0036007235758006573,
-0.011606929823756218,
-0.04628056287765503,
0.010806769132614136,
-0.0077348873019218445,
0.039437808096408844,
-0.05573533847928047,
0.030718816444277763,
0.012103581801056862,
-0.020601840689778328,
-0.041608359664678574,
-0.06633056700229645,
-0.026065006852149963,
0.055257078260183334,
0.026653630658984184,
0.02556835673749447,
0.06500616669654846,
-0.017281632870435715,
0.001138734514825046,
0.022422896698117256,
-0.013280829414725304,
0.04109331592917442,
-0.02887936681509018,
0.02264362946152687,
-0.0334228090941906,
-0.10874828696250916,
-0.04436753690242767,
0.04966515302658081,
0.005527547560632229,
0.026561658829450607,
-0.01173569168895483,
0.002986807143315673,
-0.01499151811003685,
-0.017189661040902138,
-0.06809644401073456,
-0.007863649167120457,
0.007587731350213289,
0.005453969351947308,
-0.025108493864536285,
-0.10256773233413696,
-0.0014129276387393475,
0.04138762503862381,
0.041792307049036026,
-0.07784552872180939,
0.009923833422362804,
-0.025182072073221207,
-0.061915889382362366,
-0.022073401138186455,
0.03281578794121742,
-0.044956158846616745,
-0.023931246250867844,
0.02098812535405159,
0.006511653307825327,
0.05595606938004494,
0.020969729870557785,
-0.012692205607891083,
-0.00942718144506216,
-0.02505330927670002,
0.011183856055140495,
0.010291723534464836,
0.01743798702955246,
0.04896616190671921,
0.017355211079120636,
0.06055469438433647,
0.03281578794121742,
-0.023342620581388474,
-0.006755380425602198,
0.04639093205332756,
-0.000015691011867602356,
-0.02650647610425949,
-0.0489293709397316,
-0.01445807795971632,
-0.0016060698544606566,
-0.03452647849917412,
-0.0423809289932251,
-0.0616951547563076,
0.008778775110840797,
0.005679301917552948,
-0.020804179832339287,
-0.034342531114816666,
0.044330745935440063,
0.0012347308220341802,
0.00028511477285064757,
0.013611930422484875,
0.05029056593775749,
-0.001922225346788764,
0.008700598962605,
0.04079900309443474,
-0.03116028383374214,
0.04322707653045654,
-0.05455809086561203,
-0.03198803588747978,
0.0703037828207016,
0.05934065952897072,
-0.03803982585668564,
-0.022514868527650833,
-0.01657344587147236,
-0.06007643789052963,
0.003952518105506897,
-0.03132583573460579,
0.020657023414969444,
-0.033477991819381714,
0.0023774891160428524,
-0.0720328614115715,
0.021374410018324852,
0.08240736275911331,
0.023029914125800133,
0.0008110824855975807,
-0.010668810456991196,
0.018688812851905823,
0.032797396183013916,
-0.012894544750452042,
0.032613448798656464,
-0.09123672544956207,
-0.011901241727173328,
0.03693615645170212,
0.05621359497308731,
0.050879187881946564,
0.056986164301633835,
-0.034618448466062546,
-0.03108670562505722,
-0.0599660724401474,
0.06092258542776108,
0.047752123326063156,
0.017033306881785393,
0.027168678119778633,
0.01512947678565979,
0.0029684125911444426,
0.004290517419576645,
-0.02150317095220089,
0.02284597046673298,
-0.0651533231139183,
0.008107376284897327,
0.06839075684547424,
-0.004580230452120304,
0.053785521537065506,
-0.035924460738897324,
-0.008079783990979195,
0.041645150631666183,
-0.035207074135541916,
0.06316671520471573,
-0.03715689107775688,
0.024391107261180878,
0.05014340952038765,
-0.03667863458395004,
-0.012434682808816433,
-0.08689562231302261,
-0.04812001436948776,
-0.049297261983156204,
-0.019001519307494164,
-0.03746959939599037,
0.0154237886890769,
-0.009583534672856331,
-0.027518173679709435,
0.03266863152384758,
0.05231396108865738,
-0.021411199122667313,
0.048708636313676834,
0.06044432893395424,
0.018247345462441444,
-0.009721493348479271,
0.01213117316365242,
0.026837576180696487,
-0.018606036901474,
-0.02584427408874035,
0.028345925733447075,
-0.04013679921627045,
0.010944727808237076,
-0.02654326520860195,
0.01230592094361782,
0.05889919027686119,
0.010383695363998413,
0.038444507867097855,
-0.008783373981714249,
-0.026837576180696487,
0.034618448466062546,
0.06809644401073456,
0.020417895168066025,
-0.024170374497771263,
-0.026009824126958847,
-0.008696000091731548,
0.02529243752360344,
-0.04650129750370979,
0.046611662954092026,
0.005481561180204153,
-0.019314225763082504,
0.06879543513059616,
-0.05356478691101074,
-0.027371017262339592,
-0.032889366149902344,
-0.01489034853875637,
-0.0035432407166808844,
-0.019718904048204422,
0.003607621416449547,
0.0420498289167881,
-0.038481295108795166,
0.0647854283452034,
-0.005812662187963724,
0.014264935627579689,
0.01168050803244114,
-0.027076704427599907,
0.0030833780765533447,
-0.03108670562505722,
-0.023581750690937042,
0.016830967739224434,
-0.0029293242841959,
0.06886900961399078,
-0.022974731400609016,
0.014246541075408459,
-0.0196453258395195,
0.035243865102529526,
-0.03176730126142502,
0.0232690442353487,
-0.0014278731541708112,
-0.009473168291151524,
0.06971515715122223,
0.0747920423746109,
0.04999625310301781,
-0.009693901985883713,
-0.03060844913125038,
0.042785607278347015,
0.021135281771421432,
-0.10219984501600266,
0.010567640885710716,
-0.017208054661750793,
-0.05268184840679169,
-0.021411199122667313,
0.024483080953359604,
0.03800303861498833,
0.025439593940973282,
0.029376016929745674,
0.04050469025969505,
0.023931246250867844,
0.05739084258675575,
-0.001936021144501865,
-0.06390249729156494,
-0.06158478930592537,
-0.03167533129453659,
0.03862845152616501,
0.022717207670211792,
0.00970309879630804,
-0.011468971148133278,
-0.030957944691181183,
0.09859452396631241,
-0.04521368443965912,
-0.01552495826035738,
-0.06931047886610031,
0.0036720021162182093,
0.02016037330031395,
0.0003589801781345159,
0.008259130641818047,
-0.04852469265460968,
0.03395624831318855,
0.01157933846116066,
-0.025421200320124626,
0.01798982173204422,
0.04631735384464264,
0.04422038048505783,
-0.006640414707362652,
0.023066703230142593,
0.027095099911093712,
-0.003754777368158102,
-0.017281632870435715,
-0.038518086075782776,
-0.01535021048039198,
0.03358835726976395,
0.03667863458395004,
-0.07284222543239594,
-0.024078400805592537,
0.0018681915244087577,
-0.024648630991578102,
0.06140084192156792,
-0.021558355540037155,
0.015276633203029633,
-0.013639522716403008,
0.010549246333539486,
0.026046613231301308,
-0.02816198021173477,
-0.002584427362307906,
-0.0023751899134367704,
0.04109331592917442,
0.02591785229742527,
0.006755380425602198,
0.022827574983239174,
-0.013584339059889317,
-0.031031522899866104,
-0.00024401454720646143,
0.008673006668686867,
0.0313626229763031,
-0.016794178634881973,
-0.02635931968688965,
0.04344781115651131,
-0.004348000045865774,
-0.046023041009902954,
-0.0020337419118732214,
-0.00007810477109160274,
0.057574786245822906,
-0.0035386420786380768,
0.014310921542346478,
0.07240075618028641,
0.05566176027059555,
-0.016895348206162453,
-0.008866149000823498,
-0.02470381371676922,
-0.006842754315584898,
-0.03046129271388054,
0.0019176267087459564,
0.004653808660805225,
0.007408385165035725,
-0.00942718144506216,
-0.021926244720816612,
-0.0039755115285515785,
0.040615055710077286,
0.044882580637931824,
0.0014347709948197007,
0.018422093242406845,
-0.04043111205101013,
-0.01144137978553772,
0.06301955878734589,
0.014522458426654339,
0.00010749286593636498,
0.014200554229319096,
-0.018606036901474,
0.04727386683225632,
-0.041718728840351105,
0.0641232281923294,
0.04955478385090828,
0.08152442425489426,
-0.09322332590818405,
-0.042233772575855255,
0.027646934613585472,
-0.060333963483572006,
-0.023342620581388474,
0.03642111271619797,
-0.01230592094361782,
0.028511475771665573,
0.031215468421578407,
-0.032889366149902344,
-0.03301812708377838,
0.03925386443734169,
0.011055095121264458,
0.023784089833498,
-0.013529155403375626,
-0.00578966923058033,
-0.060996163636446,
0.03349638730287552,
0.02170551009476185,
0.02102491445839405,
-0.008723592385649681,
-0.0008835108601488173,
-0.06839075684547424,
-0.04212340712547302,
-0.002126864157617092,
0.0006834706873632967,
0.08123011142015457,
0.05709652975201607,
0.010613626800477505,
-0.019203858450055122,
0.1264805793762207,
-0.03163854032754898,
0.02016037330031395,
0.04396285489201546,
0.008627020753920078,
0.005357398185878992,
-0.04429395869374275,
-0.028309136629104614,
0.03918028622865677,
-0.027591751888394356,
-0.024832576513290405,
0.036789000034332275,
-0.003800763748586178,
-0.03586927801370621,
0.047237079590559006,
-0.010650415904819965,
-0.033441200852394104,
0.024667024612426758,
-0.041718728840351105,
-0.055919282138347626,
0.02170551009476185,
0.060297172516584396,
-0.036200378090143204,
0.025752300396561623,
0.00427442230284214,
0.010006608441472054,
0.03660505637526512,
-0.03415858745574951,
-0.007688901387155056,
-0.010641219094395638,
-0.008866149000823498,
0.048303958028554916,
0.014430485665798187,
-0.06393928080797195,
0.010972320102155209,
-0.058016255497932434,
0.00423073535785079,
-0.05448451265692711,
0.006833557039499283,
-0.04201303794980049,
-0.0006461068405769765,
0.007813064381480217,
0.005361997056752443,
-0.011551746167242527,
0.009399590082466602,
0.06228378042578697,
-0.00865001417696476,
-0.013372802175581455,
-0.008199349045753479,
-0.01489034853875637,
-0.022809181362390518,
0.03125225752592087,
0.023342620581388474,
0.016490669921040535,
-0.01716206967830658,
0.0029454194009304047,
-0.006980712991207838,
0.015653720125555992,
-0.0021245647221803665,
-0.05220359191298485,
0.08211304992437363,
0.03281578794121742,
0.03198803588747978,
-0.03127065300941467,
0.013906242325901985,
0.044882580637931824,
0.03914349898695946,
-0.04981230944395065,
-0.003819158300757408,
0.009896241128444672,
0.017106885090470314
] |
9,723 | cloudscraper.cloudflare | unescape | null | @staticmethod
def unescape(html_text):
if sys.version_info >= (3, 0):
if sys.version_info >= (3, 4):
return html.unescape(html_text)
return HTMLParser().unescape(html_text)
return HTMLParser().unescape(html_text)
| (html_text) | [
0.025074070319533348,
-0.07212080806493759,
0.02100895158946514,
0.010837394744157791,
-0.03224059194326401,
-0.019887540489435196,
0.0017587769543752074,
0.012134027667343616,
-0.004312617238610983,
0.04156232997775078,
0.04808053746819496,
-0.0052829016931355,
-0.029384497553110123,
0.035079166293144226,
0.020132848992943764,
0.03609544783830643,
-0.01967727579176426,
0.05880403891205788,
0.0412469319999218,
-0.07436362653970718,
-0.06696932017803192,
-0.025792473927140236,
-0.01664595864713192,
0.007648380007594824,
0.010889961384236813,
0.017145337536931038,
-0.018555862829089165,
0.003291957313194871,
0.018590906634926796,
-0.006250995676964521,
0.009085188619792461,
0.0005804182728752494,
0.044681258499622345,
0.005887412466108799,
0.018328076228499413,
-0.02163974568247795,
-0.0077797952108085155,
0.0004561211680993438,
0.00841935072094202,
0.01768852025270462,
-0.01845073141157627,
-0.002667733933776617,
-0.012195355258882046,
-0.06574277579784393,
-0.002218730980530381,
-0.031977761536836624,
0.019099047407507896,
-0.0386536680161953,
-0.030172990635037422,
-0.035079166293144226,
0.07082417607307434,
0.0745038092136383,
0.06020580232143402,
0.009006340056657791,
-0.034097932279109955,
0.03269616514444351,
-0.00034989367122761905,
0.04878142103552818,
-0.029997769743204117,
-0.003769433591514826,
-0.010688457638025284,
-0.01176606398075819,
-0.01623418927192688,
0.017364362254738808,
-0.009961292147636414,
0.054914139211177826,
0.019309312105178833,
-0.014087737537920475,
-0.014508266933262348,
0.0008290125406347215,
-0.06781037896871567,
0.03683137521147728,
-0.042087990790605545,
-0.011853674426674843,
0.05154990404844284,
-0.01916913501918316,
-0.007135859690606594,
0.016593392938375473,
0.0030882633291184902,
0.014043932780623436,
0.041141800582408905,
-0.0214119590818882,
0.05543980374932289,
-0.004001600667834282,
0.03942463919520378,
-0.07891936600208282,
-0.013255439698696136,
-0.03788269683718681,
-0.0004689889319706708,
0.08256395161151886,
0.03316926211118698,
-0.0782184824347496,
-0.05726209655404091,
0.061993055045604706,
-0.0317850187420845,
0.007735989987850189,
0.025845041498541832,
-0.02644079178571701,
-0.03274873271584511,
-0.03218802809715271,
0.038548536598682404,
0.09812354296445847,
-0.08578801155090332,
-0.06486666947603226,
0.024688584730029106,
-0.05470387637615204,
-0.03896906599402428,
-0.03556978330016136,
0.036060404032468796,
-0.056526169180870056,
-0.01806524582207203,
-0.02069355547428131,
0.002761914860457182,
0.031346969306468964,
0.03518430143594742,
-0.06675905734300613,
-0.021131606772542,
-0.02239319495856762,
0.03991525620222092,
-0.0013678158866241574,
-0.011906241066753864,
0.020728599280118942,
-0.08053139597177505,
0.01133677363395691,
0.039529770612716675,
0.012519513256847858,
-0.01904648169875145,
-0.015060211531817913,
0.046924080699682236,
0.032520946115255356,
0.025319378823041916,
0.023479562252759933,
-0.003401470137760043,
-0.06430596858263016,
0.030278122052550316,
-0.007998821325600147,
-0.03511421009898186,
0.03928446024656296,
0.0026304994244128466,
0.03521934524178505,
-0.03739207983016968,
-0.009356780909001827,
0.02356717362999916,
0.017460733652114868,
-0.10422122478485107,
0.015349325723946095,
0.02943706326186657,
-0.015156582929193974,
-0.02439071051776409,
0.006908072624355555,
0.03938959538936615,
-0.0027969591319561005,
0.0037541016936302185,
0.04103666916489601,
0.007057010196149349,
-0.00029705368797294796,
0.047870270907878876,
-0.025880085304379463,
0.028560960665345192,
-0.010697218589484692,
0.02766733430325985,
0.0011947855819016695,
0.001322915661148727,
0.021832488477230072,
0.0164532158523798,
-0.014718531630933285,
0.12223390489816666,
-0.06721463054418564,
0.0200627613812685,
0.013667208142578602,
-0.0025275573134422302,
0.025599731132388115,
-0.023830004036426544,
0.04072127118706703,
0.010189078748226166,
0.04247347638010979,
-0.012904997915029526,
0.03683137521147728,
0.004205294884741306,
0.019344355911016464,
0.013308005407452583,
-0.045627448707818985,
-0.015156582929193974,
-0.054598744958639145,
0.05659626051783562,
0.013491987250745296,
-0.009120233356952667,
0.023479562252759933,
0.0006461259908974171,
-0.024338142946362495,
0.041457198560237885,
-0.06125712767243385,
-0.0237248707562685,
-0.03970498964190483,
0.008721605874598026,
-0.006741613149642944,
0.0006685761618427932,
0.010110229253768921,
0.008712844923138618,
-0.06500684469938278,
-0.031382013112306595,
0.019729841500520706,
-0.005024451296776533,
0.009453152306377888,
-0.0031999663915485144,
0.002365478314459324,
-0.003403660375624895,
-0.03241581469774246,
-0.05063875764608383,
-0.01294880360364914,
-0.044050462543964386,
0.000379188364604488,
-0.005098919849842787,
-0.007381168194115162,
0.011888719163835049,
0.007827981375157833,
-0.018152855336666107,
0.010346777737140656,
0.02861352637410164,
0.031539712101221085,
0.015445697121322155,
-0.03553473949432373,
0.01630427874624729,
-0.0023435757029801607,
0.021587179973721504,
-0.030961481854319572,
-0.053967949002981186,
0.04741469770669937,
0.01605020835995674,
0.007591433357447386,
0.03204784914851189,
-0.013930038549005985,
0.028543438762426376,
0.017706044018268585,
0.025599731132388115,
-0.023462040349841118,
-0.016094014048576355,
-0.05596546456217766,
-0.02270859107375145,
-0.030172990635037422,
0.003916180692613125,
0.013132785446941853,
0.010416865348815918,
0.08256395161151886,
0.022603459656238556,
0.03255598992109299,
0.01410525944083929,
0.05687661096453667,
0.03788269683718681,
-0.0038898976054042578,
-0.03243333473801613,
-0.01888878270983696,
-0.00022792369418311864,
0.001770823379047215,
-0.019659753888845444,
0.001352484105154872,
0.04121188819408417,
0.05021822825074196,
0.01605020835995674,
0.04331453517079353,
0.03672624006867409,
-0.0689668357372284,
0.00920784380286932,
-0.00046077545266598463,
0.008432491682469845,
-0.025862563401460648,
-0.010232883505523205,
0.03322182968258858,
-0.02290133386850357,
0.029261842370033264,
0.026826275512576103,
-0.06374526023864746,
0.02565229870378971,
-0.028157953172922134,
-0.022182930260896683,
0.01936187781393528,
-0.04611806571483612,
-0.01995762810111046,
0.008292315527796745,
-0.01661091484129429,
0.04345471411943436,
0.024303099140524864,
-0.032293159514665604,
0.024425754323601723,
0.0667240098118782,
-0.02314664237201214,
0.014289241284132004,
0.0020183224696666002,
0.057752713561058044,
0.017285514622926712,
0.012055178172886372,
-0.008730366826057434,
0.039564814418554306,
-0.03511421009898186,
-0.0338701456785202,
0.04447099193930626,
0.012940042652189732,
-0.03171493113040924,
0.03069865144789219,
-0.041141800582408905,
-0.04618815332651138,
-0.018328076228499413,
-0.021552136167883873,
0.02700149640440941,
-0.006434977054595947,
0.012195355258882046,
-0.0076045747846364975,
0.048466023057699203,
0.02750963717699051,
0.03718181326985359,
-0.009137755259871483,
-0.021114084869623184,
-0.001345913391560316,
0.034290675073862076,
-0.05084902420639992,
0.0412469319999218,
0.0025538404006510973,
-0.00919032096862793,
0.0018343408592045307,
-0.041106756776571274,
0.0007359265582635999,
-0.06286915391683578,
0.04268374294042587,
0.03502660244703293,
0.015104017220437527,
-0.04107171297073364,
0.027334416285157204,
-0.024075312539935112,
0.08866163343191147,
0.03514925390481949,
-0.042403388768434525,
0.005357370246201754,
0.031224314123392105,
-0.01446446217596531,
0.034851379692554474,
-0.03576252609491348,
0.00042052948265336454,
-0.03329191729426384,
0.004281953908503056,
-0.02700149640440941,
-0.04037082940340042,
0.018783649429678917,
-0.023672305047512054,
-0.023952657356858253,
-0.03208289295434952,
0.015095256268978119,
0.006526967976242304,
0.03294147551059723,
0.0051690079271793365,
-0.040546052157878876,
0.01873108372092247,
-0.05964509770274162,
0.009321737103164196,
-0.004402418155223131,
-0.05946987867355347,
-0.014026409946382046,
0.002840764122083783,
0.02053585648536682,
0.014087737537920475,
-0.021814966574311256,
0.02542451210319996,
-0.003710296470671892,
-0.018818693235516548,
0.00817842222750187,
-0.001093486207537353,
-0.042438432574272156,
-0.04713434725999832,
0.0828443095088005,
0.014823663979768753,
0.06143234670162201,
0.032012805342674255,
0.02495141513645649,
0.005510688293725252,
-0.06504189223051071,
0.01562091801315546,
-0.00028774511883966625,
0.01845073141157627,
0.009102710522711277,
-0.040230654180049896,
-0.02703654021024704,
-0.04899168387055397,
0.0485711544752121,
-0.05915448069572449,
-0.047870270907878876,
0.03355474770069122,
-0.01569976657629013,
0.025477077811956406,
0.004408988635987043,
0.04026569798588753,
0.004137396812438965,
-0.011555799283087254,
-0.015603396110236645,
0.04769505187869072,
0.004216245841234922,
-0.007503822911530733,
0.04555736109614372,
0.020325591787695885,
-0.01410525944083929,
0.05600050836801529,
0.021867532283067703,
-0.03422058746218681,
0.050078053027391434,
0.07345248013734818,
-0.011319251731038094,
0.020956385880708694,
0.08831118792295456,
0.026458313688635826,
0.03415049612522125,
0.013150307349860668,
0.02647583559155464,
-0.011678454466164112,
-0.02640574611723423,
-0.052075568586587906,
-0.06213323026895523,
0.04296409338712692,
0.02078116498887539,
0.03998534381389618,
-0.02700149640440941,
0.006018828134983778,
-0.02400522492825985,
-0.03085635043680668,
-0.03143457695841789,
-0.036305710673332214,
-0.012773582711815834,
-0.027719901874661446,
-0.03900410979986191,
0.01971231959760189,
0.000033692322176648304,
0.0011071752524003386,
0.041807640343904495,
0.040546052157878876,
-0.0632195994257927,
-0.08487686514854431,
-0.06945744901895523,
0.027439547702670097,
0.029507150873541832,
-0.04320940375328064,
0.024846283718943596,
0.02757972478866577,
0.0015287998830899596,
0.014692248776555061,
0.04997291788458824,
0.020570900291204453,
0.01113526988774538,
0.08775048702955246,
-0.05347733199596405,
-0.03029564395546913,
0.04513683170080185,
-0.03981012478470802,
-0.014368090778589249,
0.011722259223461151,
0.06689923256635666,
-0.0527414046227932,
-0.052671317011117935,
0.035079166293144226,
-0.06714454293251038,
0.07061390578746796,
0.003513173433020711,
-0.006395552307367325,
0.07583548128604889,
-0.06374526023864746,
0.03246837854385376,
0.015375608578324318,
0.007512583862990141,
-0.008625234477221966,
0.023426996544003487,
-0.016917550936341286,
-0.025757430121302605,
-0.05799802392721176,
-0.007538867183029652,
-0.04026569798588753,
-0.015279238112270832,
0.012431902810931206,
0.006378030404448509,
-0.018783649429678917,
0.012834910303354263,
-0.05603555217385292,
-0.041176844388246536,
0.0038920878432691097,
0.0082266079261899,
-0.04969256743788719,
-0.00866904016584158,
0.04065118357539177,
-0.05386281758546829,
-0.03819809481501579,
-0.03565739467740059,
0.058418553322553635,
-0.04002038761973381,
0.023356908932328224,
0.01129296887665987,
-0.0003337405214551836,
0.034798815846443176,
0.00168978376314044,
-0.01623418927192688,
0.03655102103948593,
-0.03514925390481949,
-0.02100895158946514,
0.018012680113315582,
-0.0011290778638795018,
-0.07005320489406586,
0.01822294481098652,
-0.02962980605661869,
0.026353180408477783,
-0.03683137521147728,
0.04611806571483612,
-0.022410716861486435,
0.06921214610338211,
0.025880085304379463,
0.07891936600208282,
-0.011958806775510311,
-0.05316193401813507,
0.0015868416521698236,
0.019887540489435196,
-0.01670728623867035,
0.020167892798781395,
-0.022971423342823982,
-0.06658383458852768,
-0.008200325071811676,
0.030313165858387947,
0.046889036893844604,
-0.02864857017993927,
0.010916244238615036,
-0.039880212396383286,
-0.09160533547401428,
0.00889244582504034,
-0.030050335451960564,
-0.0323982909321785,
0.058453597128391266,
0.018047723919153214,
-0.014963840134441853,
-0.07905954122543335,
-0.023006467148661613,
0.012212877161800861,
-0.03739207983016968,
-0.026160437613725662,
0.030558476224541664,
-0.05382777377963066,
0.006829223595559597,
0.023164166137576103,
0.02428557723760605,
0.0017500158865004778,
0.012475707568228245,
-0.046258240938186646,
-0.03418554365634918,
-0.047835227102041245,
-0.00035235771792940795,
-0.07948007434606552,
0.07849883288145065,
-0.00624661473557353,
0.062273405492305756,
-0.05260122939944267,
0.03648093342781067,
0.05957501009106636,
0.029805026948451996,
0.03316926211118698,
-0.01479738112539053,
-0.06889674812555313,
0.03882888704538345,
0.021306827664375305,
0.027299372479319572,
0.008401828818023205,
0.00006806910096202046,
-0.018625952303409576,
0.017075248062610626,
-0.04037082940340042,
0.016470737755298615,
-0.03332696110010147,
0.021744878962635994,
-0.0432794913649559,
-0.04475134611129761,
0.011047659441828728,
-0.03159227594733238,
0.07254133373498917,
-0.026107871904969215,
-0.020921342074871063,
0.007683423813432455,
0.03672624006867409,
-0.004281953908503056,
0.06237854063510895,
0.008515722118318081,
0.006123960483819246,
-0.004216245841234922,
-0.026195481419563293,
-0.05946987867355347,
0.0050507341511547565,
-0.07366275042295456,
0.06900187581777573,
0.012852432206273079,
0.01860842853784561,
0.0198349729180336,
-0.0480104498565197,
-0.07555513083934784,
0.0454171821475029,
-0.016146579757332802,
0.03511421009898186,
-0.045277006924152374,
-0.03868871182203293,
0.020798686891794205,
-0.032012805342674255,
-0.06633852422237396,
0.08557774871587753,
0.03367740288376808,
0.027141673490405083,
0.01892382651567459,
0.03704163804650307,
0.060381025075912476,
-0.013667208142578602,
-0.015358086675405502,
-0.03868871182203293,
0.02577495202422142,
-0.035079166293144226,
0.00535298977047205,
0.013202873058617115,
0.030908916145563126,
0.0662684366106987,
0.0412469319999218,
-0.05480900779366493,
-0.023514606058597565,
-0.01948453299701214,
0.004341090563684702,
-0.00034688206505961716,
0.04794035851955414,
-0.0667240098118782,
0.01932683400809765,
0.014035170897841454,
0.013649686239659786,
0.016277994960546494,
-0.008051387034356594,
-0.013386854901909828,
0.01503392867743969,
0.01699640043079853,
-0.019151613116264343,
0.03029564395546913,
0.011538277380168438,
-0.027299372479319572,
0.03372996672987938,
-0.005133964121341705,
0.018012680113315582,
0.02644079178571701,
0.008787313476204872,
0.0761859267950058,
-0.04709929972887039,
-0.07124470174312592,
0.038548536598682404,
-0.0066145784221589565,
0.016593392938375473,
-0.012440663762390614,
-0.01119659747928381,
0.014841185882687569,
-0.03450093790888786,
-0.007026346866041422,
0.010057663545012474,
0.0547739639878273,
-0.0037300088442862034,
-0.08109210431575775,
0.004919318947941065,
0.016917550936341286,
0.0028714279178529978,
0.007919971831142902,
0.007140240166336298,
0.017048966139554977,
0.022796202450990677,
-0.011179075576364994,
-0.008200325071811676,
0.06441109627485275,
0.011415623128414154,
-0.006145862862467766,
0.06206314265727997,
0.0019449488027021289,
-0.06745993345975876,
0.06868647783994675,
0.023269297555088997,
0.007302319165319204,
-0.011328012682497501,
-0.04264869913458824,
-0.02467106282711029,
0.008292315527796745,
-0.03868871182203293,
0.034886423498392105,
0.06528720259666443,
0.04345471411943436,
0.025757430121302605,
-0.08747012913227081,
-0.017013922333717346,
-0.04545222595334053,
0.001574795227497816,
-0.027054062113165855,
0.07997068762779236,
0.038233138620853424,
-0.10141769051551819,
-0.04664372652769089,
-0.02065850980579853,
-0.07485424727201462,
0.016628436744213104,
0.009768549352884293,
-0.03434323891997337,
0.03963490203022957,
-0.03372996672987938,
0.05673643574118614,
0.04839593544602394,
-0.021779922768473625,
-0.03357227146625519,
-0.026633532717823982,
-0.025529643520712852,
0.01873108372092247,
0.02934945374727249,
0.012116505764424801,
-0.03945968300104141,
-0.0334145724773407,
-0.011871196329593658,
-0.021990187466144562,
0.037321992218494415,
0.011547038331627846,
0.03208289295434952,
0.07296186685562134,
-0.012116505764424801,
-0.004796664230525494,
-0.016418172046542168,
-0.012940042652189732,
0.017802415415644646,
-0.022638503462076187,
-0.02533690072596073,
0.01920417882502079,
0.011678454466164112,
-0.06171270087361336,
0.009610850363969803,
-0.07513459771871567,
-0.007214708719402552,
0.02647583559155464,
0.04219312593340874,
-0.044330816715955734,
0.02286629006266594,
-0.01280862744897604,
0.026510879397392273,
-0.07005320489406586,
-0.0850871279835701,
0.0013557694619521499,
-0.029261842370033264,
-0.030558476224541664,
-0.004568877629935741,
0.002396141877397895,
-0.02786007709801197,
-0.063570037484169,
0.029647327959537506,
0.01845073141157627,
-0.021394437178969383,
-0.003072931431233883,
0.002750963671132922,
-0.005550113040953875,
0.01774984784424305,
0.0198349729180336,
0.05281149223446846,
-0.03160979971289635,
0.019028957933187485,
0.10043645650148392,
0.006413074675947428,
0.0016645957948639989,
-0.006583914626389742,
-0.031382013112306595,
0.032328203320503235,
0.007792936637997627,
0.10197839885950089,
-0.012896236963570118,
-0.012090222910046577,
-0.008804836310446262,
-0.019379399716854095,
0.004634585231542587,
-0.019467011094093323
] |
9,724 | cloudscraper.exceptions | CloudflareIUAMError |
Raise an error for problem extracting IUAM paramters
from Cloudflare payload
| class CloudflareIUAMError(CloudflareException):
"""
Raise an error for problem extracting IUAM paramters
from Cloudflare payload
"""
| null | [
-0.02618710696697235,
-0.011515798047184944,
0.00023944019631017,
0.04994410648941994,
-0.03797493129968643,
-0.031954072415828705,
-0.006496904883533716,
-0.053063347935676575,
0.025098999962210655,
-0.015097483061254025,
0.03222610056400299,
0.05625512823462486,
-0.002919753547757864,
0.011679014191031456,
-0.017908426001667976,
0.03407588228583336,
-0.012748985551297665,
0.09778454154729843,
0.03935319930315018,
-0.027946213260293007,
-0.04780416190624237,
0.002231752499938011,
-0.046716056764125824,
0.04860210791230202,
0.010935474187135696,
0.06891343742609024,
0.028508400544524193,
-0.016113050282001495,
0.05041562020778656,
-0.02245127223432064,
-0.050596971064805984,
0.001220719888806343,
-0.009208104573190212,
0.04287141188979149,
0.005562946666032076,
-0.03761222958564758,
0.020111842080950737,
-0.03436604142189026,
-0.10286237299442291,
0.02752910554409027,
-0.1187487319111824,
-0.007453532423824072,
0.00036298565100878477,
-0.04845702648162842,
0.01413632184267044,
0.005150372628122568,
0.02506272867321968,
-0.010681582614779472,
-0.05973706766963005,
0.001635560649447143,
-0.017935628071427345,
-0.022977190092206,
0.03222610056400299,
0.00773916020989418,
0.007426329422742128,
0.058141179382801056,
-0.03431163728237152,
-0.003454739460721612,
-0.02952396683394909,
0.003602087264880538,
-0.06499624997377396,
-0.003275655210018158,
-0.006093398667871952,
-0.017291832715272903,
0.010373285971581936,
0.013637606985867023,
-0.0009685285040177405,
0.016901927068829536,
-0.03750341758131981,
-0.007394593209028244,
0.05375248193740845,
0.019404573366045952,
-0.0738099217414856,
0.006914012599736452,
0.10627177357673645,
-0.02029319293797016,
-0.01967659965157509,
0.050234269350767136,
-0.012404418550431728,
-0.00635635806247592,
0.0662294402718544,
0.017382508143782616,
-0.008523504249751568,
0.011660879477858543,
0.02758350968360901,
-0.04131179302930832,
0.005236514378339052,
-0.07181505858898163,
-0.055457182228565216,
0.022052299231290817,
-0.009738557040691376,
-0.046716056764125824,
-0.0458093024790287,
0.07885148376226425,
0.004515643697232008,
0.08646822720766068,
0.018896790221333504,
-0.046716056764125824,
-0.00040038934093900025,
-0.05063324049115181,
0.01775427721440792,
0.017400642856955528,
-0.010572772473096848,
-0.020492680370807648,
0.004239083267748356,
-0.03554482385516167,
-0.010636244900524616,
-0.03242558613419533,
0.05973706766963005,
-0.00087388587417081,
-0.02820010483264923,
0.007027356885373592,
-0.07471667230129242,
-0.01189663540571928,
-0.002659061225131154,
-0.00022428037482313812,
0.0714886263012886,
0.005105034913867712,
-0.006560377776622772,
0.04258124902844429,
0.013918700627982616,
-0.036052606999874115,
-0.017409710213541985,
-0.02602389082312584,
0.05418772250413895,
0.002910685958340764,
-0.09074811637401581,
0.008809132501482964,
0.026459133252501488,
-0.01595890149474144,
-0.06184074282646179,
-0.005454136058688164,
-0.03465620428323746,
-0.02760164439678192,
-0.04504762589931488,
0.0010728053748607635,
0.06746263056993484,
-0.017101412639021873,
0.018969330936670303,
0.029560238122940063,
-0.018697302788496017,
0.05890285223722458,
-0.00865045003592968,
-0.02489951252937317,
-0.017192089930176735,
0.008809132501482964,
0.03235304355621338,
-0.0469699464738369,
-0.015496456064283848,
-0.06978392601013184,
0.02290465123951435,
0.036143284291028976,
-0.0199123565107584,
-0.0024981121532619,
0.010264474898576736,
-0.043741896748542786,
0.011923838406801224,
-0.05647274851799011,
-0.017028873786330223,
-0.03906303644180298,
-0.025969484820961952,
-0.04399579018354416,
-0.019277626648545265,
0.0024799769744277,
0.002099139615893364,
-0.03416655585169792,
0.06590300798416138,
0.008256010711193085,
-0.017699873074889183,
0.043524276465177536,
-0.040767740458250046,
-0.021834678947925568,
-0.0930694118142128,
0.02034759894013405,
0.019585924223065376,
0.035236530005931854,
-0.02036573365330696,
-0.011769689619541168,
-0.02245127223432064,
-0.002969625173136592,
0.003382198978215456,
0.03073902055621147,
-0.013129822909832,
-0.002783740172162652,
0.01585915870964527,
-0.02729334868490696,
0.00872299075126648,
0.0406951978802681,
0.035907529294490814,
-0.003028564155101776,
0.07486175745725632,
0.023321758955717087,
-0.014344875700771809,
0.028145698830485344,
0.025225944817066193,
-0.0402599573135376,
0.01133444719016552,
0.0007781097665429115,
0.006252081133425236,
-0.023176677525043488,
-0.021000463515520096,
0.05077832192182541,
-0.0323893167078495,
0.004298022482544184,
-0.009938043542206287,
-0.007761829067021608,
0.010745055973529816,
-0.026259645819664,
-0.047550272196531296,
0.013247701339423656,
-0.04214600846171379,
0.02372073009610176,
-0.001034835004247725,
0.029143130406737328,
-0.010355150327086449,
0.018488749861717224,
0.00525918323546648,
0.027782997116446495,
0.057161882519721985,
0.025098999962210655,
0.03797493129968643,
-0.000827414623927325,
0.05444161593914032,
-0.06626570969820023,
0.000615460448898375,
0.046353355050086975,
0.020311329513788223,
0.031591370701789856,
-0.031808990985155106,
-0.023212946951389313,
0.02698505111038685,
-0.006365425419062376,
-0.009720421396195889,
0.058213718235492706,
-0.003964789677411318,
0.011280041188001633,
0.004515643697232008,
-0.03153696656227112,
0.019894221797585487,
-0.032552532851696014,
-0.007798099424690008,
-0.007448998745530844,
-0.018198588863015175,
0.09909027069807053,
-0.01857035793364048,
-0.02237873151898384,
-0.024790702387690544,
0.07312078773975372,
-0.051576267927885056,
-0.034783151000738144,
0.006329155061393976,
-0.030829695984721184,
-0.03431163728237152,
-0.004035063087940216,
-0.010989880189299583,
-0.032099153846502304,
-0.011624609120190144,
-0.04660724475979805,
0.06822430342435837,
-0.02887110412120819,
0.024428000673651695,
-0.0265498086810112,
0.03345928713679314,
0.05785101652145386,
-0.05611004680395126,
0.005526676308363676,
0.01741877757012844,
0.06539522856473923,
0.020039301365613937,
0.002334896009415388,
0.056871719658374786,
0.04319784417748451,
0.002319027902558446,
-0.02722080796957016,
-0.022650759667158127,
0.018969330936670303,
-0.01133444719016552,
0.06757143884897232,
0.006564911454916,
0.011533932760357857,
0.031954072415828705,
-0.005458669736981392,
-0.019948625937104225,
0.015850091353058815,
-0.011180298402905464,
-0.021290624514222145,
0.02372073009610176,
0.03935319930315018,
-0.03012242540717125,
-0.008532571606338024,
-0.018969330936670303,
-0.011243771761655807,
-0.04298022389411926,
-0.01624906249344349,
0.00007126533455448225,
0.02497205324470997,
-0.04606319218873978,
0.009366787038743496,
0.04203719645738602,
-0.028653481975197792,
-0.015614334493875504,
0.04591811075806618,
-0.03779358044266701,
-0.05146745592355728,
-0.050814591348171234,
-0.009004084393382072,
0.018416209146380424,
0.019567789509892464,
-0.06151431053876877,
-0.00598458806052804,
0.014553429558873177,
0.02132689580321312,
-0.04305276274681091,
-0.020547084510326385,
0.030775289982557297,
0.02618710696697235,
0.0783436968922615,
0.03884541615843773,
0.01893305964767933,
0.05124983564019203,
0.005621885880827904,
-0.033749449998140335,
0.0098836375400424,
-0.011905702762305737,
0.010835731402039528,
-0.006292885169386864,
0.02410156838595867,
0.008396558463573456,
0.00784797128289938,
-0.0150249432772398,
-0.030902236700057983,
0.012884999625384808,
-0.05016172677278519,
-0.06209463253617287,
-0.01514282077550888,
-0.04337919503450394,
-0.007090829778462648,
-0.03474688157439232,
-0.006982019171118736,
0.00313284108415246,
-0.04631708562374115,
-0.03222610056400299,
0.01555086113512516,
0.08269612491130829,
0.015940766781568527,
-0.05832253023982048,
-0.003461540210992098,
-0.061949554830789566,
-0.019640330225229263,
-0.002502645831555128,
-0.03581685200333595,
0.018661033362150192,
0.02789180725812912,
0.056799180805683136,
0.07943180203437805,
0.015396712347865105,
-0.06655587255954742,
-0.04965394362807274,
0.020637761801481247,
0.04497508704662323,
0.04943632334470749,
-0.10852053016424179,
-0.0008914542268030345,
-0.02631405182182789,
-0.03877287730574608,
-0.053426049649715424,
0.00965694896876812,
-0.0049780891276896,
0.06615690141916275,
0.000041335311834700406,
0.012658310122787952,
-0.01603144221007824,
-0.02856280654668808,
-0.04497508704662323,
-0.001933656632900238,
0.024065297096967697,
0.009629745967686176,
-0.0057624327018857,
-0.11700776219367981,
0.0812453180551529,
-0.00766208628192544,
0.02774672582745552,
-0.04990783706307411,
-0.024192243814468384,
0.004515643697232008,
-0.0357443131506443,
-0.05378875136375427,
0.017817750573158264,
0.016575494781136513,
0.0738099217414856,
0.005467737093567848,
-0.02036573365330696,
0.04207346588373184,
-0.006596648134291172,
-0.04265379160642624,
0.010799461044371128,
-0.056799180805683136,
-0.029741588979959488,
0.012386283837258816,
-0.03422096371650696,
-0.04976275563240051,
-0.008369355462491512,
-0.002088938606902957,
0.03228050470352173,
0.04729637876152992,
0.025316620245575905,
0.01468944363296032,
-0.011579271405935287,
0.010055921040475368,
-0.03306031599640846,
-0.000605259439907968,
0.0011532800272107124,
-0.023775136098265648,
-0.07486175745725632,
-0.03440231457352638,
-0.015705009922385216,
0.0148435914888978,
-0.007380991708487272,
-0.03891795873641968,
0.006755330599844456,
0.026876240968704224,
-0.022578218951821327,
-0.00524104805663228,
0.07134354114532471,
-0.028979914262890816,
0.005807770416140556,
-0.003509144764393568,
-0.027909941971302032,
0.049109891057014465,
-0.03124680370092392,
-0.03645158186554909,
0.09582594782114029,
-0.012631108053028584,
-0.06459727883338928,
-0.02818196825683117,
-0.008079193532466888,
-0.07065440714359283,
0.010228204540908337,
0.03496450185775757,
0.04617200419306755,
0.025987619534134865,
0.006306486204266548,
-0.001547152060084045,
0.029777858406305313,
0.056944262236356735,
-0.014263267628848553,
-0.03380385413765907,
0.051358647644519806,
0.007888775318861008,
-0.00710443127900362,
0.02379327081143856,
-0.05745204538106918,
-0.020166248083114624,
-0.033150989562273026,
0.028907373547554016,
0.017817750573158264,
-0.04200092703104019,
0.05629139766097069,
0.014870794489979744,
-0.024482404813170433,
-0.02879856340587139,
0.05534837022423744,
-0.01820765621960163,
-0.04780416190624237,
0.03327793627977371,
0.11519425362348557,
0.0132023636251688,
-0.010427691042423248,
-0.01219586469233036,
0.014852658845484257,
-0.02760164439678192,
-0.010473028756678104,
0.029922939836978912,
-0.008704855106770992,
0.06184074282646179,
0.010944541543722153,
0.0363246351480484,
0.04780416190624237,
-0.012576702050864697,
-0.010763190686702728,
0.02163519151508808,
-0.04689740762114525,
0.011379784904420376,
-0.000516850792337209,
0.025679323822259903,
-0.030376316979527473,
-0.042544979602098465,
-0.024663755670189857,
-0.008500834926962852,
-0.03750341758131981,
-0.033894531428813934,
0.016303468495607376,
-0.005581081844866276,
0.043596815317869186,
0.07711050659418106,
-0.01525163184851408,
0.024029027670621872,
0.02034759894013405,
-0.02161705680191517,
0.0074036605656147,
-0.001101708272472024,
-0.026440998539328575,
-0.007000154349952936,
-0.06677349656820297,
0.05795982852578163,
-0.04356054589152336,
0.005327190272510052,
-0.003055766923353076,
0.08791904151439667,
-0.01614931970834732,
-0.03721325471997261,
0.03170018270611763,
0.07457159459590912,
-0.023539379239082336,
-0.029995480552315712,
0.005658155772835016,
-0.012839661911129951,
0.020039301365613937,
-0.030539533123373985,
0.05611004680395126,
0.028290780261158943,
-0.008632314391434193,
0.002466375706717372,
-0.025860674679279327,
0.0390993095934391,
0.013030080124735832,
0.01639414392411709,
-0.02156265266239643,
-0.023738864809274673,
-0.002167146187275648,
-0.059773340821266174,
0.001848648302257061,
0.05654528737068176,
0.01565060392022133,
0.014798253774642944,
0.03554482385516167,
-0.008668584749102592,
-0.019966762512922287,
-0.02573372796177864,
-0.0115611357614398,
0.001538084470666945,
0.06423457711935043,
-0.0367598794400692,
-0.04512016475200653,
-0.008061058819293976,
-0.05393383279442787,
-0.08828174322843552,
0.07011035829782486,
-0.04047757759690285,
-0.002980959601700306,
-0.04765908420085907,
-0.010908272117376328,
0.0100649893283844,
0.011307244189083576,
-0.008682186715304852,
0.04787670448422432,
0.05578361451625824,
0.02185281366109848,
0.004622187465429306,
0.0074943364597857,
0.007263113744556904,
-0.03819255158305168,
-0.003531813621520996,
-0.036796148866415024,
-0.059555716812610626,
-0.003851445158943534,
-0.03246185556054115,
0.021091138944029808,
-0.05019799992442131,
-0.0058168382383883,
-0.015260699205100536,
-0.02214297465980053,
0.022106705233454704,
0.015188158489763737,
-0.09880010783672333,
-0.03246185556054115,
-0.006456100847572088,
0.03550855442881584,
0.05531210079789162,
-0.04667978733778,
0.024282919242978096,
0.03452925756573677,
-0.009103828109800816,
-0.05795982852578163,
0.025788133963942528,
-0.04229108989238739,
-0.000776409637182951,
-0.013111688196659088,
-0.00630195252597332,
0.01833460107445717,
-0.04736892133951187,
-0.09807470440864563,
-0.001217319630086422,
-0.011316311545670033,
-0.021671462804079056,
0.08523504436016083,
0.06728127598762512,
-0.05346231907606125,
-0.007730092853307724,
0.010581839829683304,
0.0041212048381567,
0.03699563443660736,
0.03461993485689163,
-0.005617351736873388,
0.04033249616622925,
0.0297597236931324,
-0.04787670448422432,
-0.0007985117845237255,
-0.013565066270530224,
-0.025262216106057167,
0.06390814483165741,
-0.01193290576338768,
-0.026459133252501488,
0.02506272867321968,
-0.022487543523311615,
-0.00546320341527462,
0.010309812612831593,
0.03975217416882515,
0.05244675278663635,
0.033150989562273026,
0.006379026919603348,
-0.04718757048249245,
-0.05705307051539421,
0.013592268340289593,
0.015197226777672768,
0.032715748995542526,
0.005458669736981392,
-0.008256010711193085,
-0.03764849901199341,
-0.003985191695392132,
0.02513526938855648,
0.04907362163066864,
0.004506575874984264,
-0.039788443595170975,
-0.023611919954419136,
0.05766966566443443,
0.03110172227025032,
0.021834678947925568,
-0.03841017559170723,
0.054840587079524994,
-0.003239384852349758,
0.03246185556054115,
-0.06876835972070694,
0.024428000673651695,
0.028145698830485344,
0.005318122450262308,
-0.054042644798755646,
-0.061949554830789566,
0.03155510127544403,
-0.010654380545020103,
0.013628538697957993,
0.02149011194705963,
0.006882276386022568,
-0.006877742242068052,
-0.05019799992442131,
-0.006107000168412924,
-0.005558412987738848,
0.08646822720766068,
-0.023358028382062912,
-0.016666170209646225,
-0.04961767420172691,
0.00807465985417366,
0.02952396683394909,
-0.03735833615064621,
0.022541947662830353,
-0.013311174698174,
0.06503251940011978,
-0.06470608711242676,
-0.020111842080950737,
0.01945897936820984,
0.028000617399811745,
0.01847061514854431,
0.07025543600320816,
0.017527589574456215,
0.04236362874507904,
0.02520781010389328,
0.009629745967686176,
-0.051358647644519806,
0.05491312965750694,
0.03400333970785141,
0.04073146730661392,
-0.009539070539176464,
-0.026713024824857712,
-0.007136167958378792,
0.00008061625703703612,
-0.015686875209212303,
0.017001669853925705,
0.027873672544956207,
-0.029215671122074127,
-0.014199795201420784,
-0.002820010297000408,
-0.02415597252547741,
-0.02208857052028179,
0.06187701225280762,
0.020474545657634735,
-0.01880611479282379,
-0.028472131118178368,
0.06267495453357697,
0.03801120072603226,
0.09241654723882675,
0.0265498086810112,
0.006401695776730776,
-0.005105034913867712,
-0.00028024418861605227,
0.008664051070809364,
0.01684752106666565,
-0.003246185602620244,
0.010953609831631184,
-0.001550552318803966,
-0.020311329513788223,
0.041493143886327744,
0.002711199689656496,
-0.02616897039115429,
-0.034329771995544434,
0.013474390842020512,
0.048275675624608994,
-0.06735381484031677,
0.047767892479896545,
-0.0299773458391428,
0.02678556554019451,
0.006660121027380228,
0.018071642145514488,
0.024645620957016945,
0.01744598150253296,
-0.03848271444439888,
0.012549499981105328,
-0.017291832715272903,
0.005898446310311556,
0.05056070163846016,
0.07798099517822266,
0.03222610056400299,
0.054332803934812546,
-0.07769083231687546,
0.0669548436999321,
-0.02477256767451763,
-0.050596971064805984,
-0.042472440749406815,
-0.012785255908966064,
0.024573080241680145,
0.06499624997377396,
0.060825176537036896,
0.004261752124875784,
-0.000943025981541723,
-0.024428000673651695,
-0.008813666179776192,
0.0395345501601696,
0.002897084690630436,
0.015015874989330769,
0.006904945243149996,
0.014217929914593697,
-0.003445671871304512,
0.01245882362127304,
-0.038664065301418304,
0.01051836647093296,
0.040114875882864,
-0.0536799393594265,
0.04475746303796768,
0.02760164439678192,
0.022614488378167152,
-0.022251786664128304,
-0.00844642985612154,
0.003432070603594184,
0.00035278467112220824,
0.021762138232588768,
-0.03786611929535866,
0.011987310834228992,
-0.01603144221007824,
-0.006365425419062376
] |
9,725 | cloudscraper.exceptions | CloudflareLoopProtection |
Raise an exception for recursive depth protection
| class CloudflareLoopProtection(CloudflareException):
"""
Raise an exception for recursive depth protection
"""
| null | [
-0.00830127950757742,
-0.024599002674221992,
-0.05319180712103844,
0.1102713942527771,
-0.06096735596656799,
-0.024528315290808678,
-0.03203878551721573,
-0.004181565251201391,
0.016081243753433228,
-0.04414390027523041,
0.045769695192575455,
0.014208044856786728,
0.014137357473373413,
-0.021506454795598984,
-0.03490160033106804,
-0.00561959994956851,
0.01750381663441658,
0.08178461343050003,
0.0015771989710628986,
-0.012935682199895382,
-0.03870101645588875,
0.0539693646132946,
0.037570029497146606,
0.018590625375509262,
-0.0544288270175457,
0.06577406078577042,
-0.015842676162719727,
0.06955580413341522,
0.011133168824017048,
-0.02440461330115795,
-0.06952045857906342,
0.007832979783415794,
-0.008053876459598541,
0.04887991398572922,
0.02905227057635784,
-0.032727982848882675,
-0.0403621569275856,
0.024316255003213882,
-0.1740308701992035,
-0.0001021645002765581,
-0.08581376075744629,
0.03232153505086899,
-0.05075311288237572,
-0.05524172633886337,
0.030978485941886902,
-0.020870273932814598,
0.02318526618182659,
0.020728901028633118,
-0.06117941439151764,
-0.03362923860549927,
-0.010947616770863533,
0.007762292865663767,
0.03785277530550957,
-0.03541408106684685,
0.0436490923166275,
0.06690504401922226,
-0.011000631377100945,
0.02313225157558918,
-0.0041175056248903275,
-0.020658213645219803,
0.0021283349487930536,
0.00023428804706782103,
-0.003949624486267567,
0.021806875243782997,
0.001984752481803298,
0.015020942315459251,
-0.05626668408513069,
0.016726261004805565,
-0.0052926731295883656,
-0.02106466330587864,
-0.008036204613745213,
0.01478237472474575,
-0.051778074353933334,
0.031172873452305794,
0.01716805435717106,
-0.02497010864317417,
0.011742842383682728,
0.030907798558473587,
0.033063746988773346,
0.010876929387450218,
-0.002042185515165329,
-0.03534339368343353,
0.0208879467099905,
-0.006109989248216152,
0.060225144028663635,
0.001661139540374279,
0.02083493024110794,
-0.053474556654691696,
-0.025235183537006378,
0.0450628288090229,
-0.05997774004936218,
0.01773354783654213,
-0.052202194929122925,
0.010567675344645977,
0.030466005206108093,
0.0896308496594429,
0.056089967489242554,
-0.036297667771577835,
-0.027479488402605057,
-0.04979884251952171,
0.04255344718694687,
0.05502966418862343,
0.008482414297759533,
-0.0008521071285940707,
0.015727810561656952,
-0.047218773514032364,
-0.022814162075519562,
-0.019827645272016525,
0.015878019854426384,
-0.034654200077056885,
-0.039902690798044205,
0.002997561590746045,
0.014570314437150955,
-0.008098055608570576,
-0.02106466330587864,
0.022390039637684822,
-0.02026943676173687,
-0.015197659842669964,
0.01745080016553402,
0.024934764951467514,
0.06386551260948181,
-0.02233702503144741,
-0.052060820162296295,
0.0022398876026272774,
0.027991969138383865,
0.04170520603656769,
-0.048173047602176666,
0.03271031007170677,
0.019209135323762894,
0.01956256851553917,
-0.010611854493618011,
0.025447243824601173,
-0.045911069959402084,
-0.023202938959002495,
0.001930632977746427,
0.031225889921188354,
0.05962430685758591,
-0.018325550481677055,
-0.006048138253390789,
-0.044461991637945175,
-0.019032418727874756,
-0.003914280794560909,
0.04803167283535004,
-0.00652085617184639,
0.018378565087914467,
0.04265947639942169,
-0.022831832990050316,
-0.02060519903898239,
-0.0100905392318964,
-0.015869183465838432,
0.06952045857906342,
0.03209180384874344,
0.024758048355579376,
0.031084515154361725,
-0.02514682523906231,
0.031650010496377945,
-0.045911069959402084,
-0.0067550064995884895,
-0.0022995295003056526,
-0.020145734772086143,
-0.05513569712638855,
-0.05283837392926216,
-0.04336634650826454,
-0.02783292345702648,
-0.005208732560276985,
-0.05898812413215637,
0.03138493373990059,
-0.059341561049222946,
-0.025889037176966667,
0.07938126474618912,
-0.0077932183630764484,
0.019686270505189896,
-0.02707304060459137,
0.022407712414860725,
0.033010728657245636,
0.03435377776622772,
-0.0055886744521558285,
0.026436859741806984,
-0.041599176824092865,
0.013854610733687878,
0.016160767525434494,
-0.03412404656410217,
0.0032493832986801863,
-0.051353953778743744,
0.05075311288237572,
0.025959722697734833,
0.002405559876933694,
0.03433610871434212,
0.04078627750277519,
0.026454530656337738,
-0.00882259476929903,
0.009016983211040497,
0.059376902878284454,
0.0037000116426497698,
0.061638880521059036,
-0.019580241292715073,
-0.003280308796092868,
-0.01262642815709114,
0.010903437621891499,
-0.00774020329117775,
-0.04043284431099892,
0.08136049658060074,
0.025818349793553352,
-0.07464525103569031,
-0.012979861348867416,
0.07065144926309586,
0.00248066452331841,
0.017954444512724876,
-0.042058639228343964,
0.01801629550755024,
-0.06563268601894379,
0.020746571943163872,
0.044921454042196274,
0.014923748560249805,
0.026030410081148148,
-0.0361386202275753,
0.005553330760449171,
0.005261747632175684,
0.010258420370519161,
0.04283619299530983,
0.008787251077592373,
-0.011080154217779636,
-0.039619944989681244,
-0.041457802057266235,
-0.06259315460920334,
0.011583797633647919,
-0.003322279080748558,
0.004590223543345928,
-0.0009073311812244356,
-0.059659648686647415,
0.02007504738867283,
-0.021983591839671135,
-0.010311434976756573,
0.004585805349051952,
0.08708612620830536,
-0.018466923385858536,
-0.005478226114064455,
-0.0068787080235779285,
0.03771140053868294,
0.02622479945421219,
-0.002132752910256386,
-0.015984050929546356,
0.014517298899590969,
0.058811407536268234,
0.05128326639533043,
0.03749934211373329,
0.029918182641267776,
0.04184658080339432,
0.042482759803533554,
0.011000631377100945,
-0.03387664258480072,
-0.046193815767765045,
-0.09677021205425262,
-0.0070200818590819836,
-0.007073096930980682,
-0.07711928337812424,
0.010753227397799492,
-0.013669057749211788,
0.056938208639621735,
0.05075311288237572,
0.0014921539695933461,
-0.009445521980524063,
-0.0426948219537735,
0.02129439450800419,
-0.08185530453920364,
0.01853761076927185,
0.0014369299169629812,
-0.0035056229680776596,
-0.01236135233193636,
0.016107752919197083,
0.07994675636291504,
0.015939870849251747,
0.0450628288090229,
0.03442446514964104,
-0.04068024829030037,
-0.001644572359509766,
0.009781284257769585,
0.13904091715812683,
0.005032015964388847,
0.016788111999630928,
0.0652085617184639,
0.006578289438039064,
-0.030907798558473587,
0.01077089924365282,
-0.06361810863018036,
0.0016335275722667575,
-0.025235183537006378,
0.0333111509680748,
-0.014216880314052105,
0.0031543979421257973,
-0.00003147770985378884,
0.0032317116856575012,
0.05315646529197693,
-0.0012480636360123754,
0.042765505611896515,
-0.00591118261218071,
-0.027020025998353958,
-0.02163015678524971,
0.06460772454738617,
-0.00941017922013998,
0.017574502155184746,
0.022319354116916656,
0.0043052672408521175,
0.02251374162733555,
-0.01811349019408226,
-0.060649264603853226,
0.06234574690461159,
0.004409088287502527,
-0.008849102072417736,
0.0014612284721806645,
-0.00895955041050911,
0.012935682199895382,
0.0029445465188473463,
0.01703551597893238,
0.03506064787507057,
0.005632853601127863,
0.03742865473031998,
0.00005898619201616384,
-0.009798956103622913,
0.07528143376111984,
-0.04326031357049942,
0.04757221043109894,
0.019527224823832512,
0.021170692518353462,
-0.0008631519740447402,
-0.002880486659705639,
0.10659568011760712,
0.016955994069576263,
0.006242527160793543,
0.016814619302749634,
-0.029776809737086296,
-0.02970612235367298,
-0.01374858058989048,
-0.03749934211373329,
-0.04258878901600838,
0.02613644115626812,
0.017857249826192856,
-0.048632510006427765,
0.014375925995409489,
-0.07888645678758621,
0.033523209393024445,
-0.01435825414955616,
-0.009940329939126968,
0.03308141604065895,
0.03686315938830376,
-0.006816857028752565,
0.04379046708345413,
-0.01853761076927185,
0.02670193463563919,
0.05700889602303505,
0.018095817416906357,
0.017397785559296608,
-0.03555545583367348,
0.02970612235367298,
0.017707040533423424,
-0.0605432353913784,
-0.019809972494840622,
-0.0352020226418972,
0.0042787594720721245,
-0.010611854493618011,
0.021594814956188202,
-0.03534339368343353,
-0.0394078865647316,
0.03168535232543945,
-0.013995984569191933,
-0.031225889921188354,
0.004446640610694885,
-0.04121039807796478,
0.022655116394162178,
0.01268827822059393,
-0.02594205178320408,
-0.05711492523550987,
-0.012732458300888538,
-0.045628324151039124,
0.014808882027864456,
-0.0035763096529990435,
0.0012679442297667265,
0.008734236471354961,
0.013642550446093082,
0.11599702388048172,
-0.0013529893476516008,
0.04350771754980087,
-0.012829652056097984,
-0.04110436886548996,
-0.004908313974738121,
-0.029264330863952637,
-0.02755017578601837,
0.026772622019052505,
0.059518277645111084,
0.046617936342954636,
0.03430076315999031,
-0.03514900431036949,
0.052626315504312515,
-0.015648288652300835,
-0.08708612620830536,
-0.004110878799110651,
-0.011866544373333454,
0.0027236503083258867,
0.014199208468198776,
0.007479545660316944,
0.011018303222954273,
0.04711274430155754,
-0.02687865123152733,
0.004890642128884792,
0.03514900431036949,
0.02078191563487053,
0.05524172633886337,
-0.006171840243041515,
0.018131161108613014,
-0.0006124347564764321,
-0.04513351619243622,
0.0025866946671158075,
-0.03430076315999031,
-0.023026222363114357,
0.0014369299169629812,
-0.05259096994996071,
0.016726261004805565,
0.00040534455911256373,
-0.008199667558073997,
-0.0035232945811003447,
0.06061392277479172,
-0.0600484274327755,
0.04944540932774544,
0.041917264461517334,
-0.03498996049165726,
-0.01853761076927185,
0.0020145734306424856,
0.008981640450656414,
-0.02003970555961132,
0.01913844794034958,
-0.03279867023229599,
0.03813552111387253,
0.0003305159625597298,
-0.033152103424072266,
0.004643238615244627,
-0.05555981770157814,
-0.05481760576367378,
0.015233002603054047,
0.01628446951508522,
0.023856790736317635,
0.0236977469176054,
0.012644099071621895,
0.0005715689621865749,
0.01107131876051426,
0.09669952839612961,
-0.02092329040169716,
-0.01199024636298418,
0.002348126843571663,
0.026525218039751053,
-0.01993367448449135,
-0.02679029293358326,
-0.040468186140060425,
0.019827645272016525,
0.019067760556936264,
-0.09606334567070007,
0.012591084465384483,
-0.10765597969293594,
0.008040621876716614,
0.008645878173410892,
-0.02129439450800419,
-0.04538092017173767,
0.03603259101510048,
0.017609845846891403,
-0.012555740773677826,
-0.007638591341674328,
0.037570029497146606,
0.021170692518353462,
-0.0005080613191239536,
-0.013889954425394535,
-0.05570118874311447,
0.031119858846068382,
-0.05326249450445175,
0.006096735596656799,
-0.035785187035799026,
0.019456539303064346,
0.014773539267480373,
-0.013244937174022198,
-0.012122784741222858,
0.028645820915699005,
-0.03484858572483063,
-0.01229066587984562,
-0.031508635729551315,
0.01791910082101822,
-0.027090711519122124,
-0.02735578827559948,
-0.13593070209026337,
-0.04573435336351395,
0.012820816598832607,
0.026101097464561462,
0.0040401918813586235,
-0.05524172633886337,
-0.031172873452305794,
-0.02933501824736595,
0.014747031033039093,
0.06089666858315468,
0.030943142250180244,
-0.06460772454738617,
0.048773884773254395,
-0.010408629663288593,
-0.08150187134742737,
-0.045522291213274,
-0.009692925959825516,
-0.033063746988773346,
-0.07022732496261597,
0.02200126275420189,
-0.00037856088601984084,
0.009339491836726665,
0.020711230114102364,
0.09224625676870346,
0.023627059534192085,
0.027991969138383865,
0.019032418727874756,
0.06725847721099854,
0.031738366931676865,
0.0016876470763236284,
0.026154112070798874,
-0.024952435865998268,
0.01278547290712595,
0.01844925247132778,
0.033099088817834854,
0.045628324151039124,
-0.02336198464035988,
0.06231040507555008,
0.009984509088099003,
0.04771358147263527,
-0.03606793284416199,
0.07471593469381332,
-0.0347248837351799,
0.01236135233193636,
0.047607552260160446,
0.005791898816823959,
0.030695738270878792,
0.039619944989681244,
-0.0057035405188798904,
-0.00040341171552427113,
0.016788111999630928,
-0.04308359697461128,
0.0024099776055663824,
-0.05075311288237572,
-0.02525285631418228,
0.006039302330464125,
0.022637443616986275,
0.010435136966407299,
-0.025464916601777077,
-0.039301853626966476,
-0.07436250150203705,
-0.033152103424072266,
-0.01632864773273468,
-0.021435769274830818,
-0.020870273932814598,
0.010991795919835567,
0.013253772631287575,
0.018785014748573303,
-0.02097630500793457,
0.05598393827676773,
-0.04085696488618851,
0.03597957640886307,
0.03589121624827385,
0.028645820915699005,
0.01452613528817892,
-0.03412404656410217,
-0.041881922632455826,
0.011654484085738659,
-0.09719433635473251,
-0.0288578812032938,
-0.016302140429615974,
-0.016443515196442604,
0.029069941490888596,
-0.019527224823832512,
0.0033819209784269333,
-0.016726261004805565,
0.007634173147380352,
0.06955580413341522,
0.024881750345230103,
-0.030519021674990654,
0.026807963848114014,
-0.017627518624067307,
0.020569855347275734,
0.024086523801088333,
-0.08333972096443176,
0.008575190789997578,
-0.04612312838435173,
-0.03711056336760521,
-0.03476022928953171,
-0.012034425511956215,
-0.01853761076927185,
0.0347248837351799,
0.0034879513550549746,
-0.03622698038816452,
0.058776065707206726,
-0.06390085816383362,
-0.03491927310824394,
0.03721659630537033,
-0.07210052758455276,
0.006286706309765577,
0.06867221742868423,
-0.007126112002879381,
-0.014146193861961365,
0.05983636528253555,
0.04580504074692726,
-0.03336416557431221,
0.03806483745574951,
0.008857938461005688,
0.01078857108950615,
0.018290206789970398,
0.016929486766457558,
0.010435136966407299,
-0.03689850494265556,
-0.0053987037390470505,
-0.03806483745574951,
-0.010505824349820614,
0.027938952669501305,
-0.004872970748692751,
0.005425211042165756,
-0.05043502524495125,
-0.006414826028048992,
-0.040892306715250015,
0.042765505611896515,
0.024616673588752747,
0.021029319614171982,
-0.029812153428792953,
-0.0019184836419299245,
-0.04541626200079918,
-0.014481956139206886,
-0.04096299409866333,
0.04336634650826454,
0.02392747811973095,
-0.010037523694336414,
-0.07164105772972107,
0.013191921636462212,
0.00690963352099061,
0.04336634650826454,
-0.0337706133723259,
-0.04909197613596916,
-0.045310232788324356,
0.024952435865998268,
-0.004336192738264799,
-0.004185983445495367,
0.0020974096842110157,
0.0511418916285038,
-0.009268805384635925,
0.0056372713297605515,
-0.06732916831970215,
0.03926651179790497,
-0.07210052758455276,
-0.000008093775250017643,
0.012502726167440414,
-0.044179242104291916,
0.03218016028404236,
-0.01749498024582863,
-0.01417270116508007,
0.05386333167552948,
-0.021983591839671135,
-0.017627518624067307,
-0.05075311288237572,
0.01905008964240551,
0.02707304060459137,
0.017282919958233833,
-0.00618067616596818,
-0.03477790206670761,
0.005226404406130314,
0.01787492260336876,
-0.016690917313098907,
-0.023485684767365456,
-0.001604811055585742,
0.02454598806798458,
0.07259533554315567,
-0.08093637228012085,
0.018307877704501152,
0.0020068420562893152,
0.01088576577603817,
-0.020817259326577187,
-0.01077089924365282,
-0.010064031928777695,
0.013722073286771774,
-0.021100006997585297,
-0.028963912278413773,
-0.009586895816028118,
0.008641459979116917,
0.020728901028633118,
-0.0025646050926297903,
0.026949338614940643,
-0.08298628777265549,
-0.009542716667056084,
0.006507602520287037,
0.04845579341053963,
0.006591543089598417,
0.01675276830792427,
-0.0044974470511078835,
-0.03313443064689636,
-0.02313225157558918,
0.013333295471966267,
-0.009586895816028118,
0.05015227571129799,
-0.01966859959065914,
-0.028221700340509415,
-0.018979402258992195,
0.020799588412046432,
0.0129003394395113,
0.021046990528702736,
0.02341499924659729,
0.010576510801911354,
-0.015524585731327534,
-0.02525285631418228,
0.012449710629880428,
-0.01820184849202633,
0.009145103394985199,
-0.014729360118508339,
0.03650972619652748,
0.0055975099094212055,
0.013854610733687878,
0.040185440331697464,
0.05658477544784546,
-0.04357840493321419,
-0.06602145731449127,
-0.013147742487490177,
-0.025871364399790764,
0.009286477230489254,
-0.02749716117978096,
-0.0070333355106413364,
-0.04251810535788536,
0.04050353169441223,
-0.013925297185778618,
-0.015683630481362343,
-0.0057388837449252605,
-0.00905674509704113,
0.019491882994771004,
-0.007903666235506535,
-0.007952263578772545,
0.04485076665878296,
0.028257044032216072,
-0.01329795178025961,
-0.04110436886548996,
0.027514832094311714,
0.006132078822702169,
-0.023238282650709152,
-0.050046246498823166,
0.024669690057635307,
-0.02988284081220627,
0.0450628288090229,
0.06188628450036049,
-0.029759138822555542,
-0.0637948289513588,
-0.0671171098947525,
0.040468186140060425,
0.017539160326123238,
-0.021188365295529366,
0.06280521303415298,
0.033152103424072266,
0.016964828595519066,
0.04789029806852341,
0.011831201612949371,
-0.010912273079156876,
-0.015409720130264759,
-0.030412990599870682,
-0.007771128788590431,
0.015701303258538246,
-0.027938952669501305,
-0.01078857108950615,
-0.027143726125359535,
-0.028822537511587143,
-0.04106902331113815,
0.0015805123839527369,
0.0600484274327755,
0.0006831215578131378,
0.0010619586100801826,
0.01550691481679678,
0.01320959348231554
] |
9,726 | requests.adapters | HTTPAdapter | The built-in HTTP Adapter for urllib3.
Provides a general-case interface for Requests sessions to contact HTTP and
HTTPS urls by implementing the Transport Adapter interface. This class will
usually be created by the :class:`Session <Session>` class under the
covers.
:param pool_connections: The number of urllib3 connection pools to cache.
:param pool_maxsize: The maximum number of connections to save in the pool.
:param max_retries: The maximum number of retries each connection
should attempt. Note, this applies only to failed DNS lookups, socket
connections and connection timeouts, never to requests where data has
made it to the server. By default, Requests does not retry failed
connections. If you need granular control over the conditions under
which we retry a request, import urllib3's ``Retry`` class and pass
that instead.
:param pool_block: Whether the connection pool should block for connections.
Usage::
>>> import requests
>>> s = requests.Session()
>>> a = requests.adapters.HTTPAdapter(max_retries=3)
>>> s.mount('http://', a)
| class HTTPAdapter(BaseAdapter):
"""The built-in HTTP Adapter for urllib3.
Provides a general-case interface for Requests sessions to contact HTTP and
HTTPS urls by implementing the Transport Adapter interface. This class will
usually be created by the :class:`Session <Session>` class under the
covers.
:param pool_connections: The number of urllib3 connection pools to cache.
:param pool_maxsize: The maximum number of connections to save in the pool.
:param max_retries: The maximum number of retries each connection
should attempt. Note, this applies only to failed DNS lookups, socket
connections and connection timeouts, never to requests where data has
made it to the server. By default, Requests does not retry failed
connections. If you need granular control over the conditions under
which we retry a request, import urllib3's ``Retry`` class and pass
that instead.
:param pool_block: Whether the connection pool should block for connections.
Usage::
>>> import requests
>>> s = requests.Session()
>>> a = requests.adapters.HTTPAdapter(max_retries=3)
>>> s.mount('http://', a)
"""
__attrs__ = [
"max_retries",
"config",
"_pool_connections",
"_pool_maxsize",
"_pool_block",
]
def __init__(
self,
pool_connections=DEFAULT_POOLSIZE,
pool_maxsize=DEFAULT_POOLSIZE,
max_retries=DEFAULT_RETRIES,
pool_block=DEFAULT_POOLBLOCK,
):
if max_retries == DEFAULT_RETRIES:
self.max_retries = Retry(0, read=False)
else:
self.max_retries = Retry.from_int(max_retries)
self.config = {}
self.proxy_manager = {}
super().__init__()
self._pool_connections = pool_connections
self._pool_maxsize = pool_maxsize
self._pool_block = pool_block
self.init_poolmanager(pool_connections, pool_maxsize, block=pool_block)
def __getstate__(self):
return {attr: getattr(self, attr, None) for attr in self.__attrs__}
def __setstate__(self, state):
# Can't handle by adding 'proxy_manager' to self.__attrs__ because
# self.poolmanager uses a lambda function, which isn't pickleable.
self.proxy_manager = {}
self.config = {}
for attr, value in state.items():
setattr(self, attr, value)
self.init_poolmanager(
self._pool_connections, self._pool_maxsize, block=self._pool_block
)
def init_poolmanager(
self, connections, maxsize, block=DEFAULT_POOLBLOCK, **pool_kwargs
):
"""Initializes a urllib3 PoolManager.
This method should not be called from user code, and is only
exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param connections: The number of urllib3 connection pools to cache.
:param maxsize: The maximum number of connections to save in the pool.
:param block: Block when no free connections are available.
:param pool_kwargs: Extra keyword arguments used to initialize the Pool Manager.
"""
# save these values for pickling
self._pool_connections = connections
self._pool_maxsize = maxsize
self._pool_block = block
self.poolmanager = PoolManager(
num_pools=connections,
maxsize=maxsize,
block=block,
**pool_kwargs,
)
def proxy_manager_for(self, proxy, **proxy_kwargs):
"""Return urllib3 ProxyManager for the given proxy.
This method should not be called from user code, and is only
exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param proxy: The proxy to return a urllib3 ProxyManager for.
:param proxy_kwargs: Extra keyword arguments used to configure the Proxy Manager.
:returns: ProxyManager
:rtype: urllib3.ProxyManager
"""
if proxy in self.proxy_manager:
manager = self.proxy_manager[proxy]
elif proxy.lower().startswith("socks"):
username, password = get_auth_from_url(proxy)
manager = self.proxy_manager[proxy] = SOCKSProxyManager(
proxy,
username=username,
password=password,
num_pools=self._pool_connections,
maxsize=self._pool_maxsize,
block=self._pool_block,
**proxy_kwargs,
)
else:
proxy_headers = self.proxy_headers(proxy)
manager = self.proxy_manager[proxy] = proxy_from_url(
proxy,
proxy_headers=proxy_headers,
num_pools=self._pool_connections,
maxsize=self._pool_maxsize,
block=self._pool_block,
**proxy_kwargs,
)
return manager
def cert_verify(self, conn, url, verify, cert):
"""Verify a SSL certificate. This method should not be called from user
code, and is only exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param conn: The urllib3 connection object associated with the cert.
:param url: The requested URL.
:param verify: Either a boolean, in which case it controls whether we verify
the server's TLS certificate, or a string, in which case it must be a path
to a CA bundle to use
:param cert: The SSL certificate to verify.
"""
if url.lower().startswith("https") and verify:
cert_loc = None
# Allow self-specified cert location.
if verify is not True:
cert_loc = verify
if not cert_loc:
cert_loc = extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
if not cert_loc or not os.path.exists(cert_loc):
raise OSError(
f"Could not find a suitable TLS CA certificate bundle, "
f"invalid path: {cert_loc}"
)
conn.cert_reqs = "CERT_REQUIRED"
if not os.path.isdir(cert_loc):
conn.ca_certs = cert_loc
else:
conn.ca_cert_dir = cert_loc
else:
conn.cert_reqs = "CERT_NONE"
conn.ca_certs = None
conn.ca_cert_dir = None
if cert:
if not isinstance(cert, basestring):
conn.cert_file = cert[0]
conn.key_file = cert[1]
else:
conn.cert_file = cert
conn.key_file = None
if conn.cert_file and not os.path.exists(conn.cert_file):
raise OSError(
f"Could not find the TLS certificate file, "
f"invalid path: {conn.cert_file}"
)
if conn.key_file and not os.path.exists(conn.key_file):
raise OSError(
f"Could not find the TLS key file, invalid path: {conn.key_file}"
)
def build_response(self, req, resp):
"""Builds a :class:`Response <requests.Response>` object from a urllib3
response. This should not be called from user code, and is only exposed
for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`
:param req: The :class:`PreparedRequest <PreparedRequest>` used to generate the response.
:param resp: The urllib3 response object.
:rtype: requests.Response
"""
response = Response()
# Fallback to None if there's no status_code, for whatever reason.
response.status_code = getattr(resp, "status", None)
# Make headers case-insensitive.
response.headers = CaseInsensitiveDict(getattr(resp, "headers", {}))
# Set encoding.
response.encoding = get_encoding_from_headers(response.headers)
response.raw = resp
response.reason = response.raw.reason
if isinstance(req.ur | (pool_connections=10, pool_maxsize=10, max_retries=0, pool_block=False) | [
0.012067458592355251,
-0.057749856263399124,
-0.040050916373729706,
0.03628934919834137,
-0.02735290676355362,
0.042029544711112976,
-0.05492324382066727,
0.02356959506869316,
-0.03281044214963913,
-0.05835866555571556,
0.03231034800410271,
0.052227091044187546,
0.019155731424689293,
0.033549707382917404,
-0.006658845581114292,
0.013698196038603783,
-0.015274575911462307,
-0.0056749670766294,
0.0041230483911931515,
-0.04457349702715874,
-0.009278897196054459,
0.054444894194602966,
0.01265452429652214,
0.05296636000275612,
-0.04389945790171623,
-0.012534936890006065,
-0.014133059419691563,
-0.01367645338177681,
0.03978999704122543,
0.005946756806224585,
-0.056488752365112305,
0.019318806007504463,
0.028113916516304016,
0.042420919984579086,
0.009441970847547054,
-0.03568053990602493,
0.040203116834163666,
0.007370933890342712,
0.002403978956863284,
0.004003460984677076,
-0.05231406167149544,
-0.04879166930913925,
-0.0039409492164850235,
-0.03772439807653427,
0.046834785491228104,
0.06875190138816833,
-0.014372234232723713,
0.0309187863022089,
-0.018220774829387665,
-0.07031740993261337,
-0.000015564201021334156,
0.04987882822751999,
0.021960599347949028,
0.003256039461120963,
0.007338319439440966,
0.02633097767829895,
-0.03476732596755028,
0.061794083565473557,
-0.02591785602271557,
0.03385411202907562,
0.007126323413103819,
-0.0005242141778580844,
0.02189537137746811,
-0.026613637804985046,
-0.06601226329803467,
-0.03548485040664673,
-0.02633097767829895,
-0.013556865975260735,
0.023613080382347107,
-0.033962830901145935,
0.06857795268297195,
0.0183512344956398,
-0.018286004662513733,
-0.03737650811672211,
0.06592528522014618,
0.004617705475538969,
0.003794182790443301,
-0.005854348186403513,
-0.024700239300727844,
0.03113621659576893,
0.0063326978124678135,
-0.018438206985592842,
0.0325930081307888,
-0.008316761814057827,
0.058706555515527725,
-0.07475301623344421,
-0.00854506529867649,
0.0035740332677960396,
-0.016100816428661346,
0.04266009479761124,
-0.034441180527210236,
0.007110015954822302,
0.03820274770259857,
0.02119958959519863,
-0.02443932183086872,
-0.020525550469756126,
-0.004093151539564133,
-0.02617877535521984,
-0.03865935280919075,
-0.023199960589408875,
-0.0292445607483387,
-0.018731739372015,
-0.11576063185930252,
0.002345544286072254,
0.006642538122832775,
-0.038942012935876846,
-0.017807655036449432,
-0.021080002188682556,
0.002701588673517108,
-0.01498104352504015,
0.0015478418208658695,
-0.030157774686813354,
0.00632726214826107,
0.038942012935876846,
0.007588365580886602,
0.0035332648549228907,
-0.04239917919039726,
-0.025961343199014664,
-0.06144619360566139,
0.01874261163175106,
-0.04487789794802666,
0.015524622052907944,
-0.0038023365195840597,
0.05383608490228653,
-0.00005440038876258768,
-0.0002592193486634642,
0.017024900764226913,
-0.009528943337500095,
0.036876413971185684,
-0.05005277320742607,
0.047704510390758514,
-0.002454260131344199,
-0.036637239158153534,
0.015046272426843643,
0.024787211790680885,
0.003519675461575389,
-0.05366213992238045,
0.03820274770259857,
-0.0738832876086235,
0.027700796723365784,
0.015785539522767067,
0.0321146585047245,
-0.034441180527210236,
0.00675668939948082,
0.0040741260163486,
-0.058141231536865234,
-0.011850026436150074,
-0.02791822887957096,
-0.052705440670251846,
-0.050313692539930344,
0.012708881869912148,
-0.0613592229783535,
0.04718267545104027,
0.019938485696911812,
-0.039898715913295746,
0.024482807144522667,
-0.05357516556978226,
0.0035387007519602776,
-0.01550287939608097,
-0.012469707056879997,
-0.013752554543316364,
-0.036093659698963165,
-0.020742982625961304,
-0.017753297463059425,
-0.017296690493822098,
-0.03220163285732269,
-0.021123487502336502,
-0.10775914043188095,
-0.024874184280633926,
0.03346273675560951,
-0.031592823565006256,
0.022656381130218506,
-0.017992472276091576,
0.003666441887617111,
0.02151486463844776,
0.08336330950260162,
0.019710183143615723,
-0.04174688458442688,
-0.027700796723365784,
-0.007332883775234222,
0.022786840796470642,
-0.02306950092315674,
-0.007332883775234222,
-0.0009716478525660932,
-0.03361493721604347,
0.03683292865753174,
0.02166706696152687,
0.03200594335794449,
0.04948745295405388,
0.04831331968307495,
-0.0067675611935555935,
0.0026961530093103647,
0.023591337725520134,
-0.06849098205566406,
0.0070176078006625175,
-0.007762311026453972,
0.011447777971625328,
0.0017190693179145455,
0.08671175688505173,
0.02009068801999092,
-0.06292472779750824,
0.004952006507664919,
0.05131387710571289,
0.014567922800779343,
-0.006609923206269741,
-0.022678125649690628,
-0.02711373195052147,
-0.03398457169532776,
-0.024156659841537476,
0.06627317517995834,
-0.0069849928840994835,
0.04792194440960884,
-0.022786840796470642,
0.025243818759918213,
-0.016948800534009933,
0.002038422040641308,
0.0015383291756734252,
0.014611409045755863,
0.006854533683508635,
-0.02306950092315674,
0.03755045309662819,
-0.02965768240392208,
-0.021525736898183823,
0.013339433819055557,
0.0287662111222744,
-0.006229417864233255,
0.020808212459087372,
-0.005642352160066366,
0.011393420398235321,
0.03391934186220169,
0.03559356555342674,
0.024700239300727844,
0.07527484744787216,
0.04152945056557655,
0.08666826784610748,
-0.0507485568523407,
-0.020971285179257393,
0.01498104352504015,
0.005886963102966547,
-0.003666441887617111,
-0.0018780662212520838,
0.005832605063915253,
0.031505852937698364,
-0.0008670088718645275,
-0.06296821683645248,
0.05092250183224678,
-0.004378530662506819,
0.03922467678785324,
-0.007680774200707674,
0.003829515539109707,
-0.006153316702693701,
0.04244266450405121,
-0.03067961148917675,
-0.025113359093666077,
-0.002501823240891099,
-0.04500835761427879,
0.020286375656723976,
-0.001459510182030499,
-0.03122318908572197,
-0.00044437599717639387,
0.0037670040037482977,
0.03715907409787178,
-0.01285021286457777,
0.035528335720300674,
-0.020210275426506996,
0.04089890047907829,
0.03385411202907562,
-0.04276881366968155,
-0.050792042165994644,
0.06301170587539673,
0.11349933594465256,
0.03196245804429054,
-0.003111991100013256,
0.012121816165745258,
0.003038607770577073,
0.028722725808620453,
0.01589425653219223,
-0.01922096125781536,
-0.032375577837228775,
-0.047095704823732376,
0.03533264994621277,
0.016231276094913483,
-0.004098587203770876,
-0.025439506396651268,
0.01289369910955429,
-0.022330233827233315,
-0.09262590110301971,
0.09740939736366272,
-0.012480578385293484,
0.030701354146003723,
-0.03539787977933884,
-0.04192082956433296,
0.04270358383655548,
-0.03248429298400879,
-0.013013286516070366,
-0.00632726214826107,
-0.06705593317747116,
0.07431814819574356,
0.011295575648546219,
-0.020993029698729515,
-0.07984091341495514,
0.005903270095586777,
0.03328879177570343,
0.05440140888094902,
0.05100947245955467,
-0.04420386254787445,
-0.011447777971625328,
-0.03389760106801987,
-0.0023265189956873655,
0.025113359093666077,
0.05892398580908775,
0.010409542359411716,
0.0005483355489559472,
-0.023439135402441025,
0.05161828175187111,
0.0009865962201729417,
0.004199149552732706,
0.020829955115914345,
0.03217988833785057,
0.013448149897158146,
-0.08345028012990952,
0.013415534980595112,
-0.017905499786138535,
0.013969985768198967,
0.036724209785461426,
0.016894441097974777,
0.0651860162615776,
0.030331719666719437,
-0.0355500802397728,
0.01549200713634491,
-0.06235940754413605,
0.019351419061422348,
-0.043442849069833755,
-0.01652480848133564,
-0.02522207610309124,
-0.024004457518458366,
0.0054466635920107365,
-0.008789676241576672,
0.04231220483779907,
-0.05092250183224678,
0.04813937470316887,
-0.017981600016355515,
-0.033245306462049484,
0.01913398876786232,
-0.029157588258385658,
-0.027070244774222374,
0.014339619316160679,
-0.013904755935072899,
-0.0058978344313800335,
-0.013056772761046886,
-0.016720496118068695,
-0.06344656646251678,
0.008534193970263004,
0.0517052561044693,
0.009952935390174389,
-0.06370748579502106,
0.008719010278582573,
-0.07431814819574356,
-0.019731925800442696,
-0.03902898728847504,
-0.02243894897401333,
0.011773926205933094,
-0.02048206515610218,
0.017840269953012466,
0.023286933079361916,
0.005473842844367027,
0.06801263242959976,
-0.05540159344673157,
0.0521836057305336,
-0.027005014941096306,
-0.012230532243847847,
-0.061620138585567474,
-0.01478535495698452,
0.02166706696152687,
0.013317691162228584,
-0.04735662043094635,
-0.038463663309812546,
0.0015750207239761949,
-0.02300427295267582,
0.018960043787956238,
0.01881871186196804,
-0.033788882195949554,
0.015426778234541416,
-0.006914327386766672,
0.0046095517463982105,
-0.08832074701786041,
-0.015622466802597046,
0.008436349220573902,
0.03304961696267128,
0.048661209642887115,
0.03905073180794716,
0.03539787977933884,
-0.007180681452155113,
0.00393551355227828,
-0.05853261053562164,
-0.009746375493705273,
-0.0063326978124678135,
0.015154988504946232,
-0.014317876659333706,
-0.06331610679626465,
0.007680774200707674,
-0.006093522999435663,
0.07288309931755066,
0.018938299268484116,
-0.02110174484550953,
0.06549042463302612,
0.09314773231744766,
0.05770637094974518,
0.03209291771054268,
-0.007180681452155113,
-0.024961156770586967,
0.008474400267004967,
-0.0034191133454442024,
-0.050792042165994644,
-0.024787211790680885,
-0.009246282279491425,
-0.021547479555010796,
0.056880127638578415,
0.03422374650835991,
0.014317876659333706,
0.04583460092544556,
0.00584891252219677,
-0.008050408214330673,
0.01232837699353695,
-0.02324344776570797,
-0.004264378920197487,
-0.011295575648546219,
0.0005887642619200051,
-0.0686214417219162,
-0.008941877633333206,
0.04318193346261978,
0.006854533683508635,
0.020210275426506996,
-0.025396021082997322,
0.028744468465447426,
0.01857953704893589,
-0.03320181742310524,
0.02957070991396904,
-0.018296876922249794,
-0.03004905954003334,
0.021449634805321693,
0.004737292882055044,
-0.035223934799432755,
0.006430542096495628,
0.09106039255857468,
0.008240660652518272,
-0.01999284327030182,
-0.03724604845046997,
-0.02315647527575493,
0.003421831177547574,
-0.07018695026636124,
0.003555007977411151,
0.02396097220480442,
-0.004924827720969915,
-0.07653595507144928,
0.009278897196054459,
0.05240103602409363,
0.00239174859598279,
-0.02917933277785778,
0.0188295841217041,
0.03265823796391487,
-0.04085541516542435,
0.09932279586791992,
-0.03789834305644035,
-0.06731685250997543,
-0.0004246712487656623,
0.033419251441955566,
0.025961343199014664,
-0.0033837805967777967,
-0.007930820807814598,
-0.050879012793302536,
0.039724767208099365,
-0.04207303002476692,
-0.009539815597236156,
-0.03811577335000038,
-0.01024103257805109,
0.0022857505828142166,
0.014491821639239788,
-0.013219846412539482,
-0.05422746390104294,
-0.019568851217627525,
-0.008996236138045788,
0.08827726542949677,
-0.014296133071184158,
-0.023743540048599243,
-0.062098488211631775,
0.03148410841822624,
-0.03428897634148598,
-0.0072893970645964146,
0.009681145660579205,
-0.01668788120150566,
0.059880685061216354,
0.008381991647183895,
0.027157217264175415,
-0.012002228759229183,
0.032288603484630585,
-0.04892212897539139,
-0.011947871185839176,
0.004941135179251432,
-0.06636015325784683,
0.0158181544393301,
-0.02380876988172531,
0.06396840512752533,
-0.008746189996600151,
0.05809774622321129,
0.006686024367809296,
-0.05731499195098877,
0.04342110827565193,
-0.0015818155370652676,
-0.0008160482975654304,
-0.030657866969704628,
0.03418026119470596,
-0.00854506529867649,
-0.015850769355893135,
-0.015122373588383198,
0.04796542972326279,
-0.026983272284269333,
0.05105296149849892,
-0.007702517323195934,
-0.016590038314461708,
0.08679872751235962,
0.07718824595212936,
0.006359876599162817,
-0.03752870857715607,
-0.015709439292550087,
0.020601652562618256,
0.04355156794190407,
-0.0030358899384737015,
-0.015405034646391869,
0.02237372100353241,
0.02989685721695423,
0.007376370020210743,
-0.033093102276325226,
-0.01051825750619173,
0.035615310072898865,
0.04840029403567314,
-0.06709941476583481,
0.0040741260163486,
-0.029114102944731712,
-0.03026648983359337,
0.03752870857715607,
0.10080132633447647,
-0.0030984014738351107,
-0.07405722886323929,
-0.07553576678037643,
-0.016818340867757797,
-0.006229417864233255,
0.03631108999252319,
-0.0070176078006625175,
-0.0010593000333756208,
-0.012991542927920818,
-0.006930634845048189,
0.04009440168738365,
-0.03139713406562805,
0.0003811849164776504,
-0.0517052561044693,
0.04927001893520355,
-0.04433432221412659,
0.0355500802397728,
-0.017894627526402473,
0.029527222737669945,
-0.000001321789341091062,
-0.07705778628587723,
-0.0027477929834276438,
0.022156288847327232,
-0.005006364546716213,
0.05796728655695915,
0.05779334157705307,
-0.015328933484852314,
-0.002329236827790737,
0.03578925505280495,
0.012034843675792217,
-0.013741682283580303,
0.04500835761427879,
-0.00013096861948724836,
-0.027613824233412743,
-0.0010939531493932009,
-0.01351337879896164,
0.041398994624614716,
0.017177103087306023,
0.08392862975597382,
0.02530904859304428,
-0.04996580258011818,
-0.03724604845046997,
0.0076372879557311535,
0.011654337868094444,
-0.01370906736701727,
0.04065972566604614,
-0.025439506396651268,
-0.021069129928946495,
-0.0570540726184845,
-0.002151214750483632,
-0.0319189727306366,
-0.014611409045755863,
0.06275078654289246,
0.054357919842004776,
-0.07957999408245087,
0.031092731282114983,
0.02941850759088993,
0.023112988099455833,
-0.0018400156404823065,
0.033245306462049484,
-0.04165991023182869,
-0.021297434344887733,
0.0030413256026804447,
-0.0023265189956873655,
-0.05187920108437538,
0.04113807529211044,
-0.022982528433203697,
-0.022678125649690628,
-0.028961900621652603,
-0.022830326110124588,
0.02000371553003788,
-0.05322727560997009,
-0.09001671522855759,
-0.043486338108778,
-0.09514810889959335,
0.08753799647092819,
-0.007023043464869261,
-0.03013603202998638,
0.00801779329776764,
-0.043747253715991974,
-0.007115452084690332,
0.05309681594371796,
-0.061707112938165665,
0.03289741277694702,
0.01502452977001667,
0.0325930081307888,
-0.07449209690093994,
0.015861641615629196,
0.03913770243525505,
0.034354206174612045,
0.08288495987653732,
0.018459949642419815,
0.03461512550711632,
0.019177474081516266,
0.024874184280633926,
0.03131016343832016,
0.05666269734501839,
-0.02741813473403454,
0.06996951997280121,
-0.0439646877348423,
0.003188092028722167,
-0.043377622961997986,
-0.016894441097974777,
-0.0256134532392025,
0.04357330873608589,
0.017666324973106384,
0.04735662043094635,
-0.010762868449091911,
-0.003777875564992428,
0.015361548401415348,
0.021612709388136864,
0.00038424256490543485,
-0.027939971536397934,
0.0009967883815988898,
-0.021949728950858116,
0.032223377376794815,
0.050792042165994644,
-0.032701727002859116,
-0.012480578385293484,
0.0017707092920318246,
0.036485034972429276,
-0.0063490052707493305,
0.06905630230903625,
0.01370906736701727,
-0.03502824530005455,
-0.02909236028790474,
0.04235569387674332,
0.022188903763890266,
0.01778591237962246,
-0.019025271758437157,
-0.012143559753894806,
0.05970674008131027,
0.009882270358502865,
-0.053401220589876175,
0.008403734304010868,
-0.06048949435353279,
-0.03820274770259857,
0.05092250183224678,
0.03074483945965767,
0.0027437161188572645,
-0.06214197725057602,
0.07762311398983002,
0.01707925833761692,
-0.0063653127290308475,
0.00260918028652668,
0.002467849524691701,
-0.015154988504946232,
-0.04439954832196236,
0.005718453321605921,
0.04696524515748024,
0.02917933277785778,
0.033397506922483444,
-0.05953279510140419,
-0.04370376840233803,
-0.0009138925233855844,
-0.021460507065057755,
0.0483568049967289,
-0.03422374650835991,
0.0575324222445488,
-0.07788402587175369,
-0.02989685721695423,
-0.015328933484852314,
0.034832555800676346,
0.005030825734138489,
-0.026113545522093773,
-0.04079018533229828,
0.035376135259866714,
0.023852255195379257,
-0.0024977463763207197,
0.026026573032140732,
0.08014532178640366,
-0.014328747987747192,
0.002804868621751666,
0.021210459992289543,
-0.022743353620171547,
-0.02426537685096264,
-0.014654895290732384,
0.03685466945171356,
-0.04561716690659523,
-0.013382920064032078,
0.02125394716858864,
0.018079444766044617,
0.00426981458440423,
0.006772996857762337,
-0.006849098019301891,
-0.00044165810686536133,
0.0031446057837456465,
0.0565757229924202,
0.0082189179956913,
0.045747626572847366,
-0.06601226329803467,
-0.027809511870145798,
-0.033093102276325226,
-0.028331348672509193,
0.055140674114227295,
-0.0018590409308671951,
-0.024330604821443558,
0.049139559268951416,
-0.03207117319107056,
-0.05809774622321129,
-0.019949357956647873,
0.021166974678635597,
-0.0030576330609619617,
-0.06449023634195328,
0.020297247916460037,
0.03418026119470596,
0.013100259006023407,
0.002976096235215664,
0.01308938767760992,
0.009768118150532246,
-0.030723096802830696,
0.03848540782928467,
0.012698010541498661,
-0.02735290676355362,
-0.027548594400286674,
0.004237200133502483,
0.0013317690463736653,
-0.023112988099455833,
-0.037354763597249985,
-0.010175802744925022,
0.04505184665322304,
-0.019547108560800552,
-0.03391934186220169,
-0.003989871591329575,
0.02062339521944523,
0.02491767145693302
] |
9,728 | requests.adapters | __init__ | null | def __init__(
self,
pool_connections=DEFAULT_POOLSIZE,
pool_maxsize=DEFAULT_POOLSIZE,
max_retries=DEFAULT_RETRIES,
pool_block=DEFAULT_POOLBLOCK,
):
if max_retries == DEFAULT_RETRIES:
self.max_retries = Retry(0, read=False)
else:
self.max_retries = Retry.from_int(max_retries)
self.config = {}
self.proxy_manager = {}
super().__init__()
self._pool_connections = pool_connections
self._pool_maxsize = pool_maxsize
self._pool_block = pool_block
self.init_poolmanager(pool_connections, pool_maxsize, block=pool_block)
| (self, pool_connections=10, pool_maxsize=10, max_retries=0, pool_block=False) | [
0.012261400930583477,
-0.07034322619438171,
0.0022041895426809788,
0.0314311720430851,
-0.053587570786476135,
0.028320496901869774,
-0.05511428043246269,
0.007953212596476078,
-0.025553332641720772,
-0.04687004163861275,
0.004565821494907141,
0.07587755471467972,
-0.019408319145441055,
0.05080132186412811,
0.013043840415775776,
0.016068637371063232,
-0.005720396991819143,
-0.016478940844535828,
0.02307242527604103,
-0.018072446808218956,
0.002564398106187582,
0.04072502627968788,
0.031144913285970688,
0.05343490093946457,
-0.023702194914221764,
0.04881659895181656,
-0.022881587967276573,
0.024599136784672737,
0.03311055526137352,
-0.009770953096449375,
-0.07435084879398346,
0.047366220504045486,
-0.036259397864341736,
0.10221333056688309,
0.07515236735343933,
-0.03148842230439186,
-0.004995208699256182,
0.05435092747211456,
-0.12007585167884827,
0.025171654298901558,
-0.0002008281444432214,
-0.058434877544641495,
0.0005519419792108238,
-0.03587771952152252,
0.025858674198389053,
0.032690707594156265,
0.011354915797710419,
0.028969349339604378,
0.023950284346938133,
-0.04389295354485512,
-0.03992350399494171,
0.0036116265691816807,
-0.034026581794023514,
0.047366220504045486,
-0.013673609122633934,
0.091068334877491,
-0.0009035030379891396,
0.07435084879398346,
-0.01977091282606125,
0.002659817459061742,
-0.09381641447544098,
-0.050572317093610764,
0.020686939358711243,
-0.011994226835668087,
0.016211766749620438,
-0.04828224703669548,
-0.07793861627578735,
0.005200360901653767,
0.04580134153366089,
-0.015820546075701714,
0.10427439212799072,
0.016087722033262253,
-0.02687012031674385,
-0.03490443900227547,
0.04622118920087814,
0.02576325461268425,
-0.024236543104052544,
-0.015496120788156986,
-0.03223269432783127,
-0.004017159342765808,
0.009169810451567173,
0.0022149241995066404,
-0.028549503535032272,
-0.010248050093650818,
0.06190814822912216,
-0.08503782749176025,
0.011173618957400322,
-0.012404530309140682,
0.010448431596159935,
0.005362574011087418,
-0.05515244975686073,
0.022423574700951576,
0.006636423524469137,
-0.011860638856887817,
-0.025419745594263077,
-0.02797698602080345,
-0.025324326008558273,
0.011965600773692131,
0.010753773152828217,
0.0002981858269777149,
-0.07656458020210266,
-0.025629667565226555,
-0.041641052812337875,
-0.03398841246962547,
0.015629708766937256,
-0.05400741472840309,
0.01219460740685463,
-0.03717542439699173,
-0.020572436973452568,
-0.05068681761622429,
-0.015391159802675247,
0.03125941753387451,
-0.016917871311306953,
0.06278600543737411,
-0.02984720841050148,
0.05950357764959335,
-0.02498081512749195,
-0.023702194914221764,
0.04874026030302048,
-0.002805332187563181,
-0.03545787185430527,
0.031049493700265884,
-0.0032108649611473083,
0.06076311320066452,
0.009417900815606117,
0.03549604117870331,
0.0024475092068314552,
-0.002323464024811983,
0.026450274512171745,
-0.0428624227643013,
0.07320581376552582,
-0.01902664080262184,
-0.028873929753899574,
0.01761443354189396,
0.024522801861166954,
0.013186969794332981,
-0.010667895898222923,
0.06652645021677017,
-0.03543878719210625,
-0.01598276011645794,
0.0018988472875207663,
0.03744259849190712,
-0.0062929135747253895,
-0.0019024255452677608,
0.031087661162018776,
-0.008444622159004211,
0.017948400229215622,
0.0016054324805736542,
0.02091594599187374,
-0.030515143647789955,
0.010076295584440231,
-0.024198375642299652,
0.024274710565805435,
0.02954186499118805,
-0.04633568972349167,
0.01599230244755745,
-0.023778529837727547,
0.0059684873558580875,
0.014961771667003632,
-0.002960388781502843,
-0.03066781535744667,
0.012118271552026272,
0.01788160763680935,
-0.05160284414887428,
-0.040305182337760925,
-0.0395418256521225,
-0.005811045411974192,
-0.1106102392077446,
0.011269038543105125,
0.02715637907385826,
-0.01929381489753723,
-0.05996159091591835,
-0.038415875285863876,
-0.016984663903713226,
-0.0036521798465400934,
0.07068673521280289,
0.012261400930583477,
-0.013902615755796432,
-0.02769072912633419,
0.019942667335271835,
-0.0015672646695747972,
-0.002626420697197318,
-0.01949419640004635,
-0.05038147792220116,
-0.003005712991580367,
0.023797614499926567,
0.040801361203193665,
0.046831872314214706,
0.03664107248187065,
0.03770977258682251,
-0.0033802345860749483,
0.012137355282902718,
0.016688864678144455,
-0.01870221458375454,
0.021583883091807365,
-0.020400680601596832,
0.026202185079455376,
-0.012681246735155582,
0.03660290688276291,
0.0786256343126297,
-0.05610664561390877,
0.06267150491476059,
0.03711817041039467,
-0.028873929753899574,
0.011936974711716175,
-0.027595309540629387,
-0.029389195144176483,
0.0044871000573039055,
-0.011450335383415222,
0.01679382473230362,
-0.010677438229322433,
0.007547679357230663,
-0.006975162774324417,
0.04183189198374748,
0.015639249235391617,
0.0029150645714253187,
0.023797614499926567,
0.008726109750568867,
0.02715637907385826,
0.02192739211022854,
0.0972515195608139,
0.009279542602598667,
-0.034045662730932236,
-0.02709912694990635,
0.011822471395134926,
0.043549444526433945,
-0.002396221272647381,
-0.04908377304673195,
0.01982816495001316,
0.029732704162597656,
-0.019637325778603554,
0.01596367545425892,
0.00495704123750329,
0.02709912694990635,
0.05553412809967995,
-0.04450363665819168,
-0.022347237914800644,
-0.002439160132780671,
-0.04809140786528587,
0.008578210137784481,
0.01737588457763195,
0.024541886523365974,
0.022633496671915054,
-0.05282421410083771,
0.00264311907812953,
0.011555297300219536,
-0.03872121870517731,
0.0461830198764801,
0.03202277049422264,
0.028854845091700554,
0.03669832646846771,
0.0036044702865183353,
-0.03499985858798027,
-0.012643079273402691,
-0.030038047581911087,
-0.006388333160430193,
-0.012805292382836342,
-0.03992350399494171,
-0.015381617471575737,
-0.010658354498445988,
0.03009529784321785,
0.027576224878430367,
-0.06522874534130096,
0.043015092611312866,
-0.02416020818054676,
0.010534308850765228,
-0.009680304676294327,
-0.03713725507259369,
-0.018291911110281944,
0.008874010294675827,
0.1554955542087555,
0.03885480388998985,
0.005806274246424437,
0.02713729441165924,
-0.031144913285970688,
-0.011946517042815685,
-0.025553332641720772,
-0.0024999899324029684,
-0.030171634629368782,
-0.03333956003189087,
0.023473188281059265,
0.027805231511592865,
0.021774722263216972,
-0.02227090299129486,
0.000022382573661161587,
-0.01686061918735504,
-0.0347517691552639,
0.042747918516397476,
-0.052175361663103104,
-0.0009667184203863144,
-0.03501894325017929,
-0.006030510179698467,
0.010992322117090225,
0.015906425192952156,
0.012242317199707031,
-0.08045769482851028,
-0.01330147311091423,
0.05457993224263191,
-0.004429848399013281,
-0.009537175297737122,
-0.01342551875859499,
-0.06916002929210663,
-0.015257571823894978,
0.03398841246962547,
0.031144913285970688,
-0.06538141518831253,
0.04015250876545906,
0.005477077327668667,
0.018129698932170868,
0.044045623391866684,
0.04076319560408592,
0.010104920715093613,
0.003027182538062334,
-0.01314880233258009,
0.026373939588665962,
-0.0007078931666910648,
0.01547703705728054,
0.004036243073642254,
0.000837902189232409,
0.024331962689757347,
-0.03828229010105133,
0.02606859803199768,
-0.016469398513436317,
0.0042604790069162846,
-0.015410243533551693,
0.0444273017346859,
0.047099046409130096,
0.03872121870517731,
-0.04660286754369736,
0.014894978143274784,
-0.05347306653857231,
-0.02007625438272953,
-0.02362585999071598,
-0.04389295354485512,
-0.014122080989181995,
-0.0005107923061586916,
0.018912138417363167,
0.013931241817772388,
0.0019429788226261735,
-0.03931281715631485,
0.06641194969415665,
-0.0003110078105237335,
-0.018072446808218956,
0.01290071103721857,
-0.004181758034974337,
-0.007509511895477772,
0.015171694569289684,
-0.054121918976306915,
-0.012671704404056072,
-0.02820599265396595,
0.003747599432244897,
-0.010496141389012337,
-0.013282389380037785,
0.013673609122633934,
0.02335868403315544,
-0.03473268449306488,
-0.002659817459061742,
-0.00948946550488472,
0.0023604389280080795,
-0.042442578822374344,
-0.07809128612279892,
-0.033549483865499496,
-0.02473272569477558,
0.03849221020936966,
0.005157421808689833,
0.02520982176065445,
0.02688920497894287,
-0.02935102768242359,
0.02824416197836399,
-0.021297624334692955,
-0.011641174554824829,
-0.07164093106985092,
-0.03148842230439186,
-0.0031559986528009176,
0.017690768465399742,
-0.018072446808218956,
-0.07339665293693542,
0.003253803588449955,
0.00991408247500658,
0.038110531866550446,
0.004632615018635988,
-0.03192735090851784,
0.04938911274075508,
-0.02066785655915737,
-0.04305326193571091,
-0.030496060848236084,
-0.0038740301970392466,
0.022652581334114075,
0.06457988917827606,
0.016889244318008423,
0.034293755888938904,
-0.011841555126011372,
-0.012318653054535389,
0.0037213589530438185,
-0.010524766519665718,
-0.02225181832909584,
0.03690824657678604,
0.03772885724902153,
-0.016059095039963722,
-0.05286238342523575,
-0.0014539540279656649,
-0.0005361381336115301,
0.05160284414887428,
0.03393116220831871,
0.023015175014734268,
0.014284294098615646,
0.07412184029817581,
0.055495958775281906,
0.06690812855958939,
0.014475132338702679,
0.003313440829515457,
-0.0022256590891629457,
-0.008330118842422962,
-0.0022113460581749678,
-0.06133563071489334,
-0.04648836329579353,
-0.041106704622507095,
0.016421688720583916,
0.04633568972349167,
-0.023415936157107353,
0.035934969782829285,
0.0439692884683609,
0.012290026992559433,
-0.04095403477549553,
0.0008528114412911236,
0.0004970757872797549,
-0.022690748795866966,
-0.014293835498392582,
-0.03744259849190712,
-0.025820506736636162,
-0.013931241817772388,
0.044618140906095505,
0.020019004121422768,
-0.018835801631212234,
0.06370203197002411,
-0.007504740729928017,
-0.011583922430872917,
0.03692733123898506,
-0.02335868403315544,
-0.027347218245267868,
0.03499985858798027,
-0.042213570326566696,
0.026106765493750572,
-0.008334890007972717,
0.07022872567176819,
0.000733537133783102,
-0.005639290437102318,
-0.008358744904398918,
-0.03578229993581772,
0.01425566803663969,
-0.03587771952152252,
-0.03257620334625244,
0.016116347163915634,
-0.02545791305601597,
-0.04957995191216469,
0.0011348952539265156,
-0.01207056175917387,
0.018597252666950226,
0.020992282778024673,
-0.009856830351054668,
0.018835801631212234,
-0.057938698679208755,
0.04034334793686867,
-0.021240372210741043,
-0.08343477547168732,
0.03507619351148605,
0.02683195285499096,
0.04152654856443405,
0.002303187269717455,
0.010410263203084469,
-0.020992282778024673,
0.03278612717986107,
-0.04198456555604935,
-0.04423646256327629,
-0.039961669594049454,
-0.010143089108169079,
0.0012273328611627221,
0.0013167886063456535,
0.06057227402925491,
-0.02391211688518524,
-0.009241375140845776,
0.0044179209508001804,
0.09618281573057175,
-0.009007597342133522,
-0.03881663829088211,
-0.06080128252506256,
0.007027643267065287,
-0.04904560372233391,
0.0002846183779183775,
0.03093498945236206,
-0.023129677399992943,
0.07545771449804306,
-0.01124995481222868,
0.059541743248701096,
0.008468477055430412,
0.020725106820464134,
-0.017146877944469452,
0.013396892696619034,
0.044923484325408936,
-0.02112586982548237,
0.006512378342449665,
0.0021743709221482277,
-0.0021445525344461203,
0.001283391728065908,
0.03938915580511093,
0.0014694597339257598,
-0.0937400832772255,
0.031851015985012054,
-0.014675513841211796,
-0.002426039893180132,
0.0030772776808589697,
-0.00500952173024416,
-0.03723267465829849,
0.010915986262261868,
-0.03770977258682251,
0.007142147049307823,
-0.018835801631212234,
0.05648832395672798,
-0.018540002405643463,
-0.012910253368318081,
0.08893094211816788,
0.07511419802904129,
-0.009174581617116928,
-0.01546749472618103,
-0.03013346716761589,
-0.00921274907886982,
0.060076095163822174,
0.00974232703447342,
0.029160188511013985,
0.07893098145723343,
0.0002127555781044066,
-0.027289966121315956,
-0.07362566143274307,
0.01952282153069973,
0.010686979629099369,
0.04511432349681854,
-0.054923441261053085,
-0.01977091282606125,
0.0063072266057133675,
-0.02087777853012085,
-0.008172676898539066,
0.06805316358804703,
0.027576224878430367,
-0.05045781284570694,
-0.07877831161022186,
-0.028873929753899574,
0.002131432294845581,
0.10442706197500229,
-0.019408319145441055,
-0.01546749472618103,
0.08854926377534866,
-0.027824316173791885,
-0.011707968078553677,
-0.039961669594049454,
-0.019980834797024727,
-0.06339669227600098,
0.04362577944993973,
-0.045457832515239716,
0.03307238593697548,
0.014971313998103142,
0.02311059460043907,
0.015954134985804558,
-0.027595309540629387,
0.03587771952152252,
-0.013940783217549324,
-0.015954134985804558,
0.015248030424118042,
0.0375189334154129,
-0.03469451516866684,
0.035381536930799484,
0.00475666020065546,
-0.027557140216231346,
-0.03478993475437164,
0.03437009081244469,
-0.04522882401943207,
0.006235661916434765,
0.009952249936759472,
0.03230902925133705,
0.01956099085509777,
0.020209841430187225,
0.039999838918447495,
0.011622090823948383,
-0.06545775383710861,
-0.061450134962797165,
-0.03066781535744667,
0.03284337744116783,
-0.035667795687913895,
0.019398776814341545,
0.007624015212059021,
-0.0013000902254134417,
-0.027309050783514977,
0.03828229010105133,
-0.054961610585451126,
-0.033015135675668716,
-0.023969369009137154,
0.04156471788883209,
-0.057137176394462585,
-0.010009502060711384,
0.07847296446561813,
0.017242297530174255,
-0.050076134502887726,
0.048129577189683914,
-0.029484614729881287,
-0.024274710565805435,
-0.017499929293990135,
-0.04339677095413208,
-0.04904560372233391,
0.052518874406814575,
-0.009756640531122684,
0.010009502060711384,
-0.03284337744116783,
-0.024045703932642937,
0.01547703705728054,
-0.04263341799378395,
-0.07511419802904129,
-0.031851015985012054,
-0.09137367457151413,
0.06152646988630295,
0.03230902925133705,
-0.054694436490535736,
-0.014045745134353638,
-0.02141212671995163,
0.0020527110900729895,
0.035114362835884094,
-0.06576309353113174,
0.03040064126253128,
0.015171694569289684,
-0.05885472521185875,
-0.033549483865499496,
0.027480805292725563,
0.022118231281638145,
-0.016173599287867546,
0.02927469089627266,
-0.000008074312972894404,
0.014465590938925743,
0.006063906941562891,
0.0530913881957531,
0.047862403094768524,
0.03904564306139946,
-0.03532428666949272,
0.02311059460043907,
-0.018864428624510765,
0.025286158546805382,
-0.03490443900227547,
-0.02660294622182846,
-0.013998035341501236,
0.011488503776490688,
0.02685103751718998,
0.053816575556993484,
0.014122080989181995,
-0.008764278143644333,
0.04038151726126671,
-0.0026717449072748423,
0.02492356300354004,
-0.03635481372475624,
-0.01236636284738779,
-0.012232774868607521,
0.03723267465829849,
0.05755702033638954,
-0.02900751680135727,
-0.03528611734509468,
0.0013096320908516645,
0.034351006150245667,
0.028835762292146683,
0.03225177899003029,
-0.01764305867254734,
-0.02061060443520546,
-0.029522782191634178,
-0.012118271552026272,
0.05446542799472809,
0.03452276065945625,
-0.03988533467054367,
-0.019169770181179047,
0.023759447038173676,
0.04557233676314354,
-0.028053322806954384,
-0.031583841890096664,
-0.04095403477549553,
-0.006478981580585241,
0.043015092611312866,
0.024847228080034256,
0.018053362146019936,
-0.0639692097902298,
0.02795790322124958,
0.002154094399884343,
0.029465530067682266,
-0.04564867168664932,
0.037557099014520645,
-0.006001884117722511,
0.02330143377184868,
0.018864428624510765,
0.04450363665819168,
0.02662203088402748,
0.016612527891993523,
-0.0808393657207489,
-0.03171743080019951,
-0.03887388855218887,
-0.10717514157295227,
0.020763274282217026,
-0.041679222136735916,
0.01019079890102148,
-0.03517161309719086,
-0.07091574370861053,
-0.005081086419522762,
0.004642156884074211,
0.014589635655283928,
-0.05122116953134537,
0.0001437255705241114,
0.019675493240356445,
0.0028554273303598166,
0.06393104046583176,
0.041679222136735916,
0.09396908432245255,
-0.024274710565805435,
-0.014885435812175274,
0.03723267465829849,
0.04072502627968788,
0.00951332040131092,
-0.0635111927986145,
-0.010362553410232067,
-0.047633394598960876,
0.006894056219607592,
0.008058173581957817,
-0.02309150993824005,
0.055495958775281906,
-0.009346336126327515,
-0.018597252666950226,
-0.021297624334692955,
0.04187006130814552,
0.02141212671995163,
0.012614453211426735,
-0.018921678885817528,
-0.044579971581697464,
-0.027595309540629387,
0.008602065034210682,
-0.05404558405280113,
0.07599206268787384,
0.004167445003986359,
0.0037189736030995846,
0.02036251313984394,
0.008616377599537373,
-0.07675541937351227,
-0.01329193077981472,
0.05293871834874153,
-0.0013943169033154845,
-0.003761912230402231,
0.02580142207443714,
0.04148838296532631,
0.006693675182759762,
0.0016364437760785222,
-0.012290026992559433,
0.013912158086895943,
0.027289966121315956,
0.05148834362626076,
-0.03068690001964569,
-0.0852668359875679,
-0.014427422545850277,
-0.035934969782829285,
-0.03875938430428505,
-0.030572395771741867,
-0.016688864678144455,
-0.0433204360306263,
0.010391179472208023,
-0.02520982176065445,
0.013931241817772388,
0.011774761602282524,
0.0679386556148529,
0.00991408247500658
] |
9,735 | requests.adapters | init_poolmanager | Initializes a urllib3 PoolManager.
This method should not be called from user code, and is only
exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param connections: The number of urllib3 connection pools to cache.
:param maxsize: The maximum number of connections to save in the pool.
:param block: Block when no free connections are available.
:param pool_kwargs: Extra keyword arguments used to initialize the Pool Manager.
| def init_poolmanager(
self, connections, maxsize, block=DEFAULT_POOLBLOCK, **pool_kwargs
):
"""Initializes a urllib3 PoolManager.
This method should not be called from user code, and is only
exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param connections: The number of urllib3 connection pools to cache.
:param maxsize: The maximum number of connections to save in the pool.
:param block: Block when no free connections are available.
:param pool_kwargs: Extra keyword arguments used to initialize the Pool Manager.
"""
# save these values for pickling
self._pool_connections = connections
self._pool_maxsize = maxsize
self._pool_block = block
self.poolmanager = PoolManager(
num_pools=connections,
maxsize=maxsize,
block=block,
**pool_kwargs,
)
| (self, connections, maxsize, block=False, **pool_kwargs) | [
0.011658011935651302,
-0.049400825053453445,
0.00016934856830630451,
0.010155221447348595,
-0.06320828199386597,
0.05552128329873085,
-0.04397256299853325,
0.0036841139663010836,
-0.06346330046653748,
-0.026266958564519882,
0.009836447425186634,
0.042223863303661346,
-0.03985583037137985,
0.049655843526124954,
0.00417365925386548,
-0.001069599878974259,
-0.06135028973221779,
-0.03273351117968559,
-0.016357649117708206,
-0.03419076278805733,
-0.02189520373940468,
0.08867375552654266,
0.01586582511663437,
0.03236920014023781,
0.007154194172471762,
-0.019691111519932747,
-0.017541665583848953,
0.01103868056088686,
0.03142198547720909,
-0.007632354740053415,
-0.025101156905293465,
0.08386482298374176,
-0.008939327672123909,
0.06506627798080444,
0.048052869737148285,
-0.025775136426091194,
0.06604992598295212,
0.09785443544387817,
-0.045794129371643066,
0.0020264904014766216,
0.002736900467425585,
-0.07905589789152145,
0.018689250573515892,
-0.010428456589579582,
0.046049147844314575,
0.06484769284725189,
0.02338888682425022,
-0.02451825700700283,
0.007390997372567654,
-0.040912337601184845,
-0.015219170600175858,
0.017004303634166718,
-0.0025205896236002445,
0.02677699737250805,
-0.044045425951480865,
0.07781723141670227,
-0.03985583037137985,
0.04685063660144806,
-0.029837224632501602,
0.036030542105436325,
-0.025684058666229248,
-0.020674755796790123,
0.02987365610897541,
-0.04634059965610504,
-0.04564840346574783,
-0.0050184098072350025,
-0.04838075116276741,
0.02901752106845379,
0.044737622141838074,
-0.01002771221101284,
0.05646849796175957,
0.04149523749947548,
-0.027123093605041504,
-0.010592397302389145,
0.04481048509478569,
0.0503116101026535,
0.02694093808531761,
-0.041167356073856354,
-0.06138671934604645,
0.05807147175073624,
0.008319995366036892,
-0.014964151196181774,
-0.015465081669390202,
-0.021257655695080757,
0.04018371179699898,
-0.12131618708372116,
-0.026667702943086624,
-0.03207774832844734,
0.0021733539178967476,
-0.01757809706032276,
-0.048307888209819794,
0.0050093019381165504,
0.03861716389656067,
0.002037875121459365,
-0.03593946620821953,
-0.018179211765527725,
-0.02697736769914627,
-0.0031239830423146486,
0.005168688949197531,
0.013552439399063587,
-0.023716768249869347,
-0.05133168399333954,
-0.05668708309531212,
-0.06411906331777573,
-0.014271956868469715,
-0.06532129645347595,
0.00881181750446558,
-0.048089299350976944,
-0.048708632588386536,
-0.016840362921357155,
-0.0051322574727237225,
-0.012250020168721676,
0.0038139005191624165,
0.08153322339057922,
-0.0044400631450116634,
0.031349122524261475,
-0.04153166711330414,
0.0018830421613529325,
0.02630339004099369,
0.004499264061450958,
-0.09807302802801132,
0.053189679980278015,
-0.016166383400559425,
0.046304166316986084,
0.04655918478965759,
0.02768777869641781,
0.025283314287662506,
-0.03349857032299042,
-0.021020853891968727,
0.007586815860122442,
0.07614139467477798,
-0.011321023106575012,
-0.027961013838648796,
-0.013060616329312325,
-0.010765445418655872,
-0.02650376223027706,
-0.05129525437951088,
0.03145841881632805,
-0.015346679836511612,
-0.00725893396884203,
-0.014044261537492275,
0.03122161328792572,
-0.02679521217942238,
0.03052941896021366,
-0.038945045322179794,
-0.013725487515330315,
0.03207774832844734,
-0.037560656666755676,
-0.0076505704782903194,
-0.029582206159830093,
0.02344353310763836,
-0.045830558985471725,
0.06758003681898117,
0.04495621100068092,
-0.06710643321275711,
0.01941787637770176,
-0.017969733104109764,
0.002557021100074053,
-0.008998528122901917,
-0.006088579073548317,
0.006489322986453772,
0.04411828890442848,
0.004922777879983187,
-0.01983683556318283,
-0.022405242547392845,
-0.049838002771139145,
0.0176327433437109,
-0.09785443544387817,
-0.00815150048583746,
-0.004314830526709557,
-0.02114836312830448,
0.0016519312048330903,
-0.03996512293815613,
-0.00981823168694973,
0.033972177654504776,
0.043644681572914124,
0.0037433148827403784,
-0.07049454003572464,
-0.00792380515486002,
0.03145841881632805,
0.01761452853679657,
0.0036044204607605934,
0.004704189952462912,
-0.000012114114724681713,
-0.0227513387799263,
-0.008456612937152386,
0.039564378559589386,
0.04688706621527672,
0.023279592394828796,
0.04892721772193909,
0.0017088550375774503,
0.00037455916753970087,
-0.035757310688495636,
-0.04776141792535782,
-0.006953821983188391,
0.000802626833319664,
0.015055229887366295,
0.0024659428745508194,
0.03664987534284592,
0.05894582346081734,
-0.04499264061450958,
0.041349511593580246,
0.014044261537492275,
-0.03475544974207878,
0.029782578349113464,
-0.051440976560115814,
-0.036030542105436325,
0.0038025155663490295,
-0.01204964891076088,
0.05869080498814583,
-0.016230138018727303,
0.05038446933031082,
0.018170105293393135,
0.05002015829086304,
0.002545636147260666,
0.01782400719821453,
0.030839085578918457,
0.03528370335698128,
-0.005924638360738754,
0.0018135950667783618,
-0.0016917779576033354,
-0.02650376223027706,
-0.013607085682451725,
-0.004282953217625618,
0.002748285187408328,
0.005300752352923155,
0.008784494362771511,
0.018561741337180138,
0.011339237913489342,
0.02386249415576458,
-0.0035679892171174288,
0.060767389833927155,
0.055193401873111725,
-0.007901035249233246,
0.05012945085763931,
-0.08546780049800873,
0.0035019575152546167,
-0.03785210847854614,
-0.05537555739283562,
-0.03898147866129875,
0.039600808173418045,
-0.008160608820617199,
0.03699597343802452,
-0.02278777025640011,
-0.05778002366423607,
0.07329975068569183,
-0.039127204567193985,
0.03728742152452469,
0.015528836287558079,
0.035538721829652786,
0.009490350261330605,
0.02719595655798912,
-0.029727930203080177,
-0.02027401141822338,
0.003893593791872263,
-0.0018306722631677985,
-0.009508565999567509,
0.004822591785341501,
-0.04309821501374245,
-0.02701379917562008,
0.030001165345311165,
0.032187044620513916,
-0.018816759809851646,
0.051841720938682556,
-0.016403187066316605,
0.03317068889737129,
0.03872646018862724,
-0.03703240305185318,
-0.02604837156832218,
0.02635803632438183,
0.10419348627328873,
0.03971010446548462,
0.05796217918395996,
0.008005775511264801,
-0.006530308164656162,
0.00002113299342454411,
0.007673339918255806,
-0.02561119571328163,
-0.04889078810811043,
-0.012650764547288418,
0.03821641951799393,
0.015282925218343735,
-0.018406908959150314,
-0.018142782151699066,
0.0012022325536236167,
-0.0010445533553138375,
-0.03717812895774841,
0.08182467520236969,
-0.01854352466762066,
0.00033556632115505636,
-0.05712426081299782,
-0.02293349616229534,
-0.03796140104532242,
0.01250503957271576,
-0.03486474230885506,
-0.02992830239236355,
0.015519728884100914,
0.05002015829086304,
0.01832493767142296,
0.00903951283544302,
-0.06415549665689468,
-0.05242462456226349,
-0.010118789970874786,
0.04706922546029091,
0.04389970004558563,
-0.0700937956571579,
0.036923110485076904,
-0.0043057226575911045,
-0.004280676133930683,
0.049874432384967804,
0.04619487375020981,
0.03774281591176987,
0.0038207313045859337,
-0.01092027872800827,
0.009781801141798496,
0.03810712695121765,
0.014882180839776993,
0.010282730683684349,
-0.028817148879170418,
0.007878266274929047,
-0.04014727845788002,
-0.02921789325773716,
-0.012887568213045597,
-0.010610613040626049,
-0.001104892697185278,
0.011011356487870216,
0.026394467800855637,
0.03080265410244465,
-0.02296992763876915,
0.029163245111703873,
-0.0198186207562685,
0.0036795600317418575,
-0.0169314406812191,
-0.039127204567193985,
-0.032023102045059204,
-0.007436536718159914,
0.02027401141822338,
-0.043389663100242615,
0.02455468848347664,
-0.06135028973221779,
0.048052869737148285,
0.008160608820617199,
-0.05799860879778862,
-0.020237579941749573,
-0.06776219606399536,
0.00429206108674407,
0.046267736703157425,
-0.0570513978600502,
-0.01786043867468834,
-0.05198744684457779,
0.03413611650466919,
-0.0002264147624373436,
-0.021294087171554565,
0.0152920326218009,
-0.00423513725399971,
-0.01192213874310255,
0.020583678036928177,
-0.00948124285787344,
0.006461999844759703,
-0.02741454355418682,
-0.0476885549724102,
0.004731513559818268,
-0.0007121178205125034,
0.0029008411802351475,
0.023152083158493042,
-0.0005464692949317396,
0.06484769284725189,
-0.01602976582944393,
0.010756338015198708,
-0.06339044123888016,
0.007176963612437248,
-0.06306255608797073,
0.00004831414844375104,
0.03142198547720909,
-0.0030556742567569017,
-0.018616387620568275,
-0.05329897254705429,
0.015428650192916393,
0.006015716586261988,
0.05202388018369675,
-0.018461555242538452,
-0.040256574749946594,
0.0624796599149704,
-0.06036664545536041,
-0.015720101073384285,
-0.06827223300933838,
-0.002381695434451103,
0.027797073125839233,
0.0633540078997612,
0.06353616714477539,
0.06036664545536041,
-0.01804259605705738,
-0.009116929955780506,
0.032660648226737976,
-0.006079471204429865,
0.015510620549321175,
0.0459398552775383,
0.0022837864235043526,
-0.028416404500603676,
-0.03945508599281311,
0.013106156140565872,
-0.002689084503799677,
0.06003876402974129,
-0.005059394985437393,
-0.029090384021401405,
0.0083564268425107,
0.05974731221795082,
0.07111387699842453,
0.01851620152592659,
0.022259516641497612,
0.0071268705651164055,
0.017441479489207268,
-0.03346213698387146,
-0.058982256799936295,
-0.052278898656368256,
-0.03162235766649246,
-0.042260292917490005,
0.03941865265369415,
0.039782967418432236,
-0.0009881986770778894,
0.07278971374034882,
0.03382645174860954,
0.014235525391995907,
-0.05592202767729759,
-0.011129758320748806,
-0.02519223466515541,
0.009426595643162727,
-0.006972037721425295,
-0.02408108115196228,
-0.01193124707788229,
0.0011840168153867126,
0.04528409242630005,
0.05023874714970589,
-0.0468142032623291,
0.03672273829579353,
0.014317495748400688,
-0.014581622555851936,
-0.0043922471813857555,
-0.009836447425186634,
-0.019982561469078064,
0.030930163338780403,
-0.039127204567193985,
-0.026430899277329445,
-0.010838308371603489,
0.03552050516009331,
-0.015027905814349651,
0.009781801141798496,
-0.02650376223027706,
-0.010410240851342678,
0.016221031546592712,
-0.06113170087337494,
-0.0006307166768237948,
0.01483664195984602,
-0.011430316604673862,
0.0016200537793338299,
0.006735234521329403,
0.02918146178126335,
0.027359897270798683,
-0.005000194068998098,
0.03384466469287872,
0.00719062564894557,
-0.06470196694135666,
0.0962514653801918,
-0.013005970045924187,
-0.06561274826526642,
0.024172158911824226,
0.029600420966744423,
0.021348735317587852,
0.039382223039865494,
0.0030989365186542273,
-0.06717929244041443,
0.04976513981819153,
-0.02834354154765606,
-0.009171577170491219,
-0.04998372867703438,
-0.045174796134233475,
-0.029946519061923027,
-0.03233276680111885,
0.05085807666182518,
-0.03850787132978439,
0.00902129802852869,
0.052934661507606506,
0.11140687763690948,
0.007236164528876543,
-0.07020308822393417,
-0.048052869737148285,
0.056759946048259735,
-0.03971010446548462,
0.0035702663008123636,
0.003989226184785366,
-0.020911559462547302,
0.023516396060585976,
-0.006921944674104452,
0.046012718230485916,
-0.008565906435251236,
0.015701884403824806,
-0.026394467800855637,
-0.00535995326936245,
0.007632354740053415,
-0.010592397302389145,
0.008133284747600555,
-0.000660886347759515,
0.03630377724766731,
-0.03730563819408417,
0.03721456229686737,
0.016840362921357155,
-0.05322611331939697,
-0.0083564268425107,
0.0009967372752726078,
0.027323465794324875,
-0.015519728884100914,
-0.021057283505797386,
-0.020601892843842506,
-0.014499652199447155,
-0.01125726755708456,
0.05369971692562103,
0.030383694916963577,
0.04867219924926758,
-0.005164135247468948,
-0.010082358494400978,
0.10310054570436478,
0.0620424821972847,
-0.03191380947828293,
-0.027104878798127174,
-0.02318851463496685,
-0.025520117953419685,
0.022113792598247528,
-0.004909115843474865,
-0.0041258432902395725,
0.03479187935590744,
0.023316023871302605,
-0.030620496720075607,
-0.06962019205093384,
-0.00008972627983894199,
0.0003210507275070995,
0.027141310274600983,
-0.04379040747880936,
-0.006275289226323366,
-0.013898536562919617,
-0.018015271052718163,
-0.022405242547392845,
0.07497558742761612,
0.062115345150232315,
-0.05107666552066803,
-0.03012867458164692,
-0.002167661674320698,
0.002061783103272319,
0.05818076804280281,
-0.006580401211977005,
0.028197817504405975,
0.06801721453666687,
-0.024044649675488472,
-0.00458123441785574,
-0.030693359673023224,
0.05173242837190628,
-0.08524921536445618,
0.05089451000094414,
-0.06521200388669968,
0.012304667383432388,
0.0156199149787426,
0.04131308197975159,
0.03125804662704468,
-0.07679715752601624,
0.06783505529165268,
0.006229750346392393,
-0.04178668558597565,
0.028234248980879784,
0.04109449312090874,
-0.013388498686254025,
0.051440976560115814,
0.03433648869395256,
-0.005660511553287506,
-0.034026823937892914,
0.026704134419560432,
-0.002682253485545516,
-0.013998722657561302,
-0.03705061972141266,
-0.027032015845179558,
0.024645766243338585,
0.029272539541125298,
0.030438341200351715,
0.004114458337426186,
-0.05012945085763931,
-0.012596117332577705,
0.003451864467933774,
0.028689639642834663,
-0.045794129371643066,
0.011503179557621479,
0.011667120270431042,
0.039600808173418045,
-0.024172158911824226,
0.015255602076649666,
-0.035994112491607666,
-0.014882180839776993,
-0.012204481288790703,
0.016558019444346428,
-0.04750639945268631,
-0.03763351961970329,
0.007910143584012985,
0.024700412526726723,
-0.03034726344048977,
0.03191380947828293,
-0.07876444607973099,
0.029254324734210968,
0.008329102769494057,
0.0017361785285174847,
-0.042478881776332855,
0.022805986925959587,
-0.01985505223274231,
-0.003265154082328081,
-0.01605709083378315,
-0.0236256904900074,
0.03078443743288517,
-0.015911364927887917,
-0.07861872017383575,
-0.022878848016262054,
-0.0494372583925724,
0.06266181170940399,
0.035593368113040924,
-0.054319050163030624,
-0.042952489107847214,
-0.004594895988702774,
0.024135727435350418,
0.016594450920820236,
-0.03433648869395256,
0.0001179747559945099,
0.0007007330423220992,
-0.022678475826978683,
-0.03440935164690018,
0.026266958564519882,
0.03262421861290932,
-0.001248910091817379,
0.0334257073700428,
-0.001598422764800489,
0.041568100452423096,
0.028853580355644226,
0.04083947464823723,
0.06266181170940399,
0.04677777364850044,
-0.0112663758918643,
0.04794357344508171,
-0.02162196859717369,
0.024427179247140884,
-0.08095031976699829,
0.017122704535722733,
-0.024609334766864777,
0.023589259013533592,
0.04688706621527672,
0.05450120568275452,
-0.009203454479575157,
-0.01013700570911169,
-0.020401520654559135,
0.04954655095934868,
0.0010872462298721075,
-0.03284280747175217,
-0.032423846423625946,
-0.02499186433851719,
0.03451864421367645,
0.03694132715463638,
-0.06357260048389435,
-0.076651431620121,
0.009062282741069794,
0.01626656949520111,
0.01896248571574688,
0.02695915289223194,
-0.048271454870700836,
-0.032423846423625946,
-0.04342609643936157,
-0.009809124283492565,
0.03923649713397026,
-0.007158747874200344,
0.017969733104109764,
0.03475544974207878,
0.05147740989923477,
0.02515580505132675,
-0.032205257564783096,
-0.02854391373693943,
-0.011557825841009617,
-0.023498181253671646,
0.0966886356472969,
0.03639485687017441,
0.00320595339871943,
-0.05202388018369675,
0.03945508599281311,
-0.02205914445221424,
0.017550772055983543,
-0.08408341556787491,
-0.004840807523578405,
-0.005314413923770189,
0.05155027285218239,
0.002282647881656885,
0.04976513981819153,
0.025374392047524452,
0.006953821983188391,
-0.08998528122901917,
0.02051081508398056,
0.014681808650493622,
-0.04065731540322304,
0.024591119959950447,
0.00229061720892787,
0.04838075116276741,
-0.03985583037137985,
-0.06546702235937119,
-0.02317029982805252,
0.013097047805786133,
0.007910143584012985,
-0.03391752764582634,
0.005437369924038649,
0.005182350520044565,
0.020182933658361435,
-0.004380862228572369,
0.0027892703656107187,
0.061860326677560806,
0.009144253097474575,
0.025738704949617386,
0.04236958920955658,
0.013752811588346958,
0.01515541598200798,
-0.025356177240610123,
-0.01762363500893116,
-0.03477366268634796,
-0.023334240540862083,
-0.0016610390739515424,
0.021366950124502182,
-0.004522033501416445,
-0.017660066485404968,
-0.015747424215078354,
-0.012095187790691853,
0.0531168170273304,
0.02788815088570118,
-0.02162196859717369,
0.012787382118403912,
-0.07085885852575302,
-0.05508410558104515,
-0.009554104879498482,
-0.03861716389656067,
0.05690567195415497,
-0.01161247305572033,
-0.005173242650926113,
0.01827939786016941,
-0.011785521171987057,
-0.053408268839120865,
0.003975564148277044,
0.033553216606378555,
0.007618693169206381,
-0.07002093642950058,
0.03276994451880455,
0.021749479696154594,
-0.01918107271194458,
0.01215894240885973,
-0.014472329057753086,
-0.007245272397994995,
0.03792497143149376,
0.0788373053073883,
0.013097047805786133,
-0.04892721772193909,
-0.007882819510996342,
-0.020437952131032944,
-0.016403187066316605,
-0.005423707887530327,
-0.024427179247140884,
-0.05198744684457779,
0.049619413912296295,
-0.054282620549201965,
-0.016794823110103607,
0.002207508310675621,
0.041823118925094604,
-0.009417488239705563
] |
9,737 | requests.adapters | proxy_manager_for | Return urllib3 ProxyManager for the given proxy.
This method should not be called from user code, and is only
exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param proxy: The proxy to return a urllib3 ProxyManager for.
:param proxy_kwargs: Extra keyword arguments used to configure the Proxy Manager.
:returns: ProxyManager
:rtype: urllib3.ProxyManager
| def proxy_manager_for(self, proxy, **proxy_kwargs):
"""Return urllib3 ProxyManager for the given proxy.
This method should not be called from user code, and is only
exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param proxy: The proxy to return a urllib3 ProxyManager for.
:param proxy_kwargs: Extra keyword arguments used to configure the Proxy Manager.
:returns: ProxyManager
:rtype: urllib3.ProxyManager
"""
if proxy in self.proxy_manager:
manager = self.proxy_manager[proxy]
elif proxy.lower().startswith("socks"):
username, password = get_auth_from_url(proxy)
manager = self.proxy_manager[proxy] = SOCKSProxyManager(
proxy,
username=username,
password=password,
num_pools=self._pool_connections,
maxsize=self._pool_maxsize,
block=self._pool_block,
**proxy_kwargs,
)
else:
proxy_headers = self.proxy_headers(proxy)
manager = self.proxy_manager[proxy] = proxy_from_url(
proxy,
proxy_headers=proxy_headers,
num_pools=self._pool_connections,
maxsize=self._pool_maxsize,
block=self._pool_block,
**proxy_kwargs,
)
return manager
| (self, proxy, **proxy_kwargs) | [
0.0347287580370903,
-0.002816282445564866,
-0.02343590557575226,
0.026910629123449326,
-0.030163561925292015,
0.0443212129175663,
-0.0263007041066885,
0.04051380231976509,
-0.03888733685016632,
0.04232509806752205,
0.04631733149290085,
0.04975509271025658,
-0.02574622631072998,
0.006704553961753845,
0.015691706910729408,
0.0030057288240641356,
-0.04864613711833954,
-0.030755003914237022,
-0.025505952537059784,
-0.06143607944250107,
-0.013464556075632572,
0.046354297548532486,
0.03958967700600624,
-0.005373808555305004,
-0.0205526240170002,
0.0009056461858563125,
-0.018510298803448677,
0.024526376277208328,
0.015303571708500385,
-0.0029410396236926317,
-0.0769614428281784,
0.02356528304517269,
0.007748819421976805,
0.06036408990621567,
0.03147582337260246,
-0.012364842928946018,
0.03958967700600624,
0.055558618158102036,
-0.061325185000896454,
-0.005392291117459536,
-0.011311335489153862,
-0.047980763018131256,
0.03369373455643654,
-0.0032644846942275763,
0.010498102754354477,
0.025265680626034737,
-0.03315773978829384,
0.011764158494770527,
0.0014185375766828656,
-0.04757414758205414,
-0.006755380891263485,
0.027465106919407845,
0.009292114526033401,
-0.024008864536881447,
0.03166064992547035,
0.013732553459703922,
-0.02014600671827793,
0.04698270559310913,
-0.02088530920445919,
0.07137970626354218,
0.0024581823963671923,
-0.030126597732305527,
0.027428140863776207,
-0.02393493428826332,
-0.027335727587342262,
-0.05818314477801323,
0.010461137630045414,
-0.006025319453328848,
0.04299046844244003,
0.010248587466776371,
0.017595410346984863,
0.00797985214740038,
-0.000706380931660533,
-0.04897882416844368,
0.09514829516410828,
0.010784582234919071,
0.04154882952570915,
-0.013390625827014446,
0.0139543442055583,
0.04372977092862129,
0.008585155941545963,
-0.015784118324518204,
-0.05038350075483322,
0.004754642490297556,
-0.008723774924874306,
-0.05729598179459572,
-0.026189807802438736,
-0.020127523690462112,
0.038074105978012085,
-0.059144239872694016,
-0.04417335242033005,
0.0061408355832099915,
0.03689121827483177,
-0.034470003098249435,
-0.09374362230300903,
-0.01875981315970421,
-0.0325847789645195,
-0.017623135820031166,
-0.05921816825866699,
0.029073089361190796,
-0.04143793135881424,
0.05559558421373367,
-0.07289527356624603,
0.016754454001784325,
0.013797242194414139,
-0.03840678930282593,
0.00030958311981521547,
-0.042583853006362915,
-0.010553549975156784,
-0.0012441083090379834,
0.0028370751533657312,
-0.025358092039823532,
-0.005549393128603697,
0.08487198501825333,
0.010858512483537197,
0.03568985313177109,
-0.05315588414669037,
-0.04864613711833954,
-0.046908773481845856,
0.022936875000596046,
-0.07234080135822296,
0.07418905198574066,
0.03308380767703056,
0.037926241755485535,
-0.012660563923418522,
-0.016588110476732254,
0.06901393085718155,
-0.010507343336939812,
0.01180112361907959,
-0.013658623211085796,
0.07222989946603775,
-0.03042231872677803,
-0.0446169339120388,
-0.01736437901854515,
0.0486091710627079,
0.03870251029729843,
-0.02467423677444458,
-0.014619716443121433,
-0.026337668299674988,
0.00021919178834650666,
-0.05559558421373367,
0.04391459748148918,
-0.034821171313524246,
0.026060430333018303,
-0.05385822430253029,
-0.037649005651474,
-0.009158115833997726,
0.016172252595424652,
-0.02016448974609375,
-0.07348671555519104,
0.0039390986785292625,
-0.02772386185824871,
0.06505866348743439,
0.029997218400239944,
-0.08960352092981339,
0.03533868491649628,
-0.04535624012351036,
0.013547726906836033,
-0.016504939645528793,
0.03533868491649628,
-0.0018748261500149965,
-0.0007473891018889844,
-0.01654190383851528,
-0.0056279441341757774,
0.011412990279495716,
-0.05311892181634903,
0.0030519352294504642,
-0.11636628955602646,
-0.008414192125201225,
0.041696690022945404,
-0.004500506911426783,
0.025820156559348106,
0.022437846288084984,
0.0009732230682857335,
0.011560850776731968,
0.05223175510764122,
-0.0496811605989933,
-0.06583493202924728,
-0.008811567910015583,
0.043323155492544174,
0.05437573418021202,
0.002804730786010623,
-0.002968763466924429,
-0.03796320781111717,
-0.05759170278906822,
-0.0210886187851429,
0.020571105182170868,
0.05064225569367409,
0.03191940858960152,
0.06834856420755386,
-0.011819606646895409,
-0.008233986794948578,
0.019591528922319412,
-0.09344790130853653,
0.00544773880392313,
0.0017362068174406886,
0.023380456492304802,
0.006006836891174316,
0.04945937171578407,
0.028537096455693245,
-0.05256444215774536,
0.03678032383322716,
0.01223546452820301,
0.035042960196733475,
-0.00041730189695954323,
-0.026041947305202484,
-0.02848164737224579,
-0.016301631927490234,
-0.008090747520327568,
0.04883096367120743,
0.05759170278906822,
0.04750021547079086,
-0.046354297548532486,
0.03885037079453468,
0.005512428004294634,
0.028130479156970978,
-0.012484978884458542,
0.005891320761293173,
0.02628222107887268,
0.0031189345754683018,
0.024729685857892036,
-0.02249329350888729,
-0.04705663397908211,
0.031106173992156982,
0.030514730140566826,
0.008026057854294777,
-0.0073375822976231575,
0.011366783641278744,
0.01890767365694046,
-0.006029940210282803,
0.06905090063810349,
0.013205799274146557,
0.04720449447631836,
0.0565936453640461,
0.09973197430372238,
-0.037371765822172165,
-0.020460210740566254,
-0.019203394651412964,
0.009366044774651527,
0.0038489962462335825,
0.001001524506136775,
0.025099337100982666,
0.04487569257616997,
0.025838639587163925,
-0.03859161585569382,
0.060622844845056534,
-0.06576099991798401,
0.007189721800386906,
0.059883542358875275,
0.0507531501352787,
0.009601697325706482,
0.0966269001364708,
-0.04883096367120743,
-0.0021416684612631798,
-0.00761482072994113,
-0.04299046844244003,
0.027095453813672066,
0.012207740917801857,
-0.00891784206032753,
0.012669805437326431,
-0.013861930929124355,
0.06143607944250107,
0.028333786875009537,
-0.002439699834212661,
-0.036835771054029465,
0.0061731799505651,
0.02162461169064045,
-0.0392569899559021,
-0.046206437051296234,
0.04713056609034538,
0.09603545814752579,
0.01808520033955574,
0.016421766951680183,
0.004350336268544197,
0.04036594182252884,
0.010488861240446568,
0.014610475860536098,
-0.017595410346984863,
-0.03855464980006218,
-0.036632463335990906,
0.004976433236151934,
0.03803713992238045,
-0.02410127781331539,
-0.031420376151800156,
-0.032289057970047,
0.020626554265618324,
-0.011274370364844799,
0.08509377390146255,
-0.022899910807609558,
0.03099527768790722,
-0.01595970429480076,
-0.01512798760086298,
-0.04073559492826462,
-0.04236206039786339,
-0.034821171313524246,
-0.009222804568707943,
-0.03308380767703056,
0.09182143211364746,
-0.007573234848678112,
0.017040934413671494,
-0.09573973715305328,
0.05400608479976654,
0.005096570122987032,
0.048720065504312515,
0.05544772371649742,
-0.031198585405945778,
0.022068195044994354,
-0.02541354112327099,
0.013843448832631111,
0.02916550263762474,
0.03384159505367279,
0.0096201803535223,
-0.006815449334681034,
-0.0009478095453232527,
0.01641252636909485,
0.019517598673701286,
-0.014647440984845161,
0.03533868491649628,
0.014471855945885181,
-0.011144992895424366,
-0.06206448748707771,
0.06520652770996094,
-0.004604471381753683,
-0.008931703865528107,
0.011782641522586346,
0.032492365688085556,
-0.01352000329643488,
0.04661305248737335,
-0.02986784093081951,
0.03973753750324249,
-0.08058402687311172,
0.01107106264680624,
-0.04812862351536751,
-0.005031880922615528,
0.017410585656762123,
-0.0026152844075113535,
0.029257915914058685,
0.010599756613373756,
0.06180572882294655,
0.003306070575490594,
0.06690692156553268,
-0.017161071300506592,
-0.049089718610048294,
-0.015784118324518204,
-0.015266606584191322,
0.011773400008678436,
0.04912668466567993,
-0.020626554265618324,
-0.0004926761612296104,
-0.0461694709956646,
-0.02195729874074459,
-0.05012474209070206,
0.016440249979496002,
-0.04154882952570915,
-0.022733567282557487,
-0.04502355307340622,
0.02591256983578205,
-0.05785045772790909,
-0.03855464980006218,
-0.006136214826256037,
-0.044727832078933716,
0.00512891449034214,
0.002756214002147317,
0.04173365235328674,
-0.03814803436398506,
-0.01600590907037258,
0.04265778139233589,
-0.04358191043138504,
0.0435449481010437,
-0.03722390532493591,
-0.0019395152339711785,
0.0038998231757432222,
-0.03225209191441536,
0.004588299430906773,
-0.004604471381753683,
-0.006612141150981188,
0.008677569217979908,
0.004754642490297556,
0.009481560438871384,
0.014037515968084335,
-0.002172857755795121,
-0.0320487841963768,
0.022936875000596046,
-0.009065702557563782,
0.0030935208778828382,
-0.051751211285591125,
-0.024581825360655785,
0.008367985486984253,
0.021901851519942284,
0.036077987402677536,
0.031272515654563904,
0.0075917174108326435,
-0.016070598736405373,
0.020404763519763947,
0.0014185375766828656,
-0.02376859076321125,
-0.02789020538330078,
0.004327232949435711,
-0.0630255788564682,
-0.03596708923578262,
0.017290448769927025,
-0.0019730147905647755,
0.06210144981741905,
-0.008931703865528107,
-0.019166430458426476,
0.038074105978012085,
0.009005635045468807,
0.04409942403435707,
0.04398852959275246,
-0.009375286288559437,
-0.0068616559728980064,
-0.025339610874652863,
0.01062748022377491,
-0.012845389544963837,
-0.0042348201386630535,
0.014092963188886642,
-0.011671746149659157,
0.028500130400061607,
0.024729685857892036,
0.046206437051296234,
0.05496717616915703,
0.0014023653930053115,
-0.04683484509587288,
-0.028038065880537033,
-0.018464092165231705,
0.027280280366539955,
-0.013861930929124355,
0.011283611878752708,
-0.0403289794921875,
-0.0006636399775743484,
0.01689307391643524,
0.006011457648128271,
0.04535624012351036,
-0.030644109472632408,
0.049237579107284546,
0.02663339115679264,
-0.031032243743538857,
0.016079839318990707,
-0.06276682764291763,
-0.031956370919942856,
0.018685882911086082,
-0.05389518663287163,
-0.06025319546461105,
0.010775340721011162,
0.05145548656582832,
0.011893536895513535,
0.004331853706389666,
-0.07917935401201248,
-0.028389234095811844,
-0.0010893167927861214,
-0.12324181199073792,
0.04480176046490669,
-0.006954068783670664,
-0.011930502019822598,
0.02557988278567791,
-0.007185101043432951,
0.017336655408143997,
-0.01026707049459219,
-0.016532663255929947,
0.02757600136101246,
0.06143607944250107,
-0.08450233191251755,
0.07962293177843094,
-0.017475275322794914,
-0.05493021383881569,
0.00797985214740038,
0.01529433112591505,
0.016902314499020576,
0.018196094781160355,
0.00038178067188709974,
-0.04550410062074661,
0.007550131995230913,
-0.0011863502440974116,
-0.05278623476624489,
-0.025136301293969154,
0.004865537863224745,
0.0018205336527898908,
0.029110055416822433,
0.058404937386512756,
-0.029997218400239944,
-0.022899910807609558,
0.017207277938723564,
0.09359575808048248,
-0.027797792106866837,
-0.049274545162916183,
-0.013926620595157146,
0.010775340721011162,
-0.051048871129751205,
-0.0035833092406392097,
0.04465389996767044,
0.03674335777759552,
0.043655842542648315,
-0.021365856751799583,
-0.004500506911426783,
0.026430081576108932,
0.009537008590996265,
0.009694110602140427,
0.0013203489361330867,
-0.02500692382454872,
-0.03999629244208336,
0.04299046844244003,
-0.0033153118565678596,
0.039885398000478745,
-0.013261247426271439,
0.016819143667817116,
-0.010673686861991882,
-0.046391263604164124,
0.032880499958992004,
-0.0011043339036405087,
0.031198585405945778,
-0.006940206978470087,
-0.018787536770105362,
-0.0608815997838974,
-0.02807503193616867,
-0.0010165416169911623,
0.00807226449251175,
-0.028241373598575592,
0.07389333099126816,
-0.06365399062633514,
-0.04021808132529259,
0.0587376244366169,
0.02162461169064045,
-0.037575073540210724,
-0.05622399225831032,
-0.023177148774266243,
0.012411048635840416,
0.0027007663156837225,
0.024230655282735825,
0.023639213293790817,
0.0016599663067609072,
0.03129100054502487,
0.007688750978559256,
-0.056445784866809845,
0.02121799625456333,
0.04154882952570915,
0.01682838425040245,
-0.05308195576071739,
-0.01287311315536499,
-0.01909250020980835,
-0.004424266517162323,
0.03766748681664467,
0.05589130520820618,
-0.03201181814074516,
-0.04864613711833954,
-0.055928271263837814,
-0.029997218400239944,
0.018316231667995453,
-0.010581274516880512,
0.005054984241724014,
0.01753072254359722,
-0.0077996463514864445,
0.012928561307489872,
0.02107013575732708,
-0.015913497656583786,
0.0007381478208117187,
0.01404675655066967,
0.038628581911325455,
-0.07415208965539932,
0.026707321405410767,
-0.013159593567252159,
0.020404763519763947,
-0.007582476362586021,
-0.057961355894804,
0.048350416123867035,
-0.042251165956258774,
-0.014518062584102154,
0.021476751193404198,
0.013640140183269978,
-0.03995932638645172,
0.022382397204637527,
0.048904892057180405,
-0.012318636290729046,
-0.05064225569367409,
0.030533213168382645,
-0.0453932024538517,
-0.024433963000774384,
0.04173365235328674,
-0.04310136288404465,
0.05385822430253029,
0.035394132137298584,
0.014453373849391937,
0.025117818266153336,
-0.06335826963186264,
-0.04254688695073128,
0.009869694709777832,
0.002991866786032915,
-0.029849357903003693,
0.010045279748737812,
0.014462614431977272,
-0.011570092290639877,
-0.016800660640001297,
0.0328250527381897,
-0.045467134565114975,
-0.040624700486660004,
0.010784582234919071,
0.011459195986390114,
-0.07104701548814774,
0.006991033907979727,
0.004200165160000324,
0.012133810669183731,
-0.0022155987098813057,
0.04424728453159332,
-0.06535438448190689,
-0.03999629244208336,
-0.009703352116048336,
0.006991033907979727,
-0.0825062170624733,
0.047278426587581635,
-0.00034308279282413423,
-0.018075957894325256,
-0.010987890884280205,
-0.03528323397040367,
0.029830874875187874,
-0.025450505316257477,
-0.05892244726419449,
-0.005544772371649742,
-0.04720449447631836,
0.017687823623418808,
-0.0025390437804162502,
0.0005094259977340698,
0.0018089819932356477,
-0.048165589570999146,
0.015516121871769428,
-0.018852226436138153,
-0.01396358571946621,
-0.00751316687092185,
0.03726087138056755,
0.008391088806092739,
-0.015081780962646008,
0.028666473925113678,
0.009259769693017006,
0.016874590888619423,
0.08664631098508835,
-0.006117732264101505,
0.03371221572160721,
0.013658623211085796,
-0.025801675394177437,
0.014240823686122894,
0.02739117667078972,
-0.09914053231477737,
0.04642822965979576,
0.015081780962646008,
0.030496248975396156,
-0.030551696196198463,
-0.04443211108446121,
-0.03156823664903641,
0.05907030776143074,
0.03596708923578262,
0.04993991553783417,
-0.02356528304517269,
-0.006062284577637911,
-0.01206912100315094,
-0.010193140245974064,
0.06413453817367554,
0.010581274516880512,
-0.0210886187851429,
-0.01880601979792118,
0.021883368492126465,
0.060438018292188644,
-0.05603916570544243,
-0.01496164407581091,
0.010840030387043953,
-0.0036179639864712954,
0.014896955341100693,
0.02253025956451893,
-0.010719893500208855,
-0.03347194194793701,
0.007697992492467165,
0.03315773978829384,
0.01340910792350769,
0.05729598179459572,
0.016264665871858597,
-0.0010211622575297952,
0.04250992089509964,
0.048017729073762894,
-0.06391274183988571,
0.04250992089509964,
-0.044579971581697464,
-0.00882542971521616,
0.07259955257177353,
0.015349778346717358,
-0.02070048451423645,
-0.038074105978012085,
0.08383695781230927,
0.009356803260743618,
0.06210144981741905,
-0.0036456878297030926,
0.005530910566449165,
-0.00833102036267519,
0.03548654541373253,
-0.026319187134504318,
0.0432492233812809,
0.04103131592273712,
0.016052115708589554,
-0.047093600034713745,
-0.0464651919901371,
0.003749652300029993,
-0.05544772371649742,
0.036299776285886765,
-0.04343404993414879,
0.0435449481010437,
-0.08879029005765915,
-0.056667573750019073,
-0.016754454001784325,
-0.011080303229391575,
-0.031383413821458817,
-0.004549023695290089,
0.0013642450794577599,
0.05127066373825073,
0.01946215145289898,
0.011579332873225212,
-0.003952960483729839,
0.07585248351097107,
-0.0000025359393021062715,
0.027631448581814766,
0.027871722355484962,
0.020312350243330002,
0.004985674750059843,
0.03276960551738739,
-0.02572774328291416,
-0.03617040067911148,
-0.029220951721072197,
0.01927732490003109,
0.017881890758872032,
0.017253482714295387,
-0.0013284350279718637,
-0.02861102670431137,
-0.04066166281700134,
-0.009518526494503021,
0.04535624012351036,
-0.0029941771645098925,
0.0061870417557656765,
-0.03408186882734299,
-0.035042960196733475,
-0.02667035534977913,
-0.031198585405945778,
0.065169557929039,
0.015950461849570274,
-0.04945937171578407,
0.04199241101741791,
-0.055706482380628586,
-0.02611587755382061,
0.023269562050700188,
0.056630607694387436,
0.012383325025439262,
-0.09958411008119583,
0.004207096062600613,
0.028056548908352852,
-0.022105159237980843,
0.03230753913521767,
0.03219664469361305,
-0.015571569092571735,
0.026725802570581436,
0.044395145028829575,
-0.012910078279674053,
-0.041511863470077515,
-0.02504388801753521,
-0.04812862351536751,
0.015950461849570274,
0.006422694772481918,
-0.04838738217949867,
-0.025302644819021225,
0.028666473925113678,
-0.07278437912464142,
-0.04299046844244003,
-0.04047683998942375,
0.013982067815959454,
0.014028274454176426
] |
9,740 | requests.sessions | Session | A Requests session.
Provides cookie persistence, connection-pooling, and configuration.
Basic Usage::
>>> import requests
>>> s = requests.Session()
>>> s.get('https://httpbin.org/get')
<Response [200]>
Or as a context manager::
>>> with requests.Session() as s:
... s.get('https://httpbin.org/get')
<Response [200]>
| class Session(SessionRedirectMixin):
"""A Requests session.
Provides cookie persistence, connection-pooling, and configuration.
Basic Usage::
>>> import requests
>>> s = requests.Session()
>>> s.get('https://httpbin.org/get')
<Response [200]>
Or as a context manager::
>>> with requests.Session() as s:
... s.get('https://httpbin.org/get')
<Response [200]>
"""
__attrs__ = [
"headers",
"cookies",
"auth",
"proxies",
"hooks",
"params",
"verify",
"cert",
"adapters",
"stream",
"trust_env",
"max_redirects",
]
def __init__(self):
#: A case-insensitive dictionary of headers to be sent on each
#: :class:`Request <Request>` sent from this
#: :class:`Session <Session>`.
self.headers = default_headers()
#: Default Authentication tuple or object to attach to
#: :class:`Request <Request>`.
self.auth = None
#: Dictionary mapping protocol or protocol and host to the URL of the proxy
#: (e.g. {'http': 'foo.bar:3128', 'http://host.name': 'foo.bar:4012'}) to
#: be used on each :class:`Request <Request>`.
self.proxies = {}
#: Event-handling hooks.
self.hooks = default_hooks()
#: Dictionary of querystring data to attach to each
#: :class:`Request <Request>`. The dictionary values may be lists for
#: representing multivalued query parameters.
self.params = {}
#: Stream response content default.
self.stream = False
#: SSL Verification default.
#: Defaults to `True`, requiring requests to verify the TLS certificate at the
#: remote end.
#: If verify is set to `False`, requests will accept any TLS certificate
#: presented by the server, and will ignore hostname mismatches and/or
#: expired certificates, which will make your application vulnerable to
#: man-in-the-middle (MitM) attacks.
#: Only set this to `False` for testing.
self.verify = True
#: SSL client certificate default, if String, path to ssl client
#: cert file (.pem). If Tuple, ('cert', 'key') pair.
self.cert = None
#: Maximum number of redirects allowed. If the request exceeds this
#: limit, a :class:`TooManyRedirects` exception is raised.
#: This defaults to requests.models.DEFAULT_REDIRECT_LIMIT, which is
#: 30.
self.max_redirects = DEFAULT_REDIRECT_LIMIT
#: Trust environment settings for proxy configuration, default
#: authentication and similar.
self.trust_env = True
#: A CookieJar containing all currently outstanding cookies set on this
#: session. By default it is a
#: :class:`RequestsCookieJar <requests.cookies.RequestsCookieJar>`, but
#: may be any other ``cookielib.CookieJar`` compatible object.
self.cookies = cookiejar_from_dict({})
# Default connection adapters.
self.adapters = OrderedDict()
self.mount("https://", HTTPAdapter())
self.mount("http://", HTTPAdapter())
def __enter__(self):
return self
def __exit__(self, *args):
self.close()
def prepare_request(self, request):
"""Constructs a :class:`PreparedRequest <PreparedRequest>` for
transmission and returns it. The :class:`PreparedRequest` has settings
merged from the :class:`Request <Request>` instance and those of the
:class:`Session`.
:param request: :class:`Request` instance to prepare with this
session's settings.
:rtype: requests.PreparedRequest
"""
cookies = request.cookies or {}
# Bootstrap CookieJar.
if not isinstance(cookies, cookielib.CookieJar):
cookies = cookiejar_from_dict(cookies)
# Merge with session cookies
merged_cookies = merge_cookies(
merge_cookies(RequestsCookieJar(), self.cookies), cookies
)
# Set environment's basic authentication if not explicitly set.
auth = request.auth
if self.trust_env and not auth and not self.auth:
auth = get_netrc_auth(request.url)
p = PreparedRequest()
p.prepare(
method=request.method.upper(),
url=request.url,
files=request.files,
data=request.data,
json=request.json,
headers=merge_setting(
request.headers, self.headers, dict_class=CaseInsensitiveDict
),
params=merge_setting(request.params, self.params),
auth=merge_setting(auth, self.auth),
cookies=merged_cookies,
hooks=merge_hooks(request.hooks, self.hooks),
)
return p
def request(
self,
method,
url,
params=None,
data=None,
headers=None,
cookies=None,
files=None,
auth=None,
timeout=None,
allow_redirects=True,
proxies=None,
hooks=None,
stream=None,
verify=None,
cert=None,
json=None,
):
"""Constructs a :class:`Request <Request>`, prepares it and sends it.
Returns :class:`Response <Response>` object.
:param method: method for the new :class:`Request` object.
:param url: URL for the new :class:`Request` object.
:param params: (optional) Dictionary or bytes to be sent in the query
string for the :class:`Request`.
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of the :class:`Request`.
:param json: (optional) json to send in the body of the
:class:`Request`.
:param headers: (optional) Dictionary of HTTP Headers to send with the
:class:`Request`.
:param cookies: (optional) Dict or CookieJar object to send with the
:class:`Request`.
:param files: (optional) Dictionary of ``'filename': file-like-objects``
for multipart encoding upload.
:param auth: (optional) Auth tuple or callable to enable
Basic/Digest/Custom HTTP Auth.
:param timeout: (optional) How long to wait for the server to send
data before giving up, as a float, or a :ref:`(connect timeout,
read timeout) <timeouts>` tuple.
:type timeout: float or tuple
:param allow_redirects: (optional) Set to True by default.
:type allow_redirects: bool
:param proxies: (optional) Dictionary mapping protocol or protocol and
hostname to the URL of the proxy.
:param stream: (optional) whether to immediately download the response
content. Defaults to ``False``.
:param verify: (optional) Either a boolean, in which case it controls whether we verify
the server's TLS certificate, or a string, in which case it must be a path
to a CA bundle to use. Defaults to ``True``. When set to
``False``, requests will accept any TLS certificate presented by
the server, and will ignore hostname mismatches and/or expired
certificates, which will make your application vulnerable to
man-in-the-middle (MitM) attacks. Setting verify to ``False``
may be useful during local development or testing.
:param cert: (optional) if String, path to ssl client cert file (.pem).
If Tuple, ('cert', 'key') pair.
:rtype: requests.Response
"""
# Create the Request.
req = Request(
method=method.upper(),
url=url,
headers=headers,
files=files,
data=data or {},
json=json,
params=params or {},
auth=auth,
cookies=cookies,
hooks=hooks,
)
prep = self.prepare_request(req)
proxies = proxies or {}
settings = self.merge_environment_settings(
prep.ur | () | [
0.017736418172717094,
-0.06078045070171356,
-0.03583136200904846,
0.017166996374726295,
-0.049181126058101654,
0.012864703312516212,
-0.07322335988283157,
0.05702648684382439,
0.026235558092594147,
-0.02143765613436699,
0.019687213003635406,
0.014678414911031723,
0.04534280672669411,
0.05837622657418251,
0.04568023979663849,
-0.029947342351078987,
0.025919213891029358,
-0.026973696425557137,
-0.0006985955405980349,
-0.0805203914642334,
0.00759228365495801,
0.036189887672662735,
0.021427111700177193,
0.02199653349816799,
-0.04673472419381142,
0.02180672623217106,
-0.0377083420753479,
-0.016850652173161507,
0.04660818725824356,
0.04783138632774353,
-0.037096742540597916,
0.017557157203555107,
0.01618632674217224,
-0.0009167419048026204,
0.05053086578845978,
-0.012875247746706009,
0.002163009950891137,
0.0011711361585184932,
-0.034523800015449524,
-0.006806693505495787,
-0.07723040133714676,
-0.007703004404902458,
0.0022486867383122444,
0.000515379011631012,
0.016797928139567375,
0.0680352970957756,
-0.07676642388105392,
0.061286602169275284,
0.029989521950483322,
0.010328669100999832,
-0.010544838383793831,
0.04859061539173126,
0.018474556505680084,
-0.011293522082269192,
0.019075613468885422,
0.015290016308426857,
-0.03836212307214737,
0.010681921616196632,
-0.04981381818652153,
0.02214416116476059,
0.018780358135700226,
0.03271009027957916,
0.05555021017789841,
-0.026235558092594147,
-0.045891135931015015,
-0.02840779535472393,
-0.026551904156804085,
-0.002557123312726617,
0.03813013806939125,
-0.046228572726249695,
0.013444669544696808,
-0.029167024418711662,
-0.009743430651724339,
-0.02058352530002594,
0.051585350185632706,
-0.024759281426668167,
-0.030031699687242508,
-0.02135329879820347,
-0.046144213527441025,
0.0026493906043469906,
0.012432364746928215,
-0.044499218463897705,
-0.012200377881526947,
-0.012221467681229115,
0.05542367324233055,
-0.04403524473309517,
0.009347999468445778,
0.008098436519503593,
-0.01469950471073389,
0.05609854310750961,
-0.033131882548332214,
0.05065740644931793,
0.03479796648025513,
-0.000009293668881582562,
-0.016692480072379112,
-0.016323409974575043,
-0.01573289930820465,
0.014182807877659798,
-0.02262922376394272,
-0.03334277868270874,
-0.022861210629343987,
0.0320352204144001,
-0.09912148118019104,
0.011831308715045452,
0.018295295536518097,
-0.02659408375620842,
-0.012137109413743019,
-0.060147758573293686,
0.025560688227415085,
-0.022017622366547585,
-0.012305826880037785,
-0.03387002274394035,
0.005293508991599083,
0.03644296154379845,
-0.02469601295888424,
-0.02231287769973278,
-0.037349820137023926,
-0.03498777374625206,
-0.05196496471762657,
0.0038752281107008457,
-0.04331819713115692,
0.01164150144904852,
0.023177554830908775,
0.0581231489777565,
0.02923029288649559,
0.0001484515523770824,
0.0243796668946743,
-0.015859438106417656,
0.03365912660956383,
-0.05563456937670708,
0.043276019394397736,
-0.011335701681673527,
0.037012383341789246,
0.04981381818652153,
0.019043978303670883,
0.03813013806939125,
-0.03631642460823059,
0.049518562853336334,
-0.06896324455738068,
0.07609155774116516,
0.016945555806159973,
0.009152919985353947,
-0.039479874074459076,
-0.006901596672832966,
0.0009714432526379824,
-0.03311079367995262,
-0.005683667957782745,
-0.061033524572849274,
-0.042769864201545715,
-0.047620490193367004,
0.04108269140124321,
-0.04774703085422516,
0.03756071627140045,
0.00870476383715868,
-0.00644289655610919,
0.0007163899717852473,
-0.04559588059782982,
0.025138895958662033,
-0.0029393737204372883,
0.015363830141723156,
-0.01709318347275257,
-0.028449974954128265,
-0.006147640757262707,
-0.04555370286107063,
0.00784008763730526,
-0.03505104407668114,
-0.033553674817085266,
-0.05390521511435509,
0.028260167688131332,
0.014615146443247795,
-0.016797928139567375,
0.014636236242949963,
0.0138242831453681,
-0.0016344499308615923,
-0.00472672376781702,
0.02174345776438713,
0.07128310948610306,
-0.037328727543354034,
-0.06052737310528755,
0.007813725620508194,
0.014509698376059532,
-0.035768091678619385,
-0.020109007135033607,
0.04133576899766922,
0.00825133640319109,
0.027522029355168343,
-0.0044156513176858425,
-0.01655539683997631,
0.061370961368083954,
0.05065740644931793,
-0.002592712175101042,
0.006585251539945602,
0.023114286363124847,
-0.0365695022046566,
-0.019803207367658615,
-0.01820039190351963,
0.000219299690797925,
-0.04085070639848709,
0.06875234842300415,
-0.01779968850314617,
-0.06132877990603447,
0.007444655988365412,
0.06377518177032471,
-0.026066841557621956,
-0.03484014794230461,
0.02775401435792446,
-0.028133628889918327,
-0.0541582927107811,
-0.028850678354501724,
0.04471011459827423,
-0.006000013090670109,
0.026045750826597214,
-0.020456986501812935,
-0.002897194353863597,
-0.013244316913187504,
0.010977176949381828,
0.06166621670126915,
-0.03530411794781685,
-0.011926212348043919,
0.014256621710956097,
0.10392992943525314,
-0.016692480072379112,
-0.06533581763505936,
-0.04023910313844681,
-0.017230266705155373,
-0.012558902613818645,
0.023409541696310043,
-0.016196873039007187,
-0.010892818681895733,
-0.025328703224658966,
0.02963099628686905,
0.009311092086136341,
0.049855995923280716,
0.027943821623921394,
0.011198618449270725,
-0.010428844951093197,
-0.03159233555197716,
0.04142012447118759,
-0.0047873565927147865,
-0.027711836621165276,
0.007502652704715729,
-0.022987747564911842,
0.014868222177028656,
-0.009769792668521404,
-0.056604694575071335,
0.022291788831353188,
-0.007608101237565279,
0.04719869792461395,
-0.0064956205897033215,
-0.04131467640399933,
0.019328689202666283,
-0.011093170382082462,
-0.01826366037130356,
-0.029588816687464714,
0.0032609913032501936,
0.006880507338792086,
0.010871728882193565,
0.04148339480161667,
0.012094929814338684,
0.0019613399636000395,
0.013971910811960697,
0.04892805218696594,
-0.0328788086771965,
0.01172586064785719,
-0.0020140642300248146,
0.04669254645705223,
0.010386666283011436,
-0.03475578874349594,
-0.07351861149072647,
0.010355031117796898,
0.09254150092601776,
0.04009147733449936,
-0.03581027314066887,
0.015627451241016388,
-0.00961162056773901,
-0.011926212348043919,
0.02378915622830391,
-0.00979615468531847,
-0.031993038952350616,
-0.0470721609890461,
0.05053086578845978,
-0.01185239851474762,
0.013813738711178303,
-0.010871728882193565,
-0.015859438106417656,
-0.030643301084637642,
-0.07971897721290588,
0.09566277265548706,
0.014087904244661331,
-0.026889339089393616,
-0.00576275447383523,
-0.01206329558044672,
0.04972945898771286,
-0.012548358179628849,
-0.0422426238656044,
-0.026130110025405884,
-0.09540969878435135,
0.028217988088726997,
0.040534358471632004,
-0.03500886261463165,
0.009437630884349346,
0.018548371270298958,
0.05740610137581825,
0.02152201533317566,
0.04249570146203041,
-0.030073879286646843,
0.0006178616313263774,
-0.013855918310582638,
0.0008218383882194757,
0.0029182841535657644,
0.034629251807928085,
0.000882471154909581,
0.012864703312516212,
-0.028597602620720863,
-0.04880151152610779,
-0.03427072614431381,
0.009321637451648712,
0.009743430651724339,
0.023325182497501373,
0.04715652018785477,
-0.013866462744772434,
0.03087528795003891,
0.00547804357483983,
0.014045724645256996,
0.05276637151837349,
0.02560286782681942,
0.07280156761407852,
0.03929007053375244,
-0.04669254645705223,
0.0510370172560215,
-0.07415130734443665,
0.03623206540942192,
-0.057996612042188644,
-0.005504405591636896,
-0.05137445405125618,
-0.005499133374541998,
-0.03663276880979538,
-0.017852412536740303,
0.03218284621834755,
-0.0711565688252449,
-0.007998259738087654,
-0.05744827911257744,
-0.02038317359983921,
0.012052750214934349,
-0.022861210629343987,
-0.019655579701066017,
0.04538498446345329,
0.021342752501368523,
0.044836655259132385,
-0.0572795644402504,
-0.004265387076884508,
-0.04652382805943489,
0.04002820700407028,
0.03359585627913475,
-0.006358537822961807,
-0.09642200171947479,
-0.005978923290967941,
-0.061539679765701294,
-0.04057653993368149,
-0.05251329764723778,
-0.03728654980659485,
0.07081913948059082,
-0.01437261514365673,
0.05647815391421318,
0.01172586064785719,
-0.012168743647634983,
0.05424264818429947,
-0.06018994003534317,
0.007223214488476515,
-0.0010221903212368488,
0.025792675092816353,
-0.03235156461596489,
-0.018168756738305092,
0.02676280029118061,
-0.003722327994182706,
-0.017029915004968643,
-0.020710062235593796,
-0.021479835733771324,
0.0022355057299137115,
0.027374401688575745,
0.02075224183499813,
-0.0054464093409478664,
-0.03184541314840317,
0.024569474160671234,
0.0215431060642004,
-0.060569554567337036,
-0.015912162140011787,
-0.015374374575912952,
0.050277791917324066,
0.021848905831575394,
0.004927075933665037,
-0.018495647236704826,
0.032562460750341415,
0.02273467183113098,
-0.028049271553754807,
-0.03557828441262245,
0.0013589661102741957,
0.02106858789920807,
-0.00759228365495801,
-0.03753962367773056,
0.03597898781299591,
-0.011504419147968292,
0.026868248358368874,
0.035367388278245926,
0.026741711422801018,
0.037349820137023926,
0.07385604828596115,
-0.00294464617036283,
0.04964509978890419,
0.030643301084637642,
-0.022038713097572327,
-0.014878767542541027,
-0.0013998273061588407,
-0.002124784979969263,
-0.03595789894461632,
0.007376114837825298,
-0.049518562853336334,
0.03311079367995262,
0.08018295466899872,
-0.00952726136893034,
0.013803193345665932,
0.016007065773010254,
0.0048269000835716724,
0.002043062588199973,
-0.026973696425557137,
0.05310380831360817,
0.0009121285402216017,
-0.02165909856557846,
-0.07124093174934387,
-0.008172250352799892,
0.039479874074459076,
0.009991234168410301,
-0.01387700717896223,
0.0034666156861931086,
0.06035865470767021,
0.03547283634543419,
-0.05491751804947853,
0.03150797635316849,
-0.03268900141119957,
-0.008978930301964283,
0.010217948816716671,
-0.03039022535085678,
-0.023768065497279167,
0.015058029443025589,
0.07027080655097961,
0.01102990098297596,
-0.025096716359257698,
-0.015574726276099682,
0.002640163991600275,
0.0014248712686821818,
-0.021785637363791466,
-0.02880849875509739,
-0.010181041434407234,
0.01893853023648262,
-0.09085433185100555,
0.022165250033140182,
0.03557828441262245,
0.007476290687918663,
-0.026615172624588013,
-0.003529884619638324,
0.07022862881422043,
-0.030516762286424637,
0.08123743534088135,
-0.005567674990743399,
-0.02650972455739975,
0.04150448366999626,
0.020478077232837677,
0.041399035602808,
0.0050667948089540005,
-0.009532534517347813,
-0.02180672623217106,
0.025096716359257698,
-0.08355730026960373,
-0.022038713097572327,
-0.02009846270084381,
0.0065114377066493034,
-0.032393746078014374,
-0.016513217240571976,
-0.023768065497279167,
-0.024991268292069435,
-0.0009635346359573305,
-0.01627068594098091,
0.050277791917324066,
-0.014615146443247795,
0.0011770676355808973,
-0.09195099025964737,
0.060400836169719696,
-0.015353284776210785,
0.015015849843621254,
0.02724786289036274,
0.04690344259142876,
0.0649140253663063,
-0.018811991438269615,
0.017768053337931633,
-0.05719520524144173,
0.04673472419381142,
-0.026636261492967606,
-0.04542716592550278,
-0.007581738755106926,
-0.041609931737184525,
0.012105475179851055,
-0.026615172624588013,
0.04568023979663849,
0.029588816687464714,
0.019297054037451744,
0.02165909856557846,
-0.07955026626586914,
0.022671403363347054,
0.0025254888460040092,
-0.0026217105332762003,
0.004552734084427357,
0.01811603270471096,
-0.029251381754875183,
-0.053399063646793365,
-0.0025254888460040092,
0.017166996374726295,
-0.019518496468663216,
0.05976814404129982,
-0.018253115937113762,
-0.04724087566137314,
0.06398607790470123,
0.08882971853017807,
0.04011256620287895,
-0.007423566188663244,
-0.02106858789920807,
0.07204233855009079,
0.037581805139780045,
-0.0025729406625032425,
0.009838334284722805,
0.04546934366226196,
0.02265031263232231,
0.0019916563760489225,
-0.03336387127637863,
0.028766319155693054,
0.04901241138577461,
0.03159233555197716,
-0.03779270127415657,
-0.030896376818418503,
0.037265460938215256,
-0.018896350637078285,
0.04066089913249016,
0.0861724242568016,
-0.01104044634848833,
0.005688940640538931,
-0.07761001586914062,
-0.038404300808906555,
0.017061548307538033,
0.010629197582602501,
-0.02265031263232231,
-0.04884369298815727,
-0.046312931925058365,
0.009975417517125607,
0.05069958418607712,
-0.029209202155470848,
-0.03005279041826725,
-0.039058081805706024,
0.0561407208442688,
-0.01653430610895157,
-0.015753988176584244,
-0.01826366037130356,
0.015363830141723156,
-0.016038699075579643,
-0.08528665453195572,
-0.025729406625032425,
0.015954341739416122,
-0.018052764236927032,
0.07904411107301712,
0.026572993025183678,
-0.029862983152270317,
-0.007402476854622364,
0.03694911301136017,
0.03361694514751434,
-0.02199653349816799,
0.049940355122089386,
0.02364152856171131,
0.005599309224635363,
-0.004328656475991011,
0.040703076869249344,
0.034207455813884735,
0.006558889523148537,
0.07368732988834381,
0.006537799723446369,
-0.07651335000991821,
-0.0640704408288002,
-0.012010571546852589,
-0.025623958557844162,
0.018421832472085953,
0.04314947873353958,
-0.02115294709801674,
-0.046312931925058365,
-0.059008918702602386,
0.018305839970707893,
-0.021532559767365456,
-0.036253154277801514,
0.00020578911062330008,
0.04428832232952118,
-0.06360646337270737,
0.014678414911031723,
0.04357127472758293,
0.03977513313293457,
-0.0039042264688760042,
0.036674950271844864,
-0.011704770848155022,
-0.0394166074693203,
-0.029525548219680786,
-0.00452900817617774,
-0.045891135931015015,
0.05398957431316376,
0.008483322337269783,
-0.03294207528233528,
-0.03532521054148674,
-0.0027943821623921394,
0.0017478070221841335,
-0.023514989763498306,
-0.07402476668357849,
-0.03376457467675209,
-0.09060125052928925,
0.08047820627689362,
-0.0027943821623921394,
-0.04076634719967842,
0.02103695273399353,
-0.06744478642940521,
-0.030073879286646843,
0.06681209802627563,
-0.04011256620287895,
0.03716001287102699,
0.02058352530002594,
0.03787706047296524,
-0.09945891797542572,
0.01853782683610916,
0.039058081805706024,
0.026130110025405884,
0.065757617354393,
0.008145887404680252,
0.04728305712342262,
0.018084397539496422,
0.021500926464796066,
-0.006516710389405489,
0.031318169087171555,
-0.0004448603722266853,
0.04416178539395332,
-0.014182807877659798,
0.03211957961320877,
-0.015574726276099682,
-0.038488660007715225,
-0.0374341756105423,
0.037328727543354034,
-0.028196899220347404,
0.07520578801631927,
-0.03772943094372749,
-0.01596488617360592,
0.05226022005081177,
0.03136035054922104,
-0.021195124834775925,
-0.06082262843847275,
-0.012253102846443653,
-0.026657352223992348,
0.030854197219014168,
0.059472888708114624,
-0.05394739285111427,
0.017072094604372978,
-0.006790875922888517,
0.09794045984745026,
-0.02469601295888424,
0.038151226937770844,
0.02009846270084381,
-0.013971910811960697,
-0.018052764236927032,
0.06326903402805328,
0.034861236810684204,
0.017230266705155373,
-0.03376457467675209,
-0.00013930720160715282,
0.022207429632544518,
0.0064798034727573395,
-0.03045349381864071,
0.025877034291625023,
-0.07925500720739365,
-0.025877034291625023,
0.008156432770192623,
-0.03416527807712555,
0.011820764280855656,
-0.01616523787379265,
0.06512492150068283,
0.016281230375170708,
-0.001154000754468143,
0.06601069122552872,
-0.028787409886717796,
-0.023915693163871765,
-0.037096742540597916,
0.03254137188196182,
0.00551495049148798,
0.055044058710336685,
0.028196899220347404,
-0.049602922052145004,
-0.03690693527460098,
-0.015026395209133625,
-0.02328300289809704,
0.05137445405125618,
-0.004468375351279974,
0.048295360058546066,
-0.05044650658965111,
0.022924479097127914,
0.00988051388412714,
0.003635333152487874,
-0.02594030275940895,
-0.01251672301441431,
-0.019159972667694092,
0.06234108656644821,
0.01144114974886179,
0.0046212757006287575,
0.02503344602882862,
0.0844852477312088,
-0.01806330867111683,
-0.0076450081542134285,
0.04040782153606415,
-0.021384932100772858,
-0.034038737416267395,
-0.03070656955242157,
0.02135329879820347,
-0.03045349381864071,
-0.007813725620508194,
0.04686126112937927,
0.005404229741543531,
0.029778623953461647,
-0.027479849755764008,
0.0007842723862268031,
-0.007913901470601559,
0.020741697400808334,
0.005098429508507252,
0.009927965700626373,
0.04361345246434212,
-0.046059854328632355,
-0.0001060250579030253,
-0.07157836109399796,
-0.05285073071718216,
0.030158238485455513,
-0.012094929814338684,
-0.02321973443031311,
0.034460533410310745,
-0.035704825073480606,
-0.06423915922641754,
-0.030158238485455513,
0.026699531823396683,
0.00033315099426545203,
-0.026973696425557137,
0.049181126058101654,
-0.004051854368299246,
0.015701264142990112,
0.0070175901055336,
0.012295281514525414,
-0.008351512253284454,
-0.025877034291625023,
0.013761014677584171,
-0.05112137645483017,
0.007318118121474981,
-0.01218983344733715,
0.003572063986212015,
0.035683732479810715,
-0.007845359854400158,
-0.04411960393190384,
-0.01009141094982624,
0.008056256920099258,
-0.0018954346887767315,
0.016608120873570442,
0.03591572120785713,
0.027458759024739265,
0.03804577887058258
] |
9,743 | requests.sessions | __getstate__ | null | def __getstate__(self):
state = {attr: getattr(self, attr, None) for attr in self.__attrs__}
return state
| (self) | [
0.03491787984967232,
-0.01939285360276699,
0.021595364436507225,
-0.03602808713912964,
-0.011325927451252937,
-0.01989423856139183,
0.02195349708199501,
-0.02306370623409748,
0.05952155217528343,
-0.035598330199718475,
-0.05726532265543938,
0.049386415630578995,
0.013331467285752296,
0.05164264887571335,
-0.031873755156993866,
0.008948825299739838,
-0.024800647050142288,
-0.010439550504088402,
-0.06310287117958069,
-0.037603870034217834,
0.03386138752102852,
0.020485155284404755,
0.015086314640939236,
0.014960967935621738,
-0.004516941029578447,
0.014549116604030132,
-0.020055396482348442,
-0.036708541214466095,
0.11589154601097107,
0.008774235844612122,
-0.029223578050732613,
-0.007261128164827824,
0.013931338675320148,
-0.025427378714084625,
-0.012740549631416798,
-0.018604962155222893,
-0.006777649745345116,
0.03867826610803604,
0.01598164439201355,
-0.025158779695630074,
0.0085190674290061,
-0.05676393583416939,
-0.04641392081975937,
-0.014531210064888,
0.03495369106531143,
-0.018766121938824654,
0.04236702620983124,
-0.014334237203001976,
0.060452695935964584,
-0.07302313297986984,
0.06356844305992126,
0.007493914104998112,
0.04483813792467117,
0.029116138815879822,
-0.011334880255162716,
-0.05325424298644066,
-0.01153185311704874,
0.025588538497686386,
-0.010896168649196625,
0.05769507959485054,
-0.04634229093790054,
0.008469823747873306,
0.02995774894952774,
-0.05518815666437149,
-0.01957191899418831,
-0.08172574639320374,
-0.03139027953147888,
0.005533140618354082,
-0.04218795895576477,
0.043441422283649445,
-0.03400464355945587,
-0.039824288338422775,
0.061562906950712204,
0.008510113693773746,
-0.05006686598062515,
-0.008272850885987282,
-0.020807474851608276,
0.021380485966801643,
0.03495369106531143,
-0.04050473868846893,
-0.05440026521682739,
0.04222377389669418,
-0.04684367775917053,
0.02890126034617424,
-0.05117707699537277,
-0.021541645750403404,
0.0048079234547913074,
-0.00941887404769659,
-0.030441228300333023,
-0.011585572734475136,
-0.014799809083342552,
0.09798493981361389,
0.010761869139969349,
0.05440026521682739,
-0.004116280935704708,
-0.00850563682615757,
-0.008326571434736252,
0.04150750860571861,
-0.007775943260639906,
-0.0325004868209362,
-0.052000779658555984,
-0.003496264573186636,
-0.058339718729257584,
0.0024017232935875654,
-0.027361292392015457,
-0.0330197773873806,
-0.006952239200472832,
-0.0689404308795929,
0.02129095233976841,
-0.023081613704562187,
-0.009302481077611446,
-0.011854172684252262,
-0.005183962173759937,
0.029384737834334373,
0.041328445076942444,
-0.043154917657375336,
-0.022633947432041168,
-0.009427827782928944,
-0.030656106770038605,
-0.026591308414936066,
-0.012498809956014156,
0.034720905125141144,
-0.009857585653662682,
0.049278974533081055,
0.019267506897449493,
0.03629668802022934,
0.009481547400355339,
0.016232337802648544,
0.06453540176153183,
0.011934751644730568,
-0.031712595373392105,
-0.019965864717960358,
-0.008344477973878384,
0.06686326116323471,
-0.008040065877139568,
-0.001636215951293707,
0.08917488902807236,
0.033539071679115295,
-0.007950532250106335,
0.0597006194293499,
0.0668274462223053,
0.011889985762536526,
0.016160709783434868,
0.003932738211005926,
0.026358522474765778,
-0.00017878625658340752,
0.04046892747282982,
0.05081894248723984,
-0.007122351787984371,
-0.015623512677848339,
0.05296773463487625,
-0.019052626565098763,
0.0372457392513752,
0.028023837134242058,
-0.056441616266965866,
0.012015331536531448,
-0.05475839599967003,
-0.04759575426578522,
-0.03613552823662758,
-0.0322318896651268,
-0.05275285616517067,
0.016814302653074265,
-0.039824288338422775,
-0.08473405241966248,
0.03135446459054947,
0.05859040841460228,
0.016948601230978966,
-0.076067253947258,
0.007704316638410091,
-0.04190145432949066,
-0.0840177908539772,
-0.03316303342580795,
-0.014343190006911755,
0.04906409606337547,
-0.03368232399225235,
0.06754371523857117,
-0.009239807724952698,
0.02189977653324604,
0.00858621671795845,
0.002724042162299156,
0.009109985083341599,
-0.024263449013233185,
-0.08788561820983887,
0.03867826610803604,
0.02161327190697193,
-0.0014067876618355513,
0.036207154393196106,
-0.010788729414343834,
0.03140818327665329,
0.05078313127160072,
0.016545701771974564,
-0.010735009796917439,
-0.007220838218927383,
0.011272207833826542,
-0.029151951894164085,
0.012821128591895103,
-0.04906409606337547,
-0.007628213614225388,
0.018766121938824654,
0.07828767597675323,
-0.009687473066151142,
-0.03774712234735489,
-0.05318261682987213,
0.05880529060959816,
-0.034882064908742905,
-0.0006513527478091419,
-0.019052626565098763,
-0.03219607472419739,
0.01632186956703663,
-0.003780531929805875,
-0.019357038661837578,
-0.01629501022398472,
-0.01962563954293728,
0.03685179352760315,
0.03626087307929993,
-0.055438846349716187,
0.045375335961580276,
0.027038972824811935,
0.005604767240583897,
0.037496428936719894,
0.05350493639707565,
0.004420693032443523,
0.026215268298983574,
-0.026877813041210175,
-0.011522900313138962,
-0.025928763672709465,
-0.018551241606473923,
-0.015301194041967392,
-0.06618280708789825,
-0.009723286144435406,
0.05525978282094002,
-0.0003444223548285663,
0.0186228696256876,
-0.0018667635740712285,
0.04791807383298874,
0.046664610505104065,
0.01595478504896164,
-0.03738899156451225,
-0.037209924310445786,
0.0093114348128438,
0.0063389381393790245,
-0.01100360881537199,
0.03986010327935219,
-0.007534204050898552,
-0.03529391810297966,
-0.020323995500802994,
0.06321031600236893,
0.0589127279818058,
-0.05214403197169304,
-0.034882064908742905,
0.015856297686696053,
0.0015422062715515494,
-0.025302032008767128,
0.00841610413044691,
0.02311742678284645,
-0.05762345343828201,
-0.029886122792959213,
0.020520968362689018,
0.0072700814343988895,
-0.013761226087808609,
0.033037684857845306,
-0.0076953633688390255,
-0.029527990147471428,
0.018049856647849083,
0.0372457392513752,
0.05497327446937561,
0.05511653050780296,
0.023708345368504524,
-0.09146693348884583,
0.005376458168029785,
0.13143447041511536,
-0.0533616803586483,
-0.0684032291173935,
0.017691725865006447,
-0.011666152626276016,
-0.05185752734541893,
0.032536301761865616,
-0.047273434698581696,
-0.04784644767642021,
-0.02385159768164158,
0.03583111613988876,
0.03572367504239082,
0.00789681263267994,
0.018819840624928474,
-0.012892755679786205,
-0.04573346674442291,
-0.03636831417679787,
0.0016451693372800946,
0.02607201598584652,
0.01825578324496746,
0.07073108851909637,
0.017270920798182487,
-0.017530566081404686,
-0.024800647050142288,
0.07621050626039505,
-0.017127666622400284,
-0.07542262226343155,
0.02377997152507305,
0.01984051801264286,
0.03518647700548172,
0.01642930880188942,
0.0009624799713492393,
-0.045876722782850266,
0.053003549575805664,
-0.02372625097632408,
0.0235113725066185,
0.03511485084891319,
0.03051285445690155,
0.0005587420309893787,
-0.003959598019719124,
0.02478274144232273,
0.01867658831179142,
0.019643545150756836,
0.0478106327354908,
-0.0031224642880260944,
-0.0874558538198471,
-0.02863266132771969,
-0.0038409666158258915,
-0.006688117049634457,
0.08996278047561646,
-0.06636187434196472,
-0.002177890855818987,
-0.03411208093166351,
0.048777591437101364,
-0.006952239200472832,
0.007932625710964203,
0.012803222052752972,
-0.0018175203585997224,
0.027056880295276642,
0.006124058738350868,
-0.07893231511116028,
-0.029778683558106422,
0.01369855273514986,
0.03767549619078636,
-0.04680786281824112,
0.029707057401537895,
0.0203419029712677,
0.02863266132771969,
0.0008360146312043071,
-0.055223967880010605,
0.024836460128426552,
0.010099325329065323,
-0.03651156648993492,
-0.013734365813434124,
-0.0013015862787142396,
-0.004875073209404945,
-0.023368118330836296,
0.040433112531900406,
0.06478609889745712,
-0.06299543380737305,
-0.03289443254470825,
-0.02863266132771969,
0.006867182906717062,
0.06754371523857117,
0.02023446373641491,
-0.026877813041210175,
-0.003104557516053319,
0.00022565119434148073,
-0.004525894299149513,
0.024496234953403473,
0.07506448775529861,
0.004646763671189547,
-0.048491086810827255,
-0.03491787984967232,
0.05092638358473778,
-0.0013877619057893753,
-0.030888892710208893,
-0.01928541250526905,
0.015498165972530842,
-0.060488510876894,
0.01690383441746235,
-0.018640775233507156,
-0.049278974533081055,
0.021416299045085907,
0.030942613258957863,
0.0037693402264267206,
-0.020485155284404755,
0.001636215951293707,
0.017261967062950134,
0.039108023047447205,
0.020485155284404755,
-0.04881340265274048,
0.020717941224575043,
0.06704232841730118,
0.008832432329654694,
-0.005233205389231443,
0.050496626645326614,
-0.01883774809539318,
0.055725354701280594,
0.009150275029242039,
-0.0971970483660698,
-0.03230351582169533,
-0.08946139365434647,
0.009212948381900787,
0.01737836003303528,
-0.017423126846551895,
0.05697881430387497,
-0.046664610505104065,
0.00664335023611784,
-0.02657340094447136,
0.010117231868207455,
-0.0012792031047865748,
-0.006625443696975708,
-0.03429114818572998,
-0.000055223688832484186,
0.003357488429173827,
0.0163755901157856,
0.07180548459291458,
-0.003919308073818684,
-0.09053578972816467,
-0.010600710287690163,
0.008407151326537132,
-0.018587054684758186,
-0.08466242998838425,
0.014253657311201096,
-0.043763741850852966,
0.05497327446937561,
0.017629051581025124,
0.05808902531862259,
0.03062029369175434,
0.008778712712228298,
0.013761226087808609,
-0.0010279510170221329,
-0.003473881399258971,
-0.018237877637147903,
0.02974287047982216,
-0.008814525790512562,
0.02540947124361992,
0.04197308048605919,
0.05769507959485054,
0.017629051581025124,
0.015945831313729286,
-0.009705379605293274,
-0.025642257183790207,
0.026752468198537827,
-0.035669956356287,
0.001579138683155179,
-0.019912144169211388,
-0.012964381836354733,
0.07835929840803146,
-0.029384737834334373,
0.02745082415640354,
0.00992025900632143,
0.01732463948428631,
0.038606639951467514,
-0.02762989141047001,
0.0009199518244713545,
0.0441218726336956,
0.07757141441106796,
-0.03846338763833046,
-0.0044117397628724575,
-0.011227441020309925,
0.01428947038948536,
-0.02356509119272232,
0.028202902525663376,
0.04057636484503746,
-0.050711505115032196,
-0.01989423856139183,
-0.04698693007230759,
0.0028046220541000366,
0.008398197591304779,
0.00010191376350121573,
-0.04179401695728302,
0.03506113216280937,
-0.025713883340358734,
-0.03885733336210251,
-0.031426090747117996,
-0.017799165099859238,
-0.019536105915904045,
0.017843931913375854,
0.03375395014882088,
0.004089420661330223,
-0.02372625097632408,
-0.08086622506380081,
-0.06560979783535004,
-0.013743318617343903,
-0.02567807026207447,
-0.02311742678284645,
-0.08237037807703018,
-0.08222712576389313,
-0.004687053617089987,
0.023493465036153793,
-0.0073372311890125275,
-0.036332499235868454,
0.01598164439201355,
-0.019768891856074333,
0.02446042187511921,
0.031085865572094917,
-0.007704316638410091,
-0.016411403194069862,
-0.038105253130197525,
-0.0063389381393790245,
0.017817070707678795,
0.007489437237381935,
0.008487730287015438,
-0.006271788384765387,
0.0023211436346173286,
0.00576592655852437,
0.005416748113930225,
-0.011594526469707489,
-0.00016675525694154203,
-0.05959317833185196,
0.04000335559248924,
0.0631386861205101,
-0.02229372225701809,
-0.013501579873263836,
-0.02745082415640354,
-0.009356200695037842,
0.032822806388139725,
0.006997005548328161,
0.04584090784192085,
-0.0011740017216652632,
0.031533531844615936,
-0.025194592773914337,
-0.0129464752972126,
-0.06424889713525772,
0.000143672528793104,
0.0019977055490016937,
-0.021076073870062828,
0.042725156992673874,
0.041435882449150085,
0.027647797018289566,
0.021380485966801643,
-0.01411935780197382,
-0.05368399992585182,
0.05440026521682739,
0.007784896530210972,
-0.036332499235868454,
-0.01989423856139183,
-0.010976748540997505,
0.03257211297750473,
-0.0710534080862999,
-0.020771661773324013,
0.06697069853544235,
-0.03817687928676605,
-0.014432723633944988,
0.03525810316205025,
-0.01878402754664421,
-0.07835929840803146,
0.008921965956687927,
0.09032091498374939,
-0.013277747668325901,
0.006146442145109177,
0.057229507714509964,
0.0332883782684803,
-0.00006585573282791302,
-0.05486583709716797,
-0.038821518421173096,
-0.04086287319660187,
-0.04025404900312424,
-0.029635431244969368,
-0.05429282411932945,
-0.020198650658130646,
-0.09153856337070465,
0.011164767667651176,
-0.02673456072807312,
0.06929855793714523,
0.0031649924349039793,
-0.0015679470961913466,
0.008595170453190804,
0.025928763672709465,
-0.006007665768265724,
-0.0067060235887765884,
-0.018819840624928474,
-0.01253462303429842,
0.00634789140895009,
0.028775913640856743,
0.04286841303110123,
0.019357038661837578,
0.011397553607821465,
0.012078004889190197,
0.03586692735552788,
-0.016491983085870743,
0.011567666195333004,
0.06406982988119125,
0.007708793506026268,
-0.025266218930482864,
0.019715171307325363,
-0.00027727257111109793,
-0.04036148637533188,
0.06213591620326042,
-0.00906074233353138,
-0.026645027101039886,
0.004749726969748735,
-0.04236702620983124,
0.0325004868209362,
-0.05912761017680168,
0.07377520948648453,
-0.0022562320809811354,
-0.02068212814629078,
-0.028167089447379112,
-0.026591308414936066,
0.021308859810233116,
0.009965025819838047,
0.005340644624084234,
-0.019034720957279205,
0.036207154393196106,
-0.012149631045758724,
-0.07757141441106796,
0.007252174895256758,
0.027218038216233253,
0.0129464752972126,
0.051606833934783936,
-0.0059808059595525265,
-0.020610501989722252,
-0.020592594519257545,
0.00981281977146864,
0.05293192341923714,
-0.026197362691164017,
0.013349373824894428,
-0.03344953805208206,
-0.0252304058521986,
0.01933913305401802,
-0.022866733372211456,
0.011388600803911686,
-0.039931729435920715,
0.01698441430926323,
0.035992275923490524,
-0.04612741246819496,
-0.012158584780991077,
-0.026000389829277992,
-0.022257909178733826,
-0.019536105915904045,
0.03506113216280937,
-0.012051144614815712,
-0.043835368007421494,
-0.0008718278259038925,
-0.017208246514201164,
-0.005260065197944641,
-0.008362384513020515,
0.01598164439201355,
0.02129095233976841,
0.04018241912126541,
-0.060273632407188416,
0.008989115245640278,
0.019536105915904045,
0.06521585583686829,
0.02300998754799366,
-0.026107829064130783,
0.03541926294565201,
-0.007171595003455877,
0.006898519583046436,
0.01812148466706276,
-0.006634396966546774,
-0.027988022193312645,
-0.026215268298983574,
-0.00933829415589571,
-0.009481547400355339,
0.028310341760516167,
-0.0499236136674881,
-0.02111188694834709,
-0.03853501379489899,
-0.006343414541333914,
-0.020968634635210037,
-0.012597296386957169,
-0.03411208093166351,
-0.0277373306453228,
0.031712595373392105,
0.038105253130197525,
-0.03364650905132294,
-0.08365965634584427,
0.041937269270420074,
-0.04759575426578522,
-0.007359614595770836,
0.057659268379211426,
0.03817687928676605,
-0.08724097907543182,
0.0504608117043972,
0.02929520420730114,
-0.012651016004383564,
0.04190145432949066,
0.044659070670604706,
0.025803416967391968,
-0.003973027691245079,
-0.06310287117958069,
0.0005039030220359564,
0.04931478947401047,
-0.007256651297211647,
0.07058783620595932,
-0.01912425458431244,
0.004709437023848295,
0.050998009741306305,
0.0038454432506114244,
0.04061217978596687,
0.060273632407188416,
0.004521417431533337,
0.011961611919105053,
-0.03130074590444565,
0.07287988066673279,
-0.03156934306025505,
-0.029832404106855392,
-0.04372792690992355,
0.03405836224555969,
0.04222377389669418,
-0.013224027119576931,
-0.029366832226514816,
-0.004436361137777567,
-0.030656106770038605,
0.04763156920671463,
-0.0028695333749055862,
0.017208246514201164,
0.04247446730732918,
0.004915363155305386,
-0.022526508197188377,
0.03457765281200409,
0.002215942367911339,
0.0010648834286257625,
-0.006491144187748432,
0.004096135962754488,
-0.028919165953993797,
0.006876136176288128,
0.00207716622389853,
-0.05063987895846367,
-0.005336168222129345,
0.04233121499419212,
-0.0283998753875494,
0.011487087234854698,
-0.037926189601421356,
-0.02868638001382351,
0.06700651347637177,
-0.027826864272356033,
0.013483673334121704,
-0.005707730073481798,
0.03586692735552788,
-0.02050306275486946,
0.06059594824910164,
-0.025212498381733894,
0.005828599911183119,
-0.016366636380553246,
-0.0064553311094641685,
0.0011269969400018454,
-0.004255056846886873,
-0.061455465853214264,
0.005215298384428024,
-0.02718222513794899,
-0.014746088534593582,
0.05350493639707565,
0.018479615449905396,
-0.0019876330625265837,
0.06951344013214111,
-0.002795668551698327,
0.06170615926384926,
0.029921935871243477,
0.05518815666437149,
-0.01814834401011467,
-0.007413334213197231,
-0.013510533608496189,
-0.007252174895256758,
-0.002791191916912794,
-0.03695923089981079,
0.0023457652423530817,
0.05307517573237419,
0.03896477073431015,
-0.02591085620224476,
0.0715906023979187,
-0.02306370623409748,
-0.05565372854471207,
-0.021881870925426483,
0.02979658916592598,
-0.0011728826211765409,
-0.05486583709716797,
-0.06937018781900406,
0.0029344449285417795,
0.04519626870751381,
0.0026345092337578535,
0.02539156563580036,
-0.005188438575714827,
-0.017163479700684547
] |
9,744 | requests.sessions | __init__ | null | def __init__(self):
#: A case-insensitive dictionary of headers to be sent on each
#: :class:`Request <Request>` sent from this
#: :class:`Session <Session>`.
self.headers = default_headers()
#: Default Authentication tuple or object to attach to
#: :class:`Request <Request>`.
self.auth = None
#: Dictionary mapping protocol or protocol and host to the URL of the proxy
#: (e.g. {'http': 'foo.bar:3128', 'http://host.name': 'foo.bar:4012'}) to
#: be used on each :class:`Request <Request>`.
self.proxies = {}
#: Event-handling hooks.
self.hooks = default_hooks()
#: Dictionary of querystring data to attach to each
#: :class:`Request <Request>`. The dictionary values may be lists for
#: representing multivalued query parameters.
self.params = {}
#: Stream response content default.
self.stream = False
#: SSL Verification default.
#: Defaults to `True`, requiring requests to verify the TLS certificate at the
#: remote end.
#: If verify is set to `False`, requests will accept any TLS certificate
#: presented by the server, and will ignore hostname mismatches and/or
#: expired certificates, which will make your application vulnerable to
#: man-in-the-middle (MitM) attacks.
#: Only set this to `False` for testing.
self.verify = True
#: SSL client certificate default, if String, path to ssl client
#: cert file (.pem). If Tuple, ('cert', 'key') pair.
self.cert = None
#: Maximum number of redirects allowed. If the request exceeds this
#: limit, a :class:`TooManyRedirects` exception is raised.
#: This defaults to requests.models.DEFAULT_REDIRECT_LIMIT, which is
#: 30.
self.max_redirects = DEFAULT_REDIRECT_LIMIT
#: Trust environment settings for proxy configuration, default
#: authentication and similar.
self.trust_env = True
#: A CookieJar containing all currently outstanding cookies set on this
#: session. By default it is a
#: :class:`RequestsCookieJar <requests.cookies.RequestsCookieJar>`, but
#: may be any other ``cookielib.CookieJar`` compatible object.
self.cookies = cookiejar_from_dict({})
# Default connection adapters.
self.adapters = OrderedDict()
self.mount("https://", HTTPAdapter())
self.mount("http://", HTTPAdapter())
| (self) | [
0.010968858376145363,
-0.03957913815975189,
-0.05919761583209038,
0.017299238592386246,
-0.032184191048145294,
0.002599638421088457,
-0.06881675124168396,
0.07680101692676544,
0.013183541595935822,
-0.002701818011701107,
0.006872170604765415,
0.037659112364053726,
0.011624708771705627,
0.05166959762573242,
0.03807733580470085,
-0.0008043671259656549,
0.014751878567039967,
-0.020930178463459015,
-0.016054075211286545,
-0.09984132647514343,
-0.009120120666921139,
0.0355679951608181,
0.0173942893743515,
0.02418091520667076,
-0.05440706014633179,
0.018135685473680496,
-0.04098588973283768,
-0.0059501780197024345,
0.06068040803074837,
0.030017031356692314,
-0.03130972385406494,
0.014561777003109455,
0.029560787603259087,
0.007219105493277311,
0.03853357955813408,
-0.015122576616704464,
-0.014732868410646915,
-0.02467517927289009,
-0.05710649862885475,
-0.011463122442364693,
-0.044445738196372986,
-0.008811205625534058,
-0.01523663755506277,
-0.007518515456467867,
0.015588325448334217,
0.07090786844491959,
-0.055661726742982864,
0.08311238884925842,
0.05281020700931549,
-0.005722056142985821,
-0.05543360859155655,
0.07360731065273285,
0.012831853702664375,
-0.019380850717425346,
-0.02049294486641884,
0.014333655126392841,
-0.01860143430531025,
0.02648114413022995,
-0.07566040754318237,
0.033647969365119934,
-0.028211066499352455,
0.01868698000907898,
0.04847589135169983,
0.009253191761672497,
-0.03438936546444893,
-0.038818731904029846,
-0.026880357414484024,
0.005189771763980389,
0.04288690537214279,
-0.02716550976037979,
0.04547228664159775,
-0.02484627068042755,
-0.013411663472652435,
-0.0030012279748916626,
0.035149771720170975,
-0.013459188863635063,
-0.030834468081593513,
-0.036005228757858276,
-0.04284888505935669,
-0.004448375664651394,
0.026367083191871643,
-0.009509828872978687,
-0.02927563525736332,
-0.005265812389552593,
0.04680299758911133,
-0.05482528358697891,
-0.004804816097021103,
-0.008882493712008,
-0.002259831875562668,
0.04649883508682251,
-0.060490306466817856,
0.050909191370010376,
0.010750241577625275,
-0.003588166320696473,
-0.029066523537039757,
-0.022755153477191925,
-0.015626346692442894,
0.004507782403379679,
-0.01455227192491293,
-0.04490198194980621,
-0.03570106625556946,
0.044103555381298065,
-0.10364335775375366,
0.02632906287908554,
0.0009493195102550089,
-0.03195606917142868,
-0.0009897161507979035,
-0.06600325554609299,
0.016785964369773865,
-0.004809568636119366,
0.03207013010978699,
-0.007537525612860918,
0.010398553684353828,
0.09238934516906738,
-0.028914442285895348,
-0.018078655004501343,
-0.029864950105547905,
-0.05516746640205383,
-0.018401827663183212,
-0.0012214023154228926,
-0.05938771739602089,
0.029332665726542473,
0.010046865791082382,
0.059958022087812424,
0.019057678058743477,
0.00939576793462038,
0.04364731162786484,
-0.04589051008224487,
0.029351675882935524,
-0.05984396114945412,
0.056992437690496445,
-0.0356060154736042,
0.03246934339404106,
0.055015385150909424,
0.029066523537039757,
0.01954243704676628,
-0.014884949661791325,
0.021975737065076828,
-0.0512893944978714,
0.05904553458094597,
-0.005565222352743149,
0.021139290183782578,
-0.01608259044587612,
-0.01808816008269787,
-0.011605698615312576,
-0.0463467538356781,
-0.01455227192491293,
-0.047601424157619476,
-0.024294976145029068,
-0.08911959826946259,
0.027412641793489456,
-0.047069139778614044,
0.03163289651274681,
0.01390592660754919,
-0.031138630583882332,
0.04170827567577362,
-0.0512513741850853,
0.014162563718855381,
0.0005319872288964689,
0.021443452686071396,
-0.019409365952014923,
-0.0338570810854435,
-0.012195013463497162,
-0.0778655856847763,
-0.0033196480944752693,
-0.036955736577510834,
-0.014951485209167004,
-0.06524284929037094,
0.015407728962600231,
0.02959880791604519,
-0.03819139674305916,
0.0007485247915610671,
0.00777990510687232,
-0.0050376905128359795,
-0.017042601481080055,
0.02959880791604519,
0.0512893944978714,
-0.017403794452548027,
-0.05178365856409073,
0.024903301149606705,
0.04535822570323944,
-0.04589051008224487,
-0.04813370853662491,
0.03437035530805588,
0.01623467169702053,
0.0331537090241909,
0.021880686283111572,
0.017251713201403618,
0.03923695534467697,
0.07201045751571655,
-0.01440019067376852,
-0.011890850961208344,
0.018031129613518715,
-0.033001627773046494,
-0.0347505584359169,
0.017926573753356934,
0.03132873401045799,
-0.023534569889307022,
0.05934969708323479,
-0.000234359540627338,
-0.05661223456263542,
0.01838281750679016,
0.01414355356246233,
-0.019732538610696793,
-0.05516746640205383,
0.025378555059432983,
-0.02716550976037979,
-0.026424113661050797,
-0.016481803730130196,
0.008754175156354904,
-0.013934441842138767,
0.012879379093647003,
-0.01133955642580986,
-0.011415597051382065,
-0.0007716934196650982,
-0.0013616022188216448,
0.0036855933722108603,
-0.008269417099654675,
0.010617170482873917,
0.00604522880166769,
0.10577249526977539,
0.00636840146034956,
-0.06208715960383415,
-0.05026284605264664,
-0.03672761470079422,
0.007090786937624216,
0.01838281750679016,
-0.02418091520667076,
-0.03486461937427521,
-0.022603072226047516,
0.03819139674305916,
0.004876104183495045,
0.059996042400598526,
0.05444508045911789,
0.06581315398216248,
0.002243197988718748,
-0.03357192873954773,
0.04151817411184311,
-0.027393631637096405,
-0.023534569889307022,
0.0181737057864666,
-0.012233033776283264,
0.016187146306037903,
-0.01720418781042099,
-0.04090984910726547,
0.04406553506851196,
-0.012575216591358185,
0.03511175140738487,
0.013050470501184464,
-0.0396931990981102,
0.006121269427239895,
0.006606028415262699,
-0.017650926485657692,
-0.040111422538757324,
-0.006202062591910362,
-0.01307898573577404,
0.011453617364168167,
0.05482528358697891,
0.01067420095205307,
0.01860143430531025,
0.007295146118849516,
0.06265746802091599,
-0.03889477252960205,
0.009181903675198555,
-0.001137044746428728,
0.04847589135169983,
0.012708287686109543,
-0.03174695745110512,
-0.04056766629219055,
0.00861159898340702,
0.10242670774459839,
0.016567349433898926,
-0.03163289651274681,
0.02201375737786293,
-0.0007823866326361895,
-0.054026857018470764,
0.007399701979011297,
-0.0009065466583706439,
-0.07885411381721497,
-0.06550899147987366,
0.04155619442462921,
-0.008031790144741535,
0.033990152180194855,
0.005940672941505909,
-0.04090984910726547,
-0.04570040851831436,
-0.06512878835201263,
0.08980396389961243,
-0.003074892330914736,
-0.04881807416677475,
-0.01838281750679016,
-0.016833489760756493,
0.022546041756868362,
-0.00645394716411829,
-0.02001769095659256,
-0.026215001940727234,
-0.07132609188556671,
0.04684101790189743,
0.036480482667684555,
0.006154537200927734,
-0.009519333951175213,
-0.003329153172671795,
0.04878005385398865,
0.020949188619852066,
0.04357127100229263,
0.0017025968991219997,
0.003654701868072152,
0.038153376430273056,
0.034807588905096054,
0.015455254353582859,
0.06334183365106583,
-0.0023560707923024893,
0.015160596929490566,
0.006083249114453793,
-0.048399850726127625,
0.02368665114045143,
-0.011862335726618767,
-0.0072381156496703625,
0.010740736499428749,
0.06497670710086823,
-0.018810546025633812,
0.060300204902887344,
0.013002945110201836,
0.018953122198581696,
0.04353325068950653,
0.026709266006946564,
0.07657289505004883,
0.030720407143235207,
-0.04026350378990173,
0.03013109229505062,
-0.04893213510513306,
0.025359544903039932,
-0.0463847741484642,
-0.002326367422938347,
-0.04098588973283768,
0.0003305984428152442,
-0.03999736160039902,
-0.004631348419934511,
0.025682717561721802,
-0.06988131999969482,
-0.0036333154421299696,
-0.05919761583209038,
-0.017860038205981255,
0.015398223884403706,
-0.025530636310577393,
-0.04653685539960861,
0.0038638135883957148,
-0.0006701078964397311,
0.032374292612075806,
-0.06931101530790329,
0.0026186485774815083,
-0.0612126924097538,
0.05391279608011246,
0.0331156887114048,
0.025872819125652313,
-0.0828082263469696,
-0.007309403736144304,
-0.05315238982439041,
-0.02729858085513115,
-0.0446358397603035,
-0.01357324980199337,
0.05855127051472664,
-0.03277350589632988,
0.0479816272854805,
0.0007390197133645415,
-0.015369708649814129,
0.04520614445209503,
-0.053532592952251434,
0.04281086474657059,
-0.0029632076621055603,
0.003093902487307787,
-0.038647640496492386,
-0.02037888392806053,
0.02248901128768921,
0.012841358780860901,
-0.02697540819644928,
0.0017109138425439596,
-0.01017993688583374,
0.0006677316268905997,
0.00032495480263605714,
0.009181903675198555,
0.00575532391667366,
-0.018972132354974747,
0.019038667902350426,
0.004148966167122126,
-0.05722055956721306,
-0.025891829282045364,
-0.009200913831591606,
0.07033756375312805,
0.05231594294309616,
0.011976396664977074,
-0.01621566154062748,
0.01093083806335926,
0.0008964475127868354,
-0.02581578865647316,
-0.03281152620911598,
0.0030843974091112614,
0.038647640496492386,
-0.033039648085832596,
-0.047601424157619476,
0.03602423891425133,
-0.005612747743725777,
0.027507692575454712,
0.04931233823299408,
0.027906903997063637,
0.03545393422245979,
0.07547030597925186,
0.016738438978791237,
0.057638783007860184,
0.01207144744694233,
0.0017180426511913538,
-0.03617632016539574,
-0.01911470852792263,
-0.011738769710063934,
-0.03853357955813408,
0.003129546530544758,
-0.025283504277467728,
0.022603072226047516,
0.07672497630119324,
0.009704682976007462,
0.0111684650182724,
0.05672629550099373,
0.007708617020398378,
-0.034807588905096054,
-0.04269680380821228,
0.04379939287900925,
0.005522449500858784,
-0.008925266563892365,
-0.03275449573993683,
-0.011520152911543846,
-0.011900356039404869,
0.029541777446866035,
-0.007846441119909286,
0.00008242683543357998,
0.0629996508359909,
0.04505406320095062,
-0.03505472093820572,
0.01802162453532219,
-0.03919893503189087,
-0.0031271702609956264,
-0.008435755036771297,
-0.0612126924097538,
-0.024599138647317886,
0.042430661618709564,
0.07337918877601624,
0.00442461296916008,
-0.04284888505935669,
-0.01670992374420166,
-0.0008768432890065014,
0.005346605554223061,
-0.03258340433239937,
-0.027678783982992172,
0.00760881369933486,
-0.008911008946597576,
-0.07022350281476974,
0.009372005239129066,
0.05193573981523514,
-0.0013402157928794622,
-0.019599467515945435,
-0.002454685978591442,
0.0546732023358345,
-0.02781185321509838,
0.06391213834285736,
-0.011111434549093246,
-0.0545971617102623,
0.05596588924527168,
0.028058985248208046,
0.05509142577648163,
0.006663058884441853,
-0.02302129566669464,
-0.018648959696292877,
0.04151817411184311,
-0.07885411381721497,
-0.029408706352114677,
-0.03442738577723503,
-0.0024131012614816427,
-0.016054075211286545,
-0.012774823233485222,
-0.021120280027389526,
-0.024371016770601273,
-0.012318579480051994,
-0.011795800179243088,
0.05075711011886597,
-0.02629104256629944,
-0.009642899967730045,
-0.07201045751571655,
0.06106061115860939,
-0.04406553506851196,
0.0289714727550745,
0.04387543350458145,
0.029655838385224342,
0.08569777011871338,
-0.027070458978414536,
0.006544245406985283,
-0.006872170604765415,
0.04516812413930893,
-0.017071116715669632,
-0.014514251612126827,
-0.014903959818184376,
-0.0206640362739563,
-0.018420837819576263,
-0.01921926438808441,
0.019618477672338486,
0.028249086812138557,
0.007651586551219225,
0.021215330809354782,
-0.09862467646598816,
0.017156662419438362,
-0.0023430013097822666,
0.01565486192703247,
0.02117731049656868,
-0.005717303603887558,
-0.04847589135169983,
-0.034142233431339264,
-0.013506714254617691,
-0.00844050757586956,
-0.04022548347711563,
0.04433167725801468,
-0.026557184755802155,
-0.034313324838876724,
0.0645965039730072,
0.08455716073513031,
0.02864830009639263,
-0.027925914153456688,
-0.03773515298962593,
0.05166959762573242,
0.006278103217482567,
0.01256571151316166,
0.03172794729471207,
0.040947869420051575,
0.000858427258208394,
0.012774823233485222,
-0.04090984910726547,
0.03224122151732445,
0.047601424157619476,
0.04866599291563034,
-0.04497802257537842,
-0.021120280027389526,
-0.01374434120953083,
-0.008930019102990627,
0.040643706917762756,
0.07999472320079803,
-0.033343806862831116,
-0.028020964935421944,
-0.04866599291563034,
-0.056498173624277115,
0.0017584391171112657,
0.03916091471910477,
-0.044787921011447906,
-0.03545393422245979,
-0.0380203053355217,
0.023705661296844482,
0.03096753917634487,
-0.048589952290058136,
-0.029028503224253654,
-0.010474594309926033,
0.04828578978776932,
-0.0006730782333761454,
-0.0007883273065090179,
-0.004548178985714912,
0.011025888845324516,
-0.03794426470994949,
-0.07763746380805969,
0.0030368720181286335,
-0.011120939627289772,
-0.015588325448334217,
0.06866466999053955,
-0.0021944844629615545,
-0.03374302014708519,
0.01653883419930935,
0.011824315413832664,
0.00130219548009336,
-0.035815127193927765,
0.08577381074428558,
0.014105533249676228,
-0.003317271824926138,
0.009058337658643723,
0.06756208091974258,
0.043419189751148224,
0.022869214415550232,
0.09056437015533447,
0.029902970418334007,
-0.04585248976945877,
-0.0595397986471653,
-0.009509828872978687,
-0.008540310896933079,
0.03326776996254921,
0.03853357955813408,
-0.008450012654066086,
-0.05657421424984932,
-0.05014878511428833,
0.004914124496281147,
-0.0612126924097538,
-0.010712221264839172,
-0.01348770409822464,
-0.0015148716047406197,
-0.03558700531721115,
0.03425629436969757,
0.022431980818510056,
0.028058985248208046,
-0.015141586773097515,
0.04205045849084854,
0.0002913899952545762,
-0.055015385150909424,
-0.009272201918065548,
-0.012860368937253952,
-0.064520463347435,
0.08022284507751465,
-0.013031460344791412,
-0.0363474115729332,
-0.03030218370258808,
-0.006629791110754013,
0.010056370869278908,
-0.011187475174665451,
-0.061136651784181595,
-0.013288097456097603,
-0.06672563403844833,
0.07581248879432678,
-0.02302129566669464,
-0.026443123817443848,
0.03950309753417969,
-0.05779086425900459,
-0.019257284700870514,
0.05049096792936325,
-0.030207132920622826,
0.02826809696853161,
0.04117599129676819,
0.012955419719219208,
-0.04551030695438385,
0.04167025536298752,
0.04026350378990173,
0.026595205068588257,
0.028382157906889915,
0.004759666975587606,
0.030378224328160286,
0.03224122151732445,
0.015673872083425522,
0.0002474290376994759,
0.03227924183011055,
0.0055937375873327255,
0.051403455436229706,
0.003963617142289877,
0.04167025536298752,
-0.016633884981274605,
-0.023116346448659897,
0.015436244197189808,
0.027089469134807587,
-0.0014614055398851633,
0.08219990134239197,
-0.0338951013982296,
-0.015711892396211624,
0.034845609217882156,
0.03900883346796036,
0.010075381025671959,
-0.047563403844833374,
-0.007642081473022699,
-0.04037756472826004,
0.022565051913261414,
0.055509649217128754,
-0.03655652329325676,
0.000022537427867064252,
-0.007746637333184481,
0.07166827470064163,
-0.04995868355035782,
0.03617632016539574,
0.020892158150672913,
-0.024066854268312454,
-0.0031699431128799915,
0.040795788168907166,
0.016396258026361465,
0.022127818316221237,
-0.019561447203159332,
-0.014742373488843441,
0.060148123651742935,
0.0003819852718152106,
-0.034332334995269775,
0.032222211360931396,
-0.08250406384468079,
-0.011890850961208344,
0.009790228679776192,
-0.04604259133338928,
0.011805305257439613,
-0.011130444705486298,
0.037488020956516266,
-0.00048565000179223716,
0.005997703410685062,
0.04714518040418625,
-0.00032762810587882996,
-0.020397894084453583,
-0.0480196475982666,
0.018810546025633812,
-0.011558173224329948,
0.04703111946582794,
0.03172794729471207,
-0.021291371434926987,
-0.04349523037672043,
-0.009210418909788132,
-0.06737197935581207,
0.04288690537214279,
-0.010683706030249596,
0.018335292115807533,
-0.03503571078181267,
0.0001301749871345237,
-0.019447386264801025,
0.0010158551158383489,
-0.027013428509235382,
-0.01657685451209545,
-0.012033427134156227,
0.04372335225343704,
0.012717792764306068,
0.026119951158761978,
0.028001954779028893,
0.09200914204120636,
-0.022641092538833618,
-0.005707798525691032,
0.055053405463695526,
0.00018401234410703182,
-0.023724671453237534,
-0.023458529263734818,
0.030378224328160286,
-0.03277350589632988,
-0.017489340156316757,
0.025283504277467728,
0.011653224006295204,
0.06022416427731514,
-0.025682717561721802,
-0.029009493067860603,
-0.022907234728336334,
0.0076848543249070644,
0.006030971184372902,
-0.0036998509895056486,
0.042126499116420746,
-0.056498173624277115,
-0.018097665160894394,
-0.06642147898674011,
-0.06155487522482872,
0.030834468081593513,
-0.01705210655927658,
-0.016415268182754517,
0.05820908769965172,
-0.02931365557014942,
-0.07714319974184036,
-0.00844050757586956,
0.04782954603433609,
-0.03273548558354378,
-0.021234340965747833,
0.026519164443016052,
-0.011073414236307144,
0.0338570810854435,
0.01920025423169136,
0.0281160157173872,
-0.0038638135883957148,
0.012622741982340813,
-0.00757554592564702,
-0.04668893665075302,
-0.01084529235959053,
-0.030150102451443672,
0.001341403927654028,
0.04919827729463577,
0.004453128203749657,
-0.06501472741365433,
-0.010873807594180107,
-0.0028681568801403046,
0.0013936818577349186,
0.006059486418962479,
0.03803931549191475,
0.037621092051267624,
0.035130761563777924
] |
9,762 | requests.sessions | request | Constructs a :class:`Request <Request>`, prepares it and sends it.
Returns :class:`Response <Response>` object.
:param method: method for the new :class:`Request` object.
:param url: URL for the new :class:`Request` object.
:param params: (optional) Dictionary or bytes to be sent in the query
string for the :class:`Request`.
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of the :class:`Request`.
:param json: (optional) json to send in the body of the
:class:`Request`.
:param headers: (optional) Dictionary of HTTP Headers to send with the
:class:`Request`.
:param cookies: (optional) Dict or CookieJar object to send with the
:class:`Request`.
:param files: (optional) Dictionary of ``'filename': file-like-objects``
for multipart encoding upload.
:param auth: (optional) Auth tuple or callable to enable
Basic/Digest/Custom HTTP Auth.
:param timeout: (optional) How long to wait for the server to send
data before giving up, as a float, or a :ref:`(connect timeout,
read timeout) <timeouts>` tuple.
:type timeout: float or tuple
:param allow_redirects: (optional) Set to True by default.
:type allow_redirects: bool
:param proxies: (optional) Dictionary mapping protocol or protocol and
hostname to the URL of the proxy.
:param stream: (optional) whether to immediately download the response
content. Defaults to ``False``.
:param verify: (optional) Either a boolean, in which case it controls whether we verify
the server's TLS certificate, or a string, in which case it must be a path
to a CA bundle to use. Defaults to ``True``. When set to
``False``, requests will accept any TLS certificate presented by
the server, and will ignore hostname mismatches and/or expired
certificates, which will make your application vulnerable to
man-in-the-middle (MitM) attacks. Setting verify to ``False``
may be useful during local development or testing.
:param cert: (optional) if String, path to ssl client cert file (.pem).
If Tuple, ('cert', 'key') pair.
:rtype: requests.Response
| def request(
self,
method,
url,
params=None,
data=None,
headers=None,
cookies=None,
files=None,
auth=None,
timeout=None,
allow_redirects=True,
proxies=None,
hooks=None,
stream=None,
verify=None,
cert=None,
json=None,
):
"""Constructs a :class:`Request <Request>`, prepares it and sends it.
Returns :class:`Response <Response>` object.
:param method: method for the new :class:`Request` object.
:param url: URL for the new :class:`Request` object.
:param params: (optional) Dictionary or bytes to be sent in the query
string for the :class:`Request`.
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
object to send in the body of the :class:`Request`.
:param json: (optional) json to send in the body of the
:class:`Request`.
:param headers: (optional) Dictionary of HTTP Headers to send with the
:class:`Request`.
:param cookies: (optional) Dict or CookieJar object to send with the
:class:`Request`.
:param files: (optional) Dictionary of ``'filename': file-like-objects``
for multipart encoding upload.
:param auth: (optional) Auth tuple or callable to enable
Basic/Digest/Custom HTTP Auth.
:param timeout: (optional) How long to wait for the server to send
data before giving up, as a float, or a :ref:`(connect timeout,
read timeout) <timeouts>` tuple.
:type timeout: float or tuple
:param allow_redirects: (optional) Set to True by default.
:type allow_redirects: bool
:param proxies: (optional) Dictionary mapping protocol or protocol and
hostname to the URL of the proxy.
:param stream: (optional) whether to immediately download the response
content. Defaults to ``False``.
:param verify: (optional) Either a boolean, in which case it controls whether we verify
the server's TLS certificate, or a string, in which case it must be a path
to a CA bundle to use. Defaults to ``True``. When set to
``False``, requests will accept any TLS certificate presented by
the server, and will ignore hostname mismatches and/or expired
certificates, which will make your application vulnerable to
man-in-the-middle (MitM) attacks. Setting verify to ``False``
may be useful during local development or testing.
:param cert: (optional) if String, path to ssl client cert file (.pem).
If Tuple, ('cert', 'key') pair.
:rtype: requests.Response
"""
# Create the Request.
req = Request(
method=method.upper(),
url=url,
headers=headers,
files=files,
data=data or {},
json=json,
params=params or {},
auth=auth,
cookies=cookies,
hooks=hooks,
)
prep = self.prepare_request(req)
proxies = proxies or {}
settings = self.merge_environment_settings(
prep.url, proxies, stream, verify, cert
)
# Send the request.
send_kwargs = {
"timeout": timeout,
"allow_redirects": allow_redirects,
}
send_kwargs.update(settings)
resp = self.send(prep, **send_kwargs)
return resp
| (self, method, url, params=None, data=None, headers=None, cookies=None, files=None, auth=None, timeout=None, allow_redirects=True, proxies=None, hooks=None, stream=None, verify=None, cert=None, json=None) | [
0.029175378382205963,
-0.047204215079545975,
-0.010809368453919888,
0.018673431128263474,
-0.0627538412809372,
-0.0011515944497659802,
-0.06890228390693665,
0.026676330715417862,
0.006014570593833923,
0.027092838659882545,
0.024236785247921944,
0.0174734927713871,
0.035403162240982056,
0.006188115570694208,
0.0245144572108984,
-0.06033412739634514,
0.019030438736081123,
-0.0333404541015625,
-0.02189640887081623,
-0.09107636660337448,
0.04982226341962814,
0.04161110892891884,
0.018673431128263474,
0.018742850050330162,
-0.014548021368682384,
0.05351133272051811,
-0.057279735803604126,
-0.02982988953590393,
0.023185599595308304,
0.06081013381481171,
-0.010759783908724785,
0.04323747381567955,
0.007060798350721598,
0.020924557000398636,
0.04605386033654213,
0.012951408512890339,
0.024752462282776833,
-0.0468868762254715,
-0.03883439302444458,
0.02118239551782608,
-0.056724391877651215,
0.0012805134756490588,
0.015569457784295082,
0.011860555037856102,
0.03810054436326027,
0.03187276050448418,
-0.0836188942193985,
0.0631108433008194,
-0.01665039360523224,
0.033261120319366455,
0.015390953980386257,
0.03268594294786453,
0.028362195938825607,
-0.07564574480056763,
-0.03056373819708824,
0.013873675838112831,
-0.038893893361091614,
-0.0017651995876803994,
-0.013962927274405956,
0.0049931351095438,
0.032209936529397964,
0.057121068239212036,
0.108768031001091,
-0.04573652148246765,
-0.06802960485219955,
-0.0016598331276327372,
-0.02538713999092579,
0.00943092629313469,
0.04601419344544411,
0.010521779768168926,
0.007794645614922047,
0.010006103664636612,
-0.003029598155990243,
-0.03070257417857647,
0.08584026992321014,
-0.017731331288814545,
-0.008052484132349491,
-0.0019870891701430082,
-0.028798537328839302,
-0.018356092274188995,
0.027449846267700195,
-0.048632241785526276,
0.002556068589910865,
-0.003825425636023283,
0.02011137641966343,
-0.038893893361091614,
0.002000724896788597,
-0.021658403798937798,
-0.00749218137934804,
0.014280267059803009,
-0.0490289144217968,
-0.02259058877825737,
-0.02018079347908497,
-0.04180944710969925,
-0.02364177443087101,
0.01798916980624199,
0.0014590168138965964,
0.010075521655380726,
-0.00215319637209177,
-0.008553285151720047,
-0.005543520208448172,
0.007655809633433819,
-0.04716454818844795,
0.016452057287096977,
0.06124647706747055,
-0.04089709743857384,
-0.029215045273303986,
-0.011493631638586521,
-0.005176596809178591,
-0.029215045273303986,
-0.022888094186782837,
0.006004653871059418,
-0.01781066507101059,
0.03016706369817257,
-0.026358991861343384,
-0.015202533453702927,
-0.028818370774388313,
-0.03445114195346832,
-0.08885499089956284,
0.002076340839266777,
-0.039607904851436615,
0.006366618908941746,
0.04040125384926796,
-0.00031826895428821445,
0.022531086578965187,
-0.0169379822909832,
-0.0003043233882635832,
-0.01376459002494812,
0.03213059902191162,
-0.08687162399291992,
0.03685102239251137,
-0.005657563917338848,
0.011275460943579674,
0.08211153000593185,
0.0011993192601948977,
0.022987263277173042,
-0.026438327506184578,
0.045815855264663696,
-0.04621252790093422,
0.07945381850004196,
0.04343581199645996,
-0.02786635421216488,
-0.0185445137321949,
0.01501411385834217,
-0.0255854781717062,
-0.04379281774163246,
-0.012961325235664845,
-0.08956900238990784,
-0.04220611974596977,
0.03306278586387634,
0.029512550681829453,
-0.043673817068338394,
0.06977497041225433,
-0.009852392598986626,
0.01729498989880085,
-0.05251964554190636,
-0.017890000715851784,
-0.05184530094265938,
-0.014260432682931423,
0.036632850766181946,
-0.007997941225767136,
0.012455565854907036,
0.021301398053765297,
-0.03633534535765648,
0.014488520100712776,
-0.0493859238922596,
-0.029790222644805908,
-0.006426120176911354,
0.04589518904685974,
-0.02614082209765911,
-0.059739116579294205,
0.036632850766181946,
0.00503280246630311,
0.005176596809178591,
0.0014602564042434096,
-0.02697383612394333,
0.024851631373167038,
-0.022174080833792686,
-0.048790909349918365,
0.007601266726851463,
0.007675643544644117,
0.0036270886193960905,
0.02455412596464157,
0.029710888862609863,
-0.002675070893019438,
0.008176444098353386,
-0.004536959808319807,
-0.03002822771668434,
-0.0036320469807833433,
0.02524830400943756,
0.012108475901186466,
-0.027291176840662956,
0.02399878203868866,
-0.008677245117723942,
-0.013258830644190311,
-0.026596996933221817,
-0.02382027730345726,
0.005166679620742798,
0.06541155278682709,
-0.021261731162667274,
-0.0038477384950965643,
0.0023490542080253363,
0.07762911915779114,
0.0004865455557592213,
-0.01897093839943409,
0.0023502937983721495,
-0.044387828558683395,
-0.05993745103478432,
-0.03052406944334507,
0.03068273887038231,
0.06747426092624664,
-0.010194523259997368,
-0.023542607203125954,
-0.019516363739967346,
-0.027033338323235512,
0.019208941608667374,
0.07731177657842636,
-0.06818827241659164,
-0.07120299339294434,
0.005315432790666819,
0.0804058313369751,
0.041888780891895294,
-0.05097261816263199,
-0.0021693112794309855,
-0.029393548145890236,
0.00692196236923337,
0.030305899679660797,
-0.003887405851855874,
-0.03171409294009209,
-0.06890228390693665,
0.01403234526515007,
-0.04732321575284004,
0.017354490235447884,
0.009321840479969978,
-0.03498665243387222,
-0.004442749544978142,
-0.048830579966306686,
0.03879472613334656,
-0.0012495233677327633,
-0.03478831797838211,
0.05486002564430237,
0.0003040134906768799,
0.029790222644805908,
0.0008249580860137939,
-0.052678316831588745,
-0.02030971273779869,
-0.03282478079199791,
0.028659701347351074,
-0.020884890109300613,
-0.04910825192928314,
0.02435578778386116,
-0.022907927632331848,
-0.02614082209765911,
-0.029552217572927475,
0.01411167997866869,
0.026398658752441406,
0.04966359585523605,
0.006897170562297106,
0.025129303336143494,
-0.005156762897968292,
-0.010030895471572876,
0.04212678596377373,
0.009852392598986626,
0.037485700100660324,
-0.008176444098353386,
0.009822641499340534,
0.008359906263649464,
-0.010660615749657154,
-0.058668095618486404,
-0.008374781347811222,
0.10670532286167145,
0.024792129173874855,
0.009361508302390575,
0.019992373883724213,
-0.014171181246638298,
-0.013972843997180462,
0.04240445792675018,
-0.05029827356338501,
0.010149898007512093,
-0.02719200775027275,
0.019446946680545807,
-0.020190710201859474,
0.03177359327673912,
-0.044586166739463806,
-0.0038155086804181337,
-0.039786409586668015,
-0.035938672721385956,
0.11138608306646347,
0.029790222644805908,
-0.002570943906903267,
0.04478450119495392,
0.03841788321733475,
0.022709591314196587,
-0.05148829519748688,
-0.036414679139852524,
-0.039250899106264114,
-0.06156381592154503,
0.031515754759311676,
0.06422153115272522,
-0.04375315085053444,
0.005057594273239374,
0.01599588245153427,
0.023205433040857315,
-0.02610115334391594,
0.01572812721133232,
-0.04502250626683235,
0.00035545715945772827,
-0.05033794045448303,
0.003198184771463275,
-0.02098405919969082,
0.020230377092957497,
0.004055992234498262,
0.01964528299868107,
-0.06124647706747055,
-0.0468868762254715,
-0.025327639654278755,
0.012951408512890339,
0.02556564472615719,
0.023681441321969032,
0.028996875509619713,
0.0392310656607151,
0.0648958757519722,
-0.020706387236714363,
0.007080632261931896,
0.018961019814014435,
0.015857046470046043,
0.05827142298221588,
0.055177364498376846,
-0.04272179678082466,
0.0037386531475931406,
-0.04375315085053444,
0.05236097797751427,
-0.02417728491127491,
-0.03736669942736626,
-0.06795027107000351,
-0.019784118980169296,
0.007407888304442167,
-0.014339767396450043,
0.06933862715959549,
-0.00024296286574099213,
-0.022372417151927948,
-0.01948661357164383,
-0.018266841769218445,
-0.019724618643522263,
-0.0031411629170179367,
0.03560149669647217,
0.07092532515525818,
0.02556564472615719,
0.05890610069036484,
-0.03482798486948013,
-0.03653368353843689,
-0.044705167412757874,
0.01904035545885563,
-0.012148143723607063,
-0.02120222896337509,
-0.0784621313214302,
-0.014875277876853943,
-0.056526053696870804,
-0.020924557000398636,
-0.025843316689133644,
-0.042602796107530594,
0.04803723096847534,
-0.046688538044691086,
0.06334885209798813,
-0.028977040201425552,
-0.026517661288380623,
0.053392332047224045,
-0.041214436292648315,
-0.050179269164800644,
0.01593638025224209,
0.03546266257762909,
-0.027053171768784523,
-0.02752918004989624,
0.025287972763180733,
0.0320909321308136,
0.0018631285056471825,
-0.03611717373132706,
-0.03213059902191162,
0.011493631638586521,
0.04212678596377373,
-0.010353193618357182,
-0.015876879915595055,
-0.009629263542592525,
-0.02189640887081623,
0.0365535169839859,
-0.04664887115359306,
-0.005503852851688862,
0.018911436200141907,
0.0372675284743309,
0.010472195222973824,
0.0142207657918334,
-0.03276527673006058,
0.016144635155797005,
0.006917004007846117,
-0.02931421436369419,
0.006485620979219675,
0.013030743226408958,
0.018713099882006645,
-0.03954840451478958,
-0.034669313579797745,
0.022650089114904404,
-0.009639180265367031,
-0.008493783883750439,
0.024831797927618027,
0.009044168516993523,
0.04855290800333023,
0.03268594294786453,
-0.04426882788538933,
0.0361965075135231,
-0.0320909321308136,
-0.002371367299929261,
-0.032209936529397964,
0.006292242556810379,
0.0338759645819664,
-0.0245144572108984,
0.02735067717730999,
-0.053392332047224045,
0.021658403798937798,
0.04288046807050705,
-0.0099862702190876,
0.02524830400943756,
-0.006064154673367739,
0.02455412596464157,
0.02503013424575329,
-0.016501640900969505,
0.06898162513971329,
-0.008359906263649464,
-0.054066676646471024,
-0.02578381448984146,
-0.0045865438878536224,
0.02842169813811779,
0.01339766662567854,
0.003252727445214987,
0.004244412761181593,
0.04664887115359306,
0.03863605484366417,
-0.05767641216516495,
0.0014019949594512582,
0.006986421998590231,
0.01024410780519247,
-0.02487146481871605,
-0.0361965075135231,
-0.017413992434740067,
-0.0037287361919879913,
0.051805634051561356,
0.009485469199717045,
0.014577772468328476,
-0.044387828558683395,
0.014756275340914726,
0.00019120929937344044,
0.021955909207463264,
0.02614082209765911,
-0.006148448213934898,
0.012822489254176617,
-0.056724391877651215,
-0.009867267683148384,
0.00635670218616724,
0.006217866204679012,
-0.031119080260396004,
0.024573959410190582,
0.0850469246506691,
-0.04311847314238548,
0.053193993866443634,
0.004259287845343351,
-0.023165766149759293,
0.04926691949367523,
0.01834617555141449,
0.02259058877825737,
0.012058892287313938,
-0.04871157556772232,
-0.004869174212217331,
-0.01626363769173622,
-0.05775574594736099,
0.02949271723628044,
-0.00586581788957119,
0.03153558820486069,
-0.025089634582400322,
-0.013417501002550125,
-0.010313525795936584,
-0.06453887373209,
0.032705776393413544,
-0.03913189843297005,
0.03617667406797409,
0.011533298529684544,
-0.019605616107583046,
-0.08234953880310059,
-0.004450187087059021,
-0.003795675002038479,
0.01040277723222971,
-0.005726981908082962,
0.08814097940921783,
0.05251964554190636,
-0.004137806594371796,
0.024097949266433716,
-0.0638248547911644,
0.03621634468436241,
-0.06287284195423126,
-0.06600656360387802,
-0.06172248721122742,
-0.006222824566066265,
0.045974526554346085,
-0.02241208590567112,
0.09940652549266815,
0.05311466008424759,
-0.007363262586295605,
0.013477001339197159,
-0.03651385009288788,
0.04732321575284004,
0.004762568045407534,
-0.017354490235447884,
-0.03649401664733887,
-0.02683500200510025,
-0.010660615749657154,
-0.02096422389149666,
-0.004184911493211985,
-0.005860859528183937,
-0.03086124360561371,
0.06997330486774445,
-0.041730113327503204,
-0.06092913821339607,
0.02082538977265358,
0.08948966860771179,
0.030226564034819603,
0.014577772468328476,
-0.023602107539772987,
0.04934625327587128,
0.016749562695622444,
-0.010164773091673851,
0.011632467620074749,
0.03121824935078621,
0.03179342672228813,
-0.017354490235447884,
-0.037684038281440735,
0.028025023639202118,
0.040123581886291504,
0.0185445137321949,
-0.035224657505750656,
-0.041730113327503204,
0.05351133272051811,
-0.007477306295186281,
0.055693041533231735,
0.08036616444587708,
-0.009579678997397423,
-0.001964776311069727,
-0.06798993796110153,
-0.0518849678337574,
0.058668095618486404,
0.011473797261714935,
-0.005503852851688862,
-0.05236097797751427,
-0.04335647448897362,
-0.017076818272471428,
0.0331619530916214,
-0.006321993190795183,
-0.022987263277173042,
0.025327639654278755,
0.06751392781734467,
-0.0641818642616272,
0.019189108163118362,
-0.05525669828057289,
-0.03171409294009209,
0.00416259840130806,
-0.093773752450943,
0.01727515645325184,
-0.029234878718852997,
0.01675947941839695,
0.09194905310869217,
0.01551987323909998,
-0.010373027063906193,
-0.0351254902780056,
0.05466168746352196,
0.059897784143686295,
-0.041016098111867905,
0.00005097881512483582,
0.03895339369773865,
0.03086124360561371,
0.0080227330327034,
0.031515754759311676,
0.019744452089071274,
-0.01384392473846674,
0.07798612117767334,
-0.015053780749440193,
-0.10035853832960129,
-0.06243649870157242,
0.0008751621935516596,
-0.03595850616693497,
-0.031337250024080276,
-0.0017751164268702269,
0.014914944767951965,
-0.07374171167612076,
0.008171485736966133,
0.0038477384950965643,
0.0019548593554645777,
-0.013199329376220703,
-0.03260660916566849,
0.05862842872738838,
-0.05077427998185158,
0.009802808053791523,
0.04327714070677757,
0.03800137713551521,
0.02842169813811779,
0.015430621802806854,
-0.010928370989859104,
-0.04514151066541672,
-0.041016098111867905,
0.02963155321776867,
-0.06160348281264305,
0.04379281774163246,
0.03829888254404068,
-0.013724923133850098,
0.005548478569835424,
-0.002813906641677022,
-0.017443742603063583,
-0.05347166582942009,
-0.03252727538347244,
-0.054106343537569046,
-0.06207949295639992,
0.05489969253540039,
0.04641086608171463,
-0.029730722308158875,
0.005821192171424627,
-0.06572889536619186,
-0.01376459002494812,
0.05466168746352196,
-0.032031431794166565,
0.07751011103391647,
-0.02009154111146927,
0.02967122010886669,
-0.06057213246822357,
-0.017880083993077278,
0.03391563147306442,
0.01937752775847912,
0.03982607647776604,
0.0324479378759861,
0.03248760849237442,
-0.003349416656419635,
0.0374460332095623,
-0.005940194241702557,
0.020508049055933952,
0.018068503588438034,
0.039250899106264114,
0.016858648508787155,
0.011989474296569824,
-0.010977954603731632,
-0.0504569411277771,
-0.022689757868647575,
0.026596996933221817,
-0.027925854548811913,
0.06088947132229805,
-0.047719892114400864,
-0.02062705159187317,
0.033994968980550766,
0.04046075418591499,
-0.011880388483405113,
-0.03879472613334656,
-0.0194370299577713,
0.021103059872984886,
-0.002932908944785595,
0.036771684885025024,
-0.02947288379073143,
0.004886528942734003,
0.012901823967695236,
0.1009138822555542,
-0.03232893720269203,
0.0014168701600283384,
0.003644443117082119,
0.014319933950901031,
-0.03286444768309593,
0.050179269164800644,
0.03875505551695824,
-0.012306813150644302,
-0.005969944875687361,
0.031178582459688187,
0.0486719086766243,
0.0374460332095623,
0.009862309321761131,
0.005548478569835424,
-0.08064384013414383,
-0.026061486452817917,
0.025347473099827766,
-0.006956671364605427,
0.005503852851688862,
-0.007447555661201477,
0.03948890417814255,
0.007274010684341192,
0.04375315085053444,
0.058469757437705994,
-0.015113282017409801,
-0.04125410318374634,
-0.005241055972874165,
-0.00616828165948391,
-0.021400567144155502,
0.03570066764950752,
0.0027816768269985914,
0.012465482577681541,
0.0006879816064611077,
-0.03437180817127228,
-0.04105576500296593,
0.041016098111867905,
0.04252346232533455,
0.06783126294612885,
-0.01834617555141449,
-0.001085895230062306,
0.08782363682985306,
-0.041571442037820816,
-0.012931575067341328,
0.016293387860059738,
0.005394767504185438,
0.04442749544978142,
0.0035527122672647238,
0.026358991861343384,
0.02735067717730999,
0.06307117640972137,
-0.0194370299577713,
-0.009991228580474854,
0.045101843774318695,
0.016124801710247993,
-0.0020949349272996187,
-0.02382027730345726,
0.0023540128022432327,
-0.024990467354655266,
-0.03425280749797821,
0.033975135535001755,
-0.028263026848435402,
0.026180488988757133,
-0.013605920597910881,
-0.02467312663793564,
-0.013546419329941273,
-0.009872226044535637,
-0.024038448929786682,
0.011781220324337482,
0.04839423671364784,
0.004797277040779591,
-0.009217713959515095,
-0.03488748520612717,
-0.0748920664191246,
0.02931421436369419,
-0.002118487376719713,
0.05065527930855751,
0.024058282375335693,
-0.07036998122930527,
-0.04549851641058922,
-0.004214662127196789,
0.005707148462533951,
0.009480509907007217,
-0.03070257417857647,
0.06235716491937637,
-0.010878786444664001,
0.020279962569475174,
-0.004204745404422283,
0.0007592589827254415,
-0.02683500200510025,
-0.0055137695744633675,
0.007328553590923548,
-0.009168129414319992,
-0.004985697101801634,
-0.024930965155363083,
0.004628690425306559,
0.041412774473428726,
-0.05013960227370262,
-0.022471586242318153,
-0.021281564608216286,
0.03163475915789604,
-0.019764285534620285,
-0.0250499676913023,
0.03728736191987991,
0.03913189843297005,
0.03455031290650368
] |
9,766 | cloudscraper.user_agent | User_Agent | null | class User_Agent():
# ------------------------------------------------------------------------------- #
def __init__(self, *args, **kwargs):
self.headers = None
self.cipherSuite = []
self.loadUserAgent(*args, **kwargs)
# ------------------------------------------------------------------------------- #
def filterAgents(self, user_agents):
filtered = {}
if self.mobile:
if self.platform in user_agents['mobile'] and user_agents['mobile'][self.platform]:
filtered.update(user_agents['mobile'][self.platform])
if self.desktop:
if self.platform in user_agents['desktop'] and user_agents['desktop'][self.platform]:
filtered.update(user_agents['desktop'][self.platform])
return filtered
# ------------------------------------------------------------------------------- #
def tryMatchCustom(self, user_agents):
for device_type in user_agents['user_agents']:
for platform in user_agents['user_agents'][device_type]:
for browser in user_agents['user_agents'][device_type][platform]:
if re.search(re.escape(self.custom), ' '.join(user_agents['user_agents'][device_type][platform][browser])):
self.headers = user_agents['headers'][browser]
self.headers['User-Agent'] = self.custom
self.cipherSuite = user_agents['cipherSuite'][browser]
return True
return False
# ------------------------------------------------------------------------------- #
def loadUserAgent(self, *args, **kwargs):
self.browser = kwargs.pop('browser', None)
self.platforms = ['linux', 'windows', 'darwin', 'android', 'ios']
self.browsers = ['chrome', 'firefox']
if isinstance(self.browser, dict):
self.custom = self.browser.get('custom', None)
self.platform = self.browser.get('platform', None)
self.desktop = self.browser.get('desktop', True)
self.mobile = self.browser.get('mobile', True)
self.browser = self.browser.get('browser', None)
else:
self.custom = kwargs.pop('custom', None)
self.platform = kwargs.pop('platform', None)
self.desktop = kwargs.pop('desktop', True)
self.mobile = kwargs.pop('mobile', True)
if not self.desktop and not self.mobile:
sys.tracebacklimit = 0
raise RuntimeError("Sorry you can't have mobile and desktop disabled at the same time.")
with open(os.path.join(os.path.dirname(__file__), 'browsers.json'), 'r') as fp:
user_agents = json.load(
fp,
object_pairs_hook=OrderedDict
)
if self.custom:
if not self.tryMatchCustom(user_agents):
self.cipherSuite = [
ssl._DEFAULT_CIPHERS,
'!AES128-SHA',
'!ECDHE-RSA-AES256-SHA',
]
self.headers = OrderedDict([
('User-Agent', self.custom),
('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'),
('Accept-Language', 'en-US,en;q=0.9'),
('Accept-Encoding', 'gzip, deflate, br')
])
else:
if self.browser and self.browser not in self.browsers:
sys.tracebacklimit = 0
raise RuntimeError(f'Sorry "{self.browser}" browser is not valid, valid browsers are [{", ".join(self.browsers)}].')
if not self.platform:
self.platform = random.SystemRandom().choice(self.platforms)
if self.platform not in self.platforms:
sys.tracebacklimit = 0
raise RuntimeError(f'Sorry the platform "{self.platform}" is not valid, valid platforms are [{", ".join(self.platforms)}]')
filteredAgents = self.filterAgents(user_agents['user_agents'])
if not self.browser:
# has to be at least one in there...
while not filteredAgents.get(self.browser):
self.browser = random.SystemRandom().choice(list(filteredAgents.keys()))
if not filteredAgents[self.browser]:
sys.tracebacklimit = 0
raise RuntimeError(f'Sorry "{self.browser}" browser was not found with a platform of "{self.platform}".')
self.cipherSuite = user_agents['cipherSuite'][self.browser]
self.headers = user_agents['headers'][self.browser]
self.headers['User-Agent'] = random.SystemRandom().choice(filteredAgents[self.browser])
if not kwargs.get('allow_brotli', False) and 'br' in self.headers['Accept-Encoding']:
self.headers['Accept-Encoding'] = ','.join([
encoding for encoding in self.headers['Accept-Encoding'].split(',') if encoding.strip() != 'br'
]).strip()
| (*args, **kwargs) | [
0.026697678491473198,
-0.04114195704460144,
-0.0974067747592926,
0.0060297586023807526,
-0.00702340854331851,
-0.04823806881904602,
-0.027104832231998444,
-0.020047493278980255,
-0.052154503762722015,
-0.015297362580895424,
0.026658901944756508,
0.07891035079956055,
-0.02076486125588417,
0.05587705597281456,
-0.016421882435679436,
-0.04711354896426201,
0.03666326031088829,
0.039493951946496964,
0.05653625726699829,
-0.10314571112394333,
-0.04905238002538681,
0.03336725011467934,
0.043390996754169464,
0.030478395521640778,
-0.002338712802156806,
0.07119380682706833,
-0.032048847526311874,
-0.01244728360325098,
0.027647703886032104,
0.00361349293962121,
-0.03561629354953766,
-0.006722890306264162,
0.02712422050535679,
-0.0006031576194800436,
0.033057037740945816,
-0.05630359798669815,
0.02076486125588417,
0.010828360915184021,
-0.08561869710683823,
-0.021443450823426247,
-0.10958262532949448,
-0.0693325325846672,
0.03125392645597458,
-0.05436477065086365,
-0.06599774211645126,
0.0024283835664391518,
-0.03993988037109375,
0.09709656238555908,
-0.017013225704431534,
-0.053472910076379776,
-0.011603892780840397,
0.010644172318279743,
0.04032764583826065,
0.028811002150177956,
-0.04075418785214424,
0.05583827942609787,
-0.044360410422086716,
0.0354611873626709,
0.00509427348151803,
0.060220032930374146,
-0.026717066764831543,
-0.002399301156401634,
-0.038640864193439484,
-0.00533662736415863,
-0.008501766249537468,
-0.021811828017234802,
-0.03643060103058815,
0.027415044605731964,
0.021482227370142937,
0.053434133529663086,
0.044554293155670166,
0.018690314143896103,
0.005040955729782581,
0.009301532991230488,
0.03484075888991356,
0.01609228178858757,
-0.09252092987298965,
0.007580822333693504,
0.011439092457294464,
0.008559931069612503,
0.06212008744478226,
0.026678290218114853,
0.0759633257985115,
-0.07301630824804306,
0.031932517886161804,
-0.016072893515229225,
0.02427414059638977,
0.019553091377019882,
0.043662432581186295,
-0.013445780612528324,
-0.061771098524332047,
0.01176869310438633,
0.022044487297534943,
0.026503795757889748,
-0.013455474749207497,
0.030265122652053833,
0.017740286886692047,
0.032048847526311874,
-0.0200668815523386,
-0.029954910278320312,
-0.005457804072648287,
0.045097168534994125,
-0.06212008744478226,
-0.03474381938576698,
0.0007482668734155595,
0.00226964196190238,
-0.045252274721860886,
0.03931945562362671,
-0.0009118556044995785,
0.025631321594119072,
-0.05587705597281456,
-0.0732489675283432,
-0.0029033967293798923,
0.016024423763155937,
0.033018261194229126,
-0.036566317081451416,
-0.06301195174455643,
-0.017798451706767082,
0.01687750779092312,
0.03406522795557976,
-0.05564439669251442,
0.044515516608953476,
0.007222138810902834,
0.03755512088537216,
-0.012941684573888779,
-0.03495708853006363,
-0.008303035981953144,
-0.024293528869748116,
0.016450965777039528,
0.04265424236655235,
-0.00999466422945261,
0.006087923422455788,
0.05033200606703758,
0.024293528869748116,
0.02890794351696968,
-0.01933012716472149,
-0.1114438995718956,
0.021598557010293007,
0.039067406207323074,
0.029508979991078377,
-0.005889193620532751,
-0.043003231287002563,
0.01449274830520153,
-0.0802675262093544,
-0.0026343842037022114,
0.022645525634288788,
0.003361445153132081,
-0.06277929246425629,
-0.053589239716529846,
-0.059211842715740204,
0.08127571642398834,
-0.0045610954985022545,
-0.013455474749207497,
-0.03877658396959305,
-0.006461148150265217,
0.001330521539784968,
-0.0346662662923336,
-0.031195761635899544,
-0.021850604563951492,
0.021559780463576317,
0.01570451632142067,
-0.04180115833878517,
-0.03323153033852577,
-0.007067032158374786,
0.008685954846441746,
0.022664913907647133,
0.004910084884613752,
-0.04133583977818489,
0.02809363417327404,
0.0013765686890110373,
-0.04176238179206848,
0.019494926556944847,
-0.044205304235219955,
0.010217629373073578,
-0.018263770267367363,
0.04075418785214424,
-0.039028629660606384,
-0.04978913441300392,
-0.0282487403601408,
0.012747801840305328,
0.003998835105448961,
-0.04017253965139389,
-0.03997865691781044,
0.0013680863194167614,
0.030478395521640778,
0.04036642238497734,
0.04226647689938545,
-0.022122040390968323,
0.01400804053992033,
0.07483880966901779,
-0.03842759504914284,
-0.00874411966651678,
0.023362891748547554,
-0.0055644395761191845,
0.024526190012693405,
-0.011332456953823566,
-0.0002465948346070945,
-0.006965243723243475,
-0.01040181890130043,
-0.018254077062010765,
-0.03931945562362671,
0.021443450823426247,
0.007842564024031162,
-0.011254903860390186,
-0.031951904296875,
-0.01605350524187088,
-0.0027095137629657984,
0.006349665578454733,
0.031738635152578354,
0.030284510925412178,
-0.051805514842271805,
-0.027376268059015274,
-0.016538212075829506,
0.025146614760160446,
0.036333657801151276,
-0.045019615441560745,
0.04180115833878517,
0.04199504107236862,
-0.035054031759500504,
-0.00919489748775959,
0.01979544572532177,
-0.01877756044268608,
-0.044127751141786575,
-0.03705102577805519,
-0.01898113824427128,
0.0005707428208552301,
0.003741940250620246,
0.024720072746276855,
0.013387615792453289,
0.026193581521511078,
0.0338907353579998,
-0.032048847526311874,
0.07549800723791122,
0.0759633257985115,
-0.04711354896426201,
0.0024683719966560602,
0.051378972828388214,
0.043507326394319534,
-0.005419027525931597,
-0.001709804986603558,
0.026077251881361008,
-0.003043961711227894,
0.017013225704431534,
0.020667919889092445,
0.015752987936139107,
0.0057098520919680595,
0.01854490116238594,
0.016547907143831253,
0.008753813803195953,
-0.03218456357717514,
-0.029819192364811897,
-0.0011723857605829835,
0.00602006446570158,
-0.05541173741221428,
-0.044360410422086716,
-0.052852485328912735,
0.010876831598579884,
0.005685616750270128,
0.03881536051630974,
-0.03724490851163864,
0.025573156774044037,
-0.01468663103878498,
0.01022732350975275,
0.03423972427845001,
-0.050991207361221313,
0.00622364180162549,
0.03798166289925575,
0.0666181743144989,
-0.03835004195570946,
0.011797775514423847,
0.0045877546072006226,
0.00042623947956599295,
-0.052115727216005325,
0.029935522004961967,
0.01624738797545433,
-0.01396926399320364,
-0.031661082059144974,
0.026290522888302803,
-0.0183122418820858,
-0.016547907143831253,
0.04094807058572769,
0.033910121768713,
-0.0012026799377053976,
0.012709025293588638,
-0.0003635304747149348,
-0.02813241071999073,
-0.02758953906595707,
-0.017236191779375076,
0.007721387315541506,
0.009398474358022213,
-0.051340196281671524,
-0.04280934855341911,
0.028384460136294365,
-0.007357856724411249,
0.03327031061053276,
-0.008613248355686665,
0.020125046372413635,
0.02357616275548935,
0.06370992958545685,
-0.0323396697640419,
-0.019969940185546875,
0.03379379212856293,
0.025514991953969002,
-0.06208131089806557,
0.010789584368467331,
-0.020784249529242516,
0.007503268774598837,
-0.04761764407157898,
0.01161358691751957,
0.0006943431799300015,
0.006238183006644249,
-0.013116179034113884,
0.05847508832812309,
0.00437205983325839,
-0.019931163638830185,
0.007682610768824816,
-0.002993067493662238,
0.03530608117580414,
0.01710047386586666,
0.029315097257494926,
0.011002855375409126,
0.044631846249103546,
-0.025418050587177277,
0.018302546814084053,
0.04827684536576271,
-0.04222770035266876,
0.04788907989859581,
-0.027182385325431824,
-0.04618291184306145,
-0.010372736491262913,
-0.021016908809542656,
0.01180746965110302,
-0.005632298998534679,
0.012379424646496773,
0.044515516608953476,
0.026077251881361008,
-0.02489456720650196,
0.01707139052450657,
0.03367746248841286,
-0.05087487772107124,
-0.051960621029138565,
-0.04040519893169403,
-0.04680333659052849,
0.00690707890316844,
0.022218981757760048,
-0.0989578440785408,
0.043313443660736084,
0.030788607895374298,
-0.029741639271378517,
-0.024332305416464806,
0.016431577503681183,
-0.014201924204826355,
0.03708980232477188,
0.04242158308625221,
0.024836402386426926,
-0.05436477065086365,
-0.05583827942609787,
-0.05812609940767288,
0.029276320710778236,
0.003977023530751467,
0.04649312421679497,
0.037380628287792206,
-0.007469339296221733,
0.028229352086782455,
-0.04610535874962807,
-0.043972644954919815,
0.03631427139043808,
0.022858796641230583,
0.0545586533844471,
-0.06824678927659988,
0.00960689876228571,
-0.013387615792453289,
0.010547230951488018,
-0.017953557893633842,
0.04087051749229431,
-0.0323396697640419,
0.001649216515943408,
0.004803449381142855,
-0.053317803889513016,
-0.0052251447923481464,
0.030594725161790848,
0.1012844368815422,
0.018564289435744286,
0.004047305788844824,
0.016063200309872627,
-0.07274486869573593,
0.021133238449692726,
0.03639182448387146,
0.004992485046386719,
-0.006034605670720339,
-0.03371623903512955,
-0.0026513489428907633,
0.011119185015559196,
0.03489892557263374,
-0.008860449306666851,
0.025631321594119072,
-0.027531374245882034,
0.021617945283651352,
-0.01663515530526638,
-0.018292853608727455,
-0.011943187564611435,
-0.014832043088972569,
-0.010789584368467331,
0.027802810072898865,
-0.03813676908612251,
0.013222815468907356,
0.06762636452913284,
0.006441759876906872,
0.012757495976984501,
0.04269301891326904,
-0.08817794919013977,
0.0060297586023807526,
-0.029954910278320312,
-0.043739985674619675,
-0.0475400909781456,
0.02033831737935543,
0.039028629660606384,
0.030400842428207397,
0.05075854808092117,
0.05676892027258873,
-0.008598707616329193,
-0.026697678491473198,
-0.02249041758477688,
0.02411903440952301,
0.019814833998680115,
0.004740437492728233,
-0.004624107386916876,
-0.035674456506967545,
-0.029993686825037003,
-0.03666326031088829,
0.04905238002538681,
0.023750657215714455,
-0.05630359798669815,
-0.035441797226667404,
0.022742467001080513,
-0.020900579169392586,
-0.059444501996040344,
0.012263095006346703,
-0.01835101842880249,
-0.06502833217382431,
-0.044554293155670166,
-0.026387464255094528,
-0.029664086177945137,
0.07914301007986069,
0.019969940185546875,
-0.04707477241754532,
-0.04183993488550186,
0.011109490878880024,
-0.029993686825037003,
-0.04048275202512741,
-0.05541173741221428,
0.0251272264868021,
-0.022199593484401703,
-0.0024211129639297724,
-0.008564777672290802,
0.059715937823057175,
0.026465019211173058,
0.0646793395280838,
0.028733449056744576,
-0.008981626480817795,
0.05746689811348915,
0.006533854175359011,
0.018903585150837898,
0.027957916259765625,
-0.03912557289004326,
0.1095050722360611,
0.022277146577835083,
0.007280303630977869,
-0.008084917441010475,
0.03881536051630974,
-0.016732096672058105,
0.013261592015624046,
0.018438264727592468,
-0.03245599940419197,
-0.018060194328427315,
0.008855602703988552,
-0.03486014902591705,
-0.009175509214401245,
-0.045407380908727646,
-0.03138964623212814,
0.005588674917817116,
-0.0010197029914706945,
0.05742812156677246,
-0.018409183248877525,
0.0060103703290224075,
-0.08166348189115524,
0.03695408254861832,
-0.043390996754169464,
0.03340602666139603,
0.021811828017234802,
-0.04164605215191841,
-0.01838979497551918,
-0.00010830178507603705,
0.03470504283905029,
-0.00855508353561163,
0.06417524814605713,
0.007488727569580078,
0.005166979972273111,
-0.01691628433763981,
-0.043352220207452774,
0.01702292077243328,
-0.026833396404981613,
-0.022277146577835083,
-0.012553919106721878,
0.03443360701203346,
-0.036411210894584656,
-0.014919290319085121,
0.027221161872148514,
-0.008778048679232597,
0.032436612993478775,
-0.008118847385048866,
0.0003714069607667625,
0.06347727030515671,
-0.07883279770612717,
0.02095874398946762,
0.007474186364561319,
-0.05075854808092117,
0.00023235655680764467,
0.005777711048722267,
0.03724490851163864,
0.03561629354953766,
0.028113022446632385,
0.0705346092581749,
-0.04102562367916107,
0.009553580544888973,
0.07549800723791122,
0.008584165945649147,
0.02879161387681961,
0.043003231287002563,
-0.008123693987727165,
-0.02123017981648445,
0.024099646136164665,
-0.02716299705207348,
0.024099646136164665,
0.05808732286095619,
0.013271286152303219,
0.018438264727592468,
0.012902908027172089,
0.05436477065086365,
-0.00836120080202818,
0.030129404738545418,
-0.0024792777840048075,
-0.026814008131623268,
-0.033910121768713,
-0.037807170301675797,
-0.061460886150598526,
-0.003989140968769789,
0.0031336327083408833,
-0.035674456506967545,
-0.052930038422346115,
-0.005884346552193165,
0.04688088968396187,
0.04722987860441208,
-0.009984970092773438,
0.03206823393702507,
-0.04878094047307968,
0.03827248886227608,
0.03831126540899277,
0.032669272273778915,
0.018098970875144005,
0.004330859519541264,
-0.051611632108688354,
-0.10268039256334305,
-0.038640864193439484,
-0.04618291184306145,
-0.01742037944495678,
-0.03400706499814987,
0.08468805998563766,
-0.020784249529242516,
-0.032320283353328705,
0.022994514554739,
-0.00006566269439645112,
0.004873731639236212,
0.02068730816245079,
-0.029683474451303482,
-0.012922296300530434,
-0.03681836649775505,
0.044786952435970306,
0.01668362505733967,
-0.02477823756635189,
0.003325092140585184,
0.023362891748547554,
-0.001352333347313106,
-0.09050454944372177,
-0.0031578680500388145,
-0.05638115108013153,
0.035984668880701065,
0.006475689355283976,
-0.011400315910577774,
-0.003705587238073349,
-0.04928503930568695,
-0.0021157474257051945,
-0.02029954083263874,
-0.036023445427417755,
-0.026503795757889748,
0.060103703290224075,
-0.0012141917832195759,
-0.016625460237264633,
-0.03210701048374176,
0.0282487403601408,
-0.0032741976901888847,
0.024603743106126785,
0.017546404153108597,
-0.05075854808092117,
0.08205124735832214,
0.0066744196228682995,
-0.06991417706012726,
-0.029896745458245277,
-0.008046140894293785,
-0.052464716136455536,
0.010876831598579884,
0.04036642238497734,
-0.01983422227203846,
0.03569384664297104,
0.03175802156329155,
0.021908769384026527,
-0.06944885849952698,
0.003683775430545211,
0.037496957927942276,
-0.029896745458245277,
0.002463524928316474,
0.009863793849945068,
0.006252724211663008,
-0.005918276030570269,
-0.022277146577835083,
-0.026620125398039818,
-0.022645525634288788,
0.031932517886161804,
-0.0685570016503334,
0.04071541130542755,
0.053162697702646255,
-0.04292567819356918,
0.07476125657558441,
-0.023207785561680794,
-0.03503464162349701,
0.009694145992398262,
0.008080070838332176,
0.011720222420990467,
-0.001763122738339007,
0.033328473567962646,
0.010905914008617401,
-0.002341136336326599,
0.021249568089842796,
-0.012825354933738708,
-0.04916870966553688,
0.02836507186293602,
-0.029237544164061546,
0.03759389743208885,
0.05855264142155647,
-0.02504967339336872,
-0.003804952371865511,
0.036062221974134445,
0.026658901944756508,
-0.0021205944940447807,
-0.05630359798669815,
0.008797436952590942,
-0.008652024902403355,
0.051029983907938004,
0.059948597103357315,
-0.03336725011467934,
0.004958555568009615,
0.06440790742635727,
0.12369730323553085,
-0.07293875515460968,
0.013474863022565842,
0.0190877728164196,
0.05673014372587204,
-0.020784249529242516,
0.03866025432944298,
0.00178735819645226,
0.05448110029101372,
-0.002039405982941389,
0.028578342869877815,
-0.014318253844976425,
-0.008700495585799217,
0.03441421687602997,
-0.01264116633683443,
-0.053511686623096466,
-0.015374915674328804,
0.0065483953803777695,
0.043390996754169464,
0.032436612993478775,
-0.08461050689220428,
-0.024293528869748116,
-0.015995340421795845,
0.03392951190471649,
0.05541173741221428,
0.025883369147777557,
-0.04765642061829567,
-0.07189178466796875,
-0.011254903860390186,
-0.060413915663957596,
0.02758953906595707,
0.05874652415513992,
-0.0012154035503044724,
0.005695310886949301,
-0.005428721662610769,
0.003882505465298891,
-0.013562110252678394,
0.01960156299173832,
0.01377538125962019,
-0.02820996381342411,
-0.015772376209497452,
0.025573156774044037,
-0.01354272197932005,
0.025747651234269142,
-0.0331152006983757,
0.0060103703290224075,
0.044244080781936646,
-0.05665258690714836,
0.028733449056744576,
-0.01354272197932005,
0.059289395809173584,
-0.0008736848831176758,
0.021249568089842796,
-0.0002612875250633806,
-0.0200668815523386,
0.010489066131412983,
0.014890207909047604,
-0.0027458667755126953,
0.021908769384026527,
0.018690314143896103,
0.030575336888432503,
0.011119185015559196,
-0.007159126922488213,
0.01400804053992033,
-0.0010566619457677007,
-0.044554293155670166,
0.059754714369773865,
0.015636656433343887,
-0.03635304793715477,
0.04048275202512741,
-0.021443450823426247,
0.045717593282461166,
-0.08352476358413696,
-0.053162697702646255,
0.0008130964706651866,
-0.02774464525282383,
-0.018758172169327736,
0.052270833402872086,
-0.03358052298426628,
0.006572630722075701,
-0.032126400619745255,
0.013571804389357567,
-0.035131584852933884,
0.03493770211935043,
0.024254752323031425,
0.006936161313205957,
0.06483444571495056,
0.051960621029138565,
0.000480163173051551,
-0.0736367329955101,
0.001322039170190692,
0.013533027842640877,
0.012418201193213463,
0.024564966559410095,
0.003106973832473159,
-0.01562696322798729,
0.03763267397880554,
0.0009245791588909924,
-0.008715037256479263,
0.011991658248007298,
-0.04645434767007828,
0.04028886929154396,
0.018331630155444145,
0.011235514655709267,
0.030711054801940918,
0.009398474358022213
] |
9,767 | cloudscraper.user_agent | __init__ | null | def __init__(self, *args, **kwargs):
self.headers = None
self.cipherSuite = []
self.loadUserAgent(*args, **kwargs)
| (self, *args, **kwargs) | [
-0.048359744250774384,
-0.035662706941366196,
-0.03189869597554207,
-0.019375119358301163,
-0.042080607265233994,
-0.009999781847000122,
-0.020519934594631195,
0.0392359159886837,
-0.012636324390769005,
0.0261052418500185,
0.022011661902070045,
0.07080504298210144,
-0.02993863634765148,
0.062097515910863876,
-0.0008336765458807349,
-0.029036659747362137,
0.031083449721336365,
0.040137894451618195,
0.0028620364610105753,
-0.09359726309776306,
-0.05082282796502113,
0.03583616390824318,
0.017779316753149033,
0.0690704807639122,
-0.01519481185823679,
0.06351986527442932,
-0.00472236005589366,
-0.028325486928224564,
0.04405801370739937,
-0.010181911289691925,
-0.013815830461680889,
0.008915676735341549,
-0.029279500246047974,
0.07791677117347717,
0.019964871928095818,
-0.047700606286525726,
0.006998979952186346,
-0.01864660158753395,
-0.09477677196264267,
0.012991910800337791,
-0.04839443415403366,
-0.04690270498394966,
0.03483011573553085,
-0.03274863585829735,
-0.03788295388221741,
0.04187246039509773,
-0.0011675807181745768,
0.022948328405618668,
-0.016166169196367264,
-0.030406968668103218,
-0.04530690237879753,
0.06778690218925476,
0.04246221482753754,
-0.013156694360077381,
-0.038021720945835114,
0.08887924253940582,
-0.007705816067755222,
0.056338753551244736,
-0.03113548643887043,
0.10546170920133591,
-0.05640813708305359,
-0.012402158230543137,
0.011526200920343399,
0.010459442622959614,
-0.03240172192454338,
-0.015411632135510445,
-0.05706727132201195,
0.03474338725209236,
0.03666875883936882,
0.017744624987244606,
0.06948677450418472,
0.040450114756822586,
-0.04811690375208855,
0.0084299985319376,
0.038438014686107635,
0.026139933615922928,
-0.11677108705043793,
0.008390970528125763,
-0.03708505257964134,
0.023486044257879257,
0.011847096495330334,
0.02889789454638958,
-0.010797683149576187,
-0.004644304513931274,
0.051759496331214905,
-0.05897529795765877,
0.0019643977284431458,
-0.043225422501564026,
0.02280956320464611,
0.05106566846370697,
-0.07687602937221527,
0.033650610595941544,
-0.02986925281584263,
0.017415057867765427,
-0.018924131989479065,
-0.016487063840031624,
0.000799527217168361,
0.03274863585829735,
-0.02067604474723339,
-0.022202463820576668,
-0.026504192501306534,
-0.008993732742965221,
-0.038750238716602325,
-0.021820859983563423,
-0.025116538628935814,
-0.03951345011591911,
-0.02666030265390873,
-0.05255739763379097,
0.034795425832271576,
0.04256628826260567,
0.013512280769646168,
-0.05338998883962631,
0.001267318380996585,
0.07777801156044006,
-0.01599271222949028,
-0.03861147165298462,
-0.024561475962400436,
-0.0305804256349802,
-0.00402419688180089,
0.04038073122501373,
-0.03680752217769623,
0.05075344443321228,
-0.004412306006997824,
0.05821208655834198,
0.026191970333456993,
-0.006335508078336716,
-0.012011880055069923,
-0.041525546461343765,
0.06036294996738434,
-0.04020727425813675,
0.07874936610460281,
-0.021300489082932472,
-0.002562823472544551,
-0.0009843670995905995,
0.013026602566242218,
-0.044925298541784286,
-0.003564536338672042,
0.004731032997369766,
0.019704686477780342,
0.022896291688084602,
-0.008013701997697353,
0.009704905562102795,
0.03228030353784561,
-0.05189825966954231,
-0.026486845687031746,
0.034275054931640625,
0.0056243352591991425,
-0.07916565984487534,
-0.03548924997448921,
-0.03788295388221741,
0.04561912640929222,
-0.011717003770172596,
0.016669193282723427,
-0.03351184353232384,
-0.00012121645704610273,
-0.013781138695776463,
-0.028724437579512596,
-0.009548794478178024,
0.0007350230007432401,
0.014544349163770676,
0.011387435719370842,
-0.007267837878316641,
-0.04097048565745354,
-0.03377202898263931,
0.006920924410223961,
-0.0025303002912551165,
0.03158647567033768,
-0.05446542054414749,
0.011725676245987415,
0.008950368501245975,
-0.056893814355134964,
-0.03137832507491112,
-0.06345047801733017,
0.013711756095290184,
0.006339844316244125,
0.019323082640767097,
-0.027354130521416664,
-0.0282734502106905,
-0.043017275631427765,
0.034916844218969345,
-0.0012597296154126525,
-0.02187289670109749,
-0.05359813570976257,
0.03418832644820213,
0.05120443180203438,
0.043641719967126846,
0.04284381866455078,
0.023815611377358437,
0.01779666356742382,
0.01824765093624592,
0.0062964800745248795,
-0.00629214383661747,
-0.009349319152534008,
0.009236572310328484,
0.03510764613747597,
-0.014882589690387249,
0.00399817805737257,
-0.010945120826363564,
-0.01854252628982067,
0.025029810145497322,
-0.010364040732383728,
0.04489060863852501,
0.0019980049692094326,
-0.0417683869600296,
-0.006725785788148642,
0.01854252628982067,
0.016140151768922806,
0.019236354157328606,
-0.03228030353784561,
0.01821295917034149,
0.018802711740136147,
-0.012870491482317448,
0.008889658376574516,
0.015116755850613117,
0.01653910055756569,
-0.027336783707141876,
-0.012775089591741562,
0.00938400998711586,
0.029782524332404137,
0.0054161869920790195,
0.06636455655097961,
0.028533635661005974,
-0.018837403506040573,
-0.05810801312327385,
-0.024335982277989388,
0.005398841574788094,
0.01237613894045353,
-0.030198819935321808,
-0.07944319397211075,
-0.003822553204372525,
0.0034864807967096567,
-0.025029810145497322,
0.0654972717165947,
0.07909628003835678,
-0.026573574170470238,
0.010398732498288155,
0.02185555174946785,
0.049296408891677856,
-0.0726436898112297,
-0.047076161950826645,
0.037258509546518326,
0.026504192501306534,
-0.006630384363234043,
0.009496756829321384,
0.008174149319529533,
0.05495109781622887,
-0.010849719867110252,
0.04138678312301636,
-0.03295678272843361,
-0.009609503671526909,
0.000861863256432116,
-0.014206107705831528,
-0.027128636837005615,
-0.03049369715154171,
-0.04992085322737694,
-0.01663450337946415,
0.03902776911854744,
-0.009305954910814762,
0.013902558945119381,
-0.038021720945835114,
0.028724437579512596,
-0.03569740056991577,
-0.013833176344633102,
0.03254048526287079,
0.0018592395354062319,
0.050684064626693726,
0.03996443748474121,
0.005047591403126717,
-0.035437215119600296,
-0.024283945560455322,
0.052279867231845856,
0.005047591403126717,
0.01235879398882389,
0.036079004406929016,
0.011031849309802055,
-0.04842912405729294,
-0.03169054910540581,
-0.008815939538180828,
-0.03026820346713066,
0.02067604474723339,
0.11579972505569458,
0.004119597841054201,
0.00010570020822342485,
0.014023978263139725,
-0.0076234242878854275,
-0.03753603994846344,
-0.028811166062951088,
0.03937468305230141,
-0.034066908061504364,
-0.04097048565745354,
-0.02025974914431572,
0.01482187956571579,
0.021508637815713882,
0.0027167664375156164,
0.04263567179441452,
-0.014769842848181725,
-0.0152902128174901,
0.0631035640835762,
0.04346826300024986,
0.0025671599432826042,
-0.0201383288949728,
-0.03621777147054672,
-0.007107390556484461,
-0.027059253305196762,
-0.0057457550428807735,
-0.031933389604091644,
0.013685737736523151,
0.0381951779127121,
-0.01242817658931017,
0.010338022373616695,
0.06688492745161057,
0.02365950122475624,
-0.007371912244707346,
-0.0011263848282396793,
-0.03420567139983177,
0.016929378733038902,
0.004492530133575201,
0.025654254481196404,
0.01204657182097435,
0.025099191814661026,
-0.03130894526839256,
-0.020086292177438736,
-0.002315647667273879,
0.00392229063436389,
0.0734068974852562,
0.011968515813350677,
0.042809125036001205,
-0.021838204935193062,
-0.03113548643887043,
0.028290797024965286,
-0.05845492705702782,
0.04135208949446678,
0.014639750123023987,
-0.018091538920998573,
-0.02813468500971794,
0.017675243318080902,
-0.03691159561276436,
0.024335982277989388,
0.001493896241299808,
-0.05696319788694382,
-0.020554624497890472,
-0.07528023421764374,
-0.06227097287774086,
0.023173822090029716,
-0.0028186722192913294,
-0.08402245491743088,
-0.01727629266679287,
-0.02291363663971424,
0.03552394360303879,
-0.05599183961749077,
-0.01864660158753395,
-0.053563445806503296,
0.068168506026268,
0.06678085029125214,
0.07125603407621384,
0.010875738225877285,
-0.041421473026275635,
-0.041213326156139374,
0.018282342702150345,
-0.04079702869057655,
0.04277443513274193,
0.02386764995753765,
-0.0432601124048233,
0.01920166239142418,
-0.03283536434173584,
-0.0466945581138134,
0.03861147165298462,
0.01673857681453228,
0.03441381826996803,
-0.005845492705702782,
0.020519934594631195,
-0.0392359159886837,
-0.026157278567552567,
0.0024348990991711617,
0.012246047146618366,
-0.05800393968820572,
-0.029383573681116104,
-0.002203984884545207,
-0.06216689944267273,
-0.00784458126872778,
-0.010338022373616695,
0.05765702575445175,
0.028949931263923645,
0.007857590913772583,
-0.020173020660877228,
-0.032020118087530136,
-0.03403221443295479,
0.05359813570976257,
0.05189825966954231,
0.046555791050195694,
0.02024240233004093,
-0.005815137643367052,
0.0025281321723014116,
0.006487282458692789,
0.010320676490664482,
0.011448145844042301,
-0.023919686675071716,
0.03146505355834961,
-0.016183514147996902,
-0.037258509546518326,
0.03006005473434925,
-0.028620364144444466,
-0.011821078136563301,
0.04561912640929222,
-0.023486044257879257,
0.03743196651339531,
0.07583529502153397,
0.009089133702218533,
0.05061468109488487,
-0.01994752697646618,
-0.00782723631709814,
-0.005342468153685331,
-0.05696319788694382,
-0.06345047801733017,
-0.041629619896411896,
0.01182975061237812,
0.04128270596265793,
0.031933389604091644,
0.06778690218925476,
0.027423512190580368,
0.010693608783185482,
0.024665549397468567,
-0.0084299985319376,
0.01769258826971054,
0.02759696915745735,
0.015749873593449593,
0.007966001518070698,
-0.06813381612300873,
0.03899307921528816,
-0.04829036071896553,
-0.043017275631427765,
0.06959085166454315,
-0.0407276451587677,
-0.008317251689732075,
0.04402332380414009,
0.023694192990660667,
-0.07333751767873764,
0.010320676490664482,
-0.02952233888208866,
-0.003406256902962923,
-0.05276554450392723,
-0.04541097953915596,
0.0020153506193310022,
0.054742950946092606,
0.022341229021549225,
-0.03621777147054672,
-0.05637344345450401,
0.027753081172704697,
-0.03335573524236679,
-0.04541097953915596,
-0.04763122275471687,
0.009184534661471844,
-0.014865243807435036,
-0.049643322825431824,
-0.02515122853219509,
0.018611909821629524,
0.015203484334051609,
0.05491640791296959,
0.020311785861849785,
-0.006175060290843248,
0.035766784101724625,
-0.011370089836418629,
0.04020727425813675,
-0.019444502890110016,
-0.04048480466008186,
0.09526244550943375,
0.017883392050862312,
0.020086292177438736,
-0.010632898658514023,
-0.025394069030880928,
-0.04273974522948265,
0.028325486928224564,
-0.01866394653916359,
-0.023746229708194733,
0.01843845285475254,
0.03113548643887043,
-0.0007176772924140096,
-0.019219007343053818,
-0.04832505062222481,
-0.04711085557937622,
-0.01412805262953043,
-0.006018949206918478,
0.06702368706464767,
-0.0009675634792074561,
-0.009505430236458778,
-0.05040653422474861,
0.020745428279042244,
-0.05630406364798546,
0.045237522572278976,
0.004158625844866037,
-0.031222214922308922,
0.07299060374498367,
-0.049227025359869,
-0.00026425052783451974,
0.02804795652627945,
0.056442826986312866,
0.013468916527926922,
0.021612711250782013,
-0.031222214922308922,
0.009965090081095695,
-0.011309380643069744,
-0.01875067502260208,
0.016122804954648018,
-0.03137832507491112,
0.008434334769845009,
-0.01835172437131405,
-0.055055174976587296,
0.018317032605409622,
-0.004544566851109266,
0.04534159600734711,
0.0013963268138468266,
0.03649530187249184,
-0.01568916253745556,
-0.024023760110139847,
0.033338386565446854,
0.025827711448073387,
-0.07819430530071259,
0.038542091846466064,
-0.024006415158510208,
0.06421369314193726,
0.06268727034330368,
0.0793738067150116,
0.06327702105045319,
-0.0253593772649765,
-0.005234057549387217,
0.017779316753149033,
-0.005203702487051487,
0.026903143152594566,
0.05318184196949005,
0.040241967886686325,
-0.0049695358611643314,
-0.027423512190580368,
-0.04756184294819832,
0.03659937530755997,
0.03411894291639328,
0.03951345011591911,
-0.04926171898841858,
0.0009030592045746744,
0.028290797024965286,
-0.03403221443295479,
0.03559332713484764,
0.003180763218551874,
-0.006010276731103659,
-0.0358014740049839,
-0.08436936140060425,
-0.05578369274735451,
-0.035020917654037476,
0.045792583376169205,
-0.024648204445838928,
-0.024474747478961945,
-0.02986925281584263,
-0.036842215806245804,
0.018525181338191032,
-0.03313023969531059,
0.007194119039922953,
-0.038333941251039505,
0.0050909556448459625,
-0.03618307784199715,
0.008798593655228615,
0.01274039875715971,
0.024786969646811485,
-0.031603820621967316,
-0.07528023421764374,
0.029695795848965645,
-0.018611909821629524,
-0.008243531920015812,
0.017102835699915886,
0.02986925281584263,
-0.05994665250182152,
-0.037050362676382065,
0.008538409136235714,
-0.009245244786143303,
-0.03519437462091446,
0.0795125737786293,
-0.037050362676382065,
0.019444502890110016,
-0.00922789890319109,
0.06976430863142014,
0.041733693331480026,
-0.022254500538110733,
0.04138678312301636,
0.007909627631306648,
-0.02452678419649601,
-0.07094381004571915,
-0.04839443415403366,
-0.03169054910540581,
0.03175993263721466,
-0.012549595907330513,
-0.008356278762221336,
0.005867174826562405,
-0.014457620680332184,
-0.04992085322737694,
-0.02825610525906086,
-0.0006022201851010323,
-0.048255667090415955,
0.021994316950440407,
0.01854252628982067,
-0.020519934594631195,
-0.01496931817382574,
0.00837796088308096,
-0.017545150592923164,
0.06754405796527863,
0.002510786522179842,
0.00013510654389392585,
0.023832958191633224,
0.02475227788090706,
-0.09103010594844818,
0.050788138061761856,
-0.0208841934800148,
0.006678084842860699,
0.014388238079845905,
0.017380366101861,
-0.009305954910814762,
0.023642156273126602,
-0.016799286007881165,
0.027475548908114433,
-0.019323082640767097,
0.015030027367174625,
0.0096962321549654,
-0.01888944022357464,
-0.02771838940680027,
-0.012419503182172775,
-0.011604256927967072,
0.05130850896239281,
-0.03677283227443695,
-0.00024717586347833276,
0.002445740159600973,
-0.010849719867110252,
-0.0422193743288517,
0.016183514147996902,
0.05578369274735451,
-0.033650610595941544,
0.05918344482779503,
-0.024873698130249977,
0.021716784685850143,
-0.0018115389393642545,
0.02355542778968811,
0.016070768237113953,
0.023156477138400078,
-0.0035038264468312263,
0.030944684520363808,
0.014579039998352528,
0.0422193743288517,
-0.034379128366708755,
-0.0546041876077652,
0.008941696025431156,
-0.04107455909252167,
0.008933022618293762,
0.048151593655347824,
-0.043329495936632156,
0.00236118002794683,
0.01252357754856348,
0.04735369235277176,
0.034708697348833084,
-0.06747467815876007,
0.01012987457215786,
-0.0008483119308948517,
0.06275665014982224,
0.07080504298210144,
-0.03691159561276436,
-0.029817216098308563,
0.04124801605939865,
0.12176664173603058,
-0.017545150592923164,
0.03455258533358574,
0.022896291688084602,
0.014778515323996544,
-0.03356388211250305,
0.005771773401647806,
0.005563625134527683,
0.016070768237113953,
0.05436134710907936,
0.03996443748474121,
0.027579624205827713,
0.008638146333396435,
-0.00575876422226429,
-0.026313388720154762,
-0.11552219837903976,
0.04860258102416992,
0.03906245902180672,
-0.011647621169686317,
0.03240172192454338,
-0.019427156075835228,
-0.060605790466070175,
-0.03436178341507912,
0.03868085518479347,
0.0030354931950569153,
0.05980788916349411,
-0.009184534661471844,
-0.08797726780176163,
-0.03356388211250305,
-0.021022958680987358,
0.005346804391592741,
0.03411894291639328,
-0.0027211029082536697,
0.003427939023822546,
-0.0064786095172166824,
-0.094291090965271,
0.01875067502260208,
0.04006851091980934,
-0.012081262655556202,
-0.030233511701226234,
-0.03899307921528816,
0.017415057867765427,
-0.02142190933227539,
-0.0042366813868284225,
-0.007515013683587313,
0.005546279717236757,
-0.006534983403980732,
-0.0258103646337986,
0.02676437795162201,
-0.015090737491846085,
0.03219357505440712,
-0.0009778623934835196,
0.028915241360664368,
0.05394504964351654,
-0.014405583031475544,
0.022532032802700996,
-0.045896656811237335,
0.03444851189851761,
0.01343422569334507,
0.0041521210223436356,
0.02877647615969181,
0.0129051823168993,
0.046972088515758514,
-0.022219810634851456,
-0.059114061295986176,
0.0025151229929178953,
0.041421473026275635,
0.006964288651943207,
-0.011959843337535858,
-0.01305262092500925,
-0.029071351513266563,
0.015567743219435215,
-0.07382319122552872,
-0.0649075135588646,
0.0031113806180655956,
0.0025433097034692764,
0.027961228042840958,
0.042080607265233994,
-0.04839443415403366,
-0.018490489572286606,
0.0058064647018909454,
0.05363282933831215,
-0.026625610888004303,
0.013347497209906578,
0.021283144131302834,
-0.025394069030880928,
0.05533270537853241,
0.04672924801707268,
-0.03594024106860161,
-0.009331973269581795,
0.02516857534646988,
0.03913184255361557,
-0.0033585564233362675,
-0.029192771762609482,
-0.013269441202282906,
-0.01204657182097435,
0.01359033677726984,
-0.021404562518000603,
-0.03857678174972534,
-0.013043947517871857,
-0.0028815502300858498,
0.0019166971324011683,
0.05959973856806755,
0.03906245902180672,
0.08048393577337265,
0.004429651889950037
] |
9,768 | cloudscraper.user_agent | filterAgents | null | def filterAgents(self, user_agents):
filtered = {}
if self.mobile:
if self.platform in user_agents['mobile'] and user_agents['mobile'][self.platform]:
filtered.update(user_agents['mobile'][self.platform])
if self.desktop:
if self.platform in user_agents['desktop'] and user_agents['desktop'][self.platform]:
filtered.update(user_agents['desktop'][self.platform])
return filtered
| (self, user_agents) | [
0.036386456340551376,
-0.03922107070684433,
-0.10033462941646576,
-0.04506857693195343,
-0.0442841537296772,
-0.03207214176654816,
0.025511523708701134,
-0.061470117419958115,
-0.02183900587260723,
0.02590373530983925,
-0.0013560239458456635,
0.036154698580503464,
-0.0367608405649662,
-0.0025449127424508333,
-0.05412507802248001,
-0.05020297318696976,
-0.027597371488809586,
0.027294300496578217,
0.10012070089578629,
-0.08949535340070724,
-0.03544158488512039,
-0.016642214730381966,
0.029683221131563187,
-0.03121640719473362,
0.0027187333907932043,
0.026082012802362442,
-0.03422929719090462,
-0.03194734454154968,
-0.00018844498845282942,
0.048420194536447525,
-0.0008239767630584538,
-0.013397561386227608,
0.043606702238321304,
-0.023069120943546295,
0.033730123192071915,
-0.015813222154974937,
-0.005486492998898029,
0.04396325722336769,
-0.04300055652856827,
0.026723811402916908,
-0.0740208625793457,
-0.04506857693195343,
0.008628635667264462,
-0.02401399239897728,
0.0033404764253646135,
0.000780521600972861,
0.027383439242839813,
0.038044437766075134,
0.06881515681743622,
-0.004648588597774506,
0.03339139372110367,
0.0008016920764930546,
0.050559528172016144,
0.04981075972318649,
-0.027365611866116524,
0.0069216275587677956,
-0.05605047568678856,
0.012764676474034786,
0.0001929019344970584,
0.038507960736751556,
-0.03360532596707344,
0.006484847515821457,
-0.011837632395327091,
-0.04777839779853821,
0.02583242394030094,
-0.03126988932490349,
-0.019860124215483665,
0.04692266508936882,
-0.039078447967767715,
0.008374590426683426,
-0.042216137051582336,
-0.034764133393764496,
0.03419364243745804,
0.016062811017036438,
0.01811300404369831,
-0.017230529338121414,
-0.06956391781568527,
0.03683215007185936,
0.003799541387706995,
-0.029273182153701782,
0.07487659156322479,
0.0029571796767413616,
-0.031359028071165085,
-0.016392625868320465,
0.007960095070302486,
0.036903463304042816,
-0.009555679745972157,
0.010741225443780422,
0.07958312332630157,
-0.06753155589103699,
-0.006092636846005917,
0.033230945467948914,
-0.0004147739673499018,
0.02451317012310028,
0.02533324621617794,
0.09612727910280228,
-0.024352720007300377,
0.0686725303530693,
-0.005361698567867279,
-0.021535933017730713,
0.021446794271469116,
-0.019111359491944313,
-0.0221420768648386,
-0.012060479260981083,
-0.0000337056080752518,
0.0044123707339167595,
-0.022855188697576523,
0.010857106186449528,
0.047635775059461594,
0.05512343347072601,
-0.058831606060266495,
-0.04349973425269127,
-0.012051565572619438,
0.022498633712530136,
0.02321174368262291,
-0.0006835831445641816,
-0.022855188697576523,
-0.028720520436763763,
0.06050741672515869,
-0.013272766955196857,
-0.08714208751916885,
0.05886726453900337,
0.05234230309724808,
0.02563631907105446,
-0.03487109765410423,
-0.019075702875852585,
-0.0426083467900753,
-0.005615744274109602,
-0.01650850474834442,
0.08735602349042892,
-0.05437466874718666,
-0.05441032350063324,
-0.024976691231131554,
-0.019913608208298683,
0.035869453102350235,
-0.050559528172016144,
-0.07373561710119247,
0.017809933051466942,
0.1261492222547531,
0.03578031435608864,
-0.03194734454154968,
0.0031064872164279222,
-0.02025233581662178,
-0.01889742538332939,
-0.02503017522394657,
-0.013023179024457932,
0.01254182867705822,
0.014235466718673706,
-0.04592430964112282,
-0.07822821289300919,
0.008606350980699062,
0.04196654632687569,
-0.05252058058977127,
-0.01809517666697502,
-0.0020256792195141315,
0.004483681637793779,
-0.021001100540161133,
-0.03947066143155098,
-0.00500068673864007,
0.0528058260679245,
0.03119857981801033,
-0.01969967409968376,
-0.017462290823459625,
-0.0005317686591297388,
-0.03353401646018028,
-0.020145367830991745,
0.02991498075425625,
0.019681846722960472,
0.030556781217455864,
0.008035862818360329,
-0.03964893892407417,
-0.013486700132489204,
-0.04000549390912056,
-0.014984232373535633,
-0.04396325722336769,
0.031305547803640366,
-0.02025233581662178,
-0.0416099913418293,
-0.029736703261733055,
0.046245209872722626,
-0.0023933767806738615,
-0.03444323316216469,
-0.04239441454410553,
-0.024851897731423378,
0.05744104087352753,
0.010883847251534462,
0.023800060153007507,
-0.010447067208588123,
-0.023550471290946007,
0.05872464179992676,
-0.03414015844464302,
-0.012354637496173382,
-0.006422450300306082,
0.011249316856265068,
-0.012720107100903988,
-0.010589689016342163,
-0.02399616502225399,
-0.04799233004450798,
-0.10775098204612732,
-0.01950356923043728,
-0.06164839491248131,
-0.005678141489624977,
-0.04931158199906349,
0.033712293952703476,
-0.011891115456819534,
0.011579129844903946,
0.007607996463775635,
0.01789015717804432,
0.06803072988986969,
-0.02695557288825512,
-0.019539223983883858,
-0.027312127873301506,
0.0034207014832645655,
-0.028185687959194183,
0.021928144618868828,
0.041467368602752686,
0.0029928351286798716,
0.06154142692685127,
-0.009787440299987793,
0.016882888972759247,
-0.02904142066836357,
-0.03542375937104225,
-0.022837361320853233,
-0.01943225786089897,
-0.05088042840361595,
0.039328038692474365,
-0.037188708782196045,
0.016472849994897842,
0.0054686651565134525,
-0.003024033736437559,
0.047849707305431366,
0.013780858367681503,
0.024744931608438492,
0.021215034648776054,
-0.006917170714586973,
0.025244107469916344,
0.035031549632549286,
0.019253980368375778,
0.011454335413873196,
0.05462425574660301,
0.061969295144081116,
0.01650850474834442,
0.04699397459626198,
-0.028684865683317184,
0.03950631618499756,
-0.0491333045065403,
0.03380143269896507,
-0.04403456673026085,
0.039898525923490524,
-0.05783325433731079,
0.011944599449634552,
-0.010152908973395824,
0.0063867950811982155,
0.010331186465919018,
0.011062124744057655,
-0.025404557585716248,
0.0033048209734261036,
0.015314045362174511,
0.011623699218034744,
-0.04499726742506027,
0.013513442128896713,
0.011730666272342205,
0.027579544112086296,
0.011793063022196293,
-0.025137141346931458,
0.01870132051408291,
0.03979156166315079,
0.03996983915567398,
-0.046780042350292206,
-0.02718733437359333,
0.07131104171276093,
-0.0027053626254200935,
-0.002843527588993311,
-0.0005392897292040288,
0.01335299201309681,
0.024210097268223763,
-0.017382066696882248,
-0.031073786318302155,
-0.006627469789236784,
0.019806642085313797,
-0.0018173173302784562,
0.06970654428005219,
-0.02084065042436123,
-0.008619721978902817,
0.07309381663799286,
-0.05045256018638611,
-0.004907090682536364,
0.013156887143850327,
0.0036368630826473236,
-0.02082282304763794,
-0.0013237111270427704,
-0.06104224920272827,
-0.016900716349482536,
-0.04859847202897072,
-0.0011866602580994368,
0.009823095984756947,
0.02217773348093033,
-0.04396325722336769,
0.04082557186484337,
0.002939351834356785,
0.020448440685868263,
0.06778114289045334,
0.018006037920713425,
-0.022748220711946487,
0.017426636070013046,
0.007915525697171688,
0.02240949496626854,
-0.021785521879792213,
0.01598258689045906,
0.0008295479346998036,
-0.005544433370232582,
-0.0421091690659523,
0.011605871841311455,
-0.04349973425269127,
-0.06931433081626892,
-0.012443776242434978,
-0.011311713606119156,
0.019557053223252296,
-0.02030581794679165,
0.0110710384324193,
0.032375212758779526,
0.003231281414628029,
-0.05633572116494179,
0.038507960736751556,
-0.01707007922232151,
-0.043856289237737656,
-0.00021699725766666234,
-0.0175870843231678,
-0.03522765263915062,
0.0024067475460469723,
-0.024334892630577087,
0.003699260065332055,
0.0019276265520602465,
0.03594076260924339,
0.06492870301008224,
0.024192269891500473,
0.005290387663990259,
0.05255623534321785,
0.011962426826357841,
0.0015599289909005165,
-0.07915525138378143,
-0.023835714906454086,
-0.0007443089853040874,
0.03128771856427193,
0.00017994895461015403,
-0.03421147167682648,
-0.007496573030948639,
0.06371641159057617,
-0.010215306654572487,
-0.027829132974147797,
0.046280864626169205,
0.04485464468598366,
0.0356733463704586,
0.02964756451547146,
0.040397703647613525,
-0.036903463304042816,
-0.037759196013212204,
-0.03619035333395004,
0.00720241479575634,
0.04592430964112282,
0.1188041940331459,
0.011668268591165543,
-0.006266457494348288,
-0.00904758833348751,
-0.029415803030133247,
-0.009867665357887745,
0.06353813409805298,
0.03219693526625633,
0.03661821782588959,
-0.07530445605516434,
-0.026848606765270233,
0.02212424948811531,
0.04100384935736656,
0.026812950149178505,
0.050773460417985916,
0.011837632395327091,
0.0006317712250165641,
0.0023398934863507748,
-0.02984366938471794,
0.0745200365781784,
-0.032945699989795685,
0.10133298486471176,
0.018059520050883293,
-0.014190896414220333,
0.020466268062591553,
0.0033003641292452812,
-0.009769611991941929,
0.04285793378949165,
-0.009930062107741833,
-0.00906987302005291,
-0.014226552098989487,
-0.015652773901820183,
-0.0314125120639801,
0.05833243206143379,
-0.010357928462326527,
0.00607480900362134,
-0.06289633363485336,
0.024085303768515587,
0.021125895902514458,
-0.0239783376455307,
-0.011579129844903946,
-0.003792855888605118,
-0.019895780831575394,
0.0024067475460469723,
-0.03216128051280975,
0.0015276161720976233,
-0.022516461089253426,
-0.037973128259181976,
0.021696383133530617,
-0.00027535532717593014,
0.0020513066556304693,
-0.05034559220075607,
0.026795122772455215,
-0.009377401322126389,
-0.03950631618499756,
0.022052938118577003,
0.04909764975309372,
-0.028185687959194183,
0.043891943991184235,
0.03390840068459511,
0.0178812425583601,
-0.06603401899337769,
-0.0659983679652214,
-0.015474495477974415,
0.037224363535642624,
-0.04157433658838272,
-0.024085303768515587,
-0.05990127474069595,
0.03711739555001259,
-0.016143037006258965,
0.04952551797032356,
-0.009172382764518261,
-0.03125206381082535,
-0.04717225208878517,
0.024905379861593246,
0.018576525151729584,
-0.000020230329027981497,
0.0314125120639801,
0.013263853266835213,
0.01227441243827343,
-0.05287713557481766,
-0.06221888214349747,
-0.0038329684175550938,
0.01092841662466526,
-0.03779485076665878,
-0.018059520050883293,
-0.03790181875228882,
0.04235875606536865,
0.03273176774382591,
-0.001455190940760076,
-0.008913880214095116,
-0.042537033557891846,
-0.0372600182890892,
-0.024691447615623474,
0.07751510292291641,
0.04724356532096863,
0.06311026960611343,
0.07901263236999512,
-0.003044090000912547,
0.019414430484175682,
0.048669785261154175,
-0.02611766755580902,
-0.045781686902046204,
0.0022674682550132275,
-0.024406204000115395,
0.07573232054710388,
-0.015661686658859253,
-0.04756446182727814,
0.012185273692011833,
0.06471476703882217,
0.02617115154862404,
0.012497259303927422,
0.034799788147211075,
-0.016963113099336624,
-0.00512548116967082,
0.022534288465976715,
0.006623012945055962,
0.027846960350871086,
-0.04168130084872246,
-0.0136204082518816,
-0.007304924540221691,
0.003235738491639495,
-0.0008679890306666493,
-0.015804309397935867,
-0.00720687210559845,
-0.04417718946933746,
0.017230529338121414,
-0.043927598744630814,
0.03282090649008751,
0.052663203328847885,
0.012069393880665302,
-0.040682949125766754,
0.0004281447909306735,
-0.008535039611160755,
0.032179106026887894,
0.03554855287075043,
0.05861767381429672,
0.06460779905319214,
0.06328854709863663,
0.009243693202733994,
-0.01453853864222765,
0.028132205829024315,
-0.031323373317718506,
-0.0021593873389065266,
-0.006970654241740704,
-0.06692541390657425,
0.03608338534832001,
-0.015955844894051552,
-0.035102859139442444,
0.037438295781612396,
0.006489304825663567,
-0.06410862505435944,
0.031858205795288086,
-0.07173890620470047,
-0.03996983915567398,
-0.05843939632177353,
-0.05145091563463211,
-0.0016891802661120892,
-0.02987932600080967,
0.030004119500517845,
0.0226412545889616,
0.006524960044771433,
0.04021942615509033,
-0.01843390427529812,
0.018861770629882812,
-0.005450837779790163,
0.012515087611973286,
0.03233955800533295,
0.007942266762256622,
-0.040932536125183105,
-0.03442540392279625,
0.010295531712472439,
-0.058011531829833984,
0.030289363116025925,
0.0474574975669384,
0.013442130759358406,
0.0012345723807811737,
0.025796769186854362,
0.019806642085313797,
0.04567472264170647,
0.08414702862501144,
0.003910964820533991,
0.0030128913931548595,
0.028863143175840378,
0.048634130507707596,
-0.036101214587688446,
0.006926084868609905,
-0.021482450887560844,
0.019842296838760376,
0.004376715049147606,
-0.015429926104843616,
-0.013272766955196857,
0.009377401322126389,
0.014057188294827938,
0.005112110171467066,
-0.043927598744630814,
0.003474184777587652,
0.0035945221316069365,
-0.013896739110350609,
0.01227441243827343,
0.02617115154862404,
-0.042786624282598495,
-0.037224363535642624,
0.00840133149176836,
-0.09655515104532242,
-0.027365611866116524,
-0.038294028490781784,
0.061470117419958115,
-0.014083930291235447,
0.006676496006548405,
0.017123563215136528,
-0.03939934819936752,
-0.04592430964112282,
0.020216679200530052,
-0.005522148683667183,
-0.00607480900362134,
0.026082012802362442,
0.012354637496173382,
0.0030552323441952467,
-0.033765777945518494,
-0.04471202194690704,
0.001480818260461092,
-0.012327895499765873,
-0.07744378596544266,
-0.0010830364190042019,
-0.04620955511927605,
0.05219968035817146,
0.021696383133530617,
0.014092843979597092,
0.01603607088327408,
0.03783050552010536,
0.005687055177986622,
0.005976756568998098,
0.026295945048332214,
-0.024905379861593246,
-0.036422114819288254,
0.023817887529730797,
0.004035759251564741,
-0.053233690559864044,
0.03524548187851906,
0.005927730351686478,
-0.02665250189602375,
0.04802798479795456,
-0.046316519379615784,
0.05326934531331062,
-0.06428690254688263,
-0.04806363955140114,
-0.03043198585510254,
-0.032642628997564316,
-0.08200769871473312,
-0.019414430484175682,
0.04371366649866104,
0.027811305597424507,
0.11010424792766571,
0.07416348159313202,
0.0544816330075264,
0.005036341957747936,
-0.03790181875228882,
0.004251920618116856,
-0.04021942615509033,
-0.01891525276005268,
-0.06721065193414688,
-0.0005342756630852818,
-0.017284013330936432,
0.011525646783411503,
-0.07922656834125519,
0.005976756568998098,
0.04742184281349182,
-0.009707215242087841,
0.011133436113595963,
0.0004791210521943867,
-0.035102859139442444,
0.05897422879934311,
0.014788126572966576,
-0.03608338534832001,
0.01438700221478939,
-0.004884805995970964,
-0.0070018526166677475,
-0.03651125356554985,
-0.032945699989795685,
-0.010937330313026905,
0.032393038272857666,
0.003311506472527981,
-0.0035053833853453398,
-0.024352720007300377,
0.00044931526645086706,
-0.03148382529616356,
0.07551839202642441,
0.010090512223541737,
-0.03654690831899643,
-0.0019265123410150409,
0.017676223069429398,
-0.026278117671608925,
0.031911689788103104,
-0.07387823611497879,
0.01519816555082798,
0.006297656334936619,
0.029451459646224976,
0.011801976710557938,
-0.011900030076503754,
0.0003406773612368852,
0.08742733299732208,
0.045710377395153046,
-0.0678524523973465,
0.052627548575401306,
-0.03153730556368828,
0.017016597092151642,
-0.011124522425234318,
0.05840374156832695,
0.007590168621391058,
0.07238070666790009,
-0.008392417803406715,
0.006565072573721409,
-0.02481624111533165,
-0.012212015688419342,
0.024691447615623474,
-0.009029760025441647,
-0.002616223879158497,
-0.05469556897878647,
-0.06239715963602066,
0.0020401643123477697,
-0.017961468547582626,
-0.031911689788103104,
-0.030984647572040558,
-0.002961636520922184,
0.043606702238321304,
0.016080640256404877,
0.01438700221478939,
-0.029808014631271362,
0.02986149862408638,
0.016455022618174553,
-0.09940759092569351,
0.023800060153007507,
0.018487386405467987,
0.04050467163324356,
0.01815757341682911,
0.0046263039112091064,
0.03273176774382591,
0.015207079239189625,
0.040932536125183105,
-0.02636725641787052,
0.042251791805028915,
-0.04189523681998253,
0.00526810297742486,
-0.023924853652715683,
-0.025226280093193054,
0.01147216372191906,
0.04218047857284546,
0.046530451625585556,
-0.042287446558475494,
-0.0399341806769371,
-0.014431571587920189,
0.026545533910393715,
-0.005776194389909506,
0.044961608946323395,
0.025386730208992958,
-0.021981628611683846,
0.015376443043351173,
0.06763852387666702,
-0.04371366649866104,
0.06721065193414688,
0.07665936648845673,
-0.02344350516796112,
0.032446522265672684,
-0.03223259001970291,
-0.019253980368375778,
-0.000464635988464579,
-0.05359024554491043,
0.014618762768805027,
0.0038530246820300817,
-0.01762274093925953,
0.011935684829950333,
-0.024192269891500473,
0.03440757840871811,
-0.06043610721826553,
0.0010585231939330697,
-0.008169570937752724,
-0.051058705896139145,
-0.04592430964112282,
0.07141800969839096,
0.0013437673915177584,
0.04424849897623062,
-0.020947618409991264,
-0.0012646566610783339,
-0.053732868283987045,
-0.03783050552010536,
0.013905652798712254,
-0.01570625603199005,
0.04178826883435249,
0.02271256595849991,
0.00921695213764906,
0.0010184107813984156,
0.0431075245141983,
-0.03414015844464302,
0.03043198585510254,
0.02533324621617794,
-0.012203102000057697,
-0.030057603493332863,
0.008958449587225914,
0.028613554313778877,
-0.029433632269501686,
0.04021942615509033,
-0.05255623534321785,
0.0003100358881056309,
0.037759196013212204,
-0.03968459367752075,
0.030467642471194267,
-0.021749867126345634
] |
9,769 | cloudscraper.user_agent | loadUserAgent | null | def loadUserAgent(self, *args, **kwargs):
self.browser = kwargs.pop('browser', None)
self.platforms = ['linux', 'windows', 'darwin', 'android', 'ios']
self.browsers = ['chrome', 'firefox']
if isinstance(self.browser, dict):
self.custom = self.browser.get('custom', None)
self.platform = self.browser.get('platform', None)
self.desktop = self.browser.get('desktop', True)
self.mobile = self.browser.get('mobile', True)
self.browser = self.browser.get('browser', None)
else:
self.custom = kwargs.pop('custom', None)
self.platform = kwargs.pop('platform', None)
self.desktop = kwargs.pop('desktop', True)
self.mobile = kwargs.pop('mobile', True)
if not self.desktop and not self.mobile:
sys.tracebacklimit = 0
raise RuntimeError("Sorry you can't have mobile and desktop disabled at the same time.")
with open(os.path.join(os.path.dirname(__file__), 'browsers.json'), 'r') as fp:
user_agents = json.load(
fp,
object_pairs_hook=OrderedDict
)
if self.custom:
if not self.tryMatchCustom(user_agents):
self.cipherSuite = [
ssl._DEFAULT_CIPHERS,
'!AES128-SHA',
'!ECDHE-RSA-AES256-SHA',
]
self.headers = OrderedDict([
('User-Agent', self.custom),
('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'),
('Accept-Language', 'en-US,en;q=0.9'),
('Accept-Encoding', 'gzip, deflate, br')
])
else:
if self.browser and self.browser not in self.browsers:
sys.tracebacklimit = 0
raise RuntimeError(f'Sorry "{self.browser}" browser is not valid, valid browsers are [{", ".join(self.browsers)}].')
if not self.platform:
self.platform = random.SystemRandom().choice(self.platforms)
if self.platform not in self.platforms:
sys.tracebacklimit = 0
raise RuntimeError(f'Sorry the platform "{self.platform}" is not valid, valid platforms are [{", ".join(self.platforms)}]')
filteredAgents = self.filterAgents(user_agents['user_agents'])
if not self.browser:
# has to be at least one in there...
while not filteredAgents.get(self.browser):
self.browser = random.SystemRandom().choice(list(filteredAgents.keys()))
if not filteredAgents[self.browser]:
sys.tracebacklimit = 0
raise RuntimeError(f'Sorry "{self.browser}" browser was not found with a platform of "{self.platform}".')
self.cipherSuite = user_agents['cipherSuite'][self.browser]
self.headers = user_agents['headers'][self.browser]
self.headers['User-Agent'] = random.SystemRandom().choice(filteredAgents[self.browser])
if not kwargs.get('allow_brotli', False) and 'br' in self.headers['Accept-Encoding']:
self.headers['Accept-Encoding'] = ','.join([
encoding for encoding in self.headers['Accept-Encoding'].split(',') if encoding.strip() != 'br'
]).strip()
| (self, *args, **kwargs) | [
-0.0012317211367189884,
-0.04883604496717453,
-0.060632385313510895,
0.010256375186145306,
-0.014030801132321358,
-0.023029033094644547,
-0.010467742569744587,
0.001419184380210936,
-0.07363654673099518,
-0.00887241866439581,
0.05660632997751236,
0.09533698111772537,
-0.031141534447669983,
0.035992931574583054,
-0.008661050349473953,
-0.045413900166749954,
0.021418612450361252,
0.044367123395204544,
0.03891181945800781,
-0.11168276518583298,
-0.054995909333229065,
0.03565071523189545,
0.03104088269174099,
0.008474845439195633,
0.0120882298797369,
0.06634938716888428,
-0.04154888540506363,
0.008847255259752274,
0.03315456211566925,
0.015248682349920273,
-0.020341642200946808,
-0.010346961207687855,
0.018821805715560913,
0.03619423508644104,
0.05479460582137108,
-0.030537625774741173,
0.015158096328377724,
0.006874488666653633,
-0.08929789811372757,
-0.03180583193898201,
-0.10620732605457306,
-0.09276030212640762,
0.06196098402142525,
-0.04762822762131691,
-0.04948021471500397,
-0.004733130801469088,
-0.019294867292046547,
0.08382245898246765,
-0.04336060956120491,
-0.050124384462833405,
-0.012772658839821815,
0.02030138112604618,
0.040099505335092545,
0.034905895590782166,
-0.05435173958539963,
0.07689765095710754,
-0.0444476455450058,
0.04642041400074959,
-0.012521030381321907,
0.07597165554761887,
-0.03331560268998146,
-0.009984616190195084,
-0.019777994602918625,
-0.014554188586771488,
0.007075791247189045,
-0.024256980046629906,
-0.026672612875699997,
0.025605708360671997,
0.009843704290688038,
0.04352165386080742,
0.04565546289086342,
0.059706393629312515,
-0.023975156247615814,
0.010437547229230404,
0.04505155235528946,
0.014966858550906181,
-0.10813983529806137,
0.011283018626272678,
-0.019405584782361984,
0.03011489100754261,
0.04440738633275032,
0.026350529864430428,
0.0696910098195076,
-0.047708749771118164,
0.014322689734399319,
-0.035811759531497955,
0.016577281057834625,
0.022264083847403526,
0.06671173125505447,
-0.02060333639383316,
-0.06634938716888428,
-0.008429552428424358,
0.005742160603404045,
0.037482570856809616,
-0.007035531103610992,
0.028705772012472153,
0.033053912222385406,
0.04702432081103325,
-0.002659712452441454,
-0.04215279594063759,
-0.0044336928986012936,
0.010029909200966358,
-0.04126706346869469,
-0.06912735849618912,
0.021499132737517357,
-0.012651877477765083,
-0.003019541036337614,
0.03259091451764107,
-0.011252823285758495,
0.022243952378630638,
-0.028927205130457878,
-0.08104448765516281,
-0.009436066262423992,
0.04642041400074959,
-0.009108949452638626,
-0.04034106805920601,
-0.05141272023320198,
-0.029027855023741722,
0.03299351781606674,
0.04943995550274849,
-0.0846276730298996,
0.06900657713413239,
0.005812616553157568,
0.03194674476981163,
0.019244542345404625,
0.0004799812159035355,
0.000014566927347914316,
-0.017412686720490456,
0.016547085717320442,
0.051936108618974686,
0.02802134118974209,
-0.016506824642419815,
0.04742692783474922,
0.013507413677871227,
0.016063958406448364,
-0.020734181627631187,
-0.10540211945772171,
0.030980492010712624,
0.08197047561407089,
0.019284803420305252,
-0.03571110591292381,
-0.03619423508644104,
0.019657213240861893,
-0.05282184109091759,
0.013024287298321724,
0.019546495750546455,
0.0002975506067741662,
-0.06192072480916977,
-0.04577624425292015,
-0.012742463499307632,
0.10491898655891418,
0.011464191600680351,
-0.020563075318932533,
-0.07560931146144867,
-0.017684446647763252,
-0.015711678192019463,
-0.04011963680386543,
-0.016597410663962364,
-0.019727669656276703,
0.025947922840714455,
0.010261407122015953,
-0.02389463596045971,
0.01005507167428732,
-0.018368875607848167,
-0.003235941519960761,
0.02874603122472763,
-0.002205523196607828,
-0.013517479412257671,
0.037220876663923264,
0.018127312883734703,
-0.06345062702894211,
-0.003454858437180519,
-0.022747209295630455,
-0.0011059069074690342,
-0.018902327865362167,
0.02554531767964363,
-0.053184185177087784,
-0.0762534812092781,
-0.03647605702280998,
0.030759058892726898,
0.003029606305062771,
-0.0471048429608345,
-0.026551831513643265,
-0.00027175870491191745,
0.027920691296458244,
0.06006873771548271,
0.03681827336549759,
-0.04032094031572342,
0.01316519919782877,
0.06357140839099884,
-0.023149816319346428,
0.019757864996790886,
0.014030801132321358,
-0.015439920127391815,
0.032611045986413956,
-0.016849039122462273,
0.0017010081792250276,
-0.018992913886904716,
-0.002730168402194977,
-0.008771766908466816,
-0.026692744344472885,
0.03059801645576954,
0.005480467341840267,
-0.002142616081982851,
-0.004179548006504774,
0.004353171680122614,
0.005430141463875771,
-0.008067207410931587,
0.06820137053728104,
0.033255212008953094,
-0.058659620583057404,
-0.036294884979724884,
-0.05040620639920235,
0.02953111194074154,
0.02614922635257244,
-0.025525188073515892,
0.014050931669771671,
0.023512160405516624,
-0.03738192096352577,
0.002355242148041725,
0.01681884378194809,
0.013346372172236443,
-0.04271644353866577,
-0.050285425037145615,
-0.0184896569699049,
0.010140625759959221,
-0.007055661175400019,
-0.004994824528694153,
-0.005606281571090221,
0.0590219646692276,
0.0033743372187018394,
-0.014413276687264442,
0.07403914630413055,
0.05958561226725578,
-0.04517233744263649,
0.032168179750442505,
0.038408562541007996,
0.044165823608636856,
-0.0254245363175869,
-0.0002483258140273392,
0.027196001261472702,
0.02359268069267273,
-0.002888694405555725,
0.005862942431122065,
0.023351117968559265,
-0.002928955014795065,
0.011232692748308182,
0.016114285215735435,
-0.026249878108501434,
-0.024297241121530533,
-0.029712283983826637,
0.0232907272875309,
0.011333344504237175,
-0.06538312882184982,
-0.044487904757261276,
-0.0305778868496418,
0.03899234160780907,
-0.014664905145764351,
0.020240990445017815,
-0.034281857311725616,
0.027135610580444336,
-0.03194674476981163,
0.0371604859828949,
0.057733625173568726,
-0.0435619130730629,
0.005938430782407522,
0.02858498878777027,
0.06518182903528214,
-0.02721613086760044,
0.023653073236346245,
-0.03653644770383835,
0.0014078610111027956,
-0.0453333780169487,
0.051976367831230164,
0.032490264624357224,
-0.01941565051674843,
-0.0275583453476429,
0.01474542636424303,
-0.0073576150462031364,
-0.010316765867173672,
0.047225624322891235,
0.028242774307727814,
0.03297339007258415,
0.011856731958687305,
-0.03685853257775307,
-0.02081470377743244,
-0.020583204925060272,
-0.037804655730724335,
0.007649504113942385,
0.002979280659928918,
-0.03516758978366852,
-0.02312968485057354,
-0.0011071651242673397,
-0.01118236780166626,
0.01148432120680809,
-0.03631501644849777,
0.036294884979724884,
0.04094497859477997,
0.059867434203624725,
-0.014876272529363632,
-0.004280199762433767,
0.006733576767146587,
0.013255785219371319,
-0.042998265475034714,
0.023492030799388885,
-0.0517348051071167,
0.012239206582307816,
-0.048151616007089615,
-0.03496628627181053,
0.010256375186145306,
0.018550047650933266,
0.005410011392086744,
0.057290758937597275,
0.010427482426166534,
-0.007282126694917679,
0.02723626047372818,
0.0023011420853435993,
0.043119046837091446,
0.01686917059123516,
-0.0012078164145350456,
-0.005953528452664614,
0.03653644770383835,
-0.022847861051559448,
0.00741800619289279,
0.04122680053114891,
-0.015943177044391632,
0.053143925964832306,
-0.017624055966734886,
-0.05656607076525688,
0.002479798160493374,
-0.01656721532344818,
0.022284213453531265,
-0.0031830996740609407,
0.0012644329108297825,
0.02965189330279827,
0.04015989601612091,
-0.0161746758967638,
0.024458283558487892,
0.021217308938503265,
-0.05737128108739853,
-0.04948021471500397,
-0.05310366302728653,
-0.052097149193286896,
0.01056839432567358,
0.01677858456969261,
-0.06071290746331215,
0.05052698776125908,
0.01888219639658928,
-0.005145801231265068,
-0.03516758978366852,
-0.013205460272729397,
-0.006381297018378973,
0.0303967148065567,
0.026592092588543892,
0.006471883039921522,
-0.03406042233109474,
-0.06413505226373672,
-0.046017806977033615,
0.03176557272672653,
-0.009773247875273228,
0.029168767854571342,
0.025344016030430794,
-0.012349923141300678,
0.05141272023320198,
-0.04050211235880852,
-0.02586740255355835,
0.01690942980349064,
0.022928383201360703,
0.035187721252441406,
-0.05966613441705704,
0.007206638343632221,
-0.020492618903517723,
0.021479003131389618,
0.009385740384459496,
0.050124384462833405,
-0.031000621616840363,
-0.005490532144904137,
-0.0017412686720490456,
-0.043119046837091446,
-0.008313803002238274,
0.02389463596045971,
0.0846276730298996,
0.023934897035360336,
-0.022747209295630455,
0.003656161017715931,
-0.055760860443115234,
0.01914389058947563,
0.03130257502198219,
-0.010306700132787228,
-0.02904798649251461,
-0.013879824429750443,
0.004748228471726179,
0.021056266501545906,
0.039455339312553406,
-0.0007492236327379942,
0.017231514677405357,
-0.0053647179156541824,
0.04730614647269249,
-0.004982242826372385,
-0.0025238331872969866,
-0.0022281697019934654,
-0.018459461629390717,
-0.031544141471385956,
0.022545907646417618,
-0.034926027059555054,
0.023612812161445618,
0.03571110591292381,
-0.016687996685504913,
0.03071879781782627,
0.0036083515733480453,
-0.06304802000522614,
0.017463013529777527,
-0.05958561226725578,
-0.03087984025478363,
-0.041126150637865067,
0.04183071106672287,
0.030618147924542427,
0.020029623061418533,
0.04400477930903435,
0.026853786781430244,
-0.0043733022175729275,
0.020381903275847435,
-0.020754313096404076,
0.006542338989675045,
0.028504468500614166,
0.027598606422543526,
0.0006212076987139881,
-0.023934897035360336,
-0.007327419705688953,
-0.03087984025478363,
0.0423138365149498,
0.025203103199601173,
-0.046943798661231995,
-0.019194217398762703,
0.03510719910264015,
-0.03514745831489563,
-0.07496514171361923,
0.025907663628458977,
0.0036410633474588394,
-0.0773405134677887,
-0.05656607076525688,
-0.049520473927259445,
-0.030155150219798088,
0.07818598300218582,
0.0193753894418478,
-0.05974665284156799,
-0.025223232805728912,
0.020492618903517723,
-0.019506236538290977,
-0.0483529195189476,
-0.05825701355934143,
0.030940230935811996,
-0.0034447931684553623,
-0.01056839432567358,
-0.0014506379375234246,
0.03832804411649704,
0.009481359273195267,
0.07500540465116501,
0.03955598920583725,
0.0045393770560622215,
0.0730728954076767,
-0.00977828074246645,
0.015117836184799671,
0.0018419200787320733,
-0.007161344867199659,
0.11812444776296616,
0.02663235366344452,
0.015248682349920273,
-0.010860282927751541,
0.03180583193898201,
-0.027880430221557617,
0.0060944403521716595,
0.027779778465628624,
-0.020341642200946808,
-0.028524598106741905,
0.019989361986517906,
-0.03255065530538559,
0.011735949665307999,
-0.021559523418545723,
-0.026350529864430428,
0.011675558984279633,
0.0010285312309861183,
0.05753232538700104,
0.009088818915188313,
-0.010039974004030228,
-0.06888579577207565,
0.010709306225180626,
-0.03955598920583725,
0.04666197672486305,
0.035348761826753616,
-0.031886354088783264,
-0.020935485139489174,
-0.011695689521729946,
0.03363768756389618,
0.008429552428424358,
0.05588164180517197,
0.0028232710901647806,
-0.0038146870210766792,
-0.023673202842473984,
-0.021418612450361252,
0.022143302485346794,
-0.03160453215241432,
0.004682804923504591,
0.00009860689169727266,
0.010618719272315502,
-0.047708749771118164,
0.018741285428404808,
0.03681827336549759,
-0.014292494393885136,
0.02695443667471409,
-0.013104808516800404,
0.0177750326693058,
0.041790448129177094,
-0.04855422303080559,
0.022243952378630638,
-0.0232907272875309,
-0.045856766402721405,
0.01415158249437809,
0.014121387153863907,
0.05749206244945526,
0.07335472106933594,
0.0063963946886360645,
0.07178455591201782,
-0.004330525174736977,
-0.00020633531676139683,
0.03498641774058342,
0.018358809873461723,
0.03532863035798073,
0.04521259665489197,
0.015379529446363449,
-0.02586740255355835,
0.022022519260644913,
-0.016667867079377174,
0.019747799262404442,
0.04686328023672104,
-0.003517765551805496,
-0.01352754421532154,
0.032631173729896545,
0.04879578575491905,
-0.03472472354769707,
0.025001801550388336,
0.0034171140287071466,
-0.0131551343947649,
-0.013467153534293175,
-0.0323493517935276,
-0.10210075229406357,
-0.01603376306593418,
0.012722332961857319,
-0.030980492010712624,
-0.04126706346869469,
-0.01164536364376545,
0.03937481716275215,
0.05326470732688904,
0.0005837779608555138,
0.005389880854636431,
-0.07331445813179016,
0.04537363722920418,
0.03150387853384018,
0.04323982819914818,
0.011735949665307999,
0.0016443917993456125,
-0.042354095727205276,
-0.10218127071857452,
-0.024116069078445435,
-0.03166492283344269,
-0.003779459046199918,
-0.04259566217660904,
0.0705767422914505,
-0.028786292299628258,
-0.05338548868894577,
0.01907343417406082,
-0.01352754421532154,
0.009873899631202221,
0.04134758189320564,
-0.025907663628458977,
0.0003529088862705976,
-0.018227962777018547,
0.05354652926325798,
-0.00038467696867883205,
-0.014554188586771488,
-0.0136885866522789,
0.017000015825033188,
-0.006426590029150248,
-0.0649000033736229,
-0.0046979025937616825,
-0.04577624425292015,
0.034000031650066376,
-0.004088961984962225,
-0.0025364146567881107,
-0.01658734679222107,
-0.025666099041700363,
-0.010910608805716038,
-0.02250564657151699,
-0.04015989601612091,
-0.015178226865828037,
0.058780401945114136,
0.0012185106752440333,
-0.034463029354810715,
-0.04315930977463722,
0.033718209713697433,
0.005188578274101019,
0.02663235366344452,
0.03589227795600891,
-0.07230794429779053,
0.06171942129731178,
-0.00002575259713921696,
-0.061397336423397064,
-0.01969747431576252,
-0.005616346374154091,
-0.033094171434640884,
0.019637081772089005,
0.01717112399637699,
-0.028826553374528885,
0.026551831513643265,
-0.002629517111927271,
0.03693905472755432,
-0.07122091203927994,
-0.01672825776040554,
0.04730614647269249,
-0.016406172886490822,
-0.0024747655261307955,
0.0027175869327038527,
0.02812199294567108,
-0.0053647179156541824,
-0.025807011872529984,
-0.02085496485233307,
-0.023029033094644547,
0.02159978449344635,
-0.07387810945510864,
0.0083540640771389,
0.05390887334942818,
-0.0465814545750618,
0.09131092578172684,
-0.037180617451667786,
-0.03134283795952797,
-0.02081470377743244,
0.0359124094247818,
0.0325305238366127,
-0.008112500421702862,
0.01672825776040554,
0.025001801550388336,
-0.013326241634786129,
0.003321495372802019,
-0.017040276899933815,
-0.03653644770383835,
0.03548967465758324,
-0.05290235951542854,
0.05447252094745636,
0.06175968050956726,
-0.03681827336549759,
0.01656721532344818,
0.025364145636558533,
0.018831871449947357,
0.009783313609659672,
-0.05233871191740036,
0.0072569637559354305,
0.019878646358847618,
0.035348761826753616,
0.03603319078683853,
-0.01584252528846264,
0.010991130024194717,
0.06763771921396255,
0.08599653095006943,
-0.06236359104514122,
0.03331560268998146,
0.020875094458460808,
0.018368875607848167,
-0.03438250720500946,
0.016416238620877266,
-0.039495598524808884,
0.014584383927285671,
-0.007005335297435522,
0.005792486481368542,
-0.015933111310005188,
0.012672008015215397,
0.04505155235528946,
-0.031886354088783264,
-0.07641451805830002,
-0.028222644701600075,
0.005158382933586836,
0.020895224064588547,
0.02268681861460209,
-0.09203561395406723,
-0.03144348785281181,
-0.04170992970466614,
0.04867500439286232,
0.03923390433192253,
0.05411017686128616,
-0.03800595924258232,
-0.07367680221796036,
-0.001232979353517294,
-0.027658997103571892,
0.0055609880946576595,
0.05914274603128433,
0.0018331131432205439,
-0.005173480603843927,
-0.015117836184799671,
-0.0209757462143898,
-0.02846420742571354,
0.05684789642691612,
-0.0016381010646000504,
-0.04368269443511963,
-0.033074039965867996,
0.03649618849158287,
-0.016718192026019096,
0.027477825060486794,
-0.02570636011660099,
0.012521030381321907,
-0.006119603291153908,
-0.06401427090167999,
0.02526349388062954,
-0.03438250720500946,
0.05845831707119942,
0.013819433748722076,
-0.0014204424805939198,
-0.027316782623529434,
-0.0177750326693058,
0.023330988362431526,
-0.00577738881111145,
-0.01823802851140499,
-0.023049164563417435,
0.019939037039875984,
0.009531685151159763,
-0.019596822559833527,
0.020059818401932716,
0.00916430726647377,
-0.0008184214821085334,
-0.06059212610125542,
0.05966613441705704,
0.014252234250307083,
-0.036274753510951996,
0.0161746758967638,
-0.016486695036292076,
0.05503616854548454,
-0.07440149039030075,
-0.04360217601060867,
0.0027150707319378853,
-0.014191843569278717,
-0.010759631171822548,
0.0380462184548378,
-0.030014239251613617,
-0.016204871237277985,
-0.03482537344098091,
0.024418022483587265,
-0.010216114111244678,
0.038589734584093094,
0.014020736329257488,
-0.013225589878857136,
0.0709390863776207,
0.06562469154596329,
-0.03196687623858452,
-0.05419069901108742,
0.016436368227005005,
0.03089997172355652,
0.021378351375460625,
0.0009926741477102041,
-0.0071965730749070644,
-0.0077904160134494305,
0.03589227795600891,
-0.003995859529823065,
-0.01839907094836235,
0.03663709759712219,
-0.06433635950088501,
0.028182383626699448,
0.045534681528806686,
0.02540440671145916,
0.05463356524705887,
-0.011876861564815044
] |
9,770 | cloudscraper.user_agent | tryMatchCustom | null | def tryMatchCustom(self, user_agents):
for device_type in user_agents['user_agents']:
for platform in user_agents['user_agents'][device_type]:
for browser in user_agents['user_agents'][device_type][platform]:
if re.search(re.escape(self.custom), ' '.join(user_agents['user_agents'][device_type][platform][browser])):
self.headers = user_agents['headers'][browser]
self.headers['User-Agent'] = self.custom
self.cipherSuite = user_agents['cipherSuite'][browser]
return True
return False
| (self, user_agents) | [
0.03833216428756714,
-0.04793381318449974,
-0.06140589341521263,
0.02640453353524208,
-0.024320455268025398,
-0.04398895055055618,
0.022329416126012802,
-0.030907632783055305,
-0.02802341617643833,
0.016747061163187027,
0.013388345949351788,
0.07919499278068542,
-0.015481728129088879,
-0.01814264990389347,
-0.005373015534132719,
-0.04331906884908676,
0.030088888481259346,
0.04811989143490791,
0.06628114730119705,
-0.08053476363420486,
-0.033419691026210785,
0.04819432273507118,
0.007136109285056591,
0.016486551612615585,
-0.0014816498151049018,
0.06464365869760513,
-0.023036513477563858,
-0.026255670934915543,
0.03825773298740387,
0.04313298687338829,
-0.009564433246850967,
-0.04480769485235214,
0.04008130356669426,
0.03163333982229233,
0.06423428654670715,
-0.04510542005300522,
-0.014616463333368301,
0.03299171105027199,
-0.06419707089662552,
-0.013146443292498589,
-0.07688762247562408,
-0.021752573549747467,
0.014979316852986813,
-0.02979116328060627,
-0.03237765282392502,
-0.0014165223110467196,
-0.023464495316147804,
0.09921703487634659,
0.03167055547237396,
-0.032787024974823,
0.04302133992314339,
-0.0092760119587183,
0.029958633705973625,
0.007899031043052673,
0.0025702088605612516,
0.024525141343474388,
-0.03751341998577118,
0.06479252129793167,
-0.009517913684248924,
0.038555458188056946,
-0.04637075215578079,
-0.010234315879642963,
-0.05857750028371811,
-0.0338662825524807,
-0.012737071141600609,
-0.01760302297770977,
0.02004065178334713,
-0.011499648913741112,
0.026013769209384918,
0.00463800597935915,
0.00611267751082778,
-0.022292200475931168,
-0.010522737167775631,
-0.012811502441763878,
0.043356284499168396,
0.01678427681326866,
-0.06516467779874802,
0.008317707106471062,
0.03738316521048546,
-0.0005279976758174598,
0.05001789331436157,
-0.006238280795514584,
0.01725877821445465,
-0.07446860522031784,
-0.01882183738052845,
0.008759643882513046,
-0.01827290467917919,
-0.04700342193245888,
0.06587177515029907,
-0.0027353535406291485,
-0.023725004866719246,
-0.002893520053476095,
0.033810459077358246,
0.023464495316147804,
-0.00989007018506527,
0.046221889555454254,
0.04495655745267868,
0.04834318533539772,
0.004972946830093861,
-0.008350270800292492,
-0.0014304781798273325,
0.039709143340587616,
-0.017900748178362846,
-0.006419707089662552,
0.013192962855100632,
0.033010318875312805,
-0.0551164411008358,
0.03087041713297367,
0.04019295051693916,
0.04834318533539772,
-0.06430871784687042,
-0.09423013776540756,
0.030349398031830788,
0.010206404142081738,
0.02260853350162506,
-0.0499434620141983,
0.01072742324322462,
-0.003965797368437052,
0.0074338349513709545,
0.014960709027945995,
-0.013034796342253685,
0.011471737176179886,
0.06092208996415138,
0.02504616230726242,
-0.028265319764614105,
-0.031000671908259392,
-0.01916608214378357,
-0.011601991951465607,
0.02030116133391857,
0.0740964487195015,
-0.012281178496778011,
0.010094757191836834,
0.0036006183363497257,
-0.024320455268025398,
0.0119462376460433,
0.016374904662370682,
-0.08366087824106216,
0.029307357966899872,
0.07309161871671677,
0.0028842161409556866,
-0.006084765773266554,
0.010550648905336857,
0.008885246701538563,
-0.08187452703714371,
-0.04663126543164253,
0.04525428265333176,
0.0022154967300593853,
0.024618180468678474,
-0.018589239567518234,
-0.10770221799612045,
0.04287247732281685,
0.001847991719841957,
-0.04398895055055618,
-0.010280835442245007,
-0.05139487236738205,
0.01821708120405674,
-0.013816325925290585,
-0.0211943369358778,
-0.0238924752920866,
0.028935201466083527,
0.06430871784687042,
-0.037680890411138535,
-0.061443109065294266,
0.02768847532570362,
0.02214333787560463,
0.01888696476817131,
-0.015258434228599072,
-0.019631277769804,
0.036936577409505844,
0.0014909537276253104,
-0.032191574573516846,
0.05001789331436157,
0.000282170542050153,
0.032321829348802567,
0.007550133857876062,
-0.0029167800676077604,
-0.05924738198518753,
-0.07502683997154236,
-0.06736040860414505,
0.013006884604692459,
0.016970356926321983,
-0.036936577409505844,
-0.009964501485228539,
-0.029214318841695786,
0.0376436747610569,
0.023948298767209053,
0.008554957807064056,
-0.025064770132303238,
-0.01760302297770977,
0.05638177692890167,
-0.006373187527060509,
0.00855960976332426,
0.004072792362421751,
0.011788071133196354,
0.033624377101659775,
-0.012123011983931065,
0.0072012366726994514,
-0.004128615837544203,
-0.04387730360031128,
-0.02445071004331112,
-0.06092208996415138,
-0.02327841706573963,
-0.049794599413871765,
0.040937263518571854,
-0.010401786305010319,
-0.025027554482221603,
0.05455820634961128,
0.022701572626829147,
0.012104404158890247,
-0.032731201499700546,
-0.03107510320842266,
-0.012039276771247387,
0.01678427681326866,
0.03654580935835838,
0.022831827402114868,
0.06516467779874802,
-0.004531010519713163,
0.03580149635672569,
-0.05459542199969292,
0.014876973815262318,
0.021975867450237274,
-0.00136302481405437,
0.002874912228435278,
-0.010541344992816448,
0.0006088254740461707,
0.006908162962645292,
-0.012076492421329021,
0.028321143239736557,
0.008006026037037373,
0.03094484843313694,
0.021585101261734962,
0.040937263518571854,
0.040044087916612625,
0.05876357853412628,
-0.047971028834581375,
0.018803229555487633,
0.055488597601652145,
0.0752873495221138,
0.007443138863891363,
0.05794483423233032,
0.04901306703686714,
0.049050282686948776,
0.008852683007717133,
-0.039113692939281464,
0.05314401164650917,
-0.02450653351843357,
0.016877317801117897,
-0.028674691915512085,
0.03191245719790459,
-0.01363955158740282,
0.0024725175462663174,
0.020598886534571648,
0.0063545797020196915,
-0.015314257703721523,
-0.05578632280230522,
-0.010922806337475777,
-0.021827004849910736,
-0.00297027756460011,
0.04752444103360176,
-0.02383665181696415,
0.00011302813072688878,
0.04279804602265358,
0.042351458221673965,
0.031726378947496414,
-0.07845067977905273,
0.02809784933924675,
0.021920043975114822,
0.07190071791410446,
-0.053999971598386765,
-0.0372156947851181,
-0.0078059914521873,
0.022031690925359726,
-0.030181927606463432,
-0.018524112179875374,
0.017835620790719986,
0.0302563589066267,
0.009062021039426327,
-0.011797375045716763,
-0.034368693828582764,
0.032526515424251556,
0.00791763886809349,
0.08075805753469467,
0.009294619783759117,
-0.02525084838271141,
0.038015831261873245,
-0.015863189473748207,
-0.006014986429363489,
0.03403375297784805,
-0.0032075275667011738,
-0.04555200785398483,
-0.04901306703686714,
-0.08768017590045929,
0.039858005940914154,
-0.018700886517763138,
0.007973462343215942,
0.009434178471565247,
0.05708887428045273,
-0.007359403185546398,
0.022310808300971985,
-0.007485006470233202,
-0.03410818427801132,
0.01888696476817131,
0.004242589231580496,
-0.07651546597480774,
0.014811845496296883,
-0.02383665181696415,
0.014169875532388687,
-0.007480354513972998,
-0.016346992924809456,
0.0010594843188300729,
-0.03650859370827675,
0.008554957807064056,
0.00900154560804367,
-0.061368677765131,
0.007978114299476147,
0.006508094258606434,
0.005707956850528717,
0.01978014037013054,
0.005410231649875641,
-0.01421639509499073,
0.028935201466083527,
-0.003305218880996108,
-0.051841460168361664,
0.0086014773696661,
-0.008410747162997723,
-0.02445071004331112,
0.012960365042090416,
-0.027539612725377083,
-0.07807852327823639,
-0.006066157948225737,
0.006880251225084066,
-0.05009232461452484,
0.003663419745862484,
-0.0004361213941592723,
0.0487525574862957,
-0.021827004849910736,
-0.02837696671485901,
0.014942101202905178,
0.04049067571759224,
0.005805647931993008,
-0.09326253086328506,
-0.029307357966899872,
0.004023946821689606,
0.0002498975663911551,
0.044175028800964355,
-0.05638177692890167,
-0.007252408191561699,
0.07003993541002274,
-0.04294690862298012,
-0.010383178479969501,
0.010997237637639046,
-0.011797375045716763,
0.0445471853017807,
0.03621086850762367,
0.035113006830215454,
-0.00988076627254486,
-0.03859267383813858,
-0.016337689012289047,
0.038555458188056946,
0.03587592765688896,
0.062261853367090225,
0.01377911027520895,
0.027669867500662804,
-0.011657816357910633,
-0.030349398031830788,
-0.011983453296124935,
0.025957945734262466,
0.05999169871211052,
0.02350171096622944,
-0.06713710725307465,
-0.017919356003403664,
0.021827004849910736,
0.02465539611876011,
-0.004377495963126421,
0.04726393148303032,
-0.0312797911465168,
-0.03730873391032219,
-0.027130240574479103,
-0.040527891367673874,
-0.005270672496408224,
-0.009583041071891785,
0.08031146973371506,
0.02322259172797203,
-0.03306614235043526,
0.0376436747610569,
-0.04365400969982147,
0.0113786980509758,
0.05831699073314667,
-0.028339751064777374,
0.015323561616241932,
-0.012532385066151619,
-0.009336487390100956,
-0.007452442776411772,
0.03595035895705223,
-0.05247412621974945,
-0.001127519179135561,
-0.06996550410985947,
0.015007228590548038,
0.010318051092326641,
-0.026627829298377037,
-0.041123341768980026,
-0.03126118332147598,
-0.03302892670035362,
0.026795299723744392,
-0.04700342193245888,
0.022924866527318954,
0.018505504354834557,
-0.04625910520553589,
0.02329702489078045,
0.05850306898355484,
-0.11976010352373123,
-0.006154545117169619,
0.033549945801496506,
-0.0740964487195015,
-0.09117844700813293,
0.031986888498067856,
0.03202410414814949,
0.01150895282626152,
0.0180682186037302,
0.0344059094786644,
-0.016272561624646187,
-0.03701100870966911,
-0.027241887524724007,
0.02830253541469574,
0.050129540264606476,
-0.0376436747610569,
-0.005563746206462383,
-0.07033766061067581,
0.02750239707529545,
-0.061517540365457535,
-0.009648168459534645,
-0.01869158260524273,
-0.02437627874314785,
-0.029772555455565453,
0.03431287035346031,
0.004945035092532635,
-0.0334382988512516,
-0.0161795224994421,
-0.009964501485228539,
-0.0206547100096941,
-0.05489314720034599,
-0.038294948637485504,
-0.06412263959646225,
0.03498275205492973,
0.019352160394191742,
-0.03507579118013382,
-0.043765656650066376,
-0.007764123845845461,
-0.01802169904112816,
-0.0014339671470224857,
-0.06888625025749207,
-0.013499992899596691,
-0.1027897447347641,
-0.013872149400413036,
0.044919341802597046,
0.06769534945487976,
0.030647123232483864,
0.06162918731570244,
0.014681590721011162,
-0.01313713937997818,
0.0033982580062001944,
-0.010569256730377674,
0.0022445714566856623,
0.015928316861391068,
-0.031521692872047424,
0.09289036691188812,
-0.025213632732629776,
-0.018803229555487633,
0.026181239634752274,
0.025753259658813477,
-0.016412120312452316,
-0.012420738115906715,
0.029549259692430496,
-0.04056510701775551,
-0.0014293151907622814,
0.004191417247056961,
-0.00526602054014802,
0.065574049949646,
-0.03340108320116997,
0.011825286783277988,
-0.0037773929070681334,
-0.009476046077907085,
0.041123341768980026,
-0.029400397092103958,
0.004272826947271824,
-0.03810887038707733,
0.02471121959388256,
-0.05292071774601936,
0.0011461270041763783,
-0.0013572098687291145,
0.021343199536204338,
-0.010634384118020535,
-0.003756459103897214,
0.0318194180727005,
0.025474142283201218,
0.011834590695798397,
0.059433463960886,
0.04663126543164253,
0.009387658908963203,
-0.0185520239174366,
0.03520604595541954,
0.014960709027945995,
-0.014262914657592773,
-0.015388689003884792,
-0.009806334972381592,
-0.07167742401361465,
0.02037559263408184,
-0.01512817945331335,
-0.008331662975251675,
0.0190916508436203,
-0.03405236080288887,
-0.024208808317780495,
0.03074016235768795,
-0.059210166335105896,
0.004668243695050478,
0.0180682186037302,
-0.024264631792902946,
-0.04000686854124069,
-0.03468502685427666,
0.0031424001790583134,
0.025771867483854294,
0.0022794611286371946,
0.021585101261734962,
-0.0445471853017807,
0.015993444249033928,
0.0445471853017807,
-0.011453129351139069,
0.0614803247153759,
0.047896597534418106,
-0.03507579118013382,
-0.015351473353803158,
0.04261196777224541,
-0.04369122534990311,
0.008959678001701832,
0.05694001168012619,
0.06259679794311523,
0.026906946673989296,
0.030349398031830788,
0.033215004950761795,
0.016077179461717606,
0.04313298687338829,
-0.010699511505663395,
-0.010569256730377674,
-0.025362495332956314,
-0.01808682642877102,
-0.02742796577513218,
0.01398379635065794,
-0.021231552585959435,
-0.010587864555418491,
-0.021343199536204338,
0.004142571706324816,
0.003958819434046745,
0.031093711033463478,
0.04826875403523445,
0.029139887541532516,
-0.009676080197095871,
0.002470191568136215,
0.002350403694435954,
0.0075966534204781055,
0.03877875208854675,
0.04696620628237724,
-0.02776290662586689,
-0.016644718125462532,
0.030572691932320595,
-0.09184832870960236,
-0.04685455933213234,
-0.050129540264606476,
0.04938522353768349,
-0.011071668937802315,
-0.0005637595895677805,
0.0028702602721750736,
-0.044658832252025604,
-0.03081459365785122,
0.011360090225934982,
-0.03261955454945564,
-0.004958990961313248,
0.008675908669829369,
0.0014141963329166174,
0.012616120278835297,
-0.02966090850532055,
-0.05627012997865677,
0.008192104287445545,
0.03228461369872093,
-0.09370911866426468,
0.020747749134898186,
-0.10092896223068237,
0.0371040478348732,
0.04075118526816368,
-0.027241887524724007,
0.01571432687342167,
-0.033345259726047516,
0.019594062119722366,
-0.032731201499700546,
-0.0318194180727005,
-0.010978629812598228,
0.0054195355623960495,
0.020431416109204292,
-0.002059655962511897,
-0.006610437761992216,
0.02396690659224987,
0.02227359265089035,
-0.011090276762843132,
0.01680288463830948,
-0.03877875208854675,
0.021920043975114822,
-0.019612669944763184,
-0.07725977897644043,
-0.025362495332956314,
0.006070809904485941,
-0.047896597534418106,
0.011992757208645344,
0.057461030781269073,
0.0016072527505457401,
0.0668765977025032,
0.02111990563571453,
0.03604339808225632,
-0.05969397351145744,
0.0010711142094805837,
0.032321829348802567,
-0.01012266892939806,
0.003391280071809888,
-0.028209496289491653,
0.01072742324322462,
-0.02750239707529545,
0.0054334914311766624,
-0.019687101244926453,
0.00397510128095746,
0.04216537997126579,
-0.009927285835146904,
-0.012011365033686161,
-0.009871462360024452,
-0.006010334473103285,
0.04544036090373993,
0.00791763886809349,
-0.03771810606122017,
0.0012223029043525457,
-0.006633697543293238,
0.0013002232881262898,
0.007150065153837204,
-0.04060232266783714,
-0.019445199519395828,
0.003923929762095213,
-0.005391623359173536,
0.003305218880996108,
-0.05641899257898331,
0.05039004981517792,
-0.010094757191836834,
0.028693299740552902,
0.05850306898355484,
0.0031912457197904587,
0.0027237236499786377,
0.03840659558773041,
0.02024533785879612,
0.014867669902741909,
-0.02078496478497982,
0.013192962855100632,
0.004635680001229048,
0.07536178082227707,
0.047636087983846664,
-0.02147345431149006,
-0.05381389334797859,
0.030516868457198143,
0.10450166463851929,
-0.0792694240808487,
0.01131357066333294,
-0.0002980162971653044,
0.0719379335641861,
-0.09512331336736679,
0.009369051083922386,
0.0007530362927354872,
0.0402301661670208,
-0.012337001971900463,
0.008592173457145691,
-0.021920043975114822,
0.033810459077358246,
0.034703634679317474,
-0.030423829331994057,
-0.06170361861586571,
-0.03663884848356247,
-0.04008130356669426,
0.03756924346089363,
-0.013872149400413036,
-0.03717847913503647,
-0.0172029547393322,
-0.000052625317039201036,
0.043356284499168396,
0.0456264391541481,
0.045812517404556274,
-0.0318194180727005,
-0.028339751064777374,
0.001543288235552609,
-0.1006312370300293,
0.03952306509017944,
0.0934113934636116,
-0.02219916135072708,
0.08120464533567429,
0.018589239567518234,
0.06021499261260033,
-0.02445071004331112,
0.02735353447496891,
-0.03567124158143997,
0.01456063985824585,
-0.02396690659224987,
0.009420222602784634,
-0.027539612725377083,
-0.023073729127645493,
0.008331662975251675,
0.0002498975663911551,
0.041197773069143295,
-0.015965532511472702,
-0.008592173457145691,
-0.0027237236499786377,
0.0635271891951561,
-0.011564776301383972,
-0.005880079697817564,
-0.027372142300009727,
0.000503865594509989,
0.02180839702486992,
0.044323891401290894,
-0.02871190756559372,
0.03630390763282776,
0.05292071774601936,
-0.03120535798370838,
0.006456922739744186,
-0.058875225484371185,
-0.042090948671102524,
-0.0018956743879243731,
-0.04428667575120926,
0.027818730100989342,
0.039113692939281464,
-0.013853541575372219,
0.01313713937997818,
0.00893641822040081,
0.06520189344882965,
-0.07785522937774658,
-0.01313713937997818,
-0.035373516380786896,
-0.04253753647208214,
-0.017984483391046524,
0.0665416568517685,
-0.020077867433428764,
0.04477047920227051,
0.002847000490874052,
0.008987589739263058,
-0.06229906901717186,
0.017426248639822006,
0.010625080205500126,
0.0380716547369957,
0.038015831261873245,
0.05254855751991272,
0.029139887541532516,
-0.03060990758240223,
0.022999297827482224,
-0.01082976721227169,
0.04752444103360176,
0.05042726546525955,
-0.01760302297770977,
-0.037606459110975266,
0.019007915630936623,
0.025213632732629776,
0.009536521509289742,
0.03658302500844002,
-0.057386599481105804,
0.03423843905329704,
-0.02348310314118862,
-0.03295449540019035,
0.01882183738052845,
0.023576142266392708
] |
9,783 | exhale | cleanup_files | null | def cleanup_files(app, env, docname):
raise RuntimeError("you made it.")
| (app, env, docname) | [
-0.02750641293823719,
-0.014949860982596874,
-0.02328488603234291,
0.0036917596589773893,
-0.01583073101937771,
-0.0018947016214951873,
-0.004882180597633123,
0.033257000148296356,
-0.006531734485179186,
0.03029860556125641,
0.01716865599155426,
-0.014634077437222004,
0.03503536060452461,
-0.007632822263985872,
-0.03609905019402504,
0.006290741730481386,
0.03383870795369148,
0.04294656962156296,
0.0011415992630645633,
-0.023517567664384842,
-0.033672504127025604,
-0.013196430169045925,
-0.05351701006293297,
-0.04254768416285515,
-0.008908421732485294,
0.02321840450167656,
0.014044060371816158,
0.02695794776082039,
0.04720133915543556,
-0.044309426099061966,
-0.018465030938386917,
0.0018884690944105387,
0.06860814243555069,
0.023800112307071686,
0.04188287630677223,
-0.017451198771595955,
0.0559435598552227,
0.003076812718063593,
0.014833519235253334,
-0.014841829426586628,
0.022304294630885124,
0.015215783379971981,
0.013570385053753853,
-0.024182375520467758,
0.009830841794610023,
0.044076744467020035,
-0.0021034928504377604,
-0.021007919684052467,
-0.05232035741209984,
0.05959999933838844,
-0.010562130250036716,
0.029135191813111305,
0.018298828974366188,
0.00875052995979786,
0.054879866540431976,
0.061561182141304016,
0.010670161806046963,
0.03593285009264946,
0.013021918945014477,
-0.03646469488739967,
0.050525374710559845,
0.016345957294106483,
0.0487968772649765,
-0.03496887907385826,
0.05969972163438797,
0.027290351688861847,
0.018465030938386917,
-0.010861294344067574,
-0.007981846109032631,
-0.009839151985943317,
-0.07592102885246277,
-0.01996084861457348,
-0.03975549340248108,
0.04171667620539665,
0.058702509850263596,
-0.016412436962127686,
-0.0034092164132744074,
0.002001694170758128,
0.013803067617118359,
-0.043046291917562485,
0.029052091762423515,
-0.01589721068739891,
-0.012099497951567173,
0.040819186717271805,
0.09200937300920486,
0.017933184280991554,
0.040985386818647385,
-0.023783491924405098,
0.03269191458821297,
0.04873039573431015,
0.04779966548085213,
0.016836252063512802,
-0.021024540066719055,
-0.039788734167814255,
0.04460858926177025,
-0.011318349279463291,
-0.027938539162278175,
-0.046935416758060455,
-0.016512159258127213,
-0.02989972196519375,
0.02607707679271698,
0.012581483460962772,
-0.024697601795196533,
-0.014010819606482983,
0.05714021250605583,
-0.039157167077064514,
0.012498382478952408,
-0.05733965337276459,
0.02147328481078148,
-0.020858338102698326,
-0.07386012375354767,
-0.05827038362622261,
-0.0008928158204071224,
-0.013304461725056171,
-0.03809347376227379,
-0.040985386818647385,
-0.032542333006858826,
0.012323870323598385,
0.044010262936353683,
-0.021290462464094162,
0.024847183376550674,
-0.034370552748441696,
-0.07007072120904922,
-0.03683033958077431,
0.08941662311553955,
-0.015481706708669662,
0.02488042414188385,
0.05102398246526718,
-0.007142526563256979,
0.010711711831390858,
-0.040187619626522064,
0.004819855093955994,
-0.03942308947443962,
-0.10869604349136353,
0.012415281496942043,
-0.015207473188638687,
0.05022621154785156,
-0.0031557586044073105,
-0.0017607012996450067,
-0.01311332918703556,
-0.0233679860830307,
0.04537311941385269,
-0.026974568143486977,
0.04268064722418785,
0.022354155778884888,
0.04158371314406395,
-0.025578472763299942,
0.016412436962127686,
-0.049162521958351135,
0.03603257238864899,
-0.002891913056373596,
0.013528834097087383,
-0.051788512617349625,
-0.013379252515733242,
0.022221192717552185,
0.019977467134594917,
-0.0037374652456492186,
0.013221360743045807,
-0.06485197693109512,
-0.020392972975969315,
0.05394913628697395,
0.020891578868031502,
-0.003290797583758831,
-0.01986112631857395,
0.000620660197455436,
-0.002756873844191432,
0.017135415226221085,
0.051622308790683746,
-0.007258867844939232,
0.01883067563176155,
-0.036763858050107956,
0.02042621374130249,
0.007449999917298555,
0.017434578388929367,
0.004524846561253071,
0.06854166090488434,
0.01554818730801344,
-0.01303853839635849,
-0.02424885705113411,
0.0309966541826725,
-0.0445421077311039,
-0.005156413652002811,
0.009290685877203941,
0.02552861161530018,
0.01748443953692913,
0.054248299449682236,
-0.07233106344938278,
0.03277501463890076,
0.0002918920945376158,
-0.026741884648799896,
0.011218627914786339,
0.01694428361952305,
0.01916307955980301,
0.010138316079974174,
0.023584049195051193,
-0.017667261883616447,
-0.03275839239358902,
-0.004923731088638306,
0.013911099173128605,
-0.07538917660713196,
-0.05055861547589302,
0.04128454998135567,
0.039389848709106445,
-0.039855215698480606,
0.03387194499373436,
0.07259698957204819,
0.02042621374130249,
-0.03053128905594349,
-0.09313954412937164,
0.08516184985637665,
0.0794445052742958,
-0.02401617355644703,
-0.0021627021487802267,
-0.019611824303865433,
0.03036508709192276,
0.0041612801142036915,
0.003375976113602519,
0.004969436675310135,
-0.06551678478717804,
0.04779966548085213,
-0.08130596578121185,
0.02208823151886463,
0.015639597550034523,
-0.039855215698480606,
0.023018961772322655,
-0.02431533671915531,
0.009290685877203941,
0.03259219229221344,
0.039223648607730865,
-0.030481427907943726,
-0.006581595167517662,
-0.01582241989672184,
-0.006012353580445051,
-0.03746190667152405,
0.03975549340248108,
-0.06169414520263672,
0.0009707229328341782,
-0.03673061728477478,
0.02782219834625721,
-0.01954534277319908,
-0.03250909224152565,
-0.039389848709106445,
-0.011318349279463291,
0.023035582154989243,
0.043445177376270294,
0.008733909577131271,
0.04214880242943764,
-0.0187641941010952,
0.014617457054555416,
-0.018398549407720566,
0.05288544297218323,
-0.0060455938801169395,
-0.04251444339752197,
-0.017035694792866707,
0.027539653703570366,
-0.02654244378209114,
-0.010961014777421951,
-0.020625654608011246,
0.017534300684928894,
0.003770705545321107,
0.036298494786024094,
0.001622545998543501,
0.02114088088274002,
0.05946704000234604,
-0.04736753925681114,
0.018082765862345695,
0.05650864541530609,
-0.015215783379971981,
-0.06305699795484543,
0.004003388341516256,
0.021955270320177078,
0.03004930354654789,
0.01676146127283573,
-0.03480267897248268,
-0.02202175185084343,
0.022786280140280724,
-0.011625822633504868,
0.004258923698216677,
0.006008198484778404,
0.0691399872303009,
0.09393731504678726,
-0.02208823151886463,
0.054647184908390045,
0.0772506445646286,
0.01303853839635849,
-0.043112773448228836,
-0.04012113809585571,
-0.02861996740102768,
-0.012024707160890102,
0.010312827304005623,
0.019030116498470306,
0.026908086612820625,
0.034769438207149506,
0.0024535555858165026,
-0.03719598427414894,
0.010188176296651363,
-0.03360602259635925,
0.0015550265088677406,
0.018099386245012283,
-0.023334747180342674,
-0.021041160449385643,
0.0476999431848526,
-0.0233679860830307,
0.02536240965127945,
-0.022237813100218773,
-0.02099129930138588,
0.009889013133943081,
-0.029367875307798386,
0.031528498977422714,
-0.0021419269032776356,
-0.00474921939894557,
-0.0731288343667984,
0.008060791529715061,
0.04843123257160187,
0.0405532643198967,
0.001870810054242611,
0.04005465656518936,
0.00027241528732702136,
-0.04427618533372879,
-0.003922364674508572,
-0.023334747180342674,
0.018465030938386917,
0.03606581315398216,
-0.02067551575601101,
0.051389627158641815,
-0.021955270320177078,
0.01987774670124054,
0.015564807690680027,
-0.014999721199274063,
0.02280290052294731,
-0.026276519522070885,
0.014617457054555416,
0.00666054105386138,
-0.03520156070590019,
-0.029301393777132034,
0.007528945803642273,
0.03219330683350563,
-0.0709349662065506,
-0.0022416480351239443,
-0.05381617322564125,
-0.05245331674814224,
0.0051107085309922695,
-0.03948957100510597,
0.01606341265141964,
-0.021755827590823174,
0.033506304025650024,
0.045339878648519516,
-0.0346364751458168,
0.08170485496520996,
-0.06382153183221817,
0.05777177959680557,
0.06338940560817719,
-0.02647596225142479,
0.041616953909397125,
0.027705855667591095,
-0.03603257238864899,
-0.036298494786024094,
0.01796642504632473,
0.018149247393012047,
-0.05295192450284958,
-0.006411238107830286,
0.01971154473721981,
-0.02338460646569729,
-0.017218517139554024,
0.017301617190241814,
-0.04593820497393608,
-0.005355855915695429,
0.008484606631100178,
-0.05873575061559677,
-0.019445622339844704,
0.023484328761696815,
-0.005335080903023481,
-0.002777649089694023,
-0.032725151628255844,
0.010894534178078175,
-0.04284684732556343,
0.026525823399424553,
-0.007765783462673426,
-0.06784361600875854,
0.10271277278661728,
-0.03473619744181633,
0.08090708404779434,
0.03370574489235878,
-0.01947886310517788,
-0.0366973802447319,
-0.05065833777189255,
-0.028836028650403023,
0.009116173721849918,
0.014517735689878464,
0.03683033958077431,
0.05714021250605583,
-0.02202175185084343,
-0.00998042430728674,
0.04683569446206093,
0.008015086874365807,
0.01180033478885889,
-0.04497423395514488,
-0.0052187396213412285,
0.008305939845740795,
0.024897044524550438,
-0.01573931984603405,
0.05434802174568176,
-0.07053608447313309,
0.014393084682524204,
-0.00017723874771036208,
0.041616953909397125,
-0.021340323612093925,
-0.022304294630885124,
0.05172203108668327,
0.055444952100515366,
-0.025146346539258957,
-0.033506304025650024,
0.0309966541826725,
-0.020010707899928093,
0.013379252515733242,
0.028836028650403023,
0.0025241912808269262,
-0.021024540066719055,
0.052420079708099365,
-0.00033058595727197826,
0.021922029554843903,
0.04128454998135567,
0.08150541037321091,
0.0647522583603859,
-0.0052187396213412285,
-0.031129615381360054,
-0.02599397674202919,
-0.0395892933011055,
0.00012575510481838137,
-0.012390350922942162,
-0.03029860556125641,
0.02439843863248825,
-0.052420079708099365,
-0.0537496916949749,
-0.021755827590823174,
-0.015922142192721367,
-0.03889124467968941,
-0.0030498048290610313,
-0.01470055803656578,
0.032642051577568054,
-0.027140770107507706,
0.004840630106627941,
0.04194935783743858,
-0.00308927777223289,
0.006938929203897715,
0.0020214305259287357,
0.0028565952088683844,
0.008559397421777248,
-0.029999442398548126,
-0.008576017804443836,
-0.009581539779901505,
0.018481651321053505,
-0.04347841441631317,
-0.031179476529359818,
0.026442721486091614,
-0.040985386818647385,
0.0008606141782365739,
-0.0009229399147443473,
-0.04809882864356041,
0.036132290959358215,
-0.013753206469118595,
0.06807629764080048,
0.071200892329216,
-0.06820926070213318,
0.0497608482837677,
-0.023733630776405334,
0.009731121361255646,
0.0032575572840869427,
0.010944395326077938,
-0.03417110815644264,
0.025861015543341637,
-0.03925688937306404,
0.04347841441631317,
0.027805577963590622,
-0.044010262936353683,
-0.0004448497493285686,
-0.01710217446088791,
0.04038706049323082,
0.06880758702754974,
0.0028836028650403023,
0.03842587769031525,
-0.02408265508711338,
0.01196653675287962,
0.04012113809585571,
-0.0365644171833992,
-0.019296040758490562,
-0.002144004451110959,
-0.08642498403787613,
-0.02630976028740406,
-0.03885800391435623,
0.017949804663658142,
-0.07040312141180038,
-0.01489999983459711,
-0.03520156070590019,
0.001048630103468895,
-0.038525599986314774,
-0.023318126797676086,
0.08310094475746155,
0.0020172754302620888,
-0.06618159264326096,
0.015365364961326122,
-0.08143892884254456,
-0.07472437620162964,
0.0038205659948289394,
0.015340435318648815,
-0.011816955171525478,
0.03433731198310852,
-0.019063357263803482,
-0.01821572706103325,
-0.06169414520263672,
-0.05999888479709625,
-0.0007723194430582225,
0.012290630489587784,
0.0001667212782194838,
0.06242543086409569,
-0.026924706995487213,
-0.050292693078517914,
-0.033340100198984146,
0.032558951526880264,
0.06146145984530449,
-0.030780591070652008,
-0.04204908013343811,
0.005713190417736769,
0.021672727540135384,
0.013088399544358253,
-0.08376575261354446,
0.022287674248218536,
0.044242944568395615,
0.05468042567372322,
0.07558862119913101,
-0.01916307955980301,
-0.018647853285074234,
0.05551143363118172,
-0.07405956834554672,
0.009539988823235035,
-0.005534523166716099,
-0.053849413990974426,
-0.06628131866455078,
0.0790456235408783,
0.009116173721849918,
-0.012706135399639606,
0.054015617817640305,
0.03696330264210701,
-0.017750361934304237,
-0.018265588209033012,
0.011235248297452927,
-0.003245091997087002,
-0.025246068835258484,
0.01315488014370203,
0.030099162831902504,
-0.04490775242447853,
0.001065769698470831,
0.060863133519887924,
0.0713338553905487,
-0.004558086860924959,
-0.04012113809585571,
0.007857195101678371,
-0.002443167846649885,
0.04640356823801994,
-0.019030116498470306,
-0.05102398246526718,
0.020160289481282234,
0.04434266686439514,
-0.017983045428991318,
0.04038706049323082,
0.05454746261239052,
-0.01740133948624134,
-0.02258683741092682,
0.002118035452440381,
-0.021955270320177078,
-0.006997099611908197,
-0.025777913630008698,
0.06318996101617813,
-0.047101616859436035,
-0.015955382958054543,
-0.00041706289630383253,
-0.021556386724114418,
0.019113218411803246,
-0.013487284071743488,
-0.04141751304268837,
-0.014044060371816158,
-0.05517902970314026,
-0.015556497499346733,
-0.03789403289556503,
-0.016877802088856697,
-0.05627596378326416,
0.04417646303772926,
-0.006195175461471081,
-0.005733965430408716,
0.041849639266729355,
-0.05348376929759979,
-0.012149358168244362,
0.0009037228301167488,
-0.0527857206761837,
-0.005688259843736887,
0.029450975358486176,
-0.0049403514713048935,
-0.027290351688861847,
-0.011326659470796585,
0.03171132132411003,
0.008181287907063961,
-0.007682682480663061,
0.03260881081223488,
-0.0009276143391616642,
-0.020127050578594208,
0.04387729987502098,
-0.04826503247022629,
-0.025628332048654556,
0.020858338102698326,
0.093206025660038,
-0.04730106145143509,
-0.009448577649891376,
0.04929548129439354,
-0.0019113217713311315,
-0.03277501463890076,
0.04347841441631317,
-0.007981846109032631,
0.0036647517699748278,
0.015431846491992474,
0.0346364751458168,
-0.05986592173576355,
-0.061727385967969894,
-0.029517456889152527,
-0.02479732222855091,
-0.02178906835615635,
0.0508577786386013,
0.013861238025128841,
0.012980367988348007,
-0.08516184985637665,
0.04048678278923035,
-0.009431957267224789,
-0.07140033692121506,
0.06063045188784599,
-0.019844505935907364,
0.019129838794469833,
0.046303849667310715,
-0.02664216421544552,
-0.039788734167814255,
0.004371109884232283,
0.0006191020365804434,
0.0995216965675354,
-0.03879152238368988,
-0.024149134755134583,
0.004304629284888506,
-0.0658491924405098,
-0.027855437248945236,
0.016188064590096474,
-0.05637568235397339,
0.025262687355279922,
-0.013537144288420677,
0.003538022981956601,
0.013429113663733006,
-0.008675739169120789,
-0.02057579532265663,
-0.008231149055063725,
0.03975549340248108,
0.01279754564166069,
-0.058004461228847504,
-0.040752705186605453,
0.016088344156742096,
0.014251812361180782,
-0.04091890528798103,
0.005713190417736769,
-0.0001595797948539257,
0.019063357263803482,
-0.007512325886636972,
0.04497423395514488,
-0.02242063544690609,
-0.05421505868434906,
0.02107440121471882,
0.010994255542755127,
0.02878616936504841,
0.03789403289556503,
-0.030697491019964218,
0.03166146203875542,
0.022121472284197807,
0.03726246580481529,
0.034869156777858734,
-0.04085242748260498,
-0.008916731923818588,
-0.022237813100218773,
0.07013720273971558,
0.009008143097162247,
-0.015556497499346733,
-0.003342735581099987,
0.025960735976696014,
-0.06614835560321808,
0.05341728776693344,
0.039855215698480606,
-0.009897323325276375,
-0.06691288203001022,
0.05793797969818115,
0.021024540066719055,
-0.03815995529294014,
-0.06425365060567856,
0.032010484486818314,
0.023517567664384842,
-0.01339587289839983,
-0.014600836671888828,
-0.0020266242790967226,
0.06425365060567856,
0.0031765338499099016,
0.008060791529715061,
-0.016096653416752815,
-0.006124539766460657,
-0.02439843863248825,
-0.001407522358931601,
-0.025329168885946274,
-0.1157430037856102,
0.015298884361982346,
0.02950083650648594,
-0.015057891607284546,
0.005335080903023481,
-0.00826854445040226,
0.007516480982303619,
-0.047101616859436035,
-0.03355616331100464,
-0.008742219768464565,
0.053849413990974426,
-0.06299051642417908,
-0.005891857203096151,
0.056076519191265106,
-0.008351645432412624,
-0.016345957294106483,
0.007391829509288073,
-0.05295192450284958,
-0.03330685943365097,
-0.024066034704446793,
0.010512270033359528,
0.043677859008312225,
0.008900111541152,
-0.07046960294246674,
-0.01129341870546341,
0.07758304476737976,
-0.021190742030739784,
-0.030032683163881302,
0.04015437886118889,
0.033040937036275864,
0.01109397690743208,
-0.020625654608011246,
0.009764361195266247,
0.006444478407502174,
-0.04427618533372879,
-0.002665462903678417,
0.026924706995487213,
-0.009407027624547482,
0.042182039469480515,
0.0182822085916996,
-0.024049414321780205,
0.019429001957178116,
0.013819687999784946,
0.02423223666846752,
-0.033506304025650024,
0.05411533638834953,
0.016429057344794273,
-0.04071946442127228,
0.02439843863248825,
-0.02567819319665432,
-0.01629609614610672,
0.01844841055572033,
0.04700189456343651,
0.012639653868973255,
-0.018398549407720566,
0.002576129510998726,
0.11893408000469208,
-0.00045471801422536373,
0.022719798609614372,
-0.014816898852586746
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.